text:
Wifi tethering blinks to ON/OFF mode while connecting the device to data
Wifi tethering shows an error while activating data on my android device. What may be the cause? Please reply.
Thanks in advance.
I am using Xiaomi phone, First of all I will switch on the tethering function on phone, and connect it to laptop. After that, I will connect the phone with internet. Then it shows the wifi tethering icon,and after some seconds it will goes to hidden state(turns-off tethering), again shows and hides, until data is off.

Could be anything – depends on the error. Honestly: You didn't give us enough information to help you. Can you quote that error, or include a screenshot? While on it: a step-by-step description of what you're doing would be helpful as well. Thanks in advance!

In addition to Izzy's comment, while connecting the device to data -- What does this mean? How do you do it?

'Android System' system application which controls tethering feature if android phones. I had provided restriction to it unexpectedly. And enabling it for data usage, solved the problem.


text:
Hidden files missing from my phone
Some of my pics and videos have been hidden by NQVAULT. When my phone memory was full, I cleared cache files from system menu. After that my hidden files are missing from phone. Is there any way to get them back?
I tried different software in Windows 8.1 but nothing working. It's showing connection mode mtp/otp doesn't support. After that I rooted my Android. Then also nothing happening..
Samsung Galaxy dous7582

Welcome to Android Enthusiasts! While waiting for good answers, you might wish to check with our data-recovery tag-wiki. With some luck, one of the hints from there already helps you out. It might also help us if you could provide a link for "NQVAULT": I cannot find that app on Play.

source: Stack Exchange

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

sort: votes


text:
How to set a device-wide in-app-purchase block?
Similar to the Apple iOS' "restrictions mode", is there a way to bar in-app purchases device-wide?
Would prefer a solution for unrooted devices, but if the only way is by rooting, so be it.
The Play Store is password protected for every purchase, so the main issue is not preventing the purchase itself, but something like blocking the opening of the Play Store or the forwarding of the screen to the store, something in that line.

You can set the play store to require the google account password in order to make a purchase. That may or may not work for you, depending on your situation.

@ak11234 it is already set, but I want something that blocks the app from even forwarding to the play store.

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


text:
A Windows PC software is pushing its app onto my android devices. How can I avoid it?
This weekend I installed a popular Windows antivirus in my PC laptop. The installer offered the android app, and I denied it.
Nonetheless, a couple hours later all my android devices had the antivirus' app pushed onto them, even the ones that were lying around unused for a week.
It means that none of the devices (three tablets and three phones) were ever connected to the PC in the previous or following days. And the installation notification for the antivirus app had Google play's icon.
I haven't order the download of the antivirus from the play store to the devices.
It seems the antivirus software or its installer did it from the PC. I have several google programs (drive, chrome, etc) installed on the notebook.
Due to Moderator request, the name of the antivirus is Avast free.

I would rather leave the antivirus software unnamed if possible (I am not attacking it), but if the community requests, I have no objections on sharing it.

Sharing the name would be useful. Were all of your devices connected to the PC? Disabling the "Unknown Sources" setting for app installs might do the trick if it is not coming from the Play Store.

Disable ADB from developer settings. That way Windows programs can't install any apps on your device.

@GiantTree the devices were never connected to the PC in the previous of following days. And the installation notification for the antivirus app had Google play's icon.

This question probably needs some clean up (e.g. clarify the issue on title) since your issue is a specific case with Avast Antivirus.

@AndrewT. originally I intended to keep the software name anonymous, but since then the disucssion moved into disclose. Now I think you are right.

@AndrewT. on second thought, maybe keeping the app out of the title is a good idea, to not sound like an attack on the app.

You (or someone else) probably accidentally click this banner on the main screen.

And "Accept" the offer.

(Note: this dialog may also pop-up on reboot)
- OR -
Avast pushed the installation silently (which I still doubt since it didn't happen on my case).

Avast gets the Google accounts saved on the Chrome, and it's possible for them to offer their products on connected devices.

Hello,
Thank you for contacting our support center with your concerns.
We have got it from your Chrome account. If you are signed (permanently) to your Google account in some web browser, Avast can read your devices added to this account and offer our products. This situation can't be blocked.

(Source: Google Forum)
Additional reading: "How did Avast get my Google account info and install itself automatically onto my phone when I hit 'accept' on the desktop app?" on Reddit.

Avast is hijacking AUTHENTICATION info from the browser. Very nice to know. It is a good think they keep it ethical-ish (oh wait)...

To me it seems like a malicious firewall. It can attempt to interfere with your connection to the Google Play website, inject a script in it and the script fires all events needed to download that specific app on all your devices.
I would recommend uninstalling this "popular" antivirus as it seems malicious to me.
Note, that even though you do not access the Google Play website yourself, any application is able to launch a web browser in the background; especially an instance of the Internet Explorer.
As long as you have a valid session/cookie in any of your web browsers, an application is able to extract that session/cookie and use it on its own.
Injecting a script to fire all events, needed to install an app on your device is just one thing an application can do.

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


text:
Remapping power and volume keys
My power button has broken so I'm trying to use the volume up key as the power button instead. My phone is a rooted Sony Xperia Go ST27i running Android 4.1.2.
I've tried ButtonRemapper, but this does not work on my phone so I'm trying to do it manually.
The output of $ cat /proc/bus/input/devices contains:
Bus=0019 Vendor=0000 Product=0000 Version=0000
Name="ux500-ske-keypad"

So I thought I'd edit the /system/usr/keylayout/ux500-ske-keypad.kl file, however this file does not contain what I expected.
It has no config for a power button and contains only the two lines:
key115  VOLUME_UP   WAKE
key114  VOLUME_DOWN WAKE

So nowhere I can disable the power button (assume this is key 116 on this model?). Also neither of the volume keys work to wake my phone, so is this config file even being read?

Answering own question in case anybody else has the same issue.
There is another file /system/usr/keylayout/Generic.kl that contained the mapping for the power button. The Android docs say never to modify this file but I did anyway. Commenting out the power button line in this file has solved my issue (power button stuck in) and I'm now using my volume up button as the power button.
Note that I also had to remount the /system partition as read-write that I did with the excellent FX app


text:
How to unbrick Sony Xperia C2305?
Today I was installing custom ROM on my xperia C. After installation completes, I reboot the phone. Now, it is not starting.
I tried pressing keys(power, vol up, vol down) with different different combinations but nothing happens.
The only response I am getting is either connecting to charge or connecting via usb cable to PC and that response is it is just showing RED light as notification only. It isn't getting boot in FLASH mode so that I can Flash it with new firmware.
The reason I concluded for this is that the ROM I installed wasn't for Xperia C.

Here's what I did that led to the current situation:

Copied a ROM of another device (I think it was of Micromax a116) on to my sd card. link to that rom
Rebooted my phone in clockworkmod and wiped all cache, partitions and data with dalvik cache.
Installed zip from sd card.
After successfull installation, again clean the dalvik cache.
Rebooted phone.

There it popped up an option I do not clearly remember, something like "flash recovery mode not installed (yes/no)". I just slide for back option and screen blanked out. After that nothing happens. Only RED Light after connecting USB.
Anybody help me!!

With some luck, it's just "nothing displayed", while something is still done. Does it show up on your computer when connected? I'd try the key combo to boot into recovery (keep it pressed for 20..30s to give it some time), then connect via USB and try adb devices. With some luck, the device is detected – and if so, we can give further advice. If not, try the key combo for Fastboot mode and fastboot devices; bootloader is even "simpler" and usually not replaced by ROM flashing.

No, it wasn't connected to computer at that time. Now, whenever I connect it with PC via USB cable in Windows 7, a notification tone beeps up in PC as it is trying to install drivers like something, but after 3-4 seconds, it again beeps for disconnection/failure installation. The RED light continuous and it blinks when that disconnect sound buzzes... And nothing else is happening in it.

@Izzy I tried pressing all possible keys combination to boot it in any mode(flash/recovery) but no response at all..

There are often device-specific solutions (I know that from a tab I'd bricked a while ago, where the screen stayed blank as well). Not having any Sony device, I cannot help any further – but someone else might be more familiar with your specific device to help you out. Good luck!

@choxx you can try flashing the ftf file with flashtool tutorial : http://forum.xda-developers.com/showthread.php?t=2054486

ftf file from here http://forum.xda-developers.com/sony-xperia-c/general/16-0-b-2-16-ftf-ready-t2843114

@sameer I already said in the question that it was not booting in the flash mode too.. so there is no any chance of flashing. Simply i can say the phone is not detected by computer so flash is not possible..


text:
How to root micromax A116(canvas hd)
Is there any way available to root this phone, stuck with this problem for so long.

See Methods/Apps here http://android.stackexchange.com/questions/1184/how-do-i-root-my-android-device

You can root it easily by using the Framaroot application.
Here is a link to the XDA thread, where you can find more information on the app.
XDA Thread Link for Framaroot app


text:
Apps on SD showing as not installed, phone is constantly rebooting
I've had the apps on SD card not showing issue a few times, but in the last few days anytime I use the stock camera app no apps show on the screen and when rebooting I get "no service", "service disabled" and the apps on the SD card show as not installed. My phone is now rebooting and in a reboot loop until I pull the battery.
Phone LS470 running 4.4.2

Boot into recovery and clear Cache and Dalvik-Cache, if you are rooted. If not then search about how you can boot into stock recovery and then clear Cache and Dalvik-Cache.

it can simply remove by opening phone in safe mode_______ or u may have deleted residual file of that application from sd card...

Please explain how to enter Safe Mode.


text:
Does flashing Factory image on nexus 5 reinstall core apps
I messed up with some internal core apks of nexus 5 running 5.1 (android L) to be particular Google play services.
I want to get back the original apks. Would flashing factory image help me with that ?

Yes, flashing a factory image will completely wipe your device and will flash each partition back to 'stock', meaning all system apks will be back to their original version.
If Google Play Services is the only app that you need to restore you can simply uninstall any updates by going to Settings > Apps > Google Play Services and clicking the 'Uninstall updates' button. Google pushes updated versions of Google Play Services out automatically so it will automatically get upgraded again to the latest version. If you are unable to uninstall updates due to the button being greyed out then you can see my answer here which explains how to enable the button.

Go to settings>apps and scroll down to Google Play Services. You can uninstall updates from there. And yes, flashing the factory image would help, but is probably overkill for your problem.


text:
How to get text messages off phone with broken screen
I would like to access and transfer text messages from an Xperia E to a new phone. I've found several applications that appear to let me do so, but all of them require USB Debugging to be on. Since the screen is broken (but I do still have touch functionality as far as I can tell) I have no idea how to turn this feature on.
All questions about the USB debugging issue get closed and redirected to an existing question that doesn't help me, so I'm hoping that there is some way to get the texts without the need for USB debugging.

Welcome to the Android Enthusiasts! Have you seen our broken-screen tag-wiki – and especially How do I backup data (SMS/contacts) from a device with a broken screen? (hint: most of our tags have tag-wikis holding first-aid and links to important questions/answers ;)

If you still have touch functionality, you may be able to export the texts right from the app. (If your texting app has that functionality.)
In terms of USB debugging, if you are not seeing the "Developer Options" choice, you may need to go to settings > about phone, then find "Build Number" and tap it multiple times, until it says you are a developer.
If you really can't get USB debugging on, I would recommend Avast Mobile Backup, it will backup my SMS messages without USB debugging.
Hope this helps and good luck.

authors: เมธาวิน สมาด


text:
Is there a way to transfer money from the gift card?
I tried to pay a Google Developer account (to publish App) with the gift card and wasn't accepted despite being a payment to Google Play. Were added R$100.00 (US$33,24) and own iPhone, only use for Google Books and movies. Is there any way to transfer the money or gift with app?

Unfortunately, no.
The Google Play Gift Card TOS (US) includes the following which mentions that once a Gift Card is purchased it can only be spent within the Google Play store and cannot be transferred or refunded:

2. Limitations. [...] The Gift Card is not redeemable for cash or other cards, is not reloadable or refundable, cannot be combined by you with other non-Google Play balances in your Google Wallet account, and cannot be resold, exchanged or transferred for value, except as required by law. [...]

For reference, Google maintains a list of purchases eligible for Google Play balance per country which includes country-specific TOS documents. It's also worth noting that a balance on a Google Play Gift Card is different than your Google Wallet balance.

Why can't I pay the developer account and that is a Google Play payment?

See the second link above. In the US, the only purchases eligible for payment using a gift card are "Apps, Books, Movies, Music, Music subscriptions, Newsstand, Newsstand subscriptions." I don't know why Google chose the restrictions it did.

@Mr.Buster I believe the purpose of gift card is for end-user, as with giving a gift for friends to use and buy things on Play Store, and it's not intended for development related in the first place.


text:
Can I read a data file without root access
I've been playing around with my phone, specifically the file /data/system/gesture.key, and have run into an issue.
Using adb, I can get right up to the file but I can't read it or copy it to my PC. I have two phones I'm working with - an S3 and an LG90. Neither phone is rooted and I don't really want to root them.
I keep getting permission denied error when trying to access the file.
Is there any way to open the file without rooting the phone?
Thanks!

Simply put, the chance is there. The issue is, that only the system has permission to read that file. So we need to use a system service to read the file and send it to us. AFAIK creating a backup using ADB and extracting files should be possible, but I don't know if such system files are included in a full backup using ADB. Note: Do a backup with something like adb backup and not via adb shell.

I tried the adb backup and the adb side seemed to think it worked and it told me to go verify on device. but A) the device didn't seem to know about it and B) I'm also trying to figure out how to do this without having to do anything on the device.

Well, the issue is that the file is owned by the system. No user app is able to run as the system user and thus it is not possible to copy it. The shell itself runs as a user as well, but the ADB daemon (adbd) seems to have system permissions needed to create backups of your system. After you have accepted/verified your PC on your phone you will not be asked again.

authors: ეკა თამაზაშვილი


text:
Device freezes after trying to reboot with bootloader
I have been trying to unlock my bootloader as per the instructions found here. I already have installed the drivers from Google USB driver folder that comes in Android SDK "extras" folder. However, when I try to start my device into the fastboot mode with cmd, it freezes.
I type "adb reboot bootloader" to the terminal, as instructed. It seems to be trying to restart my phone, yet it freezes before it can actually start up, stuck on the initial HTC screen.
Has anyone ever encountered an issue like this, or may anyone have an idea for a solution to this? I would manually enter bootloader menu and get my phone to fastboot if I could, but holding down the volume down and power buttons (as instructed here) won't help me at all. Pressing volume down and power simultaneously will simply start my device with a regular boot (and I have no means to "deselect Fast boot" - I simply don't have the option in battery settings).
I am on Windows 7 laptop and my phone is HTC Desire 516 using Android 4.3.

Have you tried to cold boot it first? Before you quick boot, you must cold boot it once.

Does your laptop have a USB2.0 port? Have you tried that port for fastboot commands? Fastboot doesn't work with a USB 3.

Holding the power button + vol up will take you to recovery mode. In recovery, there is an option to reboot to download mode.
Otherwise, try different button combinations. I'm using HTC 626 and this happened when I was trying to boot in recovery mode by holding power + volume up and that was not working, but I was able to boot in recovery by holding all 3 buttons. Make a try.

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


text:
Playstore won't allow me to log into my google account
I have a Galaxy S5 and whenever I try to login to my google account to set up playstore I keep getting this same message. "Can't establish reliable connection to the server, this could be a temporary problem or your android device may not be provisioned for data services. If it continues, call customer care." I live in Mexico so we do not have data. I strictly go off of wifi and i currently have really good wifi here. Please let me know how to fix it. I have set the time and date. And still has not fixed my problem.

If your galaxy s5 is rooted then you can fix this error by going into /system/etc and looking for a text file named hosts. Open it with any text editor and add this in front of 127.0.0.1, #, e.g., #127.0.0.1 localhost. If it doesn't work, delete all text from the hosts file and paste this: 127.0.0.1 localhost and save, then reboot. Hope this helps.

Based on this article I would suggest trying the following:

Try resetting google apps as described on the (Instructions vary per device, but this should work for your S5 -- You can also clear app data this way but try just the cache first.) You most likely need to clear the cache for the apps named "Play Store" and possibly "Google" or "Google App", and probably " Google Play Services"(as a last resort)
If you have physical access to the wifi router, try resetting it by power cycling it (unplugging it, waiting 30 seconds, and plugging it back in).
As a workaround, try logging in to the Youtube app and then sync it in the system account settings page.

Hope that helps.


text:
VS98523c updated successfully but 4G Data doesn't work
The 4G connection is there but I can't use it.
I went into the Mobile Networks to check the signal strength and there is a 4G signal, but the phone doesn't want to use that connection for data.

I am not roaming
Mobile Data is turned on

I turned it off and then on again twice with no results.

I switched the "System Select" to all the options and no results

default was global - didn't work.

Airplane mode is turned off
I am able to make phone calls

What other troubleshooting steps are there?
Is this a known issue and is there a solution?

after the 3rd or 4th reboot the 4G data now functions again.  sounds like other phones and other versions were having this issue as well.
Cellular data not working since 5.1 Lollipop flash
How do I get my mobile data to work again, after the new Android 5.1 update?
Nexus 5 upgraded to 5.1 and mobile data wont work anymore
Moto G 1st Gen - Mobile Data not working after upgrade to 5.0.2

authors: Слава Истелеев


text:
Enable background usage of specific apps on Android 5: LG G3 skin
I remember that on my previous phone running Android 4.3 I was able to disable background usage of mobile internet, yet enable it for specific apps. Instructions to do so can be found on the Google support pages.

Open the Settings menu  on your device.
Under Wireless & networks, touch Data usage.
Make sure you're viewing the network for which you want to view or restrict app data usage. If more than one is displayed, you can switch between them by touching the tabs at the top of the screen.
Scroll down to find the app whose data usage you want to view. The blue bar for each app shows its total data usage for the cycle displayed above the graph near the top of the screen.
To see more data usage details for an app, touch its name.
You’ll see a graph showing just this app's data usage for the specified cycle. Below the main graph, a pie chart breaks out foreground versus background data usage for this app.

"Foreground" data usage means how much data an app uses when you’re using the app.
"Background" data usages means how much data an app uses when you’re not using the app.

To stop background data usage for this app, check the box next to "Restrict background data."
Read the message that appears and touch OK.

Source: https://support.google.com/nexus/answer/2819524?hl=en
This however does not seem to apply at least on the LG G3 running Android 5. Is this something LG moved to some other place? Or has it moved on Android 5?

Depending on the answer I will generalize the question as much as possible. If this issue is specific to the LG G3 I will leave it as is. If it is applicable to all LG phones I will change it to apply to those and if it applies to all Android 5 phones I will change it to remove all references to LG.


text:
Can someone please explain why my google services and my data optimizer are using so much data?
Can someone please explain why my google services and my data optimizer are using so much data? This is ridiculous. Here is a link: http://m.imgur.com/TwiuCoL

What phone? And are you using a custom ROM?

@ak11 it is an lg g3 running android 5. Its not rooted so its stock lollipop

Not sure if this will help/work for you,, but you may be able to check exactly what is using the data. http://www.howtogeek.com/206062/how-to-check-manage-and-clear-data-stored-by-google-play-services/


text:
What is the pathname to my application executable?
I wish to get the pathname for an application I am creating and have installed via Eclipse and ADB.  My application is installed as I see an icon that I can invoke to launch successfully my application.  I also see a file: /data/app/com.mydomain.myapp-36.apk however, if I try to invoke that file from the shell I get an error of can't execute: permission denied, even though I am root.  I notice that for sshDroid, I can invoke it from the shell using the path: /data/data/berserker.android.apps.sshdroid/dropbear/ssh but I find no corresponding path for my application /data/data/com.mydomain.myapp/ as that directory only contains the subdirectories: cache, files, and lib.
Is there something I can do when building on installing my application so that my application can be invoked from the shell, or do I just need help locating the pathname for my application?

How are you attempting to invoke it?  You can't run.apk's directly, you have to launch their main activity.  They are not executables, they're basically zip files.

To launch applications, use the ActivityManager (am command).
Apks are not directly executable as they are just archives containing runnable code.
If you have packaged natively executable binaries in your app, you need to extract them first, then set permissions according to executable permissions (at least --x--x--x) and launch it through an instance of shell.


text:
Hide rooting to an application
I'm currently using a custom Android 5.0 ROM on a Sony Z1c and thoroughly enjoying the freedom.
Looking forward to a point very soon when I can install MultiROM and have the Ubuntu Touch installed aswell.... having OS specific for applications makes good sense.
However.... one thing I need someone clever to help me with is to write me some code I can install to Android that will allow me to hide the fact that I have root access so i can continue to benefit from using the incredibly convenient Barclays Banking app. I've unfortunately discovered that it is patched to check for root access and tells me it is 'unable' to work on rooted devices.
My current ROM is CyanogenMod 12 which has the ability to 'disable' root access, but even so, the banking app can tell that my phone has the access to root.
Hoping someone clever would appreciate the challenge of working out how to 'cloak' my root access ability and allow me to get the app working again on my phone and save me having to go the very long way around via browser login to my online bank account. I think Barclays is being unduly 'Paranoid Android'.... :-)
Whatever you need I can send..... having ES File Explorer installed allows me to pluck anything from the system

See if this app RootCloack can help you...it can hide root for a specific app you can choose by hiding binaries apks and other ways...it should work

This will not work.  RootCloak requires Cydia Substrate and Cydia Substrate does not run beyond Android 4.3.  The user is on Android 5.


text:
Has Google just stopped supporting Amazon Fire Phone?
A few days ago, my phone suddenly started giving me constant "google play services has stopped" pop-ups.
Auto-updated Google Play Services version: 7.3.29 (1866531-036)(7329036)
I tried force quitting, uninstalling, and reinstalling the older version (3.2.25 (761454-36)) along with reinstalling play store app. This made the error pop-ups stop, however, when I tried updating the Google Play Services, it said that google no longer supports your hardware (or something like that). When I tried again, it did update it through play store, then started giving me the constant "google play services has stopped" error again.
I am suspecting that the recent Google Play Services is not supporting Amazon Fire Phone (Fire OS 3.6.8 (128003620)). Is this indeed the case?
Does anybody have an older version of the Google Play Services that work?
Screen captured the message:

This seems to be due to a bug in the current version of Google Play Services, and it's not just limited to Fire Phones. There's a discussion about it over at XDA Developers, which I'd recommend keeping an eye on.
For now there doesn't seem to be a good solution yet other than uninstalling Google Play Services and reloading an older version - and even then rebooting the phone will automatically update Google Play Services to the broken version. I've seen some commenters say that uninstalling the Play Store will keep Play Services from updating, but I haven't tried that yet.

Look for an update for the fire phone out of Germany or UK. Download it to sd card, turn off WiFi and have phone search for update. Everything works like play services and even backgrounds now work. Still no Android wear though.

I also installed the older 7.0.99 036 version. All is well still and it has now been a few hours of using the phone normally. I am even running Google Maps with no errors or Play Services stopped notification. Try uninstalling the four Apks, then reinstall in the correct order with 7.0.99 Play Services instead. Then force quit Google play services in the manage applications menu. Go to Google play and login with your Gmail credentials. This will restart Google play services, but without triggering the play services stopped error. Cheers.

I have been doing this myself but it keeps updating itself after a reboot.

Go ahead and uninstall google play services.. your google apps will not work but the play store and all other thirdparty apps work just fine.

Thanks! But the google apps always request installing google play services..

Play Store doesn't work without Play Services, not at least on my devices!

I downgraded to Google Play services 7.0.99 (1809214-036). It still gives me a warning, but doesn't constantly crash.

That isn't the case. Sometimes FCs (Force Close) happen. Just get a newer or older version from APKmirror.

No matter what I do,  Play Services automatically updates to the newest version. Do you know how to prevent it?

@FMFF Don't reboot your phone. If you do, it'll update...

@Memming didn't restart, all autoupdates are disabled, yet this damn thing keeps updating itself.

@FMFF I also noticed that whenever Google play store runs, it automatically updates. Very annoying!

After upgrading to Fire OS 4.6.1 (461013820) OTA, the problem no longer persists.

authors: فریبرز اریان نسب


text:
How to get shell with busybox on android?
I installed busybox free on my android device. I have super user and stuff. When I click on the busybox widget, it gets me to the configuration utility where I can install / uninstall. It is installed. How can I execute the busybox binary now?

Use one of the many Terminal Emulator apps out on the Play Store and run either one the commands or busybox itself. Hint: search the Play Store for Terminal.

BusyBox: The Swiss Army Knife of Embedded Linux

BusyBox combines tiny versions of many common UNIX utilities into a
  single small executable. It provides replacements for most of the
  utilities you usually find in GNU fileutils, shellutils, etc. The
  utilities in BusyBox generally have fewer options than their
  full-featured GNU cousins; however, the options that are included
  provide the expected functionality and behave very much like their GNU
  counterparts. BusyBox provides a fairly complete environment for any
  small or embedded system.
BusyBox has been written with size-optimization and limited resources
  in mind. It is also extremely modular so you can easily include or
  exclude commands (or features) at compile time. This makes it easy
  to customize your embedded systems. To create a working system, just
  add some device nodes in /dev, a few configuration files in
  /etc, and a Linux kernel.

also, as GiantTree said,
you need to download the (Terminal Emulator - Google play).
and after install (and also install the binary and get root permission), you can use the terminal serve as more Permissions and it support Busy Box Binaries.
This is the Syntax of use this project :
/bin/busybox ls

More information :
Command Help - BusyBox

OH. Makes a lot of sense. I'm used to having busybox self contained however... Thanks

authors: احمد عبد الرحمن منصور


text:
How to install cyanogen mod 12 lollipop?
I have an unrooted Samsung ace 2. How do I install cm 12 lollipop on it ?

Your phone is not official supported by CM12, but there is at least an inofficial build some enthusiasts created. Go to CM Unofficial Ports List. There are two inofficial builds created by different teams, so take time and read which one seems better.
But in such inofficial builds not everything may work, also I think you should somehow know what you are doing before starting to flash such ROMs.


text:
Alternatives for MTP, PTP and USB Storage regarding data transfer in Android 4.x.x and 5.0
It has been known that USB Storage functionality was removed in Android 4.4.x and subsequent version of Android.
PTP doesn't work very well on cross-platforms, not to mention it restricts files to certain media types.
MTP works in Windows and in some Linux distributions with certain tweaks. However, it is not very stable and breaks often when transferring huge files (on all of my three Android devices).
The question is to suggest some good alternatives for file transfer between Desktop and Android without compromising data transfer speed (via USB cable). It implies that no data transfer apps using hotspot/wifi should be suggested like Airdroid, WeLine, Webkey et al.
Note that the solution should work on at least all of the Android 4.x.x versions and possibly on 5.0 too. A similar question was asked here but its limited to Android 4.0.x.

The other question isn't limited to 4.0.  I've merged to shift over your answer.


text:
Insufficient space to save data in my mobile
Data is not saving or transferring to the memory card, and the phone memory shows no more space available to save data in phone.

It happens to me also. You can solve it very easily.

Go to file manager and open DCIM folder.
In DCIM folder you can find a hidden file named thumbnails. This should be a very large file. Delete that file.
Now check free space in your SD Card. (Thumbnails will be created automatically after deletion. So delete it every day to free space.)


text:
Default home on lollipop 5.0.2
I have xperia z2 and recently updated to lollipop 5.0.2.
Now everytime I press the home button it asks me whether I want the simple home or the normal one, it's very annoying.
I tried to select the default but it's not working.

It's likely that you have two launchers installed. If you press home, choose one and then press "Always" the setting should stick

This is the problem, it is not sticking. Next time I press home button, it asks again which launcher I want

Try uninstalling the other launcher?

You could try some default app managers (also see Default Homescreen Switcher specifically for home-screens, and Manage Default Apps for more alternatives).


text:
How to make Samsung Tab 2 10.1 screen always on?
In settings, they only give 15 secs to 30 mins options. But in my scenario, I need make it like an ads screen to present information forever, until the screen dead.
Is there any way to achieve that? Do I need unlock the bootloader?

Download tasker from play store
Import the following task to tasker (save as .xml ) and then import
Download tasker task.
You will get the following screen on time
23 hrs 59mins 59 secs
Put a profile to run everyday, so it gets repeated everyday.

Wake Lock does the job without going through extra setup (Tasker) and is tiny in size. Just use FULL_WAKE_LOCK to stay awake and NO_LOCK to disable.

Thank you. I have written a line of code to force the app wake up the tab.


text:
Dynamically theming Status Bar according to app's Action Bar?
I have no idea whether this question is on-topic or off-topic here, because it is related to problems with an Xposed Module. Moderators, please tell me if this is off-topic or not.
I'm running on an AOSP-based Jelly Bean 4.2.2 ROM, rooted and having Xposed Framework. I have GravityBox, Tinted Status Bar, XBlast Tools, etc. and many other modules installed on my device, including the Monster UI module, which themes my device framework to make all apps look like having Material design (checkboxes, progress bars, ripple effects, etc).
I have applied a system-wide Material design colour scheme, including dialog boxes and action bars for apps which were using Holo themes, all through Monster UI. On top of that, to get the full Lollipop effect, I have used the Tinted Status Bar module to tint the Status Bar according to the app's Action Bar colour. When I launch any app's main activity, it works fine, and tints the Status Bar accordingly. But, when I switch back and forth across various activities in the app, the Status Bar gets tinted White, and sometimes that makes the Action Bar turn white too, rendering the text/icons which both were supposed to display, invisible.
How do I fix this ?
Note : All modules work perfectly, and none are conflicting with each other. I checked MANY times for any such conflicts, but there were none. Disabling other modules too didn't work out.

Could this be a combat between two or more theming apps?

Look's like a bug in Tinted Status Bar module, because other than this everything works fine.
So, give your feedback to module developer MohammadAG - XDA Profile
or Tinted Status Bar thread - XDA


text:
Nexus 5 recovery issue
On my Nexus 5 phone, WIFI and Bluetooth services stopped working all of a sudden. I recently got an update for 5.1 version, but could not update as some system files got corrupted. I tried a factory data reset but the issue still persists. Now I am trying to flash 5.01 OS and it is failing. Below is the log I have. Can anyone please suggest a solution to get my nexus back into working?
target reported max download size of 1073741824 bytes
sending 'bootloader' (3807 KB)...
OKAY [  0.363s]
writing 'bootloader'...
FAILED (remote: invalid bootloader image)
finished. total time: 0.543s
rebooting into bootloader...
OKAY [  0.098s]
finished. total time: 0.098s
target reported max download size of 1073741824 bytes
sending 'radio' (67169 KB)...
OKAY [  2.907s]
writing 'radio'...
FAILED (remote: size too large)
finished. total time: 3.088s
rebooting into bootloader...
OKAY [  0.097s]
finished. total time: 0.098s
archive does not contain 'boot.sig'
archive does not contain 'recovery.sig'
failed to allocate 1679613116 bytes
error: update package missing system.img
Press any key to exit...

. With the backup secured, just access Reboot your Nexus 5 device into Bootloader mode. To do that, hold the Volume Down and Up buttons to power on the device. Once your device is in bootloader mode, use the Volume keys to go through the series of options available on the screen. Now you would want to tap the Recovery Mode to enter with the Power button.

Tried your suggestion. I restarted my phone and it went to Firmware update. More than 1 hour it shows 0% complete. I tried to restart my phone again. Now it is not starting. Any suggestions is highly appreciated

I could just start my phone right now. Looks like update is not successful. Now I went to recovery mode again. I see android icon with exclamation mark on the screen. Now when I run reboot bootloader command from adb , I see "Waiting for device" message.A ny suggestions.


text:
full desktop backup using adb not working with yu yureka
I am using a desktop with Ubuntu 14.04 installed to do a full desktop backup of my Yu yureka phone.
I used the command
sudo adb backup --all

then it shows
Now unlock your device and confirm the backup operation.

But nothing is ever shown on the phone. The phone is running on Cyanogenmod OS 11.(I want to do a full backup before updating it to CM12)

it means, the device, haven't any PIN password.
just do this :

Goto Settings > LockScreen > Screen Lock

and set the password for PIN and after this, try again for backup and it showing you for enter the PIN password and then, Backup process will be starting.

Edit :
after Set the PIN, use this Command :

adb backup -all

this command will be show to you the windows like this :

Does it not show any verification window on the phone? Do I have to just wait and watch and hope that backup is going on?

Edit and updated.

authors: ابراهيم حيدره


text:
Lock Android Phone/Tablet after a certain time
I have my younger brother who spends too much time playing on Android Tablet, he wastes too much time and I've decided to give him only 1 hour a day but he's clever and uses the time in two shifts (30 minutes each), but I can actually tell him to use it once. Anyways, I want an app which will lock the phone after it's used for 30 minutes or 60 minutes automatically or shut down, whichever is possible.
He also uses extra time without me knowing (I can't always keep watching at him), so I want to eliminate everything and get some discipline to him.
It would be good if its linked with some website to track it but if not its fine, what I'm looking is an Android version of CyberCafePro (if possible) or anything that will auto lock the Android device after a certain amount of time and can be unlocked with a password or some sort of combination.

Far as I know locking the screen is not a privilege that a user app can have.

I found the excellent app "Kids Place" which acts as a launcher for kids. With this, you can choose what apps they are allowed to start, and how long they are allowed to use the tablet each day.

An app launcher with parental controls & child lock that protects your personal data and restricts kids to apps you have approved. Kids Place also prevents children from downloading new apps, making phone calls, texting or performing other actions that can cost you money. Includes convenience features for parents such as auto app restart, useful for small kids who accidentally exit launched apps. With Kids Place app, kids gets fun time and parents can get some much needed peace and free time.
  Trusted by millions of families.No internet connection; no email; no account creation and no payment required for app to work.
Features:
  ★ Custom home screen displays only apps that parents have authorized
  ★ Can prevent children from buying or downloading new apps
  ★ Timer feature to lock Kids Place after specified amount of time.
  ★ Support Multiple User Profiles.
  ★ Capable of blocking incoming calls when Kids Place is running
  ★ Capable of disabling all wireless signals while Kids Place is running
  ★ Can restarts apps accidentally stopped by small children, allowing parents to stay focused on their own tasks.
  ★ Add custom wallpaper to customize your child’s experience while in Kids Place
  ★ Appropriate for children of all ages - babies, toddlers, even teenagers
  ★ Plugins - Kids Place provides additional parental controls for Website content filtering; Videos and Pictures via plugin based design. Please go to setting > plugins to access these features.
Premium Features (requires In-App purchase)
  ★ Run in background mode. Kids Place will not be used as a launcher or home screen. Suitable for older kids or on
  employees device to be used with stock launcher.
  ★ Added option to always start on reboot.
  ★ Ability to block app uninstall.
  ★ Customize App Title
Home; Back; Search and Call buttons are locked so that kid cannot get out of the Kids Place or make phone calls.


text:
android apps not getting dowloaded from playstore
today i tried to download an application from play store. but instead it showed the error message not enough store space in device memory. i tried to search the solution for it on net.
so i did few things like.
1. go to settings> all application> then Google play services clear cache ,clear data , force stop it.
2.  and then do the same thing for Google play store.
but they also didn't work. what should i do.

What phone? On most Samsungs it helps to: open the dialer, type *#9900# then a menu appears and select the second item: Delete dumpstate/logcat That will free up space from some internal partitions and enable app installs.

insufficient-memory-tag This tag is associated with may questions with similar issues. Have a look at it. If it helps then please answer your question. Otherwise, do an [edit] to let us know what did you try but not worked out.

Maybe simply there isnt enough storage as stated in the error.
Apps are installed in data patition not your internal sd card. Dont be misleaded by that. There are /cache /data /system partitions .Preinstalled system applications are in read only /system partition. When you install app from play store it will be installed in /data partition and its limited. My 16 GB phone has only 2GB data partition
Try to clear some other applications data

Check your data connection is active
Make sure Download Manager is turned on
Check your device has enough free storage available
Clear cache & data
Re-install Play Store updates
Check for system updates

authors: عبدالله احمد


text:
Stock Nexus 5 stuck on Google word on boot
My nexus suddenly froze. I was on whatsapp when it happened. A few apps were being (auto) updated in the background and AVG was scanning each app as it finished downloading and updating. I usually don't pay attention to it.. and always, every time AVG scans the app, my keyboard goes down. It's a bit annoying, but nothing major.
Today, after the last app was scanned, (at least I think it was the last one) - instead of my keyboard disappearing, my phone just froze. It wouldn't respond to anything on touch screen and not even to volume/power buttons.
Googling a bit told me to hold both volume buttons, with the power button to do a force restart, as I was out of the option of just taking the battery out.
Now, the phone is stuck on the first start screen - the screen that says 'GOOGLE' and nothing. Usual fix to this seems to be factory reset - I did that. I've got everything I need backed up so don't care about losing data - but that just brings me back to the google screen.
The second screen on recovery mode - the one you get by going to recovery mode and holding power button + press release volume up... I see some errors at the bottom saying
E: failed to mount /cache (No such file or directory)

and a bunch of similar errors.
This is a stock android with latest lollipop (or the latest that's been released to nexus 5) and I have not messed with the phone in any way... So I am understandably a bit disappointed it's got a problem, esp as the phone is less than a year old.
So, Is there a way to fix this please?

Edit: After chatting with google support team and walking through some troubleshooting steps, turned out to be a hardware problem with ROM and I was suggested to contact the seller.. I spoke to amazon and am having to return the phone for a full refund.

Does fastboot still work?

Did you attempt to wipe the cache partition?

@ThomasMartin hi - yes, I did attempt to wipe the cache partition, nothing happens.. as in, it restarts and gets stuck on google word screen again

@aureljared yes, fastboot works (if fastboot means going to the recovery screen thing...)

Looks very similar to this issue- http://android.stackexchange.com/questions/88501/android-5-0-0-on-nexus-5-stuck-on-boot-logo
Have you had any drops or water spills? Since the phone is less than a year old, I would go ahead and call google support (or whoever you purchased the phone from) and see what they have to say.

@ThomasMartin Had no water spills at all, no damage whatsoever, haven't  even dropped it. I bought it off of amazon, and it says the item is not eligible for returns.. it does look awfully similar to that problem!

@iamserious they should still support the phone, depending on how the warranty works through a third party. I would try contacting them through the options at the upper left of this page- https://support.google.com/nexus#topic=3415518 I had an issue a while back with my N7 and they were pretty good about it.

@ThomasMartin thank you, maybe you can put your comment as the answer and I'll accept it? It turned out to be a hardware fault and I will have to send back the phone for a refund.

@iamserious anytime. And thanks for the answer credit.

Sounds like a hardware problem. Google will support the device even if it was not purchased directly from them, since it's still under warranty. Try contacting them through the options at the upper left of their support page- support.google.com/nexus


text:
Can't send/receive text messages and calls on Samsung Galaxy S4 since update to Lollipop
My boyfriend has updated his Samsung Galaxy S4 earlier this week to the new Lollipop and ever since the update, he's experiencing issues.
His phone is slower, things crash, the battery drains way faster,...
But most important, he can't send/receive text messages or calls anymore and he can't use mobile data.
When trying to send a message, it keeps trying and ends up telling him the message could not be sent. When trying to make a phone call, it does not give the ringing sound. It just stays silent, and then after a short moment the call ends.
In the rare occasion that he can send a message, it takes an awful long time for the message to be sent. he's had this problem at work, at home, at other locations,... He even tried using a different SIM card and the problem persists.

Sometimes all of a sudden he can send and receive text messages. Then a few minutes later the problem comes back. But it happens very rarely that it works again, 9 out of 10 times the problem is happening.We have no idea how to fix this. We tried a soft reset, a factory reset, switching between automatic and manual network (worked for a while when on automatic), switching SIM cards, trying his card in my phone and vice versa,...Any help would be greatly appreciated.
EDIT:
Yesterday we downgraded his phone back to KitKat (using ODIN) and the problem persists even in KitKat. Apparently it seems to be a hardware issue. :(
SECOND EDIT:
Suddenly, it works again. He can send and receive messages, make calls, get on the mobile network,...
Funny thing is, he was on the toilet at work when the problem began. A few days later after all these issues, he goes to the same toilet, and BAM. His phone is acting like nothing happened. No more problems. I'd say it was a haunted toilet...


text:
Unable to browse even when connected to free WiFi
I am unable to browse the internet, even if my phone is connected to my office free WiFi.
I have tried resetting my phone.

Try connecting to some other WiFi source and recheck. Your office WiFI puts some restrictions like only specific MAC IDs can browse. In that case your device will get connected, however will lack in internet.
Also, check if there is a proxy or firewall in ur office that blocks your phone.


text:
Unfortunatly...... (everything)...... has stopped
At first it was just my LG keyboard that didn't open, so I researched it and I had to factory reset it, after I did that, whatever I opened it'd say unfortunately (app) has stopped. I can't open my home screen, cant open settings, and whenever I try to call it just declines it.
My phone is a LG Optimus F6
Thanks for your help.

do a little more research
learn recovery mode
wipe cache and data partition at recovery if there is an option
if there isnt an option for data do the factory reset at recovery menu
most probably bad created application data cause this


text:
Block all incoming calls
I need to use internet, but without being able to be called. So basically just block all incoming calls.
I used to enable flight mode, but doing so, I'm not able to connect to the internet.
Is there an alternative?

Some Samsung devices have a feature called "Blocking Mode", which allows this. You can check if your phone has it from Phone -> Call settings -> My Device -> Blocking Mode -> Disable incoming calls.

I found an app based solution for the question. Most of the call blocking apps works by blacklisting the contacts while our goal is to blacklist all of them temporarily. Adding all the contacts in a blacklist can be tiresome and so, an app with whitelist method is much more suitable here. I found and tested the following apps that can do such easily:
1) Whitelist Call Blocker

Whitelist Call Blocker is a call blocker, with that you can determine which callers reach you. So it is possible with activated Whitelist Call Blocker, that for example only the group "family" can reach you. All others only hear a busy signal. Of course, your phone will not ring if the caller is not a member of an allowed group to call you.
By working with groups there are only a few clicks to block or allow hundreds of callers by Whitelist Call Blocker.

2) Call Block -- Run this in Whitelist mode.

"Call block" is a free full-featured app to block harassing phone calls and SMS for you.
We offer four block modes, the dynamic interface will change automatically, so you can know the current mode easily (block modes available: Block all, Block blacklists only,Accept whitelists only, Accept contacts only)
  This app also provides answering modes. There are four modes: Power off, Busy, No service, The number is not in service.


text:
Problems with selecting submenus in a web page in android web browsers
When selecting a web page menu (e.g. in Firefox), the sub menu sometimes shows but you can't select anything out of it. The sub menu closes automatically after a short while. This behaviour is also present in Chrome. I have seen this on android 4 and 5 for certain and read a lot of others having the same problem but so far no solution.
Does anyone have an idea how to solve this?


text:
Should Dalvik Cache be wiped in the case of switching Lollipop ROMs
I know what dalvik and ART is.
But my question is, when switching custom ROMs (All anything above 5.0), is it necessary to wipe the dalvik cache? Wiping the Cache is necessary but wiping dalvik (which doesnt exist in Lollipop) should be necessary or not. What impact will it cause if we wipe dalvik (something not present).
In lollipop, What does the dalvik cache contain(is it an empty folder?)

It's not even necessary most of the time anyways. Likely this depends on your recovery and device...I would treat it as undefined behavior and avoid it.

What does the dalvik cache contain in a Lollipop ROM?

It's just the old folder structure, it holds nothing and it should be empty (as you say it is). Clear Dalvik Cache is always there on custom ROMs, partly for historical reasons, but now what they are calling the ART cache is cleared by some of the newer recoveries (I'm not sure how, or if this works), and some have the word 'Dalvik' still in place as they either forgot or didn't bother to update the wording.

So that means its an empty folder? Hence clearing an empty folder doesn't make a difference... So clearing the dalvik in a lollipop doesn't make a difference. Am I right? Is there some source where I can make sure it works this way ...

Related: Should Dalvik Cache be wiped in ART


text:
How can I root the Huawei Ascend Y530 U051?
Which Root Tool Do I Need for my Huawei Ascend Y530 U051?
I have tried kingoroot, one-click, towelroot, z4root, universal-root and none of them work. I'm on Android 4.3 and I'm desperate to root it. I have been googling and watching pointless youtube videos on it and still cant find a root tool that works.
Can you help me to accomplish that?

Have you already tried Sigma for rooting?

Have you looked through the whole thread http://forum.xda-developers.com/showthread.php?t=2754481. Post #6 has a link to unlocking bootloader, plus a lot more info on other posts.

unlock your bootloader and towelroot will work

authors: ใข่นุ้ย วัดเสม


text:
Install keyboard on Android Wear
I've got an Android wear device.(the LG G Watch) And I installed some APK apps via ADB. How can I install a keyboard on Android Wear that I can use in apps I installed with ADB? I tried plugging in a keyboard to the Android Wear but it didn't help. Thanks!

AFAIK there's a version of Minuum keyboard for wear – if you want a keyboard directly on the device. You can see it in action on Youtube (second half of it) – or check the Minuum Youtube channel.

@Izzy I know but I cant use it in other apps :-(

Ah – OK, I couldn't check (have no Wear device). Sorry to hear.

I found the solution. I can send text input to my Android Wear device this way:

adb shell
input text <your_text>

Hope it will help someone else!
More info here: http://blog.rungeek.com/post/42456936947/sending-keyboard-input-via-adb-to-your-android


text:
How do I repair Android DHCP issues?
My phone plan comes standard with a lot of data and as a result, I've been regularly using the Mobile Hotspot feature built into it, on my laptop. The phone is a Samsung Galaxy S5 and is rooted on a stock TouchWiz KitKat 4.4.2 ROM. This has worked very well since I got the phone, and I haven't had any issues till the other day. As usual, I ran out of credit so I recharged. I tested out the data and 4G seemed to be working, but when I attempted to connect my laptop to the WiFi hotspot, it didn't work.
I checked on my laptop and it reported not recieving an IP address from the phone. Surely enough, no other of my devices would connect to it either, and the phone stated that nothing was connected. I tried everything except resetting the phone (lots of root data which is difficult to back up/restore). I attempted to renew the DHCP several times, I restarted, I verified that mobile data was enabled and the APN settings were correct, I restarted all devices several times, I cleared the phone's cache and I verified that the correct necessary hotspot, DNS and DHCP daemons and services were running on the phone.
In addition, I verified that these services were running under the correct permissions.
I also had a look through the Android system log and although there weren't too many errors or warnings, the only interesting things there were

I/dnsmasq (19328): failed to send_ra: face_enumerate,parm.found_context
I/dnsmasq (19328): failed to update ra:send_ra
W/ContextImpl(903): Calling a method in the system process without a qualified user

Later:

I/hostapd(19314): AP-STA-CONNECTED (client MAC address)
I/hostapd(19314): AP-STA-DISCONNECTED (client MAC address)

These two lines loop indefinitely.
There don't appear to be any other errors - just connection and disconnection notices. I have also tried completely removing all WiFi and hotspot settings, caches and CFG files on the phone. Despite this, it didn't seem to make a difference. Although DHCP issues are unlikely to be caused by internet availability, just to be sure I have confirmed with my carrier that there are no new hotspot or tethering policies introduced. Mobile data works fine on my phone and USB tethering to any device works normally, but WiFi tethering doesn't.
I can't for the life of me figure out how or why this is happening. I haven't installed any system or root apps recently and haven't updated anything in the last few months.
Is there anything else I can try?

Have you tried a static IP in the client devices?

I have tried that but I've found even setting the subnet mask and gateway correctly, and the IP in the correct range, yields no results.
The phone still reports no clients and the laptop thinks it's connected to the network.

How did you get the subnet mask and gateway?

I gathered these from the details it provides me when I tether via USB.
From what I can remember from when WiFi tethering was working, these are generally the same for both interfaces.

I have to ask, you did also try shutdown plus removing the battery. Also, if you connect the phone (as a client) to a wi-fi ap, does it work?

Shut-down with battery removal unfortunately doesn't work, using the phone as a client works without a problem.


text:
After Lollipop - when I add account there isn't an option to sync contacts/calenders - only email
Just installed Lollipop on my Xperia Z3, now when I add an email account there is no option to sync contacts, calenders or tasks - only email. I used to be able to see my work calender (Outlook active xchange) but now the option to see/sync the calender is just not there. I tried uninstalling and reinstalling the account, but the only option is to sync the email. All my work contacts have gone too.
Google account calender is still there. When I go to each account, Google is the only one with the option to sync the calender.

I had this same issue.  I had to delete the account and do the manual setup instead of the automatic installation using m.outlook.com as the server name.  Once this was done it gave me the options to sync contacts, calendars, etc.  Before that on the automatic setup it was only giving me the option to sync email.
Hope this helps if you didn't get it working by now.  Odd thing was that mine just recently started doing this it wasn't right after the Lollipop upgrade.  So no idea why it started.


text:
Cpu frequency keep going down by it's own
I am experiencing problems with Samsung Galaxy Note 2.

Build number(ROM): DN4 v2.1
Baseband version: N7100NEUFND1
Android version: 4.4.4
Kernel: AGNI KERNEL (March 29,2015)

I have overclocked CPU from 1.6 GHZ to 2.0 GHZ and I use SetCPU app to control CPU values like:

When screen is off, change governor to Ondemand with min and max frequencies at 200 MHZ and 400 MHZ.
When screen is on, change governor to Performance with min and max frequencies at 1000 MHZ and 1800 MHZ.

The problem is that now whenever I set the values, the values drops down to 1200 MHZ and goes down to 500 MHZ gradually. Mostly, it stays stuck at 1000 MHZ causing the device to lag especially while gaming.
Previously, I experienced problems with all other governors except Performance, Pegasusq and Powersaver, even when I set the Max value to 1.8 GHZ it somehow restricted the Max frequency to 1.2 GHZ. Now I think this has affected all the governors.
I have also updated my kernel but the problem persists.
Any solutions?

Is your device getting hot during these points? Processors generally throttle themselves when they reach certain temperature levels, to prevent possibly damaging hardware components. Even if you cranked up the max CPU frequency, if the chip hits its thermal limit it's going to throttle.

Sometimes it can also be the CPU hotplug that is restricting the frequency. I believe this is sometimes an issue with Qualcomm's MPDecision. Other CPU hotplugs such as IntelliPlug should work (don't use two hotplugs at once, whatever you do), however hotplugs are built into the kernel and a side-kernel can sometimes break/limit the functionality (not really brick) of your device.

Changing governors has never really worked for me. Basically one of the issues with clocking at higher speeds is that this draws more power, which causes the CPU temperature to spike. The systems recognises it, and automatically throttles the clock speeds down so the CPU doesn't cook itself.
I have exactly your setup, a Note 2 with DN4 v2.1 running AGNI kernel, and was facing this issue. In my experience the best performance i got was with the stock Pegasus governor, a 1.8ghz cpu ceiling @ a voltage of 1225mv (was 1350mv). The lower voltage meant that the CPU could sit at this higher clock speed for longer, so my benchmarks went up pretty dramatically. My Antutu went from 25307 to 30541, because it was able to stay at the higher clock speed before thermal throttling set in. Unfortunately you cannot set the voltages manually using the AGNI kernel, so i had to download an app called 'System Tuner'.
Slapping the CPU up to 2ghz is fine, but it can only run at this speed for a few seconds before the temperature goes through the roof. Better to sit at a slightly lower clock speed IMO.
Good luck!

It's a bug on the power saving mode ~ just go to power saving mode and untick "restrict performance". Even when the power saving mode is not activated, the CPU frequency will still be kept below 1200 if you still keep the "restrict performance" on. So every time you enable power saving mode, remember to do this when you disable it.


text:
How to display Python script output on screen, similarly to Conky
I use Conky as a desktop monitoring software. I also use it to monitor stock prices and portfolio net worth through a Python script.
Basically, I fetch the stock prices from Yahoo Finance using curl.

$ curl -s 'http://download.finance.yahoo.com/d/quotes.csv?s=vwrl.as&f=l1'

Then I input that to a python script that returns a float.

$ python /yada/yada/myunoriginalscript.py
42.0

Conky handles this quite easily and displays it on screen. I know that curl can be made available for Android and I've ran Python scripts in the past.
Is there any widget/app/technique to display the output of said python script on screen continuously and not only on the terminal, whenever I run it manually?

How so? I want to display some data on my android phone. Which SE site should I post this question then?

Still: recommendations like Is there an app for X are off-topic here (see What topics can I ask about here? for details). For where your question might fit better, you might want to look into Where can I ask questions that aren't Android Enthusiast questions?. With the correct phrasing and details provided, you might try your luck at SR. The other half is a development issue, and also off-topic. There's nothing built-in for that.

Well, I was hoping no need for apps, looking for some built-in software feature to display whatever the script returns on the status bar next to the clock or similar... I guess I might look for it on Stack Overflow. I will keep the question open just in case has some insight to offer and remove it afterwards if there is none. Thanks for pointing me in the right direction.

I'm afraid there is no built-in feature for that (after all, there's not even built-in Python support). That's why I recommended checking with Software Recommendations (make sure to read their guidelines before posting there). I know there are several apps for Python support; some might come with widget stuff (though I've never heard of them either).

In the end, I installed SL4a and used one of the the GUI functions that appeared on the 'test.py' sample script to display the information. I like the terminal, but this way is quite nicer.

That's exactly what Blighty does https://github.com/P403n1x87/blighty.
Here is the documentation https://p403n1x87.github.io/blighty/

What is your connection to this app? This post seems promotional. Are you the developer, company owner, other? Is there a conflict disclaimer needed here? Please see Help about promotional statements made here.

I am the developer


text:
Google Play is putting adds up when I'm doing anything on my phone. text, games, gallery etc
When I open my text message and start to reply to the friend. Google play opens with an Android add. I hit the back button and it takes me to Google play home. So then I have to back out. When your in the middle of typing it's really annoying... any ideas what to do??

I am very sure it's not Google Play that is annoying you with ads, but rather another app opening a Google Play URL, that is automatically picked up by Google Play.

What text app are you using? Most likely the culprit, not Google Play store -  IMO they have other ways of annoying you. Did you look at the permissions that it has (when installing text app)?

Absolutely this is adware from an app you have installed. What SMS app are you using? Have you sideloaded anything lately? Have you installed any dodgy apps. It might be time for some spring cleaning to find the offending app.


text:
Internal Storage Running Out
Okay, so a couple weeks ago I bought a 32 GB micro SD card. When I installed it, I moved all my music, pictures, and videos to it -- all together, they were about 3 or 4 GBs. So I thought I'd get back those 3 or GBs of internal storage, but I didn't??? My internal storage still read as "Available Space: 500 mbs". Recently, I uninstalled about ten apps that I downloaded previously, yet I didn't receive that space back either. So I should have about 5 GBs of internal storage left, right? I've either deleted or moved everything to my micro SD card, but I keep getting the notification "Storage Running Out". Please help.

Did you just move it, or also delete it?

What I mean by "delete", I mean I uninstalled some apps. I moved everything that I could to my SD card.

There are a lot of "fake cards" out there. I recently boughtone that was imprinted as a 64Gb card, but it had only about 6 Gb available. You can tell if that's the case with yours by the use of a program (or rather a set of scripts) called "F3".  Here's the link. http://oss.digirati.com.br/f3/   Read about it before you download it.  It is designed for Linux, but can be run under Windows using Cygwin.
If you are using linux, there is also an experimental "f3fix" to make the fake card  useable, but at its true useable capacity.
I have used the first two scripts, with pretty quick results. I have not used "f3probe" or "f3fix"
By the way, if you are not using linux, I highly recommend that you try it. It's really not much of a learning curve to get started with Mint17 or with Ubuntu, and you don't have to change or delete anything about your Windows installation. You can install it right along side of your current windows installation, and at boot time choose which you want to run.


text:
SD Card Data Recovery with no root
My ZMAX Z970 can't be rooted, at least by me. I can't find where to do that.
I accidentally deleted some videos which were on my sd card.
I have not used the card too much since then and don't plan to until I get this resolved.
I can't find any undelete utility or method that a) is not a scam b) doens't need root access and c) actually works.
How can I do it?
Meta:
If you think this is a duplicate question, please make sure the duplicate actually has a viable answer to my question. Thanks!
The question pointed to as duplicate does not explain how to use the software on an Android phone or make it see the disk from the PC. I tried the software mentioned in that article and it does not see my phone, only local PC disks. Please enable a fresh answer that breaks it down step by step for SD card on no root android phone. Thanks.

See this as well. http://android.stackexchange.com/questions/61511/how-to-recover-data-from-lge-nexus-4-running-on-android-version-4-4-2/69132#69132

@Firelord, that's for a rooted phone. Right?

http://android.stackexchange.com/questions/7069/data-recovery-how-to-restore-deleted-formatted-files-on-hd-micro-sd-card I added that in garb of this one. Apologies for that since you demanded no root method. But anyway, its still duplicate in reference to this new link.

Photorec (a part of Testdisk collection)(Windows application) did the job for me when I tested it on my friend's micro SD Card once. You may try it.

@Firelord, I'm glad it worked for you. Photorec does not see my SD card when I have my phone connected to the PC via USB. What should I do to make it see it? Thanks.

Photorec will not see it that way. Since its an external SD-Card, you can remove it and plug into the system. Run the software and it will detect. Otherwise, if any of your damaged storage cannot be removed, then you'll have to take a dd backup of it and let the software run through it.

@Firelord, ok so this is really not a duplicate question. I can't "plug it into the system". I don't have a card reader. So you are saying, there's no solution without buying a card reader? Thanks!

I actually already mentioned in my last comment. You can use dd to take an image of your SD-card into a OTG USB drive. For info to how to use dd see this. A user also mentioned about using dd here. They sure now will help you. The general idea of command is dd if=sd-card_location of=OTG_USB_location/name.img

@Firelord, thanks for the link. I tried googling dd to find out what it was and just got a bunch of porn links. :)


text:
Launch Linkedin app from Gmail link rather than browser
Background
Currently, when I receive an email from LinkedIn, let's use the example of an invitation to connect, I'll select the link from the Gmail app which will open the mobile LinkedIn site via my default browser (Firefox).  Now, I have the LinkedIn app on my Android phone and I would expect these applications can talk to each other whereby the link would launch the app instead of the browser.
My Attempts to Fix
So my initial assumption was that something within the default applications settings got allocated to Firefox rather than LinkedIn for this type of link.  So here's what I've tried...

From App Settings > Gmail > clear defaults, clear cache, clear data
From App Settings > Firefox > clear defaults, clear cache

From here when I try again in the Gmail app I get the option of choosing between different browsers installed.  However, LinkedIn still does not appear as a choice for the default application.
Some Details

I'm running the latest versions of both Gmail and LinkedIn apps
On Android version 4.4.4

Have others had success here?  Is it possible this is not a current capability?

I don't think the LinkedIn app picks up any intents, nor has the option to do this sadly. It's not the best made app I've ever used to be honest. Try asking the developers about this maybe, it's very basic functionality and it really should be there especially since the mobile site keeps prompting you to install the app.

Sadly, This feature/functionality is NOT currently Supported by LinkedIn App.
The best user can do is write a Feedback/Review in Google Play Store and request this feature to be added to the development team of LinkedIn.
Hopefully, in newer version of LinkedIn App, this might be included.


text:
There is insufficient space on the device in lenovo A3000
I have a lenovo 3000 tablet. the tablet has 16 gb of internal memory but only 11 gb can be used. I can only install applications as much as 1 gb and if i want to update the apps i face with this error "“Error while downloading . There is insufficient space on the device”
I've rooted tablet. How can I overcome this limitation and use that 11 gb for installing apps?

As that's a pretty frequent question here: Have you checked with our insufficient-memory tag-wiki and its most frequented questions already (in this order, I'd suggest)? I'm pretty sure that will answer your question.

To see your phone's internal partitions, enter terminal or ADB, and type "df". Your result will looks something like this:
Filesystem               Size     Used     Free   Blksize
/dev                   440.3M    48.0K   440.3M   4096
/mnt/secure            440.3M     0.0K   440.3M   4096
/mnt/asec              440.3M     0.0K   440.3M   4096
/mnt/obb               440.3M     0.0K   440.3M   4096
/system                755.9M   424.5M   331.4M   4096
/cache                 263.8M     4.4M   259.4M   4096
/data                    2.0G     1.1G   887.4M   4096
/mnt/modem              15.7M     4.2M    11.5M   4096
/mnt/log                78.7M     4.0M    74.7M   4096
/storage/sdcard1        29.0G     6.1G    22.9G   16384
/mnt/secure/asec: Permission denied
/storage/sdcard0       499.0M     1.6M   497.5M   4096
/mnt/asec/com.google.android.ears-1     4.0M     2.2M     1.8M   4096
..../....

Look at the /data partition info: that's how many space the phone has for apps (apps are stored only on this partition (and they have their files on SD card, in case of apps with big data like games))
If it says that your partition is around 1GB (seems like that's what you described), and is almost full, there simply isn't enough memory to install more apps.
There are ways to change the data partition, it is possible to resize partitions (I've done this on my device), or you can move your /data partition to SD card, but all of these modifications require advanced knowledge, so be careful if you're not sure what you're doing.


text:
Can't download apps from the Google Play store
Whenever I try to download any app from the Google Play store, an error pops up, giving the message "Retrieving information from server. ". This error does not go away, however I try. How do I go about fixing this ?

Please can you refine your question? it isn't very clear what you're asking.

Welcome to the Android Enthusiasts! You might wish to take a look at our google-play-store tag-wiki, which already holds a list with errors that might occur and the solutions to it. From the phrasing, it looks like we've got that one covered already: Keep getting “Error retrieving information from server.” from the play store

Errors present in the Google Play store are not uncommon, and are mostly related to issues with the internet connection, internal storage space, etc. among many factors. So, please mention your device model, Android version and also whether you are rooted or not. Please check for similar questions too, and go through them before posting here. @Izzy mentioned one here, so do go through that. Thanks for using Android Enthusiasts !


text:
Stock Android for Samsung Note 2
Where can I find stock Android for Samsung Galaxy Note 2?

Please see: Where can I find stock or custom ROMs for my Android device?

A great place to start would be on the ROM list for your device on XDA.
There are many options available, so which one you want to install comes down to user preference.
Please note that it will be required that you root your device, so proceed with caution as your warranty will be void.
Your other alternative is building it yourself from source.

Yep ! I have gone through these forums ! But the problem is i am not able to find the stock android version . So i need a link to get that rom . :)

I don't think a completely "stock android" ROM is available for your device. You could build your own if you are capable?

Where can I find stock or custom ROMs for my Android device?
Also, if you like Lollipop, i suggest you use Nameless Rom.
this Custom rom (Nameless) availabe on XDA :
[ROM][5.0.2][Lollipop][Official][Nightlies] NamelessROM 2.0
Download Link :

http://sourceforge.net/projects/namelessrom/files/n-2.0/n7100/
the best and faster Rom for now for Galaxy Note 2.

also for Stock Rom :
http://www.sammobile.com/firmwares/database/GT-N7100/

Yea sure i will try this rom !! But can you get me link for stock android rom ! I need it very badly :)

Edit And updated.please see Sammobile link in my answer.

NO the one you gave me is the samsung's version . I need pure android like one in nexus !

this is your question before edit : Where can u find Stock Android for Samsung Note 2 . I Mean the google version which comes in Nexus , Motorolla . is not possible or your question isn't very clear.

Also, means about Stock, it means, Rom only availabe for Note 2 from samsung comapany and it's Stable for use.


text:
Auto disconnect wifi when out of wifi zone?
I want my mobile wifi to get disconnect when i am not connected after a specific time.  Ex- If i am out of my wifi network for 10min my wifi should get turn off.  Note I dont have root access.

You could use the Condi app to do so, I guess. Google it for more info.

Have you seen our automation tag-wiki? Also worth a look: WiFi Automatisation

This is not built-in to Android – so you'd have to revert to an App for it. When just looking for that kind of automation feature, Smart WiFi Toggler would be worth a look:

Smart WiFi Toggler is an application designed to control your phone's WiFi using location based rules. Its aim is to conserve battery and minimize data charges by turning WiFi off when not connected to a network, and turning it on when a known hotspot is present. It constantly learns where your hotspots are located to make its decisions.

It's using cell-towers in reach to figure if you're close to a network you're normally using. As long as you have your "cell network" active (i.e. you're not in airplane-mode), your phone knows about those anyway – as it needs that for phone calls, SMS, etc. So it doesn't "waste battery" for GPS or other location stuff. The app initially learns the cells related to your network, so it should be easy to use.

Smart WiFi Toggler (source: Google Play; click images for larger variants)
As you can see from the screenshots, you can also have time-based rules – which might turn out useful for times you want to have "silence" (no incoming calls etc.) and switch to airplane-mode – but want to enable WiFi every hour for a few minutes to check for mails.
For more alternatives, be welcome to see my list on WiFi Automatisation – and also check our automation and tasker tags :)

The Condi app serves most of such purposes. Do check it out.

@rjt.rockx why not make your own answer, explaining the details? :)

I said MOST, not all. For instance, it can switch off Wifi at a particular time, but it can't go too in-depth. It's like a toy car, not a Bugatti Veyron.


text:
Last GPS position of a out of battery/sim Android Phone
Having no specific apps on the lost android phone (e.g. GPS tracker etc), is there a way to find out at what position the last GPS signal was sent? I use Android Device Manager and there it actually states when the last time the phone was online, but it does not say anything about last position. Note that GPS is activated on the lost device which by the way has no SIM card and no battery left.

Have you tried out the 'Find my phone' feature in Google Search ??? If not, try it out. It might be related in some way, I think.

It seems to be related to the ADM mentioned above.

I guess so, but it shows it in Maps, and Maps uses GPS to some extent.


text:
How can I write in Tamil language with Google Handwriting Input?
OS - Android 4.4.2
Phone - Huawei Honor 6
UI - EmotionUI 2.3
I want to add additional language (Tamil language) under Settings - Language & Input - Language, how can I add it?
If I could add Tamil, I could use that in 'Google Handwriting Input'. Or Is there any other way to install Tamil language, so that I could write in Tamil with Google Handwriting Input?
Earlier, I set up 'Swype for Huawei' as default keyboard, long pressed in space bar, selected 'More Languages' 'Download languages', downloaded and installed Tamil, but I could use this only in 'Swype for Huawei' keyboard, not in other
keyboards.

By default, Google Handwriting Input uses current system language only. However, you can turn off this feature and select the languages you want to use manually.

Open Google Handwriting Input app
On the bottom, tap Configure languages
Turn off Use system language
Below that, select any languages you want to use (e.g. English and Tamil)
Tap Download languages to download the configured languages to use it.

(Click to enlarge screenshot)
Now you can choose Tamil (or any languages you previously selected) for Google Handwriting when inputting on a text box.

Based on Google Handwriting Input version 1.1.

I tried that but Tamil is not in the list and no option available to download.

I see... Since I'm using different phone, I didn't know if it's based on available languages on the phone. I'm not sure I can help in this case. I think you have to install the Tamil language just like you've thought, but I can't assist that, sorry.

@AndrewT. There is no prompt to download the language. We have to download it manually by clicking Download Language after Enabling it.

@Lucky thanks for the edit. At the time I wrote the answer, it automatically prompt to download after selecting the language. Updates happened, and the workflow changed :)


text:
eMMC partitions corrupted
I flashed SailFish OS port for my device (HTC Desire z(Vision),S-OFF, rooted), after that recovery(TWRP 2.6.3.0) showed me that it couldn't mount /system and /data partitions and reported no OS installed. I initially thought maybe the SailFish repartitioned the emmc but it was not the case. All partitions are still present in /dev/block/. I tried  inspecting them with various tools but they all fail with more or less the same message.
fdisk -u /dev/block/mmcblk0

fdisk: can't read from /dev/block/mmcblk0

parted /dev/block/mmcblk0 print

Error: /dev/block/mmcblk0: unrecognised disk label

I'm running out of ideas. Is there a way I could force format the eMMC and then recreate partitions? Since the phone worked like a charm until I tried to flash it and I have a working Hboot and Recovery, I don't believe it's a hardware failure and dmesg doesn't show any frightening errors in that regard also.
EDIT:
Well i bricked the phone completely a few days ago, but i have some news if anyone encounters the same problem. It seems that when booted to recovery the phone tries to mount broken partitions and eMMC freaks out so you cant access anything on it. I ended up installing a CM ROM on the SD Card, and booting the phone with fastboot. eMMC partitions that didn't get corrupted can be read and written to with dd, and if you are fine with not being able to mount SD card as USB storage i suggest you leave it as is because everything else is working like a charm.

Check if http://chat.stackexchange.com/rooms/23044/discussion-between-rjt-rockx-and-darren helps.


text:
does factory reset delete my gmail contacts, drive files, google plus photos e.t.c?
I have a Note 4 and this is my first smartphone ever. So I'm illiterate about all these sync, backup, restore, reset stuff on smartphones. I setup the phone to sync all my contacts, google drive, google photos etc with my phone and it works fine. I even setup remote lock, locate my phone thing online. Now if I loose my phone or sell/give it to somebody else, I need to make sure I'll erase everything on my phone but keep all my data on gmail contacts, drive, photos untouched. I'm not using SD card.
If I do factory reset

Do my gmail contacts, files in my drive, photos will be erased too or not?
Do I need to change my google password or my other accounts passwords after factory reset?
Wipe my device on findmymobile.samsung.com does it erase my online contacts, files in drive and photos?

Probably worth noting: for those that are using an SD card and are storing photos on the SD card, I believe there is an option that needs enabling when resetting the phone, if you want the SD card also wiped. I am curious how these remote-wipe services (either from Samsung or Google) deal with SD card stored data.

The general rule of thumb is:
Anything that you can access online from your computer will not get deleted forever.
For example:

emails and contacts that you can access on gmail.com. all of those will not be deleted.
files that you access in drive.Google.com, also not deleted.
but photos that you can see on your phone but not on google photos, those are not backed up anywhere and will be gone once you factory reset. (It happens if you're not backing up all folders from your phone)

Password makes no difference, once you factory reset anything that was on the phone is gone, including the credentials from your accounts.

Any data that is synced to your google account is safe. Factory Reset will only wipe data that is stored locally on your phone. Resetting your password won't hurt, but it's probably not necessary, especially if you use multifactor authentication.
Update
Ars Technica is reporting on a study that shows some information on some devices may remain after a factory reset. This could potentially include login credentials. For extra protection, it is recommended that you encrypt your device with a very secure password (more than 11 characters) prior to doing a factory reset. This will make recovery of that data less likely. I would add that many services allow you to revoke access from individual devices. For instance, devices may be removed from Google by going to security.google.com/settings/security/activity, selecting your old device and clicking remove.


text:
How do you force the default mail app to resync it's folder list with exchange?
I've got a Kyocera Duraforce that appears to have it's folder list out of sync with our exchange server. A large number of folders were created and shortly afterwards deleted and the deleted folders weren't ever deleted off of the device, as a result looking at the all-folders list to find a specific folder is tedious at best. How can I force the phone to resync it's folder list with the exchange server? I'm using the default mail app.

In the end, the only solution that I was able to find was to delete the account from the phone and recreate it. Also, after testing the phone had a number of other issues related to folders on that account so it appears as if the account had gotten corrupted in some fashion.


text:
There was a problem communicating with Google servers, try again later - Galaxy s3
Got the dreaded "There was a problem communicating with Google servers, try again later" error. This all started with notifications stating my account could not Sync with any of my apps. Seen many posts with possible solutions ...

Removed the account, then tried to re-add it and got the above message. Tried to add other accounts ... same thing.
Verified 2-factor auth is not enabled
Cleared cache and data from all Google-type apps on the phone, uninstalled all updates for the apps ....restarted
Verified the date/time setting and timezone setting are automatic and they look correct
The network and wifi are fine ... can browse to the Google sites
Non-rooted phone. Nevertheless verified the hosts file is legit
Not willing to do a factory reset yet since other posts suggest this does not always fix the issue and that would only lead me to likely throw my phone. Unintended consequences.
Tried unlocking Captcha on Google Account

This happens no matter which Google Account I try to add, making me think it is not account related rather something on the phone
I'm at my wits end now ... clearly there is a serious issue here and I can't put my finger on it. Does anyone have any suggestions.
Thx

I have this error and I just realized my /etc/hosts blocked play.google.com

I don't know is that still relevant, but it helped me some time ago on another device: Options->System->Advanced->Reset options->Reset app preferences

I have finally found the solution for this problem and want to share it here for those of you suffering from the same issue that was not answered by any of the steps mentioned in the original post.
In short, I needed to reinstall Google Play Services
In your device ...

Go to Settings > Security > Check Unknown sources
Head over to APKMirror
and get the version of Google Play Services that is applicable to the your Android version.
Install
Probably best to reverse step 1 once finished

This worked for me.

I'm getting the issue as described by @JayBee63 5 years ago, I'm not sure this fix is still relevant?

Same question in 2021 too


text:
Access Sony Xperia S' internal storage without power
I had some struggles with my phone over the last few months, but now the power button isn't working anymore (button fell off and also this "power-button-mechanism" is broken.), I can't switch it on anymore and I would need to get some files from the device's internal storage. Unfortunately, I couldn't find a reasonably priced replacement.
There is a similar question here regarding Samsung Galaxy S2, but different to this, my phone is way out of warranty and I already disassembled it to the mainboard (should be working still as the red LED flashes and my PC recognizes an unknown device when connected via USB)

I guess I have three possibilities:

Replace power module: as mentioned above, I couldn't find a replacement for good value.

"Repair" power module: it seems that the power button (when pressed) only connects two conductors, but the flex band is torn, I tried to kind of reconnect them, but I don't really have the equipment for this tiny stuff.

Access internal storage directly (maybe via JTAG): it's also mentioned in the Galaxy S2 post from above:

... all you could do to access its storage is using some JTAG like device to get physically access...

I don't really know anything about that, does anybody have experience with that? And as I have disassembled the phone already, I'm quite interested in how latter approach would work.


text:
Is there any way to convince dialer not to use the primary mic?
I have Motorola Moto G 4G (Peregrine, XT1039), currently rooted and with CyanogenMod 12.1, and my primary microphone is mailfunctioning.
However, the camcorder mic works fine (audio is fine in video recordings).
Is there any way to convince the dialer to use that mic instead of the primary one? (Or an app that offers using the camcorder mic instead of the primary one - that would be ideal, but I didn't find any)
I've tried to manually reroute things for the stock dialer in /system/etc/mixer_paths.xml, and /system/etc/audio_platform_info.xml, but it didn't work.
Setting the device in /system/etc/audio_platform_info.xml seems to be completely ignored by the system, and with /system/etc/mixer_paths.xml I'm not completely sure what should be edited (I've tried setting ADC3, which is I think the camera mic, to higher volume in all profiles, and ADC1, which I guess is primary mic, to lower values - but that's not enough)

It turns out that sticking a needle  in the mic hole (violently) did the trick for me.


text:
How do I make the camera app save photos to the SD card right after taking them?
I know how to move photos and videos to the SD card, but I want to have it save photos and videos to the SD card in the first place, instead of the internal memory. I need that because I have very little internal storage space, only 1.72 GB, and 1.3 GB is already taken up by apps. (Mysteriously, it says apps are consuming 1.9 GB, but I know that at least 600 MB of apps is on the SD card, which has far more space), and when recording a long video, I have to do it in sequences because otherwise, it runs out of space rather quickly while recording, and stops the recording. Then I have to go into the settings app, tell it to move garbage, go back into the camera, and record the next sequence. No time for that? Too bad...
Bottom line, can I set the camera app, or basically anything that wants to save photos, to save the pictures or videos to the SD card in the first place?

Yes. There is a setting somewhere inside the Camera app ...

@rjt.rockx Strange. The setting was already, well, set. I am sure when I recorded a video yesterday, it pretty much gave me what I described here.

btw, Internal Memory is partitioned into Phone Storage and Internal Storage. Might help with that mysterious issue of yours.

Choose External Storage as default storage in Settings -> Storage. Now, make the video or capture pics. They should be in Sd Card. I too happen to share the same issue when Camera app is supposed to store in SD card but it doesn't.

There's a setting for that in the Camera App, which lets you toggle the default save location. You need to scroll down for it, though, and that's not very obvious. But, there is a setting for that.

Note however that setting is not present in all camera apps (I've come on several pre-installed ones that didn't have it). In that case, there's an easy way out: Use an alternative camera app.

But it is present on the stock camera app in most devices.

Open Camera app.
3 square dots at top>
Settings>
(May need Settings again to get 2nd page)>
Data Storage>SD card
Job done !


text:
How to reorder bottom navigation bar buttons?
Is there any way to reorder the soft buttons at the bottom navigation bar on Android?
I have a tablet (Teclast X98, KitKat), which has the following layout:

This layout is really bad, because the tablet is big and you can't reach the back button with either thumb when holding the tablet with two hands. So it means constantly letting go of the tablet with the other hand to push the back button. Extremely annoying :(
I would like to reoder them to something like this:

Which would make it much better for two-handed navigation. Now the back button would be within easy reach for the left hand thumb.
Is there any system file where the button layout is defined, or any app or Xposed module that could help?

GravityBox, or SoftkeyZ. Might help.

I'm not sure which of those can work on these "soft-keys" – but be welcome to check my app list on Edit Key Settings.