title: /system/xbin/sh high cpu usage

text:
# Question
Title: /system/xbin/sh high cpu usage
I'm using OS Monitor to look at CPU usage because I've noticed a drastic performance decrease lately. The app shows that `system/xbin/sh` is consuming anywhere from 10% to 70% of the CPU. This happens constantly, the process never stops appearing at the top of the list. I have a two questions:

1. What is `system/xbin/sh`?
2. What could be causing it to utilize so much of the CPU?
3. Is there a way to track which apps make calls to `system/xbin/sh`?

More Info:

* Android version: 4.1.2
* Phone: Motorola DROID RAZR MAXX HD
* ROM: Droid Nexesque v3.8 (AOSP-based ROM) (through safestrap)
* Rooted: yes
* not running any anti-virus or the like

`adb shell top` output:

```
PID PR CPU% S  #THR     VSS     RSS PCY UID      Name
6214  0  97% R     1 182528K  92452K     root     /system/xbin/sh
...
6211  0   0% S     1   1428K    448K     root     /system/xbin/sh
6212  0   0% S     1  53500K  52596K     root     /system/xbin/sh
...

```

`adb shell ps` output:

```
USER     PID   PPID  VSIZE  RSS     WCHAN    PC         NAME
root      1     0     544    404   ffffffff 00000000 S /init
...
root      6211  1     1428   448   ffffffff 00000000 S /system/xbin/sh
root      6212  6211  53500  52596 ffffffff 00000000 S /system/xbin/sh
root      6214  6212  293976 214156 ffffffff 00000000 R /system/xbin/sh
...

```

`cat /proc/<pid>/cmdline` output:

```
"level 1" process: /system/xbin/sh /system/bin/debuggerd
"level 2" process: /system/xbin/sh /system/etc/init.d.loader
"level 3" process: /system/xbin/sh /system/etc/init.d.loader

```

`/system/etc/init.d.loader` contents:

```
#!/system/xbin/sh
############# ############# #############
# init.d.loader by puppet13th@xda
# Version 0.7 19 June 2012
# to run script in background append .bgrun to script name
# example : "myscript.bgrun"
# ############# ############# #############
logfile=/data/init.d.loader.log
loglength=65536
bgrunsign='.bgrun'
if [ -f $logfile ]
    then
    log=`cat $logfile`
    currentloglength=`length "$log"`
    if [ $currentloglength -gt $loglength ]
    then
    rm -f $logfile  fi
fi
echo " * `date` * init.d.loader start . . .">>$logfile
echo " ">>$logfile
if [ ! -d /system/etc/init.d ]
    then
    echo "  creating init.d folder . . .">>$logfile
    mount -o remount rw /system >>$logfile 2>>$logfile
    if [ -f /system/etc/init.d ]
        then
        rm -f /system/etc/init.d >>$logfile 2>>$logfile
    fi
    mkdir /system/etc/init.d >>$logfile 2>>$logfile
mount -o remount ro /system >>$logfile 2>>$logfile
fi
echo " ">>$logfile
echo " i : running init.d scripts . . .">>$logfile
for script in /system/etc/init.d/*
do
    if [ -x $script ]
    then
    bgrun=`grep $bgrunsign $script`>/dev/null
        if [ $? = 0 ]
        then
        echo "  - running $script in background . . .">>$logfile
        /system/xbin/sh $script & >>$logfile 2>>$logfile
        else
        echo "  - running $script . . .">>$logfile
        /system/xbin/sh $script>>$logfile 2>>$logfile
        fi
    fi
done
echo " ">>$logfile
echo " * `date` * init.d.loader end . . .">>$logfile
echo " ">>$logfile

```

`/system/bin/debuggerd` contents:

```
#!/system/xbin/sh
#init.d.loader
/system/etc/init.d.loader
/system/bin/debuggerd.bin

```

Checking `/data/local` for things other tools might have left to "plug into `init`": There are four empty folders and a file named `RootToolsMounts`. `/data/local/RootToolsMounts` contents:

```
rootfs / rootfs ro,relatime 0 0
tmpfs /dev tmpfs rw,nosuid,relatime,mode=755 0 0
devpts /dev/pts devpts rw,relatime,mode=600 0 0
proc /proc proc rw,relatime 0 0
sysfs /sys sysfs rw,relatime 0 0
none /acct cgroup rw,relatime,cpuacct 0 0
tmpfs /mnt/asec tmpfs rw,relatime,mode=755,gid=1000 0 0
tmpfs /mnt/obb tmpfs rw,relatime,mode=755,gid=1000 0 0
none /dev/cpuctl cgroup rw,relatime,cpu 0 0
tmpfs /dev tmpfs rw,nosuid,relatime,mode=755 0 0
devpts /dev/pts devpts rw,relatime,mode=600 0 0
/dev/block/platform/msm_sdcc.1/by-name/userdataorig /datamedia ext4 rw,relatime,user_xattr,barrier=1,data=ordered 0 0
/dev/block/platform/msm_sdcc.1/by-name/userdataorig /ss ext4 rw,relatime,user_xattr,barrier=1,data=ordered 0 0
tmpfs /mnt/asec tmpfs rw,relatime,mode=755,gid=1000 0 0
tmpfs /mnt/obb tmpfs rw,relatime,mode=755,gid=1000 0 0
none /dev/cpuctl cgroup rw,relatime,cpu 0 0
/dev/block/platform/msm_sdcc.1/by-name/system /system ext4 ro,relatime,user_xattr,barrier=1,data=ordered 0 0
/dev/block/platform/msm_sdcc.1/by-name/userdata /data ext4 rw,nosuid,nodev,noatime,nodiratime,user_xattr,barrier=0,data=ordered,noauto_da_alloc,discard 0 0
/dev/block/platform/msm_sdcc.1/by-name/cache /cache ext4 rw,nosuid,nodev,noatime,nodiratime,user_xattr,barrier=1,data=ordered 0 0
/dev/block/platform/msm_sdcc.1/by-name/persist /persist ext4 rw,nosuid,nodev,relatime,user_xattr,barrier=1,data=ordered 0 0
/dev/block/platform/msm_sdcc.1/by-name/modem /firmware ext4 ro,nosuid,nodev,relatime,user_xattr,barrier=1,data=ordered 0 0
/dev/block/platform/msm_sdcc.1/by-name/pds /pds ext3 rw,nosuid,noexec,relatime,barrier=0,data=writeback 0 0
/dev/fuse /storage/sdcard0 fuse rw,nosuid,nodev,relatime,user_id=1023,group_id=1023,default_permissions,allow_other 0 0
/dev/block/vold/179:97 /storage/sdcard1 vfat rw,dirsync,nosuid,nodev,noexec,relatime,uid=1000,gid=1015,fmask=0702,dmask=0702,allow_utime=0020,codepage=cp437,iocharset=iso8859-1,shortname=mixed,utf8,errors=remount-ro 0 0

```

Looking at `/data/init.d.loader.log` (~50 MB file), it is running the `init.d` scripts approximately every 10 seconds. I'm not too familiar with the underlying components of Android, so I'm not sure if this is a lot or not. The two scripts in `/system/etc/init.d./` are `init.d.loader.test` and `minfree`.

`/data/init.d.loader.log` contents:

The log file is filled with these entries repeating every 10-12 seconds

```
...
* Sun Feb 23 18:46:09 CST 2014 * init.d.loader
start...
i: running init.d scripts...
 - running /system/etc/init.d/init.d.loader.test...
 - running /system/etc/init.d/minfree...
* Sun Feb 23 18:46:09 CST 2014 * init.d.loader
end...
* Sun Feb 23 18:46:20 CST 2014 * init.d.loader
start...
i: running init.d scripts...
 - running /system/etc/init.d/init.d.loader.test...
 - running /system/etc/init.d/minfree...
* Sun Feb 23 18:46:20 CST 2014 * init.d.loader
end...
...

```

`init.d.loader.test` contents:

```
#!/system/xbin/sh
# init.d.loader tester
# check /data/init.d.loader.test
echo init.d.loader test >/data/init.d.loader.test

```

`minfree` contents:

```
#!/system/xbin/sh
echo "2469,4938,6584,33756,36971,40186" > /sys/module/lowmemorykiller/parameters/minfree

```

# Answer
My current guess is that the script took a lot of CPU time because it uses a very inefficient way of calculating the log file length, which is to read the entire log file to memory and use `length`. This shouldn't have been much of an issue if the log file is small, but since you said that log file's current size is more than 50MB, this shows that the log file isn't getting trimmed properly. Another concerning issue is that init scripts are supposed to only run once at startup, but this script is obviously being run periodically.

If my guess is correct, you may be able to fix this temporarily by deleting the log file, but eventually the slow down will occur again when the log file is filled again. Check if you have the latest version of your ROM, maybe it's fixed in the latest version? Otherwise if it's an unmaintained ROM, you'll need to figure out a way to fix the script.
> 2 votes

# Answer
I'm only **GUESSING** but have you tried lowering the log Buffer size? **Feature is listed in Dev Options** *`>Settings>Developer Options>Logger Buffer Size`*
> -1 votes

---
Tags: 4.1-jelly-bean, motorola-droid-razr, processes, processor
---


title: Samsung Note 8 Firmware

text:
# Question
Title: Samsung Note 8 Firmware
I'm just new to android as i have been using ios for all this time, my question is, I have recently bought a Note 8 in the UK, due to cost and I'm now back home in Australia, can I change the samsung firmware from the UK to AU Firmware if i have been able to download the AU version?

# Answer
Both UK and Australia are slated to get the SM-N950F (international) variant, so theoretically you are free to change the firmware. Firmware for this variant is available on SamMobile, where you can see both UK and Australia firmware listed.
> 0 votes

---
Tags: device-firmware
---


title: How to export and import chrome://flags

text:
# Question
Title: How to export and import chrome://flags
I do **not** want to export the bookmarks and I do **not** want to export the passwords. I **only** want to export whatever is shown in `chrome://flags`.

Specifically I want to export from an Android 4.4.4 device with Chrome 62.0.3202.84 and I want to import that to an Android 5.1.1 device with Chrome 62.0.3202.84.

Manually scrolling through and comparing the whole list is not an acceptable solution.

Even better would be a way to find out which flags differ from the default value, just like Firefox does in `about:config`.

# Answer
It's possible to do this manually by examining and copy/pasting the raw content where Chrome stores the flags, but **root access is needed**.

The file that stores the flags is located on:

* `/data/user/0/com.android.chrome/app_chrome/Local State` (according to Chromium's Official Documentation)
* `/data/data/com.android.chrome/app_chrome/Local State` (based on testing and experience, possibly for single-account user)

The file `Local State` (without extension) is in JSON format, which is actually a normal text file and can be opened with any text editor **having root access** (Root Explorer includes text editor, but it's not free).

Thanks to Synetech's answer on Super User, the flags are stored under `enabled_labs_experiment` JSON array in the `browser` JSON object node.

Example (taken from the answer)

```
{
  …
  "browser": {
    "enabled_labs_experiments": [ "disable-gpu-vsync", "extension-apis", … ],
    …
  }
  …
}

```
> 5 votes

---
Tags: chrome-for-android
---


# Question
Title: Does the OnePlus 3 Oreo update remove the engineering tool backdoor?
The OnePlus 3 and other other OnePlus models had a engineering tool left in it that could allow root access without having to unlock the bootloader and flash custom recovery. The OnePlus response said that this tool would be removed in an upcoming update.

Now, Android Oreo is rolling out to the OnePlus 3 and 3T. Does this update remove the tool?

# Answer
No, the latest Oreo update `1f602` for the 3 and 3T have not removed the EngineeringMode or the OnePlusLogKit. This is as of 11/20/2017 at 9:30 pm.
> 1 votes

---
Tags: rooting, oneplus-3
---


# Question
Title: Is it possible to set volume presets based upon Android TV input source?
Is it possible to automatically set the volume to a specific level when switching input source on the Android TV? I have several input sources (cable box, PS3, PS4, ...) but the volume on PS4 is massively loud whilst the same volume on the cable box is ok.

I'd like to automatically adjust the volume when changing the input source but I'm not sure if that's even possible. Any solution is ok (installing an app for example).

# Answer
> 1 votes
Currently There is no way to do so, as Android TV does not differentiate input sources based on the devices you use. You could alternately set different volume on different devices if possible.

After thinking for a while , it could be possible by writing a bit of code and rooting your Android TV. If you are using HDMI to connect the devices, the TV detects the Graphic Card used to display content, if you have different Graphic Cards in you devices this will be possible. You might get help on xda Developers

---
Tags: volume-control, android-tv
---


# Question
Title: Add Smart Lock screen security options to Amazon Fire HD 8?
Smart Lock is present in vanilla Lollipop 5.\* but isn't included in Amazon Fire HD 8, which is based on Lollipop.

Can Smart Lock be added/enabled on Amazon Fire HD 8 tablet devices?

# Answer
> 0 votes
Only a few devices support Smart Lock(mainly Motorola and Samsung)

If you are having trouble finding Smart Lock, try

* Go to Settings \> Security \> Screen lock \> Set the Pin Lock
* After setting the Pin Lock go back to the Security Menu, at the Bottom of security menu you will find Trust Agent
* Go to Settings \> Security \> Trust Agent
* Enable Smart lock ( Google )
* Select Smart Lock

---
Tags: 5.0-lollipop, tablet, smart-lock
---


# Question
Title: Sahara error while sending programmer to bricked phone
I flashed a bad aboot partition on my Idol 3 and I'm now stuck on a black screen. Plugging my phone in gives me a "Qualcomm HS-USB QDLoader 9008" on COM11 (rather than the usual COM7 in EDL). I have a backup of the old aboot, but when I try to flash with QFIL, I get the following error:

```
Download Fail:System.Exception: Unable to download Flash Programmer using Sahara Protocol

   at QC.QMSLPhone.Phone.QPHONEMS_SaharaArmPrgDownload(String sFileName)

   at QC.SwDownloadDLL.SwDownload.QPHONEMSSaharaDownloadArmPrg(UInt64& version, String armPrgPath)
Download Fail:Sahara FailSahara Fail

```

Using the official Mobile Upgrader Q tool from Alcatel, I get a "read terminal information failed" error message, and the Panasonic Download Tool (which also used to work with Idol 3) gives me "Load NPRG Error. (Error code = 5002)"

What's going on? Why can none of these tools send the programmer?

Edit: A more recent version of QFIL (version 2.7.460) gives a much more detailed error message (SAHARA\_NAK\_MEMORY\_DEBUG\_NOT\_SUPPORTED): https://pastebin.com/K0FN6nG6

# Answer
> 1 votes
You need the correct programmer to hard unbrick your devices.

> Originally Posted by petrov.0
>
> Your warranty is void. I'm not responsible if your device is hard bricked by using the procedure below. The method described below has been tested on 6039Y, 6039S, 6039H (with the archives for 6039Y) and 6039K (with the 6039S archive) and is confirmed that it works. What to expect on successful completion: \- you will have access to the fastboot commands (removed by the latest upgrade). \- you should be able to check for OTA updates and to download them, but you will not be able to install them.
>
> ## What's needed:
>
> 1. I hate when I must say this ... but ... a Windows PC.
> 2. QPST version 2.7.422 (you can find it on the net as 2.7 build 422). This is a link to one such version (found through Google). If there are problems with this link please let me know. I will try to find another one (you can do it yourself too).
> 3. Drivers in order the device to be recognized when is in Download mode. Install Mobile Upgrade Q 4.8.7 the necessary drivers are installed with it. It can be downloaded from here.
> 4. The files from the archives below. Please use the archive which is especially for your device ... in theory if you use the archive for different device (e.g. the archive for 6039S on 6039Y (with the standard partitions)) you should have a repartitioned device at the end, and only the resize2fs command should be enough to start to utilize the whole memory chip ... but you will loose the possibility to sweat a little bit when do the repartitioning by following the guide for it ￼. \- 6039Y (8GB stock partition sizes) (md5sum: 860789bedb63da5c5976c24825c29d47) \- 6039Y (repartitioned by following the repartitioning guide) (md5sum: c2f8ff3cfc683e46fbf5d797103de71b) \- 6039S (md5sum: dfd04067230b5709729c70cac61ffd52)
>
> ## How to proceed:
>
> 1. Install all the necessary software.
> 2. Unpack the downloaded archive for your device.
> 3. Power off the device. Connect it with the USB cable to the PC. Wait the battery symbol to disappear and hold both volume keys and the power button. You should see a red screen with a warning sign and a scheme. Then hold the volume up button. The display will stay lit but nothing will be shown on it from now on until the end of the procedure.
> 4. When the device is in Download mode under the windows device manager -\> Ports (COM & LPT) you should see Android HS-USB QDLoader 9008 (COMXX)
> 5. Open the windows explorer and find the installation folder of QPST (mine is under Program Files (x86)\Qualcomm\QPST). From the bin sub-directory start QFIL as administrator.
> 6. In QFIL the COM port number as seen under the windows device manager should be selected automatically.
> 7. The rest must be done from QFIL:
>     * Programmer path: \_____ - Click on the Browse button against it and from the extracted archive select prog\_emmc\_firehose\_8916.mbn
>     * Search Path: \_____ - if the path is not selected automatically after the programmer selection click on the Browse button against it and select the folder where the archive has been extracted.
>     * Load XML - click on it and first select rawprogram0.xml from the archive, then the patch0.xml file.
>     * Click on the Download button. The process should finish quickly (few seconds ... up to a minute). If everything is OK the phone will be restarted automatically and the fastboot commands will be available again.

Please see the original post for downloading files

---
Tags: unbricking
---


# Question
Title: How Can You Change Which Microphone Is Used During Calls?
My LG G4 phone's main microphone is broken but it's secondary microphone is working. That is, during ordinary calls or voice recordings, the microphone doesn't pick up any sound (completely dead) but during speakerphone calls or video recordings that microphone works fine.

Is there any way to permanently redirect the primary microphone to the secondary one, so that for ALL calls, the secondary microphone is used to pick up sound?

# Answer
> 2 votes
I just found a way to do that. You can use Tasker to automatically start the loudspeaker(which starts using secondary mic.) and then also add a rule to Tasker to reduce the loudspeaker volume to minimum which will very closely simulate the situation.

---
Tags: microphone, lg-g4, audio-recording, speakerphone
---


# Question
Title: SHARE saved Google images list from Android
Using my Android Acer mobile phone, I created and titled a list of Google Images under my Chrome account. How can I share this with others?

# Answer
> 0 votes
> You can share photos, videos, albums, and movies, with anyone, even if they don't use the Google Photos app.
>
> **Share to your contacts**
>
> * On your Android phone or tablet, open the Google Photos app
> * Sign in to your Google Account.
> * At the bottom, tap Sharing.
> * At the top, tap Create Create.
> * Choose photos to share, then tap Next.
> * At the top, tap Type a name, phone number, or email.
> * Select people to share with. If you're part of a family on Google with at least 2 other people, select Family group to share with your family members.
> * Tap Done. You can add a title or message, then tap Send.
>
> **Send a link or share to other apps**
>
> * On your Android phone or tablet, open the Google Photos app Photos.
> * Tap the photo, album, or movie to share.
> * Tap Share Share.
> * Select another app to share or send someone a link. You can also enter or select a name, phone number, or email address.

Source: Google Photos Help

---
Tags: file-sharing
---


# Question
Title: android TV box give error during flashing
I'm trying to flash android 7.1 TV box t6 s905x using USB\_burning\_Tool\_v2.0.6.2 and while I'm trying to do flashing I'm getting following error.

```
[16:19:56 234][HUB1-3][Err]--[0x00000fff]Get key failed

```

this the log got from USB\_burning\_Tool

```
    [16:19:49 419][Global][Inf]--Scan USB host controller complete
[16:19:49 419][Global][Inf]--Update data center with HubMap
[16:19:49 419][Global][Inf]--Update hub1 device data
[16:19:49 419][Global][Inf]--Update HUB1-1 \\.\USB#VID_05E3&PID_0606#5&3478949&0&1#{f18a0e88-c30c-11d0-8815-00a0c906bed8}
[16:19:49 419][HUB1-1][Inf]--Update device path
[16:19:49 419][Global][Inf]--Update HUB1-2
[16:19:49 419][HUB1-2][Inf]--Update device path
[16:19:49 419][Global][Inf]--Update HUB1-3 \\?\usb#vid_1b8e&pid_c003#5&3478949&0&3#{a5dcbf10-6530-11d2-901f-00c04fb951ed}
[16:19:49 419][HUB1-3][Inf]--Update device path
[16:19:49 419][Global][Inf]--Update HUB1-4
[16:19:49 419][HUB1-4][Inf]--Update device path
[16:19:49 419][Global][Inf]--Update HUB1-5
[16:19:49 419][HUB1-5][Inf]--Update device path
[16:19:49 419][Global][Inf]--Update HUB1-6
[16:19:49 419][HUB1-6][Inf]--Update device path
[16:19:49 419][Global][Inf]--Update HUB1-7
[16:19:49 419][HUB1-7][Inf]--Update device path
[16:19:49 419][Global][Inf]--Update HUB1-8
[16:19:49 419][HUB1-8][Inf]--Update device path
[16:19:49 419][Global][Inf]--Update HUB1-9
[16:19:49 419][HUB1-9][Inf]--Update device path
[16:19:49 419][Global][Inf]--Update HUB1-10
[16:19:49 419][HUB1-10][Inf]--Update device path
[16:19:49 419][Global][Inf]--Update HUB1-11
[16:19:49 419][HUB1-11][Inf]--Update device path
[16:19:49 419][Global][Inf]--Update HUB1-12
[16:19:49 419][HUB1-12][Inf]--Update device path
[16:19:49 419][Global][Inf]--Update HUB1-13
[16:19:49 419][HUB1-13][Inf]--Update device path
[16:19:49 419][Global][Inf]--Update HUB1-14
[16:19:49 419][HUB1-14][Inf]--Update device path
[16:19:49 419][Global][Inf]--Update HUB1-15
[16:19:49 419][HUB1-15][Inf]--Update device path
[16:19:49 419][Global][Inf]--Update HUB1-16
[16:19:49 419][HUB1-16][Inf]--Update device path
[16:19:49 419][Global][Inf]--Update HUB1-17
[16:19:49 419][HUB1-17][Inf]--Update device path
[16:19:49 419][Global][Inf]--Update HUB1-18
[16:19:49 419][HUB1-18][Inf]--Update device path
[16:19:49 435][HUB1-3][Inf]--Open device handle \\?\usb#vid_1b8e&pid_c003#5&3478949&0&3#{a5dcbf10-6530-11d2-901f-00c04fb951ed}  0x0000088c
[16:19:49 488][HUB1-3][Inf]--CloneImageProxy
[16:19:49 604][HUB1-3][Err]--[0x00000fff]Get key failed
[16:19:49 604][HUB1-3][Inf]--Close device handle 0x0000088c
[16:19:53 851][Global][Inf]--User click refresh button
[16:19:53 883][Global][Inf]--Burning thread HUB1-3 start
[16:19:53 936][HUB1-3][Inf]--Open device handle \\?\usb#vid_1b8e&pid_c003#5&3478949&0&3#{a5dcbf10-6530-11d2-901f-00c04fb951ed}  0x00000c10
[16:19:54 098][HUB1-3][Err]--[0x00000fff]Get key failed
[16:19:54 098][HUB1-3][Inf]--Close device handle 0x00000c10
[16:19:54 985][Global][Inf]--User click refresh button
[16:19:55 001][Global][Inf]--Burning thread HUB1-3 start
[16:19:55 054][HUB1-3][Inf]--Open device handle \\?\usb#vid_1b8e&pid_c003#5&3478949&0&3#{a5dcbf10-6530-11d2-901f-00c04fb951ed}  0x00000c10
[16:19:55 211][Global][Inf]--User click refresh button
[16:19:55 226][HUB1-3][Err]--[0x00000fff]Get key failed
[16:19:55 226][HUB1-3][Inf]--Close device handle 0x00000c10
[16:19:55 429][Global][Inf]--User click refresh button
[16:19:55 461][Global][Inf]--Burning thread HUB1-3 start
[16:19:55 530][HUB1-3][Inf]--Open device handle \\?\usb#vid_1b8e&pid_c003#5&3478949&0&3#{a5dcbf10-6530-11d2-901f-00c04fb951ed}  0x00000c10
[16:19:55 614][Global][Inf]--User click refresh button
[16:19:55 645][HUB1-3][Err]--[0x00000fff]Get key failed
[16:19:55 645][HUB1-3][Inf]--Close device handle 0x00000c10
[16:19:55 977][Global][Inf]--User click refresh button
[16:19:56 009][Global][Inf]--Burning thread HUB1-3 start
[16:19:56 065][HUB1-3][Inf]--Open device handle \\?\usb#vid_1b8e&pid_c003#5&3478949&0&3#{a5dcbf10-6530-11d2-901f-00c04fb951ed}  0x0000088c
[16:19:56 216][Global][Inf]--User click refresh button
[16:19:56 234][HUB1-3][Err]--[0x00000fff]Get key failed
[16:19:56 234][HUB1-3][Inf]--Close device handle 0x0000088c

```

what is meant by `[0x00000fff]Get key failed` ?

# Answer
> 1 votes
This seems to be a common issue. Uninstall the USB Burning tool. After Re-installing copy the license before starting the operation.The 2.0.5.15 works just fine. You click the middle (2nd) Chinese writing on the upper left corner and select "English." Remember to open, load, start, then, connect.

1. Open the USB Burning Tool as an Administrator
2. Load the Firmware image file
3. Press "Start"
4. Connect your box via USB

---
Tags: rom-flashing
---


# Question
Title: Multi-window "Pop up view action" not working even if enabled
I ran through settings in Galaxy Note8 and from there I learned about *pop up view action* gesture and was able to use it.

But when I finished running through the rest of the settings (top-to-bottom), I found the gesture is no longer working even if enabled. Now it does nothing. Why?

What could have been toxic in settings items below *Advanced settings* item? Was it some accessibility setting? But I canceled each when it displayed warning about turning off certain other features. Then I only enabled developer mode. I also soft-restarted the phone, the problem persists.

How can be *pop up view action* gesture returned to working normally?

# Answer
> 0 votes
Finally I can see it works, but unlike shown in the visual guide, **the dragging needs to start at the very corner of the display** (either top left or top right), or (ideally) outside the display, enter the display in the corner and then continue to the center of the display. Then the functionality works as expected.

The effect is also achievable using the S-pen.

---
Tags: 7.1-nougat, multi-window, samsung-galaxy-note-8, gestures
---


# Question
Title: ADB sideload and fastboot uses. What's the difference?
1) If i want to flash a stock rom what should I use adb sideload or fastboot. I have seen on youtube people using both of these. Are both of these similar or different. Sorry if this sounds stupid but I'm a noob and I'm very confused.

2) Do i have to unlock bootloader for flashing stock rom.

3) Does fastboot oem lock/unlock command works on every android device.

# Answer
1. Folks consider `adb sideload <ZIP>` when they have a ready to flash `.zip` file. The command is mostly used when booted into Recovery mode.

Fastboot on the other hand *often* deals with per partition flashing at a time. E.g. `fastboot flash recovery <IMG>` -- only flashes Recovery partition and not all the relevant partitions for ROM installation. `ADB sideload <ZIP>` usually does full ROM installation in one go.
2. You unlock the bootloader only if it is locked. Google Nexus devices comes with locked bootloaders while some Chinese Mediatek devices comes unlocked. You've to search web for your model.
3. No, the command doesn't work on every Android device. The reason is 2.
> 5 votes

# Answer
ADB sideloading can be used to push a ROM into you device via you PC. Fastboot can flash a ROM (Most likely stock) by installing each parts one by one.
> -1 votes

---
Tags: adb, stock-android, rom, fastboot, side-loading
---


# Question
Title: Do android phones have hardware chips for encryption? If it's software only, then what is the performance/battery impact?
Do android phones have hardware support for the OOTB full phone encryption or is it entirely done in software?

If there are phones which have hardware support for encryption then where could I find a list?

In case if it is purely software then what how much degradation I can expect in terms of performance and battery life?

This and this articles claim that *encryption comes at a significant performance price*.

And this XDA thread suggests that samsung phones might have dedicated encryption chips as part of their proprietary(?) On-Device Encryption. Is there a clear answer available as to which devices have what support?

# Update

I have found a thorough explanation on the state of android hardware encryption support in this article, which says that google failed to introduce proper hardware support in Android 5.x, and then, for android 6.x they decided to go with 'software acceleration' whatever that means.

The article quotes Dave Burke, Google’s engineering lead as saying that:

> “Encryption is software accelerated. Specifically the ARMv8 as part of 64-bit support has a number of instructions that provides better performance than the AES hardware options on the SoC.”

Yet, on the practical side: full disk encryption on android 7.x is faster than on 6.x but the performance hit can still be between 2x to 4x slower compared to an unencrypted phone.

# Answer
> 1 votes
The Android Open Source Project has a entire section on Security:

https://source.android.com/security/

As you asking about encryption the minimum standard for devices with Google Play services is defined by the Android Compatibility Definition Document:

https://source.android.com/compatibility/8.0/android-8.0-cdd#9\_9\_data\_storage\_encryption

While there doesn't appear to be any hardware mandates there, once you get to Keystore related items:

https://source.android.com/compatibility/8.0/android-8.0-cdd#9\_11\_keys\_and\_credentials

Provided solutions include Trusty which a separate microprocessor or virtualized instance separated from the rest of the Android OS and only accessible via a Hardware Abstraction Layer (HAL).

With regards to `Full Disk/File Encryption`, see:

https://source.android.com/security/encryption/full-disk

---
Tags: battery-life, encryption, performance, disk-encryption
---


# Question
Title: Can I Delete a WhatsApp Message After 7 Min. Deadline?
So I know that if I send a WhatsApp message to someone, I can delete the message on the recipients phone within 7 minutes, using the new "delete for everyone" option in WhatsApp.

Is there a way to get passed this limit, and delete the message a few hours or days later?

# Answer
Yes, there is a simple way to trick WhatsApp into thinking that 7 min. haven't passed yet.

This would involve A few simple steps. (Note: this will only work within 5 days of sending the message)

1. **disconnect WhatsApp from internet connection.** You can do that by going into airplane mode, or disconnecting from mobile data and WiFi.
2. **Change the date of your phone.** in *settings -\> date and time* turn off "automatic date and time" and change the date to within 7 min. of sending the message or even before that. (If you sent a message on nov. 20 at 7:30, then just change the date on your phone, to nov. 19)
3. **Force stop the WhatsApp app**. Go to settings\>apps\>WhatsApp\>force stop.
4. **delete the message.** Open WhatsApp and find the message that you want to delete, long press on it and now the "delete for everyone" option will appear, press on it.
5. **Change the date back to normal**
6. **Turn off airplane mode or enable data/WiFi**

As soon as WhatsApp gets network connection, the message will be deleted on the recipients phone. But you will not get any notification that it was deleted.

If for whatever reason there is a red exclamation mark next to the message, make sure you changed the time, and then press on the exclamation mark and press "resend message" that will delete for the recipient.
> 4 votes

---
Tags: whatsapp-messenger, delete
---


# Question
Title: Apps like Viber, Messenger, WhatsApp, etc. whitelisted from Doze mode on Samsung without asking
I noticed that some applications are whitelisted from doze-mode on samsung devices without having ever asked the user. I tested this on a galaxy s8, galaxy A5 2016, 2017 all running android 7.0 or 7.1. These apps are for instance Viber, WhatsApp, Messenger - they're what I have seen.

When I first noticed this on a samsung I was not 100% sure that I have not by chance given them that permission myself... So I have done a fresh test by hard resetting a Samsung A5 2016 and installing only Viber onto the fresh phone. After the install, I have not even logged into Viber (and it had not had a chance to ask me of any permissions at all), I immediately checked the Battery Optimisation whitelist and Viber was there.

So the first question is how - according to Android specs an app must ask the user to explicitly allow whitelisting (Am I wrong here)?
The second question - is this maybe possible on Samsung despite the spec.
The third question - maybe Samsung just knows some well known apps and whitelists them by default itself?

--EDIT The initial research on this was hindered by the fact that if you google "samsung doze-mode whitelist" maybe with "not asking the user" it still serves you many links to the official doze mode specs and media articles, but not Samsung related. But then I searched with "samsung smart manager whitelist" and found the following

1. Question on SO (second answer gives a list of apps which are whitelisted) https://stackoverflow.com/questions/37205106/how-do-i-avoid-that-my-app-enters-optimization-on-samsung-devices

the list of apps in the second answer was of undisclosed source but I can confirm that I checked nearly 10 of them and they are whitelisted by default

2.https://seap.samsung.com/forum-topic/whitelist-app-batteryoptimization-smart-manager-application

Funny thing - the user asks a question and a part of the question is the same as mine - why Viber etc are whitelisted. The answer is carefully avoiding that part and only answers the other part - that he should ask the users consent or use Knox (also asking the user for permission)

So answers to my own questions

1. According to the spec the app must ask users consent to be whitelisted - yes.
2. not possible on Samsung for a simple app, either
3. Yes, Samsung has a whitelist of well-known apps in its Smartmanager

2 more pieces of info

A. Samsung is reluctant to talk about it(see above SEAP link) or maybe not everybody there is aware of the fact.

B. If you have an issue with Samsung doze-mode, do not google for "Samsung doze-mode", google for smth. like "Samsung smart manager doze-mode" (add "smart manager"), because it will yield more Samsung specific results (And Samsung part of battery optimizations is pretty specific).

# Answer
> 2 votes
May I answer your question in a reverse order:

> maybe Samsung just knows some well known apps and whitelists them by default itself?

Definitely. It's a common practice in China to have a built-in battery optimization whitelist to contain famous Chinese apps like QQ and WeChat (and Weibo and such) for convenience issues. So I suppose it's not restricted to China, but also that Samsung could make the same approach.

> is this maybe possible on Samsung despite the spec?

Yes. Not only Samsung, but also OnePlus, Xiaomi, Huawei, etc. IMHO Samsung is very considerate when designing their ROMs.

> according to Android specs an app must ask the user to explicitly allow whitelisting (Am I wrong here)?

Partially wrong here. An app cannot whitelist itself without user intervention. But it's not required that the ROM does the job instead.

---
Tags: samsung, doze-mode
---


# Question
Title: Youtube android app with fine speed controls
I know the youtube app has the option of playing videos at 0.75x, 0.5x and some other speeds.

I am looking for an alternative youtube client that can play youtube videos at a greater range of speeds. Particularly, I need 0.9x and 0.8x

One possible solution is to download the video and play it in a native player, but this solution is too complex (for my elderly father, who wants to listen to videos with slower speed to increase comprehension) and often demands too much space on the device.

Any ideas?

# Answer
There is one open-source project available, which comes with many useful features, You can play youtube videos on any native player such as VLC.

Please check out NewPipe NewPipe Github
> 1 votes

---
Tags: applications, youtube
---


title: How to root VIVO Y31L

text:
# Question
Title: How to root VIVO Y31L
I have tried all the apps like king root,kingoroot and I tried to flash manually also but it fails anyone please try to help

# Answer
> 0 votes
As suggested on XDA Developers, you should first get the firmware of version 1.9.22, then you'll be able to root with KingRoot.

---
Tags: rooting
---


title: Not Enough Space?

text:
# Question
Title: Not Enough Space?
I have had my phone for about 4 months now, and have been facing this problem recently. When I download an app, it says I don't have any space, when I check my storage, I have about 472 MB left out of 3 GB on my phone. It won't let me download a 40 MB app, why? I have tried deleting all the cache and also tried restarting my phone, but nothing works. I don't want to keep getting rid of apps for new ones, I can't seem to fix this problem. So, please tell me how to fix this.

# Answer
At times only a small part of a program is downloadable from the play store. After downloading the 40MB , the app will probably require to download another 400MB+. Best solution would be to download 'Cleaner Master' from the playstore. It tells you exactly how much you have remaining in your phone and provides excellent advice on where to clear some space. Hope this helps :D
> 0 votes

# Answer
This is the typical bad behavior of android. I get the warning, if I have 600mb of 16gb left. You can try to move some big apps on your SD card, uninstall other apps. Or clean the cache in the settings \> storage\> clean cache.
> 0 votes

# Answer
First install Diskinfo app from Google Play, to see how much free space do you have on your data (userdata) partition.

Then:

* first use Total Commander to detect which of your directories on the internal sdcard are occupying the most. Move them to the external sdcard. Total Commander can "Calculate occupied space" for each directory. Let me know if you need details how to do it.
* uninstall some apps
* you can clean the cache of some apps (I would first clean cache of browser apps and Facebook).
* move some apps to sdcard.
* use Link2SD app to move some apps to the external sdcard (if you create extsd partition on your sdcard, you can also move libraries & data to the sdcard, too).

If you need, I can further help you with one of these solutions to go through.
> 0 votes

# Answer
Just for anyone who needs this, most Samsung devices have this secure folder stuff which takes about half of the phone's memory, you can disable it by searching "secure folder" in settings and the option to disable it should show somewhere in the screen.

And try moving some apps to SD card and don't forget to move it back to SD card again after it has been updated.

One thing i usually do before i found the secure folder stuff was this - I'd clear the data of an app that takes up a lot of space like snapchat (settings --\> apps --\> snapchat --\> Clear data). It will log you out and free up some space. Snapchat, Instagram and Facebook takes up more space than any social app i've ever used.

Another trick is with whatsapp. Whatsapp wil automatically backup your chat to your phone by default in internal storage or phone storage --\> Whatsapp --\> DataBases. This happens every 2AM. Try Clearing it everyday
> 0 votes

# Answer
This typically happens to Samsung devices. It is because the phone has a secured folder and some hidden folders that eat memory. These folders store user specific data and take backup of the settings and so they demand some space to stay empty all the time.

But the best part is you have an SD slot, you can always move some of the photos and applications to it and keep the memory free in mobile device.
> 0 votes

---
Tags: internal-storage, insufficient-memory
---


# Question
Title: On system restore, will I lose my software updates?
I have a *Samsung Galaxy S3* and have it updated to 4.1.2 from ICS. If I restore my phone to factory settings (either by going to settings or by rooting), will I lose my updates? If so, is there any other way to restore without having the above setbacks?

# Answer
Yes, you'll lose your updates, along with any other installed app that didn't come with stock. But you will be able to re-update the apps via Google Play, and you won't lose any purchases you made (they are stored forever on the Google cloud).

I'm not sure why you're concerned about it, though. I can understand not wanting to lose your settings and data, but the only downside to losing app updates is the time and bandwidth required to re-update them afterwards.

**Edit:** You are probably asking about OS updates. Your phone does *not* keep an original OS image. Thus, once you update your OS (either by OTA updates or by installing a custom Rom), you will not be able to revert to the older Android version. Doing a factory reset should just reset the phone to a clean slate of the current Android version.
> 14 votes

# Answer
Performing a factory reset on an Android device does not remove OS upgrades, it simply removes all user data. This includes the following:

* Apps downloaded from Google Play Store, or otherwise side-loaded onto the device (even if you moved them to external storage.)
* Preferences and data for all apps, downloaded or pre-loaded on the device. This includes call/SMS/MMS logs, contacts, save games, etc.
* Personalized system settings (e.g. saved Wi-Fi networks and passwords, etc.)
* Any Google accounts you've added, along with saved credentials.

The factory restore does not touch the following:

* Contents of "external" storage (micro-SD Card, or for devices without it a part of internal memory that is set aside for this purpose) such as web downloads, photos and videos you've taken with the device, music you've copied over from your PC, documents, and other media. Exception is the apps that were moved to "external" storage.
* Core components such as system apps\* (along with apps pre-loaded by your carrier and/or manufacturer into the system partition,) Android kernel, and bootloader. These core components are what defines the Operating System version.
* Network unlock status.

* *Keep in mind that if you've updated any system apps via Play Store, those updates will be lost, and the apps will revert to the version that ships with the OS.*
> 9 votes

# Answer
Not only did a factory reset delete my note 4 from 6.0.1 back to 4.4.4 it also took it from an un-locked phone and relocked it......o/o not sure HTF that happened but I can guarantee you that the answer isn't always a definite no.
> 0 votes

# Answer
Definitely, you'll lose all your data but OS upgrades will still remain.

All the installed apps except system apps and their data including contacts, SMS etc. will be temoved, so you will lose your security pin, contacts, browser history and so on but not the system updates.

Your external SD card will not be erased so data present in it will remain.
> 0 votes

---
Tags: factory-reset
---


# Question
Title: How to disable installing from unknown sources?
Is there a way to disable the phone from installing apps from unknown sources?
I know that it is possible by just going to.

`settings->security->unchceck "unknown resources"`

**But when kids install apps, a dialog appears:**

By just tapping on settings, they can **Enable** it again and install the application.

is there a way to disable it and the dialog won't come out or make it grey so it won't be clicked/tap it again? Without putting password on my `Settings`.

# Answer
If you have Android OS Lollipop and above, you should create a guest mode for anyone you wish to hand over your cell phone, you can define the rights in the guest mode.
> 0 votes

---
Tags: settings, unknown-sources
---


# Question
Title: How to prevent Google Hangouts from showing nagging "Upgrade Required" screen?
I am using Google Hangouts old version v10 for SMS because its seems no other SMS app does support merging SMS threads by contact (I have tested all top SMS apps).

I have disabled playmaket auto-updates. I wonder is there a way to get rid of nagging "Upgrade Required" screen? Hangouts show it on the every launch. I have tried block this app from internet access - no luck.

It does require internet for initial login. After that even with LightingWall(xposed module) or Flight profile 'Upgrade now' persist forever. May be some settings can be altered directly? Or apk may be hacked somehow?

I still can launch app indirect although; it is registered as SMS app so I can launch Hangouts SMS threads from say drupe.

UPDATE: Upgrading Hangouts to latest version and using XHangounts does not return proper merging of SMS.

# Answer
No you cannot, thats unfortunate. In order to keep the user up to date with the newest features in the application, the Android OS as well as each of the APP ask to update.

The update includes many fixes, security updates and much more.
> 0 votes

---
Tags: updates, sms, google-hangouts
---


# Question
Title: Android 8 Oreo - No more "pause feedback" for Talkback in accessibility?
I am developing apps for Android and now have started to use Android 8 (Oreo) on my Pixel 2-phone.

While working on the accessibility of an app I've noticed that a certain entry in the "Global Context Menu" is missing when you use the gesture to open the menu (Swipe down -\> then right while Talkback is enabled).

Namely the entry "pause feedback" is gone, which ... well ... paused the Talkback-reader, so you could click normally around in your app. The entry is still mentioned here by Google.

This makes it somewhat harder to work on accessibility for an app, since you need either to click around a lot more or constantly enable / disable the Talkback-reader.

Is there another way to pause the Talkback-reader temporarily or to get the "pause feedback" entry back?

# Answer
You can suspend TalkBack by pressing both volume buttons for a couple of seconds. You can un-suspend it by doing the same thing.
> 3 votes

---
Tags: accessibility, talk-back
---


# Question
Title: How to remove a Virus that installs an unlimited amount of APPs causing the smartphone to stop once an internet connection has been established?
Once the smartphone (android 4.4.2, kazam tornado 350) has been booted, is connected to WIFI and an unlimited number of APPs is installed causing the phone to stop, i.e. swipe is stopped, another home screen is installed.

Symptoms

1. A number of unwanted apps is installed once the phone has been reset to factory defaults
2. Unlimited amount of unwanted apps is installed once wifi is installed
3. Phone battery is consumed quickly
4. Home screen cannot be entered
5. Popups that ask to install (fake) security updates appear

**Attempts**

1. The unwanted APPs remained installed on the smartphone once the phone was reset to factory defaults
2. The installation of the APPs persisted even after encryption and subsequently resetting to factory defaults
3. Resetted the phone to factory defaults, disabled wifi, disabled malicious apps, rebooted and enabled wifi installed an unlimited number of APPs again
4. Tried to install a Virusscanner, but everytime the connection to internet is established various malicious apps are installed immediately
5. The issue persists as well once the SD card was removed
6. The internal phone storage cannot be removed. In an attempt to remove it the screen was busted :'(

**Discussion**

1. The APPs that are installed do not appear in the downloaded APPs section
2. After resetting to factory defaults, there seems to be malicious APPs recognized as default APPs, e.g. com.andriod instead of com.android

**Question**

How to remove this Virus?

# Answer
As I already mentioned in the comments, here are the primary points you need to be careful about:

1. Whenever you install an app from the Play Store, you should pay attention to things like permissions, ratings, reviews by existing users, etc. before installing it on your device. One malicious install, and your phone could become compromised. It doesn't matter then, whether you are rooted or not.
2. When you install an app, it asks you a bunch of questions like what all things it needs access to (like SDCARD, telephony resources, system tools, etc.). Even without root access, a malicious app can do lots of damage to your phone, if you permit them these resources.
3. As the existing answer suggests, rooting is your only option if the malware has landed itself in the system area. But if you go along that route, proceed with care and caution, as there is a risk of bricking if incorrectly done.
4. For future reference, make a mental note to double check at least two things before installing an app: 1) The permissions it needs are sane and safe. 2) There are at least 500 million installs already with at least a 3.5+ rating. You can make rare exceptions for popular apps like WhatsApp/Skype, but this is generally what you should do. You may or may not be able to recover this phone, but life goes on and these things will go a long way to ensure that such a situation will never arise.
> 5 votes

# Answer
Depending on your phone brand, flash stock firmware through Odin, fastboot, or LG Flash Tool to overwrite the virus.

Samsung phones: Hold the power button, home, and volume down to access download mode. Download Odin v3 or any other version, I recommend XDA as a source. Find the .tar file for your device, SamMobile.com has all the firmwares for every Samsung device.

LG phones: download LG Flash Tool online, and find a `.kdz` stock firmare for your device.

Nexus phones: find the `fastboot.exe` included with your adb drivers and use that.

You didn't specify model or device so my help is only so limited here.

Anyway, hope this helps

**EDIT:**

Researched the Kazam Tornado 350, and there are no development threads for it on XDA or other sites. Couldn't find any stock firmware for it on Google, only shows a couple hits for the Tornado 348. I hate to say this, but you'd be better off getting a new phone.
> 4 votes

# Answer
Try a reset, Boot your Phone into <sup> *(Click on the tag to find out how)* </sup> this will only boot essential apps, Then uninstall any apps you think are the culprit, then boot out of safe mode and see if the problem persists. If it does Repeat the cycle till you find the problem. Then by the end if the problem still persists it may be a system app (Due to me not finding much info about your phone, I can't say it is full of crap ware, and finding info about this phone is difficult)

But due to your broken screen, this may be difficult.

And due to the extensive conversation in the comments section above, I doubt that your phone has root privileges, but if the phones does have root privileges, and the application may be in the system folder.

---

But due to my limited knowledge of what you have on phone, what you have done to it etc. I can't be any more help, then just suggesting to boot into safe mode.

In my opinion I think it is just one of the default apps downloading use crap or the default apps have automatic updates enabled
> 4 votes

# Answer
As mentioned, if you can manually reflash the firmware, that will solve it. Be careful you don't brick it though!

Otherwise, I suggest you reset the phone again. When it reboots, immediately put it into airplane mode. In settings, put the phone into developer mode (search google or xda developers forums) & turn on usb debugging (for ADB). You might need to select allow apps from unknown sources under security too

If possible, you should be rooted for this. The process depends on your phone. Look up what may work. I know that if you're lucky enough to have an old kernel, you can probably use ADB to push towelroot apk to the device, navigate to it in default file manager & start it up & hopefully be rooted just like that

Now use ADB to connect the device to your computer & get a shell. You may have to install USB drivers - should be in the docs for ADB or at least on forums for it

Using adb, especially if you're able to get root, you should be able to do a lot of useful things like

* check out the contents of /bin /sbin /sys /boot & other directories that may have executables related to your problem
* inspect, backup & modify files from your computer
* hunt down the code that repopulates these unwanted apps
* backup & restore the whole phone. useful if you get to a point where unwanted apps are partially removed & system is stable

Good luck! It probably won't be that easy unless you have a background in Android or Linux hacking. But it's most likely feasible if you're motivated, & you'll know a lot more about your phone. Also, try posting whatever interesting stuff you find along the way, like a startup script or directory containing the apps in question. That will make it **much** more likely that somebody will be able to point you in the direction of solving your issue here
> 1 votes

# Answer
If you check the list of All applications you may find applications like Pornclub, Engriks, Settings helper, Adobe Air, Battery controller, Times, com.android.system and many more. Antiviruses like McAfee and Avast detect these apps like viruses, but cannot remove them.

The solution varies from device to another. Re-flashing the device with the stock ROM is the best solution, but not the easiest since the ROM can be hard to find.

Another solution is to root the device and manually uninstall the malware APKs from the system directory. Some devices are hard to root. Sometimes the device is successfully rooted, but doesn't allow the deletion of the APKs from the system directory.

Disabling suspicious applications is another solution, but it doesn't always work because some devices don't allow disabling applications, or the viruses have themselves disabled their Disable option.
> 1 votes

# Answer
You have not done the proper factory reset. No, you did not.

Factory reset removes all newly installed apps. If they still appear after you boot, you have not performed the factory reset. It may be that the factory reset sequence you apply does not remove everything.

You need to figure out how this reset should actually be done and do it. Maybe the phone repair shop could help. Most likely you simply have a single misbehaving app with too many permissions, but you do not know which one.

You can also try to uninstall apps manually, as many of them as possible. Even apps that appear as part of the phone initial package may be worth to uninstall as maybe malware pretends to be one of those, sharing the same icon.

And, for the future, never click "Ok" button on the dialog without reading that is written on the dialog. If you have no time to read, always click "Cancel".

I am aware about some applications that use "com.andriod" as a package name but these are not malicious. They are educational apps that do not require any permissions, do not even connect to Internet.
> 0 votes

# Answer
Use adb shell to remove those apps! you must install busybox as well adb shell su mount -o remount rw /system cd /system/app ls (lists all installed apps) rm

you may encouter some errors such as operation not permitted, then use commands from busysbox lsattr (show attributes of this file) chattr - (exemple chattr -iaA com.engriks.apk then rm again
> 0 votes

# Answer
For those who can't seem to find any solution here are few steps

1. Remove your sim or disable your sim in settings also turn off your wifi first and/or remove any saved network. This should temporarily stop the auto download
2. Download App Detective in another device of course and transfer it via Bluetooth
3. Run App Detective, it should list your installed apps, then sort the list by Install date.(make sure to note the date and time of when your phone started to automatically install apps)
4. (I assume that it is only recent like today) Make a note of the applications that are recently installed.
5. \[non-rooted\] Proceed to your Android settings. From there open Apps \> All. Select the suspicious applications one by one then Disable/Uninstall them. If the option is \[Disable\] make sure to Force stop the app after not before you disable it.
6. \[rooted\] Using any Bloatware Remover, uninstall all unwanted apps.(if you're not sure of what to do, then don't do it)
7. You can now insert your sim or enable them and surf the internet.

ps: if you just Disabled them they would probably be enabled if you Factory Reset
> 0 votes

# Answer
From what I can gather, these are installed as system apps, therefore they cannot be removed easily. I would suggest flashing your rom onto your phone for a full reset.
> -1 votes

---
Tags: 4.4-kitkat
---


# Question
Title: How do android check for apps notifications? Can I change the frequency between checks?
I want to make my phone (6.0.1) check for notifications each hour (instead of each minute, or whatever it's set as default). Is it possible?

I'd like to change this value for notifications in general.

# Answer
> 0 votes
There is more than one kind of notification.

* Poll: IMAP email normally uses polling. Your mail application checks for mail periodically, and if there is a new message it displays a notification. The polling interval is configurable, but this is on a per-account basis.
* Push: Your Android device maintains a connection to Google's cloud messaging server (Firebase or GCM). All applications use this single connection. When an application server sends your device a message, it is relayed through the cloud messaging server and given to the corresponding application, which handles it immediately. As far as I know, there is no way to limit when this occurs short of disabling the data connection.

In summary, you can change poll notification frequency as the applications allow, but not push notifications.

---
Tags: 6.0-marshmallow, notifications, push-notifications
---


# Question
Title: Change critical settings with ADB without root
I am new to Android "internals". I am looking for a way to change some settings on my device, just by using ADB, with debug mode enabled, without having root on my phone (warranty issues taken seriously).

**The settings I am trying to change are:**

* Turn ON/OFF the unknown sources.
* Add specified app to device administrators and remove it at any time.
* Allow / disallow notifications for specific apps.
* Optimize / do not optimize battery usage for specific apps.
* Give / take screen capture permissions for specific apps.
* Enable / disable google scan feature.

Unfortunately I am not a Java programmer, but, if there isn't a way to do the things above with `adb` but there is a chance to automate these tasks by using an app, I will try to do it. I just need some directions here. Thanks.

# Answer
> 1 votes
No, you cannot change device settings with ADB *unless* you have root.

```
$ adb shell

$ settings put system test_variable test_value
Error while accessing settings provider
java.lang.SecurityException: Permission Denial

$ su
# settings put system test_variable test_value
# settings get system test_variable
test_value

```

---
Tags: applications, adb, automation
---


title: Repeated "Tabs" when editing contacts

text:
# Question
Title: Repeated "Tabs" when editing contacts
I am using Android 6 on a Samsung J7.

When I edit a contact there are several "Tabs" that can hold information, e.g., DEVICE, VIBER, WHATSAPP, etc.

For some contacts, I see two or three DEVICE Tabs (which seems puzzling to me), and two WHATSAPP Tabs (equally puzzling).

**Why is this, and how can I get rid of repeated Tabs? (I suspect I would like to do this, but I am not sure)**

Morevoer, for one contact (say, George T.), one of the WHATSAPP Tabs holds a phone number that is not shown as George T. in Whatsapp itself. On the contrary, this phone number shows both in Contacts - DEVICE Tab, and in Whatsapp, as belonging to John W. (the number belonged to George before, but not anymore).

**WHy is this, and how can I fix it?**

# Answer
You haven't mentioned wether there are two numbers saved under the same name, or not

If you have two numbers saved under the same name, all you have to do is unlink them.

In the above screenshot you'll see that i saved two numbers on my phone and then i linked them together and in that case when editing this contact I'll have two tabs for Google contact and two tabs for WhatsApp. This also explains why gorge is in the wrong place - because you have him saved twice.

To un-link them, simply press the "link" icon which appears under the orange envelope. And press on the minus.
> 1 votes

---
Tags: contacts, whatsapp-messenger
---


# Question
Title: Microsd card slots: shared vs dedicated - What is the difference?
When I look at detailed specifications of android devices sometimes it is possible to filter them by choosing if a microsd card slot is shared or is dedicated.

Unfortunately I am not able to find a resource describing what that means and what the difference is.

1. MicroSD storage will be shared between what?
2. MicroSD storage will be dedicated to what?

Internal / external storage? SIM-modules? Anything else?

And whats the pros and cons?

# Answer
You're most likely looking at DualSIM devices. If they come with a *dedicated* SD card slot, you can use 2 SIMs *and* an external SD card. If it's a shared slot, it's either 2 SIMs *or* 1 SIM + SD card – i.e. the SD card slot is shared with the slot for the second SIM.
> 4 votes

---
Tags: external-sd, sd-card, storage, hardware, internal-sd
---


# Question
Title: My phone keeps getting disconnected from the wifi
Everytime I connect my phone to my wifi after a while it disconnects and won't work until I put the password again, reboot the router, or link the device via WPS. I'm desperate I can't even use my own wifi. You people seems the most reliable since every answer I got didn't work, so if the question doesn't belong here please just help me out and I will delete it.

# Answer
> 0 votes
Get a reputable ethernet router (one which can run DD-WRT is a good bet), and connect the WAN interface from your Tim AG combo to it. You may also need to change the LAN subnet on one of the devices to a different range so as not to have conflict). Disable WIFI on the Tim AG combo if you can.

Your problem is most probably a combination of compatibility issues between devices - new routers, and routers with a greater number of users typically iron out most of these problems. (I could be doing it a disservice, but my guess is your provider has rebranded a cheap-as modem/router to keep their prices down, and you are paying the cost - I could not find ANY English references to it, and the pictures don't inspire confidence of a well made product designed for WIFI - for example no decent external aerials)

Otherwise complain to your ISP that there router is not doing the job you are paying for !

---
Tags: router
---


# Question
Title: Android O, failed to mount /system, /dev/block/dm-0 is read only
I try to mount /system in Android O to RW using the command `mount -o rw,remount /system`, and i got this feedback on terminal `dev/block/dm-0 is read-only` \*Already in adb root

Any idea? Thanks

# Answer
For debug build, user have to `disable-verity` at first.

```
adb root
adb disable-verity
adb reboot
adb remount
adb shell
mount -o rw,remount /system

```

In order to know build type of your android, in `adb shell` enter the following command

```
cat /system/build.prop | grep build.type

```
> 16 votes

---
Tags: adb, 8.0-oreo
---


# Question
Title: Can WiFi be turned on without user interaction?
If my phone's WiFI is off, can it be turned in without me doing anything?

EDIT: Using Stock Samsung Android on a Samsung Galaxy Tab E.

# Answer
No. Without you do anything there's no way to do it.
> -1 votes

---
Tags: wi-fi, networking
---


title: basic android file system

text:
# Question
Title: basic android file system
I have a samsung galaxy 8, new to android from iphone 7. Since this system is new to me I wanted to get a rundown on the internal/sd storage files, where system files are stored, how to find apps and where they are stored. Basically I want to manage some files but I don't know the structure on the android system. Example: I want to store some lesser used icon packs to the external storage to free up some space. I don't know where to move them to, and what rules there may be for this. I also have alot of photo files which I want to store and use from the sd card. If someone can please direct me to an article that would be really helpful.

# Answer
You can download Es File Explorer App, click here to download it from Google Play Store. It makes easy to manage your files in Internal/External Storage, using this you can easily move your photos from Internal to External storage.

I hope this will help you.
> -1 votes

---
Tags: internal-storage, external-sd, file-system, file-management
---


# Question
Title: Why is not every Android Modification Open Source?
Ok, this might sound a bit weird, but I am really wondering why not every manufacturer like Samsung or Oneplus has to make it ROM public under the GPL license? At least the kernel would have to be under the GPL 2 license because it is a Linux modification and the license includes that anybody has to make the changes public to anyone. Also the Apache license under which android is published should make it legal to edit and redistribute code, but you also have to give the source and state which changes are from you. So, my question is: Why is not every Android System sourcecode public to anybody?

# Answer
> 1 votes
1. Generally, most of the OEMs share the kernel source but there are some cases when they don't (XIOMI). The reason for not sharing it is present in the xda link.

> I want to specify one last thing for those readers who are not familiar with the distinction: GPL is a license and not a contract. Some jurisdictions see key distinctions between these two, as contracts are enforceable by contract law and licenses fall under copyright. So breaking a license’s term is still judicable. The distributors who don’t accept GPL’s terms and conditions can’t copy and distribute GPL software under law.

So OEM who are not in American market does this more often.

2. Every part of the code cannot be kept publically available. Because it contains many patents bounded by the non-disclosure agreement e.g. Camera Software. Some developer friendly companies publish the binary blob for such parts so that it can be used in any custom rom for the device e.g One Plus provide dash charge firmware and probably camera too as a blob.

---
Tags: rom, manufacturers
---


# Question
Title: Create a playlist of Offline videos in YouTube
`YouTube's` offline feature allows downloading selected videos so that they can be viewed later, without internet.

I downloaded few of these from **different** publishers and now have set of such videos in my device.

However, I could not find an option to create a playlist of these downloaded videos through `YouTube` app.

My intention is to create my own playlist from the set of downloaded videos.

**Is this possible?**

# Answer
> 1 votes
I suggest you download tubemate app. This downloads youtube videos to your device. Then, you can easily make Playlist from downloaded videos.

# Answer
> 0 votes
Currently youtube Android app doesn't support creating play lists out of your downloaded videos for offline viewing.

The best deal that you've at the moment is simply creating the playlist with your desired video while you're online (connected to internet) and then follow these steps:

1. Create the playlist of your favorite videos when you are online and connected to internet. Give it a name. I named my playlist "My Favorites".
2. Now go to Library tab in the Android app.
3. On the new screen, check the section named `Playlists (A-Z)`. You will see your playlist enlisted there. Click on the name of your playlist.
4. Now on the new screen simply click the download button (downward facing arrow icon) at the top of the screen as shown in the below screenshot.

It gives a warning - `Downloading playlists may require significant time and storage.`. Just press ok on this warning popup.

This warning isn't much of a worry.The download time totally depends on the number of videos you've in your playlist and your broadband connection. Prefer to try this option when you're on a Wi-Fi connection to avoid wasting your cellular data.

These four steps will download the entire playlist as a new folder which is available offline even when you are not connected to the internet.

**Note**: If you had downloaded your favorite videos already for offline viewing then the same set of videos are now present at two places on your device, one under downloads folder and also inside the new folder named with your playlist. But the catch here is that file on disk is same i.e. they are not two copies of the same video, so don't delete it from either of the lists or it will delete it from both the playlists. The playlist will remain intact but videos will get deleted. If you happen to do so then you will have to initiate the download again from your playlist view.

---
Tags: youtube, media-player, offline
---


# Question
Title: Accessibility into android7 there are news?
I'm blind and I tried Android 5.0 and it seemed not very good using talkback. Does someone know if there are many differences with the new version?

# Answer
> 2 votes
You should think of "Talkback" as its own app, like any other app in Android. So the version of the Talkback-app usually has not much to do with the Android version. You can have a new version of Android, but an old version of Talkback and vice versa.

Most of the time the Talkback-version in a newer Android is also newer, but you could manually upgrade Talkback.

Some manufacturers like Samsung or Huawai implement their own "TTS - Text to speech engine", which basically is the Talkback-App. For example: The way the TTS reads numbers or weekdays might be quite wrong, the focus-frame might be blue instead of Googles green frame, etc.

From my experience the not-Google TTS-engines are worse than the one from Google, but in the Talkback-Settings you can always switch to the standard Google TTS.

But to answer your question about Android 5 and 7: Sadly I could not find any change logs that exactly describe what has changed. The best link is this: https://nfb.org/blog/vonb-blog/android-60-and-talkback-45-accessibility-improvements

From my experience I can say that the accessibility usually improves from version to version, especially on WebViews and how things are put into context ("5:00" could be read as "5 - pause - zero zero" or as "5 o'clock"). So if you can use a newer version of Android / Talkback, you will benefit from it.

---
Tags: accessibility, talk-back
---


# Question
Title: Increase maximum number of connection of Wi-Fi hotspot
I use my Android TV Box as a Wi-Fi hotspot with the following scheme:

Users (Wi-Fi) --\> TV Box (LAN) --\> Internet

However, the Wi-Fi hotspot limits a max of 10 Wi-Fi connections.

For **rooted** Android devices, can we increase this maximum number of connections?

# Answer
I have been researching about this for some time now, but I have to admit that I failed to get substantive information on the subject.

However, I have come to the conclusion, that this setting is hard-coded and difficult to manipulate (perhaps even with root) unless you're **compiling a customised ROM** from scratch with such modifications.

It may be a restriction by manufacturers perhaps the feasibility based on factors like Wi-Fi chip capability, CPU power, battery, etc. (from my observations, this limit ranges from 8-12 varying with devices)

The are some workarounds I propose, depending on what you're trying to achieve you could either;

* Set your Android device as a Wi-Fi repeater
* Or, share your device's internet connection to a desktop/laptop PC first, preferably via USB connection (i.e. USB tethering if possible) or other means then reverse-tether that connection to other clients from the desktop/laptop.

---

1. Using an Android device as a Wi-Fi repeater

* It is possible to use the Android device as a Wi-Fi repeater, through various methods most of which you can find here: Can we use an Android phone as a Wi-Fi repeater?
    * The consequence is that you can make use of the second Access Point, to have other clients connect to the internet via a Wi-Fi AP broadcasted from the primary device.

*NB: Watch out for battery drain and heavy resource consumption*

---

2. Share Android device's internet connection to a desktop/laptop PC

* This concept is an indirect method which may demand other pre-requisites, i.e a desktop/laptop PC or other third-party software for hotspot share (may be freeware or shareware)
    * Here, you need the Android device to have its internet connectivity shared to the **primary device** (i.e. PC) first, then the desktop (which is much more capable of accommodating a much larger number of clients than the Android device) can then share to other clients.

Some of the appropriate methods have been described here: Share WIFI from PC over USB and around the internet.

You can check this thread on XDA with a similar question: \[MOD\] Increase Max Users for Wi-Fi Tethering LG G2 LS980 \[NON SPRINT ACTIVATED\]
> 6 votes

---
Tags: wifi-hotspot
---


# Question
Title: Open url links to the Washington Post in the Washington Post app
Is there any way to force my phone (pixel, Android 8.0) to open url links to the Washington Post with the Washington Post app? This kind of desired behavior works automatically with other apps/urls for me like the New York Times and Google Maps, but for some reason not with the Washington Post.

# Answer
> 0 votes
This behavior is decided by the app developer, if Washington Post doesn't let such action, then you won't be able to do it.

If they do allow it, then usually the first time you press on a link it will ask you how you want to open it. So it's possible that you have selected the browser as the default. To change that, go to settings\>apps\>\[name of your browser\]\>defaults\>clear defaults

---
Tags: applications, url, 8.1-oreo
---


# Question
Title: Customize date display format? [Android 7]
**How can I change global date format in Android 7.1.1?**

I want to continue using **en-US** locale setting, but with ISO date format **YYYY-MM-DD**. And change long format into **DD. MMMM YYYY** (e.g. 22. october 2017).

I know that date format change is not possible via menu items in the user inferface. **But perhaps is there some file in the filesystem where I can specify it?**

# Answer
Try `en-CA` locale setting.

It uses well-formed English, as well as ISO units and formats.
> 1 votes

---
Tags: 7.0-nougat, localization
---


title: Manage different devices on one place

text:
# Question
Title: Manage different devices on one place
I would like to manage different Android devices on one place. It means I would like to see information about these devices on a single account. Mainly I would like to get a list of installed applications, latest geographical position.

# Answer
> 2 votes
There are a few ways to do what you're looking for.

One option is to use a parental control app that lets you see the location, browsing history, apps downloads, sms activities, etc. One such app is called qustodio. You can find many similar ones online.

Sending method: This method will require you to have the Google account password for the device in question. (This method is only ideal if all devices are using the same Google account)

* open play.Google.Com in your browser in desktop view and after signing in, go to the menu\>apps, and you'll see a drop down list. In the list select the device for which you want to see installed apps. Scroll through the list to see the apps that were installed
* to see the location of the device, you can use Google's find my device option. After logging in you'll see the location of the phone. (Note: sometimes the phone will get a notification that the device was located using this option)

---
Tags: applications, android-device-manager, gps-tracking, multiple-devices
---


# Question
Title: My headphones wont work when i use with with my LG
When I plug my headphones in (I have apple headphones) the icon shows up for a second then disappears. How do I fix this?

# Answer
It's very likely there's something wrong with the 3.5mm jack. My brother had the same problem, he'd have to replace the jack but it was better to just replace the phone since it was an older one.

Test the headphones with some other music device, like an MP3 or radio and see if the same problem persists. This way you can be sure there's nothing wrong with your headphones.
> 1 votes

# Answer
If the headphones just wont work with the LG I would assume that it is the smartphone. Would be interesting to know if there are similar issues with other headphones, too. But anyway, lets start.

I had a similar issue, too. You could try to look for hardware issues. Maybe there is just something like cotton in the headphone jack. To try this just take a torch and look into the thing, if there is something inside try to get it out of there with some wooden or plastic toothpick for example.

If there is no hardware issue you should look for system updates (which you should do anyway) first, maybe the issue will get fixed with some new software. You could also try to reset your smartphone or get a custom rom.

If it is not the headphones and nothing in the hardware you can see or some software issue there could be some comatibilty issues with the voltages of your headphone jack and/or the inner resistance of the headphones. If this is the case there is nothing really I could imagine you might want to do. Maybe you could try to tweak android to make what you want it to make, but I dont have this smartphone and cannot tell whether this will work or not.

Hope I helped you.
> 0 votes

---
Tags: lg, headphones
---


# Question
Title: How do I open an app that Play Store lists as installed, but that isn't accessible?
I installed an app today on a six month old ZTE Axon 7. I have installed many apps on this device before and never had a problem, and I have plenty of storage left on my phone. This app downloaded and installed normally, including a playstore alert that installation was successful, but it never appeared on my home screen. I went to look for it in my list of all apps, but it wasn't there either. When I go back into Play Store and view the app's detail page, it only shows one button: uninstall. All other apps also show an "open" button.

I did install this from the play store and not a browser. I searched for it an installed from Play Store and did not follow a link to the details page. The app works on my old Sony Xperia Ion, and Play Store lists it as "compatible with all your devices". I tried uninstalling the app and then reinstalling the app. I also tried restarting the phone.

I have searched Google and found many reports of other users having a similar problem, but the only solution reported to work is to download it from the play store (as apparently these users installed from a web link). Just in case, I enabled the "allow installation of apps from unknown sources" and then reinstalled the app, but still got the same result.

What could cause this and how can it be fixed?

If it's relevant, the app is: https://play.google.com/store/apps/details?id=com.nightscapecreations.anim3free&hl=en

# Answer
> 2 votes
Here are the instructions from the page that you linked:

**INSTRUCTIONS** Setting a live wallpaper works differently from device to device, and on different versions of Android. In most cases you can set a live wallpaper the same way you set a static wallpaper. Try these methods, and if they don't work feel free to contact us:

1) Tap an open area of your desktop, look for an edit icon, and choose "Wallpaper" and then "Live Wallpaper" from the list that appears 2) Go into "Settings" - "Display" - "Wallpaper" - "Live Wallpaper" 3) Go into "Settings" - "Personalization" - "Wallpaper" - "Live Wallpaper

Try going to set the wallpaper the way you normally would and see if WPS Video Live Wallpapers is there waiting for you.

---
Tags: google-play-store, installation
---


# Question
Title: Can you use cell tower triangulation without a SIM card?
Since cell phones can call 911 without a SIM card present, it is clear that they can connect to a cellular network to which they are not subscribed.

Is it possible to use this knowledge to do cell tower location triangulation on Android without having a SIM card present? The use case is location detection when the phone is unable to obtain a GPS lock e.g. while inside a building.

# Answer
SIM cards are not required for cellular connection. They are just some sort of ID method.

For example: If a phone has AT&T SIMCard, the configuration in the SIMCard will let it connect to AT&T as an identified (with phone number) user and so the SIMCard can be billed for the usage of service.

However, even without a SIM, a phone will always try and connect to cellular networks. But it will be a, let's say, guest user who can't use any of the services since they can't be billed because they can't be ID'd.

911 however is an exception. All services allow 911 calls regardless if the client is identified or not.

I told all these so you can understand the conception better. Now for the actual question: **It probably can be traced without a SIM as well.** Why probably? Because I don't know for sure nor have I ever heard/seen such a case. But conceptually they should be able to do it since they can also access your phone's IMEI and therefore identify the device and triangulate its signal. It is not something you can do on your own though, it is FBI-class action.

It is completely unrelated to GPS because GPS uses satellite, triangulation uses cell.
> 2 votes

# Answer
Yes! The cellular radio is fully active with no SIM card. You can even use a cell tower triangulation mapping app like CellMapper ( https://www.cellmapper.net/ ) with no SIM card or even an inactive SIM card.

The phone's location service uses multiple methods. Inside a building it will often rely on the signature from a nearby WiFi signal.
> 0 votes

---
Tags: gps, geolocation, cellular-radio
---


# Question
Title: Enable/disable Background Execution Limits for all apps
Official guide on Background Execution Limits (new feature introduced in Android 8 Oreo) has a note:

> Note: By default, these restrictions only apply to apps that target Android 8.0 (API level 26) or higher. However, users can enable most of these restrictions for any app from the Settings screen, even if the app targets an API level lower than 26.

I've looked through the Settings on Android 8 emulator and was unable to discover the option mentioned in guide.

Could somebody point me how to enable/disable Background Execution Limits for all apps in Android 8+ Settings?

# Answer
It's displayed on the "Battery" screen for an app, in the "Manage battery usage" section, but only if the app is a "top \[battery\] consuming" app.

More info: https://commonsware.com/blog/2017/05/24/android-o-background-limitations-not-just-targetsdkversion-o.html
> 1 votes

# Answer
I think that they refers to Background process limit in Developer options. Here we can choose: No background processes
> 0 votes

---
Tags: settings, battery-life, background-process, 8.0-oreo
---


# Question
Title: Samsung Galaxy S2 shuts off when plugged in: screen goes black then a grey empty battery appears
Samsung Galaxy S2 shuts off when plugged in. The screen goes black then a grey empty battery appears for a second then disappears. This "flashes" several times in about 4-5 second intervals. I can not turn the phone on unless the phone is unplugged.

If I try to holding the power button for around a minute it then goes to the "charging screen" (the battery with the charging level in green). This happens even if the phone is partially charged. If my phone is on and I plug it in it stays on for almost a minute then the screen goes black, grey battery appears blinks for about 3-5 minutes same as I mentioned above. When the phone is fully charged, when I get it to that state, it does stay charged.

I have taken out the battery, I have tried a different charger. I am convinced this is a hardware problem. Also this started happening about 3 days ago. Any ideas as to what may be wrong are welcome.

# Answer
I followed this approach and it worked for me (and looks like for other people too):

> The way I got mine working was, remove the battery, plug the charger in, wait 5 seconds then start touching the battery on and off of the contacts on the phone, did this quite quickly, then the phone will vibrate. As soon as it starts vibrating, push the battery into the phone so it's permanently on. I got a picture saying the battery with nearly fully charged. Then when the picture goes off, the red LED came on to say it was charging. I left it like that for an hour, then turned it on and it's been working since.
> 1 votes

# Answer
It is the issue with the micro USB on the phone. Best you get it checked at a authorized service center.

For a temporary fix: Take a sharp pin and put it under the micro USB port and twist the USB port towards the screen. That should be a quick fix.
> 0 votes

# Answer
Clean lint out of usb port with a safety pin, be careful with connector inside...lint from pocket is issue
> 0 votes

# Answer
Are you maybe using a non-supported charger? I know they can produce wrong internal voltages which can corrupt the functionality of hardware. If I try to charge my z3c with my iPhone charger I'm unable to use the screen anymore since it won't recognize any input. And very sensible Hardware like the CPU will instantly shut down when noticing wrong voltages. Maybe that's causing it.
> 0 votes

# Answer
It's an issue with your battery. The same thing occurred in my Panasonic P66 phone too. It usually occurs when you're running an application which drains the battery more(ex: Games, Camera) while the phone is plugged. And when the battery percentage is about 15%-25%. You can overcome this issue by replacing your battery.

Yesterday I bought another charging cable. and now the phone charges as usual. So try replacing the charging cable before replacing the battery because, cost for a battery is higher than that for a cable.
> 0 votes

---
Tags: samsung-galaxy-s-2, battery, charging, shutdown
---


# Question
Title: touch screen failed on my android tablet--my email logged in
Touch screen failed on my android tablet. I requested for replacement. The problem is that all my accounts are signed in.I can't give my device back as all accounts are signed in.lets say they repaired the device then they can have access to my gmail account. How can I log off from that tablet since touch is not working. Is there any way that I can do to prevent others from looking into my gmail account and accessing it.can I log off it from my laptop?? please help me. Thanks in advance.

# Answer
> 1 votes
Change the password on your Google account from the web interface. Next time your device tries to connect, it'll be signed out.

You could also boot into the recovery (the way to do this depends on what tablet you have), and factory-reset the tablet from there. The recovery menu is operated by the hard buttons, not the touch screen, so you should still be able to do this.

# Answer
> 0 votes
i have another option for you if possible than connect usb mouse to tablet (you need to purchase converter from the market than connect on the tablet) i have done it and use mouse and another option as touch in tablet. i hope it will useful to you.

# Answer
> 0 votes
You can also lock the tablet from Android Device Manager. This way the next time the tablet connects to the internet and Google services, it will be locked with your password. Note that if it doesn't connect via mobile data or WiFi, the lock command won't get through to the tablet, and it will remain open.

# Answer
> -2 votes
Dont worry. You can use a mouse to operate the tablet. First, buy an OTG cable for your tablet and then connect the mouse to be able to navigate through the tablet as if you used the touchscreen.

---
Tags: tablet
---


# Question
Title: Found a film or strip stuck inside the back cover of Lenovo K3 Note
I have a a phone Lenovo K3 Note. I noticed something paper like stuck on the back cover of the phone. It is like a film, found on clothes of some stores so that no one can steal them. But what its use on my phone, I couldn't understand. These are the images of the sticker:

Stuck on the cover

Upper side

Was stuck like this

Do anyone know why it is put there, I am little suspicious about it.

# Answer
> 0 votes
It may be just a sticker to counter radiation, as @Andy Yan said. I tore off the the sticker there was just some black slippery substance coated. There was nothing like the stickers on clothes bought from few stores. (So its not the RFID sticker @davidgo) But, I browsed about such type of stickers, 'Anti Radiation Sticker' there were no supporting blogs or comments about its use found, other than on the sites selling them. Then why the company itself using them? I couldn't understand.

Visit the link, advocating uselessness of Anti Radiation Stickers

Edit - Its not a 'Anti Radiation Sticker', it absorbs dissipating heat, made from graphite while ARS are made of metal. (Thanks to @AndyYan)

# Answer
> 0 votes
According to people at https://www.reddit.com/r/lenovok3note/comments/3eousk/could\_the\_lenovo\_k3\_note\_be\_optimised\_for/ it's used for shielding the Sim cards.

I'd be surprised, and posit it is actually an anti-theft or tracking RFID sticker - possibly bigger then typical as it needs to work through more packaging?

---
Tags: lenovo
---


# Question
Title: Xposed Framework: what is it, how does it work and why is it so prevalent?
Some years ago, the term *Xposed Framework* was not present in the custom ROM and developer scene. Now it seems to be everywhere.

> Xposed is a framework for modules that are able to modify the behaviour and looks of the Android operating system and apps. This means, that you are able to install modules which add custom ROM like features to the Android OS running on your device. These modules include both visual- and performance improvements.

This description (quoted from trendblog.net) doesn’t really say anything, because with root priviliges (*Xposed* seems to require root), users could just as well alter the system in any way they like, so they wouldn’t need *Xposed*.

What is this *Xposed Framework*, how does it work, why would I want it and why is it so important nowadays?

# Answer
For a short abstract, let me quote from my article Xposed: The mighty Android toolbox (available behind the link in German and English):

> Xposed is a framework for modules that can change the behavior of the system and apps without touching any APKs. Instead, it reaches deep into the system, modifying the corresponding DEX or ART representations of the app. To be able to do so, Xposed must be deeply integrated with the Android system – which is done on installation of the framework, where it replaces some system components (after backing up the originals, so you can revert back anytime).
>
> There are multiple advantages to this approach. Listing some of them:
>
> * you can modify parts of the system you otherwise could not
> * you can apply multiple modifications to the same app in a combination best fitting your intentions
> * changes are easy to undo: As all changes are done in the memory, you just need to deactivate the module and reboot to get your original system back.

For more details, also on installing the framework and on dealing with modules, please refer to the linked article. Though written almost 2 years ago, it still reflects how it works today; meanwhile, Xposed is also available for Android 7 (which was not released at the time the article was written).

PS: Your next question will probably be on *Magisk* – but that article is still on my todo list
> 2 votes

---
Tags: xposed-framework
---


title: Accidentally ran chmod -R 777 /?

text:
# Question
Title: Accidentally ran chmod -R 777 /?
So I was going to type something else with `chmod` but I ended up typing `chmod -R 777 /` but the good thing is I ran this in an unrooted Samsung j7 prime so it had a read only file-system and running android 7 and after I ran it I immediately killed it with ^C and I read output which said permission denied for many files. I also ran chown the came same way like this for fun a few days ago. Everything runs fine I even rebooted but should I worry about a problem with my device?

# Answer
I'd worry a lot – because what you did is equivalent to opening all doors and windows in your house wide, and then go sleep. The entire world (figuratively spoken) now has access to everything the `chmod` managed to touch. Not having run it as root might mean damage is not that extensive – but it could still be enough for the one or other mishap.

To fix up what might have been broken, unfortunately the only safe way is a – as it's hard to say which files/directories have been changed and even harder what their previous "access levels" were.
> 0 votes

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


# Question
Title: Is it possible to sync your Exchange/Outlook calendar with an Android application?
I have decided to install CloudMagic to be able to receive Exchange e-mail on my Android phone without having to accept restricted company security settings. There are many e-mail clients that support Exchange without enforcing company security settings.

I was wondering if there are also Android applications that can just make the Exchange calendar available?

# Answer
I just managed to get this to work on an Acer Z200:

1. Click the *Settings* wheel
2. Under *ACCOUNTS*, select *Corporate*
3. Add your Exchange account there and set its sync options

I now see my Exchange email and calendars in the standard Calendar app, and I get notifications for my Exchange calendar appointments.

Before doing that, I installed Microsoft's Outlook app and added my Exchange account as an account of type *Outlook*. This allows me to view my email and calendars in the Outlook app, but I didn't find a way to make it send notifications for calendar items. (If it is possible, please correct this answer.)
> 1 votes

# Answer
Yes. There are many apps out there which can sync your exchange calendar with your android device. But most of the easier and more elegant software are paid-for apps. The only good enough free app I could find is this https://play.google.com/store/apps/details?id=it.mp.calendar.sync
> 0 votes

# Answer
I'm using Team Calendar Sync to sync an Exchange server locally to my Android devices.

For Outlook.com, you can try TouchDown for Outlook.
> 0 votes

# Answer
If you use the built-in email app, you can get you calendar on your phone. When you are setting it up, just untick sync email, contacts and your calendar will appear invite default calendar app on your device. You can purchase calendar apps that will only sync your calendar, but the are about €9/$9/£9 so your best option is use the default app.
> 0 votes

# Answer
My working solution is :

1. Setup your Exchange account and enable all syncing (email, calendar, contacts)
2. Go into settings -\> apps -\> all apps
3. Clear cache and data from the following apps :

-Exchange-services

-Gmail
4. Restart calendar app and the exchange account is now visible in the list of accounts.
> 0 votes

# Answer
Install the App "nine" https://play.google.com/store/apps/details?id=com.ninefolders.hd3&hl=de There you can choose what to sync before the first sync and you can just enable the calendar sync.
> 0 votes

---
Tags: calendar, exchange
---


# Question
Title: How do I prevent Android from going to sleep?
I never want my Android tablet to go to sleep, can I prevent sleep mode?

# Answer
> 33 votes
Depending on your tablet, you may have the option to set the screen timeout to "never" under **Settings \> Display \> Sleep**.

If you do not have this option, you can enable **Settings \> Developer options \> Stay awake**. This will keep your tablet awake *while it is charging*. This could be useful if your tablet does not support the "never" screen timeout.

*Note*: If you don't see Developer options in Settings, you may find them and Stay awake in one of these places:

* You may first need to unlock developer options, as described here.
* Simply search for **Stay awake** in Settings.
* **Settings \> About \> Build number**. Developer options should appear after tapping the build number several times.
* **Settings \> System \> Advanced \> Developer options**
* **Settings \> About \> Android version \> Kernel version**

(Rowan) Note: Developer options are not always under Build number; they can be in other places such as Kernel version. The developers apparently try to hide them in various locations and I know this because I myself have found them in different locations on different devices.

# Answer
> 8 votes
There is a stay awake option while charging. For the older Android Froyo 2.2, it can be found under:

```
Settings > Applications > Development > Stay awake

```

"Screen will never sleep while charging."

The same option is still present up to the current 8.1 version, but you first have to unlock developer options.

# Answer
> 4 votes
You can probably prevent you tablet from sleeping using an automation app like Tasker (paid) or Automate (free).

Here’s a automation “flow” for Automate to keep the screen and CPU awake, but you can easily modify it to only keep the CPU awake: http://llamalab.com/automate/community/flows/374

# Answer
> 0 votes
I use the app Caffeine, and it works very good. It's free, and highly helpful. It's very small also (few kb).

---
Tags: standby, sleep
---


# Question
Title: How to change the temperature unit of Google's weather notification?
I have my Google Now weather set to Celsius, but when it showed on the notification bar, it's still Fahrenheit.

How to change this?

If it matters, the device is Motorola X Style with Android 7

# Answer
I don't know why but after some phone restart the notification bar is showed in Celsius now. So I post this to close question.
> 0 votes

---
Tags: google-now, localization, weather
---


# Question
Title: Can apps with Baidu Web Push work on non-Chinese devices out-of-the-box?
For our client, we are developing an application where the majority of the users are located in Mainland China and we need to support push notifications for this group. Since Google and GCM (Google Cloud Messaging) is blocked in China, we are looking to implement Baidu Web Push.

In the Amazon documentation, handling Push Notifications from Baidu Cloud Push, they state the following:

> Install your app on to a Baidu-enabled device and capture the generated device token.

Is Baidu Web Push only supported on certain Chinese devices? GCM requires the Google Play Services to be installed and we are wondering if Baidu needs something similar?

# Answer
We've integrated the Baidu Cloud Push on our own device (non-Chinese), in Europe, and we were able to receive a push from the Baidu Cloud Push Console.

So apps with Baidu Web Push do not need any other services installed and will work out of the box.
> 3 votes

---
Tags: applications, push-notifications
---


# Question
Title: Whats the best way to test android apk apps in an android virtualbox setting in windows 10?
I have alot of apk's I'd like isolated to test in a sandbox like environment. Is there something like this where I can duplicate the OS like a virtual machine? I want to test these new apk's on Android 8 Oreo.

# Answer
> 1 votes
I believe Genymotion is an excellent Android emulator. You can even drag and drop the APKs in it to automatically install them. I have been using it for many years now.

---
Tags: virtualbox, virtualization, sandboxing
---