date stringlengths 10 10 | nb_tokens int64 60 629k | text_size int64 234 1.02M | content stringlengths 234 1.02M |
|---|---|---|---|
2014/11/19 | 277 | 1,117 | <issue_start>username_0: My phone suddenly began to keep restarting every 10-15 minutes. After a few restart, I noticed that my contacts are gone (most of them were stored on the phone).
I searched for data revocery applications but they seem to work only on a rooted phone.
I wonder, is there a way to restore contacts without rooting the phone? What should I try to get my contacts back?<issue_comment>username_1: Did you tired putting the Google account back over the device? I would say your contacts will start appearing automatically after you put the same Google account back.
PS: You can check it by heading over to the [Google Contacts](https://www.google.com/contacts/u/0/) just be sure that you are putting the some Google account which you were using previously.
Upvotes: 2 <issue_comment>username_2: Surprisingly, it seems that there is an application that has ALL my lost contacts... my Hangouts shows all of them.

Unfortunately, I can't restore them from that list. Is there a way to restore them from my Hangouts?
Upvotes: 0 |
2014/11/19 | 632 | 2,477 | <issue_start>username_0: On Lollipop it seems that the default "swipe" lock screen has changed a bit for my N5. For years I have been trained to swipe horizontally to unlock the device. Now with the lollipop update swiping horizontally results in launching either the "Phone" or "Camera" shortcut depending on which direction I swipe.
In order to unlock the device I have to swipe upwards in the center.
Ideally I'd like to remove the phone and camera shortcuts from the lock screen altogether and get it so that no matter which direction I swipe the device unlocks.
However I can't seem to find any settings to change this behavior. Does anyone know if there are settings that will allow you to alter or disable the two lock screen shortcuts? (the ability to change them to different applications might be nice too).
Failing any settings that exist to do this does anyone know of an app that I can install that would give me back the functionality of the old lock screen that allows you to swipe horizontally to unlock the device?
*Note: this device is unrooted and running stock OS.*<issue_comment>username_1: There is a very clean, minimalist approach to this issue, but it involves the use of a third-party application named [AcDisplay](https://play.google.com/store/apps/details?id=com.achep.acdisplay). I've used this app in the past and it replaces the traditional lock screen with a rather beautiful one (IMO), with notification access too.
See screenshots:
* First image is a screenshot of the app on my phone.
* Second image is a screenshot of the unlock animation.
(Click an image to enlarge it)
[](https://i.stack.imgur.com/aHAf5.png)
[](https://i.stack.imgur.com/7rANm.png)
You can swipe in any direction.
Upvotes: 1 <issue_comment>username_2: Can I also suggest that you take a look at AcDisplay, just because it is a very good third party app, as @Firelord explains.
You should also take a look at other third party lock screen apps when you can; AcDisplay, as far as I know, only allows you to swipe when you get a notification. The time, battery and date isn't normally on until you get one I think.
I recommend apps such as ZUI locker and Snaplock; these are two of my favourite third party lock screen apps. Please, let me know how you get on and I wish you luck :)
Upvotes: 0 |
2014/11/19 | 289 | 1,057 | <issue_start>username_0: In Android KitKat's 'People' application I was able to access my contacts per group assigned, as shown below using my Nexus 5:

The new 'Contacts' application since the Android Lollipop upgrade does not appear to include this functionality. It's reported to Google in [issue #79803](https://code.google.com/p/android/issues/detail?id=79803) and it appears lots of people are affected by this change.
What is an alternative to this? I'd really like to access my contacts again by their group.<issue_comment>username_1: According to this <https://code.google.com/p/android/issues/detail?id=79803> the only workaround is to install a new Contacts app (like Contact+).
Hope Google will bring this feature back in a future update.
Upvotes: -1 <issue_comment>username_2: There is an alternative option for users which can be found on the Play Store: [Contacts Groups for Lollipop](https://play.google.com/store/apps/details?id=com.flipdog.android.groups)
Upvotes: 0 |
2014/11/19 | 491 | 1,793 | <issue_start>username_0: I have a Nexus 5. It has TWRP as the custom recovery and on official Android 4.4.4 KTU84P build.
I just received a notification that I'm able to update to Android 5.0 now via OTA. I'm aware that I'll have to re-root my device. But, is it safe to update it with its current state? I already did a Nandroid backup hours ago, BTW. What else needs to be done pre and post-update? Thanks.
UPDATE: I backed up all my files then did another Nandroid back up. I downloaded the update via OTA and was asked to restart my phone. But it went straight to TWRP, doing nothing.
So I restarted my system via TWRP. It's still on 4.4.4 and the Lollipop update does not show anymore. What happened there?<issue_comment>username_1: The answer is the update won't push through if you have a custom recovery like TWRP. I had to restore the stock recovery using the Nexus Root Toolkit. Then the update showed again, and it went through flawlessly. Even the re-rooting part (again using NRT) was perfect.
Upvotes: 4 [selected_answer]<issue_comment>username_2: From my experience there was a problem with updating regarding the "signature" on Nexus 5(4.4.4.). The device itself was rooted and in my case with CVM instead of TWRP.
Since it failed to install the update I tried to flash 5.0 image from [this Google](https://developers.google.com/android/nexus/images/) site and followed the instructions.
The default instructions did not work due to in some cases faulty all-script therefore [this](http://www.androidpolice.com/2014/11/12/running-into-the-dreaded-missing-system-img-error-flashing-android-5-0-factory-images-heres-how-to-get-around-it/) instructions helped.
I hope the answer helps. For manually updating to Android L the first link should be helpful as well
Upvotes: 0 |
2014/11/19 | 486 | 1,914 | <issue_start>username_0: Is anyone aware of an Android app or widget to temporarily turn on mobile data, then disable it again after a set period of time?
I have a bad habit of turning on my phone's data for a specific purpose, but then forgetting to turn it back off. As a result, non-critical apps (like a current-weather widget -- I don't really care if it updates current info only if I'm wifi-connected) continue to use data.
I'd like to be able to enable data and then disable it automatically 15 minutes or so later, when I invariably forget to turn it off myself.
Browsing Google Play turns up nothing likely, nor does a Google web search. The closest I could find was an app that turns mobile data on and off at specific times, which provides a proof of concept that this can be done, but still is not what I'm looking for.<issue_comment>username_1: The answer is the update won't push through if you have a custom recovery like TWRP. I had to restore the stock recovery using the Nexus Root Toolkit. Then the update showed again, and it went through flawlessly. Even the re-rooting part (again using NRT) was perfect.
Upvotes: 4 [selected_answer]<issue_comment>username_2: From my experience there was a problem with updating regarding the "signature" on Nexus 5(4.4.4.). The device itself was rooted and in my case with CVM instead of TWRP.
Since it failed to install the update I tried to flash 5.0 image from [this Google](https://developers.google.com/android/nexus/images/) site and followed the instructions.
The default instructions did not work due to in some cases faulty all-script therefore [this](http://www.androidpolice.com/2014/11/12/running-into-the-dreaded-missing-system-img-error-flashing-android-5-0-factory-images-heres-how-to-get-around-it/) instructions helped.
I hope the answer helps. For manually updating to Android L the first link should be helpful as well
Upvotes: 0 |
2014/11/20 | 399 | 1,472 | <issue_start>username_0: I guess everyone got a notification for downloading an update for Android 5.0 Lollipop on Nexus 5. When the download is complete and the phone is restarted, it takes me to the TWRP screen and I could not figure out what to do next. How could I update now?
If I restart according to the following screen, it takes me to TWRP.
<issue_comment>username_1: The answer is the update won't push through if you have a custom recovery like TWRP. I had to restore the stock recovery using the Nexus Root Toolkit. Then the update showed again, and it went through flawlessly. Even the re-rooting part (again using NRT) was perfect.
Upvotes: 4 [selected_answer]<issue_comment>username_2: From my experience there was a problem with updating regarding the "signature" on Nexus 5(4.4.4.). The device itself was rooted and in my case with CVM instead of TWRP.
Since it failed to install the update I tried to flash 5.0 image from [this Google](https://developers.google.com/android/nexus/images/) site and followed the instructions.
The default instructions did not work due to in some cases faulty all-script therefore [this](http://www.androidpolice.com/2014/11/12/running-into-the-dreaded-missing-system-img-error-flashing-android-5-0-factory-images-heres-how-to-get-around-it/) instructions helped.
I hope the answer helps. For manually updating to Android L the first link should be helpful as well
Upvotes: 0 |
2014/11/20 | 1,426 | 5,695 | <issue_start>username_0: I just got my new Samsung Galaxy S5, original ROM with version 4.4.2. It uses a new Toshiba 64GB speed U3 micro SD card.
When I transfer my WhatsApp folder from PC to GS5, it took me more than 24 hours!!!
The WhatsApp folder has about 3GB in size, and thousands of received/sent images.
At the first time, I transfer them from PC to the (fast) SD card in the phone. It really took me more than 24 hours. At the second time, I tried transfer them from PC to the phone internal memory. It seems to be a little bit faster. I did not wait it to complete. But I assume it will take 20+ hours also.
When I use the file manager in GS5 to copy the entire 3GB folder from SD card to phone internal, it takes only 5 minutes or less. (It's a U3 card afterall)
I did a small test. I transfer only the database files from PC to the SD card (in the phone). There are 7 files, in total 1 GB in size. It takes only 1 minute.
So my guess is, **the transfer speed will be ultra slow when it contains many small files**.
* The same issue happens in different fast computers.
* I used the original USB cable, and tried on other short and average quality cables.
* I prefer not to pull my SD card out every time. Even if i do, transfer from PC to phone also have the ultra slow speed issue.
* I know there are threads suggesting to transfer file by other methods. But my concern is: **Why is it so unreasonable slow?** And I prefer using the USB method.
Is my phone a defect?<issue_comment>username_1: Wikipedia is our friend, again. :)
<http://en.wikipedia.org/wiki/Media_Transfer_Protocol#Drawbacks>
Quote:
MTP allows **no parallelism**, unlike USB mass storage or NAS. MTP has been built to **only allow a single operation at a time** (for example, read, write or delete operation), while no other operation can be executed until the previous operation is complete.
By design, MTP devices (like PTP devices) are not treated as a traditional removable drive. The actual file system is implemented by the device, and not by the computer's operating system. This also means that **file system recovery tools on the computer will be of no use**. In addition, most other programs on the computer will not recognise the MTP device, limiting the user to software from the device manufacturer or other MTP specific programs.
**When opening a file, the user must wait until the file is copied to the host computer/device before it can be viewed**; the file remains on the host computer's storage after viewing and after removal of the device.
Devices that are limited to MTP transfers do not allow or support instant access or multitasking.
The MTP and PTP standards do not support direct modification of objects. **Modified objects must be copied out of the device and reuploaded in their entirety, which can take a long time for large objects.** Google's MTP implementation in Android includes extensions to deal with this limitation; however, these extensions must be supported by the host operating system, and are not available by default. **This blocks the direct creation of files on the device from the host computer; files must be first created on the host computer and then copied over.**
...
Most MTP-compatible devices **are not assigned drive letters**; instead, they appear as "devices" in applications such as Windows Explorer.
Upvotes: 4 [selected_answer]<issue_comment>username_2: I found someone with the same issue as the OP, so don't worry your phone is not defective.
I would like to first add a few thoughts in response to the answer above. While it may be correct that MTP is a slow protocol, this speed reduction is exclusive to the WhatsApp folder transfer only. Any other folder containing equal size transfers in minutes. So there has to be something in the nature of the WhatsApp folder itself, or its structure/specific files that are causing the slowdown.
This brings me to my solution to the problem, I personally use the [SuperBeam](https://play.google.com/store/apps/details?id=com.majedev.superbeam) app both on the phone and PC. You do need the pro key for $1, this reduces the 24+ hour transfer to like an hour, so this helps greatly. I would like to point out that this takes much longer than any other folder of the same size.
Upvotes: 0 <issue_comment>username_3: I found out the solution for that. first creat a zip file of the images or whatever you want to copy then paste that zip file to your phone and then unzip the files to the respective folders. Use xplore file manager for that which is best file manager which i m using since last more than 10 years
Upvotes: 1 <issue_comment>username_4: Using "[MTP alternative USB Drive](https://play.google.com/store/apps/details?id=com.clearevo.mtp_alternative) " app on your android phone along Dolphin file manager on Linux distro you can improve the file transfer rate.
Steps:
On phone:
1. Open MTP alternative USB Drive app on android phone and start USB tethering and select OS ( Ubuntu )
On PC:
2. Open dolphin file manager and go to "Network"
3. Click on "Add network folder"
4.Select the type of network folder "webdav"
5.Enter the network information (Name - any name you prefer for that folder)
4. leave username blank
5. Enter the IP (192.168.42.129) , that shown in your MTP android app.
6. configure port as 8081.
7. Give folder name "sdcard" for internal accessing memory or "storage" for accessing external memory card.
8. Save and connect.
Now you will be able to access your phones memory with ease.
Note : you can watch my [video](https://www.youtube.com/watch?v=zs6woLcV3OA) at YouTube if you have difficulty following the aforementioned instructions.
Upvotes: 0 |
2014/11/20 | 503 | 1,617 | <issue_start>username_0: I have just updated to Lollipop on my Nexus 4 and can't see "Trusted Places". I use "Trusted Face" which works pretty well, but I would like to use "Trusted Places" at work. However, it is not there.
I have rebooted, but it is still not there. I have looked for the Google Play Services. I cannot find it under Apps, but Google Play says I have it installed.
Can anyone help me?<issue_comment>username_1: From [an article on Android Police](http://www.androidpolice.com/2014/11/18/google-play-services-update-adds-trusted-places-feature-to-lollipops-smart-lock/),
>
> If you're on a Lollipop device and aren't seeing this yet, you can manually install the –438\* build of **Play Services 6.5** from APKMirror.
>
>
>
(Emphasis mine)
\* The -438 build is for Nexus 5 on Lollipop.
The new "Trusted places" feature is available starting from Google Play services 6.5.85. You might want to check the version of your Google Play services:
1. Go to Settings - Apps
2. Go to "All" tabs
3. Find and select "Google Play service"
4. Check the version under the app name above.
As of 2014-11-22, Google has updated their Play services for Nexus 4 on Lollipop. You can either wait until Google push the update automatically, or sideload (install) it manually from [APKMirror](http://www.apkmirror.com/apk/google-inc/google-play-services/google-play-services-6-5-87-1599771-436-apk/) (version 6.5.87 (`1599771-436`)).
Upvotes: 3 [selected_answer]<issue_comment>username_2: Sometimes you have to activate the **Trust Agent**:
Settings -> Security -> Trust Agents -> enable Smart Lock
Upvotes: 3 |
2014/11/20 | 497 | 1,547 | <issue_start>username_0: I've accidentally formatted my phone, via. `fastboot oem unlock`.
I've already tried [Wondershare](http://www.wondershare.com/), EaseUSMobile Saver.
Actually, I need my photos which has been shot by camera.
Till now I'm only able to fetch social photos.
PS - My phone is rooted & flashed.
Any suggestions?<issue_comment>username_1: From [an article on Android Police](http://www.androidpolice.com/2014/11/18/google-play-services-update-adds-trusted-places-feature-to-lollipops-smart-lock/),
>
> If you're on a Lollipop device and aren't seeing this yet, you can manually install the –438\* build of **Play Services 6.5** from APKMirror.
>
>
>
(Emphasis mine)
\* The -438 build is for Nexus 5 on Lollipop.
The new "Trusted places" feature is available starting from Google Play services 6.5.85. You might want to check the version of your Google Play services:
1. Go to Settings - Apps
2. Go to "All" tabs
3. Find and select "Google Play service"
4. Check the version under the app name above.
As of 2014-11-22, Google has updated their Play services for Nexus 4 on Lollipop. You can either wait until Google push the update automatically, or sideload (install) it manually from [APKMirror](http://www.apkmirror.com/apk/google-inc/google-play-services/google-play-services-6-5-87-1599771-436-apk/) (version 6.5.87 (`1599771-436`)).
Upvotes: 3 [selected_answer]<issue_comment>username_2: Sometimes you have to activate the **Trust Agent**:
Settings -> Security -> Trust Agents -> enable Smart Lock
Upvotes: 3 |
2014/11/20 | 684 | 2,291 | <issue_start>username_0: for a stupid reason I used [TWRP](http://teamw.in/project/twrp2) which is btw a stupid tool... long story short.. It messed up the data partition...
Currently I have a nexus 5 that can run whatever recovery I want, but doesn't have a /data partition...
How do I fix my phone so that I can install any ROM for complete reference here are some of the info
when ever I try factory reset (using CWM) I get the following error
```
--Wiping data...
Formatting /data...
E:Error mounting /data!
Formatting /cache...
Formatting /sd-ext...
E:unknown volume for path [/sd-ext]
Formatting /sdcaard/.android_secure...
E:Error mounting /sdcaard/.android_secure!
Data wipe complete
```
I've tried `adb shell` and then running the following
```
~# e2fsck /dev/block/platform/msm_sdcc.1/by-name/userdata
e2fsck 1.41.14 (22-Dec-2010)
e2fsck: Superblock invalid, trying backup blocks...
e2fsck: Bad magic number in super-block while trying to open /dev/block/platform/msm_sdcc.1/by-name/userdata
The superblock could not be read or does not describe a correct ext2
filesystem. If the device is valid and it really contains an ext2
filesystem (and not swap or ufs or something else), then the superblock
is corrupt, and you might try running e2fsck with an alternate superblock:
e2fsck -b 8193
```<issue_comment>username_1: Try doing what it suggests... run `e2fsck -b 8193 /dev/block/platform/msm_sdcc.1/by-name/userdata`. If that doesn't work, try running `mke2fs /dev/block/platform/msm_sdcc.1/by-name/userdata`.
You can also boot into fastboot mode and run `fastboot erase userdata`.
If none of these work, please elaborate on this "long story". How did you mess up your data partition with TWRP? Got any logs/error messages/steps to reproduce? I've been using TWRP ever since I started using custom ROMs and never had an issue.
Upvotes: 4 [selected_answer]<issue_comment>username_2: This solution fixed the issue of device stuck at boot logo.
* Boot into TWRP or any other similar recovery.
* Enter `adb shell` in a terminal on your PC while running recovery on the phone.
* Enter `e2fsck /dev/block/platform/msm_sdcc.1/by-name/persist`. Should work for other partitions that might be corrupt as well (Query Google to find more Android partitions).
Upvotes: 1 |
2014/11/20 | 313 | 1,101 | <issue_start>username_0: Please how can l reinstall google playstore on my Huawei G700-T00. i have tried to install it three time<issue_comment>username_1: Try doing what it suggests... run `e2fsck -b 8193 /dev/block/platform/msm_sdcc.1/by-name/userdata`. If that doesn't work, try running `mke2fs /dev/block/platform/msm_sdcc.1/by-name/userdata`.
You can also boot into fastboot mode and run `fastboot erase userdata`.
If none of these work, please elaborate on this "long story". How did you mess up your data partition with TWRP? Got any logs/error messages/steps to reproduce? I've been using TWRP ever since I started using custom ROMs and never had an issue.
Upvotes: 4 [selected_answer]<issue_comment>username_2: This solution fixed the issue of device stuck at boot logo.
* Boot into TWRP or any other similar recovery.
* Enter `adb shell` in a terminal on your PC while running recovery on the phone.
* Enter `e2fsck /dev/block/platform/msm_sdcc.1/by-name/persist`. Should work for other partitions that might be corrupt as well (Query Google to find more Android partitions).
Upvotes: 1 |
2014/11/20 | 240 | 977 | <issue_start>username_0: I have enabled password protection on the lock screen on my Nexus 5 Lollipop device:

**After enabling password, I can't seem to be able to cancel it. Any idea how to go back to `None` or `Swipe`?**<issue_comment>username_1: Check if your credentials in security, if you have an application that requires you to have a password and delete that.
Did you encrypt the phone ? That requires a password.
Also if you are a guest you cant, but i think you already are an administrator of your own device.
Upvotes: 1 <issue_comment>username_2: You can simply erase you security credentials in security and this will automatically allow you to remove the lock screen on 5.0
Upvotes: 4 <issue_comment>username_3: This works at my device:
Settings -> Security -> Deactivate Administrators. Deactivate anything listed.
Settings -> Security -> Clear credentials.
Upvotes: 7 [selected_answer] |
2014/11/20 | 373 | 1,572 | <issue_start>username_0: I have removed the SD card from my phone and now my phone is not working.
All phone related processes are force closing. I have cleaned my cache and did 'Fix Permission' via Recovery but the processes are still force closing.
I have installed and customized a number of apps and I don't want to Factory Reset it. Is there an option to fix the issue without doing factory reset?
* Getting the same SD card content back is not an option since the card was formatted.
* My phone is Huawei Honor 3C and I am using TWRP recovery on it.
* I have already checked all the questions here: <https://android.stackexchange.com/search?q=SD+Card+Removed+Unexpectedly>
Update:
The problem is back after inserting the SIM card. I cleared cache/data of Phone and SIM Toolkit but the issue is still there.
2nd Update:
I installed a new ROM since there's no help available.<issue_comment>username_1: Check if your credentials in security, if you have an application that requires you to have a password and delete that.
Did you encrypt the phone ? That requires a password.
Also if you are a guest you cant, but i think you already are an administrator of your own device.
Upvotes: 1 <issue_comment>username_2: You can simply erase you security credentials in security and this will automatically allow you to remove the lock screen on 5.0
Upvotes: 4 <issue_comment>username_3: This works at my device:
Settings -> Security -> Deactivate Administrators. Deactivate anything listed.
Settings -> Security -> Clear credentials.
Upvotes: 7 [selected_answer] |
2014/11/20 | 221 | 963 | <issue_start>username_0: So many Chinese Android apps always creates garbage in SD card, like there is their's home. Some apps auto downloads **binding apps** to SD card, when I deleted them, they come up next time! So is there any idea to prevent this? This drives my **crazy**!<issue_comment>username_1: Check if your credentials in security, if you have an application that requires you to have a password and delete that.
Did you encrypt the phone ? That requires a password.
Also if you are a guest you cant, but i think you already are an administrator of your own device.
Upvotes: 1 <issue_comment>username_2: You can simply erase you security credentials in security and this will automatically allow you to remove the lock screen on 5.0
Upvotes: 4 <issue_comment>username_3: This works at my device:
Settings -> Security -> Deactivate Administrators. Deactivate anything listed.
Settings -> Security -> Clear credentials.
Upvotes: 7 [selected_answer] |
2014/11/20 | 306 | 1,275 | <issue_start>username_0: I've updated my non-rooted, vanilla Nexus 5 with an OTA update to Android 5.0 Lollipop and since then my custom mp3 ringtone stopped working. Here are the symptoms:
1. When selecting it via the ringtone selector in the Sound & notification settings panel, it plays properly.
2. When someone else calls me, the default **system notification sound** is played repeatedly.
3. Re-uploading the custom ringtone via AirDroid as an .mp3 file didn't work, nor did uploading an ffmpeg-encoded .ogg version of it.
4. The same applies to my custom notification sound.
I'm currently using one of the ringtones bundled with the system, and I'd love some help in solving this problem. Thanks!<issue_comment>username_1: Your steps should have fixed the problem unless you have uploaded the file to the wrong directory and it's still showing the broken link to the older file.
1. Check that you are uploading to `/sdcard/Ringtones`
2. Check that AirDroid (I'm not familiar with that app) uploads with the proper permissions to allow the system to access it
Upvotes: 0 <issue_comment>username_2: A friend suggested clearing cached data (via Settings > Storage > Cached data) and then rebooting, and it seems to have resolved the issue.
Upvotes: 3 [selected_answer] |
2014/11/20 | 393 | 1,561 | <issue_start>username_0: So, I'm currently on the N5X rom with a cyanogenmod 4.4.4 base on my Samsung i9300, I restored Chrome Beta from one my backups in titanium Backup, after flashing the latest version of the ROM recently.
But every time I launch Chrome or Chrome Beta from the drawer, it comes up, staying right at the center, here's a screenshot:

Its so strange, it doesn't force close or pop up with any errors, everything works fine except for the part where it just starts fixed to the center of the screen.
What I've tried:
* Uninstalling Chrome Beta and Chrome, and then re-installing both
* Wiping data and cache of both browsers.
* Re-flashing the ROM.
So here's what I've noticed, sometime last month when I flashed a Paranoid Android nightly, both Google Browsers behaved this way, and I thought it had to do with P.A then until this happened. Firefox works fine though, just Chrome and Chrome Beta.<issue_comment>username_1: Your steps should have fixed the problem unless you have uploaded the file to the wrong directory and it's still showing the broken link to the older file.
1. Check that you are uploading to `/sdcard/Ringtones`
2. Check that AirDroid (I'm not familiar with that app) uploads with the proper permissions to allow the system to access it
Upvotes: 0 <issue_comment>username_2: A friend suggested clearing cached data (via Settings > Storage > Cached data) and then rebooting, and it seems to have resolved the issue.
Upvotes: 3 [selected_answer] |
2014/11/21 | 279 | 1,119 | <issue_start>username_0: Due to AT&T being a *horrible* company, I believe the customer "service" has led me through more than my allotted attempts at unlocking my phone. Because my phone was refurbished, the attempts may have already all have been used. I believe my phone is now "Hard Locked"
Anyhow, my contract is over but I'd love to keep using my galaxy s3 on a different network. Is there any way to reset the unlock counter so I can unlock my phone? I'm willing to pay for an unlock code or go through the process of rooting my phone if necessary.<issue_comment>username_1: If your sim card is locked then you can just remove it and put another one in.
If the phone itself is locked, you can do a factory-reset by using the recovery, hold power, home, volume-up until you get to the recovery screen and choose the factory reset option.
Upvotes: 1 <issue_comment>username_2: You need to contact AT&T and request your puk1 and puk2 codes (not to be mistaken for a 'pac' code) This will be free to do. Now it depends on what/how you have locked your phone as to which of the puk codes you need to use.
Upvotes: 0 |
2014/11/21 | 224 | 846 | <issue_start>username_0: I have a Nexus 5 that I just updated to Android 5.0 Lollipop. Since then, whenever an app is updated from the Play Store, it opens automatically. If 15 apps are updating, all apps will open one by one.
I can't find any setting for this. How can I stop this?<issue_comment>username_1: If your sim card is locked then you can just remove it and put another one in.
If the phone itself is locked, you can do a factory-reset by using the recovery, hold power, home, volume-up until you get to the recovery screen and choose the factory reset option.
Upvotes: 1 <issue_comment>username_2: You need to contact AT&T and request your puk1 and puk2 codes (not to be mistaken for a 'pac' code) This will be free to do. Now it depends on what/how you have locked your phone as to which of the puk codes you need to use.
Upvotes: 0 |
2014/11/21 | 618 | 2,159 | <issue_start>username_0: I'm in a big trouble let me explain.
I have a `GT-s5830i` where I installed MIUI, I have also `CWM Recovery 5.0.2.8`.
Now for many reasons I would like to factory reset my device to it's original ROM, what I did:
1. Enter recovery mode
2. Wipe cache
3. Wipe dalvik cache
4. Wipe data/factory reset
The system stuck here with this error message
```
Error Mounting /sdcard/.android_secure!
Skipping format...
```
Now I rebooted the device and for 1 hour is on boot Samsung logo, it do nothing, just stay on Samsung logo showing `GT-s5830i`
Please help me I don't want to buy another phone.
Thanks in advance
Sonia<issue_comment>username_1: Tried: Remove the SD card from your device and launch it like that.
1. HARD reset it (VOLUME UP + HOME BUTTON + POWER ON) hold it for a while until the boot menu pops up. Select to Restore factory defaults (or something similar to that).
**CAUTION:** All data will be lost.
2. SOFT reset it (Just take out the battery from your phone and put it back in after few seconds).
Let me know if any of these works.
Upvotes: 0 <issue_comment>username_2: Reading your question a second time, I just see you're on the complete wrong track (a thing we call the [XY problem](https://meta.stackoverflow.com/q/66377/192154)):
>
> Now for many reasons I would like to factory reset my device to it's original ROM
>
>
>
That's not possible at all. You overwrote this when flashing MIUI (for details, see our [factory-reset tag-wiki](https://android.stackexchange.com/tags/factory-reset/info)). You'll have to get yourself a ROM file to flash (see: [Where can I find stock or custom ROMs for my Android device?](https://android.stackexchange.com/q/17152/16575)), and flash your device again if you want to "return to stock".
That said, it makes no sense to get your "supposed solution" to work – as even if we did, it would not solve your issue.
Upvotes: 1 <issue_comment>username_3: Try reformatting your sd card to another System type like FAT32. sumthing like that. The problem is with the sd card's system. Or you may try to put the file in another sd card and.flash it with that.
Upvotes: 0 |
2014/11/21 | 387 | 1,480 | <issue_start>username_0: I have enabled Trusted face, also it comes with pattern lock if face is not recognized.
But it has a flaw, anyone can unlock the phone with camera/phone call shortcut on lock screen. As shown in attached screenshot, is it possible to prevent this?
<issue_comment>username_1: I tried what you're saying a few times, and after you close the camera, you're back on the lock screen.
Unless you were actually looking at the phone, it recognized your face and it unlocked itself milliseconds before opening the camera.
You can notice that the "symbol" in the middle goes from that of a person to that of an unlocked lock when it recognizes you
Upvotes: 5 [selected_answer]<issue_comment>username_2: Just as [Kushtrim](https://android.stackexchange.com/a/88440/44325) mentioned, I also suspect that it's due to "Trusted face": maybe it's too sensitive, or the face you provided is.. still too general that everyone's face is detected as yours.
Some suggestions that I could think of:
* Turn off "Trusted face". It's an obvious solution, but you cannot enjoy this new feature.
* Improve the "Trusted face" recognition. It might be a hit-or-miss, but it's worth a try:
1. Go to Settings - Security
2. Choose "Smart Lock", confirm the saved pattern
3. Choose "Trusted face" - "Improve face matching"
4. Follow the instruction, and do it a number of times to further improve it.
Upvotes: 3 |
2014/11/22 | 426 | 1,623 | <issue_start>username_0: I found the latest 6.5 release for the Google Play Services [here](http://www.apkmirror.com/apk/google-inc/google-play-services/google-play-services-6-5-85-1589008-438-apk/). I installed it hoping the smart lock position feature would work and sadly it does not.
Since it was the only one for Lollipop I thought it was the right one for my Nexus 9, but I was wrong.
The app crashes every now and then, and it's quite annoying. Is there a way I can re-install/revert to the actual official version (6.1) without resetting the tablet? When I try to "uninstall updates" under the Google Play Services details it asks me if I really want to reset to default factory settings, which I only want to do if there's nothing else I can do.
When I browse to Google Play Services on the Play Store from my computer (since for some unknown reason [this page cannot be accessed from my device](https://play.google.com/store/apps/details?id=com.google.android.gms&hl=en), it says my devices (cellphone and tablet) both have the app installed... but my tablet still has the wrong version.<issue_comment>username_1: I think you should reinstall Factory Images and start from zero.
<https://developers.google.com/android/nexus/images?csw=1>
Upvotes: 0 <issue_comment>username_2: If you open Settings > Apps > find Google Play Services and select uninstall updates, that should revert to your previous version of GPS.
I think you did the same as me, as it wasn't clear on any site that this APK wasn't suitable for the Nexus 9 - were you getting an error message with regards to GP Music as well?
AC
Upvotes: 2 |
2014/11/22 | 173 | 764 | <issue_start>username_0: When there are multiple users in an Android device, how the notifications work?
* The notifications are simultaneous for all users?
* There are only notifications for the active user and notifications for other users are disabled until the other users log in?<issue_comment>username_1: The current session is suspended before switching to the new user profile. This is what I noticed at least for the guest profile.
Upvotes: 1 <issue_comment>username_2: * Notifications appear for all accounts of a single user at once.
* Notifications for other users do not appear until they are active.
Source: [Supporting Multiple Users](https://source.android.com/devices/tech/admin/multi-user.html#applying_the_overlay)
Upvotes: 3 [selected_answer] |
2014/11/22 | 448 | 1,678 | <issue_start>username_0: The SIM Tool Kit icon is ugly and app is one that I never used. Unfortunately, I've read that it is one of those system apps that cannot be removed so I'd like to simply hide the icon from my launcher.
I'm using the Google Launcher and not running any XPosed mods.<issue_comment>username_1: In NOVA launcher it is simple.
**Settings / Menu / Hide applications**
This will hide it in the app drawer.
Upvotes: 1 <issue_comment>username_2: I found two approaches through a quick Google search:
1. **No Root access required**: Google Launcher doesn't offer any feature to change or hide an app icon. The compromise is to use altogether a different launcher such as [Nova Launcher](https://play.google.com/store/apps/details?id=com.teslacoilsw.launcher) (mentioned by *peter.zm*), [Action Launcher 3](https://play.google.com/store/apps/details?id=com.actionlauncher.playstore), etc. I personally prefer [SmartLauncher 2](https://play.google.com/store/apps/details?id=ginlemon.flowerfree) app. You tap and hold the app, choose **hide** and done for good.
I have heard of icon packs that can be integrated into Android with no need for root access but they mostly replace all the device's apps icons.
2. **Root Access required**: If your device is rooted, the possibilities seems endless. There is an app named [Unicon](https://play.google.com/store/apps/details?id=sg.ruqqq.IconThemer) which claims to customize icons and can work with stock launcher (should work with Google Now too). Another app is an Xposed module named [Xposed GEL Settings](http://repo.xposed.info/module/de.theknut.xposedgelsettings) which can hide the icons *et al.*
Upvotes: 0 |
2014/11/22 | 231 | 1,016 | <issue_start>username_0: I am trying to sell my Note 3 and performed a factory reset both from the Home + Power + Volume Up menu, as well as the settings -> Factory reset menu.
Both approaches seem successful at resetting the device as nothing remains on the phone's interface and I go through all the screen like the first day I bought it.
The only issue is when I connect the device to the computer via USB, it appears all the data is still in storage, just not on the user interface of the phone. Any idea why this is?
I would like to completely wipe everything off the phone so the storage is as empty as it can be.<issue_comment>username_1: If it is an external storage try formatting the external SD card. You can do it in the computer or in Android it should be under Storage.
Upvotes: 1 <issue_comment>username_2: Did you do the factory reset through the system settings menu? If so you must make sure to select removal of all user data. Otherwise the data is likely just on external storage.
Upvotes: 0 |
2014/11/22 | 202 | 883 | <issue_start>username_0: I bought a new smartphone and everything was fine when I connected with my computer. I don't
know what exactly I did but after I unplug it an app called 'System UI' was spamming my screen to turn off USB Storage but the button was inactive. I didn't know what to do and I forced stopped the app. Now some features are temporarily inactive from this charging all my photos are missing, my apps that I had installed now are uninstalled. Please tell me HOW TO FIX IT ?<issue_comment>username_1: If it is an external storage try formatting the external SD card. You can do it in the computer or in Android it should be under Storage.
Upvotes: 1 <issue_comment>username_2: Did you do the factory reset through the system settings menu? If so you must make sure to select removal of all user data. Otherwise the data is likely just on external storage.
Upvotes: 0 |
2014/11/22 | 237 | 909 | <issue_start>username_0: I tried logging out the account on Gmail, but it logged out the Play Store as well. How can I logout of my Gmail account without logging out of the Google Play Store? Is it possible?<issue_comment>username_1: It is not possible according to this guide <https://support.google.com/mail/answer/2991620?hl=en>
>
> There’s no option to sign out of the Gmail app for Android without
> removing your entire account from your phone or tablet. However, you
> can accomplish many of the same tasks through other actions, depending
> on what you need.
>
>
>
As an example you can disable Gmail sync and just check your email from the web browser.
Upvotes: 3 <issue_comment>username_2: If you mean log out of the Google account, it is not possible. You will always need to be logged in to access the store for your apps. As is said before, you can disable the email service.
Upvotes: 2 |
2014/11/22 | 1,174 | 4,612 | <issue_start>username_0: I would like to migrate apps and their data from one phone to another **without too much faffing around**, like:
----------------------------------------------------------------------------------------------------------------
* rooting (very convoluted device specific process with a lot of ambiguity around it and often involving running closed source software from random vendors that you have to believe does the right thing),
* using app specific backup export/import facilities if at all exist (too manual, seems the only option though).
I am ok with:
-------------
* using a PC to help facilitate the process,
* manual copying/pasting files (within reason).
Ideally, I would like to have a process that works something like this:
-----------------------------------------------------------------------
1. select apps that I would like to have in their current state on the other phone,
2. bundle them together and store somewhere (external SD card or PC),
3. put that bundle on the other phone and somehow install and recover their state.
A bit like [PortableApps](http://portableapps.com/about) works.
So far I have tried :
---------------------
* [Super Backup](https://play.google.com/store/apps/details?id=com.idea.backup.smscontacts) - unfortunately, like many others, requires rooting,
* [Helium](https://play.google.com/store/apps/details?id=com.koushikdutta.backup&hl=en) - seemed promising but *Helium has never been, nor ever will be, compatible with any device running anything less than Android 4.0* and it does not work on certain phones.
* [App Backup & Restore](https://play.google.com/store/apps/details?id=mobi.infolife.appbackup&feature=search_result#?t=W251bGwsMSwxLDEsIm1vYmkuaW5mb2xpZmUuYXBwYmFja3VwIl0.) - *Q: Does it backup data of apps? A: No, currently it only backup the apk files of apps.*
* and skimmed through a number of articles including [this one](https://android.stackexchange.com/questions/1184/how-do-i-root-my-android-device) (looks like even if I was willing to root I would have a hard time).<issue_comment>username_1: >
> Helium has never been, nor ever will be, compatible with any device running anything less than Android 4.0
>
>
>
First things first: What you want cannot be achieved on not-rooted devices running a lower version of Android. Only with ICS (4.0), permissions of the ADB daemon have been alleviated to enable this (see: [Full Backup of non-rooted devices](https://android.stackexchange.com/q/28296/16575)).
For compatibility: What *Helium* does directly on the device, can be achieved from a computer connected with the device via USB, using the ADB tools: You can use the `adb backup` and `adb restore` commands, as described by answers to the linked question. There should be no compatibility issue, as long as your computer recognizes the device.
I have just had a similar issue: My main device needed to go for repair, so I had to migrate stuff to one of my "backup devices". Completely different brand, even different Android version. The above mentioned worked fine (working app-by-app, only "moving in" those ones I required). Just to ease the process (which I might need once more, or others might need), I wrote myself a little helper: If you're using Linux (or some other \*nix coming with Bash), you might wish to take a look at **[Adebar](https://github.com/username_1Soft/Adebar)** – which not only creates you the scripts needed for backup/restore, but also to "re-freeze" apps you might have frozen on the original device, and additionally creates you a little "device documentation". Feedback welcome – and again the disclosure: I'm the author of that script.
Upvotes: 3 [selected_answer]<issue_comment>username_2: I only tried it on one app so far though but here goes. you must be able to access 'phone storage' on both phones.
1. plug in the usb and connect the phone to your com.
2. open phone storage. open 'Android'
3. look for the app files you want and copy paste into your com. both from 'data' and 'obb'. If there's nothing inside the obb file don't bother copying, it doesn't make a difference. Remember their locations, etc which file is in obb/data.
4. check if there are any files of your app that is not in the 'Android' file. copy paste
5. plug in your other device. enter phone storage.
6. return your copied files into 'data' and 'obb' under 'Android' (or if they were not in 'Android') into the new phone.
7. download your app from app store. it should load within seconds.
8. hope for the best
im really sorry if it didn't work, i only tried it on one app.
Upvotes: 2 |
2014/11/22 | 381 | 1,430 | <issue_start>username_0: I have a Samsung Galaxy S5 that is approximately six months old. My OS version is 4.4.2, and my provider is AT&T.
The battery in my S5 will usually last me 2-4 days without charging, depending on use, but two or three days ago the battery started dying very quickly despite minimal use. The battery will no longer even last 24 hours without use. I checked my phone's battery usage, and `com.android.systemui` seems to be causing the excess battery drain.
What's causing `com.android.systemui` to drain so much battery, and what can I do to fix it?
[](https://i.stack.imgur.com/DD2Z3.png)
Battery usage (click image for larger variant)<issue_comment>username_1: com.android.systemui is the GUI for android every thing you do on your phone like typing or browsing the web will use this so it will drain your battery the most.
yo can try not using your phone for a day (put it on standby for 24 hours and see if it lasts) if it doesn't your battery maybe degraded and need replace.
Hoped this helped
Upvotes: 0 <issue_comment>username_2: I haven't figured out what was causing the problem, but I did manage to fix it. I restarted my S5, and the process that was consuming all of the battery seems to have stopped. `com.android.systemui` is only responsible for 4% of the battery drain after restarting and recharging.
Upvotes: 2 [selected_answer] |
2014/11/23 | 481 | 1,686 | <issue_start>username_0: I have an Android phone from LG, and I want to use it for USB debugging. I followed the following steps:
1. Enabled usb debugging in developers option on phone.
2. After connecting to PC, phone shows as "Usb debugging connected". I verified the same by running `lsusb` on Ubuntu 14.10. It shows the following result:
```
Bus 002 Device 003: ID 1004:633e LG Electronics, Inc.
```
3. Then I followed steps given in <https://developer.android.com>, to setup hardware device.
* Log in as root and create this file: `/etc/udev/rules.d/51-android.rules`.
* Use this format to add each vendor to the file:
```
SUBSYSTEM=="usb", ATTR{idVendor}=="1004", MODE="0666", GROUP="plugdev"
```
* Now execute: `chmod a+r /etc/udev/rules.d/51-android.rules`
4. After that I rebooted the computer.
5. Now when I try to check device list in adb by command `./adb devices`, it does not show the device listed.
Can anybody please help? Where am I going wrong?<issue_comment>username_1: com.android.systemui is the GUI for android every thing you do on your phone like typing or browsing the web will use this so it will drain your battery the most.
yo can try not using your phone for a day (put it on standby for 24 hours and see if it lasts) if it doesn't your battery maybe degraded and need replace.
Hoped this helped
Upvotes: 0 <issue_comment>username_2: I haven't figured out what was causing the problem, but I did manage to fix it. I restarted my S5, and the process that was consuming all of the battery seems to have stopped. `com.android.systemui` is only responsible for 4% of the battery drain after restarting and recharging.
Upvotes: 2 [selected_answer] |
2014/11/23 | 1,074 | 4,293 | <issue_start>username_0: I'd like to have phone calls ring at full volume, and all other notifications be silent. Notifications should still vibrate and/or use the LED; whatever their default behavior is.
I can't figure out how to do this in Lollipop. Ring volume and notification volume seems to be the same slider, so I can't turn this down to zero without muting calls. I can use priority interruptions and say that only phone calls have priority, but this seems to turn off the LED and vibration for notifications.
In KitKat, I think notifications and the ringer used a different volume slider. The only workaround I can find in Lollipop is to configure the default notification sound to be silence, and turn off sounds for individual notifications where I can. Is there a cleaner solution for this?<issue_comment>username_1: Here's how to do it:
1. Press a volume button to get a menu with three items, "none", "priority" and "all".
2. Select "priority"
3. In the dropdown that appears, tap the cog for Interruptions settings (you can also access this through Settings)
4. Under "priority interruptions", turn on "Calls" and turn off the other two options.
That should work, but I haven't tested it.
EDIT: Apologies, I missed the part about your still wanting vibrations and LED notifications from things other than calls. I suspect there isn't a way to do that built in. It may be possible using something like the Light Flow app.
Upvotes: 3 <issue_comment>username_2: It can't be done. <https://code.google.com/p/android/issues/detail?id=79445>
This is currently a very hot topic with many people extremely frustrated that this functionality has been removed. Hopefully google will bring it back.
Upvotes: 4 [selected_answer]<issue_comment>username_3: Try the app called SoundProfile by Corcanoe: <https://play.google.com/store/apps/details?id=Orion.Soft>
Upvotes: 1 <issue_comment>username_4: Found this while looking to do the same thing.
My solution was to create a 0.1 seconds silent wav file - using sox, the command line audio utility it's as simple as:
```
sox -n silence.wav trim 0 0.1
```
But you use audacity or whatever you want.
The advantage is not having to install any extra apps. The disadvantage is that turning notification sound back on is awkward, but I personally don't see any benefit in having notification sounds ever.
Upvotes: 0 <issue_comment>username_5: I appreciate that this question is old, but so is my version of Android, and I was recently looking for the answer. I don't know if every build has this functionality, but here's what works for me:
On my Android 5.0.2 system, which Wikipedia tells me is Lollipop, I press one of the physical volume buttons, up or down, and the ringtone volume indicator comes up on the screen, with a gear on the right. I tap the gear, and it gives three volume indicators, ringtone, music & videos, and alarms, and under that it says "use ringtone volume for notifications", with a checkbox beside it. I uncheck the box, and a fourth volume indicator appears, for "notifications". I slide that to zero. Problem solved.
Vibration and LED settings are typically set using the internal settings of each app. I don't use vibration notifications but the LED settings are unaffected by the volume slider, and I assume the vibration settings are too.
Upvotes: 0 <issue_comment>username_6: I have Android 5.1 - and after googling/browsing this question, found there is a 'None' setting for default notification sound.
Settings, Sound & notification, Settings icon (Cog symbol right of General Ring), Default notification sound, scroll up to the first, select 'None', OK - job done.
Upvotes: 2 <issue_comment>username_7: This is now possible using stock Android using do not disturb mode. You can set do not disturb on, but still allow calls and alarms. Works on a Pixel 2 at least.

You won't get vibrations from messages, but the status led will still light up.
Upvotes: 2 <issue_comment>username_8: I found that on my phone, I went to the sounds and vibrations section and clicked on vibration intensity. It gave me the choice to completely lower the vibrations for notifications but I could keep the phone vibration intensity up
Upvotes: 0 |
2014/11/23 | 323 | 1,236 | <issue_start>username_0: Ever since Android 4.1's new security model, all LogCat viewers I've came across require root access. Even the LogCat viewer for the IDE I'm using (AIDE) won't work.
Without rooting my device, or needing a computer to assist me, how could I view the logcat of programs I write?<issue_comment>username_1: Without root or a PC: you can't. As you noted, the behavior you're seeing is entirely intentional, and cannot be changed. If you could find a custom ROM that did not enforce these restrictions then you could feasibly install that, but if you do not want to root then I would assume this is also not an option (and I would imagine such a ROM may not exist). The only other option would be to write your own LogCat viewer within your apps, since [each app can access its own log data](https://groups.google.com/d/msg/android-developers/6U4A5irWang/AvZsrTdfICIJ).
Upvotes: 3 [selected_answer]<issue_comment>username_2: With the following command you can give the app permission to read all logs without root permissions:
```
adb shell pm grant android.permission.READ\_LOGS
```
It works at least with catlog application in Samsung Galaxy S5/Android 6.0 as well as with Galaxy S7/Android 6.0.1.
Upvotes: 0 |
2014/11/24 | 1,299 | 4,927 | <issue_start>username_0: I just did a wipe data/factory reset on my Nexus 5. I followed [this YouTube tutorial](https://www.youtube.com/watch?v=mHJV_UprpE8).
I'm stuck on the boot screen, which was my problem in the first place, and it's been on the boot screen for 25 minutes.
Should I wait or do something else?<issue_comment>username_1: Posting this not so much for the asker, since it was asked ten hours ago, but for others who find this question:
Lollipop's first boot can take a long time. On my Nexus 4, after the OTA update from 4.4.4, it took about half an hour. At least 10 minutes of this was spent in the "flying colours" boot screen. I'd make sure it has power, and leave it for at least 30-60 minutes before getting too worried.
Upvotes: 3 <issue_comment>username_2: If you have been waiting an excessive amount of time for your phone to boot (eg. leaving it overnight to boot) but it is still at the boot animation, you may be in *bootloop*. This is when the phone fails to boot due to some errors in the `/system` partition. As a preliminary measurement, you should perform a *factory reset* (or wipe `/data`) to see if that helps. If that does not help, you should reinstall the `/system` partition.
1. First, you have to format your `/system` directory; you will need a custom recovery to do this. I recommend [TWRP (Nexus 5)](http://techerrata.com/browse/twrp2/hammerhead), but regardless of which recovery you choose, you should download the latest version.
2. Power off your Nexus 5, then press and hold Vol-, Vol+ and Power simultaneously. **Don’t release the buttons until *Fastboot Mode* menu appears.** *Excessive force is not necessary and may break your buttons.*
3. Now, you will have to use the adb and fastboot tools. Open a terminal/cmd in your adb/fastboot folder on your PC. If you have the [Android SDK](http://developer.android.com/sdk/installing/index.html), they are usually located in `/path-to-sdk/sdk/platform-tools/`. *Alternatively, you can install the [Minimal ADB and Fastboot](http://forum.xda-developers.com/showthread.php?t=2317790) tool for Windows (or `sudo apt-get install android-tools-adb android-tools-fastboot` for Linux)*.
4. Now plug in your phone to your PC. Making sure that your phone is in *fastboot mode* , type into terminal/cmd: `fastboot devices` to make sure that your phone is properly connected (it should return a serial code to you). This next command will perform a factory reset on your phone, so be wary that **this will wipe all user data from the phone**: `fastboot oem unlock`. After you have issued that command, type `fastboot reboot`. You will be presented with a screen containing an android logo and a progress bar (this may take up to ten minutes to complete). After that, your phone will try to boot up again. Just power it off **after the android logo and progress bar are no longer on your screen**.
5. Now we will use that recovery.img file we downloaded earlier. Reboot your phone into *fastboot mode* with Vol-, Vol+, and power, as in step 2. Make sure it is connected with `fastboot devices`. In the same terminal/cmd, type `fastboot flash recovery /downloads/recovery.img`, replacing `/downloads/recovery.img` with the full path to your downloaded recovery.
6. After that is done, on the phone, use the volume buttons to scroll onto "**Restart Bootloader**" and hit power to select it. After the bootloader reloads, use the volume buttons to scroll onto **"Recovery Mode**" and power to select it. You should then be greeted with your newly installed custom recovery.
7. These are instructions for TWRP: Once your recovery is running, tap **Wipe > Advanced Wipe** and tick only system, data, cache, and dalvik cache. Now swipe to **Wipe**. *This will wipe all system and user data from the device; data on external sd cards will be preserved if you only selected those 4 partitions.*
8. Now, you will download a fresh system image. If you want to stick with a stock ROM, [here is one from XDA](http://forum.xda-developers.com/google-nexus-5/development/rom-android-4-4-3-ktu84m-rooted-busybox-t2557523) (This version is rooted). There are many custom ROMs available on the [XDA thread](http://forum.xda-developers.com/google-nexus-5). Download the ROM image.
9. Now, back in TWRP, make sure you are on the home screen (there should be a home button on the bottom) and go to **Advanced > ADB Sideload** then swipe to activate the mode. Type `adb devices` to make sure your device is properly connected, then type `adb sideload /downloads/ROM.zip`, replacing `/downloads/ROM.zip` with the full path to the ROM (.zip file) you just downloaded. This may take up to ten minutes to complete.
10. After that is done, just reboot! From the TWRP home screen, go to **Reboot > System** and it should boot correctly. *Keep in mind that the first boot may take up to an hour to complete, so **keep it connected to a power source!***
Upvotes: 3 |
2014/11/24 | 601 | 2,295 | <issue_start>username_0: I've seen a few apps online, but they don't seem legitimate. From what I've seen, they don't seem to show what's going on while the drive is being defragmented. So I decided I wanna stay away from defragmenters in the Google Play store.
What would be an efficient way to defrag my both my phone's SD card and internal storage?<issue_comment>username_1: There's no reason to defragment flash media. [It serves no purpose](https://superuser.com/a/332182/72425), because access to any flash cell is going to take the same amount of time as access to any other flash cell. The reason defragmenting is beneficial to mechanical hard drives is because it makes related data blocks contiguous, so that they can all be read in order as the disk is spinning and minimizing the amount of movement needed from the drive heads. Flash media has none of these moving parts, and therefore does not suffer from the same problems as mechanical drives.
In fact, defragmenting flash media could potentially be *detrimental*, because it will [wear](http://en.wikipedia.org/wiki/Flash_memory#Memory_wear) the memory faster while not providing any benefit. Flash memory firmwares will actually fragment data **intentionally**, in a practice known as [wear-leveling](http://en.wikipedia.org/wiki/Wear_leveling), which helps to prevent specific cells from being overused and wearing out more than others.
Flash-based devices generally benefit from [TRIMing](http://en.wikipedia.org/wiki/Trim_%28computing%29), but Android 4.3 or higher will [do this for you automatically](http://www.engadget.com/2013/07/30/android-4-3-supports-trim-improves-performance-on-nexus-devices/). Apps that claim to perform defragmentation are suspicious at best. Even if they "work", there is no reason to use them.
Upvotes: 5 [selected_answer]<issue_comment>username_2: Defragmenting storage IC memory is not recommended for it may actually break the IC... Just like how SSDs are, you simply do not defragment Storage IC or it may break... also as far as I know Unix systems don't need to defrag since the files are already arranged in such a way that it is faster to access them
a better explanation here: <http://geekblog.oneandoneis2.org/index.php/2006/08/17/why_doesn_t_linux_need_defragmenting>
Upvotes: 1 |
2014/11/24 | 579 | 2,193 | <issue_start>username_0: I recently got back from a holiday without internet, when I got back heaps of my apps updated and one of them now continuously turns my Bluetooth on. How can I determine which app it is?
I have a rooted Nexus 4 running 4.4.4<issue_comment>username_1: There's no reason to defragment flash media. [It serves no purpose](https://superuser.com/a/332182/72425), because access to any flash cell is going to take the same amount of time as access to any other flash cell. The reason defragmenting is beneficial to mechanical hard drives is because it makes related data blocks contiguous, so that they can all be read in order as the disk is spinning and minimizing the amount of movement needed from the drive heads. Flash media has none of these moving parts, and therefore does not suffer from the same problems as mechanical drives.
In fact, defragmenting flash media could potentially be *detrimental*, because it will [wear](http://en.wikipedia.org/wiki/Flash_memory#Memory_wear) the memory faster while not providing any benefit. Flash memory firmwares will actually fragment data **intentionally**, in a practice known as [wear-leveling](http://en.wikipedia.org/wiki/Wear_leveling), which helps to prevent specific cells from being overused and wearing out more than others.
Flash-based devices generally benefit from [TRIMing](http://en.wikipedia.org/wiki/Trim_%28computing%29), but Android 4.3 or higher will [do this for you automatically](http://www.engadget.com/2013/07/30/android-4-3-supports-trim-improves-performance-on-nexus-devices/). Apps that claim to perform defragmentation are suspicious at best. Even if they "work", there is no reason to use them.
Upvotes: 5 [selected_answer]<issue_comment>username_2: Defragmenting storage IC memory is not recommended for it may actually break the IC... Just like how SSDs are, you simply do not defragment Storage IC or it may break... also as far as I know Unix systems don't need to defrag since the files are already arranged in such a way that it is faster to access them
a better explanation here: <http://geekblog.oneandoneis2.org/index.php/2006/08/17/why_doesn_t_linux_need_defragmenting>
Upvotes: 1 |
2014/11/24 | 578 | 2,169 | <issue_start>username_0: I have a Moto G 2014, and it's running 4.4.4. I cannot seem to find away to get my lock screen and home screen wallpapers different from each other. How can I go about doing this? I haven't rooted yet.<issue_comment>username_1: There's no reason to defragment flash media. [It serves no purpose](https://superuser.com/a/332182/72425), because access to any flash cell is going to take the same amount of time as access to any other flash cell. The reason defragmenting is beneficial to mechanical hard drives is because it makes related data blocks contiguous, so that they can all be read in order as the disk is spinning and minimizing the amount of movement needed from the drive heads. Flash media has none of these moving parts, and therefore does not suffer from the same problems as mechanical drives.
In fact, defragmenting flash media could potentially be *detrimental*, because it will [wear](http://en.wikipedia.org/wiki/Flash_memory#Memory_wear) the memory faster while not providing any benefit. Flash memory firmwares will actually fragment data **intentionally**, in a practice known as [wear-leveling](http://en.wikipedia.org/wiki/Wear_leveling), which helps to prevent specific cells from being overused and wearing out more than others.
Flash-based devices generally benefit from [TRIMing](http://en.wikipedia.org/wiki/Trim_%28computing%29), but Android 4.3 or higher will [do this for you automatically](http://www.engadget.com/2013/07/30/android-4-3-supports-trim-improves-performance-on-nexus-devices/). Apps that claim to perform defragmentation are suspicious at best. Even if they "work", there is no reason to use them.
Upvotes: 5 [selected_answer]<issue_comment>username_2: Defragmenting storage IC memory is not recommended for it may actually break the IC... Just like how SSDs are, you simply do not defragment Storage IC or it may break... also as far as I know Unix systems don't need to defrag since the files are already arranged in such a way that it is faster to access them
a better explanation here: <http://geekblog.oneandoneis2.org/index.php/2006/08/17/why_doesn_t_linux_need_defragmenting>
Upvotes: 1 |
2014/11/24 | 296 | 1,005 | <issue_start>username_0: I upgraded to android 5 and the screen power off effect which was imitating power off of these old CRT monitors is lost. Is there any way for me to restore it?<issue_comment>username_1: The old way was to manipulate certain parts of the code in the framework-res.apk file and then update somethings in the build.prop of the device. Of course this was when I was running Gingerbread (2.3) on my Samsung device. As of now, you could look into the system packages of latest Cyanogenmod git branch/ or wait for CM12.
Upvotes: 0 <issue_comment>username_2: If you have rooted your device then [Xposed Installer](http://repo.xposed.info/module/de.robv.android.xposed.installer) can do this.
[Xblast tools](http://forum.xda-developers.com/xposed/modules/mod-xblasttools-quiethours-centerclock-t2294419) & [GravityBox](http://forum.xda-developers.com/xposed/modules/app-gravitybox-v3-1-4-tweak-box-android-t2316070) are xposed modules that have crt off and many other effects.
Upvotes: 1 |
2014/11/24 | 281 | 955 | <issue_start>username_0: Any way to Dismount the emulated sd card to be used as internal storage and use the physical sd card instead?<issue_comment>username_1: The old way was to manipulate certain parts of the code in the framework-res.apk file and then update somethings in the build.prop of the device. Of course this was when I was running Gingerbread (2.3) on my Samsung device. As of now, you could look into the system packages of latest Cyanogenmod git branch/ or wait for CM12.
Upvotes: 0 <issue_comment>username_2: If you have rooted your device then [Xposed Installer](http://repo.xposed.info/module/de.robv.android.xposed.installer) can do this.
[Xblast tools](http://forum.xda-developers.com/xposed/modules/mod-xblasttools-quiethours-centerclock-t2294419) & [GravityBox](http://forum.xda-developers.com/xposed/modules/app-gravitybox-v3-1-4-tweak-box-android-t2316070) are xposed modules that have crt off and many other effects.
Upvotes: 1 |
2014/11/24 | 705 | 2,347 | <issue_start>username_0: Is it possible to block URLs with Tasker?
I'd like to block different sites from 9-5 everyday.<issue_comment>username_1: In general, no. Tasker can't know when a URL is launched (my testing with the "Receive Intent" event had no success), nor does it have the necessary control over the browser to stop the page from loading.
That said, if I could find the time to get [DolphinTasker](https://github.com/treborrude/dolphintasker) published, then yes, you could do this with Dolphin Browser. But that's not an option at the moment.
Upvotes: 0 <issue_comment>username_2: You can if your device is rooted. You need to add the URLs in the hosts file (`/etc/hosts`) like:
```
127.0.0.1 facecrook.com
127.0.0.1 liveminmin.com
```
and so on.
Note that you'll have to [remount](https://android.stackexchange.com/a/109704/96277) (as `rw`) your `/system` first using the commands:
```
adb shell
su
mount -o remount,rw /system
```
Use a file editor to do the editing and then remount the system in `ro` mode. Also, before editing, copy the default hosts file at some location say `/sdcard/host_files/original/hosts` and the modified hosts file at `/sdcard/host_files/modified/hosts`
Now with the [Tasker](https://play.google.com/store/apps/details?id=net.dinglisch.android.taskerm):
1. Create a time based profile as `+` → **Time** and select your timing when you want URLs to be blocked.
2. Create a task under the above profile and the action inside it should be `+` → **Code → Run Shell**:
* Type `mount -o remount,rw /system` in **Command**
* Check **Use Root**
3. Create a new action through `+` → **File → Copy File**:
* Tap the lens icon corresponding to **From** and select `/sdcard/host_files/modified/hosts`
* Tap the lens icon corresponding to **To** and select `/etc` folder by holding it.
3. Create another new action through `+` → **Code → Run Shell**:
* Type `mount -o remount,ro /system` in **Command**
* Check **Use Root**
4. Create this last action through `+` → **System → Reboot** → select `Normal` in **Type**.
5. Create another profile for the time you don't want URLs to be blocked using step1.
6. Copy steps 2-5 and choose `/sdcard/host_files/original/hosts` in step 3 under **From**.
7. Make Tasker an exception in any app (if you have) that disables Tasker from startup.
Enjoy!
Upvotes: 1 |
2014/11/24 | 372 | 1,574 | <issue_start>username_0: Recently I installed MIUI v5 rom on my smartphone.
When I rebooted my smartphone it got stuck on the MI Boot Animation Logo.
What is the problem?
Please Help me.<issue_comment>username_1: This means you are stuck in a bootloop which means that your phone can't boot. It can be caused by the wrong installation of the rom. You can try to do a factory reset from recovery. If it doesn't fix you should try to install the stock rom. If you need more help please ask.
Upvotes: 1 <issue_comment>username_2: It is stucked in boot-loop and maybe soft bricked. Its not bricked but can be soft bricked. I had also suffered this problem two times. Dont fear it will not damage any of your hardware function. It only happens if
1. The ROM you flashed doesn't matched with your phone.
2. Gapps has not been installed correctly.
You can solve this problem. Try turning off your phone and after turning on immedietly press the volume up and power button simultaneously. It could be different because different companies have different methods of booting into recovery. If you succeed in it then go ahead and if you fail then try other button combinations. After booting into recovery, navigate to wipe data section by using the volume keys. Then clear your cache partition. After doing this, get your default ROM from any website. I am sure that one or more websites will surely contain it. AFTER DOWNLOADING IT INSTALL THE ROM. Then clear the dalvik cache and cache. Now, just reboot. Your problem will be solved.If any problem, please comment.
Upvotes: 3 |
2014/11/24 | 971 | 3,195 | <issue_start>username_0: I have Huawei Ascend Y330 with Android 4.2.2. I was wondering what is the best approach to root my device and what is the best way to flash custom ROM with higher Android version (4.4 or even 5.0 if possible)?
I saw a lot of links on the internet, but all of them are not about Huawei Ascend Y330. I saw even strange guide how to flash my device to Android 5.0, but I don't think it's possible.<issue_comment>username_1: Based on [this thread](http://forum.xda-developers.com/showthread.php?t=2784701) you can root the device using KingoRoot (see [here](http://www.kingoapp.com/android-root.htm)).
As for custom ROMs, it seems the device is not popular enough amongst hobby developers to have attracted someone with the time and skills to create a custom ROM. It seems you might have to wait for custom ROMs, or ask somebody over at Modaco or XDA if they could perhaps try creating such a ROM.
Custom ROMs are almost always hobby projects, so if your device is not sold very much or nobody with the required skills for building a ROM has bought one, you are out of luck.
[This post](http://forum.xda-developers.com/showpost.php?p=61014628&postcount=10) contains a link to a few articles about running a modded ROM on your device ([source](http://pastebin.com/Z8faVVe8)). This is the stock ROM with some added features/functionality. Please keep in mind that this might void your warranty.
Here are the contents of the [pastebin](http://pastebin.com/Z8faVVe8) mentioned above: (by [<NAME>](http://forum.xda-developers.com/member.php?u=6720767) at [XDA-developers](http://forum.xda-developers.com/showpost.php?p=61014628&postcount=10))
>
> * [Stock UK ROM](http://consumer.huawei.com/uk/support/products/downloads/detail/index.htm?id=23023&pname=Y330-U01&pcode=Y330-U01) (takes forever to download, but handy if you brick the phone)
> * [To unlock bootloader](http://www.modaco.com/topic/362821-tutorial-how-to-officially-unlock-the-bootloader-with-definitions-relock-guide-included/page-17)
> * [To install CWM Recovery](http://www.phonandroid.com/forum/y330-custom-recovery-installation-t114528.html) (it can't mount external SD because it looks for it in wrong place, but flashing etc works):
> * [Rooted Stock ROM](http://www.phonandroid.com/forum/rom-huawei-y330-u01-root-t117554.html)
> * [Rooted stock material themed](http://www.phonandroid.com/forum/huawei-y330-material-by-speedo-t120876.html)
>
>
>
**Note**: You should always make a full backup before switching/modifying ROMs, just to be sure! Some devices require a factory reset when rooting or upgrading to a different ROM.
Upvotes: 1 <issue_comment>username_2: Try KingRoot. It definitely works for me every single time. Unfortunately, it is not available in Google Play Store so you have to obtain a .apk file from internet. (sites like apk4fun might have some of its versions ). The application contains code for by-passing android security - do not worry, this is actually for rooting purposes and gaining extra ordinary permissions; these permissions let you remove system apps like FM Radio, Wallpapers, but only if you want. Try to obtain the latest version available.
Upvotes: 0 |
2014/11/25 | 355 | 1,365 | <issue_start>username_0: After updating my Nexus 5 to Android 5.0 I noticed that alarm is not fired at set time (actually that spoiled my today's morning).
When I set time for alarm it writes correct delta (e.g."Alarm set for 3 minutes from now"), but it doesn't make any sound or any on-screen changes in 3 minutes: the alarm just hangs in notification tray as an "Upcoming alarm".
I've checked the notification settings and didn't find any problem. but the notifications from Google Keep don't work as well...
What can be wrong with built-in alarm in Android L?<issue_comment>username_1: Well, I couldn't find the solution so I followed [<NAME>'s advice](https://android.stackexchange.com/questions/88777/lollipop-alarm-isnt-firing-in-time?noredirect=1#comment112085_88777) and performed factory reset. That helped.
Upvotes: 3 [selected_answer]<issue_comment>username_2: I went through and stopped all of the Google Play Services (Settings->Apps->Running), including the cached process(Settings->Apps->Running->Show cached processes). It takes persistence, since they restart sometimes, keep at it and kill them dead. Restart when you get them stopped.
I get text's again (these would previously show as "Downloading 1KB") and the alarms go off now.
Hope this helps someone else, or at the very least saves them the hassle of a factory reset.
Upvotes: 1 |
2014/11/25 | 678 | 2,593 | <issue_start>username_0: My problem is theoretical at this moment. I am investigating if it is possible or not, before spending hours on it.
* I have a rooted phone.
* I want to add an entry to the IPTABLES on startup.
* If the phone is factory reset, I still want the entry to be added to IPTABLES.
My thought so far are:
1. Altering the boot image and making the init.rc permanent, but I think that is to scary and risky.
2. Create an app (apk) that is installed in `/system/app` that runs the ITPABLES command.
What are my chances of succeeding with number 2?
To run IPTABLES the apk needs root, the phone is rooted, but does the app have root access just because it is in `/system/app`?
Normal apps trigger SuperSU to grant the app root, but I want it to do the IPTABLES thing without any popups. All unattended.<issue_comment>username_1: There are apps that survive a factory reset, the most well known being Cerberus. You install it as a system app via recovery and after that it survives basically anything. After a factory reset, it is still able to do things like make pictures, track location etc. So I would say what you are trying to achieve must certanly be possible. I'm not a dev though, so I can't show you exactly how to do ot.
Upvotes: 1 <issue_comment>username_2: Your chances for #2 are pretty good – though there might be some caveats. To figure which those are, let's take a look of what a [factory-reset](/questions/tagged/factory-reset "show questions tagged 'factory-reset'") does. It...
* wipes `/data`
* wipes `/cache`
* wipes the [dalvik](/questions/tagged/dalvik "show questions tagged 'dalvik'") cache (usually implicitly, as in most cases this resides in `/data`; I guess with Lollipop it will do the same for ART).
So you see, `/system` remains untouched. With your app installed in `/system/app`, it will survice a factory-reset. But its *data* might not, as `/data` gets wiped. Which means, all required settings need to be part of the app itself, or of its "default settings" which get deployed on first initalization.
For the second part: That's better asked at a development site (which we are not). Basically, no app gets root access by default AFAIK. They get access to everything their permissions allows (and yes, there are permissions which can be granted to system apps which are not available to "user-space apps") – but for root access, you've got to ask `su`, which should trigger the corresponding superuser app.
PS: As for the SuperSU popup, you will have to live with that *for the first call*, I'm afraid.
Upvotes: 3 [selected_answer] |
2014/11/25 | 592 | 2,213 | <issue_start>username_0: I have installed a [Morse code input method](https://play.google.com/store/apps/details?id=org.emergent.android.morseime). I believe I have followed the instructions to enable it (it's enabled in settings).
However, I don't seem to be able to use it anywhere in any input field.
I have an Xperia Tipo cellphone with the Xperia Chinese keyboard which I use often, in addition to the inbuilt English keyboard.
Possibly, I'd also like to install a French keyboard and be able to easily switch between all these keyboards, but for the time being, I cannot even use the Morse keyboard although it's installed and enabled. How do I get started? Thanks.
Edit:
Ok, I found the setting "Default" keyboard, where I can choose between Xperia Chinese and Morse input and the other keyboards I previously installed. If I choose 'morse' then I can use it. The problem is now that I must chose between one or the other, and have to come back all the way to the settings to change keyboards. Is there any way to easily change between keyboard applications? I.e. whenever I need one specific keyboard application (Chinese, English, French or Morse) rapidly switch to the proper keyboard from within the application I am currently using (browser, messaging or whatever...) ?<issue_comment>username_1: Look for and install a "keyboard switcher" application.
I have installed this one:
<https://play.google.com/store/apps/details?id=com.appaholics.keyboardswitch>
and initial testing is encouraging.
I am simply surprised that this kind of functionality does not come by default...
Upvotes: 0 <issue_comment>username_2: 1. On your Keyboard, hold the settings icon
[](https://i.stack.imgur.com/C6vfp.jpg)
2. Scroll Down and click "Change input method"
[](https://i.stack.imgur.com/7xUYd.jpg)
3. A list will come up with all activated keyboards. Choose one and then your keyboard will change to the selected keyboard. All without the need for an external app.
[](https://i.stack.imgur.com/g6VBR.jpg)
Upvotes: 3 [selected_answer] |
2014/11/25 | 342 | 1,443 | <issue_start>username_0: I click the home button to activate the phone. If I don't swipe within two seconds, it goes black and I have to hit Home again.
This is frustrating when I want to just view the time and weather on the lock screen. It's almost enough time to view time and weather, but if I also want to see what date it is, then 2 seconds isn't enough time to view all three things and digest the information.
So I find myself hitting the Home button 2 or three times. So I guess I might as well just swipe and activate the phone. But I really wanted to just set the screen to stay on a little longer. I set the display timeout to 10 minutes but this doesn't affect the lock screen. It still blinks off after 2 seconds.
Is there any setting or something from a Tasker app or something, that can extend the time the lock screen will appear?<issue_comment>username_1: Please check whether "power save" mode is on. If so, the lock screen will turn black very fast (under 2 seconds). Otherwise it will remain on for over 5 seconds.
Upvotes: 1 <issue_comment>username_2: All you have to do is apply pressure with your thumb on the screen, it will stay on forever until you lift your thumb, after which the non-adjustable timeout countdown begins...
Upvotes: 2 [selected_answer]<issue_comment>username_3: Install hilocker and give it requested permissions. Go into its settings > more > select double tap dot to unlock. Cheers
Upvotes: 0 |
2014/11/25 | 231 | 967 | <issue_start>username_0: How do I allow Chrome for Android to load insecure content? I would like to know this so I can log in to my Hotel WiFi.
The message it gives me is:
Your connection is not private
------------------------------
Attackers might be trying to steal your information from
**www.google.com** (for example, passwords, messages, or credit
cards)<issue_comment>username_1: Please check whether "power save" mode is on. If so, the lock screen will turn black very fast (under 2 seconds). Otherwise it will remain on for over 5 seconds.
Upvotes: 1 <issue_comment>username_2: All you have to do is apply pressure with your thumb on the screen, it will stay on forever until you lift your thumb, after which the non-adjustable timeout countdown begins...
Upvotes: 2 [selected_answer]<issue_comment>username_3: Install hilocker and give it requested permissions. Go into its settings > more > select double tap dot to unlock. Cheers
Upvotes: 0 |
2014/11/25 | 286 | 1,057 | <issue_start>username_0: I noticed that before I upgraded to Lollipop my z axis of the lge accelerometer of the nexus 4 used to be 10.2 m/s^2 (which was wrong but closer to accurate). After I upgraded it is now 10.6. Is this a problem with nexus 4's in general? Can any other nexus 4 owners confirm as well?
<issue_comment>username_1: Try changing the orientation of the phone and the values will change. The value of z axis at 10m/sec^2 is normal when phone is lying horizontal to the ground.
Upvotes: 0 <issue_comment>username_2: Look at my values. Mine reports slightly lower numbers (9.2).
I believe `LGE Accelerometer Sensor` field shows raw data from the sensor. It's normal that it's not super accurate. More importantly look at `Gravity` and `Linear Acceleration` fields in both mine and your screenshot. These fields show expected values. This means software compensates for sensor inaccuracy well.

Upvotes: 2 [selected_answer] |
2014/11/25 | 756 | 2,856 | <issue_start>username_0: My encryption password is too simple and was wondering how I could change it without having to reset the whole phone?
I know there is an app for Android 4, but what would be the procedure on an Android 5 device?
Device: Nexus 5
OS: Android 5.0<issue_comment>username_1: There currently is no such app that does this on Android 5.0 so you should back up your data and wipe the phone and start again with a new password.
Upvotes: 1 [selected_answer]<issue_comment>username_2: Your encryption password is the same as the pattern/PIN/password you use to lock your screen. So simply go to Settings > Security > Screen lock and change it. Note that when you do this Android will ask you whether to also enter the pattern/PIN/password when you start the device in order to make your encrypted device's data unreadable without it.
In Android versions before Lollipop, it was good practice to change your encryption PIN/password to be different from your unlock PIN/password and make it longer/stronger as the encryption key was fully based on this PIN/password. So if you kept it short and easy (which most people do in order to quickly unlock the phone) your device could be brute-forced seconds/minutes (by making an image of your device and circumventing the 5x wrong password time-outs).
Since Android 5.0, the encryption key is only partly based on your pattern/PIN/password, the other part is based on a Trusted Execution Environment’s (TEE) key stored on your device in a separate hardware component (at least for high-end devices, including the Nexus 5 AFAIK), making the previous brute-force method impossible. Still, only using a 4-digit PIN can be brute-forced within a minimum of 17 hours (including the 30 second timeout after 5 incorrect tries)! Using a 6-digit PIN will take nearly 70 days. On the other hand, a 5 character password (using only the characters from the alphabet) will take 825 days minimum :).
So this info will tell you whether your current 'too simple' password is indeed too simple. If this is the case then change it as described above.
Sources:
* [Kaspersky Lab blog: Android 5.0 Data Better Protected with New Crypto System](http://blog.kaspersky.com/full-disk-encryption-android-5/)
* [Android Explorations (<NAME>): Changing Android's disk encryption password (does not include info about Android 5.0)](http://nelenkov.blogspot.nl/2012/08/changing-androids-disk-encryption.html)
* [Android Explorations (<NAME>): Revisiting Android disk encryption (includes Android 5.0)](http://nelenkov.blogspot.nl/2014/10/revisiting-android-disk-encryption.html?view=sidebar)
* [Android encryption @ android.com](http://webcache.googleusercontent.com/search?q=cache:vqD3bbA_YNcJ:https://source.android.com/devices/tech/encryption/%20&cd=6&hl=en&ct=clnk&gl=nl&client=firefox-a)
Upvotes: 4 |
2014/11/25 | 1,096 | 4,434 | <issue_start>username_0: I'm looking for a way to delay notifications on a per-app-basis to a specific time threshold.
For example, I don't want to get gmail notifications more than hourly. I don't want text message notifications more than once a minute.
I know there are individual apps that provide this, but I'm looking for something system-wide and customizable. Root is obviously acceptable.<issue_comment>username_1: [Light Flow](https://play.google.com/store/apps/details?id=com.rageconsulting.android.lightflow) will do this for you. Switch of sound or vibrate for the individual apps and set them up in Light Flow. The option "too many notifications" can be used to select the maximum repeat count.
Rooting is not necessary, except on some phone to alter the LED notifications.
The app is capable to adjust for all notifications or depending on application:
- sound and volumes (absolute or relative)
- vibration on / off or patterns
- popups
- screen on on notification
- sleep mode based on time or NFC
- led colors / patterns or camera flash
- repeat notifications and rate limiting
Upvotes: 2 <issue_comment>username_2: Finally after long searching on the Internet and trying common advices as a disabling battery optimizations, Adaptive Notifications and all those features that didn't help at all, I found the XDA Developers forum where I finally got to the bottom of this issue.
This problem is caused by functionality called as "DOZE", which is implemented in the Android core since Android 6.
<https://developer.android.com/training/monitoring-device-state/doze-standby>
Basically what is does is that it tries to preserve the phone battery life in a very aggressive way that basically puts all applications and network activity to standby until the maintenance window occurs. The maintenance window is a very short time period where all events from applications waiting in the queue are processed at once and then it puts all apps to standby again until next maintenance window occurs.
Problem is that with every next maintenance window the intervals between those windows are increasing every time up to some long limit. So if you haven't touched your phone for a longer time, like half an hour and the event happens, you will get the notification in the next maintenance window that may be tens of minutes from that moment.
I don't know how Google can act as this is OK. It is NOT!! For me it was causing serious problems with my Forex trading app that didn't display price alerts on time when the event happened but like 5, 15, 30 minutes or even almost 1 hour later !! which is not useful for me because the opportunity for the trade was already gone...
So solution is to disable the "DOZE" in your phone manually using ADB commands. I did it and it works, now I get instant notifications. Unfortunately this has to be done every time after phone reboot as it turns itself the DOZE back on again.
Here is a page with more details:
<https://stackoverflow.com/questions/40204605/android-completely-disabling-deviceidle-doze-in-android-m>
Basically you just issue this ADB command: **dumpsys deviceidle disable**
You can also put the application to the Doze whitelist but not sure if it works, when I displayed the list, I found out my trading app was already there, maybe because I removed it from the Battery saving policy but the Doze was probably still suspending everything so it worked only in those maintenance windows. I guess it doesn't use those "high-priority FCM messages" described in the DOZE description to force the notifications instantly.
If you are not familiar with ADB, here is some info:
<https://developer.android.com/studio/command-line/adb>
I used a paid app that allows local ADB connection from the phone directly, so I can disable DOZE after every restart. More info here:
<https://forum.xda-developers.com/t/say-hello-to-ladb-a-local-adb-shell-without-needing-root-or-a-computer.4204855/>
It is very sad that this basic feature as an instant notifications have to be fixed via the developer debug interface by user instead of Google who could fix it in the OS itself...shame on Google...
More forums on this topic:
<https://forum.xda-developers.com/t/psa-how-to-fix-the-notification-delay-or-non-receipt-issue-truly-pathetic-of-google-and-samsung.4276505/>
<https://forum.xda-developers.com/t/delayed-notification-problems-s21-ultra.4243105/page-5>
Upvotes: -1 |
2014/11/25 | 256 | 974 | <issue_start>username_0: I've recently been involved with updating a few Nexus 4 and Nexus 5 phones to Lollipop. These are OTA updates to phones on the Bell Canada network. On 3 of them we've run into problems with Hangouts crashing when it receives a text message. Restarting the phone does not help.<issue_comment>username_1: On two of the phones it was enough to remove MightyText and reinstall it. On the other we had to go into Settings -> Mobile Networks -> Network Operators -> Choose Automatically.
Upvotes: 0 <issue_comment>username_2: Well, I would say that's just another bug over the Lollipop its has been reported by many users and its the reason why Google Suspended the OTA update of Lollipop over some Asian regions. I would say you need to wait a while for the bug fix to show up !
You can head over to a post of [Top Tech News](http://www.toptechnews.com/article/index.php?story_id=95105) for More information over this one !
Upvotes: 2 [selected_answer] |
2014/11/26 | 552 | 2,160 | <issue_start>username_0: I have recently started getting dialog popping up asking to enter password every time I connect to my home Wi-Fi hotspot:

This dialog always pops up when you connect to hotspot for the first time and then it memorizes password so you don't have to type again when reconnecting. Until now, reconnection was automatic. A couple of things to suspect might be recent upgrades from 4.3 to 4.2.2 and a week earlier to 4.4.4
In addition I recall that I accidentally turned off Wi-Fi settings icon from appearing in Android's task manager which was before final upgrade if that helps.
Anyone knows what can be the cause? I have LG Nexus 4 E960<issue_comment>username_1: While I can't think of any specific things right now that would cause the LG to drop the connection (except for maybe a pretty busy network), there are things you can do to prevent it, although this may not work with every device the first thing you should try is to "Forget Network" and start clean.
You were right about the Static IP, it could help as it prevents the router from assigning the IP to other devices around the home. There could be numerous factors contributing to this so I hope the problem is solved now (as the question is 2 months old now).
If you still have problems, it really pays to take your phone to your local tech center and get some professional advice (this is often free :)
Upvotes: 1 <issue_comment>username_2: Here is the solution which worked for my rooted Nexus 5 (Android 5.0.1)
*make a backup of `wpa_suppliciant.conf` file and `DHCP` folder. Just in case.*
1. Copy `wpa_suppliciant.conf` file from `/data/misc/wifi/` to your PC
2. Open with any text editor (I used wordpad) and delete all entries with you problematic wifi name on it.
3. Choose one of the Wifi in the list which you remember has worked before and change SSID and passkey according to you router. Press SAVE.
4. Copy/replace this modified file into `/data/misc/wifi`
5. Delete DHCP folder in `/data/misc/`
6. Reboot your phone.
7. Your phone should now connect to your new wifi :)
Upvotes: 2 |
2014/11/26 | 493 | 1,658 | <issue_start>username_0: Does anyone here knows where Hike/WhatsApp store their messages? I know WhatsApp's Database can be found on the SD card, but it is created every day at 4 AM, and deleted if the file is more than 7 days old I want to know where they store their messages because they also read and displays messages at runtime.
So I want to know, where do these two programs store messages? I need to format my SD card so I want to make a backup for my messages.<issue_comment>username_1: if you use same email and mobile number you can get the data. as per my knowledge the messages data will be stored in the email and mobile connectivity of the whats app and hike messenger database of these services.
Upvotes: 0 <issue_comment>username_2: <http://support.hike.in/entries/85325208-I-am-switching-to-a-new-android-phone-How-do-I-save-my-chat-backup-and-restore-in-new-phone->
Here. Just copy the hike folder of the SD card. Most likely, there is some encrypted file present here that stores messages as well as images in this very folde . Goodluck.
Upvotes: 0 <issue_comment>username_3: **For WhatsApp:**
Backups can be found at:
`/sdcard/WhatsApp/Databases/`
(Use this tool to decrypt it: [WhatsApp Key/DB Extractor](https://forum.xda-developers.com/showthread.php?t=2770982) or [WhatCrypt](https://forum.xda-developers.com/showthread.php?t=2689911))
Live database can be found at (requires root):
`/data/data/com.whatsapp/databases/msgstore.db`
---
**For Hike:**
Backup can be found at:
`/sdcard/Hike/Backup/chats.backup`
Live database can be found at (requires root):
`/data/data/com.bsb.hike/databases/chats`
Upvotes: 1 |
2014/11/26 | 496 | 1,690 | <issue_start>username_0: My work and personal emails are attached to my phone. I'd like to avoid getting any notifications of work emails after hours.
If this can be done with Tasker, I can't figure out how. I can disable notifications in the gmail settings manually, but not sure how to affect this setting with Tasker.
* I still want to receive notifications to my personal email
* I still want to receive notifications in general
* I still want my work email to sync (so I can check if I need you)<issue_comment>username_1: if you use same email and mobile number you can get the data. as per my knowledge the messages data will be stored in the email and mobile connectivity of the whats app and hike messenger database of these services.
Upvotes: 0 <issue_comment>username_2: <http://support.hike.in/entries/85325208-I-am-switching-to-a-new-android-phone-How-do-I-save-my-chat-backup-and-restore-in-new-phone->
Here. Just copy the hike folder of the SD card. Most likely, there is some encrypted file present here that stores messages as well as images in this very folde . Goodluck.
Upvotes: 0 <issue_comment>username_3: **For WhatsApp:**
Backups can be found at:
`/sdcard/WhatsApp/Databases/`
(Use this tool to decrypt it: [WhatsApp Key/DB Extractor](https://forum.xda-developers.com/showthread.php?t=2770982) or [WhatCrypt](https://forum.xda-developers.com/showthread.php?t=2689911))
Live database can be found at (requires root):
`/data/data/com.whatsapp/databases/msgstore.db`
---
**For Hike:**
Backup can be found at:
`/sdcard/Hike/Backup/chats.backup`
Live database can be found at (requires root):
`/data/data/com.bsb.hike/databases/chats`
Upvotes: 1 |
2014/11/26 | 521 | 1,612 | <issue_start>username_0: The "silent, vibrate or normal sound" toggle function have changed somehow on my Nexus 5 to merely an "off" function when I hold down the power button. I'd like the old options back, but I can't find any settings dealing with the issue.
 
Power options before & after Lollipop
Has it disappeared completely with the new "none, priority, all" slide?<issue_comment>username_1: This is a known issue with Lollipop, please see the following:
[Issue 79445: No silent mode](https://code.google.com/p/android/issues/detail?id=79445)
Upvotes: 2 <issue_comment>username_2: Update your phone to the latest android version (Marshmallow). With that you will be able to mute your phone again.
Be aware of apps that can play a sound and vibrate even when your phone is on mute.
Upvotes: -1 <issue_comment>username_3: If your phone is rooted, you can get the pre-Lollipop power options back:
1. Download [`power_menu.zip`](http://forum.xda-developers.com/attachment.php?attachmentid=3106037&d=1420795239), a mod by Ynych on XDA Forum.
2. Boot into custom recovery: press and hold `Volume down` + `Power` when the device is in powered-off state.
3. Install the mod by flashing the zip file.
4. Reboot the system.

Source: [Bring Back Airplane Mode & Audio Toggles to Your Nexus 5's Power Menu - WonderHowTo](http://nexus5.wonderhowto.com/how-to/bring-back-airplane-mode-audio-toggles-your-nexus-5s-power-menu-0159661/)
Upvotes: 0 |
2014/11/26 | 404 | 1,533 | <issue_start>username_0: Since the latest MX Player upgrade, AC3 is not included because of some licensing issues. How can I add a codec to MX player?
I did search the play store, but all codecs seem to be connected to a specific player.<issue_comment>username_1: You can use the Codecs for the previous version.
Go into MX Player - Help - FAQs. This links you through to their website. Look down the list and find question regarding Codecs. Follow links through to Custom Codecs and this takes you to XDA Developers where the Codecs and installation instructions can be found. Its very simple from this point.
Also here is the link to the XDA forum thread for the [MX player](http://forum.xda-developers.com/apps/mx-player/mx-player-custom-codec-dts-support-t2156254) for codec support.
Upvotes: 3 <issue_comment>username_2: Open mxplayer, and go to the settings-decoder. On the bottom you will see "download user codec" and recomendation "download neon arm7". Then, just follow the instructions.
Upvotes: 5 [selected_answer]<issue_comment>username_3: Just download the previous version of MX player 1.7.32 as Apk file. Here's the link <http://www.androiddrawer.com/22713/download-mx-player-app-apk/> and install and don't upgrade to the latest version by changing the setting of Google play not to update automatically.
Upvotes: 2 <issue_comment>username_4: You can use [VLC Player on Android](https://play.google.com/store/apps/details?id=org.videolan.vlc) for such files. It supports AC3 codec and .mkv files too.
Upvotes: 2 |
2014/11/26 | 400 | 1,477 | <issue_start>username_0: I expect it to be something like
```
adb shell am start SomethingArcane ... "Hello, world"
```
and the message box pops up on screen, saying "Hello, world".<issue_comment>username_1: You can use the Codecs for the previous version.
Go into MX Player - Help - FAQs. This links you through to their website. Look down the list and find question regarding Codecs. Follow links through to Custom Codecs and this takes you to XDA Developers where the Codecs and installation instructions can be found. Its very simple from this point.
Also here is the link to the XDA forum thread for the [MX player](http://forum.xda-developers.com/apps/mx-player/mx-player-custom-codec-dts-support-t2156254) for codec support.
Upvotes: 3 <issue_comment>username_2: Open mxplayer, and go to the settings-decoder. On the bottom you will see "download user codec" and recomendation "download neon arm7". Then, just follow the instructions.
Upvotes: 5 [selected_answer]<issue_comment>username_3: Just download the previous version of MX player 1.7.32 as Apk file. Here's the link <http://www.androiddrawer.com/22713/download-mx-player-app-apk/> and install and don't upgrade to the latest version by changing the setting of Google play not to update automatically.
Upvotes: 2 <issue_comment>username_4: You can use [VLC Player on Android](https://play.google.com/store/apps/details?id=org.videolan.vlc) for such files. It supports AC3 codec and .mkv files too.
Upvotes: 2 |
2014/11/26 | 918 | 3,109 | <issue_start>username_0: I mistakenly installed 5.0 Lollipop on my nVidia Shield tablet, and I regret it. Is there a way to revert back to KitKat? I've tried finding a way, but no luck so far.<issue_comment>username_1: One way would be to flash a factory image to your tablet, which would restore it to the state it was when you first bought it.
Depending on your model (wifi, or wifi + lte), you can find official factory images to for the SHIELD tablet on this nvidia website:
<https://developer.nvidia.com/develop4shield>
Following the relevant links, you will get to a website from where you can download the factory image. The bundle should also contain instructions. Hope this helps.
Upvotes: 2 <issue_comment>username_2: I have just gone through the whole process successfully. Below you find all the necessary steps for a downgrade for **OSX** (and likely for **linux**).
### Install the Java8 Runtime
from here: <https://support.apple.com/kb/DL1572?locale=en_US>
after installing, verify from command line if this runs without issues
```
java --version
```
### Download the Android SDK
Obtain it from: <http://developer.android.com/sdk/index.html>
Then you have to execute this command to download fastboot:
```
./android update sdk --no-ui
```
### You only need the fastboot executable, which you can easily find:
```
~/Desktop/SHIELD/android-sdk-macosx: find . -name fastboot
./platform-tools/fastboot
```
### Then add its directory to the path:
```
export PATH="$PATH:$PWD/android-sdk-macosx/platform-tools"
```
### Download the Factory Reset Images
From <https://developer.nvidia.com/gameworksdownload> pick the **NVIDIA SHIELD Tablet WiFi Recovery OS Image** for linux. **Make sure you download the Update 1.2.1**, this is the last one before Lollipop was introduced (I also tried with the factory image, but the tablet was freezing very often). Then, unzip it **from the command line**, then execute the shell file.
```
unzip extract-nv-recovery-image-shield-tablet-wx_na_wf-19485_417.6426.sh.zip
chmod +x extract-nv-recovery-image-shield-tablet-wx_na_wf-19485_417.6426.sh
./extract-nv-recovery-image-shield-tablet-wx_na_wf-19485_417.6426.sh
```
Everything that follows is performed in the folder where you unzipped (it contains a few \*.img files)
### Put your SHIELD tablet into fastboot mode:
* Turn off the device
* Press "Volume Down" -> "Power", hold "Volume Down" and leave Power buttons till device boots
### Flash the tablet
```
fastboot oem unlock /// AND FOLLOW SCREEN INSTRUCTIONS
fastboot flash recovery recovery.img
fastboot flash boot boot.img
fastboot flash system system.img
fastboot flash userdata userdata.img
fastboot flash staging blob
fastboot flash dtb tegra124-tn8-p1761-1270-a04-e-battery.dtb
fastboot reboot-bootloader
```
### Reboot the device
Use the volume up/down and the start button to select "reboot" when the commands above have completed.
### Reference to the official instructions (not as verbose)
<https://developer.nvidia.com/sites/default/files/akamai/mobile/docs/HowTo-Flash-SHIELDTablet-Recovery-Image.txt>
Upvotes: 1 |
2014/11/26 | 496 | 1,790 | <issue_start>username_0: I'm using Microsoft's Remote Desktop Client v8.0.11.25133 to connect to a Windows Server 2008 R2 Remote Desktop Session Host (Terminal) Server. I want to force the RDP session to display in **Portrait** mode only, regardless of the orientation of my Android phone. My RDP session is established in Landscape mode and nothing I have done changes this.
What I've tried:
* Disabling (and enabling) auto-rotation in Android Settings. Despite this setting, the RDP session *never* displays in Portrait mode, even if I rotate the phone
* Searched the Remote Desktop Client app for settings to control rotation
* Searched the Internet for appropriate terms. I found [this post](http://www.zdnet.com/microsoft-updates-its-free-remote-desktop-apps-for-ios-mac-android-7000027397/) in which a commenter complains:
>
> The MS-ified version [of the RDP app] locks you into portrait mode.
>
>
>
So I am hopeful this is possible.
I am using a Cubot X6 phone running Android v4.2.2<issue_comment>username_1: The Microsoft RDP android app didn't support portrait mode... but with your input on <https://remotedesktop.uservoice.com/forums/272085-remote-desktop-for-android/suggestions/6851819-portrait-mode> it finally got implemented:
>
> Our latest update to the app supports connecting in portrait mode. The
> remote session adapts to your device orientation dynamically. You will
> get the best experience using Windows 8.1 and newer.
>
>
>
Upvotes: 2 [selected_answer]<issue_comment>username_2: The solution is Ericom AccessToGo RDP
have both portrait full screen mode and barcode scan option
Upvotes: -1 <issue_comment>username_3: There is the Microsoft Remote Desktop Beta app in the play store which supports both portrait mode and auto rotation.
Upvotes: -1 |
2014/11/26 | 357 | 1,501 | <issue_start>username_0: My nexus 4 is rooted with a team win recovery.
In the past week I've been asked three times to update to lollipop, downloaded the update but all three times the phone rebooted and the custom teammwin recovery failed to install the update...
I'm afraid having rooted my nexus makes it ineligible to official updates. Could you confirm it?
Do I need to come back to stock rom & recovery, then install OTA update and root it again (seems like a long process and possible memory wipe?)
Thanks for your answers!<issue_comment>username_1: Did it say something like "Books.apk has unexpected contents"? If you've modified or removed system apps, just reflash system, install ota and reboot. The data partition AFAIK doesn't get wiped; with my moto g it didn't. Note that you will need to download the same version as you have on your phone, that version is shown in "system version"
Upvotes: 0 <issue_comment>username_2: You can also just reinstall the official recovery image by downloading the same [factory image](https://developers.google.com/android/nexus/images) as currently running and extracting the recovery.img that's contained within.
Then you could reinstall the official recovery image by booting into fastboot mode and doing an:
```
fastboot flash recovery recovery.img
```
This should give you back a working OTA mechanism. However note that you need to re-root after the update because this will undo the rooting procedure.
Upvotes: 3 [selected_answer] |
2014/11/27 | 205 | 861 | <issue_start>username_0: After updating my nexus 4 to new android 5 (lollipop) when i open an apk file, the install button not working!!
Also i checked unknown source in my device settings.
What the problem? please help :(<issue_comment>username_1: This happens when you have apps that interfere with the installation.
Example: I used to have Avast on my phone. Every now and then I couldn't install an app for the problem you're describing.
I uninstalled Avast (but just disabling it would be fine) and everything went fine.
So this is it: look at the apps already installed in your phone. Chances are there is something that blocks the installation...
Upvotes: 0 <issue_comment>username_2: I have used lux lite application, this application set display brighness for reading in night mode. my problem solved when i unistall this app.
Upvotes: 1 |
2014/11/27 | 536 | 2,075 | <issue_start>username_0: My university gives me an email that looks like
ab123456@domain
Fortunately, I am allowed to make an alternate name for my email, like
first.last@domain
All of the email is still sent through ab123456. In fact, when I set up the SMTP settings, I have to use this address. On my desktop client, I can send emails that say that they were sent from first.last. Is there a way of doing this in the new Gmail app?
I am using the new Gmail app (which absorbed the Email app) in Android 5.0.<issue_comment>username_1: I don't know if this is what you're looking for, but you can send emails from Gmail through multiple accounts and set the account that you want. I use `<EMAIL>`, and `myworkemail@<EMAIL>domain`, both going through my Gmail app. When I compose an email, I change the email address under "From". However, to get that, I changed the settings on the web to allow me to control access to that account. I might be wrong.
If you want to try it, you can go to **Settings > Accounts and Import** on the web and look under **Send Mail As**. You can then add another email address that you own, which would be your `first.name@domain` email address. I believe that would work. I don't know if anyone else has a better idea, but that's what I do. I know my example uses two different domains, but the principle is the same.
Upvotes: 0 <issue_comment>username_2: Proper aliases, where you can pick either address as the sender, isn't possible in Gmail. However, in your case I understand you never want to use `ab123456@domain`; you *always* want to use `first.last@domain`.
In that case, when adding a new account, use `first.last@domain` as your email address and choose manual setup. Enter your password when prompted and then, in the incoming server settings, change your username to `ab123456@domain`. Enter all other settings and do the same for the outgoing server.
Now you have email setup for your account that will always use `first.last@domain` when sending email. It will of course read email sent to either.
Upvotes: 2 |
2014/11/27 | 1,435 | 5,248 | <issue_start>username_0: Is it possible to run an ssh shell on an android phone when the phone is remotely connected but on 3G? I have my phone remote and sending data over 3G but I might want to change something on it. I have considered
1) the phone receiving text back from an http request and riunning it as a connad
2) running an ssh shell on the phone
anything else?
Thanks<issue_comment>username_1: I don't think it would be very possible for a lot of carriers based on the fact the ports would most likely be closed. If it were over WiFi/local, yes. You could easily use Tasker to read texts and perform actions though I could imagine.
Upvotes: 0 <issue_comment>username_2: As others have said, technically yes it is possible but there is a chance that your carrier does not allow connections to the relevant port.
Try SSHDroid, that should do what you're asking for. If it doesn't work then you know its because of your carrier. <https://play.google.com/store/apps/details?id=berserker.android.apps.sshdroid>
Upvotes: 1 <issue_comment>username_3: If you prepare your phone acordingly, yes, its possible. I've done it many times. I wrote an App which does a port forwarding to my Server. (adb over wifi port). All you need to do is to log on to the server and you'll see the device connected as it would be plugged in using usb. I even did further port forwarding to my local machine.
Works well, but if the phone is on the ride, you may get several connection losses.
It works cause the phone is connecting to the server and not the other way round (blocked by firewall in most countrys).
Good luck!
Upvotes: 0 <issue_comment>username_4: One way to make your Android machine accessible via WAN SSH access (as in connecting from anywhere) would be to create a reverse SSH tunnel from your Android machine to some machine that is always online. It can be your Desktop machine behind a NAT router (most common case). Then you forward that same port from the Router to your Desktop machine. This is what you get:
Android ==REVERSESSHTUNNEL==> Desktop <==PORTFORWARD== Router with public IP
Both the reverse SSH tunnel and port forward from the Router can be done on any high number port, but to avoid making a port numbering mess just pick one high number, above 1024, and stick with that. So you get for example:
Android:3331 ==REVERSESSHTUNNEL==> Desktop:3331 <==PORTFORWARD== Router:3331 with public IP
So what happens when you SSH into your router's IP at port 3331 is that your router forwards the connection to the Desktop at port 3331 and the Desktop (because the connection from the android device to the desktop, which looks like it's in the wrong direction, is in fact REVERSED, so it's as if the Desktop is actually connected to the android device) will forward the connection to the Android device at port 3331. So your SSH connection will go from Whatever => Router => Desktop => Android.
This will work because your ISP will not block your Android from SSHing into your desktop while it would block you from SSHing into your Android from your Desktop or anywhere else on the default port. So we use that fact, connect "the wrong way" and then reverse the connection and get the same thing as if though we connected the "right way".
Don't forget to make the Android machine's SSH app listen at port 3331 or make the reverse tunnel open the port 22 on the Android machine's side.
Upvotes: 2 <issue_comment>username_5: If you have a VPS cloud it is possible. Get cheap cloud from arubacloud.com.
First off, log in to your remote server and open `/etc/ssh/sshd_config`. If it does not already exist add the line:
```
GatewayPorts clientspecified
```
Then restart the SSH daemon:
```
sudo /etc/init.d/ssh restart
# or
sudo service sshd restart
```
Back on your Android, start your development server or any thing you want to access from anywhere and then in JuiceSSH terminal run the following:
```
ssh -N -R :3000:localhost:8182 root@vpsipadress
```
On asking type VPS user's password. That's it. Where Android's local port is `8182`. Anyone now can access it `vpsipadress:3000`.
You can `apt-get install sshpass` and use passwords of servers in this command:
```
sshpass -p Password ssh -N -R :3000:localhost:8182 root@vpsipadress
```
aswell.
`autosh`, `cron` ---- `crontab -e` and `auto.sh`, too many options.
**Update.......**
The Best thing on Android is that install Gnuroot Debian. Best Linux for non rooted Adndroid. Install `ssh` and `sshpass`. And in `/etc/rc.local` add this command :
```
while true; do sshpass -p <PASSWORD>PASSWORD ssh -N -f -R :3000:localhost:8182 USER@YOURHOST-OR-IP; sleep 3; done
```
`rc.local` will make sure to execute this command on startup. And on disconnect or any kind of change in internet/network, the loop script will try to reconnect it every 3 seconds.
You can also make `auto.sh` script:
```
#!/bin/sh
while true; do sshpass -p <PASSWORD>PASSWORD ssh -N -f -R :3000:localhost:8182 USER@YOURHOST-OR-IP; sleep 3; done
```
`chmod +x` will make it executeable.
```
sh auto.sh
```
If `rc.local` won't help install cron:
```
apt-get install cron
crontab -e
```
add command: `@reboot sh auto.sh`. `shif+zz` to save. This cron job will do it on startup.
Upvotes: 0 |
2014/11/27 | 359 | 1,339 | <issue_start>username_0: I just updated my Nexus4 from Kitkat to Lollipop. The most obvious change for me is the background color of the theme and especially the keyboard. It used to have a black background, now its color is the brightest of whites hurting my poor eyes. Can I change the background color back into blackness, and if so, how?
Note: I like to avoid keyboard apps from third parties. I know they exist in different flavors, but I like to keep it native.<issue_comment>username_1: Your current layout is called "**Material Light**". To change it, though there isn't a pure black version, go to
>
> Settings > Language and Input > Google Keyboard > Appearance and Layouts
>
>
>
The dark material setting is called "**Material Dark**" and looks like this:

I'm assuming you want material design as you are keeping it stock, but there are the old KitKat 'Holo' themes in there also.
Upvotes: 5 [selected_answer]<issue_comment>username_2: Your current layout is called "Material Light". To change it, go to
```
Settings > Language and Input > Google Keyboard > Appearance and Layouts
```
Holo White matches the kitkat default appearence - dark gray background, light gray buttons with white letters
Upvotes: 3 |
2014/11/27 | 1,040 | 4,038 | <issue_start>username_0: **System:** Rooted Android 4.4 phone (actual rom: CM 11 Milestone 6) with 1GB ram, plenty of internal storage, but no sdcard slot. My phone's partition scheme is unmodified CyanogenMod 11.
**Problem:** lowmemorykiller/OOM handler on my phone keeps killing vital system processes such as the lockscreen, or incallui, or acore, causing at best long freezes, and more often soft and hard system lockups. I'm probably running apps that push RAM beyond system minimum, and it's making a suboptimal choice of background process to kill. I looked into fine-tuning lowmemkiller but got nowhere.
As ram and not CPU is the issue, I want to try enabling internal storage based swap instead of zRAM as a workaround, which the phone should handle. But I can't find clear instructions how to do so. Every instructional page I found is either desktop not Android specific, external (SDcard) storage specific ("partition using USB+windows"), assumes you want file not partition based swap, or suggests a Google Play app to use. None explain step by step how to actually do it.
Assuming I've read the warnings and know the risks, and want to go ahead anyway, how do I do it? I really just want to get a list of the example console commands for using partition-based swap. I assume it goes something like this:
1. Resize existing partition(s) or subpartition(s) to create spare space for a dedicated fixed-size swap partition.
2. Create or define a new partition in the free space, and ensure it's formatted as swap, or the OS will format or use it as swap on boot.
3. Edit some other system files to ensure swap will be mounted and enabled appropriately on boot, so the OS can recognise and use it. (fstab, or something else?)
4. Disable or deprioritise zRAM, and edit swappiness to about 20-30.
5. Reboot, cross fingers, and hope I did it right.
**My current \*nix experience level:** I know Linux uses partitions and subpartitions, that new partitions and partition changes probably need me to manually edit fstab or other files, and manual edits may also be needed to ensure partitions will be mounted/enabled/used at boot. I'm haven't used the actual commands or changed the actual files so I don't know what to expect. I'm comfortable with console, but this is a bit of a new area for me.
How do I do this, step by step, and what are the commands I'd use if they aren't obvious. I can figure the rest from that.<issue_comment>username_1: Just a raw idea, not tested/verified by myself:
Swap can also be established using a swap file, so you could easily test whether it works at all. Try via `adb shell` or a terminal app, after becoming root, whether the `dd`, `mkswap`, and `swapon` commands are available. If so, you can try:
```
# create a file to be used for swapping
# (adjust the filename to where the file should reside, and the count
# to the size in kb it should occupy)
dd if=/dev/zero of= bs=1024 count=65536
# initialize the file for swap use
# (use the file created in the previous step)
mkswap
# enable swapping
swapon
# to disable swapping to that file:
# swapoff
```
There are ways to fine-tune this (e.g. setting specific values for [swappiness](http://en.wikipedia.org/wiki/Swappiness)) – but with the steps described you can easily test whether it works at all, without big danger of breaking things. Not even a reboot is required. In the best case, it simply works – in the worst case it does not, and you might have to manually delete the ;)
Upvotes: 4 [selected_answer]<issue_comment>username_2: I was having the same issue. Tried 4 apps all failed. I know how to do this in other Linux distros, also shown manually above, still failed. Tried other ideas given above: moving to other mount points. Most you are denied, others are too small to be worth it.
Then noticed when running `df`
I saw an output like this:
```
/storage/sdcard0
/mnt/media_rw/sdcard0
```
Using the `/mnt` instead of `/storage` or `/sdcard` appears to have allowed me to enable swap successfully.
Upvotes: 2 |
2014/11/27 | 332 | 1,162 | <issue_start>username_0: I love Lollipop, but the keyboard is killing me. When I swipe words, the text that shows up in the text box does not match what the suggestion says. It picks the one in the text box and not the one in the suggestions box. I'm used to looking at the suggestions box, and not the text box so it is really throwing me off. Here's an example of what I mean. I swiped the word "this" and it it gives me the correct word in the text box, but the centre suggestion is not the same.
How do I restore that functionality on Lollipop?
<issue_comment>username_1: You might like using [this](https://play.google.com/store/apps/details?id=com.google.android.inputmethod.latin&hl=en_GB&referrer=utm_source%3Dgoogle%26utm_medium%3Dorganic%26utm_term%3Dgoogle+keyboard&pcampaignid=APPU_FV53VIDRBI7JuATF3IHoDg) instead. It's just like the KitKat keyboard.
Upvotes: 0 <issue_comment>username_2: If you go to settings then to Language and input then choose android keyboard (AOSP) click on appearance and layout after that on choose theme. When you'll click holo you will get your old keyboard back.
Upvotes: 1 |
2014/11/27 | 932 | 4,059 | <issue_start>username_0: I have a Moto G, and I am very careful in protecting my data. I currently use CM Security App from the Google Play Store and it's very helpful in taking a photo to a person who tried unlocking my phone twice without success. Also I have locked my settings to avoid people from turning off my internet and GPS; in that way I will still able to track my phone via GPS. My phone is also locked to avoid people from uninstalling apps without my password. Additional, I had also disable USB debugging to stop someone from wiping my phone directly from a computer, but all this efforts will come down if the hard reset is enabled.
Is there any way to put a password to my boot settings to stop someone from making a hard reset to my phone? I already investigated, and encrypting my phone will not work for this.<issue_comment>username_1: No. Even if you could add such a restriction within Android, it would still be possible for an attacker to boot into recovery or into fastboot mode and reset the phone from there.
---
If you're trying to protect the *confidentiality* of your data (i.e. stop an attacker accessing it), then encrypting the phone is what's required for that. If you're trying to protect the *integrity* of your data (i.e. stop an attacker deleting it), then you can do that by backing it up to a secure location that there's no risk of losing.
If you're trying to stop someone deleting a tracking program or the like, then you're not protecting your data at all, you're trying to protect the phone itself. You can only do this with physical precautions, not software precautions, or by insuring against the loss.
Upvotes: 3 [selected_answer]<issue_comment>username_2: Direct from [TWRP](http://teamw.in/securetwrp) website, copied word for word. I am posting this for reference and nothing else.
---
***Password protecting TWRP (lockscreen)***
===========================================
've had people ask enough for a protected TWRP that I'm creating this page as a response so I don't have to retype. If you're seeing this page, you're probably asking, "Why doesn't TWRP offer password protection?" You want to lock down your device so that a would-be theif won't be able to wipe your device to get past your lockscreen and/or so they can't wipe away that cool app you bought from the Play Store that will let you track your stolen device via GPS. Well, here's the short answer:
**Nothing trumps physical access to your device. If you've lost it, there's no way that TWRP can secure it.**
For a longer answer, it's very easy for anyone with just a little bit of knowledge to get around any kind of security that TWRP might have. All they have to do is flash one of the other recoveries that's available that doesn't have password protection to get around it. Most, if not all devices have ways to flash recovery without needing to boot to either Android or recovery (usually via fastboot or download mode / Odin). Quite literally the only way to truly secure your device would be to render the USB port completely unusable which isn't an option for most newer devices that don't have removable batteries. Even then most devices could still be worked with via jtag though it's unlikely that a thief will go to the trouble of paying for a jtag service on a device that has a broken USB port. (Note: I am not recommending that you purposely damage your USB port as it will also likely make it very difficult to recover your device if anything ever goes wrong!)
I also don't want to offer a lockscreen / password protection because it offers such a superficial level of protection. Users rarely read and would skip over any disclaimers that we have that indicate that any protection that we displayed indicating that their device really isn't secure. If your device has fallen into someone else's hands, your best case scenario should be that you hope that they don't get your personal data. If you don't want someone getting your personal data, use Android's device encryption and a good lockscreen.
Upvotes: 1 |
2014/11/27 | 912 | 3,905 | <issue_start>username_0: I would like to create a new Gmail contact or Yahoo mail contact from my Android device. It's a Samsung Galaxy S4 running Android 4.4.2. I've tried looking in the Yahoo mail app, the Gmail app, and the Google+ app on my phone, but I can't find any options to create a new contact. I would prefer not to create the contact on my phone, since I've been having trouble exporting all of the device contact information to my Gmail and Yahoo mail accounts (specifically, it doesn't seem to send the groups that the contact is a member of). Any help would be much appreciated, even if only to say that this is not possible or that it requires a 3rd party app.<issue_comment>username_1: No. Even if you could add such a restriction within Android, it would still be possible for an attacker to boot into recovery or into fastboot mode and reset the phone from there.
---
If you're trying to protect the *confidentiality* of your data (i.e. stop an attacker accessing it), then encrypting the phone is what's required for that. If you're trying to protect the *integrity* of your data (i.e. stop an attacker deleting it), then you can do that by backing it up to a secure location that there's no risk of losing.
If you're trying to stop someone deleting a tracking program or the like, then you're not protecting your data at all, you're trying to protect the phone itself. You can only do this with physical precautions, not software precautions, or by insuring against the loss.
Upvotes: 3 [selected_answer]<issue_comment>username_2: Direct from [TWRP](http://teamw.in/securetwrp) website, copied word for word. I am posting this for reference and nothing else.
---
***Password protecting TWRP (lockscreen)***
===========================================
've had people ask enough for a protected TWRP that I'm creating this page as a response so I don't have to retype. If you're seeing this page, you're probably asking, "Why doesn't TWRP offer password protection?" You want to lock down your device so that a would-be theif won't be able to wipe your device to get past your lockscreen and/or so they can't wipe away that cool app you bought from the Play Store that will let you track your stolen device via GPS. Well, here's the short answer:
**Nothing trumps physical access to your device. If you've lost it, there's no way that TWRP can secure it.**
For a longer answer, it's very easy for anyone with just a little bit of knowledge to get around any kind of security that TWRP might have. All they have to do is flash one of the other recoveries that's available that doesn't have password protection to get around it. Most, if not all devices have ways to flash recovery without needing to boot to either Android or recovery (usually via fastboot or download mode / Odin). Quite literally the only way to truly secure your device would be to render the USB port completely unusable which isn't an option for most newer devices that don't have removable batteries. Even then most devices could still be worked with via jtag though it's unlikely that a thief will go to the trouble of paying for a jtag service on a device that has a broken USB port. (Note: I am not recommending that you purposely damage your USB port as it will also likely make it very difficult to recover your device if anything ever goes wrong!)
I also don't want to offer a lockscreen / password protection because it offers such a superficial level of protection. Users rarely read and would skip over any disclaimers that we have that indicate that any protection that we displayed indicating that their device really isn't secure. If your device has fallen into someone else's hands, your best case scenario should be that you hope that they don't get your personal data. If you don't want someone getting your personal data, use Android's device encryption and a good lockscreen.
Upvotes: 1 |
2014/11/27 | 2,067 | 7,254 | <issue_start>username_0: I like to extract playlist information (i.e. path and filenames) I've created on Android's builtin MP3-player, to copy it with the MP3 files to a bigger SDHC card. Playlist information is lost when doing this:
* Removing the SDHC memory card (after turning off the device), and re-insert it later, causes the MP3-player to forget all files in the playlists which I have created. This is especially annoying if you want to replace the SDHC card by a bigger one and want to backup all files including playlists from the old one
The reason for this issue is that Android mounts SD cards as /storage/UniqueId where UniqueId is a hex number (the **serial number** or CID of your SD card), e.g. `A15F-1234`.
So your original SD card has a root path like
`/storage/A15F-1234/`
and when you buy a new SD card, its CID is different, so the root path changes, e.g. `/storage/F987-5432/`, hence the player is looking for the old path as stored in the playlist and don't find the files anymore!
Note that this is a virtual folder and it cannot be renamed.
This becomes important because the music player stores the files of your playlist as absolute path, e.g.
>
> /storage/A15F-1234/MyMusic/RickSpringField-LoveSomebody.mp3.
>
>
>
On your PC you will just see a path like
>
> E:/MyMusic/RickSpringField-LoveSomebody.mp3
>
>
>
Once you copy the file to the new SD card, it will be on
>
> F:/MyMusic/RickSpringField-LoveSomebody.mp3
>
>
>
(where E: is your old, F: your new card in this example)
But when you put the new card into your mobile after copying, your file will be at
>
> /storage/F987-5432/MyMusic/RickSpringField-LoveSomebody.mp3
>
>
>
and your playlists are all empty because every single entry still starts with the old path `/storage/A15F-1234/...`, and the player (e.g. Samsung Music) can't find them, because it doesn't look into the new path (`/storage/F987-5432/...`).
Now I am looking for a way to backup the playlists or at least their content (i.e. path filename etc) to be able to edit the path to make them usable again.
---
**More information:**
The phone has a playlist folder, containing the `Playlists`, when I use a USB cable to connect it to the PC, I can see them (`*.pla` files) but they have 0 bytes and cannot be copied. Also, if I connect the SDHC card via cardreader, the files aren't useful.
Samsung Kies also did not work for me, it does not seem to support the playlists created on the phone.
I found [this interesting question](https://android.stackexchange.com/q/15045/81963), which explains that Android stores playlists in SqlLite databases, but unfortunately, on my Samsung phone I could not find the database file (although there is a folder `Computer\GT-I8190\Phone\Android\data\com.google.android.music` which should contain it, but no `databases` subdirectory and no database files).
**N.B.:** The smartphone is able to read and import `*.m3u` playlists (via the player's "Music Square" menu - context menu "Library update"), but cannot modify them (if you add titles, they will only be available in the smartphone, the `*.m3u` file isn't changed).
---
To **summarize my question (one of the options below would help me):**
* Do you know how I can backup the playlists on the phone and then extract the file/path info contained in them in Windows?
`Phone Playlist -> Windows PC -> Extract Path/Filename to text file`
* Or do you know if there is a tool available (for Android, or for Windows reading it from the mobile phone) converting the playlists into a compatible text format (like [`.m3u` playlists](http://en.wikipedia.org/wiki/M3U))?
`Phone Playlist -> M3U file`
(**Note:** The other way round it is possible, as [this forum post](http://androidforums.com/threads/tutorial-m3u-playlists-on-android.291803/)
explains). Here's an example of a M3U file, note that relative paths (like `Sounds/Sample.mp3`) are allowed as well (if the player supports them):
`#EXTM3U`
`#EXTINF:123, Sample artist - Sample title`
`/storage/extSdCard/Sounds/Sample.mp3`
(where `extSdCard` stands for a CID like `F987-5432` and `#EXTINF:123, Sample artist - Sample title` is metadata, see [M3U playlist format](http://www.assistanttools.com/articles/m3u_playlist_format.shtml))
---
Your help is much appreciated!<issue_comment>username_1: **Update 3:** With Samsung Music, it can be done (Android 12 + latest Music release of Samsung Music App V 192.168.127.12). Details: see [here](https://android.stackexchange.com/a/247531/81963).
**Update 2:** After a long research, I found a **music player "Muzio"** in the Google PlayStore which can save internal playlists as text file (`*.m3u`) and load them later (the player uses `Muzio/Playlist Backup` directory on your internal storage).
To save, use the three dots menu beside the playlist.
This way, you can edit the m3u file with a text editor (e.g. QuickEdit Android) - or you transfer it to a PC and edit it there.
After fixing the paths (search + replace) you can load the updated m3u file with the music player Muzio.
To load, use the three dots menu on the upper right corner of the menu bar and select "Import playlist".
**Download link: [Muzio Player](https://play.google.com/store/apps/details?id=com.shaiban.audioplayer.mplayer)**
**Note:**
* If you want to **copy the files** in a playlist **rather than the playlist** itself, you can do that with Samsung Music player and the Tool "Total Commander" installed: Select the playlist (tip and press finger for a while to select), then select "Share" and in the share menu select "Total Commander". Choose the desired target folder. Then switch to Total Commander and you'll see the copy starting.
* You can use [m3truid](https://github.com/kriswebdev/m3truid) as well, if you export the database to the PC, as described in Kris' answer. However, I have not tested this option yet.
---
**Update:** Andrew has kindly provided an answer, which directly solves the issue. However, I keep this answer in case someone likes to develop a player on his/her own which will include a playlist import/export. Just use the link above which will take you to the source code.
---
There was no answer provided yet, so here's what I found out by myself so far. It is rather an idea how it could be solved.
The solution is to write an Android player app, which has access to the playlist database through the Android API. This app can read the properties of the playlist and save path, filename, title artist etc into a text file, preferrably M3U format.
At [AndroidHive.info](http://www.androidhive.info/2012/03/android-building-audio-player-tutorial/) I found the source code for an android MP3 player, not including the feature mentioned above. But I am sure it can be implemented with some effort.
Upvotes: 1 [selected_answer]<issue_comment>username_2: Playlists are stored in a SQLite database in `/data/data/com.android.providers.media/databases/external.db`.
I've made a Python script to convert the audio playlist from this database to M3U, it's called [**m3truid**](https://github.com/kriswebdev/m3truid). You need a PC and ADB enabled.
Not as nice as an Android app but especially useful when your screen is dead.
Upvotes: 2 |
2014/11/28 | 442 | 1,496 | <issue_start>username_0: I have a Moto X and my lock button on the side has broken. Is there any way to shut down the phone even though the button is broken? Will this allow me to start it back up too?<issue_comment>username_1: If your phone is rooted, then there are apps that can shut down your device using SU command `reboot -p`, like [Shutdown by <NAME>](https://play.google.com/store/apps/details?id=com.ubicoo.shutdown), or [Shutdown by <NAME>](https://play.google.com/store/apps/details?id=be.ppareit.shutdown).
If you want to reboot instead, try [Quick Boot (Reboot)](https://play.google.com/store/apps/details?id=com.siriusapplications.quickboot) or [Quick Reboot (Root)](https://play.google.com/store/apps/details?id=phongit.quickreboot). Again, you need the device to be rooted.
Upvotes: 0 <issue_comment>username_2: 1. ADB: Once you have the Android Debugging Bridge (available with the [Android SDK](https://developer.android.com/sdk/index.html) or [packaged separately](http://forum.xda-developers.com/showthread.php?t=2317790)) installed on your system and authorized on your device, you can simply run this command from a terminal: `adb reboot -p`
2. Replace the missing button with [a Pressy clone](http://www.gearbest.com/cables-adapter/pp_58618.html) that plugs into your headphone jack. You can then use it with an app like [KeyCut](https://play.google.com/store/apps/details?id=com.lennox.keycut&hl=en) to configure what it does.
Upvotes: 2 [selected_answer] |
2014/11/28 | 160 | 654 | <issue_start>username_0: I have a new Nexus 6 which immediately updated to Lollipop. When in standby mode the screen turns on randomly and displays the clock. This has been going on since I got it 24 hours ago.
Any thoughts or tips to fix this issue?<issue_comment>username_1: After having switched off the Ambient display the problem has stopped for me. Hope this helps.
Settings > Display > Ambient display (Wake screen when you pick up device or receive notifications)
Upvotes: 3 <issue_comment>username_2: You can try by going to `Developer options` and then disable the `Stay awake`check-box. ("Screen will never sleep while charging")
Upvotes: 2 |
2014/11/28 | 651 | 2,313 | <issue_start>username_0: In the hopes of getting Android 5.0 onto my Nexus 10, I visited [Google's factory image download page](https://developers.google.com/android/nexus/images) for the latest image. I noticed however that the file I downloaded was a tar and not a zip. Will this work just the same using CWM to flash it, or do I need to do something special here?<issue_comment>username_1: Stock factory images are not supposed to be flashed in recovery. Instead, you should follow the instructions on the page you linked to. Open the tar file, it's probably just a compressed file, just like a zip.
But first, let me point you to some custom ROMs that ARE flashable in recovery:
[Stock](http://forum.xda-developers.com/nexus-10/development/rom-21-11-2014-t2948203)
[Rastakat](http://forum.xda-developers.com/showthread.php?t=2106226)
[Cyanogenmod 12 (unofficial](http://forum.xda-developers.com/showthread.php?t=2021441))
However, those may all contain extra bugs, as they are made by 3rd party devs.
Now, if you want to install the actual factory images from Google:
First, make sure you have fastboot and adb. If you don't, install the Android SDK.
Extract the files to a folder on your computer, connect your device to a computer and type the commands into a command window (Start -> Command Prompt or type in
```
cmd
```
The commands that you need are the one in green text, but for the sake of completeness:
```
adb reboot bootloader
```
If you haven't unlocked the bootloader yet:
```
fastboot oem unlock
```
The run the flash-all.bat script:
```
flash-all.bat
```
It should look something like this:

Upvotes: 3 [selected_answer]<issue_comment>username_2: The boot loader is not the main problem, it is mainly the encoding of the rom you are using. Instead of tampering with the rom you are going to install, just download rom manager or download the Odin on your laptop. from the internet, download execute variable for your device or .tar if flashing from laptop and apply, DO NOT FLASH AS ROM. this will brick your device. I have tried this method and it has worked without no brick 200+ times. I AM **NOT** RESPONSIBLE FOR ANY DAMAGE CAUSED BY THIS METHOD; YOU ARE IN CONTROL OF YOUR ACTIONS.
Upvotes: -1 |
2014/11/28 | 821 | 3,103 | <issue_start>username_0: This relates to question:
[Using Amazon Instant Video from Amazon Prime on Non-Kindle device](https://android.stackexchange.com/questions/17689/using-amazon-instant-video-from-amazon-prime-on-non-kindle-device)
However things have moved on since then. [Amazon have now released a version of their Amazon app for use on non-Fire Android phones](https://play.google.com/store/apps/details?id=com.amazon.mShop.android&hl=en), and indeed streaming of Amazon Prime is now possible. However the [Tablet Amazon app](https://play.google.com/store/apps/details?id=com.amazon.windowshop) does not have this functionality, even though it is running the same Android OS version (as the scores of negative reviews on the app will testify!) There doesn't seem to be a way to install the Mobile Android app onto a Tablet. It appears that they only allow Amazon Prime to be used from their own Kindle Fire Tablet.
Is there any way I can fool my tablet (Nexus 7) into thinking it is a phone so that I can install the Phone version of the Amazon app and therefore enable Amazon prime streaming?<issue_comment>username_1: I've come across this quite a few times. I know it is possible to do this by modifying the build.prop file to fool an app into thinking your device is something that it's not, but that requires rooting, and you also run the risk of soft-bricking your device (happened to me yesterday).
If you are willing to take such a risk, create a nandroid backup before modifying build.prop
Upvotes: 0 <issue_comment>username_2: You can install the .apk <http://www.apkmirror.com/wp-content/themes/APKMirror/download.php?id=2395> *Note: Make sure you enable installing from* ***Unknown Sources*** *from* ***Settings>Security***.
If you cannot install the apk, you will have to root your tablet. You can probably find a guide at forum.xda-developers.com
1. After rooting your device, install *Xposed installer* <http://dl-xda.xposed.info/modules/de.robv.android.xposed.installer_v33_36570c.apk> *Note: Make sure you enable installing from* ***Unknown Sources*** *from* ***Settings>Security***.
2. Install *Play Store Fixes* from **Xposed Installer**, from the **Download** screen *(There should be a drop-down selection menu in the action bar)*.
3. Go into the **Modules** screen *(using the same drop-down menu in the action bar)* and enable **Play Store Fixes** via the checkbox.
4. After enabling, open the **Play Store Fixes** app by selecting it from the **Modules** screen in **Xposed Installer** *(or from your app drawer)*.
5. After you open **Play Store Fixes**, set the DPI (density) to **320** (phone dpi).
6. Go back into **Xposed Installer**, either by pressing the *Back* button or opening from your app drawer.
7. Go into the **Framework** screen. **Install** the Xposed framework.
8. After the installation has installed successfully, **Soft Reboot** your tablet.
9. Open **Play Store** and search for *Amazon*.
10. You should now have the option to install Amazon. *Note: If not, try setting the density to* ***240***.
Hope this helps!
Upvotes: 3 [selected_answer] |
2014/11/28 | 358 | 1,546 | <issue_start>username_0: Why are ROMs flashable through recovery while factory images require fastboot?<issue_comment>username_1: This article made me understand the difference <http://www.howtogeek.com/193055/what-is-a-custom-recovery-on-android-and-why-would-i-want-one/>
They are the same concept except that that custom recovery allows certain things like introducing custom ROM. Flashboot is the built-in recovery environment of Android which is limited and definitely does not allow you to introduce custom ROM.
Upvotes: 0 <issue_comment>username_2: The factory image is just the ROM that's on the phone when it leaves the factory. It sounds like you might be thinking about different kinds of ROMs.
When you download a stock ROM from the phone's manufacturer (or elsewhere), it usually includes the image for the system partition and one for the stock recovery. In contrast, when you download a custom ROM, it usually just includes the image for the system partition, and it's expected that you already have CWM, TWRP, or some other third-party recovery installed.
Obviously you need `fastboot` to flash the recovery - you can't overwrite the recovery when it's running - so you need `fastboot` to flash a factory image (when it includes the recovery and the system image), but not necessarily if you're just flashing the system image (from a custom ROM).
A ROM can be a custom ROM or a stock ROM (aka factory image). The difference only comes because of the different ways that first- and third-party ROMs are distributed.
Upvotes: 2 |
2014/11/28 | 740 | 2,992 | <issue_start>username_0: i was trying to enable ad hoc network connection on android and overwriting below folders
/etc/wifi
/etc/dhcpcd
and now my wifi could not turn on. The phone is ADINNO R8, a custom build phone.I could not find its ROM on the internet and most of software does not recognize it.
it runs on 4.2.1 Jelly bean.
tried:
* USB internet
USB internet to upgrade firmware within OS(seems to use wifi driver as well which are corrupted, so there is no internet connection)
* 3rd party fixer
download WiFi fixer and not working
* other version/wifi folders
downloaded some WiFi folders people upload on the internet and none of them are working.(maybe because this is a rare custom phone)
* Recovery
tried recovery and wipe all data in setting, still no luck, wifi folder still corrupted.
i could think of three methods, both failed.
1. reflash its OS.(failed as could not find its ROM)
2. upgrade its OS.(failed as no internet access, WiFi not working)
3. Replace /etc/wifi found on internet (failed as no compatible version)
is there anyway i could fix it?<issue_comment>username_1: Attempt to do a Factory Reset through Settings. I deleted a system file once and it ended up fixing it although my new experience with Android says it might not work. I couldn't find anything online relating to your phone besides reviews, tests, and things along those lines. You are sort of in a pickle here. I'll try to search more for ya.
Upvotes: 0 <issue_comment>username_2: Try harder to find firmware images for your phone. A factory reset might not work, as it only wipes data and cache partition. The etc folder is in /system/etc, /etc usually just is a link to /system/etc. Therefore you would need an image of the system partiton.
Well, if you can't find such firmware, it might not be a device thats common used, and therefore - if you are lucky - there was not a lot of money around for software adaptations from the manufacturor. Try to get firmware for similar devices, watch out for the same android version, and second on similar hardware / components. Download these images, unpack them and try to find the needed files.
Maybe you can just grab another device, from a friend or so, and look for the files. You might also consider having a look on aosp and taking the files from there. Watch out for the correct android version.
Upvotes: 1 <issue_comment>username_3: Is there an upgrade waiting to be installed even?
I have 2 ideas:
A: Use bluetooth tethering to your phone to get network access
B: You could install some basic commandline tools (eg. ssh server / socat / brctl / etc) from <http://dan.drown.org/android/> and try to get a working connection via Android-Debug-Bridge's integrated portforwarding feature (maybe setting a proxy to this port works)
Upvotes: 0 <issue_comment>username_4: Contact someone from the review of this phone and ask him if he can do a **/system/etc** backup and upload it to the internet.Than just restore it.
Upvotes: 0 |
2014/11/28 | 720 | 2,579 | <issue_start>username_0: I've updated my rooted, Nexus 5 with an OTA update to Android 5.0 Lollipop and since then I have noticed something that quite bugs me.
After the update has been added to the phone a new keyboard without any of my permission.
I don't need this keyboard and it just mess up all of my apps.
I've tried to delete it with ROM Toolbox, but [as you can see](https://i.stack.imgur.com/nhfsS.png) it still remain in my settings menu.
And whenever I change my language key when I'm writing it's changes to this keyboard as well,
and the app crashes.
My phone is in Hebrew, But you can see there is a keyboard that called **iWnn IME**.
and ii says below in grey "Japanese" in hebrew.<issue_comment>username_1: Try looking in the applications settings and finding the entry for iWnn IME in there and disabling it. I've also heard there's a second binary with keyboard appended to it. Go ahead and try that and report back.
Upvotes: 2 <issue_comment>username_2: I think I've got it.
There were BLOATWARES of additional language input that somehow was installed on my device.
I removed them and the problem seems to be solved so far.
Upvotes: 2 [selected_answer]<issue_comment>username_3: If you don't like the Japanese input you can still use the keyboard for inserting Emoji's. Well I'm still using it for inserting emoji icons. If you still feel its annoying you can follow one of the two methods below to disable it.
***Method 1:(Quick Disable)***
Disabling it in the Settings I got rid of the iWnn IME japnese keyboard.
1. Goto Settings > Apps > All Apps >
2. Find the app named `iWinn IME` > Disable
[](https://i.stack.imgur.com/uR8cP.png)
Now while you switch/change keyboards you will not see the `iWinn IME` keyboard.
***Method 2:***
Another way I found to get rid of it was to open the iWnn IME keyboard and long press the web/globe icon. It open a popup with `CHOOSE kEYBOARDS` option. Select the option and it opens the `Language & input` menu where you can see the `iWnn IME` keyboard enabled. Press the toggle off switch for the `iWnn IME` keyboard and now it will be disabled.
[](https://i.stack.imgur.com/TLauk.png)
However if you want to enable it again for inputting japnese/emoji's etc. If you followed method one then go to the `Disabled` tab and select enable and enable it or if you followed method two then select Choose Keyboards option to enable in the menu again.
Hope it helps.
Upvotes: 2 |
2014/11/28 | 653 | 2,323 | <issue_start>username_0: I have CWM already installed on my Android device. To upgrade my CWM version, do I simply boot into fastboot and cd the new .iso over to my device? Is it realy that simple?
EDIT -- The new file that I have is an .iso not a .zip so when I boot into CWM it doesn't see the .iso.
2nd Edit ---
I used this command when booted into fastboot to flash my recovery
```
fastboot flash recovery recovery-clockwork-5.0.2.0-olympus.img
```<issue_comment>username_1: Try looking in the applications settings and finding the entry for iWnn IME in there and disabling it. I've also heard there's a second binary with keyboard appended to it. Go ahead and try that and report back.
Upvotes: 2 <issue_comment>username_2: I think I've got it.
There were BLOATWARES of additional language input that somehow was installed on my device.
I removed them and the problem seems to be solved so far.
Upvotes: 2 [selected_answer]<issue_comment>username_3: If you don't like the Japanese input you can still use the keyboard for inserting Emoji's. Well I'm still using it for inserting emoji icons. If you still feel its annoying you can follow one of the two methods below to disable it.
***Method 1:(Quick Disable)***
Disabling it in the Settings I got rid of the iWnn IME japnese keyboard.
1. Goto Settings > Apps > All Apps >
2. Find the app named `iWinn IME` > Disable
[](https://i.stack.imgur.com/uR8cP.png)
Now while you switch/change keyboards you will not see the `iWinn IME` keyboard.
***Method 2:***
Another way I found to get rid of it was to open the iWnn IME keyboard and long press the web/globe icon. It open a popup with `CHOOSE kEYBOARDS` option. Select the option and it opens the `Language & input` menu where you can see the `iWnn IME` keyboard enabled. Press the toggle off switch for the `iWnn IME` keyboard and now it will be disabled.
[](https://i.stack.imgur.com/TLauk.png)
However if you want to enable it again for inputting japnese/emoji's etc. If you followed method one then go to the `Disabled` tab and select enable and enable it or if you followed method two then select Choose Keyboards option to enable in the menu again.
Hope it helps.
Upvotes: 2 |
2014/11/29 | 327 | 1,187 | <issue_start>username_0: I am using **App Backup & Restore** for creating backup of my apps but with **KitKat** its using the internal **SdCard** as Storage.
When I explicitly set the external **SdCard** path it gives the error that it is unable to create folder,
I have also tried with creating folder under **android/data/[packagename]/files/** but it is still not able to do the same.
Is there any solution so that apps can use external storage for writing files.
**Note : I don't want to ROOT my Phone.**<issue_comment>username_1: There's an app called SDFix on the Play store, but you will need root to run this. Running that should let you write to external SD cards again.
[Link](https://play.google.com/store/apps/details?id=nextapp.sdfix&hl=en):
Upvotes: 1 <issue_comment>username_2: On my S4 Mini I configured the path as:
```
/storage/extSdCard/Android/data/mobi.infolife.appbackup/APP_Backup_Restore
```
and it works fine - device is not rooted.
Probably the first part (`/storage/extSdCard`) is different from device to device and maybe the path is case-sensitive.
Upvotes: 2 <issue_comment>username_3: FAT32 SD cards don't work. Format the card to NTFS
Upvotes: -1 |
2014/11/29 | 576 | 2,180 | <issue_start>username_0: I am using Samsung Galaxy Grand 2 without rooting. In a nutshell, I want to disable the Internet specifically for WhatsApp so no new message/notification/media will arrive on my phone despite mobile data/WiFi being turned on. How can I do it?<issue_comment>username_1: **Stop using WhatsApp** is the best solution you get. In the worst case you could stop getting notifications here `Settings>Apps>WhatsApp>Stop notifications` but you can not stop getting messages when the app is open.
A free suggestion would be - use separate Instant Messaging services (IMs) for each one because we've got so many of them like Telegram, Hangouts, Viber, Line, WeChat, etc etc.
Upvotes: 0 <issue_comment>username_2: If you are interested in installing a third party app, then there is one that might do your job, the app name is [NoRoot Firewall](https://play.google.com/store/apps/details?id=app.greyshirts.firewall) and this might also help [Mobiwol: NoRoot Firewall](https://play.google.com/store/apps/details?id=com.netspark.firewall&hl=en)
Upvotes: 3 [selected_answer]<issue_comment>username_3: This may sound trivial but if your goal is to only stop receiving notifications by restricting Internet access to Whatsapp until you use the app again, then why not consider killing the app. There are many [apps](https://play.google.com/store/search?q=app+kill&c=apps&docType=1&sp=CAFiCgoIYXBwIGtpbGx6AhgAigECCAE%3D:S:ANO1ljJplKA) available for such.
Otherwise, you can go to **Settings -> Apps -> Whatsapp -> Force Stop**
; Or
In the launcher, hold the Whatsapp icon until you see **App info** option and slide the icon into it. From there, kill the app.
If you use a firewall app like suggested in other answers, they will still require user intervention, so more or less, killing it natively is best than installing them which may collect user data for development/commercial purpose.
You can also automate the process of killing the app when not in use through apps like Automateit or Tasker.
It is obvious that this won't work if you happen to use Whatsapp to see messages but not want it to use Internet. Then firewall is your only choice.
Upvotes: 0 |
2014/11/29 | 243 | 984 | <issue_start>username_0: I've been unable to use the data plan on my Nexus 4 on a Straight Talk plan after updating to Lollipop.
Data's not working, and I keep getting a notification that says "Sign into network HOME". When I tap on that notification it takes me to a blank screen saying "Sign-in to network". The only options I have is in the drop down menu in the top right:
* Do not use this network
* Use this network as is
When I choose the latter, my data turns on for a second and then stops working again almost immediately.
Any suggestions?<issue_comment>username_1: I suspect the issue was caused by having Lollipop reset the default access point of the phone provider to Tmobile rather than Straight talk. Setting it to Straight Talk seems to have made it work again. Will report back if anything changes.
Upvotes: 2 <issue_comment>username_2: I have Nexus4 on Straighttalk with the same problem. I selected "Use this network as is" option. It worked for me
Upvotes: 0 |
2014/11/30 | 1,795 | 5,095 | <issue_start>username_0: I created an image of my flash disk of my Nexus 4 as described in [this question](https://stackoverflow.com/questions/26967862/how-to-make-an-image-of-android-partition-to-your-pc) by doing
```
# adb pull /dev/block/mmcblk0 mmcblk0.img
```
The image is fully functional but I would like to push this image back to my phone and the inverse command is not working since stays there forever and no change is done.
```
# adb push mmcblk0.img /dev/block/mmcblk0
```
How can I push this image back to my phone?<issue_comment>username_1: I found a solution. You need to have root access to do it. The best would be to boot your Nexus using a boot insecure image.
1) I broke the image in smaller chunks in this way:
```
# dd bs=4096 count=983040 if=mmcblk0.img of=mmcblk0-0.img
# dd bs=4096 count=983040 skip=983040 if=mmcblk0.img of=mmcblk0-1.img
# dd bs=4096 count=983040 skip=1966080 if=mmcblk0.img of=mmcblk0-2.img
# dd bs=4096 skip=2949120 if=mmcblk0.img of=mmcblk0-3.img
```
2) I bzip2ed all chunks:
```
# bzip2 -k mmcblk0-0.img
# bzip2 -k mmcblk0-1.img
# bzip2 -k mmcblk0-2.img
# bzip2 -k mmcblk0-3.img
```
3) I created a ramdisk in my Nexus 4:
```
# adb shell mount -o size=1G -t tmpfs tmpfs /dev/ramdisk
```
4) I copied dd and bunzip2 into /dev/ramdisk/
5) I pushed, bunzip2ed and wrote the image chunks into the partition in pieces
```
# adb push mmcblk0-0.img.bz2 /dev/ramdisk
# adb shell "/dev/ramdisk/bunzip2 -c /dev/ramdisk/mmcblk0-0.img.bz2 | /dev/ramdisk/dd bs=4096 conv=notrunc of=/dev/block/mmcblk0"
# adb shell rm /dev/ramdisk/mmcblk0-0.img.bz2
# adb push mmcblk0-1.img.bz2 /dev/ramdisk
# adb shell "/dev/ramdisk/bunzip2 -c /dev/ramdisk/mmcblk0-1.img.bz2 | /dev/ramdisk/dd bs=4096 seek=983040 conv=notrunc of=/dev/block/mmcblk0"
# adb shell rm /dev/ramdisk/mmcblk0-1.img.bz2
# adb push mmcblk0-2.img.bz2 /dev/ramdisk
# adb shell "/dev/ramdisk/bunzip2 -c /dev/ramdisk/mmcblk0-2.img.bz2 | /dev/ramdisk/dd bs=4096 seek=1966080 conv=notrunc of=/dev/block/mmcblk0"
# adb shell rm /dev/ramdisk/mmcblk0-2.img.bz2
# adb push mmcblk0-3.img.bz2 /dev/ramdisk
# adb shell "/dev/ramdisk/bunzip2 -c /dev/ramdisk/mmcblk0-3.img.bz2 | /dev/ramdisk/dd bs=4096 seek=2949120 conv=notrunc of=/dev/block/mmcblk0"
# adb shell rm /dev/ramdisk/mmcblk0-3.img.bz2
```
Upvotes: 2 <issue_comment>username_2: I had this problem trying to push back a backup of my Samsung Galaxy S2, using ADB with the CWM (clockworkmod) recovery tool. When pushing to a device file, ADB simply deletes the block device file and creates a regular file in its place, and thus no data actually ends up on the mmcblk0 device.
Unfortunately, piping the output of a command into "adb shell" is not implemented either, and the "adb forward" unix sockets feature also doesn't seem to work, so it's difficult to get the backup back into the device.
The solution is to pipe the image file to netcat, and use ADB's TCP port forwarding to direct the stream into your device. However, if your CWM/busybox doesn't have network tools, you'll also need to download the arm-v7 static binary version of busybox with all the applets from <http://www.busybox.net/downloads/binaries/latest/> to be able to run netcat on your device.
```
# wget "http://www.busybox.net/downloads/binaries/latest/busybox-armv7l"
# adb push busybox-armv7l /tmp/busybox
# adb forward tcp:6789 tcp:9876
# adb shell
~ # chmod +x /tmp/busybox
~ # /tmp/busybox nc -l -p 9876 > /dev/block/mmcblk0
```
Then, in a new shell:
```
# dd if=your-image-file.img | nc localhost 6789 &
```
"dd" is better than "cat" because you can check the copy's progress at intervals (replace 5647 with the PID of the DD command):
```
# kill -USR1 5647
48+0 records in
47+0 records out
49283072 bytes (49 MB) copied, 17.6145 s, 2.8 MB/s
```
Beware that writing to mmcblk0 (or the equivalent on your Android device) will obliterate even the boot and recovery partitions so is a great way to brick your device. For the record, my restore worked fine ;-)
Upvotes: 3 <issue_comment>username_3: The initial adb pull/push by-partition-id pattern in the question has merit for **recovery environments**. Though I didn't test for the whole of the flash ("mmcblk0"), a backup and restore by userdata partition did work in an adb activated within a lineage and "/e/" recovery.
Device is a moto-g4-play "harpia" with full disk encryption of the userdata partition and an Android 6 era partition schema (no A/B partitions). The crypto footer lives in the last bytes of the partition and the key is hardware derived, so this can only be used for backup/restore of the one device.
Activate adb in the recovery "Advanced Menu", then
```
adb shell ls -l /dev/block/by-name
# note down links for your partition
adb pull /dev/block/by-name/userdata userdata.img
# ... more partitions
# restore userdata again
adb push userdata.img /dev/block/mmcblk0p41
```
Pushing on /dev/block/by-name/ paths will run into a "No space left on device" message as soon as the tmpfs size is reached. I needed to address the proper partition-id directly.
Upvotes: 2 |
2014/11/30 | 664 | 2,536 | <issue_start>username_0: Upgrading to Lollipop, at some point the lock screen got a background image (see file attached). I never selected such image, and I can't find how to change in in the new settings menu :-/<issue_comment>username_1: >
> Last but not least, the Lollipop lock screen shows full-screen still
> images from multimedia content being played from the device -- so you
> might see a graphic from a TV show or cover art from an album,
> depending on what you're streaming. In my experience, however, the
> images don't seem to clear properly when the content is no longer
> being played. I frequently saw images from a show I had stopped
> streaming long ago -- both when something different was being streamed
> and when the streaming app was no longer even active.
>
>
>
Found at [Android 5.0 deep-dive review: Exploring Lollipop's many layers](http://www.computerworld.com/article/2847459/android-5-0-deep-dive-review-exploring-lollipops-many-layers.html)
In order to fix it I launched some streaming audio and locked the screen to verify the image changed. Then I unlocked the screen and stopped the stream. Locked the screen and the image was set back to default wallpaper.
Upvotes: 4 [selected_answer]<issue_comment>username_2: all right, i got exact same issue as you described. i was listening the TunelIn Radio then i got the cover of the radio show on the screen lock background. i did the following to get rid of the cover photo:
open any app (not build in by Google) on your device, lock the screen before the app is full running, then unlock , the lock screen background should back to the same as your wallpaper background. may need try few times to make it work. good luck. :)
Upvotes: 1 <issue_comment>username_3: Had the same issue. TuneIn radio is indeed the culprit. In order to get rid of it do the following:
1. Launch TuneIn
2. Play any channel
3. Lock your screen
4. Go to lock screen
5. Stop TuneIn from the lock screen (press square stop button on displayed widget).
6. Background reverts to normal. Done!
Upvotes: 2 <issue_comment>username_4: In lollipop stock, there is no built-in setting that lets you set a fixed lock screen wallpaper that is different from the normal home screen wallpaper.
Upvotes: 0 <issue_comment>username_5: If you happen to have root access, then this is how you do it.
1. Navigate to `/data/system/users/0/`
2. Here you will find the file `keyguard_wallpaper`.
Deleting it will set your lockscreen wallpaper to reflect your main wallpaper.
Upvotes: 0 |
2014/12/01 | 795 | 3,007 | <issue_start>username_0: Galaxy Note 3, and Galaxy Note 4 Edge:
When a call ends because:
1. The caller hanging up first, or
2. Ending call using Bluetooth earpieces (a number of different brands and models)
The device LOCKS.
It does not do that if you end the call first using the buttons on the device screen.
Also this problem is with:
* Phones that are encrypted and phones that are not.
* Phones that have S View covers, or have no cover at all.
* Phones that use PIN lock, and phones that use fingerprint lock.
Note also that this problem does not occur on S3 or S4 to my knowledge, but that is simply a friend claiming that he does not have this problem with his phones.<issue_comment>username_1: >
> Last but not least, the Lollipop lock screen shows full-screen still
> images from multimedia content being played from the device -- so you
> might see a graphic from a TV show or cover art from an album,
> depending on what you're streaming. In my experience, however, the
> images don't seem to clear properly when the content is no longer
> being played. I frequently saw images from a show I had stopped
> streaming long ago -- both when something different was being streamed
> and when the streaming app was no longer even active.
>
>
>
Found at [Android 5.0 deep-dive review: Exploring Lollipop's many layers](http://www.computerworld.com/article/2847459/android-5-0-deep-dive-review-exploring-lollipops-many-layers.html)
In order to fix it I launched some streaming audio and locked the screen to verify the image changed. Then I unlocked the screen and stopped the stream. Locked the screen and the image was set back to default wallpaper.
Upvotes: 4 [selected_answer]<issue_comment>username_2: all right, i got exact same issue as you described. i was listening the TunelIn Radio then i got the cover of the radio show on the screen lock background. i did the following to get rid of the cover photo:
open any app (not build in by Google) on your device, lock the screen before the app is full running, then unlock , the lock screen background should back to the same as your wallpaper background. may need try few times to make it work. good luck. :)
Upvotes: 1 <issue_comment>username_3: Had the same issue. TuneIn radio is indeed the culprit. In order to get rid of it do the following:
1. Launch TuneIn
2. Play any channel
3. Lock your screen
4. Go to lock screen
5. Stop TuneIn from the lock screen (press square stop button on displayed widget).
6. Background reverts to normal. Done!
Upvotes: 2 <issue_comment>username_4: In lollipop stock, there is no built-in setting that lets you set a fixed lock screen wallpaper that is different from the normal home screen wallpaper.
Upvotes: 0 <issue_comment>username_5: If you happen to have root access, then this is how you do it.
1. Navigate to `/data/system/users/0/`
2. Here you will find the file `keyguard_wallpaper`.
Deleting it will set your lockscreen wallpaper to reflect your main wallpaper.
Upvotes: 0 |
2014/12/01 | 667 | 2,469 | <issue_start>username_0: I want to root Samsung Galaxy S3 LTE GT-I9305 running Android 4.4.4 Build Version KTU84P.I9305XXUFNI3.Can you please help<issue_comment>username_1: >
> Last but not least, the Lollipop lock screen shows full-screen still
> images from multimedia content being played from the device -- so you
> might see a graphic from a TV show or cover art from an album,
> depending on what you're streaming. In my experience, however, the
> images don't seem to clear properly when the content is no longer
> being played. I frequently saw images from a show I had stopped
> streaming long ago -- both when something different was being streamed
> and when the streaming app was no longer even active.
>
>
>
Found at [Android 5.0 deep-dive review: Exploring Lollipop's many layers](http://www.computerworld.com/article/2847459/android-5-0-deep-dive-review-exploring-lollipops-many-layers.html)
In order to fix it I launched some streaming audio and locked the screen to verify the image changed. Then I unlocked the screen and stopped the stream. Locked the screen and the image was set back to default wallpaper.
Upvotes: 4 [selected_answer]<issue_comment>username_2: all right, i got exact same issue as you described. i was listening the TunelIn Radio then i got the cover of the radio show on the screen lock background. i did the following to get rid of the cover photo:
open any app (not build in by Google) on your device, lock the screen before the app is full running, then unlock , the lock screen background should back to the same as your wallpaper background. may need try few times to make it work. good luck. :)
Upvotes: 1 <issue_comment>username_3: Had the same issue. TuneIn radio is indeed the culprit. In order to get rid of it do the following:
1. Launch TuneIn
2. Play any channel
3. Lock your screen
4. Go to lock screen
5. Stop TuneIn from the lock screen (press square stop button on displayed widget).
6. Background reverts to normal. Done!
Upvotes: 2 <issue_comment>username_4: In lollipop stock, there is no built-in setting that lets you set a fixed lock screen wallpaper that is different from the normal home screen wallpaper.
Upvotes: 0 <issue_comment>username_5: If you happen to have root access, then this is how you do it.
1. Navigate to `/data/system/users/0/`
2. Here you will find the file `keyguard_wallpaper`.
Deleting it will set your lockscreen wallpaper to reflect your main wallpaper.
Upvotes: 0 |
2014/12/01 | 397 | 1,355 | <issue_start>username_0: I've been using the Moto 360 for a while now, When I started using it the battery life lasted almost the whole day. After a while of usage with couple of new apps, I noticed that the Moto 360 died even before it was evening. So, Is there a way to find the **battery usage of the apps running on the Motorola Moto 360** ?<issue_comment>username_1: With the Lollipop update for the Moto 360 and the latest Android Wear app, it is possible. From the Android Wear app, go to the main screen and tap the settings gear. From there there is a "Watch Battery" option that will show you the requested information.
Upvotes: 2 <issue_comment>username_2: Yes. You can check **Watch battery usage**
In **Android Wear** app version 1.3.0:
1. Launch Android Wear
2. Tap **gear icon** in action bar to access Settings screen
3. Under device settings check tap **Moto 360** to access your Moto 360 settings
4. Tap **Watch Battery**
[](https://i.stack.imgur.com/RcIS2.png)
Upvotes: 3 [selected_answer]<issue_comment>username_3: I found the solution for this over an year back itself. There was a neat little app called **Wear Battery Stats** on the Google Play Store.[](https://i.stack.imgur.com/tDvgc.jpg)
Upvotes: 1 |
2014/12/01 | 664 | 2,249 | <issue_start>username_0: ~~I don't know if my device is supported, or how I install Cyanogen mod with a Linux PC (Kubuntu 14.04)~~
Edit1:
One year has passed now, and im wondering if this is possible now, with the same phone (LG L65). Using Kubuntu 15.10 now.<issue_comment>username_1: Seems like there's no support at the moment, the L65 is not [not listed on CyanogenMod's LG supported devices section](http://wiki.cyanogenmod.org/w/Devices#vendor=%22LG%22;).
Upvotes: 1 <issue_comment>username_2: I just did it "using Linux". I followed [this tutorial](http://forum.xda-developers.com/showpost.php?s=1b7e529f3d66c29297fb982f2117b7e4&p=61197983&postcount=8) that is an English translation from [this tutorial in Polish](http://forum.android.com.pl/topic/232755-source511-unofficial-cyanogenmod-121-dla-d280n/).
In fact, what I realized is that all commands I would use in a Linux machine I can use directly in a terminal in the rooted phone. So I used Linux to put all files in the SD card, and then used the terminal in the phone to mod it.
The steps I followed were:
* Root the phone
* Install BusyBox and a terminal emulator (not sure the BusyBox is needed, but I've installed it anyway because it was in the tutorial)
* Copied all files to the SD card (aboot.img, TWRP recovery, CM, gapps, etc)
* Used the terminal emulator in the phone to run the "dd" commands. It is annoying to type everything, and I checked the "if" and "of" paths several times before entering the command. The contents of the SD card were found in /storage/external\_SD/.
* To reboot into recovery mode I used "reboot recovery". This took me to TWRP recovery.
* There I made the backup of System, Data and Boot to my SD card
* Then I wiped Dlavik Cache, System and Data
* Then I installed CM, and GApps. In my case I installed the Pico version of GApps, since the LG L65 doesn't have lots of internal memory.
A tip if you're new to modding like I am: the things you want to install should be copied to the SD card in their zip files. The first time I extracted them to the SD and then I couldn't install after wiping out the phone. Then I had to recover the system from the backup to be able to copy the compressed file to my SD card.
Hope it helps!
Upvotes: 2 |
2014/11/27 | 875 | 3,095 | <issue_start>username_0: A Nexus 7 tablet having android 4.4.2, does not have the default Google Play(neither older Android market) app installed.How is that possible?
I tried downloading \*.apk file from [here](http://www.androidpolice.com/2014/05/07/apk-download-google-play-services-updated-to-v4-4-with-new-street-view-api-running-detection-and-more/) and even [here](http://www.android.gs/download-google-play-store-apk-4-4-22/)
But did not work. When I tried executing the apk file, they hang and I get "ANR - application not responding" dialog.
For other \*.apk files for Google store app that i downloaded, it gave errors saying Error saying - "There was a problem parsing the package". It just did not work for many Google store apk's different versions i tried downloading and installing/running?
How can one install Google play store on this Nexus 7?
Would there be any correct/compatible \*.apk for Google play store available which would work?
Edit Note: I tried checking in settings and elsewhere to see if any default apps disabled setting is checked but could not find any such thing?<issue_comment>username_1: Seems like there's no support at the moment, the L65 is not [not listed on CyanogenMod's LG supported devices section](http://wiki.cyanogenmod.org/w/Devices#vendor=%22LG%22;).
Upvotes: 1 <issue_comment>username_2: I just did it "using Linux". I followed [this tutorial](http://forum.xda-developers.com/showpost.php?s=1b7e529f3d66c29297fb982f2117b7e4&p=61197983&postcount=8) that is an English translation from [this tutorial in Polish](http://forum.android.com.pl/topic/232755-source511-unofficial-cyanogenmod-121-dla-d280n/).
In fact, what I realized is that all commands I would use in a Linux machine I can use directly in a terminal in the rooted phone. So I used Linux to put all files in the SD card, and then used the terminal in the phone to mod it.
The steps I followed were:
* Root the phone
* Install BusyBox and a terminal emulator (not sure the BusyBox is needed, but I've installed it anyway because it was in the tutorial)
* Copied all files to the SD card (aboot.img, TWRP recovery, CM, gapps, etc)
* Used the terminal emulator in the phone to run the "dd" commands. It is annoying to type everything, and I checked the "if" and "of" paths several times before entering the command. The contents of the SD card were found in /storage/external\_SD/.
* To reboot into recovery mode I used "reboot recovery". This took me to TWRP recovery.
* There I made the backup of System, Data and Boot to my SD card
* Then I wiped Dlavik Cache, System and Data
* Then I installed CM, and GApps. In my case I installed the Pico version of GApps, since the LG L65 doesn't have lots of internal memory.
A tip if you're new to modding like I am: the things you want to install should be copied to the SD card in their zip files. The first time I extracted them to the SD and then I couldn't install after wiping out the phone. Then I had to recover the system from the backup to be able to copy the compressed file to my SD card.
Hope it helps!
Upvotes: 2 |
2014/12/01 | 165 | 698 | <issue_start>username_0: When I charge it at night and its finished the screen will stay on all night unless I plug it out. How do I stop this from happening.<issue_comment>username_1: Change the screen timeout option, or the 'Never sleep on charging' option
Upvotes: -1 <issue_comment>username_2: Do you have the Developer Options settings enabled on your phone? If you do, go to **Settings >> Developer Options >> Stay Awake**. If that option is checked, then your phone will never sleep while charging. Uncheck it.
Also, in **Settings >> Display >> Daydream >> When to Activate (at bottom)**,do you have Daydream set to activate while charging? It's possible Daydream is triggering.
Upvotes: 2 |
2014/12/01 | 313 | 1,301 | <issue_start>username_0: Is there any way to share data(not through cloud) between multiple users in lollipop nexus 4 device, I tried with android/obb and other folders but without any success in lollipop version. Kindly provide a way to share large files, within multiple users, on the same device.<issue_comment>username_1: What sort of files are you trying to share? And how large are they?
Android beam / bluetooth will work, though it may take a while and not give you much feedback of how long it will take.
To do this, tap the 'three dots' on the top right, and select share. There's an option of 'android beam'. Make sure that the receiving phone has their nfc turned on.
Upvotes: -1 <issue_comment>username_2: I think the first answer (by username_1) misses the point - the question was about sharing files between different users on the SAME device. I have been using subdirectories that I created within android/obb with success. In my Nexus 7 tablet the exact path is /storage/emulated/0/Android/obb/. The issue is that the media browser does not see files in there, so that one needs to use some file-manager software (search for 'File Manager' in the play store) to get to the file and start its reproduction from there, or for moving the file into the user's file-system.
Upvotes: 3 |
2014/12/01 | 519 | 2,092 | <issue_start>username_0: I've been struggling for the past 3 days with trying to get started with USB debugging for android apps. Currently, my phone is not being recognized by my computer at all. Here is what I have already done/tried:
-Enable USB debugging on phone - check
-Restarted all devices - way too many times check
-When I check device manager to update drivers etc, my device doesn't show up under 'Other Devices' or anything related to the phone but instead under 'Human Interface Devices'
-And when I try to update the drivers from there, it will not work, telling me that the drivers are already at the highest.
-When my phone is plugged into my computer, it charges but even the file explorer does not see that it is connected, I have no way to view the phone.
-I have tried 3 different brands of usb/micro-usb cords to see if that was the problem
-I have updated all drivers for my computer
I've tried many many other obscure things as well but if anyone has any ideas please please let me know!
Running an LG-D631 Vista<issue_comment>username_1: I had a problem with my LG Nexus 4 not being recognised when I connected it to my laptop and in the end this solved the problem for me...
On your mobile:
1. Go to Settings > Storage > USB Computer Condition (Menu option from Storage Screen)
2. Change from Media Device (MTP) to Camera (PTP)
After that it was recognised without any issues.
Upvotes: 1 <issue_comment>username_2: I always had these problems with my old phone.
Most of the times this helped:
1. Go to Device Manager right click and choose update driver software
2. Choose to search for drivers on your pc
3. Click Search and go choose: "Android SDK Path"\extras\google\usb\_driver
If that doesnt help, repeat step 1 and 2 and press "choose from list". Then choose Medium and choose "Android SDK Path"\extras\google\usb\_driver\android.winusb.inf. Then you should be able to choose "Android ADB Interface". Click next and press yes and it should install that driver.
Hope this helps you, cause i know how frustrating those problems can be
Upvotes: 0 |
2014/12/01 | 349 | 1,402 | <issue_start>username_0: I have managed to install a wifi certificate, and it forced me to set up a PIN for the lock screen. I absoluterly DON'T want that, because it is very annoying to have to type it every time I unlock the device, which I do quite often. Only all other options save for Password are not selectable. Why is that and how do I solve this?<issue_comment>username_1: I had a problem with my LG Nexus 4 not being recognised when I connected it to my laptop and in the end this solved the problem for me...
On your mobile:
1. Go to Settings > Storage > USB Computer Condition (Menu option from Storage Screen)
2. Change from Media Device (MTP) to Camera (PTP)
After that it was recognised without any issues.
Upvotes: 1 <issue_comment>username_2: I always had these problems with my old phone.
Most of the times this helped:
1. Go to Device Manager right click and choose update driver software
2. Choose to search for drivers on your pc
3. Click Search and go choose: "Android SDK Path"\extras\google\usb\_driver
If that doesnt help, repeat step 1 and 2 and press "choose from list". Then choose Medium and choose "Android SDK Path"\extras\google\usb\_driver\android.winusb.inf. Then you should be able to choose "Android ADB Interface". Click next and press yes and it should install that driver.
Hope this helps you, cause i know how frustrating those problems can be
Upvotes: 0 |
2014/12/01 | 455 | 1,821 | <issue_start>username_0: I was typing like I always do using a USB keyboard with External Keyboard Helper Pro bought from Google Play. I usually type in Evernote. In a moment, I'm kind pressing more than one key a the same time - probably a Fn, Ctrl or Alt and other. I have no idea what I pressed. But since then, I *can't* type anything because the keys open other apps. If I press "e" in the keyboard, the e-mail on my tablet open, and if I press other key, other app open.
I tried to figure it out, search in the settings from my tablet and in the settings of EKH, but I don't have any shortcuts configured. I'm thinking that I press some kind of shortcut that activated other shortcuts, but I don't know how to go back to what it's like before.
How to fix/revert this?<issue_comment>username_1: I had a problem with my LG Nexus 4 not being recognised when I connected it to my laptop and in the end this solved the problem for me...
On your mobile:
1. Go to Settings > Storage > USB Computer Condition (Menu option from Storage Screen)
2. Change from Media Device (MTP) to Camera (PTP)
After that it was recognised without any issues.
Upvotes: 1 <issue_comment>username_2: I always had these problems with my old phone.
Most of the times this helped:
1. Go to Device Manager right click and choose update driver software
2. Choose to search for drivers on your pc
3. Click Search and go choose: "Android SDK Path"\extras\google\usb\_driver
If that doesnt help, repeat step 1 and 2 and press "choose from list". Then choose Medium and choose "Android SDK Path"\extras\google\usb\_driver\android.winusb.inf. Then you should be able to choose "Android ADB Interface". Click next and press yes and it should install that driver.
Hope this helps you, cause i know how frustrating those problems can be
Upvotes: 0 |
2014/12/01 | 238 | 845 | <issue_start>username_0: I have a Motorola Moto E, and according to USB Host Diagnostics, the stock OS and kernel claim OTG USB support, and the proper classes are present, but it won't detect a thumb drive connected via OTG cable. I can't find a stock rom image for download, so, until I can, rooting is out of the question...Any suggestions?<issue_comment>username_1: Some android devices do have hardware support for otg cables and the device will detect the usb device internally but won't mount. Try rooting and installing [StickMount](https://play.google.com/store/apps/details?id=eu.chainfire.stickmount&hl=en) and report back.
Upvotes: 0 <issue_comment>username_2: A Forums Manager on Motorola Forums said:
>
> Moto E will not support OTG.
>
>
>
See the full thread [here](https://forums.motorola.com/posts/d89af03a15).
Upvotes: 2 |
2014/12/01 | 432 | 1,527 | <issue_start>username_0: I got my shiny new Nexus 5 a couple of weeks ago and decided i wanted to root. I rooted using fastboot on my Ubuntu box.
---
I then installed [MultiRom](https://play.google.com/store/apps/details?id=com.tassadar.multirommgr&hl=en) and from there I installed Ubuntu touch.
Everything was going fine and dandy until I changed the kernel to CM 11 and rebooted to apply the changes. It didn't boot so I opened up my TWRP recovery that multirom had installed and decided it was a good idea to erase all the partitions to try and fix this kernel issue. That didn't work so I plugged it into my computer and ran
>
> fastboot reboot-bootloader
>
>
> Waiting for device ...
>
>
>
It never rebooted.
I also can't do anything with either fastboot or adb when before it worked fine.
TWRP works fine and i can navigate around in that easily. MTP will never activate. I didn't have usb debugging enabled. My bootloader is unlocked.
Please Help<issue_comment>username_1: You bricked your device. You could try reformatting with recovery and finding the factory image for your device, then flashing via recovery from SD card (does it take one?) twrp has and always will suck, in my opinion.
Upvotes: -1 <issue_comment>username_2: @username_1
Actually: Not yet a brick.
I managed to install a custom ROM along the lines explained here:
<https://www.youtube.com/watch?v=6m5pJSYm19I>
Flashing from the USB stick was still possible, since I had TWRP 3.3.1-0 already installed on my Samsung S6 G920F.
Upvotes: 0 |
2014/12/02 | 511 | 1,900 | <issue_start>username_0: Through a series of mishaps, I deleted Google Play Services, Google+ and probably many other apps. I did a factory reset, but it did not bring back my missing apps. My phone was rooted and I used Titanium to delete them, not knowing services was needed. Now whenever I hit Google store and need to log in I can't because it says:
>
> Couldn't sign it. There was a problem communicating with Google servers. Try again later.
>
>
>
I am really confused as to what to do. I cannot download from online directly because it still wants me to put my Google account and I get the same message.
Any help or is my phone just done at this point? I have an android LGMS323.<issue_comment>username_1: Well, that sure looks like you have messed your device really well, I would suggest the better option would be downloading the stock ROM and flashing it over your device anyway there's also another option which you can use like get the apk file of the apps from sites like Android Police.
[Google PlayStore](http://www.apkmirror.com/apk/google-inc/google-play-store/google-play-store-5-0-38-apk/),
[Google PlayServices](http://www.apkmirror.com/apk/google-inc/google-play-services/google-play-services-6-5-88-1599915-836-apk/),
[Google+](http://www.apkmirror.com/apk/google-inc/google/google-4-7-1-79583515-apk/)
Install then over your device and I guess rest of the app can be easily downloaded over the Google PlayStore.
Upvotes: 1 <issue_comment>username_2: I would just recommend installing the zip file of the google apps usually called `gapps.zip`. You can find the corresponding files for download at [goo.im](https://goo.im/); make sure to pick the one matching your device's Android version. Then copy it to your device's SD card, boot into recovery, chose to "install from zip", select the file – and once it's flashed you should be done, simply reboot.
Upvotes: -1 |
2014/12/02 | 647 | 2,489 | <issue_start>username_0: I just recently purchased a cheap tablet (DigiLand DL701Q 8gb), as my first foray into Android.
I've been using the pre-installed Chrome browser but I can't figure out how to switch tabs or close them. I've searched for hours and all I could find was that the little square icon with numbers in the top right is the tool for tabs, but tapping it does nothing.
I've tried double/triple tapping and swiping, but it still does nothing. Tapping and holding on it opens a popup message with the phrase "open tabs" but tapping that also has no function. I've tried every combination and method I can think of, but nothing works. Only one time did I manage to switch to a different tab and then quickly close it, but this was a result of me desperately mashing the square icon in frustration and I haven't been able to replicate it.
I currently have 7 tabs open and I have no idea what they are or how to view them or how to close them. Any help would be greatly appreciated.<issue_comment>username_1: I had the same problem. I was never able to find a way to exit those tabs so I just went to Settings → Apps → Chrome, then deleted data. Nothing bad happened, and those 8 tabs I couldn't remove are no longer there to annoy me.
Upvotes: -1 <issue_comment>username_2: Click the three dots, choose "Settings", then turn off "Merge tabs and apps". Now tabs will work like they used to.
(This solution was improperly proposed as an edit by an anonymous user.)
Upvotes: 3 <issue_comment>username_3: Much more recently I ran into a very similar problem using Android Chrome. Going backwards to recent prior versions did not fix this. Chrome Beta is working correctly.
Problem:
I could not
* Click/tap on a tab,
* Click on the X that closed the tab,
* Click on the plus sign that opened a new tab, Etc.
* Open the menu in the upper right corner (that only opened a new tab)
I was able to
* Click on and edit the URL area of the screen, and
* Click on items within a page.
Not-solutions
* Backing up to recent versions of chrome did not fix this.
* Resetting tap duration in Android settings temporarily fixed my problem. [See image.] But after adding more tabs problems returned.
* Closing down Chrome and restarting it also seemed to help, but only temporarily.
Solutions:
* Using Chrome Beta appears to have fixed this.

---
* Samsung tablet SM-T860
* Android ver. 10
* Chrome ver. 87.0.4280.101
Upvotes: 1 |
2014/12/02 | 380 | 1,546 | <issue_start>username_0: when I plug the phone in via USB, the phone beeps, I get a lightning bolt on my battery, but that's it. There are no USB options in the pull-down status bar, and the PC does not recognize that a device has been plugged in<issue_comment>username_1: try this Methods, may be helpful for you,
1. Try using **different USB-Ports** of your system.
2. Try with **different USB-Cable** your using to connect your phone and system.
3. Try to install the **Mobile-Device Drivers** and then connect to your system.
Upvotes: 0 <issue_comment>username_2: Install universal Adb installer and install driver for particular device.
Upvotes: -1 <issue_comment>username_3: Have you checked if there are issues shown in the device manager?
They are usually shown with exclamation mark or question mark.
Try to delete them, then reconnect your phone.
Ensure you have enabled "show hidden devices" in the view menu, and it is important that your phone is connected while you're viewing the devices.
Upvotes: 0 <issue_comment>username_4: Try these methods. It may help you.
**Reboot** your phone and try to connect again.
Make sure that your phone's **USB cord** is not damaged.
If the problem persists, download mobile device **drivers** for your device (may available on the manufacturer's website) and install it on your PC.
Try a **different** cable and try different USB port.
Upvotes: 0 <issue_comment>username_5: Maybe you can try this way: go to settings > Developer Options, open this option, and USB debugging.
Upvotes: -1 |
2014/12/02 | 1,667 | 6,277 | <issue_start>username_0: I want to edit some files on my phone, but I can not access the root folder on my phone.
I'm using a rooted Google Nexus 5 running Android 5.0. I can read/write to my `/`, and `/system` by using the "ES File Explorer" Android app, but not Windows software.
How can I mount the Android system file in Windows, so I can read/write to the same places from there? If that's not possible on Windows: I'm also using Ubuntu. So, can I mount my phone under Ubuntu?<issue_comment>username_1: I cannot answer the Windows part – but the Ubuntu part I can answer for sure, as I'm using that as well *and mount my devices* from my computer, sometimes with full r/w access. What I use needs ADB tools to be installed on your computer. If you didn't already install them, see e.g. [Is there a minimal installation of ADB?](https://android.stackexchange.com/q/42474/16575)
Prepare your Droid
------------------
First a basic requirement, applying to any OS which might run on your computer: To be able to get full access, the ADB daemon needs to be running in root-mode. This is not the case with stock ROMs, even if rooted, by default (though many custom ROMs have it enabled by default). So first check: If an "ordinary" `adb shell` directly brings you to the root-prompt (`#`) without invoking `su`, you're fine. Otherwise, you will need a helper like [adbd insecure](http://play.google.com/store/apps/details?id=eu.chainfire.adbd "chainfire's *adbd insecure* at Google Play"): Run it, and enable the "patched insecure mode". Optionally check the box to have that accomplished automatically on every boot of your device.
Prepare for write access to read-only file systems
--------------------------------------------------
Second, again independent from the OS on your computer: to read *and write* to file systems, they need to be mounted in read/write mode. You can accomplish that via `adb shell` anytime you need to write there (I don't recomment leaving those partitions in permanent read/write mode), e.g. issuing a `mount -o remount,rw /system` for the `/system` partition.
Mount your Droid
----------------
Now let's go for the specifics. I mount the Android file system via ADB, utilizing [FUSE](http://en.wikipedia.org/wiki/Filesystem_in_Userspace "Wikipedia: Filesystem in Userspace"). The tool for that is [adbfs-rootless](https://github.com/spion/adbfs-rootless "adbfs-rootless at Github"). Compiling the code is easy given the instructions there; that done, copy the resulting `adbfs` binary to a directory in your `$PATH`. Then create a mount-point on your computer; in my example, I will use `~/droid` for that. Now here we go:
```
# Mount the Android FS:
adbfs ~/droid
# Unmount it again:
fusermount -u ~/droid
```
To ease the process, I've created two aliases:
```
alias mdroid="adbfs ~/droid"
alias udroid="fusermount -u ~/droid"
```
You surely already have guessed: `mdroid` stands for "mount droid", `udroid` for "unmount droid".
A different approach to manually mounting/unmounting is using [Midnight Commander](https://www.midnight-commander.org/ "Midnight Commander Homepage") with a specific VFS: mc-extfs-adb is doing that. A version I've spefically adapted for Ubuntu is available [in the download area at username_1OnDroid](http://android.izzysoft.de/downloads "username_1OnDroid Downloads"), where you can simply pick it (installation instructions included).
Both variants have their pros and cons: mc-extfs-adb takes quite a while on first access (while it caches the entire file system structure) – but then is pretty fast browsing the file system (as it is cached), only slowing down when you copy/edit files remotely. Using adbfs directly starts up much faster, but then always "hesitates" for a second when switching directories (as it does *not* cache the entire structure, but only reads on demand). I usually prefer the latter, but YMMV – hence I've given you both options :)
Upvotes: 2 <issue_comment>username_2: Windows File Explorer by default doesn't let you access the Android root files. You'll need to download a different application (to your PC) for that. Many places (like this [guidingtech.com tutorial](http://www.guidingtech.com/16174/mount-android-windows-root-file-system-access/) recommend [Android Commander](http://android-commander.en.lo4d.com/). Another recommended file explorer program is [Droid Explorer](https://github.com/camalot/droidexplorer).
Upvotes: 0 <issue_comment>username_1: There's a second way, which should work with multiple operating systems on the computer's end: Taking a look at my [list of file Android server apps](http://android.izzysoft.de/applists/category/named/network_server_file), you can find some Android file-server apps using WebDAV or Samba, and [SSH Clients & Server](http://android.izzysoft.de/applists/category/named/network_admin_sshclients) has some for SSH. Check those with "root capabilities", as you want to access the entire file system read/write.
Preparing your device for read/write access is done the same way as specified in [my other answer](https://android.stackexchange.com/a/89525/16575). Then start the "server-app" you've selected, and you should be ready – not even a cable needed, as this works via WiFi:
* Linux supports [SSHFS](http://en.wikipedia.org/wiki/SSHFS "Wikipedia: SSHFS"), i.e. mounting the file system via SSH. There are also helpers to achieve this on Windows (listed there)
* [Samba](http://en.wikipedia.org/wiki/Samba_%28software%29 "Wikipedia: Samba (Software)") is supported as "Samba" on Linux, and should be natively supported on Windows as "Windows Share"
* [WebDAV](http://en.wikipedia.org/wiki/WebDAV "Wikipedia: WebDAV") should also be supported by both systems
So with any of the three categories, you should be able to mount your Android's file system under Linux as well as Windows. Only possible "drawbacks" here are that you need an additional app on the Android device, and it *might* be a bit slower due to WiFi (the latter must not necessarily be the case, though).
Upvotes: 3 [selected_answer]<issue_comment>username_3: Install FX File Explorer from the [Play Store](https://play.google.com/store/apps/details?id=nextapp.fx), give it root access, and change it through the filesystem.
Upvotes: 0 |
2014/12/02 | 1,401 | 4,972 | <issue_start>username_0: I wanna make my external sd my internal one without having the need to use an app. So Instead of having 8GB of internal storage I want to have 64GB (taken from the micro sd card). It worked on my previous phone Gt-i8530 if I changed the `vold` file to this:
```
# internal sdcard
{
ums_sys_path = /sys/class/android_usb/f_mass_storage/lun0/file
secure_format = enable
discard = enable
}
dev_mount sdcard1 /storage/extSdCard 8 /devices/sdi2/mmc_host/mmc0/mmc0 encryptable_nonremovable
# external sdcard
{
ums_sys_path = /sys/class/android_usb/f_mass_storage/lun1/file
supported_exfat = disable
android_secure_containers = enable
}
dev_mount sdcard /storage/sdcard0 auto /devices/sdi0/mmc_host/mmc1/mmc1
```
So now I want to do that same thing on my new phone SM-G3858. But I only have in `vold`:
```
#storage_struct = series, "/mnt/sdcard/extStorages"
#storage_struct = parallel
{
supported_exfat = yes
}
dev_mount sdcard /storage/extSdCard auto /devices/platform/sdhci-pxav3.0/mmc_host/mmc1
```
Now what do I need to change or add here to swap it as on the previous phone? I´m a bit confused that a) it right away says extsdcard here and b) that there is only one command line instead of 2 . I guess the reason is the `#storage` structure?
And suggestions please?<issue_comment>username_1: Most new devices dont have partition of sdcard that means instead of having internal memory and that called usb storage app only internal is present...they dont separate it and only create a system space. If you check your apps list in settings Downloaded apps and all apps list are all in internal and no option for moving to sd...This mostly happen on android kitkat devices...
Upvotes: 0 <issue_comment>username_2: Unless it's important to you that the storage volumes are swapped, in Android Marshmallow the sd-card storage can be added to your internal storage with Adaptable storage.
Adaptable storage "enables a user to set up his SD card as internal storage, and store applications, their data, and media on an adopted SD card." –[Source](https://motorola-global-portal.custhelp.com/app/answers/prod_answer_detail/a_id/109134/p/1449,9582)
Note: A high-speed card (UHS-1) is highly recommended, since you'll be experiencing lag and slow application speed with slower/older cards.
To use the feature:
1. Turn off your phone
2. Insert the SD-card
3. Turn on your phone
4. Choose "use sd-card as Internal Storage" (When provided with the option - it should appear as a notification)
Android will then set up the card for internal use.
This will make Android show your sd-card as part of the internal storage and be used as such. The proces also encrypts the card, so your data is safe.
Note: When the card is set up as internal storage, you won't be able to use the card as a normal sd-card, fx. plugging it out and into your computer to copy files won't work. To use the sd-card like this again at a later point, you'll have to reformat the card.
Upvotes: 1 <issue_comment>username_3: It depends what phone you are using and what version of Android you are using. If you are using Android Marshmallow there is something called Adoptable storage which can be turned on in settings. Most phones have this option so looking online for this shouldn't be difficult.
If however you are using one of the few phones that does not allow adoptable storage like Samsung S7 family or LG G5 than you need to go through these alternative steps.
--THIS WILL FORMAT YOUR SD CARD, BACKUP YOUR DATA!!!
1) have adb installed. You can get a slim version from XDA <http://forum.xda-developers.com/showthread.php?t=2317790>
2) run:
$> adb shell
$> sm list-disks adoptable disk
this will give you a result like: 179,64
then run this command. the last number is the % of the storage you want as EXTERNAL, not adoptable. So, let's say you want 60% of the SD card as adoptable storage, you should run
$> sm partition disk:179,64 mixed 40
type the number you got before after disk: Also, if you get some permission errors, type su and then try the command again
3) reboot your phone.
Done. Check the storage on your device and you should see a part of the sd card on the internal storage and the other on the external
If you end up getting a "corrupted" error on your SD card portion of device storage here is how you fix it.
After you have partitioned the disk and while your SD card is corruped enter In the terminal the following:
$> adb shell sm list-volumes all
Which will list your volumes, for example:
private mounted null
public:179,1 mounted B5B1-140C
private:179,3 unmountable null
emulated mounted null
Then enter the following replacing 179,3 with whichever disk numbers you are given:
$> adb shell sm format private:179,3
$> adb shell sm mount private:179,3
Now your SD card in device storage should be properly mounted and your portable storage will still be there.
This worked on my LG G5 and should work on the S7.
Upvotes: 0 |
2014/12/02 | 13,892 | 29,866 | <issue_start>username_0: For some time I've had a problem, where crucial system processes were being force killed by LowmemoryKiller/OOM.
Following help, I added a 500 MB swap file working natively a couple of days ago to try and reduce memory pressure and lowmemkiller triggers ([thread with details here](https://android.stackexchange.com/questions/89028/creating-and-enabling-an-internal-storage-swap-partition-on-rooted-android-kitka)). The output of `free` showed an extra 500 MB of space, which I figured was plenty to prevent whatever low memory problem was forcibly killing system processes.
But it hasn't helped. Out of the blue I suddenly again got a fairly vicious "everything got killed by LowMemKiller" just now, with about 6 core dump files created in just 100 seconds, followed by a user space crash, and the kernel (dmesg) log suggest that low memory issues were the only reported problem, even though this time a large amount of swap was available and recognised by the system (see `free` below).
Here's the relevant part of `dmesg >dmesg.txt` shortly after `init` restarted userspace. In the first part of the log, long periods of several seconds pass where nothing new happens; when userspace is killed off during the 100 seconds at 2105-2208 there is nothing beforehand and no hint of cause.
*Phone turned on*
```
<6>[001992.334927,0] : Report pwrkey press event
<6>[001992.386743,0] mdss_dsi_on+: ctrl=eaec8010 ndx=0
<6>[001992.424178,0] mdss_dsi_on-:
<6>[001992.424193,0] mdss_dsi_panel_on+: ctrl=eaec8010 ndx=0
<6>[001992.428789,0] : Report pwrkey release event
<6>[001993.730749,0] synaptics_dsx_sensor_state: state change SUSPEND -> ACTIVE
<6>[001993.731405,0] : mdss_dsi_panel_on-. Pwr_mode(0x0A) = 0x9c
<6>[001993.831117,0] qcom,leds-qpnp leds-qpnp-eb62f600: backlight on
```
*Nothing in log for 40 seconds. Then there are several bursts of low memory killing, separated by brief gaps of about 5-20 seconds*
```
<6>[002033.125104,1] lowmemorykiller: Killing 'system:ui' (8151), adj 1000, to free 40656kB on behalf of 'kswapd0' (81) because cache 122600kB is below limit 122880kB for oom_score_adj 1000. Free memory is 3200kB above reserved
<6>[002034.172404,2] lowmemorykiller: Killing 'changelogviewer' (7238), adj 1000, to free 32652kB on behalf of 'kswapd0' (81) because cache 121376kB is below limit 122880kB for oom_score_adj 1000. Free memory is 6776kB above reserved
<6>[002035.895963,0] : Report pwrkey press event
<6>[002035.307927,1] lowmemorykiller: Killing 'droid.deskclock' (28714), adj 1000, to free 31756kB on behalf of 'kswapd0' (81) because cache 120252kB is below limit 122880kB for oom_score_adj 1000. Free memory is 5532kB above reserved
<6>[002036.387002,0] : Report pwrkey release event
<6>[002036.478425,0] lowmemorykiller: Killing 'com.ebay.mobile' (26933), adj 1000, to free 29016kB on behalf of 'kswapd0' (81) because cache 120268kB is below limit 122880kB for oom_score_adj 1000. Free memory is 3864kB above reserved
<6>[002037.923711,2] lowmemorykiller: Killing 'omm.timeservice' (6682), adj 1000, to free 24544kB on behalf of 'kswapd0' (81) because cache 112140kB is below limit 122880kB for oom_score_adj 1000. Free memory is 3072kB above reserved
<6>[002037.070531,1] lowmemorykiller: Killing 'ndroid.settings' (5632), adj 1000, to free 24344kB on behalf of 'kswapd0' (81) because cache 108888kB is below limit 122880kB for oom_score_adj 1000. Free memory is 5484kB above reserved
<6>[002037.617332,1] lowmemorykiller: Killing 'd.process.media' (5610), adj 1000, to free 23552kB on behalf of 'kswapd0' (81) because cache 109164kB is below limit 122880kB for oom_score_adj 1000. Free memory is 3964kB above reserved
<6>[002038.335908,0] lowmemorykiller: Killing 'enmod.lockclock' (28743), adj 1000, to free 21712kB on behalf of 'kswapd0' (81) because cache 107296kB is below limit 122880kB for oom_score_adj 1000. Free memory is 4616kB above reserved
<6>[002039.245833,1] lowmemorykiller: Killing 'ainfire.supersu' (8025), adj 764, to free 32380kB on behalf of 'kswapd0' (81) because cache 98160kB is below limit 98304kB for oom_score_adj 529. Free memory is 7484kB above reserved
<6>[002040.109486,0] lowmemorykiller: Killing 'd.process.acore' (8429), adj 647, to free 34448kB on behalf of 'kswapd0' (81) because cache 97952kB is below limit 98304kB for oom_score_adj 529. Free memory is 8732kB above reserved
<6>[002043.386164,2] lowmemorykiller: Killing 'putmethod.latin' (14570), adj 764, to free 20732kB on behalf of 'kswapd0' (81) because cache 97896kB is below limit 98304kB for oom_score_adj 529. Free memory is 3564kB above reserved
<6>[002047.012564,0] tapan_codec_chargepump_vdd_event: event = 1
<6>[002048.999115,2] lowmemorykiller: Killing 'd.process.media' (8782), adj 647, to free 33804kB on behalf of 'kswapd0' (81) because cache 95364kB is below limit 98304kB for oom_score_adj 529. Free memory is 4556kB above reserved
<6>[002049.385765,0] lowmemorykiller: Killing 'com.android.mms' (370), adj 529, to free 42768kB on behalf of 'kswapd0' (81) because cache 96588kB is below limit 98304kB for oom_score_adj 529. Free memory is 5264kB above reserved
<6>[002051.397263,0] init: waitpid returned pid 30519, status = 00000000
<6>[002052.710665,1] tapan_codec_chargepump_vdd_event: event = 8
<6>[002054.259864,2] lowmemorykiller: Killing 'd.process.media' (8882), adj 647, to free 33620kB on behalf of 'kswapd0' (81) because cache 93904kB is below limit 98304kB for oom_score_adj 529. Free memory is 7752kB above reserved
<6>[002055.100549,3] lowmemorykiller: Killing 'ndroid.settings' (8939), adj 764, to free 34900kB on behalf of 'kswapd0' (81) because cache 96324kB is below limit 98304kB for oom_score_adj 529. Free memory is 3920kB above reserved
<6>[002056.176783,2] lowmemorykiller: Killing 'd.process.acore' (8930), adj 764, to free 35656kB on behalf of 'kswapd0' (81) because cache 89744kB is below limit 98304kB for oom_score_adj 529. Free memory is 3688kB above reserved
<6>[002064.446038,2] lowmemorykiller: Killing 'd.process.media' (9044), adj 764, to free 33580kB on behalf of 'kswapd0' (81) because cache 90032kB is below limit 98304kB for oom_score_adj 529. Free memory is 14876kB above reserved
<6>[002083.199303,1] lowmemorykiller: Killing 'enmod.lockclock' (8974), adj 647, to free 31236kB on behalf of 'kswapd0' (81) because cache 98132kB is below limit 98304kB for oom_score_adj 529. Free memory is 3308kB above reserved
<6>[002084.892508,1] lowmemorykiller: Killing 'ndroid.settings' (9068), adj 529, to free 53876kB on behalf of 'kswapd0' (81) because cache 95092kB is below limit 98304kB for oom_score_adj 529. Free memory is 5380kB above reserved
<6>[002105.187792,0] lowmemorykiller: Killing 'enmod.trebuchet' (20303), adj 352, to free 33356kB on behalf of 'kswapd0' (81) because cache 80972kB is below limit 86016kB for oom_score_adj 176. Free memory is 3004kB above reserved
<6>[002106.510875,0] lowmemorykiller: Killing 'com.android.mms' (8906), adj 470, to free 39524kB on behalf of 'kswapd0' (81) because cache 80488kB is below limit 86016kB for oom_score_adj 176. Free memory is 16500kB above reserved
<6>[002111.395568,1] lowmemorykiller: Killing 'd.process.media' (9718), adj 529, to free 33576kB on behalf of 'kswapd0' (81) because cache 70448kB is below limit 73728kB for oom_score_adj 117. Free memory is 3484kB above reserved
<6>[002112.755785,1] lowmemorykiller: Killing 'ndroid.settings' (9766), adj 529, to free 34872kB on behalf of 'kswapd0' (81) because cache 69160kB is below limit 73728kB for oom_score_adj 117. Free memory is 3792kB above reserved
<6>[002112.892462,1] lowmemorykiller: Killing 'com.android.mms' (9736), adj 470, to free 35356kB on behalf of 'kswapd0' (81) because cache 68408kB is below limit 73728kB for oom_score_adj 117. Free memory is 7628kB above reserved
<6>[002112.906543,3] binder: release 9736:9755 transaction 7689487 out, still active
<6>[002112.386885,0] lowmemorykiller: Killing 'd.process.acore' (9757), adj 647, to free 34860kB on behalf of 'kswapd0' (81) because cache 69340kB is below limit 73728kB for oom_score_adj 117. Free memory is 4092kB above reserved
<6>[002113.952913,0] lowmemorykiller: Killing 'enmod.lockclock' (9808), adj 647, to free 31048kB on behalf of 'kswapd0' (81) because cache 73224kB is below limit 73728kB for oom_score_adj 117. Free memory is 3852kB above reserved
<6>[002114.465873,3] lowmemorykiller: Killing 'd.process.media' (9872), adj 529, to free 33528kB on behalf of 'kswapd0' (81) because cache 67308kB is below limit 73728kB for oom_score_adj 117. Free memory is 3540kB above reserved
<6>[002115.944547,3] lowmemorykiller: Killing 'd.process.acore' (9920), adj 647, to free 34788kB on behalf of 'kswapd0' (81) because cache 62112kB is below limit 73728kB for oom_score_adj 117. Free memory is 3876kB above reserved
<6>[002115.463421,3] lowmemorykiller: Killing 'ndroid.settings' (9912), adj 647, to free 34804kB on behalf of 'kswapd0' (81) because cache 61372kB is below limit 61440kB for oom_score_adj 58. Free memory is 3444kB above reserved
<6>[002116.625036,3] lowmemorykiller: Killing 'enmod.lockclock' (9947), adj 764, to free 31128kB on behalf of 'kswapd0' (81) because cache 60288kB is below limit 61440kB for oom_score_adj 58. Free memory is 3540kB above reserved
<6>[002116.660223,3] lowmemorykiller: Killing 'd.process.acore' (9960), adj 764, to free 34912kB on behalf of 'kswapd0' (81) because cache 59824kB is below limit 61440kB for oom_score_adj 58. Free memory is 3560kB above reserved
<6>[002131.486032,2] lowmemorykiller: Killing 'd.process.acore' (10031), adj 764, to free 35472kB on behalf of 'kswapd0' (81) because cache 67868kB is below limit 73728kB for oom_score_adj 117. Free memory is 21432kB above reserved
<6>[002132.304917,0] lowmemorykiller: Killing 'd.process.media' (10018), adj 1000, to free 33728kB on behalf of 'Compositor' (8575) because cache 100976kB is below limit 122880kB for oom_score_adj 1000. Free memory is 3492kB above reserved
<6>[002132.374198,1] lowmemorykiller: Killing 'ndroid.settings' (10049), adj 764, to free 34792kB on behalf of 'kswapd0' (81) because cache 64912kB is below limit 73728kB for oom_score_adj 117. Free memory is 3280kB above reserved
<6>[002132.435346,1] lowmemorykiller: Killing 'enmod.lockclock' (10067), adj 647, to free 30996kB on behalf of 'Compositor' (8575) because cache 97520kB is below limit 98304kB for oom_score_adj 529. Free memory is 3364kB above reserved
<6>[002139.202616,3] lowmemorykiller: Killing 'com.android.mms' (9890), adj 470, to free 38940kB on behalf of 'kswapd0' (81) because cache 77428kB is below limit 86016kB for oom_score_adj 176. Free memory is 3352kB above reserved
<6>[002144.987619,0] lowmemorykiller: Killing 'd.process.media' (10354), adj 529, to free 33492kB on behalf of 'kswapd0' (81) because cache 70876kB is below limit 73728kB for oom_score_adj 117. Free memory is 3952kB above reserved
<6>[002145.868772,0] lowmemorykiller: Killing 'ndroid.settings' (10410), adj 647, to free 34748kB on behalf of 'kswapd0' (81) because cache 70496kB is below limit 73728kB for oom_score_adj 117. Free memory is 9208kB above reserved
<6>[002145.500683,0] lowmemorykiller: Killing 'enmod.lockclock' (10439), adj 647, to free 30964kB on behalf of 'kswapd0' (81) because cache 69148kB is below limit 73728kB for oom_score_adj 117. Free memory is 4848kB above reserved
<6>[002146.860274,2] lowmemorykiller: Killing 'd.process.acore' (10393), adj 764, to free 35316kB on behalf of 'kswapd0' (81) because cache 66996kB is below limit 73728kB for oom_score_adj 117. Free memory is 8484kB above reserved
<6>[002146.883536,0] binder: undelivered transaction 7710205
<6>[002147.021644,1] lowmemorykiller: Killing 'd.process.acore' (10507), adj 764, to free 35104kB on behalf of 'kswapd0' (81) because cache 66948kB is below limit 73728kB for oom_score_adj 117. Free memory is 8344kB above reserved
<6>[002147.496709,0] lowmemorykiller: Killing 'd.process.media' (10495), adj 764, to free 33760kB on behalf of 'kswapd0' (81) because cache 65184kB is below limit 73728kB for oom_score_adj 117. Free memory is 8972kB above reserved
<6>[002166.712750,0] lowmemorykiller: Killing 'ndroid.settings' (10529), adj 764, to free 34780kB on behalf of 'kswapd0' (81) because cache 74940kB is below limit 86016kB for oom_score_adj 176. Free memory is 4768kB above reserved
<6>[002166.041116,1] lowmemorykiller: Killing 'enmod.lockclock' (10545), adj 647, to free 30984kB on behalf of 'kswapd0' (81) because cache 76512kB is below limit 86016kB for oom_score_adj 176. Free memory is 4996kB above reserved
<6>[002183.893105,1] lowmemorykiller: Killing 'com.ebay.mobile' (10668), adj 529, to free 46620kB on behalf of 'kswapd0' (81) because cache 71236kB is below limit 73728kB for oom_score_adj 117. Free memory is 4588kB above reserved
<6>[002183.175603,1] lowmemorykiller: Killing 'com.android.mms' (10372), adj 294, to free 39168kB on behalf of 'kswapd0' (81) because cache 69516kB is below limit 73728kB for oom_score_adj 117. Free memory is 4568kB above reserved
<6>[002184.262462,1] lowmemorykiller: Killing 'putmethod.latin' (20205), adj 117, to free 31552kB on behalf of 'kswapd0' (81) because cache 64740kB is below limit 73728kB for oom_score_adj 117. Free memory is 4528kB above reserved
<6>[002185.901421,1] lowmemorykiller: Killing 'pal.androidterm' (20591), adj 117, to free 22780kB on behalf of 'kswapd0' (81) because cache 62628kB is below limit 73728kB for oom_score_adj 117. Free memory is 4548kB above reserved
<6>[002185.077441,0] init: waitpid returned pid 26289, status = 0000fc00
<6>[002185.611288,2] lowmemorykiller: Killing 'android.smspush' (20927), adj 58, to free 16176kB on behalf of 'kswapd0' (81) because cache 56236kB is below limit 61440kB for oom_score_adj 58. Free memory is 3392kB above reserved
<6>[002186.955956,0] init: waitpid returned pid 26285, status = 00000001
<6>[002186.006426,1] init: waitpid returned pid 26256, status = 00008100
<6>[002186.431086,0] lowmemorykiller: Killing 'mozilla.firefox' (6712), adj 0, to free 354160kB on behalf of 'kswapd0' (81) because cache 46540kB is below limit 49152kB for oom_score_adj 0. Free memory is 5192kB above reserved
<6>[002186.606429,1] init: waitpid returned pid 19765, status = 00000000
<6>[002191.881505,2] lowmemorykiller: Killing 'd.process.media' (10858), adj 1000, to free 33140kB on behalf of 'kswapd0' (81) because cache 87004kB is below limit 98304kB for oom_score_adj 529. Free memory is 3960kB above reserved
<6>[002191.291965,1] lowmemorykiller: Killing 'd.process.acore' (10918), adj 764, to free 35228kB on behalf of 'kswapd0' (81) because cache 81776kB is below limit 86016kB for oom_score_adj 176. Free memory is 3832kB above reserved
<6>[002191.591134,1] lowmemorykiller: Killing 'ndroid.settings' (10928), adj 647, to free 34460kB on behalf of 'kswapd0' (81) because cache 77724kB is below limit 86016kB for oom_score_adj 176. Free memory is 4280kB above reserved
<6>[002192.697565,2] lowmemorykiller: Killing 'enmod.lockclock' (10957), adj 529, to free 30720kB on behalf of 'kswapd0' (81) because cache 76880kB is below limit 86016kB for oom_score_adj 176. Free memory is 3604kB above reserved
<6>[002192.739096,2] lowmemorykiller: Killing 'com.android.mms' (10883), adj 470, to free 38292kB on behalf of 'kswapd0' (81) because cache 74704kB is below limit 86016kB for oom_score_adj 176. Free memory is 7352kB above reserved
<6>[002193.555477,2] lowmemorykiller: Killing 'enmod.trebuchet' (10844), adj 0, to free 58452kB on behalf of 'kswapd0' (81) because cache 48516kB is below limit 49152kB for oom_score_adj 0. Free memory is 3116kB above reserved
<6>[002194.171773,1] binder: undelivered transaction 7731151
<6>[002194.355847,0] lowmemorykiller: Killing 'd.process.acore' (11091), adj 529, to free 34780kB on behalf of 'kswapd0' (81) because cache 47368kB is below limit 49152kB for oom_score_adj 0. Free memory is 8656kB above reserved
<6>[002194.554944,0] lowmemorykiller: Killing 'd.process.media' (11118), adj 529, to free 33392kB on behalf of 'enmod.trebuchet' (11110) because cache 81508kB is below limit 86016kB for oom_score_adj 176. Free memory is 6088kB above reserved
<6>[002194.670126,0] lowmemorykiller: Killing 'com.android.mms' (11151), adj 294, to free 34528kB on behalf of 'kswapd0' (81) because cache 47332kB is below limit 49152kB for oom_score_adj 0. Free memory is 3564kB above reserved
<6>[002194.680946,2] binder: release 11151:11172 transaction 7731784 out, still active
<6>[002194.681060,2] binder: undelivered transaction 7731944
<6>[002195.770478,1] lowmemorykiller: Killing 're-initialized>' (11177), adj 529, to free 26236kB on behalf of 're-initialized>' (11186) because cache 80372kB is below limit 86016kB for oom_score_adj 176. Free memory is 3968kB above reserved
<6>[002195.828751,0] lowmemorykiller: Killing 'enmod.trebuchet' (11110), adj 0, to free 44916kB on behalf of 'kswapd0' (81) because cache 46796kB is below limit 49152kB for oom_score_adj 0. Free memory is 3280kB above reserved
<6>[002195.996821,2] lowmemorykiller: Killing 'd.process.acore' (11206), adj 529, to free 28148kB on behalf of 'kswapd0' (81) because cache 46216kB is below limit 49152kB for oom_score_adj 0. Free memory is 3744kB above reserved
<6>[002195.006525,3] binder: undelivered transaction 7732259
<6>[002195.111464,2] lowmemorykiller: Killing 'ndroid.settings' (11186), adj 529, to free 34436kB on behalf of 'd.process.acore' (11236) because cache 76684kB is below limit 86016kB for oom_score_adj 176. Free memory is 3412kB above reserved
<6>[002195.189925,1] lowmemorykiller: Killing 're-initialized>' (11236), adj 529, to free 27684kB on behalf of 're-initialized>' (11250) because cache 75264kB is below limit 86016kB for oom_score_adj 176. Free memory is 3748kB above reserved
<6>[002195.582460,1] lowmemorykiller: Killing 'enmod.lockclock' (11250), adj 647, to free 30716kB on behalf of 'kswapd0' (81) because cache 42068kB is below limit 49152kB for oom_score_adj 0. Free memory is 3936kB above reserved
<6>[002195.680729,3] lowmemorykiller: Killing 'd.process.acore' (11265), adj 529, to free 33160kB on behalf of 'kswapd0' (81) because cache 41232kB is below limit 49152kB for oom_score_adj 0. Free memory is 3568kB above reserved
<6>[002196.766706,0] lowmemorykiller: Killing 'enmod.trebuchet' (11217), adj 0, to free 43560kB on behalf of 'kswapd0' (81) because cache 40444kB is below limit 49152kB for oom_score_adj 0. Free memory is 3448kB above reserved
<6>[002201.374233,0] : Report pwrkey press event
<6>[002201.518183,0] : Report pwrkey release event
<6>[002202.657554,1] mdss_dsi_panel_off+: ctrl=eaec8010 ndx=0
<6>[002202.657986,0] synaptics_dsx_sensor_state: state change ACTIVE -> SUSPEND
<6>[002203.897141,0] mdss_dsi_panel_off-:
<6>[002203.897156,0] mdss_dsi_off+: ctrl=eaec8010 ndx=0
<6>[002203.936876,0] mdss_dsi_off-:
```
*At this point anything that hasn't already failed, now fails. Userspace gets killed and restarted*
```
<6>[002203.037750,0] : Core dump to |/system/bin/coredump Binder_4 19920 1417523206 pipe failed
<6>[002203.281135,0] binder: undelivered transaction 7733258
<6>[002203.281314,0] binder: undelivered transaction 7733265
<6>[002203.281444,0] binder: undelivered transaction 7733271
<6>[002203.281597,0] binder: undelivered transaction 7733366
<6>[002203.281681,0] binder: undelivered transaction 7733378
<6>[002203.282023,0] binder: undelivered transaction 7733372
<6>[002203.282108,0] binder: undelivered transaction 7733373
<6>[002203.282258,0] binder: undelivered transaction 7733374
<6>[002203.282340,0] binder: undelivered transaction 7733375
<6>[002203.282488,0] binder: undelivered transaction 7733376
<6>[002204.093925,0] : Report pwrkey press event
<6>[002204.306457,0] : Report pwrkey release event
<6>[002207.955756,0] : Core dump to |/system/bin/coredump system_server 1142 1417523210 pipe failed
<6>[002207.052286,0] mdss_dsi_on+: ctrl=eaec8010 ndx=0
<6>[002207.075781,1] alarm_release: clear alarm, pending 0
<6>[002207.075791,1] alarm_release: clear alarm, pending 0
<6>[002207.075799,1] alarm_release: clear alarm, pending 0
<6>[002207.089757,0] mdss_dsi_on-:
<6>[002207.089772,0] mdss_dsi_panel_on+: ctrl=eaec8010 ndx=0
<6>[002207.104989,1] init: computing context for service '/system/bin/bootanimation'
<5>[002207.106139,1] init: starting 'bootanim'
<6>[002207.136155,1] : Core dump to |/system/bin/coredump Binder_7 1387 1417523210 pipe failed
<6>[002207.147220,1] binder: undelivered death notification, 60d6b368
<6>[002207.147232,1] binder: undelivered death notification, 60d6b780
<6>[002207.147241,1] binder: undelivered death notification, 5cdca680
<6>[002207.147249,1] binder: undelivered death notification, 5bf36ec0
<6>[002207.147261,1] binder: undelivered death notification, 5cdcb4a0
<6>[002207.147272,1] binder: undelivered death notification, 5cdd1880
<6>[002207.147281,1] binder: undelivered death notification, 5cdcb460
<6>[002207.185322,1] init: waitpid returned pid 385, status = 00000009
<5>[002207.185340,1] init: process 'debuggerd', pid 385 exited
<5>[002207.185355,1] init: process 'debuggerd' killing any children in process group
<6>[002207.185940,1] init: computing context for service '/system/bin/debuggerd'
<6>[002207.185963,2] : Core dump to |/system/bin/coredump Binder_2 1400 1417523210 pipe failed
<5>[002207.186211,1] init: starting 'debuggerd'
<6>[002207.186764,2] : Core dump to |/system/bin/coredump Binder_4 1413 1417523210 pipe failed
<6>[002207.194796,2] binder: undelivered death notification, 5cdcf108
<6>[002207.194807,2] binder: undelivered death notification, 60b5faa8
<6>[002207.194816,2] binder: undelivered death notification, 60b5fec0
<6>[002207.194824,2] binder: undelivered death notification, 5cdca680
<6>[002207.194832,2] binder: undelivered death notification, 601f2830
<6>[002207.194840,2] binder: undelivered death notification, 60def500
<6>[002207.194849,2] binder: undelivered death notification, 5cdd1488
<6>[002207.194857,2] binder: undelivered death notification, 60def1f0
<6>[002207.200117,2] binder: undelivered death notification, 5cdce0d8
<6>[002207.200129,2] binder: undelivered death notification, 60c6b0c8
<6>[002207.200137,2] binder: undelivered death notification, 60c6b4e0
<6>[002207.200146,2] binder: undelivered death notification, 5cdca670
<6>[002207.200154,2] binder: undelivered death notification, 5cdd1940
<6>[002207.200163,2] binder: undelivered death notification, 5d84f710
<6>[002207.200171,2] binder: undelivered death notification, 5cdd1430
<6>[002207.200179,2] binder: undelivered death notification, 5cdd1f90
<6>[002207.276277,1] init: waitpid returned pid 388, status = 00000009
<5>[002207.276294,1] init: process 'zygote', pid 388 exited
<5>[002207.285604,0] init: process 'zygote' killing any children in process group
<5>[002207.285863,0] init: service 'media' is being killed
<5>[002207.287087,0] init: service 'netd' is being killed
<6>[002207.287441,0] init: computing context for service '/system/bin/app_process'
<5>[002207.287638,0] init: starting 'zygote'
<6>[002207.289856,0] init: waitpid returned pid 383, status = 00000009
<5>[002207.289874,0] init: process 'netd', pid 383 exited
<5>[002207.289888,0] init: process 'netd' killing any children in process group
<6>[002207.290323,0] init: computing context for service '/system/bin/netd'
<5>[002207.290529,0] init: starting 'netd'
<6>[002207.297300,0] init: waitpid returned pid 391, status = 00000009
<5>[002207.297316,0] init: process 'media', pid 391 exited
<5>[002207.297331,0] init: process 'media' killing any children in process group
<6>[002207.297373,2] init: Created socket '/dev/socket/mdns' with mode '660', user '0', group '1000'
<6>[002207.297610,0] init: computing context for service '/system/bin/mediaserver'
<6>[002207.297768,2] init: Created socket '/dev/socket/dnsproxyd' with mode '660', user '0', group '3003'
<5>[002207.297778,0] init: starting 'media'
<6>[002207.298187,2] init: Created socket '/dev/socket/netd' with mode '660', user '0', group '1000'
<6>[002207.298939,2] init: Created socket '/dev/socket/zygote' with mode '660', user '0', group '1000'
<6>[002207.315254,0] : Report pwrkey press event
<6>[002207.386012,0] synaptics_dsx_sensor_state: state change SUSPEND -> ACTIVE
<6>[002207.386197,0] : mdss_dsi_panel_on-. Pwr_mode(0x0A) = 0x9c
<6>[002207.446161,0] init: waitpid returned pid 1373, status = 00000009
<6>[002208.865272,0] : Report pwrkey release event
<7>[002210.508025,0] SELinux: initialized (dev tmpfs, type tmpfs), uses transition SIDs
<6>[002213.793599,0] : Report pwrkey press event
<6>[002213.970096,0] : Report pwrkey release event
<6>[002213.447327,0] : Core dump to |/system/bin/coredump zygote 11352 1417523217 pipe failed
<6>[002213.508195,0] init: waitpid returned pid 11352, status = 0000000b
<5>[002213.508377,0] init: process 'zygote', pid 11352 exited
<5>[002213.508475,0] init: process 'zygote' killing any children in process group
<5>[002213.508759,0] init: service 'media' is being killed
<5>[002213.512948,0] init: service 'netd' is being killed
<6>[002213.513683,0] init: waitpid returned pid 11355, status = 00000009
<5>[002213.513805,0] init: process 'media', pid 11355 exited
<5>[002213.513981,0] init: process 'media' killing any children in process group
<6>[002213.514315,0] init: computing context for service '/system/bin/app_process'
<5>[002213.514729,0] init: starting 'zygote'
<6>[002213.515310,0] init: computing context for service '/system/bin/mediaserver'
<6>[002213.516306,1] init: Created socket '/dev/socket/zygote' with mode '660', user '0', group '1000'
<5>[002213.516644,0] init: starting 'media'
<6>[002213.520811,0] init: waitpid returned pid 11353, status = 00000009
<5>[002213.520998,0] init: process 'netd', pid 11353 exited
<5>[002213.521240,0] init: process 'netd' killing any children in process group
<6>[002213.521753,0] init: computing context for service '/system/bin/netd'
<5>[002213.522248,0] init: starting 'netd'
<6>[002213.526276,1] init: Created socket '/dev/socket/mdns' with mode '660', user '0', group '1000'
<6>[002213.526874,1] init: Created socket '/dev/socket/dnsproxyd' with mode '660', user '0', group '3003'
<6>[002213.527403,1] init: Created socket '/dev/socket/netd' with mode '660', user '0', group '1000'
```
However `swap` was active and it's not clear what's happening. Output from `free` immediately after userspace is restored:
```
total used free shared buffers
Mem: 903272 879320 23952 0 1844
-/+ buffers: 877476 25796
Swap: 687060 19024 668036
```
No idea what's going on. Exotic guesses FWIW: (1) Swap is available and enabled but for some reason wasn't used in the event, when memory got low; (2) some process suddenly decided it needed about 1GB of RAM and to run in foreground, causing failed attempts to swap crucial but lower prioritised system processes; (3) Unpredictable dramatic memory leak.
I don't know where to go from here.
The phone runs rooted CyanogenMod 11 M6 and has 1GB ram, and the apps are pretty standard - firefox, whatsapp, nothing unusual, no strange "tweaking", no strange modding apps.
How can I resolve this issue?
**UPDATE** I realised that I could find the relevant core dumps. `/data/tombstones` contains 6 core dumps that were all created during the 100 second period that lowmemorykiller bursts were occurring in `dmesg`. The core dump files mostly show segmentation faults (SIGSEGV) but the owning process is different in each dump:
```
2014-12-02 12:27:33 name: Thread-20 (lbesec.loader) signal 11 (SIGSEGV), code 1 (SEGV_MAPERR), fault addr b3baed71
2014-12-02 12:27:11 name: zygote (zygote) signal 11 (SIGSEGV), code 1 (SEGV_MAPERR), fault addr 5dd8ce64
2014-12-02 12:27:05 name: zygote (zygote) signal 11 (SIGSEGV), code 1 (SEGV_MAPERR), fault addr 5dd86e64
2014-12-02 12:26:57 name: zygote (zygote) signal 11 (SIGSEGV), code 1 (SEGV_MAPERR), fault addr 5dc03e64
2014-12-02 12:26:47 name: system_server (system_server) signal 11 (SIGSEGV), code 1 (SEGV_MAPERR), fault addr deadf00c
2014-12-02 12:26:46 name: Binder_4 (com.android.systemui) signal 11 (SIGSEGV), code 1 (SEGV_MAPERR), fault addr cfc08b9a
```
Past core dumps in the same folder were just as diverse - thread owners included "gallery" for example. Some showed SIGABRT instead of SIGSEGV. Beyond here probably needs developer competencies. What can I do to track down the cause?<issue_comment>username_1: Android has a built-in ram management system thats pretty good at its job. Ram management applications are notorious for being little more than snake oil. At worst actually harmful to its running processes. I would postulate that this memory killer app is the root cause of your problems.
Solution.
Reflash your device delete the lowmemory app and see how it behaves
Upvotes: 1 <issue_comment>username_2: If this app wasn't on your phone when you bought it, but got installed afterwards instead, it's possible that the app that is doing this might be malware. I would suggest going straight to Verizon and have them figure out what is going on. It may cost a lot, but if it can be fixed, it's most likely worth it.
Upvotes: -1 <issue_comment>username_3: I don't quite understand if the problem happen out of a sudden or if it just happens with CM11 or not. My first recommendation would be factory reset and run with a skeleton selection of apps, less you install from play store better, and see if problem happens. If it does then CM is running some really aggressive values for LMK (maybe update to something newer or build the rom with modified values). If it doesn't means one of your apps is telling android it needs ram and android (maybe due to poorly set dalvik or hwui heaps, or kernel lmk values) freaks out and just starts the mass murder of processes.
Upvotes: 0 |
2014/12/02 | 1,217 | 4,573 | <issue_start>username_0: I am trying to update my Nexus 7 (2013) WiFi to Android 5.0 with `adb sideload`. I get this error:
```
Finding update package...
Opening update package...
Verifying update package...
E:footer is wrong
E:signature verification failed
Installation aborted.
```
I have the file (razor). It is a .tgz file, so I entered into the command prompt (I opened inside SDK platorm-tools) and ran `adb sideload beaverlog.tgz` and it gave me that error (beaverlog is what I named the file). The instructions also said to do it as a .zip file but I couldn't find a .zip file.<issue_comment>username_1: Since you have a .tgz file, I would assume you downloaded the [factory image](https://developers.google.com/android/nexus/images) for your device. You cannot use `adb sideload` with those archives. They are not packaged for that. You note in your comment:
>
> The instructions also said to do it as a .zip
>
>
>
...and the instructions are correct. If you find that your environment is deviating from the stated instructions, then it is quite often an indication that you are not following the process the way it is intended. In this situation, luckily, the recovery system bails out without damaging your device, but in the future it would be a good idea to take some care when attempting to install images to your device.
The top of the factory images page you got the update from has *different instructions* for flashing the contents of the archive. You need to either follow **those** steps or obtain a copy of the update in a .zip format that is compatible with recovery-based installation.
If you intend to use the factory image, the proper steps are:
>
> **Caution: Flashing a new system image deletes all user data. Be certain to first backup any personal data such as photos.**
>
>
> 1. Download the appropriate system image for your device below, then unzip it to a safe directory.
> 2. Connect your device to your computer over USB.
> 3. Start the device in fastboot mode with one of the following methods:
>
>
> * Using the adb tool: With the device powered on, execute:
>
>
>
> ```
> adb reboot bootloader
>
> ```
> * Using a key combo: Turn the device off, then turn it on and immediately hold down the relevant key combination for your device.
> For example, to put a Nexus 5 ("hammerhead") into fastboot mode, press
> and hold Volume Up + Volume Down + Power as the device begins booting
> up.
> 4. If necessary, unlock the device's bootloader by running:
>
>
>
> ```
> fastboot oem unlock
>
> ```
> 5. The target device will show you a confirmation screen. (This erases all data on the target device.)
> 6. Open a terminal and navigate to the unzipped system image directory.
> 7. Execute the `flash-all` script. This script installs the necessary bootloader, baseband firmware(s), and operating system.
>
>
>
If you are using Windows, you will need third-party software to extract the .tgz archive, because Windows does not support it natively. [7zip](http://www.7-zip.org/) is a free (and popular) option.
Upvotes: 2 <issue_comment>username_2: I had similar issue, my device is hanged in booting, it was displaying "Google" logo and it didn't start.
When I tried to update with "adb sideload", I got following error:
```
Finding update package...
Opening update package...
Verifying update package...
E:footer is wrong
E:signature verification failed
Installation aborted.
```
Then, I tried using Nexus tool kit.
I believe, it works in unlocked and rooted mobiles only
Please try your luck by following below steps.
1. Install Nexus Root Toolkit ( I used v2.0.5)
2. Connect your device to PC using USB cable. Make sure your drivers are successfully recognized or just click on 'Full driver installation guide - Automatic + Manual)- don't worry about step 2.
3. Choose your device model and Android version ( I had Android 5.1.0 LMY470)
4. Reboot your device to Bootloader menu, Choose Recovery mode (I had Clockwork recovery mode) > Install zip > Choose `sideload`.
5. Now, click on `Flash Stock + Unroot` > ok > in 'Factory images', choose your required image ( I would recommend don't browse image from PC). In choice section, use "Automatically". In settings section, un-check all. And then click ok. It will download.
6. Once it completes, Nexus toolkit will try to boot to Bootloader menu. Now, you should do it manually by choosing `go back back` > `advanced` > `reboot bootloader`.
That's it, it will install new system.
Please note, first bootup will take much time.
Upvotes: 1 |
2014/12/03 | 1,158 | 4,321 | <issue_start>username_0: I had install TWRP on Redmi 1S (while running on stock MIUI ROM) and I installed CM11 ROM. It is running fine.
My question is
1) How do I upgrade the TWRP with latest version?
2) How to I change the TWRP to CWM (or vice-versa)?
3) Does CyanogenMod has its own Recovery? If yes, how to get that on my device?<issue_comment>username_1: Since you have a .tgz file, I would assume you downloaded the [factory image](https://developers.google.com/android/nexus/images) for your device. You cannot use `adb sideload` with those archives. They are not packaged for that. You note in your comment:
>
> The instructions also said to do it as a .zip
>
>
>
...and the instructions are correct. If you find that your environment is deviating from the stated instructions, then it is quite often an indication that you are not following the process the way it is intended. In this situation, luckily, the recovery system bails out without damaging your device, but in the future it would be a good idea to take some care when attempting to install images to your device.
The top of the factory images page you got the update from has *different instructions* for flashing the contents of the archive. You need to either follow **those** steps or obtain a copy of the update in a .zip format that is compatible with recovery-based installation.
If you intend to use the factory image, the proper steps are:
>
> **Caution: Flashing a new system image deletes all user data. Be certain to first backup any personal data such as photos.**
>
>
> 1. Download the appropriate system image for your device below, then unzip it to a safe directory.
> 2. Connect your device to your computer over USB.
> 3. Start the device in fastboot mode with one of the following methods:
>
>
> * Using the adb tool: With the device powered on, execute:
>
>
>
> ```
> adb reboot bootloader
>
> ```
> * Using a key combo: Turn the device off, then turn it on and immediately hold down the relevant key combination for your device.
> For example, to put a Nexus 5 ("hammerhead") into fastboot mode, press
> and hold Volume Up + Volume Down + Power as the device begins booting
> up.
> 4. If necessary, unlock the device's bootloader by running:
>
>
>
> ```
> fastboot oem unlock
>
> ```
> 5. The target device will show you a confirmation screen. (This erases all data on the target device.)
> 6. Open a terminal and navigate to the unzipped system image directory.
> 7. Execute the `flash-all` script. This script installs the necessary bootloader, baseband firmware(s), and operating system.
>
>
>
If you are using Windows, you will need third-party software to extract the .tgz archive, because Windows does not support it natively. [7zip](http://www.7-zip.org/) is a free (and popular) option.
Upvotes: 2 <issue_comment>username_2: I had similar issue, my device is hanged in booting, it was displaying "Google" logo and it didn't start.
When I tried to update with "adb sideload", I got following error:
```
Finding update package...
Opening update package...
Verifying update package...
E:footer is wrong
E:signature verification failed
Installation aborted.
```
Then, I tried using Nexus tool kit.
I believe, it works in unlocked and rooted mobiles only
Please try your luck by following below steps.
1. Install Nexus Root Toolkit ( I used v2.0.5)
2. Connect your device to PC using USB cable. Make sure your drivers are successfully recognized or just click on 'Full driver installation guide - Automatic + Manual)- don't worry about step 2.
3. Choose your device model and Android version ( I had Android 5.1.0 LMY470)
4. Reboot your device to Bootloader menu, Choose Recovery mode (I had Clockwork recovery mode) > Install zip > Choose `sideload`.
5. Now, click on `Flash Stock + Unroot` > ok > in 'Factory images', choose your required image ( I would recommend don't browse image from PC). In choice section, use "Automatically". In settings section, un-check all. And then click ok. It will download.
6. Once it completes, Nexus toolkit will try to boot to Bootloader menu. Now, you should do it manually by choosing `go back back` > `advanced` > `reboot bootloader`.
That's it, it will install new system.
Please note, first bootup will take much time.
Upvotes: 1 |