title: How to reinstall Calendar Storage?

text:
# Question
Title: How to reinstall Calendar Storage?
I wanted to uninstall the default Calendar app to replace with Google Calendar. However, I accidentally uninstalled Calendar Storage before uninstalled the default Calendar app. The Google Calendar app won't work every time I try to create an event/plan. I assume this is because I uninstalled the Calendar Storage (app?).

How do I retrieve it? Is there a repo wherein I can just download it? I tried Googling, found nothing. My phone is a Huwawei Y320, Android OS version is 4.2.2

# Answer
You will have to download this app and install it as a system app, using Link2SD or any similar app. This is just another apk file from another Android Jelly Bean 4.2.2 phone.

Note : Please backup all your data before trying to do so. This way of installing apps is actually not recommended, but works out most of the times.
> 1 votes

# Answer
I downloaded this file: http://download.apks.org/?server=12&apkid=com.android.providers.calendar&ver=4.4.4-a1d45e8141

EDIT: This is for Android 4.4.4. If you have another version of Android just do a Google search for the apk file. Then, get it from a site you trust. Also, I have android 5.1, and it still worked, so there's a possibility that it might work if you have a newer version of Android.

Next, I installed the apk file from the downloads folder.

Finally, I downloaded a /system/app mover from the Google play store (requires root), and made the calendar storage app a system app.

I rebooted, and now my calendar works perfectly!
> 0 votes

# Answer
Here is what I did in a LG L90:

First, I went to Settings \> About Phone \> Common \> Update Center \> App Updates. Then I looked for the disabled app. There it was, Calendar Storage. I had to reinstall it, and then the problem was gone.
> 0 votes

# Answer
If you found this question via google because you deleted your Samsung Calendar Storage APK and your calendar app no longer works, then try this. None of the above methods worked for me, so don't waste your time.

**REQUIREMENTS**

1. The original state of the ROM before you deleted the APK. This can be in the form of a TWRP backup or you can flash the original, identical ROM you currently are using.
2. ES File Explorer
3. Root access - but you most likely already have this because you can't delete a system APK without root and you wouldn't be here in the first place.

**PROCEDURE - PART 1**

1. Do a TWRP backup of the current state of your phone.
2. Hopefully, you made a TWRP backup before you started debloating your phone, if so, restore that backup -OR- reflash your original ROM.
3. After you're done restoring or flashing, install ES File Explorer
4. Open ES File Explorer
5. Touch the "menu" button (3 horizontal lines)
6. Touch "Root Explorer"
7. Touch "Backup app and data"
8. Touch "User Apps" dropdown, select "System apps"
9. Touch & Hold "Calendar storage"
10. Touch "Backup" on the bottom bar

**PROCEDURE - PART 2**

1. Go into TWRP and restore your phone back to its current state, using the backup that you just created.
2. After you're done restoring, reboot phone
3. Install ES File Explorer if you don't already have it
4. Open ES File Explorer
5. Touch the "menu" button (3 horizontal lines)
6. Touch "Root Explorer"
7. Touch "Backup app and data"
8. Touch "User Apps" dropdown, select "Backed-up Apps"
9. Touch & Hold "Calendar storage"
10. Touch "3 Dots" button on the bottom bar
11. Touch "Install"

Done!
> 0 votes

# Answer
Assuming your mum has es file explorer ( not necessarily if she has root) launch the app and on the default screen tap apps. All her users app should open .you should see a section at the left top where it says apps tap on it and select system. There you should find the app you are looking for . Long press on the app and tap the sharing icon .share Bluetooth or whatever. You may want to install before converting . Or you may just enable root explorer in es file explorer along the dashboard copy the apk file. Go to the es file explorer dashboard , tap local , select device , go to system , app, and paste it there then reboot .\`
> 0 votes

# Answer
When debloating your phone, it's likely that you have to use an app for uninstalling root apps. Check if your app has a recycling bin. If you have, then restore it from there and restart your phone.

The app I use is System App Safe Remove.
> 0 votes

# Answer
Here's an update for lollipop+. I did the same. Downloaded this http://download.apks.org/?apkid=com.android.providers.calendar&ver=5.1.1-981c9024fa&server=darkkiller Install-Moved to system-reboot. Job done :)
> -1 votes

---
Tags: root-access, calendar, uninstallation
---


title: Installing Lineage OS 13 on Mi Pad

text:
# Question
Title: Installing Lineage OS 13 on Mi Pad
I am planning to install Lineage OS 13 on my MiPad (1st gen) running MIUI7.

I was told that the first thing i need to do for this is install a custom recovery like TWRP & resize the partition as per this guide.

I have a few questions

1) Do I first need to root my MiPad before installing TWRP? If so, how do I do that?

2) I found that I could install TWRP from the play store - https://play.google.com/store/apps/details?id=me.twrp.twrpapp (This is version 1.15)

How the guide says I should download TWRP\_multirom-v2.8.4-mocha.zip Recovery. It doesn't mention where from but the version seems to 2.8.4

Why does the playstore contain such an old version? And where do I get TWRP\_multirom-v2.8.4-mocha.zip from?

The guide also says Change the Mi Recovery to either CWM or TWRP Recovery (I used TWRP)

What does this mean & how do I do this?

# Answer
To install Lineage OS 13 on your Mi Pad, requires these steps.

**N.B: Rooting voids your warranty and may brick your device. Backup your device data before any operations. Kindly read the steps given on xda several times and perform operation.**

1. Required to Root your Mi pad. MIUI Root zip

Download the zip file, place it on internal memory, go to updater app and flash the zip by selecting it from internal memory. your device got rooted. To unroot, download stock rom from miui and flash it.
2. Install a custom recovery TWRP(recommended) or CWM. TWRP download

Download twrp app or zip file from the above link, if from app, open app, it will ask root permissions, provide them, select your device, and install the version provided for your device.
3. Lineage OS 13 ROM zip file. Lineage zip

* XDA contains several discussions about rooting, installing custom recovery(twrp), custom rom(Lineage, resurrection remix etc.). Please go through every aspect about the steps and then follow it.
    * Try to download any official rom, if not download unofficial that updated to latest version.
4. Google apps for marshmallow. opengapps

download google apps for your

If you can go to mi recovery using power and volume button, your bootloader is unlocked. unlock steps mipad2
> 2 votes

---
Tags: root-access, rom-flashing, twrp, tablet, xiaomi
---


# Question
Title: How to prevent uninstalling applications
How can I prevent uninstalling selected applications by mistake? can I add a user application to device administrator for example?

# Answer
> 1 votes
No, you cannot add any app as a device administrator unless it has provisions for it. What you can do is convert those apps as system apps. The process **requires root access**. Follow:

You can alternatively, albeit with root access, disable the component `com.android.packageinstaller.UninstallerActivity`. (Elixir 2 can do that easily.) That component shows the the dialog to uninstall the app. If you prevent the appearance of that you won't be able to uninstall the app *through GUI*.

**In absence of root access**, consider disabling the Package Installer app. It is a system app which handles installation (sideloaded apps) and uninstallation of apps through GUI. It can be disabled from Settings → Apps → (three-dots line → Show System) or (All Apps) → Package Installer → Disable.

One **side effect** of disabling Package Installer completely or its aforesaid component is that you won't be able to uninstall any app through Settings app either (Play Store is exception). Re-enable Package Installer to uninstall any app from Settings app again.

---
Tags: application-manager
---


title: How do tablet OTA updates work?

text:
# Question
Title: How do tablet OTA updates work?
I'm thinking of buying the NVIDIA SHIELD K1 tablet. I was very impressed by the specs, especially as it's only $299. I noticed however, that it only shipped with 5.1 Lollipop. Of course, for a 2017 tablet this is appalling, especially with the recent release of Android Oreo. NVIDIA say they provide an OTA update to Marshmallow, although in South Africa, where I live, OTA updates are useless because cellular providers don't care about them. But then I realized something. The tablet doesn't *have* a SIM card, so it can't rely on cellular providers to send out the OTA updates, so how does it get them? And does it rely on cellular providers to give it to you?

# Answer
# What is OTA?

On mobile field such as smartphones, an over-the-air update may refer to a software update that is distributed over **Wi-Fi** or **mobile broadband** using a function built into the operating system, with the "**O**ver **T**he **A**ir" aspect referring to its use of wireless internet instead of requiring the user to connect the device to a computer via USB to perform the update.

# (**O**ver **T**he **A**ir) Update procedure for Nvidia K1 with Wi-Fi:

1. Go to **“System Upgrade”** screen **(Settings-\>About tablet-\>System upgrade)** to enable full update image download.
2. From “System Upgrade” screen press the dots on the upper right corner and select **“Advanced”**. In the new menu screen tick the option **“Check full upgrade”**. Go back to the previous screen.
3. Now the **“System Upgrade”** will download the latest ROM image (Size of the update may vary).
4. When OTA download is finished, press **Reboot/Install**.

# Saving OTA Update.zip for later usage from System Recovery:

1. If you don't tend to install your OTA now, then don't press **Reboot/Install** from Step 4, your downloaded update files are found the system.
2. Open your file manager (Ex: ES File Explorer File Manager) and navigate to **“/data/data/com.nvidia.ota/app\_download”**. you will find OTA **Update.zip** file.
3. Move **Update.zip** to a known location, (Ex: Downloads folder **“/storage/emulated/0/download”**.
4. For later usage, reboot your tablet into recovery mode and flash your **Update.zip** stored on your choosen folder previously.

**EDIT1:**

# How it works?

TLDR, There is an **Update.zip** file which will be sent through internet to your WiFi tablet, no cellular network is needed for your Wi-Fi Tablet.
> 0 votes

---
Tags: ota-update, nvidia-shield
---


title: Change SMSC on dual-sim phone

text:
# Question
Title: Change SMSC on dual-sim phone
I've got a Wileyfox Swift with two SIM cards, running CyanogenMod 13. I can only send SMS from one card/carrier, not from the other.

My guess is that is has to do with the Short Message service center setting.

Changing the SMSC as described on the CyanogenMod wiki only allows me to set one SMSC - but I think I would have to set both.

Is that correct, and how can I set the 2nd SMSC number?

Others have similar problems: ilogik@reddit

# Answer
Came across this when I had the same issue. A bit late for the OP, but another thing to look out for.

If you go in to: Settings\> Sim Cards\> Preferred SIM for SMS messages\> Select SIM card\> Ask every time
> 1 votes

---
Tags: cyanogenmod, sms, 6.0-marshmallow, dual-sim
---


# Question
Title: Micro SD gets corrupted after every restart
I own a 128GB Micro SD card from Sandisk which I know is perfectly fine and healthy. It is formatted in exFAt and worked perfectly with my Samsung S5. Now I bought a Samsung S7 and I replaced the card from my S5 to my S7. Since I did that my S7 running on stock Samsung Android 7.0 shows a window I have to format the card before I can use it... Off course I didn't do that since there is very important data on it. So I put it into a card reader connected to Windows which detected it as perfectly fine. I ran "scandsk x: /f" on it from within Windows and it said the file system is healthy and did not have to be repaired. After I eject it from Windows and put it into my S7... Android reads and writes it perfectly fine again... until I reboot my phone. Then the format screen shows up again. This loop keeps on going infinite...

Android 7.0: extSD is corrupted -\> Windows 10: checkdsk /f: card fine -\> Android 7.0: extSD reads -\> Android reboot -\> Android 7.0: extSD is corrupted -\> Windows 10: checkdsk /f: card fine -\> ...

So anyone got the same issue and found a solution?

# Answer
> 1 votes
The **Solution** was simple after all, chkdsk told me the volume was fine when I did a (basic) error check \[**/f**\] but when I did a check for bad sectors \[**/r**\] it found tons of errors and repaired them. It took some time but now I have all my data back!

So if you have this problem with any sd card mounted for example as drive u:\ then run in cmd:

```
chkdsk u: /r /v

```

ps: format my card as fat32 was no option as it is 128GB and I would lose all my data.

---
Tags: samsung, external-sd, 7.0-nougat, reboot
---


title: Unlock android phone from PC

text:
# Question
Title: Unlock android phone from PC
I need to move some data from my HTC one m8 to a *Samsung Galaxy S8.* The only problem is that the HTC's touch screen does not work so I cannot unlock it (it's locked with a PIN). I don't have a keyboard adapter for this phones port so I cannot plug a keyboard or mouse into it. I can plug it into my laptop so can I unlock it from there?

# Answer
I found a solution after all, you have to keep pressing the volume down button so that the phone does not lock itself and shut the screen off. This gives more time to mash the screen to enter the pin.

The screen barley works but sometimes if I press hard it registers it.

After it was unlocked I again used the volume down button in order to stop the phone locking after a few minutes of inactivity. I then plugged it into my laptop and moved the data from the phone to my desktop.

I could have disabled a pin or disabled auto screen lock in the settings but the screen was just too messed up so certain on screen buttons did not work.

I still need to somehow back up my scribble app notes. The back button in the app does not work and clicking the back button next to the home panel closes the app rather than closing the text editor and going back to the main screen where all my notes are.
> -1 votes

---
Tags: lock-screens, password, locked-out
---


title: How Do I Silence Bixby Vision?

text:
# Question
Title: How Do I Silence Bixby Vision?
Whenever I use Bixby Vision to scan a QR code or do other things, it makes a loud chime. This occurs even when my phone is in vibrate-only mode, and my media volume is muted.

How do I prevent this from happening?

# Answer
> 1 votes
Bixby has independent volume settings.

---
Tags: samsung-galaxy-s-8
---


# Question
Title: When I try to download pictures from phone to computer, "no pictures found on this device"
I have an LG-X Power. I have tried to download the pictures from my phone to my computer. When I connect through a USB cord - I receive a message on my computer that reads: "No pictures found on this device". The pictures are on my phone, there are many. I bought a new USB cord, still the same. I have a standard Windows operating system. I needed a few of the photos so I simply attached to an email, opened email on computer and downloaded that way. I have way too many to do that tedious method repeatedly. Does anyone have any suggestions?

# Answer
Make sure you have choose either PTP or MTP connection on phone. If still doesn't work than try this: Go to settings\>apps and find "media storage" and "external storage" (maybe you'll need to check "show system") clear data for both of them, and then reboot. After device boots wait up to 10 minutes for media database to update and connect phone via USB to PC.
> 0 votes

---
Tags: usb-connection-mode, downloading
---


# Question
Title: How to remove Cyanogenmod from Sony Xperia Z?
I've got an old Sony Xperia Z running Cyanogenmod which is pretty unstable.

I'd like to remove Cyanogenmod & do a factory reset to the default Sony Xperia Z ROM. It doesn't need to do much - just run Spotify & Google Maps in our car.

However flashing a Sony Phone with a factory ROM requires a special tool (FlashTool) & a special file format (FTF).

Running FlashTool on Ubuntu 16.04 my phone connects in flash mode, but then reboots into Cyanogenmod after the "Preparing the files for flashing" step. I had assumed this was something to do with Cyanogenmod.

```
INFO  - Device connected in flash mode
INFO  - Selected Bundle for Sony Xperia Z(C6603). FW release : 10.5.A.0.230. Customization : C6603_1270-4066
INFO  - Preparing files for flashing
INFO  - Device disconnected

```

How do remove Cyanogenmod from a Sony Xperia Z & restore it to it's factory ROM?

If that isn't possible what can I replace Cyanogenmod with?

# Answer
There's no such thing as "CM bootloader" - a CM installation only writes a new `/boot` (kernel) and `/system`.

Since you are explicitly looking to return to stock, FlashTool is still your best bet. Find the latest stock ROM for your variant and region using XperiFirm, generate a `.ftf` format file with what you downloaded using Flashtool with the guide here, then flash away.
> 1 votes

---
Tags: cyanogenmod, sony-xperia-z, flashtool
---


title: Samsung pen sold separately

text:
# Question
Title: Samsung pen sold separately
It seems that starting with the Galaxy Tab S3 (February/March 2017), Samsung has shifted to Apple's model: Sell tablets without a pen. Sell the pen as an optional attachment.

But something in the Note series (phones and tablets) used to be from Wacom. What is it, and is it still in the S3? And how does one navigate the future line-up? Does determining whether the words "capacitative display" appear in the tech specs settle it?

# Answer
The Tab S3 has no dedicated slot for storing the S-Pen (unlike previous tabs equipped with the same tech) and the S line is not aimed squarely at content creators, which could be why Samsung opted to not include one in the sales package.

All S-Pens are backed by Wacom tech - the battery-free pens and their precise tips are a signature of Wacom's EMR (Electromagnetic Resonance) technology. Meanwhile, most if not all modern phones have a capacitive touch screen. You have to explicitly look for "S-Pen" when you need a device with it.

As of now (Sep. 2017), most S-Pen-equipped Samsung tablets still start their model numbers with a common letter "P":

* Galaxy Note 10.1 2014 is P60x (discontinued)
* Note 12.2 is P90x (discontinued)
* Tab A 2015 with S-Pen is P35x (8.0-inch) and P55x (9.7-inch)
* Tab A 2016 with S-Pen is P58x (10.1-inch) — (discontinued)

(x for variant, e.g. 0 for WiFi, 5 for international LTE)

Tab S3 is a rare exception but it's marketed heavily around its S-Pen so you'd still know it easily.

Samsung once had a "C-Pen" denotation for a pen used on pure capacitive screens, although that's long obsolete.
> 0 votes

---
Tags: samsung, samsung-galaxy-tab, samsung-galaxy-note
---


title: How do I get rid of synced contacts?

text:
# Question
Title: How do I get rid of synced contacts?
I want to get rid of the contacts that were synced through my Skype, Facebook, and Gmail accounts. How do I do this? I don't want to factory reset my phone, but if I have to....

# Answer
> 3 votes
**Facebook**
Go to settings\>Sync Contacts\>Remove Facebook data
**Skype**
Settings\>Sync contacts\>Don't sync
**Gmail**
Not all devices allow to delete gmail contacts from phone, but you can always hide them doing like this. Open Contacts\>Right tap\>More options\>Display settings\>Google\>uncheck all groups.

# Answer
> 1 votes
I had to do this with contacts from a secondary Google account. I just removed the account and re-added it with contact sync turned off.

# Answer
> 0 votes
Go to gmail on desktop select contact from the drop down menu by clicking on Gmail on the left top of the screen. Select all contacts and delete them

---
Tags: contacts, sync, delete
---


title: Screen lock not working in Moto z play

text:
# Question
Title: Screen lock not working in Moto z play
I recently got into an issue with my Moto z play screen lock. Pressing the power button doesn't lock the screen. I have enabled pattern lock option for screen lock. But still only after booting up it asks for the pattern. But later on when I lock the screen by pressing power button , I can unlock by just swiping the screen. Anyone knows what's the issue?

# Answer
It was be because of the Google smart-lock feature. The on-body detection was on in settings-\>security-\>smart lock . I Turned off the on-body detection and its fine now
> 0 votes

# Answer
It could be (depending on your Android version) there is an extra option called

> powerbutton locks immediately

if that is not selected it could be the problem. You could crawl the security settings for more options.
> 0 votes

---
Tags: lock-screens, stock-android, pattern-lock
---


# Question
Title: Why are bootloaders in rewritable storage?
I successfully flashed my device a few times, but I am still paranoid about hard bricks. I am sure I can use my Arduino to fix them, but this made me wonder why bootloaders are stored in rewritable storage. I am aware that there is a PBL and an SBL and all that, and the PBL is in ROM. In this context, "rewritable storage" means a storage medium that can be electronically rewritten (EEPROM, Flash, RAM, etc) and "ROM" means read only storage, not aftermarket Android distributions such as Lineage OS.

Summary: Why would code that is required to even turn the phone on, not to mention booting Android, be stored in a location that can be rewritten.

# Answer
Andy mentions some of the benefits for later upgrade in the field, and these are good points, but there's more to it than that. The bootloader doesn't just need to boot the primary OS, but also the "charging mode", which is itself an embedded Linux kernel. The bootloader needs to bring up the hardware to be a USB endpoint and to talk the fastboot protocol, so that it can receive and flash new recovery and system images. It also has to perform signature validation on those images, using a quite complicated block-based scheme so validation doesn't slow down boot time.

So what? Why does any of this functionality need upgradeability? Because it's complex enough to contain bugs. The original XBox bootloader was 512 bytes long and contained two critical security errors, one of which made it possible to run unsigned code on consumer devices. It wasn't possible to update it in the field. Right away, their main security and anti-piracy mechanism became worthless. Phone manufacturers do not want to have those bugs. They make the bootloader updateable so that the device can be upgraded in the field, and so that it's easier to test and develop the bootloader against the real hardware. It's much harder to develop and test code that will be baked into a ROM - and that extra complexity means there would be *more* bugs and that phone development would be slower, missing the important launch deadlines.

Having an upgradeable bootloader is only a problem if you try to flash firmware to the phone and screw up. This simply isn't a problem for almost all of the phone market. It's only the crazy hobbyists who brick their phones this way. Worse yet, moving this complex bootloader into ROM wouldn't prevent bricking. There are still many ways a broken firmware can damage the device: by overheating it, by uploading a broken radio firmware, by blowing fuses in the secure element, &c.

So overall, there's a huge cost to putting more complex software somewhere that's hard to test and debug, and can't be patched to add functionality or fix bugs. There's no advantage at all for almost all users, and even those users who insist on shooting themselves in the foot would still have other ways to do that.
> 2 votes

# Answer
Bootloaders, like other partitions, might be updated officially for various reasons:

* Switching to a new partition layout (e.g. a bunch of older devices with life spanning across Gingerbread and Ice Cream Sandwich, the latter requiring considerably more space)
* Implementing new security mechanisms (e.g. earlier Xiaomi devices, old bootloader readily unlockable, new bootloader requires logging in and verifying before unlocking)
* Ensuring you're on a version the manufacturer wants you to be, i.e. preventing downgrades (e.g. Samsung, doing so will halt halfway).
> 2 votes

# Answer
Come to think of it, what a silly liability with such a set up, isn't it? My only assumption is so OEMs are able to push updates for new builds, in order to patch security issues, compatibility issues, etc. You bring up an excellent point though, this is a gigantic vulnerability and a gaping flaw in the process for sure.
> -4 votes

---
Tags: bootloader
---


# Question
Title: How can I reset WiFi without rebooting the phone?
Sometimes WiFi networks are not picked up on my Moto G. Switching WiFi or flight mode on and off does not solve the problem, however a phone reboot does.

Does anybody know of a way I can reset the WiFi completely without rebooting the phone?

For example, with 3G issues I would go to the testing menu (\*#\*#4636#\*#\*) and switch the radio on and off, or switch flight mode on and off, which would typically cure the problem. Anything similar for WiFi? Thank you.

# Answer
Go to Settings \> Backup & reset \> Network settings reset

It will reset the WiFi, but it will also delete your APNs and all your WiFi passwords. So, be careful.
> 1 votes

---
Tags: wi-fi, 4.4-kitkat, connection-issues
---


title: Forced to allow automatic updates?

text:
# Question
Title: Forced to allow automatic updates?
So I wanted to stop the Play Store from automatically updating only to find that this is literally not an option.

My version of Play Store is 8.1.73 and when in settings I press the "auto-update" fields I get the option to update over wi-fi or also over data.
What happened here? Did Google just sneakily remove the option to not auto-update? Is it a OnePlus "feature"?

I have a OnePlus 5 with the latest update for Oxygen OS for my region (Europe) installed.

# Answer
> 0 votes
Check out in the settings tab of google play store, there you'll find 'Auto Update Apps. There are three options, Do not auto-update apps, Auto-update apps at any time. Data charges may apply, Auto-update apps over Wi-Fi only. So you can make auto update off.

---
Tags: google-play-store, application-autoupdate, oxygenos, oneplus-5
---


# Question
Title: USB device doesn't show up on Android device
I bought a USB-to-micro-USB cable to use my USB on my Android device. Normally, when you plug it in you get a message above that says it is connected. But when I plug it in, the message does not show up on my phone and when I use it on my tablet it works.

I already tried a USB OTG check app and it says that it is compatible. I also tried another USB but that did not make a difference.

Can someone help me?

# Answer
Yes it's natural. In some phones the OTG doesn't work, because it's unable to provide the power needed to function the external device you're trying to connect. In your case the tablet gives the power needed while the phone doesn't.
> 0 votes

# Answer
One case that I can think of is that **your phone can't supply enough power fo the USB drive**.

"USB drive" is a very wide concept because all drives with a USB interface can be called a "USB drive". It can be a flash drive, an portable HDD or even a portable SSD.

Typically, a flash drive only requires less than 1W of power, while a portable HDD can draw as much as 5W, and a portable SSD can draw 6W or more.

Another possible case is that **your phone has an *Enable OTG* setting that is turned off by default**. My phone (OnePlus 5) has this case. You must manually turn on that setting. Those apps won't detect it if such a setting is turned off and still tells you your phone supports OTG.
> 0 votes

---
Tags: usb, usb-on-the-go
---


title: adb wakeup not wakes up galaxy s8

text:
# Question
Title: adb wakeup not wakes up galaxy s8
I'm looking for adb command to wake up my galaxy s8.

When I had galaxy s7 I used successfully this command:

```
adb shell input keyevent KEYCODE_WAKEUP

```

but in s8 this command just wake it up for a moment and then the screen is black again.

Can you help me find a way to wake up my phone and leave it awake?

# Answer
Try this command:

`adb shell "dumpsys power | grep "Display Power: state=ON" | xargs -0 test -z" && adb shell input key event 26`

> This will first check to see if the screen is on. If it isn't, it will emulate the power key, which will turn on the device's screen.

Credits: Vimalraj Selvam
> 1 votes

---
Tags: adb, standby, samsung-galaxy-s-8
---


title: Change android name from "android-..."

text:
# Question
Title: Change android name from "android-..."
I have many android devices connected to my network but they are all showing as android-\[string of hexacecimal\].

My OnePlus 3t (v7.1.1) is one of the devices. I have changed the name of the device but it still shows up as android-xxxxxxxxxx....

Is there a way of fixing this.

# Answer
What you wish to change is the device's `hostname`. On certain ROMs such as LineageOS, you may do so via the `Device hostname` setting, located inside the `Developer options`. You can access them by typically tapping the `Build number` information, placed inside the `About phone` setting, seven or more times.

If the `Device hostname` setting is missing, you may achieve the same result by either using a computer and sending commands via `adb`, or by installing a terminal emulator app.

While I won't cover the topic of setting adb and USB debugging on, the command to use with adb is

```
adb shell "setprop net.hostname <hostname>"

```

If using a terminal emulator, instead, the command to use is

```
setprop net.hostname <hostname>

```

In both cases, replace `<hostname>` with a name of your choice, and press the Enter key to run the command.
> 3 votes

---
Tags: networking, dhcp, device-name
---


title: Unroot R-Box (Android 4.2.2 device)

text:
# Question
Title: Unroot R-Box (Android 4.2.2 device)
I've bought an Android TV-Box from ebay - it's called `R-BOX`. I got the device with `Android 4.2.2` and root access. However I don't want root. I tried to reset the system and remove root with `SuperSU`. None of it worked. The vendor software version is `RK3066_R-BOX_ANDROID4.2.2-SDK_V1.0.0_130308`.

# Answer
You could install Titanium Backup and freeze the SuperSU app which provides root access on your device. I wouldn't recommend uninstalling it if you don't know how to get it back.
> 0 votes

# Answer
I think this device does not contain neither **su** binary nor **SuperUser**

So, At the factory level, when the software team releases the firmware build for your device, they have signed it with the public AOSP test keys, thus **ro.secure=0** and the **adbd** is probably insecure, so it will mount your device for R/W with those commands:

```
adb root
adb remount

```

Take a look at your **Build number** if it's ending with **test-keys** or **release-keys**

If you have a firmware with **test-keys** the easiest way if to find another firmware with **release-keys**
> 0 votes

---
Tags: root-access
---


# Question
Title: If an inappropriate review is removed by Google Play, is its associated rating also deleted?
Say a user leaves a hateful review on an app with a ★☆☆☆☆ rating. If the developer reports it as inappropriate, Google may remove it as explained here.

Does this only hide the review message, or is the rating also get deleted (so it doesn't weight on the app average rating)?

# Answer
It doesn't delete it unless Google Play Review Team reviews that review and then deletes it including its rating if it doesn't follow Google Play Comment Posting Policy.

You can report a review either through Google Play Console or Play Store itself.

If you report through Google Play Console, you will be able to report it only once. If Google rejects it, you can't report it again.

If you report through Play Store, it will be hidden **only** for you, while it is still visible to all other users. If it is not deleted and Google rejects your report, the review will be visible to you again usually after a couple of hours, and the rating will still be counted, but you will still be able to report it again although Google will mostly reject it again and again.

However, in most cases according to my experience when I review 1-star reviews with hateful⁽¹⁾ comments, they don't get deleted. Google is very strict about reviews. They sometimes even delete real 5-star reviews and keep hateful 1-star reviews undeleted. That's frustrating I know. The only 1-star reviews that got deleted were those that were totally irrelevant to the app that promoted a service or another app or simply looked like an ad.

* (1) *By saying the word "hateful", I mean comments that curse or promote violence.*
> 0 votes

---
Tags: google-play-store, app-ratings
---


# Question
Title: Trying to find Game App installation folder
I used to play this Bingo Blitz game and was trying to find where the installation folder is. I couldn't find it under Data folder, even searching the keyword "bingo blitz" does not yield anything.

Any experts able to install the game and try to figure out where it is? My device is not rooted.

# Answer
> 1 votes
As @Izzy said, without **root privileges** you cannot see the contents of neither `/data/app` or `/data/data`.

Even if you did have root privileges, searching for `Bingo Blitz` inside an average file manager wouldn't have yield anything. This is because no file or folder is named after the `app label`. In order to turn up some results, in fact, your search term must be an app's `package name`. In your case, the package name is `air.com.buffalo_studios.newflashbingo`.

Armed with this knowledge, we can now say that the app's **APK** can be found inside `/data/app/air.com.buffalo_studios.newflashbingo-x.apk` (pre-Lollipop) or `/data/app/air.com.buffalo_studios.newflashbingo-x/base.apk` (Lollipop and above). In both cases, `x` is a digit depending on how many times you updated the app.

The app's **data**, on the other hand, is to be found inside a folder called `/data/data/air.com.buffalo_studios.newflashbingo/`.

---
Tags: installation, app-data
---


title: Repairing system partition of Yuphoria

text:
# Question
Title: Repairing system partition of Yuphoria
My Yuphoria is currently hardbricked and whenever I try to flash its factory image, it gives up during the flashing of the system image, saying remote: flash write failure. The reason seems to be corrupt system partition. How can I repair it?

# Answer
> 1 votes
**Try With This Method:**

Flash With This Firmware

Flash-Tool : QPST.WIN.2.7\_Installer-00430.1.rar

Firmware : SW\_T86519A1\_V011\_M21\_MP\_MMX\_CM\_YU5010\_signed\_qfil.rar

---
Tags: rom-flashing, unbricking, system, partitions, micromax-yu-yuphoria
---


title: messages stuck in notification area

text:
# Question
Title: messages stuck in notification area
I have a Samsung J3 running Android 7. I have received 2 notifications which seem to be stuck in the notification area, no way to get rid of them. One is a Push Message saying that I've used 1.6Gb of my monthly traffic (coming from my carrier). Which is somehow associated with the "Messages" app which came with the phone (can't tell who is the vendor on it) even though I set my texting app to "Messages" from Google. The other one is from "Wifi Calling" and it notifies me that "Calls will be made over Wi-Fi". My previous phone was a Nexus and neither of these was a problem. Wifi calling was a small icon at the top, not a whole notification message. The push notifications about traffic would come in and be dismissed like any other message. Is this a problem with Samsung notification app? Can I replace it with the Nexus-style Google notification app?

For the comic relief: I was able to find others complaining about the stuck wifi calling notification and the advice to them was to disable wifi calling.

# Answer
> 0 votes
The stuck push message about traffic is solved. I changed the default messaging app back to "Messages", then deleted the push notification and changed the default messaging application to "Messages" (yes, I am having too much fun with the fact that they are named the same).

---
Tags: samsung, notifications, push-notifications, nexus
---


# Question
Title: My headphone jack on my Nexus 7 2012 works only half the time
My 2012 Nexus 7 (Rooted; CM 12.1, Lollipop), has headphone jack issues. Most of the time, only the left ear will work, and sometimes I am able to get both the right and left to work. Sometimes they will both work perfectly, and it's not an issue. I know it's not the headphones, so what should I do? Thanks!

# Answer
I think this is just general phone wear and tear. The headphone jack could be partially damaged due to water over time. You could get the headphone jack replaced and see how that goes for you but if the phone is 5 years old then this might be a good time for an update.
> 0 votes

---
Tags: nexus-7, headphone-jack
---


title: how can i fix this?

text:
# Question
Title: how can i fix this?
when i watch video in YouTube or Facebook or browsing, doesn't matter where, image is always like this. someone to have solutions about this? thank you!

# Answer
> 0 votes
Try using a different version of the applications, and also use an up to date version of Android as that may help

---
Tags: browser, video, facebook, youtube
---


# Question
Title: Can cellular network providers detect the phone model/make when their sim is activated?
When the user inserts the sim card and activates, can the cellular network provider detect what phone the user uses?

Like say Motorola Droid.

Or at least the phone is a smartphone or not?

# Answer
> * In general terms, wireless operators capture three main kinds of information: information about the devices connected to the network, metadata about the packets of data that run through the network, and information about the content contained in the packets being downloaded or uploaded by the subscriber.
> * If they (carriers) wanted to, these engineers (network engineers ) could detect a single device entering a specific cell and identify the type of device it is, its operating system (if it’s a smartphone, a tablet, or a laptop USB modem), its IP address, its bandwidth consumption, and even the apps it is running.
> * Wireless operators need to know about the devices on their network so that they can make assumptions about the sorts of content their customers are using and the amount of bandwidth they’ll need. For example, if the carrier knows that the smartphones it has detected typically have large screens, it can conclude that those devices will probably be consuming a relatively large amount of streaming video content, which requires a lot of bandwidth.
> * Similarly, carriers can detect smaller, less expensive phones that don’t run a real OS but do sport a full keyboard. The operator can deduce that these devices are specialized for social networking, which doesn't demand a lot of bandwidth but does require a lot of signaling in the network.

> As revealed in the memo, mobile carriers capture a variety of data about you, including call detail records (who you called and when), text message details (who you texted and when), text message content, bill copies, payment history, and even which cell towers you use. Another category, called Subscriber Information, presumably tracks your name and all necessary contact details.
> 2 votes

# Answer
Short answer is Yes, they can. Here is how:

> Network provider also accesses your phone's International Mobile Equipment Identity (IMEI), which is a number that's unique to every GSM handset (CDMA devices use something similar called an Electronic Serial number, or ESN). The IMEI identifies the phone to your carrier and it checks that the handset is valid to use. If the phone is locked to another carrier or if it's lost or stolen--your carrier can use the IMEI to "blacklist" a device--you won't be able to make calls.

https://www.cnet.com/news/on-call-how-does-my-carrier-know-which-phone-im-using/
> 2 votes

---
Tags: mobile-network
---


# Question
Title: Does OnePlus 5 use the same screen as OnePlus 3/3T?
In the recent presentation, OnePlus CEO stated that because OnePlus thinks 2K resolution is unnecessary for a 5.5" screen, OnePlus 5 will continue using 1080p AMOLED as OnePlus 3 and 3T do. I've heard major criticism on the screen of 3/3T, so I wonder if there's any improvement on the screen of OnePlus 5.

# Answer
**Sort of.**

The OnePlus 3T and 5 share the same display model. Pocketnow even wrote an article about it.

However after further inspection, only *some* 3T phones have the display model of S6E3FA5 (This is the OnePlus 5's display.) Others are S6E3FA3.

Therefore, only some of OnePlus 3T's share the same display as the 5.

Can't tell for certain but from this forum post, the OnePlus 3 shares a similar story.
> 2 votes

---
Tags: screen, oneplus-3, super-amoled, oneplus-5
---


title: Google play services, please help

text:
# Question
Title: Google play services, please help
So my Google play services won't update saying I need to sign in but when I try, it doesn't seem to work

# Answer
Try below given possible solutions. I hope one of the below given tips fix Google Play services issues.

**1st Way: Clear the cache Google Play Services**

settings \> Apps \> Google Play services \> Storage \> Clear cache

If not work then clear all data of Google Play services storage using below settings.

**Settings \> Apps \> Google play services \> Storage \> Manage space \> Clear all data**

**2nd Way: Uninstall Google play services updates**

Settings \> Apps \> Google Play services \> More \> Uninstall update \> OK

**3rd Way: Remove your Google account**

**4th Way: Reset app preferences**

settings \> Apps \> More \> Reset app preferences \> Reset apps

If none of the above trick worked, check Google Play service version, **make sure latest version updated**.
> 0 votes

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


# Question
Title: I cant wake my phone with "Ok Google" anymore
I did a factory reset this week of my phone, and now I cannot seem to be able to "wake" my phone saying "Ok Google".

I can use it in the lock screen and everywhere else, but when the screen is off, it will not work anymore. It will remain with the screen off.

Maybe useful information:

* I am using a OnePlus 2
* I am using "Nova Launcher"

# UPDATE

I know that it works, if the phone is being charged. But I would like to have it working, even if the device is **NOT** charging.

# Answer
This problem occurs in most android devices. When screen off, OK Google is not working. If you want to use OK Google when screen off, make sure your device is in charging. It will work definitely. Try it in your device.

Recently updated my Pixel to android 8.0 Oreo OS. In android Oreo devices OK Google is working perfectly when screen off.
> 0 votes

---
Tags: ok-google
---


# Question
Title: Automatically add installed app icon to first screen with space
I have 5 home screen pages in my Note 5.

When a new app is installed, its icon is added to the last page and not the first one, even though there is space in the first page.

Anyone know how to fix that so the shortcut will appear on the first page (or in the nearest page which has empty spots)?

# Answer
You have edited home pages of your launcher. you can change sequence of ui that you will able to see apps on first screen
> 0 votes

---
Tags: home-screen-shortcuts, samsung-galaxy-note-5
---


# Question
Title: Do Not Disturb for specific duration in Samsung S8 Quick Settings
I've just switched from a Sony Xperia Z3 (6.0) to the Samsung Galaxy S8. On the Sony I could set Do Not Disturb mode for a specific time (15 mins, 30 mins, an hour, 2 hours and so on) using the Quick Settings menu.

This was a really useful feature when going into meetings, presentations, movies etc. But I can't find this feature on the S8 - there's only the option to enable DND mode (and leave it on) or schedule it between specific times.

Is there anyway to get the great 'DND for 15/30/60 etc. minutes' feature in the Quick Settings on the S8?

# Answer
> 4 votes
I can see in Google's documentation for the Pixel that the feature that lets you set how long DND mode should last (15,30,60.. minutes) is there in the Pixel, just as it was in my old Sony Xperia: https://support.google.com/pixelphone/answer/6111295?hl=en

Unfortunately it looks like Samsung removed this feature with their Touchwiz overlay, so you're only left with scheduling DND between specific times or enabling it forever.

To bring back this feature I ended up having to install an app: https://play.google.com/store/apps/details?id=com.cabooze.buzzoff&hl=en

# Answer
> -1 votes
Galaxy S8 has the feature. Its there in sound settings.

**From home, swipe up to access Apps.**

**Tap settings app icon Settings \> sounds settings icon Sounds and vibration \> Do not disturb.**

**Tap On/Off to enable the feature.**

You can also schedule the mode.

**Tap Turn on as scheduled, and set the Days, Start time, and End time.**

Source: http://eguides.sprint.com/support/eguides/samsunggalaxys8s8plus/content/samsung\_galaxy\_s8\_s8\_plus\_ug/do\_not\_disturb.html

---
Tags: samsung, samsung-galaxy-s-8, do-not-disturb
---


# Question
Title: Streaming audio from smartphone to PC without bluetooth
How should I do this if I wanted to stream Spotify using my smartphone but the audio comes from the speakers connected to my PC? I only have USB speakers that can't be connected to my smartphone using the 3.5 mm jack.

# Answer
My first question would be: why not just stream Spotify right on the PC? You can stream right in a web browser or install the desktop app.

Second question: Could you please clarify your device and your PC?
> 1 votes

# Answer
Connect your device android device and PC with Xender (app) and enjoy your phone as audio streaming server.
> 1 votes

---
Tags: streaming, speaker
---


title: Getting albums on home screen

text:
# Question
Title: Getting albums on home screen
Now to go to albums I need to open camera, then click the last saved image, then click the photos icon, then click the albums icon. Can I just have the icon on my home scrern to go to albums instead? Also how about going to a specific album or even a specific photo (like a subway map or my family picture)?

# Answer
> 0 votes
Yes, you can. The "albums app" is usually called "Gallery" or "Photos", so just place an icon of it on your home screen.

Depending on launcher it may also be possible to add a shortcut to a particular image to your home screen. Also, as far as I know, ES File Explorer can do that too.

---
Tags: home-button
---


title: Google Maps won't work

text:
# Question
Title: Google Maps won't work
Google Maps app takes like half a minute to update my location every time, navigation instructions don't update when I move, and it doesn't automatically reroute, I have to restart navigation.

I can't use it, it doesn't work at all! How can I fix this?

* Motorola Moto G4 Play
* Android 6.0.1

# Answer
Now it worked. After trying lots of things, the way I made it work was just reinstalling the app.
> -1 votes

---
Tags: google-maps
---


# Question
Title: Is Android vulnerable to the BlueBorne attack found in Linux?
I recently discovered there's an attack called BlueBorne against the Linux bluetooth functionality: https://unix.stackexchange.com/questions/392001/how-to-secure-linux-systems-against-the-blueborne-remote-attack

If I'm using an Android system with a bluetooth keyboard, should I be worried, considering that Android is based on the Linux kernel? Do I need to patch all Android systems in use with an over-the-air update to fix the vulnerability?

# Answer
> 5 votes
Any Android device with a patch level prior to September 1st 2017 will be vulnerable, yes. Google patched this vulnerability in the September 1st update which has been released for Nexus and Pixel devices. Other devices will need to wait until the manufacturer releases an update containing these fixes.

An official test app has been released to the Play Store which you can use to test whether your device is vulnerable.

Source

---
Tags: security, ota-update
---


# Question
Title: How can I control video playback on another device?
I'll be taking a long car trip, and I'd like to be able to control video playback on an Android device in the back of the vehicle from the front of the vehicle.

Specific requirements:

* 2 devices
    + Player device that will be playing the videos. Should run Android and can be a phone or a tablet.
    + Control device to control playback on the player device
* Solution should not require physical interaction with the player device
* Solution should work without internet connectivity on all devices
* Solution should not require a 3rd device of any kind (e.g. wireless hotspot)
* Solution should maximize battery life on the player device (for example, I think streaming from the control device to the player device would use more battery than if the videos were stored on the player device)

# Answer
My first instinct was to use a bluetooth remote to control the player device, but it would require me to set up a playlist on the player device ahead of time, it limits the ability to play specific videos, and it won't let me control the volume.

Instead I came up with a solution using another Android device as the control device:

1. Copy videos to the player device
2. Install Kodi to the player device
3. Install Kore to the control device
4. Start portable hotspot on the display device

1. *Settings* \> *More* \> *Tethering & portable hotspot* \> *Set up Wi-Fi hotspot*
    2. Get password
    3. Back \> enable *Portable Wi-Fi hotspot*
5. Connect the control device's wifi to the player device's hotspot
6. Open Kore on the control device and follow the instructions to enable remote control on the player device. The instructions are also here: Kodi web server

That's enough to enable controlling playback on the player device. However, if nothing is playing on the player and the screen turns off, starting playback from Kore won't turn the screen on. Here's how I worked around that:

1. Set the display of the player device to never turn off. Based on the answer from here, install Automate and use the flow provided to keep the screen on.

Alternatively, what I did is I created a flow that detects when Kodi is running, and if it is it 1. disables the wifi 2. enables the wifi hotspot 3. turns the media volume all the way up (the volume can be controlled from Kore using the volume buttons) 4. keeps the screen on.
2. Set up a screensaver on the player device to blank the screen to maximize battery life

1. Kodi \> *Settings* \> *Interface settings* \> *Screensaver* \> *Screensaver mode* \> *Black*

Other than higher battery use due to the display workaround, the only other downside I've found is that Kore doesn't support playlists, so you have to create a new queue every time.
> 1 votes

---
Tags: video
---


# Question
Title: Accidentally deleted Bluetooth from Android
Yesterday I got a message from perhaps one of my antivirus that "Bluetooth Share has permission to send text messages without your permission and may cost money". It gave me the option to delete it and stupidly I said yes. To be honest, I thought an app called Bluetooth "Share" would not be the actual Bluetooth apk I used on my phone but rather some third-party app from the Play store. But now I cannot use Bluetooth on my phone and I have no idea how to fix it.

My phone isn't rooted and if anyone has any idea how to restore Bluetooth on my Android 7.0 Moto G4 I would be very grateful!

# Answer
> 0 votes
Fixed!

Go to settings -\> Applications -\> Reset application settings.

Google Play Protect caused the issue and disables the software.

# Answer
> 0 votes
Your AV shouldn't be able to delete system apps (assuming it's not using root). At worst it can disable them and you can restore it from either app management in system settings or you can check if your AV has a restore option.

---
Tags: bluetooth
---


# Question
Title: Is it possible to gain complete remote access of another Android phone from my phone?
In my phone (Samsung Galaxy On7, Android 6.0.1-Marshmallow), the internal memory is very insufficient, and moreover, important apps like MS word and Excel come inbuilt, due to which I cannot move them to the sd card.

I saw on the net that there are methods by which I can gain access over my desktop from my mobile through the Google Chrome Remote Desktop app. There are apps to do the reverse as well. But how can I gain access over another Android phone from my phone?

Actually, I want to use my father's phone, because in his one (Samsung Galaxy On5, Android 6.0.1-Marshmallow), the above stated apps can be moved to sd card. So, it would have been great if I could create documents or spreadsheets from my phone on his phone, and then bring them over to my phone by saving them in the Cloud. In this way, my phone can be saved from unnecessary space loss. I've spoken to him, and he has agreed, but now I need to know how I can do this.

How can I get complete remote access of another device from my device?

*It would be best if I **don't** have to root my phone or that of my father's.*

# Answer
> 1 votes
As far as I can tell, this seems to be achievable at least with the aid of applications such as TeamViewer

**Requirements**

> To be able to use this feature, you must meet the following requirements:
>
> * You are using TeamViewer 12
> * You are a private user or own a TeamViewer 12 Premium license (or higher)
>
> **For the supporting device**
>
> * You have installed the latest version of TeamViewer for Remote Control on your Android device.
>
> **For the supported device**
>
> **Setup**
>
> On the supported Android device:
>
> 1. Download and install TeamViewer QuickSupport or TeamViewer Host on the device.
>
> * You may be prompted to install an AddOn according to your device manufacturer. Please follow the on-screen instructions and install the necessary AddOn for Remote Control capabilities.
> 2. As for every TeamViewer connection, you will need the target device’s TeamViewer ID to connect.
>
> *For QuickSupport : You can find the TeamViewer ID of the device on the start screen of the app.*
>
> **On the supporting device**
>
> 1. Download and install TeamViewer for Remote Control on your Android device. If you already have installed the App on your device, make sure to update to the latest version.
> 2. Open the App on the respective device.
> 3. Connect to the supported device using the ID mentioned above or via the Computers & Contacts list.
>
> Enter the TeamViewer ID of the supported device in the TeamViewer ID field under Connect. To access, click Remote Control.
>
> **After the connections was accepted on the supported device, you are connected to the mobile device and can remotely control the entire device like if would have it holding in your hands.**

Credits

# Answer
> 0 votes
The other option would be to use your gmail account's free Drive, Docs and Sheets access to create, edit and share your documents without ever storing them on your phone, all you need are the 3 apps in question. That way you don't even have to consider going through all the steps of installing Teamviewer (or a similar program) onto each phone and configuring them to work together at any time. Besides, you will use far less data.

---
Tags: 6.0-marshmallow, remote-access
---


title: Battery slowly charging on Tab S

text:
# Question
Title: Battery slowly charging on Tab S
I have a tablet Samsung SM T-805 (Tab S 10.5"). Also I have Samsung A5 2016 phone and original Samsung adapter (2A 5V).

I had custom OS installed on my tablet. At some moment it became to charge really slow. So I have installed Android M on my Tab S. Also I installed 3C battery monitor. **First** charge after reistalling was fast. In fact it was close to 2A. But now charging rate is only 0.5A. Also 3C shows that battery is in good state.

I don't think that problem is with cable/adapter: A5 shows 1A current while charging (I think it's limit for it).

What I suspect:

1. Usb plug-in is damaged.
2. Android is limiting charge rate. I think it's more likely since battery had charged faster right after reinstalling Android.

In case 2 there might be a possibility to somehow remove that limit, but how? If it requires root access it's not a problem.

# Answer
> 0 votes
I have approx 300 Samsung tablets in my company (including ~100 SM-T805). I understand that this could be a software issue with your ROM etc, but in our experience, we often do find that the cables can slowly degrade over time, and even though they display that they are charging at full speed, the speed is actually well below the original maximum.

*I would suggest you find an alternative cable to test*. Drain the tablet battery to 0%, power the unit down and test a full charge with the current cable, (e.g. 2hr 12mins) and then replace the cable, and re-charge the tablet from 0% again.

---
Tags: 6.0-marshmallow, samsung, battery, charging, tablet
---


title: What is downloadfile.bin?

text:
# Question
Title: What is downloadfile.bin?
At random times, Download manager start downloading series of files named as downlaodfile.bin, downloadfile-1.bin and so on.

I got this issue since today morning. And it happened twice today.

What is this file and why it is getting downloaded? Thanks.

**Device information**

Device: Moto G4+ Android version: 7.0 Nougat

Screenshot (click for larger variant)

# Answer
> 0 votes
I use Moto G3 with Lineage OS (July month build). I had the same issue of auto downloading which started two days ago.

What I have observed is the downloading takes place when I turn on mobile data after 10 AM in morning or 10 PM at night. The files are not shown in ES Explorer app, but I can see those files queued if I use in-built file manager of Lineage OS. I tried to see which app was using mobile data at that time using My Data Manager app and it showed that *Media Storage* system app was using the internet.

---
Tags: download-manager
---


# Question
Title: How to force the mobile data (3G/4G) connection on a single app like Google voice recognition?
When an android phone is connected by both wifi and mobile data (3G/4G), it will preferentially use wifi since this saves battery and mobile data bandwidth. However, my mobile connection is more reliable than my wifi, and there are some apps that use only a small amount of data but which I want to operate reliably. Google voice recognition is the primary example.

My understanding is that each app has it's own preferred connection type (almost always set to wifi) at the level of the operating system, but that this setting is not not available to the user. How can I change an app's preference to mobile data? If necessary, I am open to solutions that only work for Google voice recognition (e.g. a buried user option).

# Answer
> 2 votes
There is an app on the Play Store called "NoRoot Firewall" which may be used for this purpose.

Inside the app you can select which app you want to connect to WiFi or mobile data.

# Answer
> 0 votes
Do you have root ? If yes you can download AFWall+ is an excellent open source firewall that let you control which apps can connect to wifi and 3g.

If you don't have root and don't want to do then search on google play for similar non root firewalls but i'm not sure you can do that without root.

# Answer
> 0 votes
If you long-press on the WiFi button you should be able to access Advanced WiFi options. In there, try activating the Auto Network Switch option. Now, I'm not sure if this will effectively disconnect you from WiFi if it detects there's no valid data connection, but it's worth a shot.

# Answer
> -1 votes
As far as I know, network connection type doesn't need to be forced. Application need just a "Data" . Not "Data from 3G" or "Data from Wi-Fi", etc. Also, as you said, mostly Wi-Fi is a better choice. Not using your Wi-Fi can be the answer. PS. Google voice recognition does have a "offline speech recognition" feature. Go to settings, find it and download your language file. This could help.

# Answer
> -2 votes
Just disable WiFi on your Android device. That way you can connect to data over 3G/4G preferentially. Easy as cake.

---
Tags: wi-fi, data-connection, voice-recognition
---


title: How can I flush the DNS Cache?

text:
# Question
Title: How can I flush the DNS Cache?
How can I clear my DNS cache on my android phone? (Droid3, Gingerbread, rooted to be specific)

Ideally I'm looking for a command to run through a terminal emulator, something similar to

```
ipconfig /flushdns

```

On a windows machine.

What's the Linux version of this?

# Answer
> 11 votes
On a typical Linux system the cache is cleared by running `/etc/init.d/nscd restart`, but at least my ROM doesn't use nscd to cache DNS. You can check if yours does, but I doubt it. I've seen suggestions that clearing the brower cache would clear DNS cache too, but one sure way is to do a hard reboot (shutdown, remove battery for 30s, reattach battery and boot).

# Answer
> 15 votes
Addresses are cached for 600 seconds (10 minutes) by default. Failed lookups are cached for 10 seconds. From everything I've seen, there's nothing built in to flush the cache. This is apparently a reported bug in Android because of the way it stores DNS cache. Clearing the browser cache doesn't touch the DNS, the "hard reset" clears it because it simply times out.

Can we ask the underlying reason for needing to clear the DNS cache? Perhaps there's another solution that's missed because we're not looking at the bigger picture.

# Answer
> 7 votes
The only way to do this in Android is to do a hard reboot. The necessary command-line tools are not normally available, however in my tests a hard reboot has always done the trick for me (Galaxy Nexus, and HTC Desire, various ROMs).

This is a pain, but it is quicker than the 10min cache timeout.

# Answer
> 5 votes
There're also apps like Internet Booster promising to "clear DNS cache" (amongst other things). I didn't try it out myself, and furthermore there seems no way to do only that (just one "optimize" button which "applies improvements"); also its effects might differ between devices (says the app's description) -- but it might be better than a reboot. Btw: while not mentioning root as requirement, it might still be needed.

There are several "similar apps" listed on Google Play -- but be aware that most of them include Airpush ads and/or want excessive permissions, which is why I didn't name them here.

---

Another possible solution (not tested by myself) I found at MadPC, seemingly quoting user8522's answer before stating:

> The last option but most intensive on the user themselves unless they want to just wait the update out: Have your users go into settings -\> applications -\> Network Location -\> Clear data

Another short howto mentions a different easy way to flush DNS (again, I didn't test this myself): Simply switch to airplane mode (oops, no network?) and back (ah, there it is) should do the trick. Might sound stupid, but I could imagine when entering airplane mode Android does something similar to `/etc/init.d/networking stop`, which has a DNS flush as side-effect.

---

A very easy solution was supplied by dtumaykin in the comments below: simply switching to airplane-mode and back might already do it (of course with the side-effect of the network going down for a couple of seconds ;) Though it might not work on some devices, it's worth a try: no extra installs, and easily performed even by n00bs.

If anybody tried one of those solutions, confirmation (or the opposite) is surely welcome :)

# Answer
> 2 votes
In modern versions of Android there is an option to clear Chrome's DNS cache under chrome://net-internals/#dns

# Answer
> 1 votes
In my case, I just had one domain name that I needed flushed. Suggestions such as toggling Airplane Mode, performing a hard reboot, or the actions in chrome://net-internals/#dns did not work for me. Instead I temporarily changed my WiFi settings to use Google's nameserver at 8.8.8.8.

These are the steps I took:

* Settings -\> WiFi -\> tap current connection and note the current IP address
* Long click current connection -\> Modify network
* Check "Advanced settings"
* Change "IP settings" to "static"
* Set "IP address" to the current IP from the first step
* Set "Gateway" to your IP address but with .1 as the 4th number (This is just a guess. If you know it is something different, use that)
* Set "DNS 1" to 8.8.8.8

After these steps, when I `ping`ed the domain name in the console it resolved to the correct IP address and seemed to write over the old cached one. Presumably visiting the domain in a browser will have the same effect.

When I went back to WiFi and set "IP settings" back to "DHCP", the correct domain continued to resolve to the current IP address.

This is on a Sony Xperia Z3 running Android 5.1.1

# Answer
> 0 votes
On a Adroid 5.1 Mobile which has took wrong DNS as is switched to much between two WLAN;( A question Mark on a WLAN Connexion. i did not want to restore my phone as i did it once.. Engelsiz: DNS Changer fixed it;)

---
Tags: browser, internet, shell, dns
---


title: Giving GNURoot root permissions

text:
# Question
Title: Giving GNURoot root permissions
So before anything I wanted to say that I am a root user and I installed the GNURoot application from google play. So I have been playing around with the GNURoot app for 2-3 days, and I thought that it would be fun to try and make a reverse tcp connection from my laptop to my phone. So these are the commands I used:

On my phone:

```
root@localhost:/# nc -lp 443

```

On my computer:

```
root@potato:~$ nc 10.10.10.107 443

```

But I keep getting this error on my phone:

```
Can't grab 0.0.0.0:443 with bind : Permission denied

```

Google didn't help much, I know that for ports under 1024 you need admin/root access, but GNURoot never asked for it. What should I do

# Answer
> 1 votes
So the answer to the question is to use ports above 1024 or as @Izzy suggested to ask the dev to implement root access (as an app *must ask* to perform root operations, simply "granting it permission" would not help as the app would not know to (properly) make use of it).

---
Tags: root-access
---


title: Remove user account in Android 5.1

text:
# Question
Title: Remove user account in Android 5.1
I have a ZTE Blade L5 Plus with Android 5.1 that I was using for a while. Now I'm using a Samsung Galaxy phone. I want to remove the Google account from my old phone, so I can give it to a friend.

On the Samsung phone, I go to "Settings" then "Cloud and accounts" then "Accounts" then "Google" then I tap the Menu button (or vertical ellipsis⋮ - the three dots button) and I get two options: "Sync now" and "Remove account". So this is easy on Samsung.

But on ZTE, I go to "Settings" then on the third tab "Personal", I choose the third options "Accounts", then "Google" but here, if I tap the menu button, I only get the option "Sync now". In this screen I have the following three options:

* Sign-in & security
* Personal info & privacy
* Account preferences

If I go to "Account preferences", I have the option "Delete your Google Account" but that's for completely deleting my account, not for removing it from the telephone.

This question already exists, but for a slightly different version of the OS: Android 5.0.1

# Answer
> 1 votes
In my phone, I went `settings`-\>`accounts`, selected `Google`. There I have two e-mails registered, I clicked on the first one, and a set of details opens.

On this screen you see on the top right corner a menu, that allows you to remove the desired account. It didn't wipe my Google's account - if you are afraid, you could just put it on flight mode before taking these actions...

In your case, however, instead of just deleting the account, I would do a factory reset before selling my phone (even if it is to a friend, due to personal stuff I have in it, like pictures and *whatsapp* messages)

---
Tags: 5.1-lollipop, google-account, accounts, zte-blade
---


# Question
Title: Cannot add Outgoing COM port for any android device
My problem is that I need to add outgoing com port to my android device (Nexus 4) Windows 8 x64 connected via Bluetooth.

This is usually done by using Bluetooth settings on the PC and then from "COM ports" tab yo "Add" -\> "Outgoing port". However, when I try to add my device it shows me error "The device you have selected does not have a serial port service running". For Incoming port it work fine, but that's not the option I need.

I've also tried to connect Samsung Galaxy S3, Nexus 7 and rooted Nexus 4. Both on Windows 8 x64 and Windows 7 x32. Nothing worked. Then I connected an old phone which uses Symbian 8(?) and it worked fine. Of course the devices are paired before I try do add COM port.

I did good search on Google, but I did not find a way to "turn on serial port service". There's an app (Serial Port API Sample) which supposedly should help with my problem, but it doesn't - I can't get it to work, always showing an error.

I need the outgoing port so I can control my device like a modem by using Matlab.

# Answer
> 0 votes
This is just based on a bit of research, not my own experience:

Android phones, unlike your Symbian phone which worked, **do not** expose a Hayes-command modem as a built-in externally accessible service. There may well be such an interface *internally* for communicating with the “baseband processor”, but in order to control it from another computer you will have to install an Android app and/or modified OS which forwards the commands it receives from an external source. I don't know whether such an app already exists.

(Further questions on how to get the scheme I described working might be better asked over at Stack Overflow as they would be essentially about programming Android.)

# Answer
> 0 votes
there are some 3rd party app like bluDun and other apps like that are used for as modem service to create a dialup connection

# Answer
> -2 votes
Allow your laptop bluetooth device searchable to others.. then pair from Mobile.. it will help you.. I was facing the same issue but resolved it by doing this trick..

Thanks Rajiv K Pundir

---
Tags: bluetooth
---


# Question
Title: System slow and apps not working on Lineage OS 14.1
Recently I updated my Samsung Galaxy S Duos 2 (GTS7582) from CM 13.1 to Lineage OS 14.1 using the unofficial build I found here. It ran smoothly at the beginning and I took to it immediately. However, after installing some apps, I'm experiencing serious speed issues on my phone. Newly installed apps don't even open; if they do, they just stop working and quit. I observed that Lineage is using the same amount of RAM that CM used to use... so I'm guessing the problem is with the ROM I used and not my phone. If anyone knows of a way to speed up my phone, please advise me. If not, can you suggest another ROM that is lighter and more stable. My key requirement is that it should support extending main memory to the SD card, so that the SD card can be used as main memory. This was my primary reason for upgrading to Lineage in the first place, because my phone doesn't have much in the way of internal storage. It should also, ideally, look as good as Lineage.

Thanks :D

# Answer
> 0 votes
I am facing similar issues on OnePlus 2, but I have tried custom kernels which caused battery life issues. I tried to modify the cpu settings with Kernel Auditor (from google play, requires at least root). It did help a lot but somehow the app intersects with wifi hotspot, so it wasn't a solution.

Today I found a risk free option worth trying: http://www.androidbeat.com/2017/03/how-to-stop-android-apps-killed-marshmallow-nougat/

Hope this helps

---
Tags: lineageos
---


# Question
Title: Downgrade a Verizon Google Pixel Phone to older versions?
I'm planning to buy a Google Pixel off ebay.

Does the Verizon Google Pixel allow downgrading of software?

I like to try older & newer versions for development purposes?

# Answer
I would suggest not purchasing a Verizon Pixel if looking for a unlocked bootloader. I think since around December Verizon has pushed out updates that make it imposdible to unlock. Everything I've read says there's no way to unlock them if updated, and most of them have been.

I own a Verizon Pixel and was so sure I did not want to root...
> 1 votes

# Answer
The Pixel has an unlocked bootloader. You can flash different system images if you feel comfortable enough flashing files. Otherwise, try appetize.io for a good app test. it has many different versions of Android and iOS for all types of devices.
> -1 votes

---
Tags: downgrade, google-pixel
---


# Question
Title: How to make run only a single application with all other application stopped?
I basically want how to stop all other applicationa when my specific apllication is running. It's like in a BITSAT exam, when we log on for the quiz we cannot access internet and we can't access any drives of the computer. So I bascially want that interface to work on my Android, is there any way to do that?

# Answer
This is called *Kiosk Mode* which is hot these days. Try SureLock Kiosk Lockdown app. You can try searching "Kiosk" in Play Store, too.
> 6 votes

# Answer
If you're on Lollipop, its easy to lock down the app. If you're on an earlier version of android, you need to:

1. Set your app as a launcher
2. Root your device
3. Hide default soft buttons

More on this here: How-To create Kiosk Mode
> 2 votes

# Answer
I don't believe Android works this way. If you have a task manager of some sort, you can shut down all open applications, but some will automatically come back. Its just the way it is and how Android works. Somebody correct me if I'm wrong? And If I understand the question?
> 0 votes

# Answer
To achieve such a situation, user needs to awake its developer mode. There is an option related to apps. *Background Process limit* : There you can set how many apps be in background and do you want to leave them.
**But proceed with CAUTION! on these settings.**

Click to enlarge
> 0 votes

# Answer
Google recently released the Android Management API which allows to easily manage Android devices, lock them on a single application and set various other policies.
> 0 votes

---
Tags: applications
---


title: Logging into Google play

text:
# Question
Title: Logging into Google play
I have 4 gmail accounts in my phone but when I go to Google play it is trying to use an obsolete account and in Google play there is no drop down box to choose an active account. (Google play was using one of my active gmail accounts but it all of a sudden stopped working and went back to the inactive gmail account. I also cannot delete the obsolete account off my phone because in settings/account preferences it says in gray "not all settings are available" and there is nothing to click. I was trying to delete it so google play would not try and use it for signing into google play)

# Answer
Open play store and slide from left to right then you can see a drop-down list in the navigation pane. There you can choose the account.

Google play store is inter connected with the Google+ app in your mobile. If you want to remove an account in play store, you can do it by removing that account at google+ app in your mobile. It won't delete your account.
> 2 votes

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


# Question
Title: Status bar and navigation bar have disappeared
I have a Chinese smartphone, Oracle X1 running Android 5.1 that I rooted myself. I wanted to modify the navigation bar using the Softkey Z app. Since my last attempt both the status bar and navigation bar and even the lock screen have disappeared. I tried to install them back with no success. Please help.

# Answer
You need to flash the stock ROM from the backup you took before messing with it. If you didn't take a backup, you'll need to find a copy of the stock ROM from elsewhere. (See Where can I find stock or custom ROMs for my Android device? ) With a no-name Chinese smartphone, you're quite unlikely to get support from the manufacturer, so you might have to search around XDA forums until you find someone with the same phone.
> 0 votes

---
Tags: softkey
---


# Question
Title: Cannot read from encrypted external SD Card - writing works though
I have a new phone with Android 7 Nougat. After cleaning up the old phone and copying all data from the external SD card to my laptop, I inserted the card into the new phone. It reported an error, and I had to format the card. I checked security settings, and set the phone to encrypt the card.

Using Android File Transfer (Mac only) I copied data back to the card. Using Total Commander or Asus Filemanager or any app I cannot open the external card, and I cannot open any files.

Asus Filemanager sees the card as 08AF-6412, but it has no files. Still it reports that 10GB is used of this 32GB card. If I copy a file to it, it says there is not enough space.

I've formatted the card twice, one time formatting it on my laptop to another filesystem to force the phone to format it again. That didn't help obviously. At some point I saw the option to move pictures and movies to the external card, so I did. The files disappeared. When opening the card on the laptop, the files were there, so it worked kind of.

When I open the settings menu and go to the storage settings, then open the advanced settings, I can see the card, its folders and files. I see that files I wanted to copy are created but no data is copied, so 0 bytes.

Anyway, I've found out that you can **use the external SD card as internal memory** with an ADB format option. So I've installed ADB on my laptop, enabled USB debugging and authorized the device. Then I followed the instructions, and still it doesn't work.

**Questions**

* How can I get external storage to work?
* Encryption is required!
* If the external card works as internal memory - that's even better!

# Answer
Today a new update appeared in the phone, and another after that. It seems to work normally now. All apps can read and write to the external SD card.

Glad I waited, because I was considering returning it to Sony to get this fixed.

NB: The second update worked without unlocking the phone by the way. I don't like that! That happened on my previous phone as well.

See Reboot encrypted phone without having to enter password and PIN after crash
> 0 votes

---
Tags: adb, external-sd, sd-card, 7.0-nougat, formatting
---


title: Android ADB Shell Recovery Mounting

text:
# Question
Title: Android ADB Shell Recovery Mounting
\*Question: I need assistance mounting an Android phone's internal data using the Android ADB Shell while the unit is connected via USB and in recovery mode. How do I form a proper mount command? See below for more detailed information.

\*FYI: I have experience developing with the Android SDK using Java/XML. I have found little documentation for the Android ADB Shell for my purpose.

I have a Samsung GT-i9000 Android phone with a smashed screen. Screen is black, and unresponsive to touch. The phone does not have USB debugging enabled or USB auto mount enabled. I cannot simply plug the phone via USB to access the desired files (photos, and other internal data). I unfortunately cannot confirm the OS version. The phone has no SD Card, all the desired data is on the internal board. The phone is not rooted.

\*What I've tried: Doing some research I have booted the phone into recovery mode using the three button method (VolUP + Home + Power) and managed to access the device using the "adb devices" command on my Win 7 machine. It displays as "recovery". This is the only way I have been able to make the computer recognize the device via USB. I've tried Kies, and androidscreencast with no success.

I have been able to use the "pull" command to access all the Android system files from the phone. I presume this is because recovery mode only mounts the required system files for updates/repairs and doesn't bother with the internal data. Using the mount command I can see what I consider to be the paths to the files I am looking for:

```
$ mount
mount
rootfs / rootfs rw 0 0
tmpfs /dev tmpfs rw,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
nodev /tmp tmpfs rw,relatime 0 0
/dev/block/stl6 /mnt/.lfs j4fs rw,relatime 0 0
tmpfs /mnt/asec tmpfs rw,relatime,mode=755,gid=1000 0 0
none /dev/cpuctl cgroup rw,relatime,cpu 0 0
/dev/block/stl9 /system rfs rw,relatime,vfat,llw,check=no,gid/uid/rwx,iocharset=
utf8 0 0
/dev/block/stl3 /efs rfs rw,nosuid,nodev,relatime,vfat,llw,check=no,gid/uid/rwx,
iocharset=utf8 0 0
/dev/block/stl11 /cache rfs rw,relatime,vfat,llw,check=no,gid/uid/rwx,iocharset=
utf8 0 0

```

All my efforts to mount fail, usually with a usage suggestion:

```
$ mount rootfs / /mnt/ rw 0 0
mount rootfs / /mnt/ rw 0 0
Usage: mount [-r] [-w] [-o options] [-t type] device directory

```

# Answer
```
ls -l /dev/block/platform/dw_mmc/by-name/

```

to find the path to user data partition. Then

```
mount -t ext4 /dev/block/mmcblk0p10 /data

```

Check the correct file system type as well as `mmcblkXpXX` from first command.

If successful, `/data` should be mounted correctly
> 5 votes

# Answer
Samsung Galaxy S2 partitions with usefull data are `/data` and `/sdcard` (internal memory) or `/emmc` depending on the recovery.

To mount a partition, you issue the following command: `mount <partition> <mount_point>` or `mount <mount_point>` if the mount\_point is already defined. For `/data` or `/sdcard`, you can try with `mount /data` and `mount /sdcard`.

If the mount\_point is not already defined, you would have to use the partition: `mount /dev/block/mmcblk0p10 /data`. The `-o` parameter defines the options when calling *mount*, but since you only want to get all the data (read), the default options would sufice.
> 0 votes

# Answer
This is a kind of tricky situation. As you don't have root access you won't be able to mount the data partition through adb in recovery. You won't also be able to do: `adb backup`.

The only possible way to get somehow your hands on your data coulb be as following:

1. flash a custom recovery via odin (http://forum.xda-developers.com/showthread.php?t=2204700 maybe)
2. boot into recovery as before
3. mount data via adb if you have root permissions with this recovery
4. or use the key navigation in recovery in order to mount data(there is usually an option to do so) You can navigate with eh vol+ vol- and confirm with power. You just need to know how your recovery looks like from a device with a working screen.
5. pull everything from data and be happy

Maybe you will run into problems connecting via adb as you computer won't be authorized. This has to be checked. If yes you are screwed unless you find a recovery which has this security feature disabled.

UPDATE:

I just found something which pretty much could help you. It is a rooted kernel taken from the stock ROM and a security disabled recovery included. Flashing this Kernel via odin should help you mounting data or any partition you want to mount in order to get your data back.

Do: 1. Download the right CF-ROOT for your android version here: http://forum.xda-developers.com/showpost.php?p=8238938&postcount=3

2. Go to download mode with the key combination(hold down the volume down button, home button and the power button)
3. Open odin(could be great to download it before)
4. Click the PDA button, and select CF-Root-xxx-vX.X.tar
5. Connect the phone to your computer
6. Make sure repartition is NOT checked
7. Click the START button
8. Wait for the phone to reboot

Now you can enter this recovery like before and mount data thorugh adb as you should have root permissions.
> 0 votes

# Answer
from the adb shell

`cat /etc/fstab`

or

`cat /fstab.qcom`

```
~ # cat fstab.qcom
# Android fstab file.
# The filesystem that contains the filesystem checker binary (typically /system) cannot
# specify MF_CHECK, and must come before any filesystems that do specify MF_CHECK

#<src>                                              <mnt_point>  <type>   <mnt_flags and options>                                                                           <fs_mgr_flags>
/dev/block/mmcblk0p8                                /boot        emmc     defaults                                                                                defaults
/dev/block/mmcblk0p13                               /recovery    emmc     defaults                                                                                defaults
/dev/block/mmcblk0p17                               /system      ext4     ro,errors=panic                                                                                wait
/dev/block/mmcblk0p15                               /cache       ext4     noatime,nosuid,nodev,noauto_da_alloc,journal_async_commit,errors=panic,barrier=1                  wait,check
/dev/block/mmcblk0p28                               /data        ext4     noatime,nosuid,nodev,data=ordered,noauto_da_alloc,journal_async_commit,errors=panic               wait,check,encryptable=footer,length=-16384
/dev/block/mmcblk0p28                               /data        f2fs     rw,discard,nosuid,nodev,noatime,nodiratime,inline_xattr                                           wait,check,encryptable=footer,length=-16384

# zRAM
/dev/block/zram0                                    none         swap     defaults                                                                                zramsize=201326592

# vold managed volumes
/devices/platform/msm_sdcc.4/mmc_host               auto         auto     defaults                                                                                voldmanaged=sdcard1:auto,noemulatedsd
/devices/platform/msm_hsusb_host.0                  auto         auto     defaults                                                                                voldmanaged=usbdisk:auto
~ #

```

should give you the partition name you are looking for.

Device: SG-i9001 - Samsung Galaxy S Plus
> 0 votes

# Answer
I had the same problem before. The main reason you cannot remount your file system and other partitions of your Android device is because you are not running the adb shell in root mode. Here's what I did before:

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

```

This should solve your problems. Of course, in my case I am running this on a rooted Android device (LineageOS Android 7.1.2 build). It might be different in your case, but basically the idea is the same.
> 0 votes

# Answer
## Try this:

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

```
> -1 votes

---
Tags: shell, usb, adb, mount
---


# Question
Title: How to prevent android system from creating folders on internal storage
Is it possible to prevent Android from creating additional folders inside **/data/app/**

That is, this is the folder where (user-level) apps¹ are installed. So making the *whole thing* recursively unwriteable will mostly likely break the apps and that's not really what I'd like. (although if you know how to do that I don't mind testing it out) But my primary reason is that I want to prevent any folders from being created there. Specifically the temporary folders that Download Manager is creating there. This is part of my quest to take control over the Download Manager. I can't replace it, so I'm trying different approaches to, well, manage the Manager.

Additional info: Device is rooted. Storage is internal. Android: v6.0.1, ROM: MIUI 8.5.3.0

---

¹ <sub>meaning the apps (APKs) themselves, I'm not speaking about `/data/data/<package_name>/*`</sub>

# Answer
> 1 votes
The way to prevent creation of new files/folders inside a particular folder is to use the chattr +i command. Using "+i" makes it immutable, preventing changes by anyone, including su, until you do -i .

so doing: **chattr +i /data/app**

and then running: `mkdir /data/app/blah` will fail
but `mkdir /data/app/com.android.vending-1/blah` will work fine

# Answer
> -1 votes
With chmod 744 as a root you ONLY can read/write in the folder /data/app (anyone else is readonly) but I wouldnt want to do this because apps are there located too. But you can only restrict user 1000 which is the system (i think) by doing

cd /

su 1000

chmod -wx /data/app/ -Rv (-R is recursively an -v is verbose)

**ABSOLUTELY NO WARRANTY THAT THIS IS NOT HARMFULL**

---
Tags: file-system
---


# Question
Title: Delete backed up photos on Samsung S4 mini
How do I delete backed up photos from my gallery (Samsung S4 mini).

Please note: I took photos with my phone camera. Those photos were uploaded to Google maps. Once they were uploaded I deleted the photos. But those photos still show in gallery. It won't let me delete it. When I click on the photos there is no "delete icon (dustbin)". It gives an options to share the photos but not to delete them. Please help.

# Answer
> 1 votes
If there's no option to delete, then they're already gone from your device. Google keeps a thumbnail available for you so that you can see the photo, share, etc., without taking up a ton of storage on your phone.

If you want them *really* gone, you'll need to go to Google Photos and delete them from there. (Actually, they'll go into the Trash, where they'll be auto-deleted in 3 days, but they'll get removed from your photo gallery on your phone.)

---
Tags: samsung-galaxy-s-4, photos
---


# Question
Title: how to configure number of app-icons panels?
I just got a new Moto Z2 Play with Android 7.1.1

There's only **two** app-icons panels ( the panels that appear when you swipe the home screen left or right to view additional icons ).

On my Moto Z Play ( also Android 7.1.1 ) I have **seven** panels.

I've spent some time searching through settings and googling and can't determine how to configure the # of panels.

# Answer
Unless Motorola have significantly changed the way the homescreen works from stock Android, it only creates as many panels as it needs to show the icons. To add a new panel, press-hold-and-drag an icon to where a new panel would be, then drop it on that new panel. Now you should have one more panel than you did before.
> 1 votes

---
Tags: home-screen, 7.1-nougat, app-icons
---


# Question
Title: Stuck on Download Pending in Play Store after Updating to Lollipop
Good day, as the title states, whenever I download an app from the Play Store, it just says Download Pending.

There is no queued apps being downloaded. I tried the force stop, clear cache, clear data and uninstall updates of Play store and Download Manager, restarted the phone, but still no luck.

One thing I notice is that when I revert it to the factory version, I managed to download an app, but when I tried to download another, it just says Error 907. When I opened the Play Store, it's the latest version again.

I think its in the version, but I'm hoping for other fixes to this

Phone - Cherry Mobile Flare S3

OS - Lollipop

Google Play Store Version - 7.3.07.K-all \[0\] \[PR\] 139935798

# Answer
You need to clear the Play Store data following these instructions.

1. From the **Settings** app, choose **Apps**.
2. Choose **Google Play Store** from the list of apps. A new screen will appear.
3. Click **Force Stop**.
4. Click **Storage** and then **Clear data**.
5. At the top right, click the three dots, then Click **Uninstall updates** to revert to the original version of Play Store that came with the phone.

Follow the same instructions again for the **Google Play Services** app, but this time use **Clear cache** instead of **Clear data**.
> 3 votes

# Answer
Here is the easiest way to fix this issue:

“Navigate your device Settings menu, then go to Play Store. On Play Store page select Clear Cache and Clear Data functions. In doing so, you will delete only Play Store info data. Hence you should not worry about losing important files. If you use Marshmallow or later Android versions, select "Storage", and then clear cache and data from that page. “

Source: https://android-fix.com/google-play-problems/50-download-pending.html
> 0 votes

---
Tags: google-play-store, 5.0-lollipop
---


# Question
Title: Whatsapp chats only partially restored in new phone
I had a Wiko Rainbow Jam which broke, I replaced it with an Echo Stellar, when I installed my SDcard in my new phone about 10 days ago my Whatsapp messages were only recovered until 25 July this year, so there's a gap of nearly 2 months, can I retrieve these somehow?

# Answer
> 0 votes
Unfortunately, if your old phone is wrecked, I'm afraid you can't.

You were able to recover the data that was backed up.

It happened to me when I changed my phone - In my case, my old phone was still working, so all I had to do was turn it on, connect to internet and backup everything I wanted.

On Whatsapp, you go to `Config`-\>`Conversations` (or `messages`, not sure in English, since my app is in another language)-\>`Backup`. There you can check when it was your latest backup, and you can to force a backup.

---
Tags: whatsapp-messenger
---


# Question
Title: What do all these letters/numbers in early Samsung ROM file name mean?
*This question covers early Samsung ROMs if your ROM looks like this example `G930FXXU2EREM_G930FOJV2ERE8_TUR.zip` then see this updated question here*

---

I'm guessing the first 5 letters/numbers are for the model of the device `I8160XXLL2`, but what after that? Is there any guide to understand what exactly they mean by these letters? I'm confused it seems sometimes they repeat the model of the device twice?

```
I8160XXLL2_I8160QXXL3.zip
I8160XXLL2_QXELL3.zip

```

# Answer
These 2 firmware names are a good demonstration of (early) Samsung naming conventions.

* `I8160XXLL2` is the "PDA" designator, i.e. build number;
* `I8160QXXLL3` is the "CSC" designator, i.e. baseband version.

There can be multiple CSCs corresponding to a single PDA, released for different regions.

Inside the string:

* `I8160` is, obviously the model number;
* `XX` is for country/region (XX itself means Europe or international);
* `LL2` are the release date and version (within same month): first `L` for year (L for 2012, M for 2013, etc.), second `L` for month (A for January, L for December, etc.), and `2` for the 2nd version.

Furthermore, you can pinpoint which exact region the firmware is for by using a part of the CSC: `QXX`/`QXE` designates the precise region within the one defined in PDA. Match these 3 digits with a list of firmwares (e.g. on SamMobile), and you will know what regions received such releases.
> 3 votes

---
Tags: samsung, rom
---


# Question
Title: Can't mount filesystem from LG-V20 on MacBook
I have a question about connecting an Android phone to a Mac. I expect you'll need to know some specifics about the hardware and OS versions I'm using. So let me start with that.

```
Macbook: MacBook Pro Retina, Mid 2012, OS: OS-X 10.8.5 (Mtn. Lion)

Old smartphone: HTC Rezound, OS: Android 4.0.3 (Ice Cream Sandwich)
Old cable: Micro-USB connector to USB-A connector

New smartphone: LG V-20, OS: 7.0 (Nougat)
New cable: USB-C connector to USB-A connector

```

For years I've been able to connect my old Android smartphone (HTC Rezound) and my MacBook through a USB cable and OS-X will mount two filesystems from the smartphone so they appear on the Mac as if they were local filesystems. One filesystem represents the phone's internal memory and the other filesystem represents the MicroSD card in the phone. In a Finder window on the Mac, two new icons appear when I plug the phone in, one for each filesystem. And at a shell prompt, if I 'cd /Volumes', two new subdirectories appear.

I should mention that years ago, when I first connected the two, the HTC asked me if I wanted to use the connection to charge the phone or for data transfer, and I selected data transfer.

I'm now trying to set up my new smartphone which is an LG V-20. When I connect it to the Macbook with a USB-C to USB-A cable, the LG phone displays a number of things I might want to do with the connection, including charging the phone or data transfer, and I select data transfer. But on the Mac, no icons appear in Finder and no subdirectories appear in /Volumes.

So, I'm unable to access the phone's filesystems from my Mac.

Anybody have any ideas?

# Answer
I'm sorry I don't have a solution for you, only a small clue. I have the same issue with my LG V-20 and Windows 10 on a Surface 3. I run diagnostics on Windows 10 and it tells me that the V-20 does not support USB3. Since the only kind of port on the Surface 3 is USB3 I'll need to try another computer. (I'm on vacation and have only the Surface with me so I cant try this out right now.) If your macbook has USB2 ports you might try these or if not, try an older computer if available.
> 0 votes

---
Tags: usb-connection-mode, mount, lg, macos
---