# Question
Title: How do change my email back to from my son's email to mine on Google payment like Google store
My son put his email into my Google purchase account and I cannot change it back to mine how do I do so

# Answer
> 0 votes
To change back to your payment method, open play store open the menu on the top left, press on the email address, and it should give you the option to switch. (That's if you added your account to your phone. If you didn't, follow the steps below and you'll see a way to add yours )

If you want to fully remove your son's account from your phone, go to phone settings\>accounts\>Google\>\[his email address\]\>three dots menu\>remove account.

---
Tags: 4.0-ice-cream-sandwich
---


# Question
Title: Will flashing a custom ROM relock me with SIM carrier?
I got a Samsung Galaxy S5 (SM-G900P, Sprint) running stock Android 6.0.1. As it comes, it's a CDMA phone, but I got it unlocked at a phone repair shop to use GSM and it has been working fine, but it only goes up to 3G.

If I flash a custom ROM (lineage-14.1-20171004-nightly-kltespr-signed), will my unlocked phone stop working with the SIM? or the unlock will remain after the installation?

P.d: I don't know if it's relevant, but I'm outside the US.

# Answer
> 1 votes
I made it in 2 Samsung Galaxy S5 (Sprint) and it worked. They were unlocked and I flashed LineageOS.

But keep in mind, if you want to do this, flash the appropriate ROM. In this case, I flashed the LTE version instead of the Sprint version and it kept the unlock.

---
Tags: custom-roms, samsung-galaxy-s-5, sim-unlocking, lineageos, sprint
---


# Question
Title: Corrupted files on internal storage (now readonly), how to repair internal storage?
I have an GT-I9100 with Chameleon.3.0.4 ROM (and ROOT).
Android-Version is: 4.1.2

Since few month, my **internal SD-Card (internal storage, not external SD)** became **readonly**.
I cannot add/edit/delete any files on it anymore.

I noticed corrupted files in `/storage/sdcard0/Android/data/com.google.android.youtube/` (wrong filesizes (each \> 3GB) and wrong/unreadable filenames), which I am unable to delete or fix.

So, I tried to execute `fsck_msdos -y /dev/block/vold/259:3` (as root) via ADB-Shell, which shows me:

```
** /dev/block/vold/259:3

Boot sector contents:

sectors per cluster:..........64
number of reserved sectors:...2236
number of FATs:...............2
number of sectors are in FAT:.2946 (1473 KB)
cluster mask (bit):...........32

first cluster offset..........8000
cluster size(bytes):..........32768

hidden sectors:...............0
number of clusters:...........376963

volume serial number:.........407a-07d3
volume label:.................NO NAME    { 0x4f 0x20 0x4e 0x41 0x4d 0x45 0x20 0x20 0x20 0x20 0x46}

** Phase 1 - Read and Compare FATs
Attempting to allocate 1473 KB for FAT

Attempting to allocate 1473 KB for FAT

** Phase 2 - Check Cluster Chains

** Phase 3 - Checking Directories

Invalid long filename entry for /Android/data/com.google.android.youtube/�ILES

Remove? yes
check_dot_dot: '.' absent for /Android/data/com.google.android.youtube/�ILES.
check_dot_dot: '..' absent for /Android/data/com.google.android.youtube/�ILES.
Remove? yes

FSNext block (322159) is correct, NumClusters (376963)

12387 files, 646240 free (20195 clusters)

***** FILE SYSTEM WAS MODIFIED *****

```

Which looks good. But when I re-run this command, I **always** get the same result.
Which shows me, the file system was **not modified**, cause it's readonly.

So, I tried to re-mount the storage in RW-Mode.
Fixing the file system, did not work for me. (`fsck_msdos` couldn't repair the fs)

**Question:<br>** How to repair the internal storage?

# Answer
> -1 votes
This is an answer to my own question:

I managed to fix this problem (until now), by doing following:

(**NOTE:** Do this at your own risk!)

**01.** boot into Android and enable USB-Debugging
**02.** backup data from SD
**03.** update busybox via PlayStore
**04.** reboot into recovery mode
**05.** mount `system` partition (via recovery tools like CWM)
**06.** connect to device via USB + ADB(-Shell)
**07.** get internal SD device name (via `mount` which is for me`/dev/block/mmcblk0p11`)
**08.** format internal SD (via `mkfs.vfat -F 32 /dev/block/mmcblk0p11`)
**09.** check new formatted partition (via `fsck_msdos -y /dev/block/mmcblk0p11`)
**10.** reboot into Android and check if internal SD is writable again

Until now, my internal SD became writable again!
Of course, all data is gone.

Cheers!

---
Tags: internal-storage, samsung-galaxy-s-2
---


# Question
Title: Someone is sending FB messages that appear to come from my android! HOW?
We recently had a house guest who asked to use my phone. She is sending Facebook messages drom her Android phone that appear to be coming from me! This is causing serious problems! I want to catch her. I suspect she has also stolen items that could be used for identity theft. My device is an unlocked LG. I don't have a carrier, I just use our Wi-Fi. Her phone is also an LG through Boost Mobile. Any information would be greatly appreciated.

Thank you

# Answer
> 0 votes
> Just do a system format she might have installed things onto your phone, make sure to back up things you need. reset your phone by:
> **1. powering it down. 2. Hold the power button + Home button + Volume down button (Together and hold until you see light). 3. Use the volume keys to move up and down and the power button to select options. 4. Locate wipe data/factory reset (use volume keys to go to it and use power button to select it). 5. you will see a confirmation to confirm the factory reset use the volume keys to go to yes and press the power button to select it. 6. wait for it to complete then select reboot system now. 7. done. 8. (also change your facebook password just to be safe).**

---
Tags: security, privacy
---


# Question
Title: Is it possible to run rm -rf / without root access?
I see videos of people running `rm -rf /` on their android but they always run it with root access that is running `su` first so I tried doing the same on my unrooted phone by running `rm -r -i /` but then it 'promoted 'examine files in directory /?' so I got scared because I was not sure whether it will erase my files or not so I would like to know if `rm -rf /` without root erase OS files and brick my device?

# Answer
> 0 votes
First off, running `rm -rf /` is always a bad idea – but you probably know that already.

Second: Yes, of course you *can* run this even without root. But it wouldn't be able to delete all files, for multiple reasons:

* it can only delete files where the user executing the command has permissions to. Those are, naturally, pretty few (except for on shared storage aka SD card)
* parts of the file system are mounted read-only (eg. `/system`). Those couldn't even be deleted with root powers unless before remounted with write access.

---
Tags: 7.0-nougat, android-emulator
---


# Question
Title: How can I let apps use their default notification sound on Moto G5
I have a Moto G5 S, Android 7.1.1, and all (messaging?) apps are using a really annoying notification sound (the one that came by default in the phone). I would prefer that each app uses their default notification sound (like WhatsApp's whistle or Facebook's... thing). Is there a way I can set that for all apps?

# Answer
> 1 votes
As said earlier you cannot choose a custom notification sound for each app, however you can change the notification sound for all apps.

Go into Settings \> Sound \> Default notification ringtone \> choose whichever ringtone you like

# Answer
> 1 votes
A slightly related workaround will be using a third-party notification manager application which provides **notification customizatio**n by allowing you to configure sounds/ voice alerts for any applications that you use.

One such tool is NotifiCon.

> Features :
>
> 1. Configure the notification sound from a list of available options for each app's notifications on your device
> 2. Configure a special voice-based notification alert for notification alerts from any app (For example, you can configure your Whatsapp app to say "Whatsapp", when you get a Whatsapp notification)

NB: *NotifiCon does not create new notifications, rather it provides sound/voice alerts to accompany other apps' notifications.*

*During first time installation, the app will show a few things before opening the main screen. These include permission requests, notification access requests, and write settings requests. Please grant these to allow the app to perform its functions and then press the back button (if applicable).*

Disclaimer: The author of this post has no affiliation with the above app

---
Tags: notifications, 7.0-nougat, motorola-moto-g
---


# Question
Title: How to change lock screen clock display on Samsung Galaxy A3?
On the lock screen of a Samsung Galaxy A3, the clock is displayed in two rows:

```
14
18

```

I'd like it to be displayed as God intended:

```
14:18

```

And I've spent an hour trying to get it this way, and nothing helps.

There's nothing in the Settings to customize the display of the clock. There are apps that are clock widgets, but they can be enabled only for the "home" screen, once the device is unlocked, not for the Lock screen.

How can I change the display of the lock screen clock?

Android version 7.0, Samsung Experience version 8.1.

# Answer
> 1 votes
To change the clock style on the A3:

go to Apps\>Settings\>Lock screen & security\>Always on display. Select the digital clock then click on clock style (bottom left)\>select the face of your choice. Click on Apply at he top right.

Enjoy.

---
Tags: app-widgets, clock, lock-screen-widgets
---


# Question
Title: What version of Android Wear is on Motorola Moto Sport?
What version of Android Wear is on Motorola Moto Sport? I look lots of old news about plans to issue, but didn't googled any confirmation.

# Answer
> 1 votes
Currently it's **Android Wear 2.0**.

According to news on Lenovo website, the Moto 360 Sport was in-line to receive this update (which was available sometime around September 2017)

One reddit user also confirmed to have received the update (Android Wear 2.0). So chances are that you can now download this update (if you haven't already) also if you want to.

---
Tags: motorola, android-wear
---


# Question
Title: Can i get pop-up notifications on my Moto E4?
I just got my new Moto E4, it's my first Android too, so i'm still figuring everything out and i don't know if i just haven't found the settings or it doesn't do what i want. My old Nokia Lumia would put a little pop-up banner notification at the top of my screen (even when my phone was locked, the screen would light up) whenever i got a notification. However, my E4 only chimes, whether the phone is unlocked and the screen is on or not.

It shows an icon on the screensaver when i move my phone, which i can touch to see a message preview, and the lockscreen does show a constant notification after a message is received. But i want to know if there's any way to get a banner at the top of my screen (locked or otherwise) as the notification happens, without having to touch my phone to see what the notification was. Are there any settings for this? Or an app maybe? Thanks.

Ps. I found an option for it in Whatsapp but nowhere else (although i haven't seen it in action yet so idk what it's like)

# Answer
Unfortunately there is no option on the Moto E4 in settings to enable these types of pop-up notifications, so you will have to either go into each app (like you did with WhatsApp) and enable pop-up notifications or install an app from the Google Play Store.

An app that I use on my phone is called Heads Up Notifications - https://play.google.com/store/apps/details?id=codes.simen.l50notifications&hl=en
> 0 votes

---
Tags: motorola-moto-e, toast-notifications
---


# Question
Title: What's maximum of bookmark and history in defaut browser in Android
A few days ago I viewed a site that I now want to go back to. However I can't find it in my history. I can't remember the exact day, hence my question about how long this is kept.

# Answer
It only limited to your phones internal memory
> 3 votes

# Answer
It happens the same with me. I have to delete latest logs in order to see the older ones. And I'm trying to export/copy my browsing history to chrome which is the best.
> 0 votes

---
Tags: browser, bookmarks, browser-history
---


# Question
Title: Big, red-colored "Demo" text on the center of the tablet screen
The word "Demo" is visible in the center of the screen in a big red font at all times. It is there even when you play games or go to Play Store. The tablet is not a floor model nor in demo mode.

Screenshots (click images for larger variants)

How do I remove the "Demo" text from the device screen?

# Answer
# Precaution: Trojan reported in this file by MalwareBytes Mobile (from comment). Use at your own risk.

---

From YouTube video posted on Jose's comment,

> 1. Turn on the device.
> 2. Connect to your PC by the USB.
> 3. Download SystemPack.apk (original: MEGA, mirror: MediaFire).
> 4. Copy the .apk file to a directory on your device's memory.
> 5. On your device, look for the .apk file using the files manager and install it by touching on it and following the given instructions.
> 6. Shutdown your device, wait for 30 seconds, and the "DEMO" text will be gone.
>
> Notice that the .apk file is like a "patch", so if you reset your phone into factory settings, the "DEMO" text will appear again.

**Disclosure:** The MediaFire mirror was uploaded by original poster of the answer. The file was uploaded as-is, without any compromise.
> 1 votes

# Answer
Im have this trouble - when DISABLE apps: **com.clouds.server** in system.

When I enable this app - inscription disappeared.

Also.. You Maybe disable/delete: **com.android.server**

Reinstall/Enable this app - can help you.
> 0 votes

---
Tags: screen
---


# Question
Title: whatsapp notification in my samsung j1 when screen is lock
I am not getting whatsapp notification in my samsung j1 when screen is lock

# Answer
To allow notifications for lock screen, go to settings\>sounds and notifications\>notifications on lock screen\>show content.
> 0 votes

---
Tags: applications, whatsapp-messenger
---


title: Some app is causing bootloop

text:
# Question
Title: Some app is causing bootloop
It happened when Google Play was automatically updating apps. I guess, something went wrong and the phone suddenly restarted and was not able to turn on again. It always gets stuck on "Starting apps" screen and then restarts again (bootloop). I figured out, that if I can delete the app causing bootloop it should be just fine. However, I don't know how I could do it.
My phone is nexus 4 running Android Marshmallow. Also, I have a custom recovery (cwm 6.0.4.7). So, I tried to connect through adb to the phone in recovery mode and delete the app, however, I can't use any adb command, because "device unauthorized". I assume, as soon as I can get access through adb, I can delete the app.
After surfing many forums for the past several hours I couldn't able to find any solution which preserves data the phone has. Any ideas how I can delete/fix the app without loosing any data? (nexus 4 doesn't have SD card slot). Thanks.

P.S. wipe cache partition didn't help.

# Answer
> 0 votes
I just faced and fixed exatly the same problem on my Galaxy S3 I9300 with Android 6 Marshmellow (bliss 6.1 rom). Bootloop happend without any warning at the Night of 31st to 1st November. Just saw my phone rebooting ever and ever. Over the last 5 days I tried to get it back working or even to get some more backups out of the twrp backup.

What I found was: I got it running with factory reset and right after installing either of them: telegram, davdroid, the phone crashed directly in the appstore while installig. Then the phone rebooted and got stuck.

Important: you should make a twrp/nandroid backup if you not already did. a lot of reading, testing and questions in xda got me that far and this link here finally brought me to the ida: TWRP backup - Can I restore some app data without restoring the whole image?

initial Idea: extract all neccessary /data/data and data/app subfolders of your apps in the system and restore them to a clean factory reset. This worked not perfect but I got it running to access some more data as before. I did the copy or delete of the app folders through twrp -\> advanced -\> file manager.

---

Update: After I later got another(quite simple) idea on the base of initial guest post: why not going the way in the other direction and removing apps in the broken installation. This did the trick perfectly. I finally got into my broken rom again, all remaing apps worked as before (quite important to me since encrypted apps like threema and signal are not just copy-data-backups). Right now I am doing backups of my old Android 6 system :) for the import in my new Android 7 setup.

Hopefully it works for you, too!

OK now step by step what I did:

1. be sure to have a twrp backup of your device (efs,boot,system and data) and to have your broken system installed and not factory reseted.
2. then in twrp got to advanced -\> filemanager and navigate to systemfolder. there delete all unneccessary apps by deleting the appropiate folders in /data/app and in data/data. This will "uninstall" the apps. These will not be optimized or loaded when you boot up. I especially deleted Telegram, DavDroid since I knew out of my checks one of them was causing the error. but i just deleted more apps that I do not need a backup or which are less important. For me this did the trick! Even better this can be done 1 after 1 if neccessary. I first tried this with all apps -\> again bootloop. Tried it again with less apps -\> worked. So its likely not the system its directly a app in the optimizing/starting process killing the bootprocess.
3. just to be sure clear cache and dalvik cache to be sure android is reloading the changes and not seeing and cache
4. then go for a reboot to system (Fingers crossed)
5. if your're able to boot in again, then **imediately** open google play store -\> scroll down to settings and deactivate automatic update of apps ( Just to be sure not getting any update causing a crash while you are inspecting your data, making updates and so on)
6. finally i would recomend thinkig about moving on to a Nougat rom (if available for you). It's likely that there will not be an update soon fixing this bootloop problem (even if its unclear what caused it or which app(s)). I choose ressurection mix since its a quite active project and frequently updated.

best luck to you guy, I know how hard this problem hits.Alex.

(Guest "Alex." and me are the same author -just forgot that I already have an account).

---
Tags: adb, recovery-mode, boot-loop
---


# Question
Title: Merging duplicate contacts - is my phone broken?
I just got my Samsung Galaxy S3 (Android 4.1.1) and I'm having the usual trouble with ridiculous amounts of duplicate contacts. I've tried the following methods to no avail:

* My mom told me to go to Contacts, and click "Merge with Google" in the menu. It had me add a Google account and was able to remove some of the duplicates, but many still have 5-6 for a single contact. My mom said the whole thing would be ruined if I repeated the process.
* I've been checking online, and I found similar questions here where the answer boils down to clicking "Find & Merge Duplicates..." on contacts.google.com. I tried it, and it claimed to merge four contacts. I still have many duplicates.
* I tried to manually join some contacts a couple of ways:

+ Go to Contacts, click the contact to open more details, click the link icon under the Connection heading, tap "Join another contact," select another contact
    + Go to Contacts, click the contact to open more details, open the menu, select "Join contact," select another contact
    + Go to Contact, press and hold the contact, select "Join contact," select another contact
    + Go to Contacts, click the contact to open more details, open the menu, select "Edit," click the menu key

For the first three methods, the phone flashed a message that said "Contacts joined." The contacts were not joined. The last one would not allow me to open the menu.

Is there another method that I'm supposed to use to merge my contacts? Did I do one of the above methods wrong?

I worry that my beautiful new phone is broken because joining contacts didn't work and it refuses to sync contacts with my google account :(

# Answer
> 2 votes
There are two types of contacts on your android phone. GMAIL contacts and PHONE contacts. You must decide which ones you are going to use, but you can't use them both (or you will get duplicates).

If you choose to use your PHONE contacts turn off google contact syncing and delete them from the phone. PHONE contacts do NOT sync. You may be getting multiple duplicates from turning on and off syncing. Once you turn off syncing all your current google contacts on the phone may become PHONE contacts. (I am not going to test this theory on my phone).

If you choose to use GMAIL contacts delete all PHONE contacts and make all your changes in gmail.

When you make a new or save a new contact on your phone the first choice is the type of contact you are making (GMAIL or PHONE). I have an EVO and you might have a newer version of android, but in my PEOPLE app when I open a contact it says what kind of contact it is.

I know I didn't describe any steps here, but seems to me you are missing the theory of how contacts with gmail and android work together.

I hope this helps.

EDIT: Your GMAIL contacts must be in the "My Contacts" group to sync or a custom group below that. "Other contacts" will not sync. EVERY email you send/receive from a new contact ads that contact into "Other contacts" by default.

# Answer
> 2 votes
You could perhaps try the same method from within the Gmail interface.

* From within Gmail, navigate to contacts.
* From the menu `More`, click on `Find & Merge Duplicates`.

# Answer
> 1 votes
Another offline and easy way to do this is as following:

Download **MyPhoneExplorer** software (for Windows) from here

It can connect to almost any Android device with USB or Wi-fi and syncs all contacts, messages, etc.

After you have successfully set it up, go to Contacts section, you should see all of your contacts (including duplicates) here. Now manually select a batch of duplicate items and right-click, then select **Merge Contacts** from menu.

After you are done with all contacts, click Sync icon on top panel and wait until the software uploads changes to your phone.

# Answer
> 1 votes
I don't think that your phone is broken. That sounds more like a usability problem. On the other hand, you described the process of joining and merging very accurately, so I wonder why it did not work for you...

First, you have to know that there are 2 reasons why there are duplicate contacts:

1. because your contact is in many contact sources (Phone, Google+, Facebook, Skype, etc.)
2. because the contact appears multiple times in a contact source.

The approaches to solve these situations are for

1. "joining" contacts from different sources
2. "merging" the contact information into one single contact

Since you know how to perform a merge/join operation you are already on a good track. Now you need to know how to tell the source from a contact: Is it a contact saved in the phones memory? Or on the SIM card? Maybe a Google cloud-synced contact?

I hope this helps. If not, consider posting some screenshots.

# Answer
> 0 votes
\[Solved\]

> This works if your contacts are on google account.

This is kind of weird experience where you can't merge the duplicate accounts and even those contacts can't be searched. Something was clearly wrong. Since I sync my accounts with Google, I decided to delete all my contacts (because I can restore at any time).

Now once deleting all contacts, go to contacts.google.com -\> Menu -\> more -\> undo changes -\> restore contacts to one hour back (or your preferred day). And then make sure google contacts sync is in enable state (settings -\> accounts -\> google -\> your account -\> contacts).

This fixed my issue. Hopefully this will work for you too.

# Answer
> -1 votes
Maybe this thread can help you.

---
Tags: contacts, samsung-galaxy-s-3
---


# Question
Title: Storage keeps disappearing on my Android phone
I have a Motorola Moto G with an Android OS and I've had this issue for a long while now. It's quite an old phone with 8GB storage but I don't really need a lot of storage for my needs right now, so that's fine. However, I've realised that the amount of storage I have keeps going down all the time when I haven't updated any applications or downloaded anything. This leads to me running out of storage constantly which is causing issues because it means I have to keep deleting applications which all used to fit on my phone fine.

I'm not asking for a solution, but I'd like possible explanations for what's happening with my storage and where it could all be going.

# Answer
> 0 votes
Try looking in Settings \> Storage. It will show things like images, other files, cache. For example, I just had 2.5GB in Google Play Store cache!

---
Tags: internal-storage, storage
---


title: Fastboot error on Mac OSX

text:
# Question
Title: Fastboot error on Mac OSX
I'm having problems using ´fastboot´ in high sierra. When I run the command:

```
fastboot devices

```

it tells me:

```
ERROR: Unable to create a plug-in (e00002be)

```

Now, I've googled a lot and a lot of different users seems to have this issue, since Mountain Lion. I've tried rebooting my machine, unplugging and plugging again my phone and running it as superuser, but no luck.

What can it be?

PS. I know this question might be best suited for apple.stackexchange.com but I think that's more a problem of Android (although I asked the same question there)

# Answer
THere's an open issue with macOs High Sierra. There hasn't been a release of a known working version, but you can download the working platform-tools version 4455170 (actually in development) from the issue tracker itself and I just tests that it works: https://issuetracker.google.com/issues/64292422#comment55
> 2 votes

---
Tags: fastboot, macos
---


title: How to get Lenovo Stock Rom

text:
# Question
Title: How to get Lenovo Stock Rom
I had asked this question... My Previous Question

Good News is that somehow I am able to put my tab in recovery mode. I wanted to install the stock lollipop version of Android in it and after doing some research I found this link...Link to Lenovo Website But I am unable to understand that how can I put this in my device. So my question is can any of you provide me guidance on how to install this on my device or atleast can provide me a link to a flashable stock ROM. Any help would be appreciated

**Edit**: Okay, So I finally got it up and running, but I have a small problem that I can't enter it's recovery mode through the previously correct key combination. It just shows Lenovo's splash screen. I can however use:

> adb reboot recovery

Can Anybody help me with this please?

# Answer
Reading from your previous question, the model is `Lenovo tab 2 A7-10`which has a Mediatek chipset (Mediatek MT8127). So you need SP Flashtool and the firmware with a scatter file to be able to flash your device.

1. SP Flashtool (Download and unzip then run it)
2. Stock firmware or Mirror \- password: *lenovo-forums.ru* (Download and unzip)
3. MTK VCOM, CDC Drivers or Mirror (Download and install)

Install the drivers for the computer to be able to detect the device. Power down your device. If you can't, just force shut it down (Keep pressing Power button + volume down button for a couple of seconds).

On SP Flashtool, click on Scatter-Loading: Browse to the folder where you unzipped the firmware, you'll find a text file similar to this: `MTXXXX_Android_scatter.txt`. select it.

You'll be back in the SP Flashtool interface, uncheck the first field (Preloader) and leave the other checked.

Click on Download (green arrow) and wait the software do its things. You should get a big green checkmark if everything goes fine.

Please comment with any errors occurred. I'll update my answer with new elements.
> 0 votes

# Answer
You can try the following method. This is the convectional way of installing/upgrading firmware on most android devices:

* Download official firmware (correct version) preferably on PC. Extract the download you should see a **sdfuse folder**

Depending on contents of the compressed file you may not find the sdfuse folder, in this case;

* create a folder in your external sdcard and rename it as sdfuse
* extract firmware zip and copy qsb firmware "the file vit extension .qsb" to sdfuse folder or it may have the .inb extension.

+ You will need to transfer **sdfuse folder** preferably using a micro sd card Adapter or card reader from the PC to the phone.
    + Make sure phone is off completely. Then press and HOLD the POWER+VOLUME DOWN buttons simultaneously until the **service menu** appears.
    + Using your Vol+/Vol- buttons navigate to **sd update** and the installation should begin. Follow the instructions carefully to successfully re-install the firmware.

(*Your phone must have at least 50-80% of battery charged* )

Credits:

1. Lenovo S60-A Flash File (Stock ROM) zip
> 0 votes

# Answer
Files you need to download to your computer.

Download Lenovo Tab 2 A7-10F ROM or other Lenovo stock ROM.Download SP Flash Tool. Download Universal ADB Driver Sedboz. Download ADB Installer.

## How to install stock ROM on Lenovo Tab 2 A7-10F?

1. Open SP Flash Tools then install on your PC.
2. Now click on Scatter Loading on SP Flash Tool. Choose the Scatter file you downloaded earlier on your computer.
3. SP Flash Tool will load the Scatter file you have selected. Now click the Download button on SP Flash Tool.
4. Remove your Lenovo tablet's battery if it's removable or if not just
5. Power It Off then press UP button. Connect your Lenovo tablet to PC using the USB data cable then put your Lenovo tablet's battery back to its place while your finger pressing Volume UP (+) and this action will automatically start the firmware flashing processes on your Lenovo tablet immediately right now.
6. Wait the firmware flashing to get completed. If you see the round green notification shows up on the SP Flash Tool that means the firmware flashing processes are complete. You may disconnect your Lenovo tablet from USB data cable now and remove your battery afterward then put it back again right.
7. Now Turn On your device guys.
8. Well done.
> 0 votes

---
Tags: rom-flashing, custom-roms, stock-android
---


# Question
Title: Will Project Treble for Oreo make it easier to develop and flash custom ROMs?
I'm trying to understand how Treble will affect custom ROM development.

I imagine by separating out the parts of the operating system it would make it easier for manufacturers to issue updates fixing any root pathways.

# Answer
> 2 votes
From XDA-Developers:

> The reason why unofficial Android Oreo ports are slowly being worked on rather than just something developers can compile, boot up, and run is simple. In order to bring up a new Android version on an existing device, the kernel and the device tree need to be heavily reworked in order to make an existing Android phone work with a newer Android release. That’s because the current vendor implementation, including all proprietary binary blobs, is made to work with a single Android version, and thus need to be reworked and ported to the new Android version for the device to work properly.
>
> Almost all components inside the phone use an independent, proprietary blob, and requires to be patched and worked on independently so that the newer software can use it, also making sure the other ones don’t break in the process. This is truly a time-consuming task, and the main reason why most stable custom ROMs (like LineageOS weeklies or other, officially supported ROMs) don’t appear until 2-3 months after the final Android release drops to AOSP. All this effort also means that the resulting ROM will only work on one device or, in the best case, a handful of identically or similarly specification devices.
>
> This seems to be changing with Project Treble, according to Ron Amadeo of ArsTechnica and independently corroborated by custom ROM developer SultanXDA.
>
> Malchev says that Treble standardizes Android hardware support to such a degree that generic Android builds compiled from AOSP can boot and run on every Treble device. In fact, these “raw AOSP” builds are what will be used for some of the CTS testing Google requires all Android OEMs to pass in order to license the Google apps—it’s not just that things should work, they are required to work. To drive this point home, it means that because of the way the lower layer of Android was modularized, all Treble devices in the market will be able to boot a generic stock, AOSP Android build. This takes away most of the hassle of porting custom ROMs to an older device since a single, generic Android build can run on many devices. This moves Android devices way closer to something like a personal computer, where you can boot up the latest, cutting edge Windows 10 build or any Linux distribution on a 10-12-year-old computer.
>
> You won’t be able to boot up flawlessly-working generic Android 9.0 builds on your Treble device just yet, though – device trees and kernels will still require being worked on. It’s still a great start: thanks to the modularized HALs, the workload for bringing up the next Android version should be greatly reduced, and we could see stable 9.0 builds in a matter of days/weeks instead of months. We should have in mind that Project Treble, while it’s now rolling out, is still a work in progress as it’s still receiving changes in AOSP, and the vendor layer could eventually be standardized to the point installing a new Android version will be the same as installing Windows on a computer.
>
> This is a huge technical advancement, and it has the potential to significantly improve AOSP-based custom ROM development on our forums. But then, this only applies to devices with Project Treble, and currently the only Treble phones available out there are the Google Pixel, Google Pixel XL, Sony Xperia XZ1, and XZ1 Compact.

---
Tags: 8.0-oreo
---


title: Permission problems with LinuxDeploy

text:
# Question
Title: Permission problems with LinuxDeploy
I installed LinuxDeploy and got Debian Jessie up and running. It was all relatively easy.

The issue that I am having is that the user I define in the ui is not able to write to custom mounts (like sd card etc).

I can use the Root user in the chroot environment to read/write but that is not right. I want to be able to be a regular user with read/write permissions.

I am using Lollipop 5.1/LinuxDeploy on Samsung Note

thanks

# Answer
> 1 votes
**Update:**

Confirmed that permissions of /dev/fuse probably just needs to be updated. It is initially set to 700 by default for some reason which would only allow root to execute. It doesn't matter from where or how you chmod it, just chmod it to 770 or 777 if necessary.

`sudo chmod 777 /dev/fuse`

Also doesn't hurt to do it properly and setup a fuse group if one doesn't already exist and add users to it as needed.

**/Update**

Was having a similar problem, will document what I did exactly. This is assuming you've setup your install as a directory.

1. Download FX File Manager + it's root extension companion app from Play Store.
2. Navigate using the root explorer option to the roots of your Debian install(by default /data/user/linux deploy.package.name.or.similar/0/env
3. Find /dev/fuse of your Debian install with FX. Long press on the folder, swipe over to / tap security.
4. Tap all the squares so /dev/fuse is set to 777 access
5. Stop and start your image, try accessing mounted directories.

Now I suppose you could try simply chmodding /dev/fuse to 777 from within Debian or whatever access you deem necessary, but I didn't try that. Most likely that will work too -intuitively sounds fine, but not what I did.

It was.kind of odd that /dev/fuse was set to 700 in the first place, but whatever.

Oh also, I had to add in a fuse group prior to that, and add users to it. All though my guess is that if you set /dev/fuse to 777 it would make this step unnecessary. Perhaps a 770 would necessitate the fuse group?

# Answer
> 0 votes
try this fix: https://winaero.com/blog/unlock-external-sd-card-writing-for-all-apps-in-android-4-4-kitkat/
I tried this on Termux and it allow me to write to usb in the termux default user.
It may also work with Linux Deploy. Please reply me with the result

---
Tags: 5.1-lollipop, linux, permissions, mount
---


# Question
Title: Is there an official Google Apps package?
So I understand that I need to flash the gapps package after installing a custom Android distro (ROM). In that case, is there an **official** google apps package? If so, why should I rely on competing distributions of the Google apps package, rather than get it straight from Google? If not, do device manufacturers get it through a different, private route?

If not, is there any way I can extract the Google Apps platform whole from my own device's stock Android OS image? As I understand, that is in fact the exception which Google allowed, which everyone seems to be abusing by simply distributing APKs extracted from other devices. I have not seen a single guide for this.

# Answer
Official GApps package is never available publicly. Google only provides it to authenticated OEMs like Samsung and HTC. It'll be installed only on Google Play Verified devices, in their stock ROMs.

That's why individuals can only download and flash unofficial GApps packages.

You can, of course, extract Google Apps from an authenticated phone and install it elsewhere, but you'll surely do extra job in comparison to flashing well-prepared packages.
> 1 votes

---
Tags: custom-roms, google-apps, system-apps, stock-rom
---


title: Problem with coping mmcblk0 to pc

text:
# Question
Title: Problem with coping mmcblk0 to pc
I want to clone internal memory of my android phone. Version 5.0 lolipop. I have found an tutorial website but this is not working. Web site link given below. http://www.fciotti.com/2017/02/26/clone-android-memory

chmod +r /dev/block/mmcblk0 returns Bad mode

shell@M1:/ $ su root@M1:/ # chmod +r /dev/block/mmcblk0 Bad mode 10|root@M1:/ #

and adb pull /dev/block/mmcblk0 "mmc.img" returns

adb: error: failed to copy '/dev/block/mmcblk0' to 'mmc.img': remote Permission denied

# Answer
> 0 votes
To copy **mmcblk0** or **any partition** directly to pc, you need ***root*** access and ***busybox*** installed on your android phone.

Working ADB command is `adb -d shell su -c busybox dd if=/dev/block/mmcblk0 bs=4096 > D:\mmc.bin`

Or try these following links https://www.youtube.com/watch?v=aWgJdwn0-4M https://www.youtube.com/watch?v=Qo5lBWAIb4g

---
Tags: partitions, copy-paste
---


# Question
Title: How to restore my phone, after replacing my systemui with a modded one?
I recently saw a thread about a modded systemui on XDA here and downloaded it. I replaced my present systemui with this one and rebooted my phone. I think that at first the replaced systemui didn't work so I got a systemui-less experience (You can learn about my experience by reading the comment I made on SO here ).

Then I learnt that I hadn't set the permissions rightly so I changed the permissions of the new systemui to 644 as said at XDA and rebooted my phone.

After the reboot my apps were optimized as it happens after an update. But this time the new systemui worked (probably) as I now have an all black screen after my phone boots normally.

I then tried to enter into recovery mode and wiped the data (factory reset option) and booted again, but that was of no use as the problem persisted.

What can I do now? Will I have to go all the way reflashing my phone? Could anyone suggest a better option as reflashing seems to be the last option for me. Thanks in advance.

Phone model: Lenovo Vibe C, 16 GB variant, currently running Android Lollipop.

EDIT

* It was all my fault as the mods were meant for Samsung galaxy alpha (I did not read the title at XDA before messing up)
* I don't have a custom recovery installed nor do I have a NANDROID backup made before. I'm completely helpless.

# Answer
> 0 votes
Your best bet would be downloading your stock ROM from online, take the SystemUI.apk and put it back where it should be.

---
Tags: rom-flashing, factory-reset, restore, system
---


# Question
Title: 'Charge This Phone' vs 'Charge Connected Device'
When connecting my phone to my laptop, I have these two options

> Charge this phone (Just charge this phone)
>
> Charge connected device (Charge the connected device via USB)

I don't understand the difference between these two options. However, if I try the second option, it fails with the error

> Unable to use USB cable for Charge connected device

To the best of my knowledge, the ports I tried were USB3, so that nixed my guess as to what the problem was. What is the difference between these two options and if the latter is better, how can I use it?

# Answer
> 1 votes
> Charge this phone

It means that your phone will be charged from the laptop battery via USB.

> Charge connected device (Charge the connected device via USB)

It means to charge your laptop via USB from your phone. Most probably, your laptop (like that of many others), cannot be charged via USB, so if you choose that, it is giving an error. But the option still persists simply because your laptop runs on battery. Had you connected your phone to a PC, this option would not have come.

---
Tags: charging, samsung-galaxy-s-8
---


title: How to reset location_provider_allowed

text:
# Question
Title: How to reset location_provider_allowed
as the first, my environment:

Samsung S7, LineageOS 14.1, which is Android 7.2.1.

I'm using tasker to set GPS On and Off in this way:

GPS On:

```
settings put secure location_providers_allowed +gps,network,wifi

```

GPS Off:

```
settings put secure location_providers_allowed -gps,network,wifi

```

Both script are running as root.

Somethink happend (maybe during I tested this scripts) and now I can't switch my GPS Off (in Settings menu), and when I list my settings in this way:

```
settings list secure

```

I can see this:

```
  location_providers_allowed=wifi,wifi,+network,+wifi,+network,+wifi,+network,...+wifi,network,network

```

It is very long line with cyclic contents.

Please, is there a way to reset this setting (perhaps another than factory reset of phone)?

Thanks in advance.

# Answer
You should be able to change it to blank by executing

```
settings put secure location_providers_allowed ' '

```

If that doesn't work, directly modify the file *settings\_secure.xml* located at */data/system/users/0/*. Look for the line containing *location\_providers\_allowed* and edit the value for it.
> 2 votes

---
Tags: settings, 7.0-nougat, gps, tasker, shell
---


# Question
Title: Is it possible to retrieve data from a phone that is no longer in existence?
My phone (LG) was run over by a truck and completely destroyed. I have since purchased a new phone (LG Stylo-2) and was hoping to get data from old phone. The old phone has been disposed of.

# Answer
> 0 votes
Not unless it was backed up. Most android phones back up to google drive. If you had kept it, you might have been able to take it to a repair shop and get the data off of it.

# Answer
> 0 votes
Since data are primarily stored physically on the device, you won't be able to retrieve all of them.

Most modern phones have a feature called "Cloud Sync", which syncs **some** of your data, primarily your contacts, caleadars, notes and settings. You can easily acquire these data by signing in to the cloud sync service with the same account.

For other data, I'm sad to tell you that it's lost. That may include your music, photo or ringtones, depending on your backups (Google Photo is good!).

---
Tags: data-recovery
---


title: Turn off search history on Chrome?

text:
# Question
Title: Turn off search history on Chrome?
If I search for for example "lemon" in the address bar in Chrome on Android, days later if I start typing "L" it will show "lemon" in bold text as a suggestion.

I have already gone to the Activity Controls and turned off everything there except "Device information".

I simply can not find anything to turn off this behaviour, but surely there's got to be a setting for it??

# Answer
> 0 votes
The setting might be for future prediction. In your case you have to delete from history. So maybe clear the data.

Or more specifically as you asked for chrome Android, long press on the prediction and a pop-up will come stating "Remove suggestion from history?". Tap yes.

# Answer
> 0 votes
Not really. Chrome is designed that way. The easiest way to avoid these is to always use Incognito mode so that it does not keep any history but you cannot do things like opening previously closed tabs either since nothing is kept. On most Android, if you leave Chrome in an Incognito tab, it stays that way until you open a regular one, so it not time consuming to simply stay Incognito.

---
Tags: google-account, google, chrome-for-android, privacy, search-history
---


# Question
Title: Unlocking Bootloader Moto G Unable to bootup
I have been trying to unlock the bootloader on my Moto G 3rd Gen, so I can install TWRP Custom recovery and flash a new system image, as my phone will not boot up at all (including recovery mode).

I have tried to follow the steps on the Motorola website, but when I get to the command: `fastboot oem unlock (i have the code, not showing it here)` it says:

```
(bootloader) Check 'Allow OEM Unlock' in Developer Options.

```

However, as the phone cannot boot up, I can't check allow OEM unlock in the developer options.

anybody know how to get round this so i can install TWRP?

# Answer
First download the corresponding firmware for your devices here.

Then follow (*at your own risk*) this updated guide.

---

I had the same problem with a Xperia M4 Aqua, and I couldn't override the 'OEM Allow Unlock' since phone wouldn't boot up. I tried to perform the follwing in order to override that:

```
fastboot erase cache
fastboot erase userdata

```

It didn't work for me, but you can try on your phone, maybe you get lucky.

Since I was on Sony Xperia, I managed to flash a stock firmware using Sony Flashtool.
> 1 votes

---
Tags: unbricking, twrp, bootloader, bootloader-lock, motorola
---


# Question
Title: Is there an English locale with SI units?
I hate using devices in my native language, so I normally use the US locale. However, I also want to have Celcius, meters, kilograms and sane date formatting :)

I have a Wear watch and it uses the phone's locale to know what units to use. This means I get Fahrenheit weather and mile distances.

Is there a locale setting I can use to get SI units but retain English?

# Answer
Try setting the locale to Canadian english (en\_CA) which sets its units to metric. Things like dates and currency are fairly compatible with the US.

You could always set the dictionary for spell check to US english under Languages & Input in settings. Though, as you point out in your comment, you may have to deal with some "misspellings" in some menus and messages. It will add some *colour* to your android experience.
> 3 votes

---
Tags: localization, android-wear
---


# Question
Title: Get GPS coordinates of lost phone even if GPS was off when lost
I usually turn off my GPS to save batery. However, I would like to be able to turn the GPS on remotely and get its coordinates (e.g. by e-mail). Today a friend of mine almost lost her phone on the forest... In case next time it were my phone, I would like to be able to locate it easily.

I tried Android Device Manager as mentioned here but it gives me the coordinates of the last time I had my GPS on and it does NOT turn the GPS on to give me the latest/current coordinates.

# Answer
> 1 votes
I happened to have a Samsung phone, so you can use the FindMyMobile service, which can get you the coordinates of your phone even if your GPS was off when you lost it. However, **you need to register in the web beforehand and authorize the Remote Controls** in the menu Settings/Lock Screen and Security/Find My Mobile/\[Log in with your Samsung details\] and then activate Remote Controls.

It would be good to know any alternative for those not having a Samsung though...

# Answer
> 0 votes
This does not answer the main question, but addresses the side conversation in comments about why battery life should not be a significant concern to leaving location enabled for lost phone situations.

If you use well-written applications, having location services enabled will not mean that they will drain your battery. These features should only drain your battery if you are actively using them.

You can see which applications are using location services under Settings-\>Security and Location-\>Location (exact menu varies by version). This screenshot is from Android 8, but I think this feature is present at least from Android 6.

---
Tags: gps, lost-phone, gps-tracking
---


title: Restore Pixel C backup

text:
# Question
Title: Restore Pixel C backup
I had a Pixel C, which I backuped (System -\> Backup -\> ...). I can see that backup (**1**) in Google Drive. After the Pixel C died I now have a new Pixel C and would like to restore that Backup (**1**). When setting up the device, it gave me no option to restore from the previous Backup (**1**). So I enabled backing up the new device and now have a second Backup (**2**) in Google Drive.

Now my question is - how do I restore the previous Backup (**1**)?

# Answer
> 0 votes
I had the same issue and Google support pointed me to this link. There is a section on restoring from backup, which references Nexus devices but apparently works for the Pixel tablets as well.

---
Tags: backup, google-drive, google-backup
---


title: whatsapp issues

text:
# Question
Title: whatsapp issues
I was on WhatsApp for quite some time two years back, and then unistalled it. Suddenly today my friend got a ping that "abhilash left". If Iam using and leave it, the message was understood. If I was using and someone removes me, the message would be "user removed". Please reply as to how it can happen. (Abhilash)

# Answer
It looks like someone else is using WhatsApp with the number you had 2 years ago, which is very common.

More than likely the other person using WhatsApp, was added to that group you (your friends probably thought that it’s your number and added it) and the notification occurred becuase the other person left that group.

Now the notification said Abhilash left the group becuase your friend saved your number in his contacts.

Unfortunately you cannot do anything to control this.

that you never part of. with your old number most likely led the group, becuase they identified it as spam, hence them leaving the group caused
> 1 votes

---
Tags: whatsapp-messenger
---


title: Execute fastboot commands without PC

text:
# Question
Title: Execute fastboot commands without PC
I have setup adb server and client within the Android device and can issue adb commands via terminal emulator.

But I need to have the fastboot in the same way. My requirement is to temporarily boot into TWRP without a PC or another Android device:

```
# fastboot boot /path/to/twrp.img

```

I think the Android has fastboot-over-usb.

# Answer
You can't execute fastboot commanda without a physical connection to the phone.

Fastboot is another name for "bootloader mode", where the bootloader stops itself before further loading the OS, and waits for fastboot commands.

Since bootloader is very simple, your only bet would be connecting your phone to a computer.
> 1 votes

---
Tags: fastboot, twrp
---


# Question
Title: Vi-style text editing method for Android UI
I have been using ConnectBot to connect to shell sessions on Linux machines from my Android phone. What amazes me is how easy it is to use the Vim editor using the virtual keyboard, because the Vi/Vim command mode puts so many useful actions at your fingertips. It is so much easier to edit text that I would like to be able to do it in the same way everywhere in the Android UI.

That is to say, I don't want a Vi editor on the phone, but in the UI itself.

Is something like this available somewhere? What would it take to develop it? What places in Android must be modified? Is there some easy plugin framework where you just fill in some functions and you provide a new text editing method?

# Answer
> 3 votes
> Is something like this available somewhere?

Not at the moment, although there are a couple vim-style text editor:

however these are currently implemented as an application, not as an IME.

> What would it take to develop it? What places in Android must be modified? Is there some easy plugin framework where you just fill in some functions and you provide a new text editing method?

Android provides the framework for creating custom keyboard (officially known as IME). Anyone that is interested in creating a vim-style IME for Android should check out Creating Input Method.

# Answer
> 0 votes
I hope the Hacker's keyboard will help. Don't forget to switch to normal keyboard for passwords or keys.

---
Tags: editing
---


title: How to know 3g DNS setting on Android?

text:
# Question
Title: How to know 3g DNS setting on Android?
I want to know what is the DNS configuration of the 3G connection of my Android. Only to know, not to change (yet).

# Answer
I managed to install ConnectBot on my device.

I can get DNS information by using `getprop | grep dns`
> 0 votes

---
Tags: 3g, dns
---


# Question
Title: entered recovery mode by mistake stuck in boot loop
I have accidentally put my phone into recovery mode, and I cannot exit from it. Rebooting doesn't solve anything, it opens to recovery mode again. I believe that, it happened since I hold the power button too long and accidentally pressed volume button at the same time.

I have checked a lot but couldn't find how to fix this. Since I haven't backed up my pictures yet, I want to know that if there is a way to exit from this mode without deleting my pictures(data)? I couldn't understand if installing from adb (I don't know what it does) or fastboot to reboot will delete my data? In addition, I haven't been able to install the latest update since my phone didn't have enough memory. Could this situation be related to that? Sorry for asking lot of questions but I am really worried since I don't have any service to have it checked up .

P.S:my volume button is not stuck.

# Answer
Install adb & fastboot drivers: https://forum.xda-developers.com/showthread.php?t=2588979

then plug in your phone and run in the command line

```
fastboot devices

```

\*if it says fastboot cannot be found, then change directories until you are in the same directory as fastboot.exe, or add it as an env variable

if you see your device listed, run

```
fastboot reboot

```

that will try to reboot the device normally.
> -3 votes

---
Tags: recovery-mode, boot-loop
---


# Question
Title: Casper Via V6X Bricked. Can't Boot Into Recovery Mode
I've an Android device, Casper Via V6X.

The device is not booting. I get the vibration and see the logo of the device but then nothing happens. When the device is closed and plugged in, it shows that battery is charging.

I also tried to boot into recovery mode with Volume Up + Power, Volume Down + Power, Volume Up + Volume Down + Power button but still got the short vibrate and logo, then nothing.

I've tried to access to device through ADB but as I expected since the device is closed, my computer can't access the device so ADB always fails to connect to device.

Any suggestions?

Edit: Seems like device is bricked. I've found a ROM and some Qualcomm softwares and tried to connect to device. And then I've flashed it. The console logged that download was successfull and finished. The guides that I've followed claimed that if you see this message that means process is completed so you can run your device. But still, it's not booting.

# Answer
See if you can recognize the device through fastboot. adb only sees the device if you enable it in recovery or if the device is booted into normal system.
> 0 votes

---
Tags: recovery-mode, boot, bootloader
---


# Question
Title: Does the carrier matter when flashing custom roms?
I am getting the lg g6 tomorrow and i saw that there was twrp and lineage and a couple others. But xda also has a thread that is specifically tmobile and thats where im getting my phone. but the tmobile thread had 0 developement going on. So will the carrier matter?

# Answer
Yes and no. Most times probably not, but there are some carriers which not only apply software modifications but also obtain specific hardware configurations from manufacturers (AFAIK Verizon is one of those having done that in the past for some devices at least, and T-Mobile was mentioned in that context as well).

Which means, there's no "generic answer" to this question, but you must check for each device separately. If the hardware matches, the carrier should be irrelevant concerning the custom ROM – as the latter then again matches the hardware.
> 1 votes

# Answer
Andy Yan is right. The phones sold by all major carriers have their bootloader locked. Your G6 variant won't be the same G6 that allows TWRP (and thus custom roms, and root) to be installed easily.

See Post: https://forum.xda-developers.com/lg-g6/development/recovery-twrp-lg-g6-us997-unofficial-t3629883

Saying : *A message to those with other variants of the G6: The H870 International variant and the us997 are the only ones with an official bootloader unlock from LG.*
> 1 votes

---
Tags: custom-roms, twrp, lineageos, carriers, lg-g6
---


# Question
Title: Removed Google Apps system app, now the device wouldn't boot
I have a Micromax Canvas A1 device (Android one). It's been rooted and I have removed some system apps on it before. When I disabled Google App, a lot of space was freed and the system worked fine. So I thought I could free some more space by uninstalling the app without any harm. But when I uninstalled it, the 'searchbox stopped working' message came up. I powered off and then on again, but the boot doesn't complete. The android boot animation keeps running endlessly. Tried entering recovery mode, couldn't. Micromax logo is all it shows. Tried the same with adb, it says 'insufficient permissions for device'.

How do I fix this?

# Answer
Reflash the Android One OS by booting into recovery.

First get into the bootloader:

1) Power off your device and wait 4-5 seconds after lights go off.

2) Press and hold Power + Volume Up button together for a few seconds and then release the buttons as soon as you see the boot menu screen

3) Boot into recovery. Flash the Original ROM using TWRP or stock recovery
> 0 votes

---
Tags: boot-loop, google-apps, system-apps, android-one
---


# Question
Title: Contacts not being displayed in contact list but appears when trying to save a contact
I have Lenovo A6000+ smartphone. About 100 contacts have been removed when trying to backup contacts on SD card. But when I enter the phone no. of the removed contact, it reappears again in the contact list.

**what is the reason for this and how may this be resolved?**

# Answer
See if anything has changed in contact display settings. go to settings\>contacts\>contacts to display\>and select "all" Now it should show all your contacts.
> 0 votes

---
Tags: contacts, backup, external-sd, lenovo-a6000-plus
---


# Question
Title: Adding service to run script in init.rc doesn't run
I researched previous questions with this topic but unfortunately nothing has worked.

I am trying to **disable status bar** from users sliding from top of device upon bootup with this command to the adb console (which will be re-nabled if you reboot the phone, changes are discarded after reboot):

```
service call activity 42 s16 com.android.systemui

```

so that when my application boots up, they cannot slide from top to see status bar. I put that line in a script called ***init\_remove.sh*** with lines below:

```
#!/system/bin/sh
service call activity 42 s16 com.android.systemui

```

whenever the user reboots his phone, I want the init.rc file to start a service to run that script every time. I added these lines of code to the end of the ***init.rc*** file:

```
# service to remove status bar
service init_remove /system/etc/init_remove.sh
     user root
     oneshot

```

I then recompiled the ***uramdisk.img*** file and pushed it to my rooted device. The new init.rc can be seen with the added changes but I can still swipe from top to view status bar.

What am I doing wrong

**EDIT:** I now even tried this in init.rc file to start my service from the suggestion below:

```
on property:init.svc.zygote=running
    start init_remove

on property:init.svc.servicemanager=running
    start init_remove
     .
     .
     .

```

but still no change...are my property triggers wrong?

# **EDIT 2 DAYS LATER:**

So now I know my service is being noticed when init is running, but cannot be executed because of permissions issues seen below:

```
init: cannot execve('/system/bin/myscript'): Permission denied

```

as seen by the output on the console. My updated new service in the init.rc:

```
on boot
    start myscript
service myscript /system/bin/myscript
    user system
    disabled
    oneshot

```

I run the service as system since supposedly it has rw, and execute permissions: but it still cannot exec. What I think could be the problem is that the mountpoint for the filesystem is listed as read-only, seen by mount command:

```
/ $ mount
rootfs / rootfs rw,relatime 0 0
tmpfs /dev tmpfs rw,seclabel,nosuid,relatime,mode=755 0 0
devpts /dev/pts devpts rw,seclabel,relatime,mode=600 0 0
proc /proc proc rw,relatime 0 0
sysfs /sys sysfs rw,seclabel,relatime 0 0
selinuxfs /sys/fs/selinux selinuxfs rw,relatime 0 0
none /acct cgroup rw,relatime,cpuacct 0 0
none /sys/fs/cgroup tmpfs rw,seclabel,relatime,mode=750,gid=1000 0 0
tmpfs /mnt/secure tmpfs rw,seclabel,relatime,mode=700 0 0
tmpfs /mnt/asec tmpfs rw,seclabel,relatime,mode=755,gid=1000 0 0
tmpfs /mnt/obb tmpfs rw,seclabel,relatime,mode=755,gid=1000 0 0
tmpfs /mnt/shm tmpfs rw,seclabel,relatime,size=1024k,mode=775,uid=1013,gid=1000 0 0
none /dev/cpuctl cgroup rw,relatime,cpu 0 0
pstore /sys/fs/pstore pstore rw,relatime 0 0
/dev/block/mmcblk3p1 /boot vfat rw,noatime,nodiratime,fmask=0000,dmask=0000,allow_utime=0022,codepage=437,iocharset=iso8859-1,shortname=mixed,errors=remount-ro 0 0
/dev/block/mmcblk3p2 /recovery vfat rw,noatime,nodiratime,fmask=0000,dmask=0000,allow_utime=0022,codepage=437,iocharset=iso8859-1,shortname=mixed,errors=remount-ro 0 0
/dev/block/mmcblk3p5 /system ext4 ro,seclabel,relatime,data=ordered 0 0
/dev/block/mmcblk3p4 /data ext4 rw,seclabel,nosuid,nodev,noatime,nodiratime,noauto_da_alloc,errors=panic,data=ordered 0 0
/dev/block/mmcblk3p6 /cache ext4 rw,seclabel,nosuid,nodev,relatime,data=ordered 0 0
/dev/block/mmcblk3p7 /device ext4 ro,seclabel,nosuid,nodev,relatime,data=ordered 0 0
adb /dev/usb-ffs/adb functionfs rw,relatime 0 0
none /sys/kernel/debug debugfs rw,relatime 0 0
/dev/fuse /mnt/shell/emulated fuse rw,nosuid,nodev,relatime,user_id=1023,group_id=1023,default_permissions,allow_other 0 0
/dev/block/vold/179:1 /mnt/media_rw/extsd vfat rw,dirsync,nosuid,nodev,noexec,relatime,uid=1023,gid=1023,fmask=0007,dmask=0007,allow_utime=0020,codepage=437,iocharset=iso8859-1,shortname=mixed,utf8,errors=remount-ro 0 0
/dev/fuse /storage/extsd fuse rw,nosuid,nodev,relatime,user_id=1023,group_id=1023,default_permissions,allow_other 0 0

```

***But I cannot figure out where in the init.rc file I can set the partition that /system filesystem to rw (and execute) when it mounts.***

# Answer
**As always, the answer was simpler (although it tooks hours of research) than I thought.**

# Explanation

The answer was that init was not viewing the file as executable. The system call `execve`, I found out returns errors of `Permission denied` because it cannot determine it is the right file type to execute, amidst other errors that could cause it. Since @Agu.Thade mentioned if I had permissions, I researched into it more. After about 16 hours of trying to work around ro filesystem crap that I thought was causing the issue, I realized that all the executables in the /system/bin folder were green and my script was white (regular file). So using the chmod advice from @Agu.Thade, I tried to `chmod +x` from adb which returned `Bad mode`.

# Answer

Three hours later, I *finally* figured maybe I should pull the script to my computer, `chmod +x myscript` and `adb push myscript /system/bin/`. I did so, ran `ls`, and SURE ENOUGH, the file turned green (recognized as executable). Did a reboot, and of course, my script ran.
> 1 votes

# Answer
You don't even need to pull into your computer You only need to use `chmod 755 myscript` And voila, that's all
> 2 votes

# Answer
That's just the service declaration, there need to be some means to start the service for it to work. You have to call

```
start init_remove

```

in your desired trigger event for the service to be started, different triggers are available depending on the boot position, for your case start your "init\_remove" service after system services and zygote have started.

Alternatively you can also use some service classes that are in your init script and your script will be run automatically along with the services in your specified class without a need of an explicit start.

Check the init syntax readme here
> 1 votes

---
Tags: boot, fastboot, notification-bar
---


title: Temporarily read an encrypted file

text:
# Question
Title: Temporarily read an encrypted file
I want to store an encrypted .txt file (encrypted with a password, with AES for example) in the interal SD memory or µSD card of my phone. I want to be able to read it every now and then, but:

* I don't want the unencrypted plain text file to be extracted and stored in the SD card (even as a temp file).
* I don't want the unencrypted plain text file to transit via network (internet, etc.)

**Is there a solution / app that would display an encrypted text file?**

PS: I already tried full encryption of the phone, it's not what I'm looking for (other reasons, off topic here)

PS2: I don't want to use an online service

# Answer
> 0 votes
Thanks to this list of encryption apps, I found Encrypt It MkII which does exactly when I need:

The only problem I still have, is that I don't know how to decrypt it on Windows. (Does anyone have any idea for this?)

As an example the plain-text

```
COUCOU
COMMENT CA VA?

```

was encrypted by Encrypt It MkII with password `abcdef` as:

```
9XWIf05d8m2+1lhdJa+mzhChq6+8SmMu6D5UsWNFNcCNmE0fcPZghaR3C7VZVlTDxHcqazBUwBcs
6Ts2R81cfCo=

```

---
Tags: applications, encryption, file-management
---


# Question
Title: Android Box crash, how to restore /data files
I have an Android box that has the app Termux (command line app) and in there I have some node apps made by me that are important.
I have screw up my Android by modifying the `/system/etc/permissions/platform.xml` file in a way that Android doesn't like it (I was being to creative with it :/ ). So now my Android doesn't boot. I'm wondering if there is a way to restore my node apps now that my Android doesn't boot.
My android box is a Mini M8S

# Answer
I used an male to male usb cable and the Amlogic Burning Tool to flash a new .img to my box.
That was the only solution that I came accross. And I lost all my node apps.
> 0 votes

---
Tags: internal-storage, termux
---


title: google play services has stopped msg

text:
# Question
Title: google play services has stopped msg
i have an LG Tribute and the google play services has stopped keeps popping up i have done all the steps recommended to clear this annoying pop up, is there something else i can do that might work?

# Answer
> 0 votes
You can fix it very easily.

1. Clear Phone Data and Cache:
2. Stop Automatic Updates on your Device:

3. Reset your Android Device Phone's App

Hope it will work for you, If you need more then follow complete tutorial, It will fix other Process Com.Android.Phone errors.

# Answer
> -1 votes
Go to settings, force-stop Google Play Services, and restart your phone

# Answer
> -1 votes
If your using a phone that supports multiple users. setup a second user on the phone and update the system files that way...

---
Tags: google, google-play-services
---


title: Init.d Script won't work to keep value

text:
# Question
Title: Init.d Script won't work to keep value
I was try to change some value like vm, lowmemorykiller, adj, and net using shell script, then save it to init.d folder and execute it as root.

after reboot, it always back to default.

And i was trying to do this :

adding this command :

`busybox sysctl -w or sysctl -e -w`

`busybox chmod 755 or 777 /path`

`mount -o remount, rw/system`

and doing this :

set permission to 755/777

give a number in name like 99userinit

i have busybox installed and init.d support too

but it still can't changes, so what shoud i do ???

# Answer
> 0 votes
Assuming you are using the classic Android Emulator (so not the newer, *ranchu* version), any changes you make on the `/system` partition will be discarded on reboot by default.

To work around this, you should:

1. Perform any needed operations.
2. Backup the temporary system image.

On Linux, this is located under `/tmp/android-[YOUR_USERNAME]/` and is a file called `emulator-[SOMETHING]`.

On Windows it should be under `C:\Users\[YOUR_USERNAME]\AppData\Local\Temp\AndroidEmulator\[RANDOM_FILE_NAME.tmp]` (although I have not checked the latter).

Copy this file to a handy location, as it is removed when the emulator is killed.
3. Restart the emulator with the new system image (backup the original image, rename the new one to `system.img` and place it in the avd directory, then start the emulator).

Source

---
Tags: android-emulator, init.d
---


# Question
Title: Can I receive pending messages of WhatsApp after I reactivate my account on new phone?
Can I receive pending (undelivered) messages from WhatsApp that were in my dead phone but still pending because of the dead phone when I reactivate my account on the new phone? Can I receive it back after re-installing it on the new phone?

# Answer
> 0 votes
As long as you register your phone number on a new device within 45 days, you will receive all pending messages.

After 45 days, registering WhatsApp on a new device will be as if you never had WhatsApp before, no groups, no pending messages, no profile picture. (But you will still be able to retrieve your old messages from Google drive (not the pending ones though))

---
Tags: whatsapp-messenger
---


# Question
Title: Cannot send/receive MMS on Project Fi with unlocked Blu Advance A6
I have been trying to get my unlocked Blu Advance A6 on Android 7.0 working with Project Fi and I can't seem to get MMS messages working in the default app or Signal.

Regular text messages can be sent and received OK, but when an MMS comes in it just says "Tap to download" and when I try to send one it says "Not sent. Tap to try again."

I thought that maybe it was due to the APN settings being incorrect but the **Access point names** menu that is supposed to be located in **Settings -\> Wireless & Networks -\> More -\> Cellular networks** is missing. There is only a toggle for **Data roaming** and no other items.

# Answer
Well it appears that installing Google Hangouts makes messaging work. Although the app is pretty slow.

For the APN settings, the Project Fi app disables that menu when it's installed according to this: https://productforums.google.com/forum/#!topic/nexus/F9TYPTE11to

According to that post, you can run this from an adb shell to re-enable it:

```
settings put global hide_carrier_network_settings 0

```
> 0 votes

---
Tags: mms, apn, project-fi
---


# Question
Title: Can a Xiaomi / MIUI phone bet set to use dd/mm date format?
I have a Redmi 4A that I bought while in China a few months ago.

It works great in English but seems to only offer a choice of only 12- vs. 24-hour time format and American date format, mm/dd/yyyy.

For all English speakers who aren't American this format is very confusing. All my other devices let me change to dd/mm/yyyy format. But so far I can't find a way to do this on my phone.

Android version is 6.0.1 MMB29M and MIUI version is 8.5.4.0(MCCCNED)

# Answer
It's less Xiaomi than Android 6, which eliminated the corresponding setting from the settings pages unfortunately. The argument is obviously that those formats are bound to the region, and thus shall be chosen by the language you pick (English/US vs. English/UK,NZ,whatever).

What they obviously forgot is that the number of combinations is limited. No way to chose e.g. English/DE that way, to have English language with German date/time & number formats. Or that one user prefers the year in dates being 2 digit while another wants 4… I was looking for a better solution for weeks, but couldn't find it.

Also see: How to change date and time format on Marshmallow?
> 2 votes

---
Tags: settings, localization, xiaomi, miui
---


# Question
Title: Unable to sign-in into Google Play Store after logging out
I downloaded Freedom app, but I didn't find it interesting, so I uninstalled it completely. After a while I tried opening my Google Play Store, but it didn't open and shows: "No connection - retry".

So I logged myself out of Google to see if the problem is resolved or not. But unfortunately, it didn't, and now, I am not able to log into my Google account, and ultimately, unable to use Google Play Store. How can I solve this issue?

# Answer
> 0 votes
You need to get Freedom again. Open Freedom, tap the three dots on the top-right corner and tap **Stop** as in the picture shown above.

See my answer here.

# Answer
> -1 votes
Remove your Google account from phone.
To do this, go to Settings -\> Accounts. Now removal process depends on device and OS version so you will have to find how to remove it on your own.

Now go to Settings -\> Apps -\> Google Play services -\> Delete Data/Clear Cache. Do the same procedure for Google Play Store app.

Reboot device and try to add account again.

---
Tags: google-play-store, google-account, connection-issues
---


# Question
Title: I dont know if my tablet is broken or outdated
Well, I have a Samsung galaxy tab 4 (4.4.2) and I rooted it. So I reset it because Google play didn't work.but after factory reset it still didn't work. I uninstalled updates cleared cache, and I tried to system update today, and that didnt work. So I'm trying to find a way to get my system updates working, and Google play working. **HELP**

# Answer
OTA system updates won't work if you've modified the system image in any way, including by rooting. To get back to a working state, you need to flash the "stock" ROM, i.e. an unmodified official ROM from Samsung. See Where can I find stock or custom ROMs for my Android device? for details of how to find a stock ROM, and then this existing answer describes in detail how to use Odin to install a ROM on the Galaxy Tab 4.
> 0 votes

---
Tags: google-play-store, system
---


# Question
Title: How can I efficiently move 40+GByte of mp3 data to my phone?
My entire music library is sitting on a server that I access through SSH (could be setup for HTTP) and I would like to copy it to my Xioami Mi A1 (running Nougat).

What would be the best way to accomplish this without using an SD card? I installed Termux, and an rsync client, but:

* I don't know the location of where I should download too, and
* there seems to be a permission issue anywhere outside Termux's home directory ('whoami' reports my user credentials as "u0\_a###")

I would like to transfer the music to the "proper" directory (not just the downloads directory).

With 50+G of unused storage space, I'd really like to make use of it.

# Answer
> 2 votes
The default path for music is typically `/sdcard/Music`. Don't be fooled by the `sdcard` in the path, that's a relic of the past from a time where devices didn't feature their own external storage.

For Termux to work correctly in this regard, you have to manually grant read/write permissions to your "SD card" to Termux. Do that in the Settings app under the point of app permissions (exact naming may differ by manufacturer).

The user identifier is the one of the app, because on Android every app gets its own separate user to protect the data of each app.

I have no experience with `rsync` but I can imagine it will work, if you just switch into the `/sdcard/Music` directory and use `rsync` from there.

Termux should have all the tools for doing what you are trying to achieve.

# Answer
> 1 votes
File copying over SSH, with `scp`, is quite fast, depending on your network environment, and is more reliable than `adb push` and MTP.

In fact, copying over network is my primary choice for bunches of files.

---
Tags: file-transfer, media-files, mp3, import
---


# Question
Title: When does Play Store update Google Chrome?
Some visitors to my organisations web site are affected by this Chrome v61 bug which is reported fixed in v62.

The Wikipedia Chrome version page shows v62 was released 19 October 2017 on Android. Google Play store states Chrome current version varies by device.

Play Store on our test devices running Android 4 (Galaxy S3), 5 (J2), 6 (Nexus 5) and 7 (Huawei P10) all report Chrome v61 as being the latest available.

Is there a typical or published propagation time for Google Chrome updates ?

It's been a couple of weeks since v62 release date so we are wondering if or when these updates will be installed.

# Answer
Well there is no definite answer concerning established time for Google Chrome updates (and/or other related apps), but the general one is that it **varies depending on the developers' schedule**.

Of late, Chrome Chrome updates have been released on a **staged rollout**.

> What happens here is that with a staged rollout, the update reaches only a percentage of users, and various factors are used to target such a small "audience" and may include (but not limited to):

* device type
* OS version
* specific users e.g in certain selected regions
* other criteria

*Note this is different from independent developers who have no option of targeting eligible users*

So it's a waiting game until the next batch of root reaches your specific device. I see you have quite a number of OS versions you mentioned but as I explained, is Google who select the eligibility criteria and it's according to their schedule.

However an alternative workaround, would be using other markets will the latest releases of Chrome 62 e.g apkmirror and sideloading it.
> 1 votes

---
Tags: applications, google-play-store, application-autoupdate
---


# Question
Title: SIM card not detecting and imei null after flashing recovery (intex aqua i5-not i5 HD)
I wanted to flash custom ROM .

* Before that I flashed a custom recovery img.
* Then I tried flashing custom ROM zip file using **flashify**. It said
> flashing completed and reboot to continue.
* When rebooted, it didn't enter Recovery mode. So I installed CWM recovery for my model and tried entering recovery. It still did not enter into Recovery mode.
* Now I flashed TWRP recovery IMG and tried entering Recovery mode. A black empty box showed up instead of Recovery menu.
* Then I booted phone normally and there was no Sim card detection.
* I tried restoring recovery but sim card detection problem still persist.

My android is rooted . I can enter into Safe mode easily but not able to enter Recovery mode nor able to Factory Reset my phone. Except Sim detection problem everything works fine. WiFi apps, movies everything. I need help.

# Answer
> 1 votes
It looks like ...the custom rom you have flashed doesnt had Modem binaries of your phone... A rom consist of many parts that operates the device the Modem binaries are responsible to operate network related operations...

You can download stock rom of your device then extract modem binary from it convert it to flashable file than flash only the modem binary in your device if that works than ok.

Else flash with your stock rom...the problem is not in ypur device ...the problem is in that custom rom binaries..

Good day..

# Answer
> 0 votes
I had the same problem, and I fixed it this way:

1. Format your Android using SP Flash Tool
2. Flash stock ROM
3. Download Maui Meta 3G version 6.1308.0, and connect your device via Meta mode (no need to root)
4. Select Update Parameter option → check all boxes → save it

Done!

# Answer
> 0 votes
IMEI Problem? Here's the solution (For MediaTek phones only):

1. Type on Dialer `*#*#3646633#*#*` → Connectivity → Radio Info → phone 1
2. Type to the textbox 'AT+EGMR=1,7,"(Your IMEI)" (Example: `AT+EGMR=1,7,"0123456789101112"`)
3. At your SIM select 'Phone 2' → change 1,7 into 1,10 (Example: `AT+EGMR=1,10,"0123456789101112"`)

On other phone download Chamelephon app, then put your IMEI, then reboot (need root).

---
Tags: recovery-mode, connection-issues, sim-card
---


# Question
Title: How do I mount an external USB flash drive?
I have a SanDisk 32GB external flash drive I bought six years ago which I used to back up files from my PC. At the moment I no longer have access to as PC, but would like to mount my USB drive and use a file manager app to move my pictures, videos, WhatsApp files and browser files to the external mass storage.

The mass storage device (USB flash card) comes with a standard full USB port. The device, has a standard micro USB port, where I usually plug my charger.

So, do I need an OTG (on-the-go) cable? Would this work as a physical adapter? Would the OTG cable do anything else besides convert micro USB to standard USB?

Do I need an app to do the mounting or does the OS do everything? Can I install apps on the external USB flash drive. I ask because on android 4.4 there was a limitation and many apps could not be installed on an external micro-SD card plugged into the back or side of the phone.

I am running Android 6.0 on a cheap Alcatel phone.

# Answer
> 1 votes
> Do I need an app to do the mounting or does the OS do everything?

No, you don't need any extra app to connect the USB drive, the OS will detect and mount the USB drive automatically, if the file system is compatible. In case your file manager fails to detect the drive, you can use apps from Play Store that come with this feature.

> Would this work as a physical adapter.

Yes, a USB-OTG cable is merely an adapter to connect the pins of micro-USB to ordinary USB.

> Would the OTG cable do anything else besides convert micro USB to standard USB?

No, but keep in mind that unlike PCs, your phone might not provide enough power to drive hardware that requires that power (like hard drives), so you might need to use a powered USB hub for such applications.

> Can I install apps on the external USB flash drive.

No, unfortunately you can't. Just like with external micro-SD cards, support for installing apps on external media is best described as "non-existent" (there is adoptable storage, though). Installing app on SD card often just moves the app to the user's data partition which has been originally provided by an SD card but was later integrated into the storage of the device itself.

# Answer
> 1 votes
If your device supports otg then plug it in ...it is very simple just plug your usb into otg then otg into device.. Have fun..

Note: some ntfs device doesnt work with otg...so you have to format your usb with fat or fat32 ...

Good day

---
Tags: backup, usb, mount
---


title: Data Usage by Apps That Aren't Running

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

Could someone explain how this could be?

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

Thank you.

# Answer
Restrict background data for those apps..
> -1 votes

---
Tags: data-monitoring
---


# Question
Title: I cannot root or access developer options
My Samsung Galaxy Tab A (model number SM-P550 if you want to know the specs, Android version 6.0.1) will not allow me to "unhide" or "unlock" my developer options no matter how many times i tap the build number. On another note i am unable to root my device and because i do not currently own a pc and i have tried every mobile rooting technique i could find, thank you for adressing this issue. Edit - so i finnally figured it out, this device has many "accounts" and you can only access thing like the dev options on the "owner" but i was using "guest" but i still cannot root but im sure i will figure it out eventually, thank all of you for your suggestions and help!

# Answer
Every Android should be able to get developer options. Wrichik Basu's comment says how to show developer options. However OEM Unlocking (first step to root) is disabled on basically all Samsung phones.
> 1 votes

# Answer
Can you access recovery if yes then click apply update via adb...then do a Fastboot into a custom adb enabled recovery like twrp or cwm

```
$ fastboot boot /tmp/cwm.zip

```

Or

```
$fastboot flash recover twrp.img

```

After booting into recovery you can have your ADB enable also then you can root your device
> 0 votes

---
Tags: rooting, samsung, developer-options
---


# Question
Title: Dialer screen doesn't come up when making or receiving calls
When I receive an incoming call the phone doesn't show the dialer/answer screen. If the screen is off already the phone rings but the screen does not come on. If the screen is already on and already dim the brightness will come back up, but the screen doesn't change. So if I was already on the home screen it just stays there. I cannot answer a call unless I use my Bluetooth headset to do so. It does this with or without the headset connected. If the headset isn't connected I cannon answer the phone.

If I hit the phone icon it comes up to the screen asking me if I want to return to the call in progress. I also noticed if I make a call it never comes up to the in call screen, so there is no way to mute, go to speaker phone, put the call on hold, or more importantly end the call.

This started shortly after upgrading to 4.4 from 4.3.

Android 4.4 Nexus 4

# Answer
* I disabled the Dialer app, cleared the cache, and the data.
* Rebooted the phone and enabled the Dialer app.

Now all seems to be working well.
> 2 votes

# Answer
I just have had an issue that matches the OP description: on incoming calls the screen remained blank.

I am having it on Android 5 - Lollipop, but should be worth a try on a KitKat phone.

**Solution**:

1. Open "Google Dialer" (a.k.a. "Phone")
2. Open the : menu.
3. Select "Settings"
4. Choose "Call settings"
5. Choose "Phone account settings"
6. Tick the "Receive incoming calls" checkbox

**Cause**: The option was turned off when the phone was in the "battery saving mode" due to low battery charge. After recharging the battery the option was not restored automatically.

**Device details**: Nexus 5, Android version 5.0.1-Lollipop.
> 1 votes

# Answer
1. download dialer app.
2. disable default dialer, clear app data and cache
3. restart phone (notice there is no dialer app)
4. install downloaded call dialer app.

Done. Works 100%. Tried it on my phone

p.s., search for "nexus 4 call dialer app"
> 0 votes

# Answer
Go to Settings\>Sounds & notification\>App Notification then unblock the Dialler App then everything will be normal again.
> 0 votes

# Answer
I had this problem after doing a factory reset and reinstalling apps on 7.1.2 (Lineage 14.1). I couldn't answer incoming calls and outgoing calls wouldn't show the call in progress. The notification settings were fine. Clearing cache and booting in safe mode did not help.

**The problem was the Phone app was not set to be the default application for phone calls**. Not sure why because there were no other apps installed that can handle the calling intents.

To fix, go to **Settings-\>Apps-\> ⚙ -\>Default Apps-\>Phone app**. If it doesn't say *Phone* immediately under *Phone app*, then tap and choose the Phone app.
> 0 votes

---
Tags: calls, nexus-4, 4.4-kitkat
---


# Question
Title: How does Android keeps track of how much battery each specific apps used?
How does Android keeps track of how much battery each specific apps used?

For example, if you go to battery usage on android phone, it will say something like:

1. Display 70%
2. Whatsapp 25%
3. Browser 3%

etc.

Is this done by battery manager?

And how accurate is this values computed, I am trying to come up with an app that can accurately measure how much battery each apps specifically consume.

# Answer
> 0 votes
There will be low level APIs that Android uses when computing battery stats.

> I am trying to come up with an app that can accurately measure how much battery each apps specifically comsume.

Although this sub isn't for development related questions, check out Batterystats on how to implement battery collection stats.

---
Tags: battery, battery-life
---


title: A confused senior citizen

text:
# Question
Title: A confused senior citizen
I have an Android Samsung Galaxy J5 phone with SIM card slot No 1 with a Reliance Jio sim and SIM card slot no 2 with a BSNL 4G SIM.

On my BSNL line I do not have data but only for incoming/outgoing calls and other usual applications. I also have roaming and international calls.

On my JIO line I have usual Tariff facilities including data and national roaming.

What do I do to get the maximum out of my two SIM cards and what settings do I put for them??

Please advise as I am really confused.

# Answer
> 0 votes
> What do I do to get the maximum out of my two SIM cards and what settings do I put for them?

JIO only has a 4G VoLTE network and wouldn't work in 2G/3G. Does your phone support LTE + LTE may not be supported in your Galaxy J5. See if you can manually set your network and search for the BSNL sim from "Dual SIM settings".

> On my BSNL line I do not have data but only for incoming/outgoing calls and other usual applications.

You will have to switch primary SIM from JIO to BSNL for this as your phone doesn't support LTE+LTE. The JIO sim will probably lose signal when you switch BSNL to be the main SIM.

Also, you cannot use Mobile Data for both SIMs at the same time

# Answer
> -2 votes
Your sim cards should work out of the box. You only need now than one if you travel from one county to another or one service area to another to avoid roaming charges. Your sim card allows you to connect to your network operator for regular phone calls. But to get higher speeds for browsing the internet look into WiFi, you will need to connect to a router.

---
Tags: carriers, samsung-galaxy-j5
---


title: TWRP recovery installed but not opening

text:
# Question
Title: TWRP recovery installed but not opening
I have Vivo y15s , I rooted my phone with fastboot (oem unlock) I installed TWRP recovery.img using fastboot But My phone is not starting and TWRP recovery mode is not opening. Only Fast Boot mode is working..

# Answer
> 1 votes
My suspicion is that you might have flashed the wrong TWRP image. TWRP images are specific per device. Look for your device here: https://twrp.me/Devices/

If you find the correct one, then reflash stock OS, then oem unlock, then flash new recovery.

---
Tags: adb, recovery-mode, boot-loop
---


# Question
Title: What is this screen and how do I get rid of it?
Today my pixel 2 randomly decided to show this screen after I log in.

Where did it come from and how do I eliminate the extra step before being able to access my phone?

# Answer
That's the sort of thing you get from an app that comes with ads. Check what apps you've recently installed and force close the offending app to remove the screen.
> 0 votes

---
Tags: lock-screens, google-pixel
---


title: S7 Edge Stuck on Samsung Logo

text:
# Question
Title: S7 Edge Stuck on Samsung Logo
I have a S7 Edge Phone (G935FD) Single SIM, after googling the only CF Auto Root file was here CF AUTO ROOT LINK

Which shows for G935F however some said it works for FD as well. While rooting via ODIN I got the message that says "Recovery Is Not Seandroid Enforcing" and then it rebooted and stuck on the Samsung Boot Logo after the S7 Edge logo. Tried all known possible ways yet not booting any advises please?

# Answer
> 0 votes
When you flashed cf-autoroot-etc did you make sure it is for your model SM-G935F also called hero2-lte-xxx? Did you enable developer options \> own unlocking and in the same menu USB debugging \> on?

Did you flash a custom recovery after flashing c.f. Autoroot? You must have to get the recovery is not se android enforcing msg. It depends on the recovery you installed too. If it is TWRP then you have to remove the check mark from autoreboot in odin options, then press and hold home vol down and power, and immediately release vol down and press and hold vol up as the device screen goes black.

This will get you into recovery, if not then force reboot before it boots and again use the three button method to get into recovery. Once you are in twrp you will be asked if you want to modify system so put a check mark there by tapping it and drag slider to the right and you will be in twrp recovery menu.

The link should explain everything. You may need to read a lot so that you don't go on to discover that you cannot run certain apps as the don't run on rooted phones like Samsung pay, Samsung pass, and Ota updates.

You get the developer options menu by going into about phone\> software info \> build no and tap on build no 7 times then go back to the main settings page and you will see a new entry called developer options then follow steps above.

You need to follow each step given in the instructions to be rooted and have the phone boot normally. Here's a link describing what to do step by step

http://www.samsungsfour.com/tutorials/how-to-root-galaxy-s7-edge-on-nougat-7-0-using-cf-auto-root-all-models.html

---
Tags: rooting, root-access, samsung, boot-loop, samsung-galaxy-s-7-edge
---


# Question
Title: Can an Android device be remotely factory reset using any email ID on the device?
We had created a common ID for the college group and I think someone remotely wiped my phone. Is it possible to do it with the secondary account?

# Answer
Yes, with Google's find my device you can locate, lock, and ERASE, the phone. So anyone who has access to the accounts connected to your phone is able to erase all your data. It's made for cases of lost phones where you want to stop the thief from accessing your data. This feature is automatically enabled on most devices.

All the person would have to do in order to erase all your data, would be going to find my device page, put in the joint email address and password, and press erase and confirm. As simple as that.

It doesn't make a difference if this account is the primary one, or a secondary account.

In the future don't add any accounts to the phone, that others have access to.
> 3 votes

---
Tags: factory-reset, gmail, remote-wipe
---


title: Trouble installing SwiftKey via APKPure

text:
# Question
Title: Trouble installing SwiftKey via APKPure
I don't have a Google account and use APKPure (and F-Droid) to get most apps I need. Now, there are a few apps which, after download, refuse to install - they give me the "App not installed" error when I try to install them from within the APKPure interface. Right now I'm seeing this with the SwiftKey Keyboard application: I already use it, and I'm trying to install an upgrade of it but getting that error.

* How can I determine why I'm getting the "App not installed" message?
* Should I try installing in "Safe Mode"? I've heard about it but don't yet know how to get into it.
* If I want to try and install manually - where do I find the APK file(s) for my app?

Additional informations:

* I'm using a Xiaomi Redmi 3S with Android version 6.0.1.
* SwiftKey is already installed and is in use; but just to be sure, I replaced it with another keyboard as the chose/active keyboard app and the results are the same.
* The APK file *seems* to be this one (assuming I get the same file from my desktop and from my APKPure app on my Android device).
* ```
$ apksigner verify SwiftKey\ Keyboard_v6.6.9.32_apkpure.com.apk
WARNING: META-INF/DEPENDENCIES not protected by signature. Unauthorized modifications to this JAR entry will not be detected. Delete or move the entry outside of META-INF/.

```

# Answer
> 0 votes
Following @Izzy's patient advice in the comments, I got impatient and finally resolved this.

### The reason for "App not installed" in OP's case

The pre-installed version of the SwiftKey Keyboard app had some sort of incompatibility with more recent versions - a "signature mismatch" - preventing an upgrade from the former to the latter.

### Should I try installing in "Safe Mode"?

Not relevant in this case.

### So how do I upgrade SwiftKey?

Uninstall SwiftKey (just the main package; there may be auxiliary packages) and install the new version.### How to determine why you get "App not installed" generally

It's tricky. What you can do is have a look at the "logs":

1. Install a log viewer app like CatLog
2. Install something like Termux (or an SSH server, then SSH into your phone)
3. In a terminal, run `adb logcat`
4. Try installing SwiftKey
5. Have a look at the what you get in the log

You need to redirect the log output into a text file if you can't scroll your terminal well enough.

---
Tags: updates, safe-mode, swiftkey
---