# Question
Title: Is it OK to remove this SaleTracker app?
I was going through apps I could uninstall and discovered this app called "Launcher" which lives in `/system/app/SaleTracker.apk`. Googling for the APK name suggests this is some sort of malware (checking with MalwareBytes didn't seem to confirm this) and should be removed, but I'd like to have a second opinion before removing a system component.

# Answer
> 1 votes
It isn't any vital Android component, as I don't have it on my OnePlus One, so you *could* go ahead and either freeze or remove it and see after a restart if that poses a problem. If so, you should have a backup ready to put it back to its former place.

---
Tags: system-apps, bloatware
---


# Question
Title: Does the Amazon Kindle app run on Android 7.1.1?
I'm setting up a Nexus 9 tablet for a friend. I flashed the Android v7.1.1 March update image then installed the Amazon Kindle app from the App Store. The problem is that when I open the app and tap the *Start Reading* button the app hangs with a blank white screen.

The Android app runs find on my OnePlus 3 with Android 7.0, so I'm wondering if something in the latest Android version has broken it.

I guess I could flash a v7.0 image onto the Nexus 9, and I will do that if no-one here can confirm the problem with v7.1.1.

# Answer
If anyone is interested I have pinpointed the problem by flashing an older version of Android. These tests were done on my 16GB Nexus 9.

* With a freshly flashed version of Android v7.1.1, with all user data wiped, the Kindle app hangs when you click the *Start Reading* button.
* With a freshly flashed version of Android v7.0, with all user data wiped, the Kindle app runs normally. Clicking the *Start Reading* button allows me to enter my Amazon account details and start reading.
* If I let my tablet download the updates to v7.1.1 and install them, without wiping the user data, then the Kindle app still runs normally. So the app does run on v7.1.1.
* But ... if I now delete the Kindle cache and data from Settings/Apps then the Kindle app once again hangs when you click the *Start Reading* button.

So the problem is specific to the v7.1.1 version of Android, but the problem is limited to whatever bit of the Kindle app configures your Amazon account.

In theory there is an update to v7.1.1 on its way to my OnePlus 3 phone, and when that arrives I will try the same experiment to see whether it is a device specific problem.
> 0 votes

---
Tags: nexus, kindle-for-android
---


# Question
Title: Lineage OS : SD card as internal storage
I have set SD card as internal storage on custom ROM Lineage 14.1. Today, I have installed a official nightly, no issues during installation(on twrp, I cannot read external SD card). And, after reboot the file explorer, shows only internal storage(external SD shows only in Settings-\>Storage).

1. Do I need to migrate data to shared SD card, each time, after `Nightly` installation?
2. Earlier, when I set SD card as internal storage, I moved about 700+ MB to shared, and after nightly installation, it took 800+ Mb.
3. Some applications can't move data to shared SD card (Whatsapp, Flipkart, Google apps). I know that it is decided by the android system. How to move them, without using root or any other application.
4. TWRP Recovery sometimes rarely not showing external SD card.(TWRP version 3.1.0). How to solve?

# Answer
> 1 votes
After asking this question, I have installed two `nightly` on my device.

* March\_13 : lineage-14.1-20170313-nightly-armani-signed.zip
* March\_20 : lineage-14.1-20170320-nightly-armani-signed.zip

Now, I can finalize something about this.

1. You don't need to migrate data after each installation(nightly).
    * if it is a `clean` install(after factory reset), then you need to migrate data\`.
    * if you are installing another ROM, then you need to setup as new by formatting sd card.(backup before installation to avoid data loss)
2. Storage size may increase due to application `data usages`, but, you don't need to migrate it again.
    * If you are flashing another ROM, don't format internal storage(format these partitions /boot, /data, /system and cache. This adoptable storage cannot be used on the newly installed ROM, but it will be available during installation \[on recovery menu\]).
    * Also, if you're backing up current ROM, Adopted SD card data is also get backed up, but the app that uses SD card as storage will loss data after restore (You need to install those apps again).
3. System decides which applications should save data on external sd card.(usually system apps and Gapps can use only `internal storage`, some user apps can be moved to external SD )
4. External SD card speed is slower than internal storage. Also, it may be the bug of TWRP recovery, which will be solved in future new releases.

---
Tags: internal-storage, sd-card, lineageos, 7.1-nougat, redmi-1s
---


# Question
Title: System Set Permissions Accidentally, and is Corrupt
My phone's system folder at `/system` was corrupt. I accidentally set its permissions to `rw-r--r--`. Then, I reboot my phone, and nothing is working.
Here's what I mean:

1. 1st reboot: power off;
2. 2nd *automatic* reboot: automatically went to Recovery Mode;

When I reboot, it doesn't go to the Operating System. It just sends me to Recovery Mode.

Offline Charging is (I think) also not available. It powers on the device, but it doesn't play the Boot Animation (because the System Folder is corrupt), so it just send me to Recovery Mode.

What should I do? How could I set the permissions of the system folder back to its default state `rwxr-xr-x`?

I had think of 3 possible ways:

1. `chmod` the system folder using TWRP Recovery's Built - in chmod.

* I need to find the "Octal Code" of the permission `rwxr-xr-x`.
2. Install the stock ROM (in this case, CM 12.1) through recovery.

* I don't know if this one will work.
3. Wipe the System Partition, and install the ROM.

* I have no idea if this will work, or not.

# Answer
The problem is solved quickly after digging on TWRP, and found out that there is a restore option.

Luckily, I have a backup of the System Partition.

The ROM installed on my device was CM 12.1, which is running Android 5.1 Lollipop.

The backup system (pre - installed ROM) was the stock ROM, which is running Android 4.4 Kitkat.

Guess I should just install that CM ROM.

By the way, I could get into the Operating System now, but I have another problem, which I will post in an another question.
> 1 votes

---
Tags: system, file-permissions, samsung-galaxy-core-prime
---


# Question
Title: Periodic filesystem consistency checks are probably a good idea. Do current Android devices ever do them?
Let me start out by giving you some general background information. My actual question is at the very bottom of this post.

---

# Background, part 1: Journal replays vs. consistency checks.

Please assume that your Android device uses the ext4 filesystem for its internal storage, and the FAT32 filesystem for its removable MicroSD storage (if present).

On ext4, a "journal replay" is a partial filesystem check-and-repair operation which normally takes no more than few seconds. (Source.) The Android kernel does a journal replay whenever necessary. (Based on this source and this source.)

On ext4, a full filesystem consistency check takes longer. For an average Android device, it takes 12 seconds or so. (Based on this source.)

FAT32 is a non-journaling filesystem. So there are no journal replays. There are only consistency checks.

---

# Background, part 2: It's probably a good idea for your OS to do periodic consistency checks. Here's why.

Microsoft program manager Kiran Bangalore writes that there are certain cases in which a filesystem can become corrupted. On a journaling filesystem such as ext4, such cases are exceedingly rare. On removable MicroSD cards, I suspect that such cases are not so rare.

The usual way to check for such corruption is to configure your OS to run a consistency-check tool every so often. Such tools include `chkdsk`, ScanDisk, Apple Disk Utility, `fsck`, and others.

Even on ext4 storage built into an Android device, periodic consistency checks are probably a good idea. The `tune2fs` manual page explains why:

> Bad disk drives, cables, memory, and kernel bugs could all corrupt a filesystem without marking the filesystem dirty or in error. If you are using journaling on your filesystem, your filesystem will never be marked dirty, so it will not normally be checked. A filesystem error detected by the kernel \[may\] still force a \[consistency check\] on the next reboot, but it may already be too late to prevent data loss at that point.

(Note that, on Android, I think a filesystem error detected by the kernel will *not* lead to a consistency check on the next reboot. Android is strange that way.)

---

# Background, part 3: Here's what other OSes do.

### Windows

Windows Vista, and all later versions of Windows, include an NTFS self-healing feature. Kiran Bangalore therefore writes that, nowadays, Windows users no longer need to run periodic consistency checks anymore. He explains that the OS "will inform you when ... corruption is found".

### Windows 10 Mobile

Windows 10 Mobile is probably the third-most-popular smartphone OS. I think it uses NTFS. So perhaps it also can do NTFS self-healing.

### OS X

Mac OS X runs `fsck_hfs -p` during every boot. I don't know what this does. See the manual page.

### Linux

It's true that some ext4 developers say that periodic ext4 consistency checks aren't particularly useful. But other ext4 developers say that these checks improve safety and reliability.

In practice, when a filesystem is marked in error, Linux runs a consistency check at the next reboot. At other times, modern Linux distributions don't do automatic periodic consistency checks, ever. Those who want them must schedule these checks themselves.

### Android

Stock Android includes an ext4 consistency-check tool. As well, it includes a consistency-check tool which works on removable MicroSD cards of 32 GB or less (but may corrupt larger cards). Finally, your device may or may not also include `fsck.exfat` or `exfatfsck`, for running consistency checks on removable MicroSD cards of 64 GB or more.

But does the OS ever run any of these tools automatically?

### iOS

The iOS filesystem is normally either HFSX or APFS, and `fsck` is included with the OS. I don't know whether or not iOS ever runs automatic consistency checks.

---

# Here's my question.

Please consider the stock ROMs shipped with current Android devices.

Do such stock ROMs ever periodically run consistency checks, either on the internal storage device or (if applicable) on the removable MicroSD card?

(P.S. In cases where a device shuts down gracefully and has enough battery charge left, it's possible to run a consistency check at shutdown instead of at startup. But it takes some engineering effort to implement such functionality, and so operating system developers normally don't bother. I wonder what Android does.)

(P.P.S. I also wonder whether or not there exist *any* smartphones, running *any* OS, which do *any* routine periodic consistency checking. Again, please post comments below.)

# Answer
# Not-yet-released Android versions

There have been some recent improvements made to the Android source code.

The next maintenance release of stock Android will be either 7.2 or 8.0. In some future version of stock Android — either that maintenance release or a later release — Android will run the fsck -f -y command during every normal shutdown. This command forces a consistency check on the internal storage, no matter what. (Based on this source and this source.)

Hurrah! Considering that so few Android users ever do complete backups (e.g. Nandroid backups), I think that this may be a useful enhancement.

Unfortunately, I still don't know of any evidence that Android ever checks any removable MicroSD card.

The above answer is about stock Android. Still, I thank the CyanogenMod team and the LineageOS team for indirectly helping me to discover the above information.

# Running checks yourself

The above paragraphs refer to versions of Android which haven't been released yet.

If you're running an earlier version of Android, you can run an internal-filesystem consistency check manually yourself if you so desire. You must unmount the filesystem first, so you must be in recovery mode. See here.

# Checking your MicroSD card

If you have a removable MicroSD card, you should definitely check it on certain occasions, and also periodically. If you'd like more information, please see:
> 1 votes

---
Tags: data-recovery, storage, file-system, files, maintenance
---


# Question
Title: "Last seen" on WhatsApp for same contacts on different phones is not shown
I have 2 phones with 2 different WhatsApp accounts, not linked to each other at all.

Let's say I've got 3 contacts, contact X, contact Y, and contact Z on my WhatsApp profile "A" on phone "A", and the same 3 contacts on my WhatsApp profile "B" on phone "B".

* I can see contact X "last seen" time and date on the WhatsApp profile "A" on phone "A", but at the same time not see contact X "last seen" time and date on the WhatsApp profile "B" on phone "B" of mine.
* I can however see on WhatsApp profile "A" & "B" when contact X is online as both WhatsApp profiles "A" & "B" simultaneously indicate "online" when contact X is online.
* For contacts Y & Z, I can see the "last seen" time and date as well as "online" simultaneously on WhatsApp profile "A" & "B" on phones "A" & "B".

Why would it be that I can see contact X's "last seen" time and date on WhatsApp profile "A" but not on WhatsApp profile "B" while I can see the "last seen" time and date of contacts Y & Z on both "A" & "B" WhatsApp profiles?

Other contacts which are also on both WhatsApp profiles of mine, I can see the "last seen" time and date on both WhatsApp profiles.

# Answer
There is a setting, which allows you to control who can see your "read receipt" or your "last seen" (or a few other settings).

You find this settings under: WhatsApp \> Menu Button \> Settings \> Account \> Privacy.

Following settings are possible: Everyone, My Contacts, Private.

To summarize your described behavior: Your observed person must have one of your numbers in his contact list, and has selected "My Contacts" for this settings (regarding "last seen"). So you are able to see the "last seen" from the number, they have in his contact list. But not from your additional number

For additional information you can visit https://www.whatsapp.com/faq/en/android/23225461
> 2 votes

---
Tags: whatsapp-messenger
---


# Question
Title: Persistently or aggressively enabling Battery Saver
I love the Battery Saver feature. When I'm travelling or in other situations where reliable communication is more important than user experience, I want to always have it enabled, sometimes for days at a time.

However, Android automatically turns it off after the phone has been charged, requiring me to remember to go in and re-enable it after unplugging my phone. I occasionally forget.

Is there any way (including via third-party apps, excluding via rooting or jailbreaking the device) for me to automatically or persistently enable the Battery Saver, aside from the system's built-in options to enable it at 15% or 5% charge remaining? Alternatively, is there a way to leave it on indefinitely, or a way to have it automatically activate earlier (such as at 50% charge), or a way to activate it based on a schedule?

If there's no user-accessible way to do this yet, I would also be interested in knowing if there are any mechanisms in the operating system (URL schemes, framework APIs, relevant permission settings) that could potentially be used to control Battery Saver.

# Answer
is the preferred option. Many apps are available. I prefer using MacroDroid , since it is free (upto 5 macros) and easy to learn.

Macrodroid along with other applications like Wakelock Detector have made this possible for **non rooted device** using to grant `WRITE_SECURE_SETTINGS` permission to the app

Following actions are possible (quoting developer's post in the forums, accessible from within the app (10/01/17)

> Battery Saver
>
> Location Mode
>
> NFC Enable/Disable

You need to set up `adb` on your laptop

Once you have a working adb connection, you need to run the following command from the command line/terminal on your computer:

```
adb shell pm grant com.arlosoft.macrodroid android.permission.WRITE_SECURE_SETTINGS

```

---

Your macro would look like this

**Macro :** Toggle Battery Saver (name of macro as example)

**Trigger:** Empty Trigger

**Action**: Battery Saver → Toggle

**Constraints:** Leave blank

Once you save the macro, go to widget drawer of Macrodroid and drag the shortcut widget to your home screen, and assign to the widget the macro you have created. Press widget to toggle Battery Saver manually

Coming to your other requirement of activating Battery Saver at user defined percentage or on full charge, create another macro

**Macro :** Battery Saver on full charge or when I want (name of macro as example)

**Trigger:**

1. Battery Level → increases to 100 % ( full charge )
2. Battery Level → decreases to 50 % ( user defined limit )

**Action**: Battery Saver → on

**Constraints:** Leave blank

My device is rooted, so can't verify `adb` command but from user response it works and I had used similar command for Wake Lock Detector when my device was not rooted
> 1 votes

---
Tags: battery-life, stock-android
---


title: Volume up key to answer call

text:
# Question
Title: Volume up key to answer call
I'm running Android device on version 5.1 and my device doesn't have any buttons except power and volume.

I want my volume up key to answer incoming calls. Is there any exposed or any other method to help facilitate the ask?

# Answer
> 1 votes
Alternatively with Tasker;

**Now for the Task:**

*Task 1 Answering the call*

Create a named task :

Action: Phone \>\> Take Call

<sup>(click images for larger variants)</sup>

Exit out of the task.

Task 2

*Ending the phone call*

Create another named task:

Acion: Action: Phone \>\> End Call

**Create a new Profile**

State \>\> Hardware \>\> Button \[Next\] (which is similar to volume up) Check Stop Event.

For the second profile the proccedure is the same but this time a media button used is "previous" instead of "next".

Activate all profiles

Thats all.

# Answer
> 0 votes
is one option. Many apps are available. I prefer using MacroDroid , since it is free (upto 5 macros) and easy to learn.

---

Using `Power key`\- you can set how many times you want to toggle to answer, here it is 3 times

---

Using `Vol`

You can use either methods that suit you

---
Tags: calls, volume-control, buttons, volume, call-screening
---


# Question
Title: How to create a service without any /system/etc/init.d directory
I would to get a boot daemon service.

My android 6 device is rooted and I installed busybox pack on it. After remount my `/system` partition in read/write, I make `/system/etc/init.d` directory and I put my shell script inside. I rebooted my android device and the script didn't start alone. I checked the executable permission as well.

I browse the web around the question and I should modify my `/init.rc` file trough modify the `boot.img` file and this is a few complicate and `init.rc` seems target one file not a directory.

Is there an other procedure? Thank for your help.

# Answer
I found the solution here : How to Enable Init.d Support on most Android

That's worked for me
> 0 votes

---
Tags: boot, scripts, services
---


# Question
Title: Is Mobiwol incompatible with WiFi networks, e.g. my home network?
I recently installed Mobiwol, following this answer, but now, my WiFi doesn't work. I haven't blocked any system apps from accessing the internet, but still, no WiFi. I looked at the FAQ for Mobiwol, which states

> **Why Won't My WiFi HotSpot Work?**
>
> This is not a bug. WiFi tethering and WiFi hotspots are, unfortunately, not currently compatible with Mobiwol being enabled.

I might be unclear on the definition of a "WiFi hotspot," but my interpretation is that "when you have Mobiwol enabled, your phone cannot connect to WiFi," which doesn't seem correct. It's also strange because Mobiwol's page in the Play Store lists "Fixed WiFi and Firewall Loop issues ...", which makes it sound like WiFi should be working.

But, since my router and WiFi works on other devices, so it seems plausible that Mobiwol is the problem. If I disable it, the WiFi works.

Is Mobiwol incompatible with WiFi networks? Or does blocking something like the Google App prevent everything from connecting to WiFi?

# Answer
The incompatibility of wi-fi and wi-fi tethering is due to the way most "no root firewalls" work.

> Sometimes this depends on the Android version in question because some Android versions have a bug preventing tethering and the VPN service working together.

Some devices hibernate Wi-Fi, preventing tethering from working when the screen is off and this behaviour can be disabled in the advanced Wi-Fi settings.

Currently as it stands, it seems Mobiwol firewall still has no compatibility with wi-fi or wifi-tethering in which case I would recommend installing an **alternative no root firewall** e.g NetGuard.

Netguard **has confirmed support** for wifi-tethering as mentioned here:

> *Can I tether / use Wi-Fi calling while using NetGuard?*
>
> Yes, but this needs to be enabled in NetGuard's settings. Whether or not it works depends on your Android version because some Android versions have a bug preventing tethering and the VPN service working together.

You could also browse Izzy's F-droid repo with similar firewalls here: Internet firewalls and choose the one suiting your needs.

Reference
> 1 votes

---
Tags: wi-fi, 5.1-lollipop, firewall
---


# Question
Title: i want to know what app an icon belongs too... how can I find out
I would like to know how I find what app an icon relates to on top left of android phone please. Thanks :)

Looking for the second icon

# Answer
Tap and hold on the icon, it become draggable.

In the top(or bottom) you will see 2 options **remove** if it is on home screen or **uninstall** if it from the menu and **app info**. Drop the icon on **app info** and it will bring you the corresponding page in settings.
> 1 votes

---
Tags: applications, notification-icons
---


# Question
Title: What's an up-to-date method of getting S-OFF on a HTC One S?
All the instructions I can find for getting S-OFF on a HTC One S seem to be out-of-date.

I'm out of ideas. How do I get S-OFF on my HTC One S in this day and age?

(The only reason I want S-OFF is to install HBOOT 2.16.)

# Answer
I had: hbot 2.15, s-on, twrp 3.x cm12.

I tried:

* moonshine = told me to read
* rumrunner = told me to stop it on the 1st swig
* sunshine = I am a cheapskate, so no
* fre-something-can't-remember\_with\_soff.bin = couldn't get the bin and it needed super-cid and was just a bit too much of "could go wrong"

What worked for me:

1. Flashed MagioRom\_ONE\_S\_RC6.zip
2. Flashed the boot.img from that zip
3. booted the rom and disabled screen lock and fastboot
4. enabled dev/adb debug
5. let rumrunner do its work

Could be that rumrunner stalled for you because your phone asked for permission for the adb-connection. I had to flash the MagioRom because rumrunner seems to prefer a sense rom and cm12 was a bit to far along.
> 0 votes

---
Tags: htc-one-s, s-off
---


title: How do I tether with vpn on Lollipop?

text:
# Question
Title: How do I tether with vpn on Lollipop?
How do I tether with VPN on Lollipop?

I have root. I found the following guide, but don't fully understand the instructions. http://forum.xda-developers.com/showpost.php?p=33749904&postcount=10

In particular, *3) route traffic in specific tethering routing table 3a) see table for tethering (in my setup is table '60') yourprompt# ip rule show 3b) add your private address (myne is 172.16.0.0/16) to the tethering table yourprompt# ip route add 172.16.0.0/16 dev tun0 table 60*

What is my private address? Is this the ip the VPN service gives me or what?

Other guides, which is the right one? http://forum.xda-developers.com/showthread.php?t=2317841 http://forum.xda-developers.com/showthread.php?t=2668999 http://forum.xda-developers.com/showthread.php?t=1993689 http://forum.xda-developers.com/showthread.php?t=1944171

Would really appreciate help on this, thanks. Needs to be wifi tether, because I need to bridge my router to it.

# Answer
The guide you have mentioned is correct. Basically if you are rooted , whenever you wish you tether over a VPN you need to type the code in terminal **as su**

```
iptables -t filter -F FORWARD
iptables -t nat -F POSTROUTING
iptables -t filter -A FORWARD -j ACCEPT
iptables -t nat -A POSTROUTING -j MASQUERADE

```

and to route traffic in specific tethering routing table additionally need:

```
ip rule add from 192.168.43.0/24 lookup 61
ip route add default dev tun0 scope link table 61
ip route add 192.168.43.0/24 dev wlan0 scope link table 61
ip route add broadcast 255.255.255.255 dev wlan0 scope link table 61

```

basically android tethering interfaces uses a DHCP range 192.168.43.\* Notice the change of netmask from 255.255.255.0 (24bit) to 255.255.255.255 (32bit) allowing the **re-routing** of addresses (192.168.xxx) to `tun` interface (usually 10.1.xxx)

I use the same re-routing rules smoothly
> 1 votes

---
Tags: 5.0-lollipop, wifi-tethering, openvpn
---


title: Apps not being pushed to new device

text:
# Question
Title: Apps not being pushed to new device
Just got a new device, the Pixel. Had Samsung Galaxy before with a bunch of apps. That, in turn, was an upgrade from HTC. When I got it, all the previously installed apps were pushed to the Galaxy. I was expecting the same to happen with the Pixel, but nothing was pushed to it. The device is logged into the correct account and shows up as a registered device in the Play Store on the web. I can manually push apps to it and they install. But I have hundreds of them and was expecting them to install automatically. Why did they not? Is there a way to force it?

# Answer
> 2 votes
Depending on when you purchased your previous devices, you restored the devices during the initial setup window.

When booting up an Android device after a factory reset, you're greeted with the `Setup` app.

During this process, you add your Google account. In most cases, there is a link to restore your device, which will install apps associated with the google account to your device.

If you have yet to apply large amounts of data to the device, factory reset it so you go through the initial setup again, and look for a restore option.

If this doesn't show, no previous installations can be found, and you'll have to install apps manually.

---
Tags: google-play-store
---


title: adb option like fastboot -i <vendorid>?

text:
# Question
Title: adb option like fastboot -i <vendorid>?
Hi I was wondering if there was a command similar to fastboot's `-i` in adb. I'm currently trying to find my device in adb, but I could only target the device in fastboot with `-i` and the vendor id (I got it with `lsusb -v`) and got nothing in adb. I added:

```
SUBSYSTEM=="usb", ATTR{idVendor}=="0x1f3a", MODE="0666", GROUP="plugdev"

```

to `/etc/udev/rules.d/android-51.rules` to try and get it to come up in adb but nothing came up in the devices list (I saw on a tutorial that it would make the device show up). Thanks!

# Answer
> 0 votes
This should work pretty fine: `lsusb` (Windows)

and

`lsusb -v` (Linux)

---
Tags: adb, fastboot
---


# Question
Title: Can't access internal storage from normal system but I can in TWRP?
I have Lenovo K3 Note and I flash NEXUS-V2.5 rom. System works fine I think but I can't access anything through file managers,sdcard, sdcard0, sdcard1 are empty, but they have files on them, which are available when I boot in TWRP. TWRP version is 2.8.6.0. When I try to push files from adb I get error `Read-only file system`. adb works fine in recovery.

# Answer
Try to execute following commands via ADB if you are rooted (in what I strongly doubt):

```
adb shell
su
mount -o remount,rw /system

```

or

```
adb shell su -c "mount -o remount,rw /system"

```

After that your `push` should work.
If you are not rooted, you will fail on the second command. If so firstly you should acquire root on your phone.

What concerning your question about customs ROMs/recovery: most custom ROMs already contain root patches. However, flashing TWRP has nothing to do with root and is done separately.
> 0 votes

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


title: What's in Chrome's data?

text:
# Question
Title: What's in Chrome's data?
I'm running stock 4.1.2 on a Wolfgang AT-AS43D4 (not rooted). According to *DiskUsage*, I have about 755 MiB app storage in total, of which I have currently around 100 MiB free space left, so I try to keep the internal storage as empty as possible.

I see Chrome taking up 94.4 MiB, (134 MiB after the latest update) of which about 24.3 MiB is data (up to 28 MiB by now).

My question is twofold:

What is in there? What does Chrome keep there that's ~~almost~~ over 25 MB big?

How can I *selectively* clean that? I can delete the data wholesale, but I don't want to. Is there any other way? I tried various options in Chrome, but couldn't find anything useful.

---

Edited: a previous version of this question mentioned an `insufficient memory` error. This had little to do with the question; I was conflating RAM and app storage.

# Answer
> 3 votes
It contains:-

* Resource files for Chrome itself. These are really part of the app, but they're downloaded by Chrome itself so the APK doesn't need to contain all the resources for all locales, and to make them easier to update.
* Local storage for websites that use the HTML5 local storage feature. For some sites (e.g. Twitter) this can get quite large.
* All your preferences, just like any other app. This amounts to a few KB.

# Answer
> 2 votes
Well, "insufficient memory" sounds like you're having problem with your memory(RAM), not your storage space.

DiskUsage is a very good tool, but it only checks disk space and not your memory(RAM) usage.

I just checked out the specs on your phone, and you have 512mb memory(RAM). That's 1/6 of what i have got on my phone, Samsung Galaxy note 3 with 3000mb memory(RAM).

I know it can be confusing with the terms when reviewers and everyone use memory, sdcard, storage and ram very loosely. I use the same terms people use on computers.

My chrome application is currently using 91mb of storagespace as "data". I believe that chrome is just storing pictures and tempfiles for the open webpages in data, along with your settings, passwords and so on. You can at any time go into the settings on your android menu, choose "applications", find "chrome" and delete data. Your Chome application will then act like you just installed it. You can try to see if this helps. and it might help for some time.

I think the main problem is that you don't have enough memory(RAM) on your device, and running a almost new os(4.1.2).

If you compare your phone with my previous phone, Samsung galaxy S2 as it was released in 2011 and has twice as much memory(1000mb RAM) as your phone. This phone came with Android 2.3. which does not require as much as newer versions.

I looked up on your os, Android 4.1.x, and the minimum requirements are as following:

> 7.6.1. Minimum Memory and Storage
>
> "Device implementations MUST have at least 340MB of memory available to the kernel and userspace. The 340MB MUST be in addition to any memory dedicated to hardware components such as radio, video, and so on that is not under the kernel's control."

*Source: http://static.googleusercontent.com/media/source.android.com/no//compatibility/4.1/android-4.1-cdd.pdf*

This won't give you much left to other applications.

Well, i think that Chrome also have a share of the blame, as this is no lightweight browser. To solve the problem then I'd first try to set for another browser that is lighter. I would, for example, try "opera browser", which is designed to use as little data traffic as possible and to run on slow phones. The browser also has a feature that allows when you're phone is asking for a webpage, it will fetch the entire page onto Opera's servers and compress images before the webpage is sent to your phone. This means that the images are not displayed in full quality, but since the screen of a cell phone much smaller than on a pc, its just as well. Since the images is compressed, and use less data traffic, it will also use less space on the cellphone's storage-temp-space. Hopefully, this will solve your "insufficient memory" problem.

I hope this helps :)

# Answer
> 0 votes
In dealing with the limited 8GB of RAM in my Samsung Tab 4 7.0 disk space used by app data, caches, downloads, et al, affects the RAM/internal memory available to run programs(apps) and even the OS itself. I may have some of the official names and labels wrong but the bottom line is that the Windows model of internal RAM, hard drive space and virtual RAM does not exactly apply to the Android OS as there is no physical hard drive

Settings|General|Store|Device Memory lists: Total space 8GB System memory@ 3.28GB Used space 4.14GB Cached data 11.46MB Misc files 125MB Available space 460MB

Under Settings|General|Application Manager it lists: Device memory 4.3GB used / 469MB free RAM 1.0GB used / 230-290MB free@@

@ "The minimum amount of storage space required to run the system" @@ The numbers varied as I switched between apps and the screens in Setting while composing this post in Evernote

In any case I definitely wish that we could delete the huge Internet cache in Chrome without deleting our personal settings and passwords. :-(

I will try the Incognito mode in Chrome 46.x.x (I run older versions of Chrome which work fine with KitKat.)

sssteeve

P.S. All of this is based on my own observations in dealing with the limited RAM on my Samsung tablet. I dl a lot, saving articles, etc., so I am *always* freeing up disk space just to avoid those nasty messages about having insufficient space available. :-(

# Answer
> -1 votes
It turns out that all of the data Chrome stores is actually the Internet Cache. If you look at the Desktop counterpart of Chrome it regularly stores ~100+ MB of Internet Cache.

**I have done some experiments**: I have cleared the cache and ran chrome without browsing to any sites: Just started it It did not grow very big ~5MB or less.

*BUT* when I did browse to sites got big very fast. I have a Nexus 7 v1 and a ZTE 665c and both replicated the same results.

This is typical of Google Chrome and the Internet cache. What I would recommend to you is getting a better Storage medium *if you can*. If not then I would recommend to browse in private mode because it keeps the internet cache to a minimum.

Here is some interesting facts on what is deleted. I know that is for the desktop version but most of it applies to the mobile version. https://support.google.com/chrome/answer/95582?hl=en

*And as `Dan Hulme` Said it also stores this data: It also contains:*

> * Resource files for Chrome itself. These are really part of the app, but they're downloaded by Chrome itself so the APK doesn't need to
> contain all the resources for all locales, and to make them easier to update.
> * Local storage for websites that use the HTML5 local storage feature. For some sites (e.g. Twitter) this can get quite large.
> * All your preferences, just like any other app. This amounts to a few KB.

To wrap it all up the main offender is the internet cache. The websites that you visit also give you extra files as stated above and last but not liest are the settings. The give you only a few KBs but it all adds up!

Have a great day!

---
Tags: internal-storage, chrome-for-android
---


# Question
Title: How to Force Stop multiple apps at once?
My HTC One X+ with Android 4.2.2 suffers a lag pretty often and I don't like that. Sometimes I cannot even unlock the phone because screen doesn't come up.

I noticed that when I force stops all other apps (besides the one I am using) when phone lags, it runs smooth. I have lot of apps installed so going to Apps then selecting the app and then force closing it takes a lot of time.

I am looking for a way where I can force stop multiple apps at once.

# Answer
Greenify is also an app that can help you in this problem. It is one of the best task killer and battery saver app that I tried.

Greenify's link on Google Play
> 1 votes

# Answer
There is also 3c toolbox pro, a complete package with various tools. One tool is Task Manager that allows you to **kill** an app or **force-stop** an app. The latter does what you need.
> 0 votes

---
Tags: applications, 4.2-jelly-bean, force-stop
---


# Question
Title: Where are IP addresses stored on Android?
Where are IP addresses stored on and Android device? In what location on disk, or otherwise; how are they stored?

# Answer
I have found the answer myself. At least for the device I am using here. All settings are stored in an Sqlite database as a file on the filesystem. Check out this thread on how to manipulate that database:

Is it safe to edit settings.db in Android
> 0 votes

# Answer
Under Settings, Wi-Fi, , Modify Network, Advanced Options, IP Settings, you should have a choice of Static or DHCP. Choosing Static adds input boxes for IP address, Gateway, Network prefix, and DNS.

If you don't have this, I suggest trying a third-party app such as WiFi Manager.

Finally, if you're really talking about where in the filesystem this is stored, it's in `/data/misc/wifi/ipconfig.txt`, and is managed by the `WifiConfigStore` class. This is not a public API and is only used from class `WifiStateMachine`. However, you can find out the format of this file by viewing the source: WifiConfigStore.java.
> 3 votes

---
Tags: settings, ip-address
---


title: Formatting a Corrupted microSD

text:
# Question
Title: Formatting a Corrupted microSD
Received a 128gb Samsung Evo+ microSD card that had originally been encrypted or used as adopted storage on another android device.

Current partitions, gpt table

> /dev/mmcblk0p1 android\_meta 16.00 MiB; /dev/mmcblk0p2 android\_expand 119.74 GiB

I tried formatting it through android with no success, so moved to a pc with a card reader. Windows detects the partitions but formatting and re-partitioning is unsuccessful. Diskpart ends in successful readout, but after ejecting and reinserting the disk no changes have taken effect.

Under lubuntu, using gparted, usually results in a

> i/o error during write on /dev/mmcblk0

and

> error fsyncing/closing /dev/mmcblk0: i/o

Fdisk shows successful readout, but still not operational. Wrote 0's to the disk using dd and then tried again in gparted and same errors.

Any other ideas? Is the SD card shot?

# Answer
> 0 votes
run the diskpart command from an elevated windows command prompt. type "list disk" type "select disk #" (get number from list disk command) type clean

---
Tags: 6.0-marshmallow, external-sd, adoptable-storage, formatting, disk-encryption
---


title: Android Wear system updates origin

text:
# Question
Title: Android Wear system updates origin
Are the system updates for Android Wear coming from Google or from the watches vendor?

I've tried to Google this information, but I found nothing on this topic.

# Answer
The updates for Android Wear OS are released by Google.

As depicted in the image below. Find the source of image here

Hope this satisfies your query.
> 1 votes

---
Tags: android-wear
---


# Question
Title: Enable OEM unlocking and unlock bootloader on an HTC device
Recently I bought HTC Desire 530 phone from the Facebook Marketplace and have been tricked with a demo phone. It's a new phone, not even a scratch, but i demo keeps popping up every 30 seconds. I want to root it and install a fresh stock ROM but can't unlock the bootloader.

Click images for larger variants

I followed several tutorials on YouTube and XDA but couldn't get it working.

How to OEM unlock and unlock the bootloader for this device?

# Answer
You need to sign up as a developer to unlock an HTC bootloader.

There's a full set of instructions on XDA

> 1) Visit htcdev.com and unlock your bootloader -sign up as a dev, activate your email, and follow the steps
>
> 2) Download twrp from the app store. You won’t be able to run it yet but you still need it
>
> 3) Put the supersu zip file from your computer into your download folder of your phone
>
> 4) Get fastboot & adb running on your computer.
>
> * open cmd prompt
> * navigate to the fastboot/adb folder in your cmd prompt
> * with your phone plugged into your computer type “adb devices”
> * if it returns your device good
> * now in cmd type “adb reboot downloader” (you can also do this by powering off your phone then turning your phone on by holding the down volume button and the power button at the same time.
> * once you are in the downloader type “fastboot devices” in cmd
> * if this returns your device good
> * DO NOT GO ANY FURTHER TILL THIS IS WORKING!!! 4)Once your phone is in the rebooted downloader screen type “fastboot flash recovery ”
> * make sure you are on the downloader page and not the bootloader page
> * this should end in .img
> * this is a second boot screen for your phone. The first time I did this recovery wasn’t working because I was trying to fastboot on the bootloader page.
>
> 5) Now boot into recovery mode by navigating to it on your phone or using the cmd “adb reboot recovery” \- Once you are here you will see the twrp screen
>
> 6a) The way I did it is going into the twrp recovery boot and going to install and choosing the supersu.zip file I moved to my phone in step 3. After it is done reboot your phone and now you are rooted.
>
> 6b) The other way is to go to advanced in twrp and enable sideload \- now in cmd type “adb sideload ”
>
> 7) If you need to turn S-OFF install sunshine on your phone and it will do it. \- You need to have your phone rooted first to turn your S-OFF with sunshine
> 0 votes

---
Tags: root-access, htc-desire, bootloader-lock
---


title: What is Gapps (Google Apps)?

text:
# Question
Title: What is Gapps (Google Apps)?
I have some questions regarding Gapps:

* What is Gapps? Is it a custom ROM?
* Do I have to install it on my Android 4.4 device?

# Answer
GAPPS is not a custom ROM. It means "Google Applications" and usually includes Play Store, Gmail, Google Calender, and more. If you have some of these applications, then you already have some GAPPS.

Most users will only need to install GAPPS if they have installed a custom ROM that did not have GAPPS included.
> 3 votes

# Answer
"GApps" is an unofficial package distributed in several forms and places containing Google applications and frameworks, **not a ROM**. You don't *have to* install GAPPS, but many users may wish to do so in order to access Google Play store and some applications that depend on Google Play services. Smart phone functions such as calling, SMS messages, internet, Wi-Fi and Bluetooth work without GApps.

There's a replacement project MicroG in development and F-Droid is a comprehensive repository and "app store" for open source Android applications.
> 3 votes

---
Tags: applications
---


title: Help with gmail?

text:
# Question
Title: Help with gmail?
I know I'm going to sound very silly because I'm not very good at all this. I only became a teenager last week... Anyway, a couple of weeks ago, my mom got a new phone. She said I could have her old phone because I wanted to get a game that wasn't available to download on my iPad. But today, I wanted to change the gmail on the phone and change it to mine, so I set a new one up like 30 minutes ago. I went into settings and I signed out her Gmail from the old phone ( her gmail wasn't synced and I don't know what that means haha because I'm a silly person ) I went into Gmail app and I noticed that ALL OF HER EMAILS WERE ON MY NEW EMAIL :( Did I delete her account and change it to mine? I don't know what to do. I don't understand. This is probably stupid to you guys but I'm afraid I did something bad. Please help me. I'm actually scared I did something wrong to it. Please reply in a easy way how to fix it because I'm not good at all this stuff. Thank you :)

# Answer
First, you are not stupid at all, the fact that you don't understand something is not a reason for stupidity, is just you don't have knowledge about it.

And there is no problem with the Gmail account, the mails you are seeing are stored in your phone, accounts are never lost since they are in Google server.
> 2 votes

---
Tags: samsung, gmail
---


# Question
Title: Can I use my PC as an audio device for my Android phone?
I know it is possible to play music from my Android using the PC as the output device. This takes place over the local Wi-Fi network. However, the solutions given here don't work for me, since they are limited to playing music files, and one isn't even available in my country.

Is there a way for me to connect the Android and the PC, such that *all sound* the device generates from *any application* uses the PC as the output device?

I do *not* have Bluetooth on my PC, though I'm aware that if I did, I could probably use that.

I have Jelly Bean 4.1.2 on a rooted Droid RAZR MAXX, so solutions requiring root are OK. Though I would rather not replace the firmware if I can avoid it. It's also OK if the solution involves the USB cable.

# Answer
> 1 votes
A good app for this is BubbleUPnP for DLNA/Chromecast

Unlike other media server apps, it supports a lot of devices:

* Chromecast, Chromecast Audio, Nexus Player, Nvidia Shield, and other Google Cast devices
* DLNA TVs and music receivers from popular TV and HiFi brands
* Xbox 360 and One, Playstation 3 and 4(\**)
* Amazon Fire TV and Fire TV Stick
* local Android playback

It possess both **media servering** and **rendering** functionalies so your audio will be pushed to the playback DLNA device e.g TV and can do vice versa.

Unfortunately you'll need root to enable Audio Cast, and the popular Xposed Framework tool BubbleUPnP (Audio Cast) as well. You don't need to download an extra module - the Xposed module for Audio Cast is included in the standard BubbleUPnP app.

Credits

1. BubbleUPnP

---
Tags: audio, streaming
---


# Question
Title: Why does my nexus 6p goes black after call is answered
when I make or recieve a call as soon as I click the call or answer button the screen goes black. And I can't hear anything thru the ear speaker. However, when I put it on speaker it stays normal. What can cause this issue?

Thank you for your help guys

# Answer
Your phone has an hardware issue. The proximity sensor is broken or is covered.

But before, did you put a screen protector, such as tempered glass, may it doesn't have proper cutouts.

As a workaround, I'd suggest you set up the power button to end calls **(Settings -\> Accessibility -\> Power button ends call).**

You should consider taking the phone to a repair center if the above don't work.
> 0 votes

---
Tags: calls
---


# Question
Title: How can I remove a System App from my rooted phone?
I have rooted my device, and removed several System apps successfully, including this one. However, I then accidentally restored this particular app and now I seem to be stuck with it.

I've also tried deleting it's file through a few File Management apps, but to no avail.

The problem is, I think, that when it was restored, it was restored as a System App for the root, rather than as the regular system app that could be removed, that it was originally. If this is the case, is it worth trying to unroot my phone?

This app that I'm trying to remove is YouTube, by the way.

Any ideas?

# Answer
Likely it's because the application your trying to remove is refusing to let it's services die gracefully. The trick I use involves `ROM Toolbox` and works for most applications including the last time I had to uninstall YouTube. I'm using the paid version so some features described my not be available in the free version.

If using ROM Toolbox, then click the applications manager within it and select `Freeze` before selecting `uninstall` and the application will be forced to quit and not able to start again. However, do be sure to make a full backup of your whole phone either though custom recovery or ADB because if you freeze some applications (other than YouTube) it'll cause your phone to barf or bootloop until restored.

Additionally some applications will still have some hooks still running after uninstall so reboot to have that flushed from memory.

Lastly don't go using this *freeze ray* trick on system applications because that'll often cause bootlooping and other issues. If you do freeze system applications and the device still operates then don't uninstall the frozen system app because this can also cause bootlooping when system integrated apps try to access the uninstalled app.

Apps I know cause issues (some more than others) when frozen are; stock messaging, play store & service, phone application (even on tablets), clock and system; don't ever freeze the system or UI app unless you like restoring from backup.
> 0 votes

# Answer
Have you tried rebooting the device? Also you can try removing the app with Purify if you rooted your device with KingRoot
> 0 votes

# Answer
Try using the bloatware removal function hidden somewhere in the settings or so. It might solve the problem.

EDIT: Titanium Backup -\> Main menu -\> Preferences -\> Bloatware Melter
> 0 votes

# Answer
there is an app called System app remover(ROOT) on the play store , which enables you to remove any system app. also it gives you backup to restore it anytime. don't forget to restart android after uninstalling app since , it requires restart to take effects. i am providing you the link:

https://play.google.com/store/apps/details?id=com.jumobile.manager.systemapp&hl=en
> 0 votes

---
Tags: rooting, root-access, system-apps, bloatware
---


# Question
Title: How can I get the IMEI on Lollipop and upper with ADB?
I'm trying to get the IMEI with this command "adb shell dumpsys iphonesubinfo" but is not working. Also I try this: adb shell service call iphonesubinfo 1 but neither

How can I resolve it?

# Answer
> 1 votes
My final solution for that was to create an Android application that subtracts the IMEI because some version also had the same problem.

Therefore, I make a request with the common way `adb shell service call iphonesubinfo 1` else I run the sentences that install the android application `The plugin`, subtract the IMEI then uninstall it

---
Tags: 5.0-lollipop, adb
---


# Question
Title: How can I prevent long hold backspace from deleting everything?
If I am holding down backspace to delete several words, if I hold it down for more than about a second, it will delete everything until the beginning of the line. I would rather it just keep deleting words at a constant pace. I feel like I am working around this "feature" more often than I am using it, ie, I want to delete everything except the first word on a line, and I end up holding backspace for just under a second, waiting, holding it again, waiting, holding again, etc.

The most common occurance is when I want to delete everything after a slash in a web address.

# Answer
This is not possible without using a 3rd party keyboard, specifically SwiftKey

> .. If you continue to hold the backspace key it will speed up.
> **When Gestures are enabled:**
> As well as the same functionality as above, you can additionally delete the last word you type by sliding your finger across the keys from right to left.

Source - SwiftKey support
> 2 votes

---
Tags: 6.0-marshmallow, samsung-galaxy-s-5
---


title: Verizon Email Sign-In Failed

text:
# Question
Title: Verizon Email Sign-In Failed
This error message is for a Verizon email account on a Samsung Galaxy S5 phone. This afternoon it started saying the password changed and wanted me to put the new password in, but I did NOT change my password. So I have no clue. This isn't the first time this has happened. I don't remember what fixed it the other times.

Is it a Verizon issue or my account or my phone? So frustrating to keep hearing the notification over and over.

# Answer
> 0 votes
Have you tried to call Verizon? If not, it might help. Also, try clicking forgot password.

---
Tags: email, password, verizon
---


title: How do I install a user certificate?

text:
# Question
Title: How do I install a user certificate?
I have my own Root certificate that signs user certificates.

I have a site that will only allow you on with a user certificate which is signed by the root ca.

I have managed to get this site working in Ios and Windows, but just can't get it working from Android (4.2.2)

I have tried many different methods of importing the certificate including converting between formats - I get as far as it being recognised and "installing", but, it never actually seems to get installed or be visible anywhere (checked under trusted credentials \> user).

I have read here and the only solutions seem to involve downloading/modifying files and reuploading then restarting - or to have modified firmware/similar.... I really want a supported way of doing this and don't really want to consider a hack as I need a scalable solution.

# Answer
> 2 votes
From StackOverflow: How to install trusted CA certificate on Android device?

> I spent a lot of time trying to find an answer to this (I need Android to see StartSSL certificates). Conclusion: Android 2.1 and 2.2 allow you to import certificates, but only for use with WiFi and VPN. There is no user interface for updating the list of trusted root certificates, but there is discussion about adding that feature. It’s unclear whether there is a reliable workaround for manually updating and replacing the cacerts.bks file.
>
> Details and links: http://www.mcbsys.com/techblog/2010/12/android-certificates/. In that post, see the link to Android bug 11231 --you might want to add your vote and query to that bug.

11231 was closed in November of 2011 and the status was **Released** for Android 4.0 ICS.

Here are the notes associated with the **Released** status:

> ICS does attempt most if not all of the items in this issue. If I missed anything, I'll open more specific issues to address the gaps.
>
> Some details below, I plan a more formal blog post later. The following should all be visible in the Android 4.0 SDK if you want to try them out and give feedback.
>
> Changes in Settings:
>
> * system certificate authorities (CAs) are now visible in Settings \> Security \> Trusted Credentials.
> * system CAs can now be disabled and reenabled
> * users can install their own CAs from Settings \> Security (as well as other mechanisms such as via browser or opening from email attachment.
> * user CAs can be viewed and deleted in Settings \> Security \> Trusted Credentials
> * instead of a separate 8 character PIN for credential storage, access is now controlled via the lock screen
>
> New KeyChain API
>
> * KeyChain.createInstallIntent allows applications to request credential installation in, basically making public the interface used by Settings to request installation. users need to confirm installation requests as before.
> * KeyChain.choosePrivateKeyAlias/getPrivateKey/getCertificateChain allow applications to request private keys and their associated certificates for application use. a common use case would be for client certificate authentication with https.
>
> Email
>
> * Email now uses the KeyChain API to allow client certificate authentication for Exchange accounts
>
> Browser
>
> * Browser will now use the KeyChain to prompt for a client certificate when the server requests one for authentication.

In March 2014, an enhancement request was created Allow users to install own CA certificates.

> Many users (including companies) use self-signed certificates for SSL/TLS, either because they don't want to pay for it or because they just don't trust other companies and want to do it themselves (actually, there's no reason to buy a certificate when it's not required that anonymous Internet users trust your server).
>
> At the moment, it's possible install a custom CA certificate in Android, but it's detected as "user certificate" which seems to be intended for client-side certificates. As a result, these certs are shown as "user certificates" in the GUI and since Android 4.4, a terrible "Network may be monitored" has been implemented.

# Answer
> 2 votes
Go to Settings \> Security \> Credential storage \> Install from SD card. If it's not there you may need a newer Android version or a workaround which I don't know about.

# Answer
> 0 votes
You can install root certificate given by site on android. Go to the Setting in your Android Phone , tap on install credentials from SD card .

Make sure to download certificate in your SD card

---
Tags: certificates, https
---


# Question
Title: If i root my htc 0pcv1 will anything erase? Also how do i safely root my andriod?
This is exactly what my device look like. I am rooting my device because I only have 4gb and I dont have space for apps and games I want.

# Answer
> 0 votes
Rooting your Android does not erase data but it is recommended that you should take backup prior root, just in case you do not root properly which might lead to locking your motherboard.

Please note that

1) Rooting might void your phone's warranty.

2) You won't receive OS update through OTA.

3) If rooting is not done properly, your device becomes bricked.

Rooting has n number of advantages too, but please research thoroughly before doing it. This article might help you. Good luck :)

---
Tags: rooting, htc
---


title: Android Several Hotspots Connection

text:
# Question
Title: Android Several Hotspots Connection
It is possible to connect to several Android HotSpots at the same time ?

# Answer
> 2 votes
You cannot connect your android to two wireless connection at a time, as of now. You can do so in your PC or Mac using USB WiFi Adapter.

But if you have mobile internet and a WiFi connection, you can combine both using an app called VideoBee. But as the name suggests, this app is only meant for streaming videos. Learn more about VideoBee here

Hope this helps.

---
Tags: wifi-hotspot
---


# Question
Title: Low battery temp and wont charge galaxy note 5 after phone got wet
The top of my Note 5 was wet, I dried it off and placed the phone in rice. 2 days later it began working again, 2 days after that I received the error msg that charging is paused due to battery temp too low. What can I do?

# Answer
> 1 votes
It depends. If this is a phone where the temperature sensor is within the battery, the battery can simply be replaced, but that does not guarantee that this is the only issue. If the sensor is in the motherboard or another piece, the phone is likely permanently damaged and will need to be replaced.

# Answer
> -1 votes
Try changing the charger port in service centers or try to keep the phone in normal temp.

---
Tags: battery
---


# Question
Title: Galaxy S7 Nougat--When charging, screening keeps coming on
Recently upgraded to Nougat on my Samsung Galaxy S7. Only issue is that when i am charging , the screen keeps turning on to show it is charging, then goes dark, then turns on again. The only way to mitigate, is to turn on the screensaver when charging. any thoughts?

# Answer
> -1 votes
Try checking "Stay awake" in developer options which makes the screen never sleep while charging.

---
Tags: samsung, 7.0-nougat, samsung-galaxy-s7
---


# Question
Title: How to stop the person using my stole phone what app?
Since my phone been stolen..I already blocked my phone..so the new SIM card resend back..when I install at new phone.i find out my what app still been use...so what should I do now?

# Answer
> 0 votes
Sign in with your number in another phone then the other person won't use your account anymore. WhatsApp can only be used in one phone at a time

---
Tags: 2.3.3-gingerbread
---


title: Samsung devices: dual networking

text:
# Question
Title: Samsung devices: dual networking
I have the following setup: a Wi-Fi device which is NOT connected to the internet, like a drone or IoT device. The data of the device shall be uploaded to the internet.

While it is possible to connect to both networks within an app using the `ConnectivityManager`, it is not possible to use the mobile internet outside of the app. The devices have Android 6.0 or higher, so it should be actually supported by the Android system. But it seems to me, that Samsung did not implemented that support.

How do I use the mobile internet for instance to receive mails or push notifications while I am connected to a Wi-Fi which has no internet itself.

Thanks.

# Answer
> 3 votes
Similar questions have been asked here:

However due to the bounty description I will try to aggregate these facts and expand a bit since the answers were not marked as accepted.

Short answer it is possible to have dual networking but workarounds differ slightly.

---

1. From this source : Switch seamlessly between WiFi and Cellular with Multipath-TCP You can make use of Multi-TCP.

Multipath TCP (MPTCP) is Multipath-TCP is an extension to TCP that allows the parallel usage of multiple Internet connections. Multipath-TCP is already implemented for the Linux Kernel, but not yet integrated into the official upstream kernel.

The source code (and some precompiled kernels, including Android builds) can be found here: http://multipath-tcp.org

Extra source with reference to Samsung device: MPTCP on Android Devices , and MultiPath TCP - Linux Kernel implementation.

---

2. In another source, enable wireless and 4g at the same time Users claim they were able to enable dual networking with the following workaround (quoted):

1. Turn off wifi in the normal way (from the phone's user interface) if it's not already off.

All the following steps done in a root shell:

2. load the drivers

    `busybox insmod /system/lib/modules/cfg80211.ko
    busybox insmod /system/lib/modules/wlan.ko`
    3. start wpa\_supplicant to connect to the first available wireless network. The `wpa_supplicant.conf` file I list below is the one maintained automatically by the phone as you join new networks. If you want more control (e.g. connect to only a specific network), copy the `wpa_supplicant.conf` file somewhere, modify it as needed, and specify it on the command line.

`wpa_supplicant -B -Dnl80211 -iwlan0 -c/data/misc/wifi/wpa_supplicant.conf`

4. dhcpcd

`busybox pkill dhcpcd
 rm /data/misc/dhcp/*
 dhcpcd wlan0`

5. verify route

`busybox route`

For me this is showing the original default first on the list (goes through rm`net_usb0`) followed by the new one configured for the wireless lan `wlan0`. Traceroute shows the traffic going out the first one.

Now, at this point if you try to enable wifi normally from the phone it will not work. To make it work:

`ifconfig wlan0 down
 ifconfig wlan0 unplumb
 rmmod wlan
 rmmod cfg80211`

And you can turn on wireless again

Alternatively with script:

```
# enable dual-networking:
pkill dhcpcd
svc wifi disable
svc data enable
netcfg wlan0 up
cd /data/misc/wifi/.
wpa_supplicant -B -Dnl80211 -iwlan0 -c/data/misc/wifi/wpa_supplicant.conf
dhcpcd wlan0
ip route add x.x.x.x via x.x.x.y # add any desired local route

# disable dual-networking:
ip route del x.x.x.x/x via x.x.x.y
pkill dhcpcd
pkill wpa_supplicant
rm -rf /data/misc/wifi/wlan0
netcfg wlan0 down
svc wifi disable
svc data disable

```

(A script runner is needed to run these scripts and root; you can get one here: SH Script Runner

And they noted:

It works perfectly but note that you don't actually see the wifi icon turning on, but if you run `netcfg | grep UP` you will see that the `wlan0` interface is up and running (as well as the `rmnet_usb0 mobile data interface`, both of them will be up and will have the expected IP addresses) and you can access your local LAN while your mobile data 3g/4g whatever provides your default route to the outside world.

---

3. Other workarounds:

Using Super Download Lite

The developers of the app claim that it has the ability to perfom dual networking on android devices by combing 3G/4G and Wi-Fi networks.

---

4. Modifying the routing table

Another source: http://ironings4.rssing.com/chan-3701516/all\_p2.html.

Provided details on creating a bash script in order to modify roting table to allow both 3G/4G work with Wi-Fi. Here is the script:

```
pkill com.android.phone sleep 30 route add -net 10.0.0.0 netmask 255.0.0.0 dev ppp0 route add -net 15.0.0.0 netmask 255.0.0.0 dev ppp0

```

*The above is an example for a couple of address ranges to redirect to 3G connection to the routing table via linux shell for using INTRANET via `ppp0` for a few address ranges, while all the other destination addresses normally go via Wi-Fi.*

The trick here is to force an application on the phone (or maybe it is a service, `called com.android.phone`) probably related to 3G radio interface to crash while you are connected to wifi, the 3G signal indicator will go down for a few seconds and soon after it will return to normal but this time with both H(SDPA) and Wifi icons showing on the notification area on the upper right of the screen.

---

5. In another article: Let WiFi and 3G connection work together by hacking ConnectivityService.java (migrated to XDA forums) The offered how to accomplish the task by hacking connectivity service:

Fully quoted:

“The goal of COIN project is to use WiFi and 3G connections simultaneously. So it conflicts with the policy of Connectivity Service, but there is no configuration to edit the policy, and it is hard coded. You can find the clue in ConnectivityService.java:handleConnect function.

Our current solution is quite brutal, which is to mask the eyes of Connectivity Service by modifying its message handler entry like the following:

```
// must be stateless – things change under us.
 private class MyHandler extends Handler {
 @Override
 public void handleMessage(Message msg) {
 NetworkInfo info;
 //added by COIN to disable Connectivity Service
 int networkState = 8; //not any following state
 /*use static google dns server for wifi and 3g*/
 if (msg.what == NetworkStateTracker.EVENT_STATE_CHANGED) {
 SystemProperties.set(“net.dns1″, “8.8.8.8″);
 SystemProperties.set(“net.dns2″, “8.8.4.4″);
 bumpDns();
 }
 //////////////////////////////////////////////
 //switch (msg.what) {
 switch (networkState) {
 case NetworkStateTracker.EVENT_STATE_CHANGED:
 info = (NetworkInfo) msg.obj;
 int type = info.getType();

…..

And then compile the modified ConnectivityService.java in the android source code tree, you can get an new services.jar file in framework directory. Replace the existing services.jar on the cell phone with the following adb commands, then reboot the phone

 adb shell “mount -o rw,remount -t yaffs2 /dev/block/mtdblock3 /system”
adb shell “chmod 0777 /system/framework”
adb push services.jar /system/framework
 adb shell “chmod 0644 /system/framework/services.jar”
adb shell “chmod 0755 /system/framework”
.”

```

---

Conclusion

While I couldn’t test some of the workarounds myself, I have learnt most of these might have worked in **earlier android builds** (based on the evidence) so I am not sure if the same is applicable in android 6. This feature seems **likely to be implemented** with emerging technologies evidenced by Multipath TCP technology described. **For all the workarounds require root.**

Hope this brings some light.

References

*(Included in body text)*

---
Tags: 5.0-lollipop, samsung, networking, mobile-network
---


# Question
Title: Wi-Fi hotspot traffic while connected to PIA VPN
## **Background**

Android 7.1.1 Nexus 6P uses VPN app from Private Internet Access. The app has a "Per App Setting" that allows certain apps to bypass the VPN connection (some games like Pokemon Go don't operate if behind a VPN, you get an 'unable to authenticate' error until you disable VPN or turn off PG in the per app settings).

My son has my old Moto X phone (no SIM card) and needs to be tethered to my phone to have Wi-Fi when we're out and about. He does not have the PIA app installed on his phone.

## **PROBLEM**

When he plays his Pokemon Go game, and we are tethered while my VPN app is operating, he cannot log in or authenticate with his game on his phone. I'll need to turn off my VPN completely before his app will allow him to log and play.

## **QUESTION**

Is there an Android System Process that I can allow to bypass the VPN so that his tethered Wi-Fi connection isn't blocked?

# Answer
Nope. Use of VPN/GPS spoofing is prohibited while using Pokémon Go. Also, your virtual location may coincide with your actual location, making Niantic think your phone is spoofed. That's why it may not allow access till you disable VPN.

You can allow Tethering and portable hotspot app from PIA setting , that will do the job.
> 0 votes

# Answer
There is a workaround to use if you are **rooted**:

Since your son is connecting to tethering through VPN traffic, you can forward all data traffic through the VPN to allow connectivity.

You need to type the following in terminal **as su**:

```
iptables -t filter -F FORWARD
iptables -t nat -F POSTROUTING
iptables -t filter -A FORWARD -j ACCEPT
iptables -t nat -A POSTROUTING -j MASQUERADE

```

This will allow fowarding of traffic through VPN and you son will be able to authenticate. Otherwise you could try a 3rd party app to tether and see if it resolves
> 0 votes

---
Tags: wifi-hotspot, vpn, wifi-tethering, 7.1-nougat
---


# Question
Title: are there more special characters on my phone keypad such as "#"?
I get frustrated with Android because I can't find all the special characters on it for passwords etc that I have on my windows 10 computer. Is there a trick to finding more special characters?

# Answer
> 2 votes
Yes there are. For example try holding letter F it will show $ € £ ¥ ¢ . Try other letters as well.

# Answer
> 1 votes
All of the special characters are there in the default Google keyboard, but you may need to go two screens into the symbols in order to see them.

You probably already know that you can get to the first symbol screen with the numbers by pressing the `?123` button.

Once you are on that screen, you can get to the second one by pressing the key that used to be the Shift key, which now says `=\<`.

---
Tags: keyboard
---


# Question
Title: Help with recovering data on encrypted Microsd Card
Hi I was using a 64GB microsd card as internal storage on my Lenovo K4 Note (also known as Lenovo K4 Note A7010a48, A7010, Lenovo Vibe X3 Lite). Due to some issues in the display I had to give my cell phone to service center. While doing so unfortunately I did not take back up of the data. The service center guys factory reset my phone. Now I am unable to retrieve the data on the card and its showing as an empty card. I tried sending it to Stellar Data Recovery however they said it has unknown encryption and hence even though data is on the card it can not be recovered. CAN ANYONE HELP ME WITH A SOLUTION???

# Answer
If it was encrypted then you're not likely going to get anything back, as far as I'm aware. I've had good success with Photorec on Linux to recover data from SD cards, so my first thought would be to spin up a Linux VM and give that a shot.
> 0 votes

---
Tags: data-recovery, adoptable-storage
---


# Question
Title: How can I automatically clear my chrome browsing data with tasker
i followed these instructions,

How can I automatically clear my browsing data when I exit Chrome?

and works very well on android 6.0.1

I tried on other android 4.1.2 devices, but tasker give me a 255 error?

Are there limitations on android 4.1.2??

Have you any idea??

Thanks in advance

# Answer
> 0 votes
I have tested the scripts and they work pretty well on android 4.3.

However to diagnose your problem I made 2 tests:

1. Ran the script in Tasker without root - the result was indeed a 255 error see below:

2. Disabled root and enabled Tasker's acessibilty service - the script is executed normally.

So in conclusion, you need to **Enable accessibility service** for Tasker or tick use root, however root is not a necessity as long you've enabled the accessibilty of Tasker.

So you just need to follow the Instructions for Tasker and perform the script mentioned by Firelord , (credit to Firelord):

---
Tags: 4.1-jelly-bean, tasker
---


# Question
Title: Cannot synchronize contacts on Huawei Honor 8
I just acquired the new Huawei Honor 8 from China (international version), but I have a few issues with the contacts. When I synchronize the contacts from my Microsoft account, I only retrieve 16 contacts in my list (whereas I have 300+ contacts). I checked the parameters, they are not hidden, it just managed to synchronize only 16 contacts.

I decided to migrate my Microsoft account contacts to my Google account, so I can try to synchronize the Google contacts on my phone. Once I managed to do it on the Google website from my computer, I found a bad surprise in the contact app : there is no option to synchronize Google contacts. HiCloud, Outlook, Facebook messenger, Linkedin, Skype and WeChat are the only options here. Have I missed something ? Do I need an extra app to do this ?

I'm wondering if this issue could be related to the Chinese ROM shipped on my phone, would you recommend to install a new ROM ?

**Edit** : I have installed "Google sync contacts" by directly downloading the APK. Now i can see the Google account in the list of the synchronized accounts in the contact app. But, after having double checked that the synchronization is activated for this account and a reboot, still 0 contact from Google in the list.

# Answer
> 0 votes
You have to go on the app list look for `Google sync contacts`trust the app and give the app access to contacts, after a restart you will have access to your google contacts.

# Answer
> 0 votes
I had the same issue with my Honor Note 8 Chinese version (EDI-AL10). I tried a few things, including installing Google Contacts Sync, Services, and Framework. Nothing fixed the issue until I noticed that Google Contacts Sync didn't have system permission to access contacts, once I enabled that and restarted all my contacts showed up.

# Answer
> 0 votes
Struggled for ages with this (Huawei P9) - in the end it was donlaoding and installing the right version of google contacts sync apk that worked; http://www.apkmirror.com/apk/google-inc/google-contacts-sync/google-contacts-sync-6-0-1-release/google-contacts-sync-6-0-1-android-apk-download/

---
Tags: 6.0-marshmallow, google-account, huawei, google-contacts
---


title: Kali Nethunter Terminal Keep Crashing

text:
# Question
Title: Kali Nethunter Terminal Keep Crashing
Device : OnePlus 2

OS : OOS 3.5.6 on android 6.0.1

I tried to install nethunter many times, unlocked phone, rooted and install modified super su for oneplus 2, flashed overlay-rom nethunter, everything is ok except that the nethunter terminal is just crash and shutdown with no error when i try to start it, i even tried to wipe system clean and try over, but it still same, also installed different terminals but `chroot` can't find it,

Installed using the guide :

1. git clone --depth 1 https://github.com/offensive-security/kali-nethunter
2. `cd kali-nethunter/nethunter-installer`
3. `./bootstrap.sh` ( Type N for Experimental Devices and Type N again when prompted to download full Download History)
4. `python build.py -d oneplus2 -m -nosu -fs full` then flashed the zip file created.!

after that flashed the kernel from the main site " https://build.nethunter.com/nightly/3.15.4-20170211-0304/"

# Answer
Make sure you are flashing your phone with oxygenos 4.0.2 as it is the version the nethunter kernel is based on. I had the same issue until I realised. I'm using the 3t and slowly working through small issues I've found but as a whole it works great. Any more questions just ask
> 1 votes

---
Tags: rom-flashing, terminal, oneplus-two, oxygenos
---


# Question
Title: Compacting giant Power Saving notification
I have a Note 4 running 6.0.1 that I recently reflashed back to stock in an attempt to fix issues I was having.

Now, whenever I enable Power Saving mode, it populates my notification list with a giant notification that takes up half the screen:

I remember this happening when I first upgraded to Marshmallow, but at some point I did something that compacted the notification down to just the "turn off" button.

I don't care about having a little notification at the top, but all the "Your device performance is limited..." text is annoying.

Does anyone know what I might have down to fix this before? I'm pretty sure nothing I did was "hackish", and I didn't disable System UI notifications altogether since I still had the small one when Power Saving was enabled.

# Answer
> 0 votes
Figured it out seconds after posting.

If you go into Power Saving settings and disable "Restrict all background data", the notification shrinks down. I must have had this disabled before.

---
Tags: 6.0-marshmallow, notifications, power-options
---


title: Blackview recovery mode

text:
# Question
Title: Blackview recovery mode
I have a Blackview A8 that is stuck at upgrading. After the optimizing step (40 of 40) if just hangs and it stays like that until the battery runs out

Can anyone help me out? I would like to go in recovery mode or to reset the phone.

# Answer
> 0 votes
First you have to reboot and press and hold Volume Up + Power key for about 5 seconds. When you see the Blackview logo press Power key and a menu will follow, there select recovery mode...

PS: I had to try a few times before I manage to enter the menu

---
Tags: recovery-mode, factory-reset, system-freeze, hard-reset
---


title: can not access recovery on htc one m8

text:
# Question
Title: can not access recovery on htc one m8
What I basically need: I want to access recovery(or bootloader, I am not sure what its really called) to do a factory reset.

History of the problem: My little sister entered the pattern incorrectly too many times and now the phone is locked asking for gmail and password. Although I know it, but the phones wifi is disabled, so it says "wrong username or password" and hence I can not unlock it. I want to do a factory reset via the recovery but the phone is not going into it even though I press volume down + power(I also tried the volume up). USB debugging is off, and the device is not rooted... please help me, how can I get around this damn problem?

# Answer
> 0 votes
If your volume down button isn't broken, may be the "fast boot" feature is activated in the settings (not to be confused with fastboot) that can prevent the phone from booting in the HBoot. Try this:

* From the lock screen, press the power button
* Then select reboot or restart. The phone will reboot
* Hold volume down button before the phone power itself on.
* You should be in the HBoot Menu (3 android guys)
* From the just select Clear data

Hope this helps you.

---
Tags: htc-one
---


# Question
Title: Wifi error after Motorola XOOM tablet Android 4.0.4 update
I have a Motorola XOOM type tablet. Three days ago I updated my tablet to Android 4.0.4. But after that I can't connect to my wi-fi modem.

I was successfully connecting before this update. I also tried with my desktop computer and ipad, they can connect.

I resetted modem. Checked for firware update- no update. Changed password. Restarted several types but they didn't help. How can I fix this WI-FI issue?

# Answer
> 0 votes
It is affecting every Xoom. It appears there is an error with the update, it basically bricks your xoom. My has the same issue and now the Xoom is useless.

---
Tags: 4.0-ice-cream-sandwich, wi-fi, motorola-droid, motorola-xoom
---


# Question
Title: Is there an Android web browser which can upload files from a local file system?
I am considering buying and Android tablet and want to know if this function is possible.

# Answer
> 3 votes
The stock android browser, as long as the website uses a file upload control it can.

I just used the upload tool on twitpic, which uses flash, allows me to select audio, video or image files, and uploads them to twitpic.

# Answer
> -3 votes
uc browser is the best for uploading files on the internet in a file uploading website

---
Tags: file-system
---


# Question
Title: Migrating to new rooted phone, how do you restore from your titanium backup from the saved cloud backups
I just purchased a new phone and rooted it to android 7.1 and i'm coming from android 6. I backed up my apps via titanium backup to my dropbox cloud. How can I restore all these apps on my new device from those titanium backup files? Or is there a better way to restore a setup like this? I need these apps as they have specific settings and can't just be downloaded again.

# Answer
> 1 votes
From TiBu FAQ

> How can I restore my backups from Dropbox ....

**With Titanium Backup 3.6.4 (or above):**

> If your backup folder is empty, then with you can simply switch to the Schedules tab and hit the “RUN” button in the “Sync to Dropbox / Box.net / Google Drive” section to download all backups from Dropbox / Box.net / Google Drive back onto your phone.

**With older Titanium Backup versions:**

> Do not use the “Sync to Dropbox / Box.net / Google Drive” button now: it’s a one-way sync and would erase your Dropbox / Box.net / Google Drive files because you have no backups on the phone. You need to copy the “TitaniumBackup” folder back from Dropbox / Box.net / Google Drive onto your SD card: On a computer, login to Dropbox / Box.net / Google Drive on the web
>
> * Click on the “TitaniumBackup” folder
> * Click on “Download folder”.
>
> Extract the ZIP file that you just downloaded. Move the resulting “TitaniumBackup” folder from your computer onto your SD card
>
> Make sure USB mass storage is disabled (ie: your phone is disconnected from the computer) Launch Titanium Backup and it should see your backups.

**Note:** Before restoring do check that the apps that you want to restore are not system apps in the new OS. If they are, don't restore them but manually apply those settings to avoid conflicts and problems in running them

**Edit** Thanks to Izzy for adding inputs:

> Bold and underline to the final warning concerning system apps! I'd even be careful restoring their data. If you really need to, make sure you've enabled "migration mode" in settings, or you might screw up things (happened to me once).
>
> Some background: a normal restore e.g. simply *replaces* database files. Especially between different devices/ROMs, their structure might have changed – thus a replace (with the wrong structure) might cause the app to simply crash and refuse doing its job. Migration mode instead doesn't replace the file, but tries to match the data contained to the new/different structures.

---
Tags: data-transfer, titanium-backup
---


# Question
Title: timestamp for when an app last used a permission?
I'm interested in is seeing the time-stamp for when an app last used a permission. After looking around it seems that App Ops had this feature, but it is no longer available. Are there any apps out there with this feature? Would it be possible to create an app with this feature?

# Answer
XPrivacy shows timestamp for various permissions accessed by app - requires root

Picture below:

Screenshots (click images for larger variants)

Call it via the 3-dots-menu (upper right corner), chosing "activity log or usage data" – when having the record of an app open.
> 2 votes

---
Tags: applications, permissions, logging
---


title: Best method to reset Android device?

text:
# Question
Title: Best method to reset Android device?
I own a Huawei P9 EVA-AL00 (bought in China) on Android 7 with no root. Last time I reset my device, some photos were still left.

So, what is the best way to reset an Android device?

I'm not worried about security, privacy and encryption, but I do want all junk files, photos etc. to be removed from the device.

I know the 2 methods to reset - through recovery and settings, but is there a better way? For example, can you reset through Android Debug Bridge?

Thanks,

George

# Answer
While both methods (factory-reset through settings and through recovery) should have the very same effect, both also usually leave the SD cards (internal and external) alone. So if you really want to clear *all* things up, you should "wipe" those as well. Some devices/ROMs offer to include the cards in factory reset, with others you'll have to do that manually – either by deleting all files, or by going to *Settings › Storage* and chosing to format them.

If you were "worried about security, privacy and encryption", I'd instead recommend you a tool to "securely wipe" all partitions, i.e. overwrite everything with garbage.
> 0 votes

---
Tags: factory-reset, huawei
---


# Question
Title: If I select 'lock device' in Android device manager, will it affect scheduled alarms?
I have left my phone at my girlfriend's house - it's definitely there according to the location feature in Android device manager.

There is an alarm set for really early in the morning, which it would be great to turn off. If I select 'Lock device', will this have any effect on the preset, scheduled alarm set in the stock clock/alarm app?

Presumably I could definitely stop the alarm if I selected 'Erase device' but this seems like a drastic option!

# Answer
No,no effect on the preset, scheduled alarm set in the stock clock/alarm app because the alarming processes are generally given in a 'Android Service', that is a background process. Lock screen will not affect a background process.
> 0 votes

---
Tags: alarm, android-device-manager, lost-phone
---


title: get cellinfo with adb shell

text:
# Question
Title: get cellinfo with adb shell
I have just installed `adb` and I am trying to retrieve information on the cellular tower which my phone is connected to. My phone is a Samsung Galaxy Trend Lite running Jelly Bean OS (4.1.2). I have rooted the phone and I am using the `adb shell` as super user.

I tried to use `dumpsys telephony.registry` from the shell, which gave me a `cellInfo` parameter, but it's equal to `null`.

I would like to retrieve a string with info like `MCC`, `MNC`, `LAC`, and `CID` possibly. Is this feasible? Is this the right way or is there a better one?

**UPDATE 1**

As suggested by **@xavier\_fakerat** I opened a terminal in ubuntu and I typed `adb logcat | grep -E 'MCC|MNC'`. However I received the following message which does not seem useful to me (maybe I'm wrong...)

```
I/SA ( 2688): [OR] onReceive log=[SA = 1.6.0125 V = 16 HWD = 800X480 1.5 dpi = 240 SIZE = 2 LOCALE = it_IT CSC = ITV MCC = 0 MNC 0 T = user DEVICE = kylevess P = kylevessxx I = JZO54K M = GT-S7390 OKLEFT false DIS JZO54K.S7390XXUAOI1 PSS = 3.979127307850313 ]

```

**UPDATE 2**

I also tried the suggestion of **@Ali Said** and I was able to get the `cid`, although the output sometimes is equal to 0, sometimes is 68. I did the second option he proposed

```
adb logcat -b radio | grep "cid"

```

and received many rows like

```
D/RIL     ( 1391): RIL:[AP][RPC EN] msgid=0x413a str=MSG_MS_GET_ELEMENT_REQ tid 472 cid 68

```

or

```
D/RIL     ( 1391): RIL:[AP][RPC DE] msgid=0x204 str=MSG_RSSI_IND tid 0 cid 0

```

So now I think I am left with finding the `LAC` code only. Nevertheless, none of the solutions so far allowed me to retrieve all the info i was looking for at the same time. Also, option 1 of **@Ali Said** (`adb logcat -b radio | grep ": +CREG:"`) seems what I REALLY need, but it doesn't output anything. Maybe it's a matter of the `+CREG` command (if it is an AT command as far as I can understand), which is not supported by my phone. Just a guess, I went very far for my possibilities, but I am pretty sure I am approaching the solution...

Finally, the output from `adb logcat -b radio | grep "MCC"` is

`D/RIL ( 1391): GetSamsungPLMNname:: GetSamsungPLMNname :: deci MCC=222, MNC=88`

while here is a link to the logcat from the cid info. Hope this could be of interest if someone wants to help me out.

# Answer
> 3 votes
Both of these worked for me:

**Option1:** grep AT command for cell info

```
$> adb logcat -b radio | grep ": +CREG:"
D/AT      (  873): +CREG: 2,1,"2444","0FA2A694",6
D/AT      (  873): +CREG: 2,1,"2444","0FA2A694",6
D/AT      (  873): +CREG: 2,1,"2444","0FA2A694",6

```

\[1\] phone is registered with the network \[2444\] hex : Location Area Code (LAC) \[0FA2A694\] hex : Cell Id (cid).

**Option 2** : you can grep "cid" from logact -b radio you should get it this. note it is decimal this time.

```
$> adb logcat -b radio | grep "cid"
D/use-Rlog/RLOG-RIL( 9193): cid: 262317716
D/use-Rlog/RLOG-RIL( 9193): cid: 262317716
D/use-Rlog/RLOG-RIL( 9193): cid: 262317716

```

---

Option1 is my personal preference. hope that helps.

# Answer
> 1 votes
You may need to use adb logcat and filter using grep. Try this

```
adb logcat | grep -E 'MCC|MNC'

```

Credits

1. Getting cell id through adb

---
Tags: adb, samsung, 4.1-jelly-bean, shell
---


title: Native music listening app

text:
# Question
Title: Native music listening app
I have just made the transition to android(Google Pixel) and HATE having to keep saying no to the Google Play music offer (sort of like Apple Music). It is as though I have bought a cheap product. OR Is there any way to stop the relentless ads?

# Answer
> 0 votes
I dont think there's any dedicated option for stopping this ads inside Google Play Music, but you can change the settings of your Google Ad ID from Google Settings app or Settings\>\> Google\>\> Ads

OR

ROOT YOUR PHONE THEN use AdAway!!

---
Tags: google-pixel
---


# Question
Title: Nexus 5X won't turn on, even from Debug Menu
My sister's Nexus 5X won't turn on. It is charged. When you try to power on, it makes it to the Google animation but freezes and goes back to black. You can make it to the debug menu go through the options, but when you choose Start it does the same thing. We've tried the Google Support suggestions, and nothing is working.

# Answer
> 0 votes
Nexus devices are pretty simple... Try a factory reset in recovery, and if that fails reflash the factory firmware image from Google. If that doesn't work chances are good the device is defective. The processes are well documented on-line... Normally I would document the process here, but the Nexus/Pixel devices are a special case since there is so much support for them online.

BTW, the condition you are in is called a "bootloop", might want to investigate Nexus 5x bootloop online a bit... The N5x has some history with it.

Factory Reset

Flash factory image

---
Tags: nexus, debug
---


# Question
Title: Where are UID for each application stored?
When installing an application, Android gives it an unique UID, which file(s) is used to keep track of used UIDs and to whom they belong? I want to forcibly change application UID to ensure they are the same on different device.

I've already checked with `/data/system/packages.xml`. But while that contains application permissions by package name, didn't see any UID there.

If it depends on Android version, for each versions superior or equal to 4.4.4 and source to documentation to figure it out myself for future versions.

# Answer
You have already missed the correct answer.
The UIDs are stored right in `/data/system/packages.xml`, although an easier-to-interpret version with less information is available at `packages.list`.
Here's an example line of what's inside (scroll to the right)

```
<package name="jackpal.androidterm" codePath="/data/app/jackpal.androidterm-1" nativeLibraryPath="/data/app/jackpal.androidterm-1/lib" primaryCpuAbi="armeabi" flags="572996" ft="1592b6fa088" it="153d4948841" ut="158ed133c1f" version="71" **userId="10001"**>
```

You see, there's a `userId` XML Attribute. This is exactly the UID you are asking for.
Furthermore, `userId` may be replaced by `sharedUserId` if an app shares its UID with another. Like (also scroll to right)

```
<package name="com.android.providers.telephony" codePath="/system/app/TelephonyProvider" nativeLibraryPath="/system/app/TelephonyProvider/lib" primaryCpuAbi="arm64-v8a" flags="540165" ft="159d34468e8" it="4ba52c60" ut="159d34468e8" version="1" **sharedUserId="1001"**>
```

Of course you don't want to go through that terribly long `packages.xml`, so you might want to take a look at `packages.list`, like

```
jackpal.androidterm **10001** 0 /data/data/jackpal.androidterm default 3003,1028,1015
```

Very straight, isn't it? The 2nd field delimited with space is exactly the UID and it's the same as the one in `packages.xml`. **Do not modify `packages.list`.** All unmatching records in `packages.list` will be corrected from `packages.xml`.

Also, it's possible to change UID of an installed app *if* it does not have a shared UID. Simply edit **`packages.xml`** and reboot, then the new UID will have effect immediately. **Old data will be erased for the changed app.** If you want to keep data, apply `chown` recursively on the app's data directory in `/data/data`. If an app's old data gets erased by mismatching UID, related information will show up at `/data/system/uiderrors.txt`. Like this:

```
1970/01/01 00:00: Package jackpal.androidterm uid has changed from 0 to 10001, old data erased.
```

**Tested on Android from 4 through 5.** I guess this is applicable from Gingerbread to Nougat.
> 7 votes

---
Tags: applications, system
---


# Question
Title: Gmail for Exchange or Microsoft Exchange Active Sync
We are using Office365 Exchange cloud email accounts.

I have configured Samsung Galaxy A3 and there are 2 email apps by default - GMail and E-mail (probably from Samsung?).

I have added Google account and Exchange account to the phone settings but then could not find the e-mail account in the E-mail app and found it in Gmail app. On the other hand the Gmail account shows only in the E-mail app.

When trying to connect the E-mail app to Office365 account, it creates second Microsoft Exchange Active Sync account that presumably synchronizes independently from GMail Exchange account.

It is quite a messy, what would be the most convenient way for the user to configure those accounts and clients presuming that the user wants to save contacts to Google account and view e-mail & calendar on Office365 account?

# Answer
> 1 votes
There are options here. You can remove accounts in Settings - Cloud and Accounts - Accounts (based on S7 Edge running Android 7.0):

1. Currently the way you are doing it
2. Remove all accounts, log into Gmail with your personal Gmail account, open the Mail app and use "Exchange" to connect to your Office 365 account
3. Use Gmail to access your Gmail account, then also add your Office 365 account to view in Gmail app (Gmail app supports Exchange accounts)
4. Use only Mail app to access Gmail and Office 365 accounts
5. Use Gmail and third-party app for Office 365 access (Outlook, Nine for Android, TouchDown, many others)

There's a lot of options here. It is up to the user how they best organize and use their apps.

---
Tags: email, exchange, samsung-galaxy-a3
---


# Question
Title: Stuck on welcome screen & language selection
I installed custom ROM before this I ported it. The rom is **amzen 5 kitkat** but I have problem with welcome screen. I can't choose language I can switch between languages. Is it possible to modify to not show welcome screen and instead of it show home screen and in settings you can choose language?

# Answer
# Own answer

Auto rotate helps.

More concretely the landscape orientation because you see in the bottom half of button without text (i.e no 'go next' or something else) and can go next so I clicked but I don't know why UI is so big. I suppose the author built UI big. That's why you can not see button next in portrait orientation
> 1 votes

---
Tags: settings, custom-roms
---


# Question
Title: Protecting you handset from FROST attacks?
I'm going through the process of securing my HTC Desire 610. While reading various articles, I found this page: https://www1.informatik.uni-erlangen.de/frost. It details how to gain access to an encrypted android phone via freezing the phone, reseting, and flashing a custom recovery that searches for the key in RAM.

I don't see a question about this exploit specifically, how does one go about protecting oneself from this attack?

# Answer
> 0 votes
Looks like my answer was on that page all along:

> 15) Flash the frost.img file from our download section to the phone: 'fastboot flash recovery frost.img'. **For this command to work, the bootloader must be unlocked.**

So, to other semi-paranoid android users out there, know that protecting against cold boot attacks is as simple as locking the bootloader (if you haven't already). You can do so via fastboot.

---
Tags: security, encryption
---


# Question
Title: Android's screen is rotated by 90 degrees
So I saw this command:

adb shell wm size 1080x1920

and I wanted to try it, so I did but my screen is now flipped, and I can't even take a screen shot because it says "Prevented by security policy". I have tried already to run some screen rotating commands like this: adb shell settings put system user\_rotation 3 , and similar commands but nothing works.

I have a Galaxy S5 not rooted and I don't want to factory reset it or root it. It boots fine (the Android and Samsung logos) but the home screen and apps are just rotated 90 degrees.

# Answer
If you're just looking to turn it back to what it was, use the command `adb shell wm size reset`.
> 1 votes

---
Tags: 6.0-marshmallow, adb, screen, samsung-galaxy-s-5
---