date stringlengths 10 10 | nb_tokens int64 60 629k | text_size int64 234 1.02M | content stringlengths 234 1.02M |
|---|---|---|---|
2019/01/16 | 648 | 2,287 | <issue_start>username_0: i successfully installed twrp but on twrp reboot i selected system and now on opening nokia 3 it goes to twrp.
Only twrp can be opened not the OS (normal boot) of nokia 3.
I tried flashing stock rom of nokia 3 with sp flash tools but on starting or booting phone , it will not detect nokia 3 and red and yellow bars does not appear.
so how to flash stock firmware when i am stuck boot looping in to Twrp.
Any other way if possible please describe.<issue_comment>username_1: [Android 4.2](https://gist.github.com/alekswn/053003233c4033aa4d92)
Auto rotate on:
`adb shell content insert --uri content://settings/system --bind name:s:accelerometer_rotation --bind value:i:1`
Auto rotate off:
`adb shell content insert --uri content://settings/system --bind name:s:accelerometer_rotation --bind value:i:0`
Landscape:
`adb shell content insert --uri content://settings/system --bind name:s:user_rotation --bind value:i:1`
Portrait:
`adb shell content insert --uri content://settings/system --bind name:s:user_rotation --bind value:i:0`
[Android 8](https://source.android.com/devices/tech/display/rotate-suggestions)
Auto rotate on:
`adb shell settings put secure show_rotation_suggestions 1`
Auto rotate off:
`adb shell settings put secure show_rotation_suggestions 0`
introduction mode can be reset by altering the associated Settings.Secure value. This accomplished easiest by running the following command from a privileged adb instance:
`adb shell settings put secure num_rotation_suggestions_accepted 0`
Upvotes: 1 <issue_comment>username_2: Im also running an unofficial LOS 14.1--7.1.2 (orig. 6.0), and I've learned that, while being debuggable &selinux-permissive, ANY little system change requires that /system/ be remounted -o rw. Once I ran the cmd via terminal prior to changes, I experienced NO more issues with substratum, exposed, etc. My Superuser's perms are 777, so I had assumed that also having a permissive kernel would grant god-like powers, but certain pid's & such keep me humble.
Also maybe important (certainly is for my LG), build.prop changes persist only when done properly via my TWRP terminal, as that shows my default build.prop always, lurking to overwrite /revert my naive tweaks. Good lookin' out, TWRP.
Upvotes: 0 |
2019/01/17 | 727 | 2,593 | <issue_start>username_0: Today I (very briefly) spotted a new icon in my status bar.
It looked like a little person icon (head and shoulder, silhouette kind of thing) with sound waves on the right (like WiFi signal but horizontal).
It was only there for a second so I wasn't able to get a screenshot but will definitely try if i see it again.
I haven't come across this icon in the 8 or so years that I've been using android and I can't think of any obvious app that it would be for.
I haven't installed any apps in the last week or so either.
If it helps, I was on my Galaxy Note 9 on Oreo (8.1.0 / Samsung Experience 9.5), it is rooted (Magisk) and has Xposed installed.
Any help identifying this icon is greatly appreciated and I'll update if I manage to get a screenshot.<issue_comment>username_1: [Android 4.2](https://gist.github.com/alekswn/053003233c4033aa4d92)
Auto rotate on:
`adb shell content insert --uri content://settings/system --bind name:s:accelerometer_rotation --bind value:i:1`
Auto rotate off:
`adb shell content insert --uri content://settings/system --bind name:s:accelerometer_rotation --bind value:i:0`
Landscape:
`adb shell content insert --uri content://settings/system --bind name:s:user_rotation --bind value:i:1`
Portrait:
`adb shell content insert --uri content://settings/system --bind name:s:user_rotation --bind value:i:0`
[Android 8](https://source.android.com/devices/tech/display/rotate-suggestions)
Auto rotate on:
`adb shell settings put secure show_rotation_suggestions 1`
Auto rotate off:
`adb shell settings put secure show_rotation_suggestions 0`
introduction mode can be reset by altering the associated Settings.Secure value. This accomplished easiest by running the following command from a privileged adb instance:
`adb shell settings put secure num_rotation_suggestions_accepted 0`
Upvotes: 1 <issue_comment>username_2: Im also running an unofficial LOS 14.1--7.1.2 (orig. 6.0), and I've learned that, while being debuggable &selinux-permissive, ANY little system change requires that /system/ be remounted -o rw. Once I ran the cmd via terminal prior to changes, I experienced NO more issues with substratum, exposed, etc. My Superuser's perms are 777, so I had assumed that also having a permissive kernel would grant god-like powers, but certain pid's & such keep me humble.
Also maybe important (certainly is for my LG), build.prop changes persist only when done properly via my TWRP terminal, as that shows my default build.prop always, lurking to overwrite /revert my naive tweaks. Good lookin' out, TWRP.
Upvotes: 0 |
2019/01/18 | 735 | 2,760 | <issue_start>username_0: I tried to flash the most recent android pie update to my pixel 2 only for it to fail writing partitions even though I followed a recent guide to my best ability. Now, the phone is stuck in the bootloader with no way to boot into android or any way to access the recovery options (throws an error and takes me back to the bootloader info page)
Neither fastboot nor ADB can recognize the phone, I think this is because the USB debugging must have turned off somehow even though I turned it on, as before I WAS able to access it through fastboot. But now I can not, plugging it into the Windows machine, windows doesn't see any change in Device Manager when the phone is plugged in and out.
I reached out to a google supports rep and they told me since there is no way to access the recovery options, the phone needs to go through warranty, but is this really the only way? Is there some driver I am missing?
Thank you.<issue_comment>username_1: [Android 4.2](https://gist.github.com/alekswn/053003233c4033aa4d92)
Auto rotate on:
`adb shell content insert --uri content://settings/system --bind name:s:accelerometer_rotation --bind value:i:1`
Auto rotate off:
`adb shell content insert --uri content://settings/system --bind name:s:accelerometer_rotation --bind value:i:0`
Landscape:
`adb shell content insert --uri content://settings/system --bind name:s:user_rotation --bind value:i:1`
Portrait:
`adb shell content insert --uri content://settings/system --bind name:s:user_rotation --bind value:i:0`
[Android 8](https://source.android.com/devices/tech/display/rotate-suggestions)
Auto rotate on:
`adb shell settings put secure show_rotation_suggestions 1`
Auto rotate off:
`adb shell settings put secure show_rotation_suggestions 0`
introduction mode can be reset by altering the associated Settings.Secure value. This accomplished easiest by running the following command from a privileged adb instance:
`adb shell settings put secure num_rotation_suggestions_accepted 0`
Upvotes: 1 <issue_comment>username_2: Im also running an unofficial LOS 14.1--7.1.2 (orig. 6.0), and I've learned that, while being debuggable &selinux-permissive, ANY little system change requires that /system/ be remounted -o rw. Once I ran the cmd via terminal prior to changes, I experienced NO more issues with substratum, exposed, etc. My Superuser's perms are 777, so I had assumed that also having a permissive kernel would grant god-like powers, but certain pid's & such keep me humble.
Also maybe important (certainly is for my LG), build.prop changes persist only when done properly via my TWRP terminal, as that shows my default build.prop always, lurking to overwrite /revert my naive tweaks. Good lookin' out, TWRP.
Upvotes: 0 |
2019/01/18 | 837 | 2,973 | <issue_start>username_0: I'm using a Meizu M6 and a newly bought Sandisk Ultra Micro SD XC 64 GB.
Internal storage is about 1.67 GB free out of 16 GB. My SD card's system was FAT32; reformatted it to exFat, now the phone won't read it (still working fine with desktop). Android version is apparently based on Nougat, OS is Flyme 7.1 Global. Phone file explorer is built-in/default; desktop is Windows Explorer.
So my phone and desktop can detect my SD, but:
1. Every time I tried to create an empty, new folder on my SD, it gave me the "insufficient storage space" message, despite being empty as a clean slate.
2. Every time I tried to use the camera, it gave me the "insert SD card" message, despite being able to detect it earlier.
Yet I can create new folders and move items to my SD if I connect it to my PC with some card reader.
For the record, I have already checked the wiki tags and similar topics, as well as format, remount, cache clear, and/or reboot, but none of them worked.
The SD card worked fine in another phone (Realmi2Pro, with a custom OS). For now, we suspect it's the problem with Flyme 7 OS.
What might cause this? Any pointers?<issue_comment>username_1: [Android 4.2](https://gist.github.com/alekswn/053003233c4033aa4d92)
Auto rotate on:
`adb shell content insert --uri content://settings/system --bind name:s:accelerometer_rotation --bind value:i:1`
Auto rotate off:
`adb shell content insert --uri content://settings/system --bind name:s:accelerometer_rotation --bind value:i:0`
Landscape:
`adb shell content insert --uri content://settings/system --bind name:s:user_rotation --bind value:i:1`
Portrait:
`adb shell content insert --uri content://settings/system --bind name:s:user_rotation --bind value:i:0`
[Android 8](https://source.android.com/devices/tech/display/rotate-suggestions)
Auto rotate on:
`adb shell settings put secure show_rotation_suggestions 1`
Auto rotate off:
`adb shell settings put secure show_rotation_suggestions 0`
introduction mode can be reset by altering the associated Settings.Secure value. This accomplished easiest by running the following command from a privileged adb instance:
`adb shell settings put secure num_rotation_suggestions_accepted 0`
Upvotes: 1 <issue_comment>username_2: Im also running an unofficial LOS 14.1--7.1.2 (orig. 6.0), and I've learned that, while being debuggable &selinux-permissive, ANY little system change requires that /system/ be remounted -o rw. Once I ran the cmd via terminal prior to changes, I experienced NO more issues with substratum, exposed, etc. My Superuser's perms are 777, so I had assumed that also having a permissive kernel would grant god-like powers, but certain pid's & such keep me humble.
Also maybe important (certainly is for my LG), build.prop changes persist only when done properly via my TWRP terminal, as that shows my default build.prop always, lurking to overwrite /revert my naive tweaks. Good lookin' out, TWRP.
Upvotes: 0 |
2019/01/18 | 508 | 1,679 | <issue_start>username_0: How can I install google play on the Android SDK Emulator? I start my emulator like this:
```
./emulator -avd my_custom_device_API_26 -dns-server 8.8.8.8 -writable-system
```
and I tried it [How to install Google Play services on an Android 6.0 emulator?](https://android.stackexchange.com/questions/131100/how-to-install-google-play-services-on-an-android-6-0-emulator), but it doesn't work. Although I'm staring emulator as writable, I get:
```
remote couldn't create file: Read-only file system
```
Also, I've bit different APKs as mentioned in that answer namely: `PrebuiltGmsCorePix.apk` instead `GmsCore.apk` and I can't find `GoogleLoginService.apk`. I have the Open GApps 8.1 Pico version. I've also tried to install APKs but was unsuccessful.<issue_comment>username_1: For that, you have to install the Google Play image from the Android Studio SDK Manager. But you can't get it for API level below 24
[](https://i.stack.imgur.com/xXUz0.png)
Upvotes: 3 <issue_comment>username_2: Remember that to display all those submenus you have to tick `Show Package Details` on `Android SDK` setting:
[](https://i.stack.imgur.com/ioL6O.jpg)
Also the download may be about 2GB but on hard drive may take 10GB once decompressed.
Upvotes: 1 <issue_comment>username_3: Other comments don't mention it, but after installing the Google Play you also need to create an emulator again (there will be +Store in the description)
[](https://i.stack.imgur.com/Jn173.png)
Upvotes: 1 |
2019/01/18 | 589 | 2,551 | <issue_start>username_0: I have already tried by finding
[findDeviceWebsite](https://www.google.com/android/find)
Is there any way to find device by IMEI number?<issue_comment>username_1: Find your device through the IMEI number is not really a thing an everyday citizen can do.
Googles find my device is about the best you can do. If the internet and location are off then things will not work. There are website that state they can track based on your IMEI number but then why would they also need your phone number. It is also very doubtful a carrier would give the third party website access to their proprietary information and tools.
Your IMEI number should be consider sensitive information not freely given out to unknown sources.
Another thing you can try is view location history through Google Maps Timeline. If the find my device or location history does not work.
Depending on the laws of your country contact the authorities and file a report. They can then subpoena your carrier to get the location or last known location of the device by triangulating based off their towers.
Upvotes: 4 [selected_answer]<issue_comment>username_2: Unfortunately if your phone did not have any other tracking app installed such as avast or Cerberus (you can use text messages to find your phone through those apps) then you need an internet connection to be able to track your device through googles find my device. Also like previous answer said you can't find your phone through IMEI only the carriers can.
Upvotes: 0 <issue_comment>username_3: Track phone by IMEI is nothing but a illusion for normal citizens.
Websites are useless, they only creates backup of IMEI numbers and additional is showing you advertisments along with popping malicious app installation.
• The best way is Google's [Find My Device](https://play.google.com/store/apps/details?id=com.google.android.apps.adm)
Remember:
1. It must be installed in the stolen/lost device along with administrator permission to the app.
2. To enable this heads to *Settings-Security Settings* under security settings you will find 'administrator permissions'.
3. Device must be connected to the internet along with enabled
location access.
You can do following things with this app:
1. Ring your phone at highest ringer volume even when device is on silent phone.
2. Secure your device with a password.
3. Erase your device completely.
Remember: In order this app to work device must be connected to internet with location access(to view it on google maps).
Upvotes: 4 |
2019/01/18 | 988 | 3,863 | <issue_start>username_0: I currently have a Samsung S5 phone but find it bulky to carry and as I use it mainly for old fashioned calls I was thinking of moving my simcard (and therefore phone number) to my old Motorola Razr.
I understand that the S5 will effectively become like a small tablet and the email will still work on the S5 but will whatsapp if I am using the number on another phone?
Will my whatsapp contacts notice any difference or will it work exactly as it currently does?
Thanks<issue_comment>username_1: I think I am in a good position to answer this question. You can always use a WhatsApp account with a no which isn't available in the device. I have been doing this for years. But please make sure that you setup a security code feature after successful completion of WhatsApp setup in the desired phone, which will secure you from being hijacked if the no(WhatsApp) lost!
Upvotes: 2 <issue_comment>username_2: Answer is 'Yes', you can use it on your S5 seamlessly while using SIM in another device.
• Your Whatsapp contacts doesn't see any change.
• Remember Whatsapp can only be use on single device at a time(not whatsapp web) that means if you try to open it in your Moto device than you Galaxy device 's account will be closed.
Upvotes: 3 <issue_comment>username_3: Yes, you can, I have done it my times. Even the number is no more active, you still can use it for your WA. Like my WA's number right now, the number itself already deactivated by the operator since around 2 years ago. But I still use the number for my WA.
Upvotes: 0 <issue_comment>username_4: **Short answer**:
* Your S5 will still be usable for WhatsApp, with your phone number.
* Your WA contacts will keep the same.
**Important notes**:
1. Every phone number can be used with WA on a single device. Using WA with that phone number on another device enforces closing the WA account in the previously associated device.
2. Be aware that, when you insert your Sim card in another phone (Moto Razr here), if it has WhatsApp installed, the phone may prompt about "updating the account" (or the like) in a cryptic way, and not explicitly stating that it refers to WhatsApp (this depends on versions of OS and WA).
If you answer "yes" (assuming it relates to the phone/line, not WA), the number will be used for WA in the Moto Razr, and **it will be automatically removed from the S5.**
You will need to associate again the number with WA installed in the S5.
It may be a problem if you do not have your Sim card at hand, as it happened to me before.
3. Be aware that, if you insert a new Sim card in the S5, WhatsApp may prompt for changing the number associated with the WA account (this depends on versions of OS and WA).
You have to decide what you want to do.
4. The latest Android versions allow for having two WhatsApp accounts in a single phone (likewise for Viber, Telegram, etc.), with [Dual Messenger](https://www.samsung.com/au/support/mobile-devices/about-dual-messenger/).
This required before the use of [Parallel Space](https://play.google.com/store/apps/details?id=com.lbe.parallel.intl&hl=en) or the like.
So for the case above, if you configure it properly, **you may keep you old WA account in the S5, and also have your new number associated with WA in your S5**.
I have exactly this.
Upvotes: 0 <issue_comment>username_5: Yes, you can use it on your S5 while using the SIM in another device.
1. You have to copy contact to that mobile.
2. Use the OTP that comes by SMS on that number to put on the mobile you want to use Whatsapp.
3. Sync your old chats from Google mail id, you use to store back up.
**Note:** Whatsapp can only be used on a single device, so only use one account associated only one mobile number.
**Suggestion:** You can also use Whatsapp Web to use Whatsapp on your laptop or computer without changing SIM.
Upvotes: 1 |
2019/01/20 | 912 | 3,561 | <issue_start>username_0: One device has my Sim card, the other one only the internet connection. Both devices have already been verified by my number. Will I get incoming messagges in both devices?<issue_comment>username_1: I think I am in a good position to answer this question. You can always use a WhatsApp account with a no which isn't available in the device. I have been doing this for years. But please make sure that you setup a security code feature after successful completion of WhatsApp setup in the desired phone, which will secure you from being hijacked if the no(WhatsApp) lost!
Upvotes: 2 <issue_comment>username_2: Answer is 'Yes', you can use it on your S5 seamlessly while using SIM in another device.
• Your Whatsapp contacts doesn't see any change.
• Remember Whatsapp can only be use on single device at a time(not whatsapp web) that means if you try to open it in your Moto device than you Galaxy device 's account will be closed.
Upvotes: 3 <issue_comment>username_3: Yes, you can, I have done it my times. Even the number is no more active, you still can use it for your WA. Like my WA's number right now, the number itself already deactivated by the operator since around 2 years ago. But I still use the number for my WA.
Upvotes: 0 <issue_comment>username_4: **Short answer**:
* Your S5 will still be usable for WhatsApp, with your phone number.
* Your WA contacts will keep the same.
**Important notes**:
1. Every phone number can be used with WA on a single device. Using WA with that phone number on another device enforces closing the WA account in the previously associated device.
2. Be aware that, when you insert your Sim card in another phone (Moto Razr here), if it has WhatsApp installed, the phone may prompt about "updating the account" (or the like) in a cryptic way, and not explicitly stating that it refers to WhatsApp (this depends on versions of OS and WA).
If you answer "yes" (assuming it relates to the phone/line, not WA), the number will be used for WA in the Moto Razr, and **it will be automatically removed from the S5.**
You will need to associate again the number with WA installed in the S5.
It may be a problem if you do not have your Sim card at hand, as it happened to me before.
3. Be aware that, if you insert a new Sim card in the S5, WhatsApp may prompt for changing the number associated with the WA account (this depends on versions of OS and WA).
You have to decide what you want to do.
4. The latest Android versions allow for having two WhatsApp accounts in a single phone (likewise for Viber, Telegram, etc.), with [Dual Messenger](https://www.samsung.com/au/support/mobile-devices/about-dual-messenger/).
This required before the use of [Parallel Space](https://play.google.com/store/apps/details?id=com.lbe.parallel.intl&hl=en) or the like.
So for the case above, if you configure it properly, **you may keep you old WA account in the S5, and also have your new number associated with WA in your S5**.
I have exactly this.
Upvotes: 0 <issue_comment>username_5: Yes, you can use it on your S5 while using the SIM in another device.
1. You have to copy contact to that mobile.
2. Use the OTP that comes by SMS on that number to put on the mobile you want to use Whatsapp.
3. Sync your old chats from Google mail id, you use to store back up.
**Note:** Whatsapp can only be used on a single device, so only use one account associated only one mobile number.
**Suggestion:** You can also use Whatsapp Web to use Whatsapp on your laptop or computer without changing SIM.
Upvotes: 1 |
2019/01/20 | 317 | 1,300 | <issue_start>username_0: My phone has been infected with viruses for nearly a year. At first it was just a virus in disguise called 'settings', but then it spread to my Chrome, opening a site called 'aiboo.com' SmartSite. I had to disable Chrome, and now there are 3 other viruses on my phone: One called Magic, which pops up ads on my phone screen, Lake worth ISD or something, Then one called System with the note saying 'Guerilla exe.' I use Eset Mobile Security to remove them, but every time I get access to internet, they get installed again. Sometimes they get installed even if I don't have network connection.
Someone please help!<issue_comment>username_1: If you do get a virus, you could perform a factory reset to get rid of it, but that means you’d lose all your data. Your photos, saved games, text messages, and everything else will be gone if you didn’t back them up. Obviously, a factory reset should be your last option.
There are also other malware removal tools without factory reset:
\* Malwarebytes
\* Bitdefender Antivirus Free
Upvotes: 1 <issue_comment>username_2: You can use NoRoot Firewall for preventing malware activities such as this.
If the malware appears as an app, then you can use Advanced Task Manager app to uninstall the apps you don't recognise.
Upvotes: 0 |
2019/01/20 | 1,980 | 7,701 | <issue_start>username_0: It seems that Android's ["full-disk-encrytpion"](https://source.android.com/security/encryption/full-disk) is only concerned about encrypting the `data` or `internal storage` partition. It says:
>
> Full-disk encryption is the process of encoding all user data on an Android device using an encrypted key. Once a device is encrypted, all user-created data is automatically encrypted before committing it to disk and all reads automatically decrypt data before returning it to the calling process.
>
>
>
I am puzzled what encryption (at rest) of user-data is worth, if an attacker can simply modify the content of the `/system` partition, to contain a malware that would exfiltrate data or encryption key.
Is there a reason to consider Android's encryption to be effective even though `/system` partition is not encrypted?
I assume that an answer involves a `chain-of-trust`, relative to a locked boot loader.<issue_comment>username_1: It looks like [Google](https://source.android.com/security/encryption) agrees with you and is phasing out "legacy" full disk encryption:
>
> Caution: Support for full-disk encryption is going away. If you're creating a new device, you should use file-based encryption.
>
>
>
Full disk encryption was considered pretty solid until 2016 because of the hardware backed trusted execution environment. Depending on how the OEM implements the trusted execution environment and if the OEM utilizes the android [keystore](https://developer.android.com/training/articles/keystore) system. Makes a varying degree of security. If instead it is software backed then not so much.
The encryption keys are not just sitting in some un-encrypted partition. The encrypted encryption key is stored in th
e crypto metadata. The hardware backed trusted execution environment’s signing capability and if the android keystore system is implemented then the android device as a whole and even the android kernel do not have access to the keymaster within trusted secure enviroment. The keystore system is very intresting but explaining the security and operations behind it involves a multiple page explaination that would be answered best though its own question.
Android devices that support a lock screen and ship with Android 7.0 or higher have a secondary, isolated environment called a Trusted Execution Environment. This enables further separation from any untrusted code. The capability is typically implemented using secure hardware.
Examples of the way a trusted execution environment can be set up are:
A separate virtual machine, hypervisor, or purpose-built trusted execution environment like ARM TrustZone. The isolated environment must provide complete separation from the Android kernel and user space (non-secure world). This separation is so that nothing running in the non-secure-world can observe or manipulate the results of any computation in the isolated environment.
Android 9.0 introduced a hardware backed trusted execution environment called a strongbox. The strongbox is a completely separate, purpose-built and certified secure CPUs. Examples of StrongBox devices are embedded Secure Elements (eSE) or on-SoC secure processing units.
A hardware backed trusted secure environment that utilizes the android keystore system can serve as strong protection for the encrypted encryption key. Unless a third party such as Qualcomm (2016) happens to mess up with design oversite in the implementation of the [keymaster](https://android.googlesource.com/platform/hardware/interfaces/+/master/keymaster/4.0/IKeymasterDevice.hal#120).
Upvotes: 2 [selected_answer]<issue_comment>username_2: a quick check on Samsung Galaxy Tab S3 SM-T820 Tablet with official Android 9 Pie indicates that /system is encrypted with FDE
```
:/ $ df -ah
Filesystem Size Used Avail Use% Mounted on
rootfs 1.5G 9.4M 1.5G 1% /
tmpfs 1.7G 1.1M 1.7G 1% /dev
devpts 0 0 0 0% /dev/pts
none 0 0 0 0% /dev/cpuctl
none 0 0 0 0% /dev/cpuset
proc 0 0 0 0% /proc
sysfs 0 0 0 0% /sys
selinuxfs 0 0 0 0% /sys/fs/selinux
debugfs 0 0 0 0% /sys/kernel/debug
tracefs 0 0 0 0% /sys/kernel/debug/tracing
pstore 0 0 0 0% /sys/fs/pstore
tmpfs 1.7G 0 1.7G 0% /mnt
tmpfs 1.7G 0 1.7G 0% /mnt/secure
/dev/block/dm-0 3.7G 3.5G 245M 94% /system
/dev/block/bootdevice/by-name/apnhlos 0 0 0 0% /system/vendor/firmware_mnt
/dev/block/bootdevice/by-name/modem 0 0 0 0% /system/vendor/firmware-modem
/dev/block/bootdevice/by-name/dsp 12M 4.1M 7.6M 36% /system/vendor/dsp
none 0 0 0 0% /acct
none 0 0 0 0% /config
/dev/block/bootdevice/by-name/cache 193M 8.8M 184M 5% /cache
/dev/block/bootdevice/by-name/efs 16M 720K 15M 5% /efs
/dev/block/dm-1 24G 13G 11G 56% /data
/data/knox/secure_fs/enc_user 24G 13G 11G 56% /data/enc_user
/data/knox/secure_fs/enc_media 24G 13G 11G 56% /data/knox/secure_fs/enc_media
tmpfs 1.7G 0 1.7G 0% /storage
/data/media 24G 13G 11G 57% /storage/emulated
/mnt/media_rw/4280-3E71 60G 4.8G 55G 9% /storage/4280-3E71
tmpfs 1.7G 0 1.7G 0% /storage/self
:/ $
```
Upvotes: 0 <issue_comment>username_3: `/boot`, `/system`, `/vendor`, `/vbmeta` and [**ODM** Partitions](https://source.android.com/devices/bootloader/partitions/odm-partitions) are protected by [android verified boot](https://android.googlesource.com/platform/external/avb/+/master/README.md) (AVB). They are not encrypted but their integrity is verified during boot. Any modification to these partitions will halt the [boot flow](https://source.android.com/security/verifiedboot/boot-flow) and brick the device. At this point without EDL mode, you won't be able to flash stock OS to unbrick it.
AVB verifies vbmeta partition image using OEM public key which is hardcoded in android bootloader (ABL). Then hash of boot image is calculated and compared with the hash stored in vbmeta. Once the boot image is verified, kernel constructs hashtree of every partition and compares their root hash with the ones that are stored in vbmeta. In this way, just by protecting vbmeta, every other partition can be verified on boot.
To protect ABL from tampering (e.g. replacing OEM public key with your own and resigning vbmeta with your private key, thus breaking chain of trust), chipmakers implement secure boot. In Qcom devices, Primary Bootloader (PBL) which is burned on CPU die, verifies Xtended Bootloader (XBL) using Qcom's public key which is stored in eFuse. Then Xtended Bootloader verifies ABL and ABL enforces AVB.
When you unlock bootloader (unlock and unlock\_critical), AVB is not enforced but secure boot is still enforced by SoC. This chain of trust goes upto the hardware level making any modification useless. There's no reason to encrypt system partitions as those images are already public. What matters is protection of their integrity.
Upvotes: 2 |
2019/01/20 | 557 | 2,315 | <issue_start>username_0: I have a Huawei nova 3i and I remember unlocking developer options when I first got the phone a few months back. Problem is now I have noticed that the developer options are gone so I went to build number and went to press it 7 times but after the first press it says (you are already a developer) but the option is still not there. I have looked online for at least an hour but can find nothing. Any help would be appreciated thanks<issue_comment>username_1: If the Developer options menu refuses to appear there is an alternative:
Use the very tiny app [Developer Options](https://play.google.com/store/apps/details?id=com.singlebyte.devshortcut). It allows you to enter the developer options menu independently if you have enabled or disabled it.
Once you are seeing the developer options menu check the switch on the top for enabling/disabling the developer options. Try to toggle it several times and in the end leave it enabled. Now check if the developer options menu is visible.
If this does not work use the app again to enter the developer options menu and change the developer options switch to disabled. Then try to tap again the build number 7 times. Hopefully afterwards the developer options menu appears. If not you can keep the "Developer Options" app as workaround. In difference to other apps it does not contains tracking, adware or advertisement frameworks (at least the version I have checked - v1.0.4).
Upvotes: 3 <issue_comment>username_2: I had the same exact problem with the mentioned phone and none of the provided solutions worked for me. Finally i succeeded to make the developer options visible by going to settings - apps - selecting "settings" app and executing "clear data" on it. It worked with me.
Upvotes: 2 <issue_comment>username_3: I had the same problem on my sm-j600g but I rebooted and showed up by itself
Upvotes: 0 <issue_comment>username_4: For me it was inside System menu.
>
> Settings--> System --> Advanced --> Developer Options.
>
>
>
For Enabling Developer Option:
>
> Settings--> About Phone --> Build Number (Tap 7 Times, to enable)
>
>
>
Tested on Moto Action.
Upvotes: 3 <issue_comment>username_5: Just press the build number a few times and then go the settings->system
Honor with EMUI 9.1.0 and Android 9
Upvotes: 1 |
2019/01/21 | 502 | 2,055 | <issue_start>username_0: If an app tries to access the microphone while the microphone is already being accessed, it fails.
How can I make two or more apps access the microphone at the same moment?<issue_comment>username_1: If the Developer options menu refuses to appear there is an alternative:
Use the very tiny app [Developer Options](https://play.google.com/store/apps/details?id=com.singlebyte.devshortcut). It allows you to enter the developer options menu independently if you have enabled or disabled it.
Once you are seeing the developer options menu check the switch on the top for enabling/disabling the developer options. Try to toggle it several times and in the end leave it enabled. Now check if the developer options menu is visible.
If this does not work use the app again to enter the developer options menu and change the developer options switch to disabled. Then try to tap again the build number 7 times. Hopefully afterwards the developer options menu appears. If not you can keep the "Developer Options" app as workaround. In difference to other apps it does not contains tracking, adware or advertisement frameworks (at least the version I have checked - v1.0.4).
Upvotes: 3 <issue_comment>username_2: I had the same exact problem with the mentioned phone and none of the provided solutions worked for me. Finally i succeeded to make the developer options visible by going to settings - apps - selecting "settings" app and executing "clear data" on it. It worked with me.
Upvotes: 2 <issue_comment>username_3: I had the same problem on my sm-j600g but I rebooted and showed up by itself
Upvotes: 0 <issue_comment>username_4: For me it was inside System menu.
>
> Settings--> System --> Advanced --> Developer Options.
>
>
>
For Enabling Developer Option:
>
> Settings--> About Phone --> Build Number (Tap 7 Times, to enable)
>
>
>
Tested on Moto Action.
Upvotes: 3 <issue_comment>username_5: Just press the build number a few times and then go the settings->system
Honor with EMUI 9.1.0 and Android 9
Upvotes: 1 |
2019/01/21 | 698 | 2,610 | <issue_start>username_0: [LineageOS](https://download.lineageos.org/) offers an official [International Samsung Galaxy S6 build](https://wiki.lineageos.org/devices/zerofltexx/install), which does NOT install on the T-Mobile USA S6, but there's [an unofficial T-Mobile USA build](https://www.cyanogenmods.org/forums/topic/lineage-os-14-1-galaxy-s6-t-mobile-zerofltetmo-nougat-rom/) that does, but after [installing](https://www.droidviews.com/install-lineage-os-samsung-galaxy-s6/) it just [hangs on boot](https://www.reddit.com/r/LineageOS/comments/5tzafr/stuck_on_boot_animation/). (To install I used TWRP and adb sideloaded LineageOS, Stock Open gapps, SuperSU in that order)
Has anyone had success running LineageOS on the T-Mobile version of the S6?<issue_comment>username_1: If the Developer options menu refuses to appear there is an alternative:
Use the very tiny app [Developer Options](https://play.google.com/store/apps/details?id=com.singlebyte.devshortcut). It allows you to enter the developer options menu independently if you have enabled or disabled it.
Once you are seeing the developer options menu check the switch on the top for enabling/disabling the developer options. Try to toggle it several times and in the end leave it enabled. Now check if the developer options menu is visible.
If this does not work use the app again to enter the developer options menu and change the developer options switch to disabled. Then try to tap again the build number 7 times. Hopefully afterwards the developer options menu appears. If not you can keep the "Developer Options" app as workaround. In difference to other apps it does not contains tracking, adware or advertisement frameworks (at least the version I have checked - v1.0.4).
Upvotes: 3 <issue_comment>username_2: I had the same exact problem with the mentioned phone and none of the provided solutions worked for me. Finally i succeeded to make the developer options visible by going to settings - apps - selecting "settings" app and executing "clear data" on it. It worked with me.
Upvotes: 2 <issue_comment>username_3: I had the same problem on my sm-j600g but I rebooted and showed up by itself
Upvotes: 0 <issue_comment>username_4: For me it was inside System menu.
>
> Settings--> System --> Advanced --> Developer Options.
>
>
>
For Enabling Developer Option:
>
> Settings--> About Phone --> Build Number (Tap 7 Times, to enable)
>
>
>
Tested on Moto Action.
Upvotes: 3 <issue_comment>username_5: Just press the build number a few times and then go the settings->system
Honor with EMUI 9.1.0 and Android 9
Upvotes: 1 |
2019/01/23 | 264 | 1,012 | <issue_start>username_0: I got an ad popup in a new tab in the Chrome broswer from visiting a site & now that tab ad won't close or let me use Chrome.
Tried force stopping & clearing cache but Chrome is still frozen. Tried restarting phone. No change. See the photo for the tab that won't close. It's the "critical..." one that has frozen Chrome. Can't close any tabs at all too. Any suggestions? Also, Malwarebytes' scan result = nothing.
[](https://i.stack.imgur.com/znYSr.jpg)<issue_comment>username_1: You could always uninstall chrome, and then reinstall. That's assuming you don't have any bookmarks you care about.
Upvotes: 1 <issue_comment>username_2: If you don't have a warranty on your phone anymore, you can root it and then uninstall 'preinstalled apps'.
Upvotes: 0 <issue_comment>username_3: Just wipe user data, related to browser (Settings => Apps). No need for reinstall, wiping data+cache is the important step!
Upvotes: 0 |
2019/01/24 | 420 | 1,551 | <issue_start>username_0: I want to remove the icon for McAfee Security, without uninstalling the application.

I long-press and drag the McAfee icon, but there's only "delete" option at the top of the screen:

Then, there's a prompt:

I am not getting separate options:
* remove icon
* uninstall app
I can't tell if its going to delete the icon/shortcut only, or also uninstall the application.
Will "deleting" an icon from the home-screen uninstall the associated app?<issue_comment>username_1: If it is in home screen and you **remove** the icon, it won't uninstall the application. It is just a mere shortcut for the app. But if you **delete** the application then it will be uninstalled from your phone.
Upvotes: 0 <issue_comment>username_2: Deleting an icon usually only removes the icon, not the app itself. However, if your launcher's home screen is merged with app drawer of the launcher, then it is likely it would delete the app. In the former case, launchers know that it is just the icon that is to be removed, so no user approval in the form of dialog is required.
I suggest you try to find it out on your own what actually would happen. Install a fairly harmless app, such as [this one](https://play.google.com/store/apps/details?id=net.sourceforge.opencamera), and try to remove its icon. You would have your answer right away.
Upvotes: 2 |
2019/01/24 | 882 | 3,540 | <issue_start>username_0: What is reliable? I need **reliable Android**, to install "from zero", cleaning all the old firmware of the old smartphone.
... So, the first and main step is to **download a reliable and complete set of firmware files**: where the reliable [domains](https://en.wikipedia.org/wiki/Domain_name) if there are no "official source"? Where the reliable tools to help in the (ideally simple and plug-and-play) installation process? Where the reliable community (suppose here!) to help to select what is reliable?
COMMENTS
--------
---
**Rationale**
As Wikipedia noticed as [Mobile Malware](https://en.wikipedia.org/wiki/Mobile_malware),
>
> As wireless phones and PDA networks have become more and more common and have grown in complexity, it has become increasingly difficult to ensure their safety and security against electronic attacks in the form of viruses or other malware.
>
>
>
And, in nowadays, the most commom and danger type of attack is against old-Android (with discontinuing support), malware that install itself in the Android operating system, so infects the so-called firmware.
The only two 100% reliable way to avoid after detected contamination is to pay for a new smartphone or to **reinstall all firmware**... The the only cheap option is to *reinstall by yourself* (supposing that to pay for reliable certificated service is the cost of the old smartphone).
The old or infected Android must be replaced by a
[new reliable Android operating system](https://en.wikipedia.org/wiki/Android_(operating_system)#Security_and_privacy).... The so-called "firmware flash process".
---
There are no direict solution to the problem... So, the best that we can do is to votate.... **This question is a voting pull** about the main options:
...after a lot of research I discovered that there is no magic, no easy and super-reliable way to *reinstall all firmware by myself*, but there are two (or perhaps more) main options. Please post your answer as Wiki.
Illustrative example and scenario
---------------------------------
Even for generic answers, to avoid long and abstract discussions we can use a **typical smarthphone as reference**. Suppose a *Samsung Galaxy S-III GT I9300*.
In this device, after hard reset, there are options for 1. `reboot system`, ..., 3. `apply update from external storage`, 4. `wipe data/factory reset`, ...
Suppose that I used the options 4 and 1, but the virus persist. Now I need to use option 3, but the main problem is **"where the reliable Samsung S-III downloads"?**, there are no official download in the official domains like `samsung.com` or `android.com`...<issue_comment>username_1: If it is in home screen and you **remove** the icon, it won't uninstall the application. It is just a mere shortcut for the app. But if you **delete** the application then it will be uninstalled from your phone.
Upvotes: 0 <issue_comment>username_2: Deleting an icon usually only removes the icon, not the app itself. However, if your launcher's home screen is merged with app drawer of the launcher, then it is likely it would delete the app. In the former case, launchers know that it is just the icon that is to be removed, so no user approval in the form of dialog is required.
I suggest you try to find it out on your own what actually would happen. Install a fairly harmless app, such as [this one](https://play.google.com/store/apps/details?id=net.sourceforge.opencamera), and try to remove its icon. You would have your answer right away.
Upvotes: 2 |
2019/01/24 | 488 | 1,659 | <issue_start>username_0: I've been using Tasker to mute my phone at work. I recently added some nested tasks to enable and disable battery saver mode when I arrive and leave. However, it doesn't seem to have permission.
The phone is stock rooted Oreo on the October 2018 security patch release. Tasker is up to date.
I first see a notification:
>
> **Missing Permissions**
>
> Tasker needs the following permission(s) for the funcationality you have configured:
>
>
> Write Secure Settings
>
>
>
Tapping the notification, I then get a modal:
>
> **Missing Permissions**
>
> Tasker needs to have permission to write secure settings to use this action. Want to learn how to grant it?
>
>
> NO OK
>
>
>
Then another:
>
> **Use Root**
>
> Since your device is rooted you can automatically grant this permission. Do it now?
>
>
> NO OK
>
>
>
Opting for the affirmative results in a toast notification:
>
> Tasker has been denied superuser permissions.
>
>
>
The battery mode never gets changed. Thanks for any assistance.<issue_comment>username_1: As it was confirmed in the comments, Tasker was denied superuser access in the Magisk app. Tasker can enable battery saver.
If anyone wants a command-line solution, try this:
Code -> Run Shell -> Command: `settings put global low_power 1` -> tick Root.
Replace 1 with 0 to disable battery saver via command-line.
Tested on OnePlus 6 running Android 8.1.
Upvotes: 3 [selected_answer]<issue_comment>username_2: If you use the Magisk app, add superuser permissions at Menu > Superuser > Tasker = ON.
That worked for me on Resurrection Remix OS with Android 9.
Upvotes: 1 |
2019/01/27 | 957 | 4,213 | <issue_start>username_0: I have a Samsung Galaxy S7 phone running stock Android 7.0. It's not rooted. I've left my phone unattended for 10 hours. I don't have a PIN code or any other security measure to unlock the phone, anyone can unlock it with a swipe.
How can I easily figure out if someone (possibly with physical access) has installed a location tracker or some similar unwanted app to my phone? Let's suppose the attacker is not working for Google, Facebook or Samsung, but may also have access to my Google or Facebook account (e.g. by stealing or guessing my password -- I don't have two-factor authentication enabled).
Please note that in this question I'm not looking for advice for protecting my phones and my accounts, I only want to learn about the presence of location trackers and other similar unwanted apps on my phone.<issue_comment>username_1: If the device came into possession of an unauthorized person than you should be more concerned whether the device's software integrity is intact or not. Although Android since Nougat informs the user if boot process is compromised (only when booting the device), one can employ a minimal cross-check on their own.
Some root checker apps attempts to ensure that the software is intact (includes bootloader, kernel and system partition). You can use them to get the state of integrity. Once you are confident here, find out which apps were recently installed. You can use [adb](/questions/tagged/adb "show questions tagged 'adb'") to explore the dump of package service (`adb shell dumpsys package`) or try an app based solution such as [Applications Info](https://play.google.com/store/apps/details?id=com.majeur.applicationsinfo). It can show the apps by installation date.
This could single out an app for you. If you find a phishy app, then check out its permissions, location usage, battery usage and data (internet) usage.
[](https://i.stack.imgur.com/MqCOt.jpg)
That said, if you don't find anything convincing and still remain convinced your device is tampered with and could prove your hunch to yourself with evidence (such as high battery consumption suddenly; location icon toggling in status bar, or anything that is weird or incompatible with your daily routine and usage), than I'm afraid I don't have a single source to help out.
Based on your evidences or observations, you would have to figure this out on your own. As an example, for sudden high battery consumption, you can check with Battery usage history in Settings app. Same goes for Location and data usage. Android shows the usage app-wise.
You can also search into detailed usage output of battery, location, data usage and many more important services through dumpsys utility, which requires adb usage.
Upvotes: 1 <issue_comment>username_2: I would probably start by accessing the system settings and scrolling to the bottom looking for an item called (*Developer Options*). If it appears in the settings and you are not a tech guru then I would start with a BIG red flag there due to the developer options menu is hidden; it takes activation to find. Someone would have had to tamper with it to open it. If so, I would open it and scroll down to an option called `Unknown sources` (it may be found on under the Security option depending on your Android version) and disable that no need to continue to allow outside illegal apps to be bootstrapped installed to your device.
Then, I would head over to one of these sites as I work in cyber-Security you can of course use the [National Government Vulnerability Databases](https://nvd.nist.gov) as well as use the Android Developer Website if you are looking for research insight or professionals in the field.
As far as searching your phone for an unwanted tracker. I would start with opening up your phones security settings and start with permissions and see what apps dont look familiar to you honestly if you dont recognize it, I would disable it temporarily most system services are prevented without root from disabling. But should you lose access to an app or the network, then just return to this menu and re-enable the last service you changed.
Upvotes: 0 |
2019/01/28 | 266 | 1,103 | <issue_start>username_0: My relative's child is addicted to PUBG. She needs to block PUBG completely. Is there a way to block it from getting connected to PUBG servers, or crashing the app every time it opens?
Please note: My relative is not very tech-savvy. The simpler method, the more helpful it would be.<issue_comment>username_1: There are some methods that actually work for me.
1. Lock the game/app with an app or from the android if you have that function.
2. Go to Google Play-->Settings--->Parental controls. Once opened, you will be able to set up the restrictions you want.
3. Restrict the internet access to the game. You can do it from your system if you have this feature. Otherwise, just get an application from Google Play, search for "app internet restriction" for example.
Upvotes: 0 <issue_comment>username_2: Either use the Parental Control in the PlayStore or simply remove the Network access in the App Settings.
If possible, ask them to spend some time with that kid. This addiction is not a serious issue if you can spend some good time with kid.
Upvotes: 2 [selected_answer] |
2019/01/28 | 971 | 3,580 | <issue_start>username_0: [](https://i.stack.imgur.com/X6LTF.png)
I would like it to be disabled when I use in certain condition, such as during traveling with GPS.<issue_comment>username_1: The app MacroDroid has a feature to set screen timeout to never. I did not test it for long but the app is free, so you can give it a try.
Install the app and enable the permission "modify system settings". Afterwards, setup a macro like this:
Trigger: setup a Trigger of your liking.
Action: Screen Timeout -> never
Constraint: only if you need, otherwise, leave untouched.
Now, whenever the condition for the macro would be fulfilled/triggered the action would run and timeout for screen would be changed to never.
To change the timeout after your work is done, say you're done with Maps app, you need another macro which would work for the rest of your phone's usage.
The trigger is I believe needs dependent. You can try with app launch and closure based triggers, optionally coupled with some constraints.
Upvotes: 2 <issue_comment>username_2: If you are on LineageOS there is a custom tile called Caffeine which you can press repeatedly to increase screen timeout to infinity.
An app to replicate this is [Caffeinate](https://play.google.com/store/apps/details?id=xyz.omnicron.caffeinate&hl=en_US). Nougat (7.0+) is required to enable the quick settings tile.
Upvotes: 1 <issue_comment>username_3: 1. Use a script
---------------
You can use a script via the terminal to simulate a long action and prevent the screen from timing out. Create the script below and run via [Terminal Emulator](https://play.google.com/store/apps/details?id=jackpal.androidterm) on your phone. It simulates pressing the letter `r` and `Enter`, then wait for a second before repeating the process for the number of times you choose with `i`.
1. Create a file and put the following inside of it.
```
#!/system/bin/sh
i=86400 #Put a big number here
while [ $i -gt 0 ]
do
i=$(( $i - 1 ))
input keyevent 46 #Write the letter r
input keyevent 66 #Simulate Enter key on the keyboard
sleep 1 #Do nothing for 1 second
done
```
2. Save the file, give it a name for example `test.sh`. Open the terminal and navigate to the folder where the file is saved (if you don't know the path, use your file manager to get the path) with the command:
cd /path/to/your/folder
3. Then execute the command:
sh test.sh
The script will start running. When you no longer need it to run, just close the terminal.
2. Use an app
-------------
[Caffeinate](https://play.google.com/store/apps/details?id=xyz.omnicron.caffeinate) add a tile in the quick settings. In Caffeinate Settings, click on Caiffeine Tile, enable "Skip To Infinite Mode". Open the quick settings, click on the app tile. The screen should stays on until you press the tile again or click cancel on its notification.
Upvotes: 4 [selected_answer]<issue_comment>username_4: If it's sufficient for you to only keep screen on when charging, you can turn on the *Stay awake* option in *Developer options*.
To do this:
1. Open *Settings*, navigate to *About [device]* (tablet, phone etc.)
2. Find *Build number* entry there. If there's none, it may be in *Software information* subsection.
3. Tap *Build number* 7 times
4. Make sure that a message pops up saying that you've become a developer (or that developer mode is already enabled)
5. Go back to *Settings* main menu
6. Find the newly-appeared *Developer options* item
7. Turn on *Stay awake* option
Upvotes: 3 |
2019/01/30 | 384 | 1,463 | <issue_start>username_0: When opening [Google Photos](https://play.google.com/store/apps/details?id=com.google.android.apps.photos) and if there is a newer version, it says that I need to upgrade. You can of course click no, but it is very troublesome to do it always.
Is there any way to disable this popup without upgrading the app?
I got a rooted device.<issue_comment>username_1: When you get the notification next time, long press it and you will get the Settings or the details option based on the version of Android running on your device. Once you select the option, you will be taken to the notification settings page of the app and from there you can choose to turn off the notification for that particular popup category or for the entire app.
Upvotes: 0 <issue_comment>username_2: 1. Go to the Android Settings
2. Find the Google Photos app
3. Disable background data
Upvotes: 1 <issue_comment>username_3: Alright, I have a solution, more of a workaround and not the best one, but it works for me, I used MacroDroid to dismiss that window automatically. I'm using Photos v5.52.
Application Launched (Photos) > Wait 750 ms, Repeat 7 times{Click[com.google.android.apps.photos:id/negative\_button], Wait 100 ms}
It's the UI interaction action and identify in app function.
Didn't find any other solution.. tried LuckyPatcher to change some components, detaching from store, XprivacyLua, but no luck.
Macro here: <http://bit.ly/3HAHwBc>
Upvotes: 0 |
2019/01/30 | 305 | 1,280 | <issue_start>username_0: Set a PIN to unlock my Tab before using. Worked fine for a long time. Today when I enter the PIN it loops back to the enter PIN screen over and over. Tried to reboot but the restart/power off screen loops me back to the enter PIN screen. Tried hard reboot: vol up/power down/home screen. No affect.<issue_comment>username_1: This happened to me too. I knew the pin was correct as if I deliberately entered an incorrect pin it came up with the message saying it was incorrect. I tried the reboot too but it doesn't work as the "loop" won't let you turn it off. So I let the battery run down completely (which took a week as it is obviously using very little power; then I found you can have the torch on and that helped the drain). Then once completely dead, plugged in the charger and lo and behold back to normal!
Upvotes: 0 <issue_comment>username_2: Mine did this also. Press and hold the Power button and the Volume button down simultaneously for more than 7 seconds to restart it. This worked for me.
Upvotes: 1 <issue_comment>username_3: It's a sign of a security thread because the system changed the PIN by itself. wait for 24 hours by removing the battery and try it after the day or just do a factory reset by going on recovery mode.
Upvotes: 0 |
2019/01/31 | 238 | 1,037 | <issue_start>username_0: On my new Samsung Galaxy S9 running Android Oreo, new email notifications (Gmail app) do not show the email subject. This happens even if I just have a single email notification. If I unlock the phone and check the notification shade, it has all the required details.
I am wondering if there is a setting on Samsung phones that causes notification details to be hidden on the lock screen for the sake of privacy.
This was working fine on my Pixel.<issue_comment>username_1: There should be an app setting (Settings > Apps > Gmail) to allow or disallow sensitive content on the lock screen.
There should also be a standard setting in Settings > Security to disallow sensitive notifications on the lock screen.
I am not very sure of how Samsung implements them. But should be there somewhere.
Upvotes: 0 <issue_comment>username_2: Found it! The setting to change is here:
Open the **Gmail** app. Go to Settings > (Email address) > Manage Notifications > Lock screen > Show content
Upvotes: 3 [selected_answer] |
2019/02/01 | 1,026 | 4,278 | <issue_start>username_0: For a non-rooted device, almost all articles/forum posts I've read say that in order to flash a custom ROM you first **need** to flash (or boot) a custom recovery image like TWRP.
I'm not sure I understand why. If the bootloader is unlocked, shouldn't it be possible to manually flash images that make up the custom ROM to the required partitions with `fastboot flash [ ]`, and leave the stock recovery untouched.
I realize that this may be difficult and that there is no benefit in doing it this way, but I'm curious to know whether or not it is possible, and if not, why?<issue_comment>username_1: Yes it is possible to flash images via Fastboot ?
With an unlocked bootloader you should be able to flash some partitions without overwriting the stock recovery, however each system usually requires a unique recovery to handle factory resets etc..
I have had issue's in the past with Maximum flash size, it wouldn't let me use Fastboot because my system.IMG file was too large to send via Fastboot.. That then required splitting the image into smaller files and flashing the smaller files.
You don't specifically need a custom recovery, however it makes everything a lot easier... For example, most custom firmware requires you to do a full backup of your device prior to installing, you need a custom recovery or rooted device to be able to make a full backup...
Why do they say " Use a custom recovery " ... Well this is probably determined by the firmware creator, they've most likely built everything into a single Flashable Zip file, using Fastboot won't work because the zip file contains more than just .IMG files, usually a ZIP firmware will have a folder called system, the system folder is copied to your device by the recovery, not flashed .. each firmware usually contains 3 parts ( boot.IMG, System folder, additional files)... However some firmware's contain a complete system.IMG file instead of a folder.. These files can be pulled from the firmware and flashed via Fastboot, however Fastboot can not flash folders ( only a custom recovery can do that )
... I'm starting to get lost here...
Upvotes: 2 <issue_comment>username_2: This question isn't as straightforward as it seems. The answer really depends on the contents of the custom ROM zip (assuming it comes in zip format) that you're trying to flash.
Most custom ROMs are not provided as image files. While almost all custom ROM zips include a boot.img which includes the kernel and is fastboot flashable, the system portion is where you run into an issue without a custom recovery. Stock-based custom ROMs typically include system files in a folder, which a custom recovery (like TWRP) will then extract to the system partition of the device. There is no way to complete that operation via fastboot. In order to flash such a system using fastboot, you would have to create an empty image based on the size of your system partition, format it using the expected filesystem for your device, loop mount it to a folder (if using a Linux system - in Windows you may have trouble finding a tool to do this, though [OSFMount](https://www.osforensics.com/tools/mount-disk-images.html) *may* work), and then copy the contents to that folder, so that they are included in the image. Once you unmount the image, you'll have a raw system image of the custom ROM that is flashable via fastboot. See an example of this process described [here](https://forum.xda-developers.com/showthread.php?t=1974014).
For AOSP-based custom ROMs, system files are typically included as a [block-based full OTA](https://source.android.com/devices/tech/ota/nonab/block) dat (or dat.br) file. These can also be converted into an image file, using a tool like [sdat2img](https://github.com/xpirt/sdat2img) for a dat file, and the same tool for a dat.br file, after [using the Brotli tool to decompress it](https://forum.xda-developers.com/android/software-hacking/how-to-conver-lollipop-dat-files-to-t2978952/post74849821).
As you can see, while it is *possible* to flash a custom ROM without a custom recovery, it's certainly simpler to use one, especially since most custom ROM zips are built with the expectation that a custom recovery is how it will be installed.
Upvotes: 3 [selected_answer] |
2019/02/01 | 332 | 1,280 | <issue_start>username_0: Any help?
I want to get rid of the lousy Yahoo app on android. it has a lot of problems regarding notifications..
But when I try to add yahoo account in the Android-Email app, it says:
Login failed:
Possible reasons: Two-step verification is enabled for your Yahoo email. Login to .... disable it...
:(<issue_comment>username_1: Use Outlook, it works with two-step verification.
Upvotes: 0 <issue_comment>username_2: Like most other 2FA implementations, Yahoo also supports "App Passwords" for apps and APIs which do not have a proper login system to authorize the 2-factor login.
These are static passwords which work as if there's no 2FA implemented at all. Be sure to never share such password with anybody as it bypasses the 2FA.
Yahoo has detailed steps to generate the App Passwords. So, follow the steps to get started:
1. Sign in and go to your Account security page.
2. Click Generate app password or Manage app passwords.
3. Select your app from the drop-down menu and click Generate.
4. Follow the instructions below the password.
5. Click Done.
6. Use this app password and your email address to sign in to your email app.
For more details, visit the Yahoo website - <https://help.yahoo.com/kb/SLN15241.html>
Upvotes: 2 [selected_answer] |
2019/02/01 | 844 | 3,492 | <issue_start>username_0: I have Huawei Mate 9 with Huawei health app preloaded. I travel most of the time by trains. I noticed the Huawei health recogizes any shaking in the train as steps while I am just standing or sitting. That's why I quickly reach 10,000 steps which are not real steps and the burned calories are not real in return.
How do I stop my phone from identifying shaking in public transport as real steps while I am standing still. Do I have something wrong with my device?<issue_comment>username_1: I'm not sure what all sensor data is being used by the app, but most would rely on the input of the accelerometer. And as such it is all based on its algorithm as to what kind of moments it identifies as steps.
While it is hard, the sensor on the device can be giving out wrong values. But I'd still suspect that the companion app is not able to differentiate between steps and the shaking of hands due to you being on the train. It's quite tricky for it too. I'd probably just turn off the app while in the train. We can't expect a very good amount of accuracy from an app which isn't reading anything from the body.
They can probably improve it by using GPS data and other sensor data to understand if the person was actually moving at the natural pace.
Upvotes: 3 [selected_answer]<issue_comment>username_2: (I know this is an old thread but this is still a big issue with a lot of phones models and ppl might still find this universal solution useful)
Rootmode method
I disabled Samsung Step Counter sensor and Step Counter Detector sensor in android 10 by doing the following:
1. Uninstall Huawei Health application.
2. Activate Developer Options: go to Settings > System > About phone>Tap Software info > Build number>Tap Build number 7 times
3. Enable the Sensor Toggle: to do this go to developer options find and tap "Quick settings developer tiles." enable/toggle "Sensors Off" button, it will turn off your compass, proximity sensor, accelerometer, gyroscope, and any other sensors.
Note: on this step in Lineage OS 17.1 the Sensors off option only added this button/icon in android status bar (near wifi button/bluetooth button/etc) so you still have to tap on it to deactivate sensors.
4. Once all sensors are off you need to edit your build.prop file (either install a tool like BuildProp Editor- you need root mode, or use file explorer with a built-in text editor).
The 2 lines that I've added in my build.prop file are:
Code:
ro.qc.sdk.sensors.stepdetector=false
ro.qc.sdk.sensors.stepcounter=false
5.Restart phone. Install Huawei Health
5. Enable back sensors by taping the Sensors Off button in your android status bar. Additionally you can repeat step 3 to remove the sensors button from your status bar.
6. Open Health and check if the small ! exclamation sign from main window is gone or at least if it doesn't display your steps counter from phone.
PS
I had to do this on one of my phones because Huawei app was restarting the phone randomly. It took me a while to find the culprit and apply this solution.
Since then I tested this method on various other phones I own and it worked on all.
For non rooted phones use adb method ("adb pull /system/build.prop") to edit and upload the build.prop file. For more details on how to use adb pull and push commands google search, there are some nice tutorials out there and I don't want to copy/paste someone else's work.
Trying to to this without respecting the steps will result in failure.
Upvotes: 1 |
2019/02/03 | 373 | 1,440 | <issue_start>username_0: I have a similar problem to
[How can I stop being redirected to the App Store/Google Store by dodgy ad-scripts?](https://android.stackexchange.com/questions/62349/how-can-i-stop-being-redirected-to-the-app-store-google-store-by-dodgy-ad-script)
however the solution provided there doesn't work:
I'm opening in-app ads on purpose for in-app rewards (freemium game), and some of them open the Play store after they finish playing. I want to continue seeing these ads, so I can't just block them, and redirecting to a web browser changes virtually nothing on the problem. Can I prevent those ads from sending me to the store?
I'm using an older Samsung Android, 4.4.4 according to the device.
I think a redirect tag would fit this question as well, but it doesn't exist.<issue_comment>username_1: I ended up installing Firefox to use as my web browser and my problem was solved.
The phone started asking which app to open the links in instead of opening the store directly.
Upvotes: 2 <issue_comment>username_2: Here's a solution for Android:
1. Turn on the Pin windows feature. (For my phone, it's located in Settings --> Lock screen and security --> Other security settings --> Pin windows.)
2. When you're about to watch an ad for rewards, pin the app window.
3. Once the ad ends, it'll try to redirect to google store and fail. Then, you hit the back button, and voila: there's your in-app reward.
Upvotes: 1 |
2019/02/03 | 981 | 3,370 | <issue_start>username_0: TWRP 3.2.3 asks for a decrypt password at startup, which I never set.
Ignoring with 'cancel' leads to the main menu, but then the internal
storage is marked as 0 byte (e.g. when trying to backup), which is not the case.
I understand this is related to default encryption of the data partition
(correct?) by Android (my phone has Android One).
Is there a default password?
The PIN/password used to login into the regular OS do **NOT** work.
I've seen many answers saying so (e.g.
[here](https://android.stackexchange.com/questions/204831/twrp-internal-storage0-mb) or
[here](https://android.stackexchange.com/questions/196488/setting-finding-android-7-encryption-password)
),
it is not true (at least for my version of
Android). I tried with numerical PIN, password, or nothing (each time going
back to factory reset), and nothing worked in TWRP.
I know there are other related questions, but none of the answer provides
details or seem confident enough:
[here](https://android.stackexchange.com/questions/168911/does-twrp-recovery-support-encrypted-data-partition/168996#168996)
[here](https://android.stackexchange.com/questions/187385/nexus-5-in-boot-loop)
[here](https://android.stackexchange.com/questions/201468/how-to-fix-bootloop-or-decrypt-data-in-twrp)
[This answer](https://android.stackexchange.com/questions/201044/twrp-password-decrypt-storage/201106#201106) refers to a misterious "disable force encryption"
package, which I've also read about in other posts.
Is it really the way to go? What exactly is that package? And what does it do?
Can I not completely disable encryption in Android OS?
---
Extra:
I want to mention that I manged to circumvent the problem temporarily, by recreating the data filesystem within TWRP. This of course wipes out your data, but at least afterwards TWRP sees your internal storage and one can do a backup of the system. However, upon reboot the phone gets stuck in the initial loading (white screen with color bar in Android one), so I have to reboot again to the stock recovery and do a reset. Which brings back encryption, and I am back to square 1.<issue_comment>username_1: It's a issue with TWRP and the ROM you are using. TWRP is able to decrypt till Android 8.0 but if you're using a ROM above it you'll get this error and after flashing your data partition to ext4 it will let you use that space till ROM boot up and encrypt again. There isn't a solution yet. TWRP releases updated version 3.2.3\_1 for few devices only which has this bug fixes.
Upvotes: 2 <issue_comment>username_2: Android devices with full-disk encryption (FDE), such as yours (usually Android 7–9), may support the `forceencrypt` fstab flag, which causes the device to encrypt (again) on (first) boot.
Thus, while you can “Format data” in the “Wipe” section in TWRP to have an empty but decrypted “/data”, the OS will encrypt again on next boot.
You must therefore prevent encryption of “/data” from occurring for your use case to work.
Try looking at “Universal DM-Verity, ForceEncrypt, Disk Quota Disabler” [[1]](https://forum.xda-developers.com/android/software/universal-dm-verity-forceencrypt-t3817389) or otherwise Magisk [[2]](https://github.com/topjohnwu/Magisk/releases/tag/v20.4) [[3]](https://forum.xda-developers.com/apps/magisk/official-magisk-v7-universal-systemless-t3473445).
Upvotes: 0 |
2019/02/04 | 934 | 3,714 | <issue_start>username_0: I have a Xiaomi Mi 6X which is the Chinese version of A2. There is a way to convert it into A2, but OTA updates won't work because 6X has only A partition. I'm not sure, but I've read, it is possible to create/delete partitions on an Android device.
So I want to create A/B partitions manually, but I have no idea how it looks like.<issue_comment>username_1: Android uses GUID Partition Table (GPT) as its partitioning system which is possible to modify using tools like `parted` and `gdisk`. But there are a few constraints I can think of, other than the OTA problem you have already mentioned:
* Android devices with A/B partition scheme have many partitions in (`_a`/`_b`) pairs including `system`, `vendor`, `aboot`, `sbl` and `modem`. New partitions require space which obviously isn't available on flash memory (eMMC) and needs to be freed from your `userdata` partition. So you will get short on your `/sdcard` space.
* Since all the partitions to be created aren't adjacent to `userdata` partition (which is usually the last one), you may need to delete and create dozens of partitions. Exact details depend on the order of partitions in your partition table. So there are bright chances of bricking your device. :)
* Application bootloader (aboot) on A/B devices is different than on non-A/B devices. On A/B devices, there are two `boot` partitions and no `recovery` partition. So the process of making choice from where to boot the device is different than on non-A/B devices.
* Also the other functionality of `aboot` that depends on partition names such as `fastboot update` will also break. And since bootloaders are closed source, you can't modify it to be compatible with your new partition table (unless you are lucky as well as an expert at `hexedit`ing binaries).
So it seems practically impossible to convert a non-A/B device to A/B device.
Upvotes: 3 <issue_comment>username_2: The a/b partitioning scheme doesn't eat into internal storage—on a Google pixel 1, the a/b scheme takes only 320MiB more than the a-only scheme. Source:Android Developers <https://source.android.com/devices/tech/ota/ab/ab_faqs>
Upvotes: 0 <issue_comment>username_3: Xiaomi A2 has the same hardware as Mi 6X and actually, Mi 6X is the Chinese version of A2. Why not fully flashing Mi 6X with A2 ROM, including GPT structures from the firmware? The problem will be fastboot itself, as you can't write on GPT there or change the name of the partitions as it brokes the existing fastboot in the current ABL (Android BootLoader), but it should work if ABL itself is changed to the one in A2.
You will need to use EDL mode to fully write A2 ROM on Mi 6X with A2's partition table, or at least write both GPT structure and ABL.elf with other bootloader partitions like XBL.elf and then use fastboot (which will be flashed from A2 so it must recognize and respond to the name of the partitions from A2) to flash the remaining partitions.
This should be possible only if both devices are typically the same in hardware and SoC firmware and there isn't Secure Boot eFuse provided by Qualcomm in the Mi 6X SoC, as this will prevent a modified or different ABL (Android BootLoader) from being loaded in the first place (even if the bootloader is unlocked) which will bring you again to EDL mode with boot error. So first, check if you have secure boot enabled or not by something like `fastboot oem SecureBoot GetFuseStatus` if your device supports this command, or by directly flashing different A2 ROM with its GPT structures and see what will happen.
You should also know that what you do is risky and you have a pretty high chance of bricking your phone, so do it at your own risk.
Upvotes: 2 |
2019/02/04 | 592 | 2,244 | <issue_start>username_0: I just found out I cannot rate apps on Google play. Any app. And yes, I have them installed. But the rating 5 stars or 'Rate' button are missing.
Am I missing something? Anyone else experiencing the same issue or know why is this happening / How to overcome this?<issue_comment>username_1: Quite weird, but looks like this is happening because I'm a G Suite user.
When I switch to a different, regular gmail address user, I can rate my apps again.
Looks like this behavior is rather new and undocumented (started around June 2018).
I found this article: [G Suite users can't review or rate Play Store content anymore](https://www.androidpolice.com/2018/06/22/g-suite-users-cant-review-rate-play-store-content-anymore/).
But haven't found any official evidence from Google to support that.
Upvotes: 5 [selected_answer]<issue_comment>username_2: To resolve the issue JUST sign out of your Google account on your phone (remove account), restart your phone, and then sign in to your google account again. (It might also work without restarting your phone.)
To do this, go to settings, user accounts. (On different devices these names might be a bit different.)
Upvotes: 0 <issue_comment>username_3: I just restarted my phone and the problem was gone. It seems the problems roots are from the G+ extermination. Some accounts were affected in this regard. You don't need to delete and then add your account again; it's more like a re-login and since every time you restart your phone you login with your credentials is enough.
Upvotes: 0 <issue_comment>username_4: Try the workaround below.
I found this trick mentioned in one of the support threads that Google
stubbornly ignore
1. Go to the Play Store page for the app you want to rate, e.g. <https://play.google.com/store/apps/details?id=net.osmand>
2. Copy the app ID (after ?id=) from the URL bar - here that is:
net.osmand
3. Go to <https://play.google.com/store/ereview?docId=>, adding the copied
ID: <https://play.google.com/store/ereview?docId=net.osmand>
4. You should now see a blank page with a small text box in the middle.
5. Just write your review and click Submit. You can then edit or delete
the review the usual way, from the store page.
Upvotes: 3 |
2019/02/05 | 214 | 802 | <issue_start>username_0: I would like to play my default FM Radio app. But it always asking to connect an earphone.
Is it possible to play FM Radio app without an earphone ?<issue_comment>username_1: No. You need an earphone, or anything that can plug into the earphone jack, with a trailing cable.
This is to provide the phone with an antenna. Because space inside the phone is highly limited, it's usually insensible to have a built-in FM antenna.
Usually, you can still instruct the phone (or at least the FM app) to output audio to its speaker, even when earphone is plugged in, as it's primary function is to serve as antennae.
Upvotes: 3 [selected_answer]<issue_comment>username_2: I use Tecno LC7 and I don't use antenna to listen to radio. So it's possible to have it as built-in
Upvotes: 0 |
2019/02/06 | 1,398 | 5,075 | <issue_start>username_0: Since a short time ago, I cannot update / install apps.
E.g., if I try updating a given app, it is downloaded and shown as installing.

But as soon as the installation finishes, it shows again as available for updating, and I keep having in my phone the same "old" version.

What can be the cause, and solution for this? (I mean not to factory reset my phone...)
Could it be related to some setting in
Settings -> Apps -> Special Access -> Apps that can change system settings ?
Using Samsung J7 Prime, Android 8.1.0<issue_comment>username_1: Please clear your cache and then try updating the apps. More specifically you will have clear the Play Store app cache.
Go to Settings, Apps, Google Play Store app, and click on storage. There you should have a option to clear the cache.
Do let us know if that helps.
Upvotes: 1 <issue_comment>username_2: Taken from:
[Play Store won’t open, load, or download apps](https://support.google.com/googleplay/answer/7513003)
>
> * Open your device's Settings > app Settings.
> * Tap Apps & notifications and then See all apps.
> * Scroll down and tap Google Play Store.
> * Tap Storage and then Clear Cache.
> * Next, tap Clear data.
>
>
> Re-open the Play Store & try your download again.
>
>
>
Restart your device once.
Upvotes: 1 <issue_comment>username_3: Here is a detail step by step that will hopefully keep you from doing a factory reset. There's a couple things to touch on before beginning. Placing your phone in airplane mode will ensure updates don't start until you finish the entire process. If you are rooted disable all applications that require root (Task & Scripting Apps, Firewalls, Adblockers, etc) Also anything of that nature for non-root, any 'run at boot' type App. Feed Readers, Podcast Apps, basically anything that wants to sync on reboots and/or connection changes.
* First be sure that you have plenty of storage to proceed. More than 1 Gb *at least* should be free on your internal memory
* Also be sure your SDcard is working correctly.
* Eject & remove your SDcard, then re-insert it.
* Reboot before starting this procedure, we're trying to get everything in the freshest state possible.
1) **Turn Off & Reset Networking**
```
1. Turn ON airplane mode.
2. Open the Settings App.
3. Under the "Wireless & Networks" header tap More > Reset Network Settings.
(Samsung: Settings > Connections > More Connection Settings > Reset Network Settings.)
```
2) **Remove Google Account**
*This will remove Information linked to your account until you re-add your account Make sure you backup important information before this step*
```
1. Open the Settings App.
2. Under the "Personal" header tap Accounts. (No header on Samsung)
3. Tap Google > Select the account you're using with Google Play
4. Tap More > Remove Account.
```
3) **Clear Cache & Data from Download Manager**
```
1. Open the Settings App.
2. Under the "Device" header tap Apps. (No header on Samsung)
3. Scroll to and tap Download Manager.
4. Tap Force Stop.
5. Then tap Storage.
6. Tap Clear Cache.
7. Then tap Clear Data.
```
4) **Clear Cache & Data from Google Play Services**
```
1. Open the Settings App.
2. Under the "Device" header tap Apps. (No header on Samsung)
3. Scroll to and tap Google Play Services.
4. Tap Force Stop.
5. Then tap Storage.
6. Tap Clear Cache.
7. Then tap Clear Data.
8. (if available) Tap Uninstall to uninstall system updates.
```
5) **Clear Cache & Data from Google Play Store**
```
1. Open the Settings App.
2. Under the "Device" header tap Apps. (No header on Samsung)
3. Scroll to and tap Google Play Store.
4. Tap Force Stop.
5. Then tap Storage.
6. Tap Clear Cache.
7. Then tap Clear Data.
8. Tap Uninstall to uninstall system updates.
9. Repeat these step for all other existing Google apps. **Backup your data**
```
6) **Things to check in the Setting App before rebooting**
Use the Search in the Settings App, some of these may not be found in every Android version.
```
- Reset App Preferences in the Apps settings menu.
- Reset Permissions in Privacy Guard and set it to OFF.
- System Profiles are set to OFF.
- Developer Options are set to OFF.
- Under the "System" header tap Accessibility, Switch all to OFF.
```
7) **Reboot, Connect & Sign-In**
```
1. Power on / Reboot your Device.
2. Open Settings > Display > Screen Timeout. Set it to Never.
3. Plug your device into a power source.
4. Allow a couple minutes to pass then turn OFF airplane mode.
5. Turn Data off.
6. Open Google Play.
7. Choose your network.
8. Sign into your Google Account.
9. Tap the Home button.
10. Set your device down for 10-15 minutes and let Google process updates, sync, etc.
11. Reboot and access Google Play as you normally would.
```
All information can be found in the Play Store Help: [extra steps to fix Google Play Issues](https://support.google.com/googleplay/answer/7512202?hl=en&ref_topic=1046719)
Upvotes: 2 |
2019/02/07 | 370 | 1,162 | <issue_start>username_0: I am getting an error while trying to unlock the oem.
The error reads as Oem unlocking is not allowed.
I have yu yuphoria 5010a. And in oem device-info fetting as device tampered - false.
Please help asap.
Thanks,
Dev<issue_comment>username_1: You need to enable the option "OEM Unlocking" in the developer options. Provided YU allows you to unlock the bootloader, the switch will be enough for you to go back to fastboot mode and issue the OEM unlock command.
Upvotes: 2 <issue_comment>username_2: Just to clarify.
You need to enable OEM Unlocking in Development Options
[](https://i.stack.imgur.com/UuAiU.jpg)
Steps,
1. Open Settings
2. Open About ( or more, then About )
3. Locate Build Number
4. Tap Build Number 7 times
You should see, You are now a developer.
After that, you will have a new option in settings, called Developer Options.
[](https://i.stack.imgur.com/1J0F2.jpg)
Open Developer Options and look for OEM Unlocking.
[](https://i.stack.imgur.com/UuAiU.jpg)
Upvotes: 1 |
2019/02/07 | 298 | 1,159 | <issue_start>username_0: I've set an animated wallpaper on my Samsung Galaxy S9 (one that was included with the device). It displays correctly on the lock screen, but somehow gets blurred on the home screen.
**Lock screen (no blur)** | **Home screen (blur)**
 
Is it possible to disable this blur effect?<issue_comment>username_1: It's not blurred wallpaper, it applied two wallpapers, one for the lock screen and the other for the home screen.
To set the wallpaper (single wallpaper for both screens):
1. Open the wallpaper app, and select any wallpaper, and select this option set as **Home screen and Lock screen** OR set **Both** (option in Google Wallpaper app).
2. Press and hold the home screen, the screen will show three options, Wallpaper, Widgets, and Settings (home screen). Tap on Wallpaper, and select any wallpaper, the select set as HOME screen and Lock screen OR Both as options mentioned above.
Upvotes: 3 [selected_answer]<issue_comment>username_2: Press the home screen. On the bottom, press launcher themes. Disable the blur effect to all.
Upvotes: 0 |
2019/02/07 | 584 | 2,398 | <issue_start>username_0: I have a hTC *D626w*, after an interrupted update, it does not boot any more. When I enter recovery mode, I see the following message at the bottom of the page:
```
No file end with factory_update.zip found in SD card.
```
The message persists after removing the SD card.
I chose **wipe cache partition** and **wipe data/factory reset**. But after selecting **reboot system now**, a white page appears on which I see hTC.
Does anyone know what's wrong with my device?<issue_comment>username_1: Interrupting an Android update is not a good idea as your device is now in an "in between" state that is not usable.
Most likely you have to flash a complete factory image (also called RUU image) of your device to recover it.
Usually HTC devices support fastboot, which should allow to flash such an image to your device. Check the [HTC ROM Download page](https://www.htc.com/us/support/rom-downloads.html) for an image matching your specific device.
Upvotes: 1 <issue_comment>username_2: A system update could have been making important system configuration changes when it got interrupted.
------------------------------------------------------------------------------------------------------
You should have an incomplete ( Corrupted ) system, this is why you should never interrupt a System firmware update.
What to do now ?
----------------
* First you need to unlock your bootloader at the HTC Dev website
[htcdev.com/bootloader](https://www.htcdev.com/bootloader)
* After that, you can try to repair your device via Fastboot by
flashing the stock images back.
Considering the information I found suggest that you still have the update.zip and you might have a MTK CPU.
* You can alternatively try to flash the Firmware using SP Flash Tool
v5.17 or above.
You will need to extract your Update.zip file and find any .IMG files... E.g, boot.img, recovery.img and especially system.img
If you can find boot.img, try to flash that with Fastboot first... Then try the rest...
If you have an update that contains folders, you will have difficulty installing it without a custom recovery.
With SP Flash Tool, you DO NOT need to unlock your bootloader, as you can flash the bootloader also.
I can find only a few ROM - Firmware online, however the firmware I found doesn't have Gapps included ( Google Apps ) ...
Do you have an MTK CPU ?
Upvotes: 0 |
2019/02/08 | 362 | 1,380 | <issue_start>username_0: I'm trying to put my music collection (~37GB) onto my android phone's SD card via USB cable and MTP. It has to go on the card, because my phone's internal memory is not capacious enough.
I've tried drag and drop, rsync, cp, etc. (OS is Linux, phone is Galaxy S8)
Once I get about ~15 GB of data in the directory I can't even ls it or look at it in the GUI file browser, much less add more. Attempting to do anything at that point seems to crash the filesystem driver.
Googling the problem seems to be useless, I just get a bunch of basic tutorials on transferring data with no mention of problems or scope.
Is there some known way to accomplish this short of yanking out the SD card and loading things onto it directly? Am I just weird for trying to copy such a large amount of data via USB/MTP?<issue_comment>username_1: I put the SD card in the computer and drag & drop there. I have a SD slot and use a uSD to SD card adapter. Try dragging smaller chunks vs all at once. I have a 64GB card and drag 20-30 folders at a time, each folder being a complete album. Getting ready to install a 128GB card and do it all again to hold about half my music collection.
Upvotes: 3 [selected_answer]<issue_comment>username_2: Was able to do it no problems on a borrowed Windows 10 box. Not that such an answer is very pleasing to a linux enthusiast.
Upvotes: 0 |
2019/02/10 | 3,216 | 10,942 | <issue_start>username_0: Xposed development has been in a limbo with the last update being a [beta released a year ago](https://forum.xda-developers.com/showthread.php?t=3034811).
Die hard fans of Xposed hesitate to upgrade Android, in the absence of Xposed support.This is true for the latest Android Pie as well. Magisk is useful but cannot replace Xposed for deep stuff. Yet another concern is Safety Net getting triggered when Xposed framework is installed through Magisk.
What are the alternatives available? Preferably without triggering Safety Net?
*Note* :
1. This is a self answered question to share my recent foray into this after upgrading to Pie.
2. Moderators are welcome to make this a wiki Q and A if it attracts more updates or if deemed fit.<issue_comment>username_1: *There are significant changes in Magisk /EdXposed drivers which are updated here* [How to install EdXposed on Android 10 without triggering safety net](https://android.stackexchange.com/q/218179/131553)
*Please refer to updated installation instructions*.
---
\*Alternatives to Xposed (rovo89) are:
* [Virtual Xposed](https://virtualxposed.com/) - a rootless Xposed and therefore far less capable. I didn't investigate further for this reason but I read that development on this has stopped (unconfirmed).
* [Tai-Chi Xposed](https://virtualxposed.com/tai-chi/) by the same developer of Virtual Xposed and [supports Android Pie](https://github.com/tiann/Tai-Chi). Said to be close sourced and likely to be paid module per some reports.
* [Edxposed](https://github.com/ElderDrivers/EdXposed). This is the alternative I chose.
*Disclaimer*: I am not a developer nor am I affiliated to any app or module.
Is it safe?
===========
**Yes**
For an average user like me, two factors help decide:
* **Open Source Vs Close Source** Edxposed is Open source. I have no understanding of code and cannot draw any conclusion from looking at code. But yes, being open source means it is subject to scrutiny by knowledgeable folks and therefore safer (Please don't drag me into open source discussion, rather post an alternative answer :).
* **Provenance or trust attached**
+ The last Xposed update by rovo89 is also close sourced (as against earlier versions which are open source). This being close source would not have detracted people from using it purely based on developer's reputation.
+ In the case of Edxposed, my trust lies with Marcel (aka M66B) who has developed several privacy centered modules / apps such as [NetGuard](https://forum.xda-developers.com/android/apps-games/app-netguard-root-firewall-t3233012), [Xprivacy](https://forum.xda-developers.com/xposed/modules/xprivacy-ultimate-android-privacy-app-t2320783), [XprivacyLua](https://forum.xda-developers.com/xposed/modules/xprivacylua6-0-android-privacy-manager-t3730663) and [FairEmail](https://forum.xda-developers.com/android/apps-games/source-email-t3824168). For me, when a staunch privacy advocate like Marcel [starts development using EdXposed](https://forum.xda-developers.com/showpost.php?p=78862830&postcount=3892)(edit-completed development), that's pretty much sovereign guarantee despite [some warnings about close source](https://www.xda-developers.com/xposed-framework-unofficial-port-android-pie/) (Incidentally, this claim is incorrect and a Reddit user informed XDA portal. To clarify again, it is open source)
Is it as good as Xposed and can I use all Xposed modules?
=========================================================
* It is not (yet) as powerful as Xposed because it lacks support at this stage for *resource hooks* but it may get added hopefully.
* It is still in beta stage but a lot of modules work already. See [[Updated] List of Xposed modules for Android Pie working with Ed Xposed Framework](https://forum.xda-developers.com/xposed/list-xposed-modules-android-pie-ed-t3892768/page3) for a list of working and non-working modules which is being updated. Take this list with a pinch of salt - it may mean anything from doesn't crash and works partially to fully works. See last question below.
* For me XPrivacy Lua works and works far better on EdXposed than on the beta version of Xposed on Oreo. Another must module for me is [Maxlock](https://repo.xposed.info/module/de.maxr1998.xposed.maxlock) which works fine. Only one I want is GravityBox and C3C076 , developer of GravityBox is [considering development for EdXposed](https://forum.xda-developers.com/showpost.php?p=78850710&postcount=1207) and it is likely others follow suit.
Does it pass Safety Net?
========================
**Yes** :)
OK, how do I install it?
========================
**Check for updates from corresponding links below as they would change being a beta. Valid as on 12 Feb 19 and will not be updated in this answer**. See [How to install EdXposed on Android 10 without triggering safety net](https://android.stackexchange.com/q/218179/131553) for a more recent method
**Source** [Android 9.0 uses xposed solutions](https://forum.xda-developers.com/xposed/android-9-0-xposed-solutions-t3889513) as updated
Use Magisk order to install these modules in the *same order* ( You won't find them in the magisk repo. Download them and from Magisk Downloads option click on the **+** to install and they will appear as Magisk Modules)
1. [Magisk-riru-core-arm-arm64-v10.zip](https://github.com/RikkaApps/Riru/releases)
2. [Magisk-EdXposed-arm-arm64-v x.x\_beta-release.zip](https://github.com/ElderDrivers/EdXposed/releases)
3. Don't reboot yet , install ~~[XposedInstaller\_by\_dvdandroid\_19\_10\_18. apk](https://androidfilehost.com/?fid=11410963190603845164) or [from XDA](https://forum.xda-developers.com/devdb/project/dl/?id=30660)~~
[magisk-EdXposed-v0.2.9.8\_beta1-release.zip](https://github.com/ElderDrivers/EdXposed/releases) (check for updates in subsequent releases)
4. Reboot.
Does it work on modded UI's like that of Samsung , MiUI, Poco etc?
==================================================================
Traditionally XPosed always had a problem with such devices but EdXposed seems to fare better. Issues with some devices are reported so YMMV (check out the linked XDA thread)
List of modules that are fully optimized?
=========================================
Developers would need to upgrade their modules for working with Pie AND EdXposed. As of now, the following modules meet these requirements
* XPrivacy Lua
* Xposed Edge Pro
* [Gravity Box Beta](https://forum.xda-developers.com/xposed/modules/app-gravitybox-v9-0-0-beta-1-android-9-t3908768) released on 08 Mar 19.
**Notes**
* You may need multiple reboots.
* Ignore the warning on the installer *Xposed not yet compatible ...with SDK 28...or your Android architecture (see pic below)*.
* You may find at times that installer is disabled - reinstall and reboot to fix. For some , *soft reboot* from installer fixes the problem (root permission needs to be given for installer).
* Whenever Installer is upgraded, it is better in my experience to uninstall the earlier installer and install the newer one to prevent instability
* Your device may be noticeably slower to respond - that's a price to pay till things stabilize.
* Some modules may work with earlier versions of Edxposed and not with later versions or vice-versa.
* **Pro-tip** Just in case you land up installing a module that ends up in a boot loop or creates some other problem , it is handy to have [[Tool][2018.8.1] Magisk Manager for Recovery Mode (mm)](https://forum.xda-developers.com/apps/magisk/module-tool-magisk-manager-recovery-mode-t3693165) installed so that you can disable or uninstall the Xposed modules from Magisk.
Screenshots are from my MiA1 (Android one) running stock OS with latest Magisk 18.1
[](https://i.stack.imgur.com/efES3.png)
[](https://i.stack.imgur.com/8ftRo.png)
[](https://i.stack.imgur.com/xBaGH.png)
[](https://i.stack.imgur.com/pT9aJ.png)
(Click to enlarge)
Happy Xposing !
Upvotes: 6 [selected_answer]<issue_comment>username_2: Relatively new entries on the scene are [SPatch (Beta)](https://forum.xda-developers.com/t/beta-spatch-a-new-root-free-xposed-framework.4192279/) (tried) and perhaps a lesser popular [Xpatch](https://forum.xda-developers.com/t/tool-xpatch-using-xposed-modules-to-modify-apps-without-root-device.3922602/).
**What is SPatch ?**
>
> Let devices without root or bootloader unlock to use Xposed framework!
> SPatch is a new root free Xposed framework, also available for devices
> not unlock bootloader. Support both ARM(SandHook) and X86(SHook, for
> Android emulator)
>
>
>
System requirements:
Android 6.0+ (Support Android 11)
256MB ram or more
128MB free disk space
**Usage**
Spatch has some kind of Virtual xposed look and feel and overall functionality is almost similar though the former has extra tweaks for pro users plus users can install SPromoter (a helper app) for module management
>
> 1. Open SPatch app and wait until password activity appear
> 2. Input zero four times, then long press D button
> 3. Click visit button, remember numbers that pop up from the top of window, then input the numbers you remember
> 4. Click M button for Xposed or Cydia modules injecting, V for virtual machine, T for hack tools, rest of all for your explore
> 5. Click add button for add application you installed or apk file in internal storage, wait for action finish then reinstall or install
> application. Application you add by SPatch will load all Xposed
> modules you installed. You can use SPromoter for module managing.
>
>
>
[](https://i.stack.imgur.com/OGsYel.jpg)
**What is Xpatch**
>
> Xpatch is a jar tool which is used to repackage the apk file. Then,
> the new apk can load any Xposed modules installed in the android
> system.
>
>
> This is a way to use Xposed modules without root your device.
>
>
> It is easy way to modify one app using xposed module. And any apps
> changed by Xpatch can load every modules downloaded in the Xposed
> Module Repository.
>
>
>
Haven't used Xpatch but from the developer page, the usage instructions are provided:
**How to use**
>
> 1. Download the latest jar file from the my [github release page](https://github.com/WindySha/Xpatch).
> 2. Run this command in the Windows/Mac console:
>
>
> `$ java -jar ../../xpatch.jar ../../source.apk`
>
>
>
Basically the main idea here is that a new apk is produced in the same folder as source apk.
This apk can **load any xposed modules installed** in the device.(Support up to Android 11)
Learn more [here](https://github.com/WindySha/Xpatch/blob/6ec0f3c16128dda46ab05bdd915d66ebbdaaf9fc/README_en.md)
Xpatch source code: <https://github.com/WindySha/Xpatch>
Upvotes: 2 |
2019/02/10 | 1,161 | 3,954 | <issue_start>username_0: Gboard kept crashing when trying to open the settings, so I wanted to uninstall and reinstall it. Google Play Store kept giving me the error code 910, the advice for that was installing it with ADB.
The command
```
adb install -r /home/fabian/Downloads/com.google.android.inputmethod.latin_7.9.7.230658658-release-armeabi-v7a-26790713_minAPI21\(armeabi-v7a\)\(nodpi\)_apkmirror.com.apk
```
gives me the output
```
Failed to install /home/fabian/Downloads/com.google.android.inputmethod.latin_7.9.7.230658658-release-armeabi-v7a-26790713_minAPI21(armeabi-v7a)(nodpi)_apkmirror.com.apk: Failure [INSTALL_FAILED_ALREADY_EXISTS: Attempt to re-install com.google.android.inputmethod.latin without first uninstalling package running as com.android.inputmethod.latin]
```
This is weird, since with the `-r` flag it should have no problem with an app that is already installed. Apart from that, it is not installed, I checked the app list, the `/system/app` directory, as well as `/data/data`. And when I run
```
adb uninstall com.google.android.inputmethod.latin
```
, the output is:
```
Exception occurred while dumping:
java.lang.IllegalArgumentException: Unknown package: com.google.android.inputmethod.latin
at com.android.server.pm.Settings.isOrphaned(Settings.java:4134)
at com.android.server.pm.PackageManagerService.isOrphaned(PackageManagerService.java:18419)
at com.android.server.pm.PackageManagerService.deletePackage(PackageManagerService.java:15836)
at com.android.server.pm.PackageInstallerService.uninstall(PackageInstallerService.java:888)
at com.android.server.pm.PackageManagerShellCommand.runUninstall(PackageManagerShellCommand.java:792)
at com.android.server.pm.PackageManagerShellCommand.onCommand(PackageManagerShellCommand.java:118)
at android.os.ShellCommand.exec(ShellCommand.java:94)
at com.android.server.pm.PackageManagerService.onShellCommand(PackageManagerService.java:18682)
at android.os.Binder.shellCommand(Binder.java:468)
at android.os.Binder.onTransact(Binder.java:367)
at android.content.pm.IPackageManager$Stub.onTransact(IPackageManager.java:2387)
at com.android.server.pm.PackageManagerService.onTransact(PackageManagerService.java:3150)
at android.os.Binder.execTransact(Binder.java:565)
```
So what can I do to install GBoard again?
Fairphone 2, Android 7.1.2, "Fairphone Open", root enabled<issue_comment>username_1: It seems like the package wasn't properly uninstalled : This happens usually if you delete the APK from */data/app* or */system/app* or */system/priv-app* instead of uninstalling the app. That is why probably the adb uninstall command isn't working.
Maybe you can try reinstalling the app again after rebooting your phone?
Tip: If this is the only keyboard app on your phone, it would be better if you install another keyboard app just as a backup before rebooting (especially if you have a text lock screen password).
If it still doesn't work after rebooting, try uninstalling the app only for the current user and then reinstall it from the play store.
```
adb shell pm uninstall --user 0 com.google.android.inputmethod.latin
```
Also, if possible, please also share the output of this command
```
adb shell dumpsys package com.google.android.inputmethod.latin
```
(Sorry, I am a new member and do not have commenting permissions yet; that is why I have to mention it here.)
Upvotes: 3 [selected_answer]<issue_comment>username_2: This doesn't solve the question, but I managed to work around it:
I had a backup of the app, restored that back to the system partition, then I was able to uninstall it with ADB (without `google.` in the package name) and install it again.
Upvotes: 0 <issue_comment>username_3: I solved it by:
1. `pm uninstall com.google.android.inputmethod.latin`
2. `pm uninstall com.android.inputmethod.latin`
3. Removing
from `/data/system/packages.xml`
4. Reboot
Upvotes: 0 |
2019/02/11 | 522 | 2,078 | <issue_start>username_0: I have used Google Photos App on iOS and the google account there allows me to disable access to the other google services where I don't see my other accounts in all Google Apps like Youtube, Gmail, Drive etc.
This can't be done as far as I know on an android device. Although I can turn the automatic sync off but the account is pretty much there on all apps.
Is it possible in some way that I achieve the same behavior as in iOS. It's pretty strange that google apps are giving more options on iOS than on Android.<issue_comment>username_1: It seems like the package wasn't properly uninstalled : This happens usually if you delete the APK from */data/app* or */system/app* or */system/priv-app* instead of uninstalling the app. That is why probably the adb uninstall command isn't working.
Maybe you can try reinstalling the app again after rebooting your phone?
Tip: If this is the only keyboard app on your phone, it would be better if you install another keyboard app just as a backup before rebooting (especially if you have a text lock screen password).
If it still doesn't work after rebooting, try uninstalling the app only for the current user and then reinstall it from the play store.
```
adb shell pm uninstall --user 0 com.google.android.inputmethod.latin
```
Also, if possible, please also share the output of this command
```
adb shell dumpsys package com.google.android.inputmethod.latin
```
(Sorry, I am a new member and do not have commenting permissions yet; that is why I have to mention it here.)
Upvotes: 3 [selected_answer]<issue_comment>username_2: This doesn't solve the question, but I managed to work around it:
I had a backup of the app, restored that back to the system partition, then I was able to uninstall it with ADB (without `google.` in the package name) and install it again.
Upvotes: 0 <issue_comment>username_3: I solved it by:
1. `pm uninstall com.google.android.inputmethod.latin`
2. `pm uninstall com.android.inputmethod.latin`
3. Removing
from `/data/system/packages.xml`
4. Reboot
Upvotes: 0 |
2019/02/11 | 421 | 1,520 | <issue_start>username_0: I want to install a custom rom (LineageOS with microG) on My Asus Zenfone Max Pro M1. I followed every steps detailed in the tutorial (enable debugging, unlock bootloader, run fastboot, flash TWRP, reboot in recovery, backup then wipe the system with TWRP).
My problem is when I want to sideload the custom rom. So, `adb devices` works and detects my phone in recovery mode. However, as soon as I lauch the sideload mode in TWRP, `adb devices` is not able to detect my phone anymore and the command `adb sideload xxxxxx.zip` fails because it cannot see any device.
I'm running TWRP 3.2.3, my computer runs on GNU/Linux (Xubuntu 18.04), I have the latest version of the Android SDK.
It is the same question as here from 2015: [Device disappears from ADB devices when entering sideload](https://android.stackexchange.com/questions/102698) but there was no answer.
Thanks in advance<issue_comment>username_1: Eventually, I found a workaround (which is not a fix but it allowed me to continue the installation).
Since my device was detected in discovery, I did not used sideload. I just pushed the image to the sdcard with:
```
adb push xxxxx.zip /sdcard/
```
and then I installed the image from the sdcard directly in TWRP.
Upvotes: 3 <issue_comment>username_2: I have this issue when the adb server is running without root permissions. Try:
```
$ killall adb
$ sudo adb devices
```
This will run the adb server with the correct permissions, then you'll be able to sideload.
Upvotes: 1 |
2019/02/12 | 1,640 | 5,831 | <issue_start>username_0: i have a samsung galaxy grand 2 which have a broken screen that isnt responsive at all, and im desperate to get some important files and images off of it, but the problem is usb debugging is off, its locked with a pin and doesnt support an OTG, i havent tried to use ADB commands yet cause i dont have any experience and the phone doesnt have a custom recovery either, but its flashed from jellybean to kitkat. i will be very appreciated if someone can give me a solution?? what kind of options i have here?<issue_comment>username_1: You could access phone data with ADB.
[This](https://www.fonecope.com/enable-usb-debugging-android-broken-screen.html#Solution%203) should provide enough information.
[This](https://android.stackexchange.com/questions/130413/android-recover-data-adb-device-unauthorized) also may cover your question.
There are also quite a few apps that (allegedly) allow you accessing your data. I had not tried any of these, but see examples:
<https://www.androidphonesoft.com/resources/enable-usb-debugging-android-broken-screen.html>
<https://www.fonepaw.com/usb/enable-usb-debugging-screen-broken-android.html>
<https://www.coolmuster.com/android/recover-samsung-without-usb-debugging.html>
Upvotes: 0 <issue_comment>username_2: Considering you have a locked device, that also has no access to ADB.
---------------------------------------------------------------------
Don't Bother With
-----------------
• ADB
------
• FASTBOOT
-----------
---
**Your only chance is Odin**
This is a tutorial for noobs or members who are new to Rooting and want to root their phone.
Downloads:
\*Odin 3 v3.0.9
\*CWM recovery thread(Downloads available for 4.3 and 4.4 also)
\*SuperSU
Steps to root your phone:
1) Download the first two files given above to your laptop/PC.
2) Turn off your phone.
3) Go to download mode (by pressing Vol.down+home+power buttons at the same time for about 7-8 secs)
4)Open the ODIN file you downloaded on your laptop/pc.
5) Connect your phone to your laptop/PC through USB cable.
6) When ODIN detects your phone, the ID:COM area will become yellow/blue.
7) In ODIN click on PDA and then select the recovery file you downloaded. Also tick the check box beside PDA(if there is any)
8) Click on start. The flashing process will start.
9) If the flashing succeeds, ODIN will show 'PASS'.
That means the recovery flashed successfully. Yay!!!
10) Now turn on your phone and download the third file and place it in your external SD card.
11) Turn off your phone.
12) Reboot to recovery(by pressing Vol.up+home+power buttons).
13) The recovery will start. You have to navigate by volume buttons and power button.
Vol.up - move up
Vol.down - move down
Power button - select option
14) Select 'install zip'.
15) Select 'Choose zip from ext\_sd or external SD card'.
16)Select the third file you downloaded. Flashing process will start.
17) After it finishes, go back and reboot your phone.
It's upon you, of you want to follow this:
18)Use Knox Remover to remove all Knox files.
Enjoy your rooted Galaxy grand 2!!! Now you can flash other recoveries or flash other custom ROMs or custom kernels.
**Some useful tips(Experimental/WIP)**:
You can use Triangle Away to reset the flash counter after flashing ROMs and make your device status from custom to official. This is a really useful app. Report here if it works. You needn't download from google play, you can scroll down and download from the attachments.
**CREDITS**:
@shabbypenguin: For CWM recovery.
@Chainfire: For SuperSU and Triangle Away.
@AL\_IRAQI: For Knox remover.
*REFERENCES*
[xda-developers.com.../guide-easily-root-galaxy-grand-2-sm-t2812807](https://forum.xda-developers.com/galaxy-grand-2/general/guide-easily-root-galaxy-grand-2-sm-t2812807)
---
**After Getting CWM Recovery, DO NOT FOLLOW THE OTHER STEPS, THEY'RE SPECIFICALLY FOR ROOT ACCESS**
* Open CWM and Backup Data from Internal Memory...
* Open the backup on your PC, it may need to be extracted with another software like 7Zip.
* Extract precious data from the internal storage ... DATA/MEDIA/EMULATED/ - or similar.
Upvotes: 0 <issue_comment>username_2: **After assessing your situation closely !**
--------------------------------------------
You only have 1 option.
The fact that you have no OTG, means no access is possible to enable ADB.. You also can not access it in any other way.
A few years ago, ADB would automatically be enabled on every boot, the system would then boot up and configure ADB as per user settings... This allows many root access programs to work correctly ( the reason most repeatedly restart the device ) ...
You may have to write a script for running batch commands, You can do this easily on Windows
```
adb restart
adb wait-for-device
adb pull /storage/sdcard0
```
A simple script used to exploit the vulnerability...
You would save that text file as commands.bat ( .bat is a batch file ) and run it...
This probably won't work however...
Your only option I could find, cost money and time.
[LCD & Digitizer - Front panel replacement](https://www.ebay.com/sch/i.html?_from=R40&_trksid=m570.l1313&_nkw=samsung%20galaxy%20prime%202%20lcd)
Replace the whole front panel yourself...
People have already Assembled the entire front LCD & Digitizer, so no hassles trying to pry the screen off...
You just,
* unscrew the old back
* Take the back half off
* Plug in the new front half ( LCD & Digitizer panel )
* Screw it back together
...
It's fairly cheap to do it yourself...
This answer is not a guide but just an example of possible solution's.. Please be careful and take all necessary precautions whenever taking apart electrical devices.
Upvotes: 1 |
2019/02/13 | 1,645 | 5,843 | <issue_start>username_0: i have a phone the language of which is English. I also have a Mi Band 3 on which I have installed Arabic package to be able to see my friends' messages in Persian (using the same characters as Arabic). If I want the Mi Band 3 to use the Arabic language characters, the language of my phone must be changed to Arabic to make the language of Mi Fit application also Arabic, and I know for sure that I don't want such a thing. How do I change the language of a single application (Mi Fit here) without rooting the phone?!<issue_comment>username_1: You could access phone data with ADB.
[This](https://www.fonecope.com/enable-usb-debugging-android-broken-screen.html#Solution%203) should provide enough information.
[This](https://android.stackexchange.com/questions/130413/android-recover-data-adb-device-unauthorized) also may cover your question.
There are also quite a few apps that (allegedly) allow you accessing your data. I had not tried any of these, but see examples:
<https://www.androidphonesoft.com/resources/enable-usb-debugging-android-broken-screen.html>
<https://www.fonepaw.com/usb/enable-usb-debugging-screen-broken-android.html>
<https://www.coolmuster.com/android/recover-samsung-without-usb-debugging.html>
Upvotes: 0 <issue_comment>username_2: Considering you have a locked device, that also has no access to ADB.
---------------------------------------------------------------------
Don't Bother With
-----------------
• ADB
------
• FASTBOOT
-----------
---
**Your only chance is Odin**
This is a tutorial for noobs or members who are new to Rooting and want to root their phone.
Downloads:
\*Odin 3 v3.0.9
\*CWM recovery thread(Downloads available for 4.3 and 4.4 also)
\*SuperSU
Steps to root your phone:
1) Download the first two files given above to your laptop/PC.
2) Turn off your phone.
3) Go to download mode (by pressing Vol.down+home+power buttons at the same time for about 7-8 secs)
4)Open the ODIN file you downloaded on your laptop/pc.
5) Connect your phone to your laptop/PC through USB cable.
6) When ODIN detects your phone, the ID:COM area will become yellow/blue.
7) In ODIN click on PDA and then select the recovery file you downloaded. Also tick the check box beside PDA(if there is any)
8) Click on start. The flashing process will start.
9) If the flashing succeeds, ODIN will show 'PASS'.
That means the recovery flashed successfully. Yay!!!
10) Now turn on your phone and download the third file and place it in your external SD card.
11) Turn off your phone.
12) Reboot to recovery(by pressing Vol.up+home+power buttons).
13) The recovery will start. You have to navigate by volume buttons and power button.
Vol.up - move up
Vol.down - move down
Power button - select option
14) Select 'install zip'.
15) Select 'Choose zip from ext\_sd or external SD card'.
16)Select the third file you downloaded. Flashing process will start.
17) After it finishes, go back and reboot your phone.
It's upon you, of you want to follow this:
18)Use Knox Remover to remove all Knox files.
Enjoy your rooted Galaxy grand 2!!! Now you can flash other recoveries or flash other custom ROMs or custom kernels.
**Some useful tips(Experimental/WIP)**:
You can use Triangle Away to reset the flash counter after flashing ROMs and make your device status from custom to official. This is a really useful app. Report here if it works. You needn't download from google play, you can scroll down and download from the attachments.
**CREDITS**:
@shabbypenguin: For CWM recovery.
@Chainfire: For SuperSU and Triangle Away.
@AL\_IRAQI: For Knox remover.
*REFERENCES*
[xda-developers.com.../guide-easily-root-galaxy-grand-2-sm-t2812807](https://forum.xda-developers.com/galaxy-grand-2/general/guide-easily-root-galaxy-grand-2-sm-t2812807)
---
**After Getting CWM Recovery, DO NOT FOLLOW THE OTHER STEPS, THEY'RE SPECIFICALLY FOR ROOT ACCESS**
* Open CWM and Backup Data from Internal Memory...
* Open the backup on your PC, it may need to be extracted with another software like 7Zip.
* Extract precious data from the internal storage ... DATA/MEDIA/EMULATED/ - or similar.
Upvotes: 0 <issue_comment>username_2: **After assessing your situation closely !**
--------------------------------------------
You only have 1 option.
The fact that you have no OTG, means no access is possible to enable ADB.. You also can not access it in any other way.
A few years ago, ADB would automatically be enabled on every boot, the system would then boot up and configure ADB as per user settings... This allows many root access programs to work correctly ( the reason most repeatedly restart the device ) ...
You may have to write a script for running batch commands, You can do this easily on Windows
```
adb restart
adb wait-for-device
adb pull /storage/sdcard0
```
A simple script used to exploit the vulnerability...
You would save that text file as commands.bat ( .bat is a batch file ) and run it...
This probably won't work however...
Your only option I could find, cost money and time.
[LCD & Digitizer - Front panel replacement](https://www.ebay.com/sch/i.html?_from=R40&_trksid=m570.l1313&_nkw=samsung%20galaxy%20prime%202%20lcd)
Replace the whole front panel yourself...
People have already Assembled the entire front LCD & Digitizer, so no hassles trying to pry the screen off...
You just,
* unscrew the old back
* Take the back half off
* Plug in the new front half ( LCD & Digitizer panel )
* Screw it back together
...
It's fairly cheap to do it yourself...
This answer is not a guide but just an example of possible solution's.. Please be careful and take all necessary precautions whenever taking apart electrical devices.
Upvotes: 1 |
2019/02/13 | 1,577 | 5,544 | <issue_start>username_0: My phones touch screen is broken, it only responds for like 2 secs everytime i turn on with power button.
Need somethin like double press vol key equals swipe left, and other key is right. Hold for swipe down up.
Thankss<issue_comment>username_1: You could access phone data with ADB.
[This](https://www.fonecope.com/enable-usb-debugging-android-broken-screen.html#Solution%203) should provide enough information.
[This](https://android.stackexchange.com/questions/130413/android-recover-data-adb-device-unauthorized) also may cover your question.
There are also quite a few apps that (allegedly) allow you accessing your data. I had not tried any of these, but see examples:
<https://www.androidphonesoft.com/resources/enable-usb-debugging-android-broken-screen.html>
<https://www.fonepaw.com/usb/enable-usb-debugging-screen-broken-android.html>
<https://www.coolmuster.com/android/recover-samsung-without-usb-debugging.html>
Upvotes: 0 <issue_comment>username_2: Considering you have a locked device, that also has no access to ADB.
---------------------------------------------------------------------
Don't Bother With
-----------------
• ADB
------
• FASTBOOT
-----------
---
**Your only chance is Odin**
This is a tutorial for noobs or members who are new to Rooting and want to root their phone.
Downloads:
\*Odin 3 v3.0.9
\*CWM recovery thread(Downloads available for 4.3 and 4.4 also)
\*SuperSU
Steps to root your phone:
1) Download the first two files given above to your laptop/PC.
2) Turn off your phone.
3) Go to download mode (by pressing Vol.down+home+power buttons at the same time for about 7-8 secs)
4)Open the ODIN file you downloaded on your laptop/pc.
5) Connect your phone to your laptop/PC through USB cable.
6) When ODIN detects your phone, the ID:COM area will become yellow/blue.
7) In ODIN click on PDA and then select the recovery file you downloaded. Also tick the check box beside PDA(if there is any)
8) Click on start. The flashing process will start.
9) If the flashing succeeds, ODIN will show 'PASS'.
That means the recovery flashed successfully. Yay!!!
10) Now turn on your phone and download the third file and place it in your external SD card.
11) Turn off your phone.
12) Reboot to recovery(by pressing Vol.up+home+power buttons).
13) The recovery will start. You have to navigate by volume buttons and power button.
Vol.up - move up
Vol.down - move down
Power button - select option
14) Select 'install zip'.
15) Select 'Choose zip from ext\_sd or external SD card'.
16)Select the third file you downloaded. Flashing process will start.
17) After it finishes, go back and reboot your phone.
It's upon you, of you want to follow this:
18)Use Knox Remover to remove all Knox files.
Enjoy your rooted Galaxy grand 2!!! Now you can flash other recoveries or flash other custom ROMs or custom kernels.
**Some useful tips(Experimental/WIP)**:
You can use Triangle Away to reset the flash counter after flashing ROMs and make your device status from custom to official. This is a really useful app. Report here if it works. You needn't download from google play, you can scroll down and download from the attachments.
**CREDITS**:
@shabbypenguin: For CWM recovery.
@Chainfire: For SuperSU and Triangle Away.
@AL\_IRAQI: For Knox remover.
*REFERENCES*
[xda-developers.com.../guide-easily-root-galaxy-grand-2-sm-t2812807](https://forum.xda-developers.com/galaxy-grand-2/general/guide-easily-root-galaxy-grand-2-sm-t2812807)
---
**After Getting CWM Recovery, DO NOT FOLLOW THE OTHER STEPS, THEY'RE SPECIFICALLY FOR ROOT ACCESS**
* Open CWM and Backup Data from Internal Memory...
* Open the backup on your PC, it may need to be extracted with another software like 7Zip.
* Extract precious data from the internal storage ... DATA/MEDIA/EMULATED/ - or similar.
Upvotes: 0 <issue_comment>username_2: **After assessing your situation closely !**
--------------------------------------------
You only have 1 option.
The fact that you have no OTG, means no access is possible to enable ADB.. You also can not access it in any other way.
A few years ago, ADB would automatically be enabled on every boot, the system would then boot up and configure ADB as per user settings... This allows many root access programs to work correctly ( the reason most repeatedly restart the device ) ...
You may have to write a script for running batch commands, You can do this easily on Windows
```
adb restart
adb wait-for-device
adb pull /storage/sdcard0
```
A simple script used to exploit the vulnerability...
You would save that text file as commands.bat ( .bat is a batch file ) and run it...
This probably won't work however...
Your only option I could find, cost money and time.
[LCD & Digitizer - Front panel replacement](https://www.ebay.com/sch/i.html?_from=R40&_trksid=m570.l1313&_nkw=samsung%20galaxy%20prime%202%20lcd)
Replace the whole front panel yourself...
People have already Assembled the entire front LCD & Digitizer, so no hassles trying to pry the screen off...
You just,
* unscrew the old back
* Take the back half off
* Plug in the new front half ( LCD & Digitizer panel )
* Screw it back together
...
It's fairly cheap to do it yourself...
This answer is not a guide but just an example of possible solution's.. Please be careful and take all necessary precautions whenever taking apart electrical devices.
Upvotes: 1 |
2019/02/14 | 481 | 1,992 | <issue_start>username_0: We are doing automation testing on mobile devices with Appium, but the testing fails because of the popup 'Allow USB debugging?' even though the device is already connected through `adb connect` and `adb devices`.

I already checked the 'Always allow from this computer', but still, sometimes it pops up and causes the test to fail, and other times it works just fine; not popping up at all.
How to address this issue?<issue_comment>username_1: One possibility for this problem may be located on PC side: May be you are running multiple adb daemons with different private keys. The private key is used for identifying the "**this computer**".
The relevant files that contain the cryptographic identify are `adbkey` and `adbkey.pub` located in the folder `.android` folder within the user home directory:
* Windows: `C:\users\%username%\.android\`
* Linux: `~/.android/`
Make sure those two files don't change. Some other software may overwrite these files.
Another possibility would be a problem on device side that e.g. the adb server crashes and losses the data on previous authorized computers. Or it may be a bug in adb that causes the identification of the computer to fail.
Upvotes: 1 <issue_comment>username_2: In my case, I was continually getting prompted with one fingerprint. I revoked all debugging permissions and next time the dialog popped up, I noticed the fingerprint had changed. So far I haven't been prompted again.
So: try revoking all debug permissions and then allowing USB debugging again.
Upvotes: 2 <issue_comment>username_3: ### Change the USB cable
My proposed solution is not general, but may work in in some special cases.
Here is my story: Once I used an old USB cable for connecting my 10 smartphones to my computer. It worked well for 9 phones, except for 1 phone where “Allow USB debugging” kept on popping. Then I changed to a newer USB cable, and the problem went away.
Upvotes: 3 |
2019/02/14 | 1,226 | 3,938 | <issue_start>username_0: I'm looking for a way to access my devices files in Firefox. The reason for this is I want to use an extension to read \*.md file.
I know that I can use `file:///` to access files, but the extension can't use this way. The only way is to use localhost. I have searched around but have only found talk about accessing the PC via localhost. I want to access the local android files.
Here is the link to the extension I want to use: [Markdown Viewer](https://addons.mozilla.org/en-US/android/addon/markdown-viewer-chrome/?src=search)<issue_comment>username_1: If you need localhost, than run a web server on your Android and bind it to loopback address. There are many apps on Play Store that can run a web server. I just tested out [HTTP Server powered by Apache](https://play.google.com/store/apps/details?id=com.esminis.server.apache) and it works fine.
Instructions:
1. Install and launch it.
2. Grant Storage permission/access.
3. Download an Apache version. The latest version comes with the app and would be marked with **X** sign next to it. Tap on that entry once to install that version.
4. Afterwards, go to the section *Server address & port* → Change:
* Server Address: 127.0.0.1
* Server Port: 8080 (or anything above 1024)
* Fallback action: Stop
5. Start Server. The server's home directory is `/sdcard/htdocs/public/`, so move your directories under public directory.
6. Setup your addon in Firefox and add `http://127.0.0.1` under Allowed Origins as mentioned [here](https://www.youtube.com/watch?v=c7Lb_Y092ok&feature=youtu.be).
7. Load your file in Firefox by using the address `<http://127.0.0.1:PORT/PATH>. The extension should work now.
Replace PORT with the port you used for the server. Replace PATH with the path of your directory/file relative to public directory. So, if file is under `/sdcard/htdocs/public/testing/readme.md`, the PATH should be `testing/readme.md`.
**Note:** for some reason the addon sometimes load, other times it just shows a blank page when trying to load README.md.
[](https://i.stack.imgur.com/U4pUA.jpg)
Upvotes: 2 <issue_comment>username_2: After playing around a little and trying out some options (especialy from username_1), I decided to actually try to use `file:///`, and to my great surprise it worked, even though the instructions for the add-on says it doesn't.
So to answer the question, you can access the files by using `file:///`. This is much easier then having to install and setup another app.
Upvotes: 2 [selected_answer]<issue_comment>username_3: Well you can do this by simply installing Apache Web Server in [Termux](https://www.google.com/url?sa=t&source=web&rct=j&url=https://play.google.com/store/apps/details%3Fid%3Dcom.termux%26hl%3Den_IN%26referrer%3Dutm_source%253Dgoogle%2526utm_medium%253Dorganic%2526utm_term%253Dtermux%26pcampaignid%3DAPPU_1_Q9VoXPuMKIWLr7wP6q2U-AI&ved=2ahUKEwi7up6B6sHgAhWFxYsBHeoWBS8Q5YQBMAB6BAgKEAI&usg=AOvVaw3rhUSf-YOdA2zJIMxKG6ne). So after installing Termux. Do the following steps:-
1. `apt update && apt upgrade -y`
2. `apt install apache2`
It will install Apache Web Server in your Termux
Then do `apachectl start` it will start the Apache server.
You might see a Warning like this:-
>
> AH00558: httpd: Could not reliably determine the server's fully qualified domain name, using 127.0.0.1. Set the 'ServerName' directive globally to suppress this message
>
>
>
To correct this : just uncomment the line 221:
which says `# ServerName
www.example.com:8080`
And then place your `/sdcard` in your
web root:
(`/data/data/com.termux/files/usr/share/apache2/default-site/htdocs/`)
by doing
`cp -r /sdcard /data/data/com.termux/files/usr/share/apache2/default-site/htdocs/`
Then point to:
`https://127.0.0.1:8080/sdcard` in your browser.
Now, you will be able to access your files in your browser.
Upvotes: 1 |
2019/02/14 | 326 | 1,252 | <issue_start>username_0: [WhatsApp Web](https://web.whatsapp.com/%F0%9F%8C%90) doesn't generate a QR code when opened on Android phone's browsers.
I have already changed my settings to the desktop view, but still, the QR code is not generated.
How to show WhatsApp Web's QR code on Android phone's browsers?<issue_comment>username_1: As far as I know, you can't open WhatsApp Web on a phone as of now.
I have also tried many times before using many different browsers, but no go. Maybe in a later time, some new browser or setting can enable this.
Upvotes: 0 <issue_comment>username_2: If you're using Google Chrome for Android, then go to the menu, find the Desktop Site option, and see if it is already checked or not.
If not, then tap on it. It will be checked & show you the Desktop Version where you'll see the QR Code.
Upvotes: 1 <issue_comment>username_3: If in settings you clear ALL data of the Chrome app and restart Chrome, it works once. Obviously a cookie problem. Solution is to close all tabs, open a new incognito tab, check the Desktop site version from the menu, if not checked, open web.whatsapp.com et voila: the qr code.
Important is to open a NEW tab, when you exit from incognito Chrome deletes all cookies of it!
Upvotes: 0 |
2019/02/15 | 318 | 1,176 | <issue_start>username_0: I acquired a S8+ earlier this week. One thing I noticed is when I enter my PIN, the number will only vanish after I hit the next number in the sequence. At best, a keen observer will only see the last number. At worst, someone will get my PIN by watching over my shoulder, etc..
Is there a fix for this behavior on the phone?<issue_comment>username_1: You need to go to your phone's setting then find security. In security section look for password, find "show password" and turn it off. Sorry if I didn't say the exact place because I don't know how settings look like in your phone. But it's android and it means it should be there.
Upvotes: 0 <issue_comment>username_2: As pointed out by @username_1, there is a security setting in settings for that. Go to Settings > Lock screen and security > Other security settings and change the slider on `Make passwords visible`.
[](https://i.stack.imgur.com/QA4aQ.jpg)
The blue slider should be greyed out to stop it.
[](https://i.stack.imgur.com/6jioS.jpg)
Upvotes: 1 |
2019/02/17 | 1,750 | 5,110 | <issue_start>username_0: I've written a `su.d` script to periodically (every 4 hours) back up data from an app using a looped `sleep` command:
```
#!/system/bin/sh
(
# Wait for boot to complete
until [ "$(getprop sys.boot_completed)" ]
do
sleep 300
done
while true
do
(
new_dir="/storage/emulated/0/temp/AppData/$(date '+%Y%m%d-%H%M')"
mkdir -p $new_dir
cp /data/data/com.example.app/files/*.json $new_dir
echo "$(date '+%F %T') | app data backup OK!" >> /storage/emulated/0/su.d.log
) &
sleep 14400 # 4 hours
done
) &
```
In practice, the script backs up the data only after boot—not every 4 hours.
However, if I enter a remote shell via `adb` and leave it alone, then the data does get backed up every 4 hours.
How can I force the periodic backup without being permanently connected to a PC? (And why isn't it working as expected?)
---
### EDITS
1. @Irfan Latif's comment gave me the idea of trying a different interpreter (busybox ash - `#!/system/xbin/sh`), but the result was the same. I'll try @mirabilos's daemonise suggestion (`sh -T- -c '...'`) next.
2. Tried @mirabilos's daemonise suggestion with the same result: backs up data only after boot.
3. Tried `nohup`:
```
nohup /system/bin/sh -T- -c '...' >/dev/null 2>&1 &
```
Same result.<issue_comment>username_1: If it’s the terminal thing @IrfanLatif wrote, try this:
```
#!/system/bin/sh
# run a command block in the background, detached from all terminals
/system/bin/sh -T- -c '
# Wait for boot to complete
until [ "$(getprop sys.boot_completed)" ]; do
sleep 300
done
while true; do
(
new_dir="/storage/emulated/0/temp/AppData/$(date '\''+%Y%m%d-%H%M'\'')"
mkdir -p "$new_dir"
cp /data/data/com.example.app/files/*.json "$new_dir"
echo "$(date '\''+%F %T'\'') | app data backup OK!" >>/storage/emulated/0/su.d.log
) &
sleep 14400 # 4 hours
done
'
```
The `-T-` option tells the shell to `daemon()`ise, that is, replace stdin, stdout, stderr with `/dev/null` and double-fork the command into the background. Perhaps this helps.
I don’t have an off-hand idea why this would otherwise not work. Full disclosure: I’m the `mksh` developer.
Upvotes: 2 <issue_comment>username_2: Having no success with `sleep`, I ended up going the [`crond`](https://stackoverflow.com/questions/16747880/how-to-use-crontab-in-android) route, as suggested by @Irfan Latif:
* ### `/system/su.d/99crond (-rwx------ root root)`
```
#!/system/bin/sh
# File: 99crond
# Desc: Start cron daemon
(
# Wait for boot to complete
until [ "$(getprop sys.boot_completed)" ]
do
sleep 2
done
# Symlink default cron dir to /data/local/crontabs
mount -o remount,rw /
mkdir -p /var/spool/cron
ln -s /data/local/crontabs /var/spool/cron/crontabs
mount -o remount,ro /
crond -b
echo "$(date '+%F %T') | su.d/99crond OK!" >> /storage/emulated/0/su.d.log
) &
```
* ### `/data/local/crontabs/root (-rw------- root root)`
```
# /data/local/crontabs/root: Android root user crontab
SHELL=/system/bin/sh
PATH=/sbin:/system/bin:/system/xbin:/data/local/bin
#.--------------------------- Minute (M) (0--59)
#| .---------------------- Hour (H) (0--23, 0 = midnight)
#| | .---------------- Day of Month (DoM) (1--31)
#| | | .---------- Month (MON) (1--12) OR jan,feb,mar, ...
#| | | | .---- Day of Week (DoW) (0--6, Sunday = 0 or 7) OR sun,mon,tue, ...
#| | | | |
#M H DoM MON DoW COMMAND
0 */4 * * * /data/local/bin/cron_backup.sh
#
```
**FURTHER READING**
+ [CronHowto](https://help.ubuntu.com/community/CronHowto)
+ [What is the correct syntax to run cron every 4 hours?](https://serverfault.com/questions/39004/what-is-the-correct-syntax-to-run-cron-every-4-hours)
+ [crontab(5) - Linux man page](https://linux.die.net/man/5/crontab)
* ### `/data/local/bin/cron_backup.sh (-rwxr-xr-x root shell)`
```
#!/system/bin/sh
# File: cron_backup.sh
# Desc: Back up app data (periodically with crond)
new_dir="/storage/emulated/0/temp/AppData/$(date '+%Y%m%d-%H%M')"
mkdir -p "$new_dir"
cp /data/data/com.example.app/files/*.json "$new_dir"
echo "$(date '+%F %T') | cron_backup.sh OK!" >> /storage/emulated/0/crond.log
```
---
As pointed out by @Ramast [here](https://stackoverflow.com/a/50773268/9718438), these three files alone were not quite sufficient to get `crond` working: [`/system/etc/passwd`](https://www.cyberciti.biz/faq/understanding-etcpasswd-file-format/) is also required for user *root* to be recognised, so...
```
mount -o remount,rw /system
echo "root:x:0:0:root:/data:/system/bin/sh" >> /system/etc/passwd
chmod 644 /system/etc/passwd
mount -o remount,ro /system
```
After all that is done the data gets backed up periodically as desired.
Upvotes: 2 [selected_answer]<issue_comment>username_3: My comment does not work too. I have understood, `sleep` does not work then screen is off.
You should perhaps keep the system awaked for `sleep` command to be working.
Upvotes: 1 |
2019/02/17 | 653 | 2,589 | <issue_start>username_0: On a Moto G (5) Plus running Android 8.1.0, API 27, I have `Default Print Service` under `Settings > Connected devices > Printing`.
When I click on `Default Print Service` it starts searching for printers, which doesn't return anything, even though my printer and phone are on 192.168.3.x (my home LAN). I can click the 3 dot menu and click `Add printer`, then under *Add manual printer*, I type the IP address of the printer, but the result is immediate:
>
> Printer not supported
>
>
>
The printer is connected to the LAN through a JetDirect 300X (yes, very old technology). But the printer works fine when configured to receive output from Windows machines. On Windows, I put in the IP address, Port Number `9100`, protocol `Raw`. The driver is `HP LaserJet5`, which comes with Windows.
Beyond the default print service, I also tried and HP Print Service that I found on GooglePlay, but I could not find a way to manually add a printer using that.
Is there a way to get my phone to print to this LAN connected printer?<issue_comment>username_1: I have been through a similar struggle, but a Brother HL-2250DN networked printer and Android Pie. Printer is not showing up when searching in Default Print Service.
I can see the Brother printer on the network using Fing, and can ping it by its IP address so it isn't a network problem.
The Brother supports Internet Protocol Printing (IPP) which is apparently supported by Android, but I'm not convinced Brother's implementation is good. It also supports other protocols supported by Android, but enabling them all doesn't make the printer show up.
I discovered if I shared the printer from my Mac, it did then show up in Default Print Service, and I can print from my Android. Unfortunately, sharing from Windows doesn't seem to work in this way.
It would be nice not to need another client powered on in order to print, but that probably requires a printer natively supporting Google Cloud Print or properly implementing an Android supported promoting protocol.
Upvotes: 2 <issue_comment>username_2: Hp Epson all offer apps for print from smartphone. Download those app and connect to printer.
Even you can use usb cable to connect to printer. Otherwise use Wi-Fi or Bluetooth connection.
Use google drive to print a document.
Or on chrome browser go to setting /advance / printing / manage cloud print / add printer.
Upvotes: 0 <issue_comment>username_3: There's an app that I got to work called [Let's Print Droid](https://play.google.com/store/apps/details?id=com.blackspruce.lpd).
Upvotes: 2 |
2019/02/18 | 518 | 2,116 | <issue_start>username_0: I have a Pixel 3 XL with Android P, and for the last 3 days, my phone started vibrating almost every hour, at exactly hh:10m, but without showing any notifications.
After much time, I found some sites indicating how to find the origin of the notification: adding a Settings widget to my Home screen, with a Notification log (otherwise I couldn't find the entire log anywhere else). This revealed the cause is Download Manager, informing me at 3:10 AM that I downloaded a file 3 days ago.
Now, I don't remember if I tried uninstalling it from the phone, but the fact is that there is **no** such app in the Settings -> Apps & notifications menu, so I cannot change its notification settings.
I tried going to the Files app (as some sites mentioned), which states "Notifications: on", but when I select it, the Categories part is empty, so there is nothing to disable.
So, **which app is actually emitting the Download Manager notifications, and how can I disable them?**<issue_comment>username_1: When searching for Download Manager under Settings -> Apps & Notifications you missed listing out the system apps. List them by tapping on the three dots line in the upper right corner and choosing show system apps. Download Manager is a system app and you would find it apps list.
To disable the notifications from that app, tap on that app in the list, then Notifications, and choose an option there that fits your needs.
Upvotes: 4 [selected_answer]<issue_comment>username_2: Just wanted to add an answer for this that I found on [Reddit, in case it disappears](https://www.reddit.com/r/GooglePixel/comments/9sdg2x/ghost_vibrations_due_to_download_manager_on_p3_xl/eaff66v?utm_source=share&utm_medium=web2x).
This issue seemed to be fixed for a few people by doing the following:
Go to settings -> Apps and Notifications -> see all apps -> three dot menu -> show system. Scroll to *Download Manager*. Clear cache, clear storage, force stop, disable, enable.
Of course, your download history will be cleared if you do this, but it's up to you to decide if that's worth it :)
Upvotes: 2 |
2019/02/19 | 417 | 1,433 | <issue_start>username_0: The Sent folders in Gmail on both my Galaxy phone and my Nexus tablet are suddenly showing only "me" as the sender.
I want to quickly see who I sent them to without having to open every one to look at the details.
Is it a bug? Otherwise, is it possible to fix/workaround this?<issue_comment>username_1: It is a known issue. You can use the app feedback to send a report to Google. To my knowledge, there is no fix. You will just have to live with it until they fix it, which considering the post date on some of the places that others have complained, it might not get fixed anytime soon.
Other places this issue has been posted at:
[Sent folder showing sender instead of recipient - 9/12/18](https://productforums.google.com/forum/#!msg/gmail/gwGwhNHYmC0/gvv4qHQcAwAJ)
[Sent Items Show Sender Not Recipient In Sent Folder - 3/17/17](https://productforums.google.com/forum/#!msg/gmail/n1NUD4ybe_I/l86CJV04BQAJ)
[Showing recipient name in the sent label/folder in Gmail on Android - 2/4/14](https://productforums.google.com/forum/#!msg/gmail/W7aHMLzFE_8/C6sGu9YZPZgJ)
Upvotes: 2 <issue_comment>username_2: Very annoying problem. I noticed it recently. Until Google fix it, one solution is to use another mailbox company who isn't plagued by this problem (Yahoo, for instance) and switch your gmail account there. Not perfect but if enough people do it, maybe Google will start working on it.
Upvotes: 0 |
2019/02/20 | 400 | 1,414 | <issue_start>username_0: I have doubt that my phone has been unlocked by someone from its service center but when I saw my phone and I found the same lock which was earlier so I want to ask that is it possible that people at service center can recover the password after unlocking it?<issue_comment>username_1: It is a known issue. You can use the app feedback to send a report to Google. To my knowledge, there is no fix. You will just have to live with it until they fix it, which considering the post date on some of the places that others have complained, it might not get fixed anytime soon.
Other places this issue has been posted at:
[Sent folder showing sender instead of recipient - 9/12/18](https://productforums.google.com/forum/#!msg/gmail/gwGwhNHYmC0/gvv4qHQcAwAJ)
[Sent Items Show Sender Not Recipient In Sent Folder - 3/17/17](https://productforums.google.com/forum/#!msg/gmail/n1NUD4ybe_I/l86CJV04BQAJ)
[Showing recipient name in the sent label/folder in Gmail on Android - 2/4/14](https://productforums.google.com/forum/#!msg/gmail/W7aHMLzFE_8/C6sGu9YZPZgJ)
Upvotes: 2 <issue_comment>username_2: Very annoying problem. I noticed it recently. Until Google fix it, one solution is to use another mailbox company who isn't plagued by this problem (Yahoo, for instance) and switch your gmail account there. Not perfect but if enough people do it, maybe Google will start working on it.
Upvotes: 0 |
2019/02/20 | 2,420 | 9,243 | <issue_start>username_0: While downloading Android apps, sometimes I have seen apps for `armeabi-v7a` and `x86` architecture.
I read some references for `armeabi-v7a` and `x86` architecture. However, at the end, I couldn't finalize which mobile processors and architectures belong to `armeabi-v7a` and which belong to `x86`.
As per my knowledge, mobile processors commonly used in Android devices are Snapdragon (by Qualcomm), MediaTek, Exynos (by Samsung) and Kirin (by Huawei). Almost all brands explain specifications of a smartphone and almost all specifications say mobile processor is 64-bit or not. Should I conclude that 64-bit of mobile processors (Snapdragon, MediaTek, Exynos or Kirin) belong to ARM architecture?
**EDIT:**
To understand which SoC supports `armeabi-v7a` Android apk and which SoC supports `x86` Android apk, I have gone through the specifications of `MediaTek Helio X30` and `Snapdragon 855`. The specification of Helio X30 says, it supports dual-core ARM Cortex-A73 and quad-core ARM Cortex-A53 but ARM is not mentioned anywhere in the specification of Snapdragon 855. So should I conclude that Helio X30 will support `armeabi-v7a` Android apps and Snapdragon 855 will not support `armeabi-v7a` apps?
Please clarify my confusions.<issue_comment>username_1: Here are my incomplete summarized notes on the subject, but enough to answer your question.
**INSTRUCTION SET:**
Processors are made of semiconductor dies, usually electronic-grade mono-crystalline silicon. They don't know English or any other human language, they understand only `0` and `1`. So the designer of processor tells us in what sequence of zero's and one's we can instruct that specific processor. This numerical language of instructions is standardized as `Machine Language` and the set of machine instructions is called `Instruction Set`. A processor can act upon only specific type(s) of instruction set.
Instruction sets can be 8/16/32/64-bit (defines how many instructions a processor can process at a time), last 2 being the common one these days.
**LOW LEVEL LANGUAGES:**
But writing program code (instructions) directly in machine language (the executable file) is near to impossible because it will take years to write and debug a reasonably larger program (that we can write in a few hours these days). So to put programmers at ease, Assembly Language was developed, still a processor-specific language but relatively easy to understand. Code written in Assembly Language is converted into machine code by `Assembler` - a program written in Machine language. Both of these are called Low Level languages.
**HIGH LEVEL LANGUAGES:**
To further reduce human effort in communicating with hardware, high level languages were developed which are not bound to a specific instruction set (denoting a specific architecture). These are identical to human languages, hence easy to write, understand, debug and apply to multiple architectures. Code written in high level language is converted into low level language by `Compiler` - a program written in low level language. One of the most commonly used high level languages is C. But sometimes code is not pre-compiled to machine code, instead directly executed (or compiled during execution) by `Interpreter`. Java is one of such *"write once, run anywhere" (WORA)* languages which is compiled to `byte-code` and then interpreted by `Virtual Machine` - again a compiled program.
**APPLICATION BINARY INTERFACE (ABI):**
Since an architecture-independent program (code) can be converted to architecture-dependent code for any processor, it's the duty of compiler to take care of all the requirements of a specific architecture. That's what Application Binary Interface (ABI) defines. In simple terms, an ABI represents one or more specific architectures. Further details on Embedded ABIs require an insight into stages of Assembling and Compiling; object code, Executable and Linkable Format (ELF), static (archiving) and dynamic linking of libraries etc.
**Now coming to your question:**
**WHAT ARE `x86` AND `ARM`?**
x86 is a family of instruction sets, mainly developed and manufactured by Intel and AMD. ARM is another family, designed by a single entity `ARM Holdings` and being licensed to many embedded solution manufacturers including Qualcomm, Mediatek, Samsung and Huawei. Snapdragon, Exynos and Kirin are their brand names. They are not processor manufacturers but they have licenses to include ARM processors with their own System on Chip (SoC) circuits.
**WHAT IS SoC?**
A System on Chip (SoC) is a small circuit that includes processors along with other components such as GPU, RAM, Flash/eMMC (equivalent of HDD or SSD), WiFi and bluetooth module, USB connectivity, UART (serial ports), JTAG (a very lower level serial communication protocol), GPS, modems (for cellular connectivity) and possibly others.
**ARM ABIs:**
Though the major part of Android apps is written in Java, one can program in native languages like C and C++, which needs to be compiled. Android provides its own Native Development Kit ([NDK](https://developer.android.com/ndk/)) including (libraries, header files and) a compiler that can compile code for multiple ABIs including `armeabi-v7a` (`armhf` in Linux community) and `x86`.
Android (Java) app itself isn't specific to an architecture. During app build process Android SDK converts Java source to bytecode (`.class` files) and then compiles it to **D**alvik **EX**ecutable (`.dex`) file which is packed with `.apk` files. This Dalvik bytecode is interpreted and run in a separate instance of `Dalvik Virtual Machine`/`ART` for every app by a process named `Zygote`. Or it can be permanently compiled to native machine code (`.odex` or `.oat`) according to the architecture of the device during installation of app (or [later](https://source.android.com/devices/tech/dalvik/configure#how_art_works)). But if the apk (zip) file additionally contains ELF binaries/libraries, those are architecture-specific. Developers usually include native libraries for multiple architectures in their apps.
Native applications/programs/binaries/executable/libraries built with compiler suites targeting `ARM Embedded ABI v7a` ([armeabi-v7a](https://developer.android.com/ndk/guides/abis#v7a)) can be run on `Application profile of 7th version of ARM processors` ([Armv7-A](https://developer.arm.com/products/architecture/cpu-architecture/a-profile)).
Code compiled with [toolchains](https://developer.arm.com/tools-and-software/open-source-software/developer-tools/gnu-toolchain/gnu-a) provided by other vendors, targeting same architecture (though with different ABI names) should also run on Android devices.
**32-BIT VS. 64-BIT:**
ARM processor can be 32-bit or 64-bit. It depends on SoC manufacturers what they want to build with their embedded system e.g. Snapdragon can be 32-bit or 64-bit. 32-bit ARM processors were improved for performance and new capabilities were added from version 2 to version 7. 64-bit support was introduced in ARMv8.
To find out if a device is 32-bit or 64-bit, you need to check the specifications of its SoC and then of its processor. For instance SoC in [Redmi Note 4](https://m.gsmarena.com/xiaomi_redmi_note_4-8531.php) is [Qualcomm Snapdragon 625 (MSM 8953)](https://www.qualcomm.com/products/snapdragon-625-mobile-platform), which contains processor `Cortex-A53`. It's evident from [technical specifications of Cortex-53](https://developer.arm.com/products/processors/cortex-a/cortex-a53) that it's based on `ARMv8` architecture, which can process 2 types of Instruction Sets: `aarch64` (which Android's [arm64-v8a](https://developer.android.com/ndk/guides/abis#arm64-v8a) ABI uses) and `aarch32` (which Android's [armeabi-v7a](https://developer.android.com/ndk/guides/abis#v7a) ABI uses i.e. backward compatible with `ARMv7`).
So it can run binaries/libraries compiled for both of these ABIs, but not for [x86](https://developer.android.com/ndk/guides/abis#x86) or `armeabi` (called [armel](https://lists.ubuntu.com/archives/ubuntu-devel/2012-November/036106.html) in Linux community; which targeted architecture `ARMv5/v6`, and was [removed](https://developer.android.com/ndk/downloads/revision_history) in `NDK r17`).
---
**RELATED:** [Could a 64-bit hardware device run a 32-bit Android version?](https://android.stackexchange.com/a/217477/218526)
Upvotes: 3 <issue_comment>username_2: The number of hardware devices that use x86 was never very high. Some years ago Intel had some x86 processors (Intel Atom) that were used in some Android tablets (e.g. Samsung Galaxy Tab 10.3).
However those tablets never reached a high volume on the market. And I am not sure if there is any x86 Smartphone or tablet on the market that still use an x86 CPU.
However there is one very common use case where you encounter an "x86 Android device": Android Emulators like the one contained in Android SDK or other emulators like Genymotion, BlueStacks, ...
As the PC running the emulator typically uses a x86 CPU emulators that run an x86 image (instead of an ARMv7 or ARMv8/ARM64 based image) can make use of the CPU integrated virtualization techniques which result in a much higher speed.
Upvotes: 2 |
2019/02/21 | 3,640 | 12,167 | <issue_start>username_0: I factory reset my rooted Android M phone but now I realize that there was a file in the ***/data*** directory which I need.
Is it possible to create an image (.img or something similar) of the /data partition so that I could run some recovery software for ext4 on that image? I have a little knowledge about ADB.<issue_comment>username_1: Where exactly in DATA ?
Is it in the emulated SD Card ?
If it's in the emulated SD Card, you could remove your external SD Card and mount the device under USB Mass Storage mode... You can the use free recovery software like Recuva [ccleaner.com/recuva](https://www.ccleaner.com/recuva)
However if your file is not in the emulated SD Card, you'd need to backup the Data partition as you mentioned.
To do that, you can either use the device itself to run a DD or CAT command to write the data to a .img file on your SD Card..
**On Device**
Using Terminal Emulator
* locate your -by-name partition directory
getprop ro.frp.pst
( This will get the /dev/block/platform/DEVICE/by-name directory for frp - change the name to data )
You can just use /data otherwise.
```
dd if=/data of=/sdcard/data.img
```
If = Input file - Of = Output file
You could also use ADB
**Via Computer**
* Install ADB ( not the entire SDK but just ADB )
Using command prompts or power shell
```
adb shell dd if=/data of=/sdcard/data.img
```
You may need to locate your correct directory.
Then you can Mount the .img on a PC and do the recovery.. I'm not sure how to mount the .img file if the partition is ext4 so that's as far as this answer goes.
You can alternatively use an App called Disk Digger ..
It has the capability to scan the data partition live, ..
Root Access is needed
Upvotes: -1 <issue_comment>username_2: First to clarify `root` and `data`:
* Root directory `/` of Android devices is a read-only pseudo (temporary) filesystem (`rootfs`) that lives in RAM and is vanished when device is powered off. When device is powered on, it's again extracted from `initramfs` that lives in `boot` partition along with kernel.
On newer devices with [system-as-root](https://source.android.com/devices/bootloader/system-as-root), `system` partition is mounted at root `/`.
* `/data` directory is a mountpoint, where largest partition, usually named `userdata` is mounted. This partition contains all user apps, their data (settings, databases, caches, temporary files etc.), system apps' data and all other configurations we make through `Settings`. `/data/media/0` is the directory that we see as `/sdcard` or `/storage/emulated/0` through [emulation](https://android.stackexchange.com/a/205494/218526).
>
> ... there was a file in the /data directory which I need. Is it possible to create an image (.img or something similar) of the root directory ...
>
>
>
If a file is deleted from `/data`, you need to create a dump of `data` partition, not that of root directory.
You can do that in multiple ways described below. All require **root access**.
---
***But first of all, see [this answer](https://android.stackexchange.com/a/214496/218526) to make sure your data is recoverable.***
In short, recovery is more or less possible only if ([1](https://recoverhdd.com/blog/smartphones-and-data-recovery.html)):
* Your deleted data hasn't been `TRIM`med or `discard`ed.
* And you haven't done a factory reset on encrypted `/data` partition.
What you should do immediately:
* Switch off phone to make sure the deleted data isn't overwritten.
* Don't install data recovery apps on device, it can do more harm than good.
* Mount the filesystem (if required) in recovery mode (or on PC) only with `ro,nodiscard` options.
---
FINDING BLOCK DEVICE:
---------------------
In order to access the `userdata` partition, you need to find its block device. If you have root access, you can do so from mounted partitions:
```
~# mount | grep 'on /data'
/dev/block/mmcblk0p... on /data type f2fs (rw,nosuid,nodev,...)
```
On Qualcomm devices, it's located at `/dev/block/bootdevice/by-name/userdata` (symlink). For MediaTek (`MTK`) and other SoCs, the path is slightly different. You can find all block devices or `by-name` directory using `find` command:
```
~# find /dev -type b
~# find /dev -type d -name 'by-name'
```
Or by hit and trial:
```
~# ls -d /dev/*/by-name
~# ls -d /dev/*/*/by-name
~# ls -d /dev/*/*/*/by-name
```
**Note:**
* If your `/data` partition has [Full Disk Encryption (FDE)](https://source.android.com/security/encryption/full-disk) you need to decrypt it before exposing to UMS because decrypting Android's FDE on PC is near to impossible in most cases due to hardware-backed encryption. See some relevant explanation in my answer to [Cross-platform compatible encryption of SD-card for Android](https://android.stackexchange.com/questions/215491). [`dm-crypt`](https://gitlab.com/cryptsetup/cryptsetup/wikis/DMCrypt) decrypts the block device to [`/dev/block/dm-[N]`](https://android.googlesource.com/platform/system/vold/+/refs/tags/android-9.0.0_r45/MetadataCrypt.cpp#161). Use this instead of `userdata`.
* To prevent any data loss, it's recommended to create a dump when the partition is not mounted i.e. in recovery mode.
CREATING PARTITION DUMP:
------------------------
**DISK DUMP (`dd`)**
Once the block device is known, you can use the `dd` command from:
* ADB shell (OS or custom recovery)
* A terminal emulator app like Termux
Since the `userdata` partition is the largest partition (all other partitions are hardly using 5GB out of total storage), you can't dump it to your internal memory. An external SD card with larger capacity is needed.
To create the dump:
```
~# dd if=/dev/block/bootdevice/by-name/userdata of=/path/to/ext_sdcard/data.img
```
**ADB**
If you don't want to use an external SD card, you can also dump the partition directly to PC. First you need a working `adb` setup, running as root. Then it can be used in multiple ways:
```
~$ adb exec-out dd if=/dev/block/bootdevice/by-name/userdata > data.img
```
\* Make sure your `adb` binary (on Windows or Linux) supports [exec-out](https://android.googlesource.com/platform/system/core/+/refs/tags/android-9.0.0_r45/adb/commandline.cpp#1553).
But you may end up with corrupted data when writing a whole large-sized partition to `STDOUT` of terminal because there are issues with line break types (`CR` and `LF`). Also `STDOUT` or `STDERR` from the programs involved could possibly be added to the file if not directed to `/dev/null`. Even a single wrong byte may render filesystems un-mountable. See [this question](https://stackoverflow.com/questions/13578416/read-binary-stdout-data-from-adb-shell) for reference.
To avoid unwanted characters, use `stty raw` and/or `dos2unix`:
```
~$ adb shell 'stty raw && dd if=/dev/block/bootdevice/by-name/userdata' > data.img
```
But the most straightforward way is:
```
~$ adb pull /dev/block/bootdevice/by-name/userdata data.img
```
See [this answer](https://stackoverflow.com/q/26967862/9165920) for more details.
**STREAM OVER TCP**
To avoid the terminal-related complications described above or if for some reason [`adbd` cannot be run as root](https://android.stackexchange.com/a/213429/218526), it's also possible to create a minimal TCP server for data transfer. Forward the port from phone to PC and run a `netcat` TCP server in listening mode:
```
~$ adb reverse tcp:1024 tcp:1024
~$ nc -v -l -p 1024 data.img
```
On phone:
```
~# cat /dev/block/bootdevice/by-name/userdata | busybox nc 127.0.0.1 1024
```
**USB TETHERING (RNDIS)**
To avoid using ADB at all, USB tethering can be used to provide network connectivity:
```
~# cd /sys/class/android_usb/android0
~# echo -n 0 >enable
~# echo -n rndis,adb >functions
~# echo -n 1 >enable
```
\* You may also change other files like `{iSerial,iProduct,iManufacturer}` and `f_rndis/{ethaddr,manufacturer,wceis,rndis_transports,max_pkt_per_xfer}` in the above directory if required.
\* On new devices you might need to use `/config` interfaces instead of `/sys`. Some relevant hints [here](https://android.stackexchange.com/a/205559/218526).
Add IP address:
```
~# busybox ip rule add lookup main
~# busybox ip address add 192.168.1.1/30 dev rndis0
~# busybox ip link set rndis0 up
```
On PC add IP manually (there's no DHCP server):
```
~$ sudo ip address add 192.168.1.2/30 dev usb0
~$ nc -v -l -p 1024 data.img
```
On phone:
```
~# busybox nc 192.168.1.2 1024
```
In the same way it's also possible to use `rclone rcat` to transfer the dump over WebDAV or FTP or SFTP. See [How to stream an encrypted backup of the entire device to remote host?](https://android.stackexchange.com/a/219261/218526)
**USB MASS STORAGE (UMS)**
This method is useful if you don't want to create a dump of the partition, but instead access partition directly on PC. See my answer to [Why can't I see Android storage as a partition on PC?](https://android.stackexchange.com/questions/205251) for methods on how to enable UMS thorough `/sys` or `/config` interfaces.
Once done, `userdata` will appear as a partition on Linux PC just as we connect a USB drive. If `/dev/sda` is the hard disk drive, usually `/dev/sdb` will be the `userdata` partition. You can find that by using `blkid` command:
```
~# blkid | grep userdata
/dev/sdb: PARTLABEL="userdata" PARTUUID="..."
```
You can run recovery programs directly on the block device or mount the filesystem (if needed) or may also create a dump.
HOW TO RECOVER DATA?
--------------------
There are basically two ways to recover deleted data as mentioned in [this answer](https://android.stackexchange.com/a/214496/218526): carving method and through the filesystem.
Recovery tools mostly don't need mounting filesystems but if it's required, it needs to be done on Linux PC because Windows doesn't support `ext4` or `f2fs` natively, hence the tools aren't easily available AFAIK.
*If anyone has been able to successfully make block/journal level access to Linux/Android filesystem for data recovery on Windows through [Ext3Fsd](https://github.com/matt-wu/Ext3Fsd) or any other driver, let me know so that I can update the answer.*
On Linux you can use tools like [extundelete](http://extundelete.sourceforge.net/) to recover data using filesystem journal:
```
~# extundelete --restore-all data.img
```
Or to recover data directly with UMS:
```
~# extundelete --restore-all /dev/sdb
```
Since you have done a factory reset which erases the filesystem, consider carving method using tools like [TestDisk](https://www.cgsecurity.org/wiki/TestDisk) or `scalpel`:
```
~# testdisk data.img
```
In the same way you can use any other data recovery tools. See the ArchWiki on [File Recovery](https://wiki.archlinux.org/index.php/File_recovery#List_of_utilities) for more details.
---
**RELATED:**
* [How to get data off a completely dead Android phone?](https://android.stackexchange.com/a/215445/218526)
* [How to take full image backup of eMMC?](https://android.stackexchange.com/a/203913/218526)
* [Why can't I see Android storage as a partition on PC?](https://android.stackexchange.com/a/205559/218526)
* [Is there any way to recover data from 2nd SD partition?](https://android.stackexchange.com/a/190852/218526)
* [How disk space is used on Android device?](https://android.stackexchange.com/a/216132/218526)
Upvotes: 6 [selected_answer]<issue_comment>username_3: Based on this question I did use the method described above:
```
~$ adb exec-out dd if=/dev/block/bootdevice/by-name/userdata > data.img
```
But there is an issue, the image will be encrypted if the data is not decrypted first. File and folder names will be gibberish.
The only way I got decrypted data was via TWRP, because it asks for decryption password on start.
And then I was able to copy the data via mtp.
I know this may not seem on topic on how to recover files, but this question is getting a lot of traffic and the proposed solution has a drawback and I'm not allowed to comment right now.
Edit: The original answer does how a way to access the decrypted information that I had not seen.
Upvotes: 0 |
2019/02/22 | 459 | 1,929 | <issue_start>username_0: I have a Samsung J3 and recently I notice some irregular 'blackouts' in the mobile connection. Suddenly, the connection is completely interrupted, then the connection is really slow (like 1.9 Mbps in the center of Geneva!), and then it works just fine (with download speeds well above 10 Mbps).
I restarted the phone, select 'Select automatically' in the available network settings, and talked to the provider. They admitted there was a network problem, but I am using it at two very different places.
So how to find out if it is my phone or the network?<issue_comment>username_1: Tracing networking problems in mobile networks is pretty complicated.
Therefore from your perspective there is only one way to find out if it is your phone or not: Use a different phone (different model preferred) using your SIM card at the same places.
If you encounter the same performance drops you know that it is not your phone. If not it may be your phone but that is not for sure.
Upvotes: 2 <issue_comment>username_2: I don't have that model device accessible to verify the accuracy/currency, but here is a site that specifies test codes for [Samsung J3](https://www.hardreset.info/devices/samsung/samsung-j330-galaxy-j3-2017/codes/). In particular, I believe #5 & #6 would offer diagnostic data in regards to cellular network (YMMV based on carrier / geography).
That said, what you are able to interpret from said data would be another story all together. As @username_1 suggests, it may be simpler to first eliminate possible scenarios using other devices you may have available. There may also be applications that can give more verbose information than the test menu cited.
Here's another resource for you to review in regards to your network settings configuration as specific to your mobile [carrier](https://www.imei.info/carriers/).
I hope that helps, and good luck!
Upvotes: 2 [selected_answer] |
2019/02/23 | 424 | 1,833 | <issue_start>username_0: There are many tasks I do repetitively, like connect a Bluetooth headset or connect to a hotspot. How do I typically "code" this? How do I execute?
Is there a consistent library or package manager, or do I have to collect from everywhere?
Any community projects?
Anything that works consistently over several platforms?
Is there some framework to execute over several devices?
(In the Bluetooth example I might want to disconnect other devices at the same time)<issue_comment>username_1: Tracing networking problems in mobile networks is pretty complicated.
Therefore from your perspective there is only one way to find out if it is your phone or not: Use a different phone (different model preferred) using your SIM card at the same places.
If you encounter the same performance drops you know that it is not your phone. If not it may be your phone but that is not for sure.
Upvotes: 2 <issue_comment>username_2: I don't have that model device accessible to verify the accuracy/currency, but here is a site that specifies test codes for [Samsung J3](https://www.hardreset.info/devices/samsung/samsung-j330-galaxy-j3-2017/codes/). In particular, I believe #5 & #6 would offer diagnostic data in regards to cellular network (YMMV based on carrier / geography).
That said, what you are able to interpret from said data would be another story all together. As @username_1 suggests, it may be simpler to first eliminate possible scenarios using other devices you may have available. There may also be applications that can give more verbose information than the test menu cited.
Here's another resource for you to review in regards to your network settings configuration as specific to your mobile [carrier](https://www.imei.info/carriers/).
I hope that helps, and good luck!
Upvotes: 2 [selected_answer] |
2019/02/23 | 903 | 2,721 | <issue_start>username_0: How do I change the modified date of a file, specifically PNGs, on Android without root?
Total Commander failed to do it with a permission error `Access Denied`.<issue_comment>username_1: **SHORT ANSWER:**
You can simply `touch` the file or provide any time and date in past or future:
```
~$ touch /sdcard/test_file
~# debugfs -R 'stat media/0/test_file' /dev/block/bootdevice/by-name/userdata | grep crtime:
crtime: 0x5c926e0d:2d61b810 -- Wed Mar 20 21:45:01 2019
~$ touch -d '2009-2-13 14:32:55' /sdcard/test_file
~$ stat /sdcard/test_file
[...]
Access: 2009-02-13 14:32:55.000000000 +0000
Modify: 2009-02-13 14:32:55.000000000 +0000
Change: 2019-03-20 21:45:38.067021025 +0000
Birth: -
```
Some file explorers like MiXplorer also have options to change Modified Time.
You don't need super user privileges to change `mtime`. Only the file should be writeable by your user ID (app in case of Android).
**DETAILS:**
`touch` uses [utimensat](http://man7.org/linux/man-pages/man2/utimensat.2.html) to update time of access (`atime`) and modification (`mtime`) provided that filesystem supports the timestamps be saved in [inode](http://man7.org/linux/man-pages/man7/inode.7.html) along with file's data.
Birth/creation time (`btime`/`crtime`) - a part of [extended file status](http://man7.org/linux/man-pages/man2/statx.2.html) which requires at least 256bytes inode size - is not standardized, thus rarely supported by filesystems. In above commands `debugfs` is used with root privileges to get creation time of file on `ext4` because some `stat` binaries aren't updated to use [statx](http://man7.org/linux/man-pages/man2/statx.2.html) yet (requires at least Linux Kernel 4.11), so `btime` is empty.
Both `btime` and change time (`ctime`; inode/metadata modification time) are supposed to be handled by system, not simply changeable by user.
Since Android is based on Linux, it inherits the concept of inode and timestamps from UNIX world. Common Linux filesystems like `ext4` and `f2fs` support timestamps, including the [emulated filesystems](https://android.stackexchange.com/a/205494/218526) used by Android on SD cards. Other OS and filesystems have similar concept with slightly different terminologies. E.g. on Windows' `NTFS`, [`MFT`](https://whereismydata.wordpress.com/2008/08/11/file-system-mft-technical/)`Entry Modified` time is very identical to UNIX's `ctime`.
Upvotes: 3 <issue_comment>username_2: Total Commander - file system - mark one or more files - long touch - properties - change the displayed date to what you need (there is also a "Now" button) - Save - voila !
BTW Total Commander is an excellent tool - in all areas and on all platforms !
Upvotes: 1 |
2019/02/22 | 264 | 972 | <issue_start>username_0: In Android, Gmail released an [update](https://www.dailymail.co.uk/sciencetech/article-6730409/Gmails-bright-white-redesign-Android-users-use-Googles-revamped-email-app.html), and it asked me for Default, Comfortable or Compact appearance.
I chose the Default, ofc I don't like it, I miss the old red bar already..
Now I want to try the Comfortable appearance in the Gmail application. How to?<issue_comment>username_1: Click the gear icon in the top right corner, select "display density," then select your choice. By the way, I think "compact" is the most space efficient and most like the original gmail display.
Upvotes: 2 <issue_comment>username_1: For the Android App, click the 3 horizontal bars (top left) -> scroll down to Settings -> General Settings (the top option) -> Conversation List Density (Default / Comfortable / Compact.)
It took me forever to finally find this setting! It was driving me crazy.
Upvotes: 3 [selected_answer] |
2019/02/25 | 486 | 1,764 | <issue_start>username_0: I lock my screen rotation to portrait, and I have my navigation bar hidden to provide more screen real estate.
With the navigation bar hidden, I have come to experience the rotation icon appear in the bottom right corner just above the virtual keyboard enter/submit key. As it would typically be displayed in the navigation bar, it has its separate icon when it is hidden.
This is a problem because even when the icon is invisible, it blocks the touch to the vk key, albeit a tiny sliver of the edge still able to be pressed.
Is there a way that I can retain the hidden navigation bar and disable the rotation icon?
Additional information: My phone is stock, not rooted.
**Edit**
As of software update G965FXXU2CSB3/G965FOXM2CSB3/G965FXXU2CSB3, this is no longer an issue. However, I would still like to know how to disable the icon from appearing.
[](https://i.stack.imgur.com/AF2Cm.jpg)<issue_comment>username_1: Unless Google or Samsung bring out an update to give you the option to disable it, the icon can't be disabled.
Upvotes: -1 <issue_comment>username_2: There is indeed a way to disable it by ADB.
* Setup ADB on your PC/Mac.
* Enable USB debugging on your android
* Connect your device to the PC/Mac
* Run following command in shell/terminal:
>
> adb shell settings put secure show\_rotation\_suggestions 0
>
>
>
Upvotes: 4 [selected_answer]<issue_comment>username_3: Or you could do it the easy way.... I just figured it out with a lightbulb moment turning my flashlight brightness down


Upvotes: 3 |
2019/02/25 | 293 | 1,052 | <issue_start>username_0: i have a Huawei Harman/kardon M2-802L tablet. i want to make calls using sim card. there was no default calling app. i downloaded one, but the device showing :"your device is unable to make calls" when i try to open it.
anyone please advice. thanks in advance<issue_comment>username_1: Unless Google or Samsung bring out an update to give you the option to disable it, the icon can't be disabled.
Upvotes: -1 <issue_comment>username_2: There is indeed a way to disable it by ADB.
* Setup ADB on your PC/Mac.
* Enable USB debugging on your android
* Connect your device to the PC/Mac
* Run following command in shell/terminal:
>
> adb shell settings put secure show\_rotation\_suggestions 0
>
>
>
Upvotes: 4 [selected_answer]<issue_comment>username_3: Or you could do it the easy way.... I just figured it out with a lightbulb moment turning my flashlight brightness down


Upvotes: 3 |
2019/02/26 | 343 | 1,313 | <issue_start>username_0: I have Wiko U Pulse Lite running on Android 7.0 Nougat. I would like to use Google Keep or Google Drive in split-window mode with the Phone application. This is because every time I perform a banking operation, I need to copy numbers and passwords from one window to the other, otherwise I need to recur to open and paper to use as my buffer for storing these data.
Is there a reason why the Phone application with its dialer keypad won't work in split-window mode? Is this fixed in later version of Google's Android OS?<issue_comment>username_1: Unless Google or Samsung bring out an update to give you the option to disable it, the icon can't be disabled.
Upvotes: -1 <issue_comment>username_2: There is indeed a way to disable it by ADB.
* Setup ADB on your PC/Mac.
* Enable USB debugging on your android
* Connect your device to the PC/Mac
* Run following command in shell/terminal:
>
> adb shell settings put secure show\_rotation\_suggestions 0
>
>
>
Upvotes: 4 [selected_answer]<issue_comment>username_3: Or you could do it the easy way.... I just figured it out with a lightbulb moment turning my flashlight brightness down


Upvotes: 3 |
2019/02/27 | 399 | 1,657 | <issue_start>username_0: I installed some custom notifications sounds on my BLU Advance 5.5 running Android 6.0 a few months ago and they've worked fine for a really long time until when recently all my notification sounds went back to default, so I try to change back to any of the old custom sounds that I'd been using, but they won't show up in the options. My custom ringtone sounds didn't change and still work fine, but my notification sounds just won't show up.
I've tried rebooting, renaming, changing the location of the file(s), and clearing the cache, but nothing works.
I don't know what to do anymore.<issue_comment>username_1: Any sound files stored in a folder named
```
Notifications
```
will be found by the system and displayed as an option for a Notification sound
Any sound files stored in a folder named
```
Ringtones
```
will be found by the system and displayed as an option for a Ringtone sound
Note that it doesn't matter where in the system your `Notifications` or `Ringtones` folders are stored, Android will still find them. Notifications in `/media/notifications` will be found, and so will sound files in `/Music/Notifications`. You can also have more than one `Notifications` or `Ringtones` folders.
Upvotes: 0 <issue_comment>username_2: The fix for me was to rename the custom sound files (the .mp3s) and make sure they started with Capital letters. Seems crazy I know, but the one thing I noticed that was different about my custom files and the stock ones was that mine weren't capitalized. As soon as I changed that, they all showed up and I was able to select them. My phone is a Samsung Galaxy A51.
Upvotes: 1 |
2019/02/28 | 1,056 | 3,984 | <issue_start>username_0: I can´t remember my Samsung Galaxy J7´s phone password and I have to reset it. But I don't want to lose all of my pictures and etc. How can I still have all of that stuff without downloading it or getting on my phone?<issue_comment>username_1: There are a couple of ways to do so...
1. First, if your phone has a Google account logged in go to Android Device Manager's Website and Login with your Google Account...You'll find an option to change the device's lock code along with several other options....IF this fails...as sometimes Google denies you the privilege to change the passcode in case your Google account shower suspicious activity by saying that the phone is already protected ....go to method 2
2. IF YOU HAD A SAMSUNG account logged in on the phone go to [Find my Device](https://findmymobile.samsung.com/#home "Samsung's Find My Device Service") and Log into the account which was on the phone...this will Surely work and get you an Option to Change your phone's Password/Pattern
Upvotes: 0 <issue_comment>username_2: •Note this is an advance task
•This is created by me and I've tested this many times
1. First of all if you have enabled oem unlocking you must have heard custom recovery and twrp is one of them.
Install a twrp using Odin you can go here [Samsung j7 pro](https://www.google.com/amp/s/forum.xda-developers.com/galaxy-j7-2017/development/recovery-t-r-p-3-2-1-0-t3751717/amp/) or [Samsung j700t](https://www.google.com/amp/s/forum.xda-developers.com/galaxy-j7/j700t-development/recovery-galaxy-j7-sm-j700t-t1-t3560342/amp/) here. If you're phone model is not in the list then tell me your phone model or just search on your own.
After installing twrp power off your phone then press **volume up** + **power \*\* + \*\*Home** button together then you will be booted to twrp to delete your passcode goto advance > file manager then navigate to /data/system/ and delete all .key files and also locksettings.db after doing those just reboot to system then the passcode/pattern/pin is gone
2. You need to have your stock boot where its stored on your stock firmware download your stock firmware from [here](https://updato.com/firmware-archive-select-model) or [here](https://www.sammobile.com/firmwares/). After that extract the firmware, you should get something like AP, PDA, CSC open the AP using winrar or other archive tools if there's no AP then open PDA find boot.img then extract it. After getting your stock boot you need to download assayyed kitchen [here](https://www.google.com/amp/s/forum.xda-developers.com/chef-central/android/best-android-roms-editor-assayyedkitchen-t3410545/amp/). After download extract it to some folder then open assayyed kitchen.exe after that it should create work folders, put your stock boot on the work folder then goto assayyed kitchen then type 12 then 1 to unpackimg after that you need to type the number of the -enable USB debugging by default (I forgot the number) then after that recompile the boot press 2 and enter .
Copy your moddedboot then create an archive to it using any archive tools archive it as an .tar file after that copy he boot.img.tar to the desktop then power off your phone after powering off hold **volume down** + **Power button** + **Home button** together then your phone will be booted to download mode after that open Odin choose PDA/ap choose the stockmoddedboot.img.tar then click flash after that connect your phone to the computer then the flashing process will continue.
After installing the stockmoddedboot power on your phone then connect the phone to PC then type `adb devices`, there would be a information that will pop up to your phone just click grant/accept then type `adb shell rm /data/system/gesture.key` then `adb reboot`
Your phone would be booted without a passcode/pattern/pin
P.S. if anyone try removing there frp you can use the method 2 but you need to download some software to remove frp using adb and fastboot
Upvotes: 1 |
2019/03/02 | 645 | 2,367 | <issue_start>username_0: Can anyone identify this icon?

here again with context:
[](https://i.stack.imgur.com/TqhOn.png)
I can't find anything online and no one at Verizon or Kyocera can identify it either. I need help figuring out what this icon is and what it means.
I have contacted the Verizon Tech's, Kyocera and personally searched online, with no positive ID. Deleted all apps, factory reset, and even safe mode start up, and the icon remains at the top of the screen in the status bar. The only time the icon is not at the top of the screen is when you click on the drop down for the status bar icons. This phone is the newest Kyocera Duraforce Pro-2. Glove mode nor the underwater camera mode have any affect on the icon when switching these two selections on or off.
Any information on what this is would be greatly appreciated. Thank you for your time and help with this.<issue_comment>username_1: I mailed Kyocera linking this question and they replied very quickly.
**It is a Verizon security app** and Kyocera can't do a thing about it. Mail extract :
>
> Allow us to inform you that this Icon is for a Verizon security application running on the phone, please be aware that this will not affecting its functionality. At the moment there is no way to remove the Icon.
>
>
>
Screenshot of mail below. You would need to chase Verizon for more details as to what it does but being a device tied with them, I guess you have to live with it.
[](https://i.stack.imgur.com/UX8n0.png)
(Click to enlarge)
You can refer to the Tech Support Case Number: 00689640
and follow up with Kyocera (<EMAIL>)
if you wish (The person who sent the email is <NAME>, Technical Support Specialist).
Upvotes: 3 [selected_answer]<issue_comment>username_2: Go into accessibility and turn off the "security and privacy" app and the icon will go away.
Upvotes: 0 <issue_comment>username_3: I went into accessibility and turned off "Digital Secure" and the icon went away.
Upvotes: 0 <issue_comment>username_4: Go to settings, apps and notifications, and then down to digital secure or safety and security and click on it. Then turn off all notifications and force stop it. The symbol should go away.
Upvotes: 0 |
2019/03/02 | 1,329 | 5,023 | <issue_start>username_0: I recently bought a new phone to replace my old one. The old phone is running 5.1 (Lollipop) and has "Predefined [sound and notification] profiles" (see screenshot). However, there seems to be no equivalent in 8.0.0 (Oreo), and as a result this new phone has been sitting on my desk all but unused for almost a month now.
Searching around it would seem I have to install some overly convoluted app with features I don't need (or want) to achieve the same result, but that can't be right, can it?
I don't think I need to explain what I want to accomplish, but in case I do and in case my twice-daily routine triggers someone to suggest an even better solution: I have one email account (of four set up in a third-party mail app) that I need to alert me 24/7. Nothing else needs my attention 24/7. So every time I go to bed I turn off notifications for the other three email accounts, turn off notifications for the phone, turn off notifications for text messages, turn off notifications for BBM, turn off notifications for a VoIP app and set my sound profile to "sleep". The sleep profile has all sounds and vibrations turned off so that, other than the very occasional sufficiently important incoming email, my using the phone won't disturb my wife. In the morning I reverse all of that.
**I'd be happy with just having the sound profiles back** -- the twice-daily routine is a bit tedious and ridiculous, it seems to me, but it's not that onerous -- **so that's the main thrust of this question.** Thanks.
Screenshot of "Sound & notification" profiles in Lollipop:
[](https://i.stack.imgur.com/mCJUf.png)<issue_comment>username_1: >
> What happened to the sound profiles that were in Lollipop?
> Unless I am mistaken, they have been removed on Android 8.
>
>
> The sleep profile has all sounds and vibrations turned off so that, other than the very occasional sufficiently important incoming email, my using the phone won't disturb my wife. In the morning I reverse all of that.
>
>
>
You can a rule (actually 2) to achieve what you describe:
Goto Settings -> Sounds -> Do Not Disturb preferences.
* The first rule will be a Time rule. Add a new Time rule or you can modify the existing Weeknight rule. You select the time, date when it should apply, set the preference to Total silence.
* The second rule will be an Event rule. Add a new Event rule or you modify the existing Event rule (you can change its name). In "During Event for", select the email address it should apply to. In "Where reply is", select "Yes, Maybe or Not replied" date when it should apply, set the preference to Total silence.
>
> Searching around it would seem I have to install some overly convoluted app with features I don't need (or want) to achieve the same result, but that can't be right, can it?
>
>
>
It is right, to have the sound profiles or something that looks like it, you will have to install a 3rd party app. I can try [Sound Profiles (+ volume scheduler)](https://play.google.com/store/apps/details?id=Orion.Soft&hl=en_ZA). Give it the appropriate permissions and you can use it to manage sound profiles again.
***Disclaimer:*** I am not related to the app developer(s).
Upvotes: 1 <issue_comment>username_2: OK, so after putting down Android for what seemed like a step backwards, perhaps the Android developers are smarter than me. All of the below applies to Oreo (8.0.0).
The solution to this is as I suggested in my comment above, and that is to allow whatever app (email in my case) from which you want to receive notifications while the phone is in "Do not disturb" mode to be able to "Override Do not disturb". You can access this as follows:
1. Long-press the app's icon.
2. Tap the circled "i" icon in the menu that pops up.
3. Tap "App notifications".
4. Tap "Message notifications" (the actual words, not just the on/off toggle).
5. Tap "Override Do not disturb" to turn it on.
Another way to get to step 1 above is:
1. Open Settings.
2. Tap "Apps & notifications".
3. Tap "App info".
4. Tap the app in question.
5. Carry on as above from step 3.
Of course, you also need to configure how you want notifications -- the sound, vibration, notification dot, etc. -- and probably set up some options in the app itself.
You also need to ensure that your "Do not disturb" mode is set to "Priority only". On my phone the default settings for that mode are that "reminders" and "events" are both toggled on. I'm not sure if this is relevant, but I mention it in case it is.
I realised after I had decided to use two apps for email -- the one I have used for the last couple of years (K-9 Mail) for my "ordinary" accounts and the new one (Aqua Mail) for my priority email account -- that you may actually be able to configure Android to allow only one of your multiple email accounts in the same app to "override do not disturb". However, I didn't go that route.
Hope that helps someone.
Upvotes: 1 [selected_answer] |
2019/03/02 | 457 | 1,753 | <issue_start>username_0: Can anyone help me with this? I unlocked my bootloader successfully. But after that, when I am trying to get into fastboot mode, I am not able to do so. Whenever I run `adb reboot fastboot`, phone restarts and on the restart logo screen, I get a message saying:
```
Orange state- this device can't be trusted as it is unlocked. Reboot in 5 sec
```
And then, the device gets booted to normal mode. I even tried to rerun the in-depth app to get into fastboot mode, but that also not redirecting to fastboot mode. App says: `You can only apply to exit in depth test after carrying out bootloader lock operation in fastboot mode`
Now, the problem is if I can't go to fastboot, I can't flash anything and I can't relock my bootloader. Any help would be appreciated.
P.S I already enagle usb debugging after unlocking the bootloader and I could see the device in adb devices command.
[Following this to unlock bootloader](https://c.realme.com/in/post-details/1101401810746212352)<issue_comment>username_1: Have you tried enabling OEM unlocking on developer options? If you disabled it after unlocking bootloader then flashing is not possible on other phones it locks the phone at splash logo and required to flash the whole phone using a flash tool or maybe you disabled OEM unlocking after unlocking bootloader, Is your device factory reset after unlocking bootloader, or you miss a step in unlocking your bootloader
I recommend unlocking bootloader using fastboot
Upvotes: 0 <issue_comment>username_2: `adb reboot fastboot` is not a command. You just rebooted into the system not the bootloader.
The adb command to get into the bootloader is:
`adb reboot bootloader`
or
`adb reboot-bootloader`
Upvotes: 2 [selected_answer] |
2019/03/02 | 1,689 | 5,962 | <issue_start>username_0: To find the number of cores available to you in Termux you run:
```
grep Cpus_allowed /proc/self/status
```
This number of cores is limited in a similar way to running `taskset` on GNU/Linux.
I am trying to be able to predict what that will return.
According to the app CPU-Z my phone (Huawei Smart P) has 1 HiSilicon Kirin 659 with 8 cores. According to the app CPU Info 4 cores are running the same speed (480-1709Mhz) and 4 cores are running the same speed (1402-2362Mhz).
After booting the phone and waiting 5 minutes to make sure all startup tasks have been started/completed I started Termux, login through `ssh` and got:
```
Cpus_allowed_list: 0-7
```
Which is exactly what I expect.
But if I press the home key, I get:
```
Cpus_allowed_list: 2-3
```
I thought this might have to do with how hard the cores are loaded, so I switched to Termux again, started 16 `bzip2`s. This does not change the number of cores I get immediately. But after 30s I get 4 cores:
```
Cpus_allowed_list: 0-3
```
And yet later I get bumped back to 2 cores:
```
Cpus_allowed_list: 2-3
```
This behaviour happens through `ssh` whether Termux is in the foreground or background.
The effect of the home key is only when running Termux: If I run CPU Info, then press home and then start Termux, then Termux still has 8 cores:
```
Cpus_allowed_list: 0-7
```
Only when I switch away from Termux using the home key, the app-list key, or the back key does the number of CPUs change.
Software controlled big.LITTLE could explain going from 8 to 4 cores if the limit was not enforced immediately after boot, but only activated later. Since the limit is not activated 5 minutes after boot, I think it is safe to reject this as the explanation. Also it does not explain limiting to 2 cores some of the time when running 16 `bzip2`s.
What is causing the phone to limit me from using 8 cores? How can I tell the phone not to do so? What is causing the limit to jump between 2 and 4 cores at seemingly random intervals?
(On top of this I had expected the cores to run at 100% speed which also does not happen).
The limitation does *not* happen if not run through `ssh` or if run in a `tmux` session where the `tmux` session is started via the terminal on the phone.<issue_comment>username_1: Summary: the more cores you use the more battery you consume so CPU hotplugging turns off the other cores, and the others do the work which makes them at 100% CPU usage, which also give the best performance and the most balanced one.
It's CPU hotplug It turns on and off the cores when needed or not.
It's running 100% CPU usage because it's like this. Imagine, there's a 4 car, and let's assume the drivers are the cores. You have four lanes and 4 cars of course. Each one of them will take 100 pizzas. You can let one core to do all the work and that's what hot plugging do. Knowing that a car with 50 pizzas consumes a lot less fuel than a car with 100 pizzas you can now see how we can have the same performance and save on fuel: load two cars with 50 pizzas and let them accelerate as quickly as possible to the destination (performance governor). They will get there as quickly as one car with 100 pizzas (same performance), but burn less fuel (battery saving).
If you want to make your phone run at 8 cores then you need to install a custom kernel, use an other CPU governor, use a custom CPU hotplugging, or without installing a custom kernel use an interactive governor, then tweak its parameters.
You can search on XDA for Advance Interactive governor tweaks.
Upvotes: -1 <issue_comment>username_2: >
> What is causing the phone to limit me from using 8 cores?
>
>
>
Linux [Control Groups](https://en.wikipedia.org/wiki/Cgroups) ([`cgroups`](http://man7.org/linux/man-pages/man7/cgroups.7.html)). Android uses them to control how much resources a process can use. In particular the processes of apps are assigned to different `cgroups` depending on their [lifecycle](https://developer.android.com/guide/components/activities/process-lifecycle), which usually depends on the app's interactivity with the user.
For instance an app being actively used in foreground needs more processing power than the one staying idle in the background. So Android creates multiple descendant sub-`cgroups` for different states of the app (and non-app) processes:
```
~# grep . /dev/cpuset/*/cpus
/dev/cpuset/background/cpus:0-1
/dev/cpuset/foreground/cpus:0-6
/dev/cpuset/restricted/cpus:0-3
/dev/cpuset/top-app/cpus:0-7
```
[`cpuset`](https://www.kernel.org/doc/html/latest/admin-guide/cgroup-v1/cpusets.html) is one of the multiple types of `cgroups` Android uses for different purposes.
As you can see that the apps in background are allowed to use only 2 (out of 8) CPUs, those running a foreground service can use 7 CPUs, while the top apps can use all CPUs. Android framework continuously switches the PID of an app between these sub-`cgroups` as the app changes its state.
Note that:
* Different vendors may configure the `cgroups` differently depending on the number of available CPU cores on the device.
* Setting CPU affinity of a task using [`taskset`](https://www.man7.org/linux/man-pages/man1/taskset.1.html) *is filtered to just those CPUs allowed in that task’s [`cpuset`](https://www.kernel.org/doc/html/latest/admin-guide/cgroup-v1/cpusets.html)*.
>
> How can I tell the phone not to do so?
>
>
>
The best way would be to modify the code and rebuild the ROM so that it no more uses the `cgroups` (or uses them the way you want). Or simply change the CPU values in the files shown above, hoping that they won't revert back.
But for a normal user this would do more harm than good, consuming more resources and badly affecting the device performance.
---
**Related:**
* [Android stops/pauses execution of my background script?](https://android.stackexchange.com/a/221420/218526)
Upvotes: 2 |
2019/03/02 | 448 | 1,845 | <issue_start>username_0: I recently flashed my SM-J701F (Samsung Galaxy J7 Nxt, Android 8.1) with TWRP and Magisk.
Both OEM and RFP locks somehow turned themselves on when I tried to reboot, effectively bricking it by leaving me unable to either boot into any mode or flashing anything using Odin. (Odin always returns FAIL)
It's now asking me to use Smart Switch's emergency recovery feature, but that software refuses to recognize my device too.<issue_comment>username_1: Base on my research you can fix the OEM lock by flashing Samsung stock signed firmware using Odin or Samsung tool pro. To remove the frp you need to create a modded boot where the USB debugging is on. You can make one in assayyed kitchen you just need your stock boot, you can get stock boot at the firmware files, let's assume you flash the modded boot. You will boot to your phone but the frp locks is still there what you need to do is connect your phone to your PC then open Samsung tool pro find your phone model there then remove frp using adb.
P.S. Factory data reset your phone after flashing modded boot (optional)
Upvotes: 1 <issue_comment>username_2: At this point, you will either have to talk to a professional or buy a new device.
This is called "bricking" a device: it's now useless, except as a pretty weight. Your phone is soft bricked: possible to recover, but not guaranteed.
There are no conventional methods left to you. Factory reset through recovery isn't an option, fastboot isn't an option, and neither are most standard tools. And you said Odin is not working
Both of my options will cost money, but a professional phone repair person will have access to better tools than you. On that note, it could be costly and even they may not be able to help you. Availability of these services depends on where you are, and your budget
Upvotes: 0 |
2019/03/02 | 762 | 3,255 | <issue_start>username_0: I have found that auto-updating apps from the Play Store sometimes causes me an inconenience: A newer versions of an app sometimes doesn't have the features I liked in the older version. Thus, I selectively update my apps
I'm wondering what happens in this scenario: Let's say I download an app today, call it version 1.0, that I do not auto-update. An update to 1.1 is released some time later, then a release to 1.2, then 1.3 etc. So let's say I decide to update when 1.3 comes out. Does updating then cumulatively capture changes from 1.2 and 1.1 as as well? Or have I missed functionality in 1.1 or 1.2?
Put another way, I would assume an update at that time would make that app identical to what is available on the Play Store that day. Is that correct?<issue_comment>username_1: This is not about Android apps per se, but about softwares in general. Whether you make incremental update (say 1.3 to 1.4) or full update by skipping some versions (say 1.1 to 1.4), you finally end up with same version which would offer same functionality. The difference is that the changelog which shows the changes that took place in the most recent version is written in comparison to last revision. Thus, when skipping updates you would want to read all the changelogs available in between to get a full idea of what new features or lack of feature are available to you after the update.
Upvotes: 1 [selected_answer]<issue_comment>username_2: Android applications are used to perform a task or a group of tasks. App updates are additional features that are added to the current version of that app. An application has several states while running on mobile such as start, stop, resume, terminate etc.
Play Store is one of the secured source for downloading and installing android applications. A developer in play store will release two types of app(not for every apps).
1. Stable :
This version runs stable on most devices and may not have any app close or similar issues.
2. Beta :
Releases updates under development stages and not upto stable. User need to join beta program from play store.
So, if you have installed an app from play store, then you can run that app without updating for long time, because that is stable. The only thing you've missing will be updated features. For example, Google phone app(say version 23). It had added new design few months ago, but if you're running version 22, you can use as long as you can. And you'll only miss new design, dark theme like that. And, if you're installing version 29, after skipping 23,24,.. , you'll get features of that versions, after updating to version 29. It's because android apps are developed incremental basis( as username_1 mentioned below).
Also, there are some apps which requires strict updates. Example, WhatsApp. WhatsApp will check the current version of app and prohibits app usage until app update. This occurs because WhatsApp may stop support specific version after few months(may be yearly, you're redirected to play store while opening WhatsApp).
System apps may get auto updated during OTA/ security updates released by manufacturer.
If you're installing an app from play store today, you're installing today's latest stable version.
Upvotes: 1 |
2019/03/02 | 417 | 1,717 | <issue_start>username_0: I have a Galaxy Note 9 where I usually have music playing in Amazon Music Player in the background while I play games. In the old version of the OS (Samsung's version Android 8.1) when I am playing a game and an advert starts, it would pause the music, but I could just slide down the notification area and unpause it. Since the recent upgrade to Android 9 (again Samsung's version which it automatically upgraded to), I have to wait until the advert has finished before I can unpause the music. This is ultra annoying!
I don't mind the advert, or even the advert playing its sounds while the music is in the background, but completely taking over the sound like this just wrong!
So is there a setting or app-permission or anything I can change to disable ads from stealing exclusive access to the audio?<issue_comment>username_1: If adblock is an option, I highly recommend Blokada. It is a local VPN that uses host files to block ads and can work without root. More info [here](https://blokada.org). (I am not affiliated with it). It sounds easiest just to block the ads
However, there is no way to keep an app from stealing audio focus that I am aware of.
Upvotes: 2 <issue_comment>username_2: Open the Google Settings app on your device (called Google Settings or Settings, depending on your device).
Scroll down and tap Google.
Tap Ads.
Turn on Opt out of interest-based ads or Opt out of Ads Personalization.
Reset the ad id, or user id.
This is the only thing I've been able to find on the subject. Like you, I run a background app while doing other things and, knock on plastic and glass, it seems to have worked
I have an S10+, but it should be the same on your note
Upvotes: 2 |
2019/03/03 | 409 | 1,402 | <issue_start>username_0: Can I use [87W USB-C Power Adapter](https://www.apple.com/shop/product/MNF82LL/A/87w-usb-c-power-adapter) for MacBook Pro to safely charge a Samsung Galaxy S9 device? I'm curious as on the charger it says the output is **5.2V**, while the phone seems to [require 5V](https://www.samsung.com/us/support/answer/ANS00078994/).
The specs of the Mac's charger can be seen on this image:
[](https://i.stack.imgur.com/9ApFu.jpg)<issue_comment>username_1: If adblock is an option, I highly recommend Blokada. It is a local VPN that uses host files to block ads and can work without root. More info [here](https://blokada.org). (I am not affiliated with it). It sounds easiest just to block the ads
However, there is no way to keep an app from stealing audio focus that I am aware of.
Upvotes: 2 <issue_comment>username_2: Open the Google Settings app on your device (called Google Settings or Settings, depending on your device).
Scroll down and tap Google.
Tap Ads.
Turn on Opt out of interest-based ads or Opt out of Ads Personalization.
Reset the ad id, or user id.
This is the only thing I've been able to find on the subject. Like you, I run a background app while doing other things and, knock on plastic and glass, it seems to have worked
I have an S10+, but it should be the same on your note
Upvotes: 2 |
2019/03/03 | 406 | 1,377 | <issue_start>username_0: My device is running on Android Oreo, and I have study notes as a PDF file on Google Drive ([link to the file for testing](https://drive.google.com/file/d/1XT0g2HAqcJIjpBroYQTELbXszclITajB/view)), but I can't open it on Google Drive app.
My file is not opening and it's saying "No connection" even though I've got an awesome connection. I don't know why it's not syncing my file.
>
> 
>
>
>
I've even cleared cache, refreshed my Google Drive, and also rebooted my phone.
How to fix this issue so that I can open my PDF file from Google Drive app?<issue_comment>username_1: It looks like a bug with Google Drive. I had the same problem in opening the link
**Workaround**
I pasted the link in Chrome and it opened! You should [report the bug](https://productforums.google.com/forum/m/#!categories/drive/android), also
in Playstore
[](https://i.stack.imgur.com/TAiLK.png)
(Click to enlarge)
To download the file, open Chrome in desktop mode and click the option (print).
Upvotes: 2 [selected_answer]<issue_comment>username_2: What I do, because I have the same issue, I use Open With option works like a charm. I use the Google PDF Viewer
Upvotes: 0 |
2019/03/03 | 493 | 2,057 | <issue_start>username_0: Is it possible to use 4G for internet while being connected to a wireless printer with WiFi direct?
If not, are there any alternatives to use both, the printer as well as the internet, simultaneously without requiring another WiFi access point?
(The printer in question is the Epson L3150 Wireless Printer)<issue_comment>username_1: This is an ongoing issue that has been described as an optional implementation of the wifi direct. Or rather a lack of implemented options. My self a team testing an app for a developer, found that some phones have an option or feature for load balancing over wifi and data as a feature. Those that have this balancing, print and access internet without issue. Those without have no data over cellular while connected to wifi.
Upvotes: 1 <issue_comment>username_2: I was looking to the similar solution with my 360 camera and I found it. Even though my problem seems to be more complicated than yours. I needed some app to get data from internet while my phone wifi was being used for wireless connection with the camera. The app just always wanted to use wifi to get data and ignored all settings and even restrictions through mobiwal to use mobile connection only.
Below is where I asked about it and described a solution before I got any answers
[Need wifi to be connected to a camera(no internet) and one app using 4G for internet](https://android.stackexchange.com/questions/214095/need-wifi-to-be-connected-to-a-camerano-internet-and-one-app-using-4g-for-inte)
In your case, why don't you want to try to do it as simple as that:
1)create a hotspot on your phone where your 4G connection
2) connect your printer to the hotspot?
I did almost the same but in my case I used a second phone just as a hotspot. The reason I had to do it that way is I cannot connect to anything from the camera directly so I had to go through Wireless LAN client mode as a feature of the camera. In your case your printer should have some kind of screen that can help to connect to your hotspot.
Upvotes: 0 |
2019/03/05 | 2,054 | 6,870 | <issue_start>username_0: I) Goal
-------
Use external hard drive *without power supply* - no hub either - to backup smartphone directly.
II) Configuration
-----------------
* Huawei Mate 20 Pro, [this](https://consumer.huawei.com/en/phones/mate20/) - I own this.
* USB C male to USB A (3.0) Adapter (i.e. OTG adapter), [this](https://www.delock.de/produkte/1096_USB-Type-C-/65519/merkmale.html?setLanguage=en) - I own this.
* any of the following external hard drives:
+ **WD ELEMENTS PORTABLE 4 TB** [WDBU6Y0040BBK-WESN](https://www.wd.com/en-ie/products/portable-storage/wd-elements-portable.html#WDBU6Y0040BBK-WESN) - I think about buying this.
+ **LaCie Rugged Mini 4 TB** [LAC9000633](https://www.lacie.com/products/rugged/#specs) - I own this, *brand new & ExFAT formatted*.
III) Problem
------------
I don't know the power output of my smartphone or the power requirements of those hard drives exactly and am therefore not sure if my goal is achievable. *When I connect my LaCie 4TB to my phone - via said USB-C-A-Adapter or directly via a USB-C-cable - the drive is not recognised and doesn't seem to spin.*
IV) Known information / How I am trying to solve my problem
-----------------------------------------------------------
According to [this](https://forums.tomshardware.com/threads/external-drive-without-power-supply.670595/) and [this](https://www.youtube.com/watch?v=2ucCA1yTQUo) my goal is achievable, according to [this (Android Enthusiasts)](https://android.stackexchange.com/questions/141490/is-it-possible-to-use-external-hard-drives-with-usb-otg) maybe not.
I searched the web, but didn't find any official/trustworthy information from the manufacturers, from sellers or from users about the power in or output of either of those devices. The following information regarding the HDDs I found seems somewhat ambiguous:
* WD = 1 watt (WD on Amazon, somewhat trustworthy, but only info about 3TB version, [here](https://www.amazon.de/Western-Digital-WDBU6Y0040BBK-WESN-Elements-Festplatte/dp/B06XG892ZH/ref=sr_1_3?s=computers&ie=UTF8&qid=1551791100&sr=1-3&keywords=wd%2Belements%2Bportable&th=1)).
* LaCie = max. 2.9 watt (quite trustworthy actually, [here](https://www.pcwelt.de/produkte/LaCie-Rugged-USB-C-4-TB-Externe-Festplatte-Test-10094202.html)).
My smartphone is able to supply an Apple Keyboard (wired) and an Apple Mighty Mouse (wired) at the same time over said OTG Adapter and a USB hub (hub power supply not plugged in!)... But I don't know the power consumption of those peripherals.
V) Main Questions
-----------------
* A) Is my goal really achievable? How?
* B) Is my assumption right, that my **LaCie HDD** won't spin because of power supply issues?
* C) Will the mentioned WD HDD do the job? If no, other suggestions, please.
* D) How do I have to format my drives to be read by Android? (I've read ExFAT should work...)
VI) Additional, optional Questions
----------------------------------
* E) What are the actual power requirements (in watt) of those drives? What is the actual power output of my Smartphone over OTG? Maybe someone with experience (and/or who has these drives) knows those numbers? Don't bother looking into the spec sheets of those drive, there is no information about the power requirements in there.
VII) Disclaimer
---------------
I know, these aren't questions directly regarding Android. But,
* first, there is no Stack Exchange Site about Smartphones,
* second, I was sent here by the people of the Electrical Engineering Stack Exchange Site after posting this very question there (and deleting it now),
* third, my smartphone is an android device,
* forth, this might be a Android-ExFAT format problem (?),
* and fifth, the Android community is really competent when it comes to tech questions,
so this is the right place for this, I think... Please don't hate on me for posting my questions here - I shall kindly migrate to another Stack Exchange forum if you know a more suitable one.
Many thanks.
VII) Update
-----------
1. Confirmed by Huawei support: The Mate 20 pro has 1 Ampere / 5 Volt output.
2. Confirmed by LaCie support: Said LaCie Drive - and as it seems every thing hooked up via USB 3.0?! - needs 0.5 Ampere (no voltage info) to function properly. - So why doesen't this work? Too low voltage?<issue_comment>username_1: >
> A) Is my goal really achievable? How?
>
>
>
Unsure, see the answer to the second question of item **E**.
>
> B) Is my assumption right, that my LaCie HDD won't spin because of power supply issues?
>
>
>
Yes. The HDD isn't spinning up because the power supply isn't sufficient.
Another reason would be the HDD being broken otherwise, but this is unlikely the case given your very detailed description of your problem.
>
> C) Will the mentioned WD HDD do the job? If no, other suggestions, please.
>
>
>
For the same reason as B, this is unlikely. 2.5" HDDs nowadays have a fairly similar power consumption, regardless of brand. Older HDDs and HDDs with higher capacity tend to draw more power, but not making a huge difference.
>
> D) How do I have to format my drives to be read by Android? (I've read ExFAT should work...)
>
>
>
Nothing. You're done it correctly - exFAT is the right filesystem for them.
>
> E) What are the actual power requirements (in watt) of those drives?
>
>
>
As given in whatever you've read. Those claimed power requirements are usually correct.
>
> What is the actual power output of my Smartphone over OTG? Maybe someone with experience (and/or who has these drives) knows those numbers?
>
>
>
So, this is the most tricky part...
I haven't used any Huawei phones, but from my past experiences phones don't output much power (usually less than 2W) to OTG devices. It's likely that your phone is doing the same - not supplying as much power as needed by the HDD.
From previous news (in my local language Chinese - sorry), Mate 20 / Mate 20 Pro is capable of running as a power bank, or "reverse charging". I'm guessing that the claimed 5V/1A output is only achievable in reverse charging, not OTG.
The conclusion is not quite delighting - you have to get some kind of external power supply before you can use your HDDs with OTG.
Upvotes: 2 [selected_answer]<issue_comment>username_2: This is a wild guess but may be worth a try. On my Mate 20 Pro, if I go to 'Developer Options' in the Settings, there is setting for 'Select USB Configuration'. The default option is 1) Charging (which I presume means power on the way in to phone) but there are also options for 2) MTP (Media Transfer Protocol), 3) PTP (Picture Transfer Protocol), 4) RNDIS (USB Ethernet), 5) Audio Source and 6) MIDI.
Perhaps if you try one of these other options with the OTG cable, it may do something?
Like I said, a wild guess based on poking around in Settings since I've had the phone.
Upvotes: 0 |
2019/03/06 | 204 | 871 | <issue_start>username_0: I am asked to rate places Google Maps thinks I have visited. I have not been there and I click on "I have not been there". But the next time, I still get asked to rate those places I have chosen as "I have not been there" before.
How can I stop Maps from asking me to rate places I haven't been to?<issue_comment>username_1: If someone else is logged in to your Googe account on another device and visits the place in question it might push the notification to your device.
Upvotes: 0 <issue_comment>username_2: If you were near a business for enough time to count, Maps might guess the you visited the business.
GPS location is imperfect, esp. with multiple businesses in the same building or GPS signal reflections among tall buildings.
WiFi location might also apply, and sometimes WiFi base stations get moved to new locations.
Upvotes: 1 |
2019/03/07 | 803 | 2,994 | <issue_start>username_0: Most of the apps will rotate when I turn my device. So does the screen on my tablet. However, on the phone (Galaxy 9), that doesn't happen, making usage in horizontal mode a bit awkward.
Is it possible to make it rotate and if so how?<issue_comment>username_1: I'm not sure regarding the default UI settings as I use Nova Launcher myself (on a stock Samsung Note 8). For Nova Launcher though -- root not required -- you would go into Nova Settings > Look & Feel > Scrren Oreintation and set to desired settings, such as Auto-Rotate. I noted that the default value is set to "System Default", which does not rotate. In the default device settings, navigating to Display > Home should be more options; for me it just launches the Nova Settings, so unfortunately I can't test it for you at this moment, but I hope that helps!
EDIT: I just tested on my spare device and found the default system launcher UI (Samsung Experience Home) does **not** offer a method to rotate your home screen by default. However, if you update your OS to 8.1, the option toggle "Portrait Mode Only" should become available as an option ([source](https://9to5google.com/2018/07/09/galaxy-s8-rotate-homescreen-samsung-experience-update/)). Alternatively, if you are willing to dive in further into backend settings, you may be able to use an application like [Setedit](https://play.google.com/store/apps/details?id=by4a.setedit22) to modify it, but I need to do some more research to verify that.
Upvotes: 1 <issue_comment>username_2: Quoted from an earlier answer of mine:
>
> [Ultimate Rotation Control](https://play.google.com/store/apps/details?id=nl.fameit.rotate) forces any app - even those that don't
> support a certain orientation - into any orientation. It also supports
> setting on a per-app basis.
>
>
>
However, note that even if you could force an app to show in landscape, the app itself might not actually support it, and the layout could look somewhat messed-up or downright unusable. The aforementioned app is paid but has a free 7-day trial for you to evaluate the situation with.
Upvotes: 1 <issue_comment>username_3: I am currently using a Galaxy S10+, and I was using a Galaxy Note 8 before that. Both phones support rotating the homescreen to landscape in their native launcher, but it is disabled by default. I am going to assume your Galaxy S9 supports this as well. Try the following:
Go to Settings > Display > Homescreen. Then look for a setting related to rotation.
On my S10+ the setting is called "Rotate to Landscape Mode" and you have to switch it ON to enable homescreen rotation.
[](https://i.stack.imgur.com/E960Z.jpg)
On my Note 8, the setting is called "Portrait Mode Only" and you have to switch it OFF to enable homescreen rotation.
[](https://i.stack.imgur.com/9odtT.jpg)
Upvotes: 3 [selected_answer] |
2019/03/09 | 378 | 1,414 | <issue_start>username_0: On previous versions of Samsung Galaxy phones I've owned, I had the option to enable/disable icon frames around the apps on my home screen. This setting could be found by navigating to **Settings > Display > Home Screen > Icon Badges**.
After digging around the settings of my Galaxy S10+, I have not been able to find such a feature. Has this setting been removed with the launch of The S10 and One UI?
Below is a screenshot of the setting I'm referring to from my Galaxy Note 8:
<issue_comment>username_1: This seems to be a setting that started in Oreo related to [Adaptive Icons](https://developer.android.com/guide/practices/ui_guidelines/icon_design_adaptive). You now need specific themes to remove the border.
Per the following link:
>
> If you don't want borders, go to settings>wallpaper and
> themes>icons>download and find an icon pack with no borders.
>
>
>
<https://androidforums.com/threads/why-is-there-no-option-to-remove-icon-frame-borders-on-the-new-android-pie-update.1295501/>
Upvotes: 4 [selected_answer]<issue_comment>username_2: I read from many posts that the option shown above has been removed. Only solution I found is to download an icons set that was made without frames feature. I am using one called Zero made by MINU after seeing its link in another post about the same issue on this website.
Upvotes: 2 |
2019/03/09 | 307 | 1,138 | <issue_start>username_0: My phone was stolen by thief. I called but they obviously had taken out the sim. They've logged out all my google accounts, Twitter, Facebook, Viber, and I think that they did a factory reset! Is there anyway I can track my phone? It was a Redmi Y2.<issue_comment>username_1: This seems to be a setting that started in Oreo related to [Adaptive Icons](https://developer.android.com/guide/practices/ui_guidelines/icon_design_adaptive). You now need specific themes to remove the border.
Per the following link:
>
> If you don't want borders, go to settings>wallpaper and
> themes>icons>download and find an icon pack with no borders.
>
>
>
<https://androidforums.com/threads/why-is-there-no-option-to-remove-icon-frame-borders-on-the-new-android-pie-update.1295501/>
Upvotes: 4 [selected_answer]<issue_comment>username_2: I read from many posts that the option shown above has been removed. Only solution I found is to download an icons set that was made without frames feature. I am using one called Zero made by MINU after seeing its link in another post about the same issue on this website.
Upvotes: 2 |
2019/03/10 | 338 | 1,278 | <issue_start>username_0: I am constantly getting a notification about every 1 or 5 minutes since I had updated the Google Play Services app. It's a very strange type of notification. It says "Google Play Services won't run unless you update Google Play Services". See the screenshot below :

What is the cause of this problem and how to fix it ?<issue_comment>username_1: This seems to be a setting that started in Oreo related to [Adaptive Icons](https://developer.android.com/guide/practices/ui_guidelines/icon_design_adaptive). You now need specific themes to remove the border.
Per the following link:
>
> If you don't want borders, go to settings>wallpaper and
> themes>icons>download and find an icon pack with no borders.
>
>
>
<https://androidforums.com/threads/why-is-there-no-option-to-remove-icon-frame-borders-on-the-new-android-pie-update.1295501/>
Upvotes: 4 [selected_answer]<issue_comment>username_2: I read from many posts that the option shown above has been removed. Only solution I found is to download an icons set that was made without frames feature. I am using one called Zero made by MINU after seeing its link in another post about the same issue on this website.
Upvotes: 2 |
2019/03/11 | 1,059 | 3,924 | <issue_start>username_0: I used to have a notification whenever the external SD card was in the tablet. Recently that notification has disappeared. How can I get this notification back.
I like this notification since I am able to eject the card from it without needing to go thru the settings menu to get to it.
What is interesting is that when I insert a different card the notification is back. I only am missing it for the original card. Last time I had this problem I factory reset my tablet. I would rather not have to do this again.
I searched for a solution but only found solutions to get rid of the notification, not the opposite. I tried to reboot my device but that didn't help.
Any suggestions will be greatly appreciated.<issue_comment>username_1: Change the volume serial number of the sd card.
There might be various ways to do it, this one worked for me when I had the same problem after touching "clear all" when displaying notifications.
Mount the SD card on a windows PC.
Note the drive letter of the sd card by opening a windows explorer window.
For example let's say it was mounted as E:
In a command prompt window type the following command to find out the current volume id of the sd card, assuming the SD card is E: drive.
```
vol E:
```
It should give you a number like 1234-5678
Download the Microsoft utility "volumeid" from this [link](https://docs.microsoft.com/en-us/sysinternals/downloads/volumeid) at Microsoft:
Follow the instructions at the link for using the utility and give the SD card a new volume id.
Make sure you use the right drive letter, the drive letter of the SD card. You don't want to change your hard disk by mistake.
In a command prompt window, the syntax is:
```
volumeid E: 1234-5679
```
This will change the volume id of E: drive to 1234-5679
When you put the SD card back in you android device the device will think it's a different card and show the sd card mounted notification.
Upvotes: 1 <issue_comment>username_2: To add to @username_1's answer a way to do it in Linux (or on the Android device itself using Termux)
Run `sudo blkid` to find which device is the sd card. (On my device it was `/dev/block/mmcblk1p1`)
Now run `sudo mlabel -i REPLACE-WITH-YOUR-SD-CARD-DEVICE -n` (`-n` generates a random Serial Number you can use `-N xxxxxxxx` where you replace the x's with hex digits for the serial number you want see the man pages for `mlabel`).
The idea of using `blkid` and `mlabel` I took form [Here! See JonathanS answer](https://unix.stackexchange.com/questions/196899/finding-a-unique-identifier-for-sd-cards). and the exact way of writing the `mlabel` command to use the undocumented `-i` option I took from [Here!](http://mclements.net/blogWP/index.php/2016/11/29/vfat-uuid-sd-cards-android-mount/)
[I ran these commands on the tablet using termux and instead of `sudo` I ran it as superuser doing `tsu -p` and then eliminating the `sudo` part of the commands. I also needed to downgrade my `libandroid-support.so` library for it to work. I found that just doing `tsudo` (termux's version of `sudo`) gave me a large number of devices when I ran `blkid` and it was hard to figure out which one was the sd card.]
Upvotes: 0 <issue_comment>username_2: **Another great solution**, but your device must be rooted to be able to use this option (ASFAIK).
Use the sm tool
`sm forget [UUID | all]`
This makes the device forget the storage device with the given UUID or if you do all it forgets all the devices.
If your using Termux terminal emulator (as I am) you need to do `tsu -p` in order to be able to use the `sm` tool. If not you get an error. Basically what you need is for the `LD_LIBRARY_PATH` to point first to the android library path and `-p` prepends those paths **BEFORE** the termux library path.
I didn't try this in any other shell or terminal, but I'm assuming it should work there as well.
Upvotes: 1 [selected_answer] |
2019/03/12 | 313 | 1,259 | <issue_start>username_0: I have a brand new Galaxy S10. I would like to keep the phone in mute mode but want the phone to vibrate if there is any Call, SMS or any WhatsApp notification.
How to do this? I do not wish to root the phone as of now.<issue_comment>username_1: *go to settings*
\*and search for sounds in that ,there will be the different options like different settings for sounds in that you can find your favour application and make it your wish \*
Upvotes: -1 <issue_comment>username_2: I believe the easiest way to accomplish this is through do not disturb mode with custom exceptions.
Allowing calls and text messages through do not disturb mode is easy. Simply set "Calls from" and "Messages from" to "All" on the "allow exceptions" menu under the do no disturb settings.
For other apps, such as Whatsapp, you can do the following:
1. Enable do not disturb mode.
2. Go to Settings > Notifications.
3. Select the app you would like to modify.
4. Select the type of notification you would like to exclude from do not disturb mode, such as message notifications.
5. Enable the "Ignore Do not disturb" switch.
6. Back out of this screen and repeat steps 3-5 until your notifications are configured as you desire.
Upvotes: 3 [selected_answer] |
2019/03/12 | 400 | 1,552 | <issue_start>username_0: I use a banking app in my Android 8.1.0. All receipts are saved in /storage/emulated/0/*APPNAME*.
I can see the *APPNAME* folder and the receipts on Android if I use an explorer app like Google Files. But if I connect my Android on PC, the folder doesn't show up. I can see the other folders with no problem. Only that specific folder is missing.
What's going on?
(I suspect the devs marked the folder as not accessible through PC)<issue_comment>username_1: Its like bug on computer when connecting to android (mtp)
To fix that make a folder then copy the contents of the `APPNAME` Folder to the folder that you made or just move the whole appname folder to the /internal storage directory.
Upvotes: 0 <issue_comment>username_2: It seems to be a problem related to Media Providers. Due to some bugs in implementation of MTP, database of Media Storage app (*/data/data/com.android.providers.media/databases/external.db*) built from contents of `/storage/emulated/0` isn't updated or is delayed or isn't properly communicated with the client as the files change, so MTP shows outdated / incomplete contents.
In order to force database updation, delete the file and run some media scanner app. Non-root users can delete this file by clearing data of `Media Storage` app.
But be aware, it'll also clear `internal.db` which will make ringtones unavailable and a new database will be built from `/system/media` on next reboot.
See [this answer](https://android.stackexchange.com/a/209119/218526) for more details.
Upvotes: 1 |
2019/03/12 | 1,112 | 4,460 | <issue_start>username_0: Simple question but searching I can't find much evidence. I use an LED device (not OLED), would that also make a difference?<issue_comment>username_1: No, because power is still being consumed to display the image. Had the device been OLED or AMOLED, then it would have saved a bit of power, since each pixel is an individual source being powered, and black pixels would not receive power.
The best bet on saving power with LED is if the GPU was processing images in 8-bit, but it does not. If you turned on grayscale and took a screenshot then turned it back off, the image is still in color.
Upvotes: 1 <issue_comment>username_2: If the screen is LCD or LED then, there is no battery saving as answered on this question [Will grayscale increase or decrease battery consumption?](https://apple.stackexchange.com/questions/239943/will-grayscale-increase-or-decrease-battery-consumption) on AskDifferent.
However with an AMOLED screen, there is an advantage as the black pixels will be turned off.
According to the article [Why You Should Use Always Use Dark Mode on Phones](https://www.tomsguide.com/us/dark-mode-saves-battery,news-28495.html)
>
> That said, the differences in power Google discovered between using an app normally and using its "night mode" (or dark mode) were striking, particularly for OLED-based phones. For example, when testing an AMOLED-based Google Pixel, Google found that Google Maps uses 63 percent less power when it Night Mode compared to normal mode. By contrast, an LCD-based iPhone 7 saw no change in power consumption
>
>
>
Although Night mode is not grayscale, the advantage of switching off the dark pixel should help in saving the battery.
Upvotes: 2 [selected_answer]<issue_comment>username_3: For an **LCD** device the major power factor is the consumption of the background lighting. If you show the screen in color or gray does not have an impact ob the background lighting, therefore it does not make a difference in power consumption.
In **OLED** displays each pixel is shining, or to be precise each sub-pixel (red-green-blue and sometimes an additional white) is shining requires power. The more pixel and the brighter the pixel shine the more power is required. I would assume that e.g. a blue a sub-pixel shining at 100% requires a bit more power than 3 RBG sub-pixel shining at a lower brightness in grayscale mode. However the effect should be not very high. Therefore I would assume that the saved power by an OLED display in grayscale mode is very small.
Upvotes: 1 <issue_comment>username_4: Everybody is confusing **Greyscale** with **Dark Mode**!
Dark mode changes the colors of the apps (including home screen and system apps like settings and such) and usually makes the backgrounds black since most of the screen is the background and by making it black it saves a lot of power. So Dark mode tries to have as much as dark/black colors showing on the screen. so basically it means *dark/black background and white text/elements on screen*.
On the other hand, **Greyscale Mode** is a completely different thing. Yes it will change what you see on the screen but not like 'dark mode'. **Grayscale** simply removes all the colors and makes them grey, just like the old TV's.
*How does this save battery? (and yes it does)*
The screen will still be on and the brightness will not change at all so theres no battery saving from the screen. But your smartphone has a GPU inside of it and that's what will save battery in **Greyscale mode**
The ***GPU*** is where what you see on your screen gets processed, and it usually works with million of colors that include all the shades and mixes of red, green and blue and there are almost 17 million color possibilities. But in **greyscale** there are only **256**! That's crazy isn't it? And this is exactly what saves your battery power, it's because the GPU has to do WAY LESS calculations.
*Extra info:* colors on the screen are calculated from the values 0-255, 0 being the darkest and 255 the brightest. So a single pixel on a greyscale screen can be one of those 256 possibilities, but in a normal screen that displays all the colors we have a "minipixel" for red, another one for green and one for blue. They mix together in values from 0-255 to create other colors. That means now we have 255*255*255(combining red,green and blue values)=16777216 and thats the number of color possibilities in a RGB screen.
Upvotes: 2 |
2019/03/14 | 954 | 3,858 | <issue_start>username_0: I run a ssh server on an Android phone using SimpleSSHD.
When the phone is connected to a wifi network, I can connect to the SSH server from a computer in the same wifi network.
When the phone is connected to a carrier's wireless mobile network, I found an IP address on the android phone in "Settings-> About Phone -> Status". How can I find out if the IP address is a public IP address for the phone's network interface, or shared by many devices in the same LAN? Can any computer connected to the Internet connect to the SSH server using the phone's IP address?
It seems that I can't, and I was wondering why?
```
$ ssh -p 2222 11.22.333.444
ssh: connect to host 11.22.333.444 port 2222: Connection timed out
```
Thanks.<issue_comment>username_1: For running a SSH server on a Smartphone connected via mobile data to the Internet you need a public IP address on the mobile network interface.
You can simple check if your IP is a public one: Enable mobile data and disable Wifi on your phone and check the IP address you have (Phone status in Android settings). If the IP address starts with 10.x.x.x or 192.168.x.x it is obviously a private IP address. If not open your web browser on the phone and go to <https://www.whatismyip.com>. Compare the IP address shown there with the one one in your phone settings. If they match your IP is a public one.
Unless you have a special mobile data plan, the majority of mobile network operators (MSO) will not assign your device a public IP address. Instead you are getting a private IP address that needs to pass a NAT gateway running in the MNO's network. The main reason for this situation is that the IPv4 addresses are rare - most MNOs don't have enough IPv4 addresses to assign every mobile device a public IPv4 address.
Some MNO offer special data plans with a public IP address - usually only for business customers and with higher prices.
The whole situation is similar to a Smartphone connected to a Wifi in a network with a NAT router that is connected via DSL/cable to the Internet. But in difference the NAT router is not accessible so that nobody can open up ports (port forwarding) to make a service accessible running on a system in the network behind the NAT router.
Upvotes: 1 <issue_comment>username_2: >
> Can any computer connected to the Internet connect to the SSH server using the phone's IP address?
>
>
>
depends on how your ssh server is configured, along with TCP wrappers. By default, that is typically yes. However you can restrict who and from where can successfully connect via SSH by editing `/etc/hosts.allow` and changing
```
SSHD : ALL : ALLOW
```
to something more restrictive. There is also `/etc/hosts.deny` you can play with, along with editting `/etc/ssh/sshd_config`. Realize SSH is the protocol and is completely independent of the computer system... if my dell laptop *follows* the SSH protocol and a coke machine follows the same version of the SSH protocol, then a valid communication link can be established between the two... over TCP/IP. When this will not work is when that communication is blocked via some other means. Not to mention firewall settings...
>
> How can I find out if the IP address is a public IP address for the phone's network interface.
>
>
>
use a browser on the phone and go to a website that will report back to you the [public] ip address it sees your phone as. If that reported address matches what is in Phone\_Settings, then that would be a yes. But I can tell you what ip address your phone settings is saying is not a public ip address, for the same reason my home computer through the comcast modem gives my home computer 10.0.0.1. Simply web search `what is my public ip` to find any of a hundred sites that will tell you your public IP.
unix&linux > AndroidEnthusiasts :)
Upvotes: 0 |
2019/03/14 | 369 | 1,283 | <issue_start>username_0: Is there a way to quickly navigate to the top/bottom of the current page in mobile firefox (i.e. the equivalent of using the home/end keys in the desktop version)?<issue_comment>username_1: You should add an add-on to help accomplish what you asked. [Top and Bottom scroll buttons](https://addons.mozilla.org/en-US/firefox/addon/top-and-bottom-scroll-buttons/) adds buttons to scroll to the top or bottom of a page.
>
> This extension adds two beautiful buttons at the corner of each page for fast scrolling to the top or the bottom of the page.
>
>
> The buttons are customisable. You can change its size, transparency, position and the way they are scrolling.
> You can also set the buttons to auto hide so you'll see them only when you want.
>
>
>

**Disclaimer:** I am just a user of the addon, not related to its developer.
Upvotes: 3 [selected_answer]<issue_comment>username_2: You can get these two extensions:
[Go to Top of Page Button](https://addons.mozilla.org/en-US/firefox/addon/go-to-top-of-page-button/)
[Got to Bottom of Page Button](https://addons.mozilla.org/en-US/firefox/addon/go-to-top-of-page-button/)
They will put a button in the toolbar labeled `Top` and `Bottom`
Upvotes: 2 |
2019/03/15 | 605 | 2,222 | <issue_start>username_0: Up until Android 8.0 / Oreo (haven't got chance to test this issue under 9.0 / Pie) there is no Polish layout for physical USB keyboard and writing Polish national letter (i.e. using Right Alt key) is not possible in Android with physical keyboard connected through USB and micro USB OTG cable.
Is there anything I can do to resolve this problem? Some option for installing missing layouts?
*Supporting, OT and philosophic question*: Is this some kind of political isolation of my country by Google / Android developers or an ostracism? I have carefully checked that there are keyboard layouts for *each and every neighboring country that surrounds Poland* -- i.e. German, Czech, Slovak, Ukrainian, Latvian, Lithuanian and Russian. But there is no for Poland.
**EDIT**: *This question is about Motorola Moto Z2 Play, which has an unmodified, stock version of Android 8.0 Oreo and such version doesn't have "Polish" physical keyboard layout. This question does not deal with devices provided by any other manufacturer, with modified Android, where "Polish" physical keyboard layout can be available.*<issue_comment>username_1: You should add an add-on to help accomplish what you asked. [Top and Bottom scroll buttons](https://addons.mozilla.org/en-US/firefox/addon/top-and-bottom-scroll-buttons/) adds buttons to scroll to the top or bottom of a page.
>
> This extension adds two beautiful buttons at the corner of each page for fast scrolling to the top or the bottom of the page.
>
>
> The buttons are customisable. You can change its size, transparency, position and the way they are scrolling.
> You can also set the buttons to auto hide so you'll see them only when you want.
>
>
>

**Disclaimer:** I am just a user of the addon, not related to its developer.
Upvotes: 3 [selected_answer]<issue_comment>username_2: You can get these two extensions:
[Go to Top of Page Button](https://addons.mozilla.org/en-US/firefox/addon/go-to-top-of-page-button/)
[Got to Bottom of Page Button](https://addons.mozilla.org/en-US/firefox/addon/go-to-top-of-page-button/)
They will put a button in the toolbar labeled `Top` and `Bottom`
Upvotes: 2 |
2019/03/15 | 606 | 2,264 | <issue_start>username_0: After "Factory Resetting" my tablet I realized that the serial Number was changed (it is now a weird number 0123456789ABCDEF).
**Edit March 17 2019**
This is the number that shows when I do adb devices. As far as I know this is the serial number and not the Android ID.
**End Edit**
Why did this happen?
How do I go about returning it to its original SN?
How do I prevent it from happening again?
I have seen some options of changing the SN number but I'm reluctant to try them since the programs they use doesn't look like official (safe) programs.<issue_comment>username_1: I assume you are talking about the "Android ID". This Android ID is a 15 or 16 characters long ID exactly like the example in your question.
The Android ID is not device specific and is stored in the user data section. It is a random number, usually generated the device boots the first time.
This also applies to the first time the device is booted after a factory reset because the factory reset has deleted all user data including the old Android ID.
>
> Why did this happen?
>
>
>
You did a factory reset.
>
> How do I go about returning it to its original SN?
>
>
>
The Android ID can not be changed on a regular non-rooted device. With root permissions it is easy, as it is stored in an SQLite database file on your system. - assuming you know the old Android ID. See also this question: [How to back up my current Android ID?](https://android.stackexchange.com/questions/47184).
>
> How do I prevent it from happening again?
>
>
>
Do not perform a factory reset.
Upvotes: 0 <issue_comment>username_2: Your serial # is provided by the Linux Gadget driver. Depending on your kernel version it's either in
* /config/usb\_gadget/g1/strings/0x40\*/serialnumber
or
* /sys/class/android\_usb/android0/iSerial
Since you're rooted, you can easily change the number by writing to this "file" - which is really just a parameter that the driver will digest and export accordingly.
While you're at it, there are other cool strings there, like Manufacturer and Product , which you can mess with, and similar "files" containing USB identification, and controlling the device persona (Mass storage, MTP, PTP, etc)
Upvotes: 3 [selected_answer] |
2019/03/15 | 411 | 1,454 | <issue_start>username_0: Telegram allow to install app only on Google Play Store but I want to download apk file and send to my friend because his Android device which does not have access to Google Play Store. Is it possible to download apk file of Telegram app on android without any apk website downloader only from right apps or right ways?
Thank in advance for all of you Stackexchange Community!<issue_comment>username_1: You can use the app [APK Extractor](https://play.google.com/store/apps/details?id=com.ext.ui&hl=en_US) to get the APK of the application you want on your device to send, or you can find a version of the app on a mirror site, like [APKMirror](https://www.apkmirror.com/).
I have used both in the past and have not had problems with them.
There are other apps similar to APK Extractor that allows you to obtain the APK, like [Backup & Restore](https://play.google.com/store/apps/details?id=mobi.infolife.appbackup). I have not used this one personally, but people have recommended it before.
Upvotes: 2 [selected_answer]<issue_comment>username_2: [](https://i.stack.imgur.com/WdKGV.jpg)
[](https://i.stack.imgur.com/4lkO2.jpg)
[Yalp Store](https://f-droid.org/en/packages/com.github.yeriomin.yalpstore/) has the option to select the download directory to store the downloaded APKs. Yalp Store fetches apps from Play Store.
Upvotes: 0 |
2019/03/16 | 542 | 2,406 | <issue_start>username_0: I got enough of the poor functionality of *com.android.providers.downloads*
So I decided for a better [alternative download manger](https://alternativeto.net/software/advanced-download-manager/?platform=android).
But how can I choose the alternative as preferred download manager? My alternative download manager is listening to my clipboard. But this does not help me, because not all addresses to online files can be easily copied into Android's clipboard.<issue_comment>username_1: you can use your alternative download manager to select which storage should be used and you can't change download process to the alternate.
Upvotes: 0 <issue_comment>username_2: If you happen to have Android version above 5.1 and familiar with command line interfaces, then you could use termux. It has a built in binary wget to basically download anything. Just put `wget https://whateverlink.exe` and it will start downloading it. All you'll be needing is the link to download the file you want to download. The built in download manager being a system app, is actually a system wide download manager for all the gui interfaces on the device. If you happen to have root privilege, and try doing `pm -k uninstall 0 com.android.providers.download` and `pm uninstall -k --user 0 com.android.providers.download.ui`(you can also do this with `adb`). What this will do is, uninstall download manager, but will be availbale like before if phone is disabled, (also if you like to play it safe and have root, better to perform `pm disable com.android.providers.download`, in this way you can enable it anytime with `pm enable com.android.providers.download`).Now with uninstalled/disabled, if you try downloading something on your browser, you'll see that download fails. Even with a third party download manager, because everything downloadable on gui apps uses the built in Download manager. However, termux uses binaries `wget` to download stuffs, hence doesn't need a download manager becuase it has its own libraries and binaries writen to download. Yep, there you go. You can find termux on Google Play Store. To download `wget`, just type in `pkg install wget` on the command line, and it'll download wget for you. From then on you could use `wget https://pastelinktodownload` to download. Although termux is way more than just a simple download manager. Enjoy! Hope this helps (:
Upvotes: 1 |
2019/03/17 | 1,233 | 4,936 | <issue_start>username_0: I am setting the proxy in APN settings of my mobile network in below shown screenshot:

It works well. I verified via whatismyip. However, when I enable the hotspot on the device and use this hotspot on another device and check IP from it, it shows my original mobile service provider IP and not the proxy IP.
Why such behavior if the hotspot is supposed to use the mobile network and the proxy is set in APN for it? How can I make proxy work on device using hotspot as well?
Note: I do not want to set proxy under advanced setting on other device wifi option while choosing this hotspot. The app that I am trying to use detects proxy set under wifi so this is my only option.<issue_comment>username_1: The reason being you are seeing the symptoms are because when you turn your hotspot on think of it like turning your phone into a router. So any network settings on the hot spot will not change the devices individual IP address. When you connect to your hotspot it connects by that devices IP and not when is changed in network settings because the changed network settings are last in the hierarchy of things. I do believe if you google search it the are apps that will spoof your devices ip address essentially the same concept as a proxy just undetectable.
Upvotes: 1 <issue_comment>username_2: Your question is related to understanding of [OSI model](https://en.wikipedia.org/wiki/List_of_network_protocols_(OSI_model)). Proxies use `http`/`https` or `socks` protocol, I assume you are talking about `http` which is an Application Layer (L7) protocol in OSI model. When an application generates `http` message, it's handed over to lower layer. In case of `https`, message is encrypted by SSL/TLS which are L6 protocols. At L4 the message gets a TCP header and then at L3 it's converted to an IP packet. This packet goes through NAT and firewalls filtering at L3, and finally through RRM/PDCP/RLC (if using Mobile Data), MAC and kernel routing at L2. At L1 it's transmitted over Wi-Fi as `802.11` frames or CDMA/TDMA/FDMA signals over Mobile Data.
Hotspot on the other hand is mainly based on 2 userspace tools; `hostapd` - which creates Wi-Fi Access Point at OSI L2 - and `dnsmasq` (up to Android 9) - which works as DHCP/DNS server at OSI L7. If the connected host is using phone as DNS server (as configured by DHCP), phone receives DNS queries and recursively forward them as UDP/IP packets to upstream DNS server on internet (whatever `dnsmasq` is configured to use). Rest of the traffic coming from hotspot network is NATed and routed at L3/L2.
So you see none of the (IP packets) traffic coming from connected hosts goes through `http` stack on Android phone, hence not being forwarded to proxy server. It's the responsibility of applications like Web Browsers to make `http(s)` connections to proxy server, not directly to remote host like web server. It's not possible to create a hotspot which can be configured to use `http` proxy at OSI L7. Proxy settings (host/port) we set for Wi-Fi or APN or globally are just forwarded to applications, each application has to create proxied connection on its own, or just ignore the proxy information. You need to provide these proxy details to apps on every host connected over hotspot. See question linked below for more details.
However it's possible to forcefully redirect the whole traffic towards a proxy server by using Linux/Android kernel's NAT/REDIRECT/TPROXY (at L3) and routing table (at L2). That's how proxifiers work, but there are **limitations**. Email clients use IMAP/POP3/SMTP (L6/7) protocols which won't work with `http GET` method, instead require `http CONNECT` proxies. Latter can only forward TCP traffic, for UDP at least SOCKS5 proxy is needed which operates at L5. DNS and mostly games and voice calling apps generate UDP traffic, so they won't work with `http` proxies at all. `ping` utility - for instance - uses ICMP (at L3) which can't be encapsulated in TCP or UDP, so it won't work with SOCKS5 too.
So it's not possible in true sense to redirect ***all traffic*** towards a remote (proxy) server without using a L2/3 solution like VPN. For more details see [How to set Wi-Fi HTTPS proxy, not HTTP, via adb shell?](https://android.stackexchange.com/a/217801/218526)
---
>
> Why such behavior if the hotspot is supposed to use the mobile network and the proxy is set in APN for it?
>
>
>
Hotspot is supposed to use the mobile network, apps are supposed to use the proxy. The proxy you configured in APN isn't enforced system-wide.
>
> I do not want to set proxy under advanced setting on other device WiFi option while choosing this hotspot.
>
>
>
Unfortunately this is the most straightforward way, other methods require either rooting and/or using third party apps (to create VPN). See above linked question on how to enforce proxy transparently.
Upvotes: 2 |
2019/03/18 | 1,240 | 4,998 | <issue_start>username_0: I changed phones and installed WhatsApp on the new one. I have a backup database file on an SD card and the same file copied to the internal WhatsApp folder and Google Drive.
However, during install, the restore process only checks in G Drive and says that no backup is available.
How do I restore the data from this backup file from the internal memory or SD card? There is no corresponding option during backup restore.
Adding a few points based on other QnA I went through. Hope they help.
1. The phone number has not changed. I am using the same number on the new phone as earlier.
2. I have copied the backup database file from the SD card to the internal memory and also to the G Drive
3. The backup file is named "msgstore.db.crypt12" It does not have the date in the name.<issue_comment>username_1: The reason being you are seeing the symptoms are because when you turn your hotspot on think of it like turning your phone into a router. So any network settings on the hot spot will not change the devices individual IP address. When you connect to your hotspot it connects by that devices IP and not when is changed in network settings because the changed network settings are last in the hierarchy of things. I do believe if you google search it the are apps that will spoof your devices ip address essentially the same concept as a proxy just undetectable.
Upvotes: 1 <issue_comment>username_2: Your question is related to understanding of [OSI model](https://en.wikipedia.org/wiki/List_of_network_protocols_(OSI_model)). Proxies use `http`/`https` or `socks` protocol, I assume you are talking about `http` which is an Application Layer (L7) protocol in OSI model. When an application generates `http` message, it's handed over to lower layer. In case of `https`, message is encrypted by SSL/TLS which are L6 protocols. At L4 the message gets a TCP header and then at L3 it's converted to an IP packet. This packet goes through NAT and firewalls filtering at L3, and finally through RRM/PDCP/RLC (if using Mobile Data), MAC and kernel routing at L2. At L1 it's transmitted over Wi-Fi as `802.11` frames or CDMA/TDMA/FDMA signals over Mobile Data.
Hotspot on the other hand is mainly based on 2 userspace tools; `hostapd` - which creates Wi-Fi Access Point at OSI L2 - and `dnsmasq` (up to Android 9) - which works as DHCP/DNS server at OSI L7. If the connected host is using phone as DNS server (as configured by DHCP), phone receives DNS queries and recursively forward them as UDP/IP packets to upstream DNS server on internet (whatever `dnsmasq` is configured to use). Rest of the traffic coming from hotspot network is NATed and routed at L3/L2.
So you see none of the (IP packets) traffic coming from connected hosts goes through `http` stack on Android phone, hence not being forwarded to proxy server. It's the responsibility of applications like Web Browsers to make `http(s)` connections to proxy server, not directly to remote host like web server. It's not possible to create a hotspot which can be configured to use `http` proxy at OSI L7. Proxy settings (host/port) we set for Wi-Fi or APN or globally are just forwarded to applications, each application has to create proxied connection on its own, or just ignore the proxy information. You need to provide these proxy details to apps on every host connected over hotspot. See question linked below for more details.
However it's possible to forcefully redirect the whole traffic towards a proxy server by using Linux/Android kernel's NAT/REDIRECT/TPROXY (at L3) and routing table (at L2). That's how proxifiers work, but there are **limitations**. Email clients use IMAP/POP3/SMTP (L6/7) protocols which won't work with `http GET` method, instead require `http CONNECT` proxies. Latter can only forward TCP traffic, for UDP at least SOCKS5 proxy is needed which operates at L5. DNS and mostly games and voice calling apps generate UDP traffic, so they won't work with `http` proxies at all. `ping` utility - for instance - uses ICMP (at L3) which can't be encapsulated in TCP or UDP, so it won't work with SOCKS5 too.
So it's not possible in true sense to redirect ***all traffic*** towards a remote (proxy) server without using a L2/3 solution like VPN. For more details see [How to set Wi-Fi HTTPS proxy, not HTTP, via adb shell?](https://android.stackexchange.com/a/217801/218526)
---
>
> Why such behavior if the hotspot is supposed to use the mobile network and the proxy is set in APN for it?
>
>
>
Hotspot is supposed to use the mobile network, apps are supposed to use the proxy. The proxy you configured in APN isn't enforced system-wide.
>
> I do not want to set proxy under advanced setting on other device WiFi option while choosing this hotspot.
>
>
>
Unfortunately this is the most straightforward way, other methods require either rooting and/or using third party apps (to create VPN). See above linked question on how to enforce proxy transparently.
Upvotes: 2 |
2019/03/18 | 581 | 2,354 | <issue_start>username_0: So I ordered a cheap Chinese phone (umidigi) as a secondary device and the unit I got, out of the box, was afflicted with a faulty display. Troubleshooting it I have diagnosed the problem precisely:
* There is an intermittent false touch input occurring in the bottom right, very far bottom right part only of the screen
* Lowering the brightness appears to minimize the presence of the false input
* Is likely to require disassembly of the device to remedy the issue
I alerted the seller I bought the phone from, and they're sending me a new unit pronto, and told me to just keep this one. Yay.
So, Id like to eventually permanently resolve this phones issue and open it up myself, but in the meantime I'd like to get some use out of it. But, with the ghost touch using the phone with anything other than a Bluetooth mouse is maddening.
The area effected is at the very, very bottom of the phone and may occupy 15px or so at most. I attempted to use a few apps, one called 'Partial Screen' and some others like Screen Shift. However, the adjustments to the display only result in cosmetic changes and do not desensitize the adjusted portion of the screen to touch input and thus the false input creating problems.
Can anyone point me to a procedure, adb input or otherwise, that could ensure that some specified portion of the touch screen will not respect any touch input?
Thanks.<issue_comment>username_1: Looks like it's a **hardware issue**. As you are thinking to make that particular portion of the screen less sensitive, it is not possible, because the touch sensor all over the screen is a single unit. The only thing you can do is to **ignore** the touch inputs coming from that affected part of the screen. So, *use an app that can overlay at that portion and can block/ignore the touches at that portion of the screen*. OR, Take your phone for a repair.
Upvotes: 0 <issue_comment>username_1: Connect your phone to a PC via ADB and use this command: `adb shell wm overscan left,top,right,bottom` where `left`, `top`, `right` and `bottom` are the coordinates upto which your screen works properly.
For example, if my phone with a resolution of 480px × 854px, would have had this problem, I would write `adb shell wm overscan 0,0,0,839` to disable 15px at the bottom of the screen.
Upvotes: 4 [selected_answer] |
2019/03/18 | 441 | 1,709 | <issue_start>username_0: I used to use Appliqato's Call Recorder.
A few days ago Google Play's policy changed so no call-recording application could access the call-log information. This means now the calls are like "anonymous" and you "have" to listen to them to identify them.
This represents a handicap: If you get a bunch of calls (say 50 per day) and you leave the batch for one week, you can face to have to "manually identify" 500 calls easily which is absolutely a no-brainer.
Instead, the "normal" call-log from the phone has the call numbers stored.
Question
========
Is there any way I can download the call log information in a machine-processable way?
I'd do a script to post-process call logs and match the date and time to identify the numbers later.<issue_comment>username_1: Looks like it's a **hardware issue**. As you are thinking to make that particular portion of the screen less sensitive, it is not possible, because the touch sensor all over the screen is a single unit. The only thing you can do is to **ignore** the touch inputs coming from that affected part of the screen. So, *use an app that can overlay at that portion and can block/ignore the touches at that portion of the screen*. OR, Take your phone for a repair.
Upvotes: 0 <issue_comment>username_1: Connect your phone to a PC via ADB and use this command: `adb shell wm overscan left,top,right,bottom` where `left`, `top`, `right` and `bottom` are the coordinates upto which your screen works properly.
For example, if my phone with a resolution of 480px × 854px, would have had this problem, I would write `adb shell wm overscan 0,0,0,839` to disable 15px at the bottom of the screen.
Upvotes: 4 [selected_answer] |
2019/03/18 | 259 | 1,063 | <issue_start>username_0: I have so many apps in my Google Play Store's library, and I want to delete all of them. However, individually deleting each one would be tedious.
Are there any easier/more convenient ways to remove multiple apps from there?<issue_comment>username_1: Google Store doesn't offer a public API like most Google products/services, thus writing an app or service with this capability would be a tedious work, and would require probably some low-level hacking and analyzing the protocols of the Google. On my best knowledge, no one did it until now.
According [this answer](https://android.stackexchange.com/a/96929/50837), until around 2012, we could uninstall our apps from the web, which could have been a quicker option. Since then, even that was not possible any more.
Upvotes: 1 <issue_comment>username_2: You can use "Tasker" or any other type of automation apps to automate the process of removing each item (app) from the library. Then, program the tasker to repeat that process. I generally do this for repeated actions.
Upvotes: 0 |
2019/03/21 | 333 | 1,344 | <issue_start>username_0: I gave my phone number to someone who turns out to be unstable individual...crazy dude. I blocked him from my android phone, blocked from calls and messaging. Somehow he managed to call me, doesn't show the call on my call log at all..never heard or was alerted of the call. And he then left a voicemail and when I go through the menu to get the callers number it is silent..blank. How is this happening? And how can I block him all together? Seriously, this guy is freaking me out. Help please if you can.<issue_comment>username_1: Google Store doesn't offer a public API like most Google products/services, thus writing an app or service with this capability would be a tedious work, and would require probably some low-level hacking and analyzing the protocols of the Google. On my best knowledge, no one did it until now.
According [this answer](https://android.stackexchange.com/a/96929/50837), until around 2012, we could uninstall our apps from the web, which could have been a quicker option. Since then, even that was not possible any more.
Upvotes: 1 <issue_comment>username_2: You can use "Tasker" or any other type of automation apps to automate the process of removing each item (app) from the library. Then, program the tasker to repeat that process. I generally do this for repeated actions.
Upvotes: 0 |
2019/03/21 | 425 | 1,710 | <issue_start>username_0: I have a little idea about the `/odm` but no idea of `/vendor` dir. Can someone please explain in the best way possible? I looked up on Google and it didn't help.
What I'm really confused is with whether OEM's make changes to the files underlying these directories or is it the Android's source.
[Reference](https://source.android.com/devices/bootloader/partitions-images#flow):
>
>
> >
> > From /system, init launches and starts mounting all the other partitions, such as /vendor, /oem, and /odm
> >
> >
> >
>
>
><issue_comment>username_1: You could obtain this informacion in [Source Android Documentation](https://source.android.com/devices/bootloader/partitions)
* ***ODM*** -> This partition contains original design manufacturer (ODM) customizations to system-on-chip (SoC) vendor board-support packages (BSPs). Such customizations enable ODMs to replace or customize SoC components, and implement kernel modules for board-specific components, daemons, and ODM-specific features on hardware abstraction layers (HALs). This partition is optional; typically, it's used to contain customizations so that devices can use a single vendor image for multiple hardware SKUs
* ***Vendor*** -> This partition contains any binary that isn't distributable to AOSP. If the device doesn't contain proprietary information, you can omit this partition.
Upvotes: 0 <issue_comment>username_2: ***odm*** contains all specific device librarues such as sensor HAL, etc.
But ***vendor*** contains SoC specific libraries. This is because for android 9 and higher the idea is having a general/same image for all devices and using *product*, *vendor* and *oem* for every device.
Upvotes: 1 |
2019/03/21 | 246 | 881 | <issue_start>username_0: >
> 
>
>
>
How do I remove these quick links from Chrome for Android app?<issue_comment>username_1: To remove one at a time:
1. Long-press on a link ( I think the correct name is shortcut).
2. When a menu appears, click Remove.
To remove all:
1. Click on the 3-dot, then Settings.
2. Click on Home page, enable it if it was disabled.
3. Click on "Open this page". Enter `about:blank` or any website you would to open when you open Chrome. You might have to restart Chrome for the changes to take effect.
However, they will re-appear again based on the history.
Upvotes: 2 <issue_comment>username_2: Go to Play Store and uninstall Chrome. It will uninstall the updated version. Then go to your Chrome. Shortcuts never appear again. You can update Chrome. 100% true solution, fixed my own Chrome.
Upvotes: 0 |
2019/03/21 | 258 | 985 | <issue_start>username_0: On iPhone, in contacts, you can tap Groups, Global Address List, and then search the GAL for a contact.
I cannot find a way a way to do this on Android.
Is there a way of searching the GAL of a connected Exchange account?<issue_comment>username_1: To remove one at a time:
1. Long-press on a link ( I think the correct name is shortcut).
2. When a menu appears, click Remove.
To remove all:
1. Click on the 3-dot, then Settings.
2. Click on Home page, enable it if it was disabled.
3. Click on "Open this page". Enter `about:blank` or any website you would to open when you open Chrome. You might have to restart Chrome for the changes to take effect.
However, they will re-appear again based on the history.
Upvotes: 2 <issue_comment>username_2: Go to Play Store and uninstall Chrome. It will uninstall the updated version. Then go to your Chrome. Shortcuts never appear again. You can update Chrome. 100% true solution, fixed my own Chrome.
Upvotes: 0 |
2019/03/22 | 1,381 | 5,098 | <issue_start>username_0: Is there any way to disable autostart apps at boot time? I need to disable some of them (not all) like Facebook, etc to get quicker boot time. I'm asking how to do this on Android 9.0.<issue_comment>username_1: Some devices require root access to manage auto start permissions... However Android 5.1 Allows this via Auto Start settings in Security.
* Open Settings > Security
[](https://i.stack.imgur.com/FAdaN.jpg)
* Open Auto Start Settings
[](https://i.stack.imgur.com/320kr.jpg)
* Disable the app from Auto Starting
[](https://i.stack.imgur.com/h8tdA.jpg)
This option should be available on any system with AppOpps
Also If Not On Android with these settings
* Open Settings
* Open Apps
* Open the desired Application
* Select Permissions
* Disable Auto-start permission
Upvotes: 0 <issue_comment>username_2: Without getting into the details whether or not one should stop autostarting apps, and what could be the consequences as discussed in a plenty of other answers, here are my simple solutions which may work without any third party apps, at least on Android Pie.
ROOT SOLUTION:
--------------
Apps use `BroadcastRceivers` to listen for broadcast [ACTION\_BOOT\_COMPLETED](https://developer.android.com/reference/android/content/Intent.html#ACTION_BOOT_COMPLETED) so that they can run on boot. Broadcast receiver is an app component that can be disabled with root privileges.
Using [Package Manager](https://developer.android.com/studio/command-line/adb.html#pm) list all broadcast receivers listening for BOOT\_COMPLETED:
```
~# pm query-receivers --components -a android.intent.action.BOOT_COMPLETED
```
It will give a list of broadcast receivers in format `package_name/component_name`. See `dumpsys activity broadcast-stats` and `dumpsys activity broadcasts` for more details.
Now to disable a component:
```
~# pm disable
```
There are apps like `Autostarts` (*com.elsdoerfer.android.autostarts*) and `SD Maid` (*eu.thedarken.sdm*) which can do same for you. File `/data/system/users/0/package-restrictions.xml` can also be edited directly to disable apps or their components, but it's not recommended.
It's possible to disable multiple broadcast receivers of an app, and a single receiver can also possibly listen to multiple types of [broadcast events](https://chromium.googlesource.com/android_tools/+/refs/heads/master/sdk/platforms/android-28/data/broadcast_actions.txt).
NON-ROOT SOLUTION: (non-universal)
----------------------------------
In order to receive `android.intent.action.BOOT_COMPLETED`, apps need [android.permission.RECEIVE\_BOOT\_COMPLETED](https://developer.android.com/reference/android/Manifest.permission.html#RECEIVE_BOOT_COMPLETED) which is a [normal permission](https://developer.android.com/guide/topics/permissions/overview#normal_permissions) and hence can't be revoked by user.
However there is a *hidden* permission management framework, named `AppOps` that provides a slightly more fine-grained control of (permission-like) operations. [OP\_BOOT\_COMPLETED](https://github.com/LineageOS/android_frameworks_base/blob/lineage-16.0/core/java/android/app/AppOpsManager.java#L770) is one of those but it's not a part of AOSP, ***only added by some custom ROMs*** like LineageOS. If you are on one of such ROMs, you can control the autostart behavior through `adb shell`:
```
~$ appops set BOOT\_COMPLETED deny
```
Now the app won't be allowed to receive BOOT\_COMPLETED broadcast. There are apps like `App Ops` (*rikka.appops*) which can do same for you. Some custom ROMs have built-in front-ends to AppOps with different names like *Privacy Guard*, *AutoStart Manager* etc.
Please note that [AppOps](https://developer.android.com/reference/android/app/AppOpsManager):
>
> is not generally intended for third party application developers; most features are only available to system applications
>
>
>
So its usage without root may be disallowed or get harder in next Android releases.
---
Both of the above methods can stop apps from starting on boot only. An app can listen for some other broadcast events too and it can keep on restarting if killed, or run in background continuously (as a service) if it's designed to be so. See `dumpsys activity services` for more details.
A slightly different approach would be to stop apps from running in background by using [OP\_RUN\_IN\_BACKGROUND](https://android.googlesource.com/platform/frameworks/base/+/refs/tags/android-9.0.0_r34/core/java/android/app/AppOpsManager.java#723) (introduced in Nougat) and/or `RUN_ANY_IN_BACKGROUND` (introduced in Pie) which are part of AOSP:
```
~$ appops set RUN\_IN\_BACKGROUND deny
```
They don't have an equivalent manifest permission, but there is an [experimental permission](https://android.googlesource.com/platform/packages/experimental/+/refs/tags/android-9.0.0_r34/PermissionApp/AndroidManifest.xml#14) with same name.
Upvotes: 5 [selected_answer] |
2019/03/22 | 361 | 1,358 | <issue_start>username_0: I recently acquired a pair of Galaxy Buds to use with my Galaxy S10+. I am using them to listen to Spotify at work. Everything is working fine except the lowest volume setting is a bit too loud. If I were to turn up the volume to 25% then it would be blasting.
I looked around in the system settings and the Galaxy Wear app settings but I don't see any option to adjust this.
Is there a way to decrease the overall Bluetooth audio volume so the lowest notch isn't so loud?<issue_comment>username_1: Under the Spotify settings, switch the volume level setting from normal to quiet and restart the app.
Upvotes: 2 <issue_comment>username_2: I was able to fix this by using the Samsung [SoundAssistant](https://play.google.com/store/apps/details?id=com.samsung.android.soundassistant) app.
1. Install app from Google Play.
2. Go to Individual app volumes.
3. Add application.
4. Adjust volume for that app.
Upvotes: 4 [selected_answer]<issue_comment>username_3: I have an MTK Android phone so I don't know if it will work on others (Snapdragon, Exynos, Kirin, etc)
1. Launch MTK Engineer Mode app: MTK settings > Hardware testing (tab) > Audio > Volume > Audio playback
2. Change the selected channel from System to Music.
3. Then experiment by decreasing the values of Index 1

Upvotes: 0 |