text:
Can xposed framework impact system performance and battery?
I've installed Xposed framework and Sense 5 Toolbox module on my HTC One X and doubt that if it is draining my battery and causing the system to slow.
I've checked with Watchdog and Setting-Apps-Running but seems like there is no background service running. What I thought was there must be service monitoring the user actions but it wasn't.
I would be very appreciate if somebody answer the question from title and explain how xposed actually work on Android.

Xposed isn't a separate service: instead, it's a wrapper in every process, which replaces some built-in functions from the Android framework.
For this reason, it's very likely that it'll have some effect on system performance, but exactly what effect depends on the particular modules. For example, it would be possible (but unlikely) for a module to replace a built-in function that's called frequently with a different version that runs more slowly and uses more battery (and probably even gives the wrong answer at the end).

Thanks for the answer. Do you think changing the button behavior like long power button for flashlight, long back for force kill process and long home press for lock screen can impact performance and drain battery performance?

Like any program's performance, it will depend not on what the module does, but how it was written. You can make a guess by looking at the source code, but only measuring on a real device will tell you for sure.

So, no matter the mod is re-compiled into system apk or using xposed module, there is no difference if code is written well?

In general, yes. Xposed is just a way of modifying the framework APK at runtime.

I am using 14 modules and despite this I never experience lagging or battery draining. But behind this positive experience is my hard work in careful selection just quality modules which fulfill my needs. With Xposed Framework can one be happy with just stock ROM.


text:
How can I set Android Galaxy Ace to only use 3G network?
I am having a little bit of a hard time with my new android phone for the reason that it doesnt always connect to certain services (such as Angry Words, or Whatsapp). Sometimes I get the message "unable to connect", when I am using a fairly good network provider and strong enough wifi when at the office.
What I've noticed is that the 3G sign keeps changing to H every now and then. I dont know if that is the issue. Anyway, how can I make the phone only use the high-speed 3G service and why is that that even with strong wifi signal it is giving me a hard time?
Note: Wifi is turned off all the time I am not at home or at the office.

H should mean HSPA+, which is good.  I'd guess that you have the same Wi-Fi problem as me: http://android.stackexchange.com/q/14162/1465.  You can try the app posted there, it helps a little bit, but I think your best bet is just to shut off Wi-Fi.

@MatthewRead Thanks Matthew. I've just read the other entry on this issue, but I am not sure that is the solution. First of all, I must tell you that I hardly know anything about networking. The other thing is that I need to use wifi connection, otherwise I'll reach my data limit in no time with my network provider and I'll have to pay extra.
Anyway, I am not sure what is causing the problem and I am clueless how to go on and fix it.

Right.  Well you can try toggling Wi-Fi off and on when you get the error and see if it helps, which is annoying but I'm not sure there's many other options.

@MatthewRead I am actually beginning to realize that in many areas where I go to work (I am always on the move), network coverage isn't that good and on the other hand many applications seem to be buggy. Whatsapp server seems to be offline many times. Angry words server seems to be a bit dodgy too. I mean you guys might disagree, but that what personal experience makes me believe.

If you're running Gingerbread or above you might want to check with your battery stats: From the homescreen, menu-key ->setup->device info->battery has a little graphic at the top. Touch this to enlarge. Now take a look at the phone column: red areas stand for "no network", yellow for "low network quality", and the darker the green the better. So if one day you've got a lot of problems, and it's all red-and-yellow there -- you can tell why.

I was in trouble getting my 3G to work, and I did these steps, that solved my problem:

Go to the dialer and type *#*#4636#*#*
Tap "Phone info"
Scroll down, you will see GSM selected;
Open the list and select WCDMA only;
Turn the radio off and turn it on again (there's a button for that on the screen)
Press Home Button, not back button

If you still can't get 3G, reboot your phone and that's it ;)
Enjoy! :)

source: Stack Exchange

license: Creative Commons - Attribution Share-Alike - https://creativecommons.org/licenses/by-sa/3.0/

sort: votes


text:
Can I reinitialize specific core services?
Sometimes my phone gets into a state where one of the core functions - audio, wifi, bluetooth - is in a somehow broken state. Example symptoms:

wifi cannot see any available networks
wifi attempts to connect but always fails
other devices cannot connect to wifi tethering hotspot
bluetooth cannot see any other devices
bluetooth connection to headset is established, but no audio comes through
it is impossible to turn bluetooth on (any attempt just processes for a while, and bluetooth remains off)
audio doesn't play anything at all, not to an external device nor through internal speaker (and yes, the volume is set correctly)
audio output is stuck at very low volume

Rebooting the phone always fixes the issues in these conditions. However, rebooting this thing takes a silly amount of time, especially if you count in the initialization phase where the phone is online, but so laggy you practically can't do anything.
Is there a way to restart / reinitialize specific core services without rebooting? How?
Note: I'm not talking about turning the features on/off from settings of from a widget. It does help in some cases, but not always.
The phone is GT-S5570 running Android 2.2.1. The phone is rooted, so solutions that require root are welcome.

Have you tried this app or similar ones like this  -  Fast Reboot - Google Play.
You could also try disabling some apps from auto starting via apps like these - Startup Manager - Google Play
Another thing to do could be to install a custom ROM, which may have lesser bloatware but may come at expense of stability. In custom ROMs you may also have option to disable boot-animations, although the difference wouldn't be much.

Thanks! Though these are attempts at doing a faster reboot, which isn't exactly what I'm asking. They do address the underlying problem, though.

The description of Fast Reboot sounds really dubious. "Simulates a reboot by closing/restarting all core and user processes and thus frees up memory. Your phone should be much snappier after using Fast Reboot." While rebooting the core processes sounds like it might be applicable in my case, I'm not very happy using an app that is based on the false claim of a performance boost because of memory management issues.

Did you try hot booting?

If your Android device starts acting funny, what do you do? That’s right, you reboot the device and everything goes back to normal. But, what if there was a faster way to solve your issues? Many times, the culprit of any and all failures is the shell itself. This can be easily terminated via any of the available task managers out there, but here is a better solution. XDA member appelflap has developed an app that will only reboot the Android shell. This has several advantages, like the fact that you will not have to go through menus and/or lists of apps to find the shell to stop it. Also, it is faster than performing a soft reset. And best of all, it is a one touch kill.

Source: http://www.xda-developers.com/windows-mobile/reboot-the-shell-only-with-hot-reboot-for-android/
Unfortunately I couldn't find the app the developer made. The linked application thread only contains the text "On Market now" with no name or anything to follow up.
So you might want to try searching on Play store for Hot reboot.
In my HTC Desire running ICS there is option to Hot reboot which boots my phone from boot animation. I'm not sure but I do feel its a tleast twice faster than normal reboot. There are some claim that hot reboot is twice faster as well. For eg: http://www.intomobile.com/2010/09/29/hot-reboot-android-video/

The fact that you are rooted is great, because that means that you can isolate the problem by trying to switch to another ROM. If the problem disappears, then it was software related and it's then solved :)
I suggest you look at Galaxy Mini Android Development on xda-developers and find a ROM that you think looks nice. (I'm noting one of them now has the word "wifi fix" in it). Don't forget to install a custom kernel after the ROM if the instructions tell you to do so, you don't want to run a flashy new ROM with an old kernel.
The reason new ROM + kernel is something that's important to try is that these components regulate the functions you mentioned (wifi, bluetooth etc), so by replacing them completely we know if there might be a hardware malfunction or if there was some kind of software bug to begin with.

Yeah, switching to another ROM might be a good idea to solve the issues. Doesn't really answer the question about restart the core services, though.

all_licenses: Creative Commons - Attribution Share-Alike - https://creativecommons.org/licenses/by-sa/3.0/


text:
Samsung GT 7.7 hung after charging
After charging my Samsung GT 7.7, I switched it on but it just showed the "Samsung Galaxy Tab 7.7" and stayed like that like it hung.
What do I do?

Samsung devices have Download and Recovery modes with buttons combo to enter them. I don't know what it is for your tab, but usually for Samsung devices it's vol up + home button + power button. Make sure the device is off before doing so.
Once you enter Recovery, just factory reset the device. As long as it's bootable, this could make it work.

If it has a removable battery, remove the battery, put it back and run it. Else wait for it to discharge then charge and turn it back on. If none of these solve your problem, boot to the Recovery Menu and factory reset your device.

battery can't be removed. I tried to charge it after 10 hrs that incident happened, it didn't charge and the battery became hot. An advise was to go to a Samsung service center. I heard it's not covered by the warranty. Thanks anyway!

Did you try factory data reseting your device?

How sir? I can't switch it on. It won't even switch on even through USB.

Every device has a recovery menu. Google it to know how to access it for YOUR device. It involves holding a couple of buttons at boot so that it shows the recovery menu instead of the traditional boot up screen.


text:
move micro SD card to another phone
I have recently moved all my applications from my Samsung ACE 5830 to Micro SD card.
As a next step i am trying to figure out move all my phon esettings to the SD card.
In short, what i am looking at is :
1)I want everything to be stored on the Micro SD card.
2) When i buy a new Samsung or any other Android phone, I just move the Micro SD card to new phone and it should behave like my old phone  with aal its settings and applications intact.
Is this possible?

As far as I know there's no way of doing this directly.  However you have a few options:

Enable Google's backup (Settings -> Privacy). It will sync your settings and app list to the cloud, as well as any app data for apps that support it.
If you're rooted, use Titanium Backup.  It can save all your apps and data, and you could put the backup on your SD card.  You won't want to restore the data for system apps between two different phones though, since they're unlikely to be entirely compatible.


text:
Is there an obvious reason FireFox would freeze on my DroidX (2.2 Froyo)?
For some reason, when I run FireFox, it starts out pretty snappy, but very frequently (though not 100%) after 1-2 hours of very normal/light use (e.g. 1 tab with actively read Google Reader mobile page as well as opening [1/2 tabs at a time] 5-10 separate articles from said reader), the browser just freezes. Most of the time, the freeze is complete - e.g. it will sit there for 5+ mins (or forever), with no reaction to home or power keys, requiring a battery pull.
This happens at any time, from the phone being just after boot to phone haven't been rebooted for 3 days.
System: DroidX, with original stock Froyo 2.2 ROM, rooted. FF version is IMHO irrelevant - this is happening now with whatever the latest Google Play market version is (10? 11?) but also happened as far as 2 or 3 FF updates back as well, for at least 3-6 months. I didn't use FF for browsing before then so don't know if earlier versions behaved better.
I have virtually no add-ons installed, but can provide a list if this seems relevant (not sure how to launch in "safe" mode in Android sans addons alltogether).
P.S. Before someone asks, this is definitely not related to ATK - the symptoms persisted after turning off/freezing ATK, never mind the fact that FF is on ATK's whitelist.
Is there a usual known reason for this behavior? What are suggested approaches to troubleshoot?
P.S. The only other app which freezes the phone with any regularity is Google Maps.

Any messages/errors in logcat?

@NoBugs - I'm not sure - never checked. I will catch the next freeze (which, BTW, keep happening even on the latest 20th version) and check logcat.


text:
How to do ADB over 'wifi' (actually in the same PC) for emulated device
I'm trying to use adb over 'wifi' for my emulated device. I'm emulating a device on my computer and wanted to use Android Studio to send an APK to it but through the network sockets, not through emulated USB. I know in Android Studio everything works out of the box but I need to it in this way
I'm following this tutorial: https://developer.android.com/studio/command-line/adb.html#wireless
I start it with
~/Android/Sdk/emulator$ ./emulator -avd Pixel_XL_API_27

Then I see that USB debugging is on. I then do
./adb tcpip 5555
restarting in TCP mode port: 5555

Note that ./adb tcpip 5555 is arbitrary. I didn't even specify which device should restart and connect at 5555. What if I had 2 emulators running?
I should unplug now for a normal USB device, but then I go to developer options in my emulated phone and disable USB debugging.
I also see that the IP address in the emulated phone system settings is 192.168.232.2
then I end up with:
./adb connect 192.168.232.2
unable to connect to 192.168.232.2:5555: Connection timed out

I also done this:
./adb devices
List of devices attached
emulator-5554   device

./adb connect 192.168.232.2:5554
unable to connect to 192.168.232.2:5554: Connection timed out

UPDATE:
According to Android Tutorial on ADB, my computer keeps a server running on port 5037. The Android device (my emulator in this case) runs a daemon and my adb script in Sdk/platform-tools is a client. If I want to run a client inside my virtual machine I must have a server running on it. But instead I can just forward the 5037 TCP port from the VM to the 5037 TCP port of the host machine. I did it with tcptunnel by doing the following:
./tcptunnel --local-port=5037 --remote-host=192.168.122.1 --remote-port=5037 --stay-alive

then if I run adb on my VM, it's going to connect to the adb daemon on my host machine which is going to talk with the adb server of my emulator. When I run adb devices in the VM without the tcp forward it tries to start a new server. If I kill this server and open th tcpforwarded and do it again, it doesn't try to create a new server. This is a good signal. However, tcptunnel gives me this:
build_tunnel: connect(): Connection refused

Something is blocking the connection
UPDATE 2:
Turns out tcptunnel isn't necessary, because adb has the H option that lets me specify the IP where the server runs. However I don't know if it's possible in Android Studio to specify it. Anyways:
./adb -H 192.168.122.1 devices
List of devices attached
* cannot start server on remote host
error: cannot connect to daemon at tcp:192.168.122.1:5037: Connection refused

Could you tell me if you are dealing with a physical device or with emulator inside your OS?

@AbdelhafidMadoui it's an emulator in the same OS

So what's wrong with the command adb -s emulator-5554 shell for example? Why WiFi?

@AbdelhafidMadoui I need to program inside a VM. However, I cannot start a new emulator inside this VM. Instead I want to start the emulator parallel with the VM and pass the app through TCP

@GuerlandoOCs: OK, so the emlator is launched from the main OS, and you want to access it from the VM? Correct? What VM software are you using?

@AbdelhafidMadoui Im using virt-manager, it uses kvm with SPICE

I forgot that adb daemon binds to localhost, and I was trying to access from 192.168.122.x.
With socat I was able to redirect the ADB client from my VM to the ADB daemon on my host machine which made connection with the ADB server (my emulated phone).
My host machine was reachable at 192.168.122.1 from the virtual machine, but the adb daemon was binding to 127.0.0.1 or localhost. I just did:
#on host machine:
socat tcp-listen:5037,bind=192.168.122.1,reuseaddr,fork tcp:localhost:5037

#on virtual machine:
socat tcp-listen:5037,bind=localhost,reuseaddr,fork tcp:192.168.122.1:5037

Make sure you kill the adb server on the virtual machine doing /path/to/android/sdk/platform-tools/adb kill-server. ADB server always tries to bind on 5037 if there's nothing there, so if socat is already running on both sides and the adb server is running on the host machie, when you launch android studio on the VM, it'll automatically connect to the outside adb server, which will connect to your emulated phone.
You don't need Android Studio on the virtual machine to test. You can just do  /path/to/android/sdk/platform-tools/adb devices on the virtual machine to see if socat will redirect it to the adb daemon on host, which will list the emulated phone.


text:
How do I get the kernel for this phone?
I think companies are legally required to publish the kernel for their phone somewhere.
I bought a phone derived from this one: https://www.paxtechnology.com/android-smart-pos and can't find the kernel for it. On "legal information" on android settings, I enter a very large HTML file that I cannot navigate properly and I don't know what it does.
It's the Pax M30 by the way

send request on homepage they will reply within 24 hours ;)

Do ask, as it may be on a Chinese server somewhere. I'm reminded of Naomi (SexyCyborg) Wu's attempt to get GPL code in-person and based on her YouTube video it seems some level of compliance was reached with her particular phone manufacturer as least when she recorded the video.

license: Creative Commons - Attribution Share-Alike - https://creativecommons.org/licenses/by-sa/4.0/


text:
How to bypass lock screen in Cyanogenmod 7.2
I set up my phone to use a gesture based unlock, and told it to hide the unlock button.  Now the gesture isn't working and I can't get past the lock screen.  For the standard Android lock screen, there is a feature whereby if you enter the wrong pass code 5 times, you can press a button to enter the username and password of your Android account to reset the lock screen.  Is there any way to do this, or any other way to bypass the lock screen on Cyanogenmod 7.2?  I have adb shell access to the device.

I'd think it would work similarly provided that you have the Google apps package installed (as described in Recovering from forgotten lock pattern). Is that option unavailable to you?

That's correct.  The Cyanogenmod gesture lock screen has no such button available.

Havent tried yet, but search for 'lockscreen adb settings.db'. best answer i found: http://rootzwiki.com/topic/8576-cm7-disable-lockscreen/

Right idea, slightly different method.  See below.

The answer to this question is hideously complex.  It requires ADB set up on your mobile and PC.  Cyanogenmod enables adb on the device by default.  Instructions for setting adb up on the PC can be found here.
With the phone connected to the PC, using a command prompt go to the directory containing adb, and start a shell.  On my system the command to do this is as follows, but it may be different on yours.
cd "\Program Files (x86)\Android\android-sdk\platform-tools"
adb shell

You will then get a prompt consisting of a single # if all is well.  Enter the following command:
sqlite3 /data/data/com.android.providers.settings/databases/settings.db

The prompt will then change to
sqllite>

Enter the command
select * from secure;

This will produce a list of parameters.  The one you are looking for will be something like:
440|lockscreen_gestures_disable_unlock|1

The number on the left hand side is an <id> which varies from phone to phone.  The next command is then
update secure set value=0 where _id=<id>;

So in this example the command would be
update secure set value=0 where _id=440;

Reboot the phone, and the unlock button will have returned and you will have access to the phone again.

Not that complex.. but good to know.

@user606723 - Given the time between the questioner asking the question and answering it themselves I can only guess that while the answer doesn't look very complex, it took some considerable time to work out that relatively simple solution. Shame that you weren't around earlier to answer the question sooner.

@MarkBooth, obscure would be a much better adjective. In fact, hideously obscure would be quite accurate. :)

That key doesn't exist on android 5.1 (CM 12), so I set lockscreen.disabled to 1 but that didn't work.

http://stackoverflow.com/questions/22142940/set-lockscreen-to-none-programatically helped me unlock my device :)

Here's how I cleared the screen lock password on my phone running CyanogenMod 11:

Boot into TeamWin (or other adb-enabled) recovery,
Connect the USB cable on the computer, then perform:

sudo -i
adb -d shell
mount /data
cd /data/system
rm gesture.key
rm password.key

reboot

all_licenses: Creative Commons - Attribution Share-Alike - https://creativecommons.org/licenses/by-sa/4.0/


text:
Lenovo Tablet A1 disable screen lock
I have a Lenovo Tablet A1 and don't know how to configure the screen settings as I would like them. I want that after a certain timeout the screen dims, and/or goes black, but doesn't actually lock.
That is, right now if I choose a screen timeout the thing locks and I have to press the top power button and drag an icon across the screen -- extremely inconvenient.
I have disabled Screen Lock, but it doesn't change this aspect. I also installed No Lock, but it doesn't work on this device. So far my only half-success is to disable the screen timeout, but then it runs at maximum brightness the entire time.
I have checked many questions, and done searches, for disabling screen lock. Apparently none of these work on the Lenovo Tablet.

No Lock works for me on my Lenovo A1!


text:
Disable GPS time synchronization
I live in Kiev, Ukraine. My device is Motorola Defy with CyanogenMod 7 (2.3.7). In time settings there's no Ukraine timezone so I use Minsk, Belarus timezone (GMT +3). After I locate my position using GPS my phone's timezone changes to African (GMT +2).
Is there any way to disable GPS time synchronization on android?
My phone is rooted.

I cannot verify (as I'm not having this problem), but you might try setting the time to "manual" (uncheck the "auto" option in settings->time & date), and use e.g. ClockSync for time syncing. for that app there's even a specific TimeZoneDB for ClockSync for -- as the dev puts it -- "Soviet Russia". And please let us know whether this helps.

Android does not synchronize neither time nor time zone with GPS (I don't know about CyanogenMod but I don't think it works in some other way).
Android does synchronize both time and time zone with cellular network. I guess that your cellular network sends to you wrong time zone (African). You can disable it by unchecking "Automatic time zone" in Settings -> Date & time.


text:
Power saver turns display brighter. Shouldn't it be darker?
When my battery is running low, the power saver turns on. When that happens, my display gets brighter. Shouldn't it be turning darker to reduce the power consumption? Is it normal to get brighter or not?

@Sam007: Unfortunately I lost my browser cookie so I can't accept an answer but that was it.
In the power saving settings the display brightness was set to 50%. I keep my phone on a lower level because I don't like a bright screen. When the power saver turned on, it actually made the display brighter than the normal level.
I changed the setting to 25%.
Thanks a lot!

Go to your Power Settings and check for the Brightness level. Someone must have changed the default settings

authors: นักรบ อาภรณ์ดำ คาร์บิน


text:
Does moving an app to external (SD) storage also make it write application data and cache to external storage?
I have very little internal storage installed on my Nexus One. Almost every app I am installing fires a system low on internal storage notification. I moved all applications to external storage but it seems like the application is still using internal storage for application data and cache. Is it possible (on a non-rooted or rooted phone) to make an application run completely from external storage?


text:
How can I fully factory reset an Optimus 2X P990 with ClockWorkMod?
I think I forgot to wipe my cache and something else when I installed Cyanogenmod 7 - which I could reboot into just fine. However, when I went to go back and switch to my vanilla Optimus 2X backup (using the ClockWorkMod Recovery - backup, not advanced backup), I reboot and I get the LG loading screen with the police-line loading bar, but after a couple of seconds that loading bar stops moving and the whole thing is frozen.
So, I take out the battery and go back into ClockWorkMod Recovery using the Vol Down + Power shortcut (which only works in about a third of the start-up attempts, for some reason). Where can I go from here to restore to a factory-reset version of the Optimus 2X's 2.2 Froyo?
Update 10/06/2012 6:54PM +8 UST:
If, in CWM Recovery, I clean the cache and wipe user data, then install CyanogenMod7 from .zip again, it boots and runs fine.

I ended up being too reluctant to downgrade again! Apparently LG have finally released an Australian update so I just downloaded a stock P990 Froyo ROM, installed it via CWM, wiped data and cache, and everything works fine now! It even fixed a bunch of issues I was having with USB drivers.

I had the same problem. Turn off your phone and then press both the power button and the volume down button at the same time and it will do a factory reset.

I have experienced this problem myself.
When you install cyanogenmod it changes the filesystem type to EXT4.  However, your stock 2X backup almost definitely used the EXT3 filesystem.
If you want to revert to a stock ROM on the 2X after trying cyanogenmod then the following tool can convert your filesystem type back to EXT3:
http://forum.xda-developers.com/showthread.php?t=1021549
Just download the zip and apply it like a normal ROM in NANDROID or Clockworkmod.  Once it's done just restore your backup as normal.


text:
How to download all photos from Google Photos into device?
I wanted to do a factory reset. I made a backup of my device using "Setting" → "Accounts and backup" → "Google drive" → "Back up data" → "Back up now" →  under "Photos and videos" I checked "Backup photos and videos from this device to your Google Account" checkbox. After one hour the backup completed. I did factory reset, chose to restore from backup and selected the backup file.
Now everything got restored except the Gallery photos. Those photos appear in Google Photos.
I have around 950 photos. How do I download all of them at once, so that they become available in my Gallery app?

"all at once" - there is no such option available in google photos app. you need to download one by one.

@Gmk but why my android mobile gallery images did not get backuped ? could they be already inside the backup file i have?

if those gallery images are not backed up means you didn't include that folder (probably it is a different folder other than default camera folder) to backup in google photos. you can include device folders by going to backup settings and select "backup device folders" and select available folders.

You will have to use a PC.
Login to https://photos.google.com
Select first photo from where you want to download the photos. Press and hold SHIFT key and then select the last image you want to download. Everything should be selected in between them.
3 dots --> download
A zip will be downloaded. Copy that to your phone to DCIM folder. Extract. Done

will check those steps.. but is there any limitations about the number of photos i can select and download using my PC?

500 pics at a time :)

Thanks for the reply,, I can not upvote as i am new... now i downloaded the folder to the PC, then how i can transfer the zip folder to my  phone?

You can upvote on questions that you have asked. Also you can tap that tick mark to accept the answer... You can use USB to copy the files. You can watch videos on YouTube about it

I think this answers the title (download all photos from Google Photos) but is not effective for the question body (to be shown in another Gallery app). Copying the photos to the device may duplicate existing photos that have been backed up by Google Photos unless it's told explicitly not to back up.


text:
How to set Proxy Auto-Config for cellular data?
On the internet, I found the following instructions for simple proxy, but this does not work for proxy PAC:

Go to your Android System Settings & tap on Network & Internet.
Tap on Mobile network.
Tap on Advanced.
Tap on Access Point Names.
Tap on the APN you are currently using.
Enter the IP address and port of the Proxy server you want to use.
Save the changes.

How to set Proxy Auto-Config for cellular data? I know it is possible to do that for Wi-Fi.
Note: solutions which use third party apps or a VPN are not suitable for me.
It can be different for different devices, but I need to know in general how I can do it.

Android supports PAC only with Wi-Fi, not with Mobile Data.

Can you provide an article / documentation where this is said?

There is no general documentation for users that explains the features found in Android. OEMs provide guide and support to their customer. So contact your phone manufacturer to inquire about a specific feature. What I've quoted is from a developer's perspective.


text:
How to root Huawei Nova Y90?
I have one Huawei Nova Y90.  When I get into the bootloader it shows "bootloader locked". When I execute the command fastboot flashing unlock I get this output:
FAILED (remote: 'Flashing Unlock is not allowed')
fastboot: error: Command failed.

I could not find OEM unlock option in Developer Settings.
I want to root my phone without unlocking the bootloader. How do I do that? I tried gaining root access using Kingroot, Kingoroot (Oneclick root)  but none of them worked.

Please read https://android.stackexchange.com/q/232190/2241 on Huawei and rooting. But that may only be applicable to older phones. In general if you consider rooting Huawei devices are the wrong choice.


text:
Why isn't Android's Google Assistant multilingual?
I have configured Android with English as my system language but wanted to use Android Assistant in multilingual mode.
When speaking to it, it should be able to use Google Translate's language detection system (because, I might want to use the system in English, but talk to TalkBack in the language I have on my mind at the moment I open it.
Here is an example of my session:

I clicked the Google Assistant button.

I said, aiutami ad usate TalkBack, which in Italian means, help me use TalkBack.

TalkBack opened with YouTube video results with the question: are you tell me Lucera TalkBack.

In order words, TalkBack did not translate my question (and I don't know whether there is a way to configure such behavior).
Why doesn't Google support this behavior, and how can I enable it?


text:
What app does this icon belong to?
Just wondering which app this ican belongs to.

Where does the icon appear?

Top left just next to the time

Duolingo - App to learn new languages


text:
How to reproduce behavior of a Ruby script that plays MP3 files in mpv?
On Fedora Linux for years I have had a Ruby script which creates a list of MP3s from a directory, randomises the order of the list and then plays the list using mpv.
I have mpv (2023-11-30-release) for Android - what would be the simplest way to reproduce the Ruby script for Android? - I have played around with rooting my phones in the past but I would prefer not to have to do that this time.
I followed the advice in one of the comments and executed termux-setup-storage, but faced the error:
line 24: 6262 Aborted

You may be able to execute your script in Termux app after executing termux-setup-storage to get access to your media files.

If you are using a specific MPV player app on Android, you should edit your post to link to it, and mention which version you are running. Note that the creator of the MPV app may have additional features for play order/sorting which might be able to cover your needs.

I see you have reverted your question without changes. If you have found an answer and no longer wish to interact with this community, you can delete the question. If you wish to engage with this community more info is required about what you've tried. By avoiding rooting, it is helpful for readers to know which app you are using, perhaps this one: https://play.google.com/store/search?q=mpv+android&c=apps and what steps you've taken to get it work the way you want. For example have you tried adding/playing a  .m3u file with the audio files in your desired order. No one knows unless you say.

Hi Philip. Your writing might be better than ours (and we are not disputing that either), but we do follow a convention on our Q&A site that questions and answers must have only that much information that helps to understand and resolve a problem. Salutations do not help with that, so our site members tend to edit them out. Please don't consider an edit as a correction of your writing. :-)


text:
How to manually flash your android device?
Want to update my android version myself. The phone manufacturer isn't providing any updates. Is there a way to update from Jellybean to kitkat manually?
I'm using Micromax A76 Canvas Fun. Currently on Jellybean 4.2.2

What kind of phone do you have?  Possible your model doesn't plan to upgrade Android versions.

Your question will most likely get flagged, without the necessary info like New-To-It suggested, as being too broad (vague). Please edit your question so it can be answered properly.

I'm using Micromax A76 Canvas Fun. Currently on Jellybean 4.2.2

@RoufRafiq You need to search for a custom ROM that is built on Android 4.4.x Kitkat, e.g. Cyanogenmod, MIUI, etc. Once you find it, you need to flash your Stock Recovery with a custom recovery like TWRP, Clockworkmod, etc. You can do the flashing using ADB or your choice of tool provided that it has your phone drivers. Then, you need to sideload your custom ROM through your custom recovery that you installed just now. If everything is good, your device will be running on Kitkat in no time.

Custom ROMs (the unofficial ROMs made by the community) are usually mostly made for popular phones (there are usually more developers), so obscure OEMs like Micromax usually don't get custom ROM ports. Safest place to look for phone modding and customizing is Xda-Developers, if you find a suspicious site that claims to have ported KitKat (in this case), it's usually too good not to appear on xda, in other words, it's probably fake.
Android ROM needs to be tailored for each specific model, you can't just, for example, go somewhere and download the universal Android update and install it on your phone.  You can always try to port CyanogenMod (the most popular custom ROM) to your device, but the process is rather complex and you'll have to learn a lot of things before you get to do such feat.
In case you find a ROM, you'll need to have your bootloader unlocked, so that you can install custom recovery image that will let you get into recovery mode (similar to BIOS on the PC), from where you can install actual ROM files, after which the flashing process is done.

But your answer is incomplete accounting the question here How to manually flash your android device?.


text:
Block Image loading in any Android App especially in Play Store
Updated:
There are many third world countries where 3G network has not encompassed their entire geography, let alone providing a satisfactory internet service. As obvious, the price for internet packs on mobile are not very much affordable to lot of folks.
Cutting the story short, there are apps like Play Store and the likes of it, whose aesthetics will be affected drastically if the images are to be stopped loading. These apps I assume are made keeping developed countries and their network infrastructure in mind.
Anyway, I still need to block the images even if the app's UI looks unpleasing. I'm looking here for a method to stop loading images in Play Store. Note that I'm not asking a different app store as a solution.
In fact, if the solution is more general (for other apps) than selective for Play Store, it would still be considered as an answer.

Note:

Device rooted, so no issues for installing any app.
Adaway installed but couldn't blacklist images using regex(naive) expression.
Firefox for Android has addons, it is already sorted for now.

Any idea(s) how to achieve this goal?

noRoot Data firewall has an option named no image mode but I didn't tested on play store.

Alternatively log in to gmail account and install apps from web version of google play.Images can be disabled in most browers or use UC brower with reduced image quality option.

Thanks for the suggestion. Unfortunately, that no image mode is not working in Play Store.

It's newbie app. Reporting to developer will help to fix the bug.

The Play Store uses https with certificate pinning, afaik. So stripping the images on the network level would be very difficult. Your best bet would be to modify the app, patching the image loading. You could code an Xposed module (like that one:  http://repo.xposed.info/module/de.robv.android.xposed.mods.playstorefix ). You could also try blocking lh3.googleusercontent.com where google hosts most images (that might break more stuff though).

I'll see if some host based blocking works for Play Store.

A Christian  who developed this for LC PlayStore for fellow Chrstians who wishes for control over images they get exposed to there. It is webview based and employs various approaches (including injecting java scripts) to try and provide a near Android native experience. Direct PlayStore like here.
Disclaimer: I am the author of the LC PlayStore app


text:
Temporary root Nexus 5 in adb shell to access a /data folder
I want to backup a data/data/com.package.name folder but the app manifest is set to backup=false.
To access the folder I want to temporary root the phone in the ADB shell and then access the folder to copy my files. There's no need for me to make root persistent.
The nexus runs on Android 5.0.1. Is there a way to get access to my data without installing a custom recovery, and others?

There is a way (or there was) to boot your device and access to it as root using ADB. First, you have to boot your device into the bootloader.

Turn it off. Press and hold Volume Down and press power.
You need to find and download boot insecure image (boot.img) and boot your phone using that image
fastboot boot boot.img

Now you should be able to access your device as root and copy your files
adb shell

will give you root access to it
To put a file into it do:
adb push file /phone/folder/

Be careful since an old boot insecure image in Android 5.0 or above can mess up with your phone. In my case an old image ruined my sensors and WiFi, and the only way I could fix it was by erasing the user data.


text:
HTC and Win XP mystery
At work I use windows xp and every time I connect my HTC One for charging, I get messages that prompt me to download HTC Sync. I can't  stop these disruptive messages and there's no other way to charge my phone. Any ideas?

You get this on the PC side?  It's probably due to AutoPlay which you can turn off in Control Panel.

Thanks Matthew, how do I do that? I can't find AutoPlay in the Control Panel

I'm afraid it didn't work. Any ideas?


text:
Complete list of Lollipop system icons shown in notification bar?
Is there a complete list of these? I've seen lots of Q&A about "What does x icon mean" but it would be really useful if there were a complete list for reference!

If you know what some of them are, you could answer your own question, and make it a community wiki. Then others could edit it to add to the list and this would be the "complete list for reference". Even linking to the other questions that relate to specific icons.

This might be a challenge. For the starter, this is a gallery of Lollipop (Material) drawables provided by Google. Some of them are for icons/buttons/menu, so you may disregard those. The problem is, there is no good indicator whether it's used in Lollipop's system notification or not.

I'm afraid there won't ever be a "complete list": as soon as it were compiled, some manufacturers already had added their own modifications... No guess, but experience from the past.

@AndrewT.: And even that doesn't list all icons that appear there, eg. the N-shaped NFC icon that this question talks about. (The link talks about a different version, but I have that icon on Lollipop)

@AleksiTorhamo Unfortunately, vendors are free to use different icons (Nexus doesn't have that icon), that's why it's difficult to find one for all possible icons.

Google provides a big, categorized list of Material icons with few-word description.
Note however that not all of them are used for system notifications.

Whilst this may theoretically answer the question, it would be preferable to include the essential parts of the answer here, and provide the link for reference. Otherwise, your answer becomes useless in case the link dies. For further hints, please see: How do I write a good answer.

I am not sure this is what you are looking for but I found this:

This includes all material action icons in Lollipop.
Hope this helps.

That's actually a screenshot from a link provided on my comment on the question :) ... though I'm not sure if all of them are notification icons.

Oh, I haven't seen your comment sorry. I don't know either but this is the most complete list I found.

Could you provide the source in your answer?

https://www.techrevolutions.fr/200-icones-gratuites-pour-vos-app-chez-google

I'm looking for a filled white circle with a transparent minus sign inside...

authors: مطيع عبدالله


text:
Can anyone explain Android storage space?
My Hannspree tablet running Android 4.4.2 has 3 distinct storage locations:

Internal storage - 1GB,
Internal SD card - 12GB,
Removable SD card - 32GB.

What's the point of the internal SD card if all the apps insist on using the Internal storage of 1GB? Most of that 1GB is occupied by Google apps I can't delete.

More information:
I thought I had moved all the apps that were possible, but I found a few more. Available space has now increased from 119MB to 190MB. With one exception, all the Google apps do not have that option and also many of the others including many of the real space hogs.
There's a trick I have found useful but its effects are temporary. What I do is uninstall all the Google app updates and that free up around 400MB. When the updates are reapplied, there is still an increase in space. Uninstalling and reinstalling apps like Firefox also has a useful result.
There seems to be some sort of software level sensor which says that space cannot be allowed to fall below about 100MB. Installing a new app with size 2MB or updating an existing one can fail when space left is 100MB. Perhaps you are familiar with Zinio. It quotes available space as 12GB and then puts data into the 1GB partition?

How disk space is used on Android device?

You can always resize your partitions (if you have root). I've doubled my /data partition (the place where apps are stored), by reducing the emulated SD card and enlarging the data partition. It is not the easiest task, but it may be worth your while since I think that your device is not much usable otherwise.

Open ES File Explorer and under download manager select "enable ES download manager". ES download manager has the 12gb SD card as its default location. If it's not the default you can set it to be.
Big apps are now downloading onto the 12bg partition.

This'll work for downloaded files, but certainly not for apps installed.

The first partition (Internal Storage 1GB) is the actual block of system memory. Things like the OS are stored here. The second (Internal SD Card 12GB) is an emulated SD card, but still technically part of your system memory. Most apps want to install to what they see as the system memory by default, which in your case is partitioned into a 1GB chunk. Have you tried moving your apps to the internal memory/SD card?

Jason, didn't you mess up /system and /data partitions? The former is where "the OS" (and system apps) are stored, and is read-only in normal mode. /data is where the user-installed apps go to, and that's a different partition. For details, see our storage tag-wiki ;)

authors: Ирина Курыщкина


text:
How to troubleshoot overheating and high battery drain in an Android Device?
Device info:

Model  : Micromax Canvas Nitro A310
Android Version : 4.4.2
Kernel Version  : 3.4.67
Device Status : Rooted, Philz touch recovery, Xposed Framework installed

Issue:
My(relative's) device is getting overheated (avg temperature ~ 48 deg Celsius, max reached ~ 65 deg Celsius) and the battery drains (100% to ~9% in less than 7 hours with usage of attending few calls only) very quickly even when its idle.

About Overheating :
I used CPU Temperature for profiling the apps with respect to temperature. Based on that, I auto-hibernated those apps in Greenify(all experimental features enabled except Telephony Wakeup, working in Boost Mode).

One main culprit I noticed is the Runkeeper app which requires high-accuracy (more battery consumption) location mode for smooth working. If I put this app in Greenify then it can't possibly be used (will get hibernated) for its intended purpose if the device screen turns off or goes to sleep.
Other culprit noticed was Google Play Services and Gmail (both updated to latest version) which I don't have any option to hibernate the former in Greenify and I'm not supposed to disable the former because of Runkeeper's demand for Maps and location.

About Battery Drain:
Battery usage from Settings didn't reveal anything useful at all. At the time of writing this question, I've put to test three apps:

BetterBatteryStats and Battery Stats Plus for profiling battery usage;
DS Battery Saver(free) for keeping the drain low.

This profiling will take at least 1-2 days and I'm not having high hopes from DS Battery Saver. Another point, my relative keeps GPS Off when not using Runkeeper. Usage of Runkeeper is for around 1-1.5 hour roughly in the morning.

About Device:
The device is only six months old with 2500mAh battery. The surrounding environment temperature isn't much more than 34 deg Celsius to corroborate any additional heating. Furthermore, no new apps were installed before when these issues came into my relative's attention. I take it as some new update in Google Services or other app could be a reason for this. But that is just a wild guess.

Question:
I need to know how should I proceed to troubleshoot both of these issues effectively? Is there a guide here or elsewhere for such, to do this in a sound manner rather than being haphazard? I aim to pinpoint the culprits here.
Note:
Although I have already made Nandroid and ADB backup, I don't want to reset my device. That is left if all else fails.

Also try Wae lock detector.

It is tricky to troubleshoot some problems. Sounds like similar problem that I had, battery drain started happening for my huawei p9 a few days ago all of a sudden, no apparent cause. Google Play Services top battery user but also a variety of other apps. In the end a suggestion to turn off automatic app updates solved the problem for me (after I had done general cleanup and os upgrade which had not solved problem). I guess problem was with one specific app doing something bad but would be impossible to troubleshoot root cause without extreme debug investigation!

BBS is more confusing than GSAM battery companion. It provides more detail, but GSAM + root can tell you a lot. If you could provide screenshots of full charge, to fully dead we can point you in right direction; if this happens in 7 hours with the screen off and no interaction all the better it should be very trivial to find.
From there, you could use Xposed App Opps module to disable apps with excessive spyware.
I don't really help people (relatives, friends) with this stuff unless they're willing to understand 'why' themselves, easier to just recommend iPhone.
There's almost certainly a rogue app running around doing something. A picture would be worth a thousand words

Thanks for the answer. I'll try GSAM. Are you asking for a picture of battery statistics from Settings upon 100% and 9%, or, running processes, or am I missing something here?

9%. When you poke around in GSAM at lower battery I think you'll find it mostly self explanatory

@Firelord any luck?

It would be preferred to restart the device, but before you do that, try clearing the ram and recent applications ALL THE TIME. If this fails, try battery doctor. It is a very useful tool that closes background apps and things you are not using.

Thanks for the attempt to answer but I take it as you have missed my point overall. My device isn't short in RAM. And I've restarted it like 20 times since I installed xposed modules for profiling battery. But anyway, I'll do check what battery doctor can do for me.

My point was that programs could be running in the background. Battery doctor helps with that.


text:
Galaxy S4's LCD broken. How do I access hidden folders in the storage using computer?
I recently broke my screen entirely so the touch function and LCD do not work at all on my Samsung Galaxy S4.  I managed to plug in a keyboard to my phone to input my pass-code in order to unlock the phone so I could access the files on the computer.  However, I do have some files on my phone that are hidden (with the . file prefix I used to hide them in a separate file manager app).  I can not figure out how to access these files.  I am willing to download any program necessary to get these off my phone!
Again I can not use my phone at all as the screen is broken.  Possibly if I can remotely control the phone via my computer?  Any help is appreciated.  If absolutely necessary I will have to replace the digitizer and LCD.

As you're able to access your device (i.e. apply input to it), the easiest option would be activating usb-debugging and then use adb. There are even good graphical remote-tools when it comes to ADB (if the device is rooted, and your computer is running Windows, I strongly recommend taking a look at Droid Explorer; its dev is an active member here at this site), but you can as well deal with the command line (ls -a would include hidden folders and files in a listing of the directory you're in).
For additional hints, please take a look at our tag-wikis for broken-screen and adb, plus at my list of ADB tools – the latter including pointers to several "ADB file-managers" which might prove helpful in your case.

Okay, so I can't comment to ask what PC OS you're using, so I guess I'll assume it's Win7. So open an instance of Windows Explorer.
Then, select "Folder and search options".
Select the tab marked " View".
On the "Hidden files and folders", select the radio button " show hidden files,folders,and drives".
Also, your phone isn't on charge only, is it? If it is, I'm afraid I can't be much of assistance there..


text:
"kswapd0" is taking up some of my device's CPU time even though I don't have any swap. What's going on?
Using Ozcan ROM 6.3 on my Samsung Galaxy S4, I'm observing kswapd0 process making CPU laggy. The same thing happened on another TW KK ROM - Omega. After researching on it for weeks, I realized that it's the process that does the SWAP job - transferring RAM contents to storage when memory is low.
Presently, I don't want to use SWAP, so the following are the workarounds that I tried to disable SWAP:

Tried Apps like Swapper2, Reset Swap to delete swapfile. The process
vanishes for few seconds but it looks like the swapfile again gets
created (checked by using command, free).
Used the command swapoff -a    (to Stop swapping on all swap devices)
but it gives me an error - swapoff: /etc/fstab: No such file or directory.

So, my Queries are as follows:

Why and how does SWAP gets enabled automatically? Is the kernel or
ROM responsible for it?
When actually could the SWAP partition be    created when I didn't do
it manually? On flashing the ROM?
What I'm doing wrong in the swapoff comand? After reading about the
same    error, I think it's related to the location of the swapfile.
So, how    can I know the location of the swapfile? Any suggestions
on disabling    the SWAP permanently or making kswapd0 use less CPU
if the lag is not    directly related to SWAP?

(Originally posted on XDA)

Hi and welcome to Android.SE!  Thank you for this good question.  We hope you'll like the place and decide to stay.  I know it took more than half a year for you to get an answer.  For the future:  try to come back and [edit] any unanswered questions of yours often.  Add progress updates on your research and experimentation.  Each time you edit, it bumps your question to the top of the homepage, potentially getting it more attention.

https://creieras.wordpress.com/2011/12/16/how-to-android-kswapd0-problem-solved-igo-myway-lag-fix-too/ says it's a problem with the way the kernel handles memory.

It might not be possible to disable kswapd0. Even if it's possible to disable it, you should not try. You see, kswapd0 does important work even if you don't have a swap file.
On the Ubuntu Stack Exchange website, psusi explains:

Swap space is only used for data that is not backed by any other file. Data that is mapped from other files on disk (such as executable programs) is still swapped to their respective files even if you don't have a swap device.

You should visit psusi's original answer and vote it up.

ok but why is it hogging the CPU?

@endolith: I presume it's swapping binaries into and out out of RAM. This takes CPU time. Don't worry about the CPU time that kswapd0 takes up.

But it's taking a LOT of CPU time, and the phone is hot for no reason

How much is a lot?  Also, how hot is the phone?  For what it's worth, certain apps can tell you the battery temperature (with help from the thermistor built into every Android phone battery).  Also, other apps can tell you the CPU temperature.  Also, you can use some external device to measure the phone's external temperature.  Maybe a thermal imaging camera?


text:
How to upgrade rooted Lava Iris 354E running Jelly Bean to Kitkat
My phone is rooted, has a 1GHz dual core processor and 215MB ram, and I want to upgrade it to KitKat from its Jelly Bean OS. Can I upgrade it?

This device doesn't meet the minimum hardware requirement to run Android Kitkat. Google has mentioned here:

Device implementation MUST have at least 340MB of memory available to the kernel and userspace. The 340MB must be in addition to any memory dedicated to hardware components such as radio, video, and so on that is not under the kernel's control.
...
[The] /data partition MUST be at least 1GB.

In short, you should stick with your current OS, or buy a new device with better hardware specifications. Even if a hack is available out there to somehow run Kitkat, it's not worth considering the severe limitations on the hardware end.


text:
How to unroot Motorola Moto G 2014?
I have rooted my Motorola Moto G 2014. But now, I want to unroot it to get Lollipop update. I followed  few suggestions, but in all of them stock Android download link is not working.
And, can I get the Android L update prompt even if my phone is rooted?

i'm not sure, but I think you'll get it anyways. Also, I'd say that some developers find L very hard to root, so I'd leave it rooted and wait for a stock-L-based custom ROM

You can go to SuperSu app or any other Superuser app you are using, and go to Settings and you will see a Full unroot option, press that and restart the phone when prompted. This should unroot the phone. But the boot loader will stay unlocked if you have unlocked it.

Thanks buddy, I think i have unrooted the device some how nut now i need to relock the bootloader can you help ?

go here http://forum.xda-developers.com/showthread.php?t=2537119 its an extensive guide for unlocked moto g , but its for 2013 edition but you will get an idea from it anyway, its a general method. On the page , press ctrl+f and type relock.

and I think you should go to http://forum.xda-developers.com/moto-g-2014 here is a community of people with moto g 2014's , hope this helps , and yeah vote up my answer please if it helped.

this will help you too http://forum.xda-developers.com/moto-g-2014/general/index-start-t2894742

authors: سفيان عوض الله خالد


text:
WhatsApp restored my older backup, not the latest backup
Today, 19th December, I was trying to reset my phone, but I had backed up WhatsApp first.
After that I reboot my phone (Xperia Miro) and installed WhatsApp.
Problem came while WhatsApp was restoring msgstore-2014-12-13.1.db.crypt7, not msgstore-2014-12-19.1.db.crypt7.
Even though, in folder WhatsApp databases, there are seven backup files: those two files and msgstore.db.crypt7, msgstore-2014-12-12.1.db.crypt7, msgstore-2014-12-14.1.db.crypt7, msgstore-2014-12-15.1.db.crypt7, and msgstore-2014-12-16.1.db.crypt7.
Why did WhatsApp restore 13th Dec backup? Not 14, 15, neither 16 nor 19?
I have to get 19th December's conversations.

Simply move All backup files to another folder or delete them (If you dont want your old conversations restored in future) Execpt backup file you want to restore (i.e - msgstore-2014-12-19.1.db.crypt7 )
-Now again try to restore with whatsapp
-Since there is only one backupfile in whatsapp - databases folder it will restore that file(i.e backup of 19th December 2014)


text:
Nexus 5 IMEI number gone after updating to Lollipop
My IMEI number has disappeared on my Nexus 5 and now I can neither call nor text.
Status of the phone says:

Network:
Unknown
Mobile network type
Unknown
Service State:
Out of service
Mobile network state:
Disconnected
My phone number:
Unknown
IMEI:
Unknown
IMEI SV:
Unknown

All of this happened after updating to Lollipop using bootloader.
I have tried several tutorial videos, such as:

"How to Unroot Nexus 5 on Mac! - Restore to Complete Stock",
"How to Upgrade, Downgrade, Restore ANY NEXUS Device on a Mac - Easiest Method"

Now is my Nexus downgraded to Android 4.4 and I can't text or call anyone.
When I try to open the Camera I get the message "Unfortunately camera has stopped". The same thing happens with Google Play Store.
When I try to take a screenshot I get the message "Couldn't save screenshot. Storage may be in use." It's like it can't connect to the storage.
Can I fix this? Is it possible to restore the IMEI without any backup?
If not, should I lock the bootloader and send it to my carrier (I live in Sweden)?
Note: I have the IMEI number written down.

The IMEI number of the phone may be under the battery inside the phone.

There is nothing to worry. Please follow the steps mentioned in this Android Enthusiasts answer.
You just have to flash the images properly. Do a factory reset using the recovery mode.

Volume Down + Power
Bootloader screen will be visible
Go to Recovery
Power + Volume up key (few seconds) and then let go of the Volume up key, but keep pressing Power
Select Wipe Dalvik cache
Select Factory reset

Step 1 should be Volume Up + Volume Down + Power instead of Volume Down + Power


text:
Error: "reloc_library cannot locate 'fdatasync'"
I have my phone connected to my laptop via the USB cable and ADB is able to identify the device. When I run adb devices it returns the phone in the list of connected devices. Running the command adb shell now gives an error stating:

reloc_library cannot locate 'fdatasync'

Running any command on the terminal emulator installed on my phone also returns the same error.
Does anyone have a solution to this?

What device do you have?  Are you rooted or running a custom ROM?

I can't find anything about this error. It might be your ROM... or you may need to factory restore?

I am using a Garmin-Asus nuvifone A10. I do not have a custom ROM on the device but yes, it is rooted.

I have already tried doing a complete factory reset but that did not help either.

this looks related somewhat to your issue. it looks like it might be an issue with your ROM, even though it is stock.


text:
Is the Samsung Galaxy S3 interface uglified by Samsung?
Some this ago I read this article Seriously, Samsung? This is what you're calling Ice Cream Sandwich?
Is the Galaxy S3 interface Uglified as well, as described in this articles , what about Note?

Coming from CM7 on an Atrix, agreed.

Samsung apply their TouchWiz interface to all of their flagship "Galaxy" devices, except for the two "Google Nexus" branded devices they have made, and they are likely to carry on doing this for the foreseeable future. The Galaxy SII and Galaxy Note both have TouchWiz.
Whether it's "uglified" or not is a matter of opinion, there are benefits to having a common interface among devices and versions, that doesn't look massively different after an upgrade. Not everyone's a technophile looking for the latest and greatest upgrade, some people just want everything to look and work the same way it used to, just a bit faster and more reliably.


text:
Android tablet gets hot and shuts down
I have an Imito android tablet. It gets hot and shuts down. Any have a reason for this and is it fixable?

If it's in warranty still I'd sent it back, sounds like a hardware fault.

If there's enough time between "getting warm", "getting hot" and "shut down", and you didn't yet send back the device, you could try a tool like aLogcat: As soon as the device warms up, start it and set it to save all log to your sd card. There should be alerts logged when it comes to the shutdown which give the reason.

My first guess would be an app consumes a lot of CPU power and therefore causes the system to overheat. Use a system monitor to find out any misbehaving apps.


text:
Is there any android epub reader supporting epub3 with audio/video/javascript?
Hi i just developed an epub format ebook (containing a video and a javascript animation).It is working fine on iphone/ipad (running on ibooks)..I was wondering if I could read the same ebook with an Android phone/tablet ?

Might keep an eye on this thread to see if anyone answers there.

Take a look at Infinity Reader. It supports audio, video and all ePub3 features. The reader comes with a free book, which contains youtube video. Moreover, you can download a lot of free books.

Kobo seems to be your best bet, and Gyan looks like it could work too.
Here's a couple others, but they are low-rated or in beta, so use at your own risk.
https://play.google.com/store/apps/details?id=com.vitalsource.bookshelf
https://play.google.com/store/apps/details?id=org.easyaccess.epubreader
Source: http://www.mathjax.org/resources/epub-readers/

From Android Play Store, you can use ASTRI-Bee (full version):

Support for epub3 ebooks, e.g. the RTL epub books which is generally not available for reading in most of the epub readers but a basic feature of epub3 ebooks, also javascript within epub ebooks is enabled.
  Also support pdf, txt, html formatted ebooks.
Support for audio and video content within the epub ebooks, again, this is just a basic feature of epub3 ebooks, but we also extend the support of multimedia to epub2 ebooks using the adobe flash plugin(requiring that the adobe flash preinstalled on your device)

I've highlighted what concerns your question.
Ps: Appears to be a "young app"... only one revision.

Please check out Gyan ePub Reader. It is a fully compliant epub3 reader with audio and video support.
No Adobe plugins are required. It renders maths equations, SVG animations and has a read-aloud feature.

Welcome to Android Enthusiasts! Please note that if you are affiliated to the mentioned app you are required to mention this in your post

From the description in the Market, take a look @ Himawari - https://play.google.com/store/apps/details?id=jp.green_fld.himawari
Although the reviews aren't altogether too favourable.
Also, Ibis Reader has recently introduced the epub3 format into its reader - http://epub3.ibisreader.com/

thanks.any opensource classes i could use to read epub 3.0 on android devices as well?

@luca for the Class, check out the github: epublib by psiegman and there also this stackoverflow question .

SkyEpub definitely supports epub3 (audio/video media overlay functions)
See this link enter link description here


text:
How do I set up proxy authentication for the entire system without rooting my phone?
I have the Samsung Galaxy S Advance running Android 2.3.6
I was able to set up the proxy server through Settings » Wireless and Network » WiFi Settings » (Options button) » Advanced.
This works well for the browser. If the proxy server requires authentication, then a dialog box pops up for that purpose.
However, all the other apps are totally useless behind a proxy server that requires authentication.

How do I work around this without rooting my phone?
If rooting is absolutely necessary, what app do you recommend to use (after rooting)? My google searches turn up ProxyDroid. Are there other alternatives?

The app that did the trick for me is Auto Proxy (requires root).
All apps work, including browser, maps, GMail, etc. and it worked on Android 2.2, 2.3 and 4.0.
Additionally, WiFi proxy settings are built in to ICS, but I've had limited success with it. It seems to automatically disconnect from the wireless network. Your mileage may vary.

There is a bugreport on the android site for this which is still open. You can set proxy settings for APN (Mobile Network) but not for Wifi.
In ICS also only the Browser will be affected by the Wifi Proxy Setting.
Also Authentification will not completly work at all (see report)

Use Droxy (no root required)
Before opening Drony, change the hostname and port in Wi-Fi settings(modify network), to hostname: localhost port: 8080, the open Drony, and put in your actual wi-fi proxy hostname, port, username, and password.

Please post a link?


text:
How to train the battery
I am trying to find the way to use my battery in the most efficient manner.
I found several suggestions how to achieve the longest life of the battery, and one of these suggestions is quite strange and mysterious. Check it out:

Turn on your phone;
Connect the charger and wait until the battery is full-charged (green indicator is on);
Disconnect the charger;
Wait until the green indicator is off and connect the charger back;
When green indicator is on, turn off the phone.

Now, continue with switched off phone.

Disconnect the charger;
Wait until the green indicator is off;
Connect the charger, wait for green indicator and disconnect the charger again;
Repeat the "3" step 10 times. This might take from 30 seconds to 30 minutes, usual that's about 1 minute.

This procedure takes some time, but it proved to be worth the cost.

The original article is in another language (russian), so it would not be very useful to post it here, but, to be on the safe side, here's original article.
I am pretty unclear about chemical processes going in the battery, so I can't check out what exactly happened during this mysterious actions.
I did not try to do this with my phone because i'm not sure this isn't harmful for the battery. But at least one person confirmed that these actions helped him to enlarge battery life for at least one cycle.
So, the question is: why exactly the battery's lifecycle becomes enlared, and isn't it harmful to battery? Finally, is it good idea to do all this stuff?

Is this really an Android issue?

Well, the original article is about battery saving on Android devices. Maybe these steps is acceptible for other devices, i don't know.

Android doesn't interact with chemical processes, you know. So, it's off-topic here... Voting to close.

This doesn't do anything for your battery, in fact it could be harmful.  It's just messing with Android's battery stats in an attempt to make it charge longer and shut off later.  I wouldn't expect good results.

More than the battery, I believe this is one of the ways that the battery gauge (software) is being "calibrated". As in most situations like these - YMMV.

HTC put out a notice a while back saying this was the best way to fully charge their phones too. i'll see if i can find the article.

I rephrased this question and asked it on Electronics SE - http://electronics.stackexchange.com/q/33003/3552

http://batteryuniversity.com/learn/article/how_to_charge_when_to_charge_table

I'm pretty sure this is called trickle charging. It's basically useless in modern LiON battery as the safety mechanism in the battery should have turned off the charging mechanism when the battery is near full capacity to prevent over charging, because over charging a LiON battery could cause explosion.

Should be off topic, here's the real expert answers: http://electronics.stackexchange.com/questions/33003/is-there-any-sense-in-this-technique-for-charging-li-ion-batteries


text:
Latin American Moto G2 locked in Europe?
I bought an unlocked Moto G2 (2014) in Chile last year, model XT1063. It was new but on display in a store, no connection to any service providers, no contract, no sim lock.
I use CyanogenMod 13, it runs fine.
However, now I am trying to use it in Europe and it won't work with my German SIM card. It says "SIM card is Perso locked" and requires my "SIM network unlock pin".
My Chilean service provider confirmed that the phone is completely unlocked (so SIM unlocking via web services does not apply).
According to willmyphonework.net, the phone should work in Europe.
Any ideas what I could try to make it work?
Thanks!

Screenshots (click images for larger variants)
The network unlock PIN is NOT the normal PIN protection of the SIM card; I use the SIM card in another phone, it works perfectly well.
edit: desperately, I wipe the phone and installed current LineageOS 14.1, but to no avail. The "Perso locked" message now simply reads "SIM card is locked".

Have you tried a different SIM (in a shop, they should be able to give you some to try)? May be a fault with the SIM card itself. Never heard a card being "Perso" locked (what shall that be? Can you attach a screenshot of that message?)

Try 1234 or 0000 which are usually default SIM unlock keys

@Izzy: edited my post. The SIM works fine in another phone. Tried a friend's SIM in my phone, didn't work either.

@beeshyams: it's not asking for the "normal" SIM unlock code.

How did you make sure that it was unlocked when purchased? I'm thinking that the dealer fooled you in some way... The fact that this is a demo device only makes it more likely.

@AndyYan: In Chile, I have been able to use different SIM cards from different providers. Also my current provider confirmed (they say), using my IMEI, that the phone is unlocked. Seems to be the case in Chile, but not abroad.


text:
Is it possible to dual-boot Android with LineageOS?
I am going to get a new Android device (Samsung Galaxy Tab S3 with 4G/LTE with latest Android) and I am thinking about the possibility of dual-booting with LineageOS (CyanogenMod fork)? Is it possible? I own a microSD card if that is a necessity.

Sure, but Android doesn't provide built-in support for dual boot. You got to make sure that somebody out in the wild created a hack for your device which can boot Lineage OS or other custom ROMs as well. E.g. MultiROM is the most popular hack out there to do multi-OS boot. It supports many high-end devices such as the likes of Google, Samsung, OnePlus and so on. It would be best if you tell us exactly which device you are  going to buy.

@Firelord, Thank you for your comment. It will be Samsung Galaxy Tab S3 with 4G/LTE.

Most if not all tablets don't get popular enough for devs to do a MultiROM port. Also, MultiROM has requirements for the kernel of ROMs you want to boot, which the stock kernel likely won't satisfy (without modification).


text:
Android Revolution HD on GT-N8010 wifi won't turn on
I just flashed the Android Revolution HD rom on my Samsung Galaxy Note 10.1 (GT-N8010). My device was in 4.1.2 and now is on 4.4.2. I seem to have one big problem: After pressing the wifi toggle slider it looks as if it would turn on but immediately goes back to off.
I've checked that the rom I used is the right one. So, what would be the cause of this? And more importantly, how could I solve it?
Thanks in advance!
Schlotty.
Link to the ROM thread: https://forum.xda-developers.com/showthread.php?t=2119547

Tried other ROMs? Also, since ARHD is a stock-based ROM, it's possible you'll need to be on the latest stock ROM before flashing it, so as to make sure the baseband, etc. are up-to-date.

Yep, after trying with a couple of roms and a little reaserch I came to the conclusion that i would first need to be on 4.4.2 in order to flash ARHD. Problem is, my carrier hasnt recieved a kit kat ota update, so... The only thing that seems reasonable is to first flash a stock KK rom from a different carrier and then flash ARHD. Does that make sense? Would it be possible to flash a stock rom from a different carrier on my device?

Since ARHD is a stock-based ROM, it's possible you'll need to be on the latest stock ROM before flashing it, so as to make sure the baseband, etc. are up-to-date.
In case your carrier doesn't offer a 4.4.2 update, find them on SamMobile and download one for your generic region, or another carrier in the region, so as to get the right set of language (not all languages are available in all firmwares). Making sure the model number matches is the only other thing you need to do. Back up your data, then flash the update with Odin. After booting up the new stock OS, flash the recovery and then ARHD once again.


text:
Turn off served by Google feature in Chrome
Whenever I visit a webpage in Chrome, the pages are being served by Google which is a plain version of the webpage.
Here is a picture describing the same.

Screenshot (click for larger variant)
How do I turn this feature off?
EDIT: On clicking the i button on the right of stackoverflow.com I get
"This page is generated by Google to use less data than the original page. This page and its links are all served by Google to make your browsing faster. This is an experimental feature."
I understand its meant for saving mobile data. But I mostly like visiting the original webpage and with this feature on, instead of saving data I end up going to the simplified page and then the original webpage costing me more data. I'd really like to turn this off.
EDIT : Not sure if it matters but I'm using android 5.0
EDIT : I can confirm that it's happening on wifi as well. Any update on how to solve this or any workarounds?
Update 14/8/15 : This is still happening on my device but it looks like this feature is not experimental anymore and Google provides documentation about what is going on.
Here's how the page looks now -
(Click image to enlarge)

Clicking on learn more takes me here. Unfortunately, the support page only describes how the website providers can turn this off. No information about how users can opt out of it.

I don't use Chrome – but that looks to me as if it would use the "mobilizer" (having Google convert the page for mobile use). You might wish to check the settings with that in mind (might have keywords attached like "saving bandwidth" and the like). Moreover: taking a look at the URL in the browser bar, you're not browsing SO, but "googleusercontent.com"?

There's something called Reduce data usage in chrome. I checked before posting the question and it was already off.

And I am not browsing googleusercontent.com. I click on a webpage link and it would automatically redirect me googleusercontent.com showing me the simplified web page.

@Izzy check the edit

Strangely, I couldn't find any hint about this when searching "served by Google Chrome" or "This page is generated by Google to use less data than the original page". Anyway, the screenshot shows that the mobile data is roaming, which might be one of the cause. Is it still the same if you use WiFi? I don't know if it's possible, but I have a suspect that it's controlled by your network provider.

Neither did I find anything on Googling. Hence I posted it here. I think it's because of roaming too. I will confirm that with Wi-Fi as well. But I'd really like this feature turned off altogether.Served by Google and experimental feature tells me it's a new chrome feature.

As the info reveals, it's an "experimental feature" (@AndrewT. so I think that's not the network provider behind it – I rather go with zachk's last comment here). Usually, such features can be turned off somewhere in the setup. Doesn't that info page give any hints on that?

I've gone through chrome://flags but didn't find relevant feature. I didn't experiment on all of them though.

@Izzy Not any hints that I could find

Just a small update, I managed to find the pattern to load the page as shown on the screenshot; the URL is http://icl.googleusercontent.com/?lite_url=<other_site> (ex: Android.SE). Looking from the URL itself, it's a proxy by Google. Still, the bad news is, the page is cached (not updated realtime), and I don't know the cause to load this version or how to disable it.

Sigh. It's still happening and it's really messing up my browsing.

I can confirm that it's happening on wifi as well. Any update on how to solve this or any workarounds?

Possible workaround: use Firefox instead. You can get it from the Google Play store. Does this work for you?

Ummm, I'm pretty much used to chrome. I am a full time chrome user on PC and it automatically synchronises with my phone.

Please check the update.

When will a user see these transcoded pages?
Users will see these pages only if Google has detected that they are
  on a slow network connection in a country in which we enable
  transcoding.

Source:  https://support.google.com/webmasters/answer/6211428#faq
This can be experienced in countries like Indonesia, India, etc. where the internet speed is considerably slow. Googlebot does this based on the network speed and then it "transcodes" the page with any images. But there is no way to turn this off in the Browser Settings. Only way a website can do this is by using the Cache-Control: no-transform header in the HTTP request.

Opting out of transcoding If you do not want your pages to be transcoded, set the HTTP header "Cache-Control: no-transform" in your
  page response. If Googlebot sees this header, your page will not be
  transcoded.
Please note that pages that opt-out of being transcoded will be
  labeled in search results to indicate to users that they may take
  longer to load and may use more data.

Will my pages be transcoded for users on faster networks?

Pages will not be transcoded if the user is on a fast network.

So if you are on a faster network you won't experience this.

Check if the same websites are working cool in the incognito mode if the websites do work properly it is definitely the problem with the "reduce data use" option .
Turn it on and off . Even if the problem does not get solved try to clear the application data in settings>application>system>Chrome then clear data.
Still the problem does not get solved post your problem on google forum or chrome for android support page .

Strangely this doesn't happen in incognito. But continues to happen in normal tabs. Toggling reduce data didn't work.


text:
What is this notification icon that looks like a raindrop?
My friend bought a Sony Xperia Z3, and started to install all the apps she liked. After installing dozens of apps, she realized that there is a notification icon looks like a raindrop. I was asked to get rid of it, but I couldn’t. I tried to stop all the running apps, but it remained on top. If she pulls down the notification bar, it shows nothing.
Any idea what this could be?status

Hmm...I've done a Google image search and a TinEye image search and they haven't brought up anything related.  Do you have a list of possible apps it could be?

This looks like a shield with a keyhole, at least in such a small image. Have a look for  VPN Shield for Android on Google Play and on your device. - Just a guess.

I would start by looking at the list of currently running apps in Settings -> Apps  -> Running (could be different on Sony's devices.)
Narrow the list down by ignoring Google's and Sony's own services (e.g. Google Play serviced, Google Search, Google Keyboard, etc.)  Now examine each app that you don't recognize by taping on it, and tapping the "Stop" button.  If the icon on top disappears - that's the app which was spawning it.  You should now be able to open the app, go into its settings and look for a way to disable the notification icon.
If you are still unable to find the app after going through all 3rd-party apps, it's probably one of the system apps belonging to Sony.

Not really an answer, this should be a comment instead. Your answer is where they might look for the icon, but OP clearly stated "any idea what this could be?"  Besides OP already went to settings>apps>running> "I tried to stop all running app…" so would've seen the icon.


text:
Sony Ericsson Xperia X10 Mini (E10i) stuck on boot logo after installing a custom ROM using CWM Recovery
I was trying to install a custom ROM on my Sony Ericsson Xperia X10 Mini (E10i) by flashing the ROM with the .zip file in ClockWorkMod Recovery, but after installation the device doesn't boot. It hangs on the Sony Ericsson boot logo.
What can I do to recover from this situation?

Did you unlock bootloader and flashed kernel?

Can you still boot to recovery? If so, a first step would be wiping cache and Dalvik. If that doesn't do the job, a factory-reset can be issued from the same place (which of course would delete all your apps and data, if they were still present before that).

If you unlocked your bootloader and flashed a custom kernel, try:

Hold Home and Power button, phone will restart.
Press back button repeatedly, phone will boot into recovery.
Now
wipe data,
wipe cache,
dalvik chache,
dalvik battery status. In mount n system:
format data,
format system,
format cache.
Now flash your rom zip and after successful flash, reboot the phone.

Note: Always flash the kernel which is given along with the rom

Try to install the stock ROM. Download (stock ROM) FTF file from here and flash it using Flashtool.

I had this too but it was because I forgot to clean dalvik cache. Go into recovery> wipe dalvik cache> install zip from sd card. Then it should work

authors: ชัยวัฒน์ ศิลา


text:
How to restrict Chrome to load only a specific website?
We want to allow accessing our web based ERP and nothing else.
I tried  Surefox - but it does not honour target="_blank" in my anchor tags (basically it works as a one window/tab only browser ). Our Web based ERP uses a lot of popup windows.
How do I lockdown Chrome on Android to open only one website in the URL bar?

Surefox seems to suit my needs, so upvoted for being useful :) As for your case, I know this will sound completely off of what you're trying to achieve, but is the ERP yours like in developed by your company or yours as in what the company uses? 'Cause if you've developed it and are still using popups, I wouldn't recommend that, popups are outdated

It requires development of a WebView application that restricts loading third-party content.


text:
Find what app is causing popups, NOT in notification bar
I am getting these popups regularly. They do not appear in the notification center so I can't find out what app is causing them. The only app I can think of that I have installed recently, I have already deleted and they still appear. I am using the Nexus 4 Android 4.2.2. None of the ad detector apps have found anything.
How can I determine what is causing this?
Here is a screenshot of an ad, and a screenshot of my task manager immediately after. I am not sure if the app would have to be running to show the ad:

Have you run a few different anti-virus scans? Might find something. Also are you rooted?

I am rooted. I've tried about a half dozen scanners.

I would look to see if something unrecognized has set itself up as a Device Administrator, disable, and then remove.

related- https://android.stackexchange.com/questions/126326/some-program-is-showing-ads-on-my-desktop-how-can-i-catch-it . for me 'airpush detector' worked great

If these popups are appearing in front of other apps, look through your installed apps to find any with the "draw over other apps" permission.  Most apps don't have that permission, so this should help to narrow down which one might be the culprit.

And how exactly should people do that? Look through installed apps? Where?

In Settings, under Apps.  Tap on an app to open its details, and there's a section that shows what permissions it has.  There are also third-party apps that'll scan all your installed apps and group them by permissions so you don't have to check each one individually.  And Android 6 (Marshmallow)  has an advanced section specifically for controlling which apps can draw over others — tap the gear icon at the top of the screen in the apps list.

Thank you. Looking for "draw over other apps" really narrowed things down! Nothing else I tried was nearly as helpful!

If such an advert shows up in my device my approaches would be the following ones. Also, at least a day of yours would be killed in doing so but it would reap good results.
Use Firewall

Install a firewall and restrict everything from connecting to Internet. See Closing internet access for some apps and choose a firewall app.
Allow one user app in the firewall to connect to Internet. Use that app and see if the ads popup. If negative, then do it for another app.
A firewall should be keeping a log of which app is trying to connect to Internet, so that should help as well.

Monitor network connections
When that popup shows up, see which apps are connected to Internet. Use an app like OS Monitor. Its Connection tab shows all the connected or apps waiting for connection (listening) on a port.
You can use this approach with a firewall. Restrict all those apps which you saw being connected to Internet at the time the ads popup, allow one of the app and use it, and observe if any ads shows up. Similarly, do it for other apps.
This should help in pin-pointing the source. Otherwise, ad blockers are always a choice to use and forget what's causing those popups.
Kill-all approach
Either manually or using an app or task manager, kill all the user apps running. Launch one of them, use it and see if the ads popup. Do the same for other user apps. Not a very good approach but nevertheless, it may lead you to source.

adb shell dumpsys activity or adb shell dumpsys window may also help.

Try using an ad-block app like AdAway or AdBlock Plus . Most of these apps will show which ads were blocked and from where they originated. You can also check this link to know in detail about how to block ads in android

a) what is the google play store link?  b) it says "It’s available for all major desktop browsers" .  What if an ad comes up but not while i'm browsing?

I had the same problem with my sony aqua and i found a very simple way to find the app that causing the ad all you have to do is when the ad pops up on your screen just hit the recent apps button and you will see what app is causing the ad.. For me it was Bluetooth app sender and i uninstalled it and the ad is gone

Great! This worked as expected. Thanks for a nice tip. The DYI Emoji application on my fiancee's phone was causing ads pops any time she had use phone with internet and they were like 3 ads in 5 sec all the time and we were driving crazy she from ads pop ups and me from Internet Data bill. Hope there is a way to sue app creator for using my data on spam ads. I try to find out thanks. ;(

I had the same issue. Found a few suggestions on the Internet, like Trustgo ad detector and air push detector. Installed the trustgo app and it found the problem app in in a second. May be this info might be useful for others facing the same issue

It might be useful if you [edit] your question and link to the apps you're recommending.

I recently bought a Galaxy S7 Edge. Was getting ADs for Mobile Strike over and over, with sound even when the volume was off. Very frustration. Tried Ad blocker and Malware Bytes. All excellent apps. Nothing worked. Couldn't find the responsible app. Finally had to do a hard reset. That worked.

I had exacly the same ads you are showing in your screenshot, also apps called Insane Stars and Alarm Clock constantly installing, i looked into services and found and app called 'Tasks' being the culpit. If you dont have a service called Tasks, try to open multitasking while the popup is showing, it will show you the name of the app.

Found my apps to be related to skype. Uninstalled and no more pop ups. One of their permissions was to run over other apps thus the pop ups.

Had the same problem. Pop up ads even in the middle of playing a game, or just sitting there. I went into setting, and looked at each app. There was an section that says how many megs was used in the last 3 hours. I uninstalled the ones that showed activity in the last 3 hours, no more pop ups! Hope this helps!

Most times, this is caused by malware and uninstalling is not an option.

Download a terminal application for Android and run the following command:

ps

The "ps" command will list all the running processes / apps.
Inside there you can see and analyze if a "weird" app is running behind and shows those ads.


text:
Are custom ROMs really required?
Are there any specific advantages of using custom ROMs? I am using a stock ROM and removed all the bloatware. I tried few tweaks in build.prop and init.d and use greenify for better RAM and battery management. Other than the custom UI is there any real advantage of custom ROMs over stock ROMs?

@DanHulme  The advantages which is given in the answer were already tried by me? Is my stock rom a custom rom now?

Well there are many advantages of using custom ROMs. Just removing bloatware from your phone doesn't make your stock ROM a custom ROM. Custom ROMs like their name, are based on "custom" code and are not based on the ROMs made by the manufacturer. There are many custom ROMs that change the base-band of your phone which in turn improves the overall signal quality. Some custom ROMs also adjust the CPU speed of your phone so that you get better battery life without impacting the battery life.
Also, custom ROMs generally give you a chance to use the newest version of Android, even before a manufacturer gives you an official release. This proves to be quite beneficial for older devices as a manufacturer tend to forget their old devices.
Just like their good points, custom ROMs have a few drawbacks too. They void warranty when you install it on your phone. Also many ROMs that are released may contain bugs too which will cause issues for the user.
Finally, it mostly comes to personal preference. Many people want that extra bit from their phone and end up installing custom ROMs whereas many are happy with how their phones are out of the box and stick with stock ROMs.
EDIT:  I went through a few more sites, it seems one can't overclock on a stock kernel(found in a stock ROM). You can only underclock on a stock ROM. But anyways my main point of the answer was not only speed. Yes most of what a custom ROM does can be done on custom ROM too but rather than spend so much making so many small tweaks it's best to install a custom ROM that already has all tweaks done out of the box.

The newest version of android now that is an advantage over stock rom thanks for the reply but all the other things mentioned were doable on a rooted stock android using apps like SET CPU and tweaking build or init. Thanks

@user3275057 check this documentation about SetCPU: http://www.setcpu.com/documentation.html
Poldie: What about people not in the EU?

@KaranRajBaruah and exactly why should I read the documentation?

@user3275057 I went through a few more sites, it seems one can't overclock on a stock kernel(found in a stock ROM). You can only underclock on a stock ROM. But anyways my main point of the answer was not only speed. Yes most of what a custom ROM does can be done on custom ROM too but rather than spend so much making so many small tweaks it's best to install a custom ROM that already has all tweaks done out of the box.

@KaranRajBaruah can you add that in the answer so I can set the answer as accepted

@user3275057 I added it to the answer.


text:
How to delete the entered number during call
I found no backspace button to edit the number once inserted in keypad during call.

I found this when I called my mobile operator customer care service which uses DMT, and suddenly the customer care executive asked me to tell my Sim Message Center Number which I thought to find by typing *#*#4636#*#*.
How to delete the number.
My phone is Nexus 5.

I'm not in a call currently, so I cannot check: but could it be you can long-press the input (to mark it) and the "cut" it to the clipboard? Worth a try at least. // Apart from that: how are you supposed to "execute" a service-code while in a call? I'm not sure that would even work.

@Izzy yes I am able to execute service code while in call.

And does "long-press-and-cut" (as described in my previous comment) work? Plus, as you found a solution: Maybe you post it as answer?

@Izzy no long press is not working.

I found a workaround. By clicking new call button, I am able to type new number and execute service codes.

Before you place a call there is a backspace symbol to the right of the numbers that you've entered that you can use to delete any of the numbers that you've already entered.

However, once you've actually rung a number and started a call, the backspace disappears and you can't delete numbers (as in your screenshot in the question).
The reason for this is that while you're making a call the numbers that you type in are instantly transmitted down the phone line as DTMF (or touch-tone) signals so that you can navigate through voicemail menus, phone menu trees (eg "press 1 for billing, press 2 for complaints..."), dial extension numbers, etc.
You can't delete a dial tone that's already been transmitted. This is the same as while you're in the middle of one phone call you can't just type numbers into the dialler and start a totally different phone call. So the dialer code that you typed in to try to show your SIM message number wouldn't work because the numbers and symbols would have been transmitted down the phone line as beeps while you typed them (possibly annoying the person on the other end) instead of being used as a "service code" instruction by the phone.

very simple guys.
while you are on call you should close all background apps including call and later reopen the call,and now check your dail pad it will be fresh


text:
How to automatically use SIP/VOIP for international calls?
I have a cell phone plan that includes 9 hours of national calls, however, international calls are billed at extreme minute-rates. For this reason I use VOIP/SIP for international calls thorugh the built-in SIP option (dialer > menu > settings > call settings > accounts).
The built-in dialer have 3 options to choose betweeen, and none of them are what I am looking for - Use Internet calling:
1) for all calls when data network is available
2) only for internet calls
3) ask for each call
It would be so simple to have the dialer check the number called, and if it's an international number (i.e. it starts by +) then use VOIP, otherwise use standard cell calls.
Unless I am blind I don't suppose there are any way of doing this with the built-in dialer. I frankly don't understand why not, I would have thought this is a fairly common situation in this day and age.
Is there a way that could solve the problem?
I know I could have two dialers, but it annoys me that something as simple and obvious can't be done automatically.