Huawei P9 lite enter bootloader without volume keys and access to system/recovery About phone: Huawei P9 lite VNS-L21C432B161 (central Europe)

First modifications
A long time ago i unlocked bootloader and successfully rooted the phone. I turned off OEM unlock option in settings after rooting, because someone said i should do so for security. Then came EMUI 5 OTA. It somehow updated itself without me agreeing. Android nougat detected, that the bootloader was unlocked and so it assumed that OEM unlock option was also ENABLED when it really wasn't, making me unable to re-enable the option.
So i used the https://forum.xda-developers.com/huawei-p9lite/how-to/tutorial-rollback-n-to-mm-c432-devices-t3563955432-devices-t3563955" <-- official rollback package and installed stock ROM through dload.

Here is the part where i messed up horribly
Now i wanted to update to android 7 again, but updater wasn't giving it to me and i was unable to flash it through TWRP. I installed the rollback package again through download mode as it said it allows any ROM to be installed, hoping i could then install android 7 through Download mode, which would in turn allowed me to install newer version of TWRP to then install a nougat based custom ROM.

Huawei's Erecovery and download mode

Erecovery: Accessed by pressing volume up during boot for 3 seconds, is supposed to download a working ROM for your phone, is saved in different place than recovery

Downlaod mode
By placing a folder with name 'dload' with supported OS on sd card in a form of UPDATE.APP, download mode installs this version, relocks bootloader and rewrites recovery with a normal one. (Relocking bootloader with custom recovery probably broke it, still doesn't explain why i can't access fastboot or download mode itself at all.)

Now i am stuck at the 'Your device has been unlocked and can't be trusted. Can't access bootloader, phone doesn't seem to be detecting the Power+Volume down combination < not the case in duplicate post. Recovery doesn't boot at all, it just goes straight to the normal boot dialog

Using the Power + VolumeUp + Volume Down combination to enter the download mode yields a slightly different warning but still gets stuck at it as well.

I think that the only way to fix it may be to dead flash it with stock ROM. I found a program (IDT) for this but it requires a "image xml file" and i don't know where to find it.
Goal: to get to bootloader without using volume keys( it just doesnt work for some reason) and without entering system/recovery/erecovery as these broke as well.

Thanks in advance

Nevermind i fixed it. I could access bootloader by pressing on volume down REALLY HARD. For whatever reason, light press and hold was enough for download mode but not enough for bootloader. Now i should be able to flash all the parts individually after extracting the UPDATE.APP. Thanks for help.


New access permissions for Google Maps v9.1.1 I recently got an notification for the latest Google Maps update 9.1.1. With this update, the app asks for 2 new access rights: Phone and Device ID and call information.

After checking the changelog, I cannot connect the need for those 2 permissions with the new features introduced.

  Changelog:

  Dynamic Routing Around Closures
  Quick Facts cards on Points of Interest with time and weather
  Bug fixes

After reading what an app can do with this permissions (read my call log, start phone calls, read the remote number of an active call), it doesn't feel right to simply give permission to use it without knowing what the actual benefit is.

I checked the Google Maps webpage and did a search on Google, but couldn't find any explanation for this new access permissions.

Can anyone tell me what this permissions are used for, or point me to a source where I can verify the use of these rights?

I agree, I see no obvious reason for these permissions to be added based on the change log.

Yes I can invent some reasons that maybe it "needs" them for one feature or another (clicking restaurant near you and calling from the app directly).

But the point here is that there is no explanation. It is dead wrong for Google to behave this way, as it causes behaviour of "default acceptance" in all future cases. Including non Google ones.

Just like the windows pop-ups...  this application is asking for "internet"...  you have no choice but to say yes, and frankly no way to find out why.

Now, today, you are basically as secure as if there were no permissions at all. Every app needs everything, and everyone just clicks yes.

Well done to everyone.


How do I keep android SDK and reuse it on other PCs without the internet I am fresh-from-the-oven kind of new to android and I just downloaded the android studio which is a whooping 683mb, after downloading it, I noticed it didn't come with SDK and that it was going to download a whole other stuff that is sized around 1.5gb, It was the second "baddest" news since the 1993 Apple Newton announcement. Why this bothers me is because I format my PC every now and then because of some reason, meaning I'll always have to go through this daunting process quite frequently.

I then figured I had to download the portable version with the believe that when  android studio downloads the SDK, it will be inside the folder where the portable version was extracted, then I'll copy the whole folder with the downloaded SDK and zip it and keep safely.

My question is this, will it work, is this the right thing to do, when I extract it to a new PC, does it re-download SDK and those other monstrously large stuff.

Thanks.

I have separate partition for Android Studio and SDK and it works fine after Installling my OS again & again.

Process is simple

Download zip version of Android Studio.
Open Android Studio for the first time
Select Advance/Custom option.
Select your SDK location (For the first time AS will download SDK for you if you have not downloaded yet)
Done!!!

Now if you will copy your SDK and Studio to another PC then you can choose your SDK location during first run and it won't download again.


Approaches for diagnosing input lag / performance problems Recently, my phone (A non-rooted Note 4) has begun to exhibit widespread performance problems.  All apps and interactions are affected: the UI pauses frequently and even lightweight soft keyboards (like Samsung's and Google's) struggle to accept my inputs, which are often delayed by 2-3 seconds.

There's clearly something wrong.  I'm not trying to fix this so much as I'm looking for a way to get insight into what it might be.

Before you flag as a duplicate -- after all, this question HAS been asked before -- please note that I'm not looking for the kinds of non-answers that have plagued similar questions, such as:

Suggestions as to what might be wrong without guidance on how to validate or eliminate the theory.  I know what might be wrong but I need to find a way to measure and understand what is actually wrong.
Tips and tricks for improving performance in general.  Yes, I could uninstall stuff, free up space, hard reset, or take any number of other measures that will speed things up incrementally or drastically.  But a spray-n-pray approach misses the point: this question seeks a rational approach for understanding what the right measure to take would be.
Pointers to task-killing, cleaning, or other meddlesome "management" type apps.  This is a clumsy and naive approach that represents a band-aid to the problem at best.

Diagnostic app suggestions are certainly welcome if they provide meaningful insight into resource usage, performance metrics, or other information that can be applied toward a larger diagnostic process.  But this question's goal is that process, or substantial components of it.

As an example, two components of this process would certainly be:

The Application Manager in Android settings has a running process list. This list would show if a single process running in the background was taking up a large amount of memory.
The 'logcat' command in ADB can be used to retrieve (massive) system logs, which may show error, warning, or info messages that expose  processes or services that are thrashing and reducing CPU availability and degrading UI responsiveness.

Beyond that, what else needs to be in one's toolbox in order to tackle this problem?

Assuming your lag is not caused by resource hogging malware (detection and removal covered in malware tag), possible causes (discounting infamous touchwiz :), could be

CPU loading

Disk I/O

Network I/O

RAM ( ignoring this going further given 3 GB RAM of your device )

Two apps would greatly help you in identifying the culprit system / downloaded apps  hogging resources mentioned

Trepn Profiler by Qualcomm (free app)- this gives a highly configurable view of all the apps that are running when monitored

PerfMon - Performance Monitor by Chainfire (paid app less than $3)- this gives a deep dive view of the app running in foreground. Features of this app have been covered in another answer and there is no need to repeat here

Suggested Approach: You could use Trepn Profiler to view all the apps and resource consumption to start with and if you need to study the behaviour of app while it is running (including consolidated CPU usage, instead of separate cores), use Perfmon. Apart from this feature to monitor foreground app performance , all and more features are available in Trepn Profiler
Trepn Profiler is a powerful app and you would want to spend time playing around with it (some features are  device chipset constrained- for instance per app network feature doesn't work on my device ( Huawei Honor 6 running Kirin chipset). Notwithstanding this, it is quite handy. Selected features for your purpose from app description (there are quite a few other features)

Key Features
 • Real-time view of individual CPU cores
 • View network usage (cellular and Wi-Fi)
 • Overlays appear on top of applications being profiled
 • Monitor GPU frequency and load
 • Advanced mode to manually select data points and save data for later analysis
 • Displays device power consumption in mW
Advanced Mode Features
• Profile your device or a single app
• Offline data analysis

Some snapshots from app description to give an idea of features

This should give you a head-start in identifying the problematic apps. As mentioned before, do spend time in acquainting yourself with the features of Trepn, to expolit it's versatility to your advantage. Once you home on, you can take a call to uninstall or freeze apps (requires root for system apps). Maybe a good idea to concentrate on social media apps which are by and large big time resource hoggers (including what's between the ears :-)
All the best !


Cannot download anything from Google Play store via mobile data I have an LG G2 with Android 4.4.2. All of a sudden I cannot download apps or updates on the Google Play store: no error messages, it just spins its wheels. On the Google Play Store, it just says "Downloading..." with the loading bar running infinitely, and in my phone drop-down screen, the same thing. No progress bar, completion %, est. time, anything.

In my Settings › Mobile data menu, the "limit mobile data usage" option is NOT checked, and the problem persists on both 3G and 4G/LTE. My data limit has not been reached (I don't even think I have one).

In the Settings › Mobile data › Google Play Store menu, the "restrict background data" option is NOT checked either. In the Google Play app settings menu, the "Auto-update apps" is set to wifi-only, but that's how I want it. The problem is when I manually try to download/update, so that shouldn't be the problem.

My Google Play build version is 5.4.12, if that helps...

Wi-fi downloads are just peachy though.

Just checked my network signal strength and it's -116 dBm and 26 asu, whatever those mean.

Open downloads app or download manager.  Change the setting of the max size of file you can download using mobile data.


How to I upgrade my Galaxy Fit from 2.2 to 2.3 using Ubuntu? Possible Duplicate:
  How do I upgrade firmware on my Samsung Galaxy S without using windows?
  How do I update the OS on my device?

I have a Samsung Galaxy Fit (GT-S5670) running Android 2.2.1. I'm trying to upgrade it to 2.3 on an Ubuntu machine.

I tried to run Samsung Kies using Wine, and below is the output I got:

fixme:advapi:LookupAccountNameW (null) L"thillaiselvan" (nil) 0x32c264 (nil) 0x32c268 0x32c25c - stub
fixme:advapi:LookupAccountNameW (null) L"thillaiselvan" 0x1449b8 0x32c264 0x14d270 0x32c268 0x32c25c - stub
fixme:advapi:LookupAccountNameW (null) L"thillaiselvan" (nil) 0x32c264 (nil) 0x32c268 0x32c25c - stub
fixme:advapi:LookupAccountNameW (null) L"thillaiselvan" 0x152638 0x32c264 0x150b18 0x32c268 0x32c25c - stub

Then Kies stopped. What is the problem here?

The process is explained pretty well on Samsung's official page, found here. Just download Kies, install it, plug in your phone, wait for it to be recognized and upgrade.


Is it possible to use Apple Wireless keyboard with Android 4.2.2 tablet? I have a Kobo Arc 10HD and it runs on Android 4.2.2. I have successfully paired it with an Apple wireless keyboard but I still can't seem to use it. My virtual keyboard pops up and when I type on the Bluetooth keyboard nothing happens. Has anyone used a different keyboard that works? Is it even possible for me to use the Apple keyboard?

If you're sure the keyboard is properly paired, have you tried using the excellent External Keyboard Helper Pro? I use it with a Microsoft Bluetooth keyboard, and it handles both switching to the external keyboard from the internal one (and back) when needed, but also little chores like nuking the caps lock key.


Pin lock screen - avoid pressing ok Is there any way to avoid pressing ok on the stock Android pin screen? There was an option to do this in cyanogenmod (9?) for my Nexus S 4G but it's not in stock (which I'm using now, unrooted). Is there any way to make it so that pressing the correct code automatically unlocks it, without having to press ok?

There's a reason why pressing OK has to be done and cannot be avoided is this - the PIN number can be of any length of your preference, and by pressing OK that is signalling the intention that There I have all the PIN digits entered, now Android, please verify!

If there was a way to avoid pressing OK, that would impose the restriction on the length of the PIN digits used, once the length of digits is reached (for example the PIN can be four digits long), then it would be automatic, but unfortunately in this case, no, you do have to press OK.


How to access the internal memory of HTC Explorer I have HTC Explorer and with Root Explorer put a file into /system/lib directory.

After reset, the phone will not boot. Now I cannot access to the internal memory via the phone and I need to access it via the PC in order to delete the file from /system/lib.
How can I do it?

If you had ADB debugging enabled, there is an easy way to do this using the SDK.

All you have to do is connect the device to the computer while it is booting, and type:

adb shell
su
mount -o remount,rw /system
rm -rvf /system/libskia.so
mv /system/libskia.so-back /system/libskia.so

To get the ADB binary you will have to download the Android SDK, or Google 'Android Mini SDK'.

If you didn't have USB debugging enabled, then the only thing you can do is flash a new ROM. You would have to install CWM recovery, and find a ROM for your device.

If your device has fastboot you can easily flash a recovery file that has been made for your device by using the fastboot flash recovery <recovery .img file path>.


Flashing Nexus 5 factory image fails on writing userdata Recently, I purchased a used Nexus 5. I would like perform a full reset, so I’m trying to flash the factory image using Google’s official instructions.

However, I keep getting the message FAILED (remote: 'Bogus size sparse and chunk header') for the Writing 'userdata' step.

Am I doing something wrong, or is something wrong with the instructions or image from Google?

(Possibly) relevant info:

I'm running macOS Mojave 10.14 (18A391) on my computer.
I'm using fastboot from the Android SDK Platform-Tools version 28.0.1, installed using Android Studio 3.2.1.
I tried the two most recent images of Android version 6.0.1 (M4B30X and M4B30Z), both give the same issue.

The full output of the flashing process can be seen here:

$ ./flash-all.sh
Sending 'bootloader' (3124 KB)                     OKAY [  0.310s]
Writing 'bootloader'                               OKAY [  0.516s]
Finished. Total time: 0.923s
rebooting into bootloader                          OKAY [  0.108s]
Finished. Total time: 0.108s
Sending 'radio' (45489 KB)                         OKAY [  1.640s]
Writing 'radio'                                    OKAY [  3.130s]
Finished. Total time: 4.867s
rebooting into bootloader                          OKAY [  0.104s]
Finished. Total time: 0.104s
extracting android-info.txt (0 MB) to RAM...
--------------------------------------------
Bootloader Version...: HHZ20h
Baseband Version.....: M8974A-2.0.50.2.30
Serial Number........: ***redacted***
--------------------------------------------
Checking product                                   OKAY [  0.100s]
Checking version-bootloader                        OKAY [  0.100s]
Checking version-baseband                          OKAY [  0.100s]
extracting boot.img (8 MB) to disk... took 0.037s
archive does not contain 'boot.sig'
archive does not contain 'dtbo.img'
archive does not contain 'dt.img'
archive does not contain 'odm.img'
archive does not contain 'product.img'
archive does not contain 'product-services.img'
extracting recovery.img (9 MB) to disk... took 0.033s
archive does not contain 'recovery.sig'
archive does not contain 'super.img'
extracting system.img (996 MB) to disk... took 7.816s
archive does not contain 'system.sig'
archive does not contain 'vbmeta.img'
archive does not contain 'vendor.img'
mke2fs 1.44.3 (10-July-2018)
Creating filesystem with 7137786 4k blocks and 1785856 inodes
Filesystem UUID: aab8dc10-d114-48a0-b9dc-c7ebdd24c79d
Superblock backups stored on blocks:
    32768, 98304, 163840, 229376, 294912, 819200, 884736, 1605632, 2654208,
    4096000

Allocating group tables: done
Writing inode tables: done
Creating journal (32768 blocks): done
Writing superblocks and filesystem accounting information: done

mke2fs 1.44.3 (10-July-2018)
Creating filesystem with 179200 4k blocks and 44832 inodes
Filesystem UUID: 2d2b45ab-678b-43ba-8b3c-83827764dbc8
Superblock backups stored on blocks:
    32768, 98304, 163840

Allocating group tables: done
Writing inode tables: done
Creating journal (4096 blocks): done
Writing superblocks and filesystem accounting information: done

Sending 'boot' (9154 KB)                           OKAY [  0.510s]
Writing 'boot'                                     OKAY [  0.776s]
Sending 'recovery' (10012 KB)                      OKAY [  0.564s]
Writing 'recovery'                                 OKAY [  0.832s]
Sending 'system' (1020665 KB)                      OKAY [ 36.364s]
Writing 'system'                                   OKAY [ 69.147s]
Erasing 'userdata'                                 OKAY [ 14.079s]
Sending 'userdata' (4272 KB)                       OKAY [  0.360s]
Writing 'userdata'                                 FAILED (remote: 'Bogus size sparse and chunk header')
Finished. Total time: 133.541s

I encounter the same problem today :)
flash-all script failed when writing userdata

I have managed to solve this issue by manually continue the flashing process:

1) extract image-hammerhead-m4b30z.zip

2) cd to the extracted folder

3) run the following commands (one by one)
fastboot erase userdata
fastboot flash userdata userdata.img
fastboot erase cache
fastboot flash cache cache.img
fastboot reboot


What's the best way to restart Android via command line (remotely)? I'm looking for the best / friendliest way to reboot my rooted android 4.1.1 device. I found these solutions so far:

su -c "reboot" - Causes problems with wifi after restart on my device... I read that this can cause a currupt file system in some cases... Doesn't work via ssh for me.
toolbox reboot - Same concerns here, but works via ssh.
reboot -d 8 -f - causes problems after restart e.g. some apps wont start
busybox killall system_server - "Hot Reboot" (not really a system restart)
start|stop - Starts/stops Android Runtime (not really a system restart)

What is the device doing exactly when I'm pushing the (hardware) power button? I guess that's the most friendly way.

What is the device doing exactly when I'm pushing the (hardware) power button? I guess that's the most friendly way.

You get to see a dialog with an option to power off the device (stock Android doesn't offer reboot). It appears that ShutdownActivity is called upon when you long press Power button.
Anyhow, this is what you can try, remotely or locally, but only with root access:
su -c 'am start -a android.intent.action.REBOOT'

It will do a graceful shutdown followed by the reboot. I was looking for an intent when I noticed it here.
Method is tested on Android 4.2.1, 5.0.2 and 6.0.1 and should work for Android 4.1.1 as well
Update
Tested on stock Android 5.0 and 6.0.1:
su -c 'svc power reboot'

Per the source code here, KitKat builds should also support the command.


Is there a way to select text directly in Android? I would like to edit some text on my way home, however I found that in Android there is no way to simply select some text to delete or change it. You have to first locate the cursor or long press the screen to enable selection, then drag the cursor for selection. This is quite inconvenient.

I tried Jota Text Editor, 920 Editor, Note Everything and Evernote - no one offers a simple method to select text directly.

Is there any way to do this?

The feature of selection of text is a topping added by phone manufacturers. For an instance, in my LG Optimus One (P500) which was running 2.2.2 did not have any text selection feature. As you had said, I have to manually move the caret to a favourable position to erase a text.  However during an update to 2.3.3, the manufacturer had enabled me to select a text by double tap (and in some places, a single tap or long press is required).

When I was discussing this with my friend who had Samsung Galaxy Ace running 2.2.2, I was surprised to know that the feature I got in 2.3.3 was already available in his phone.

I guess with Android 3.0 onwards, this has been baked in as standard feature.


HUAWEI P20 LITE -ANE- LX2J. I can't get rid of this setup process I was trying different shortcuts useng the default Launcher whilst switching back and forth, to greater easy access to some strings files.
'please keep in mind my phone has been set up properly for months now and works great'
At the time I had also the Play store app call "Shortcut Creator" open in the background so I'm not sure what particular hidden shortcut I activated .. but now I can't get rid of it. I've cleared the Android package cache, ive even just let it run for some reasonable amount of time, many times to see what would happen and you guessed it.. it just stays there in the notifications.

tl;dr
Basically I accessed something which I don't know what and I can't get rid of this notification or windows that follows I tap in it. pictures..

Sorry guys it won't let me upload pictures screenshots so here you go please take a look.

After I kick it, this happens, but phone is completely functional and restarts does everything except make money.

Device info

Not my fault for creating such a message thread but this is officially solved with the new security update.

SOLVED


Is it possible to dual-boot my TF201 with Windows RT? I'm really liking the look of Windows 8 / Windows RT, and I'd like to try ditching my PC entirely by getting Windows onto my Transformer Prime. I'm aware that there are a few issues around things like not having the windows key, but I can't find much conclusive information around the dual-booting situation. Most of what I've found is a from much earlier this year, and a lot of the information seems to be based on supposition rather than "I've tried this and it did / didn't work".

Is it, or is it not, actually possible to get Windows RT running well on the TF201?

As a follow-up, will Windows recognise the keyboard, or will it be ignored because it's not the Touch Cover?

Windows RT is based on entirely different system altogether - right from the bootloader up to user interface.

Also, Windows RT is proprietary so there is a fat chance that the code would be available to make it work.

What about:

booting mechanism
kernel
drivers for the chip-set support

There's far too many to mention, and quite possibly would require a re-write for it to adapt to the Asus TF02! :)

This is equivalent to asking if Apple iOS can be loaded on a Android handset and vice versa, in plain simple word, the answer is No - nigh on impossible and there would be so much hackery to get it to work, let alone boot.


Backup of Music Playlists I’m trying to make a backup of my music playlists, that I've created using the Samsung Music app on my Samsung Galaxy A6 (Andriod 10).
So far I’ve not been able to locate where these playlists are stored, and neither a way to extract them.
Most forum questions about this problem either hold old outdated answers, or none at all.
Does anyone know a way to extract Music Playlists (preferably as a text file)? Or by using some app for it?
Regards

I still don’t know where the files are stored, but for others with same wish for text file-backups, the app: "Playlist Manager" can do the job.
It basically has a "Share A Playlist" function which allows you to share in text format.


Mount external sdcard after upgrade to Jelly Bean 4.2.2 Yesterday I installed a custom rom on my Samsung Galaxy S2. Before I had ICS 4.0.3 installed. Now my external sdcard does not mount automatically on the phone. How can I get this working?

A lot of sdcards are formatted as ExFAT (extended FAT32 - which is better than FAT32 in a number of aspects for flash media, including support for larger than 4GB files). Unfortunately, this is a licensed and proprietary technology and custom ROMs can't legally include support. If you have a card reader for your computer, you can use that to back up the contents of your sdcard. Then you can right click on the drive in My Computer and select format. Select FAT32 and let it do its thing. When it is finished, copy the contents back to the drive and put it back in your phone.

If you don't have access to a card reader, then you will either need to use another phone to back up your content on the card, or possibly, see if you can still enable USB Mass Storage in recovery (most likely under the Mounts and Storage menu depending on the recovery used). If you can't do either, then you can just format the sdcard from within recovery, which will put the filesystem to standard FAT32 and make it readable in your custom ROM, although, this will erase all the content on the card.


Is there a way for Tasker to notify me when a background app is using the voice recorder or the camera? Is there a way for Tasker to notify me when a background app is using the voice recorder or the camera?

I'm trying to find out which app is accessing the voice recorder in the background. Sometimes when I use the video recorder, I get a message saying the voice recorder is being used by another app.

Tasker cannot interact with background apps, and thus cannot detect if a background app is active or using the voice recorder. What Tasker can do, via Tasker Process Running (KC) is detect what processes, including apps, are running. if you store this data in some way whenever the error appears, you can look for correlations between running processes and the error.

Note: Have you Googled around to see if your error is common with your device, app, or OS version?


Frame stutters appear just when touching/swiping the screen on Android EMUI 8 I have heard about intensive apps causing frame stutters on Android, but this isn't apparently. I'm using a Huawei P10 Lite with Android EMUI 8 (Oreo), and the stutters in this case only happen when I touch/swipe on the screen. For example, if I swipe fast and then release my finger, the screen momentum effect on android just works fine, as it is 60fps, but when I physically touch the screen, doesn't matter the number of fingers I have on it, it just stutters, like if the framerate dropped to about 20 or 30 fps idk. However, I tried installing one of those control center dropdown menus for android, specifically the "Mi Control Center: Notifications and Quick Actions" by Treydev Inc; I did it because the dropdown menu was the first thing where I noticed the issue. It didn't work, and it seemed to drain my battery a bit, so I just removed it, and weird enough so did the stutter issue. For a while it seemed to be gone, and I tried rebooting the phone to make it sure, but after booting it back, the problem returned. I don't think it's any of the apps I have installed, as I only use duolingo, termux, duckduckgo and like. The phone isn't rooted, and no launchers or 'customization' apps are being used. If it's a video, android scroll momentum or anything, it just works fine, only when the screen is touched. Thanks in advance.

Ok, this is quite an old one. I just did factory reset , partially due to the amount of junk files I had, and It worked back again. I still don't know what it is, but if anyone has a solution for those who have the same problem and don't wanna start again, I'll leave this post open to answers.


Does the Android emulator generate some sort of log file I can access if it crashes? Let's say I am working with the Android emulator, and get it to run one of my custom images/custom kernels, and it gets stuck in a boot-loop or crashes after a little while in booting up, does it produce a log file that I can look through?  And if so, where does it store this "boot" log?  (most likely somewhere in the Android build tree)

kernel panic

When a kernel panic occurs all user space programs are immediately stopped, preventing a user from detecting the cause of the panic: logcat; dmesg and /proc/kmsg will do you no good.

You can still check the /data/dontpanic/ folder for any files present, like:

apanic_console or apanic_threads

kernel boot

Method of logging kernel messages:

invoke "dmesg":

See it as it happens:

# adb shell dmesg

Direct to a file on your sdcard and see it later

# adb shell dmesg >/mnt/sdcard/dmesg.txt

"tail" the kernel if "syslogd" and /var are available:

# adb shell cat /proc/kmsg

dump the kernel file /proc/kmsg:

# adb shell cat /proc/kmsg

Note: You may need to issue su to gain permissions over some files if you're stuck with an error message. Alternatively, removing shell from the command will execute it on the computer side, not on the phone.

References

Stackoverflow answer from eldarerathis to "Can I get logcat logs after phone reboots?"
BootLoader How to get kernel messages from Android?
flashmyandroid How to get logcat and dmesg outputs for trouble shooting !
Stackoverflow Android: How to get kernel logs after kernel panic?
Stackoverflow Shutdown Log in Android


Unable to delete a file in /data/data with root permissions I own a Moto G which is in 5.0.2 with KK bootloader. An app created a folder in /data/data which sustains in the memory even after uninstallation of the app. I couldn't remove the folder in any way.

I tried with Root browser, with terminal. Root browser says Deleted successfully. while trying to remove the folder, but it remains.
When I tried to remove it from terminal, it says rm: 00160eb4bb6a2325_0: No such file or directory, but it gets listed while using ls. This fails the nandroid backup with TWRP. :( Is there something I can do? Thanks in advance! :)

Edit: ls lists the file, but ls -l fails showing an error.

For delete folder /data/data/ [only for rooted devices]

Install adb tool:  [if already adb install than skip this step ]

Notice that in this method you will only install the platform-tools like adb or fastboot.

1.1) Download:

Download the platform-tools for your OS from https://developer.android.com/tools/sdk/tools-notes.html
Unpack it to <home-drive>\platform-tools

1.2) Mount:

The following steps are for Windows. If you need a different OS like Linux or OSX, have a look at this answer: https://android.stackexchange.com/a/42475/91312

Copy the folder path.Open the Windows Explorer by pressing + E`.
Right-click on This Computer → Properties.
Advanced System Settings → Advanced → Environment Variables.
Variable PATH → Add a ; (Semicolon) & your <home-drive>\platform-tools.
Save all & close.

Commands for delete folder

 $ adb root

 $ adb remount

 $ adb rm -rf /data/data/<folder-name>

or

  $ adb shell

  $ su

  $ mount -o remount,rw /

  $ rm -rf /data/data/<folder-name>

I hope this help you.


Is there a way to view the file size of an image without downloading any apps? Got a new phone (Nexus S) and having some issues with picture messaging.  I want to check the size of the picture I took with the camera, but I can't seem to do this.  As I don't have a data plan yet, I can't download any apps to help me with this.  Is there a way to find the file size on the device without apps or connecting to a computer (no USB cable)

Is there a file manager called "My Files"? Most Samsung phones have that by default now, although I'm unsure if Vanilla Google Android on the Nexus S will have that. Check file size through that.


What is this BUD folder? I noticed a folder named "BUD" on the SD card of my Android 4 phone, containing 5 10-byte files with .med2.gz extensions. The .med2 files are empty. What is this clutter? This thread didn't help, nor did Google know what a .med2 file is.

Sorting all files by their modified date, i noticed the mystery file dates match with those of the Navfree app i used at that time. So aside from being slower than its previous version, it also litters temp files all over my card.


How to remove Messages app for SMS from Android 10 Wiko View 4 phone? I want to remove the default messages application called Messages which handles sms sending and receiving from my Wiko View 4 Android 10 device.
The reason I am wishing to uninstall this app is that I deem some of the content in this app inappropriate.
Can I install SuperSU or something to root the device and then remove this app?
Is there some other way to remove it?
Is there a way to remove it at all?
When I click on it I can only remove it from my home screen, but cannot uninstall it because the uninstall option to drag the app to in the screen is missing (only the remove place where to drag the icon appears).
If I remove the Messages app from the home screen, I still can see it in the list, if apps, when I scroll up on the home screen with my fingers to see all apps.
But I don't want this app anywhere on my phone.
Thanks.

Well yes you can root you phone and remove the messages app but i warn you that removing system apps is very risky. Why not just disable it because removing it completely you might regret it greatly afterwards

Go to settings
Go to apps or app manager
Go to all apps (differs from phone to phone)
Search for the message app tap on it and then disable it.


How to see the back cover referenced on page 2 in Google Books? In Google Books app, page 2 of "Bleak House" by C. Dickens or "Faust" by J.W. Goethe and other public domain books reads:

This is a digital copy of a book that was preserved on library shelves before it was carefully scanned by Google as part of a project to make the world's books discoverable online. See the back of the book for more detail.

How do I see the back of the book and what is the information presented there?

Turns out the last paragraph added to the book is meant and of course not turning it in the overview.

This is the information:

This is a digital copy of a book that was preserved for generations on library shelves before it was carefully scanned by Google as part of a project to make the world’s books discoverable online.

It has survived long enough for the copyright to expire and the book to enter the public domain. A public domain book is one that was never subjectto copyright or whose legal copyright term has expired. Whether a book is in the public domain may vary country to country. Public domain booksare our gateways to the past, representing a wealth of history, culture and knowledge that’s often difficult to discover.

Marks, notations and other marginalia present in the original volume will appear in this file - a reminder of this book’s long journey from thepublisher to a library and finally to you.

Usage guidelines

Google is proud to partner with libraries to digitize public domain materials and make them widely accessible. Public domain books belong to thepublic and we are merely their custodians. Nevertheless, this work is expensive, so in order to keep providing this resource, we have taken steps toprevent abuse by commercial parties, including placing technical restrictions on automated querying.

We also ask that you:

Make non-commercial use of the files: We designed Google Book Search for use by individuals, and we request that you use these files forpersonal, non-commercial purposes.
Refrain from automated querying: Do not send automated queries of any sort to Google’s system: If you are conducting research on machine translation, optical character recognition or other areas where access to a large amount of text is helpful, please contact us. We encourage theuse of public domain materials for these purposes and may be able to help.
Maintain attribution: The Google “watermark” you see on each file is essential for informing people about this project and helping them findadditional materials through Google Book Search. Please do not remove it.
Keep it legal: Whatever your use, remember that you are responsible for ensuring that what you are doing is legal. Do not assume that justbecause we believe a book is in the public domain for users in the United States, that the work is also in the public domain for users in other countries. Whether a book is still in copyright varies from country to country, and we can’t offer guidance on whether any specific use ofany specific book is allowed. Please do not assume that a book’s appearance in Google Book Search means it can be used in any manneranywhere in the world. Copyright infringement liability can be quite severe.

About Google Book Search

Google’s mission is to organize the world’s information and to make it universally accessible and useful. Google Book Search helps readersdiscover the world’s books while helping authors and publishers reach new audiences. You can search through the full text of this book on the webat http://books.google.com/


Voicemail forwarding numbers - Tmo prepaid plan I switched a monthly Tmobile plan several months ago and absolutely hate the voicemail "service".  I previously had all my VM's sent to my email via YouMail (kind of like Google Voice).

Today while looking through settings I noticed there are three Voicemail Forwarding numbers in the Phone Settings menu.  Each for a different scenario (busy, unavailable, unreachable).  All numbers are currently set to Tmobile's VM handling number.

Has anyone with a TMobile monthly plan had success in changing these numbers to use a third party VM service such as Google Voice or other?

At the suggestion of a forum member elsewhere, I called TMobile and asked them about their new "uncarrier" plan.  It is a non-contract, postpaid plan with the exact same pricing and services as my current TMo prepaid plan, but I regain the ability to forward voicemails among other things.   You have to submit to a credit check for a possible deposit (max is only one month's plan ie $50).

So going to the "uncarrier" plan was the solution for me.  Hope this helps.


How can I update my rooted Moto G to 4.4.2 Every time I try the OTA download it gives me an error while installing, which I presume is because I've rooted the phone.

It's a European model if it matters.

You might have to (re-) flash the complete (stock) ROM. Rooting involves changing things on the /system partition, which changes its checksum. Some OTA updates use the checksum to see whether the update "fits", and thus will refuse to install if not. Looks like your Moto falls into this category.


Can I use an external GPS receiver by connecting both GPS and Android device to a PC? I have an HTC One X which I like and carry everywhere, but the GPS is atrocious.  It takes tens of minutes to get a position, loses it easily and it's not even very accurate when it has a signal.  However, I also have a Garmin GPS which is fantastic at gaining and holding a steady and accurate GPS location.  I'd like to use the Garmin as an external GPS in combination with android's mock-location feature, in my car.

It is definitely possible to drive gpsd on a pc with the garmin - but I don't know how to use that to provide location data to android.  The phone is already rooted and I'm not averse to hacking it a bit more, but of course simpler solutions are preferred.  Initially I would be happy plugging the Garmin and HTC into a laptop but I'll move to a Raspberry Pi as soon as I know it works.  Not really bothered about using USB OTG to connect as this is for in-car use.

So: Can I use gpsd running on a PC to control a mock-location on Android?  If so, how?

I don't know if you can do this with your PC. Likely the easiest way would be to hack up a custom script on your PC to respond to new positions coming from gpsd, and use the following command to mock those locations on the phone:

adb shell setLatLon latitude longitude

You need to have previously turned on USB debugging and mock locations in the phone's settings.

However, this seems unnecessarily complicated. If you search for external gps on Google Play, you'll see a zillion apps that allow you to connect your Android device directly to an external GPS receiver. There's no need to involve your PC at all. Try a few and report back which one works best for you.


2-Step Verification code not automatically detected on Android I just got a new Samsung Galaxy S5 and had it activated on my carrier. I opened the Play Store and entered my gmail and password. Next it says:

  2-Step Verification

  Verifying your phone automatically via text message

  This may take a few minutes...

  Having trouble?

Within seconds I received the 2-step verification SMS text message, but the app does not seem to be responding to it. A simple bar animation shows that it's still waiting.

I tried following the "Having trouble?" link but the only option there is to resend the message. I've tried that a few times and received the verification code again, but it still would not continue.

The 2-step verification process worked fine on my previous phone (S3), but I used to enter the code manually.

The phone is running Android 5.0. This problem occurs whether I'm on WiFi or Network.

Any advice would be much appreciated!

I found a partial solution to my question:

I was unable to use the 2-step verification using SMS message. I went to my google account settings and changed to Voice Call instead of SMS

Instructions:

Go to https://myaccount.google.com/ (make sure it's logged in to your desired account)
Select "Sign-in and security"
Edit the 2-Step Verification (pencil symbol)
Click on "Text message" in "Codes sent via:   Text message"
Change to "Voice Call"
Save

Then try signing in to the app again. This time it'll ask for you to enter the code manually which should arrive after a few seconds (or minutes) via a phone call. You can then change the settings back to "Text message (SMS)" if you like.

Hope this helps others.


Update Samsung Galaxy Note 2 to Android Lollipop Is it possible to update further Samsung Galaxy Note 2 from Android 4.4.2 KitKat to Android 5.0 Lollipop?

Yes it is possible, but it involves installing a custom recovery (TWRP or CWM) and to download and install an AOSP-based ROM. Note that the following links refer to the N7000 model of the Note 2.

Possible Recovery - TWRP

Possible AOSP based ROM


Galaxy Tab 3 7.0 4.1.2 wifi disconnects when my screen goes off Whenever i turn my screen off for an extended period of time, my tablet disconnects from wifi. I remember there being a setting on my old phone to do this, which i didn't use, with reason. However i can find no such setting for this on my tablet. Ive downloaded a few apps to help with this "screen off wifi off" or something like that, but the apps only seem to break the wifi in all.

Set Wi-Fi sleep policy to "Never"

For Android 4.0 (Ice Cream Sandwich) and later:

1) Navigate to Menu > Settings > WiFi and select the menu button again.
2) Select Options, Advanced
3) Set “Keep WiFi on during sleep” to “Always”


Android has a MIDI synthesizer? I was searching about playing MIDI in the mobile, but I not found much information. So, Android has a MIDI synthesizer? Varies according to the model?

Searching the Market for "Midi" shows quite a few apps that have some level of midi functionality.   If you're looking for a full-fledged midi app such as you'd find on a PC or Mac, you will probably be disappointed due to the small screen and limited hardware interfacing capability of most Android devices, but if you are looking to experiment with midi functionality, one or more of these apps should do the job.


Mounting a ext4 formatted sdcard on Android Marshmallow I trying to mount an ext4 sdcard on a Samsung Galaxy Tab a6 (sm-t580) running Android 6.0.1. It has the original ROM, but is rooted and has TWRP installed.

I've tried the following commands on adb:

mkdir /mnt/media_rw/0000-FFFF
mount -t ext4 /dev/block/mmcblk1p1 /mnt/media_rw/0000-FFFF

This sucessfully mounts the volume and the volume can be viewed on the command line but is invisible to the gui. I follow with this command.

/system/bin/sdcard -u 1023 -g 1023 -U -1 /mnt/media_rw/0000-FFFF 0000-FFFF

But this spawns the following error:

E sdcard  : cannot mount sdcardfs filesystem in default (error 2)

When I run the last the sdcard command as an ordinary user I get

E sdcard  : Error setting RLIMIT_NOFILE, errno = 1
E sdcard  : installd fs upgrade not yet complete. Waiting...

The second line of which repeats indefinitely.

I also tried running vold but that just prints out Aborted on the standard output. Running the following command triggers a mount

/system/bin/vold --blkid_context=u:r:blkid:s0 --blkid_untrusted_context=u:r:blkid_untrusted:s0 --fsck_context=u:r:fsck:s0 --fsck_untrusted_context=u:r:fsck_untrusted:s0

but just results in the following on logcat

no match partition type(131) -> change table to kUnknown
disk:179,32 has unknown partition table; trying entire device
...
Failed to pclose /system/bin/blkid -c /dev/null -s TYPE -s UUID -s LABEL
/dev/block/vold/disk:179,32 : File exists
[WARNING] blkid failed to identify /dev/block/vold/disk:179,32
disk:179,32 failed to identify, giving up

Which is the same as when you insert the sdcard in to the device.

Any takers?

UPDATE an better solution https://android.stackexchange.com/a/204616/119381

First steps:

I could mount and use my pen usb with ext4 after install [1] but still bery tricky (need root) I need first do

   adb shell
   su -
   mount -t ext4 /dev/block/sda1 /mnt/sdcard/usbStorage/sda1/

and after umount and mount sda1 with stickmount.
For some reason stickmount (when works alone) says that device is mount but it is not , I need mount it as root ... , after I mount it , stickmount do the rest of the work ...

[1]
https://play.google.com/store/apps/details?id=eu.chainfire.stickmount&hl=en

Update 2017-12-26:
After read:
https://android.stackexchange.com/a/131839/119381

https://source.android.com/devices/storage/config.html
and
https://stackoverflow.com/a/28018008/778517

I did is and works on kodi and other apps ,

adb root
adb connect 192.168.1.160
adb shell mount -o rw,remount /;

adb shell

(edit) /fstab.hardware and change vfat to ext4

vi fstab.rk30board
/devices/30040000.otg*     auto ext4 defaults      voldmanaged=usb:auto

mkdir /data/media/0/usb1
mount -t ext4 /dev/block/sda1 /data/media/0/usb1/
mount -t ext4 /dev/block/sda1 /storage/emulated/0/usb1/

I also used [root] adb wireless from google play https://play.google.com/store/apps/details?id=com.dshylai.adbwifiwidget&hl=en but now I see that I have more options

More info:
https://forums.lenovo.com/t5/Moto-X-Play/Android-ext4-support/td-p/3262765


How to give a wakelock to an app? How can I give a CPU wakelock to an app so that It can work even when the screen is off?

(Usually android halts CPU too, when screen is off)

If you don't have root access in your phone, there are many apps in the Play Store which can take a partial wake lock. Just start the app manually when you need it. Because, if one app takes a partial wake lock, other apps can also take the advantage.


Missing "move to SD" on HTC Desire 310 So, I bought this phone some time ago, an HTC Desire 310, which should have 4GB of internal memory, of which 2GB actually available to the user.

On the phone I also installed an 8GB SD card for picture and similar.

However, recently I keep getting "not enough space" when I try to update some of the bigger apps I have installed from Google Store, even if there are about 250 MB free.

I have tried cleanin the caches, so regaining some 50 MB, but still "insufficient space".

I also tried to move the apps to the SD card, but it would seem that the version of android here installed, some custom 4.2.2, does not allow moving apps to SD.

How can I then solve such a problem? Is there a way to restore the missing "move to SD" option?

As phones with significant amounts of internal storage became prevalent, Android started to store application and user data on the same partition. As the latter was  traditionally stored on an SD card, these phones now call it an "internal SD" card, although no actual SD card is used. In this arrangement, it makes no sense to "move apps to the (internal) SD card", because it would still reside on the same internal partition, occupying the same space, so these  implementations of Android do not have this button. Sadly, they didn't feel the need to allow moving apps to the external SD, because they thought the internal storage couldn't reasonably be exhausted simply by installing apps - or that this option would confuse users. So, you can not move apps to the external storage. You can, however, move personal data (e.g. music, videos, pictures) to the external SD which will free up space to install apps on.

Also, if you have root on your phone, you could create an additional partition on your external SD card and move apps there using an application or script designed to do that - my favorite is Link2sd, you can look it up in the Play store.


How to do math operations in android shell? To do math operations in Linux shell, bc language can be used. For example,

echo `echo "scale=4;sqrt(400)"|bc -l`

This will give output of 20.0000

Unfortunately bc is not available on android. My question is,

1) How do I do math operations in android shell?

2) If bc has to be used, then, how to install it in android?

It is good enough for me if I can do integer calculations, I don't really need floating point or arbitrary precision results.

BusyBox doesn't include bc, but it does include the Reverse Polish Notation calculator dc.  Since Busybox can be installed from several installers on Google Play, this is probably the easiest way to get a command-line-based calculator on Android.

Alternatively, I've heard that bc can be compiled for Android quite easily using the Android NDK, so if you're comfortable with compiling software you could do this.


Is there a way to save profiles on Motorola's Droid X? When I had an HTC Eris I could change "profiles".  Each profile was basically:  wallpaper + screen lock image + all apps on your desktop.  So, I could have a work profile that had my apps that were geared for while I was at work, a social profile to switch my phone to having FB, Twitter, etc on my desktop with a different wallpaper, etc.

Is there an app for that?  ;)

What you're referring to are called HTC Scenes (Hero Scenes link).  Off the top of my head I don't know of anything like that and only HTC devices have the HTC Scenes.

I just did a quick search of the market and didn't come up with anything so my initial guess is:

No, there is nothing like that currently. You would either need a Sense-based custom ROM (not sure if there are any for the Droid X) or an HTC device.


Change battery meter behavior I heard that charging li-ion batteries to less voltage value heavily increases number of (charge-discharge) cycles, while decreasing phone work time(energy return from charge) only for a little.

Charging only a half of capacity increases number of charges 3x, so there is 1.5x outcome in energy that i could get from battery for its life. I have 5000 mAh battery, and a huge power bank. It is very big capacity, and i am ready to sacrifice some working time to prolong battery life for years as much as possible.

So for now it could charge to 4.2V to 100%, and i want to "reconfigure" or "recalibrate" BMS. It should "think" for example that 3.9V is 100% charge and stop charging it, and 3.6V is a 0% and is a device shutdown voltage.

How to set this in Android?

For starters your device needs to be rooted ( see rooting )

One way could be to fool the system by pretending you have a smaller mAh capacity battery so that it stops charging prematurely (relative to actual capacity) but that's tough because the battery capacity files are hard coded into the kernel, so you need to "cook" your kernel. See
 Where are the battery capacity files located?

Practical alternative is to stop charging at a level that matches your desired voltage.

You can do it the hard way. See
Automatically limit (stop) battery charging at a given percentage

Or

Easier way. See How to limit charging to 60%

Also see Ideal charging / discharging percentage for maximum battery life?

Rather than actually figuring out the voltage levels at which you want to charge / shutdown , it is easier to go by battery charged level and stop charging


Hangouts doesn't show the content of vCard When I receive a vCard (.vcf), Hangouts does not show the content of it! Is there a setting for this or simply this feature is omitted in Hangouts?

Here, in this picture I sent a vCard and the other persons sent another vCard. I cannot see the content of either of them.

And when I tap the message, I still cannot see the content from there.

Android doesn't have native support for vCards and it's annoying. Fortunately, since they come through as SMS/MMS messages they aren't only in Hangouts, any SMS/MMS-handling app you install can read the messages so long as you haven't deleted them. You can install bizcardmanager (it's $1.50 but there's a free version too) and it will show a list of vCards received via SMS and you can import them to your contacts from there. There are other apps which claim to share contacts, not all work very well. I recommend bizcard (I have nothing to do with the app or its developer) simply because I know for a fact that it works.


How can I delete all Winamp playlists at once? How can I delete all Winamp playlists from an Android device? I currently have to delete them one file at a time.

Long tapping on a playlist brings an option to delete. Looks like you don't want to use it because you've gazillions of playlists.

So, do this: Simply, clear data of Winamp from Settings ~> Applications ~> Manage Applications. It'll make your Winamp install fresh like when it was installed. The only thumbs down thing is that settings of Winamp will be reset to default & you'll need to re-configure them, but its not a big thing.

Update:
After some brainstorming, I found that Winamp stores playlists in a database externally. On my smartphone its: /data/data/com.android.providers.media/databases/external-xxxxxxx.db where xxxxxxx are numbers which are different on two devices I checked.

Use Root Explorer to delete this database after mounting /data partition with R/W access (root access is required).


Delete call logs more than 5 days old I want to delete call logs and sms that are older than a few days. Is there any way to delete call logs and sms that are older than 5 days?

I using android 4.1.2, micromax a110q.

Try Call Log Monitor app. This is free app. Call Log Master is another great free app but it will only work for call logs.


Is the Google GMail client able to download attachments for arbitrary file types? I emailed myself an epub the other day and went to the GMail app (v 2.3.5) on my android phone to download it.

While it showed me the attachment, I could not figure out how to download it. The email shows a pretty paperclip icon next to it, and at the bottom of email I get another pretty icon with a paperclip. But I cannot click(/press) on it. There is no preview/download button. The menu has no option to download it.

So my question is, is it actually possible?

I've seen a fair bit on forums suggesting it is not, but those are fairly dated threads. It seems somewhat inconceivable to me that one would not be able to download an attachment - as one person has put it, this seems like a feature shortcoming that is bordering on a bug.

An example of what I see is:
http://imageshack.us/photo/my-images/703/attachwhat.png/

My phone: Samsung Galaxy S 2 running VillainRom 2.4.2, Gmail 2.3.5, email sent from Thunderbird 3.1.14 on Windows 7.

As far as I know this was a new addition to the app recently, so it's surprising that it doesn't work for you.  I just tried emailing myself a .epub file and it worked just fine, I had a Download button to the right of the paperclip icon and attachment name.

I know that the Browser on many devices won't let you download any files that don't have a handler registered for their extension; perhaps this is related.  You can solve that issue via an app that registers for all files, such as Download Crutch; perhaps it will solve your attachment issues as well.  I'd reboot after installing it.  I have Download Crutch installed and have had no problems with it.


How to stop S Voice from starting every time the headphones is inserted to Samsung Galaxy S5? The moment I insert my headphones to my Samsung Galaxy S5 to play music, the S Voice will auto appear and my music stops. I have to cancel it and after a while, the S Voice repeats itself.

I've already deactivated the S Voice by double-tapping on the "home" key and unchecking “Open via the home key.”

How do I permanently stop the S Voice from auto appearing? Is there another way to stop S Voice from appearing whilst I play music over the headphone.

You can depisable SVoice by going into

  settings > applications > SamsungVoice > disable


Control Upload Location on Google Drive for Scans Google Drive on Android has the really helpful scan feature which I use all the time. However, it would be really great to be able to control where the default location for those files in Drive is.

Is this possible, if so how do you do it?

If you add the Drive Scan widget to your home screen.

Then it will ask you where you want subsequent uploads to go.

Then after that you can just use that shortcut to scan things and they'll go to that default folder.


What Kind Programming Language Used in File on /system/xbin? i was explore file in xbin folder, then i found that the file is have strange language like this :

ELF(   4�Q4   (444  TTT�>�>�M�]�],�LNL^L^hhh88Q�tdpH1H11��R�td�M�]�],,/system/bin/linker

And every each file, always start with :

ELF

so what kind of program is this ? are those code has been compiled before ?

You are looking at binary compiled file in the 'ELF' format.

From:
https://en.wikipedia.org/wiki/Executable_and_Linkable_Format

  Android uses ELF .so (shared object) libraries for the Java Native Interface. With Android Runtime (ART), the default since Android 5.0 "Lollipop", all applications are compiled into native ELF binaries on installation.

So that code could have been written in any number of languages.


Why do so many applications require permission to read the phone state and identity? Why do so many applications require permission to read the phone state and identity?. Specifically:

Phone calls
   read phone state and identity

For example Quickpedia is a Wikipedia portal, but wants access to the phone. What is the explanation for this?

It allows the App to read a unique ID (a phone identifier named IMEI) that's associated with your phone.

It can therefore help with copy-protection or the attempt to track the number of users.


How to prevent Chrome from restoring last session? Whenever I close and reopen Chrome it automatically restores the last session. How do I stop it, so that on reopen it should open homepage instead of last session?

I'm using Android Marshmallow and my Chrome version is the latest one (updated today).

This was possible in earlier versions but from Chrome version 51 onwards, it is not possible as it designed to open in last session instead of home page

I couldn't find any workaround for rooted devices on net

Source


Can't change MAC address on Rooted Android Nextbook Ares 8 I rooted my Nextbook Ares 8" tablet, model NXA8QC116, so I could change the MAC address and host name, as I hate personal data mining and user behavior monitoring.

Device specifics: Model NXA8QC116S, Android Version : 5.1.1, Build # : V3.0.?

Rooted with the binary "Nextbook Ares 8 Stock 5.1.1 Rom modified boot.img" from forum.xda-developers.com

Commands (terminal app):

u0_xxx@NXA8QC116:/ $: su
root@NXA8QC116:/ #: busybox iplink show wlan0
[reports the MAC address]
root@NXA8QC116:/ #: busybox ifconfig wlan0 hw ether fa:8e:f0:f2:14:27
root@NXA8QC116:/ #: busybox iplink show wlan0
[reports the original, unchanged MAC address]

I tried this with the WiFi both on and off.  I also tried leaving "busybox" out of the commands.

Any help is appreciated.

There's a file called mac.txt in /config/wifi, which contains the MAC address, which is the only thing in the file.

Changing this value, and then enabling the wifi adapter results in a new MAC address.  (Confirmed by logging into a router it connected to.) This change survives a reboot.

Now to research how to write a script to randomly pick a manufacturer prefix number and the rest of the digits at every restart, along with setting a temporary randomized hostname (setprop net.hostname xxxxxx).

I found the MAC text file by searching the device for files with Total Commander.


Determine ASUS Transformer Serial Number I'm trying to determine the model of an ASUS Transformer tablet.

In Settings -> About, I know its a TF-101 (I knew this one I bought it a few years ago). But that's all it provides under Android 4.0.3 (shown below).

However, I cannot determine if its an A20, B10, etc. According to How to identify hardware versions?, its encoded in the serial number, and its on a sticker attached to the tablet. Unfortunately, even with my glasses, I cannot seem to find it.

How does one determine the serial number for an ASUS TF-101 tablet?

It should be under "Status", in the "About tablet" menu.


Bluetooth 4.0 Low Energy support on Sony Xperia Z5 or Z5 Compact Could anyone please tell me if the Sony Xperia Z5 (or Z5 Compact) supports the Bluetooth 4.0 Low Energy profiles? I can't find any specification where this information is available (on gsmarena.com the specification does not explicitly state LE as for other phones - e.g. Samsung Galaxy S6 or even Sony Xperia Z3 Compact). Maybe somebody already tested the device with a BLE device?!

Thank you in advance!
MDV

The Xperia z5 does support BLE, however with Android 5.1 and 6.0 I have been having enormous issues with it. Bluetooth regular profiles have been fine for me (audio mostly) but other people are seeing issues with connecting to car kits and the like.

I have an Xperia Z5 Compact, unlocked and unmodified. I have trouble connecting to my Pebble Time watch (basically will not work at all), TrackR tags keep losing their connection and my Jawbone UP3 frequently is disconnected. As I say though audio to my Bluetooth headphones, portable speaker and home Amplifier are all fine.

I do believe the issue is with the phone, and hope very much for a swift update to solve this because it is very annoying.


Schedule SMS, WhatsApp, and Facebook messages? I would like to know if there is a way to schedule SMS, WhatsApp, and Facebook messages to be sent sometime in the future after composing them. Ideally, if some messages would have had to be sent while the device was powered off, I would like the message sending to be triggered automatically on start-up (configured to the particular app or service used to send the message).

I'm thinking of using an app to send respective intents to each app.

Is it possible?

An app called Tasker, for rooted phones can schedule SMS messages. According to its site, it can also be configured for Facebook Messenger, though I have not tried it.


Can I change Gmail attachment download location on android phone? Basically on my Huawei Mate 20 I am using Gmail. When I get an e-mail with an attachment and download it, it always goes to the "Downloads" folder. But I want to be able to choose the location each time I download an attachment. Is it possible?

No, the Gmail app doesn't have this feature of choosing download location. Instead of using the Gmail app, open the website on google chrome. In Google Chrome's settings, go to Advanced Settings section and click on Downloads. There, you can choose to ask the download location for each file or change the download location for all files.


Connecting to VPN forces having secure screen lock Possible Duplicate:
  Transformer Prime, VPN and password protection

I noticed that creating a VPN connection in ICS forces me to use a secure screen lock. I want to have Slide method for my screen lock, but it's disabled when I've set up a VPN connection. Is there a way to use a slide lock with a VPN configured?

  Phone: Google Nexus S
  OS: Ice Cream Sandwich 4.0.4

I had the same problem, but I found a solution.

I just chose Pattern, turned off the screen, turned it back on and clicked on Forgot in the lower-right corner. After I gave in my Google password it changed automatically back to slide.

In the settings the option "none" is still grayed-out but it's selected anywhere and it works.


Is it possible to schedule closing a named app Is there an app (or other way) to schedule the closing of only one named application at a particular time each day? My situation is I use the Night Mode app at night to reduce the screen brightness but if I forget to turn it off when I go out the next day the screen is so dark to be unusable in daylight. So I'd like to schedule to kill Night Mode at 9 am every day (but not other apps).

(I've found ones that turn off the speakers after a configurable time for listening to music as you go to sleep, or general task killers with auto killing of background apps, but nothing to kill just one app at a set time.)

Get a free app called automateit then once you know how to use it, you can create a rule by using the time trigger and set it to 9 am, use the kill app action to kill whatever then you name the rule and set it to be active every time, save it then your done!


FLAC files getting corrupted on microSD card Whenever I put a FLAC album on my phone, after a few days some of the tracks get corrupted. They show errors when I bring them onto my PC and use the command line function flac -t *.flac. While most tracks result in an ok, some result in errors such as FLAC__STREAM_DECODER_ERROR_STATUS_LOST_SYNC or FLAC__STREAM_DECODER_ERROR_STATUS_FRAME_CRC_MISMATCH. I am using LineageOS 15.1 (July 23 build) on my SM-G900P with a genuine SanDisk 128GB Extreme PLUS microSD card formatted as adopted/internal storage. I read somewhere about a LOST.DIR folder being used as a recycling bin for corrupted files or something like that, but I don't seem to have that folder.

Is this an issue with Samsung, Android, LineageOS, Poweramp (my music player), or my SD card? I really hope it's not an SD card issue because I don't feel like spending so much time formatting/moving a ton of data around.

Thanks.

This is almost certainly an SD card issue, especially since initially the files are fine and not corrupt, and get that way over time. Your device and it's applications will only read the data from the SD card, not change it or write to it anyway. There is a very slim chance that the card reader in your phone is defective, but I think a safe bet would be the card itself is failing.

This is the most definitive answer I can offer with the information given.

I am not normally one to recommend a specific brand here, but my personal experience with SanDisk has been very disappointing in terms of reliability in multiple product lines they carry. I would recommend moving away from SanDisk and trying perhaps a Samsung EVO+ series card.


How to sync playlist to Samsung Galaxy S3 from Kies? I just got my new Galaxy S3 today (after a couple of years using BB and iOS) and I installed Samsung Kies on my computer. Kies's interface is quite intuitive (laying out everything almost the same like iTunes) so I created a few playlists and dragged a few songs to each playlist. Then I clicked on the icon for my phone and selected Sync > Multimedia > Sync Music > Selected Playlist, chose all the playlists I wanted And clicked Sync.

It transfered quite fast, but when I checked the phone I found all my songs, but no playlists. I tried searching just now to find an answer, and it appears there are other poeple with the same problem. Some people mentioned some paid app or software to do this, but I don't want to buy an extra app just to do this job. I'd also like to avoid having to re-create the playlists manually on my phone.

Could anyone point out what I am missing, or a way around this problem?

Same Issue.  On my old android phone the best solution for me was Songbird with the Folder Sync plugin.  Unfortunately Samsung Galaxy S3 only supports MTP mode and not mass storage mode, and folder sync will not work in MTP mode.

I have tried several desktop players and they all fail to syn playlists properly: Windows Media Player, Songbird, Media Monkey, and WinAmp.  They all have the same problem, they create the play lists in the playlist folder and if you click on them they look OK but when you open them in the phone's player no songs.

I did find an interesting post for creating .m3u files with a script and copying them to your music folder here: http://androidforums.com/samsung-galaxy-s3/583712-syncing-music-playlists-galaxy-s3.html

Turns out that Songbird + Folder Sync plugin will create the right kind of m3u playlists so you can stage what you want on your phone using Folder Sync then cut and paste it into the phones music folder using Windows Explorer.


Data Usage by Apps That Aren't Running I have a OnePlus 3 and am using a product called GlassWire to monitor my data activity.  Recently it is showing that certain of my apps are using the network even though they are not running.  By this I don't mean not running in the foreground, I mean they're not started at all.

Could someone explain how this could be?

If you need me to be more specific about anything please let me know.

Thank you.

Restrict background data for those apps..


Do I need adb? Whats wrong with terminal? I'm pretty new to Android, but I have a bit of linux understanding.
Do I need to use adb and do I need to type adb before every command?

I have SSHDroid running on my GS3. I open my regular linux terminal and did ssh root@<ip>. When I got in I typed abd logcat, that failed. just logcat worked.

I'm happy with the shell I know, is this going to cause an issue?

The answer depends on what you want to do. ADB and SSH serve different purposes, though they have some things in common: you can remotely access your Android device, and execute commands on it. With ADB you can do a lot more -- you will get an idea if you read the ADB tag wiki and also follow the links contained there.
One more thing in common: both can be used interactively.
And one more shorty: they do not depend on each other.
SSH
To use SSH, you will need to install a SSH server on your Android device. If the latter is rooted (as a Linux user, I do not need to explain that "root" is the administrative account, and also known as the "super-user" who has full access to everything), you can set it up to use the default SSH port -- otherwise you need to chose one above 1000, as it is with Linux.
Now you can interact with the device: copy files with scp, or log in to the device directly. This way you reach a shell, and can work on the device like on any other Linux machine (almost -- of course there are some restrictions, like e.g. no X-Server being present, and a limited set of commands).
ADB
With ADB you can also establish such a "terminal mode", by simply executing the command adb shell without any arguments. This directly brings you to the shell prompt. Similar to ssh, you can also directly execute commands by simply pass them as parameters. In this case, as with ssh, you will be returned to your local terminal prompt once the command has been completed.
ADB offers additional commands, not only "shell". So you can e.g. use adb push or adb pull to transfer files (comparable to scp). All the other capabilities go beyond the scope of your question -- but above mentioned tag wiki should get you started here as well.
One last word on ADB: similar to SSH, this is a client-server model. Which means, to execute ADB commands from a client, you must have a server running. This is started when you enable "USB Debugging" in the settings of your Android device.


Nova Launcher Prime help -corrupt tab PHONE: samsung prevail 2 sph-m840 - ROOTED Phone
APP PROBLEM: Nova Prime 4.3.1
Apps&Widgets Drawers , Drawer Groups, Tabs.

Problem:
I made several tabs but one of them appear to be corrupt.
It is missing the delete option, select apps option and the "keep apps in the main app tab".
Only options are ok, cancel,and hide apps.
I have no way to delete this tab because the delete icon is missing.
Is there a way to find associated files and remove it from there?
I have ROOT BROWSER and able to access all files.
thanks

Can't you just restore a Nova backup or reset settings in Nova?

Open Nova Launcher settings and go to Backup & Import settings and either restore an old backup config that was good, or select Reset to defaults.

If that fails, in Android go to Settings - Apps, and find Nova Launcher and clear data and cache.


HTC Dream keeps on showing power options screen I have an HTC Dream cell phone which was working fine till last night. Today morning I woke up to find that the cell phone battery had completely discharged. So, I replaced the battery with an extra one.

I powered on the cell phone and I am surprised to find the "power options" screen turn up every few seconds. Pressing any button also makes the "power options" screen turn up. I tried resetting the cell phone to factory settings. I even tried a hard reset but still this problem persists. Any idea how I could solve the problem?

Thanks in advance.

If you're running a stock ROM, I suggest you root the phone (the warranty's way gone) and upgrade it to CyanogenMod 4 (Android 1.6) or CyanogenMod 6 (Android 2.2).

Battery life is very good on 4; 6 is more recent version of Android -- however there are some additional hoops to jump through to get it installed.

The first step in most Dream rooting instructions is to downgrade it to a vulnerable version, so you will lose data stored on the phone. You might have luck with one of the "one-click root" programs but if you can't kill the "Power Options" dialog every few seconds, you may just need to flash it with the RC29 DREAIMG.NBH.


Does the Samsung tablet 3 SM-T211 have USB host mode OTG support? Does the Samsung tablet 3 SM-T211 have USB host mode OTG support? If not, is there a way to enable / support it?

According to Samsung and this review (down near the end of the review), the 8" and 10" Galaxy tab 3s have OTG, but apparently the 7" does not. It might be possible to enable it by rooting and installing an app for it, but I don't know.


How does in-pocket detection work? My Droid Bionic has an option on the Display Settings page "In-Pocket detection: locks your device automatically when inserted in pocket"

How does the phone sense that it's in your pocket?  I'm speculating maybe a combination of proximity and light sensors?

There is an infrared/red-light sensor near your camera that detects whether the phone is in a pocket or bag. Online consensus is that depending on your phone manufacturer, there are varying degrees of success to how well it works.


App Memory Hog Problem I swipe apps closed and they still appear to be using memory. Then I use task kill, but I can immediately refresh and they're open again. So I goto manage apps and force stop. Once again if I click back and go back into the app setting it's open again! Why is this and how can I stop it? It's mostly system apps I don't want/need and I'm afraid to uninstall them and possibly wreck my phone. Already had too many problems fixing errors because of just that.

It seems you're not "getting" how Android manages the apps.

Note: do not use task killers! There's an extensive Q&A on this

When you launch the app, it appears in the foreground, note, I am not getting into developer specifics about life-cycle of apps themselves.

There are two scenarios:

When you press back, depending on said app, it will either go into the background, Android will eventually reclaim the memory occupied by the app.
A high priority app that appears, incoming calls is one prime example of this, Android will push the app behind, and bring forward the dialer screen where you can either lift the handset to engage or cancel the ringing.

To further embellish more:

There is a background app, called a service that is running intermittently, perhaps, polling on checking a website, Google Play Services is a prime example of it, and if there's any app update, the service will trigger the package manager to download the update and proceed, in the background.

That is primarily the reason why you should not force-stop an app, because, they may have a service running and killing that will only re-start the service which has a knock-on effect, more CPU cycles wasted in bringing up the service again, and therefore wasting yet more battery juice in the process.

Also, to force-stop an app can actually induce bad behaviour on the app itself, what if it's saving data or querying a backend content-provider, terminating it can lead to corruption or mis-behaviour. Again, this statement is only a brief example which is beyond scope of site, i.e. relating to developer in how to handle the situation in event of force-stop.

  they still appear to be using memory

"appear" is the keyword, give it a few minutes, Android will run a sweep across the memory and reclaim it if apps are inactively running or not using in fact, that memory sweep is carried out on a regular basis very actively.

At the end of the day, Android does a pretty darn good job in reclaiming memory so should not interfere with that process.


repair SD-card after Marshmallow everyone

I used the feature in Android Marshmallow, format SD card as internal, and I have 3 devices all the same feature available.

after a while I made a factory reset for the devices, and the SD card is not supported and can't be formatted in android device.

I tried using the diskpart in windows, and after "create partition primary" it shows "virtual disk service error the operation is not supported on a non-empty removable disk".

I tried using MiniTool Partition Wizard, but it shows bad disk and after re-inserting the SD card shown nothing was done.

disk management in windows with no use.

what I understood that the android feature make two partitions, 16MB partition and another one for the rest storage which only readable within the android device made it (encrypted some how).

This will fix it.
https://www.sdcard.org/downloads/formatter_4/eula_windows/index.html
It is the official reformat tool of the people who design sd card standards. I had to do this with my own 200gb sd card that was seen as 16mb after using as internal storage for a phone.


How to prevent an OTA update from being installed? How to prevent an OTA update from being installed?

I tried all tips to remove the OTA update notification for lollipop 5.1.1, none worked.

Still, that pops up and has a big install button near the home phisical button, that I am scared of misspressing being forced to install it even if I am in a hurry...

So, how to prevent it from working at all without rooting? Is it possible at all?

Model: samsung galaxy j7

Wont work screenshots (mixed as I can use only 2 links):

The dirty way to do that is to fillup your internal storage with several copies of any 100mb file.

As soon you are low in free space (here is about 400 to 500) that popup with the big install button will show no more, but even if it does, it wont be able to proceed.
This seems to work better after a reboot. The message with install button seems gone now!

And If you need some space, just delete some of these temp files.


My Cubot X12´s screen is busted and im still recieving messages which I cannot read or listen to. So my phone is busted and I get messages from my friends which i can´t read. Is there a way I can read the messages from an another device or even control the phone exteranaly?


Where is the settings option to Divert or block incoming calls Where can I find the option to divert and block incoming calls on my mobile.
I was unable to find it. It is available on all mobiles. Where is it in Android?

Android version: 5.0 Lollipop
Mobile manufacturer: Micromax

Just open your call button, tap the 3 dots in search bar top right, then settings and you have both.


"Parse error" when updating swype When I try to update the swype beta via the Swype Installer app, it starts downloading the Swype Installer, but then I get the error message "Parse error".

I tried downloading a new Swype Installer from beta.swype.com/android/get, but had not had any luck with that either. (same result)

Swype however does not let me keep using they swiping technology (or whatever it's called) and tells me I should update. (While having no built-in update functionality)

I am currently using Swype version 3.6.84.26668.t100.26701 (who uses version numbers like that, seriously...) and the Swype Installer version 1.1.26483 (12.15)

My phone is a branded HTC desire with Android 2.2

How can I update Swype or get a new version of Swype without losing my dictionary.

Update:

I uninstalled and reinstalled the Swype installer (now v 12.16), but now it seems to think my version is up to date and does not provide me a possibility to update. (only the ususal menu - watch video, etc) My Swype however still is in the old version and gives me a warning.

From Swype Forum:

Swype 3.25 update problems - Parse Error, Data Error, Download Failed, Password Reset
[snip]
If you are experiencing either of these problems please uninstall SwypeInstaller and get it again from our beta site: http://beta.swype.com/android/get This should get you up and running.

Don't forget to uninstall the previous SwypeInstaller (I don't think you need to uninstall Swype itself, only the SwypeInstaller).
If you still have any issue after uninstalling and reinstalling SwypeInstaller, you should bring the issue to the Swype Forum; they will be able to help better than anyone here.


Google Maps failed to save offline maps on Lollipop I'm using Nexus 5 32GB, Android 5.0.1. I'm trying to save maps offline, but it's showing me an error whenever I try to save.

It seems the issue is on external storage; it's not writable. The issue started when I used TWRP Updater from Google Play Store, and it added an SD card write patch. How to fix this?

Below is screenshot of error

It was sdcard permission issue.

I had to flash 5.0 and then 5.0.1 again from fastboot. everything works fine now.


Is this a phishing or hacking attempt using a survey? How do I get rid of this popup? For the last few days I have been getting a really annoying popup. Every half an hour or so my web browser randomly opens up when I unlock my phone (Samsung Galaxy S5, running Android 6.0.1) and opens up this site:

www.surveygizmo.com/s3/3191047/mul-widget-uninstall-survey

The thing is, I don't even know which app or widget they are talking about. I did not recently uninstall anything on my phone, and I don't know what the "mul widget" from the URL is. So I figured it might just be a phishing or hacking attempt by a dubious website or ad, and I just closed the tab. Then, annoyingly, the same site popped up again after a while, so I clicked on "other", added a random reason. Which did not help either. Obviously I did not submit my e-mail, but nothing helped so far and it's starting to piss me off. I couldn't find anyone who had the same issue on the internet, and the only other thing I could think of is adding a random e-mail address but I keep thinking that it looks like there is some software on my phone that has been installed by somebody else, which activates this popup.

I must stress that this popup turns up even if the browser is closed, and it opens the browser by itself.

I also ran Malwarebytes and the AVG AntiVirus multiple times, to no avail.

Does anyone know what I could do?

Try to open the list of installed apps and then inspect the list. Uninstall anything that you think you hadn't installed
especially something like mul widget .


turn off opera news stories I have never used Opera. Still, once a day or so I get a notification of some news headline. I don't have to open opera for this, it appears on my phone "dashboard" that lists all my apps and I can also see the notification from the screen that just shows the clock and text message notifications, etc. (Sorry I don't really know much mobile terminology).

Is this the same issue described here?
How to turn off Opera Mini "discover"/"top stories" news feed?
The person who posted that question seems to have a problem with the browser home page showing news stories.

I'm using Android 6.0.1, Security Patch Level Oct 1, 2016. My phone is a Blu Life One X2.

This feature is extremely irritating and I wonder who thought such an intrusive app was a good design decision.

You can try this:

Turn off notifications

Menu > Settings >  Advanced > Notifications > Turn Off Opera notifications

See screenshot:

Screenshot (click image for larger variant)

Opera will display a message when

New email, feed, or news items arrive
Downloads are completed

So turning off these notificaions will help you get rid of annoying news, and I been pretty using this settings and no news items appear on notification bar.

Patching the application

There is also a patch developed by namok o95 which "disables recommended stories" but works at system level so you may need another application to apply the patch.

It may depend on your current opera mini versions but  I use  method 1.

Hope this helps


What does the setting "Standby intelligent power saving" do? I have purchased a new phone, Alcatel Pixi 4 (5") running on Marshmallow. It has enabled by default a setting called "Standby intelligent power saving" in the Battery settings, but I can't find (Google) an explanation of what this setting does.

What does the setting "Standby intelligent power saving" do?

All this does is turning off unnecessary stuff that runs in your background when your phone is locked.

This includes:

Less notifications
Restrict mobile data (not WiFi)
Less waves transmitted by the device
Shuts off location services

This of course helps to keep the device save battery when locked, though Alcatel Pixi 4 might not have the best battery.


How do I put only one SIM card in dual-sim smartphone to "Airplane mode"? In Airplane Mode the device last noticably longer. The "Cell standby" shows 76% in battery settings.

There are two SIM cards inserted into the device, but now I use only the second. I expect that if I disable the first SIM card, it should consume less power. I don't want to put it away from the slow although, as it's easy to lost or forget about it when needed.

How do I disable (as in "Airplane mode") only one of two SIM cards on Android? If there is no proper way, can it be done by some root trick?

You missed the very first configuration menu item: "SIM card management".

There are checkboxes to enable first and second SIM cards, as well as to choose which card is used for data and for calls/messages.


Galaxy S2 through USB won't connect to my Mac? I have an Android Evo, and it connects to my Mac just fine when connecting the USB cable. I can access the entire phone data.

However, my wife's Samsung Galaxy 2's data can't be accessed on my Mac, even though the Mac recognizes the USB connection. How do I fix this?

If phone data/photos is all you're after, I suggest using Airdroid instead. No wires required, and will work on any computer.

If you're really set on using the cord, you may be missing GS2 drivers. You'll need to install Kies from Samsung.


Android 4.0.4 Where to Download su or sudo Binary? I have a Huawei Android 4.0.4 phone and I've recently downloaded a Terminal Emulator app. This app allows me to run a Linux shell from inside Android; it runs /system/bin/sh. I started to navigate around the OS and I've found that /system/xbin only has DisableLoopTest, EnableLoopTest, dexdump, and hciutils_test in it. /system/bin has many files; I believe that all of the installed commands are in it. However, I noticed that su and sudo where not in /system/bin or /system/xbin. Where can I download this file or some other file to root my Android device?

As it was correctly stated by the GiantTree, adding su binaries won't help you much as you do not have root. After rooting they more than likely will be added by default.

What concerns adding missing commands to Andorid shell, then you'd better not to do that one by one, bur rather install Busybox. It contains a big set of predefined commands.


Moto E being charged for mobile data even if it's turned off on Vodafone Karnataka SIM I have very recently purchased Moto E and using Vodafone Karnataka SIM. I have disabled mobile data and work only with WiFi.

Even after this, I see I am being charged with 0 MB data usage.

(Click for full size)

I don't understand what is happening here. It is coming very frequently. I am very sure none of the apps are using it since I uninstalled almost every app that I installed after this problem has arisen. I have checked data usage logs and it says 0 MB data usage and that none of my app have used any mobile data.

Why is this happening? Probably some check after WiFi gets disconnected? I checked with Android debugger, but there is too many log statement. Anything particular I should be looking at?

Any help or suggestion is appreciated.

From your screenshot, it's apparent that you're using a dual SIM phone and that Data Roaming is enabled on one of those SIM cards.

I've never used a dual SIM phone but I read on a forum that at any point of time only one of the SIM cards can be used for data while the other is on standby or being used for a voice call.

Make sure both your SIM cards have Data disabled. Also disable Data Roaming for both SIM cards.

Use these screenshots for reference (click for full size):

Check your data usage in Settings→Data usage to see what's using your data connection

Make sure Data roaming is disabled for both SIM cards


Success in sharing internet connection with desktop PC. How to access web server on port 80? I have a situation at home, the room where I have my desktop PC, router, printer, etc is being remodeled so I moved my PC to another room. Now the PC is far away from the router but it will be only for a couple of days. The PC do not have any WiFi adapter so I'm using my Android phone to share the Internet connection.

The problem is that I need to access the web server running in the desktop PC from others devices connected to the same router. I usually do it by using http://192.168.2.4 from the other devices. Obviously this does not work now.

Additional info that may be useful:

The PC running a web server has Linux Ubuntu 14.04 as OS.
This PC has adb installed. adb detects this phone.
This PC sees its own IP as 192.168.42.35, the url http://192.168.42.35 works but only from the same PC.
This PC, according to nmap, sees the Android phone as 192.168.42.129.
This PC can ping the others devices by the same IPs as before (192.168.2.x)
The others devices cannot reach this PC.
Router seems to have assigned 192.168.2.100 to the Android phone. The url http://192.168.2.100 does not connect to the web server. http://192.168.42.35 obviously does not work (from the other devices), but I tried anyway.

Update:

It seems I almost there. It's not perfect but, using an app called "Port Forwarder" seems possible. The only gotcha is that you cannot forward ports requiring root privileges (and my device isn't rooted anyway). So I will have to conform with 8080 to 80 mapping, but it's better than nothing.

I will share the steps needed to accomplish this If I success.

The port forward app you mention won't port below 1024.

The app you require is TCP Port Fowarding. It is installed in Android. You can use it with USB adb to setup a VPN. It also is ran from user-space and root is not required.


How to factory reset a Gingerbread device? I found an old phone of mine while cleaning, and would like to donate it. I've googled how to do a factory reset on a gingerbread device, and all of them say the same thing: go to Settings -> Privacy, and then click the Factory Data Reset button under Personal Data. The problem is, I don't have that option. My Privacy settings only have Lock Screen (display message text), and Backup and Restore (Back up my settings and Automatic Restore.) I don't have a Personal Data section.

The phone does not have a SIM card installed, but does have a google account attached, plus a lot of apps with on-board data. I know I can disconnect the google account, but how can I wipe all the apps and reset the phone to "new"?

It's a rooted HTC Sensation, if it matters, and I think is running CyanogenMod. (Like I said, it's an old phone...)

If it's running CyanogenMod then it likely has a custom recovery loaded on it already. Just boot into it, wipe data / factory reset and wipe internal storage.


Will an Android phone connect to Wi-Fi and download apps without a subscription? I wanted to get an iPod, but hate Apple and like Google. I was told that the android equivalent of an iPod is any phone without a subscription.

Would an Android phone without a subscription be able to connect to Wi-Fi and download apps anyway? If not, what would be a real equivalent?

The equivalent of an iPod in the Android world would be one of these two:

A handset with no telephony at all, this will be WiFi only

An example of this is the Samsung Galaxy Player.

A prepaid handset phone, this will still connect to WiFi, but later on if you wanted, you could connect it to a phone network

An example of this is the LG Optimus V on Virgin Mobile.

As long as the manufacturer supports it (check the product page, but I think most do nowadays), you'll be able to download apps from the Google Play Store.  You will also be able to download from alternate stores depending on the device.  Finally, I think all Android devices can download from the Amazon AppStore.


How can we avoid folders auto-creation? There's a way to manage these system folders?
I am struggling with some folders that are automatically created at boot, by system on the SD card, but I don't want them!
The folders are especially the following: LazyList, LOST.DIR
Into the latter I have found several, also big, files, and I don't want to waste the storage, maybe, with duplicated or deleted files.
There's a way to better manage, or even better, completely avoid it?
Thank you... as always!

EUREKA! I have found a way!
After some deep "Guru meditations" I have had a "flash of a genius"... and found the way!
It relates to the file system itself.
The rule is that where it is a file with a given name in a folder, there cannot coexist a folder with the same name, so, if you, after the deletion of the folder, create a file with the same name, that folder cannot be created anymore!
.
So, if you want to get rid of an auto creating folder, just create a file,
and if you want to get rid of an auto creating file, just create a folder,
with the same name, in the same path.
.
The file or folder will substitute one the other, and voilà, you could avoid the creation of the almost useless folders, even included LazyList and LOST.DIR, and whatever else you want!
Man vs Filesystem: 1-0


missed calls not appearing as notifications I have a HTC one x with the default HTC sense. Missed calls do not appear in the notification list which is frustrating ... The calls appear in the call history log so it knows about them. I've also tried calling myself with a another phone and it all appears as normal but when the call is hung up, no notification appears.

I'm sure it use to show notifications and I cannot find any settings that would control this.

Will factory reset if this just seems wrong/buggy.

No need to factory reset.

Just go to Settings → Call. Scroll down to the bottom and enable Show caller ID for missed calls on lock screen and status bar.


3G Connection Problem I have try to share my Samsung note 10.1 (Model Number : GT-N8000) portable hotspot last night  but it fail. After that, i cannot access to internet via data network mode(the 3G/H+ sign disappear next to my signal meter ) but the Wi-FI is functioning.

My tablets details are:
Model Number: GT-N8000
Android Version: 4.0.4
Baseband version: N8000XXLGA
Kernal Version: 3.0.15-861995-user se.infra@SEP-118#1
Build number: IMM76D.N8000XXALGA

If anyone has an idea why this would happen, please give me a shout. It's so frustrating having no data connection for the most of my day.

Regards,
May seng

it seem like the line provider problem to me..

try to check the setting-more-mobile network-access point name

check the setting there..or download new access point name..

if this not fix the problem..
u need to call the provider line to help u fix the problem.

thx