# Question
Title: How to reach Google Servers to complete the setup from China
My phone fell from my pocket while on a bike. After a while it was giving me some problems so I decided to resetting it. I'm in China now and I forget that I have to do through all the processes but China is blocking Google's servers so I can't complete the connectivity check.

# Answer
As seen in other answers, VPN is the best solution.

In case you don't have a VPN or it fails to connect, do as follows. This won't do any harm to your phone.
1. Unlock bootloader (if needed) and flash a **custom** recovery (if TWRP is available for your phone, go straight for it) and boot into it
For TWRP:
2. Tap 'Mounts' and tick 'system'
3. Tap 'Advanced' and 'File Manager', locate
Android 4.1 & before: `/system/app/SetupWizard.apk`
Android 4.2~5.0: `/system/priv-app/SetupWizard.apk`
Android 5.1 & after: `/system/priv-app/SetupWizard/SetupWizard.apk`
4. Rename it to SetupWizard.bak
Other custom recovery like CWM:
2. Navigate to 'Mounts' using volume buttons and press power button to enter
3. Again navigate to 'mount /system' and press power button
4. Get a PC (with adb available) and run

```
adb shell mv /system/app/SetupWizard.apk /system/app/SetupWizard.bak
```

Change the path to SetupWizard.apk respectively according to the information above. Then reboot.
After rebooting from recovery, you'll find that the setup screen is gone and there's no more troubles.

Edit: For most highly customized ROMs in China like MIUI and Huawei's EMUI and ZTE's, there may be other setup wizards called mi\_SetupWizard.apk or hwSetupWizard.apk or ZSetupWizard.apk, respectively, which exist **along side** the AOSP's one (usually located in `/system/app` regardless of ROM version). Remove them as well.
> 3 votes

# Answer
Assume you already have a VPN, or a Shadowsocks connection that *works globally* (i.e. not just for your browser - all applications on PC must be able to use it). If using Shadowsocks and don't know how to do it, look up another (paid) software called Proxifier. I will leave this part out since this is not so relevant.

Connect PC and phone to the same network / same router. Install Privoxy and start it up, the default working port is 8118. Also get the local IP of your PC, for example `192.168.1.2`.

Now, on the phone in setup wizard, it will initially ask you to set up wireless network. At this phase, choose something like "options" or "advanced" so that you could tweak the network's advanced settings. Choose "manual" for proxy type, fill the IP into the hostname field and port into the port field, presumably like this:

Done. Save this settings and you should be able to proceed with the rest of the setup.
> 1 votes

---
Tags: google-account
---


# Question
Title: How can I fix this time-zone problem with calendar events that started after installing Android 2.3?
I'm using a Nexus One on T-Mobile in the US. A couple months ago my OS was updated to Android 2.3. Since then I've had a weird problem with my calendar events.

I can view calendar events just fine, and the calendar syncs with my Google Account bi-directionally without issue.

When I create a calendar event, the "time zone" option defaults to my current time zone, "GMT -4, Eastern Standard Time", just like it did on Android 2.2. However, when I touch the time zone option to select a time zone, there are two time zone entries that match mine. One is "GMT -4, Eastern Standard Time", the other is "GMT -4, Eastern Time".

The problem happens when I edit an event. Frequently, when I edit a calendar entry, the event jumps 4 hours ahead unless I manually edit it back down. For example, if I create a calendar event and set the starting time to 1:00pm, when I edit the event I've created the edit screen will show a starting time of 5:00pm. It still shows the correct time zone, but it adds the 4 hour GMT difference into the event's starting time. If I save the event without adjusting it back down, the next time I edit it it will say 9:00pm. This happens regardless of whether the event was originally created on the phone, or if it was created on my desktop PC by visiting http://www.google.com/calendar. It doesn't seem to matter which of the two "US Eastern Time" options I select when creating an event on the phone. This problem did not exist before I installed Android 2.3. It doesn't happen with every single event, but I haven't been able to figure out what the common element is between the unaffected events. It does seem that events that are freshly-created are less prone to this problem (possibly the problem starts after the data's been synced a few times?)

If I create a calendar event on my phone, and then edit it on my desktop PC using http://www.google.com/calendar, the PC edit screen behaves normally, and the changes sync back to my phone without issue. Only when editing events on the phone do I experience this problem.

It's very annoying that I have to dial my events back 4 hours every time I make a change to them. I've experimented with different settings but I haven't been able to figure out how to make this go away. Does anybody know how I can fix this?

# Answer
> 3 votes
I had a problem with a secondary calendar which sounds similar. On edit the time zone changed. I went into the calendar and made sure all of them were set to my time zone. Each calendar has changeable time zone on Google calendars.

# Answer
> 1 votes
I would suggest clearing the Calendar data and re-syncing the events from your Gmail account(s).

Go into `Menu -> Settings -> Applications -> Manage applications -> All` then scroll down to Calendar, tap on it, and tap on the "Clear Data" button. Do the same for the "Calendar Storage" app. Now go back twice (exit to the main Settings menu) and go into the `Accounts & sync` section. For each account you added, go in and toggle the "Sync Calendar" option off and then back on again.

After the calendar data finishes synchronizing, try editing an existing event again and see if the issue persists.

**P.S.** You might need to re-enable the visibility of one or more calendars in the Calendar app by going to `Menu -> More -> Calendars` and ensuring the ones you want are set as "synced, visible".

# Answer
> 1 votes
I just figured out the fix and I'm no techie. After reading several of these posts I noticed someone said to uncheck a setting under calendars. I unchecked the box that said "use home time zone" after setting time to my zone. It worked even though I can't tell you why. I have only had my android for a week and have not traveled out of this time zone. I probably just checked the box not realizing what havoc it would cause!

# Answer
> 1 votes
My Samsung S-iii/Android 4.4.2 causes a 4 hr shift on my outlook calendar, even if the event was originally generated by Google's Holiday posting...if it's a reoccurring event. Daily, monthly, annually, anything initiated on my android that is reoccurring displays the shift. And finding and turning on or off the time zone lock on either my Samsung calendar or my Google calendar doesn't seem to help. However, any one time event, such as a doctor appointment, seems to come out okay regardless of calendar of origin.

So my personal work-around: if I need to post a one-time appointment, I do it on my smartphone without much concern (so far...). However, if I need to post a reoccurring event, such as a class, I only post the first event, with a occurrence reminder in the title, like "Handball, MWF." In this way, the next time, after a sync, I see the first event on Outlook, it will remind me to reenter it on my PC as a reoccurring event.

# Answer
> 1 votes
On my LG Android (Lollipop) I went to Calendar\>Settings\>Calendar Settings and unclicked "Lock default time zone". This stopped my west coast appointment times from constantly being translated to EST.

# Answer
> 1 votes
My work outlook sends the appointment with a timezone of TZID:New Zealand Standard Time BEGIN:STANDARD DTSTART:16010101T030000 TZOFFSETFROM:+1300 TZOFFSETTO:+1200 (I am in New Zealand) so this look reasonable. The start time for a 7:30pm appontment on 7 April 2017 is: DTSTART;TZID=New Zealand Standard Time:20170407T193000 but Android doesn't process this correctly regardless of my calendar timezone settings. With timezone (New Zealand) on, it adds it with a 0 offset so it appears as an appointment on the 8th . I can manually then set the timezone of the appointment to NZ time and the appointment now shows correctly.

I note that an appointment created on android, for the same timehas DTSTART:20170407T070000Z This is a simpler way of specifying the date/time in a timezone independant way.

My conclusion is that it is a bug (incompatibility) between outlook and google calendar, so the workarounds expressed here don't really work.

# Answer
> 0 votes
Uncheckinge the "use home time zone" option also fixed it for me, although I am at a loss to know why this is so, especially since I didn't travel outside of home. Now, if I could only figure out how to keep google calendar and contacts in synch with MS Outlook, I'd be a happy camper.

# Answer
> 0 votes
Remove the account and re-create it. It fixes problem.

# Answer
> 0 votes
set the clock in you phone to the correct time zone -- then make weeks start on Mondays -- the problem will be fixed quickly by the phone

# Answer
> -1 votes
I don't know how *mine* got 4 hours ahead of itself, but I fixed it by changing my time zone to the west coast and back, and then it was OK.

---
Tags: calendar, time-zones
---


# Question
Title: How do I get MIUI to allow notifications for reminder apps?
I'm using an MI phone (Redmi Note 4G), it runs on MIUI v7. This is a problem that a lot of people have been facing for a really long time now: Push notifications for reminder apps (Say Wunderlist, Google Keep, Any.Do etc.) don't work. Mostly they don't work at all, sometimes they are delayed for random number of minutes / hours for absolutely no reason.

How do I get MIUI to allow these notifications?

Here is what I've tried:

1. I've tried "locking" the apps into the apps tray (So that when I clear the RAM, that particular app isn't cleared )

Result: Doesn't work.

2. I've given **all** permissions to the concerned apps. Even those permissions that were obviously not required for the app to do it's basic task: Remind me of my to-dos.

Doesn't work.

3. I've made sure that I've enabled **all**notifications in both the MIUI settings and in the settings of the app

Doesn't work.

There is only thing that **does** work: Not force closing the app (by pressing the back button for a few seconds). Even if I do so, the reminders only work fine for a few minutes: say for half-an-hour or an hour. Reminders that come up later than that don't work.

Here is an ongoing discussion on the same topic: http://en.miui.com/thread-19270-1-1.html (miui forum)

# Answer
On MIUI 8, under Settings, Permissions, you can add individual apps to Autostarts. This is the only thing that worked for apps that I wanted to keep running in the background (eg Gentle Alarm).

The permission does more than autostart an app 'cos if I *don't* have that permission set for Gentle Alarm and start the app manually, the app doesn't work, so I think the term 'autostart' is misleading.

The other thing you might need to do is tell MIUI to not apply any battery saving methods (depending on the MIUI version).

Having said all this, I can't get Google Now to work. I guess I need to find the right app/module to enable in Autostarts.
> 1 votes

---
Tags: notifications, miui, push-notifications, to-do-list
---


title: Xoom - images for recovery

text:
# Question
Title: Xoom - images for recovery
When fixing or recovering Xoom as described in How to Restore and Relock a Motorola Xoom Tablet to Stock using fastboot one needs to do following:

* fastboot erase boot
* fastboot erase system
* fastboot erase recovery
* fastboot erase userdata
* fastboot erase cache
* fastboot flash boot boot.img
* fastboot flash system system.img
* fastboot flash recovery recovery.img
* fastboot flash userdata userdata.img
* fastboot erase cache

For this one needs images `boot.img`, `system.img`, `recovery.img` and `userdata.img`. Given Xoom is old now, I have serious trouble getting those images, links I have found so far are no longer working. Are there any recent and working links, if not for stock images, then for some alternatives?

# Answer
There's a sticky XDA-Developers thread for that: \[INFO\]Stock Images & Other Links. I have clicked and verified that the MediaFire links are working, downloadable and contains exactly the files you wanted:
> 1 votes

---
Tags: rom-flashing, motorola-xoom
---


title: Install Google Chrome in Android 4.1.2

text:
# Question
Title: Install Google Chrome in Android 4.1.2
I have recently recovered my old tablet (Motorola Xoom Wifi). I am now on Android 4.1.2. The only important thing I am missing after recovery is Google Chrome.

I can see the application on the Google Play Store as Chrome Browser - Google, however the store indicates me "Your device isn't compatible with this version". I remember having some Google Chrome on the Xoom before recovery and I remember seeing the same message when I was offered to update Chrome recently (last few months). Is there some archive I could download older Chrome versions from?

Is there some way to check what exactly does the new Chrome require my tablet does not have?

The only browser I have available now is the "Browser", and while it works, I would definitely prefer using Chrome.

# Answer
> 1 votes
* I have Chrome `54.0.2 840.68`, which is a prior version to what is available on the play store
* Min API level is 21 and targetted is 25, which corresponds to Android 5.0 and 7.1.1 as can be seen here
* API level was read using manifest viewer
* Incompatibility warning is being shown as your Android version is not supported. Options you have and associated risks are explained in the accepted answer here Chrome Browser is not supported on this device (Samsung GT-P7500). That leaves you with choices of:

1. Upgrading your Android version
    2. Accepting security risk of using earlier version downloaded from a secure site as commented
    3. Using a different browser

# Answer
> 1 votes
Google play store shows many apps as incompatible although they might work just fine. If you are okay with downloading third party applications, you can download the .apk file for Google chrome from http://www.androidapksfree.com/apk/chrome-browser-apk-latest-version-download/

Inform me if you are unable to install the application after downloading it.

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


title: I can't uninstall Spotify from my phone

text:
# Question
Title: I can't uninstall Spotify from my phone
I've received the Nougat update today on my Xperia Z5 today. I tried to uninstall Spotify after updating for some reason, but I couldn't find the Uninstall button; All I can find is the Disable button, it's acting like a bloatware. What can I do to remove it?

# Answer
> 1 votes
It may came as system app with latest update. So you can only uninstall using System App Remover or you can't.

You may disable app.

Hope will help you!

# Answer
> 0 votes
The app can't be uninstalled because it's in-built(pre-loaded). However, you can disable the app. Disabling is just like uninstalling apart from the fact that it will still consume space.

Edit: One way to remove the app is by rooting your phone.

---
Tags: applications, 7.0-nougat
---


title: Trying to Root my phone

text:
# Question
Title: Trying to Root my phone
I have a Samsung on7 phone which works on android 6.0.1 marshmallow. I want to root my phone but I'm not able to root my phone with any third party software. I always get the error message "root permission acquiring unsuccessful." Is there any other way I could root my phone?

# Answer
First of all, install a suitable and supported custom recovery on your phone then try flashing the popular SuperSU's zip.. this would successfully root your device... (this worked on my Samsung J2 Pro '16 edition)
> 0 votes

# Answer
To root your device first you need to install a particular custom recovery for your device like **TWRP** . then only you can root your device running on marshmallow.
> 0 votes

# Answer
U can look at cf auto root website just type it in to google the scroll to down to Odin flash able list and find your model download that and then. look up how to root your phone with cf auto root and Odin you didn't say the if it was a edge or standard s7 and what carrier you have so I can't post a link but prosess is very very simple
> 0 votes

---
Tags: rooting, root-access
---


title: stuck in bootloader with usb debug off

text:
# Question
Title: stuck in bootloader with usb debug off
i am stuck in bootloop with no recov.img installed. My usb debug is off too.how enble usb debug in bootloader ?

# Answer
> 1 votes
First, unlock you bootloader. With your phone in the bootloader, connect it to you computer via USB. Download fastboot (just google "fastboot download"). Then open CMD or terminal, depending on what OS you have on your computer. Run `fastboot oem unlock`.

Then download TWRP, found here. Make sure you chose the right device (whatever device you have). Download that. At your command line run `fastboot flash recovery path/to/twrp.img`

---
Tags: usb, bootloader, usb-debugging
---


# Question
Title: How to unlock number lock in android 6.0
when i removed the SD card and restarted my smartphone , oddly the pattern lock that i had set was no more and i got a number lock instead.

I tried using googles device locater but it could not locate my device. How do I unlock my phone now

# Answer
> 1 votes
enter in the numbers of in the same order and location as where the dots would have been in the pattern unlock EG

```
...   123
... = 456
...   789

```

so if you pattern was a square then you number pin would be 13269874 that would be a square starting at the top left corner. if this dose not work for you then you can always flash stock img with cmd and restore form back up

---
Tags: 6.0-marshmallow
---


title: Internal memory explanation

text:
# Question
Title: Internal memory explanation
I have a Moto E 2º Gen, 8gb internal memory.

If we substract the Android OS requirements, i'm left with 4.98 Gb, which appears as available internal memory.

It shows 4.11Gb used memory, however, below the phone shows the following:

Apps: 2.21 GB

Images: 8 KB

Videos: 0 B

Audio: 120 KB

Other: 99.98 MB

Cache: 1.99 MB

which adds up close to 3.2GB, so: 3.2GB != 4.11GB. What's going on with those missing 900MB?

Another hints that troubles me comes from plugging the phone to a PC via USB:

Internal memory shows only 342MB available, and the rest all occupied, but when i access the internal files, all files togheter only weigh 224MB!!, and there are no hidden folders.

**Can someone explain why this happens, and what are the REAL numbers to take into account.**

**How could it be that there are hidden files that i can't see even with Windows option "see hidden files" activated?**

This is a specific question, but i've seen this in other android devices, so maybe the answer could be in the OS and the way it manages data, more than a device specific issue. Maybe some internal OS memory is not being shown by the device?

# Answer
I'll try to be straightforward. My answer won't give you a formula explaining why this exact amount of memory is missing from your phone, but it'll hopefully give you an insight about where it's being used and ... why it's needed.

Think of a storage as a copybook, in each page you can store certain amount of data, the technical term for that is a `block` and its size varies from a system (hardware + software) to another.

Now imagine that each of your files is stored in one page of that copy book, let's say you've got 24 pages and 14 files. You might think that the remaining pages are 10 pages (24 - 14 = 10) but that's not right.

You see, in order for your system to know the location of each file it has to store somewhere the location of each single file, it's like an index containing the number of the page for each file. This index itself might take some pages from your copybook and so does the index used by a real file storage system (FAT, FAT32, NTFS...)

This is probably where your missing storage is being used. Just check what file system is implemented on your phone, make some research and you'll get some more in depth explanations (may be some formula along the way).

Cheers!
> 0 votes

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


# Question
Title: Pixel imported contacts' names not showing up at top of messages
I'm coming to a Pixel from an iPhone. When I set up the Pixel, I imported my messages (using the switch process) and contacts (synced through gmail), among other things. However, I wasn't aware that my iPhone contacts were all saved in Google's Exchange account (not gmail), which no longer exists (as of 2012). So when I imported my contacts from my iPhone, every contact I had added since Google migrated away from exchange was not added. To fix this, I exported all my iPhone contacts as a .vcf (using an app) and then imported them to the Pixel.

It seemed to work smoothly, as all my contacts were now showing up in the contacts app. However, in my messages app, I am still showing phone numbers instead of names for all my contacts that were imported through the .vcf--even though google associates those number with their correct contact when I click on the image/letter representing the person in the chat. It also shows the persons name on the lock screen when I get a message--but again, just shows their number at the top of the messages app when texting them. **How can I get messages to show the contact name and not number at the top of messages? Should I not have imported my messages?**

Related, but outdated: Contact names not showing for the calls and messages

# Answer
> 3 votes
After a long support session with Google, some combination of the following things resolved the issue: (although it was unclear what happened when because there were numerous glitches that occurred throughout the process which were corrected by clearing data and rebooting)

* **Force closing the contacts and Messages apps and restarting the phone**
* **Clearing the cache of the Messages app**
* **Clearing the data of the Messages app** (note: this does *not* delete all your conversation threads as I feared it would. The warning may sound ominous, but at least for me, all my conversation threads were resynchronized following the data clearing and reopening the Messages app).
* **Going into settings of the Messages app, and changing the default SMS app to Hangouts, and then back to Messages** (note #1: this requires the Hangouts app. note #2: upon opening Hangouts I was prompted to try the Messages app--I hit OK and this fixed \>50% of my contact formatting issues)
* **Rebooting the device**

This was on a Pixel with Android 7.1 and Messages 2.0.

# Answer
> 1 votes
I had the problem changing to a pixel xl where some names would show up and others would be phone numbers. There is an easy fix! Change the color palette of the person sending the msg and their name will show up instead of their phone number.
Don't know why it worked but it does.

---
Tags: contacts, sms, 7.0-nougat, google-pixel
---


title: How to remove cwm and unroot tab 2 10.1

text:
# Question
Title: How to remove cwm and unroot tab 2 10.1
For my introduction into Android I picked up a cheap tab 2 10.1 from Amazon as it was stuck in a boot loop.

After searching this forum I found a post related to 'unrooting' the tablet, and so I was able to 'unroot' it by flashing it with a new rom. I used slimrom to test and now I'll use a factory rom next.

Could someone please instruct me on how to remove the cwm so that I can completely return the tablet to near factory-like condition?

Thanks.

# Answer
Steps to unroot Samsung Galaxy Tab 2 10.1 to stock official firmware

1. Download appropriate stock official firmware (according to region) for Samsung Galaxy Tab 2 10.1 to computer.
Download links: GT-P5100/GT-P5110/GT-P5113
2. Extract the downloaded zip to get a file with `.tar.md5` extension along with some other files
3. Download and extract Odin3
4. Turn off the Galaxy tablet and wait for five to six seconds for vibration to confirm complete power off
5. Boot the tablet into Download Mode by pressing and holding Volume Down and Power buttons together until a warning screen appears on the tablet's screen. Now press the `Volume Up` button to continue to enter into Download Mode
6. Run Odin3 as Administrator
7. Connect the tablet to the computer using the USB cable while the phone is in Download Mode. Wait until Odin detects the device. When it is connected successfully, an Added message will appear under Odin's message box. Additionally, the ID: COM box in Odin will turn blue with COM port number indicating successful connection.
Note: If the Added message does not appear, then try the USB port at the back of the computer. If Odin still fails to recognize the device then re-install USB Driver.
8. Select these files extracted from stock firmware folder to install on the tablet

1. Click PDA button and select file with `.tar.md5` extension
    2. Click Phone button and select file with Modem in its name
    3. Click CSC button and select file with CSC in its name
    4. Click PIT button and select the `.pit` file
    Note: Ignore last three steps (2-4) if such files are not found.
9. Configure Odin settings. Ensure Auto Reboot and F.Reset Time checkboxes are selected. But uncheck Re-Partition option; select it only when `.pit` file is being used
10. Double check everything and click the Start button in Odin. The installation should begin now and would take a few minutes to complete
11. When the installation process is completed, the phone will restart automatically. Following this, a PASS message with green background will appear in a box at the extreme left of Odin indicating successful installation. Unplug the USB cable from the phone to disconnect it from the computer

As the Galaxy Tab 2 10.1 boots up successfully, it should be unrooted and running on stock official firmware. Head over to *Settings\>\> About tablet* to verify the software version of the device.
> 2 votes

---
Tags: clockworkmod-recovery
---


title: WebGL support - which browsers?

text:
# Question
Title: WebGL support - which browsers?
Which browsers (and which versions) support WebGL?

In particular I am interested in checking Three.js examples, but I do not want to limit this question about a particular WebGL framework or a page.

# Answer
## General information

The website Mobile HTML seems to contain some information. It lists WebGL as supported by following platforms + browsers:

* Android 4+ and Chrome 30+, with following comment:

> On Chrome 27-29 available enabling an experimental flag. On Chrome 30 it's enabled but on most devices you need to enable the flag 'Override software rendering list'

* Opera Mobile 12+
* Firefox (no version information)

There is no information about how complete the support is, the website claims:

> HTML5 compatibility on mobile and tablet browsers with testing on real devices

Other page where one can check support for HTML5 features is Can I use, which lists following for Android Browsers:

* Opera Mini: not supported
* Chrome 55: partial support
* Firefox 50: partial support
* Android Browser- Android 5-6.x WebView Chromium 53: partial support
* Opera for Android 37: supported

## Chrome support

As for Chrome, the WebGL was probably enabled by default in some later version. I am now testing on a Xoom with Chrome 49 and I can run even WebGL specific three.js demos like geometry / convex. When going to `chrome://flags`, the WebGL option described does not exist, there are only flags for enable draft and 2.0 experimental extensions. When going to `chrome://gpu`, I can see *WebGL: Hardware accelerated*.

## Testing results on Motorola Xoom + Chrome 49

The support is really "partial", some three.js WebGL examples work (geometry / convex), some don't (geometry colors), some work, but run very slow (like 1 FPS in camera / logarithmicdepthbuffer).

When checking `chrome://gpu`, I can see many error messages logged starting with *Shader translator allowed/produced an invalid shader unless the driver is buggy*.
> 4 votes

# Answer
Chrome browser supports WebGL but it is disabled by default. Here's how you can enable it:

**1.** Type **chrome://flags** in the address bar.

**2.** Tap Enable under "Enable WebGL" on the flags menu.

**3.** Tap the Relaunch button.

**4.** Navigate to http://get.webgl.org to verify that you have WebGL support. You might get a message saying that the support is experimental.

Source: http://www.laptopmag.com/articles/how-to-enable-webgl-support-on-chrome-for-android
> 0 votes

---
Tags: browser, html, html5
---


title: hanging while entering bootloader menu

text:
# Question
Title: hanging while entering bootloader menu
Hello every one I want to install ubuntu touch on my galazy W I8550 but I hangs when I use this code `adb reboot bootloader` then it just shws a blak screen witch sayes to continue push up volome bottom or down one to reboot but it just hangs. DO you help ,e with this?

# Answer
Samsung devices don't support fastboot. Hence, the bootloader mode is replaced by the **Download Mode**, in which, by pressing `Volume Up`, you tell your phone to accept incoming data sent from either **Odin** or **Heimdall**.

If your device appears to be stuck in it, just hold the `Power` button until it reboots.
> 0 votes

---
Tags: adb, samsung, fastboot, linux, bootloader-lock
---


# Question
Title: Rooting Samsung Galaxy Young 2 (SM-G130HN)
I am having issues in rooting the Samsung Galaxy Young 2 (SM-G130HN).

I did search online and found a root file named `G130HNXXU0ANH2_ROOT.tar`. The method described in various android forums did not work : everything seems fine, but when I restart my phone and check with SuperSU, I am not root.

and I suspect the reason is that my phone has a different baseband number. Mine is `G130HNXXU0APA2`. Considering the name of the root file name, it might only work on baseband number `G130HNXXU0ANH2`.

I've checked on this list How do I root my Android device? and I'm afraid my phone is too old (for this sh\**)...

Am I right in thinking that the reason of the fail could be the band base number? Is it possible to change this number so the file I have would fit?

Another solution could be having the right root file corresponding to my baseband number but I can't find it.

# Answer
> 2 votes
The standard way of rooting is to use a custom recovery to install a SuperSU zip, which not only contains the SuperSU app itself, but also proper binaries and tools. Luckily, this unloved device still has a custom recovery available in this XDA-Developers thread.

Install the CWM package via Odin, then install SuperSU from it. Don't bother with the build.prop and custom ROM mess, those are for another purpose.

---

*I was helped by @Andy's answer and I wanted to add more details about the rooting of the Samsung Galaxy Young 2 (SM-G130HN). <sub> Bebs</sub>*

## Root

After the first steps described in the question, I had to try another rooting method. I found one in this post How do I root my Android device?, and the ont that worked is

> Kingoapp

I had to download it from my hpone because my PC navigator detected a troyan. It indeed worked with one clic.

## CWM

At this moment, I still could not use SuperSU --the one dowloaded from Google Play--, my phone was seen as rooted, but there were a problem with SuperSU.

I learned from this page I could manually install another SuperSU package but first I had to allow my phone to be **CWM**.

1. Download CWM.
2. Start Odin.
3. Start the phone in Download mode by holding Volume Down, Home and Power. Plug the phone via USB to the PC.
4. In Odin, check AP and browse to CWM.tar file. Click Start.
5. Rebbot the phone (in my case it rebooted itself).

Now your phone can be CWM.

## SuperSU.zip

1. SuperSU.zip file can be downloaded here.
2. Store the file into a mini SD card, and plug the card in the phone.
3. Start your phone in CWM by holding Volume Up, Home and Power.
4. The the menu is clear and you can install the zip file.
5. Then browse in the menu to reboot the phone.

Now SuperSU works.

I also finally could remove crapy bloatware with Titanium Backup.

---
Tags: rooting, samsung
---


# Question
Title: Dual SIM: Disable telephony features on second SIM
I have a Samsung Galaxy S Duos 2 (GT-S7582) with two SIMs. I'd like to use one of those SIMs for everything telephony related, the other SIM for everything data related. I managed to set the first card to be the default SIM for outgoing calls, and I deleted the APN for the first card so that only the second SIM is used for data.

However, I still receive calls for the number of the second SIM. I also get the choice to call using the second SIM, which I do not want.

How can I disable receiving calls from the second SIM? How can I fix telephony/data even harder to the individual SIMs?

Android version: 4.2.2

EDIT: As a first workaround, I disabled the default ringtone for the second SIM. This way only the display lights up, which is easy to ignore.

# Answer
You can achieve this by applying call barring on the SIM.

Although I know this is a different Andriod version, I am sure you will find something similar to this on my OnePlus 2.

> Phone app \> Settings \> Call settings \> SIM 2 \> Call barring \> Incoming call barring
> 1 votes

---
Tags: 4.2-jelly-bean, settings, calls, sim-card, dual-sim
---


# Question
Title: Can I change the dalvik cache location e.g. with a symbolic link?
I currently use Link2SD since my phone's onboard storage is insufficient for more than a few essential apps. It is very effective but limited to when the phone is on.

While changing ROMs, the dalvik cache is wiped and when the phone restarts you see a progress bar saying Android is optimising applications. So given a reasonable number of applications, the dalvik cache fills up the storage long before link2sd can do anything about it.

So is there a way that mounts a sd card folder as the appropriate cache location before the system gets on with booting and doing its business? I know it might involve creating a symbolic link but I just don't know when things are mounted and in what order.

# Answer
Of course you can. Although it seems like there's no problem to migrate dalvik-cache to a normal SD card filesystem (the most common, vfat), it still is highly recommended that you format your SD card to ext4 (or the same as your `/data`) to ensure everything works fine.

So let's go. A full backup of all your apps is recommended before proceeding though if you feel lucky, it isn't required. Assuming that you have a terminal emulator to do the necessary jobs.

First, create a folder that you want to migrate your dalvik-cache to. Then `chmod` and `chown` the new folder to match `/data/dalvik-cache`. **If you're running a SELinux-enabled Android OS, don't forget to change security contexts correspondingly.** Run

```
ls -dlZ /data/dalvik-cache
ls -lZ /data/dalvik-cache

```

to see the original permissions, owner/groups and security contexts of dalvik-cache folder.

Next, copy all files from `/data/dalvik-cache` to your new location, for example `/storage/sdcard1/dalvik-cache`. You can use `cp -a` command to preserve file attributes, which would make things simpler.

**Ensure no new apps start during the process of the following step.**

Then, `rm -r /data/dalvik-cache` and create a symbolic link to the new location using

```
ln -s /storage/sdcard1/dalvik-cache /data/dalvik-cache

```

That's all. We're done. Reboot your phone (not required but recommended).

Some notices about this process:

1. The busybox may not always work well as Android is based on a highly modified Linux kernel. For example almost all SELinux-related functions do not work properly. You can test it out as shown below.

```
toolbox ls -Z /data
busybox ls -Z /data
toolbox getenforce
busybox getenforce

```

However these may work properly, depending on Android version:

```
busybox chcon <context> <files...>
busybox runcon <context <program> [args...]

```
2. **Never** remove your SD card. If you re-format your SD card, make sure it's still ext4 AND create the dalvik-cache folder back **before** booting your phone for the first time.
> 2 votes

# Answer
There are some nice Howtos available, which might prove helpful to solve your issue:

According to several forum threads, A2SDGUI - Darktremor A2SD GUI should be the app of choice to move the Dalvik cache to your SD card.
> 1 votes

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


# Question
Title: How can I return to locked boorloader, unrooted and original ROM state on Asus Zenfone 2 Laser ZE500KL?
I need to return the phone for reparation. The handset is broken. The warranty is void in the current state of the mobile phone.

How do I return to its original state?

# Answer
> 2 votes
ASUS already upload stock ROM for ASUS Zenfone 2 Laser Series, You can download the ROM's via download links below :

Asus Zenfone 2 Laser ZE550KL: http://dlcdnet.asus.com/pub/ASUS/ZenFone/ZE550KL/UL-Z00L-WW-1.16.40.763-user.zip

Asus Zenfone 2 Laser ZE500KL: http://dlcdnet.asus.com/pub/ASUS/ZenFone/ZE500KL/UL-ASUS\_Z00E-WW-12.8.5.222-user.zip Adb fastboot Tool USB drivers Laser ZE550kl

How to Flash Stock Rom on Zenfone 2 In this tutorial I'm taking WW\_1.16.40.763 in ZE550KL/ WW\_12.8.5.222 in ZE500KL as an example.

Step 1. Once you have downloaded the full stock rom, rename the zip file to WW\_1.16.40.763 / WW\_12.8.5.222

Step 2. The reason why we did this is, by renaming the zip file the phone gets notified that a new version of software is available to install.

Step 3. Copy the renamed zip file to internal memory of your zenfone 2 laser.

Step 4. Disconnect the phone from pc, you'll get a notification of available update.

Step 5. Install it. Now the phone reboots with the fresh stock rom flashed in it.

If the above method not work try the below one.

How to Flash Stock Rom on Zenfone 2

1. Turn off your Zenfone 2
2. Go to recovery mode (Tutorial HERE)
3. Select apply update from ADB
4. Connect your Zenfone 2 to your PC with USB cable
5. Open command prompt in Windows (in the same folder where ADB is located)
6. Check connection by type adb devices if connection successful will be a list of Zenfone 2 device
7. Type adb sideload file.zip (file.zip=adjust the filename, asus zenfone firmware that you download earlier)
8. Wait until the process is complete
9. Zenfone 2 will flash to clean thoroughly

Hope it helps.

# Answer
> -1 votes
After doing the above answer's steps run `fastboot oem lock` to relock the bootloader.

---
Tags: factory-reset, warranty
---


# Question
Title: How to extract ZIP files on SD card via MTP from Linux?
I need to copy 200,000 files from my computer running Debian to the SD card on my Moto E running Lollipop.

I have installed mtp-tools and can mount the SD card in Thunar via MTP. I attempted to copy the 200,000 files directly, but Thunar estimated this would take 200 hours to complete. So I compressed the files inside some ZIP files, which only took a few minutes to copy to the SD card.

Now that the ZIP is copied over, is there any way I can use Linux utilities to extract the files found on the SD card, without installing a file manager on the phone?

# Answer
In order to unpack a ZIP file that's located on your phone, you can make use of the **unzip** command, which is included in BusyBox. To execute it, you can either install a Terminal emulator on the phone, or use **adb** from a computer with your phone plugged to it via USB.

---

## ADB method

Before plugging your phone to the computer, make sure that the checkbox near **USB debugging**, located in the **Developer settings**, has been selected.

Next, plug your phone to the computer, start a shell on the latter and install **ADB**, which you'll use as a means to execute commands in your phone.

After the installation is complete, start ADB by issuing `adb shell`, which will trigger an authorization dialog on your phone's screen. Accept it, and focus on the newly issued command, since you might have noticed that a new, differently prefixed shell has taken your previous one's place on the computer: you're now commanding your phone.

Now, from the ADB shell, `cd` to the directory where your ZIP is located, and create a new directory with `mkdir Directory` (replace `Directory` with a name of your choice).

Finally, issue `unzip archive.zip -d Directory`, replacing `archive.zip` with your archive's name; the contents of the archive will then be extracted to the specified `Directory`.

Should you find too much output cluttering your shell, replace the unzip command above with `unzip archive.zip -d Directory &> /dev/null`, which will silence the command.
> 2 votes

---
Tags: 5.1-lollipop, linux, mtp, zip
---


title: What is the interface to RIL daemon?

text:
# Question
Title: What is the interface to RIL daemon?
I know the Android HAL defines an interface for Radio Interface Layer (RIL) manufacturers to abide by, which is the one used by ril daemon to talk to vendor-specific ril shared libraries. But what I couldn't find is the interface to talk to the ril daemon itself.

How does the phone service speak to rild through `/dev/socket/rild` unix socket? and where is the source files of the phone service?

# Answer
> 1 votes
For anyone who's been in my situation , you'll find the sources of the phone service that are related to RIL under `frameworks/opt/telephony/src/java/com/android/internal/telephony/RIL.java`.

---
Tags: aosp
---


# Question
Title: How to launch this Xiaomi Font Settings activity?
I am trying to lauch this activity. But, can't launch.

I've tried like this.

```
adb shell "am start -a com.android.settings -n com.android.settings/com.android.settings.Settings$FontSettingsActivity"

```

Anything else I need to try?

# Answer
You can try with monkey commands.

```
monkey -p package_name -v 500

```

An alternative way is to install Nova Launcher. Run it then touch and hold an empty space in the home screen \> choose Widget \> Activities. Scroll down to the settings icon touch it to expend its activities then touch and hold the one you want to launch.

*And from your command: `adb shell "am start -a com.android.settings -n com.android.settings/com.android.settings.Settings$FontSettingsActivity"` you should just put `/.FontSettingsActivity` after the slash.*
> 0 votes

---
Tags: adb, xiaomi
---


# Question
Title: How to create a soft link between root partition and ext3 partition(on SD)
I am trying to create symbolic links of `/data/sdext2/app/*` on `/data/app`.
This is what I did in adb shell
`ln -sf /data/sdext2/app/* /data/app/`
But it is telling *"link failed No such file or directory"*.
Note that none of the partitions are of FAT32 format.
And without -f option it says *"link failed File exists"*.

# Answer
**ln** only takes 2 arguments at most (not counting options), the ../\* wildcard however expands to all filenames in the folder. Just do place an echo before ln to see what happens.

Do it one by one this way:

> cd /data/sdext2/app
> for i in \*; do ln -s /data/sdext2/app/"$i" /data/app/;done

or

> for i in /data/sdext2/app/\*; do ln -s "$i" /data/app/$(basename "$i");done

EDIT

Ok, this is how it works on my device:

> me@workstation:~$ adb shell
> shell@android:/ $ id
> uid=2000(shell) gid=2000(shell) groups=1003(graphics),1004(input),1007(log),\[...\]
> shell@android:/ $ su
> shell@android:/ # id
> uid=0(root) gid=0(root) groups=1003(graphics),1004(input),1007(log),\[...\]
> shell@android:/ # cd /data/
> shell@android:/data # ln -s /data/sdext2/app/banana.app /data/app/cucumber.app
> shell@android:/data # ls -l /data/app/cucumber.app
> lrwxrwxrwx root root 2012-11-06 22:30 /data/app/cucumber.app -\> /data/sdext2/app/banana.app
> 1 votes

# Answer
I made it this way

```
cp -a /sdcard/olivetree /sdcard/sdcard-disk/olivetree
rm -rf /sdcard/olivetree
ln -sf /sdcard/sdcard-disk/olivetree /sdcard/olivetree

```

But for wired reasons it didn't work or me in android 'Terminal Emulator' but smoothly worked from my PC via Putty and android 'SSH Droid'.
> 1 votes

---
Tags: adb, linux, ext3
---


# Question
Title: Allow unlocking my phone with my voice, but only when I'm at home
On my Google Pixel (and presumably other modern Android devices), there is a setting called Trusted Voice:

I'd like to enable this feature, since without it I can't use Google Assistant hands-free when my phone is locked. (Even simple search queries which don't involve accessing any of my personal information require my phone to be unlocked first.) Unfortunately, this obviously comes with some significant security risks:

I'd like to mitigate the impact of this by only allowing the Trusted Voice feature to be used in specific situations, like when I'm sitting at home. Is there a way to do this? (Maybe I could toggle this feature on and off with Tasker? I didn't see any immediately obvious way to do that in Tasker's list of actions.)

# Answer
> 0 votes
Alrighty so there's no way to my knowledge to toggle trusted voice as it requires authentication with each toggle. I'm thinking when on the lockscreen or screen off and not near your home just kill the mic, trusted voice relies on this and therefore would not function.

To detect your house I would use Wi-Fi Near or Connected YOURSSID. Obviously not near your house would be when either of those equaled false.

Detecting screen off is easy but you don't want mic to immediately turn back on when screen comes on but your on the lockscreen. Then once the lockscreen unlocks your going to want your mic back on.

After all that psuedocode here's a profile I've created based on the above logic.

**1st Profile | Away from house pt. 1**

**Event**: Screen Off & Not near your Wi-Fi

**Task**: Mute mic

**2nd Profile | Away from house pt. 2**

**Event**: Screen On & Not near your Wi-Fi

**Task**: Wait until keyguard is unlocked and when it is unmute mic

**3rd Profile | At house**

**Event**: Near your Wi-Fi

**Task**: Unmute mic

Profiles zip: https://drive.google.com/file/d/0B48arFbBn-PdR2JlX3Ryblk2Wms/view?usp=drivesdk

Place all three .xml files in /sdcard/Tasker/profiles. Then to import long press the profiles tab in the Tasker app and hit import, select the three. Change the YOURWIFI to the name of your Wi-Fi in each of the profiles.

I have tested the mic muting and unmuting but I cannot test the rest, let me know how it goes.

---
Tags: security, smart-lock, google-assistant
---


# Question
Title: notification saying Google play services has stoped working
For my Samsung galaxy s2 there is a message saying Google paly services has stoped working it is really annoying and can you please fix it.

# Answer
Once solution is to go into **applications** and disable Google play services. But u won't be able to use some apps such as Google photos.
> 0 votes

---
Tags: applications
---


# Question
Title: Music volume turning off when headphones moved around
I have an LG Lucid with Android 2.3.6 and I have a big issue with my music. I'm not sure if this is an Android setting or a LG one, but I'm hoping to find a way for this to stop happening.

I use my phone a lot to listen to music, and one of my biggest issues is if the headphone jack gets moved even the slightest, the music automatically pauses and reduces volume. I usually have my phone in my pocket and listening to music while working out, jogging or doing housework. This feature has basically made the music playback feature of my phone useless, as I can not do any of these things without the music constantly pausing and lowering in volume.

This happens in my car as well, with my wireless FM transmitter: even the slightest bump or movement of my phone on the car seat and music stops.

Please, tell me there is a way to fix this: it would be greatly appreciated. Also, like I said before, I'm not sure if this is an LG or Android thing, so if anyone can verify that I would also appreciate it.

# Answer
> 1 votes
Sounds more like a bad connector problem.

Try cleaning the headphone plug using a rough-ish cloth to clean up the (probably unseen) oxidation layer.

Spray the plug using a contact cleaner, then while it's not yet dried, plug it into the jack and do some left-and-right rotation. Unplug, and let the plug dry. Then replug, and do the rotations again.

If the above does not fix your problem, there's possibility that the solder contact between the jack and the phone's mainboard has cracked; you need to bring your phone to the service center (or someone skillful enough to perform cellphone repairs).

# Answer
> 0 votes
I have found the best solution that is if you don't want to factory reset your phone. I tried putting a layer of tape over the earphone hijack and voila the issue was gone. Needless to say that it is definitely not an app or software issue but with the hijack itself.

# Answer
> 0 votes
I know this sounds rough but try romving bits of the Cotten off a q-tip and squeeze some of it in there the reason mine was malfunctioning was because there was dust in there so all you had to do was clean it up. And no using this method won't jack up your sound because I've been doing this for a while now and my sound works perfectly. (Try this at your own risk, NOT SAYING IT WON'T WORK!! But...)

---
Tags: music-player, headphone-jack
---


# Question
Title: How can I install apps onto my 2nd partition of my SD Card?
I created a 2nd partition on my SD card. It has the FAT32 file system. Then I used Link2SD to create the mount scripts. In the settings, I changed the default install location to *External*. The below summary gives an overview of my storage capacity.

However, when I try to install an app from the Play store, I receive an *Insufficient storage* error message, despite having 94% free space on my 2nd partition.

How can I install apps directly onto my 2nd partition?

```
Internal /data (10% Free)
SD Card /mnt/sdcard (72% Free)
SD Card 2nd Part. /data/sdext2 (94% Free)
System /system (15% Free)
Cache /cache (97% Free)

```

# Answer
> 1 votes
You'd better give up attempting to install apps on a FAT32 volume. Various issues will soon drive you mad. Format the 2nd partition to ext4 before doing anything else.

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


title: Will Software Upgrade wipe data

text:
# Question
Title: Will Software Upgrade wipe data
I have a Motorola E2. I am considering the Marshmallow system update, but I have a few questions to ask (the system update is officially offered by motorola).

Questions

1. Lets say I rooted my phone and made a normal app into a system app, will the upgrade wipe the system app.
2. Will the latest version of all Google apps be flashed.
3. I have an issue ever since unrooting where I cannot log into Google account. Will the upgrade be likely to fix this issue.

Any anwsers will be well appreciated.

# Answer
> 1 votes
If you are rooted, you will not have any chance to get OTA updates. Only after complete unroot or reset makes device Official again.

1. You are required to do the process again(to make user app as system app).
2. Google apps for that android version will be provided by the manufacturer(Motorola).
3. Simply unrooting won't make it official again. That's why you have got some problems on Google account

---
Tags: 6.0-marshmallow, ota-update, motorola-moto-e
---


# Question
Title: Why does Android require you to revert back to factory version in order to disable a system app?
In Android, you can go to the App info page and do things like see how much data storage it's using, force stop the app, and uninstall it. If the app isn't installed via the Play Store or APK (ie, it's installed in the /system partition), the Uninstall button is replaced by the Disable button.

Why does the Disable button require the app to be rolled back to the factory version before it will disable it?

# Answer
> 2 votes
No, no, no.
Reverting to the factory version is **not** required to disable an app.
It's simple. The dev team think that by disabling, you mean you don't need that app anymore so it's of no use to keep an updated version, so they decide that the 'Disable' button will take the same place as 'Uninstall Update', resulting in less buttons in the app info page.
In actuality, you of course can disable a system app without reverting to factory. However this requires command-line operations, like `adb` or a terminal emulator. Type in

```
pm disable com.example.foo
```

and hit carriage return, the app will be disabled without reverting.
To re-enable, type in

```
pm enable com.example.foo
```

and hit Enter.
That's all. Pay attention that you should replace `com.example.foo` with the actual package name.

---
Tags: applications, disable-app
---


title: Moving app data to external sd card

text:
# Question
Title: Moving app data to external sd card
Is it possible to move almost the total app size of an app to external sd? example 90% of its data will move to external and the 10% will stay...

I've tried moving the Clean Master app, its total size is 71 MB but only 20 MB was able to move in the external... not even 50% of total size has been moved...

# Answer
Easy approach: Link2SD

Manual method:
If you are sure that the file attributes does **not** matter, then there's an acceptable way to do this. Root is required.
1. Copy the app data from `/data/data/com.example.foo` to somewhere in your SD card. Personally I recommend `sdcard/Android/data/com.example.foo`. If you are running Android Lollipop or up, there will be a symbolic link named `lib`, **leave it alone**. 2. Kill the app process. Remove the original data. Open a terminal emulator (or adb). Run

```
su
ln -s /sdcard/Android/data/com.example.foo/files /data/data/com.example.foo/files
```

That's all. To revert this job, it's a little complex. You'll have to `chmod` and `chown` the proper file modes and attributes manually after copying them back.

Special notices: Never copy and link the `/data/data/com.example.foo` folder directly as the symbolic link `lib` inside will fail, which will lead to unknown behavior. Link every (or some of them at your choice) subfolders one by one.
> -1 votes

---
Tags: storage
---


# Question
Title: Help on fixing "unfortunately the process com android systemui has stopped" on galaxy s3
Every time I open any app then press the home button to get out of it: meaning that the app is running in the background, then press the home button again to swipe away or close the app the message, "unfortunately the process com android systemui has stopped" , appears and I get sent to lock screen. I haven't done anything to my phone before this message kept appearing. I didn't touch any files, download games, or do anything risky to the phone. Is there a way to fix it? If there is please help.

# Answer
The following worked for me: Go to Settings → More → Storage → Applications, and uninstall updates and clear cache of Google Search (now named just "Google App").
> 4 votes

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


title: Camera is not working in ASUS Zenfone2

text:
# Question
Title: Camera is not working in ASUS Zenfone2
While opening camera in my asus zenfone2, it shows a black screen and suddenly exit from camera application (The device got authorized service from asus twice, and after second service, the problem arised. May be due to camera driver errors). Everything functions perfectly except camera. So, I am trying to root the phone and need to install cyanogen-mod in my device. Does this operation solves camera error? Please, tell me how to root and install(TWRP) recovery in asus.

# Answer
**Backup is important**

1. flash Stock ROM again.
2. Root the device, install a custom Recovery(TWRP), and install a custom ROM(Eg: Cyanogenmod or mokee or aicp etc) URL to XDA is descibed below :

XDA Zenfone2

How to Root and Install TWRP is described on this link.

How to flash:

**Check for any firmware file required, before flashing ROM. Otherwise, your device will get bricked.**

```
a. Install latest TWRP recovery on your device.
b. Make a backup of your current ROM.
c. Wipe system, data, cache and dalvik.
d. Flash ROM and Google apps.
e. Reboot system.
Custom ROM is installed.

```
> 0 votes

---
Tags: rooting, camera, asus-zenfone-2
---


# Question
Title: How to actually merge/join the internal storage and external SD card!
I have a 30 Gig external SD card in my LG 9 phone. I am trying to merge/join the SD card with the internal storage so when i save ANYTHING on my phone whether it be an app (including updates), a song, a video, a picture, system updates, etc. I want it all to know how to save to my SD card automatically without setting up directories or using a "transfer file to SD card" app.

# Answer
> 1 votes
You can try link2sd, use the first partition on SD as internal storage.

I had many issues with link2sd, mostly related to app failing installation/upgrade

# Answer
> 1 votes
I would recommend the Xposed module XInternalSD. It will change the default save path of all of your apps to the external SD card. It can be enabled for all apps or on a per-app basis. As far as I know there is no way to accomplish this without root. Although technically there is no way to "merge" the internal and external memory; they are mounted at different points on boot. But this is probably the best solution for what you want to do.

App2SD (available in the Play Store) is another option. It is updated frequently and includes multiple methods of linking a 2nd partition (standard root, init.d and su.d) which offers good performance especially if you have SuperSU and can use su.d mode. However it requires more configuration and tweaking than the XInternalSD module.

Stay away from Link2SD. It hasn't been updated in a long time and appears to be a dead project. It does not include all the helpful tools and multiple methods of App2SD either. I would not recommend using it except maybe on very old devices.

---
Tags: sd-card
---


# Question
Title: Symlink to simulate /storage/extSdCard in Android 6.0
So recently, I started using Android 6.0, and one of the first things I noticed was that the external SD card was no longer mounted under `/storage/extSdCard` anymore; instead, it was mounted under a folder named after the Volume ID in `/storage`, meaning that several of my applications that originally used the `/storage/extSdCard` path could not anymore.

I was curious as to whether it's possible for me to create a symlink in storage to the new path named `/storage/extSdCard` so that those applications can still use it, but when I tried using `ln -s /storage/some-volume-id /storage/extSdCard` to create the link, though, the result ended up being only visible and usable as the root user.

I checked the permissions which saw full `rwx` permissions for all, tried changing the group to match the others, tried the symlink switch on the commands, and tried remounting filesystems read/write, but the link still doesn't work for any of the apps or non-superusers.

I'm still relatively new to this, so is there anything I'm overlooking that somehow keeps the link from showing up?

# Answer
Did you upgrade to 6.0 over-the-air? You may need to flash a fresh installation if you intend on keeping your phone unrooted. I've never heard of anyone being able to create symlinks/modify mount points/etc. without root. But maybe someone will come along here who knows more than I do.
> 0 votes

---
Tags: 6.0-marshmallow, external-sd, linux
---


# Question
Title: How to increase internal memory of the HTC Wildfire S finally?
I've been spending a lot of sleepless nights trying to fix this. I know there are a lot of threads like this on the internet, but I want to go a bit deeper.

I have an HTC Wildfire S with only 512 MB internal flash memory. This internal memory has a partition layout allocation around 130 MB for the `/data` partition and around 290 MB for the `/system` partition. Both of them are full. (In addition I got a 16 GB SD-card.)

Installing apps, upgrading apps, running most of the apps - impossible.

Now, I knew it's possible to move apps to SD-card, the so called **apps2sd** procedure which offers very limited functionality to move *some* of the application data to the SD-card. Anyways after moving every possible data to SD the internal memory was still full and the phone unusable.

I was reading about more sustainable methods like **data2sd**. I gave it a try. I used the instructions from htcdev.com to unlock the bootloader, I installed the latest ClockWorkMod Recovery and rooted the device permanently.

Finally, I used the rooted device to install Android 4.1.2 AOKP Jelly Bean Custom ROM and Data2SD like discribed in the linked articles. But I was stuck the device was not booting until I removed Data2SD. The AOKP-ROM was working pretty well and stable, but installing Data2SD simply did not work in combination with Jelly Bean (SD-card formatting: 11 GB FAT23, 4GB ext4 and 256 MB Swap).

Now, I tried to go for the **link2sd** approach. I reformatted my SD-card (14 GB FAT32 and 2GB ext4) and installed Link2SD on my phone as described here. I was able to move additional data and apps to my SD-card and could link some apps to the card.

And now after some days playing around with all that usefull tipps from the internet, for example this thread: What can I do to manage my phone's internal storage? \- **I am at the point where I started**. This is my result: Internal memory is still full and the phone is still unusable. (I would love to post a screenshot, but taking screenshots simply does not work currently.)

How to finally fix my internal memory on the Wildfire S? Why is Data2SD not working with the Jelly Bean ROM and why is Link2SD so ineffective? Is there anything I'm doing wrong?

The main problem seems to be the Dalvik Cache on the `/data` partition (around 100 MB). Is there any way to completly use the SD card to somehow get partitions mounted at `/data` and `/system`?

# Answer
> 0 votes
You've said that you partitioned before installing link2sd but not before installing data2sd. data2sd also requires extra partition just like link2sd.

The reason link2sd being not effective is because it moves all but data to sd-card. If any of your app uses huge data it will fill your internal space quickly.

Try going to Settings -\> Apps -\> Sort by data size and see which apps are on top and try clearing their data. This will free some space for some time but also clear that particular app's data.

As you've pointed out installing Dalvik cache to SD would be best. In my custom ROM I've to open terminal and type a2sd install and supply option y,n,y. Most probably this will work with your ROM as well.

# Answer
> 0 votes
I'd check what's taking up so much of the internal memory. I use SD Maid app, and use these functions: corpsefinder, systemcleaner, appcleaner, duplicates, biggest files.

When I couldn't install Google Maps after reflashing my CM10.1 with the latest nightly, I used the `biggest files` and delete some files I'd downloaded before (other nightlies that I've saved). I also deleted some files that were no longer being used. When I was done, I was able to install Google Maps.

# Answer
> 0 votes
I would recommend using the App2SD app (available in the Play Store), not Link2SD. Link2SD hasn't been updated in a long time and appears to be a dead project.

If possible, install SuperSU 2.22 or above (may already be installed) and create a second ext3 or ext4 partition on your external SD. This can be done with a desktop application or with the tool bundled with App2SD (haven't tried this myself, I use Roehsoft Partition Tool for its many powerful data related features, but it's kind of expensive for an Android app) The primary partition can remain as FAT (so it's still readable by Windows.

Now create a mount script with App2SD using the su.d method. It will provide the best performance (Link2SD doesn't support this). If you reboot and the partition mounts without any errors, you may now move your apps to the second partition. You can move everything: APKs, libs, dex, data, cache, external data, etc. The only limit is with system apps; the APK must remain in the privileged folder.

I hope this helps you.

---
Tags: internal-storage, app2sd, link2sd, insufficient-memory, htc-wildfire-s
---


# Question
Title: OnePlus One does not connect via USB (Yes, I have tried the usual suspects)
here is my problem and I feel desperate:

My OnePlus One 64GB does not connect via USB to any PC/Laptop I hook it up to (Windows 7 on Desktop, Laptop). It used to work a long time ago, but not since (I think) Lollipop, needless to say now under Marshmallow. I never managed to root it because of this problem and now cannot even copy files. The only updates I installed are the CM incrementals via OTA.

Android Version: 6.0.1 Cyanogen OS Version: 13.1-ZNH2KAS1KN

It DOES get recognised it the Device Manager though, even if listed as an unknown device (sorry for the German screenshot).

Here is what I have done so far, but nothing worked:

1. Installed Universal Naked Drivers -\> Did not work -\> Uninstalled them

Installed ADB Interface Drivers -\> Did not work -\> Uninstalled them

Installed Samsung Drivers -\> Did not work -\> Uninstalled them
2. Enabled USB debugging --\> Nothing changes. Phone only charges.
3. Uninstalled any possible driver via device manager (Device Manager -\> Unknown device -\> Right Click -\> Uninstall Drivers)
4. Using Bacon Root Toolkit: Toolkit did only recognise there was a OnePlusOne, but not its model. AutoDetect did not work either and the highest model version it knows is CM12.1 or so. Updating BRT was successful according to the notification, but did not change anything.
5. Uninstalled any driver using USBDeview using Bacon Root Toolkit
6. Looked for USB connection settings (which by the way are not anymore under Settings -\> Storage -\> Right upper item, but) in Developer Options --\> Select USB configuration --\> Changed from "Charging" to "MTP"
7. I have tried different cables and different ports. Neither does it work on my 10 year old Desktop with USB 2.0, nor on my USB 2.0 port on my Laptop or USB 3.0 port.

I am **SUPER THANKFUL** for any ideas you might have! Thanks in advance!

# Answer
> -1 votes
I also have the same problem and tried whole lot of things, it did not work for me. Now only following things needed to be checked:

1. Found a comment on the support forum that the Marshmallow CM is having issues with USB to PC connectivity but OTG works.(I haven't tried OTG myself yet but will be definitely check it). So here we need to flash the phone to an older CM version to get the phone detected in hte PC. Reference-\> https://forums.oneplus.net/threads/usb-not-working-anymore.453049
2. It's an hardware issue. The USB ribbon port needs to be changed.

Also please do let us know if you got your problem solved and how.

Thanks.

---
Tags: usb-connection-mode, usb-drivers, oneplus-one
---


# Question
Title: Best backup strategy (apks and app data)?
I would like to backup my phone a regular basis. TWRP provides a full system backup and recovery option. This is fine but too inflexible for me and bound to the phone itself.

I want to backup all apks and its' data from a running system (not recovery) and restore it back to the/different phone(s) with different Android Versions (6, 7.1).

This is what i already did: As far as i can say. It doesn't work.

```
adb backup -f /path/to/backup-file -apk -shared -all -nosystem
adb restore /path/to/backup-file

```

# Answer
Titanium Backup would be best option, you can have scheduled backups and it has worked consistently for years on my devices. Another option would be Helium by ClockworkMod but both apps require premium to use the automatic backup option.
> 0 votes

---
Tags: adb, backup, apk
---


title: Moto 360 Location Symbol

text:
# Question
Title: Moto 360 Location Symbol
I was doing some development work on my Moto 360 (using Android Studio), and since I rebooted the watch earlier to fix an issue with Android Studio, this location symbol has been on my watchface. What does that symbol mean?

Notes:

* This symbol acts exactly like the offline "cloud" symbol acts, regardless of watchface.
* The app I'm working on does not access my watch's or phone's location in any way.
* Debugging over Bluetooth setting in Android Wear app turned off, as well as Bluetooth Debugging and ADB Debugging settings in Developer Settings on my watch.
* Some app was using my location for hours on my phone, but has since stopped, while this location symbol has persisted.
* Never seen this symbol before on my watch, and haven't done a software update recently or anything.

Here's a screenshot:

**What could that symbol mean? How can I get it to go away?**

# Answer
> 0 votes
That's the symbol that denotes an app is using your current location. Common apps to use this are the Maps, Lyft, and Weather apps. If it persists for some reason, just try toggling on/off airplane mode or restarting your watch from settings.

I figured this out by opening up Lyft, closing it quickly, and returning to my watchface where that symbol was there for just a second before disappearing.

---
Tags: android-wear, motorola-moto-360
---


# Question
Title: Basic question about flashing nandroid backups
I want to know that when we flash specific partition images (say system.img, data.img, cache.img, etc.), then how does the software know where exactly to put those partition bytes? For example, if I flash system.img, which CHS/LBA sector will it consider as beginning of that block? If it is based on the MBR/EBR1 tables, what will happen if I'm flashing the MBR/EBR1 too?

The reason I'm asking is that I want to change the partitioning in EBR1 slightly, so that more space is allocated to `/data` partition instead of `/sdcard`. I've got an old but good conditioned MediaTek (MTK-6577) based smart-phone called Karbonn-A30 which is great in build quality and almost every other aspect, but it only has 500MB of Internal Storage (`/data` partition in Linux lingo) which is not good enough for apps. Presently, the MBR and EBR1 partitions are thus:

```
$disktype MBR
--- MBR
Regular file, size 512 bytes
DOS/MBR partition map
Partition 1: 2.000 TiB (2199023255040 bytes, 4294967295 sectors from 1024)
  Type 0x05 (Extended)
Partition 2: 10 MiB (10485760 bytes, 20480 sectors from 18432)
  Type 0x83 (Linux)
Partition 3: 10 MiB (10485760 bytes, 20480 sectors from 38912)
  Type 0x83 (Linux)
Partition 4: 650 MiB (681574400 bytes, 1331200 sectors from 113152)
  Type 0x83 (Linux)

$disktype EBR1
--- EBR1
Regular file, size 512 bytes
DOS/MBR partition map
Partition 1: 376 MiB (394264576 bytes, 770048 sectors from 1443328)
  Type 0x83 (Linux)
Partition 2: 1.293 GiB (1388314624 bytes, 2711552 sectors from 2213376)
  Type 0x83 (Linux)
Partition 3: 1.998 TiB (2196501691904 bytes, 4290042367 sectors from 4924928)
  Type 0x83 (Linux)

```

Why this last partition which corresponds to `/sdcard` is left so large (1.998 TiB) is beyond my understanding! Since there is a good 2.5GB of space available on my actual `/sdcard` partition, I was thinking if I can alter the EBS1 and change the LBA addressing so that the third partition starts from 2097152 additional sectors (which comes to 1024MB or 1GB which is good enough for me), will it automatically increase my `/data` partition by 1GB and decrease the `/sdcard` by 1GB correspondingly? On XDA and other forums, I've read that people have successfully done this mod and achieved the change in partition sizes, but I first want to understand how it happens.

# Answer
> 1 votes
Since I have a MTK-6577 based phone and had to delve into repairing a broken partition table recently I thought I'd take a stab at answering this.

> I want to know that when we flash specific partition images (say system.img, data.img, cache.img, etc.), then how does the software know where exactly to put those partition bytes?

If you flash to known mount points `/system, /data, /cache` you not need to know about the underlying structure, simply is there enough space and it's in the correct format (e.g. ext4). The mount points are specified in `vold.fstab`.

However if you use a low level flashing tool such as SP Flash you will need to also modify the associated scatter file to the new layout of the partitions as it will access the memory addresses for the partitions directly.

An example filesystem mount points for the MT-6577 (copied from `/tmp/recovery.log`):

```
CWM-based Recovery v6.0.2.8
recovery filesystem table
=========================
  0 /tmp ramdisk (null) (null) 0
  1 /boot emmc /dev/bootimg (null) 0
  2 /cache ext4 /dev/block/mmcblk0p4 (null) 0
  3 /data ext4 /dev/block/mmcblk0p5 (null) 0
  4 /misc emmc /dev/misc (null) 0
  5 /recovery emmc /dev/recovery (null) 0
  6 /emmc vfat /dev/block/mmcblk0p6 (null) 0
  7 /system ext4 /dev/block/mmcblk0p3 (null) 0
  8 /sdcard vfat /dev/block/mmcblk1p1 /dev/block/mmcblk1 0
  9 /sd-ext auto /dev/block/mmcblk1p2 (null) 0

```

> Why this last partition which corresponds to /sdcard is left so large (1.998 TiB) is beyond my understanding

This is a result of using `GPT` vs older `MBR` partition tables. It is a special extended partition that is the maximum 32-bit address range (2TB). It allows loading the MBR to any device regardless of it's internal memory size. Then you have custom `EBR1` (and `EBR2`) tailored for each model.

> I was thinking if I can alter the EBS1 and change the LBA addressing so that the third partition starts from 2097152 additional sectors (which comes to 1024MB or 1GB which is good enough for me), will it automatically increase my /data partition by 1GB and decrease the /sdcard by 1GB correspondingly

I am not entirely sure about the details of that.

Instead I used swapped the partition sizes of `/data` and `/emmc` with a `EBR1` provided on xda-developers.com. Then in Android use Link2SD app which utilises a 2GB ext4 partition on the external sdcard and move large apps over.

Just thought I'd add that if things go spectacularly wrong, like it did originally for me, you can recover by using backups of the original `MBR` and `ERB1` files for `adb shell` connecting to your phone in recovery mode.

Restore partition details:

```
dd if=/tmp/MBR of=/dev/block/mmcblk0
dd if=/tmp/EBR1 of=/dev/block/mmcblk0p1

```

Oh and to manually create a backup in the first place:

```
dd if=/dev/block/mmcblk0 of=/tmp/MBR bs=512 count=1
dd if=/dev/block/mmcblk0p1 of=/tmp/ERB1 bs=512 count=1

```

Mount an external sdcard from CWM and you can copy the file to/from `/sdcard`.

---
Tags: rom-flashing, partitions, nandroid, flashtool
---


# Question
Title: How to disable the "Screen is pinned" ScrollView?
Everytime I pin an app I get a "Screen is pinned" green ScrollView and have to tap the "Got it" button.
At first, I thought it was just some kind of "getting started" thing, but after a few months it's still showing up every single time.
Since I'm pretty sure I "Got it", is there a way to disable this warning/info ?

Here's a screenshot of the ScrollView.

# Answer
What device are you using? You may (or may not) be able to remove this message via your stock settings.

In any case, to remove this message you'll need **root** access and an app called EhancedToast.

---

This will allow you to select the toast messages that you don't want to show up. For example: ***Screen Pinned,*** ***Screen Unpinned*** and messages of the sort.

**Requirements For EnhancedToast Method**

1. Xposed Framework (one that's compatible with your device, obviously).
2. Install the EnhancedToast Xposed Module.

---

**From your phone (using a Terminal Emulator app - Root Required)**

```
su
appops set android TOAST_WINDOW deny

```

**From PC (adb required) but no root needed**

```
adb shell appops set android TOAST_WINDOW deny

```

---

Please let me know if these methods work(ed) for you and good luck!

Source
> -1 votes

---
Tags: 6.0-marshmallow, sony-xperia-z5
---


title: Make Google apps usermode

text:
# Question
Title: Make Google apps usermode
I want to have minimal google apps (market, gmail, sync) as user apps without any permission to the system. like prevent google to force-remove an app from my phone etc. I saw once google apps installer for MIUI roms that did it but it does not work anymore. also cant convert in Titanium. running on AOSP so no gapps by default. I would be really thankful for answer. so thank you in advance.

# Answer
> 0 votes
I'm really not sure what you're asking. Do you mean that you wish to **uninstall** several Google apps to only have a few apps by Google on your phone?

Are you rooted? If you have root access, what you can do is use ROM Toolbox Pro to remove system apps (Google apps) from your phone without needing to flash a different ROM for this ability.

Please let me know if this answers your question or if I misunderstood your question.

**Rooting a device:** This can be accomplished using several different methods. There are several one-click root apps like KingRoot, Framaroot or TowelRoot.

---

**Convert System Apps -\> User Apps**

You can use an app called **/system/app mover.** This is an easier method.

---
Tags: google-apps, system-apps
---


# Question
Title: Sound too low when making calls on Moto G smartphone
Everything is perfect, except that the call volume is way too low. I can barely hear it when it is completely silent, and if I'm at a coffee shop or something, no chance.

Now, this would seem to be a hardware issue except that plenty of people seem to have the problem and it has only occurred since the latest Kit-Kat update. Solutions seem to vary, from hitting both volume buttons at once, to resetting the device to factory settings.

Suffice to say, none of these have worked for me and has really put a damper on my otherwise awesome Android.

So my question is, does anyone have a solid solution to the problem, or should I just wait around to see if Google deigns to fix it at some point.

# Answer
If your call quality volume is too low and the device is at its maximum volume, you may want to try a Volume Booster. Speaker Booster by Omega Centauri Software does the trick for me, even with phone calls.

There are better "Volume Boosters", though, but the one by the developer I mentioned works best for my device. There are deducted volume boosters for phone calls on the Play Store, though I haven't tested the one other than the one I linked, so I won't link those.
> 0 votes

# Answer
If the volume while a call is full and you still think it's low then, try use any voice boaster app from playstore it will help you to hear voice more louder but distorted
> 1 votes

# Answer
While you are calling you should press the " + " button. If you are at the home screen and then press the " + " button, the ringtone volume will be louder.
> 0 votes

# Answer
Anti noise feature can cause that . you try can deactivat it . Make a call then click menu button it should be deactivated frol there .
> -1 votes

---
Tags: audio, calls, motorola-moto-g
---


# Question
Title: Android does not detect a captive portal
I have an access point hosting a login page (which doesn't have actual internet access) and I'm using dnsmasq to answer all DNS requests with the IP address of this page. If an Android device connects, I want it to know that it's connected to a captive portal and show the "Sign-in to wifi network" prompt but this doesn't happen (the device just silently connects to the AP), although Wireshark shows that the HTTP GET requests for `/generate_204` are properly responded with `HTTP/1.1 200 OK`.

Any suggestions why this could be happening? Could there be something other than the response for `/generate_204` that Android checks? I'm guessing that the detection fails if the device finds out that there's no internet access.

# Answer
I have this exact same setup and was having the same problem. I solved this by having the web server return some content as well as the status code. In my case, I had the web server respond with the index page for any requests not found on the web server.

Note that this is being done by an access point that does have internet access.
> 0 votes

# Answer
you should return "HTTP/1.1 204 OK" if internet is ok
> 0 votes

---
Tags: wi-fi, captive-portal
---


# Question
Title: Will updating from KitKat to Lollipop delete my data?
I have a LENOVO A6000 running KitKat and I want to update it to Lollipop. I have important pictures and videos on my mobile.

Will my data be deleted or remain the same if I update my mobile?

# Answer
If you're updating through your phone via an official update, the data will not be deleted...

However, if you're trying to update it manually it *MAY* be erased and you will need to take a backup
> 1 votes

# Answer
**It depends on your method of updating or upgrading.**

If you're doing it directly from your phone, officially, from within the settings, then your data is fine.

If you're flashing a ROM or using such method, then unless you backup, your data **will** be deleted.
> 0 votes

---
Tags: 4.4-kitkat, 5.0-lollipop
---


# Question
Title: 'error: device not found' while connected to device through adb shell
Trying to deodex my Samsung Galaxy S4 (SC-04E).

My device shows up upon `adb devices`, and I am able to successfully connect and su with `adb shell`. In shell:

```
C:\Users\username>adb devices
List of devices attached
905859f9        device
C:\Users\username>adb shell
shell@SC-04E: $ adb pull /system/app app/
error: device not found
shell@SC-04E: $ su
root@SC-04E:/# adb pull /system/app app/
error: device not found

```

I have no idea why I am getting this message. USB debugging enabled and confirmed, MTP on, unknown sources on (off tested as well), and latest adb USB driver installed (also tried reinstalling/updating). I have also tried rebooting my computer and device several times, and tried different USB ports (3.0, 2.0, etc).

Google searches only show me solutions for people who lacked the obvious settings (USB debugging) or their device not showing up at all upon `adb devices`. A device clearly is found, as it is connected to a device.

# Answer
> 1 votes
You must run `adb` on your host PC instead of your device. The `adb` is a host program that operates on **another** device. To pull data from your phone, make sure you run `adb` like this:

```
C:\Windows\system32>adb pull something yourPC
```

If you run `adb shell` then you're entering your phone, where you are actually running `/system/bin/adb` instead of `adb.exe` on your Windows PC. Your phone is a client device, not the host device.
If you want to pull a file from a root-required place, you must first copy it to somewhere else before pulling it out. Like this

```
C:\Windows\system32>adb shell
shell@SC-04E:/ $ su
root@SC-04E:/ # cp /path/to/somefile /sdcard/somefile
root@SC-04E:/ # exit
shell@SC-04E:/ $ exit
C:\Windows\system32>adb pull /sdcard/somefile D:\somefile
```

For your question about why `adb` returns nothing, you can try this to find out.
Plug in **another** `adb`-enabled phone using an OTG cable on your primary phone (in your case, Galaxy S4) and get a terminal emulator. Type in `adb devices` and run on your primary phone you can see it like this.

```
root@SC-04E:/ # adb devices
List of devices attached
12345678        device
```

---
Tags: 5.0-lollipop, adb, samsung, samsung-galaxy-s-4
---


title: Unlocking the Galaxy S5?

text:
# Question
Title: Unlocking the Galaxy S5?
Stock firmware does not do for unlocking a locked Samsung Galaxy S5 ? from a certain network providers.

# Answer
Unlocking refers to the bootloader. Its a necessary step if you want to flash the firmware of your device. Refer to the XDA forums and search for your device. There are a lot of How-To's that might help you.
> 0 votes

---
Tags: 5.0-lollipop
---


title: Flashing a 'generic' TWRP

text:
# Question
Title: Flashing a 'generic' TWRP
Long story short, my phone (Pantech IM-100) does not have a device-specific TWRP and I wish to root with SuperSU.

Do I risk bricking my phone if I *fastboot* just any TWRP version? My impression was that the fastboot command differs from flash, hence it does not overwrite stock recovery and is only temporary.

Thanks.

# Answer
It is highly recommended **not** to do so. The TWRP is a touch-based recovery, meaning that it needs to initialize touch screen (actually every related hardware) before showing the main menu. If you insist on flashing a 'generic' TWRP to your specific, non-matching device, you will end up getting stuck and your recovery will never boot until you flash another compatible one.
The same applies to CWM as it's button-based. Given that different devices often have different volume keys & power key mapping & signals, some devices can share their CWMs but not all of them.
You had better contact the TWRP dev team or do some searches in the XDA forum, with the hope that someone might have already adopted TWRP to your device.

Edit 1: Thanks to @AndyYan who pointed out a mistake in this post. Corrected now.
> 1 votes

# Answer
Try to contact some of the twrp devs and provide some device info. Also have a look at the XDA forums. Theres probably someone who did the trick. Fastbooting a not specific custom recovery is a safe way to brick your phone.
> 0 votes

---
Tags: root-access, fastboot, twrp, supersu
---


title: downloading kingroot

text:
# Question
Title: downloading kingroot
I have tried to download king root to root my device. Have downloaded it but can't install it onto my phone, this has happened with a root tool as well.these have been downloaded from the internet and unknown sources has been to ticked. I used to be able to download stuff like this before now I cant. Can this be fixed?

# Answer
> 1 votes
It's been a year, so this isn't necessarily for op, but for anyone with the problem. I just had this problem and fixed it.

Even with unknown sources ticked, I was still getting a warning message. I just pressed okay without looking, and the app wouldn't install.

Instead, when you get that warning just press more info, then press install anyway. It's smaller text and a different color--easy to miss.

That should do it.

# Answer
> 0 votes
* Try reinstalling browser from which you have downloaded it
* Try checking settings of security apps if you have any

BTW I would suggest you not to use Kingroot because there are some evidences that they still information from your phone and I have myself used it on Galaxy S4 so I know that is it full of bugs and it is not reliable.

# Answer
> 0 votes
Modern Android builds are difficult to root on their own. You need at least a host PC to flash either a custom recovery or a root zip. To do so, Google your phone model and look for a TWRP or CWM. Download the SuperSU ZIP and send it to your device. Reboot to bootloader and flash the recovery first, then reboot to the recovery and flash the zip. You're done. It's root now.

---
Tags: 4.4-kitkat
---


# Question
Title: ADB Shell In Recovery Mode - Error:Closed
I smashed my display pretty good today and am unable to use the digitizer. The upper half of the screen is barely visible and the lower half is black. I have debugging enabled on the phone but I can't push the button to accept the key when the phone is connected to the computer. So, I am unable to gain access to my data/texts while I wait on my new phone. I found a blog post where the guy walks through a whole series of commands to permanently enable debug mode on his phone through use of adb in recovery.

Fortunately I am able to use the volume, home and power keys to boot into recover. I am also able to read enough of the screen to make the selection to "apply update from ADB". Once I select this I run...

```
adb devices

```

...where my device is listed with a status of sideload. All seems good until I attempt to do anything else. Issuing...

```
adb shell

```

... returns error:closed as does pretty much any other command.

Any thoughts as to what I may be doing wrong?

# Answer
You're not doing anything wrong. You're most likely using a stock recovery. Access to shell can prove to be potentially dangerous when it comes to userdata so a lot of OEMs or vendors (I don't know the correct term) prefer to ship a locked-down stock recovery which would do what OEM wants them to do, such as flashing OTA updates, sideloading updates from OEM, doing factory reset and in some cases, some hardware testing options. That's the scope they follow.

If you want unconditional shell access, you would've to flash a custom recovery.
> 1 votes

# Answer
It's very likely that you're running a stock recovery.
Since your power & volume keys are OK, you are able to boot it into fastboot (or bootloader) mode, where you can flash another recovery using `fastboot`. That's it. Go & get a TWRP or CWM for your device and flash it in. The reboot to the new recovery and `adb shell` should be available at this point.
> 0 votes

---
Tags: adb, screen, usb-debugging
---


# Question
Title: Sorry, [almost everything] has stopped unexpectedly
when starting one of my rooted Z740 AT&T phones, it, after about 30 seconds, starts by stopping Google play services, then after about 5 consecutive of those most apps start crashing and the only way to open any app is using iSwipe from Clean Master.

I cannot to a reset as in the way through the settings won't do anything, and my volume keys are broken.

any Idea to suppress the notifications, or better, reset the device is greatly appreciated.

Usb debugging has been enabled before hand and works fine

# Answer
I finally figured it out, wasn't easy and i'm probably only 1 of 2 people it has happened to (his solution didn't work for me.)

The /data partition was RO locked while in Android.

After installing the touch version of CWM, I mounted the data partition

In an ADB shell I did `mount -o remount,rw,errors=continue -t ect4 /dev/block/platform/msm_sdcc.1/by-name/userdata` to mount it as RW, it worked

after that since I finally got it RW, I then did a format of it through CWM
> 0 votes

# Answer
You can try sending an Intent with the adb shell. Connect the device, open a terminal and type the following :

```
adb shell am broadcast -a android.intent.action.MASTER_CLEAR

```

You need adb installed.
> 0 votes

---
Tags: root-access, factory-reset, usb-debugging, bugs
---


title: Music covers aren't shown correctly

text:
# Question
Title: Music covers aren't shown correctly
I have copied my mp3 files to my new Google Nexus 7 (Android 4.2.1) via USB into the Music folder. It can be played with *Google Play Music (version 4.5.910l.560208)*, but it is always showing one and the same cover for any track. This problem also shows up with other music players such as Rocket player. In VLC and iTunes on my PC the mp3 covers are just displayed fine!

Do I have to change something on my mp3's in order to display the covers correctly on that device or is there some kind of bug in the mp3-decoder? I couldn't find such a problem report in the web, so my assumption would be that there might be something wrong with my mp3 files.

Thanks in advance ...

# Answer
> 3 votes
iTunes and Windows Media Player encode album art into the song file's metadata. Googly Play Music uses an 'old hat' method for adding album art. Linux or WinAmp users know about this.

In your Album directory drop the image of the album in the directory and rename as "AlbumArt.png" or "AlbumArt.jpg". (Note the capitalization).

Google Play Music should pick it up, if not the artwork may not have fully synced. Try resetting your droid and it should re-sync. :)

# Answer
> 0 votes
From my experience if you want android to "forget" the old album art, you must rename the album and the artist to a new name. Adding spaces is not good enough. Example: Dancing Queen ABBA --\> Dancing Queen2 ABBA2

---
Tags: 4.2-jelly-bean, nexus-7, google-play-music, album-art
---


# Question
Title: my computer is not recoginizing my phone but charging it
3 days ago my phone would connect to my computer perfectly fine, but now it isn't working. At first I thought it was the usb cable, but after purchasing a new cable it still doesn't work. It isn't my computer because my dads samsung connects to my computer. I noticed usb tethering is off and greyed out. Is that the issue? If not, what is?

# Answer
> 0 votes
Depending on your computer os and your phone. After connection via usb, theres normally a popup in the notification bar where you are able to choose from various usb modes. If that won't work, it could be a driver issue. Samsung devices tend to have Samsung Kies installed, which ships the usb driver.

# Answer
> 0 votes
It could be just the cable. I have seen situations where one cable will pass data and another one won't, even if it had done so in the past.

So try another cable and see if the problem persists.

# Answer
> 0 votes
First, unlock your phone. Now go to the notification bar and click on the notification that has appeared there. Select file transfer (MTP). The phone will reconnect to the computer using file transfer mode. If this doesn't work, try getting the latest phone drivers for your computer.

---
Tags: usb-connection-mode, mtp
---


# Question
Title: Can't setup phone because Google play store has stopped working
After doing a factory reset of my phone, I'm trying to set it up and going through the initial steps. After logging into my google account, the next page shows options for restoring the phone using a previous backup. Before I can choose any option, a message appears saying, "Unfortunately Google Play Store has stopped". I have no option but to press ok, this then returns me to the previous screen. I can't get passed this step. There are solutions to the google play store issue but they involve changing settings on a setup phone. Can anyone help?

# Answer
Solved! (sort of). I was trying the setup on WiFi. When I tried outside my house on data, it then followed different steps and Im now in my reset phone, so I should be able to follow the normal process from here.
> 0 votes

---
Tags: google-play-store, factory-reset
---


# Question
Title: Where to get com.android.calendar for Android 4.0.3 from?
I accidentally deleted the package com.android.calendar.

Now it refuses to sync my Google Calendar.

Where can I get this specific package to install it back to /system using Link2SD?

**Model specifications:**

```
HUAWEI U8666E
4.0.3
Baseband version: 2030
Kernel version: 3.0.8-perf-00271-g4fdddbe
Build number: U8666E-1V100R001C40B935

```

# Answer
> 1 votes
Russians over at 4PDA have a thread dedicated to the phone, which hosts a number of firmwares, including stock-based ones. Here is the Calendar app extracted from the "Stock+" one, uploaded to my AndroidFileHost for your convenience. You can also get other files from the package in case you need them.

As validation, the version number of the ROM as extracted from `build.prop`:

> ro.build.version.incremental=C40B935
>
> ro.build.tags=release-keys
>
> ro.build.description=U8666E-user 4.0.3 GRJ90 C40B935 release-keys
>
> ro.build.fingerprint=Huawei/U8666E/hwu8666e:4.0.3/HuaweiU8666E/C40B935:user/ota-rel-keys,release-keys
>
> ro.confg.hw\_appsbootversion=U8666E-1V100R001C40B935\_APPSBOOT
>
> ro.confg.hw\_appversion=U8666E-1V100R001C40B935\_KERNEL
>
> ro.confg.hw\_appfsversion=U8666E-1V100R001C40B935\_SYSIMG

"B935" - matches your current ROM exactly.

---
Tags: 4.0-ice-cream-sandwich, installation, calendar, apk
---


# Question
Title: Switch root manager from Kingo Root to Superuser
I have Kingo Root on my phone, and I am trying to switch to Superuser by ClockWorkMod

any help is appreciated

# Answer
Uninstall KingRoot/Kingoroot and then flash SuperSU zip. Or just flash SuperSU zip without uninstalling KingRoot/KingoRoot
> -1 votes

---
Tags: root-access
---


# Question
Title: What is the point of a locked bootloader if a deep flash cable can bypass it?
I was reading about how important is locked bootloaders for users security after Xiaomi decided to lock some bootloaders of its phones.

However, I found that there is a specially engineered cable that can bypass locked bootloaders and flash other ROMs into the phone.

What is the point then of having a locked bootloader, if anyone can get this so called "deep flash cable" and bypass the locking restriction?

# Answer
Qualcomm 9008 mode is for emergency repairs as a last resort - without it your phone could remain bricked under certain situations.

However, in case of Xiaomi phones, even if you flashed the phone under this mode, the account lock (if there is any) will still be persistent and you won't be able to use any services related to it (i.e. Cloud). The original user will also still be able to lock the phone based on the IMEI.

Additionally, Xiaomi is well aware of the security risk, and a recent MIUI8 update has patched this (Chinese sources, can't cite), putting an end to the loophole people are using.
> 7 votes

---
Tags: bootloader-lock, xiaomi
---


# Question
Title: What GAPPS do I need for Ressurection Remix 5.7.4 by aditya?
Idk if I really need a different GAPPS for ressurection remix cause I flashed pico GAPPS. I need to know if I flashed the GAPPS or I flashed the wrong GAPPS.

# Answer
> 0 votes
It all depends. You can choose any flavour, what you need to be careful about is to select the right CPU architecture and Android version. Different flavours of GAPPS are just packages with a different number of Google apps. So you can download the whole Google Suite or just a few basic apps like the phone, Play Store or calculator.

---
Tags: rooting
---


title: The process of rooting

text:
# Question
Title: The process of rooting
Rooting is the process of installing the "Super User" account in Android.
Which are the processes carried out in rooting ?

I mean how actually it's done ?

Apps like Kingroot can root many devices in one click. But how to root Android phones through computer ?

I am asking this question because my phone (LYF Flame 7) which is unsupported by many 3rd party rooting apps so I have to find myself a way to root it. I have found many device-specific articles but found none general methods. Kernel is Android 3.10.65 svn 621 cme@cme-server #01

I really need to root to get rid of these annoying bloatwares .. More and more bloatwares are getting installed in every unstoppable OTA updates.

# Answer
While I can't give you a step by step tutorial on how to root your phone, here are the basics for a manual method.

Firstly, you have to unlock the bootloader. This will void your warranty but will allow you to continue to the next step. Remember that I won't be responsible for any damages made to your phone.

Next, you will need to flash a custom recovery which will give you access to all the files on your device and let you wipe the system, install custom ROMs and more.

The last step is to flash SuperSu to the device using the recovery tool. Your device will be rooted.
> 0 votes

---
Tags: rooting, superuser, bloatware
---