date stringlengths 10 10 | nb_tokens int64 60 629k | text_size int64 234 1.02M | content stringlengths 234 1.02M |
|---|---|---|---|
2015/12/10 | 461 | 1,967 | <issue_start>username_0: After upgrading to my Nexus 5 to Marshmallow, I find myself experiencing crashes regularly. The phone screen will go black, and attempts to restart will make it to the home screen for a few seconds before the screen goes black again (regardless of power levels). The only way to restore normal functionality is to hook the phone up to a charger, at which point it will boot without issue.
I have tried clearing up disk space, which did not seem to help. I have tried doing a factory reset (the one via "Settings > Backup & reset > Factory data reset"), but that also does not seem to have stabilized the environment any more. It doesn't happen at regular intervals, nor does it always happen with the same app. I have noticed that it *often* happens while I am using SuperCell apps (CoC or Boom Beach), but that my be correlation rather than causation. It has **never** happened while my phone is plugged in.
All this said, anyone have ideas on what may be causing it or diagnostic steps to take? I tried looking for logs, but haven't found much. Could also be a hardware issue and the update is a red herring, but thought I would ask those with more knowledge before writing my phone off as lost.<issue_comment>username_1: To disable automatically disconnecting from a "poor" WiFi network, you will want to toggle the **Avoid poor Wi-Fi connections** setting.
This can usually be found in **Settings > Wi-Fi > [menu] > Advanced > Avoid poor Wi-Fi connections**.
Upvotes: -1 <issue_comment>username_2: My gateway was not correct. False problem. It's true that Android offers a message as stated in the question comment by Juozas.
Upvotes: 0 <issue_comment>username_3: This shell command works on marshmallow:
type su to enter superuser mode.
Then type the following command: **settings put global captive\_portal\_detection\_enabled 0**
^^ it disables the "drop wifi if no internet connection" functionality.
Upvotes: 4 [selected_answer] |
2015/12/10 | 1,920 | 6,505 | <issue_start>username_0: I did two things to install Xposed. Firstly, I flashed `xposed-v75-sdk21-x86.zip` and then installed the .apk file. I can now uninstall the app itself but how can I erase the flashed file of the .zip?
Also, where are the modules stored? How to delete the modules completely?
Device is LG G3 D855. Running on Cloudy G3 ROM.<issue_comment>username_1: Until KitKat, to disable the framework you need to flash this zip (stored on your `/sd` at installation **Xposed-Disabler-Recovery.zip** .
As far as uninstalling the modules goes, selecting *Modules*, (from installer), long pressing the module(s) to be removed does it in KitKat. Of course, changes take place after reboot, and I am assuming the same holds for higher versions of Android. Modules reside as per [Izzy's comment](https://android.stackexchange.com/questions/131236/how-to-completely-delete-xposed-framework-and-modules/131294#comment163939_131236) for KitKat.
Quoting extracts from [How to Uninstall Xposed Framework on Android Lollipop Guides Aug 21, 2015](http://www.droidviews.com/how-to-uninstall-xposed-framework-on-android-lollipop/):
>
> Xposed Framework on Lollipop needs to be installed manually through a Custom Recovery unlike in Jelly Bean and Kitkat where the Xposed installer apk file would install the framework on your system automatically. So uninstalling Xposed Framework on Lollipop would require you to flash an **Xposed Uninstaller Script using a Custom Recovery like TWRP or CWM.**... Take note that **Xposed Uninstaller are different for different devices like arm, arm64, x86.** Find the Uninstaller Script for your device in the Downloads section. Also, Uninstaller Scripts are different for Android versions 5.0 (SDK 21) and 5.1 (SDK 22).
>
>
>
It further provides uninstall instructions and scripts.
I am on KitKat and have no way of testing this. It was a coincidence reading this and later seeing your question.
Upvotes: 1 <issue_comment>username_2: **Note:** provided that you end up at this post in search of solving the bootloop issue caused by an Xposed module, my answer [here](https://android.stackexchange.com/a/130731/96277) would better help you .
---
For any Android Lollipop
========================
>
> I can now uninstall the app itself but how can I erase the flashed file of the .zip?
>
>
>
See the attached files in the first post of [this thread](http://forum.xda-developers.com/showthread.php?t=3034811). In relevance to your device's CPU architecture, download the uninstaller archive and flash it from the custom recovery. It would undo the changes the installer archive made.
In essence, the installer archive keeps the original system files but appends in their name `.orig` or convert them into archives (unofficial installers do). It then places its modified files at their location. All uninstaller does is remove the modified and extra files and change the backed up files back to their original self.
Relevant section from the uninstaller script
```
echo "- Restoring/removing files"
rm -f /system/xposed.prop
rm -f /system/framework/XposedBridge.jar
restore_link /system/bin/app_process32 0 2000 0755 u:object_r:zygote_exec:s0
restore_backup /system/bin/dex2oat 0 2000 0755 u:object_r:dex2oat_exec:s0
restore_backup /system/bin/oatdump 0 2000 0755
restore_backup /system/bin/patchoat 0 2000 0755 u:object_r:dex2oat_exec:s0
restore_backup /system/lib/libart.so 0 0 0644
restore_backup /system/lib/libart-compiler.so 0 0 0644
restore_backup /system/lib/libart-disassembler.so 0 0 0644
restore_backup /system/lib/libsigchain.so 0 0 0644
restore_backup /system/lib/libxposed_art.so 0 0 0644
if [ $IS64BIT ]; then
restore_link /system/bin/app_process64 0 2000 0755 u:object_r:zygote_exec:s0
restore_backup /system/lib64/libart.so 0 0 0644
restore_backup /system/lib64/libart-compiler.so 0 0 0644
restore_backup /system/lib64/libart-disassembler.so 0 0 0644
restore_backup /system/lib64/libsigchain.so 0 0 0644
restore_backup /system/lib64/libxposed_art.so 0 0 0644
fi
```
If you've the knowledge of setting the appropriate SELinux context for a file in Android from recovery mode, you can simply map the files the installer would've changed, revert the changes using command-line and set the correct context. No uninstaller would be required.
**Note:** If you're not using the official Xposed Framework then the uninstaller may not work for you. It may even cause unforeseen issues. Best is to search the web for the uninstaller.
>
> Also, where are the modules stored?
>
>
>
* Xposed Installer app downloads the modules under `/sdcard/Download`.
* They may be called modules [but they simply are apps to Android](https://github.com/rovo89/XposedBridge/wiki/Development-tutorial#creating-the-project), hence the APK would be found under `/data/app` or the locations covered [here](https://android.stackexchange.com/a/28231/96277) by Izzy. Alike every app, there data directory would be found under `/data/data`.
>
> How to delete the modules completely?
>
>
>
Deleting an Xposed module is no different than removing any user installed app from Android. So, you can use any technique that you would use to remove an ordinary app.
Note that the file `XposedBridge.jar` under `/system/framework/` is what provides modules the necessary APIs to interact with the modified framework.
---
For Android 4.2.x - 4.4.x
=========================
Use the file [`Xposed-Disabler-Recovery.zip`](http://forum.xda-developers.com/showpost.php?p=52632524&postcount=5) located at `/sdcard/Android/data/de.robv.android.xposed.installer/files`. Flash that file from recovery mode (requires a custom recovery) to disable Xposed Framework. If you don't have such file, download it from the first post of the [official thread](http://forum.xda-developers.com/xposed/xposed-installer-versions-changelog-t2714053).
That archive, in essence, changes `/system/bin/app_process.orig` to `/system/bin/app_process` i.e. it removes the modified `app_process` and brings the original file back to its glory. It doesn't delete the Installer app. You can make those changes on your own too using adb in recovery mode.
The concept of modules here is no different from what is covered in the above section.
Upvotes: 3 [selected_answer] |
2015/12/11 | 741 | 2,845 | <issue_start>username_0: I got an old phone: an HTC WildFire S. Everything works fine, except that the power button has gone bad. Can I start the phone from my computer over a USB connection somehow?<issue_comment>username_1: When your phone is not turned on it can't have a adb service running (Disregarding the possible technical difficulties it would also be a security issue.)
Try the following instead:
1. Take out your battery and connect the phone to a charger
2. Your phone should now turn on.
3. Insert your battery.
4. Hold power button (+).
Your device should boot now. I'm not sure if this will work for you but i booted my old ZTE Blade using these steps.
Upvotes: -1 <issue_comment>username_2: Probably not
============
Many PCs can be woken from sleep mode via a keypress. Some, if configured to allow "wake on LAN", can even be woken via a specially-composed Ethernet packet.
I'm unaware of any way to force an Android device to power on using a special USB command.
What to try
===========
* You can try removing and reinstalling the battery.
* Or you can try connecting the phone to a charger; there might be a slim chance that this will force it to power on.
* If that doesn't work, you can try a Google search for [ [how to power up Android phone without power button](https://www.addictivetips.com/android/turn-on-an-android-phone-with-a-broken-power-button/) ]. You'll find lots of results, including [an article on the AddictiveTips website](https://www.addictivetips.com/android/turn-on-an-android-phone-with-a-broken-power-button/) and many others. These articles have additional suggestions which I haven't mentioned. Maybe one of the articles has a tip which can help you.
What next
=========
If none of the aforementioned ideas help, you can then either:
* Attempt to repair the phone yourself.
* Pay a technician to repair it.
* Or try to sell it (at a discount) to a local shop, which can then try to fix it.
Upvotes: 1 <issue_comment>username_3: most of flash tools have a "reboot after flash" option. here is example for Mediatek devices
* install fastboot
* install VCOM preloader drivers
* open scatter file with SP Flash Tool
* add new entry for EMMC\_USER (with start address and size of boot partition) at Read back option
* click readback (start)
* connect phone (readback will start as soon as preloader is detected)
* insert battery
* hold Volume button (down = fastboot, up = recovery)
* disconnect phone (after readback finished)
* connect phone (phone reboots)
* still hold Volume button until phone booted into fastboot or recovery
* boot into bootloader (from recovery)
* while in fastboot mode type in cmd.exe
fastboot oem off-mode-charge 0
this works similar for flashing stock rom (tools without readback option). for samsung devices (no fastboot) a JIG dongle may help
Upvotes: 1 |
2015/12/11 | 918 | 3,586 | <issue_start>username_0: I have a Galaxy SIII (Android 4.3) phone on the Vodafone network (UK). I was using WiFi when available and mobile data occasionally. It all worked fine. When on mobile data, I would see an icon on the top bar showing a little letter H with two arrows underneath.
But now the mobile data has sort-of stopped working. I say sort of because it appears that I can still turn mobile data on, and I still get the little H with two arrows, but none of my apps that use data appear to actually be able to communicate with the internet. I don't actually get any "no connection" messages, instead, I just get rotating wheels and other indicators that they're trying to get something that's not arriving.
If I switch back to wifi then everything starts working again.
Any ideas?
**EDIT:** I have not installed any custom ROM. The phone is not rooted.
**EDIT:** I just called vodafone, who suggested a variety of things that made no difference. Now they've said it may be a fault in my SIM card and are sending me a new one.
**EDIT:** New sim card arrived. No difference. More calls to vodafone, multiple suggestions... nothing has worked.
**EDIT:** Tried sim in Galaxy SII... all symptoms identical. Saw little H icon (sometimes flipping to "H+" or "3G"), but no mobile data getting through.
**SOLVED!** it suddenly started working again. I suspect it was a fault at vodafone's end and my last call to tech support induced someone there to correct the fault.<issue_comment>username_1: **TLDR: use a SIM with a different number (no matter if Vodafone or a different service).**
We see a symptom (no net), but we have to find out the cause first, to solve the problem. So let's think step by step, what the problem could be.
* **Faulty phone?**
* No, your other phone (the SII) doesn't work either (using the same SIM).\*
* **Faulty SIM?**
* No, you have already tried a new SIM.
* **Faulty cellular tower?**
* No, you have already tried an other tower (by changing location).
* **Faulty Vodafone?**
* Likely, because I'm sure they have net, and you're sure that they have to give you net (data limit hadn't been reached), plus we've found out in the previous questions that it isn't about the net is stuck between you and them. The only problem here is that you have already asked them, so they should have investigated the issue. But I'm sure they will take a next - more in-depth - look, since all the other possibilites are crossed out now.
I advise you to call Vodafone again, tell them that your phone is ok, your SIM is ok, the local tower is ok, your data subscription is ok, and then there is nothing left to do: they have to accept the fact that there is something wrong with their service. Until that, use a SIM with a different number, I'm sure it'll work in your current phone.
\* To be 100% that your phone is ok, try a different SIM with a **different number**. I think the new number can still be Vodafone, because only your current account is affected (your current number), not the whole infrastructure. However, if you don't want to experiment (and your phone is unlocked), you can immediately get a SIM from an other company, as Firelord suggested in a comment below. (So that you are safe, even if the whole Vodafone system is damaged.)
Upvotes: 3 <issue_comment>username_2: If you've not considered, put a new SIM card into your phone and if it works, then the network is messing up. It might sound impossible but your network is likely messing up.
Try a different network. If it works, then Vodafone's network is the culprit.
Upvotes: 0 |
2015/12/11 | 679 | 2,590 | <issue_start>username_0: I need to know how to un-**softbrick** the Samsung Galaxy Core Prime. I don't know how it got bricked, I was just asked to fix it. It looks like a bootloop issue. The Product name is **SM-G360V**. I have already attempted flashing TWRP on it with Odin3, but it fails saying `SECURE CHECK FAIL : recovery` and the next line is `Custom Binary(recovery) Blocked By R/L`. I have no idea how to flash a custom ROM (of which I can't find) without a custom recovery.<issue_comment>username_1: **TLDR: use a SIM with a different number (no matter if Vodafone or a different service).**
We see a symptom (no net), but we have to find out the cause first, to solve the problem. So let's think step by step, what the problem could be.
* **Faulty phone?**
* No, your other phone (the SII) doesn't work either (using the same SIM).\*
* **Faulty SIM?**
* No, you have already tried a new SIM.
* **Faulty cellular tower?**
* No, you have already tried an other tower (by changing location).
* **Faulty Vodafone?**
* Likely, because I'm sure they have net, and you're sure that they have to give you net (data limit hadn't been reached), plus we've found out in the previous questions that it isn't about the net is stuck between you and them. The only problem here is that you have already asked them, so they should have investigated the issue. But I'm sure they will take a next - more in-depth - look, since all the other possibilites are crossed out now.
I advise you to call Vodafone again, tell them that your phone is ok, your SIM is ok, the local tower is ok, your data subscription is ok, and then there is nothing left to do: they have to accept the fact that there is something wrong with their service. Until that, use a SIM with a different number, I'm sure it'll work in your current phone.
\* To be 100% that your phone is ok, try a different SIM with a **different number**. I think the new number can still be Vodafone, because only your current account is affected (your current number), not the whole infrastructure. However, if you don't want to experiment (and your phone is unlocked), you can immediately get a SIM from an other company, as Firelord suggested in a comment below. (So that you are safe, even if the whole Vodafone system is damaged.)
Upvotes: 3 <issue_comment>username_2: If you've not considered, put a new SIM card into your phone and if it works, then the network is messing up. It might sound impossible but your network is likely messing up.
Try a different network. If it works, then Vodafone's network is the culprit.
Upvotes: 0 |
2015/12/11 | 879 | 3,674 | <issue_start>username_0: I have experience with Windows, the MacOS, the iPad and Linux UI's like KDE. I have not used an Android device however so I do not really understand how it works and compares. My general understanding is that it is similar to Gnome-like Linux interfaces, but I guess there must be some differences since Android has a layer of Java, [the Dalvik/ART virtual machine](https://en.wikipedia.org/wiki/Android_Runtime), between the Linux kernel and the UI elements.
I have read the Android [developer overview to the UI](http://developer.android.com/guide/topics/ui/overview.html) but that has not really helped me understand how the UI operates from a workflow basis.
Obviously I could just buy an Android tablet and use it for a few months, but I am hoping there is some way for me to understand the Android UI and how it differs from other major UIs. How can I get this knowledge?<issue_comment>username_1: Only by using Android device.
If you don't want to buy a tablet or phone, just install Android emulator like Genymotion, Bluestacks or a classic emulator from Android SDK, but none of these would give you the great experience as using and playing with real device.
You can also watch many tutorials like
[Android Development for Beginners](https://www.udacity.com/course/android-development-for-beginners--ud837)
which provides you a some useful information, but no direct experience
I'm saying this not only as a Android fan, but also as experienced Android Developer
Upvotes: 1 <issue_comment>username_2: On **Linux** OSes kernel starts `init` which starts `getty` which starts [`login`](http://man7.org/linux/man-pages/man1/login.1.html) process on virtual console(s). There a user can login on CLI and a shell (like `bash`) is opened for command execution. In [windowing system](https://en.wikipedia.org/wiki/Windowing_system), `init` starts a [Display Server](https://en.wikipedia.org/wiki/Display_server) like Xorg or Wayland and `login` is replaced with a graphical [Display Manager](https://en.wikipedia.org/wiki/X_display_manager) like SDDM or GDM which asks for user credential on GUI. After authentication a Desktop Environment e.g. KDE or GNOME is started which starts its [Window Manager](https://en.wikipedia.org/wiki/Window_manager) and shows components like Desktop, Task Bar / Panel, Widgets, Notifications, and windows of applications such as a File Explorer, Web Browser, Terminal Emulator etc.
**Android** is primarily designed for a single user, so there's no concept of CLI login. In fact virtual terminals/consoles are disabled in kernel by default. `init` - after starting all native services including Surface Flinger (Android's Display Server) - starts a service named `zygote` which is a special process to fork Java-like Virtual Machines. Android's core framework (`system_server`) and all apps run in separate instances of VMs. `system_server` starts apps which are configured to run on boot, including many system apps.
So what we see after the boot animation ends is **System UI** app. This app is responsible for showing lock screen, status bar, notifications etc. `system_server` has 100+ Java services running inside it including Activity Manager, Permissions Manager and Window Manager. WM communicates with Surface Flinger to draw surfaces on screen as requested by `system_server` and apps. Another core component we see is a **Home** or **Launcher** app which is somewhat like a Desktop. It shows, at least, icons of all installed apps and forwards the request to `system_server` for launching/showing the app when we tap an app icon. So everything we see on an Android device is an app.
Upvotes: 3 |
2015/12/12 | 769 | 3,166 | <issue_start>username_0: If I don't have John in my phone contacts (and thus I don't have him in my WhatsApp contacts), and then I open WhatsApp main window, will John see me online? I know my contacts will, but will John?
By "see me online" I mean: if he opens the conversation view with me, will he see the "online" label under my name?
Note: Suppose John has my phone number in his contacts.<issue_comment>username_1: Only by using Android device.
If you don't want to buy a tablet or phone, just install Android emulator like Genymotion, Bluestacks or a classic emulator from Android SDK, but none of these would give you the great experience as using and playing with real device.
You can also watch many tutorials like
[Android Development for Beginners](https://www.udacity.com/course/android-development-for-beginners--ud837)
which provides you a some useful information, but no direct experience
I'm saying this not only as a Android fan, but also as experienced Android Developer
Upvotes: 1 <issue_comment>username_2: On **Linux** OSes kernel starts `init` which starts `getty` which starts [`login`](http://man7.org/linux/man-pages/man1/login.1.html) process on virtual console(s). There a user can login on CLI and a shell (like `bash`) is opened for command execution. In [windowing system](https://en.wikipedia.org/wiki/Windowing_system), `init` starts a [Display Server](https://en.wikipedia.org/wiki/Display_server) like Xorg or Wayland and `login` is replaced with a graphical [Display Manager](https://en.wikipedia.org/wiki/X_display_manager) like SDDM or GDM which asks for user credential on GUI. After authentication a Desktop Environment e.g. KDE or GNOME is started which starts its [Window Manager](https://en.wikipedia.org/wiki/Window_manager) and shows components like Desktop, Task Bar / Panel, Widgets, Notifications, and windows of applications such as a File Explorer, Web Browser, Terminal Emulator etc.
**Android** is primarily designed for a single user, so there's no concept of CLI login. In fact virtual terminals/consoles are disabled in kernel by default. `init` - after starting all native services including Surface Flinger (Android's Display Server) - starts a service named `zygote` which is a special process to fork Java-like Virtual Machines. Android's core framework (`system_server`) and all apps run in separate instances of VMs. `system_server` starts apps which are configured to run on boot, including many system apps.
So what we see after the boot animation ends is **System UI** app. This app is responsible for showing lock screen, status bar, notifications etc. `system_server` has 100+ Java services running inside it including Activity Manager, Permissions Manager and Window Manager. WM communicates with Surface Flinger to draw surfaces on screen as requested by `system_server` and apps. Another core component we see is a **Home** or **Launcher** app which is somewhat like a Desktop. It shows, at least, icons of all installed apps and forwards the request to `system_server` for launching/showing the app when we tap an app icon. So everything we see on an Android device is an app.
Upvotes: 3 |
2015/12/12 | 715 | 2,952 | <issue_start>username_0: I have Moto G 1st Gen now the problem is charging is very slow it takes about 3 2 and half hours to full charge
what to do now? should i buy new battery..??<issue_comment>username_1: Only by using Android device.
If you don't want to buy a tablet or phone, just install Android emulator like Genymotion, Bluestacks or a classic emulator from Android SDK, but none of these would give you the great experience as using and playing with real device.
You can also watch many tutorials like
[Android Development for Beginners](https://www.udacity.com/course/android-development-for-beginners--ud837)
which provides you a some useful information, but no direct experience
I'm saying this not only as a Android fan, but also as experienced Android Developer
Upvotes: 1 <issue_comment>username_2: On **Linux** OSes kernel starts `init` which starts `getty` which starts [`login`](http://man7.org/linux/man-pages/man1/login.1.html) process on virtual console(s). There a user can login on CLI and a shell (like `bash`) is opened for command execution. In [windowing system](https://en.wikipedia.org/wiki/Windowing_system), `init` starts a [Display Server](https://en.wikipedia.org/wiki/Display_server) like Xorg or Wayland and `login` is replaced with a graphical [Display Manager](https://en.wikipedia.org/wiki/X_display_manager) like SDDM or GDM which asks for user credential on GUI. After authentication a Desktop Environment e.g. KDE or GNOME is started which starts its [Window Manager](https://en.wikipedia.org/wiki/Window_manager) and shows components like Desktop, Task Bar / Panel, Widgets, Notifications, and windows of applications such as a File Explorer, Web Browser, Terminal Emulator etc.
**Android** is primarily designed for a single user, so there's no concept of CLI login. In fact virtual terminals/consoles are disabled in kernel by default. `init` - after starting all native services including Surface Flinger (Android's Display Server) - starts a service named `zygote` which is a special process to fork Java-like Virtual Machines. Android's core framework (`system_server`) and all apps run in separate instances of VMs. `system_server` starts apps which are configured to run on boot, including many system apps.
So what we see after the boot animation ends is **System UI** app. This app is responsible for showing lock screen, status bar, notifications etc. `system_server` has 100+ Java services running inside it including Activity Manager, Permissions Manager and Window Manager. WM communicates with Surface Flinger to draw surfaces on screen as requested by `system_server` and apps. Another core component we see is a **Home** or **Launcher** app which is somewhat like a Desktop. It shows, at least, icons of all installed apps and forwards the request to `system_server` for launching/showing the app when we tap an app icon. So everything we see on an Android device is an app.
Upvotes: 3 |
2015/12/12 | 616 | 2,263 | <issue_start>username_0: After doing something wrong while installing CyanogenMod 13, I flashed a google marshmallow stock rom. I wanted to go back to CyanogenMod 12, so I backed up my data using CWM recovery, factory reset, and installed CM12. After making sure it was working, I flashed Gapps and restored from my recovery. My apps were back, but I was also back with the google stock rom. Is there any way to only back up the app data?<issue_comment>username_1: You can use Titanium Backup Pro to backup the apk file as well as data of your apps.Otherwise, if you want to backup just the apk files, you can use App Backup Restore.You can also copy the apk files from \data\app to your SD card via a suitable file explorer like Root Explorer or ES File Explorer.
Upvotes: 0 <issue_comment>username_2: As mentioned in the comments by Firelord and me, there are multiple approaches:
* you could use [Titanium Backup](https://play.google.com/store/apps/details?id=com.keramidas.TitaniumBackup)
* you could use [ES File Manager](https://play.google.com/store/apps/details?id=com.estrongs.android.pop), which includes an app manager capable of backing up apps and their data
* you could use [ADB backup](https://android.stackexchange.com/q/28296/16575)
* You could use [Adebar](https://github.com/username_2Soft/Adebar) to make the previous step easier
*TiBu* and *ES File Manager* require root to work. ADB and *Adebar* don't.
*Adebar* a.o. creates a script to backup each of your (user) apps into a separate archive using `adb backup` (and another one for the data of system apps, and two others for restore). While you could do a similar thing with TiBu (which uses its own backup format), *Adebar* runs from the command line while with TiBu you must use a GUI. Side effect from using *Adebar:* you'll have your device documented: tech specs, apps installed, etc :)
*Adebar* is pretty easy to install, but will require [adb](/questions/tagged/adb "show questions tagged 'adb'") to be available on your computer (see our [adb tag-wiki](https://android.stackexchange.com/tags/adb/info) for details on that). It runs fine on Linux, and recently was reported to run on Windows as well via Cygwin.
Disclaimer: I'm the dev of *Adebar.*
Upvotes: 4 [selected_answer] |
2015/12/12 | 724 | 2,476 | <issue_start>username_0: I used [Texdroider DPI](https://play.google.com/store/apps/details?id=com.texdroider.texdroider_dpi) to change the dpi from `320` to `300` and after the reboot it gets stuck at the lenovo logo. I could just flash it again but i don't have the rom on this pc, and it will take 10h to download it.
Is there any faster way to reset the dpi? I have TWRP installed. With android 5.0.1.
Edit:
Output of `cat /system/build.prop | grep density` is `ro.sf.lcd_density=300`
Tried editing [build.prop](http://pastebin.com/uWhckDpY) back to 320 with Sublime Text. Now the command returns `ro.sf.lcd_density=320` but it still gets stuck.<issue_comment>username_1: You can use Titanium Backup Pro to backup the apk file as well as data of your apps.Otherwise, if you want to backup just the apk files, you can use App Backup Restore.You can also copy the apk files from \data\app to your SD card via a suitable file explorer like Root Explorer or ES File Explorer.
Upvotes: 0 <issue_comment>username_2: As mentioned in the comments by Firelord and me, there are multiple approaches:
* you could use [Titanium Backup](https://play.google.com/store/apps/details?id=com.keramidas.TitaniumBackup)
* you could use [ES File Manager](https://play.google.com/store/apps/details?id=com.estrongs.android.pop), which includes an app manager capable of backing up apps and their data
* you could use [ADB backup](https://android.stackexchange.com/q/28296/16575)
* You could use [Adebar](https://github.com/username_2Soft/Adebar) to make the previous step easier
*TiBu* and *ES File Manager* require root to work. ADB and *Adebar* don't.
*Adebar* a.o. creates a script to backup each of your (user) apps into a separate archive using `adb backup` (and another one for the data of system apps, and two others for restore). While you could do a similar thing with TiBu (which uses its own backup format), *Adebar* runs from the command line while with TiBu you must use a GUI. Side effect from using *Adebar:* you'll have your device documented: tech specs, apps installed, etc :)
*Adebar* is pretty easy to install, but will require [adb](/questions/tagged/adb "show questions tagged 'adb'") to be available on your computer (see our [adb tag-wiki](https://android.stackexchange.com/tags/adb/info) for details on that). It runs fine on Linux, and recently was reported to run on Windows as well via Cygwin.
Disclaimer: I'm the dev of *Adebar.*
Upvotes: 4 [selected_answer] |
2015/12/12 | 217 | 910 | <issue_start>username_0: I accidentally deleted my keyboard through king root how I install keyboard which is permanent and not removed by restoring<issue_comment>username_1: May be there is a better solution, but I suggest (avoid messing with android system files) to reinstall *stock firmware* on your device using *fastboot* program and remember to take backup of your files to your google account.
If you don't know how to make boot and reinstall android firmware, I can help you that.
Upvotes: 0 <issue_comment>username_2: I had the same problem. Go to Google Play Store and uninstall, then reinstall Google Keyboard. Fixed the problem.
Upvotes: 1 <issue_comment>username_3: Open Google Play Store. Tap on the menu icon in the upper left corner. Tap on My Apps and Games. You will see "Installed" and "All." Tap on "All." Scroll until you see Google Keyboard. Tap "Enable" and re-download it.
Upvotes: 1 |
2015/12/12 | 304 | 1,405 | <issue_start>username_0: Today I discovered one incredibly useful app that allows you to remote control your computer using your mobile phone. However, you need to be connected to the internet on both the phone and the computer and the problem is I only have a limited amount of data to use every month on my phone which would probably last me about a week if I were to use this app everyday. Is it possible to remote control a computer from far away without being connected to the Internet on the mobile phone? I really hope it is.<issue_comment>username_1: **No, there isn't.**
The internet is what allows computers to connect to each other when they are not on the same network. This would technically be possible if both devices were connected to the same network (most commonly the same router or ethernet hookup), but when your device is connected to a cellular connection, the internet it is the only way to connect your computer and phone.
Upvotes: 1 <issue_comment>username_2: **No.** The reason you need your *limited data* is because that is how the data gets transferred from one device to another. Through internet. In order to send commands (which are basically data packages) to a device, you have to have a connection with that device. That connection is internet. There are other forms of data transfer methods of course (i.e. radiowaves) however that is no use in this case.
Upvotes: 0 |
2015/12/13 | 772 | 3,016 | <issue_start>username_0: I would like to know if Android devices make active or passive scan when looking for the AP to connect. I've already made a test using Wireshark and wifi sniffer and it seems that while an iPhone sends Probe Request frames to discover available APs (active scan), my Android device sometimes sends Probe Request frame, but most of the times it does not send Probe Request frames at all, but waits for the AP to send a Beacon frame (passive scan).
I've been looking for some official info/documentation concerning this topic, but haven't found anything useful yet. I would be very grateful if someone could provide me with the answer to this question.<issue_comment>username_1: The only "official" explanation I found is in [this comment](https://android.googlesource.com/platform/frameworks/base/+/a5ec95cdb1a7d2024249277dff1f99d0046c9b56) (dated July 2009) in the Git repositories on android:
>
> wifi: **WifiManager.startScan() will now do passive scans by default**.
>
>
> Active scans will only happen if an hidden AP is in use, or if the new method
> *WifiManager.startScanActive()* is called.
>
>
>
The existence of an hidden function to start an active scan (reported [here](https://github.com/mozilla/MozStumbler/issues/40)) suggests that the normal scanning function is indeed passive. This is to be taken with a grain of salt, though, as the Android documentation doesn't explicitly tell if the function *WifiManager.startScan()* is passive or not.
Also related: this two posts on SO ([post 1](https://stackoverflow.com/questions/3439811/do-android-devices-scan-actively-for-wifi-networks?rq=1), [post 2](https://stackoverflow.com/questions/24670963/how-to-active-scan-wifi-in-android)) report that the scanning activity is passive (post 1) and that since android 4.3 it not even possible to call the active scan method (post 2) - but there is no link to official sources.
Upvotes: 4 [selected_answer]<issue_comment>username_2: I have been searching for the official document for an exact answer too. But I couldn't find any. Hence I'm writing this base my own assumption.
I believe a client device(mobile in this case) does both the active and passive scan.
My reasons are as below:
1. When a mobile activates the WiFi interface, it needs to scan for the beacons by nearby AP so that the available SSIDs will be listed for connection. This is a passive scanning mode.
2. A mobile which has been connected to several SSIDs before will bust the probe request frames(with all the SSIDs) to nearby AP and if the SSID match, the AP will respond to the probe request and the connection/authentication process will begin. This is an active scanning mode.
3. Special case for the AP with hidden SSID. When the user manually connecting to the hidden SSID, the mobile device will generate a probe request and broadcast it to the nearby AP. When the SSID matched any of the AP, it will follow by connection/authentication process. This is an active scanning mode too.
Upvotes: 1 |
2015/12/13 | 276 | 1,148 | <issue_start>username_0: I am *really* excited for the [permission control](https://support.google.com/googleplay/answer/6270602?hl=en) feature available in Android M. I am considering buying a phone that supports this OS just for that one feature.
However, I am concerned if I will be able to control permissions on the "stock apps" without rooting or flashing my device with a new ROM? Even a Nexus will come with stuff like Google Maps, I am sure. So will I be able to control what Google Maps has access to, for example? What about Samsung devices and the egregious bloatmalware they package with it?<issue_comment>username_1: When using apps which require certain permissions for the first time, the app asks you to grant the permission, which happens with stock apps too. If it doesn't, then permissions for stock apps can be managed in the App Permissions section of the Settings.
Upvotes: 3 [selected_answer]<issue_comment>username_2: Yes you can surely do it starting from Android 6.0. I even played with it trying to download a file from my browser after refusing it storage access and it expectedly crashed. So yes, you can.
Upvotes: 0 |
2015/12/13 | 206 | 913 | <issue_start>username_0: I have game applications opening at what seems like random or after I let my phone sit idle. I then have to close that tab or close all tabs to get back to the home screen so I can use my phone. I have recently downloaded some apps and I suspect this is the cause. How can I get back to normal and keep these games and adds from opening. Thanks!<issue_comment>username_1: When using apps which require certain permissions for the first time, the app asks you to grant the permission, which happens with stock apps too. If it doesn't, then permissions for stock apps can be managed in the App Permissions section of the Settings.
Upvotes: 3 [selected_answer]<issue_comment>username_2: Yes you can surely do it starting from Android 6.0. I even played with it trying to download a file from my browser after refusing it storage access and it expectedly crashed. So yes, you can.
Upvotes: 0 |
2015/12/14 | 360 | 1,438 | <issue_start>username_0: Is there a way of disabling auto-play of video in Chrome? Many sites have moved to HTML5 video and so you have ads or featured videos that start automatically playing the moment the page loads.<issue_comment>username_1: Starting from Chrome 47, there's a Chrome flag that is used to turn media autoplay on/off:
>
> Disable gesture requirement for media playback.
>
>
> Disable user gesture requirement for playing media elements. Activating this will allow autoplay to work.
>
>
>
You can see it by going to this link: [chrome://flags/#disable-gesture-requirement-for-media-playback](http://chrome://flags/#disable-gesture-requirement-for-media-playback);
The default status for the flag is disabled, so autoplay should not work: you should check your Chrome version and eventually update it. I tested with version 47 and autoplay does not work unless you turn on the flag.
Other info [here](http://techdows.com/2015/12/chrome-47-lets-you-disable-defer-media-playback-in-background-tabs.html).
Upvotes: 2 <issue_comment>username_2: Chrome for Android doesn't have an option to disable autoplay. My solution is: Switch to Firefox.
Upvotes: 2 <issue_comment>username_3: On Android Chrome 54, turn off autoplay of media by going to **Settings - Site Settings - Media - Autoplay and Block autoplay**.
This feature is disabled if you have data compression enabled in your Android Chrome browser.
Upvotes: 3 |
2015/12/14 | 776 | 2,862 | <issue_start>username_0: My original battery is bloated and is dying quickly after a full charge so I now bought a replacement. Do I need to calibrate this new battery using a calibration app?<issue_comment>username_1: **No**
Calibration of batteries (Li Ion or Li Po, used in almost all mobile devices) is a myth
You can start using it straight away and charge as you normally did with earlier batteries
This post will help you understand more:
[Looking for a consistent answer about battery calibration](https://android.stackexchange.com/questions/50469/looking-for-a-consistent-answer-about-battery-calibration?s=1|1.8341)
Using calibration apps doesn't really help as the battery files in system (to which these apps write) are renewed and previous data erased when you charge / reboot
As explained in this [article](https://plus.google.com/105051985738280261832/posts/FV3LVtdVxPT)
>
> It [*`Batterystats.bin` file which stores calibration information*] has no impact on the current battery level shown to you.
> It has no impact on your battery life.......it is reset every time you unplug from power with a relatively full charge (thus why the battery usage UI data resets at that point)...
>
>
>
Explanation in Italics mine from the same article
---
Related Myth : Charging a new battery for X hours
-------------------------------------------------
Charging a new battery for x hours before use is a "*legacy hangover*" from the days when Nickel Cadmium batteries were used. Those batteries had a "[memory effect](https://en.m.wikipedia.org/wiki/Memory_effect)". As a result, over a period of time, they "remembered" lesser battery capacity than rated capacity. To prevent this, it was advised to always fully charge these batteries
* This is not the case with Lithium Ion or Lithium polymer batteries. There is no logic to charge fully or x hours before use. Just use the battery normally, as suggested by others in comments
* [Table 1](http://batteryuniversity.com/learn/article/how_to_charge_when_to_charge_table) corroborates with additional information
Upvotes: 5 [selected_answer]<issue_comment>username_2: You don't need a calibration app for that. Just fully charge the battery to 100% (in one run), let it run down to below the 20% mark, the recharge it to 100% (again in one run without interception) – battery calibrated.
And as that describes a "normal day" with recent devices (take it from the charger at 100% in the morning, put it back almost depleted in the evening): No calibration needed at all, you calibrate it as a side-effect :)
All those calibration apps do in addition is removing the `batterystats.bin` file – which doesn't do anything to calibrate the battery (an [old myth](http://www.xda-developers.com/google-engineer-debunks-myth-wiping-battery-stats-does-not-improve-battery-life/) in fact).
Upvotes: 3 |
2015/12/14 | 514 | 1,657 | <issue_start>username_0: There is a mysterious app, `99070` that is consuming power on my Nexus 5X. Any idea how I determine what it is?
There is no option to stop or uninstall it. My phone is a Nexus 5X running stock Android 6.0.
[](https://i.stack.imgur.com/pnu9R.png)
[](https://i.stack.imgur.com/w16Y0.png)<issue_comment>username_1: I suggest contacting Google right away and have them identify the app. Have them tell you what it's called, what does, why it's on the phone, and if there is any real need for it. If not, get Google to remove it.
Upvotes: -1 <issue_comment>username_2: You can open the app list from the boot menu & then find the app & then uninstall it... maybe it is an unidentified process in your phone...
Upvotes: -1 <issue_comment>username_3: I use OS Monitor from the Play Store to see what's going on: <https://play.google.com/store/apps/details?id=com.eolwral.osmonitor&hl=en> .
Here's the Help Page that pops up from the APP. <http://www.osmonitor.mobi/maunal/index.html>
You can view Processes and kill them or see where they connect to (with a Google Maps view of the IP Address - really nice).
Upvotes: -1 <issue_comment>username_4: Possibly right answer:
### It's a sandboxed process from a *removed* app.
For such a number over 99000, it is the Unix UID for an **isolated sandbox process** (`u0_i70`).
In Android's UID system, called "AID". Android allocated 1000 special UIDs for isolated sanbox processes, 99000-99999. Some apps use that for security reasons, like Chrome (Incognito mode).
Upvotes: 2 |
2015/12/14 | 612 | 2,431 | <issue_start>username_0: There are many ads when playing videos on the Youtube app, I have tried many things but nothing works. Is there a way to avoid all the ads?<issue_comment>username_1: Unfortunately, you cannot disable ads on YouTube without rooting your phone,
A workaround for this is to install the [Adblock browser](https://play.google.com/store/apps/details?id=org.adblockplus.browser&hl=en) and watch YouTube videos from there. However, this may be impractical depending on how frequently you watch videos.
Further information is in [this post](http://www.theandroidcop.com/how-to-block-ads-on-youtube-for-android/).
Upvotes: 1 <issue_comment>username_2: Yes. You can avoid YouTube ads (except on paid channels and movies) by subscribing to the paid membership called "[YouTube Red](https://www.youtube.com/red)". This also enables you to save videos and songs for offline playback on a mobile device.
YouTube Red includes a subscription to the "[Google Play Music](https://en.wikipedia.org/wiki/Google_Play_Music)" streaming service. (Or vice versa: If you subscribe to Google Play Music like I do, you get YouTube Red for free.)
The price (currently) is US$9.99 per month.
CNET has a [summary on YouTube Red](http://www.cnet.com/how-to/youtube-red-details/) including a list of supported devices including the Android and iOS apps, Chromecast, Android TV, Apple TV, some game consoles, and some Smart TVs. CNET says YouTube will have some original shows and movies for Red members, if you're interested in that sort of thing.
(This answer sounds like an ad but I'm not a Google employee.)
Upvotes: 1 <issue_comment>username_3: You can use the AdAway apk or use an exposed module called YouTube AdAway, but you will need to have a rooted phone for this.
Upvotes: -1 <issue_comment>username_4: Root your phone with Magisk, and then you can either install Xposed to get youtubeadaway, or some of the more recent modules in magisk. I have a black themed ad blocking app that actually installs over the YouTube app dad got through magisk in addition magisk systemless Lea Roots so you can still enjoy the things like Netflix and Android pay not having to sideload.I have a rooted phone and I get ad-free YouTube and I download YouTube for free. Download the XDA app takeoff look-see at the apps that they have on their site. One of the good ones you're never going to see on Google play. Hope that helps
Upvotes: 0 |
2015/12/15 | 636 | 2,515 | <issue_start>username_0: Is it possible to have different keyboard for different apps, say I want to have Emoji Keyboard for facebook and twitter but Google Indic keyboard for my whatsapp is this possible.
Mobile : HTC Desire 820
OS : Android 5.1<issue_comment>username_1: Unfortunately, you cannot disable ads on YouTube without rooting your phone,
A workaround for this is to install the [Adblock browser](https://play.google.com/store/apps/details?id=org.adblockplus.browser&hl=en) and watch YouTube videos from there. However, this may be impractical depending on how frequently you watch videos.
Further information is in [this post](http://www.theandroidcop.com/how-to-block-ads-on-youtube-for-android/).
Upvotes: 1 <issue_comment>username_2: Yes. You can avoid YouTube ads (except on paid channels and movies) by subscribing to the paid membership called "[YouTube Red](https://www.youtube.com/red)". This also enables you to save videos and songs for offline playback on a mobile device.
YouTube Red includes a subscription to the "[Google Play Music](https://en.wikipedia.org/wiki/Google_Play_Music)" streaming service. (Or vice versa: If you subscribe to Google Play Music like I do, you get YouTube Red for free.)
The price (currently) is US$9.99 per month.
CNET has a [summary on YouTube Red](http://www.cnet.com/how-to/youtube-red-details/) including a list of supported devices including the Android and iOS apps, Chromecast, Android TV, Apple TV, some game consoles, and some Smart TVs. CNET says YouTube will have some original shows and movies for Red members, if you're interested in that sort of thing.
(This answer sounds like an ad but I'm not a Google employee.)
Upvotes: 1 <issue_comment>username_3: You can use the AdAway apk or use an exposed module called YouTube AdAway, but you will need to have a rooted phone for this.
Upvotes: -1 <issue_comment>username_4: Root your phone with Magisk, and then you can either install Xposed to get youtubeadaway, or some of the more recent modules in magisk. I have a black themed ad blocking app that actually installs over the YouTube app dad got through magisk in addition magisk systemless Lea Roots so you can still enjoy the things like Netflix and Android pay not having to sideload.I have a rooted phone and I get ad-free YouTube and I download YouTube for free. Download the XDA app takeoff look-see at the apps that they have on their site. One of the good ones you're never going to see on Google play. Hope that helps
Upvotes: 0 |
2015/12/15 | 649 | 2,584 | <issue_start>username_0: I have a Nokia X running Android 4.4.4 and I have Terminal Emulator and Busybox 1.24 installed but I can't still find some useful commands to perform several operations with the command line interface.That's my question:what's the best and the most complete shell utilities to install? Thanks<issue_comment>username_1: Unfortunately, you cannot disable ads on YouTube without rooting your phone,
A workaround for this is to install the [Adblock browser](https://play.google.com/store/apps/details?id=org.adblockplus.browser&hl=en) and watch YouTube videos from there. However, this may be impractical depending on how frequently you watch videos.
Further information is in [this post](http://www.theandroidcop.com/how-to-block-ads-on-youtube-for-android/).
Upvotes: 1 <issue_comment>username_2: Yes. You can avoid YouTube ads (except on paid channels and movies) by subscribing to the paid membership called "[YouTube Red](https://www.youtube.com/red)". This also enables you to save videos and songs for offline playback on a mobile device.
YouTube Red includes a subscription to the "[Google Play Music](https://en.wikipedia.org/wiki/Google_Play_Music)" streaming service. (Or vice versa: If you subscribe to Google Play Music like I do, you get YouTube Red for free.)
The price (currently) is US$9.99 per month.
CNET has a [summary on YouTube Red](http://www.cnet.com/how-to/youtube-red-details/) including a list of supported devices including the Android and iOS apps, Chromecast, Android TV, Apple TV, some game consoles, and some Smart TVs. CNET says YouTube will have some original shows and movies for Red members, if you're interested in that sort of thing.
(This answer sounds like an ad but I'm not a Google employee.)
Upvotes: 1 <issue_comment>username_3: You can use the AdAway apk or use an exposed module called YouTube AdAway, but you will need to have a rooted phone for this.
Upvotes: -1 <issue_comment>username_4: Root your phone with Magisk, and then you can either install Xposed to get youtubeadaway, or some of the more recent modules in magisk. I have a black themed ad blocking app that actually installs over the YouTube app dad got through magisk in addition magisk systemless Lea Roots so you can still enjoy the things like Netflix and Android pay not having to sideload.I have a rooted phone and I get ad-free YouTube and I download YouTube for free. Download the XDA app takeoff look-see at the apps that they have on their site. One of the good ones you're never going to see on Google play. Hope that helps
Upvotes: 0 |
2015/12/15 | 235 | 999 | <issue_start>username_0: I have a droid turbo and i bought a sd card reader to plug in an sd card from my game cameras into my phone so i can see these pictures without bringing my laptop to my cabin. But i cant find anything on any file manager that can move these pictures to my phone from the sd card?<issue_comment>username_1: Try connecting another card reader and/or SD cards from a different manufacturer, it seems to be a frequent problem with Droid Turbo. AFAIK Kingston SD cards work more often then not.
Upvotes: 1 <issue_comment>username_2: What kind of card reader is it? Is it made for your android? If not, it may need to be powered and your android isn't giving it enough power.
Typically when a 3rd party storage device is connected via micro-USB to an android device, the android will recognize it and you can navigate to it via the file browser. It may be considered a USB device though, so go through the root of the device to make sure it's not actually showing up.
Upvotes: 0 |
2015/12/15 | 262 | 1,107 | <issue_start>username_0: I have an Android device that has a 4:3 aspect ratio.
When I watch videos in full screen mode, sometimes the aspect ratio causes the video to be distorted.
Is there a way to temporarily adjust the aspect ratio?
I can see a couple different solutions:
1. Adjust the actual aspect ratio.
2. Add a black bar on the top / bottom of the display that effectively changes the aspect ratio.<issue_comment>username_1: Try connecting another card reader and/or SD cards from a different manufacturer, it seems to be a frequent problem with Droid Turbo. AFAIK Kingston SD cards work more often then not.
Upvotes: 1 <issue_comment>username_2: What kind of card reader is it? Is it made for your android? If not, it may need to be powered and your android isn't giving it enough power.
Typically when a 3rd party storage device is connected via micro-USB to an android device, the android will recognize it and you can navigate to it via the file browser. It may be considered a USB device though, so go through the root of the device to make sure it's not actually showing up.
Upvotes: 0 |
2015/12/16 | 285 | 1,179 | <issue_start>username_0: I think I've bricked my Nexus 6. Every time I turn it on, the teamwin (TWRP) splash screen keeps literally flashing on and off. I would be able to flash a stock system on but I can't due to the fact that the bootloader oem is locked. I have no clue what to do as my knowledge in this is limited. Does anyone have any suggestions as how I could possibly unlock the bootloader? I have found no way to get into android and get into developer options to allow it.<issue_comment>username_1: Try connecting another card reader and/or SD cards from a different manufacturer, it seems to be a frequent problem with Droid Turbo. AFAIK Kingston SD cards work more often then not.
Upvotes: 1 <issue_comment>username_2: What kind of card reader is it? Is it made for your android? If not, it may need to be powered and your android isn't giving it enough power.
Typically when a 3rd party storage device is connected via micro-USB to an android device, the android will recognize it and you can navigate to it via the file browser. It may be considered a USB device though, so go through the root of the device to make sure it's not actually showing up.
Upvotes: 0 |
2015/12/16 | 2,939 | 12,100 | <issue_start>username_0: There are quite a few app based rooting methods. A recent review [9 free software apps to root Android devices](http://www.3ptechies.com/mobile/android/9-best-software-apps-to-root-android-devices.html), points to some of them and there may be more apps, paid or otherwise.
From what I understand,
**Plus Points**
1. Ease of rooting
2. Don't need a laptop or computer
**Minuses**
1. Based on exploits, so may not work if exploits are denied by OS updates
2. Difficulty in unrooting (as I see on some forums for my device Huawei Honor 6)
**Questions:**
* What are the pros and cons apart from above?
* If a device has both options - app based rooting and rooting by methods by developers, which one should I opt for?
**Note:** I am not seeking app suggestion or recommendation.<issue_comment>username_1: On request by OP, some details [from chat](http://chat.stackexchange.com/transcript/message/26321102#26321102):
Good question, but hard to answer: there are a few more things to consider.
1. it's not just "app based versus USB" – and even your "Difficulty in unrooting" is not necessarily the fault of "app based" in general, but rather that of a specific app causing that difficulty.
2. From a security point of view: if there's an app that can root my device – who says another app doesn't just do that without my consent? We all know there's malware out there doing exactly that (in order to integrate itself as system app, to be protected against factory-reset).
3. However, if there's no such app (and in the hope that's because it cannot be done by an app on this device/ROM), it's much harder for such malware. If then there's an easy method via USB, I feel a little safer :) It's rather unlikely some other app manages to attach an USB cable, download something to my computer, and runs that combo to do harm.
So above might count as "contra app-based" – but if such an app already exists for the device in question, there's not much we can do about. Even if we say "it's safer the other way round", that doesn't protect us against #2. Sure, we can check that before buying a device – but who says such an app doesn't pop up the day after?
Upvotes: 2 <issue_comment>username_2: Thanks to AndrewT who posted a [link on chat](http://chat.stackexchange.com/transcript/message/29235107#29235107), having this research paper as a refernce in one of the [answers](https://security.stackexchange.com/a/121253/99059). This answer is entirely based on the this paper (May 2015) and highlights common user understandable aspects ( it has a lot of *security* related material for those interested)
---
>
> * What are the pros and cons apart from above?
> * If a device has both options - app based rooting and rooting by methods by developers, which one should I opt for?
>
>
>
**Answer:** It's all about malware vulnerability. Using Root exploits is a HUGE security risk and that over-weighs any other advantages
What is Soft Root and Hard Root?
--------------------------------
* **Soft Root :** Root is obtained directly by
running a piece of software (i.e., root exploits)- either by directly installing on the device or requiring `adb` shell through a PC connection
* **Hard Root :** Root is obtained by flashing su binary externally via an update package or ROM
Malware Threat - in general
---------------------------
* Even though legitimate, many convenient one-click root methods operate by exploiting vulnerabilities in the Android system. If not carefully controlled, such exploits can be abused by malware author to gain unauthorized root privilege.
* As described in the Android Malware *Genome Project* , **36.7% ( of 1260 ) malware samples had embedded at least one root exploit.**
* These well-engineered exploits are not well protected, it is extremely dangerous if they fall in the wrong hands.
Who are major root providers and broadly, how does it work?
-----------------------------------------------------------
[](https://i.stack.imgur.com/IiprN.png)
What are the types of root expolits ?
-------------------------------------
The paper covers 78 exploits studied. In general , the order of **impact** ( from the *highest to lowest*) :
* **Kernel Exploits:** Due to its privileged position, targeting Linux Kernel is natural to achieve full control over an Android device- example ,TowelRoot
* **Library Exploits:** the exploits targeting libraries that are used by Android system processes, or external libraries used for supporting different applications, example ZergRush exploit , libsysutils used by Volume Manager daemon
* **Application and Application Framework Application layer root exploits :** exploits targeting system applications or services, mostly include vulnerable logics introduced by `setuid` utilities, system applications, or services. example is a vulnerable `setuid` utility that is only present on XoomFE devices
that has a command injection vulnerability
* **Vendor-Specific Kernel or Drivers:** Vendors either customize the kernel (e.g., Qualcomm’s custom Linux kernel branch) or provide vendor-specific device drivers for various peripherals (e.g., camera, sound). Such code runs inside the kernel space and the compromise of which can also lead to full control over the device.
**Number wise** , exploits are as in figure below
[](https://i.stack.imgur.com/ptHUG.png)
How difficult is it to lay your hands on Exploit (Source or Binary) ?
---------------------------------------------------------------------
**Very easy.** Easily available from Google search, making it a cake walk for malware authors to leverage such exploits. Googling for 73 exploits lead to 68 of them being available - 46 with source code and 22 with binaries
How do these exploits work?
---------------------------
Major requirements for exploits to work (ordered from *most difficult to least*) ( [malware](/questions/tagged/malware "show questions tagged 'malware'") tag has a lot of these instances)
* **Requiring user interactions:** (6 out of 78 studied)
+ Asking the user to download an app and manually interrupt the installation
+ Asking the user to boot into recovery at least once .
+ Asking the user to manually put the device into “battery
saving” mode .
+ Asking the user to open a vendor specific app and hit a button
* **Requiring `adb` shell through a PC connection:** (17 out of 78 studied). For some exploits, `adb` shell connection is required because of the following most common reasons:
+ The exploit can successfully modify a setting in `local.prop` which enables root for `adb` shell only.
+ The exploit needs to write to a file owned by group shell and group-writable (not world-writable)
+ The exploit targets the adb daemon process that requires the attack process to run with shell user. For instance, the *Rage Against the Cage exploit* targets the vulnerability of adb daemon’s missing check on return value of `setuid()`
* **Reboot:** (6 out of 78 studied) Generally, many root exploits require at least one reboot. For instance, a symbolic link attack would allow an attacker to delete a file owned by system with weak permission, to setup a link at the same location to a protected file. After a reboot, the corresponding init scripts would attempt to change the permission of the original file to world-writable, which in reality changes the permission of the linked file
* **None or permission:** (44 out of 78 studied) The exploits in this category have no hard requirements, however, some of them may require certain Android permissions like `READ LOGS` in order for the process owner to be placed in certain user group.
Can these exploits be detected by Anti-Virus ?
----------------------------------------------
Since the root exploits are highly sensitive and may be leveraged by various Android malware, it is expected that anti-virus software on Android platform can identify most of them, including the ones implemented by root providers. Overall, the result shows that the state-of-the-art security products on Android platform still **cannot address root exploits effectively**
4 representative Android anti-virus products were used to test the *largest provider (name not revealed)* having 167 exploits. Because originally downloaded exploits from the providers database have packed the actual exploit code and employed a tamper-detection mechanism, study crafted 3 different versions for every exploit:
1. Original exploit fetched directly from providers servers, with
packing and tamper-detection on.
2. Unpacked exploit, which will expose all actual exploit logic to
anti-virus products.
3. Re-packed exploit with tamper-detection disabled.
Exploit binaries engineered by large root providers are surprisingly **“clean”** as all major anti-virus software have difficulty detecting them as table below shows
[](https://i.stack.imgur.com/KLCJ8.png)
Conclusion
----------
Simple. Stay away from *Soft Root methods* unless you are capable of dealing with the consequences
Upvotes: 4 [selected_answer]<issue_comment>username_3: There are a few advantages to rooting using the official process.
1. It's officially supported on many phones. This means you can use a process that's documented by the manufacturer, and tools from an official source, or a trustworthy third party (CWM or TWRP), instead of having to run a tool that you got from some dodgy website.
2. Because it's officially supported, most of the time, a system update won't change the process, so you don't need to go looking around for "the latest" rooting method. In contrast, software updates tend to patch vulnerabilities, so exploit methods will often stop working after an update.
3. Because of the above, after you "soft root" you might be tempted to not install a system update, because that update patches the vulnerability and stops your rooting method working. With the official process, there's no reason to stay on an old, vulnerable version.
As well as the convenience of a one-click method (mentioned in the question), there are some other advantages of doing it that way instead.
1. Unlocking the bootloader to "hard root" wipes the phone, so you have to set things up again and restore data from backup. Typically "soft rooting" via a vulnerability doesn't need to wipe the phone, and that can be a lot more convenient.
2. Because rooting modifies the system partition, typically you can't do an OTA update afterwards: the updater recognises the system is modified, and bails out. But **some** "soft root" methods on **some phones** avoid this problem, so you can do an OTA update without having to unroot or flash a new system image. This is also a bit easier. Either way, you'll still have to root again after an update.
3. Since you don't have to unlock the bootloader, there's no temptation to leave it unlocked. This has the security benefit that people can't flash new ROMs to your phone (e.g. if it is stolen and they want to circumvent the screen lock or factory reset protection).
What Beeshyams says about security is important, but to my mind it's irrelevant to the question. It's good to point out or remind people that every "soft rooting" method is exploiting a security vulnerability, and malware could use just the same vulnerability to install rootkits on your phone. However, the vulnerability is there whether you use it or not. The security risk comes from the **possibility** of the rooting method. Rooting your phone by exploiting the vulnerability doesn't make it more exploitable, or worse.
If your phone **can be rooted** by a rooting app/exploit, then it is vulnerable to malware. This is true just the same regardless of whether you root it or what method you use. Not using the exploit (by doing a "hard root" instead, or just by not rooting) will **not** protect you from malware, **nor** will it reduce your exposure.
Upvotes: 3 |
2015/12/16 | 806 | 3,273 | <issue_start>username_0: I plan to install Cyanogenmod on my new Android phone. For this first install, I've to do a factory reset - what's no problem on a factory new phone.
But do I have to perform this factory reset on every minor and major update of the mod in the next month and years - and loosing all my app settings, logins, game highscores etc. again and again?
Or does the Cyanogenmod update behave like a normal Android update (just a little bit downloading, rebooting and continue with all apps and settings as before)?<issue_comment>username_1: Generally speaking **you don't have to perform a factory reset when downloading a newer build**. The flashable zip should perform all wipes by itself if it is necessary (only certain partitions are affected - your data should be safe). Many developers include an OTA(Over-The-Air)Update Application so you can comfortably download and install the new build with 1-3 clicks. It depends on which device and which custom rom you are using.
In most cases you only have to perform a factory reset
1. when you're performing a fresh installation of CM
2. the android version changes(factory reset may not be needed but it is adviced most of the times)
3. when something goes wrong :)
The best thing to do is to make regular backups and save them on your computer - this way you won't loose much.
Upvotes: 2 [selected_answer]<issue_comment>username_2: You can either update manually or using installer instructions
Quoting from Cyanogenmod official site [updating](http://wiki.cyanogenmod.org/w/Updating) related to **manual**
Updates
>
> If you are doing a major update (such as from CM 7 to CM 10) or wish to clear the device's data partion, select Clear data partition or Factory Reset (depending on the recovery menu you are using)
>
>
>
Again from [release versioning](http://wiki.cyanogenmod.org/w/Release_Versioning)
>
> CyanogenMod 9 - 10.2 build tags-
> CyanogenMod 9 through 10.2 were qualified with tags: Experimental, Nightly, Release Candidate, and Stable. The Snapshot tag was added with the introduction of M builds in CyanogenMod 10.2. These tags were meant to indicate a build's suitability for general use.
>
>
> Nightly: usually generated every 24 hours, experimental, newest features, unstable
> Experimental: testing version requested by device maintainers to evaluate specific changes
> M Snapshot: milestone snapshot, more stable than a nightly but potentially some issues
> Release Candidate: last builds before stable release, few minor issues, mostly stable, and safe for daily use
> Stable: most stable version available, all or nearly all issues resolved
>
>
>
Nightlies are not [recommended](http://www.cyanogenmod.org/about) unless you can handle issues arising out of it
>
> These ROMs are largely untested, and as advised by CyanogenMod, not meant for use for an average user.
>
>
>
To answer your question now, avoid nightly/ experimental/ snapshot builds, install only stable builds and update as recommended by CM installer or manually as highlighted.
***Generally* minor updates and nightly builds do not need factory reset**
This is about official builds. If you are sourcing your build from other developer forums follow their instructions
Upvotes: 2 |
2015/12/16 | 1,080 | 2,720 | <issue_start>username_0: I am having issues with flashing gapps using cyanogenmod recovery. I installed cyanogenmod nightly (with recovery) from <http://download.cyanogenmod.org/?device=bacon> dated 14/12/2015.
It installed perfectly. I installed few apks. Works fine. The problem is that when i try to flash the `open_gapps-arm-6.0-nano-20151216` from [here](https://github.com/opengapps/arm/releases) from dated 20151216 , it fails.
I get the following stacktrace in /tmp/recovery.log -
```
[ 11.520607] Now send the package you want to apply
[ 11.520618] to the device with "adb sideload "...
[ 12.521723] unknown fuse request opcode 22
[ 12.531326] Finding update package...
[ 12.539084] I:Update location: /sideload/package.zip
[ 12.539130] Opening update package...
[ 12.539486] I:read key e=3 hash=20
[ 12.539674] I:read key e=65537 hash=20
[ 12.539862] I:read key e=65537 hash=20
[ 12.540054] I:read key e=65537 hash=20
[ 12.540095] I:4 key(s) loaded from /res/keys
[ 12.540130] Verifying update package...
[ 12.557402] I:comment is 1357 bytes; signature 1339 bytes from end
[ 23.136467] I:whole-file signature verified against RSA key 0
[ 23.136519] I:verify\_file returned 0
[ 23.136588] Installing update...
[ 23.137612] E:Can't run /tmp/update\_binary (No such file or directory)
[ 23.138304] E:Installation error in /sideload/package.zip
[ 23.138317] (Status 255)
[ 23.138355]
[ 25.195878] sideload-host file size 67337561 block size 65536
[ 25.195904] sideload\_host finished
[ 25.196913] I:sideload thread finished
[ 25.197182] Restarting adbd...
[ 25.197603] Installation aborted.
```
But I can verify that /tmp/update\_binary exists.
executing `ls -la /tmp/update_binary` returns -
```
__bionic_open_tzdata: couldn't find any tzdata when looking for localtime!
__bionic_open_tzdata: couldn't find any tzdata when looking for GMT!
__bionic_open_tzdata: couldn't find any tzdata when looking for posixrules!
-rwxr-xr-x 1 root root 60190 1970-04-26 13:02 /tmp/update_binary
```
`du -hs /tmp/update_binary` returns --
```
60K /tmp/update_binary
```
I have no clue on how to proceed next. Does anybody here have a fix? I want gapps installed on my device.<issue_comment>username_1: You could try replacing the CM recovery with TRWP and flash open\_gapps with that. My OnePlusOne has TWRP and flashing open\_gapps worked fine.
The disadvantage is that you have to reboot into recovery to flash the CM updates.
Upvotes: 2 [selected_answer]<issue_comment>username_2: I was able to to keep the CM recovery and load Open GApps as long as I side-loaded both of them at the same time using `adb`. In other words, load **both** the CM `.zip` and the Open GApps `.zip` before you reboot.
Upvotes: 0 |
2015/12/16 | 232 | 887 | <issue_start>username_0: My Symphony Xplorer W85 running JellyBean v.4.2.2 suddenly began showing the following errors, making the phone unusable:
* "unfortunately ikeyboard has stopped"
* "unfortunately systeminfo has stopped"
* "unfortunately adobe air has stopped"
* "unfortunately measure has stopped"
I first tried factory resetting the phone, then rooted and uninstalled Adobe Air, systeminfo, and ikeyboard using Kingroot but the phone still displays the errors. What might be causing this and what can I do to fix it?<issue_comment>username_1: Download the stock Rom and re-flash
Here is the link:
<http://firmwarefile.com/symphony-w25>
Upvotes: 2 <issue_comment>username_2: Probably this happens if you try to flash files which are not supported.
Did you try to flash something?
This could fix it-
Download the stock firmware for your device and then flash it.
Upvotes: -1 |
2015/12/16 | 594 | 2,465 | <issue_start>username_0: I paired a BG-BluBox external sound cube to a Samsumg Galaxy Note 10.1 2014 Edition successfully.
At a later time, I initiated a pairing of the BG-BluBox with a Samsung Galaxy S5 (Android 5.0). The pairing was not successful\*. I am now unable to pair this device with the S5.
I have located the Bluetooth app under Device Manager and have deleted data and cache and restarted the device.
I have also wiped the cache partition.
In both of the above cases, the outcome is the same. The Bluetooth app on the S5 still shows other paired devices as before, shows the BG-BluBox, but the S5 reports that the PIN/password is incorrect when I try to pair.
How can I pair this device with the S5?
\*I may have had to enter a PIN, which I may have entered incorrectly. This was a while ago and I don't recall the details now.<issue_comment>username_1: Based on our chat discussion, consolidating
1. By entering PIN correctly on the sound box, you are able to pair with S4 or any other device
2. This doesn't repeat with S5, even after clearing the cache and data of S5 (The first way is to to clear cache and data of Bluetooth app from Settings > Applications Menu > Application Manager.
3.There is no option of resetting memory of sound box and it remembers the last known good connection, which in this case is S4
Available information points to a problem with S5 persisting to remembering the wrong PIN entry and attempting to pair
To fix this,(Considering your device is NOT rooted), would suggest to factory reset your device after taking back up of data and attempt to pair
**EDIT**: You had mentioned that clearing Bluetooth app data/ cache **did not** clear the saved settings for S4. Which makes me suspect that cache of app is not being cleared. Suggest try this to clear cache of your device -turn your Samsung Galaxy S5 off and press at the same time Power + Home + Volume Down buttons to enter in Recovery Mode. Inside Recovery Mode press “Wipe Cache Partition” and reboot your phone. This option I understand had not been tried. You will not lose data. If this also doesn't help, factory reset would be the last resort
Meanwhile, you can mail OEM of sound box to get instructions on resetting or clearing it of stored device information and do that as well to have a clean slate
Upvotes: 2 <issue_comment>username_2: I connected the S5 to the sound box via the supplied headphone connector jack.
Upvotes: 1 [selected_answer] |
2015/11/17 | 1,785 | 6,482 | <issue_start>username_0: I have an nVidia Shield TV device, which is running Android TV.
In order to integrate this into my home theater setup, I need to be able to determine if the device is active or sleeping.
For my other devices I just use ping to determine this. However, since Android devices are basically always on, this doesn't work in this case.
One way, of course, would be to write a simple app, which opens a TCP port when the device is active and closes it when it's sleeping.
My question is if there's a simpler way, maybe an existing app or some other way to do this without developing my own app to do this.<issue_comment>username_1: This is not actually a solution but in device settings there's probably an option which disables Wi-Fi when device goes to idle mode. Even if there's no such option I'm sure there must be an application for this. So if Wi-Fi is disabled in IDLE state then "ping" approach will work but you have to deal with unworking background updates and so on when device goes to IDLE state.
I don't think that there's a default application for this solution but maybe further point will help you. You can create your own Android application which listens to [PowerManager.ACTION\_DEVICE\_IDLE\_MODE\_CHANGED](http://developer.android.com/intl/ru/reference/android/os/PowerManager.html) `Intent` and upon receiving receiving some kind of request from your server it can send back if device is awake or not. However notice that when your device receives server request it will probably come awake.
Upvotes: 0 <issue_comment>username_1: You can setup a shell script to know whether the device is in idle mode..if device is idle..then you can
Send signal to the device ..
For example u can use adb shell command like below:
adb shell dumpsys deviceidle
Upvotes: 0 <issue_comment>username_2: It appears that nVidia Shield Android TV comes with Android 5.1.1 and a Marshmallow update is available since December only. I'm assuming that Android 5.1.1 is the version installed in your device.
Query system services
=====================
Enable [adb](/questions/tagged/adb "show questions tagged 'adb'") in wireless mode on device. Follow the [official guide](http://developer.android.com/tools/help/adb.html#wireless) or [this answer](https://android.stackexchange.com/a/116023/96277) of Izzy for instructions, if needed.
You can find the status of Android - sleep or awake - from the dump of various system services.
* Service: Power
```
adb shell dumpsys power
```
Search the strings `mWakefulness` and/or `Display Power: state`. Both of them would give you the status you need.
Example:
```
adb shell 'dumpsys power | grep -e "mWakefulness=" -e "Display Power"'
```
gives me
```
mWakefulness=Asleep
Display Power: state=OFF
```
* Service: Window
```
adb shell dumpsys window
```
Search the strings `mAwake=true` and/or `mScreenOnEarly=true` and/or `mScreenOnFully=true`
Example:
```
adb shell 'dumpsys window | grep -e "mAwake=" -e "mScreenOnEarly" -e "mScreenOnFully"'
```
gives me
```
mAwake=true
mScreenOnEarly=true mScreenOnFully=true
```
* Service: Display
```
adb shell dumpsys display
```
Search the strings `mState=OFF` and/or `mScreenState=OFF`.
Example:
```
adb shell 'dumpsys display | grep -e "mState=" -e "mScreenState"'
```
gives me
```
mState=OFF
mScreenState=OFF
```
---
Use Automation
==============
If none of the system services mentioned in previous method worked for you, setup an [automation](/questions/tagged/automation "show questions tagged 'automation'") app, such as Tasker or MacroDroid or Automate.
We would now use automation to write the status of Android into a file, such as Sleeping for sleep mode and Awake when it is awake.
### [Tasker](https://play.google.com/store/apps/details?id=net.dinglisch.android.taskerm),
* Profile: Event → Display → Display Off
* Task: (Actions) : File → Write File → select a text file to write into, type Sleeping and uncheck Add Newline
* Profile: Event → Display → Display On
* Task: (Actions) : File → Write File → select a text file to write into, type Awake and uncheck Add Newline
### [MacroDroid](https://play.google.com/store/apps/details?id=com.arlosoft.macrodroid)
Android sadly doesn't come with `echo` or `printf` utility, If the device is rooted then you can install [busybox](https://play.google.com/store/apps/details?id=stericson.busybox) and be at peace. If not, download busybox [binary](https://busybox.net/downloads/binaries/latest/), set executable permissions and push it into `/data/local/tmp` using [`adb push`](http://developer.android.com/tools/help/adb.html#copyfiles). Another way for a non-rooted device is to keep three files, one for state, one with the text Sleeping and and the last one with the text Awake. Whenever the screen turns off/on, copy the second/third file into first one.
MacriDroid also requires a plugin, such as [Secure Settings](https://play.google.com/store/apps/details?id=com.intangibleobject.securesettings.plugin) to execute commands.
* Trigger: Screen On/Off → Screen Off
* Action: Secure Settings → Actions → Run Command:
+ Command: `echo Sleeping > FILE_PATH`
+ Command Name: Screen off
* Trigger: Screen On/Off → Screen On
* Action: Secure Settings → Actions → Run Command:
+ Command: `echo Awake > FILE_PATH`
+ Command Name: Screen off
For a non-rooted Android, `echo` should be replaced with `./data/local/tmp/busybox echo`. Otherwise, do a copy operation using the command `cp SOURCE DESTINATION`.
### [Automate](https://play.google.com/store/apps/details?id=com.llamalab.automate)
Your flow should more or less look like this image
(Click image to enlarge)
[](https://i.stack.imgur.com/jqP1t.png)
Your need to create two flows, one for sleep and other for awake. The second block in the flow is named *Broadcast receive* and can be found under Apps. The third block is named *File write text* and can be found under File & Storage.
You can now check the content of that file using adb in wireless mode or using SSH (requires an [SSH server](https://play.google.com/store/search?q=ssh%20server&c=apps) on Android; run the server on all interfaces and do not bind it to a single interface.)
---
There is another possibility, such as making your automation app upload the file to a local or remote server so that you can query that server instead of Android to know status.
---
Upvotes: 2 [selected_answer] |
2015/12/16 | 1,686 | 6,114 | <issue_start>username_0: Where in the system is cached application data stored? Is there any way to view it programmatically? I know there are several applications available in the market to view and clear the memory. But I want to know how exactly it is done.<issue_comment>username_1: This is not actually a solution but in device settings there's probably an option which disables Wi-Fi when device goes to idle mode. Even if there's no such option I'm sure there must be an application for this. So if Wi-Fi is disabled in IDLE state then "ping" approach will work but you have to deal with unworking background updates and so on when device goes to IDLE state.
I don't think that there's a default application for this solution but maybe further point will help you. You can create your own Android application which listens to [PowerManager.ACTION\_DEVICE\_IDLE\_MODE\_CHANGED](http://developer.android.com/intl/ru/reference/android/os/PowerManager.html) `Intent` and upon receiving receiving some kind of request from your server it can send back if device is awake or not. However notice that when your device receives server request it will probably come awake.
Upvotes: 0 <issue_comment>username_1: You can setup a shell script to know whether the device is in idle mode..if device is idle..then you can
Send signal to the device ..
For example u can use adb shell command like below:
adb shell dumpsys deviceidle
Upvotes: 0 <issue_comment>username_2: It appears that nVidia Shield Android TV comes with Android 5.1.1 and a Marshmallow update is available since December only. I'm assuming that Android 5.1.1 is the version installed in your device.
Query system services
=====================
Enable [adb](/questions/tagged/adb "show questions tagged 'adb'") in wireless mode on device. Follow the [official guide](http://developer.android.com/tools/help/adb.html#wireless) or [this answer](https://android.stackexchange.com/a/116023/96277) of Izzy for instructions, if needed.
You can find the status of Android - sleep or awake - from the dump of various system services.
* Service: Power
```
adb shell dumpsys power
```
Search the strings `mWakefulness` and/or `Display Power: state`. Both of them would give you the status you need.
Example:
```
adb shell 'dumpsys power | grep -e "mWakefulness=" -e "Display Power"'
```
gives me
```
mWakefulness=Asleep
Display Power: state=OFF
```
* Service: Window
```
adb shell dumpsys window
```
Search the strings `mAwake=true` and/or `mScreenOnEarly=true` and/or `mScreenOnFully=true`
Example:
```
adb shell 'dumpsys window | grep -e "mAwake=" -e "mScreenOnEarly" -e "mScreenOnFully"'
```
gives me
```
mAwake=true
mScreenOnEarly=true mScreenOnFully=true
```
* Service: Display
```
adb shell dumpsys display
```
Search the strings `mState=OFF` and/or `mScreenState=OFF`.
Example:
```
adb shell 'dumpsys display | grep -e "mState=" -e "mScreenState"'
```
gives me
```
mState=OFF
mScreenState=OFF
```
---
Use Automation
==============
If none of the system services mentioned in previous method worked for you, setup an [automation](/questions/tagged/automation "show questions tagged 'automation'") app, such as Tasker or MacroDroid or Automate.
We would now use automation to write the status of Android into a file, such as Sleeping for sleep mode and Awake when it is awake.
### [Tasker](https://play.google.com/store/apps/details?id=net.dinglisch.android.taskerm),
* Profile: Event → Display → Display Off
* Task: (Actions) : File → Write File → select a text file to write into, type Sleeping and uncheck Add Newline
* Profile: Event → Display → Display On
* Task: (Actions) : File → Write File → select a text file to write into, type Awake and uncheck Add Newline
### [MacroDroid](https://play.google.com/store/apps/details?id=com.arlosoft.macrodroid)
Android sadly doesn't come with `echo` or `printf` utility, If the device is rooted then you can install [busybox](https://play.google.com/store/apps/details?id=stericson.busybox) and be at peace. If not, download busybox [binary](https://busybox.net/downloads/binaries/latest/), set executable permissions and push it into `/data/local/tmp` using [`adb push`](http://developer.android.com/tools/help/adb.html#copyfiles). Another way for a non-rooted device is to keep three files, one for state, one with the text Sleeping and and the last one with the text Awake. Whenever the screen turns off/on, copy the second/third file into first one.
MacriDroid also requires a plugin, such as [Secure Settings](https://play.google.com/store/apps/details?id=com.intangibleobject.securesettings.plugin) to execute commands.
* Trigger: Screen On/Off → Screen Off
* Action: Secure Settings → Actions → Run Command:
+ Command: `echo Sleeping > FILE_PATH`
+ Command Name: Screen off
* Trigger: Screen On/Off → Screen On
* Action: Secure Settings → Actions → Run Command:
+ Command: `echo Awake > FILE_PATH`
+ Command Name: Screen off
For a non-rooted Android, `echo` should be replaced with `./data/local/tmp/busybox echo`. Otherwise, do a copy operation using the command `cp SOURCE DESTINATION`.
### [Automate](https://play.google.com/store/apps/details?id=com.llamalab.automate)
Your flow should more or less look like this image
(Click image to enlarge)
[](https://i.stack.imgur.com/jqP1t.png)
Your need to create two flows, one for sleep and other for awake. The second block in the flow is named *Broadcast receive* and can be found under Apps. The third block is named *File write text* and can be found under File & Storage.
You can now check the content of that file using adb in wireless mode or using SSH (requires an [SSH server](https://play.google.com/store/search?q=ssh%20server&c=apps) on Android; run the server on all interfaces and do not bind it to a single interface.)
---
There is another possibility, such as making your automation app upload the file to a local or remote server so that you can query that server instead of Android to know status.
---
Upvotes: 2 [selected_answer] |
2015/12/16 | 632 | 2,297 | <issue_start>username_0: I want to record some of my public speaking using a lapel mic while walking away from my android smartphone. I've done this using a standard bluetooth headset. However, the audio is pretty poor. So, I'd like to purchase a better quality microphone (probably a mic that attaches to my shirt). The reviews on amazon for bluetooth mics are pretty bad. The best reviews for this type of mic are mics that have 3.5mm output. I'm wondering if there is a way to convert that into a bluetooth signal that is sent to my phone for recording. I've seen that bluetooth adapters exist, but those seem to be all about hooking up to bluetooth headphones. I've been googling trying to figure out how bluetooth works (receivers, transmitters, etc), but I can't find out if this will work... and I can't seem to find if anyone else is doing it successfully. Any help is much appreciated.<issue_comment>username_1: OK, so I have an ANSWER. I know for sure that the Pryme BTH-300 can accept a microphone plugged in via 3.5mm and sent the external mic's audio to a device via bluetooth (I have one myself). The only bummer of the Pryme BTH-300 is that the audio output, if you're listening to music, for example, is poor.
I'm going to try
Sony RM-X7BT
which has a microphone input as well as an output that it can send via bluetooth to your phone. I'll try to post on here my findings, but on Amazon for sure.
Upvotes: 1 <issue_comment>username_2: I believe a number of the products from JK Audio may be helpful with this specific use case. Specifically, their [BlueDriver-F3](https://www.jkaudio.com/bluedriver-f3.htm) which is a female XLR-adapted device that can plug into a mic and send the mic signal to a phone (or speaker) via Bluetooth. There are other "Bluetooth Wireless Audio Interfaces" (useful search term) that may work as well.
There are plenty of converters to go from a 3.5 mm output to an XLR male output so that you could use the BlueDriver-F3 with a lav mic with a 3.5 mm output. For example, the [Rode VXLR Adapter](https://www.bhphotovideo.com/c/product/387850-REG/Rode_VXLR_VXLR_Mono_Mini_Jack.html).
[](https://i.stack.imgur.com/Vkl6T.jpg)
Upvotes: 0 |
2015/12/17 | 384 | 1,468 | <issue_start>username_0: The Samsung Browser is not Chrome nor Android stock browser. And our webdev teams have some bugs that only show up on this specific browser.
Is there any way I can remotely debug it as I can do with Chrome or Firefox? Either on an emulator or a real device.<issue_comment>username_1: Type `about:debug` or `about:console` in a new tab (one of these will work), then try to send something to the `console.log` in your JavaScript.
At the top of your page will appear "SHOW JAVASCRIPT CONSOLE", click on it and you will have the console log with the possible error message you are looking for.
Upvotes: 1 <issue_comment>username_2: The new **Samsung Internet** browser is based on the Chromium browser and thus supports its remote debugging interface.
1. Enable USB debugging on your device as described [here](https://developer.android.com/training/basics/firstapp/running-app).
2. Then connect your device via USB (Oh, surprise!).
3. Visit `chrome://inspect` on your computers Google Chrome browser and you will be guided to create the connection:
[](https://i.stack.imgur.com/F7BHY.png)
4. Then you just have to click on the devices `inspect` link and an developer tools window will pop up.
More info like why there is an Samsung Internet Browser at all can be found [here](https://medium.com/samsung-internet-dev/introducing-samsung-internet-for-developers-6c3a3be42f72).
Upvotes: 4 |
2015/12/17 | 590 | 1,908 | <issue_start>username_0: I'd like a phone, preferably Android, with 256 GB of storage.
To the best of my knowledge, no 256 GB microSD cards exist (despite a few [scammy Amazon listings](http://rads.stackoverflow.com/amzn/click/B017C8XH02)). Therefore, the phone would either need to have (1) a fullsize SD slot or (2) dual microSD slots. I don't know of any android phones that have a fullsize SD slot, although there are of course tablets that do. And the only Android phone I know that promised dual microSD cards is the [vaporware Saygus V2](http://www.androidauthority.com/saygus-delays-what-is-going-on-650149/).
Do any solutions exist that don't involve solder or external devices?<issue_comment>username_1: Moto X Force is one phone that supports cards up to 2TB.
>
> **Expandable Memory**
>
>
> With the option to add up to 2 TB of additional storage space using a microSD card, the Moto X Force offers plenty of room to store your favourite pictures, videos, music and apps.
>
>
>
[Original screenshot of the device specs](https://i.stack.imgur.com/mXpdz.png)
Though currently, I don't see cards with a capacity of more than 256GB.
Upvotes: -1 <issue_comment>username_2: [A quick search on Amazon](https://www.amazon.com/s?field-keywords=256GB+microSD) gave a bunch of results.
* SanDisk Ultra has a 256GB model (red and pale yellow)
* Samsung EVO+ has a 256GB model (red)
* Samsung EVO Select has a 256GB model (green)
* Other manufacturers also have 256 GB models, e.g. Patriot LX and ADATA Premier
* Lexar has 256GB models but I've heard they're ceasing producing storage products
Oh, there's one more thing that I'd like to note: The "maximum supported storage capacity" actually depends on the SoC (chip) and system. So as long as your phone is running on an SoC later than 2015 and Android 5+ (Lollipop) then it should have no problem supporting a 256GB microSD card.
Upvotes: 1 |
2015/12/18 | 583 | 2,342 | <issue_start>username_0: I have had a constant nightmare with not being able to take OTAs on any of my (rooted) devices. They boot into TWRP, complain about the build fingerprint, and won't install, so I have to wait for a full .zip and flash my systems manually.
What is it that is preventing the OTAs from installing over a modified /system partition, and why can't it be defeated or disabled?
If it can't be defeated/disabled, why can't my modified /system lie about its build fingerprint to fool this validation into allowing the OTAs to be installed?<issue_comment>username_1: OTA files work by patching files rather than replacing them will a full copy of the new version of the file. This means that it has to verify that the existing files are exactly as it expects or the patching process won't work (or could cause the file to become corrupt). If you were to fake the fingerprint and force the OTA to apply you might end up with a device that can't boot due to some files being corrupt.
Android 5.0 (i think) switched from verifying just the files it was patching to verifying the partition as a whole so any modification (even to a file that is not being patched) will cause this to fail.
Upvotes: 4 [selected_answer]<issue_comment>username_2: In addition to [answer posted](https://android.stackexchange.com/a/131853/131553) by @username_1
1. OEMs like Samsung have Knox counter which gets tripped once you root or replace stock recovery by custom. There were work around earlier to this, but Note 4 onwards tripping Knox "burns" this information into the hardware. Only way to revert Knox status is by changing that chip on the motherboard !!(I am not aware how this is achieved but it is on record as a mail reply from Samsung ). I expect OTA to verify this first
2. OEMs like Huawei (my current device is Honor 6), allow you to unlock boot loader and cover it by warranty allowing OTA updates if rooted but stock recovery intact. Replacing recovery fails OTA
3. I suspect carriers which "lock-in" their customers will also employ their own means to verify before allowing OTA (probably this is one reason why there is a varying delay in carriers rolling out OTA)
So it may not be a simple solution to have the recovery trick OTA...too many tricks to learn and proprietary ones, which is NOT the purpose of TWRP
Upvotes: 2 |
2015/12/18 | 411 | 1,513 | <issue_start>username_0: Some providers offer a "data only" sim card. Do these types of sim cards have a phone number assigned to them? If yes, what happens if a dial out is attempted of if there's an incoming call?<issue_comment>username_1: Usually, they have. Usually, "data-only SIM" only have a special tariff plan with cheap data service rates, and is an ordinary SIM from all other points of view.
Finally, it fully depends on cellular provider - it can allow voice services, or it can prohibit them.
So, the only way to get a correct answer is to try.
Upvotes: 2 <issue_comment>username_2: Yes, they do have number, perhaps, *special* number, taken from a specialized pool of numbers, allocated for certain purposes, such as assigning tailored tariff plan to them.
You might hear of "Numberless" sim cards [in some parts of the world](http://mybroadband.co.za/news/cellular/8152-mtn-numberless-sim-system.html), however, these sim cards aren't entirely numberless. You'll **need** a number to actually use it.
Upvotes: 2 <issue_comment>username_3: A number has to be assigned so that the (rather old) system can recognise the SIM.
Just because it has a number though doesn't mean that any calls can be made or received and will already have been disabled by the network.
The provider can add services as wanted/needed though: SMS can be useful for [managing routers](http://www.draytek.com/index.php?option=com_k2&view=item&id=5765:how-to-command-vigor-lte-router-by-sms-message?&lang=en).
Upvotes: 3 |
2015/12/18 | 655 | 2,377 | <issue_start>username_0: I recently goy myself a Moto G3, that is running Android 5.1.1.
I have 3 e-mail addresses, all of those I wish to keep in my Gmail app (I did that in an older phone I had), so I go to "Add Account" in the Gmail app, click "New Account" and...
I'm taken to a "Confirm your Password" screen. And there, I type my password... Only to see a "try again" prompt. And no matter how many attempts I do, all I see is a "try again" prompt. My research led me to know that a "2 step verification" can be the issue, but turns out it's deactivated on ALL 3 OF MY ACCOUNTS!
I also can't add other accounts to my Youtube app, which I need since I need to publish videos while away from my PC. Here's an image of that confirm your password screen. If anyone has any suggestions, I'll be thankfull (just a warning: I'm a noob, so I'd appreciate "simpler" language if possible).
Also, if it helps, the main account is my personal e-mail. I'd like to add 2 "workplace" e-mails to the Gmail app, and one of those is linked to a Youtube Account.
[](https://i.stack.imgur.com/lneWm.png)
Click on it for larger version<issue_comment>username_1: Perhaps its a typo, but you say:
>
> ...so I go to "Add Account" in the Gmail app, click "New Account" and...
>
>
>
Why do you go to "New Account" if you **already** have 3 email address?
This is how on my 5.1.1, Adding an account works:
* I go to Settings > Accounts > Add Account > Google > 'Enter email' > 'Enter password' > Logs me in
The steps you're describing isn't available, as you only need to confirm your password when creating a New Account, and not when logging into an already created account.
If you see "Confirm Password", then you're not *logging in*, but rather, *creating an account*, in this case, a 4th Google account.
Upvotes: 0 <issue_comment>username_2: For some reason, updating to Android 6.0 has corrected the issue.
Upvotes: 1 [selected_answer]<issue_comment>username_3: At least for me, it was actually the *device* password - used to unlock the phone. So basically it asks for the device password when you try to add a new Google account for some reason. I formatted my phone thinking something else was the issue - but if you enter the device password, it then asks for the account name as normal.
Upvotes: 3 |
2015/12/19 | 459 | 1,656 | <issue_start>username_0: I would like to have MTP selected by default (instead of charging) when I plug an Android 6.0.x device to a PC through a USB cable. What should I add or modify in the build.prop file of my rooted device to make this happen? I know that it's not possible to do that without root access but the device is rooted.<issue_comment>username_1: Google changed the USB protocol for Marshmallow to always default to charge.
The reason for this change because they brought back the ability to make external storage (SD card) become internal storage. Creating a new storage type called "Adoptable Storage".
Originally google removed the ability to swap storages because they viewed it as a huge security vulnerability.
[Adoptable storage](https://source.android.com/devices/storage/adoptable.html)
In order to achieve your end goal it looks like you might have to compile marshmallow from source. Find the `MtpService.java` and then with `updateDisabledStateLocked()` change `mMtpDisabled` to `false`.
[MtpService.java](https://android.googlesource.com/platform/packages/providers/MediaProvider/+/4599003425f9b83319805a3522aeb31bfd2f1d30/src/com/android/providers/media/MtpService.java)
Upvotes: 3 <issue_comment>username_2: The best I found so far is an application named MTPEnabler: <http://forum.xda-developers.com/android/apps-games/app-mtp-enbaler-t3263467>
Upvotes: 3 [selected_answer]<issue_comment>username_3: Through Developers Options it was possible in my phone.
Just goto
```
Developer option > USB configuration
```
By default its set to `Charging`.
Change it to `MTP`. Try connecting USB, this should work.
Upvotes: -1 |
2015/12/19 | 325 | 1,356 | <issue_start>username_0: I have an htc one me, I put a privacy protection but I forgot the password.
What can I do to unlock my phone?
I have tried the different passwords that I thought I used it failed. I really need to use my phone to contact my friends but I can't access it because of the privacy protection password.
Please help me to remove it.
My brothers tried to unlock it but failed and I am scared of taking it to the service centre, due to concerns about the quality of service.<issue_comment>username_1: If you can't remember your password , there is only one way to fix this but it will wipe all your data...
Follow this steps to fix this:
**Turn off your device**
1. Press and hold the **VOLUME DOWN** button, and then press and hold the **POWER button**.
2. Wait for the screen with the three Android images to appear, and then release the **POWER** and **VOLUME DOWN** buttons.
3. Press **VOLUME DOWN** to select FACTORY RESET, and then press the **POWER** button.
The **boot** may take some minutes
Upvotes: 1 <issue_comment>username_2: If you have enabled the Android Device Manager, this is a simple fix. Open up the device manager from a desktop computer and set a temporary password on the phone. You can use that temporary password to get past the lock screen. Otherwise, you will need to factory reset the phone.
Upvotes: 0 |
2015/12/19 | 657 | 2,442 | <issue_start>username_0: I have the following problem: about half of my phone storage is filled by files that grouped as Misc in Android Storage app. The problem is that I can't find these files. If I open the Misc. category there is no files displayed that can fill up that much space (the same thing goes for ES File Explorer SD card analyst).
So the question is how I can find this files.
(I have a suspicion that it's some kind of remnants from BOINC application, but this is not helping me in any way)
[](https://i.stack.imgur.com/c1yCT.png) [](https://i.stack.imgur.com/BtvKKm.png)
[](https://i.stack.imgur.com/qz7i0m.png)
Storage screenshots (click images for larger variants)
Here should've been another image to illustrate the situation with analysis from ES File Explorer SD card analyst, but I don't have enough karma for that.<issue_comment>username_1: Consider these possibilities:
* Do you have "Recycle Bin" enabled in ES Explorer? If so, check the Recycle Bin folder. Its easy to forget sometimes that your deleted files aren't actually deleted when using ES.
* If you wiped-clean or reset your phone to factory recently, it might be keeping your previous data somewhere, normally in a `.android` folder somewhere.
* Also you can enable to show hidden files in ES Explorer, maybe might give hints.
* ES Cleaner too, run it and see what it finds and thinks you can clear. Most times, it provides the link to the directory where the files tantamount to cleaning are.
I can think of the above now. I hope it helps
Upvotes: 1 <issue_comment>username_2: You can try [DiskUsage](https://play.google.com/store/apps/details?id=com.google.android.diskusage&referrer=utm_source%3Dgoogle%26utm_medium%3Dorganic%26utm_term%3Dandroid+diskusage&pcampaignid=APPU_1_Ill1VqDdLIHcUqywuagF) app (free), it shows detailed information about memory usage and also gives you option to:
* Scan internal or external SD and graphically display space occupied by directories/ sub directories
* Choose files / sub directories / directories for deletion
* Re-Scan after deletion so that you can free up desired storage space

Upvotes: 4 [selected_answer] |
2015/12/19 | 820 | 3,215 | <issue_start>username_0: A virus similar to **monkey test** that I almost solved the problem with *Titanium Backup* app until I **deleted too many system apps.** Now my tablet **stuck on android logo**. However I backed up all apps with Titanium and copied it to my computer.
Please tell me there is hope. I almost solve three month problem by following steps with Titanium but I overdone it. I hope there is still a solution with the backup I made. I really don't care about the data my problem always was that I never found a ROM for my device but I am no expert. It could be there and I did't not see it.
The virus was similar to the monkey test but it wasn't the same. That's why it was hard to follow steps latterly. Whatever it takes to get my device back it is so important for me. I will right the build number for the tab and upload all apps images and a video for its settings ,model number and virus apps, only images was after deleting obvious virus apps. I really appreciate any help.
Build number: rk\_30 android 4.1.1 sdk v1.00.00 bsmart bs101 v1.0 20130316.
[**Video showing all info**][2]
<https://www.youtube.com/watch?v=hC-Km8pdOf8>
i spent the past time trying to learn more about adb ,and i found this video when searching it could be the solution for my problem and i hope it is helpful video for others. i don't want to make the same mistake twice so i'm waiting for your advice before continue in these steps, also i put an image after i did the first step only to make my computer reed my tab on adb
[](https://i.stack.imgur.com/o4jyS.png)<issue_comment>username_1: If you backed up the apps you removed, you should be able to just adb push them back to the device OR copy/paste to the system app directory if that's available from Windows/Linux (etc) file explorer. Assuming all you did was delete some apk's.
If you didn't and you can find a stock rom, you might be able to do the same but instead getting the apk's from the rom.
Its possible that doing so may not work (depending on how the rom is set up and what you have available) and that you need to (re-)flash a rom (even just a dirty flash of the same rom or newer should get you back in).
But what you should have done was a full backup via adb, made sure there was a rom available for flashing, or installed a recovery and made a full backup before messing around in the system section. BACKUP backup backup!
A more direct answer may be obtained from the device thread on xda website where multiple people likely know the device well enough to get you through it.
Upvotes: 1 <issue_comment>username_2: You're probably stuck on the logo because, you could've deleted a system app that was named com.android.bluetooth-20151217-190009 which is a PROPERTIES file. You might want to bring it in to the Google Store. This is why you do not mess with system apps! It brings a lot of trouble to your phone.
Now, if you deleted the apps because you wanted storage, That is not a good idea, because your phone may overflow with downloaded with apps and games, which is not healthy for your device. Bringing it to the Google Store, they may fix your problem.
Upvotes: 0 |
2015/12/19 | 520 | 1,686 | <issue_start>username_0: After I updated to Windows 10, Genymotion no longer works. I get this error message.
[](https://i.stack.imgur.com/bsn6Q.png)<issue_comment>username_1: A clean Genymotion install will likely solve your issue. It's hard to interpret the error message as you're using the program in French.
Upvotes: 0 <issue_comment>username_2: Try the following steps. Although this is standard troubleshooting, but it could still help.
1. Reboot your PC and run Genymotion.
2. If you still get errors uninstall Genymotion and reboot PC.
3. Reinstall Genymotion and try again.
Upvotes: 0 <issue_comment>username_3: I found out that Oracle VirtualBox, which Genymotion is based on, doesn't install the network adapters correctly in Windows 10.
And the solution:
1. Delete all previous VirtualBox adapters
2. Try downgrading to VirtualBox 4.2.18
3. Go to device manager and click "Action" > "Add legacy hardware"
4. Install the oracle virtual box adapters manually (my path was `C:\Program Files\Oracle\VirtualBox\drivers\network\netadp\VBoxNetAdp.inf`)
Now that VirtualBox adapters are installed correctly, it needs to be setup correctly. (the following solution is like many other solution in here)
1. Start Oracle VM VirtualBox dependent Genymotion, and go to "File" > "Preferences" > "Network" > "Host-only Network"
2. Click "Edit"
3. Set IPv4 192.168.56.1 with mask 255.255.255.0
4. Click "DHCP Server" tab and set server address: 192.168.56.100, server Mask: 255.255.255.0, lower address bound: 192.168.56.101 and upper address bound: 192.168.56.254
5. Now click "OK" and start Genymotion.
Upvotes: 1 |
2015/12/20 | 476 | 1,522 | <issue_start>username_0: I've downloaded `cm-13.0-2015-1209-NIGHLY-flo.zip` and tried to install it as MultiROM in TWRP 2015-06-30 (v2.8.7.0) on my Nexus 7 (2013 wifi):
Advanced → MultiROM → Add ROM → Zip File.
But installing fails:
[](https://i.stack.imgur.com/sK9TV.png)
What to I have to do to make the install succeed?<issue_comment>username_1: Quoting from official Cyanogen site
Nightlies are not [recommended](http://www.cyanogenmod.org/about) unless you can handle issues arising out of it, since they are not tested
>
> ...We have the Nightlies, which are as volatile as a firmware can get. These releases keep coming at an interval of a day or two and if you do end up trying one of these, do not be alarmed if your device goes cuckoo on you. These ROMs are largely untested, and as advised by CyanogenMod, not meant for use for an average user. These releases, are meant to test untested waters that may or may not break your phone
>
>
>
Hence, you should attempt with a stable version, more so when you are trying to install it on Multi ROM
Upvotes: 1 <issue_comment>username_2: Try this workaround:
<http://forum.xda-developers.com/showpost.php?p=63431628&postcount=50>
"Delete all the lines after "ui\_print("Verifying the updated system image...");" until "show\_progress(0.020000, 10);". once you have done it save the file and copy it back into the location inside the rom zip file and flash it on your phone."
Worked for me.
Upvotes: 2 |
2015/12/21 | 385 | 1,400 | <issue_start>username_0: It's often difficult to locate the app I am looking for on my Android phone. Is there a way/app which behaves like Windows + R on a PC, with autocomplete, so that I can quickly launch the app I want to use, rather than endless swiping?<issue_comment>username_1: Quoting from official Cyanogen site
Nightlies are not [recommended](http://www.cyanogenmod.org/about) unless you can handle issues arising out of it, since they are not tested
>
> ...We have the Nightlies, which are as volatile as a firmware can get. These releases keep coming at an interval of a day or two and if you do end up trying one of these, do not be alarmed if your device goes cuckoo on you. These ROMs are largely untested, and as advised by CyanogenMod, not meant for use for an average user. These releases, are meant to test untested waters that may or may not break your phone
>
>
>
Hence, you should attempt with a stable version, more so when you are trying to install it on Multi ROM
Upvotes: 1 <issue_comment>username_2: Try this workaround:
<http://forum.xda-developers.com/showpost.php?p=63431628&postcount=50>
"Delete all the lines after "ui\_print("Verifying the updated system image...");" until "show\_progress(0.020000, 10);". once you have done it save the file and copy it back into the location inside the rom zip file and flash it on your phone."
Worked for me.
Upvotes: 2 |
2015/12/21 | 710 | 2,457 | <issue_start>username_0: I'm running a Nexus 5 (Android 6.0.1)
Today I have created a WhatsApp backup file and wanted to copy it to a new device. I can confirm the file existence in ES File Explorer.
[](https://i.stack.imgur.com/cPaff.png)
(Click image to enlarge)
However, I cannot find the file when I connect my Nexus 5 with a USB (MTP).
[](https://i.stack.imgur.com/TUTu8.jpg)
After further checking I found the file is stored in `/sdcard/WhatsApp`, while my PC is connecting to `/Internal Storage/WhatsApp`
[](https://i.stack.imgur.com/D1C97.png)
(Click image to enlarge)
But I cannot find `/sdcard/` in my PC...
To make things more complicated, when I reboot the N5, the file appears again `/Internal Storage/WhatsApp/`
I've been a long time Android user since Motorola Milestone. I'm not a dev but luckily I have the experience in tackling such issue. But for a normal user without in-depth computer knowledge, this inconsistent behavior is just weird. There's a long way for Android to catch up with iOS in terms of user friendliness.<issue_comment>username_1: Quoting from official Cyanogen site
Nightlies are not [recommended](http://www.cyanogenmod.org/about) unless you can handle issues arising out of it, since they are not tested
>
> ...We have the Nightlies, which are as volatile as a firmware can get. These releases keep coming at an interval of a day or two and if you do end up trying one of these, do not be alarmed if your device goes cuckoo on you. These ROMs are largely untested, and as advised by CyanogenMod, not meant for use for an average user. These releases, are meant to test untested waters that may or may not break your phone
>
>
>
Hence, you should attempt with a stable version, more so when you are trying to install it on Multi ROM
Upvotes: 1 <issue_comment>username_2: Try this workaround:
<http://forum.xda-developers.com/showpost.php?p=63431628&postcount=50>
"Delete all the lines after "ui\_print("Verifying the updated system image...");" until "show\_progress(0.020000, 10);". once you have done it save the file and copy it back into the location inside the rom zip file and flash it on your phone."
Worked for me.
Upvotes: 2 |
2015/12/21 | 386 | 1,426 | <issue_start>username_0: I actually can't open the settings and desperately want to clear the cache of an app which is not working properly. When I open the settings app, it is forcefully closed down again and again.
How do I clear app cache/data on Android without accessing settings?<issue_comment>username_1: Quoting from official Cyanogen site
Nightlies are not [recommended](http://www.cyanogenmod.org/about) unless you can handle issues arising out of it, since they are not tested
>
> ...We have the Nightlies, which are as volatile as a firmware can get. These releases keep coming at an interval of a day or two and if you do end up trying one of these, do not be alarmed if your device goes cuckoo on you. These ROMs are largely untested, and as advised by CyanogenMod, not meant for use for an average user. These releases, are meant to test untested waters that may or may not break your phone
>
>
>
Hence, you should attempt with a stable version, more so when you are trying to install it on Multi ROM
Upvotes: 1 <issue_comment>username_2: Try this workaround:
<http://forum.xda-developers.com/showpost.php?p=63431628&postcount=50>
"Delete all the lines after "ui\_print("Verifying the updated system image...");" until "show\_progress(0.020000, 10);". once you have done it save the file and copy it back into the location inside the rom zip file and flash it on your phone."
Worked for me.
Upvotes: 2 |
2015/12/21 | 657 | 2,321 | <issue_start>username_0: I have deleted some preloaded apps. If I restore mobile (Factory reset)
* Will the preloaded apps be restored?
* Will my device remain rooted or will I lose root?
**Device**: Samsung Galaxy Note 1 (GT N7000)<issue_comment>username_1: Your phone will be unrooted and apps will install again.
Upvotes: -1 <issue_comment>username_2: There are two parts to your question
1. **Factory Reset**.
a) Factory reset removes user data including apps installed by the user on phone. Since your device is rooted, you can see that everything in `/data`
and `/data/data` will be wiped.
b) Factory reset does **not** flash stock ROM. Since you have deleted preloaded apps, they will **not** be restored. If you want them restored, you have to flash stock ROM
To understand more about factory reset, please read this
[Factory reset to restore performance? What are the disadvantages?](https://android.stackexchange.com/questions/12802/factory-reset-to-restore-performance-what-are-the-disadvantages)
2. **Root**. You will **not** lose root on factory reset. Your phone will remain rooted
Please read this post to understand more [Can I safely do a factory reset without losing root?](https://android.stackexchange.com/questions/100996/can-i-safely-do-a-factory-reset-without-losing-root)
Further, unrooting will also not being back deleted apps
Please read this [Will un-rooting return stock apps](https://android.stackexchange.com/questions/129714/will-un-rooting-return-stock-apps)
---
>
> Additional Information on reverting to stock ROM (asked by OP in comments)
>
>
>
***How can I flash stock ROM?***
* **Source for downloading Stock ROM**: [Sammobile](http://www.sammobile.com/), you have to register and download ROM specific to your model and region. You can check here also [Where can I find stock or custom ROMs for my Android device?](https://android.stackexchange.com/questions/17152/where-can-i-find-stock-or-custom-roms-for-my-android-device)
* **Flashing Instructions**: Can be found on many sites. Here is one such link (also having stock ROMs) from [XDA](http://forum.xda-developers.com/showthread.php?t=1424997). You can also see "additional information" of my [answer](https://android.stackexchange.com/questions/132033/recover-android-system-with-twrp-recovery)
Upvotes: 3 |
2015/12/21 | 1,278 | 5,105 | <issue_start>username_0: I installed CM 13.0 onto a Nexus 6, which includes Android 6.0.1, and I have set a PIN. The Settings UI reports that my phone is encrypted.
However, my phone is able to boot all the way to the lock screen without entering my PIN. This seems to imply that only `/data` is encrypted. I was expecting that I would have to enter a PIN at boot time, the way I did with Ice Cream Sandwich and Lollipop. Furthermore, when I go to TWRP, I can see all my files without ever entering a PIN.
My understanding was that Marshmallow required full disk encryption, and that full disk encryption would require a PIN at boot time to decrypt anything useful.
What did I misunderstand here? If someone stole my phone and didn't know my PIN, what would they have access to?<issue_comment>username_1: I do believe the password you had entered was Encrypt Device Data which in turn does what is below, not screen lock
If you have gone into settings and encrypted your device please note that **IF** your device had the function of Mass Storage, that feature will now be disabled as Media Storage will be the only thing you can use(media storage: add videos and or music by computer media software; no adding other folders and or files manually, ect.)
Encrypting a device and or SD card locks specifically 3rd party software and or computer interaction from getting access to the device, device files and or prying eyes let alone access to folders you once could by connecting to your computer.
To undo this that I have found useful and possibly the only way:
Format Encrypted Device
SD Formatting wipes out all user data like a clean slate and or like a new card
Device formatting wipes **ALL** user account information including all files like Music, Photos, Videos, ect.
It is recommend to backup these files before formatting any of the two (2)
To backup
* Settings
* Backup and reset
Make sure **Backup My Data** is checked
Make sure **Backup Account** is correct
Make sure **Automatic Restore** is checked
Automatic Restore: Restores user account(s), system data, downloaded system apps, restores system pictures, system videos, system music, and or anything else that was saved to the **system only**
**IT IS RECOMMENDED TO RESTORE OVER WI-FI, IF YOU USE CARRIER DATA CHARGES MAY APPLY**
Upvotes: 0 <issue_comment>username_2: Because I still use Shamu as personal device, I had experience with CM ROMs.
Nexus devices with L or M had forced encryption at first bootstrap - that is, forceencrypt flag is present in fstab.qcom, so your device is automatically encrypted.
In those cases, master key is encrypted with default password, which is
```
<PASSWORD>
```
Most probably, when you had set lock screen PIN, you haven't selected *Require PIN to start device*, hence, there is no preboot authentication.
In regard to FDE, in AOSP ROMs only /data is encrypted; but there are solutions for [LUKS](https://github.com/guardianproject/LUKS) or [PBE](https://github.com/GNUDimarik/Mobiflage) that are not user friendly. Several years ago, [WhisperCore](https://www.cnet.com/news/whispercore-app-encrypts-all-data-on-android/) was launched and abandoned.
Upvotes: 1 <issue_comment>username_3: Summary of this is: Encryption is Automatic and Ever there for Marshmallow. Especially the CM13 you are operating on.
[](https://i.stack.imgur.com/BYbjp.jpg) [](https://i.stack.imgur.com/u59WA.jpg) [](https://i.stack.imgur.com/26pfa.jpg)
But protecting your device is your choice. The system wants to give you liberty to do what you like so it won't enforce data security even if encryption is available. When setting lock screen security, there's a question about, liking to protect your device by asking a pattern, password or PIN. This means when device switches off, and this option is on, it runs an encrypting script so as on the next bootup the phone demands the pattern to decrypt. Even TWRP will ask you for a code so as to mount `/data`. Note that if the whole root partition is encrypted, the device won't even use the **boot.img** and recovery since they rest at `/dev/platform/[memory.name]/by-name/boot.img` and `/dev/platform/[memory.name]/by-name/recovery.img` hence encryption only affects the `/data` partition, anyway, encryption is for protecting your data from unauthorized access not the system from accessing it's runtime essentials. Failure to agree to that prompt well count your device as decrypted and it's not encrypted on shutdown again hence it behaves like a decrypted device which is put aware to you when it tells you, "device protection features will not work on this device". That's what Android does, if you want a more practical visible type of encryption try BlackBerry 7 OS encryption and it's precedent devices. It will encrypt media, sdcards, and they won't even work on your computer through drag to copy. Unless you send then by bluetooth or any recognized upload.
Upvotes: 0 |
2015/12/21 | 400 | 1,560 | <issue_start>username_0: Since upgrading my Samsung Galaxy Xcover 3 phone to Android 5.1 Lollipop, I've noticed that the flashlight keeps getting turned on in my pocket. Apparently, pressing the "Xcover button" on the side of the phone will now toggle the flashlight on and off even in the lock screen.
I've tried to find some way to turn this behavior off, but I'm not seeing anything in the settings that would look promising. My attemps to Google for a solution just yield instructions for *enabling* flaslight access from the lock screen on versions *prior to* Lollipop.
Short of getting a more robust case for my phone, how can I keep my pockets from shining in the dark?<issue_comment>username_1: I had this same problem, and found a solution!
Download a random app (one that you don't actually need) from Play Store, then go to Settings (*Personal* / *Xcover key*) and change the button to open that app. Test that it works, and then delete the app, and now the button does nothing. ;)
Upvotes: 2 [selected_answer]<issue_comment>username_2: Today my girlfriend's father ask me how to solve it.
I've just written an lightweight app (7kB) which does nothing at all.
Download it from [here](https://play.google.com/store/apps/details?id=com.mklimek.xcoverdisabler) and set as your XCover button app :)
Upvotes: 2 <issue_comment>username_3: I have found that this will disable the torch: Go to SETTINGS then ACTIVE KEY press SHORT PRESS and select NO ACTION, this should now disable the torch but leave the camera active on a long press.
Upvotes: 1 |
2015/12/22 | 943 | 3,624 | <issue_start>username_0: I changed my Android mobile phone from one carrier to another. I installed Vault app from the Google Play store, and placed the old SD Card from the previous phone into this new phone. After installing the vault software in the new phone, I am unable to restore data (photos, videos) from old SD card.
My old phone isn't in working condition so how do I restore these files?<issue_comment>username_1: There is a related post here which indicates that vault app is phone specific [How to restore files on SD Card that was protected by Vault app?](https://android.stackexchange.com/questions/49657/how-to-restore-files-on-sd-card-that-was-protected-by-vault-app) which indicates it is not possible, more so since your old device isn't working
Even for premium vault members it appears to be the same (need to use old phone)
<https://help.nq.com/entries/24327737-I-just-got-a-new-phone-how-can-I-transfer-my-Premium-Vault-service-to-the-new-device->
But both these are time lined 2013 so it's best to reach out to nq vault help and post your outcome here for benefit of others
**Edit**
**Short answer** : **NO**, unless you are a premium subscriber and made a cloud backup
**Long Answer** : I mailed NQ, since I had the app on my previous cell and
was debating to go premium. Their reply, you can quote request (#239838) to follow up
>
> Carrie (NQ Mobile US, Inc.)
> Dec 23, 09:28
>
>
>
Thank you for contacting NQ Mobile Customer Support.
>
> Unfortunately, if you no longer able to access the device, it will be difficult to recover your files and information from the Vault at this time. This is because the Vault files are saved locally on the device itself and the only way to either backup, restore, or move those encrypted files would be by using the Vault application on the original device. There is no other way to do so via a computer for example, unfortunately.
>
>
> If you ever made a backup with our premium Cloud Backup (Vault Online) feature in the past, you should be able to restore your information to the last backup on a new mobile device by tapping " Cloud Backup (Vault Online) " in the application, signing into your NQ Account, and then tapping the green "Restore" button. If you have never made a backup or were never a Premium User, unfortunately the files are lost and there's no other way to recover them. I do apologize for any inconvenience this may cause.
>
>
> If you had Premium Service on your old device, however, I can assist you in transferring that Premium Service over to your new phone.
>
>
>
There is a **lesson** to be learnt here, before trusting sensitive data to such apps, **evaluate all contingencies before you do that**
Upvotes: 2 <issue_comment>username_2: I imported pics and videos which were in my SD card to vault, then inserted my SD card to another phone and all the pics and videos are available.
If you import data from sd card to vault so what vault does is it copies the data to vault in internal memory
And 1 original copy is still in the SD card.
Upvotes: 0 <issue_comment>username_3: I imported pics and videos which were in my SD card to vault, then inserted my SD card to another phone and all the pics and videos were available.
If you import data from SD card to vault, what vault does is it copies the data to vault in internal memory and 1 original copy is still in the SD card.
Upvotes: 0 <issue_comment>username_4: Try to read your sdcard using the PC , the Vault is a form of programme that move you files to hidden. Use of find the folder, your files are there.
That's how I do last time.
Upvotes: 0 |
2015/12/23 | 929 | 3,518 | <issue_start>username_0: I know it's possible to view the entire browser history in other browsers. I can only see the last 7 days of my browsing history. How can I see which sites I visited beyond just the last week? Or are those getting deleted?
**My phone**: Android 5.0, Samsung Galaxy S5<issue_comment>username_1: There is a related post here which indicates that vault app is phone specific [How to restore files on SD Card that was protected by Vault app?](https://android.stackexchange.com/questions/49657/how-to-restore-files-on-sd-card-that-was-protected-by-vault-app) which indicates it is not possible, more so since your old device isn't working
Even for premium vault members it appears to be the same (need to use old phone)
<https://help.nq.com/entries/24327737-I-just-got-a-new-phone-how-can-I-transfer-my-Premium-Vault-service-to-the-new-device->
But both these are time lined 2013 so it's best to reach out to nq vault help and post your outcome here for benefit of others
**Edit**
**Short answer** : **NO**, unless you are a premium subscriber and made a cloud backup
**Long Answer** : I mailed NQ, since I had the app on my previous cell and
was debating to go premium. Their reply, you can quote request (#239838) to follow up
>
> Carrie (NQ Mobile US, Inc.)
> Dec 23, 09:28
>
>
>
Thank you for contacting NQ Mobile Customer Support.
>
> Unfortunately, if you no longer able to access the device, it will be difficult to recover your files and information from the Vault at this time. This is because the Vault files are saved locally on the device itself and the only way to either backup, restore, or move those encrypted files would be by using the Vault application on the original device. There is no other way to do so via a computer for example, unfortunately.
>
>
> If you ever made a backup with our premium Cloud Backup (Vault Online) feature in the past, you should be able to restore your information to the last backup on a new mobile device by tapping " Cloud Backup (Vault Online) " in the application, signing into your NQ Account, and then tapping the green "Restore" button. If you have never made a backup or were never a Premium User, unfortunately the files are lost and there's no other way to recover them. I do apologize for any inconvenience this may cause.
>
>
> If you had Premium Service on your old device, however, I can assist you in transferring that Premium Service over to your new phone.
>
>
>
There is a **lesson** to be learnt here, before trusting sensitive data to such apps, **evaluate all contingencies before you do that**
Upvotes: 2 <issue_comment>username_2: I imported pics and videos which were in my SD card to vault, then inserted my SD card to another phone and all the pics and videos are available.
If you import data from sd card to vault so what vault does is it copies the data to vault in internal memory
And 1 original copy is still in the SD card.
Upvotes: 0 <issue_comment>username_3: I imported pics and videos which were in my SD card to vault, then inserted my SD card to another phone and all the pics and videos were available.
If you import data from SD card to vault, what vault does is it copies the data to vault in internal memory and 1 original copy is still in the SD card.
Upvotes: 0 <issue_comment>username_4: Try to read your sdcard using the PC , the Vault is a form of programme that move you files to hidden. Use of find the folder, your files are there.
That's how I do last time.
Upvotes: 0 |
2015/12/23 | 592 | 2,221 | <issue_start>username_0: What I have found recently: In order to save space on my device (Galaxy S5) I attempted to use the 'move to SD card' option. This has not really helped all that much. It seems that it uncompresses an application, making it a lot larger before moving a chunk of it to the SD card.
What I am asking is about the option that is available via a rooted phone. Does the rooted version offer a better solution, such as moving more of the app to the card? Or is it not worth the effort to root the phone for that choice?
My phone is I am certain long out of warranty so not really worried about that.
It is clear to me there also may be multiple different tools that do this. It would be helpful to find which may be the best choices. Thank you in advance.<issue_comment>username_1: Link2SD is a great **root** app that move the files 100%. I had it and saved a lot of space! but for now I don't need it. You will need to use a tool to edit the partitions on you SD card to make Link2SD work. I'm not sure if any of the tools running on Android will work correctly. There is a "Link2SD tutorial" available.
Just one bad thing about Link2SD : It is not free.
Upvotes: 1 <issue_comment>username_2: The "Move to SD card" neither moves the app (APK file) nor the complete app data.
It just moves the additional media files and data (that doesn't pose any security risks upon revealing to user) like Images or Graphics or whatever.
(And all apps do not provide this option. It depends on the app developer.)
These moved data can be found in the Memory Card in a directory named *Android/data* .
And yes, the rooted solution moves the complete app and app data into your memory card, which completely lessens the burden.
But you have to [create a separate EXT2/EXT3/EXT4 partition first in your memory card](http://www.wikihow.com/Use-Link2SD#Creating_Another_Partition_sub) (using softwares like [MiniTool Partition Wizard](http://www.partitionwizard.com/)) and then use an app like [Link2SD](https://play.google.com/store/apps/details?id=com.buak.link2sdplus&hl=en) (as @Tamoghna said) or [**Mounts2SD**](http://forum.xda-developers.com/showthread.php?t=2432479).
Upvotes: 3 [selected_answer] |
2015/12/23 | 1,163 | 3,331 | <issue_start>username_0: Suppose I plan to flash my recovery with TWRP/CWM, but then later suppose I would like to move back to the stock recovery.
Is it possible to take a backup of stock recovery just like we can take a backup of our ROM?<issue_comment>username_1: **EXTRACTING BOOT.IMG FROM STOCK ROM or OTHER IMG LIKE RECOVERY ETC.**
**REQUIREMENT:**
1. Download **adb** required tools.
2. PC
3. Phone Drivers (for other phones google it out)
for spreadtrum phones: SCI-Usb-Jungo v4 [(download here)](http://adf.ly/cT9ke) or
SCI-USB2Serial v1.5.6.1 [(download here)](http://adf.ly/cT9rT)
4. Android Phone + Usb cables
**STEPS:**
OPEN cmd window in adb folder
type the ff:
```
adb devices
adb shell
su
cat /proc/mtd
```
Now from your screen look at your files and you see **mtd10 has your recovery.img**
```
dev: size erasesize name
mtd0: 00040000 00020000 "misc"
mtd10: 00500000 00020000 "recovery"
mtd12: 00280000 00020000 "boot"
mtd13: 04380000 00020000 "system"
mtd14: 04380000 00020000 "cache"
mtd15: 04ac0000 00020000 "userdata"
```

Once u see it's **LOCATION** in which in this sample is in mtd10
type:
cat /dev/mtd/mtd10 > /sdcard/mtd10.img **or**
cat /dev/mtd/mtd10 > /sdcard/recovery.img
*Source:* <http://howtorootcherrymobilesnap.weebly.com/adb/how-to-extract-img-files-via-adb-ex-bootimg>
Upvotes: 3 <issue_comment>username_2: Generic Backup/ Restore
=======================
If you are root you can backup/ restore all partitions (not only recovery) with native tools.
To list all mountable partitions and block devices use `find` and `grep`
```
adb shell
su
find /dev | grep by-name$
```
On my system I get `/dev/block/platform/soc/1d84000.ufshc/by-name` back (this is very device specific and yours may look different).
Now You can list `ls` this path to show all mountable partitions.
```
ls -al --color /dev/block/platform/soc/1d84000.ufshc/by-name/
```
Or all in one command
```
ls -al --color $(find /dev|grep by-name$)
```
Backup
------
Armed with this information you can, as root, backup all partitions. Just use the `dd` (part of every android toolboox/ toyboox e.g.:
```
dd if=/dev/block/platform/soc/1d84000.ufshc/by-name/recovery of=/sdcard/Download/recovery.img.dd
```
Restore
-------
>
> **Warning**
> Data lost possible! Don't use until You understand all `dd` parameter.
>
>
>
In many cases you can also **restore** with the `dd` tool, e.g:
```
dd if=/sdcard/Download/recovery.img.dd of=/dev/block/platform/soc/1d84000.ufshc/recovery
```
Upvotes: 3 <issue_comment>username_3: The key point is to boot a custom recovery partition such as TWRP **without installing it**. For instance with an HTC device you would use the platform adb tools and run this command from a terminal in Windows:
```
fastboot boot twrp.img
```
This remote-boots the custom recovery partition so you leave the stock recovery partition intact.
Now you root the phone.
Reboot the phone.
adb shell
su
Use dd command to copy the recovery partition.
If you have already flashed a recovery partition then it's too late. You will have to find a stock recovery partition for your phone somewhere on the [interweb](https://dictionary.cambridge.org/dictionary/english/interweb).
Upvotes: 2 |
2015/12/23 | 544 | 2,032 | <issue_start>username_0: I have a bricked android BLUBOO X2. I rooted it, changed build.prop to set some settings so that I could boot in Ubuntu Touch(which didn't work). And now I can't boot up anymore at all, it is in boot loop.
I tried booting in recovery and then selected "apply update from ADB". It then says: 'Now send the package you want to apply to the device with "adb sideload < filename>" ... '. I did this once and it showed an error, but the weird thing/problem is that I cannot sideload anything anymore: 'error: device not found'.
I (think I) know it is connected with my (Windows 10) PC because it made a connection and deconnecting sound when booting in recovery.
How can I get my android to be connected or how otherwise can I load a ROM or change the build.prop back?<issue_comment>username_1: Well, you've just messed with the system partition, so there's nothing much to panic.. Here's a stock ROM for your phone:
<http://www.needrom.com/category/bluboo/x2-bluebo/> (Choose the ROM for the SAME android version you had before bricking).
The good news is you won't need to lose your data. Everything will be safe.
Download SP Flash Tools, load the scatter file from this ROM, uncheck all the partitions except ANDROID (SYSTEM) as this is the only partition you need to rectify. Click on Download and connect your device. Your device will be unbricked without having to lose any data.
Upvotes: 1 <issue_comment>username_2: if you bricked your phone and the battery is non removable..
just open your back panel..
open screws and just cut off the power supply from the battery to phone..
for your reference i have posted a link of how to cut power supply from vivo xshot and restore it
<https://moschino2015.wordpress.com/2015/09/18/exquisite-and-easy-to-disassemble-vivo-xshot-teardown-map-tour/>
have fun!!
p.s who says battery arent removable??
note :- i am not responsible if u damage the internal circuits or void warranty of your phone!!
do it on ur own risk!
but it worked for me :)
Upvotes: -1 |
2015/12/23 | 468 | 1,845 | <issue_start>username_0: I just bought a new phone, it is Android 4.4.2, but it seems that it has a problem with its battery. Every time I turn on the screen, the battery drops 1%. For example, the battery is 30%. then I close the screen and turn it on again after a minute, and then in few seconds,the battery becomes 29%. It only happens when I turn on the screen, but when im using it, the battery discharge is normal. How can I fix it?<issue_comment>username_1: Based on our chat, things which were tried are:
* Turning *off "proximity sensor" and "Smart Stay"* (to rule out malfunctioning causing battery drop h
* Checking screen usage from inbuilt battery statistics (seemed to match usage)
* Booting into safe mode and observing battery drop
* Factory reset to rule out rogue app causing this
OP has confirmed that the **Battery drop continues** as stated in the question
Being a new phone, it could either be
* ROM bug, which can be checked from user forums. If it is a reported bug add if the OEM rolls out a fix then the problem is solved
* Defective piece, which being in warranty can be exchanged (**Recommended** course of action on my opinion)
(Flashing stock again is an option but do not advise it as rooting methods, flashing tools etc may not be readily available being a lesser known phone My25 (myphone). Flashing a custom ROM for the same reason and absence of developer support , is not recommended)
Upvotes: 1 <issue_comment>username_2: There is a new thing in android called Smart Pixels. It is available in some custom roms like [AOSP Extended (I don't think it is available on kitkat)](https://aospextended.com/) or an android app called [Pix Off](https://play.google.com/store/apps/details?id=com.urysoft.pixelfilter)
you can choose to disable a percentage of pixels on your screen to save battery :)
Upvotes: 0 |
2015/12/23 | 436 | 1,582 | <issue_start>username_0: If I format my micro SD card as NTFS, will my phone see it? I need this because I want to transfer files larger than 4GB on my phone microSD card, but FAT32 allows just files up to 4GB.<issue_comment>username_1: Honestly speaking, It depends on the manufacturer. As far as I am aware, the company has to get some license from Microsoft to include NTFS support. Speaking from experience, most (high-end) Samsung and HTC phones do while custom roms typically do not.
The only sure-shot method to confirm is by trying it out with an extra sd card...
Upvotes: 2 <issue_comment>username_2: Could [exFAT](https://en.wikipedia.org/wiki/ExFAT "exFAT") be an option? It allows large files and some Android devices support it. Worth a try?
Upvotes: 1 <issue_comment>username_3: I've already found an similar issue: [SD card supported by Android 4.2.2](https://android.stackexchange.com/questions/98494/sd-card-supported-by-android-4-2-2)
Here you would find this answer:
>
> I have looked into this issue before, and as it stands at the moment,
> native android does not support exFAT or NTFS.
>
>
> Support for additional formatting types are included in some ROMs
> because they have been specifically coded to do so such as AFAIK which
> I believe supports NTFS.
>
>
> I think you are stuck with FAT32 unless you wish to root and flash a
> ROM that supports alternative formats.
>
>
>
Shortly, it seems it doesn't depend on manufacturer or Android version. It seems to be every Android phone may some issues with NTFS-formatted SD card.
Upvotes: 2 |
2015/12/23 | 977 | 3,800 | <issue_start>username_0: I have bought a new phone which seems to be used. The manufacturer checked my IMEI and confirmed that the phone has been purchased/activated before.
The body looks new so I don't mind keeping it but I am worry about malicious software/apps. I know I can factory reset the phone, but is there any way to tell if the ROM is original?
FYI, the phone is a Moto G 2nd gen w/ 5.0.1 lollipop.<issue_comment>username_1: TheBro21's comment applies only if it's a KNOX enabled device. For most Android devices, when you boot into downloading mode it will read a few lines in "SYSTEM STATUS: custom" or "Custom Binary Download YES (and the number of time here, if it hasn't be reset with triangle away)". If in bootloader mode it says `Unlock state: true`, it might be that the ROM is custom, but then again it may have been done by a stock flash.
You can also go into the settings and about and look at the system status, ROM, kernel, or base-band and if it has a weird name, google it, it's probably a custom ROM or kernel, if not, it probably isn't or close enough you'd never notice.
If you really are concerned and want a fresh device on official firmware, google how to flash your device with Odin, than download the latest stock firmware.
Upvotes: 3 <issue_comment>username_2: I am assuming your device is NOT rooted by you
You can
* Factory reset your device (of course after taking back up of data )
* Root your device, flash a custom recovery and take a complete back up of your device with [TWRP](https://twrp.me/devices/motorolamotog2014.html)
* Generate MD5 check sum using TWRP or alternate apps like [Hash Stamp MD5 & SHA1 generator](https://play.google.com/store/apps/details?id=leonidpeter.hashstamp)
* Download [stock lollipop](http://www.guidingtech.com/38303/restore-moto-g-stock/) (assuming that your device variant matches with that mentioned and the ROM version on your device matches)
* Generate and verify stock MD5 and SHA1 with TWRP nandroid back up
* If it matches, it is confirmed both are same and no tampering took place
* If not flash only kernel from TWRP, and generate MD5 and SHA1. Repeat with downloaded image and verify
* Repeat above with `/sys` and `/data`
* This should pinpoint the tampering that happened
It is a little tedious but IMO, worth the effort as it proves beyond doubt that either present ROM has not been tampered with or if tampered, in which portion (s) of the ROM it happened. This may not be a practical solution but is based on the premise that (near) fool proof validation is only possible when compared with original stock ROM. Other variations of this could be see if OTA updates work or comparing partition sizes
Upvotes: 4 [selected_answer]<issue_comment>username_3: To check if it is tampered - very hard. There are ways with calculating the checksum but I don't know will it work for sure. But, if you want to be 100% sure it was not tempered, I would suggest to manually download the official ROM and flash it. This does not void your warranty and AFAIK all phones can be manually flashed with official software.
Upvotes: 0 <issue_comment>username_4: >
> How to tell if phone's ROM is original or tampered?
>
>
>
This is how I would proceed. If the official stock ROM is available from trusted sources, you can download it and verify the integrity of the binaries on your phone by comparing it's MD5/SHA checksums with that of the one you downloaded.
But in your case, if the official ROM is available you could simply flash it and you can use your phone safely. But in case the ROM is not available(or even if it is available), the most safest option for you is to download the Official CyanogenMod ROM for your device and flash it. It will keep your phone free of "malicious software/apps."
Upvotes: 1 |
2015/12/23 | 1,007 | 4,065 | <issue_start>username_0: Normally I can reinstall (preserving application data) APK only when it's signature matches the previous one.
How do I force upgrading of the application signed with a different key (for example, from a distribution version to a self-compiled version, for example) without removal of the data (i.e. uninstallation) using root access?
Workaround is backup application's data + uninstall + install + restore data, but that is inconvenient and notifies other applications about [un]installation which is not intended.
Ideally this should be a one-off exception that I personally approve, not just disabling of the whole signature verification mechanism.<issue_comment>username_1: TheBro21's comment applies only if it's a KNOX enabled device. For most Android devices, when you boot into downloading mode it will read a few lines in "SYSTEM STATUS: custom" or "Custom Binary Download YES (and the number of time here, if it hasn't be reset with triangle away)". If in bootloader mode it says `Unlock state: true`, it might be that the ROM is custom, but then again it may have been done by a stock flash.
You can also go into the settings and about and look at the system status, ROM, kernel, or base-band and if it has a weird name, google it, it's probably a custom ROM or kernel, if not, it probably isn't or close enough you'd never notice.
If you really are concerned and want a fresh device on official firmware, google how to flash your device with Odin, than download the latest stock firmware.
Upvotes: 3 <issue_comment>username_2: I am assuming your device is NOT rooted by you
You can
* Factory reset your device (of course after taking back up of data )
* Root your device, flash a custom recovery and take a complete back up of your device with [TWRP](https://twrp.me/devices/motorolamotog2014.html)
* Generate MD5 check sum using TWRP or alternate apps like [Hash Stamp MD5 & SHA1 generator](https://play.google.com/store/apps/details?id=leonidpeter.hashstamp)
* Download [stock lollipop](http://www.guidingtech.com/38303/restore-moto-g-stock/) (assuming that your device variant matches with that mentioned and the ROM version on your device matches)
* Generate and verify stock MD5 and SHA1 with TWRP nandroid back up
* If it matches, it is confirmed both are same and no tampering took place
* If not flash only kernel from TWRP, and generate MD5 and SHA1. Repeat with downloaded image and verify
* Repeat above with `/sys` and `/data`
* This should pinpoint the tampering that happened
It is a little tedious but IMO, worth the effort as it proves beyond doubt that either present ROM has not been tampered with or if tampered, in which portion (s) of the ROM it happened. This may not be a practical solution but is based on the premise that (near) fool proof validation is only possible when compared with original stock ROM. Other variations of this could be see if OTA updates work or comparing partition sizes
Upvotes: 4 [selected_answer]<issue_comment>username_3: To check if it is tampered - very hard. There are ways with calculating the checksum but I don't know will it work for sure. But, if you want to be 100% sure it was not tempered, I would suggest to manually download the official ROM and flash it. This does not void your warranty and AFAIK all phones can be manually flashed with official software.
Upvotes: 0 <issue_comment>username_4: >
> How to tell if phone's ROM is original or tampered?
>
>
>
This is how I would proceed. If the official stock ROM is available from trusted sources, you can download it and verify the integrity of the binaries on your phone by comparing it's MD5/SHA checksums with that of the one you downloaded.
But in your case, if the official ROM is available you could simply flash it and you can use your phone safely. But in case the ROM is not available(or even if it is available), the most safest option for you is to download the Official CyanogenMod ROM for your device and flash it. It will keep your phone free of "malicious software/apps."
Upvotes: 1 |
2015/12/23 | 555 | 2,134 | <issue_start>username_0: I'm trying to connect my 2014 Macbook pro to a Pixel C tablet. The tablet has developer settings enabled, usb debugging enabled and unknown sources enabled. 'adb devices' shows nothing and there is no debug icon shown on the tablet.
I'm using a usb 3 type C connector that works **Perfectly** from my Macbook to my Nexus 5x
I've tried resetting the PRAM/NVRAM and the SMC to no avail.
The strangest thing is that we have 3 developers here with 2 ports per macbook. It *does* work on ONLY 1 port on one macbook, a 2015. We have a second *exact* same macbook bought on the same day that this tablet doesn't work on either.
Since it works on 1 port on one macbook, we know that the tablet is configured correctly for debugging. But why can't we connect it to the second port on the same machine or to another macbook??
We've never had any issues connecting any other Android device to any of these macbooks before.
**Updates:**
1. Got a different usb C cable and still have same issue.
2. Default USB Configuration (from Dev Options) is MTP, tried other USB config PTP and didn't help
3. After testing again on the 1 port that it worked in the past, trying 'adb devices' shows the Pixel C about 3 out of 5 times (in the span of 10 seconds). Trying to deploy to the device fails every time, presumably due to the flakey connection...<issue_comment>username_1: I have tried a number of USB 3.0 cables with no luck but every high quality USB 2.0 cable I've tried has worked for me. This includes USB 2.0 cables that have a Type C connector (There are many of these on Amazon. I'm currently using an "iOrange" brand cord) as well as traditional micro-usb cables with a Type C adapter ("TechMatte USB-C to Micro USB Adapter").
I'd prefer faster charging and better speeds but this takes care of my debugging needs reliably.
Upvotes: 3 [selected_answer]<issue_comment>username_2: Unfortunately, I've found that rebooting the mac will cause the adb to recognize phones through the usb-c, even if I later unplug and plug it in again. Eventually, something happens and it stops working until I reboot.
Upvotes: 2 |
2015/12/24 | 319 | 1,317 | <issue_start>username_0: I have a phone running Android 4.0 and I wish to know if it is possible to turn this phone into a dedicated calculator? When I say dedicated I mean - once the phone is turned on, it boots directly to a calculator GUI? Whereby the user can immediately starting using the calculator, just like any stock standard Android calculator app would look like.
I do not wish it to boot to a home screen in between, but directly to the calculator itself. I am using a very simple example here, in anycase, would this be possible?<issue_comment>username_1: I have tried a number of USB 3.0 cables with no luck but every high quality USB 2.0 cable I've tried has worked for me. This includes USB 2.0 cables that have a Type C connector (There are many of these on Amazon. I'm currently using an "iOrange" brand cord) as well as traditional micro-usb cables with a Type C adapter ("TechMatte USB-C to Micro USB Adapter").
I'd prefer faster charging and better speeds but this takes care of my debugging needs reliably.
Upvotes: 3 [selected_answer]<issue_comment>username_2: Unfortunately, I've found that rebooting the mac will cause the adb to recognize phones through the usb-c, even if I later unplug and plug it in again. Eventually, something happens and it stops working until I reboot.
Upvotes: 2 |
2015/12/24 | 196 | 821 | <issue_start>username_0: Is it possible to transfer the WhatsApp data of someone's phone without having access to their phone? Or alternatively, can I view their chat history remotely?<issue_comment>username_1: Find out where they have backed up their data, on the cloud or in their sd cards, then you'll have to retrieve the data and you are good to go.
Upvotes: -1 <issue_comment>username_2: This is not possible without breaking the law. Whats app uses a store and forward mechisnism, that means the messages are stored on the server then forwarded on to the client (i.e the persons phone you are talking to).
The only way to get access to the data on their phone or the whatsapp server is with a court order.
You will be able to see any conversation you have had with them on whatapps, but nothing more.
Upvotes: 0 |
2015/12/24 | 949 | 3,832 | <issue_start>username_0: How to get saved WiFi password from my android 5.1.1 without rooting?
I checked the path `/data/misc/wifi/` using `adb pull` from terminal, but it's empty<issue_comment>username_1: You can't get the passwords without root access because shell (adb) is not privileged to access the file containing those passwords. As you would know, the file `wpa_supplicant.conf` contains all the saved Wi-Fi passwords. In order to even ascertain the existence of that file, you must have read or executable permission until `wifi` directory. It just happened that the permissions on that directory is `drwxrwx---`, is owned by user `wifi` and group `wifi`. Executing `id` tells us that shell is not part of `wifi` group, so it ultimately would be considered `others`. As you can see, the permissions for others are blank `---` i.e. no read/write/execute permission is available, hence, you can't enter that directory, let alone copy a particular file residing inside it.
Root the device if you want that file badly.
Related reading: [File permissions and attributes](https://wiki.archlinux.org/index.php/File_permissions_and_attributes)
Upvotes: 2 <issue_comment>username_2: Reading memorized wifi passwords by device is only possible if you have a rooted device. There are two methods to do it.
1)You can do it manually by pulling file **wpa\_supplicant.conf**
Or
2)By simply using applications like **wifi password** by farproc on play store. Install app, grant root permission and it will automatically show you all saved wifi passwords.
Upvotes: 1 <issue_comment>username_3: @username_1 is right but there's a file browser for Android that doesn't require root for some IO operations, and looking from the path for the saved passwords it should have full rights. It's called XPlorer, hope this helps
Upvotes: -1 <issue_comment>username_4: I have to say I am surprised that the answer to this is hidden so well on the internet.
**It is a myth that retrieving the WiFi passwords from an unrooted device is impossible.**
Prerequisites:
* developer mode activated on android device
* USB debugging (in activated developer options)
* USB data cable
* adb (on host computer)
* java (on host computer)
* an archiver such as winzip or 7zip (can be skipped on Unix systems)
These prerequisites may differ depending on operating system. android version and manufacturer. Answers on how to prepare these on your specific platform can be easily obtained with a search on your favourite search engine. Keep in mind that a USB cable that is good for charging your phone not necessarily provides a data connection. Use the cable that came with your phone if in doubt.
Steps:
1. Connect your phone to the host computer using the USB data cable
2. Backup your WiFi passwords with *adb* (from command line).
```
adb backup com.android.providers.settings
```
3. Enter a password for the file on your phone. The resulting file will be named "backup.ab" and appear in the directory where you executed *adb*.
4. Download and install [Android Backup Extractor](https://sourceforge.net/projects/adbextractor/).
5. Convert the backup file into a TAR archive using the password that you entered earlier:
```
java -jar abe.jar unpack backup.ab backup.tar *password*
```
6. The archive will contain a file called "flattened-data". This file contains all networks that are saved on your phone. The *psk* entries are the passwords.
Notes:
It may be easier to move the backup file into the same directory as abe.jar before converting it.
Tested on Android 7 and Ubuntu, adb version 1.0.36, android-backup-extractor v20180521. If *adb* doesn't work, make sure you device is found using `adb devices`. On the same device, I tried to access the passwords directly using `adb pull` which didn't work (as was expected).
Upvotes: 2 |
2015/12/24 | 1,027 | 4,166 | <issue_start>username_0: My device is a allview vivaq7life and I used kingo root .I reseted my device ,but yet,no result. I didn't remove the root. Because I reseted the device ,I have no apps and I can't install any ,even if I tried using the internet to download apps ,I couldn't. I have no accounts on this device.
How can I fix this problem?! I could access browser, messenger, Facebook and other apps, but now I only have the browser.
Sorry I tried downloading and it worked!But the main problem remains...<issue_comment>username_1: You can't get the passwords without root access because shell (adb) is not privileged to access the file containing those passwords. As you would know, the file `wpa_supplicant.conf` contains all the saved Wi-Fi passwords. In order to even ascertain the existence of that file, you must have read or executable permission until `wifi` directory. It just happened that the permissions on that directory is `drwxrwx---`, is owned by user `wifi` and group `wifi`. Executing `id` tells us that shell is not part of `wifi` group, so it ultimately would be considered `others`. As you can see, the permissions for others are blank `---` i.e. no read/write/execute permission is available, hence, you can't enter that directory, let alone copy a particular file residing inside it.
Root the device if you want that file badly.
Related reading: [File permissions and attributes](https://wiki.archlinux.org/index.php/File_permissions_and_attributes)
Upvotes: 2 <issue_comment>username_2: Reading memorized wifi passwords by device is only possible if you have a rooted device. There are two methods to do it.
1)You can do it manually by pulling file **wpa\_supplicant.conf**
Or
2)By simply using applications like **wifi password** by farproc on play store. Install app, grant root permission and it will automatically show you all saved wifi passwords.
Upvotes: 1 <issue_comment>username_3: @username_1 is right but there's a file browser for Android that doesn't require root for some IO operations, and looking from the path for the saved passwords it should have full rights. It's called XPlorer, hope this helps
Upvotes: -1 <issue_comment>username_4: I have to say I am surprised that the answer to this is hidden so well on the internet.
**It is a myth that retrieving the WiFi passwords from an unrooted device is impossible.**
Prerequisites:
* developer mode activated on android device
* USB debugging (in activated developer options)
* USB data cable
* adb (on host computer)
* java (on host computer)
* an archiver such as winzip or 7zip (can be skipped on Unix systems)
These prerequisites may differ depending on operating system. android version and manufacturer. Answers on how to prepare these on your specific platform can be easily obtained with a search on your favourite search engine. Keep in mind that a USB cable that is good for charging your phone not necessarily provides a data connection. Use the cable that came with your phone if in doubt.
Steps:
1. Connect your phone to the host computer using the USB data cable
2. Backup your WiFi passwords with *adb* (from command line).
```
adb backup com.android.providers.settings
```
3. Enter a password for the file on your phone. The resulting file will be named "backup.ab" and appear in the directory where you executed *adb*.
4. Download and install [Android Backup Extractor](https://sourceforge.net/projects/adbextractor/).
5. Convert the backup file into a TAR archive using the password that you entered earlier:
```
java -jar abe.jar unpack backup.ab backup.tar *password*
```
6. The archive will contain a file called "flattened-data". This file contains all networks that are saved on your phone. The *psk* entries are the passwords.
Notes:
It may be easier to move the backup file into the same directory as abe.jar before converting it.
Tested on Android 7 and Ubuntu, adb version 1.0.36, android-backup-extractor v20180521. If *adb* doesn't work, make sure you device is found using `adb devices`. On the same device, I tried to access the passwords directly using `adb pull` which didn't work (as was expected).
Upvotes: 2 |
2015/12/24 | 584 | 1,803 | <issue_start>username_0: I want to change the recovery image from ODIN package for Samsung P601. I've unpacked the archive and got recovery.img.
Next I've tried to do `simg2img recovery.img recovery.raw.img`, but it says:
>
> Invalid sparse file format at header magi Failed to read sparse file
>
>
>
I think that means that it should not be converted.
I've tried to mount it, but the FS seems to be not ext4.
So, the question is - how to mount recovery.img, change files there and save it back? I'm using OS X and Windows (with cygwin).<issue_comment>username_1: Recovery isn't a sparse image (which is an Ext4) so you cannot do that, neither mount it. It's a boot image for which you can use mkbootimg.
Upvotes: 0 <issue_comment>username_2: You can use `unmkbootimg` from [this thread on XDA Developers](http://forum.xda-developers.com/showthread.php?t=1877807).
```
$ unmkbootimg recovery.img
```
This should give you two files: `initramfs.cpio.gz` and `zImage` (the kernel image). To extract `initramfs.cpio.gz` use this command:
```
$ mkdir ramdisk && cd ramdisk
$ gunzip -c ../initramfs.cpio.gz | cpio -i
```
Check [this post](http://www.imajeenyus.com/computer/20130301_android_tablet/android/unpack_repack_recovery_image.html) for more detailed information.
EDIT:
I just realized I only answered half of the question. To re-pack the image after making changes to the extracted files, use the command that `unmkbookimg` gave you, e.g.
```
mkbootimg --kernel zImage --ramdisk initramfs.cpio.gz --base 0x40000000 --cmdline 'console=ttyS0,115200 rw init=/init loglevel=8' -o new_boot.img
```
According to the article, use this command to create the new initramfs.cpio.gz file (untested):
```
find . | cpio -o -H newc | gzip > ../newramdisk.cpio.gz
```
Upvotes: 2 [selected_answer] |
2015/12/24 | 294 | 1,206 | <issue_start>username_0: I'm using Motorola Moto E (first gen) running Android 5.1.
I'm fairly new to Android, I know I could forward message if I tap and press on the message for a while, wait for the dropdown menu to pop up and then tap on "Message".
The problem is, if there is a link in the message body, no matter where I tap on the message - it gets me to that website instead of showing this context menu.
How do I forward this type of text?<issue_comment>username_1: Just long press on the message, its should either highlight and give you the option of forwarding or select text, then just select all and paste it on a new message body
Upvotes: 0 <issue_comment>username_2: Long press on the text, then drag the arrows until you have highlighted the text you want. Then select the bit with the 3 vertical dots and select share.
This only works with text you are not editing. I.e when im typing this awnser out I cant see the share option because im in text edit mode. But if i do it on the text if your questions then I can access the share option.
Upvotes: 0 <issue_comment>username_3: We can able to do that by long pressing the message which(blank space) below the human face.
Upvotes: -1 |
2015/12/24 | 456 | 1,699 | <issue_start>username_0: I found an camera App named **Cameringo** from Playstore and it has an option to record an small time period of actions and save it in .gif format so i tried and recorded some .gif animations and it was animated while i see those on my gallery and when i share it via whatsapp or hike or instagram the file is sent as a normal picture and no animations were seen in my Friends device i tried it with many devices same result is found is there any way to send those .gif animation via Whatsapp and instagram<issue_comment>username_1: 1. Simple option of renaming `.gif` to `.mp3`. Person receiving it needs to download and do the opposite (this trick can be used for any other kind of file also)
2. Converting it to video by using on line converters mentioned here [How to send animated gifs through whatsapp?](http://www.askmefast.com/How_to_send_animated_gifs_through_whatsapp-qna5763419.html#q4771577)
3. Using [File Share](https://play.google.com/store/apps/details?id=com.app.fileshare) Which sends any type of file as link, recipient needs to download and doesn't need to install this app on his device.
4. Using modded whatsapp (you will need to Google as I don't trust these )
5. For Hiken app, you could send `.gif` link after uploading, using [imgur](http://m.imgur.com/)
**Note** using modded WhatsApp is a possible security risk . I am unable to recall where I had read it but will link it when I locate
Upvotes: 2 [selected_answer]<issue_comment>username_2: Use the app GroupMe with it you can send gifs and the other person will receive it with no problems.
[Android GroupMe](https://play.google.com/store/apps/details?id=com.groupme.android)
Upvotes: 2 |
2015/12/24 | 545 | 1,948 | <issue_start>username_0: I’m using an LG Tribute phone (Virgin Mobile service). The default email app installed is synced with my Microsoft Outlook account. I only use this account for ticket confirmations, boarding passes and the like. However, recently I noticed it is taking up the following storage:
```
Total: 635 MB
App: 24.5 MB
App (SD Card): 0 MB
Data: 610 MB
Data (SD Card): 0 MB
```
Considering my phone only has 2 GB of storage, the above is a heavy price to pay. When I hit the “Clear Data” button, I get the message “All this app’s data will be deleted permanently. This includes all files, settings, accounts, databases, etc.” I don’t want to delete my account so I was wondering if there is any other way to slim down how much data my Email application is using?<issue_comment>username_1: 1. Simple option of renaming `.gif` to `.mp3`. Person receiving it needs to download and do the opposite (this trick can be used for any other kind of file also)
2. Converting it to video by using on line converters mentioned here [How to send animated gifs through whatsapp?](http://www.askmefast.com/How_to_send_animated_gifs_through_whatsapp-qna5763419.html#q4771577)
3. Using [File Share](https://play.google.com/store/apps/details?id=com.app.fileshare) Which sends any type of file as link, recipient needs to download and doesn't need to install this app on his device.
4. Using modded whatsapp (you will need to Google as I don't trust these )
5. For Hiken app, you could send `.gif` link after uploading, using [imgur](http://m.imgur.com/)
**Note** using modded WhatsApp is a possible security risk . I am unable to recall where I had read it but will link it when I locate
Upvotes: 2 [selected_answer]<issue_comment>username_2: Use the app GroupMe with it you can send gifs and the other person will receive it with no problems.
[Android GroupMe](https://play.google.com/store/apps/details?id=com.groupme.android)
Upvotes: 2 |
2015/12/24 | 1,296 | 5,146 | <issue_start>username_0: Just got a Fossil Q Founder smartwatch. Currently, it is showing Fahrenheit. How do I change the default weather app to use Celsius?
I've changed literally every single setting I can think of. I have used the Fossil app to change the watch faces to show the temperature in Celsius. I have Google Now cards configured to show in Celsius. I even tried downloading the Google News and Weather app and changing the temperature units used there. I checked every settings menu I could find in both the Android Wear app and the Fossil app. Nothing.
Rocking a Nexus 6P. Everything is the latest.
Multiple Google search results have pointed to Google Now weather card settings as the place to change the units in the Android Wear app, but as I mentioned above, I already have those set since before I even had the watch. I tried changing to Fahrenheit and back to Celsius, but still no luck. I've tried restarting the watch and my phone a million times, but also had no luck getting the settings to take on my watch.
Can someone please help? It doesn't help that Google has the worst support imaginable. I would bet my life savings that if I called them for support, they would tell me to do a factory reset without even attempting to understand that actual issue.<issue_comment>username_1: I contacted Fossil who said that the temperature units on the watch are based on the language setting you select when you set up the watch. If you select US English, then it will be Fahrenheit (probably the only language setting that uses Fahrenheit).
I am Canadian and there is not usually a Canadian English option, and UK English has caused strange anomalies for me in the past. Plus I live in the USA, I just want Celsius and I don't think I'm the only one. I informed them that their solution for units is not adequate.
I am using the AccuWeather app which I paid for years ago and I like it. But their Android Wear app is broken right now on my watch and they are aware of the issue and working on it, but it has been some time (plus their latest material design update took ALL of their flexibility out of unit selection so that is quickly becoming an issue).
Upvotes: 4 [selected_answer]<issue_comment>username_2: It's because your phone language is set to US English.
Just change your handphone language to another type of English, such as English (United Kingdom), then the weather on your watch will change to Celsius.
Upvotes: 2 <issue_comment>username_3: I just bought a Fossil Q Founder watch.
If you go to watch setting, then change watch face, scroll to classic, tap the setting bar below the displayed face, then it will allow you to scroll down to weather unit. Tap it and it will allow you to change between Celsius and Fahrenheit.
Upvotes: 0 <issue_comment>username_4: If you're using a face control app (WatchMaker, Facer, etc.) you may have to go into the settings for that and change it.
I use a ton of WatchMaker's faces and I was losing my mind changing languages and Google Now settings, until I saw the settings in the app.
Upvotes: 0 <issue_comment>username_5: Go to your Android Wear app > Your feed > Weather > change the temperature to Celcius.
Upvotes: -1 <issue_comment>username_6: Here is how you change it:
1. Log in to your Google account on your computer
2. Go to <https://myaccount.google.com/u/1/language>
3. Change your language preference default to English and then choose Canada.
4. Make sure you use the same account for Google Wear OS.
5. If you are using the same account, after this change, restart your Fossil watch and you should be good to go.
I have tested this on Fossil Gen 5 and it works.
Upvotes: 0 <issue_comment>username_7: I had the same issue with my Fossil Sport watch. I live in Canada and it showed as Fahrenheit. When I set up the phone, it did not give an English (Canada) option, so I picked English (United States).
I found a solution though. I updated my language setting on my phone through Settings, System, Languages and inputs, Languages. I had English (United States) as my default language and English (Canada) as my second language. I deleted English (United States) and that changed English (Canada) to my default. Once I did that, my phone immediately updated with Celsius.
Reference: [Wareable - How to change the language on Wear OS](https://www.wareable.com/android-wear/how-to-change-the-language-on-wear-os-6991#:%7E:text=Changing%20language&text=the%20only%20way%20to,Languages%20%26%20input%2C%20then%20Languages.)
Upvotes: 0 <issue_comment>username_8: The units used are derived from the language setting selected upon pairing the watch. They cannot be set separately from the language selection, but fortunately it is possible to change them later on.
On the phone paired to the watch, go to `Settings -> System -> Languages & Input -> Languages`.
There you will be able to set English as your preferred language, and in a second step whatever country you prefer to derive units and regional typing conventions from (date format, decimal point/comma, etc), no matter wether english is actually spoken in that country officially.
Upvotes: 0 |
2015/12/25 | 315 | 1,061 | <issue_start>username_0: I bought this phone for my grandparents. The salesman at the store told me that this phone would be great for old people who are new to smart phones. Any idea where to find this "Easy Mode" or "Simple Mode" option? There's no such option under Settings.
Model: SM-G361F
Android version: 5.1.1<issue_comment>username_1: The **Ultra Energy Saving** mode is the **Easy** mode on this phone.
Upvotes: -1 <issue_comment>username_2: Go to settings > Application Manager > Default Applications > Home Screen > and then change to Easy Mode.
I found this on my GS6, but I think it should work for your phone too.
Upvotes: 2 <issue_comment>username_3: Samsung provides **Easy Mode** in options (differ from device to device) :
1. Open Settings → Personalisation (by scrolling down) → Easy Mode.
[](https://i.stack.imgur.com/bgg42.jpg)
2. Open Settings → Display → Easy Mode.
[](https://i.stack.imgur.com/uWaeG.jpg)
Upvotes: 3 |
2015/12/25 | 755 | 2,914 | <issue_start>username_0: My Nexus 5 is rooted. I received the 6.0.1 OTA update but when I try to install the update (I just clicked install link when the update finished downloading), the device restarts and goes to the [TWRP](https://en.wikipedia.org/wiki/File:TWRP_2.7.0.0.png) screen and doesn't install the update.
Can anyone tell me how I can get the update to install?<issue_comment>username_1: You cannot install an OTA update on rooted device because SuperSU changes some statement in install-recovery.sh to run itself on boot.
To install OTA you need to install factory image available at <https://developers.google.com/android/nexus/images?hl=en>
If you dont want to loose your apps and data. Simply edit the script **flash-all.bat** and remove
```
-w
```
From
```
fastboot -w update image-hammerhead-*.zip
```
Installation script file name will differ according to your OS.
You will loose root access and TWRP after going through above method as there's no other way to install OTA because all system files should be intact for successful installation of OTA.
Upvotes: 3 [selected_answer]<issue_comment>username_2: If your phone is rooted by flashing normal SuperSu, then the SuperSu app and binaries would have been pushed into the /system partition of your phone. OTAs normally verify the checksum of your current system partition with that of untouched stock system partition's before the update. By rooting your device, which modifies the system, the MD5 sum would definitely not match, so you won't be able to install the OTA.
If you had rooted it by using systemless root (by SuperSu), then you can flash the OTA with no issues, since system partition will not be modified by that method. It seems you have TWRP installed now. It is better to flash the [stock ROM (6.0)](https://developers.google.com/android/nexus/images?hl=en) and don't root it. Then install the (6.0.1) OTA through the stock recovery.
There's no way other than this.
Upvotes: 1 <issue_comment>username_3: You can using app: [root] FlashFire that can downloaded in PlayStore.
Then, download the latest factory images package for Nexus 5 from [here](https://developers.google.com/android/nexus/images)
After the file is downloaded and saved in your phone, open FlashFire app.
The app will grant root access and if it found update[OTA] file, choose 'delete'.
Next, click "plus" icon > choose "Flash firmware package" > browse to the location that you saved the downloaded factory image.
Then the app will scanning the firmware file and after that you can select some options.
\*If you want to keep TWRP as recovery, just uncheck "Recovery".
\*Be careful, if you want to keep your data in phone, make sure that "Data" unchecked.
Last, just click "FLASH" then your phone will reboot and install the update.
\*Note: I've tried this for my Nexus 5 and it is successfull. Hope it works for you too :)
Upvotes: 0 |
2015/12/25 | 484 | 1,974 | <issue_start>username_0: I factory reset my Acer Liquid z160 Android phone because it was getting laggy and can't open some apps. Now it is fixed. But I now have a new problem. This game I was playing for months on this phone, says it is not compatible with my phone. I still have the files of the game in my SDcard but app isn't there. I tried to update my phone but it says it is already up-to-date (4.2.2) What should I do?<issue_comment>username_1: Simply find .apk file of that game on google, and then install it.
Upvotes: 2 <issue_comment>username_2: I have had this issue before. It means that you can not play the game in question due to incompatibles like if your device does not support multi-touch and the feature is then recommended for use in the game. If you have another device that you can play this on you can extract the app (50 / 50 chance). Some apps can be extracted others can not. You will in turn have to allow **Unknown Sources**(Risky for leaving on when done and otherwise) when you are to reinstall it. I have done this with a game, to play on a Samsung Galaxy Tab 4 that said "this device is not supported". You'll need to download an APK extractor first (APK: Android PacKage)
**WARNING: Sharing Applications Purchased by you (Free and or otherwise) is against Google Play's terms and conditions and or is in a grey area. Selling the app as your own WILL put your Google account under review for possible ban and or removal**
* Grey area
-Open Source Hardware (**Recommend to ask Developer** Developer will recommend you to direct him/her to the app on his/her device and install)
After installing the APK extractor do as follows
* find the app in question
* extract
* locate APK
* Save to SD card and place into device of choosing
* go to settings on device in question
* go to Security
* Allow Unknown Sources (**Read Warning and continue at own risk**)
* goto folder with game in question
* click the APK and install
* done
Upvotes: 0 |
2015/12/25 | 253 | 1,012 | <issue_start>username_0: Merry Christmas!
So, I recently upgraded from Nexus 4 to 5x. My contacts used to live on the sim, but since having to change sim (micro -> nano). I exported the contacts using the Contacts app to a .vcf file. I have now imported these contacts to my Gmail account via web.
On my Nexus 5x (6.0.1 update), I cannot see how I can sync contacts from Gmail. I have an issue where I cannot edit **some** contacts if I just import straight from the vcf file. I am logged in to my Gmail account.
This should be a simple task and I cannot figure it out.<issue_comment>username_1: Figured it. I was browsing the Apps list and I had Google Contacts Sync app disabled, thinking I wouldn't use it. The edit pencil icon is now visible.
Upvotes: 2 <issue_comment>username_2: Remove your Google accounts from your phone, clear data for contacts and phone app. Delete your personal contact information (access it from notifications), then restart your phone and re-add your Google account.
Upvotes: 0 |
2015/12/25 | 555 | 2,239 | <issue_start>username_0: I tried installing a modded Play store using Lucky Patcher, but in the process it deleted the system app and didn't install the modded one. I have tried installing it manually but it just can't work and crashes every time I want to download or update apps.
Can anyone help me out in installing the official Play store?<issue_comment>username_1: Just flash a GAPPS package available on xda. You can choose from a variety of packages, available on multiple versions of Android. See [here](http://forum.xda-developers.com/android/software/tk-gapps-t3116347) for more information.
Upvotes: 0 <issue_comment>username_2: Install the Play Store. Then convert it to the system app then reboot. That's all.
To convert, you can simply use ES File Explorer. With this option, first, uninstall the Play Store. Enable root explorer in the app dashboard. Still, in the dashboard, tap local and select device. Look for system, app, and there paste the Play Store APK file there that you have copied (so you first copy the Play Store APK before going to root explorer). Next reboot.
Or you can convert to a system app using any root app like Link2SD. Here you need to install the Play Store app, next you open Link2SD and select Play Store. Tap the more options button and tap convert to system app. After it is complete, reboot.
Upvotes: 0 <issue_comment>username_3: 1. Install Lucky Patcher
2. Delete files from Lucky Patcher folder
3. Click on Tools
4. Click on Install Modded Play Store
5. Click on original, not on modded; this process takes time of 5 minutes.
Now you have your own Play Store.
Upvotes: 0 <issue_comment>username_4: The "Install Modded Play Store" dialog in Lucky Patcher also supports installing the unmodded Google Play store. To do this, open Lucky Patcher > Tools > Install modded Play Store > Original Play Store (select version). Make sure to uncheck "Install as a User App" before installing. Then reboot.
If it doesn't install right (or doesn't appear after reboot), you could try it manually. Go to Rebuild & Install > LuckyPatcher > Download, select PlayStore.apk (which was downloaded by installing the unmodded Play Store above), press "Install as a System App", and then reboot.
Upvotes: 1 |
2015/12/25 | 655 | 2,198 | <issue_start>username_0: I am using Android 6.0 and when I try to send SMS (via Hangouts or Messenger) to a 4-digit number, I get a confirmation pop-up and then an error saying
>
> Can't send message with `SIM_NAME`, error 28
>
>
>
I've tried to clear cache. Messages to regular numbers can be sent without any problems.
Why, and how to fix it?<issue_comment>username_1: U need to allow sending premium messages. Go to settings,apps,messages,permissions,premium messages,always allow
Upvotes: 0 <issue_comment>username_2: There's a possibility that **the short number/code hasn't been registered by the operator**.
There are 2 similar cases happen with different operator:
* [Sky Mobile](https://helpforum.sky.com/t5/Sky-Mobile/SMS-error-28/m-p/2988899/highlight/true#M15289)
>
> Why won't my phone allow me to send an SMS to a 5 digit number? It keeps telling me error 28 try again. I only activated my SIM card on Saturday.
>
>
>
>
> ---
>
>
> Not all, if any, short codes are supported on Sky Mobile I’m afraid
>
>
>
* [ID mobile](https://community.idmobile.co.uk/ask-a-question-18/sms-short-code-error-28-29203)
>
> I enter a few text competitions a month that use short codes, usually ITV competitions or the Gadget Show. However the new Gadget Show competition that uses short code 65555 will not send and I simply get a popup error of: Cannot send message with id - error 28
>
>
> Everything else works, phone, internet, texting. I even entered another competition that uses a short code beginning 6 and that works fine. I still have loads of unused credit before I reach my cap.
>
>
> Gadget show comp has changed the SMS number this series and I read somewhere that short codes have to be manually registered with the network providers to work, so maybe ID have not enabled 65555 yet??
>
>
>
>
> ---
>
>
> Hi all, we've got the problem sorted that was preventing you sending a message to 65555.
>
>
>
If that's the case, then there's really nothing that can be done from the user's side except by letting their operator know and request to allow/register the short numbers. Otherwise, switching to a different operator is the last alternative.
Upvotes: 1 |
2015/12/25 | 656 | 2,283 | <issue_start>username_0: I need to set my DPI back to default, but I never saved it. Does anyone know what the default DPI is for this device?
To clarify, PPI is pixels per inch, which is hardware-set, it's unchangeable. DPI is dots per inch and is what determines what scale of the elements on the screen, the manufacturer sets this by default, but I changed it with a root app and I want to know the original size without reflashing.<issue_comment>username_1: U need to allow sending premium messages. Go to settings,apps,messages,permissions,premium messages,always allow
Upvotes: 0 <issue_comment>username_2: There's a possibility that **the short number/code hasn't been registered by the operator**.
There are 2 similar cases happen with different operator:
* [Sky Mobile](https://helpforum.sky.com/t5/Sky-Mobile/SMS-error-28/m-p/2988899/highlight/true#M15289)
>
> Why won't my phone allow me to send an SMS to a 5 digit number? It keeps telling me error 28 try again. I only activated my SIM card on Saturday.
>
>
>
>
> ---
>
>
> Not all, if any, short codes are supported on Sky Mobile I’m afraid
>
>
>
* [ID mobile](https://community.idmobile.co.uk/ask-a-question-18/sms-short-code-error-28-29203)
>
> I enter a few text competitions a month that use short codes, usually ITV competitions or the Gadget Show. However the new Gadget Show competition that uses short code 65555 will not send and I simply get a popup error of: Cannot send message with id - error 28
>
>
> Everything else works, phone, internet, texting. I even entered another competition that uses a short code beginning 6 and that works fine. I still have loads of unused credit before I reach my cap.
>
>
> Gadget show comp has changed the SMS number this series and I read somewhere that short codes have to be manually registered with the network providers to work, so maybe ID have not enabled 65555 yet??
>
>
>
>
> ---
>
>
> Hi all, we've got the problem sorted that was preventing you sending a message to 65555.
>
>
>
If that's the case, then there's really nothing that can be done from the user's side except by letting their operator know and request to allow/register the short numbers. Otherwise, switching to a different operator is the last alternative.
Upvotes: 1 |
2015/12/25 | 1,154 | 3,982 | <issue_start>username_0: We're using Samsung with Android 4.1.2 as a scrabble timer - via the default Clock application. It would be much more comfortable if I could force the phone screen to be always on so that we can see the time remaining. I found no setting or downloadable program to achieve that.
I need some workaround tip - any ideas?<issue_comment>username_1: You should be able to do that using [Tasker](http://www.appbrain.com/app/tasker/net.dinglisch.android.taskerm). Set up a profile with a "time" condition (specify the time frame you want the screen kept alive, e.g. "from 9 am to 6 pm", and for the task itself select "stay on". Make sure the option is disabled before starting this. [tasker](/questions/tagged/tasker "show questions tagged 'tasker'") will then take care for it: Switching the option on at 9 am, and returning to the *previous state* at 6 pm (which is why you should have switched that option off to begin with).
Optionally, you could also define an "exit task" to explicilty switch that option off again − regardless of what it was set to in the beginning.
Upvotes: 2 <issue_comment>username_2: The [free Android automation app Automate](https://play.google.com/store/apps/details?id=com.llamalab.automate) has a building block for [keeping the device awake](http://llamalab.com/automate/doc/block/device_keep_awake.html), it can also keep the Wi-Fi awake in *High performance* mode.
Upvotes: 1 <issue_comment>username_3: Multiple options
1. **App based**: [Stay Alive! Keep Screen Awake](https://play.google.com/store/apps/details?id=com.synetics.stay.alive). App description says
>
> Keep your screen on when your device is running your GPS application, favorite remote control, playing a movie or slideshow, etc... Perfect to keep your screen on without dimming for application development. Your screen will never go back to sleep until you want it to...
>
>
>
2. **Xposed Module**: requires root. [NeverSleep](http://repo.xposed.info/module/com.hamzah.neversleep)
3. **Automation app**: [MacroDroid](https://play.google.com/store/apps/details?id=com.arlosoft.macrodroid). If this is the preferred option can revert with solution
Upvotes: 1 <issue_comment>username_4: To solve a temporary solution you can go into settings -> display -> sleep -> 30 min
Find an app that supports **Keep Awake**
*Keep Awake keeps the device unlocked and awake during the use of the app in question*
This other one will result in digging deep in to your devices settings that are normally hidden called **Developer Options** for this
* settings
* about Deice
* tap **Build Number** till you see **Developer Options Enabled**
Back out once
**Important Notice**
**Misusing and or abusing Developer Options has a chance to cause undesirable operation, and can cause apps to crash and or become unstable in turn can cause ANR (App Not Responding) messages to appear to the point of having to reset your device to factory settings. By continuing from here I am not responsible to any loss of data and or any other form of loss pertaining to the device(s) and or its data this is done on *Continue at your own risk you have been warned***
Scroll to Developer Options
* if not turned on do so at this time
***Please make note of the Warning***
* check **Stay Awake**
*please note this option will only keep the device on while charging*
Upvotes: 3 [selected_answer]<issue_comment>username_5: There's a highly-rated Play Store app named **Caffeine** *by Syntaxa* which prevents sleep by manual toggle, device plugged in, and per-app.
Compatibility from 2.2 Froyo to 5.1 Lollipop.
It has a 4.5 star rating and 1,355 reviews (as of April 2016)


<https://play.google.com/store/apps/details?id=nl.syntaxa.caffeine>
Upvotes: 2 |
2015/12/26 | 715 | 2,491 | <issue_start>username_0: When I connect my Android (Galaxy S5) phone to a Windows computer, I can browse the phone storage just like any USB/external drive. That's not the case on Mac. There I need to install Android File Transfer or something, which seems to be unresponsive and slow.
**Is there no way to just mount my phone like any other USB drive on Mac?** If not, could you maybe give a short explanation, why?<issue_comment>username_1: The Default mode for Android USB Transfer is MTP (Media Transfer Protocol), which isn't supported by Mac.
>
> Apple’s Mac OS X is a holdout — it doesn’t include MTP support at all.
> Apple’s iPod, iPhone, and iPad use their own proprietary syncing
> protocol along with iTunes, so why would they want to support a
> competing protocol?
>
>
> Google provides an Android File Transfer application for Mac OS X.
> This application is just a simple MTP client, so it will work for
> transferring files back and forth on a Mac. Google doesn’t provide
> this application for other operating system because they include MTP
> support.
>
>
> Source: <http://www.howtogeek.com/192732/android-usb-connections-explained-mtp-ptp-and-usb-mass-storage/>
>
>
>
So, that's why you need [an extra software for Mac](https://www.android.com/filetransfer/), because Apple only wants its devices to be supported.
To avoid that, you could try to mount your SD Card in USB Mass Storage (UMS) Mode.
That could be easily be done from Settings if you're using Android JellyBean or below.
For KitKat (4.4) and above, you need to have a rooted device & some other external apps like **[Universal MASS STORAGE Enabler](http://forum.xda-developers.com/android/apps-games/app-universal-mass-storage-enabler-beta-t3240097)** (created by me) or [USBSharer](https://play.google.com/store/apps/details?id=os.devwom.usbsharer&hl=en) or whatever.
Upvotes: 4 [selected_answer]<issue_comment>username_2: With [SyncMate Expert](http://www.sync-mac.com/), which was suggested [here](https://7labs.heypub.com/tips-tricks/mtp-driver-for-mac.html), and which I had to pay almost $30 for, allowed me to mount my **Samsung Galaxy S6** onto `/Volumes/SM-G920T` on my Mountain Lion Mac.
Issues I experienced with SyncMate Expert:
* The mounted device doesn't show up in Finder's left nav, only in `/Volumes`.
* The SyncMate application leaked memory or something so I had to kill its two processes after leaving them overnight (without the Android connected).
Upvotes: 1 |
2015/12/26 | 693 | 2,360 | <issue_start>username_0: Can I write a message using Google Cardboard?
Or, can I use Cardboard as I use the phone's display?
Or, can I get normal text displayed in Cardboard?
What I am looking for is the possibility to have the equivalent of a 20" display that can fit in my pocket.<issue_comment>username_1: The Default mode for Android USB Transfer is MTP (Media Transfer Protocol), which isn't supported by Mac.
>
> Apple’s Mac OS X is a holdout — it doesn’t include MTP support at all.
> Apple’s iPod, iPhone, and iPad use their own proprietary syncing
> protocol along with iTunes, so why would they want to support a
> competing protocol?
>
>
> Google provides an Android File Transfer application for Mac OS X.
> This application is just a simple MTP client, so it will work for
> transferring files back and forth on a Mac. Google doesn’t provide
> this application for other operating system because they include MTP
> support.
>
>
> Source: <http://www.howtogeek.com/192732/android-usb-connections-explained-mtp-ptp-and-usb-mass-storage/>
>
>
>
So, that's why you need [an extra software for Mac](https://www.android.com/filetransfer/), because Apple only wants its devices to be supported.
To avoid that, you could try to mount your SD Card in USB Mass Storage (UMS) Mode.
That could be easily be done from Settings if you're using Android JellyBean or below.
For KitKat (4.4) and above, you need to have a rooted device & some other external apps like **[Universal MASS STORAGE Enabler](http://forum.xda-developers.com/android/apps-games/app-universal-mass-storage-enabler-beta-t3240097)** (created by me) or [USBSharer](https://play.google.com/store/apps/details?id=os.devwom.usbsharer&hl=en) or whatever.
Upvotes: 4 [selected_answer]<issue_comment>username_2: With [SyncMate Expert](http://www.sync-mac.com/), which was suggested [here](https://7labs.heypub.com/tips-tricks/mtp-driver-for-mac.html), and which I had to pay almost $30 for, allowed me to mount my **Samsung Galaxy S6** onto `/Volumes/SM-G920T` on my Mountain Lion Mac.
Issues I experienced with SyncMate Expert:
* The mounted device doesn't show up in Finder's left nav, only in `/Volumes`.
* The SyncMate application leaked memory or something so I had to kill its two processes after leaving them overnight (without the Android connected).
Upvotes: 1 |
2015/12/26 | 587 | 2,324 | <issue_start>username_0: This is dangerously close to "recommend me an app" although it is not necessarily so.
I am currently doing a lot of reading on an online library site. Usually my browser (chrome, android 4.4.2) will go to a "full screen" mode when I scroll down a page of sufficient size. But such is not the case here, and that site is not unique in this sense either. The how and why of this is irrelevent to me, I just want to be able to read with the nav bar hidden.
Unfortunately, with the trendy "easier to use" (i.e., dumbed down) interface AFAICT you cannot force this behavior. Last time I used firefox it had tabs in a manually hidable sidebar, so I installed that. But it now looks and behaves just like chrome :( As an irony, it seems that firefox's own homepage is an example of one which will not invoke fullscreen when scrolling down.
I am aware of "immersive mode" apps but have not tried this because I presume it will then just hide the system notification bar and I will get a slightly bigger view of the browser with tabs along the top. However, if I'm wrong please correct me.
Does anyone know of a way out of this, including a browser which still includes a manual fullscreen mode (as silly and archiac as it may sound)?<issue_comment>username_1: Sadly Google Chrome and other browsers don't have a feature to hide the url bar and tab bar. One alternative is the app [Full Screen Browser](https://play.google.com/store/apps/details?id=tk.klurige.fullscreenbrowser&hl=en).
Its features are:
* Web browser that allows for full screen viewing.
* Hide or dim navigation bar (Home, Back etc).
* Hide action/status bar
Upvotes: 4 [selected_answer]<issue_comment>username_2: I am using [Fully Kiosk Browser](https://play.google.com/store/apps/details?id=de.ozerov.fully) to read books on <https://openlibrary.org>
It works great. Key features:
* Immersive mode from the start
* Ability to choose screen orientation without having to enable rotation system wide. I like reading in landscape. There is also reverse landscape.
* Home screen shortcut for the website (library or book in my case) so that we can quickly jump into reading.
* No ads or any other nonsense
Upvotes: 2 <issue_comment>username_3: Use Opera Browser. It has a dedicated full screen mode that works like a charm!
Upvotes: 0 |
2015/12/26 | 389 | 1,525 | <issue_start>username_0: My young niece install low rating free games from Store and she have no any security concern.
Some malicious application open malicious site which ask for money in `alert()` and `confirm()` message boxes.
Because of dumb way how official Browser works it is not possible disable or remove infinitely pop-up boxes or close malicious tabs.
How can I close this tabs?
I only think about factory reset but that method too radical.<issue_comment>username_1: Sadly Google Chrome and other browsers don't have a feature to hide the url bar and tab bar. One alternative is the app [Full Screen Browser](https://play.google.com/store/apps/details?id=tk.klurige.fullscreenbrowser&hl=en).
Its features are:
* Web browser that allows for full screen viewing.
* Hide or dim navigation bar (Home, Back etc).
* Hide action/status bar
Upvotes: 4 [selected_answer]<issue_comment>username_2: I am using [Fully Kiosk Browser](https://play.google.com/store/apps/details?id=de.ozerov.fully) to read books on <https://openlibrary.org>
It works great. Key features:
* Immersive mode from the start
* Ability to choose screen orientation without having to enable rotation system wide. I like reading in landscape. There is also reverse landscape.
* Home screen shortcut for the website (library or book in my case) so that we can quickly jump into reading.
* No ads or any other nonsense
Upvotes: 2 <issue_comment>username_3: Use Opera Browser. It has a dedicated full screen mode that works like a charm!
Upvotes: 0 |
2015/12/26 | 685 | 2,782 | <issue_start>username_0: I'm the owner of a Huawei P8. At the beginning the phone was recognized by my PC as a second hard disk but lately I touched something (I don't remember what).
Now, when connected to the PC, the phone is set to charge but it is not seen as a mass storage and neither the computer nor the phone seem to recognize each other. I went through almost all the settings but couldn't find ANYTHING on how to make the computer react to the phone.
USB debugging cannot be used. I would like NOT to have to root the phone or do strange installations – and online the only kind of answer I found was that I have to do a hard reset of the phone. Is it true? Can anybody give me a less traumatic suggestion?<issue_comment>username_1: I have the same problem. Phone is wonderful except for this annoying bug, and I've spent hours searching for a solution: None.
You need to do a hard reset for the phone give you the dialogue where you choose usb connection mode. Oh, and don't choose "nothing" (ever), cuz then you'll have to this over again.
REMEMBER to back up everything on internal memory to your SD-card and remove the SD-card before resetting, or it's content will be deleted! I really wish for a better solution than this, but its the only way for now.
Regards,
Upvotes: 0 <issue_comment>username_2: there is a solution
from your keyboard `*#*#2846579#*#*` - kind of hidden menu, then background setting, usb port settings, hi suite mode,
cheers
Upvotes: 1 <issue_comment>username_3: I believe I had the same problem on my Huawei P8. My Windows 10 PC would not recognise the phone, although it would charge it.
The problem was not with the cable or PC - the same cable and PC would work later on, with the only changes made, made to the phone.
I didn't have the same qualms about rooting or 'strange installations', so I rooted using KingRoot then used "SG USB Mass Storage Enabler" on the Play store to toggle the storage mode.
This worked for me, even though SG Mass Storage Enabler is made for Samsung and Sony devices, and hasn't been updated since 14 Nov 2013.
A disadvantage of this method was being unable to uninstall KingRoot. This may be my own fault though, possibly due to me corrupting the KingRoot install by trying to replace it with SuperSU.
This method was the only method I tried that worked. Things that didn't work included trying to backup without root to factory reset (this is data and application dependent on whether you can backup without root), trying to activate USB debugging, ADB, Hisuite and HDB.
If a custom recovery is already present on the phone, then SuperSU could be used to root instead of KingRoot, which is adware at the least, and also seems to prevent itself being removed from outside the app.
Upvotes: 2 |
2015/12/26 | 272 | 1,087 | <issue_start>username_0: I bricked my SM-J500G when trying to root the phone. Now I'm trying to install the stock ROM. The problem is that my phone's battery is low, and I have no way to charge it in another phone. Can I put the phone into download mode and charge the battery? Will that work?<issue_comment>username_1: Yes, it works without any doubt. I can say it by my on experience. It happens like your phone is switch off. Here, you can watch it's animation of charging if except this ( low battery ) everything OK.
Upvotes: 0 <issue_comment>username_2: It will charge, but you may not have "charge full" indication , so monitor charging so that you don't end up charging once it is full ( batteries do not charge once full but internal temperature goes up, which is not good for battery life). Charging for 90 minutes should comfortably see you through flashing activities
To understand more about about charging,see [BU 409-Charging Li Ion](http://batteryuniversity.com/learn/article/charging_lithium_ion_batteries) and other linked sources referred
Upvotes: 2 [selected_answer] |
2015/12/27 | 671 | 2,302 | <issue_start>username_0: Apologies if this question was already asked.
Is it possible to move the `/data` directory to the external SD card?
I want all apps, app data, downloads and files to be automatically saved to the external SD card, instead of to the internal storage.
**Information:**
The internal storage is 178 MB, where 157 MB is used by apps. There's no internal SD card and my external SD card has 32 GB.
`/sdcard` is a symbolic link to `/storage/sdcard0` which is the 32 GB external SD card.
The device is rooted and uses CM11/4.4.2.
**Tried:**
1. Used `Link2SD` but could only move the APKs and dalvik. The app data and system apps couldn't be moved. Unfortunately I can't buy the new Link2SD.
2. Tried `FolderMount` but it doesn't allow access to `/`. It only allows access to the SD card.
3. Couldn't find fstab in `/etc` or `/system/etc`
4. Tried `Root External 2 Internal SD` but there's no internal SD card, just "internal storage" (shows 178 MB) and "SD card" (shows the 14 GB FAT32 partition on the external 32 GB SD card).
**Considered:**
```
su -
cp -r(p?) /data /storage/sdcard0/data
rm -r /data
ls -s /data /storage/sdcard0/data
```
However, I'm new to modifying Android and don't want to accidentally brick my device. When I tried to copy the data directory as root, it said that some files/directories did not exist.
Does anyone have suggestions?
Thank you for reading.
Edit: @programming Thanks for your help. I can't find the option on the storage page.
The storage page looks like:
```
Storage (clicking on `:` gives the option "USB computer connection")
Internal storage:
Total space ...
SD card:
Total space: ...
Erase SD card
```
There are no additonal options, as in: <http://teckfront.com/use-external-sd-card-primary-storage-android-4-4-3-phone/>
It's a Samsung smartphone with Android 4.4.2 and CM11 rom.<issue_comment>username_1: If you want to set your SD card as the default storage device, go to `settings > storage`, then select **default writing disk** to SD card. This will make your phone store everything to the SD card by default if possible. Hope it helps!
Upvotes: 2 <issue_comment>username_2: Try AppMgrIII from the Play Store. It doesn't move everything to your MSD, but it moves quite a lot and it's easy and seamless.
Upvotes: 1 |
2015/12/27 | 280 | 1,183 | <issue_start>username_0: I just rooted my Samsung Galaxy G4 I9500 today. It was working fine, I even restarted it a few times just to test everything was going nice and dandy. I also installed two apps to see if SuperUser was working properly (busybox and titaniumBackup) and both seemed to work fine.
Now, while trying to make a nandroid backup I entered recovery mode and touched "reboot device now". Afterwords, the device stopped starting properly.
As described in the title, the screen remains black with messages popping up saying something like "[x] app has stopped working". Trying to turn off the device gives me the usual windows (turn off/airplane mode/restart). Also, I can change the volume. Any idea of what could be going on?<issue_comment>username_1: If you want to set your SD card as the default storage device, go to `settings > storage`, then select **default writing disk** to SD card. This will make your phone store everything to the SD card by default if possible. Hope it helps!
Upvotes: 2 <issue_comment>username_2: Try AppMgrIII from the Play Store. It doesn't move everything to your MSD, but it moves quite a lot and it's easy and seamless.
Upvotes: 1 |
2015/12/27 | 772 | 2,487 | <issue_start>username_0: I made a backup using ClockworkMod Recovery v6.0.4.7d of my Samsung I9305 (it runs a rooted stock Android 4.4.4). I selected "Backup and restore" and then "Backup to /storage/sdcard1". The resulting image was of about 7GB.
Does this backup contain:
1. The firmware?
2. My modifications to the firmware such as root, Xposed Framework, installed Xposed modules, etc.?
3. My installed apps?
4. App data?
5. Other data I had stored on the internal SD card?
And finally, is compression utilized?<issue_comment>username_1: According to: <https://wiki.cyanogenmod.org/w/ClockWorkMod_Instructions#Making_a_backup>
>
> ClockworkMod's backup/restore feature will generally only back up the
> `/system`, `/data`, `/cache`, `/sd-ext`, and `/dalvik-cache` areas. Other
> partitions such as `/emmc`, `/sdcard`, and `/media` won't be backed up.
>
>
> In
> fact, the backed up system will typically be saved to the `/sdcard/`
> partition in the `/clockworkmod/backup/` directory, which, depending on
> your device, may or may not be actually located on a physical
> removable SD card.
>
>
>
According to your question:
>
> 1. The firmware?
>
>
>
Definitely Yes.
>
> 2. My modifications to the firmware such as root, Xposed Framwork, installed Xposed modules, etc?
>
>
>
Definitely Yes.
>
> 3. My installed apps?
>
>
>
Definitely Yes.
>
> 4. App data?
>
>
>
Definitely Yes.
>
> 5. Other data I had stored on the internal SD card?
>
>
>
Definitely NO, `/sdcard` is not backed up, because of there would be a CWM backup. Read: <http://forum.xda-developers.com/galaxy-s3/help/how-to-backup-internal-sdcard-t1999853>
Hope it help
Upvotes: 4 [selected_answer]<issue_comment>username_2: To add to other answer, your back up has ALL the information in your back up image as the phone has when you took back up
* `/system` refers to your ROM
* `/data` refers to your data created by apps both that came with phone and user installed apps (`/data/data`)
* `/data/cache` (the cache) refers to app data stored for quick access
* `/data/dalvik-cache` (the Dalvik cache) refers to storage where optimisation information of your apps is stored
* `/sd-ext` refers to external SD card (all CWMs do not by default save this)
Other partitions mentioned are not backed up. Compression happens if you enable it (IMO, not worth the extra time it takes, given you can always store it in external SD (by choosing it) or pull it to your PC)
Upvotes: 3 |
2015/12/27 | 598 | 2,193 | <issue_start>username_0: Phone is Samsung Infuse 4G with Cyanogenmod 11 (Android 4.4). On a few recent occasions when I check it in the morning, I find that it's powered off. I start it up again, and it shows plenty of battery charge (75% or more). Is there a log or something that I can look at that would explain why it has shut down?<issue_comment>username_1: Well, it's well known problem for Samsung phones and tablets:
Read carefully: <http://androidforums.com/threads/randomly-turning-off.312084/>
One of possible solution (cited from above post):
>
> I found another workaround, turning off sleep mode. Maybe there are
> easier ways to do it, but i did it like this:
>
>
> (copied the instructions from another forum):
>
>
> * Download and install a free app Load Monitor.
> * Under its preferences check the following on...
> * Add Notification, Only notify high load, Auto start, and most importantly Wake Lock.
>
>
> The wake lock prevents the phone from going into sleep mode, now i'm
> already 24 hours without shutdowns. I also set the update interval to
> 2 hours for the Load monitor, so it doesn't bug me often.
>
>
> The downside must be battery consumption, i assume that the sleep mode
> does save up some juice. But at the moment i'd rather worry for the
> battery than if the phone is on or not. :)
>
>
> Also, this problem is not limited to galaxy ace.. A little searching
> with google revealed that there is even a class action lawsuit against
> Samsung because of the same problem in Samsung S models.
>
>
>
Hope it Help
Upvotes: 0 <issue_comment>username_2: Had the same problem. Solution:
Boot into CWM/TWRP Bootmenu (pressing "Volume up" Key and Power Button) while starting the phone - and chose to clear "Dalvic Cache and Cache". Both will have **no** impact on your installed software or data. So it is quite safe to do.
After clearing reboot. The next restart will take a bit longer because these caches have to be rebuilt again. Solved my problem with random shutdowns.
Another possibility could be a dead battery. Especially if charging values change between full loading (100%) and after rebooting (90% or similar) ...
Upvotes: 1 |
2015/12/27 | 869 | 2,934 | <issue_start>username_0: I'm new to Android and trying to find the simplest way to run a 2 line script that deletes files from a specific directory.
I Googled the topic and created a file that I called `test.sh` which has 2 lines:
```
#!/system/bin/sh
delete Android/data/mydir/*.dmp
```
I copied this file to an Android device and managed to create a shortcut to this file. Now I want to execute this script whenever I click the shortcut but I'm unable to make it work!
I would appreciate any hints to get this going.
Thanks!<issue_comment>username_1: You can use [Script options](https://i.stack.imgur.com/CCiFx.jpg)
Has more privileges if you have a rooted phone
You can choose the script via the inbuilt file manager, and can choose various options, as seen
And yes there's no command as delete Use
>
> rm -rf
>
>
>
instead as suggested [above](https://android.stackexchange.com/a/132741/132780)
Also if you are trying to delete the data created by an app i.e inside **data/data/example.app/DataToDelete**
You will need to have Superuser privileges or only that particular app can delete its own data.
Upvotes: -1 <issue_comment>username_2: In your script you forgot `#` , and what is more the command to **delete** is not `delete`(as you wrote) but `rm`, along with at least one option:
* `-r` for recursive
* `-f` for force
* `-v` for verbose
so try
**For a single file**
```
#!/system/bin/sh
rm /path/to/file/filename.extension
```
**For a group of files @ location by extension with wildcard:**
```
#!/system/bin/sh
rm /path/to/file/*.extension
```
**A straight up clearing of a directory:**
```
#!/system/bin/sh
rm /path/to/directory-containing-files/*
```
Alternate to **clear that directory of files and directories as well**, with verbose to see what's being deleted
```
#!/system/bin/sh
rm -frv /path/to/file/*
```
**To delete the directory itself**
```
#!/system/bin/sh
rm -fr /kill/that/pesky/directory
```
You must have `root` privileges to modify anything in `/system` and/or `/data` folder.
The exception would be `/data/local` directory which you should be able to access/modify within as peon user.
If `selinux` is enforcing **you will NOT be able to modify anything** in `/data` with the exception of the previously stated exception even if `su`.
This with the exception of laying out the proper path to `sh` in your script is not really an android question.
**Your normal practices in scripting on a Linux OS should mostly carry over as long as you use the correct path to `sh`.**
You can create that script in regular `sdcard` storage space and execute by running
```
su
/sdcard/./yams.sh
I like yams. They're nummy.
```
**If you get a permission error, denied etc.,** then
```
chmod 755 /path/to/script.sh
```
and again run as `su`
**You can alternately run**
```
su -c /sdcard/yams.sh
```
Upvotes: 2 |
2015/12/27 | 538 | 2,010 | <issue_start>username_0: I am trying to download a game for my child in the Amazon Underground app store.
The problem is, the Underground app refuses to install under my child's login (it claims to be incompatible with my device!?!). I can install both the Underground app and the particular app I want to install under *my* login, but I don't allow my child to know my PIN or use my login as I have other things install I don't want her to mess with.
If I could find the APK before it is installed I figured I could just manually install it under my child's login, but I can't find it! I have run a file manager and did a search under the entire filesystem (as root, no less!) for all files within the last hour, and did not find *any* APKs. Some other answers [here](https://android.stackexchange.com/questions/18989/where-are-the-downloads-from-the-amazon-appstore-stored) and [here](https://android.stackexchange.com/questions/10336/amazon-app-store-location-of-the-downloaded-apk) claim it is stored in `/sdcard/Android/data/com.amazon.venezia/cache/` or `/sdcard/Android/data/com.amazon.venezia/files/apks`. However, both of those directories are empty after the download is finished. I am looking when it tells me the download is ready to install, but before I allow it to install, so I know the APK must be around there somewhere. Where is it?<issue_comment>username_1: Look in `/data/data/com.amazon.mShop.android/files`
I had to use Fx to search my entire device to find the Amazon Video APK.
Upvotes: 1 <issue_comment>username_2: The smaller size apps are located in `/data/data/uk.amazon.mShop.android/files/` and are named `update.......` - you must be root to see/extract these.
The larger size apps or games are located `/sdcard/apks/` as they are too big to store in the apps private /data/data directory and are also named `update....` - a stock user can see/extract these.
This was correct at time of posting as the location has changed i nthe past, it may well change again.
Upvotes: 0 |
2015/12/28 | 1,118 | 4,525 | <issue_start>username_0: Chainfire (the developer of SuperSU), has come up with a new style of rooting devices on Android 6.0 Marshmallow and above. This is "**systemless**" root, and is all the rage right now. So, just in case anyone feels curious, I thought there should be some information about "systemless" root here for future reference.
**The main question:**
What is "**systemless**" root, exactly?
This question has 2 ancillary questions, which are:
1. Where is it more applicable over traditional "**system-based**" root, and how is it different from it?
2. Is it better than traditional root? If so, how?
A comprehensive answer to the main question along with the ancillary questions will be preferred.<issue_comment>username_1: Systemless root, developed mainly by Chainfire, is an alternate method to root your phone without altering files in your system. It makes changes in the boot image instead of the system files like init, etc, and hence makes rooting and unrooting theoretically easier. It is an experiment, so I don't think it works perfectly. It also could circumvent Android Pay root restrictions, but Chainfire did not expect that, and says that Android Pay would be patched to push out any such root users too.
For more information about it, check the [xda](http://www.xda-developers.com/chainfire-releases-root-for-android-6-0-without-modifying-system/) article. The dev also has a forum [here](http://forum.xda-developers.com/showpost.php?p=63197935&postcount=2).
Upvotes: 3 <issue_comment>username_2: **Main Answer:**
Systemless root is a rooting method/procedure developed by Chainfire (the developer of the popular root management app SuperSU) which involves a modified boot ramdisk image. The superuser `su` binary becomes a kernel inclusion instead of existing under `/system/xbin/`, like in normal system-based root.
**Ancillary Answers:**
1. *Preference of systemless root over traditional root:*
It was initially suggested by Chainfire to be useful for Nexus devices from Marshmallow onwards to prevent rooted users from having to reflash the entire stock system, boot and recovery partitions before undertaking even a minor OTA update, which has since become more important as Google has introduced the policy of pushing out monthly security updates through OTAs, and flashing the entire device every month is tedious at best.
Systemless root eliminates the heavyweight system partition from the flashing equation, allowing the devices with systemless root to be updated just after reflashing stock recovery and boot.
2. *Pros of systemless root over traditional root:*
* Utility when OTA updating devices as mentioned above.
* The modified boot image gets rid of the "Tampered" screen on Android bootup from Marshmallow onwards, if the device has a non-stock partition, most commonly recovery.
* No exploits required. Systemless SuperSU can technically be flashed as a boot image through fastboot, although it is normally done by flashing a zip in a custom recovery, which automatically patches the on-device boot image to make the necessary modifications to support systemless root.
* It works with an `SELinux Enforcing` security condition, while traditional root needs `SELinux Permissive` on Android 5.0 and up.
* It *unintentionally* circumvents Android Pay and Android for Work root restrictions, which work with traditional root.
3. *Cons of systemless root over traditional root:*
* Quite buggy and is still in BETA stage, although it is being actively developed and is definitely usable (from personal experience). **Edit:** No longer buggy and the default rooting method on Android 6.0.1 and up when using SuperSU.
* Some custom kernels like LeanKernel refuse to work with systemless root as they need traditional root for functioning properly. **Edit:** Most custom kernels now recommend systemless root, a well-known such kernel being ElementalX.
* Some root apps may not work with systemless root as they hard-code the `path-to-su` in their code, which is only applicable for traditional root.
* Not sure if this is actually a con, but systemless root is the only **recommended** rooting method that will work on Android 6.0.1 and up.
Sources:
1. [XDA-Developers](http://www.xda-developers.com/chainfire-releases-root-for-android-6-0-without-modifying-system/)
2. [Nexus 6P Reddit thread](https://www.reddit.com/r/Nexus6P/comments/3xdm15/whats_the_difference_between_systemless_root_and/) (not sure if it's very reliable)
Upvotes: 5 [selected_answer] |
2015/12/28 | 851 | 3,278 | <issue_start>username_0: I waited a long time to get the home screen in the emulator, but i didn't get it. How to proceed from here? [](https://i.stack.imgur.com/40lRR.png)<issue_comment>username_1: use genymotion emulator. It is fast comparing to general emulator. Program execution is fast than general emulator.
Upvotes: 0 <issue_comment>username_2: the reason is your haxm is not working is that, that your AVD and HAXM both must be configured to use same amount of memory(not sure if lower memory in avd will work).
you can change HAXM memory by reinstalling it(could not find any better method). during installation you will be asked to enter the desired amount of memory.
and you can change the avd memory from avd manager by clicking on the icon and then editing the avd by clicking the pencil button in the right, then go to advanced settings and you will see the memory option(might need to scroll on lower resolution screen)
Upvotes: 1 <issue_comment>username_3: Maybe you can try to use an emulator snapshot.To use a snapshot with your device, open the AVD manager from the Android Studio menu by selecting Tools→Android→AVD Manager, edit the AVD by clicking on the Edit symbol, then check the “Store a snapshot for faster startup” option.
This will save a snapshot of what the memory looks like when the device is running. The emulator will be able to restore the memory in this state without booting the device.
Besides, when you create a new virtual device, you can set its CPU type similar to your development machine(e.g. If your machine use a particular type of Intel x86 CPU, then set your virtual device's CPU to x86 architecture). Also, installing HAXM will help accelerate the speed. You can find it on <https://software.intel.com/en-us/android/articles/intel-hardware-accelerated-execution-manager>.
What's more, you can try to use GenyMotion instead of the original AVD.
Finally, running apps on your real device will offer you a more efficiency way to test the code.
In your case, it seems that your HAXM memory configuration(max 1024MB) cannot fullfill the AVD(1536MB) according to the screenshot. So you could adjust the HAXM max memory configuration by running the HAXM installer again. When the installer prompted to adjust the max memory size, set it to a number bigger than 1536MB, such as 2048MB. Then reload the AVD, the HAXM would run correctly, and the speed will improved efficiently.
Upvotes: 1 <issue_comment>username_4: Things you can try,
* Your AVD RAM size is higher than that of the HAXM's maximum RAM size. You can see in the log that,
```
emulator: AVD RAM size = 1536
emulator: HAXM max RAM size = 1024
emulator: You might want to adjust your AVD RAM size and/or HAXM configuration to run in fast virt mode.
```
So you need to adjust and set your virtual device's RAM lesser than that of max HAXM RAM size. I would suggest 512mb or 768mb for your AVD.
* The first startup can take a while, especially on a slow machine but otherwise try running the adb logcat command to see the log output. That will help you determine what the problem could be.
* Delete the emulator and create a new one
* Un-check the 'Snapshot' option and restart your emulator.
Upvotes: 0 |
2015/12/28 | 1,658 | 6,482 | <issue_start>username_0: I have an old 64 GB sdcard and a new 128 GB sdcard, how do I copy over all files from my old card to my new in a way that makes android treat the new card just as the old card.
I tried simply copy-pasting over my DCIM folder, then I put the new sdcard in and rebooted my phone, on startup the phone recreated the /Android folder and all apps had rights to their new folders.
**Ways I tried to move the files:**
1)
* dd old card to disk
* dd to new card
+ after this the card works but is seen as having 64 GB instead of 128 GB
space
* use gparted to resize partition
+ this makes android see the card as having used 64 GB space but with no files or folders
2)
* dd old card to disk to disk
* dd to new card
* use fdisk resize partition
+ this makes android see the card as having only empty folders, but still used 64 GB space
3)
* create 128 GB partition
+ this I have tried with both FAT32 and exFAT
* mount via mtp
+ **Update:** I have also tried to copy paste all the files and folders directly to the sdcard from the old card via the cp comand on linux (that was the very first thing I tried... I only tried all the other things because this did not work)
* rsync all files and folders to the sdcard
+ this seems to make android see all the folders and files, but now my apps can't write to their own folders
+ eg
the problem in all of the above cases is that android eigher a) does not see the file, simply sees the card as a file with 64 GB used space but it cannot see any of the folders, or it does copy it over but the apps does not have 'access' to their own directories eg Android/data/com.bambuna.podcastaddict/files/podcast/ is where my podcasts are, but the app podcastaddict does not have write premissions for the folder.
so in short... how do I copy over all my files from the old sdcard to the new one... or do I have to factory reset my phone and redownload all my apps such that all the folders and appropriate premissions are created by android... which seems to be my only option
additional information
* my phone is a unrooted z5 compact
+ it runs android 5.1
* I have access to a Linux and windows computer, but would prefer Linux solutions.
* I don't care what file system is on my external SD card.
* I am familiar with the command line and would prefer solution listing a few commands I need to copy-paste
As Firelord suggested, rebooting the phone makes android "display" the DCIM folder, so this one can be copied over, however it still seems that the /Android/data/com.company.app/ folders have to be created by the apps themselves, otherwise they cannot write to them, but you can subsequently copy files into these folders
Factory reset and restore from backup did this for me... it is an ugly solution... but at least it works.
I erroneously assumed that file permissions werehidden somewhere on the SD card and therefore tried to find the 'correct way' to copy, but it seems that the folder permission is saved on the internal card, or they are tied to the application in some non-trival way.
I restarted my phone again, and then some of my apps lost permissions to write to their SD card folders?!?!, ie podcastaddict which had downloaded 300 podcasts overnight could not write to `sdcard1/Android/data/com.bambuna.podcastaddict/files/podcasts`
By deleting and reinstalling podcastadditc it regenerated its folder and it has been working since.<issue_comment>username_1: use genymotion emulator. It is fast comparing to general emulator. Program execution is fast than general emulator.
Upvotes: 0 <issue_comment>username_2: the reason is your haxm is not working is that, that your AVD and HAXM both must be configured to use same amount of memory(not sure if lower memory in avd will work).
you can change HAXM memory by reinstalling it(could not find any better method). during installation you will be asked to enter the desired amount of memory.
and you can change the avd memory from avd manager by clicking on the icon and then editing the avd by clicking the pencil button in the right, then go to advanced settings and you will see the memory option(might need to scroll on lower resolution screen)
Upvotes: 1 <issue_comment>username_3: Maybe you can try to use an emulator snapshot.To use a snapshot with your device, open the AVD manager from the Android Studio menu by selecting Tools→Android→AVD Manager, edit the AVD by clicking on the Edit symbol, then check the “Store a snapshot for faster startup” option.
This will save a snapshot of what the memory looks like when the device is running. The emulator will be able to restore the memory in this state without booting the device.
Besides, when you create a new virtual device, you can set its CPU type similar to your development machine(e.g. If your machine use a particular type of Intel x86 CPU, then set your virtual device's CPU to x86 architecture). Also, installing HAXM will help accelerate the speed. You can find it on <https://software.intel.com/en-us/android/articles/intel-hardware-accelerated-execution-manager>.
What's more, you can try to use GenyMotion instead of the original AVD.
Finally, running apps on your real device will offer you a more efficiency way to test the code.
In your case, it seems that your HAXM memory configuration(max 1024MB) cannot fullfill the AVD(1536MB) according to the screenshot. So you could adjust the HAXM max memory configuration by running the HAXM installer again. When the installer prompted to adjust the max memory size, set it to a number bigger than 1536MB, such as 2048MB. Then reload the AVD, the HAXM would run correctly, and the speed will improved efficiently.
Upvotes: 1 <issue_comment>username_4: Things you can try,
* Your AVD RAM size is higher than that of the HAXM's maximum RAM size. You can see in the log that,
```
emulator: AVD RAM size = 1536
emulator: HAXM max RAM size = 1024
emulator: You might want to adjust your AVD RAM size and/or HAXM configuration to run in fast virt mode.
```
So you need to adjust and set your virtual device's RAM lesser than that of max HAXM RAM size. I would suggest 512mb or 768mb for your AVD.
* The first startup can take a while, especially on a slow machine but otherwise try running the adb logcat command to see the log output. That will help you determine what the problem could be.
* Delete the emulator and create a new one
* Un-check the 'Snapshot' option and restart your emulator.
Upvotes: 0 |
2015/12/28 | 931 | 3,555 | <issue_start>username_0: I am trying to copy a large file (11 GB) from Windows using File Explorer, i.e. drag'n'drop to an Android device (Nexus 7, Android 4.4, 32 GB), but I get this error:
>
> Cannot copy item
>
> The device has either stopped responding or has been disconnected.
>
>
>
There is 26 GB available storage on the device. I can copy a small file with no problems. I was able to copy a 4.9 GB file. The device is connected via USB and USB debugging is enabled.
What is the problem?<issue_comment>username_1: use genymotion emulator. It is fast comparing to general emulator. Program execution is fast than general emulator.
Upvotes: 0 <issue_comment>username_2: the reason is your haxm is not working is that, that your AVD and HAXM both must be configured to use same amount of memory(not sure if lower memory in avd will work).
you can change HAXM memory by reinstalling it(could not find any better method). during installation you will be asked to enter the desired amount of memory.
and you can change the avd memory from avd manager by clicking on the icon and then editing the avd by clicking the pencil button in the right, then go to advanced settings and you will see the memory option(might need to scroll on lower resolution screen)
Upvotes: 1 <issue_comment>username_3: Maybe you can try to use an emulator snapshot.To use a snapshot with your device, open the AVD manager from the Android Studio menu by selecting Tools→Android→AVD Manager, edit the AVD by clicking on the Edit symbol, then check the “Store a snapshot for faster startup” option.
This will save a snapshot of what the memory looks like when the device is running. The emulator will be able to restore the memory in this state without booting the device.
Besides, when you create a new virtual device, you can set its CPU type similar to your development machine(e.g. If your machine use a particular type of Intel x86 CPU, then set your virtual device's CPU to x86 architecture). Also, installing HAXM will help accelerate the speed. You can find it on <https://software.intel.com/en-us/android/articles/intel-hardware-accelerated-execution-manager>.
What's more, you can try to use GenyMotion instead of the original AVD.
Finally, running apps on your real device will offer you a more efficiency way to test the code.
In your case, it seems that your HAXM memory configuration(max 1024MB) cannot fullfill the AVD(1536MB) according to the screenshot. So you could adjust the HAXM max memory configuration by running the HAXM installer again. When the installer prompted to adjust the max memory size, set it to a number bigger than 1536MB, such as 2048MB. Then reload the AVD, the HAXM would run correctly, and the speed will improved efficiently.
Upvotes: 1 <issue_comment>username_4: Things you can try,
* Your AVD RAM size is higher than that of the HAXM's maximum RAM size. You can see in the log that,
```
emulator: AVD RAM size = 1536
emulator: HAXM max RAM size = 1024
emulator: You might want to adjust your AVD RAM size and/or HAXM configuration to run in fast virt mode.
```
So you need to adjust and set your virtual device's RAM lesser than that of max HAXM RAM size. I would suggest 512mb or 768mb for your AVD.
* The first startup can take a while, especially on a slow machine but otherwise try running the adb logcat command to see the log output. That will help you determine what the problem could be.
* Delete the emulator and create a new one
* Un-check the 'Snapshot' option and restart your emulator.
Upvotes: 0 |
2015/12/29 | 920 | 3,673 | <issue_start>username_0: My phone is Kyocera Hydro Icon with Android 4.4.2.
I use its back and front cameras to take pictures of my head and face at distances around an arm's length. I found the front camera gives more pleasing pictures than the back one, for example,
the pictures taken by the back one often shows my eyes are proportionally smaller.
Also the front camera seems to produce completely dark pictures when the lighting isn't good, while the back camera can still produce clearer pictures.
Which camera gives more accurate or realistic pictures of my face and head at distances around an arm's length?<issue_comment>username_1: use genymotion emulator. It is fast comparing to general emulator. Program execution is fast than general emulator.
Upvotes: 0 <issue_comment>username_2: the reason is your haxm is not working is that, that your AVD and HAXM both must be configured to use same amount of memory(not sure if lower memory in avd will work).
you can change HAXM memory by reinstalling it(could not find any better method). during installation you will be asked to enter the desired amount of memory.
and you can change the avd memory from avd manager by clicking on the icon and then editing the avd by clicking the pencil button in the right, then go to advanced settings and you will see the memory option(might need to scroll on lower resolution screen)
Upvotes: 1 <issue_comment>username_3: Maybe you can try to use an emulator snapshot.To use a snapshot with your device, open the AVD manager from the Android Studio menu by selecting Tools→Android→AVD Manager, edit the AVD by clicking on the Edit symbol, then check the “Store a snapshot for faster startup” option.
This will save a snapshot of what the memory looks like when the device is running. The emulator will be able to restore the memory in this state without booting the device.
Besides, when you create a new virtual device, you can set its CPU type similar to your development machine(e.g. If your machine use a particular type of Intel x86 CPU, then set your virtual device's CPU to x86 architecture). Also, installing HAXM will help accelerate the speed. You can find it on <https://software.intel.com/en-us/android/articles/intel-hardware-accelerated-execution-manager>.
What's more, you can try to use GenyMotion instead of the original AVD.
Finally, running apps on your real device will offer you a more efficiency way to test the code.
In your case, it seems that your HAXM memory configuration(max 1024MB) cannot fullfill the AVD(1536MB) according to the screenshot. So you could adjust the HAXM max memory configuration by running the HAXM installer again. When the installer prompted to adjust the max memory size, set it to a number bigger than 1536MB, such as 2048MB. Then reload the AVD, the HAXM would run correctly, and the speed will improved efficiently.
Upvotes: 1 <issue_comment>username_4: Things you can try,
* Your AVD RAM size is higher than that of the HAXM's maximum RAM size. You can see in the log that,
```
emulator: AVD RAM size = 1536
emulator: HAXM max RAM size = 1024
emulator: You might want to adjust your AVD RAM size and/or HAXM configuration to run in fast virt mode.
```
So you need to adjust and set your virtual device's RAM lesser than that of max HAXM RAM size. I would suggest 512mb or 768mb for your AVD.
* The first startup can take a while, especially on a slow machine but otherwise try running the adb logcat command to see the log output. That will help you determine what the problem could be.
* Delete the emulator and create a new one
* Un-check the 'Snapshot' option and restart your emulator.
Upvotes: 0 |
2015/12/29 | 1,095 | 4,054 | <issue_start>username_0: Can somebody help with how can I listen to text messages on my phone? One of my friend using this same feature now I want to know how it works. Is there any way I can listen to my texts?<issue_comment>username_1: The text-to-speech feature mentioned might not be app-specific (refer to @Izzy's [linked question](https://android.stackexchange.com/q/1146/16575 "Is there an app that will vocalize (text to speech) a message (SMS)?") for help on that). It probably is an Android system feature enabled.
The Android system feature mentioned is the accessibility setting of text-to-speech (or TTS for short). It is better referred to in-system as Talkback, and the app is automatically updated through Google Play as it is provided by Google. Your OEM may provide either Google TTS or Pico TTS, or both. Google TTS is of higher voice quality compared to Pico TTS.
As to enabling Talkback so that (every text you can touch on the screen, including) your SMSes can be read out by your phone (although that could be a security liability), I'll detail the standard method.
To turn on TalkBack, follow these steps:
1. Navigate to Settings → Accessibility.
2. Follow the steps for your version of Android. [Learn how to check your Android version](https://support.google.com/nexus/answer/4457705).
* Android 4.1 and above: Select TalkBack and slide the TalkBack switch to the on position.
* Android 4.0: Select TalkBack and slide the TalkBack switch to the on position.
Next, go back to the previous screen and turn on Explore by touch.
* Android 3.2 and earlier: Select the Accessibility checkbox, then select the TalkBack checkbox.
The confirmation screen displays a list of permissions that allow TalkBack to provide useful spoken feedback. To confirm that you allow these actions and to begin using TalkBack, touch OK.
Now, in your messages app, tap on the message and it will be read out to you.
**Note:**
TalkBack will read out anything you tap on-screen, as long as it has text associated with it. Beware!
For further details on Talkback, check out Google's official product support page for Android Accessibility [here](https://support.google.com/accessibility/android/answer/6283677?hl=en&ref_topic=3529932).
**READ THIS LAST:**
This is **not without** side effects. **TalkBack will read out everything on your screen you touch if it can be acted on or has text in it, including notifications.** Also, it will read out stuff like "colon p" for :p emoji and will read out all the characters in a web address. It will even tell you what you have touched, and let you act with a double-tap or move on to the next element without triggering anything.
Quoting from [this Android Central article](http://www.androidcentral.com/what-google-talk-back "AndroidCentral: What is Google TalkBack?") @Izzy mentioned:
>
> TalkBack isn't something you'll want to use unless you need it. Frankly, it's darn near impossible to use when you can see what it is telling you you're seeing, and you can't help but tap and try to do things before it is ready.
>
>
>
Now, TalkBack can be specifically enabled for just the messaging app(s) through usage of an automation app like Tasker or Macrodroid.
With credits to @Izzy, these should help you out with configuring Tasker for this purpose, as you need it:
1. [Read SMS while in Car Dock](http://tasker.wikidot.com/readsmswhileincardock)
2. [Youtube Tasker Tutorial: read and respond to text messages](https://www.youtube.com/watch?v=Npwm9ZSg8KI)
3. [Find more here...](https://www.google.com/search?q=tasker+read+sms) ;)
*References:*
1. <http://developer.android.com/design/patterns/accessibility.html>
2. <https://support.google.com/accessibility/android/answer/6006564?hl=en>
Upvotes: 2 <issue_comment>username_2: This mentions the apps in @Izzy's linked question.
If you have Android, use the following apps:
* SMS Reader
* DriveSafe.ly®
Source: [Listen to text messages](http://theviralbytes.com/listen-to-text-messages-on-android-iphone/)
Upvotes: 3 [selected_answer] |
2015/12/29 | 1,123 | 4,189 | <issue_start>username_0: I have an android phone (my uncle's) that is full of viruses that display adds and reinstall themselves I'm guessing
there is no important/needed data on the phone
I tried factory reset, after used Dr Web to find viruses, and to root the phone (Kingo ROOT) in order to be able to remove some of them, 2 files identified by drweb couldn't be removed even though the phone was rooted because they were system files (priv-app/baseservice.apk and another one), I renamed them instead.
all this ^ didn't helped completely, they appear again somehow, so would like to format and clean install a new OS
**is there a easy way to do that ?**
my guess is I need some program on my pc (windows7) for this and connect the phone using usb and run some commands
the device is a fake galaxy S6, Android 5.0.2 kernel version 3.10.61<issue_comment>username_1: Things you can do:
1. Downgrade to your stock ROM and **install a good antivirus** and run a complete device scan because some of them are powerful enough to remove viruses from system files in priveledged user mode.
2. **Install Ubuntu Touch instead of android as shown in [this guide](http://www.pcadvisor.co.uk/how-to/linux/how-install-ubuntu-touch-image-3531970/)**. The guide is actually primarily for nexus devices but you can make it work for Galaxy S6 by finding the stock ROM yourself and other stuff for the S6 yourself instead of following the links given in the guide which are for nexus devices.
3. If that doesn't work and you are unable to install Ubuntu touch for some reason try [this](https://developer.mozilla.org/en-US/docs/Mozilla/Firefox_OS/Installing_on_a_mobile_device).
Upvotes: 2 <issue_comment>username_2: Firstly, some background
* **Anti Virus**. Android devices are not susceptible to viruses as Windows machines are. To understand more see this [Is an antivirus really needed for Android?](https://android.stackexchange.com/questions/341/is-an-antivirus-really-needed-for-android). So, installing anti virus is not helping any, unless it scans for malware also
* **Malware**. Malware in Android devices works by losing itself into `/system` ,i.e., behaving as if it is a system app. Factory Reset does not change anything in `/system` partition, so it does not help. You could try installing apps suggested here to check for malware [Some program is showing ads on my desktop... How can I catch it?](https://android.stackexchange.com/questions/126326/some-program-is-showing-ads-on-my-desktop-how-can-i-catch-it). You could read this for tell-tale [symtoms of malware](http://securitywatch.pcmag.com/mobile-security/309980-five-signs-your-android-device-is-infected-with-malware)
Second, if you have a malware that can't be removed, only thing to do is to flash a new OS or stock OS a you rightly thought. This is going to be a challenge as getting **reliable** OS may be a challenge and you would need to search in various ROM forums of you can locate one that works on your device.You would find flashing instructions provided with ROM.
**Important Note**
Any ROM that works on Samsung S6 (Original) won't work on your device and may cause your device to be bricked. Be sure to flash a ROM meant for your device. Please read these to understand
* [Can I install a ROM made for a different device?](https://android.stackexchange.com/questions/35925/can-i-install-a-rom-made-for-a-different-device):
* [Feasibility of flashing a ROM (meant for original device) on a re-branded device](https://android.stackexchange.com/questions/128536/feasibility-of-flashing-a-rom-meant-for-original-device-on-a-re-branded-device)
Is it tough to flash a new ROM? Not really, if you take your time in understanding the instructions IMO, finding a ROM from a reliable source is the biggest challenge. My search (not very thorough) didn't lead me to any source
Upvotes: 3 [selected_answer]<issue_comment>username_3: I've fixed the phone by rooting it and uninstalling a bunch of system apps (anything that felt suspicious, google helped) ,
apparently the phone had malware apps preinstalled (root apps),
I also removed the sms app by accident, but it's ok, the owner doesn't use sms
Upvotes: 0 |
2015/12/29 | 945 | 3,512 | <issue_start>username_0: I have lost most of my contacts on the phone account, but they still exist in my telegram account. How can i move them to phone or export them?<issue_comment>username_1: Things you can do:
1. Downgrade to your stock ROM and **install a good antivirus** and run a complete device scan because some of them are powerful enough to remove viruses from system files in priveledged user mode.
2. **Install Ubuntu Touch instead of android as shown in [this guide](http://www.pcadvisor.co.uk/how-to/linux/how-install-ubuntu-touch-image-3531970/)**. The guide is actually primarily for nexus devices but you can make it work for Galaxy S6 by finding the stock ROM yourself and other stuff for the S6 yourself instead of following the links given in the guide which are for nexus devices.
3. If that doesn't work and you are unable to install Ubuntu touch for some reason try [this](https://developer.mozilla.org/en-US/docs/Mozilla/Firefox_OS/Installing_on_a_mobile_device).
Upvotes: 2 <issue_comment>username_2: Firstly, some background
* **Anti Virus**. Android devices are not susceptible to viruses as Windows machines are. To understand more see this [Is an antivirus really needed for Android?](https://android.stackexchange.com/questions/341/is-an-antivirus-really-needed-for-android). So, installing anti virus is not helping any, unless it scans for malware also
* **Malware**. Malware in Android devices works by losing itself into `/system` ,i.e., behaving as if it is a system app. Factory Reset does not change anything in `/system` partition, so it does not help. You could try installing apps suggested here to check for malware [Some program is showing ads on my desktop... How can I catch it?](https://android.stackexchange.com/questions/126326/some-program-is-showing-ads-on-my-desktop-how-can-i-catch-it). You could read this for tell-tale [symtoms of malware](http://securitywatch.pcmag.com/mobile-security/309980-five-signs-your-android-device-is-infected-with-malware)
Second, if you have a malware that can't be removed, only thing to do is to flash a new OS or stock OS a you rightly thought. This is going to be a challenge as getting **reliable** OS may be a challenge and you would need to search in various ROM forums of you can locate one that works on your device.You would find flashing instructions provided with ROM.
**Important Note**
Any ROM that works on Samsung S6 (Original) won't work on your device and may cause your device to be bricked. Be sure to flash a ROM meant for your device. Please read these to understand
* [Can I install a ROM made for a different device?](https://android.stackexchange.com/questions/35925/can-i-install-a-rom-made-for-a-different-device):
* [Feasibility of flashing a ROM (meant for original device) on a re-branded device](https://android.stackexchange.com/questions/128536/feasibility-of-flashing-a-rom-meant-for-original-device-on-a-re-branded-device)
Is it tough to flash a new ROM? Not really, if you take your time in understanding the instructions IMO, finding a ROM from a reliable source is the biggest challenge. My search (not very thorough) didn't lead me to any source
Upvotes: 3 [selected_answer]<issue_comment>username_3: I've fixed the phone by rooting it and uninstalling a bunch of system apps (anything that felt suspicious, google helped) ,
apparently the phone had malware apps preinstalled (root apps),
I also removed the sms app by accident, but it's ok, the owner doesn't use sms
Upvotes: 0 |
2015/12/29 | 781 | 2,886 | <issue_start>username_0: I have a Samsung Tab E that only has one USB port.
Can I charge the tablet and have a USB keyboard attached at the same time?
I've tried a 3-way cable ( [link to Amazon](http://www.amazon.co.uk/gp/product/B00EB70PQW?psc=1&redirect=true&ref_=oh_aui_detailpage_o01_s01) ) but it supplies power to the keyboard, not the tablet.
I've also tried using a USB hub I had lying around, but I couldn't get that to work either.<issue_comment>username_1: The most likely way to use a keyboard while charging on a single port device is to use a *Bluetooth* keyboard.
Failing that, you may need a different 3-way cable. The keyboard certainly needs power to operate (unless it has internal battery power), but a correctly wired 3-way cable should be able to *both* power the keyboard and charge the device. You can verify that there's voltage on the charge pins of the two USB connectors on the 3-way cable, with a meter and suitable fine probes -- though it's very possible that the device will refuse to accept charge if there's a data attachment on the USB port. You'd have to contact Samsung to verify that.
Upvotes: 2 <issue_comment>username_2: There are three kinds of USB ports in use (before USB Type C)- data only, charge only and both data and charge
Quoting from [How USB charging works](http://www.extremetech.com/computing/115251-how-usb-charging-works-or-how-to-avoid-blowing-up-your-smartphone)
>
> In terms of actual current (milliamps or mA), there are three kinds of USB port dictated by the current specs: a standard downstream port, a charging downstream port, and a dedicated charging port. The first two can be found on your computer (and should be labeled as such), and the third kind applies to “dumb” wall chargers.
>
>
>
[Tablets are known to have any of these ports](https://android.stackexchange.com/questions/132832/device-uses-non-usb-charger-can-i-still-charge-it-through-the-usb-port/132872#comment166494_132872). The port you have for charging is a dedicated charging port (as I suspect ) and will not allow simultaneous data transfer. This is borne out by your observation that the keyboard is getting power when connected with a 3 way cable or even USB hub (more reliable for such requirements)
You can easily verify this by connecting a flash drive through an OTG cable and transfer files. If it doesn't work (as I suspect), you have your confirmed answer
It may turn out to be a futile attempt by introducing additional hardware to meet your goal if the port itself cannot support. You may like to first validate this by seeking a confirmation from OEM, in case my reasoning current appeal to you
Upvotes: 0 <issue_comment>username_3: I contacted Samsung support and their answer was that the single USB port cannot be used for charging the tablet at the same time as providing a data connection.
Upvotes: 3 [selected_answer] |
2015/12/29 | 669 | 2,410 | <issue_start>username_0: So I'm watching a video talk in VLC on my Samsung I9305 rooted stock 4.4.4 with Xposed Framework, and I want to lock the screen and put the phone in my pocket, but still continue listening to the audio of the talk. Is it possible to do this with VLC, or do I have to switch to another media player?<issue_comment>username_1: Would something like this work for you? [YouTube player](https://android.stackexchange.com/a/90288/143025)
That is a YouTube player that plays after the screen is locked.
Upvotes: -1 <issue_comment>username_2: It turns out this is actually a native function of VLC 1.7.4 (and probably previous versions too) for Android.
1. Click the three horizontal lines in the top left corner (on the file selection screen, not while a video is playing).
2. Click on "Preferences".
3. Tick the "Play videos in background" box.
4. Play a video.
5. Lock the screen.
6. Keep listening to the audio from that video!
Upvotes: 4 [selected_answer]<issue_comment>username_3: i have Huawei mate 9 and i have found one resolution which is Phone Battery is locking VLC player to run in back ground see attached screenshots which we have to enable.
[](https://i.stack.imgur.com/rJu8sl.jpg)
[](https://i.stack.imgur.com/Jsodpl.jpg)
[](https://i.stack.imgur.com/sppcQl.jpg)
Upvotes: 2 <issue_comment>username_4: I had the same problem on a Samsung Note 8, even with "Play videos in background" setting turned on. In the latest version of VLC (v3.3.4), the "Play videos in the background" option is a little different, it's actually "Background/PiP mode" with 3 options:
* Stop
* Play videos in background
* Play videos in Piciture-in-picture mode
The issue for me was the power saving setting, similar to username_3's answer for their Huawei Mate 9.
Here's how to fix it on a Samsung:
* Open Settings
* Open Apps
* Find and open VLC
* Click "Battery"
* Toggle "Allow background activity" to on
Without this setting, audio playback will be stopped about 30 seconds after locking the phone regardless of the "Background/PiP mode". However, with "Allow background activity" turned on, audio playback will continue even with the "Background/PiP mode" set to "Stop".
Upvotes: 1 |
2015/12/29 | 808 | 2,983 | <issue_start>username_0: On my OnePlus One, which is currently running Android version 5.1.1 and Cyanogen OS version 12.1, isn't finding music on my device. I got the music onto my phone with my Chromebook, a HP 14, and simply moving the files to my phones "Music" folder. Once disconnected from my laptop, the music won't appear in the "Play Music" app. I know the files are on my phone, since they appear when I look in my file manager.
I've tried hitting the "refresh" button on both the music app and file manager, in addition to clearing the cache on both the applications. I've also rebooted my phone numerous times, and tried using a SD re-scanner with no avail.
This problem has happened on my phone before, and I solved it by clearing all the music data and putting it all back on my device. Still, I would really prefer not to do this, since it is kind of a pain.
Thank you so much!<issue_comment>username_1: Would something like this work for you? [YouTube player](https://android.stackexchange.com/a/90288/143025)
That is a YouTube player that plays after the screen is locked.
Upvotes: -1 <issue_comment>username_2: It turns out this is actually a native function of VLC 1.7.4 (and probably previous versions too) for Android.
1. Click the three horizontal lines in the top left corner (on the file selection screen, not while a video is playing).
2. Click on "Preferences".
3. Tick the "Play videos in background" box.
4. Play a video.
5. Lock the screen.
6. Keep listening to the audio from that video!
Upvotes: 4 [selected_answer]<issue_comment>username_3: i have Huawei mate 9 and i have found one resolution which is Phone Battery is locking VLC player to run in back ground see attached screenshots which we have to enable.
[](https://i.stack.imgur.com/rJu8sl.jpg)
[](https://i.stack.imgur.com/Jsodpl.jpg)
[](https://i.stack.imgur.com/sppcQl.jpg)
Upvotes: 2 <issue_comment>username_4: I had the same problem on a Samsung Note 8, even with "Play videos in background" setting turned on. In the latest version of VLC (v3.3.4), the "Play videos in the background" option is a little different, it's actually "Background/PiP mode" with 3 options:
* Stop
* Play videos in background
* Play videos in Piciture-in-picture mode
The issue for me was the power saving setting, similar to username_3's answer for their Huawei Mate 9.
Here's how to fix it on a Samsung:
* Open Settings
* Open Apps
* Find and open VLC
* Click "Battery"
* Toggle "Allow background activity" to on
Without this setting, audio playback will be stopped about 30 seconds after locking the phone regardless of the "Background/PiP mode". However, with "Allow background activity" turned on, audio playback will continue even with the "Background/PiP mode" set to "Stop".
Upvotes: 1 |
2015/12/29 | 318 | 1,168 | <issue_start>username_0: I received OTA for my nexus 7 tablet few days back and since then my device is not booting up. Can someone please help how to get it working ?<issue_comment>username_1: Download the `Nexus Root Toolkit` from [here](http://www.wugfresh.com/nrt/). It has options to restore any Nexus device back to its factory settings, including bricked or boot looping devices, under the `Flash Stock + Unroot` button. You should select the option `Current status` of `Soft-Bricked / Bootloop`. The toolkit will walk you through, step by step, restoring your Nexus to working condition.
You may lose any data stored on the device.
[](https://i.stack.imgur.com/3K5tM.png)
Upvotes: 1 <issue_comment>username_2: username_1's answer is very good but try the following first and then follow his advice if these solutions fail.
1. Boot into stock recovery (guide [here](http://www.robschmuecker.com/how-to-boot-into-recovery-mode-nexus-7/ "Recovery Guide")) and wipe the cache partition then reboot.
2. If that fails, boot into recovery in the same way and wipe the data partition.
Upvotes: 0 |