date stringlengths 10 10 | nb_tokens int64 60 629k | text_size int64 234 1.02M | content stringlengths 234 1.02M |
|---|---|---|---|
2021/08/14 | 621 | 2,757 | <issue_start>username_0: I want to use my SD card in such a way that I can take the card out and insert into a Windows PC and access files, but have my Camera and other apps freely write to SD card (so data isn't on phone!).
So far if I format as portable, nothing can write to SD card, but if I format as internal, I cant read outside of phone. I'm running AOSP based Android 10 w/ root. Any suggestions? I'd like to just allow full R/W access to all apps to SD card but not encrypt it basically.<issue_comment>username_1: Since Android 5 write access to the sd-card in portable mode needs to be granted individually for each app. Only apps on a rooted device that are able to use root permissions can bypass this restriction.
For granting write permission the app has to request them in code. Typically it is enough to trigger one write request, e.g. by letting the create a file or folder.
Then Android opens the file application and want's you to select a directory. This is the directory you are granting write permissions for the app, therefore you should select here the path where the sd-card is mounted to, e.g. `/storage/A231-7ADF`. Usually the sd-card is also shown as quick link on the left side of the files app, so you don't have to know the exact path.
After selecting the sd-card path press the button that is usually something like "Select ..." or "OK". Then you will return to the app you have granted write permission to. To my experience the write request that has triggered the whole process will fail, but every request afterwards will work, if the write-grant-process was performed correctly.
For users doing this the first time it is usually very confusing and you might not be successful on first try. I think it took me several days and multiple attempts before I finally had understood the process and selected the correct folder.
Note that the write permission only works if the app uses the Java/Kotlin Android API to open the files. On file-system level access will be still read-only. This affects especially apps that include generic GNU/Linux native applications that are executed internally as they do not use Android API.
Upvotes: 3 [selected_answer]<issue_comment>username_2: I'm confused by this question.... exFAT format installed/mounted as SD doesn't require encryption, it does allows windows file transfer with or without the phone. Write/read access is granted by OS app specific. If you set the app to have access, then it will.
Developer options on Android 10 include a "Force allow apps on external Drive" option you could look into even if you don't root. It will make ALL apps eligible to be written directly to external storage, regardless of manifest values. Seems like that is your goal.
Upvotes: 0 |
2021/08/16 | 649 | 2,889 | <issue_start>username_0: How can I force my phone (Motorola One / Android 10) to stay up and not turn off the screen (as it does after 2 minutes), if I have a map-like app in the foreground:
* Strava,
* Google Maps -- just watching map and my location.
So far I only figured out that when Google Maps are in actual navigation mode then screen never sleeps. But, when I just want to watch my location (in GM or Strava) then it turns itself off as usual.
Is there anything I can do (like some way to register app as "never sleeping" in system configuration?). Or is this per application and only developer can add needed feature?<issue_comment>username_1: Since Android 5 write access to the sd-card in portable mode needs to be granted individually for each app. Only apps on a rooted device that are able to use root permissions can bypass this restriction.
For granting write permission the app has to request them in code. Typically it is enough to trigger one write request, e.g. by letting the create a file or folder.
Then Android opens the file application and want's you to select a directory. This is the directory you are granting write permissions for the app, therefore you should select here the path where the sd-card is mounted to, e.g. `/storage/A231-7ADF`. Usually the sd-card is also shown as quick link on the left side of the files app, so you don't have to know the exact path.
After selecting the sd-card path press the button that is usually something like "Select ..." or "OK". Then you will return to the app you have granted write permission to. To my experience the write request that has triggered the whole process will fail, but every request afterwards will work, if the write-grant-process was performed correctly.
For users doing this the first time it is usually very confusing and you might not be successful on first try. I think it took me several days and multiple attempts before I finally had understood the process and selected the correct folder.
Note that the write permission only works if the app uses the Java/Kotlin Android API to open the files. On file-system level access will be still read-only. This affects especially apps that include generic GNU/Linux native applications that are executed internally as they do not use Android API.
Upvotes: 3 [selected_answer]<issue_comment>username_2: I'm confused by this question.... exFAT format installed/mounted as SD doesn't require encryption, it does allows windows file transfer with or without the phone. Write/read access is granted by OS app specific. If you set the app to have access, then it will.
Developer options on Android 10 include a "Force allow apps on external Drive" option you could look into even if you don't root. It will make ALL apps eligible to be written directly to external storage, regardless of manifest values. Seems like that is your goal.
Upvotes: 0 |
2021/08/17 | 659 | 3,002 | <issue_start>username_0: I have a strong personal preference against adaptive icons. I hate how they make everything look the same and less distinctive. I know apps are required to have them, but most apps still also package a "legacy" icon that has a distinct shape. It seems like every launcher uses the adaptive icons if available though and the extent of their customization in regards to icons is choosing which shape you want every single app to be.
I also know some icon packs change the shapes of some apps, but I want the apps' styles, not the icon packs', and I want *all* icons with legacy icons to use them.
Is there any current way to have this option to not use adaptive icons? I'm on a Pixel, so fairly close to stock Android.<issue_comment>username_1: Since Android 5 write access to the sd-card in portable mode needs to be granted individually for each app. Only apps on a rooted device that are able to use root permissions can bypass this restriction.
For granting write permission the app has to request them in code. Typically it is enough to trigger one write request, e.g. by letting the create a file or folder.
Then Android opens the file application and want's you to select a directory. This is the directory you are granting write permissions for the app, therefore you should select here the path where the sd-card is mounted to, e.g. `/storage/A231-7ADF`. Usually the sd-card is also shown as quick link on the left side of the files app, so you don't have to know the exact path.
After selecting the sd-card path press the button that is usually something like "Select ..." or "OK". Then you will return to the app you have granted write permission to. To my experience the write request that has triggered the whole process will fail, but every request afterwards will work, if the write-grant-process was performed correctly.
For users doing this the first time it is usually very confusing and you might not be successful on first try. I think it took me several days and multiple attempts before I finally had understood the process and selected the correct folder.
Note that the write permission only works if the app uses the Java/Kotlin Android API to open the files. On file-system level access will be still read-only. This affects especially apps that include generic GNU/Linux native applications that are executed internally as they do not use Android API.
Upvotes: 3 [selected_answer]<issue_comment>username_2: I'm confused by this question.... exFAT format installed/mounted as SD doesn't require encryption, it does allows windows file transfer with or without the phone. Write/read access is granted by OS app specific. If you set the app to have access, then it will.
Developer options on Android 10 include a "Force allow apps on external Drive" option you could look into even if you don't root. It will make ALL apps eligible to be written directly to external storage, regardless of manifest values. Seems like that is your goal.
Upvotes: 0 |
2021/08/27 | 581 | 2,611 | <issue_start>username_0: Is it possible to turn on my Android 10 phone's (Samsung Galaxy S9) screen like my Android 11 tablet (Samsung Galaxy Tab S6), by double touching the turned-off screen? Or when detecting that it has been lifted up or somehow it changed its orientation a little bit?
I've searched this website but did not find something useful.<issue_comment>username_1: Since Android 5 write access to the sd-card in portable mode needs to be granted individually for each app. Only apps on a rooted device that are able to use root permissions can bypass this restriction.
For granting write permission the app has to request them in code. Typically it is enough to trigger one write request, e.g. by letting the create a file or folder.
Then Android opens the file application and want's you to select a directory. This is the directory you are granting write permissions for the app, therefore you should select here the path where the sd-card is mounted to, e.g. `/storage/A231-7ADF`. Usually the sd-card is also shown as quick link on the left side of the files app, so you don't have to know the exact path.
After selecting the sd-card path press the button that is usually something like "Select ..." or "OK". Then you will return to the app you have granted write permission to. To my experience the write request that has triggered the whole process will fail, but every request afterwards will work, if the write-grant-process was performed correctly.
For users doing this the first time it is usually very confusing and you might not be successful on first try. I think it took me several days and multiple attempts before I finally had understood the process and selected the correct folder.
Note that the write permission only works if the app uses the Java/Kotlin Android API to open the files. On file-system level access will be still read-only. This affects especially apps that include generic GNU/Linux native applications that are executed internally as they do not use Android API.
Upvotes: 3 [selected_answer]<issue_comment>username_2: I'm confused by this question.... exFAT format installed/mounted as SD doesn't require encryption, it does allows windows file transfer with or without the phone. Write/read access is granted by OS app specific. If you set the app to have access, then it will.
Developer options on Android 10 include a "Force allow apps on external Drive" option you could look into even if you don't root. It will make ALL apps eligible to be written directly to external storage, regardless of manifest values. Seems like that is your goal.
Upvotes: 0 |
2021/08/29 | 519 | 1,999 | <issue_start>username_0: I have a "Xiaomi Redmi Note 8 Pro".
My phone is bricked beyond repair (as far as I can tell).
I want to safely delete all data before I throw it away.
Can I drill a hole in somewhere?
I do not what to risk my health by short-circuiting the battery or something like that.
Edit:
My lock screen has 4 digits.<issue_comment>username_1: Option 1)
In case the phone still boots in recovery mode (usually hold Vol Up and Power-on) and you have root access you could run the command:
```
dd if=/dev/null of=/dev/block/by-name/userdata
```
This will put 0x00 to all your userdata.
As you said, the risk of drilling the battery with a drill is too high.
Option 2)
If there is no power at all, you have to open the device to find the main board and destroy it. And it's a little complicated process because you have to put heat on the screen to unglue it from the back part. And then just remove the main board and put holes on every shield you find.
Option 3)
I have seen many phones been destroyed by a professional company. What they did was to put the phone into salt water for about 30 minutes. It makes all boards completely unusable.
If you're just a regular user (not a public person) option 3 should be enough. But if you are really, really worried about your data getting in wrogn hands, I would say option 2 is better.
Upvotes: 1 <issue_comment>username_2: Unless you have a means to power the device on and wipe the data properly, you need to physically destroy it. The data lives inside an eMMC chip which is conceptually just a SD card soldered to the motherboard. It will not be damaged by salt water (suggested in another answer) or other means that do not physically break the chip into tiny bits. Unless you understand how it works well enough to judge what would destroy it, just assume most things don't.
Pry the phone open, remove the battery, then destroy the rest of the phone physically in a trash compactor or whatever.
Upvotes: 3 [selected_answer] |
2021/08/31 | 754 | 3,633 | <issue_start>username_0: So, Android has this view (I think left to the home button is standard) where you see all the "currently open" apps, whatever that means exactly. What I'm wondering is, how can apps that are not amongst the currently "running" ones receive notifications? For example, Whatsapp, Reddit or Email will still send alerts even on a freshly restarted smartphone where I definitely didn't start the app manually.
How exactly does this work? Are, in a sense, all installed apps running in the background all the time, and in regular intervals asking their home server if there has been a notification? Does the notification somehow get sent to the Android system itself, which in turn activates the requested app on demand? At least on a PC I would expect that a program has to be running in order to send alerts, but maybe Android is completely different?<issue_comment>username_1: Notifications of Whatsapp and Reddit are triggered by push notifications sent from Google servers, received by Google Play Services, a system app which always runs in background. All Google Push notifications (or as they are named today "Firebase Cloud Messaging" notification) are received and initially processed by the Google Play Services.
The next processing step of the received push notification depends on the push notification type. Plain text notifications can be directly displayed without even starting the app it is targeting.
Other push notifications are delivered to the app it belongs to (which is automatically started if it is not already running) and the app can then "translate" the push message into a notification (in case of Whatsapp this require e.g. decryption of the received message or even fetching additional data from Whatsapp servers).
Upvotes: 7 [selected_answer]<issue_comment>username_2: I know there is a good answer to this question already, but I feel that there could also be a detailed technical answer as well.
When you install a new app on your phone that uses push notifications, and give it permission to access the internet, it registers interest in it's push service website with the Google Push Notification service on your phone.
The Google Push Service will then register interest in updates with the push notification server for the app via Web Sockets. This will also occur automatically when you power on your phone when the app has been installed.
When an update occurs, the message is passed from the push notification server to the Google Push Service. Then it is passed to the interested app, which then wakes up if sleeping, or loads it's push monitoring code if it's not loaded to load the notification and notify you of the message.
When you power on your phone, and it registers interest all at once, you may get a flood of push notifications. These are all the notifications since the last time the app last notified the server as you read them. This is done standard in Web Sockets to bring you up to date in what you said you registered interest in.
Some apps may have a server that sends a generic push message to the Google Push App to cause it to wake up the actual app, and then the actual app retrieves the real push message. Not all services do this. This is done for security and privacy.
The reason why the Google Push Notification service is used as a middle man is simply because of the fact that it is always running, unlike almost every other app on your phone. It will always be there to receive a push notification. While you could circumvent it, it could mean that you could miss notifications if your app is not running when they come.
Upvotes: 4 |
2021/09/04 | 1,042 | 4,163 | <issue_start>username_0: When there is an incoming SMS, my phone would show "Messages is processing an incoming message" in the notification drawer, but then that notification would disappear and... nothing! There is no notifications for the actual SMS. When I opened Messages, I couldn't see that incoming SMS. I checked the web interface for Messages, not there either. Couldn't find it in the "Spam & blocked" or Archived either.
[](https://i.stack.imgur.com/9fGeT.jpg)
I need to read this SMS for two factor authentication. I would wait for the SMS to appear, but most of the time it didn't appear until the authentication code expired. I had to request auth code 2 or 3 times before I got it in time.
Is there a way to get SMS quicker?
Android version 9. Device is Asus Zenfone Max Pro M1. Messages version 9.2.030.<issue_comment>username_1: Hardware Performance?
---------------------
It could be that your phone is underpowered.
Your mention a Asus Zenfone Max Pro M1, which is a mid-range phone from 2018. So I wouldn't think it's *THAT* slow, but I definitely see this message occur on underpowered devices (including one of mine, a Nokia 1 Plus), and depending on your setup it be the cause.
I'd recommend you try to "lighten" your phone a bit:
* remove useless apps (to ensure enough available memory to run smoothly),
* replace some apps with lighter versions (for instance, I use Android GO versions of Google Apps when possible, and I use Olauncher as a minimalist launcher),
* disable background tasks where/when possible.
Network / Operator Performance?
-------------------------------
I don't think it's related to the phone network operator.
I get these on different networks with that phone. And I have not issues when I use other phones on these networks.
Upvotes: 2 [selected_answer]<issue_comment>username_2: I was able to get theses kinds of messages by simply downloading a new messaging app that carries over your current messages. I personally had access to Verizon's messenger+ which worked fine for me. Hope this helps
Upvotes: 0 <issue_comment>username_3: I guess it's the phone problem. I recently change my phone and now it take years for the sms to came in. Previously with the old phone, I can receive sms normally
Upvotes: 0 <issue_comment>username_4: As of June 2023, here's how I managed to make this infamous "Messages is processing an incoming message" issue resolved on my Pixel 2 (running a rooted Android 11 ):
1. Upgrade to the latest Messages app.
2. Open <https://messages.google.com/web> in your Google Chrome on your Android device (yes, it's gotta be on the corresponding Android device where you got the issue, otherwise it won't do). Check on "Remember this computer", take the screenshot of the QR code.
3. Quickly send this QR code screenshot to your own self on WhatsApp/Telegram/Signal or similar app (the idea here is to be able to open this QR code on another machine via WhatsApp/Telegram Web/Desktop so that you can scan it using your phone).
4. Using your PC or Mac, open the chat-to-yourself containing the QR code screenshot from the previous step on e.g. WhatsApp Web. While leaving it open, open the Messages app on the problematic phone, go to "Device pairing" and scan the aforementioned QR code.
5. Now that your Messages app and Chrome for Android are paired on the same phone, open again <https://messages.google.com/web> in your Chrome (on your phone) and verify that the Messages Web works correctly there.
6. Lastly, click on the Chrome's menu while opening the Messages Web tab, and select "Add to Home screen" – this will add "Messages Web" to your phone's home screen.
7. After this **pairing act between your Messages app and Chrome for Android** on your phone, you should be able to receive messages/SMS normally again within 2-3 seconds window! ⚡️
I believe the pairing act forces the messages/SMS checking mechanics to be constantly executed somehow by the Messages app:
[](https://i.stack.imgur.com/ApXWo.jpg)
Upvotes: 1 |
2021/09/04 | 516 | 1,778 | <issue_start>username_0: **The situation**
Whenever I install TWRP, it gets replaced by stock recovery.
It doesn't boot to recovery at all the first time.
But it shows a message :
>
> Orange state
>
> your device is unlocked and cannot be trusted
>
> rebooting in 5 seconds
>
>
>
If I even managed to boot into recovery, it's the stock one that's there
\* *I don't boot directly to the system.*
\* *I use [Reboot Manager app](https://play.google.com/store/apps/details?id=com.jc.rebootmanager&hl=en_SG&gl=US) to boot into fastboot, recovery.*
\* *same results with buttons, but I prefer the app for ease of use (power button is bad).*
---
**Info**
* Bootloader : unlocked (w/ adb)
* Root : Magisk (w/ magisk manager)
* Model : Infinix zero 4 plus x602
---
**Steps I tried** :
1- using adb
```
> fastboot flash recovery recovery.img
> fastboot reboot recovery
//OR
> fastboot boot recovery.img
```
2- SP flash tool
same results as before
3- TWRP app
*app crashes and doesn't work*
---
what should I do to install twrp recovery?<issue_comment>username_1: >
> **Why Stock recovery replaces my TWRP?**
>
>
>
usually TWRP will ask for prevent updating stock recovery automatically on initial setup, it ask for swipe to allow system modifications. you can rename `/system/recovery-from-boot.p` manually instead.
For Samsung devices there is a service called `flash_recovery` that will run when the system starts up, which will restore the recovery image back to stock. TWRP itself might not solve that, therefore multidisabler flashable zip exist for some device models.
Upvotes: 0 <issue_comment>username_2: Try to burn all the firmware again with the sp flash tool and instead of the original recovery you will burn TWRP
Upvotes: 1 |
2021/09/04 | 286 | 786 | <issue_start>username_0: How to root [Xiaomi Qin F21 Pro Touch](https://www.alibaba.com/product-detail/Qin-F21-pro-touch-screen-button_1600287560015.html)? (I have the firmware)<issue_comment>username_1: Unlock [bootloader](https://forum.xda-developers.com/t/tools-mod-scripts-mlgmxyysds-qin-f21-pro-unlock-tool.4368277), disable [android verified boot](https://android.stackexchange.com/q/219968) and root with [systemless-root](https://android.stackexchange.com/tags/systemless-root/info) method. If non-unlockable bootloader root with [bootless-root](https://forum.xda-developers.com/t/amazing-temp-root-for-mediatek-armv8-2020-08-24.3922213/post-82081703) method.
Upvotes: 1 <issue_comment>username_2: Press the off button together with call button for about 10 seconds
Upvotes: -1 |
2021/08/23 | 372 | 1,360 | <issue_start>username_0: I had an old mobile phone with Android 8.x Oreo. In it, I was using "[SSH/SFTP Server - Terminal](https://play.google.com/store/apps/details?id=net.xnano.android.sshserver)" app to access my files on the phone through "[WinSCP](https://winscp.net/eng/index.php)" in "Windows 10". I used to do that while a VPN connection with "[UFO VPN](https://ufovpn.io/)" Android app is active on the mobile phone.
Now, I bought a new mobile phone with Android 11, when I tried to do all the things above, WinSCP refused the connection over the VPN and I can only access the files without the VPN.
I tried to solve the problem by using different SFTP server apps and VPN apps with no success.
Any help will be appreciated, with a notice that I don't want to use a normal connection on my phone.<issue_comment>username_1: It seems that the Android version newer than Oreo prevent VPN and SSH connection at the same time, only one connection can be active.
That is very very frustrated.
Upvotes: 1 <issue_comment>username_2: This is because the VPN app disconnects the SSH tunnel to pass all the traffic through itself, causing the SSH connection to drop.
The solution is to exclude the SSH tunnelling app, e.g. Connect Bot, in the VPN app. I have also explained this in more details [here](https://serverfault.com/a/1123223/1005774).
Upvotes: 0 |
2021/09/08 | 421 | 1,750 | <issue_start>username_0: There have been many questions asked and answered on this topic but unfortunately I've not found one that addresses my issue.
I have read that to transfer the WhatsApp chat history to a new phone it is necessary to first back up the chat history from the old phone (before removing the SIM) to Google Drive. Unfortunately I didn't do this. I moved the SIM from my old to the new, installed WhatsApp and registered it with the old number, so losing all my chat history.
I assume that my chat history is still on my old phone but if I run it with a different SIM, WhatsApp presents me with the welcome screen and I have no way of accessing my chat history (I have not tried registering WhatsApp on the old phone with an new number). So I now have a chat history on both my old and new phones.
Is there any way to access the chat history from the old phone and combine it with that on the new phone.
Suppose I temporarily move my original SIM back to my old phone and get WhatsApp running again with the old number, will my chat history be restored? If so, I am thinking I could then do the Backup to Google Drive and then somehow combine the two histories on the new phone<issue_comment>username_1: It seems that the Android version newer than Oreo prevent VPN and SSH connection at the same time, only one connection can be active.
That is very very frustrated.
Upvotes: 1 <issue_comment>username_2: This is because the VPN app disconnects the SSH tunnel to pass all the traffic through itself, causing the SSH connection to drop.
The solution is to exclude the SSH tunnelling app, e.g. Connect Bot, in the VPN app. I have also explained this in more details [here](https://serverfault.com/a/1123223/1005774).
Upvotes: 0 |
2021/09/13 | 248 | 964 | <issue_start>username_0: My Android phone does not show SMS sender ID, for example if one of the friends from my contact list, texts me, my phone will not show the name of the sender (which is saved in my contact list), it just shows the phone numner of the sender.
But when they call me, my phone shows the caller ID name (as saved in my contact list).
Any help fixing this issue will be appreciated.
Thank you<issue_comment>username_1: It seems that the Android version newer than Oreo prevent VPN and SSH connection at the same time, only one connection can be active.
That is very very frustrated.
Upvotes: 1 <issue_comment>username_2: This is because the VPN app disconnects the SSH tunnel to pass all the traffic through itself, causing the SSH connection to drop.
The solution is to exclude the SSH tunnelling app, e.g. Connect Bot, in the VPN app. I have also explained this in more details [here](https://serverfault.com/a/1123223/1005774).
Upvotes: 0 |
2021/09/14 | 941 | 3,671 | <issue_start>username_0: How do I keep my WiFi running when my phone's screen is off and locked?
Facts:
1. The biggest battery drain is my screen usage
2. WiFi uses your battery, but not nearly as badly as the screen
3. I use my phone to stream audio
4. I intentionally turn off my phone's screen to save my phone's battery
5. If I'm playing a local file that I previously downloaded, then I have no issues with the audio stopping when my screen is off.
6. If I'm streaming audio, then sometime after I turn off my phone's screen, the audio streaming stops (I guess after it locks and the the stream buffer is empty)
7. Immediately after I wake my screen, the audio stream resumes. Unlocking the phone is not necessary to resume the audio stream.
I assume, therefore, that my phone is disabling my WiFi sometime after my handset's screen is turned off.
I am running LineageOS 18 (Android 11).
How do I prevent my android device from disabling my WiFi when the screen is off?<issue_comment>username_1: Head away to the battery section in Lineage OS settings and disable power manager.
If that doesn't work, something is wrong either with your vendor or the kernel.
*Also keep in mind that while asking device specific questions, it's highly recommended to include basic information such as your device model, vendor info (ie using stock vendor or not etc), state of boot image etc. If not everything, atleast provide the device model*
Upvotes: 0 <issue_comment>username_2: To accomplish what you want, you can install the app [Fake Standby](https://f-droid.org/en/packages/android.jonas.fakestandby/). It is a free open-source application.
Fake Standby will turn off your screen while keeping apps running. This will allow you to listen to audio (podcasts, for example) without draining your battery so much.
I've used it many times, and it has worked well for me.
Upvotes: 1 <issue_comment>username_3: I know of no way to disable doze as the admin of the OS (Android) itself
* <https://stackoverflow.com/questions/50115053/is-it-possible-to-completely-disable-the-doze-mode-and-standby-mode>
(but please comment on this if there's some way to do it with Xposed or similar)
From the app (developer) itself
-------------------------------
The Google documentation on `MediaPlayer` specifically tell developers to use `WifiLock` to prevent wifi from being disabled if the app streams media
>
> If you are streaming media over the network and you are using Wi-Fi, you probably want to hold a WifiLock as well, which you must acquire and release manually.
>
>
>
source: <https://developer.android.com/guide/topics/media/mediaplayer>
The Google documentation on `WifiLock` can be found here:
* <https://developer.android.com/reference/android/net/wifi/WifiManager.WifiLock>
Battery Optimization
--------------------
You can disalbe "Battery Optimization" on a per-app basis by going to your Android Settings -> `Apps & notifications` -> `Special app access` -> `Battery optimization`.
From the drop-down at the top, choose `All apps`
Scroll-down to the app that you're having issues with. Click it, and choose `Don't optimize`
Intermediary (eg network stack) apps
------------------------------------
In my case I found that the issue was actually not the app itself, but an intermediary network app that wasn't doing the `WifiLock`. In my case it was the [OpenVPN for Android](https://f-droid.org/en/packages/de.blinkt.openvpn/) app.
The solution was to open `OpenVPN for Android`, go to `Settings` and uncheck `Pause VPN connection after screen off`
Now my audio stream doesn't cut-off shortly after the screen locks.
Upvotes: 1 [selected_answer] |
2021/09/19 | 1,212 | 4,382 | <issue_start>username_0: There is a vendor image in my device I want to change (unpack/mount, doing changes, pack/umount). My purpose is to update `boot.img` with my new kernel (in a rooted device). Unfortunately, it does not work due to incompatible versions between a newly compiled kernel (my compilation) to the previous kernel modules stored in `vendor.img`. As I figure it, I need to update the old `ko` executables stored in `vendor.img` in my product.
The first step is to do `dd` from my device and `adb pull` it out to my build environment. While I tried to do a mount on `vendor.img`, I discovered it not working due `share_blocks` attribute blocking it to mount as RW (`dmesg` wrote: "...unsupported optional features (4000)"), To solve it, running the following command
```
e2fsck -y -E unshare_blocks vendor.img
```
will disable the `share_blocks` feature that prevented me to do mount as RW. Of course, doing mount RW works correctly.
In the last phase, I tried to replace files in the `vendor` filesystem and then I discovered another challenge into my way, Unfortunately, there was a problem with limited space in the file system,
For example: In case I want to replace the kernel module called `abc.ko`, deleting the file doesn't show any new free space in the file system. At this point, I can't update the old kernel modules with the new ones (compatible with the newly compiled kernel). Of course, running `df -h .` returned no free space and 100% used.
Does anyone have any idea what I need to do?<issue_comment>username_1: Assuming `vendor` is standalone partition (for `super` partition, refer to other question)
```
adb pull /dev/block/platform/bootdevice/by-name/vendor vendor.img
dd if=/dev/zero bs=1G seek=1 count=0 of=vendor.img
resize2fs vendor.img 1G
e2fsck -E unshare_blocks vendor.img
e2fsck -yf vendor.img
adb push vendor.img /dev/block/platform/bootdevice/by-name/vendor
```
that will resize to 1 GB total.
Upvotes: 0 <issue_comment>username_2: I know it is almost 2 years ago, but this is solved.
1. Go to this repository: <https://sourceforge.net/projects/multi-function-patch/files/RO2RW/>. I used this version and the test one successfully: `RO2RW-StableBeta.v3.7.2.1.zip`.
2. You flash it in Magisk with the phone running.
3. Reboot and open up Termux
4. Execute the following commands
```
su
RO2RW
```
The script will walk you through the process. Many options like adding disable force encryption which is a boon to development since TWRP decryption is spotty at best now on a variety of devices. It allows you to resize or repartition in a variety of options.
At the end of the script, it offers a choice of a deblocked `super` for flashing in TWRP style recoveries or one suitable for fastboot work. It dumps the new `super` with a `vbmeta` and `vbmeta_system` image that corresponds to a folder in the internal storage. At this point, you can use a number of tools to dump the `super` and edit it, and then put it back together.
---
All my phones are RW rootfs now. The good old days of wiping out bloatware and having room for new system apps is back.
I am experimenting as we speak with repacking the decrypted RW `super` to include GSI VNDKLite system images. I love a lot of these ROMs but it is such a PITA to get good connectivity and MMS out of them due to the proprietary firmware for the devices and radios.
I am shooting to modify `vendor_boot` and repack the super with the GSI system, but retain the vendor-specific hardware items in the factory firmware in `vendor`, `vendor_boot`, `boot.img/kernel/`, `vendor`, and `product` partitions. I think it's a matter of putting them in the same folder and using common tools for repacking these and editing `vendor_boot`. According to what I have been reading, facilitating this is actually the purpose of the new setup with these bundled ramdisks in `vendor_boot`. If/when I sort it out, I will throw a tutorial up on XDA. I am about to fire this tool off towards that end: <https://gitee.com/cfig/Android_boot_image_editor>.
---
Other relevant links:
* <https://android.googlesource.com/platform/system/tools/mkbootimg/+/135c68bdd32ac1bbc4ec4ccb7881e2184d92c890/unpack_bootimg.py>
* <https://source.android.com/docs/core/architecture/partitions/vendor-boot-partitions>
* <https://github.com/u-boot/u-boot/blob/master/doc/android/boot-image.rst>
Upvotes: 2 |
2021/09/29 | 2,940 | 11,185 | <issue_start>username_0: The way Android works, there are two cases in which an app is killed.
1. The device is low on RAM. This is kind of self-explanatory, there is generally no page file on Android, and RAM is finite.
2. The maximum number of cached processes is reached. To quote a comment in the AOSP source code:
>
> The maximum number of cached processes we will keep around before killing them. NOTE: this constant is *only* a control to not let us go too crazy with keeping around processes on devices with large amounts of RAM. For devices that are tighter on RAM, the out of memory killer is responsible for killing background processes as RAM is needed, and we should *never* be relying on this limit to kill them. Also note that this limit only applies to cached background processes; we have no limit on the number of service, visible, foreground, or other such processes and the number of those processes does not count against the cached process limit.
>
>
>
I've noticed that it's not quite that simple, though. Time especially seems to be a factor. I can open 10, 20 apps and it's not a problem. Let the phone sit overnight, and it will only be 4 apps in my case.
In the first case, the solution is fairly obvious: somehow increase the amount of usable RAM, whether that's by reducing the number of services running, using zRAM, using a device with a lot of RAM, etc. My device (SHIFT6mq) has 8GB of RAM, and usually only about half of that is being used, so that's obviously not the restriction in my case. Which leads us to 2.
The solution here is less obvious. The most promising bit I found is this: <https://github.com/crok/crokrammgmtfix>, and the accompanying blog post here: <https://telegra.ph/Fine-tuning-an-Android-system-04-20>. I've tried the magisk module, and tried what's listed on the blog post. Doesn't matter, when I execute `su -c dumpsys activity settings` the results stay the same, and when I wake up, there are still only 4 apps running, whereas there were many more before I went to bed. I also found this thread on XDA: <https://forum.xda-developers.com/t/how-to-disable-adjust-the-background-task-limit.3886743/>, which has very similar measures. Problem is, this all seems to apply to Android versions under 10 - and I definitely couldn't get it to work on Android 10.
Now, some would say, that's the way it should work. You know what? If I wanted the app closed, I wouldn't have left it open. Now leave it open. I have 8GB of RAM, which has shown to be more than enough for that. And it closes the apps overnight... which is specifically when I have the phone plugged in.
So, how do I tweak the settings of the activity manager (or anything else for that matter) so that it stops killing apps I explicitly left open, when there's more than enough RAM available?
Note: I realize there are some devices (e.g. Samsung, Huawei) with overly aggressive battery saving measures on top of that in AOSP. This is not what I'm referring to. The stock ROM on the SHIFT6mq is very close to AOSP.<issue_comment>username_1: Well, this sure enough confirmed my hypothesis of "if no one on stackexchange knows the answer, you're going to have to figure it out yourself".
So I did.
The answer to this question is twofold. There's the window manager and the activity manager, and both play a certain role in this.
While it was tempting to write a TL;DR at the top here, I didn't, because especially with the second part, you have to be very careful with what you're doing, at least for now.
Window Manager/Recent Tasks
---------------------------
Let's start with the window manager, as this will also be interesting for people without large amounts of RAM. Also, it's quite a bit simpler.
It works with a number of variables: `config_activeTaskDurationHours` as well as a number of `NumVisibleRecentTasks` variables. `config_activeTaskDurationHours` determines, as the name suggests, how long a task is considered active, that is, relevant to the user. On my device, this was set to 6. After those 6 hours, the "task" no longer appears in the recent apps list, with one exception: the number of open apps would be lower than, in my case, `config_minNumVisibleRecentTasks`, launcher included. In that case, the app is not discarded. If the number of open apps is the same as `config_minNumVisibleRecentTasks`, though, then as soon as you open an app that isn't opened yet, the oldest open app that hasn't been used for more than 6 hours is discarded.
There are also a couple of other related settings that weren't relevant in my case:
* `config_minNumVisibleRecentTasks_grid`: This is for when apps are displayed in a grid. This view is not available on many builds of Android, though.
* `config_minNumVisibleRecentTasks_lowRam`: The same setting for low RAM devices.
* `config_maxNumVisibleRecentTasks`, `config_maxNumVisibleRecentTasks_grid`, and `config_maxNumVisibleRecentTasks_lowRam`: these are upper limits for the numbers of recent tasks. In my case `config_maxNumVisibleRecentTasks` was set to -1, which means there is no maximum limit.
These are all grabbed from resources, and can be modified with GravityBox (root and XPosed/EdExposed/LSPosed required), under the Advanced tuning section, in the Framework section. They require a restart to activate the changes.
In my case, I set both `config_activeTaskDurationHours` and `config_minNumVisibleRecentTasks` to a ridiculous level: 5000. That way, it takes over a half a year for a task to have a chance to be removed, and that only if there are more than 5000 apps open, which I suspect will never happen.
Activity Manager/OomAdjuster
----------------------------
This was a bit of a tougher nut to crack for me, and took a good amount of searching through the source code to find the answer - although the answer may not have really required it. Oh, well.
I first tried writing an XPosed module to override `com.android.server.am.ActivityManagerConstants`, specifically `updateMaxCachedProcesses`. Unfortunately, I couldn't get it to hook the method properly, I don't know why. Mind you, I've never tried writing an XPosed module before, and I did this with AIDE - maybe sometime I'll unpack Android Studio again and try it in there. But if anyone wants finer control, this should offer an avenue to do that.
At the end, my original suspicion that you might be able to use the background process limit unoficially to increase the limit ended up being true. Sure enough, if you go into developer settings and change the background process limit to, say, 4, the output of `su -c dumpsys activity settings` looks like this at the end:
```
mOverrideMaxCachedProcesses=4
CUR_MAX_CACHED_PROCESSES=4
CUR_MAX_EMPTY_PROCESSES=2
CUR_TRIM_EMPTY_PROCESSES=15
CUR_TRIM_CACHED_PROCESSES=10
```
Note that the trim levels aren't changed, and IMO it doesn't make sense to change those levels even if the device has a high amount of RAM. Essentially, if the process numbers are below the trim levels, the system doesn't even bother trimming memory.
So, how can we assign a higher value? This is where things get complicated. I tried to call `ActivityManager.setProcessLimit()` with the permission `android.permission.SET_PROCESS_LIMIT` (which is only available to system apps but can also be granted via ADB) as defined in the IActivityManager Interface, but I couldn't get it to work (again, I was working with AIDE, so that may be the problem, I may try it again on Android Studio later).
However, there is a little known android shell command, `service call`, which essentially lets you call a whole bunch of methods from different service interfaces, see [Where to find info on Android's "service call" shell command?](https://stackoverflow.com/questions/20227326/where-to-find-info-on-androids-service-call-shell-command). What you're looking for is the activity service, which is defined in `android.app.IActivityManager.aidl`, and you're looking for the method `setProcessLimit(int max)`. Using the terminal, we can do `service list` to get a list of the services that can be called here. In my case, the service name I'm looking for was activity. Then, we look up the `setProcessLimit(int max)` command in the source code. Since I'm reasonably close to AOSP, I can look it up in there. In my case, it's the 40th command.
WARNING: Before I show what I needed for my device, **don't just blindly follow this**. This is different for just about every version of Android, and if you mess it up, **it could cause problems**. Read the link from the paragraph beforehand to be sure, at the very least be sure to understand my explanation in the previous paragraph.
In my case, I decided to set it to something ridiculous, so I took the tenfold of the original value, 600. That turned it into: `service call activity 40 i32 600` (be sure to run `su` before that as this needs root privileges). Now, when I call `su -c dumpsys activity settings`, the section looks like this:
```
mOverrideMaxCachedProcesses=600
CUR_MAX_CACHED_PROCESSES=600
CUR_MAX_EMPTY_PROCESSES=300
CUR_TRIM_EMPTY_PROCESSES=15
CUR_TRIM_CACHED_PROCESSES=10
```
Halleluja! We did it! Mind you, AFAIK, you'll have to repeat the `service call` command on every restart, and if you mess around with the background process limit setting in developer settings, you'll also lose what you just set.
Maybe someday I'll try the approach with a root/adb app or an XPosed module again, and If I do, I'll update this answer. But for now, I'm happy with the results. RAM usage is now more between 5.5 and 6GB, as opposed to 4GB. Apps seem to be restarting less. Life is better.
Upvotes: 1 [selected_answer]<issue_comment>username_2: I updated [my module that's been mentioned in the original question](https://github.com/username_2/username_2rammgmtfix) and actually there's a way to set `max_cached_processes` to a value that survives restarts - even without root, with simple adb commands. Check the module's documentation and all the links lead me to the solution. Cheers!
Android 9 and below:
--------------------
```
settings put global activity_manager_constants max_cached_processes=256
```
Android 10 and above:
---------------------
```
/system/bin/device_config put activity_manager max_phantom_processes 2147483647
/system/bin/device_config put activity_manager max_cached_processes 256
```
Or something like this:
```
[ $(getprop ro.build.version.release) -gt 9 ] && cmd device_config set_sync_disabled_for_tests persistent
[ $(getprop ro.build.version.release) -gt 9 ] && cmd device_config put activity_manager max_cached_processes 256 || settings put global activity_manager_constants max_cached_processes=256
[ $(getprop ro.build.version.release) -gt 9 ] && cmd device_config put activity_manager max_phantom_processes 2147483647
[ $(getprop ro.build.version.release) -gt 9 ] && cmd settings put global settings_enable_monitor_phantom_procs false
[ $(getprop ro.build.version.release) -gt 9 ] && cmd device_config put activity_manager max_empty_time_millis 43200000
[ $(getprop ro.build.version.release) -gt 9 ] && cmd settings put global settings_enable_monitor_phantom_procs false
```
Upvotes: 1 |
2021/10/01 | 2,341 | 8,906 | <issue_start>username_0: I would like to install Spotify on my Gabb Z2 phone. The Gabb phone runs a modified version of Android that is programmed to have only default apps and no store. They somehow managed to get their own app on there, which leads me to believe that there is a way to install apps on this phone.
I try to go to Privacy > Permission Manager > Search > Autofill where the developer options are so I can turn on USB Debugging, it does nothing, the bug was found and patched so that there is no way to access the options. As a side note, I also tried going to About Phone and clicking on the build number 7 times.
I have scoured the internet looking for the solution to my problem, I came close but I was blocked. How to install APK on Gabb Z2?<issue_comment>username_1: Well, this sure enough confirmed my hypothesis of "if no one on stackexchange knows the answer, you're going to have to figure it out yourself".
So I did.
The answer to this question is twofold. There's the window manager and the activity manager, and both play a certain role in this.
While it was tempting to write a TL;DR at the top here, I didn't, because especially with the second part, you have to be very careful with what you're doing, at least for now.
Window Manager/Recent Tasks
---------------------------
Let's start with the window manager, as this will also be interesting for people without large amounts of RAM. Also, it's quite a bit simpler.
It works with a number of variables: `config_activeTaskDurationHours` as well as a number of `NumVisibleRecentTasks` variables. `config_activeTaskDurationHours` determines, as the name suggests, how long a task is considered active, that is, relevant to the user. On my device, this was set to 6. After those 6 hours, the "task" no longer appears in the recent apps list, with one exception: the number of open apps would be lower than, in my case, `config_minNumVisibleRecentTasks`, launcher included. In that case, the app is not discarded. If the number of open apps is the same as `config_minNumVisibleRecentTasks`, though, then as soon as you open an app that isn't opened yet, the oldest open app that hasn't been used for more than 6 hours is discarded.
There are also a couple of other related settings that weren't relevant in my case:
* `config_minNumVisibleRecentTasks_grid`: This is for when apps are displayed in a grid. This view is not available on many builds of Android, though.
* `config_minNumVisibleRecentTasks_lowRam`: The same setting for low RAM devices.
* `config_maxNumVisibleRecentTasks`, `config_maxNumVisibleRecentTasks_grid`, and `config_maxNumVisibleRecentTasks_lowRam`: these are upper limits for the numbers of recent tasks. In my case `config_maxNumVisibleRecentTasks` was set to -1, which means there is no maximum limit.
These are all grabbed from resources, and can be modified with GravityBox (root and XPosed/EdExposed/LSPosed required), under the Advanced tuning section, in the Framework section. They require a restart to activate the changes.
In my case, I set both `config_activeTaskDurationHours` and `config_minNumVisibleRecentTasks` to a ridiculous level: 5000. That way, it takes over a half a year for a task to have a chance to be removed, and that only if there are more than 5000 apps open, which I suspect will never happen.
Activity Manager/OomAdjuster
----------------------------
This was a bit of a tougher nut to crack for me, and took a good amount of searching through the source code to find the answer - although the answer may not have really required it. Oh, well.
I first tried writing an XPosed module to override `com.android.server.am.ActivityManagerConstants`, specifically `updateMaxCachedProcesses`. Unfortunately, I couldn't get it to hook the method properly, I don't know why. Mind you, I've never tried writing an XPosed module before, and I did this with AIDE - maybe sometime I'll unpack Android Studio again and try it in there. But if anyone wants finer control, this should offer an avenue to do that.
At the end, my original suspicion that you might be able to use the background process limit unoficially to increase the limit ended up being true. Sure enough, if you go into developer settings and change the background process limit to, say, 4, the output of `su -c dumpsys activity settings` looks like this at the end:
```
mOverrideMaxCachedProcesses=4
CUR_MAX_CACHED_PROCESSES=4
CUR_MAX_EMPTY_PROCESSES=2
CUR_TRIM_EMPTY_PROCESSES=15
CUR_TRIM_CACHED_PROCESSES=10
```
Note that the trim levels aren't changed, and IMO it doesn't make sense to change those levels even if the device has a high amount of RAM. Essentially, if the process numbers are below the trim levels, the system doesn't even bother trimming memory.
So, how can we assign a higher value? This is where things get complicated. I tried to call `ActivityManager.setProcessLimit()` with the permission `android.permission.SET_PROCESS_LIMIT` (which is only available to system apps but can also be granted via ADB) as defined in the IActivityManager Interface, but I couldn't get it to work (again, I was working with AIDE, so that may be the problem, I may try it again on Android Studio later).
However, there is a little known android shell command, `service call`, which essentially lets you call a whole bunch of methods from different service interfaces, see [Where to find info on Android's "service call" shell command?](https://stackoverflow.com/questions/20227326/where-to-find-info-on-androids-service-call-shell-command). What you're looking for is the activity service, which is defined in `android.app.IActivityManager.aidl`, and you're looking for the method `setProcessLimit(int max)`. Using the terminal, we can do `service list` to get a list of the services that can be called here. In my case, the service name I'm looking for was activity. Then, we look up the `setProcessLimit(int max)` command in the source code. Since I'm reasonably close to AOSP, I can look it up in there. In my case, it's the 40th command.
WARNING: Before I show what I needed for my device, **don't just blindly follow this**. This is different for just about every version of Android, and if you mess it up, **it could cause problems**. Read the link from the paragraph beforehand to be sure, at the very least be sure to understand my explanation in the previous paragraph.
In my case, I decided to set it to something ridiculous, so I took the tenfold of the original value, 600. That turned it into: `service call activity 40 i32 600` (be sure to run `su` before that as this needs root privileges). Now, when I call `su -c dumpsys activity settings`, the section looks like this:
```
mOverrideMaxCachedProcesses=600
CUR_MAX_CACHED_PROCESSES=600
CUR_MAX_EMPTY_PROCESSES=300
CUR_TRIM_EMPTY_PROCESSES=15
CUR_TRIM_CACHED_PROCESSES=10
```
Halleluja! We did it! Mind you, AFAIK, you'll have to repeat the `service call` command on every restart, and if you mess around with the background process limit setting in developer settings, you'll also lose what you just set.
Maybe someday I'll try the approach with a root/adb app or an XPosed module again, and If I do, I'll update this answer. But for now, I'm happy with the results. RAM usage is now more between 5.5 and 6GB, as opposed to 4GB. Apps seem to be restarting less. Life is better.
Upvotes: 1 [selected_answer]<issue_comment>username_2: I updated [my module that's been mentioned in the original question](https://github.com/username_2/username_2rammgmtfix) and actually there's a way to set `max_cached_processes` to a value that survives restarts - even without root, with simple adb commands. Check the module's documentation and all the links lead me to the solution. Cheers!
Android 9 and below:
--------------------
```
settings put global activity_manager_constants max_cached_processes=256
```
Android 10 and above:
---------------------
```
/system/bin/device_config put activity_manager max_phantom_processes 2147483647
/system/bin/device_config put activity_manager max_cached_processes 256
```
Or something like this:
```
[ $(getprop ro.build.version.release) -gt 9 ] && cmd device_config set_sync_disabled_for_tests persistent
[ $(getprop ro.build.version.release) -gt 9 ] && cmd device_config put activity_manager max_cached_processes 256 || settings put global activity_manager_constants max_cached_processes=256
[ $(getprop ro.build.version.release) -gt 9 ] && cmd device_config put activity_manager max_phantom_processes 2147483647
[ $(getprop ro.build.version.release) -gt 9 ] && cmd settings put global settings_enable_monitor_phantom_procs false
[ $(getprop ro.build.version.release) -gt 9 ] && cmd device_config put activity_manager max_empty_time_millis 43200000
[ $(getprop ro.build.version.release) -gt 9 ] && cmd settings put global settings_enable_monitor_phantom_procs false
```
Upvotes: 1 |
2021/10/02 | 755 | 2,505 | <issue_start>username_0: Can't use my banking app **nor** pass safetynet
Completely Hid the banking app, and *google store*, and *google services* on *Magisk hide*.
Also tried **a few relevant *Magisk* modules:**
* Magisk Hide props config (default)
* Systemless host (default)
* Universal SafetyNet fix 2.1.1
* Riru framework
* Riru Unshare
* Riru MomoHider
**Relevant Xposed modules:**
* RootCloak
* SudoHide
* XprivacyLua
* Bancontact RootBypasser
Also tried *Island*, and applying those modules above to the isolated app. No deal
Can't disable OEM unlock, or else TWRP is blocked by some FRP
What else can be done ?
```
Samsung G935F
Lineage OS 15.1 (Oreo 8.1)
```
Same use to happen before, with S7's original ROM
**Important:** I have other Xposed/LSPosed modules that I **need**:
* ExSDCard Access Enabler (Magisk)
* App Locale 2
* Lucky+Patcher
* Jasi Patcher
* Disable-FLAG\_SECURE
* Greenify
* Secure Settings
* AFWall+
**And apps:**
* Titanium backup
---
**Second part of the question:**
How can I tell HOW the app detects root ?
So I can possibly patch the leak... Block services... Make XprivacyLua more effective
Maybe this second part is the most relevant here
---
**Third (optional) question:**
Are there any updated news regarding this cat and mouse fight ? Is someone working against this hardware verification ? Having breakthroughs ?<issue_comment>username_1: You don't need all of those modules and apps (though XprivacyLua is needed)
**I can totally understand your situation so I'll explain what i did for myself. Just follow step by step and it'll work.**
First things first, remove every magisk module (incuding systemless hosts,Unshare and Momohider - yes we dont need that) **except Riru CORE framework.**
Also remove whatever xposed module you've installed except XprivacyLua (also you should be using riru lsposed, not xposed)
Now install Riru - LSPosed, Universal safety net fix [1.2.0](https://github.com/kdrag0n/safetynet-fix/releases/download/v1.2.0/safetynet-fix-v1.2.0.zip) (not 2.1.0)
Now follow relevant parts of [this](https://telegra.ph/Pass-Safetynet-on-Rooted-Device-09-02-2) guide.
DO reset data of Play services, Play store and Google Services Framework.
Reboot and safetynet should pass.
Feel free to comment any doubts
Upvotes: 2 <issue_comment>username_2: You should try uninstall titanium backup. Once one of my banking app detected TB and stopped working. After uninstalling TB I was able to hide root from that app
Upvotes: 0 |
2021/10/07 | 575 | 2,386 | <issue_start>username_0: I'm not sure what's the best name, and probably these are not even "notification" since I tried to surface the whole menu and submenu without success.
The only thing I know is that when I set up this new phone yesterday (an OPPO Find X3 Pro), at some point I did encounter a setting that allowed me to delay these notifications from the "default" (2 seconds as far as I remember) to 30 seconds.
As a result, there are some operations showing the output of their action (e.g. the contact app when you delete a contact says "1 contact deleted") for the above time in a kind of overlay that is impossible to remove. I simply need to wait for it to disappear after the timeframe.
This persistent clutter drives me crazy and I don't know where else I can search for it.
Is it my memory serving me incorrectly about the above setting, or did I really change something in the settings?<issue_comment>username_1: I think what you want is to:
1. Long touch the notification you want to disable
2. Select the gear button (settings)
3. Un-grant the permission to show notifications
You won't see notifications anymore of that app.
Upvotes: -1 <issue_comment>username_2: So, after an unsuccessful attempt to get Oppo's support (they suggested a system setting factory reset), I was able to figure out the setting location for changing the toast length time on Android 11 and ColorOS 11.2.
Everything boils down to the Accessibility menu, particularly this one: **Settings -> Accessibility -> Time to take action.**
I basically turned it to 30 seconds causing the problem above described.
This was done mostly because of the "improper" description following that setting (description available only in the setting itself) as per the screenshot.
>
> Choose how long to show messages that ask you to take action, but are visible only temporarily.
>
>
>
[](https://i.stack.imgur.com/QSuHe.jpg)
Upvotes: 2 <issue_comment>username_3: Cannot be thankful more Andrea for this question. I confirm time to take action setting was the main cause of this issue. For those with similar problem: these are actually some toasts that don't react to touch or swipe. They just shown on screen for a certain amount of time and block any access to UI behind them. In my case they even block the keyboard. Oppo name them Notice
Upvotes: 0 |
2021/10/10 | 1,029 | 3,859 | <issue_start>username_0: I have [Call Recorder](https://play.google.com/store/apps/details?id=com.appstar.callrecorderpro&hl=en&gl=US) installed and it is recording phone calls, which I can see in the application. I would like to see these files in filesystem too. Where are they?
I see location `Internal storage/CallRecordings`, but it contains only few very old recordings, no any new ones.<issue_comment>username_1: From the testing I've done, the best I can tell is that the files are stored within an internal storage used by the app.
You can save them to files by selecting them in the Inbox or Saved section and then use Share to send it to a file explorer app you have on your device. Then you can select the folder where you want to save them and then confirm.
---
#### Initial answer:
I would've posted this as a comment, but I don't have enough rep at the moment here.
I noticed you tagged this with Android 11. I know that Android 11 implemented some breaking changes to how storage access for apps works (see <https://developer.android.com/about/versions/11/privacy/storage>), so, without being able to test this at the moment, I wonder if the app in question just hasn't updated its logic to account for this.
Upvotes: 1 <issue_comment>username_2: **tl:dr;**
Recordings are stored in `/data/user/0/com.appstar.callrecorder/files`
Your device needs to be **rooted** and by using a root file explorer you can see. If your device is **not rooted**, you can't see them.
---
**Caveats**
* I downloaded the free version of app to test and since both free and paid version of app have the same version number and updated on the same day, this answer should hold good.
* Paid version does not make mention of compatibility with Android 11 (w.r.t storage), so one more reason to assume that this answer is valid.
* I am currently on Android 12 but this answer should hold good for Android 11 since AFAIK there have been no changes in storage policy between Android 11 & Android 12.
Caveats out of the way :
* App targets Android 10 (SDK 29) which you can verify by checking app manifest using an app from Play Store.
* It has **not been updated** to target Android 11, which your device is running.
* Android 11 introduced major changes in storage ( see [Storage updates in Android 11](https://developer.android.com/about/versions/11/privacy/storage)). Without getting into technical details, what this means is that Android 11 (and upwards) give you better privacy by shielding app data (*scoped storage*). App data is only available to the app using it (file explorers also cannot see it without root privileges).
* App developers can choose to [temporarily opt-out of scoped storage](https://developer.android.com/training/data-storage/use-cases#opt-out-scoped-storage) by setting a manifest attribute as `android:requestLegacyExternalStorage="true`. App manifest **does not show this attribute**, hence Android 11 scoped storage restrictions apply (you can ask the developer reasons) and therefore, you **can't see** where they are stored (without root). Likely reason why you can see only some old recordings is that these were saved in default location in Android 10 and you subsequently upgraded to Android 11.
* So, if you want to see the files you can share →save/copy to desired folder location with a file explorer that does this (as also mentioned in [username_1's answer](https://android.stackexchange.com/a/242391/131553), some file explorer apps do this, I prefer [MiXplorer](https://forum.xda-developers.com/t/app-2-2-mixplorer-v6-x-released-fully-featured-file-manager.1523691/)).
Also see
* [Where Android apps store data?](https://android.stackexchange.com/q/47924/131553)
* [Android 11: Can't see contents of Android /data even with root](https://android.stackexchange.com/q/231481/131553)
Upvotes: 3 [selected_answer] |
2021/10/16 | 1,020 | 3,846 | <issue_start>username_0: I'm going to buy an Android phone which has unfortunately blocked 4G calls by the operator. Only 3G calling will be possible. I think it's enough for voice, but:
Since I travel a lot, is the 3G network available everywhere when 4G is? Or is it completely different technology so I might end up in the places where only 4G signals are available, but no 3G?<issue_comment>username_1: From the testing I've done, the best I can tell is that the files are stored within an internal storage used by the app.
You can save them to files by selecting them in the Inbox or Saved section and then use Share to send it to a file explorer app you have on your device. Then you can select the folder where you want to save them and then confirm.
---
#### Initial answer:
I would've posted this as a comment, but I don't have enough rep at the moment here.
I noticed you tagged this with Android 11. I know that Android 11 implemented some breaking changes to how storage access for apps works (see <https://developer.android.com/about/versions/11/privacy/storage>), so, without being able to test this at the moment, I wonder if the app in question just hasn't updated its logic to account for this.
Upvotes: 1 <issue_comment>username_2: **tl:dr;**
Recordings are stored in `/data/user/0/com.appstar.callrecorder/files`
Your device needs to be **rooted** and by using a root file explorer you can see. If your device is **not rooted**, you can't see them.
---
**Caveats**
* I downloaded the free version of app to test and since both free and paid version of app have the same version number and updated on the same day, this answer should hold good.
* Paid version does not make mention of compatibility with Android 11 (w.r.t storage), so one more reason to assume that this answer is valid.
* I am currently on Android 12 but this answer should hold good for Android 11 since AFAIK there have been no changes in storage policy between Android 11 & Android 12.
Caveats out of the way :
* App targets Android 10 (SDK 29) which you can verify by checking app manifest using an app from Play Store.
* It has **not been updated** to target Android 11, which your device is running.
* Android 11 introduced major changes in storage ( see [Storage updates in Android 11](https://developer.android.com/about/versions/11/privacy/storage)). Without getting into technical details, what this means is that Android 11 (and upwards) give you better privacy by shielding app data (*scoped storage*). App data is only available to the app using it (file explorers also cannot see it without root privileges).
* App developers can choose to [temporarily opt-out of scoped storage](https://developer.android.com/training/data-storage/use-cases#opt-out-scoped-storage) by setting a manifest attribute as `android:requestLegacyExternalStorage="true`. App manifest **does not show this attribute**, hence Android 11 scoped storage restrictions apply (you can ask the developer reasons) and therefore, you **can't see** where they are stored (without root). Likely reason why you can see only some old recordings is that these were saved in default location in Android 10 and you subsequently upgraded to Android 11.
* So, if you want to see the files you can share →save/copy to desired folder location with a file explorer that does this (as also mentioned in [username_1's answer](https://android.stackexchange.com/a/242391/131553), some file explorer apps do this, I prefer [MiXplorer](https://forum.xda-developers.com/t/app-2-2-mixplorer-v6-x-released-fully-featured-file-manager.1523691/)).
Also see
* [Where Android apps store data?](https://android.stackexchange.com/q/47924/131553)
* [Android 11: Can't see contents of Android /data even with root](https://android.stackexchange.com/q/231481/131553)
Upvotes: 3 [selected_answer] |
2021/10/17 | 1,025 | 3,847 | <issue_start>username_0: My rooted Xiaomi Mi 5s plus refuses to boot into the system after I dropped it in water. I can boot it into TWRP recovery, and all of my files are still there, so I don't think that any files are damaged.
After it was damaged I quickly shut it off and when I turned it back on it simply refused to boot into the OS.
Any idea of what might be causing this?<issue_comment>username_1: From the testing I've done, the best I can tell is that the files are stored within an internal storage used by the app.
You can save them to files by selecting them in the Inbox or Saved section and then use Share to send it to a file explorer app you have on your device. Then you can select the folder where you want to save them and then confirm.
---
#### Initial answer:
I would've posted this as a comment, but I don't have enough rep at the moment here.
I noticed you tagged this with Android 11. I know that Android 11 implemented some breaking changes to how storage access for apps works (see <https://developer.android.com/about/versions/11/privacy/storage>), so, without being able to test this at the moment, I wonder if the app in question just hasn't updated its logic to account for this.
Upvotes: 1 <issue_comment>username_2: **tl:dr;**
Recordings are stored in `/data/user/0/com.appstar.callrecorder/files`
Your device needs to be **rooted** and by using a root file explorer you can see. If your device is **not rooted**, you can't see them.
---
**Caveats**
* I downloaded the free version of app to test and since both free and paid version of app have the same version number and updated on the same day, this answer should hold good.
* Paid version does not make mention of compatibility with Android 11 (w.r.t storage), so one more reason to assume that this answer is valid.
* I am currently on Android 12 but this answer should hold good for Android 11 since AFAIK there have been no changes in storage policy between Android 11 & Android 12.
Caveats out of the way :
* App targets Android 10 (SDK 29) which you can verify by checking app manifest using an app from Play Store.
* It has **not been updated** to target Android 11, which your device is running.
* Android 11 introduced major changes in storage ( see [Storage updates in Android 11](https://developer.android.com/about/versions/11/privacy/storage)). Without getting into technical details, what this means is that Android 11 (and upwards) give you better privacy by shielding app data (*scoped storage*). App data is only available to the app using it (file explorers also cannot see it without root privileges).
* App developers can choose to [temporarily opt-out of scoped storage](https://developer.android.com/training/data-storage/use-cases#opt-out-scoped-storage) by setting a manifest attribute as `android:requestLegacyExternalStorage="true`. App manifest **does not show this attribute**, hence Android 11 scoped storage restrictions apply (you can ask the developer reasons) and therefore, you **can't see** where they are stored (without root). Likely reason why you can see only some old recordings is that these were saved in default location in Android 10 and you subsequently upgraded to Android 11.
* So, if you want to see the files you can share →save/copy to desired folder location with a file explorer that does this (as also mentioned in [username_1's answer](https://android.stackexchange.com/a/242391/131553), some file explorer apps do this, I prefer [MiXplorer](https://forum.xda-developers.com/t/app-2-2-mixplorer-v6-x-released-fully-featured-file-manager.1523691/)).
Also see
* [Where Android apps store data?](https://android.stackexchange.com/q/47924/131553)
* [Android 11: Can't see contents of Android /data even with root](https://android.stackexchange.com/q/231481/131553)
Upvotes: 3 [selected_answer] |
2021/10/23 | 1,047 | 3,936 | <issue_start>username_0: I have a USB harddrive connected to my Android 10 phone via USB C. How can I copy files from to phone to it?
When I go into the "Files" app, select a file and hit "Copy to...", it doesn't give me a choice of destination, it just sends it to the SD card. I can see the drive in the app and even create new folders in it and see its contents, I just can't copy anything to it. I've already tapped the "allow access to this drive" thing in the app.<issue_comment>username_1: From the testing I've done, the best I can tell is that the files are stored within an internal storage used by the app.
You can save them to files by selecting them in the Inbox or Saved section and then use Share to send it to a file explorer app you have on your device. Then you can select the folder where you want to save them and then confirm.
---
#### Initial answer:
I would've posted this as a comment, but I don't have enough rep at the moment here.
I noticed you tagged this with Android 11. I know that Android 11 implemented some breaking changes to how storage access for apps works (see <https://developer.android.com/about/versions/11/privacy/storage>), so, without being able to test this at the moment, I wonder if the app in question just hasn't updated its logic to account for this.
Upvotes: 1 <issue_comment>username_2: **tl:dr;**
Recordings are stored in `/data/user/0/com.appstar.callrecorder/files`
Your device needs to be **rooted** and by using a root file explorer you can see. If your device is **not rooted**, you can't see them.
---
**Caveats**
* I downloaded the free version of app to test and since both free and paid version of app have the same version number and updated on the same day, this answer should hold good.
* Paid version does not make mention of compatibility with Android 11 (w.r.t storage), so one more reason to assume that this answer is valid.
* I am currently on Android 12 but this answer should hold good for Android 11 since AFAIK there have been no changes in storage policy between Android 11 & Android 12.
Caveats out of the way :
* App targets Android 10 (SDK 29) which you can verify by checking app manifest using an app from Play Store.
* It has **not been updated** to target Android 11, which your device is running.
* Android 11 introduced major changes in storage ( see [Storage updates in Android 11](https://developer.android.com/about/versions/11/privacy/storage)). Without getting into technical details, what this means is that Android 11 (and upwards) give you better privacy by shielding app data (*scoped storage*). App data is only available to the app using it (file explorers also cannot see it without root privileges).
* App developers can choose to [temporarily opt-out of scoped storage](https://developer.android.com/training/data-storage/use-cases#opt-out-scoped-storage) by setting a manifest attribute as `android:requestLegacyExternalStorage="true`. App manifest **does not show this attribute**, hence Android 11 scoped storage restrictions apply (you can ask the developer reasons) and therefore, you **can't see** where they are stored (without root). Likely reason why you can see only some old recordings is that these were saved in default location in Android 10 and you subsequently upgraded to Android 11.
* So, if you want to see the files you can share →save/copy to desired folder location with a file explorer that does this (as also mentioned in [username_1's answer](https://android.stackexchange.com/a/242391/131553), some file explorer apps do this, I prefer [MiXplorer](https://forum.xda-developers.com/t/app-2-2-mixplorer-v6-x-released-fully-featured-file-manager.1523691/)).
Also see
* [Where Android apps store data?](https://android.stackexchange.com/q/47924/131553)
* [Android 11: Can't see contents of Android /data even with root](https://android.stackexchange.com/q/231481/131553)
Upvotes: 3 [selected_answer] |
2021/10/25 | 146 | 538 | <issue_start>username_0: I'd like to change user agent in firefox runnig on android, but there is no add-on for this, and no about:config.
What can I do?<issue_comment>username_1: The User-Agent Switcher [here](https://addons.mozilla.org/en-US/firefox/addon/user-agent-string-switcher/) says that it supports Android. Second link on a web search.
Upvotes: -1 <issue_comment>username_1: You could install an older version of firefox from before the removal of "about:config". I've gone for "firefox nightly", which also has it.
Upvotes: 0 |
2021/10/27 | 3,100 | 9,557 | <issue_start>username_0: I want to use rclone-mount on Android to mount remote directories from my own server as well as from pCloud. I want the mount points to be established automatically at boot time and to remain mounted full time.
I have not been able to install Magisk on this device yet. See [How to install Magisk without an unlocked bootloader?](https://android.stackexchange.com/questions/242322/how-to-install-magisk-without-an-unlocked-bootloader "How to install Magisk without an unlocked bootloader? - Android Enthusiasts Stack Exchange")
I tried the following rclone-mount method with Termux:
[How to mount rclone on Android?](https://android.stackexchange.com/questions/225604/how-to-mount-rclone-on-android "google drive - How to mount rclone on Android? - Android Enthusiasts Stack Exchange")
Unfortunately, that results in permissions errors that I have not been able to solve. I posted a question about it here:
[scripts - How to use rclone-mount with Termux:Boot?](https://android.stackexchange.com/questions/242247/how-to-use-rclone-mount-with-termuxboot "scripts - How to use rclone-mount with Termux:Boot? - Android Enthusiasts Stack Exchange")
That remains unresolved. I have worked on this for many hours, so I could add more info to my other question if needed. However, with the assistance of @alecxs I tried another approach and resolved the permission errors. Now `rclone` can now successfully mount both pcloud and my own server when I run the commands at the CLI.
My current question is, how to automate this without Termux:Boot or Magisk? II can't install Magisk and Termux gave me tons of trouble for a couple weeks and I only got this working by ditching Termux. Again, see the above question if you think you know the reason for the Termux problems.)
---
For background, and to possibly help others, I am listing all my steps so far since the commands are working and this might prove to be a useful supplement for [Irfan Latif](https://android.stackexchange.com/users/218526/irfan-latif "User <NAME> - Android Enthusiasts Stack Exchange")'s great answer that helped me get started with rclone-mount on Android.
* removed Termux (& verified all files are gone)
* removed Magisk app (the module was never installed)
* kept original SuperSU v2.82 (& verified it doesn't have trackers)
* gave network access permissions to apps running under root in AFWall+
* used "Simple SSHD" app (from F-Droid) to access device via SSH (from my PC)
* I have a working rclone.conf file already
* my env var `LD_LIBRARY_PATH` is empty and I did not have to modify it with this method
* my device is Arm64
* `echo $PATH` = `/sbin:/system/sbin:/system/bin:/system/xbin` and I put the binaries into `/system/bin` EDIT: @alecxs pointed out that these custom binaries should have been installed to `/system/xbin`.
---
First, I put the binaries into the correct directories on my Android device:
```
cd /path/to/files/gocryptfs_fusermount-ARMHF_2021-01-13/
```
NOTE: the fusermount binary comes from XDA / mirfatif:
<https://forum.xda-developers.com/m/mirfatif.7805402/>
[Fusermount on android (rclone mount) XDA Forums](https://forum.xda-developers.com/t/fusermount-on-android-rclone-mount.3866652/page-2#post-80237591)
```
$ scp -P 2222 fusermount 192.168.1.123:~/
```
On Android, become superuser:
```
su
```
install fusermount binary:
```
mount -o rw,remount /system
mv /system/bin/fusermount /system/bin/fusermount.termux
cp ./fusermount /system/bin/fusermount
chmod 775 /system/bin/rclone
chown system:shell /system/bin/fusermount
```
check SELinux context and DAC permissions:
```
# ls -laZ /system/bin/fusermount
-rwxrwxr-x 1 system shell u:object_r:system_file:s0 114056 2021-10-25 01:29 /system/bin/fusermount
```
Install the official rclone binary:
NOTE: The rclone binary I'm using is from: <https://beta.rclone.org/test/testbuilds-latest/rclone-android-21-armv8a.gz>
I have it on my phone at: `/storage/emulated/0/Documents/rclone-android-21-armv8a`
```
mount -o rw,remount /system
ls -la /system/bin/rclone
lrwxrwxrwx 1 system shell 42 2021-10-21 19:55 /system/bin/rclone -> /data/data/com.termux/files/usr/bin/rclone
rm /system/bin/rclone
cp /storage/emulated/0/Documents/rclone-android-21-armv8a /system/bin/rclone
chmod 775 /system/bin/rclone
chown system:shell /system/bin/rclone
# ls -laZ /system/bin/rclone
-rwxrwxr-x 1 system shell u:object_r:system_file:s0 62257128 2021-10-26 19:45 /system/bin/rclone
```
Optional (if needed, restore SELinux context -- I did not need to do this):
```
restorecon -F /system/bin/rclone
restorecon -F /system/bin/fusermount
```
Finished, so mount readonly again:
```
mount -o ro,remount /system
```
Check the mount namespace:
```
# readlink /proc/1/ns/mnt
mnt:[4026531840]
# readlink /proc/self/ns/mnt
mnt:[4026531840]
```
If they don't match, run the command below. (Mine match)
```
nsenter -t 1 -m -- "$0"
```
Verify the remote is not already mounted:
```
# ls -la /mnt/runtime/write/emulated/0/mypcloud/
```
Set env var for rclone config:
```
export RCLONE_CONFIG=/data/data/org.galexander.sshd/files/rclone.conf
```
Now manually mount remote using rclone:
```
rclone -vvv mount mypcloud: /mnt/runtime/write/emulated/0/mypcloud --gid 9997 --dir-perms 0771 --file-perms 0660 --umask=0 --allow-other --cache-dir /storage/emulated/0/.cache --vfs-cache-mode full --vfs-cache-max-age 2h0m0s --vfs-cache-poll-interval 5m0s
```
Success!
to umount:
```
fusermount -u /mnt/runtime/write/emulated/0/mypcloud
```
There is really nothing new in the steps above that [<NAME>if](https://android.stackexchange.com/users/218526/irfan-latif "User <NAME> - Android Enthusiasts Stack Exchange") didn't already discuss. However, there are differences. For example, I did not need to set `LD_LIBRARY_PATH`. Also, rclone emits this warning:
```
WARNING: linker: /system/bin/rclone: unsupported flags DT_FLAGS_1=0x8000001
```
However, that doesn't appear to be a problem. I also show more info about SELinux contexts and a few other things. There are enough differences from the existing answer that my steps might help someone else with their own troubleshooting.
---
Now, my main question **how can I automate this at boot time without Termux:Boot or Magisk?** I guess I could put a script into init somewhere, but I would appreciate an expert answer. I have reviewed a lot of answers about init.rc and executing scripts at boot. They have mostly sent me to solutions that were obsolete by Android 4.x and they also do not deal with the question of how to handle the case of booting up when a network connection is not available.
EDIT: @alecxs contributed the following idea for booting up when a network connection is not available:
```
until dumpsys connectivity | grep -iq state..connected
do
sleep 1
done && rclone <...> &
```
My device is running Android 7.0 (US Samsung Galaxy S8). It is rooted, I have true root, it has SuperSu 2.82, SELinux is permissive, and I can remount /system rw (as shown above). I do have the `/system/su.d/` directory.
Also, related question, where is a good / safe location (path) on my Android device to keep my pcloud token and my private ssh key (for the remote SFTP server)?<issue_comment>username_1: Create a file named `rclone_mount.sh` (or any name you choose). My PC is running Linux, so I don't have to worry about line endings.
Add these commands to it:
```
#!/system/bin/sh
export RCLONE_CONFIG=/data/data/org.galexander.sshd/files/rclone.conf;
rclone mount mypcloud: /mnt/runtime/write/emulated/0/mypcloud --gid 9997 --dir-perms 0771 --file-perms 0660 --umask=0 --allow-other --cache-dir /storage/emulated/0/.cache --vfs-cache-mode full --vfs-cache-max-age 48h0m0s --vfs-cache-poll-interval 2m0s
```
Set your rclone options in the above command as desired.
Send the file from PC to Android device. I use scp like this:
```
scp -P 2222 rclone_mount.sh 192.168.1.123:~/
```
On my Android device, install the file:
```
mount -o rw,remount /system
cp /data/data/org.galexander.sshd/files/rclone_mount.sh /system/su.d/
chmod 700 /system/su.d/rclone_mount.sh
chown root:root /system/su.d/rclone_mount.sh
mount -o ro,remount /system
```
The hardest part of this is probably finding a location for the script where it will get executed automatically when the phone boots. Since I have SuperSU, the choice was easier: `/system/su.d/`.
For all the reasons indicated in the OP, my script was simpler than might have been expected. Since it runs on boot, there is no need to check/unmount the remotes. I don't need to set LD\_LIBRARY\_PATH. I don't need to become su (as it is run by SuperSU), etc. It's a very simple script.
Caveat: I only tested it once so far. I'm open to suggestions and I will be using it extensively over the coming days/weeks, so I may find issues that need to be fixed.
Upvotes: 1 <issue_comment>username_2: @username_1, first of all, thank you so much for this post! It really helped me setting up rclone mount on my phone.
To automatically start rclone mount at bootup, I'm using Tasker. It has "Device Boot" event, which can run a task. In that task I'm using "run shell" with root privileges and here is the command I use:
```
nsenter -t 1 -m -- rclone mount OneDrive: /mnt/user/0/emulated/0/OneDrive --daemon --config=/sdcard/rclone.conf --gid 9997 --dir-perms 0771 --file-perms 0660 --umask=0 --allow-other --cache-dir /storage/emulated/0/.cache --vfs-cache-mode full --vfs-cache-max-age 2h0m0s --vfs-cache-poll-interval 5m0s
```
Upvotes: 2 |
2021/10/30 | 350 | 1,384 | <issue_start>username_0: I am wondering if the operating system on the Kindle Fire would count as an Android-based OS.<issue_comment>username_1: Android is 'open-source' in that Google releases code at every major version level. So long as whomever is doing the OS forking doesn't change APIs AND developers don't use any Google Mobile Services APIs, third-party apps should be able to run on both.
Upvotes: 3 [selected_answer]<issue_comment>username_2: Amazon FireOS bases on Android Open Source Platform (AOSP). As it is published under an open source license everybody can fork it and build an own OS.
Note that there is one major difference between AOSP and "Google Android" (which is installed on nearly every Android phone you can buy): All Google services are missing. Starting with Google PlayStore and all Google apps this also affected invisible parts like Google Play Services (which are e.g. responsible for receiving push notifications for all installed apps).
According to Wikipedia relevant versions of [FireOS](https://en.wikipedia.org/wiki/Fire_OS) are at the moment:
* Fire OS 5 is based on Android 5.0 "Lollipop"
* Fire OS 6 is based on Android 7.1.2 "Nougat"
* Fire OS 7 is based on Android 9.0 "Pie"
The complete mapping list of FireOS versions and Android version can be found here: <https://en.wikipedia.org/wiki/Fire_OS#List_of_Fire_OS_versions>
Upvotes: 0 |
2021/10/31 | 300 | 1,295 | <issue_start>username_0: When I am on a call, the mic on my Google Pixel 4a works perfectly. When I insert earphones into the headphone jack during a call, the mic suddenly stops working and the other person can't hear me anymore. When I remove the earphones, they can hear me again. What could be causing this?
All I want is to be able to hear the person through my earphones and for them to hear me.<issue_comment>username_1: The most likely reason for this behaviour is that your phone detects that you plugged in an audio device, and then tries to use that one over all audio devices it has built into. So instead of using the built in microphone it wants to use the one that is usually built into the volume buttons on your headphone cable. If there is none, than the phone should use the default one, but maybe it just doesn't recognise that there is no external microphone attached.
Upvotes: 1 <issue_comment>username_2: The issue has been resolved. I tried good quality earphones and headphones and the issue disappeared. It seems to be a compatibility issue with the earphones I was using. As username_1 suggested, perhaps they were being mistakenly recognized as a microphone.
Anyway, if anyone experiences this issue, simply try a different pair of earphones/headphones.
Upvotes: 0 |
2021/11/04 | 2,904 | 8,923 | <issue_start>username_0: I am running a lower Android version and need to install a Linux proot container in Android. Another Term is the closest alternative, but how do I install it? It seems pretty hard.<issue_comment>username_1: 1. First, read [the readme of AnotherTerm GitHub repo](https://github.com/green-green-avk/AnotherTerm) and [this](https://green-green-avk.github.io/AnotherTerm-docs/#main_content)
You can run the stock `install-linuxcontainers.sh` you downloaded from the Git repo without tweaks for an automatic install. It gave me errors, that's why I did this Q&A style question to write the tutorial on how I got it to run on my old tablet.
Download Another Term from Play Store. If the Play Store version does not work, then go [here](https://github.com/green-green-avk/AnotherTerm/releases) and try previous versions that work on your device and issue the bug.
2. Know yor phone architecture
3. Download [run-tpl](https://github.com/green-green-avk/AnotherTerm-scripts/blob/master/assets/run-tpl) (after downloading, make sure it has no extension), [installshellscript](https://pastebin.com/z4nqBgmT) (the file must be like `install-linuxcontainers.sh`), [proot-android.tar.gz](https://github.com/green-green-avk/build-proot-android/tree/master/packages) (download both if your architecture has 2 gunzips), and [minitar](https://github.com/green-green-avk/build-libarchive-minitar-android/tree/master/prebuilt).
As for the `rootfs.tar.xz`, google search `images.linuxcontainers.org`
and enter. Upon entering, select Distro, then release.
For architectures, if your phone architecture is arm7-a, select "armhf", and if arm8-a, select "arm64". The same applies to i386 and amd64.
Then select default, then choose any build date you want, and then select `rootfs.tar.xz`, then the file will start downloading.
After downloading all the files, download [Simple HTTP Server](https://play.google.com/store/apps/details?id=com.phlox.simpleserver) app from the Play Store or any webserver app to host the files.
Copy or move `minitar`, `rootfs.tar.xz`, `proot.tar.gz`, and `run-tpl` to `/android/data/com.phlox.simpleserver/files`
Open the app and start the server. Launch your browser and go to your IP address and port specified in the app. On Chrome or whatever browser, long press to copy the download link address (if using a desktop right click) then go and edit the `install-linuxcontainers.sh` using a text editor and replace all URLs beginning which are like this `http://192.168.43.239:8080` and replace them with corresponding download URLs which you copy from your browser. If your ip local ip is 0.0.0.0 then the url should look like `http://0.0.0.0:8080` .Make sure that all URLs have been replaced by your own URLs you copied from the browser and save the script.
**Final Step**
Install and open Another Term and click the + icon on top, name the shell profile and save (I did not edit anything).
Stop the webserver in the app
Start on the profile to start the terminal. Maybe you will notice too small or too big font, but you will change the font settings later. Tap on the keyboard icon (top-right leftmost icon) to switch to your default keyboard.
```
u0_a176@goyave3g:/data/data/green_green_avk.anotherterm.oldgood $ cd /storage/emulated/0/Download
u0_a176@goyave3g:/storage/emulated/0/Download $ ./install-linuxcontainers.sh Debian Buster
Installation subdir name proots/___ [linuxcontainers-Debian-Buster]:
Actual name: kgktk
To uninstall: run `rm -rf "$DATA_DIR/proots/kgktk"'
Creating favorites...
Done.
Arch: armv7a
Variant: -pre5
Root FS: Debian Buster
Source: http://192.168.43.239:8080/rootfs.tar.xz
Getting minitar...
failed to connect to /192.168.43.239 (port 8080): connect failed: ECONNREFUSED (Connection refused)
```
Type your fake random directory name and enter.
Profile pop-ups will appear, but quit both and tap OK and Exit and you will return to the shell.
As you can see above, the variant shows "-pre5". If it's not, you are good to go. But if it's "-pre5", you must start the webserver, go to the browser, copy the download link of `prootpre5.tar.gz`, go and edit install shell script replacing the `proot.tar.gz` link with the new pre5 one, then save the script.
Don't stop the webserver.
The second Run:
```
u0_a176@goyave3g:/data/data/green_green_avk.anotherterm.oldgood $ cd /storage/emulated/0/Download
u0_a176@goyave3g:/storage/emulated/0/Download $ ./install-linuxcontainers.sh Debian Buster
Installation subdir name proots/___ [linuxcontainers-Debian-Buster]: Buster
Actual name: Buster
To uninstall: run `rm -rf "$DATA_DIR/proots/Buster"'
Creating favorites...
Done.
Arch: armv7a
Variant: -pre5
Root FS: Debian Buster
Source: http://192.168.43.239:8080/rootfs.tar.xz
Getting minitar...
Getting PRoot...
Getting Linux root FS...
/etc/passwd:
=======
root:x:0:0:root:/root:/bin/bash
daemon:x:1:1:daemon:/usr/sbin:/usr/sbin/nologin
bin:x:2:2:bin:/bin:/usr/sbin/nologin
sys:x:3:3:sys:/dev:/usr/sbin/nologin
sync:x:4:65534:sync:/bin:/bin/sync
games:x:5:60:games:/usr/games:/usr/sbin/nologin
man:x:6:12:man:/var/cache/man:/usr/sbin/nologin
lp:x:7:7:lp:/var/spool/lpd:/usr/sbin/nologin
mail:x:8:8:mail:/var/mail:/usr/sbin/nologin
news:x:9:9:news:/var/spool/news:/usr/sbin/nologin
uucp:x:10:10:uucp:/var/spool/uucp:/usr/sbin/nologin
proxy:x:13:13:proxy:/bin:/usr/sbin/nologin
www-data:x:33:33:www-data:/var/www:/usr/sbin/nologin
backup:x:34:34:backup:/var/backups:/usr/sbin/nologin
list:x:38:38:Mailing List Manager:/var/list:/usr/sbin/nologin
irc:x:39:39:ircd:/var/run/ircd:/usr/sbin/nologin
gnats:x:41:41:Gnats Bug-Reporting System (admin):/var/lib/gnats:/usr/sbin/nologin
nobody:x:65534:65534:nobody:/nonexistent:/usr/sbin/nologin
_apt:x:100:65534::/nonexistent:/usr/sbin/nologin
systemd-timesync:x:101:102:systemd Time Synchronization,,,:/run/systemd:/usr/sbin/nologin
systemd-network:x:102:103:systemd Network Management,,,:/run/systemd:/usr/sbin/nologin
systemd-resolve:x:103:104:systemd Resolver,,,:/run/systemd:/usr/sbin/nologin
messagebus:x:104:105::/nonexistent:/usr/sbin/nologin
=======
Regular user name [my_acct]: my_acct
Preferred shell [/bin/bash]: /bin/bash
Setting up run script...
Configuring...
Done!
u0_a176@goyave3g:/storage/emulated/0/Download $
```
Now we are going for the last time. Start the `./install-linuxcontainers.sh`, type your distro and release as shown above.
Now, type the real subdirectory name of your pr choice. In my case, I chose to type Buster. This time, save & exit the two pop-up profiles. After saving, you will come back to the terminal and notice rootfs downloading progress. After that, you will be asked to type user and shell preferred, type the ones inside the [] brackets and enter, and you will notice it done.
Quit this shell by tapping back then long-pressing on it, and click terminate then confirm the termination. Tap on any of the shell profiles you save before name; Buster and Buster (Root) in my case and welcome to Debian, I mean your chosen distro.
By the way, I am in no way part of this project, but I'm just a Linux newbie who has found an amazing project he was searching for for quite a long time.
Shoutout to the devs for this amazing app.
Useful Screen shots:
[](https://i.stack.imgur.com/2ovta.png)
[](https://i.stack.imgur.com/s5Nqx.png)
[](https://i.stack.imgur.com/XGrsc.png)
[](https://i.stack.imgur.com/u3o75.png)
[](https://i.stack.imgur.com/nQH8Z.png)
**EDIT:**
For new android versions the script has been updated and no need to use the edited script and method except maybe if you want to have a backup of the files needed wenr you want a clean container. For "very old android versions" (e.g 4.4.4 range and maybe 5.0.0) you cam use this script because there is an error in old versions.
Upvotes: 3 [selected_answer]<issue_comment>username_2: You can also choose a bit simpler way...
Prerequisites
-------------
* A ready-to-use statically linked `wget` for Android:
<https://github.com/pelya/wget-android/tree/master/android>
* Up-to-date SSL CA root certs
(most usual place on Linux: `/etc/ssl/certs`)
*You can easily recreate hashes in your own crafted certs directory
by means of `openssl rehash` .*
The process
-----------
* Create a "local" profile with the "execute" field left set by default
and launch it.
* `$TERMSH pick .` to put the aforementioned `wget`
by an Android file picker into the `$DATA_DIR`.
* Create the `$DATA_DIR/certs` directory and
put your up-to-date certs into it.
* Fix your favorite installation script by replacing all the
`$TERMSH cat / copy / etc` HTTPS stuff with appropriate
`wget --ca-directory="$DATA_DIR/certs" ...`
PS
--
I will create a ready-to-use script a bit later...
Upvotes: 0 |
2021/11/11 | 1,252 | 4,333 | <issue_start>username_0: I've been asked if I can check some faulty behavior of a device, a cheap Chinese android smartphone.
I'm not really an android expert, usually I install a few apps to help me figure out few things about the device. These apps I've reported conflicting results compared to what was displayed in the main android settings area:
* With [DiskUsage](https://f-droid.org/en/packages/com.google.android.diskusage/) internal memory is reported as 3.9gb vs 16gb in system settings.
* [Device Info HW](https://play.google.com/store/apps/details?id=ru.andr7e.deviceinfohw) (suggested by @alecxs) explicitly mark as fake the reported version 9.0, pointing Android 6 as correct with API level 23. Unfortunately the app reports the same storage size of 16gb as stated in system settings.
Following another intuition of @alecxs, inspecting the partitions tab and looking at the displayed partitions sizes, it's possible to detect yet another forged spec. The total reported partitions size is around 8gb, the `userdata` partition is around 4gb which is corresponding to DiskUsage report.
In my previous attempt I've [CPU Info](https://f-droid.org/en/packages/com.kgurgul.cpuinfo/).
This kinda reminds me of fake USB thumb drives scams with less memory than advertised.
So is there a way (preferably without root) to test/analyze common technical details of a device for possible tampering/spoofing?
Like
* Storage
* Android version
* RAM
* CPU
* Something else that can be faked?
FLOSS solutions are highly appreciated! :)
**UPDATES**
* Listed used apps and updated after suggestions in comments.
* Added considerations and further analysis of partitions memory size.<issue_comment>username_1: Have you tried using something like [AIDA64](https://play.google.com/store/apps/details?id=com.finalwire.aida64)?
Apparently the newer versions have mitigations against reporting spoofed specs.
Another thing to check against the claimed specs. is pixel/screen resolution, it shouldn't be as easily spoofable, and is often lower than claimed in these cheap unbranded Android devices which have other suspicious specs.
There are also certain device model names which are more liable to report spoofed information.
If you go [here](https://whatismyandroidversion.com), check the device model name/number (and estimated pixel resolution), some device models which frequently have spoofed specs are "FF-5000", "P10", "PX6", "S109", "T906", "TAB910", "TS-M704A", "ZH960" and more.
Other fake devices will have model numbers which appear on the surface to look like a known brand, e.g. "S21+ Ultra", whereas a real Samsung device should report something like "SM-G9960" (most Samsung devices will have model numbers starting with a prefix such as "SM-" or "GT-", although this could also be faked).
Upvotes: 2 <issue_comment>username_2: In general the more common an hardware info app is the more likely it is that the hardware faker have integrated a patch to let a system info app display wrong values.
Therefore the best way to identify fake hardware is not to use an app at all. Using a Linux command-line program e.g. executed via `adb` identifying fake values or values that do not match if more likely. To do so I would recommend to copy a (renamed) busybox binary via adb:
1. rename it to something different like `mybinary`
2. push it to the phone `adb push /sdcard`
3. start `adb shell`
4. copy the binary it to a path where you can execute it: `cp /sdcard/ /data/local/tmp/`
5. make it executable `chmod u+x /data/local/tmp/`
Now you are ready to use it..eg. to check the physical RAM:
```
/data/local/tmp/ free
total used free shared buffers cached
Mem: 5727792 5528296 199496 67020 1712 2170428
-/+ buffers/cache: 3356156 2371636
Swap: 2097148 1737312 359836
```
In this example the total memory of the phone is 6GB minus the size used by the GPU. So we end up here with 5727792 total memory = 5.4GB max RAM
To print disk size you can use
```
/data/local/tmp/ df -h /sdcard
Filesystem Size Used Available Use% Mounted on
/dev/fuse 109.6G 17.9G 91.5G 16% /storage/emulated
```
It shows the user data partition size and usage. The used phone has 128GB flash memory. The user data partition is smaller as the remaining space is occupied by the system partition(s) and other partitions.
Upvotes: 2 |
2021/11/12 | 904 | 3,038 | <issue_start>username_0: Whenever I look for an app in Play Store, the description states the list of required permissions.
1. Is that list (taken from the Manifest?) up to what the developer declares, or is it automatically generated in some way?
In other words, can that list be not representative of what actually happens?
2. If so, is there an alternative way to get a reliable such list?<issue_comment>username_1: Have you tried using something like [AIDA64](https://play.google.com/store/apps/details?id=com.finalwire.aida64)?
Apparently the newer versions have mitigations against reporting spoofed specs.
Another thing to check against the claimed specs. is pixel/screen resolution, it shouldn't be as easily spoofable, and is often lower than claimed in these cheap unbranded Android devices which have other suspicious specs.
There are also certain device model names which are more liable to report spoofed information.
If you go [here](https://whatismyandroidversion.com), check the device model name/number (and estimated pixel resolution), some device models which frequently have spoofed specs are "FF-5000", "P10", "PX6", "S109", "T906", "TAB910", "TS-M704A", "ZH960" and more.
Other fake devices will have model numbers which appear on the surface to look like a known brand, e.g. "S21+ Ultra", whereas a real Samsung device should report something like "SM-G9960" (most Samsung devices will have model numbers starting with a prefix such as "SM-" or "GT-", although this could also be faked).
Upvotes: 2 <issue_comment>username_2: In general the more common an hardware info app is the more likely it is that the hardware faker have integrated a patch to let a system info app display wrong values.
Therefore the best way to identify fake hardware is not to use an app at all. Using a Linux command-line program e.g. executed via `adb` identifying fake values or values that do not match if more likely. To do so I would recommend to copy a (renamed) busybox binary via adb:
1. rename it to something different like `mybinary`
2. push it to the phone `adb push /sdcard`
3. start `adb shell`
4. copy the binary it to a path where you can execute it: `cp /sdcard/ /data/local/tmp/`
5. make it executable `chmod u+x /data/local/tmp/`
Now you are ready to use it..eg. to check the physical RAM:
```
/data/local/tmp/ free
total used free shared buffers cached
Mem: 5727792 5528296 199496 67020 1712 2170428
-/+ buffers/cache: 3356156 2371636
Swap: 2097148 1737312 359836
```
In this example the total memory of the phone is 6GB minus the size used by the GPU. So we end up here with 5727792 total memory = 5.4GB max RAM
To print disk size you can use
```
/data/local/tmp/ df -h /sdcard
Filesystem Size Used Available Use% Mounted on
/dev/fuse 109.6G 17.9G 91.5G 16% /storage/emulated
```
It shows the user data partition size and usage. The used phone has 128GB flash memory. The user data partition is smaller as the remaining space is occupied by the system partition(s) and other partitions.
Upvotes: 2 |
2021/11/16 | 452 | 1,991 | <issue_start>username_0: I have read about the Contacts Provider API, but it is not clear to me how applications interactions are regulated. If an application stores contacts in an account specific to that application, can any other application given permission to access contacts still read the information of those contacts (i.e., of the other application)? Or does each application have access only to its own accounts and any contacts manually entered via the (default) Contacts application?<issue_comment>username_1: Whenever you start using an app, it asks you for permissions to perform the tasks the app is supposed to do - like access to camera, to contacts, and so on. Those permissions are app specific. You can view the permissions when you go to your phone's **configuration -> privacy -> manage permissions**.
If you wish, you can revoke permissions of any app you think it shouldn't have that specific permission - it will not harm the app itself, and when the app needs that access again, it will ask you.
Upvotes: 0 <issue_comment>username_2: Yes, all data stored in Contacts Provider is visible to all apps with `READ_CONTACTS` permission and if the user has given the permission. From the official documentation of [Android Developers - Retrieve a list of contacts](https://developer.android.com/training/contacts-provider/retrieve-names#Permissions),
>
> **Request permission to read the provider**
>
>
> To do any type of search of the Contacts Provider, your app must have [`READ_CONTACTS`](https://developer.android.com/reference/android/Manifest.permission#READ_CONTACTS) permission. [...]
>
>
>
This is why contacts apps can generally show multiple account types for the same person (e.g. Google, WhatsApp, Microsoft), and also why social messaging apps (e.g. WhatsApp) and social media apps (e.g. Facebook, Twitter, Instagram) can detect registered accounts based on phone numbers and/or emails stored in the Contacts Provider.
Upvotes: 2 [selected_answer] |
2021/11/21 | 505 | 1,522 | <issue_start>username_0: I am using LineageOS 18.1
When I was on LOS 16, I used to edit the file `/system/etc/init.d/00banner` and put my iptables commands there, e.g.:
```
#!/system/bin/sh
sh -c 'iptables -A OUTPUT -m owner --uid-owner 10195 -d 172.16.17.32/23 -j REJECT'
```
All iptables commands I put in there used to run on phone start up. But in LOS 18.1, the `/system/etc/init.d/` directory was deprecated.
**1.** I created and filled the custom script with the *iptables* commands above:
```
touch /system/etc/custominit.sh
chmod 0755 /system/etc/custominit.sh
```
**2.** Then I edited `/system/etc/init/hw/init.rc` and I added to the end:
```
chmod 0755 /system/etc/custominit
exec /system/etc/custominit
```
**3.** I also tried adding:
```
service custominit /system/bin/custominit.sh
disabled
oneshot
```
But none of this worked.
What is it that I doing wrong? I have root access but I do not want to install any additional apps on my phone for this, as it was possible to do on LOS 16.<issue_comment>username_1: Once you added your service as "disabled" on init.rc you must call it on boot, add the following lines:
```
on boot
custominit your_params
```
I hope it solves your problem
Upvotes: 1 <issue_comment>username_2: Issue was solved by following instructions here:
<https://ch1p.io/lineageos-run-shell-script-at-boot-as-root/>
The main issue turned out to be missing full path of executables, e.g.:
/system/bin/iptables instead of iptables
Upvotes: 3 [selected_answer] |
2021/11/30 | 244 | 1,036 | <issue_start>username_0: I have a Samsung A52S 5G with Android 11 installed on it. I have installed Telegram messaging app and have downloaded some files from groups.
In my old phone, I could find in the File Manager the Telegram folder with all the files downloaded through the app. Now, in this phone I cannot find the Telegram folder anywhere. This makes it difficult for managing the files especially the ones downloaded from groups.
Does anyone have any idea on where Telegram is saving the files in my phone?<issue_comment>username_1: These are stored in `/storage/emulated/0/Android/data/org.telegram.messenger/files/Telegram`.
You can't access them because of [scoped storage](https://developer.android.com/about/versions/11/privacy/storage) introduced in Android 11,for improving data privacy. If your device is rooted, you can access using a rooted file explorer
Upvotes: 2 <issue_comment>username_2: you can access scoped storage without having to root, use x-plore app. and just approve permissions when asked
Upvotes: 2 |
2021/12/03 | 317 | 1,298 | <issue_start>username_0: I'm trying to turn on debugging on my Samsung Galaxy J5 so I can use `adb shell rm /data/system/gesture/.key` and unlock my phone screen so I don't have to reset it and lose all its data (but it's locked with my PIN). For that, I need to know how to debug it just by the Command Prompt.
Is there a way to enable Android debugging by PC?<issue_comment>username_1: My advice is to try this with recovery mode.
Download a custom recovery like ClockWorkMode or TWRP for your device. Then enter in recovery mode by holding Vol Up and pressing power. The recovery will give you root access with no need to grant permission.
Upvotes: 0 <issue_comment>username_2: There is no point pursuing this course of action. Deleting any file under `/data/system` requires root access. Android doesn't provide any way to users to access powers of root. A user has to resort to system hacking (called as rooting the device) to get root access. And in that process, most of the time the user data is wiped in the process.
In short, even if you somehow manage to enable and authorize USB debugging the problem of "no-root-access" would stonewall you. And if you try to root the device, you will end up deleting all of your data -- the very thing you want to avoid.
Upvotes: 2 [selected_answer] |
2021/12/04 | 702 | 2,461 | <issue_start>username_0: I am using Samsung Galaxy A50, Android 11, One UI 3.1. I use Samsung Secure folder. There are many bloatware in it and I could not find a way to uninstall (and disable) them via ADB.
Owner profile user is 0, Secure Folder user is 150.
```
pm uninstall -k --user 150 com.android.chrome
Exception occurred while executing 'uninstall': java.lang.SecurityException: Shell does not have permission to access user 150
com.android.server.am.ActivityManagerService.handleIncomingUser:17947
android.app.ActivityManager.handleIncomingUser:4863
com.android.server.pm.PackageManagerShellCommand.translateUserId:3125
at com.android.server.am.UserController.handleIncomingUser(UserController.java:2375)
at com.android.server.am.ActivityManagerService.handleIncomingUser(ActivityManagerService.java:17947)
at android.app.ActivityManager.handleIncomingUser(ActivityManager.java:4863)
at com.android.server.pm.PackageManagerShellCommand.translateUserId(PackageManagerShellCommand.java:3125)
at com.android.server.pm.PackageManagerShellCommand.runUninstall(PackageManagerShellCommand.java:2024)
at com.android.server.pm.PackageManagerShellCommand.onCommand(PackageManagerShellCommand.java:237)
at android.os.BasicShellCommandHandler.exec(BasicShellCommandHandler.java:98)
at android.os.ShellCommand.exec(ShellCommand.java:44)
at com.android.server.pm.PackageManagerService.onShellCommand(PackageManagerService.java:26662)
at android.os.Binder.shellCommand(Binder.java:965)
at android.os.Binder.onTransact(Binder.java:839)
at android.content.pm.IPackageManager$Stub.onTransact(IPackageManager.java:5206)
at com.android.server.pm.PackageManagerService.onTransact(PackageManagerService.java:5281)
at android.os.Binder.execTransactInternal(Binder.java:1195)
at android.os.Binder.execTransact(Binder.java:1159)
```<issue_comment>username_1: I've encountered the same messages after trying to get to the list of packages. Nonetheless, knowing the name of the package, I was able to get rid of bloatware using the standard `pm uninstall -k --user 0` command with no root.
Upvotes: 2 <issue_comment>username_2: Uninstall the Samsung Secure Folder from the Settings.
Settings -> Lock screen and security -> Secure Folder -> Enter your lock details -> Uninstall.
Refer to [this blog](https://www.samsung.com/za/support/mobile-devices/how-do-i-uninstall-or-remove-the-secure-folder/).
Upvotes: 2 |
2021/12/07 | 243 | 989 | <issue_start>username_0: I was receiving an alert from Whatsapp saying that my storage went full, so I wanted to clean it up but this morning I saw my phone and it got stuck in the boot logo. The weird thing is it lets me to write the password (and then it freezes).
Someone in Facebook told me that was because my phone ran out of storage and tries to write some logs (and since it hasn't space it keeps trying)
Can I fix this problem mounting a SD card so the phone can write the logs? is there another solution (except doing a hard reset)?
It's a OWN FUN 7<issue_comment>username_1: try airplane mode or remove sim card and try to reach developer options/usb-debugging at least. then you can free up disk space from `adb shell`
another method is readback `boot.img` with SP Flash Tool, modify it and flash it back to device
Upvotes: 0 <issue_comment>username_2: Since I can't enable the debugging option, I gave up and went to hard reset. Thanks anyway
Upvotes: -1 [selected_answer] |
2021/12/20 | 284 | 1,176 | <issue_start>username_0: I have a custom Rom on my phone and I didn't install Google Chrome; I'm using Firefox instead.
However, once in a blue moon there's a site that complains that it doesn't work with Firefox and suggests using Chrome instead.
I have Android Webview installed and as far as I know it is a browser engine based on Chromium. I believe that apps that want to show web content use Android Webview for that. Am I right about this?
Is there a workaround to open a website using Webview without installing Google Chrome or other browser?<issue_comment>username_1: Yes, the Android System Webview "app" (package com.google.android.webview) contains everything needed for displaying a web page.
But this app is designed to be used by other apps only so it does not has an own UI. The only activities it provides are for some sort of developer UI and a license dialog.
So you need at least a second app that shows a WebView to make use of Android System Webview app.
Upvotes: 1 <issue_comment>username_2: Try Brave: <https://play.google.com/store/apps/details?id=com.brave.browser>
It's based on Chromium, it has all benefits of the Chrome browser.
Upvotes: -1 |
2021/12/20 | 443 | 1,822 | <issue_start>username_0: I use Android 11 (LineageOS) and recently noticed, that my phone stopped asking me for a decryption password when booting up, so I tried verifying that my data is still actually encrypted. Settings say so, but after removing all my passwords, pins, fingerprints, etc, the phone asks for no password and just boots straight up. I suspect the encryption password got reset to the "default\_password" when updating some time in the past.
Now how can I actually change the encryption key to something else than the standard password (which grants ZERO security at all)? The `vdc cryptfs` interface does not work like it used to (`changepw`, `verifypw`, etc, all don't work), as you can also see on the official Google sources (<https://android.googlesource.com/platform/system/vold/+/master/vdc.cpp>).
Any encryption experts here? My data is holy to me and I want it *actually* encrypted...<issue_comment>username_1: >
> after removing all my passwords, pins, fingerprints, etc, the phone asks for no password and just boots straight up.
>
>
>
That is the expected behaviour. Removing your phone's password will remove encryption and so the device will not ask for a decryption password after boot. Simply add a password (even a pattern will work) to re-enable encryption
Edit: looks like I was wrong, see the first comment below :P
Upvotes: -1 <issue_comment>username_2: I found the answer in the comments to my question: Appearently, you don't have to put in an "encryption password" when booting up anymore. It was required with FDE (Full Device Encryption), but is not with FBE (File-Based Encryption).
I installed a custom recovery and tried to decrypt my data and *drum-roll*: it works! I can only decrypt data when using my current android-lockscreen password. Thanks a lot!
Upvotes: 2 |
2022/01/02 | 580 | 2,377 | <issue_start>username_0: Since Android 11, there is a system feature where it resets app permissions after a certain amount of time has passed and you haven't used the app. I hate this, it keeps resetting apps I use infrequently.
I know you can turn it off on most apps, but it seems to turn back on when there are app or system updates. There must be a way to disable this feature entirely or to make the default setting off instead of on.
I have tried various searches but I can find nothing. Others must have had the desire to disable this annoying feature? Any help would be appreciated!<issue_comment>username_1: Since you haven't mentioned your OEM, Android skin, etc., I'm going to answer this from my device's perspective, i.e., a Realme device (steps below would also work with any Realme/Oppo/OnePlus device)
Go to app info on each of those apps > permissions > toggle "remove permissions if not used" to OFF.
Upvotes: 1 <issue_comment>username_2: Disable Play protect service at all. I have disabled it, and now permissions are not being removed. There is only one disadvantage - it is annoying banner in Google Play asking me to turn on Play protect.
Upvotes: 1 <issue_comment>username_3: Open Settings, open Play Services, scroll down to "Unused Apps", then de-select "Remove permissions and free up space". This is on Android 12 but should also work on 11.

Upvotes: 0 <issue_comment>username_4: I have not found a way to completely disable this "feature", but it can be done per app: Google play store→your profile picture in the top right→"Play protect" (even if it's off)→gear icon in the top right→permissions for unused apps→"Auto-remove on" tab
Then click each, turn off the "Remove permissions if app isn't used" slider and go back.
The app "RepetiTouch" can be used to record and repeatedly execute clicks, but you should be careful with it, when I just tried it, it somehow got into another menu and installed a random app.
This still needs to be repeated after every app install. The closest I've found to automating this is letting an automatic app like MacroDroid trigger on app install and use the "Secure settings" plugin to launch the Google play store activity "[Play Protect] com.google.android.finsky.protect.impl.PlayProtectHomeDeepLinkActivity", which is the "Play protect" screen.
Upvotes: 2 |
2022/01/03 | 1,600 | 5,860 | <issue_start>username_0: I have a `OnePlus 7Pro (GM1917)` that was working fine for a long time with `OOS 10.3.8`. Its bootloader is unlocked, and it was rooted. I hadn't upgraded it for a long time, and recently I decided to flash an A11 ROM: `OOS 172.16.31.10.GM21AA`. At that point, I lost all ability to access the `/data` partition.
I know that there can be similar issues with such an A10-to-A11 upgrade, and that many of these issues are solvable. However, I have investigated and tried many things to fix this, to no avail, and I fear that my problem goes deeper than those issues and might not be fixable. But I'm hoping that there might still be something which I haven't tried that could fix my problem.
Here is a detailed description of everything I did, how it all failed, and everything I have tried so far to fix it ...
After the A10-to-A11 upgrade, my device went into a permanent boot loop when trying to boot to `System`.
I then did `fastboot boot twrp-3.6.0_11-0-guacamole.img` (which is the version of TWRP that is meant to work with this `OOS 172.16.31.10` ROM), and this indeed put me into TWRP. However, the `/data` partition is inaccessible. Whenever I try to format `/data`, I consistently get these messages:
```
Failed to mount /data (Invalid argument)
Unable to recreate /data/media folder.
Unable to mount storage
Unable to mount /data/media/TWRP/.twrps
Unable to wipe data
```
I then went back to the bootloader, and I ran these commands:
```
fastboot erase userdata
fastboot format:ext4 userdata
```
These commands successfully run with no error messages. However, when I then go back into TWRP, `/data` is still inaccessible, and I get the same error messages that I listed above when trying to format `/data` .
I then tried to decrypt `/data`, but when I do so, it asks for a password, and I have no idea what password to give. I never used any password on the device in the past. I am not allowed to decrypt `/data` without a password.
So, I decided to use the `MsmDownloadTool` to reflash my device back to `OOS 10.3.8`. This works fine with a different `GM1917` device that I have (but which I never tried flashing to `OOS 11`). However, with this particular device, after going into `EDL` mode, I am told that I am "Connected", but a couple seconds later it gives me the "Sahara Connection Failed" message. I have double-, triple-, and quadruple-checked the device drivers, and it indeed is showing that the `Qualcomm qds 9008` driver is properly installed and active on the PC. Furthermore, as I mentioned, I have no problem using `MsmDownloadTool` on that same PC with another `GM1917` device.
I then went further: I extracted `payload.bin` from the `OOS 11.0.5.1.GM21AA` installation bundle, and I extracted all of the `*.img` files. I flashed `boot.img` via fastboot and retried everything that I mentioned above, but nothing has changed.
I then went and flashed all of the `*.img` files via fastboot. However, still nothing has changed.
When flashing the set of all `*.img` files, in some cases, I was told that the file is critical and cannot be reflashed. I then ran these two commands ...
```
fastboot flashing unlock
fastboot flashing unlock_critical
```
... but in both cases, I am told that the device is already unlocked. Trying to flash all of the `*.img` files again gave me the same results: *i.e.*, some got flashed, and others were not flashed due to being "Critical".
Also, some of the items I flashed were said to be "sparse", and their flashes were flagged with warnings, but as far as I can tell, they seem to have been flashed anyway.
In the end, I still go into a bootloop when booting to `System`, the `/data` partition is still inaccessible, and `EDL` mode still does not function.
Do these problems with `/data` and `EDL` and everything else mean that my device is somehow permanently damaged? Or are there perhaps one or more additional things that I can try in order to restore it to some sort of working state?
Thank you in advance for any thoughts or ideas.<issue_comment>username_1: While I don't have a perfect answer for you, I can at least provide some info on `MSMDownloadTool`. I've resolved that `Sahara Connection Failed` issue through a couple of ways:
* Changing the USB port I am connected to
* Reattaching my device
* Restarting the program
`MSMDownloadTool` seems pretty finicky. I usually get stuck in a loop where it completes and then restarts the flash, locking my phone into EDL mode. I'd recommend flashing via `fastboot` or `recovery` before resorting to `MSMDownloadTool`. I've had some luck directly flashing the OTA Updates that OnePlus provides.
Upvotes: 0 <issue_comment>username_2: The problem with `/data` has now been fixed.
I had forgotten that in the past, I was trying the `OrangeFox` dual-boot recovery on this device, and it had repartitioned `/data`.
I fixed this by flashing the appropriate `*.img` files again for my OS (OOS 10.3.8), and then by booting into the standard OrangeFox recovery (the non-dual-boot version) via fastboot, and then by using its `adb sideload` facility to flash that same OrangeFox recovery. OrangeFox's `adb sideload` mechanism offers options to the user for repartitioning and rebuilding `/data`. I utilized those options and set `/data` back to "Stock", and after that, `/data` became accessible again, and I could format it and access it in recovery with no problem.
At this point, I flashed `OOS 10.3.8`, and I then flashed the appropriate TWRP and Magisk. Now, my device is back up and running in that OOS version.
The `EDL` problem continues, but given that my device is now usable again, I am not overly concerned about this `MsmDownloadTool` issue at the moment. In my spare time, I'll continue to look into that.
All's well that ends well! ... and now it's indeed a happy New Year for me!
Upvotes: 1 |
2022/01/05 | 640 | 2,418 | <issue_start>username_0: I noticed something has been turning on Bluetooth on my OnePlus 6 automatically. I googled online and learned to turn off Bluetooth scanning (for location-based features).
However, the problem persists. Something keeps turning on Bluetooth every hour, at the 37th minute, i.e.
* I turned Bluetooth off. Then at 2:38 pm, I hear the sound that my phone connected to my Bluetooth speaker.
* I turned it off again. Then at 3:38 pm, I hear the sound that my phone connected to my Bluetooth speaker.
* I turned it off. The same thing happened at 4:38 pm.
What is doing this?<issue_comment>username_1: While I don't have a perfect answer for you, I can at least provide some info on `MSMDownloadTool`. I've resolved that `Sahara Connection Failed` issue through a couple of ways:
* Changing the USB port I am connected to
* Reattaching my device
* Restarting the program
`MSMDownloadTool` seems pretty finicky. I usually get stuck in a loop where it completes and then restarts the flash, locking my phone into EDL mode. I'd recommend flashing via `fastboot` or `recovery` before resorting to `MSMDownloadTool`. I've had some luck directly flashing the OTA Updates that OnePlus provides.
Upvotes: 0 <issue_comment>username_2: The problem with `/data` has now been fixed.
I had forgotten that in the past, I was trying the `OrangeFox` dual-boot recovery on this device, and it had repartitioned `/data`.
I fixed this by flashing the appropriate `*.img` files again for my OS (OOS 10.3.8), and then by booting into the standard OrangeFox recovery (the non-dual-boot version) via fastboot, and then by using its `adb sideload` facility to flash that same OrangeFox recovery. OrangeFox's `adb sideload` mechanism offers options to the user for repartitioning and rebuilding `/data`. I utilized those options and set `/data` back to "Stock", and after that, `/data` became accessible again, and I could format it and access it in recovery with no problem.
At this point, I flashed `OOS 10.3.8`, and I then flashed the appropriate TWRP and Magisk. Now, my device is back up and running in that OOS version.
The `EDL` problem continues, but given that my device is now usable again, I am not overly concerned about this `MsmDownloadTool` issue at the moment. In my spare time, I'll continue to look into that.
All's well that ends well! ... and now it's indeed a happy New Year for me!
Upvotes: 1 |
2022/01/09 | 700 | 2,932 | <issue_start>username_0: Using s21, most recent update 01/04/2022. This has been happening for a while.
When I use the Google search bar widget (not the chrome app), the first time I type something into the search bar, it'll either quick close and reopen the keyboard and then I can continue typing, or it'll just close my keyboard and I'll have to hit the search bar again to continue typing. This usually alternates between being fixed with one software update then re-broken in the next, but not always, and it only happens in google. Nothing I've done has fixed this, and it only happens on the first search when I open google, it won't do it again until I close and reopen it.<issue_comment>username_1: You need to disable show recent pages to stop this happening in the general settings
Upvotes: 0 <issue_comment>username_2: I have the same issue on my Samsung S22 Ultra but found a possible work-around online.
I wish I could acknowledge the individual who posted the work-around, but I'll have to find him or her back.
The work-around - simply change your Android display to Dark Mode. (Settings / Display / Dark)
I also switched back to Light mode and the issue returned. So far, this Dark mode work-around seems to work.
Just passing this on.
username_2 - The Netherlands
Upvotes: 1 <issue_comment>username_3: I have exactly the same issue.
No, it isn't because of keyboard (Samsung or GBoard or anything similar). No, it's not because "show recent pages" being enabled.
I have tried many different settings, but no avail, until I found this page with suggestion from username_2 above. Yes, it's very ridiculous that dark mode fixes this jumping issue.
To someone who doesn't understand the issue, let me explain:
Android 12, Samsung Galaxy S10+, latest software and all apps updated as of now (4/28/2022).
Google Search Widget on home screen.
Tap on the Google Search widget, the widget opens the search screen, keyboard automatically appears allowing me to type.
However, immediately after typing the first character, the keyboard disappears, the page refreshes itself. It seems the Google Search is being replaced by Chrome or whatever right after the first character. It happens very quickly, but quick enough to make the keyboard disappear, so it is very annoying because then I have to click on the search bar again to continue typing.
After that, as long as the search isn't being closed by the system (or being forced to close by user), it won't happen again.
I have another Samsung S10+ which surprisingly doesn't have this issue with dark mode DISABLED. I also have other Galaxy phones with Google Search widget but none has this issue. On the Samsung Galaxy S10+ that has this issue, previously (maybe a month ago),it worked just fine. I did reset app defaults on this phone about a month ago. So that might have caused the issue. I have yet to find out which specific setting for this.
Upvotes: 0 |
2022/01/12 | 449 | 1,564 | <issue_start>username_0: On Android 11, I tried in Terminal Emulator for Android and 'Material Emulator'. Pressing `Vol Dn` + `c` doesn't do anything.
For example, but not limited to, after
```
ping 8.8.8.8
```
I can't find any way to stop the ping (except exiting the emulator, of course). Tried all kinds of combinations. Similarly, typing
```
$sort
a
b
c
```
How do I stop input? On Linux I'd type `Ctrl`-`D` (=eof), but that doesn't work on Android.
In `preferences`, I have `Vol Dn` as definition for the `Control Key`
**Note**: Thanks for the suggestions! What I'm worried about is that in the `Special Keys` help item, it clearly states that `Vol Dn` should act as a `Control` key (in both terminal emulators I tried). Am I doing something wrong here?<issue_comment>username_1: To close this issue:
Thanks for the suggestions:
@alecxs: The [hackers keyboard](https://f-droid.org/en/packages/org.pocketworkstation.pckeyboard) works great, and as it can represent a full keyboard, it feels very familiar. On screen portrait mode it's a bit more difficult to use though.
@IrfanLatif: [AnySoftKeyboard](https://github.com/mirfatif/AnySoftKeyboard) looks very promising as it's easier to use in portrait mode and has better access for foreign languages.
Upvotes: 2 <issue_comment>username_2: It seems to be a bug for the recent versions of Android, I hope the developer fix it ASAP because I really loved that terminal, but I tried this one and it worked well
[TermOne Plus](https://play.google.com/store/apps/details?id=com.termoneplus)
Upvotes: 1 |
2022/01/14 | 414 | 1,548 | <issue_start>username_0: I'm sorry for asking a questions that's been asked before, but I have read conflicting information, so I want to be absolutely sure about this before I proceed.
I am aiming to *ROOT* my Pixel 4a (5G) with Android 12.
Will flashing a boot image modified by Magisk wipe all my data? (I have installed Magisk Canary because of Android 12, correct?)
I have already unlocked my bootloader, and of course that wiped my data. I don't want to go through that again. I don't want to have to reconfigure my setup again. (Some apps didn't automatically install for some reason. A few more of them lost their configurations. And system settings...)
Anyway, can someone please give me an **authoritative** answer?
Many Thanks,
---Mark<issue_comment>username_1: To close this issue:
Thanks for the suggestions:
@alecxs: The [hackers keyboard](https://f-droid.org/en/packages/org.pocketworkstation.pckeyboard) works great, and as it can represent a full keyboard, it feels very familiar. On screen portrait mode it's a bit more difficult to use though.
@IrfanLatif: [AnySoftKeyboard](https://github.com/mirfatif/AnySoftKeyboard) looks very promising as it's easier to use in portrait mode and has better access for foreign languages.
Upvotes: 2 <issue_comment>username_2: It seems to be a bug for the recent versions of Android, I hope the developer fix it ASAP because I really loved that terminal, but I tried this one and it worked well
[TermOne Plus](https://play.google.com/store/apps/details?id=com.termoneplus)
Upvotes: 1 |
2022/02/02 | 525 | 1,593 | <issue_start>username_0: I am using Ubuntu 20.04.3 LTS and when trying to boot into, or flash, the TWRP recovery bootimage image I compiled.
I have no additional information on why I got this error.
Just flashing twrp bootimage on moto g(40) fusion.
Error I received on executing `fastboot boot boot.img`:
```
$ downloading 'boot.img'...
$ FAILED (command write failed (Success))
$ finished. total time: 0.000s
```<issue_comment>username_1: My error was resolved on **using different usb slot** to connect my device via usb cable.
I still have no idea on why I got this error but it was resolved.
Maybe **using a different usb cable** might also solve this error.
Upvotes: 1 [selected_answer]<issue_comment>username_2: <https://forum.xda-developers.com/t/fastboot-problem-on-usb-3-0-ports.3859995/> also talks about this problem, although it might be a different case.
In their case, it was a Poco F1 phone, a computer with a AMD CPU, and a **USB 3.0 port**. Downgrading to USB 2.0 fixed the problem
The thread also offered a way to fix it on Windows by running these commands as administrator. I'm not sure what they do, but they seem to force USB 2.0
```
reg add "HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\usbflags\18D1D00D0100" /v "osvc" /t REG_BINARY /d "0000" /f
reg add "HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\usbflags\18D1D00D0100" /v "SkipContainerIdQuery" /t REG_BINARY /d "01000000" /f
reg add "HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\usbflags\18D1D00D0100" /v "SkipBOSDescriptorQuery" /t REG_BINARY /d "01000000" /f
```
Upvotes: 1 |
2022/02/04 | 380 | 1,446 | <issue_start>username_0: I have a Samsung Galaxy S10 5G and my Android version is Android 11. While using one of the regular apps that I use every day, I noticed that a red box with an exclamation mark inside appeared on the top of the screen.
[](https://i.stack.imgur.com/nwx99.jpg)
[](https://i.stack.imgur.com/dpspu.jpg)
Also, two lines on both sides of the screen appeared and they rotate with the screen. I don't understand how this issue started it just came from nowhere.
Please advise what to do. By the way, the box and the two-line do not appear on the lock screen.<issue_comment>username_1: Step 1: Setting - Apps & Notification - All apps - Android Accessibility Suite - Force stop.
In case if it doesn't work then restart the device in Safe mode and repeat "Step 1".
Good luck! (Y)
Upvotes: 0 <issue_comment>username_2: Your 'Switch-Access' in accessibility is activated. Go into settings and deactivate it & the red box with an exclamation mark will go away. I dont know off hand exactly where in settings they are but you can search for it as soon as you pull up settings by tapping the search bar. My accessibility settings menu is always available at the bottom corner of my screen. I set it that way in settings. The exclamation box only appears for me when 'Switch-Access'is activated.
Upvotes: 1 |
2022/02/07 | 231 | 961 | <issue_start>username_0: I'm using Samsung Galaxy S9 on Android 9. I can allow favorite contacts to call in the "Do not disturb" mode. But I also want them to ring the phone when calling in silent mode.
Is there a way?<issue_comment>username_1: Step 1: Setting - Apps & Notification - All apps - Android Accessibility Suite - Force stop.
In case if it doesn't work then restart the device in Safe mode and repeat "Step 1".
Good luck! (Y)
Upvotes: 0 <issue_comment>username_2: Your 'Switch-Access' in accessibility is activated. Go into settings and deactivate it & the red box with an exclamation mark will go away. I dont know off hand exactly where in settings they are but you can search for it as soon as you pull up settings by tapping the search bar. My accessibility settings menu is always available at the bottom corner of my screen. I set it that way in settings. The exclamation box only appears for me when 'Switch-Access'is activated.
Upvotes: 1 |
2022/02/15 | 513 | 1,873 | <issue_start>username_0: I am disabled (quadriplegic) and therefore cannot press the answer and hang up buttons on my smartphone to answer a phone call. On my Samsung S6 EDGE phone (Android 7), there is a function in the settings to pick up the phone by saying "answer". The problem is that since Android 8, this function no longer exists.
As I would like to change my telephone, I would not like to find myself unprepared. That's why I would like to know if it would be possible that I could make from an application or a script a system that allows me to press the pick up a button and hang up the phone when I say "pick up" or "hang up".<issue_comment>username_1: The accessibility app [Voice Access](https://play.google.com/store/apps/details?id=com.google.android.apps.accessibility.voiceaccess) might help.
According to [Get started with Voice Access spoken commands](https://support.google.com/accessibility/android/answer/6151848), some of the prerequisites:
* Only available in English, Spanish, German, Italian, or French.
* Requires Android version 5.0 or later.
* Requires [Google app](https://play.google.com/store/apps/details?id=com.google.android.googlequicksearchbox).
According to [Use Voice Access commands](https://support.google.com/accessibility/android/answer/6151854?hl=en#zippy=%2Cbasics-navigation), after Voice Access is enabled, it is at least possible to answer a call by saying "answer call".
>
> ### Answer calls
>
>
> If you receive a call, you can answer it by saying "Answer call."
>
>
>
Upvotes: 1 <issue_comment>username_2: Another option is a WearOS watch that links to your phone and comes with voice assistant.
<https://wearos.google.com/intl/en_ca/#works-on>
The added bonus being that the phone can stay in your pocket or a belt clip/ holster !
You may even find one that is compatible with your current phone.
Upvotes: 0 |
2022/02/21 | 752 | 2,598 | <issue_start>username_0: Version: Android 11
Context: The app has been de-listed from the Play Store but I have the app installed from an official purchase. I want to move the app to another device.
---
I found this [related thread](https://android.stackexchange.com/questions/49114/how-do-i-save-purchased-apps-as-apks) but it requires rooting and the "AppMonster" app linked in the accepted answer is no longer available. The discussion also pertains to a very old Android version.
Is there a newer method available without rooting? I don't want to void my warranty just yet.<issue_comment>username_1: There are plenty of [app-based solutions](https://android.izzysoft.de/applists/category/named/file_backup) available specialized on this (also some file managers like Amaze mentioned in Robert's comment on your question cover this as well) – or you could simply use [adb](/questions/tagged/adb "show questions tagged 'adb'").
If you're on Linux (Mac or Cygwin should work as well), my tool Adebar has a fitting script in [its `tools/` directory](https://codeberg.org/izzy/Adebar/src/branch/master/tools) which can even deal with split APKs, watch out for `getapk`: when called without parameters it gives you details on its syntax. The script can extract single APKs, or APKs of all system or user-installed apps at once.
Upvotes: 2 [selected_answer]<issue_comment>username_2: I used the [SuperBackup](https://play.google.com/store/apps/details?id=com.idea.backup.smscontacts&hl=en_AU&gl=US) app which I had many moons ago and I remembered it had the ability to backup installed apps as APK.
[](https://i.stack.imgur.com/lbu1Q.png)
When I backed up the de-listed app, it said along the lines of "APK saved but has no user data because your device is unrooted". I went ahead anyway and installed the APK on another device and logged in with the same Google Account I purchased it with as previously suggested.
Upvotes: 2 <issue_comment>username_3: Install MiXplorer (<https://forum.xda-developers.com/attachments/mixplorer_v6-58-4-api29_b22020920-apk.5532509/>) and then follow these steps.
1. Open MiXplorer
2. Press on the three lines (top left)
3. Click on the App category.
4. Press the User App at the top
5. Locate the APK containing your app
6. Copy it to the internal storage/SD Card category
7. Upload it to the cloud in a web browser or the service's official app. (e.g. Google Drive, OneDrive)


Upvotes: 1 |
2022/02/23 | 525 | 1,943 | <issue_start>username_0: My device is an Oppo F11 Pro that I bought in 2019 and it has ColorOS 11.1 / Android 11.
Recently, this weird app popped out on my phone.

I tried to remove it, but when I tap on it, it says that it wasn't able to open the app, and when I hold the icon, I only get "see the details of this app" which leads to nothing. I found nothing on the app manager, so I thought that my phone was compromised and I reset it to factory settings and changed my passwords using my laptop (which I'm sure isn't compromised because I just got it and only has Firefox on it).
After the resetting, I installed some apps from the Play Store (as you see, Citymapper for example) and I noticed that for some apps (Messenger, Google Podcasts, Forest, and Reddit), this weird icon appears before the apps' icons; while for other icons (Citymapper, Instagram, McAfee Security), nothing happens. And since I got the McAfee 30 days trial, I decided to put it on the phone and it found nothing during its analysis.
I may have randomly found a hint about the app. I was checking the authorizations given to my apps and I noticed that an app called "DMApp" with the same weird Android icon had the authorization for making and managing phones calls. I removed it and there is no way to find that "DMApp" again, but the icons kept multiplicating.
**TL;DR:** A weird-looking icon keeps popping out in my phone with no way to find its origins (even after factory reset). Device: Oppo F11 Pro (bought in 2019). OS: ColorOS 11.1 | Android 11
I hope you can help me figure out what all this is about. Thanks!<issue_comment>username_1: This is a Color OS bug with Android 11. Me too facing this since a few days so can confirm.
Upvotes: 2 [selected_answer]<issue_comment>username_2: Go to Settings - Homescreen and lockscreen, and turn off and on the icon autofill. It will clear off all those.
Upvotes: 0 |
2022/03/05 | 235 | 844 | <issue_start>username_0: I have a LG phone, android version 10. How do I remove a "Florida Blue Alert" from almost 2 weeks ago? I can't even see the actual message any more, just a web link, which doesn't work. As I recall, it showed a couple of views of some man, a fugitive, I think.
Typing the link into my laptop browser gets me a screen saying the alert has been cancelled and the situation resolved.
Swiping left and/or right gets me nothing.
Thanks!
[](https://i.stack.imgur.com/yTpcO.png)<issue_comment>username_1: This is a Color OS bug with Android 11. Me too facing this since a few days so can confirm.
Upvotes: 2 [selected_answer]<issue_comment>username_2: Go to Settings - Homescreen and lockscreen, and turn off and on the icon autofill. It will clear off all those.
Upvotes: 0 |
2022/03/06 | 649 | 2,313 | <issue_start>username_0: **Context :**
Hello, I have a GPD XD console under Android 5 with a complex launcher. I would like to install the very good [Pegasus frontend](https://www.pegasus-installer.com/) (install and play, no tweaks), and for that they require to run a script through Termux (because it seems some commands like `/bin/bash` or `cURL` are included in Termux and are absent in other terminal apps).
For Android 5, there is an archive of the application available [here](https://archive.org/details/termux-repositories-legacy) (according to the official github).
**Problem:**
Unfortunately, I don't understand how to install these files on the console (there are too many of them). Indeed, I tried to install only the `termux-v0.79-offline-bootstraps.apk` file but I get an error message (maybe a `signature error` but I don't remember well).
**Question:**
Could you explain me step by step how to install these files please (and which ones to download) ? Thank you very much for your kind help!<issue_comment>username_1: i have been using the old version ever since support for it was dropped. This is how i do it.
After installing **termux-v0.79-offline-bootstraps.apk** , you have to change the text in sources.list located `/data/data/com.termux/files/usr/etc/apt` (use `vi sources.list` ) to `deb https://packages.termux.dev/termux-main-21 stable main` . Use
```
apt remove science-repo
apt remove game-repo
```
Thats all, then to install packages just type;
`pkg install packageName`.
That's the easy way
**Manually**
You also have to install the dependecies manually from this same location
Visit
<https://packages.termux.org/termux-main-21/dists/stable/main/binary-arm/>
And just download the .deb file
Then navigate to your downloads folder and
type
```
dpkg -i package-name
```
Upvotes: 2 <issue_comment>username_2: Support for Android 5 and 6 is back. See [the official page](https://github.com/termux/termux-app/wiki/Termux-on-android-5-or-6).
You can use [the archive link](https://archive.org/details/termux-repositories-legacy) to install any missing old packages. Press `show all`, then next to `termux-repositories-legacy-24.12.2019.tar`, press `(View Contents)`. Now you can find and download the packages you need without downloading the whole archive.
Upvotes: 1 |
2022/03/11 | 695 | 2,623 | <issue_start>username_0: When I set up my new phone (Fairphone 4) with Android 11 I selected Duckduckgo as search engine. This is now used in the bottom search bar on the home screen. Now I can't find the place in the settings to change this to something else in the settings. And searching the settings for "search" brings up nothing :-/
Where can I change the search engine for the search bar on the home screen.
This is what I need to find again: <https://www.android.com/choicescreen/> The EU forces them to provide me with a choicescreen so that I can decide freely which search engine to use by default. But like for cookie banners, the EU guys are not the brightest when trying to control Megacorps, so they seem to allow Google to hide that screen very well.
All descriptions I found refer to changing the search engine in a browser only.
(It is lamented elsewhere already what a pita it is to have the search bar down there, but it seems we cannot get rid of it. In case someone knows better, that would suit me as well.)<issue_comment>username_1: One of the answer from this [question](https://forum.fairphone.com/t/change-default-search-engine/78772/11) on the Fairphone forum about the same issue indicates that you must reset either reset the phone. It reflects the response from Fairphone support:
>
> Support answered:
>
>
>
> >
> > At the moment, the only way to change the search engine used by the search bar is indeed a full factory reset.
> >
> >
> > However, we understand that this is not the most convenient way. Thus, we will take your feedback into our considerations for our future developments. We appreciate your response as it is very helpful for us and it gives a good insight into the wishes and needs of our community
> >
> >
> >
>
>
>
OR
install another launcher. The OP from that forum installed Lawnchair launcher.
Upvotes: 3 [selected_answer]<issue_comment>username_2: Here is the [adb](https://developer.android.com/tools/adb) method, thanks to the [FairPhone forum thread](https://forum.fairphone.com/t/change-default-search-engine/78772).
```
$ adb shell settings delete secure selected_search_engine
$ adb shell pm enable com.google.android.apps.setupwizard.searchselector
$ adb reboot
```
It worked for me on Nokia G60 5G. With the usual undocumented quirk: you also have to enable USB file transfer before adb can work. I think there was a short delay before the choice screen appeared.
Unfortunately for me, the "Choice screen" only has a list chosen by Google, and the list does not include Firefox.
I agree the EU seem to have fallen asleep.
Upvotes: 0 |
2022/03/17 | 676 | 2,432 | <issue_start>username_0: I just switched phones and carrier, going from a Huawei P20 to a Samsung S20 FE 5G.
I used to be able to easily send PDFs and other files via MMS (as long as the file didn't exceed a certain size).
Since I changed phone/carrier, I am no longer able to send files to iPhone users.
I still have the options to send files to other Android user, but that doesn't seem to be an option with iPhones, which is an absolute deal breaker for me as I rely on it quite a lot for work where everyone but me is using an iPhone.
Do you know of a work around or way that would allow me to send PDF files via "text message" as I used to? And I of course mean actual files, not links to cloud drive.
[](https://i.stack.imgur.com/fi2BP.png)
Thank you for your help!<issue_comment>username_1: One of the answer from this [question](https://forum.fairphone.com/t/change-default-search-engine/78772/11) on the Fairphone forum about the same issue indicates that you must reset either reset the phone. It reflects the response from Fairphone support:
>
> Support answered:
>
>
>
> >
> > At the moment, the only way to change the search engine used by the search bar is indeed a full factory reset.
> >
> >
> > However, we understand that this is not the most convenient way. Thus, we will take your feedback into our considerations for our future developments. We appreciate your response as it is very helpful for us and it gives a good insight into the wishes and needs of our community
> >
> >
> >
>
>
>
OR
install another launcher. The OP from that forum installed Lawnchair launcher.
Upvotes: 3 [selected_answer]<issue_comment>username_2: Here is the [adb](https://developer.android.com/tools/adb) method, thanks to the [FairPhone forum thread](https://forum.fairphone.com/t/change-default-search-engine/78772).
```
$ adb shell settings delete secure selected_search_engine
$ adb shell pm enable com.google.android.apps.setupwizard.searchselector
$ adb reboot
```
It worked for me on Nokia G60 5G. With the usual undocumented quirk: you also have to enable USB file transfer before adb can work. I think there was a short delay before the choice screen appeared.
Unfortunately for me, the "Choice screen" only has a list chosen by Google, and the list does not include Firefox.
I agree the EU seem to have fallen asleep.
Upvotes: 0 |
2022/03/18 | 481 | 1,750 | <issue_start>username_0: Since android 6 there are runtime permissions. Is this applicable to all apps? Or only apps that target the API of android 6 and higher?<issue_comment>username_1: One of the answer from this [question](https://forum.fairphone.com/t/change-default-search-engine/78772/11) on the Fairphone forum about the same issue indicates that you must reset either reset the phone. It reflects the response from Fairphone support:
>
> Support answered:
>
>
>
> >
> > At the moment, the only way to change the search engine used by the search bar is indeed a full factory reset.
> >
> >
> > However, we understand that this is not the most convenient way. Thus, we will take your feedback into our considerations for our future developments. We appreciate your response as it is very helpful for us and it gives a good insight into the wishes and needs of our community
> >
> >
> >
>
>
>
OR
install another launcher. The OP from that forum installed Lawnchair launcher.
Upvotes: 3 [selected_answer]<issue_comment>username_2: Here is the [adb](https://developer.android.com/tools/adb) method, thanks to the [FairPhone forum thread](https://forum.fairphone.com/t/change-default-search-engine/78772).
```
$ adb shell settings delete secure selected_search_engine
$ adb shell pm enable com.google.android.apps.setupwizard.searchselector
$ adb reboot
```
It worked for me on Nokia G60 5G. With the usual undocumented quirk: you also have to enable USB file transfer before adb can work. I think there was a short delay before the choice screen appeared.
Unfortunately for me, the "Choice screen" only has a list chosen by Google, and the list does not include Firefox.
I agree the EU seem to have fallen asleep.
Upvotes: 0 |
2022/03/21 | 468 | 1,686 | <issue_start>username_0: I wonder how I can change the flashlight intensity on my Google Pixel 6.<issue_comment>username_1: One of the answer from this [question](https://forum.fairphone.com/t/change-default-search-engine/78772/11) on the Fairphone forum about the same issue indicates that you must reset either reset the phone. It reflects the response from Fairphone support:
>
> Support answered:
>
>
>
> >
> > At the moment, the only way to change the search engine used by the search bar is indeed a full factory reset.
> >
> >
> > However, we understand that this is not the most convenient way. Thus, we will take your feedback into our considerations for our future developments. We appreciate your response as it is very helpful for us and it gives a good insight into the wishes and needs of our community
> >
> >
> >
>
>
>
OR
install another launcher. The OP from that forum installed Lawnchair launcher.
Upvotes: 3 [selected_answer]<issue_comment>username_2: Here is the [adb](https://developer.android.com/tools/adb) method, thanks to the [FairPhone forum thread](https://forum.fairphone.com/t/change-default-search-engine/78772).
```
$ adb shell settings delete secure selected_search_engine
$ adb shell pm enable com.google.android.apps.setupwizard.searchselector
$ adb reboot
```
It worked for me on Nokia G60 5G. With the usual undocumented quirk: you also have to enable USB file transfer before adb can work. I think there was a short delay before the choice screen appeared.
Unfortunately for me, the "Choice screen" only has a list chosen by Google, and the list does not include Firefox.
I agree the EU seem to have fallen asleep.
Upvotes: 0 |
2022/03/22 | 412 | 1,573 | <issue_start>username_0: I use VPN 24\*7. Earlier I used to be able to hide "VPN active" notification but since I upgraded to Android 12, the option is not there anymore.
What should I do to hide the notification?<issue_comment>username_1: Perhaps, you can tap & hold to use the notification controls by turning off notifications from certain apps, or tap the settings button for advanced options.
[![Notification control [12.1]](https://i.stack.imgur.com/DtSkR.png)](https://i.stack.imgur.com/DtSkR.png)
Tip: You can also hide the VPN icon on the status bar with third-party apps with advanced adb tool.
Upvotes: 1 <issue_comment>username_2: I think you can't remove it anymore in android 12.
Some models let you remove the notification over a system menu.
On my oppo there is a hack:
Download a PDF on edge (maybe it works also with chrome).
Then press on "remove all notifications"
This removes it until the next start.
Upvotes: 0 <issue_comment>username_3: Turn on developer options and switch on demo mode :)
Upvotes: 1 <issue_comment>username_4: The OP seems to ask about VPN-app's own custom-notification,
I mean, because newer Android versions no longer show such notification.
You can only get rid of said custom-notification,
by removing notification permission of said app.
Another option would be asking their developers (or customer support) for such feature.
It's little hard, but said developers can remove notification,
by starting their `VpnService` in a separate process, like:
<https://stackoverflow.com/a/38496939/8740349>
Upvotes: 0 |
2022/03/25 | 2,166 | 6,368 | <issue_start>username_0: I've been using **Handcent Next SMS** app for many years. A few moments ago, the Playstore's Play Protect just disabled the app on my phone saying the following:
>
> This app is fake. It tries to take over your device or steal your data.
>
>
>
The [webpage](https://play.google.com/store/apps/details?id=com.handcent.app.nextsms&hl=en_US&gl=US) for the app comes up blank now:
[](https://i.stack.imgur.com/4KBVRm.png)
To my knowledge, 10,000s of people have been using this app for many years.
**Did something just change?**
Anybody have more information about this sudden change/situation??<issue_comment>username_1: Since I did not uninstall the app after the high-risk warning, I was able to go to Play Protect and enable the app. Then I went into settings for the app and changed the permissions to allow for usage of apps that aren't on the Play Store. I also changed the setting where Play Protect wouldn't scan Handcent. Once I restarted, everything was back.
Upvotes: 2 <issue_comment>username_2: **The Handcent Next SMS app was flagged by Play Protect and taken down from the Play Store on March 26 due to embedding a malicious 3rd-party library and returned on March 30 with an updated, clean version.**
---
### Timeline
On March 26, according [user223149](https://android.stackexchange.com/users/371073/user223149) while [attempting to reply to this question](https://android.stackexchange.com/q/246037/44325),
>
> Got this answer from support:
>
>
>
> >
> > Our app Handcent Next SMS has been misidentified as malware by Google, we are in talks with Google to get our app back to play store. [...]
> >
> >
> >
>
>
>
Around 1 hour later, this was later confirmed on the official [Handcent website](https://www.handcent.com/), [Twitter account](https://twitter.com/Handcent/status/1507549097288380416), and [Facebook Page](https://www.facebook.com/handcent/posts/2198804186934782),
>
> Our app Handcent Next SMS has been misidentified as malware by Google, we are in talks with Google to get our app back to play store. [...]
>
>
>
[User 'WildBSinTX' on Reddit](https://www.reddit.com/r/androidapps/comments/to1ss4/comment/i26xjel/?utm_source=reddit&utm_medium=web2x&context=3) sent an email to Handcent support and got a reply,
>
> I got a reply this morning with an explanation and an attachment with v9.9.9.
>
>
> \*Security patch to fix a potential threat
>
> \*Other fixes to make sure it's in a good safe state
>
>
> I installed it, and so far, so good.
>
>
> [...]
>
>
>
Meanwhile, on March 28, Handcent posted an update to the same channels.
[Official site](https://www.handcent.com/)
>
> We have resolved the issue, together with Google. The app will return to the play store soon. [...]
>
>
>
[Twitter](https://twitter.com/Handcent/status/1508282177926021126)
>
> We have resolved the issue, together with Google. It usually takes one day or two. [...]. It’s safer and good to go now.
>
>
>
[Facebook](https://www.facebook.com/handcent/posts/2200406613441206)
>
> We have resolved the issue, together with Google. The app will return to the play store soon. It usually takes one day or two. [...]. It’s safer and good to go now.
>
>
>
**On March 30, the app was back on the Play Store with v9.9.9.1.**
[The official site](https://www.handcent.com/) also mentions,
>
> We are pleased to announce that Handcent Next SMS is back to the Google Play . [...]
>
>
>
Handcent also followed up on their social media on March 31.
[Twitter](https://twitter.com/Handcent/status/1509374817752952832)
>
> Next SMS is now back on the play store, you could go to the play store and install it. [...]
>
>
>
[Facebook](https://www.facebook.com/handcent/posts/2202641403217727)
>
> Next SMS is now back on the play store, you could go to the play store and install it. [...]
>
>
>
Those who sent an email might also receive a follow-up reply mentioning the app version on the Play Store,
>
> Next SMS is now back on the play store, you could go to the play store and install it 9.9.9.1. [...]
>
>
>
---
### Cause
I decided to send an email to Handcent Support and received the v9.9.9 APK file, then also downloaded the APK for v9.9.9.1 after it was published on the Play Store. After decompiling and comparing the content with v9.9.8.6 and v9.9.8.5, one noticeable thing is the removal of `coelib.c.couluslibrary` since v9.9.9 (including v9.9.9.1 from the Play Store).
AppCensus published a blog article written by <NAME> on April 6, titled [The Curious Case of Coulus Coelib](https://blog.appcensus.io/2022/04/06/the-curious-case-of-coulus-coelib/). It explained what and how this library worked in detail. Quoting a relevant part about this specific incident,
>
> ### Disclosure
>
>
> The following table are the apps that we confirmed communicating with `mobile.measurelib.com`. We reported this issue to Google on October 20th, 2021 along with this list of apps. **They investigated it and removed these and other apps containing the SDK from the Play Store.** [...]
>
>
>
>
>
> | App Name | Privacy Policy | Installations | phone | email | IMEI | GPS | router SSID | router MAC |
> | --- | --- | --- | --- | --- | --- | --- | --- | --- |
> | [...] | [...] | [...] | [...] | [...] | [...] | [...] | [...] | [...] |
> | [Handcent Next SMS-Text w/ MMS](https://play.google.com/store/apps/details?id=com.handcent.app.nextsms) | [link](https://web.archive.org/web/20220118151158/https://www.handcent.com/static/%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20ApplicationPrivacyStatement.html) | 1 million+ | no | yes | yes | no | yes | yes |
> | [...] | [...] | [...] | [...] | [...] | [...] | [...] | [...] | [...] |
>
>
>
(Emphasis added)
An article from Android Police published on April 7, titled [Google crackdown kicks a bunch of data-stealing malware off the Play Store](https://www.androidpolice.com/google-play-store-boots-data-harvesting-software-intelligence/) also stated,
>
> Still, there is some hope for those who have lost income streams from Google's ban. The company may allow some apps to return — as long as they delete the Measurement Systems code. The first few are in fact already back.
>
>
>
Upvotes: 4 |
2022/04/06 | 262 | 992 | <issue_start>username_0: I want to try thinking in UTC instead of my local time. There is no UTC region and no UTC time zone under the United States region.
How can I set my device so it always displays the time in UTC instead of my local time zone?<issue_comment>username_1: Set your device to the Iceland region. Iceland has a single time zone with a UTC offset of +0, and they do not use DST. Other time zones that may work are listed [here](https://www.timeanddate.com/time/zones/gmt).
Upvotes: 2 <issue_comment>username_2: Now `Select time zone` has a sideways `...` that you can select `Select by UTC offset`; this is an alternate way you can select `UTC GMT +00:00` without selecting a region. (Android 10, 2022-02 patch.)
I assume that this is the same time that one uses for SSL certificates, which I'd imagine is probably UTC instead of GMT. I use this as well, and it mostly works. The only trouble I've had is getting re-certified with Microsoft's OAuth mail server.
Upvotes: 1 |
2022/04/22 | 358 | 1,304 | <issue_start>username_0: I have .ZIP files appearing on my Android 11 phone on their own. I don't know why they're there, and I don't know where they're coming from. Their located under Google, Download cache. 24 files named as follows:
soda-en-US-v1001-1.zip
All file names are the same except for the number at the end. All files are 50.05mb. If I try to open them, it says "unable to open archive. File is either corrupt or an unsupported format." I didn't create these files, nor have I downloaded anything.
Why are these files being created on their own?<issue_comment>username_1: Set your device to the Iceland region. Iceland has a single time zone with a UTC offset of +0, and they do not use DST. Other time zones that may work are listed [here](https://www.timeanddate.com/time/zones/gmt).
Upvotes: 2 <issue_comment>username_2: Now `Select time zone` has a sideways `...` that you can select `Select by UTC offset`; this is an alternate way you can select `UTC GMT +00:00` without selecting a region. (Android 10, 2022-02 patch.)
I assume that this is the same time that one uses for SSL certificates, which I'd imagine is probably UTC instead of GMT. I use this as well, and it mostly works. The only trouble I've had is getting re-certified with Microsoft's OAuth mail server.
Upvotes: 1 |
2022/04/23 | 716 | 2,122 | <issue_start>username_0: I have a Samsung SM-P905V tablet that is running Android 5.1.1. Nothing newer is available, and no one has figured out unlocking the bootloader to allow a custom ROM. I want to load Kiwi Browser and have tried to find an older version that will work.
From [APKMirror](https://www.apkmirror.com/apk/geometry-ou/kiwi-browser-fast-quiet/kiwi-browser-fast-quiet-96-0-4664-46-release/kiwi-browser-fast-quiet-96-0-4664-46-5-android-apk-download/) I found `com.kiwibrowser.browser_96.0.4664.46-466404611_minAPI21(x86)(nodpi)_apkmirror.com.apk`. The page title is "Kiwi Browser - Fast & Quiet 96.0.4664.46 (x86) (Android 5.0+) Kiwi Browser - Fast & Quiet 96.0.4664.46 (x86) **(Android 5.0+)**". This fails installation - the message is "there was a problem parsing the package". I also tried to install `kiwi-browser-99-0-4844-94.apk` and get a similar error.
Is there any specific version that will work with Android 5.1.1?<issue_comment>username_1: Your main problem why you can't install the version `com.kiwibrowser.browser_96.0.4664.46-466404611_minAPI21(x86)(nodpi)_apkmirror.com.apk` is that this version is only for devices with x86 CPU.
But your tablet is an Samsung Galaxy Note Pro 12.2 that uses an Qualcomm Snapdragon 800 / Krait 400 CPU (ARMv7). Therefore when downloading an APK file from ApkMirror.com you have to select the `armeabi-v7a` variant (all the other variants like `x86`, `x86_64` or `arm64-v8a` will not work on your device).
Note that using an outdated web browser is invitation for malicious sites to hack and infect your device. You should be really careful about which web site you look at when using such an outdated version.
So my recommendation would be to switch to a web browser that still supports Android 5.0 like [Mozilla Firefox](https://play.google.com/store/apps/details?id=org.mozilla.firefox).
Upvotes: 2 <issue_comment>username_2: This version would work on your device
<https://www.apkmirror.com/apk/geometry-ou/kiwi-browser-fast-quiet/kiwi-browser-fast-quiet-voavanga-release/kiwi-browser-fast-quiet-voavanga-android-apk-download/download/>
Upvotes: 0 |
2022/04/27 | 508 | 1,871 | <issue_start>username_0: Is there a way **to schedule** the sending of messages on whatsapp using some particular program or script (obviously having the root of the device)?
I tried many applications to schedule sending messages, but none of them was automatic, they all needed user interaction.
I also tried to create some sort of scripts but with no results because they were in conflict with the operation of the application. My phone has Android 11 and I noticed that going on with the versions is getting more and more complex to work at the programming and automation level.
In particular, I would need something **automatic** that requires **no interaction to send these messages**<issue_comment>username_1: Your main problem why you can't install the version `com.kiwibrowser.browser_96.0.4664.46-466404611_minAPI21(x86)(nodpi)_apkmirror.com.apk` is that this version is only for devices with x86 CPU.
But your tablet is an Samsung Galaxy Note Pro 12.2 that uses an Qualcomm Snapdragon 800 / Krait 400 CPU (ARMv7). Therefore when downloading an APK file from ApkMirror.com you have to select the `armeabi-v7a` variant (all the other variants like `x86`, `x86_64` or `arm64-v8a` will not work on your device).
Note that using an outdated web browser is invitation for malicious sites to hack and infect your device. You should be really careful about which web site you look at when using such an outdated version.
So my recommendation would be to switch to a web browser that still supports Android 5.0 like [Mozilla Firefox](https://play.google.com/store/apps/details?id=org.mozilla.firefox).
Upvotes: 2 <issue_comment>username_2: This version would work on your device
<https://www.apkmirror.com/apk/geometry-ou/kiwi-browser-fast-quiet/kiwi-browser-fast-quiet-voavanga-release/kiwi-browser-fast-quiet-voavanga-android-apk-download/download/>
Upvotes: 0 |
2022/05/01 | 213 | 888 | <issue_start>username_0: I have a Pixel 2 phone running Android which appears to have a hardware failure. The screen only shows a multi-color static and is non-responsive. Occasionally I briefly see my normal lock screen, but the screen is non-responsive and goes back to static soon.
I need to get data from the device. Connecting via USB, running `adb devices` shows that no devices are detected.
How can I copy the storage from my phone to my computer, so that I can extract the desired data?<issue_comment>username_1: You're helpless. Get a new screen, no more ways.
Upvotes: 0 <issue_comment>username_2: Copying data from a phone which is not detected by adb and has no screen info to tell what is happening is not going to take you very far from where you are.
Either try to get it to show on system somehow or get a working display to know what is happening on phone.
Upvotes: 2 |
2022/05/03 | 417 | 1,530 | <issue_start>username_0: I just bought a Nokia Android TV with a super nice USB A 3.0 port (that was the main reason to choose it) where I want to plug my external 2.5' 2TB hdd with all my movies and music and such.
BUT, when I plug it in and the thing recognises the unit, it looks "empty". Ok, i assume the file system is not readable. I format the unit there so I make sure the HDD is readable byt the Android TV.
After format I unplug it and go to my laptop to re-copy all my stuff... my laptop sees the unit, but doesn't mount it: it's under "My PC" -> Manage -> Disk manager but cannot assign a letter to it.
[](https://i.stack.imgur.com/zHUpu.png)
I format it then with FAT32 that I've read is readable by android and copy some movies, go back to the Nokia thing, connect it, and again not readable...
I am sure there is an easy way I'm missing here. Is there any FS that's accesible from both technologies? I've even installed WSD in my windows and I have kind of a "mount" access now but really don't know how to use it to see the unit in my explorer :)
thanks for any help!<issue_comment>username_1: You're helpless. Get a new screen, no more ways.
Upvotes: 0 <issue_comment>username_2: Copying data from a phone which is not detected by adb and has no screen info to tell what is happening is not going to take you very far from where you are.
Either try to get it to show on system somehow or get a working display to know what is happening on phone.
Upvotes: 2 |
2022/05/03 | 165 | 686 | <issue_start>username_0: I am able to access my Android phone via "USB debugging" from one computer. I'd like to allow a second computer the same privilege, but when I plug it in there it says "device unauthorized".
How can I allow USB debugging from a new computer when I have a broken screen?<issue_comment>username_1: You're helpless. Get a new screen, no more ways.
Upvotes: 0 <issue_comment>username_2: Copying data from a phone which is not detected by adb and has no screen info to tell what is happening is not going to take you very far from where you are.
Either try to get it to show on system somehow or get a working display to know what is happening on phone.
Upvotes: 2 |
2022/05/05 | 383 | 1,556 | <issue_start>username_0: I have the **ES File Explorer** and the **DU Recorder** apps installed on my phone, but they cannot be found in the Play Store anymore. So, how can I uninstall those apps?<issue_comment>username_1: You should try using adb, I recommend using it on a Linux environment since (for me at least) It's easier to configure.
```
sudo apt install adb
```
Then connect your tablet, be sure that you have your device with USB Debugging enabled.
then, type.
```
adb shell
```
It should connect without a problem, then you have to identify the package you want to delete with.
```
pm packages list
```
You should see a result or a list of names that will look something like these
```
com.android.app.calendar
```
Once you are sure about the package name of the app that you wnat to uninstall you have to tun these command.
```
pm uninstall --user-0
```
On the other hand, you should be able to uninstall any app you installed just drag and drop... unless is a deprecated google app like google+, and even with this method yo won't be really uninstalling anything, but for your eyes the app is going to disappear.
Upvotes: 0 <issue_comment>username_2: Google Play Store is not necessary for installation or uninstallation of apps.
All your installed apps are shown in the app list in Android settings. There you can also uninstall apps.
On most Android versions you can also make a long-touch on an app icon on the launcher and then open the App info page where you can uninstall/disable an app.
Upvotes: 2 [selected_answer] |
2022/05/10 | 568 | 2,133 | <issue_start>username_0: I have an issue with my smartphone, the "open with" option doesn't work properly, so when I click on a link (from gmail for example or to open a file) normally I am given the choice to choose on which application I want to open it, but since the last update (miui 12.5 to 13 / android 11 to 12) I can't choose , when I click on "plus" or "more" in the "open with" window to have the choices it doesn't show any suggestions and select randomly an application (sometimes chrome, other times tor/edge/mi browser ... etc).
* device : xiaomi poco f2 pro
* miui version : 13.0.2 stable
* Android version : 12 SKQ 1.211006.001
Issue in the android framework(I think): `com.android.internal.app.MiuiResolverActivity`
What should I do? Please help me up.<issue_comment>username_1: You should try using adb, I recommend using it on a Linux environment since (for me at least) It's easier to configure.
```
sudo apt install adb
```
Then connect your tablet, be sure that you have your device with USB Debugging enabled.
then, type.
```
adb shell
```
It should connect without a problem, then you have to identify the package you want to delete with.
```
pm packages list
```
You should see a result or a list of names that will look something like these
```
com.android.app.calendar
```
Once you are sure about the package name of the app that you wnat to uninstall you have to tun these command.
```
pm uninstall --user-0
```
On the other hand, you should be able to uninstall any app you installed just drag and drop... unless is a deprecated google app like google+, and even with this method yo won't be really uninstalling anything, but for your eyes the app is going to disappear.
Upvotes: 0 <issue_comment>username_2: Google Play Store is not necessary for installation or uninstallation of apps.
All your installed apps are shown in the app list in Android settings. There you can also uninstall apps.
On most Android versions you can also make a long-touch on an app icon on the launcher and then open the App info page where you can uninstall/disable an app.
Upvotes: 2 [selected_answer] |
2022/05/14 | 714 | 2,953 | <issue_start>username_0: I'm trying to [change volume on my device via ADB](https://stackoverflow.com/questions/21055947/adb-command-to-set-volume).
When for instance running
```
adb shell media volume --stream 15 --set 0
```
...this error is returned ([regarding the volume streams](https://stackoverflow.com/questions/24652747/what-is-the-difference-between-audiomanagers-stream-types-at-low-level)):
```
/system/bin/sh: media: inaccessible or not found
```
---
Oneplus 5T, LineageOS 18.1 (Android 11)
[Android documentation](https://developer.android.com/reference/android/media/AudioManager.html)<issue_comment>username_1: In Android 11 and Android 12, `media` utility no longer exists. That's why you got the error since your shell could not find the utility in locations mentioned in its PATH. That utility's commands have been moved to a service name `MediaSessionService`. To access those commands invoke this service using `cmd` command.
```
adb shell cmd media_session
```
Example:
```
$ **cmd media\_session**
usage: media_session [subcommand] [options]
media_session dispatch KEY
media_session dispatch KEY
media_session list-sessions
media_session monitor
media_session volume [options]
media_session dispatch: dispatch a media key to the system.
KEY may be: play, pause, play-pause, mute, headsethook,
stop, next, previous, rewind, record, fast-forword.
media_session list-sessions: print a list of the current sessions.
media_session monitor: monitor updates to the specified session.
Use the tag from list-sessions.
media_session volume: the options are as follows:
--stream STREAM selects the stream to control, see AudioManager.STREAM_*
controls AudioManager.STREAM_MUSIC if no stream is specified
--set INDEX sets the volume index value
--adj DIRECTION adjusts the volume, use raise|same|lower for the direction
--get outputs the current volume
--show shows the UI during the volume change
***examples***:
adb shell media volume --show --stream 3 --set 11
adb shell media volume --stream 0 --adj lower
adb shell media volume --stream 3 --get
```
The *examples* section above has not been updated in the source code to reflect new changes, that's why it still recommends using `media` or `adb shell media`.
Upvotes: 3 <issue_comment>username_2: To send adb command to Android 11 or 12 devices, the syntax of controlling volume has changed:
```
adb shell cmd media_session volume --set 10
```
**This is used to set the volume at `10`** — just replace `10` with your desired value.
Upvotes: 2 [selected_answer] |
2022/05/14 | 185 | 531 | <issue_start>username_0: How to I determine if an Android device supports [802.11ac](https://isidore.co/calibre/#panel=book_details&book_id=7461) (5Gz WiFi)?<issue_comment>username_1: goto Settings - WiFi - show available networks. if you see 2.4G/5G your device supports it
[](https://i.stack.imgur.com/s36Rt.jpg)
Upvotes: 0 <issue_comment>username_2: Check [CPU Info](https://f-droid.org/en/packages/com.kgurgul.cpuinfo/)'s Hardware tab, item "WiFi 5Ghz".
Upvotes: 2 [selected_answer] |
2022/05/21 | 607 | 2,293 | <issue_start>username_0: I am using [Duolingo](https://en.wikipedia.org/wiki/Duolingo) to practice Japanese, and I'd be able to practice a lot more if I could actually do this while listening to music. Right now, when you get to the next question, it turns down the volume for all other apps, reads the question, and restores the volume again. This is annoying enough that it makes listening to music while practicing practically impossible for me.
Preferably I'd like to mute Duolingo altogether, but I'd settle for it not lowering the volume for other apps (NewPipe is what I usually use to listen to music, and which I want to keep playing at the same volume).
I saw this other question: [how to have two applications play sound simultaneously?](https://android.stackexchange.com/questions/125250/how-to-have-two-applications-play-sound-simultaneously/125311#125311), from six years ago, which seems somewhat related, but which doesn't apply to NewPipe, and probably wouldn't apply anymore anyways, given the age of the question.
How can I achieve this? (I have a rooted phone, which might help, IDK).<issue_comment>username_1: You can set `TAKE_AUDIO_FOCUS` permission of that app to `ignore`:
```
appops set TAKE\_AUDIO\_FOCUS ignore
```
Using [Permission Manager X (PMX)](https://github.com/mirfatif/PermissionManagerX) this can be done conveniently for any app:

Disclosure: I'm the author of PMX.
Upvotes: 5 [selected_answer]<issue_comment>username_2: If you have a Samsung phone then [Sound Assistant](https://galaxystore.samsung.com/detail/com.samsung.android.soundassistant) has a `Multi Sound` option that can allow specific applications to be able to play audio at the same time as other applications.
[](https://i.stack.imgur.com/MkTvU.jpg)
Once you toggle it on then you will be able to select apps that can play audio regardless of whether another application is playing.
Upvotes: 2 <issue_comment>username_3: It's not the best solution but if you use YouTube music, y-music (which integrates with youtube music) has the option to ignore audio focus and so can play uninterrupted in the background with duolingo, which worked really well for me :)
Upvotes: 0 |
2022/05/23 | 709 | 2,806 | <issue_start>username_0: Google Play on the phone has for long been showing me reviews for the country I reside, which many times aren't really helpful, or sometimes there is simply no review at all to show, for my country.
I used to have a workaround which is to go on the browser, and there it was showing me all reviews.
However, just recently, they completely updated the Google Play interface on the browser too, and the Reviews now appear to behave the same way as in the phone app.
I can't really understand what's the problem or showing ALL reviews, even if they prioritized my country's reviews and show the rest after, but no... they have to completely HIDE many reviews that could be helpful to me...
Is there a way I can force showing all reviews for an app?<issue_comment>username_1: No, you can't. Google's policy changed from Nov 21 and AFAIK, there isn't a workaround (VPN doesn't help). Reviews are shown depending on the *place you registered* (see last section of answer)
[Making Ratings and Reviews better for users and developers](https://android-developers.googleblog.com/2021/08/making-ratings-and-reviews-better-for.html?m=1) gives the logic:
>
> We’ve heard from both Play Store users and developers that ratings and reviews could be more helpful. **This is especially true when ratings from one area unfairly impact another** — like when a bug that only impacted a single country negatively affects the app’s rating everywhere; or when **positive improvements in a tablet experience are overlooked because of the number of users on phones**. So we’re starting a multi-quarter program of improvements to make ratings more personalized and indicative of the experience each individual user can expect, and to make them easier to navigate and use for developers
>
>
>
(Emphasis supplied)
>
> That’s why, starting in November 2021, we’re going to change the ratings that individual users see based on where they’re registered, and later in the year what device they’re using.
>
>
>
Ways to overcome this limitation, I can think of a) developer gives you access to developer play console b) Using [sensor tower or some such service and paying for it](https://android.stackexchange.com/a/154612). Both are not options for an average user
Upvotes: 4 <issue_comment>username_2: Open an incognito or private tab and view the store without signing in. On my Android phone this works in Firefox but not Edge or Chrome; on my PC it works in any browser.
Upvotes: 3 <issue_comment>username_3: On the browser, you still can target specific language for reviews by appending to the url in address bar "&hl=" like "&hl=en" for instance
Update :
If that doesn't work try "gl" instead of "hl" , as detailed there: stackoverflow.com/a/38178785/2488565
Upvotes: 3 [selected_answer] |
2022/05/25 | 745 | 2,861 | <issue_start>username_0: As on date, nothing on play store can detect my Kogan TV running stock Android TV 9. The Google TV app is supposed to have a remote now, but it isn't shown for me. The system Android TV remote service on my TV is version 5.1+ (supposedly you need it to be > version 5).
None of the other remote apps can detect the TV over WiFi or Bluetooth - I see review ratings of 2 and 3 all over the place with the same complaint. Is there a fix or a working app or has Google intercoursed everybody as usual with one of their updates, given they apparently retired their standalone remote app for bundling it with the stupid Google TV app, which is bloatware if all you want is a remote (assuming the feature is available, which is isn't for me)?
If at all relevant, I'm using an ASUS ROG phone 5 with Android 12.<issue_comment>username_1: No, you can't. Google's policy changed from Nov 21 and AFAIK, there isn't a workaround (VPN doesn't help). Reviews are shown depending on the *place you registered* (see last section of answer)
[Making Ratings and Reviews better for users and developers](https://android-developers.googleblog.com/2021/08/making-ratings-and-reviews-better-for.html?m=1) gives the logic:
>
> We’ve heard from both Play Store users and developers that ratings and reviews could be more helpful. **This is especially true when ratings from one area unfairly impact another** — like when a bug that only impacted a single country negatively affects the app’s rating everywhere; or when **positive improvements in a tablet experience are overlooked because of the number of users on phones**. So we’re starting a multi-quarter program of improvements to make ratings more personalized and indicative of the experience each individual user can expect, and to make them easier to navigate and use for developers
>
>
>
(Emphasis supplied)
>
> That’s why, starting in November 2021, we’re going to change the ratings that individual users see based on where they’re registered, and later in the year what device they’re using.
>
>
>
Ways to overcome this limitation, I can think of a) developer gives you access to developer play console b) Using [sensor tower or some such service and paying for it](https://android.stackexchange.com/a/154612). Both are not options for an average user
Upvotes: 4 <issue_comment>username_2: Open an incognito or private tab and view the store without signing in. On my Android phone this works in Firefox but not Edge or Chrome; on my PC it works in any browser.
Upvotes: 3 <issue_comment>username_3: On the browser, you still can target specific language for reviews by appending to the url in address bar "&hl=" like "&hl=en" for instance
Update :
If that doesn't work try "gl" instead of "hl" , as detailed there: stackoverflow.com/a/38178785/2488565
Upvotes: 3 [selected_answer] |
2022/06/05 | 790 | 2,796 | <issue_start>username_0: That's already been discussed on [Hacker News](https://news.ycombinator.com/item?id=31447716), however the question remains:
* How can you learn the permissions required by a new app *without* installing it?
* How can you learn the new permissions required by an app update again *without* installing it?
Google has hidden app permissions both from the Google Play app and the Google Play website in the middle of May 2022 and replaced it with pretty inane "[Data Safety](https://i.stack.imgur.com/00fxg.png)". No one has paid attention, I've even approached at least three news outlets including Android Police, 9to5 Google, and Ars Technica - no one cared. It's a crazy serious issue and I'm appalled I'm the only person among **two billion** Android users who've noticed the abrupt change.
If [an] APK [file] is available on the Internet it is a solved issue, however it's often not the case, especially for paid apps.<issue_comment>username_1: It is possible that Google has not killed or restricted off-the-record APIs which allowed Play Store to get app permissions info back in the day. This API *might be* what Raccoon and Aurora Store are able to access to still successfully show app permissions for apps without installing them.
### [Aurora Store](https://f-droid.org/packages/com.aurora.store/)
Install it from F-Droid, setup a pseudo account, search your app, scroll down on the app page, tap *Permission* (worked on v4.1.1).
See example [here](https://i.stack.imgur.com/Ys1jj.jpg).
### [Raccoon APK Downloader](https://raccoon.onyxbits.de/apk-downloader/)
Raccoon is a desktop-only Java app. You need Java runtime installed to run this app. See its [user guide](https://raccoon.onyxbits.de/apk-downloader-v4/about-raccoon/) for your OS specific setup.
Once it is setup, search your app, click on the app entry, and in the bottom left click on *Permission* to see Permissions (worked on v4.20.0).
[](https://i.stack.imgur.com/sKF4J.png)
Upvotes: 3 [selected_answer]<issue_comment>username_2: **Since July 21, 2022, Google has added back permission details on the Play Store.**
In [a tweet](https://twitter.com/AndroidDev/status/1550134137104740352) by the official Android Developers account (@AndroidDev),
>
> Privacy and transparency are core values in the Android community. We heard your feedback that you find the app permissions section in Google Play useful, and we've decided to reinstate it. The app permissions section will be back shortly.
>
>
>
As of September 2022, this has been added back to both web and app versions on the original location:
* Web: About this app - Permissions - View details
* App: About this app - App permissions - See More
Upvotes: 2 |
2022/06/05 | 576 | 1,968 | <issue_start>username_0: I'm trying to run a banking app called **NexiPay** (I guess it's available only in italy), but it doesn't start because it recognizes my system as rooted. I'm running LineageOS 15 (Android 8.1) and GApps.
So I've installed Magisk. Current version (24.3) seems to be different from what Magisk used to be some months ago. For example, there's no Magisk Hide and Magisk website has not been updated yet.
How can I hide the root to this app?
When I launch NexiPay, Magisk tells me that it's asking for root access.<issue_comment>username_1: Magisk 24.3 uses a new feature called **DenyList** instead of Magisk Hide.
From one of <NAME>'s (the creator of magisk) [tweets](https://twitter.com/topjohnwu/status/1445598601372069890?lang=en),
>
> * The new "DenyList" feature of upcoming Magisk versions is me preserving portions of the of hiding codebase and transform it into something I felt is valuable
> * DenyList, however, is only meant to "revert all Magisk changes". It will not attempt to manipulate any other signals on the device
>
>
>
Along with Denylist, in Magisk 24.3 there is also something called **Zygisk**. Basically, Zygisk will [run parts of Magisk in the zygote process](https://9to5google.com/2021/08/29/magisk-android-changes-google/).
(Note: if you want to enable DenyList, you will need to enable Zygisk first.)
To hide root from Nexi pay, just enable DenyList to target NexiPay app. You can find it in the settings from Magisk Manager app.
1. Tap settings icon at top right corner of screen
2. Enable zygisk (this will require a reboot)
3. After the reboot, go back to the settings menu and check that "Enforce DenyList is selected"
4. Choose "Configure DenyList" and select NexiPay app
Upvotes: 0 <issue_comment>username_2: After following the other solution, it still wouldn't work for me.
I managed to make it work by going into the Magisk settings and selecting the option to hide the Magisk app.
Upvotes: 1 |
2022/06/14 | 639 | 2,514 | <issue_start>username_0: I have an **Asus Transformer TF101** that is running **Android 4.0.3**.
The tablet can connect websites in HTTP without issue but not in HTTPS.
**Most HTTPS websites are totally unreachable.** Some websites (from large institutions) are reachable after accepting several certificat issues warnings, but display badly.
The clock of the tablet was set correctly.
I assume the issue has to see with how the tablet is able to deal with certificates, and also with its aging native Internet browser (which is not apparently not Chrome).
**I unsuccessfully attempted upgrading the tablet firmware**, but got an error message "**Internet connection error or server busy**. Please wait and try again".
I assume this issue could be caused by disabled upgrade server and/or SSL certificate issues.
**Is there still a way to upgrade such a tablet**, preferably without jailbreaking it?<issue_comment>username_1: No there is no way to upgrade such an old tablet. For your tablet Android 4.0.3 is already the latest update. It was released with Android 3.0 (Honeycomb) and got upgrades to 3.2 and later 4.0. Therefore there is no other update possible, especially if you exclude jailbreaking/rooting and thus custom ROMs.
Android 4.0 only supports TLS1.0 but more and more servers now require pure TLS 1.1 or even TLS 1.2 that is the reason your network connections no longer work.
Additionally Android 4 comes with outdated CA certificate list. The CA list may be updateable by manually installing all the missing root CA certificates (as far as I remember on Android 4 this require to set a device password).
The only alternative would be a web browser that has a built-in trusted root CA list like Firefox, but Firefox requires at least Android 5+.
Upgrading to a newer Android version also doesn't make much sense as the hardware is pretty weak (1GB RAM for a tablet is very low).
So there is only one really working answer: Your tablet is more than 11 years old, replace it with one that is newer.
Upvotes: 0 <issue_comment>username_2: Yes, it is possible. Jailbreak to get root rights needed. Enthusiasts do wonders.
A minute of searching DevicseName ROM/image/firmware and we have a range of many variants.
The maximum Android 6 for Asus TF101 was found.
Visit XDA forum for install manuals and image download.
<https://forum.xda-developers.com/t/rom-mm-6-0-1-katkiss-katshmallow-034-multiwindow.3318496/>
Source Code: <https://github.com/timduru/android_device_asus_tf701t>
Upvotes: 1 |
2022/06/16 | 2,812 | 9,168 | <issue_start>username_0: I may have just messed up my smartphone and really need your help. I wanted to get rid of some of the bloatware on my A40 and read online that one can actually uninstall many apps via the Windows command line. So I looked up a list of apps supposedly safe to remove and ran a batch file to uninstall them. This is as far as I got:
```
a40:/ $ pm uninstall --user 0 com.sec.android.app.samsungapps
Success
a40:/ $ pm uninstall --user 0 com.samsung.android.app.camera.sticker.facear.preload
Success
a40:/ $ pm uninstall --user 0 com.sec.android.mimage.gear360editor
Success
a40:/ $ pm uninstall --user 0 com.samsung.android.smartmirroring
Success
a40:/ $ pm uninstall --user 0 com.android.htmlviewer
Success
a40:/ $ pm uninstall --user 0 com.sec.android.provider.badge
Success
a40:/ $ pm uninstall --user 0 com.android.sharedstoragebackup
Success
a40:/ $ pm uninstall --user 0 com.samsung.android.app.simplesharing
Success
1|a40:/ $ pm uninstall --user 0 com.samsung.android.themecenter
Success
a40:/ $ pm uninstall --user 0 android.autoinstalls.config.samsung
Success
a40:/ $ pm uninstall --user 0 com.sec.enterprise.mdm.services.simpin
Success
a40:/ $ pm uninstall --user 0 com.samsung.android.stickercenter
Success
a40:/ $ pm uninstall --user 0 com.sec.android.mimage.avatarstickers
Success
a40:/ $ pm uninstall --user 0 com.samsung.android.knox.analytics.uploader
Success
a40:/ $ pm uninstall --user 0 com.sec.enterprise.knox.cloudmdm.smdms
Success
a40:/ $ pm uninstall --user 0 com.samsung.android.app.camera.sticker.stamp.preload
Success
1|a40:/ $ pm uninstall --user 0 com.sec.factory.cameralyzer
Success
a40:/ $ pm uninstall --user 0 com.samsung.android.sdk.handwriting
Success
a40:/ $ pm uninstall --user 0 com.sec.android.app.fm
Success
a40:/ $ pm uninstall --user 0 com.sec.enterprise.knox.attestation
Success
a40:/ $ pm uninstall --user 0 com.samsung.android.mdm
Success
1|a40:/ $ pm uninstall --user 0 com.sec.android.widgetapp.samsungapps
Success
1|a40:/ $ pm uninstall --user 0 com.samsung.android.app.spage
Success
1|a40:/ $ pm uninstall --user 0 com.samsung.android.drivelink.stub
Success
1|a40:/ $ pm uninstall --user 0 com.wsomacp
Success
1|a40:/ $ pm uninstall --user 0 com.samsung.android.game.gametools
Success
a40:/ $ pm uninstall --user 0 com.samsung.android.game.gos
Success
1|a40:/ $ pm uninstall --user 0 com.dsi.ant.sample.acquirechannels
Success
a40:/ $ pm uninstall --user 0 com.dsi.ant.service.socket
Success
a40:/ $ pm uninstall --user 0 com.dsi.ant.server
Success
1|a40:/ $ pm uninstall --user 0 com.android.egg
Success
a40:/ $ pm uninstall --user 0 com.sec.android.easyonehand
Success
1|a40:/ $ pm uninstall --user 0 com.sec.android.app.launcher
Success
a40:/ $ pm uninstall --user 0 com.samsung.android.mateagent
Success
1|a40:/ $ pm uninstall --user 0 com.samsung.android.app.watchmanagerstub
Success
a40:/ $ pm uninstall --user 0 com.sec.android.daemonapp
Success
a40:/ $ pm uninstall --user 0 com.samsung.android.app.social
Success
1|a40:/ $ pm uninstall --user 0 com.samsung.android.wellbeing
Success
a40:/ $ pm uninstall --user 0 com.samsung.android.da.daagent
Success
1|a40:/ $ pm uninstall --user 0 com.android.bips
Success
1|a40:/ $ pm uninstall --user 0 com.samsung.android.authfw
Success
```
Right before that, I had moved apps related to "Knox" and "MDM" and everything seemed fine. But even while the last commands were running, the "desktop" disappeared (the home screen with all my app shortcuts) and some kind of "busy notification" was running instead (I think it said something like "starting up apps" or "launching apps"). But the phone didn't reboot, it just seems that the homescreen had crashed. I then noticed that I might have slipped in apps for deletion that I actually needed or was using, such as
```
com.sec.android.app.launcher
com.samsung.android.wellbeing
```
Since the phone seemed to be stuck in this "busy loop", I decided to restart it by long-pressing the power button and selecting restart. But from this point, the phone wouldn't restart and got stuck in a reboot loop, where only the Samsung logo pops up, followed by a short vibration pulse, then reboot etc.
At this point I panicked and started searching online for solutions (which also brought me to this forum). I've read about using OEM unlocking, firmware-flashing using Odin, Samsung Tool Pro, TWRP etc. but quickly got lost in the woods and didn't want to risk breaking things more.
There are log files I can access from the boot menu which might contain a lot of useful information regarding the cause of the problem, but it's way too much to type it:
```
/cache/recovery/last_log
/cache/recovery/last_kmsg
/cache/recovery/last_history
/cache/recovery/rescueparty.log
/cache/recovery/last_avc_msg_recovery
/cache/recovery/last_log.1
/cache/recovery/last_kmsg.1
[...]
/cache/recovery/last_log.9
/cache/recovery/last_kmsg.9
```
Is there a way I could somehow read these log files via a USB connection? For example, in *rescueparty\_log*, there is some "serious-sounding" stuff:
```
!@*** FATAL EXCEPTION IN SYSTEM PROCESS: main
java.lang.RuntimeException: There must be exactly one installer; found []
?at com.android.server.pm.PackageManagerService.getRequiredInstallerLPr(PackageManagerService.java:4422)
?at com.android.server.pm.PackageManagerService.(PackageManagerService.java:3954)
?at com.android.server.pm.PackageManagerService.main(PackageManagerService.java:2856)
?at com.android.server.SystemServer.startBootstrapServices(SystemServer.java:985)
?at com.android.server.SystemServer.run(SystemServer.java:762)
?at com.android.server.SystemServer.main(SystemServer.java:762)
?at java.lang.reflect.Method.invoke(Native Method)
?at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:494)
?at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:945)
Error reporting crash
java.lang.NullPointerException: Attempt to invoke interface method 'void android.app.IActivityManager.handleApplicationCrash(android.os.IBinder, android.app.ApplicationErrorReport$ParcelableCrashInfo)' on a null object reference
?at com.android.internal.os.RuntimeInit$KillApplicationHandler.uncaughtException(RuntimeInit.java:144)
?at java.lang.ThreadGroup.uncaughtException(ThreadGroup.java:1068)
?at java.lang.ThreadGroup.uncaughtException(ThreadGroup.java:1063)
?at java.lang.Thread.dispatchUncaughtException(Thread.java:1955)
```
Also, some more information from the boot screen output:
```
Android Recovery
samsung/a40eea/a40
9/PPR1.180610.011/A405FNXXU3ATA4
user/release-keys
#Reboot Recovery Cause is [system_server:7340 RecoverySystemRescueParty]#
Support SINGLE-SKU
Block-Based OTA
Supported API: 3
MANUAL MODE v1.0.0#
```
Is anyone perhaps familiar with this problem and knows of a way how I could get the phone to start up properly, so I can at least recover all my personal data?
My impression is that I might have deleted some important system app, since the problem occurred right in the middle of the uninstall process (see shell history above), and I'm a little bit hopeful that maybe it's possible to just reinstall it somehow. I haven't tried the "Wipe data/factory reset" option in the boot menu as I don't want to lose all my data.
Thank you so much for your help, any advice is super-appreciated!!
### Update/additional information:
...from the downloading mode information text:
>
> ***FRP LOCK: OFF***
>
>
>
>
> *OEM LOCK: ON(L)*
>
>
>
>
> *Secure Download: Enabled*
>
>
>
Also, I never registered a Google account on this device.<issue_comment>username_1: No there is no way to upgrade such an old tablet. For your tablet Android 4.0.3 is already the latest update. It was released with Android 3.0 (Honeycomb) and got upgrades to 3.2 and later 4.0. Therefore there is no other update possible, especially if you exclude jailbreaking/rooting and thus custom ROMs.
Android 4.0 only supports TLS1.0 but more and more servers now require pure TLS 1.1 or even TLS 1.2 that is the reason your network connections no longer work.
Additionally Android 4 comes with outdated CA certificate list. The CA list may be updateable by manually installing all the missing root CA certificates (as far as I remember on Android 4 this require to set a device password).
The only alternative would be a web browser that has a built-in trusted root CA list like Firefox, but Firefox requires at least Android 5+.
Upgrading to a newer Android version also doesn't make much sense as the hardware is pretty weak (1GB RAM for a tablet is very low).
So there is only one really working answer: Your tablet is more than 11 years old, replace it with one that is newer.
Upvotes: 0 <issue_comment>username_2: Yes, it is possible. Jailbreak to get root rights needed. Enthusiasts do wonders.
A minute of searching DevicseName ROM/image/firmware and we have a range of many variants.
The maximum Android 6 for Asus TF101 was found.
Visit XDA forum for install manuals and image download.
<https://forum.xda-developers.com/t/rom-mm-6-0-1-katkiss-katshmallow-034-multiwindow.3318496/>
Source Code: <https://github.com/timduru/android_device_asus_tf701t>
Upvotes: 1 |
2022/06/19 | 759 | 2,754 | <issue_start>username_0: I want to download a backup of my voicemail messages to mp3 (or any other audio format), but I don't know how to do so.
My scenario is the following:
I received several voicemail messages during the last few months, and now I want to download them for a personal backup.
My voicemail app (built-in from the factory. [Samsung galaxy A10](https://www.samsung.com/sg/smartphones/galaxy-a/galaxy-a10-black-32gb-sm-a105gzkgxsp/)) gives me the option to listen to these audios but does not give any option to download/archive/save/forward to these messages.
On my carrier website ([Orange in France](https://www.orange.fr/portail)), I'm able to retrieve (and download) only the last 15 days' messages. They keep the listened messages just for 14 days (30 days for the not listened ones).
I've tried to use third-party apps to download my messages (e.g., "voicemail saver" that is paid and "visual voice mail & missed call alert" that is free), but none of these apps worked to recover these messages.
My question is: since I can listen to these messages, I'm sure they are stored somewhere. So how can I retrieve them?<issue_comment>username_1: No there is no way to upgrade such an old tablet. For your tablet Android 4.0.3 is already the latest update. It was released with Android 3.0 (Honeycomb) and got upgrades to 3.2 and later 4.0. Therefore there is no other update possible, especially if you exclude jailbreaking/rooting and thus custom ROMs.
Android 4.0 only supports TLS1.0 but more and more servers now require pure TLS 1.1 or even TLS 1.2 that is the reason your network connections no longer work.
Additionally Android 4 comes with outdated CA certificate list. The CA list may be updateable by manually installing all the missing root CA certificates (as far as I remember on Android 4 this require to set a device password).
The only alternative would be a web browser that has a built-in trusted root CA list like Firefox, but Firefox requires at least Android 5+.
Upgrading to a newer Android version also doesn't make much sense as the hardware is pretty weak (1GB RAM for a tablet is very low).
So there is only one really working answer: Your tablet is more than 11 years old, replace it with one that is newer.
Upvotes: 0 <issue_comment>username_2: Yes, it is possible. Jailbreak to get root rights needed. Enthusiasts do wonders.
A minute of searching DevicseName ROM/image/firmware and we have a range of many variants.
The maximum Android 6 for Asus TF101 was found.
Visit XDA forum for install manuals and image download.
<https://forum.xda-developers.com/t/rom-mm-6-0-1-katkiss-katshmallow-034-multiwindow.3318496/>
Source Code: <https://github.com/timduru/android_device_asus_tf701t>
Upvotes: 1 |
2022/06/23 | 592 | 2,154 | <issue_start>username_0: I have this strange "R" on my WiFi signal.

It's not on my cell signal and it's not a glitch. It seems to be set when I am on WiFi, but I don't know why. Sometimes it's there, sometimes it goes away.
The only way I am able to fix the issue is by restarting the phone, but **does anyone know why this happens?**
When I look online, everyone seems to not know what the main problem is and most threads give up and stop trying to figure out what is going on.<issue_comment>username_1: No there is no way to upgrade such an old tablet. For your tablet Android 4.0.3 is already the latest update. It was released with Android 3.0 (Honeycomb) and got upgrades to 3.2 and later 4.0. Therefore there is no other update possible, especially if you exclude jailbreaking/rooting and thus custom ROMs.
Android 4.0 only supports TLS1.0 but more and more servers now require pure TLS 1.1 or even TLS 1.2 that is the reason your network connections no longer work.
Additionally Android 4 comes with outdated CA certificate list. The CA list may be updateable by manually installing all the missing root CA certificates (as far as I remember on Android 4 this require to set a device password).
The only alternative would be a web browser that has a built-in trusted root CA list like Firefox, but Firefox requires at least Android 5+.
Upgrading to a newer Android version also doesn't make much sense as the hardware is pretty weak (1GB RAM for a tablet is very low).
So there is only one really working answer: Your tablet is more than 11 years old, replace it with one that is newer.
Upvotes: 0 <issue_comment>username_2: Yes, it is possible. Jailbreak to get root rights needed. Enthusiasts do wonders.
A minute of searching DevicseName ROM/image/firmware and we have a range of many variants.
The maximum Android 6 for Asus TF101 was found.
Visit XDA forum for install manuals and image download.
<https://forum.xda-developers.com/t/rom-mm-6-0-1-katkiss-katshmallow-034-multiwindow.3318496/>
Source Code: <https://github.com/timduru/android_device_asus_tf701t>
Upvotes: 1 |
2022/06/25 | 319 | 1,309 | <issue_start>username_0: So, I tried to clone an app but it didn't work. My goal is to have an application with 2 different versions installed on the same smartphone, without using additional applications such as Parallel Space.
On the old version of the app, I was able to do it normally using Lucky Patcher(LP). But on the latest version of the app, I failed to use LP to clone the app. Then, I tried to kill signature verification before cloning, but that didn't work either. Then I tried killing signature verification using MT Manager and re-signing it before putting it in LP, but it didn't work either.
On LP, it shows the application has been cloned successfully. However when I open it, the app is like force close before fully opening.
How to do it? Did I miss something?<issue_comment>username_1: Lucky Patcher tends to not work on newer apps. Your best option would be apps like [Parallel Space](https://play.google.com/store/apps/details?id=com.lbe.parallel.intl) or a phone/custom ROM with that functionality built-in.
Upvotes: 1 <issue_comment>username_2: It's resolved now. I have no idea why using LP sometimes it's not work on a specific app.
I used the APK Editor app to solve this problem. By going through killing signature verification and changing the package name a bit.
Upvotes: 0 |
2022/06/26 | 476 | 1,982 | <issue_start>username_0: I want to know what's really at play between my smartphone, Android 11, and my holding has to do with loading content.
By "loading content", I mean when I enter a search term in Chrome, when I open YouTube, to Chrome loading the search results, to the search result I click on, going to the web page. Once on the web page, the content loading just trying, trying, trying to load.
It takes a noticeable time to complete the loading, which sometimes doesn't load at all until I sit the phone down like a table or anything really, out of my hands, off of my lap when I'm sitting, not touching the phone, and bam, the content loads almost immediately.
It's happened so much that I took notice of it, now I want to know what's really going on here.<issue_comment>username_1: Try turn off Experimental QUIC Protocol by navigating to [chrome://flags/#enable-quic](https://chrome://flags/#enable-quic) and disable it from the dropdown.
Upvotes: 0 <issue_comment>username_2: Humanoids (that's you... and maybe even me) are made of materials that are fairly effective at blocking (absorbing) radio signals of many different wavelengths and frequencies.
To transmit and receive data via radio waves (such as by WiFi and mobile data), your phone uses at least one antenna. When you place your grubby paws over an antenna, your extremities restrict - to a degree - effective transmission/receipt of radio waves.
When I get any new phone, I always determine where the antennas (and microphone(s)!) are located within the device so I don't accidentally block them with as I hold the device.
A *"pro tip"* I discovered years ago is to keep a short, but wide, round glass cup where you often use your phone. When you need a better connection, place your phone in the empty glass cup. This will keep your hands off the phone while providing a stand that may actually improve reception just a bit. This technique has worked well for me for quite a few years.
Upvotes: 1 |
2022/06/26 | 447 | 1,662 | <issue_start>username_0: In Windows, it is possible to use a "bat" file format that reads and processes written commands, such as a command to open the Windows Calculator (which you can also do via CMD).
Is this also possible on Android? If yes, which app and which Android command library can I use?<issue_comment>username_1: Use a terminal emulator like [Termux](https://play.google.com/store/apps/details?id=com.termux) to run [shell scripts](https://en.wikipedia.org/wiki/Shell_script).
Upvotes: 0 <issue_comment>username_2: Since Android is a linux-based Operating System, it would be shell scripts (.sh) instead of batch files, probabiy run with sh, a bash like shell located in /system/bin/sh
To open applications using a shell script you ~~would need root access and~~ can use a terminal emulator like [termux](https://f-droid.org/en/packages/com.termux/).
First of all, grant termux full storage rights
```
termux-setup-storage
```
To launch apps, you must write commands using [Activity Manager](http://adbcommand.com/adbshell/am)
For instance, to launch calculater (I'm using Google Calculator for the guide) using a shell script in android, the procedure would be this
1. Create a file eg calc.sh in /storage/emulated/0 ie the user-accessible part of your internal storage, with the following content
```
#!/system/bin/sh
am start com.google.android.calculator/com.android.calculator2.Calculator
```
2. Open Termux
```
cd /storage/emulated/0
sh calc.sh
```
3. The calculator should launch
Bonus: You can also execute commands on android using your PC via [ADB](https://developer.android.com/studio/command-line/adb)
Upvotes: 1 |
2022/06/27 | 542 | 2,063 | <issue_start>username_0: I have a bank application that won't run because it says something about Android Bridge and debugging over USB or something like that. I would love to share the exact message but it flips on and off screen so fast it's hard to read and I could barely make the above out after trying to start it repeatedly.
I found these instructions which would seem to exactly answer my problem:
<https://docs.microsoft.com/en-us/mem/intune/user-help/you-need-to-turn-off-usb-debugging-android>
However, there is no "Developer options" under the System settings. Is there maybe some setting to turn on advanced configuration options somewhere that would make it appear that I'm overlooking?<issue_comment>username_1: Use a terminal emulator like [Termux](https://play.google.com/store/apps/details?id=com.termux) to run [shell scripts](https://en.wikipedia.org/wiki/Shell_script).
Upvotes: 0 <issue_comment>username_2: Since Android is a linux-based Operating System, it would be shell scripts (.sh) instead of batch files, probabiy run with sh, a bash like shell located in /system/bin/sh
To open applications using a shell script you ~~would need root access and~~ can use a terminal emulator like [termux](https://f-droid.org/en/packages/com.termux/).
First of all, grant termux full storage rights
```
termux-setup-storage
```
To launch apps, you must write commands using [Activity Manager](http://adbcommand.com/adbshell/am)
For instance, to launch calculater (I'm using Google Calculator for the guide) using a shell script in android, the procedure would be this
1. Create a file eg calc.sh in /storage/emulated/0 ie the user-accessible part of your internal storage, with the following content
```
#!/system/bin/sh
am start com.google.android.calculator/com.android.calculator2.Calculator
```
2. Open Termux
```
cd /storage/emulated/0
sh calc.sh
```
3. The calculator should launch
Bonus: You can also execute commands on android using your PC via [ADB](https://developer.android.com/studio/command-line/adb)
Upvotes: 1 |
2022/06/30 | 1,158 | 4,001 | <issue_start>username_0: I'd like to make use of an Android tablet to write on OneNote pages that I'm actively viewing in a Windows computer. From the Windows computer, I get two links when I right click on a page and select "Copy link to page". These links look like the following:
```
https://onedrive.live.com/view.aspx?resid=...
onenote:https://d.docs.live.net/...
```
The second link that starts with `onenote:https://d...` is useful when I want to jump to the page on another Windows computer - I can feed it to the Run window, and the OneNote app will display the page I need it to go to.
---
**Question**: with **adb**, can I achieve a similar operation by feeding the second link to the Android tablet, through some "intent"? I know very little about Java and have no idea how to make use of [these](https://stackoverflow.com/questions/29635269/launch-onenote-using-share-intent-in-android) [related](https://stackoverflow.com/questions/43799174/how-to-send-url-to-onenote-android-app) [posts](https://answers.microsoft.com/en-us/msoffice/forum/all/how-to-onedrive-shared-onenote-how-to-open-on/6b26141d-3988-45d4-9c88-5648f17de608). Mainly, I'm looking for a long `adb` command with appropriate flags that may take, likely, the second link as input and have the Android tablet open the page by responding to some intent.
Eventually, with the long `adb` command, I see myself wrapping it in a bash function, and calling it by feeding in the full link that starts with `onenote:https://d...`.
---
**Update1**: thanks to user M. A.'s [answer](https://android.stackexchange.com/a/247336/295871), I can send the `onenote:https://d.docs.live.net/...` link to the Android tablet - However, OneNote APK seems to only comprehend up to the section name in the `onenote:...` link despite the whole thing consists of page-specific pointers.
Here is a demo where I fed in a **full link** pointing to a page, which was sent as an intent to only go to the relevant **section**.
[](https://i.stack.imgur.com/eSXlG.png)
PS: in OneNote, things are organized as Notebook/Section/Page/Subpage. In the screenshot above, the Notebook is "Paperless", and I have masked out the name for the section and page.
---
**Update2**: for the full page-specific URL to work, we actually need to escape the `&` signs in `§ion-id`, `&page-id` and `&end`.<issue_comment>username_1: When you have OneNote APK installed on your mobile phone, try this:
```
adb shell am start -a "android.intent.action.VIEW" -d " \"onenote:https://d.docs.live.net/....\" "
```
Note, the `§ion-id`, `&page-id` and `&end` bits in the `onenote:https://...` URL will draw special attention from the interpreter (see Update 1 in the original question).
[Spikatrix](https://android.stackexchange.com/users/119266/spikatrix) offered a simpler solution in the comment below: to wrap the whole OneNote link first as a string with quotation marks escaped, and then add another pair of quotes to pass the string to the shell.
Upvotes: 4 [selected_answer]<issue_comment>username_2: I ended up using the method documented in this gist: <https://gist.github.com/username_2/affd7911645d7e8502b20d6f0a612842>. In general, I find it helpful that Github "gists" should have better version control, and decide to leave all the code component there in a public gist.
The method described in the gist works in three steps:
1. Create a parser script that deal with the bits that contain `&`, namely, these three: `§ion-id`, `&page-id` and `&end`
2. Create a wrapper function in Zsh that will pass the long OneNote string into the parser script, and
3. Create an alias in Zsh that can activate the wrapper function in step 2 with `one` as a shorthand.
With the alias defined there, issuing `one "LongLink2Page"` in Zsh will get the page loaded on the Android tablet. Future improvement would be to update the parser script to read directly from the clipboard.
Upvotes: 1 |
2022/06/30 | 472 | 1,690 | <issue_start>username_0: Is there any way to disable the quick settings panel on the lockscreen on Android 12 and 11?
I want to disable it, just like it used to be on the older Android versions.
If I cannot the disable it, can it be abused if my phone is lost or stolen?<issue_comment>username_1: It depends on the device(s). You can't do it on Pixel 6 for example as the setting to disable quick settings panel is not present in Android 12.
For Samsung devices, you can disable as indicated [here](https://mobileinternist.com/disable-quick-settings-menu-lock-screen):
>
> On Samsung devices, there’s a separate Lock screen menu so you can find the option in Settings > Lock screen > Secure lock settings. Once you enter your screen lock PIN/password/pattern, look for the Lock network and security setting. By enabling it, you’ll lock Quick Settings access from the lock screen.
>
>
>
For Xiaomi, Redmi and POCO devices, you can disable it by following the steps shown [here](https://igamesnews.com/mobile/how-to-lock-quick-settings-from-lock-screen-on-xiaomi/):
>
> * Go to settings”.
> * Go to “Notifications and control center”.
> * Tap “Items show on lock screen after swiping down”.
> * Disable “Control Center”.
>
>
>
Upvotes: 2 <issue_comment>username_2: I downloaded an app called [Cerberus Lockscreen](https://play.google.com/store/apps/details?id=com.lsdroid.lsp) and it did the job. Blocks both the shutdown and pull-down menu.
For older Android versions there is [Lockscreen protector](https://play.google.com/store/apps/details?id=com.alpinesoftit.lockscreenprotector) app, but it does not block pull-down menu but only shutdown menu.
Upvotes: 1 [selected_answer] |
2022/07/02 | 368 | 1,315 | <issue_start>username_0: I'm currently trying to get Genymotion up and running. I'm installing an app which requires ARM. I'm running Android 10.0 (Samsung Galaxy S10), and for the life of me, I can't find an image for Android 10.0.
I've found images for Android 8.x and below, but I believe that the images aren't compatible with the newest version.
I just need a zip image of an ARM Translation tool for Genymotion Android v10.<issue_comment>username_1: Genymotion is the wrong emulator. It bases on VirtualBox and thus can not emulate a different CPU, it can only pass through the CPU, so you are limited to x86/x86\_64 if if you have an Intel/AMD CPU.
For older Android versions there seems to exist an [extension](https://github.com/m9rco/Genymotion_ARM_Translation) that allows to run 32bit ARM (ARMv7) apps on Genymotion emulator but that tool was never officially supported and there are no releases for Android 10 and higher.
The only emulator I know that can run ARM on x86 is the one shipped with Android Studio/Android SDK. Use an ARM based image (will be a bit slow) or a Google x86 image (the latter images contains an internal ARM emulation layer).
Upvotes: 2 <issue_comment>username_2: You can try Android 11
<https://github.com/niizam/Genymotion_A11_libhoudini>
It's worked for me
Upvotes: 0 |
2022/07/04 | 383 | 1,305 | <issue_start>username_0: Even after activating the dark mode option from developer options in the setting,

some apps still have a white screen.
>
> 
>
>
>
Although few apps have been successfully forced in the dark mode.

Is there a way to force the app to have black background somehow?<issue_comment>username_1: Genymotion is the wrong emulator. It bases on VirtualBox and thus can not emulate a different CPU, it can only pass through the CPU, so you are limited to x86/x86\_64 if if you have an Intel/AMD CPU.
For older Android versions there seems to exist an [extension](https://github.com/m9rco/Genymotion_ARM_Translation) that allows to run 32bit ARM (ARMv7) apps on Genymotion emulator but that tool was never officially supported and there are no releases for Android 10 and higher.
The only emulator I know that can run ARM on x86 is the one shipped with Android Studio/Android SDK. Use an ARM based image (will be a bit slow) or a Google x86 image (the latter images contains an internal ARM emulation layer).
Upvotes: 2 <issue_comment>username_2: You can try Android 11
<https://github.com/niizam/Genymotion_A11_libhoudini>
It's worked for me
Upvotes: 0 |
2022/07/04 | 434 | 1,790 | <issue_start>username_0: I occasionally need to transfer files from my phone to my PC. Connecting a wire is much hassle and Bluetooth transfer is slow. It seems Nearby Share allows sharing over both Bluetooth/Wi-Fi, whichever is available. Both my PC (Asus Windows 10) and Android device (OnePlus Android 12) are connected on the same Wi-Fi network, so I should be able to take advantage of it for fast file transfer.
Both my PC and phone are running Nearby Share. Yet, when I try to send a file from the phone to the PC, it is stuck on the "scanning" step. The phone does not detect my PC as a possible recipient, even when my PC is set to "I can share or receive content from: Everyone nearby". I am not sure what other setting needs to be changed.
**Question:** How to transfer a file from an Android phone to Windows PC using the built-in Nearby Share feature over Wi-Fi when both devices are connected over the same Wi-Fi network?<issue_comment>username_1: You can't. The Nearby Share in Android (made by Google as a system utility in latest versions of Play Services) and the Nearby Share in Windows are two different software utilities.
An alternate way should be using MixPlorer to set up an FTP server from Android and connecting it to Windows File Explorer (make sure to increase the FTP timeout in MixPlorer since the default is 5 mins afaik)
Upvotes: 1 <issue_comment>username_2: Android just launched the exact feature I needed as a new dedicated application for Windows: [The New Nearby Share Beta App for Windows | Android](https://www.android.com/better-together/nearby-share-app/)
It requires a Google login which I'm not a big fan of. But at least this is an answer to the original question in case anyone is looking for something similar.
Upvotes: 3 [selected_answer] |
2022/07/04 | 489 | 1,839 | <issue_start>username_0: I am using Samsung Galaxy S21. While charging my phone with a USB-C 65W Lenovo/Chicony power adapter with outputs supporting DC 5V/2.0A, 9V/2A, 15V/3A, and 20V/3.25A, how can I know exactly what power wattage is my device getting charged with? I tried using the Ampere app and the values range from 1000 mA to 2600 mA while the Voltage revolves around 4.1V?
Is there an app that can help provide power input details? Are there Android APIs to provide such information? Is it fine for me to keep using that charger? I understand Galaxy S21 supports USB C with power delivery, so it should be able to select the optimum voltage to charge my device?
From an [article](https://www.androidauthority.com/samsung-galaxy-s21-charger-1195532/), I was expecting my charger to provide a 15W output but voltage x measured current using the Ampere app doesn't seem consistent with that number (5W?). What am I missing? How does USB Type C power delivery work in this case?<issue_comment>username_1: You can't. The Nearby Share in Android (made by Google as a system utility in latest versions of Play Services) and the Nearby Share in Windows are two different software utilities.
An alternate way should be using MixPlorer to set up an FTP server from Android and connecting it to Windows File Explorer (make sure to increase the FTP timeout in MixPlorer since the default is 5 mins afaik)
Upvotes: 1 <issue_comment>username_2: Android just launched the exact feature I needed as a new dedicated application for Windows: [The New Nearby Share Beta App for Windows | Android](https://www.android.com/better-together/nearby-share-app/)
It requires a Google login which I'm not a big fan of. But at least this is an answer to the original question in case anyone is looking for something similar.
Upvotes: 3 [selected_answer] |
2022/07/17 | 959 | 3,302 | <issue_start>username_0: I flashed Pixel Expirience GSI with TWRP by pushing it to the storage and flashing it as system img(with TWRP).
The problem, it’s now stuck in a Google animation which came after the Sony logo.
I would like to shut it down.
I already tried
```
adb reboot but
error: device unauthorized
```
And pressed the power off button 1 min and nothing happened.
EDIT:
I tried to install some GSIs, but they were stuck at the costum Romes Loading animation.
1. I installed the Firmware with Emma
2. Locked it to update to Android 11 and unlocked it again
3. Installed TWRP and booted into it
4. Wiped system and userdata
5. Pushed to system.img file from the custom rom to my device into /sideload/
6. In TWRP install-System Image—> Pressed on the folder and on the system.img
7. It installed successfully
8. Rebooted
9. Stuck in Loading animation\
(PixelExpirience == A Google G with loading bar, LineageOs == The blue line with the bubble)\
No crashes or so what, it just hangs in there for ~20 min and than I turn the device off with volume(+) and Power button.\
I know Sony Xperia 1 is not officially supported for project treble, but since this thread(<https://forum.xda-developers.com/t/mars_soms-v220313-pixel-expierence-android-12-gsi-patches.4097433/>) requires Pixel Experience GSI I thought it should be possible to run GSI on Sony Xperia 1.
Any idea what I might have donne wrong or are there other GSI roms I could try.\
*PixelEX = PixelExperience\_Plus\_arm64-ab-12.1-20220613-UNOFFICIAL.img 3.7 GB
LineageOS = lineage-19.1-20220613-UNOFFICIAL-arm64\_bvS.img 2.0 GB*<issue_comment>username_1: I was able to power it down again by pressing Volume(+) and Power button 5sec
Upvotes: 1 <issue_comment>username_1: I final solved it.
Sony Xperia 1
Exactly what I did:
Installing stock firmware, will be different from device to device
==================================================================
1. Power the device off
2. Plug it in while holding Volume(-) until a green light appeared.
3. Open Emma(Sony Xperia Firmaware flash Application)
4. Flashed Android 9
5. Boot until I got to the welcome screen( just to check if the Firmware flashed successfully
Installing the important Files
==============================
1. When there <https://developer.android.com/topic/generic-system-image/releases>
2. Downloaded the right files for my device (Arm64)
3. Unzipped it —> system.img and vbmeta.img
Installing the files
====================
1. Powered my device off and booted into fastboot
2. went to the download directory and
*I don’t know why but these two commands, error the first two times when I tip them. Important(when the command errors, press the fast boot button, because my device at leased, tried to escape into a green light mode, but just because it switches to the green light mode does not mean that you should stop it, only if it errors and wants to go into the green light mode.)* \
`fastboot` flash system\_a system.img
`fastboot flash system_b system.img`
(both)
`fastboot --disable-verity --disable-verification flash vbmeta_a vbmeta.img`
`fastboot --disable-verity --disable-verification flash vbmeta_a vbmeta.img`
3. Wipe the phone
`fastboot -w`
4. Restart
This worked for me
Upvotes: 0 |
2022/07/31 | 669 | 2,662 | <issue_start>username_0: I embarked on a planned factory reset and hence started the procedure with a Nandroid backup (via TWRP) of all available partitions.
Following the reset, after restoring the data partition from the backup, the boot sequence gets stuck on "Phone is starting...". After five minutes (or so) the phone restarts and then says:
>
> Cannot load Android system. Your data may be corrupt. If you continue to get this message, you may need to perform a factory data reset and erase all user data store on this device.
>
>
>
...providing the option to "Try again" or "Factory data reset".
Restoring any other partition from the Nandroid backup produces no issues, it's only when the data partition (the most important to me) is restored does this issue occur.
The backup is not corrupted, as the digest verification succeeds.
Do I have any other options other than:
1. Discard the backup and start from a blank slate.
2. Start from a blank slate and manually extract the most important data from the data partition.
?
Ideally I'd like to be able to diagnose the root cause of the "Phone is starting..." issue, address it and continue to use my phone as it was prior to the first factory reset. I have done this restore process successfully before, but this time it's just not working for me.
* Phone: Fairphone 3+
* OS: Stock
* Bootloader: Unlocked
Restoration procedure I do (following a factory data reset):
1. Boot phone.
2. Follow prompts to set same screen lock as prior to reset.
3. Restart phone into fastboot mode.
4. Boot into TWRP (using screen lock credentials to decrypt data partition).
5. Restore from backup.<issue_comment>username_1: The following procedure worked for me:
1. Factory reset data partition. If you can't boot, this can be achieved by running `fastboot flashing lock`, and then `fastboot flashing unlock` (because locking/unlocking the bootloader results in a factory reset).
2. Boot into the operating system and follow the setup prompts, **ensuring that no screen lock is set!**
3. Turn off phone.
4. Boot into TWRP.
5. Restore just "data" partition.
6. Reboot.
7. Re-enable screen lock as desired.
Upvotes: 2 <issue_comment>username_2: Sometimes, bypassing screen unlock (as per one of the answers) isn't enough. Need to actually Format Data in TWRP.
Some recoveries can't deal with FBE and so you'd have to Format Data and disable FBE and then take a TWRP backup of that. Your ROM will basically be decrypted at that point. When you then do a restore, it'll work fine.
I've had this issue today, tried all sorts of things, ended up going with the above as a proper working solution.
Upvotes: 0 |
2022/08/01 | 446 | 2,041 | <issue_start>username_0: I have a few Android TVs and Android TV boxes around the house, and one common nuisance is: that if the time and/or date are incorrect, then the internet for those devices won't work. Also through the ISP we use, the automatic time/date checkbox option does not work either.
The Android TV devices only forget the time/date once a month at most. But it is very unintuitive for someone to think that the time/date needs to be correct for the internet to work. Once more with the incorrect time/date, the internet in Firefox for Android still works. But not for Chrome or YouTube (if the date is incorrect). It's very frustrating and has been like that for years despite performing all the Android system updates available.
Why do the time and date need to be correct for Chrome & YouTube to work on Android TVs and TV boxes?<issue_comment>username_1: A correct date or at least a date not too far away from reality is important for every internet device in these days.
The reason is that internet connections are mostly HTTPS (HTTP over SSL/TLS) connections and one integral step for establishing TLS is checking the used server certificate if is is trusted and valid. Each certificate contains two dates: not valid before and not valid after. The time span between both dates defines the period in which the certificate is valid. This validity period lasts between 3 to 12 months.
So if your system date is so wrong that is is outside of the validity period then the validity check can fail even if the certificate is perfectly valid and the TLS handshake will fail and so no connection can be established which means no data can be transmitted.
Upvotes: 2 <issue_comment>username_2: Your isp most probably started filtering the ports due to an attempted ddos attack or something. Maybe they did some wrong configuration for which ntp port is blocked and thus the tv / tv box is not getting time from ntp. I had this problem for a month and today the senior engineer of my home internet isp fixed it.
Upvotes: 0 |
2022/08/01 | 496 | 2,191 | <issue_start>username_0: I have a new Pixel 6 Pro and have migrated apps and settings from Pixel 3a via my Google ID. My Google Username is my regular Outlook email address and not a Gmail address. When I now go to add my Microsoft Exchange account, I get an error message in red saying 'You have already added this account' because it sees my Google account as an email account, which it isn't.
The 3a ran Outlook for me with my Exchange email address, contacts (4,000+), and calendar quite happily alongside using the same email address as my Google Username. The 6 Pro won't have it!
Five different Google Help operatives over ten days have failed to provide a solution or answer my question which is: Should I get a Gmail address and change my Google Username to that and if I do so on a PC, will I be able to then add my Exchange account on the phone, and will I lose all my app data and set-up on the 6 Pro? The 3a was traded in and is irretrievable.
Any ideas on here would be very welcome.<issue_comment>username_1: A correct date or at least a date not too far away from reality is important for every internet device in these days.
The reason is that internet connections are mostly HTTPS (HTTP over SSL/TLS) connections and one integral step for establishing TLS is checking the used server certificate if is is trusted and valid. Each certificate contains two dates: not valid before and not valid after. The time span between both dates defines the period in which the certificate is valid. This validity period lasts between 3 to 12 months.
So if your system date is so wrong that is is outside of the validity period then the validity check can fail even if the certificate is perfectly valid and the TLS handshake will fail and so no connection can be established which means no data can be transmitted.
Upvotes: 2 <issue_comment>username_2: Your isp most probably started filtering the ports due to an attempted ddos attack or something. Maybe they did some wrong configuration for which ntp port is blocked and thus the tv / tv box is not getting time from ntp. I had this problem for a month and today the senior engineer of my home internet isp fixed it.
Upvotes: 0 |
2022/08/05 | 842 | 3,500 | <issue_start>username_0: The Camera app stores photos in some DCIM folder, and these can easily be accessed to attach to an email message, or to download to a pc over an USB cable.
In the Photos app, I can edit a photo, and save it as a separate photo file, and can see it among the unedited photo's and attach it to emails.
However, those edited photos are not visible over the USB connection, and cannot be downloaded to a pc.
It seems as if only the Camera app can store in the DCIM folders, but other apps can read files from that folder. Is it true that other apps cannot store in DCIM? Is the photo editor part of the Camera app? I did not yet try other photo editor apps.
Related problem is that the app Kopie ID from the dutch government cannot store the edited photo of an ID in DCIM so that you cannot upload it in a browser web app. (Purpose of this app is to be able to black out unneeded sensitive info, and to add a watermark)
I guess that android tries to play it more safe than good old unix / dos, where the file is the basic unit of info and the directory structure allows for very flexible file sharing between arbitrary apps.
Thanks for any hints on sharing files between phone and pc, and between apps.<issue_comment>username_1: Photos edited via `com.google.android.apps.photos` aka Google Photos are stored directly to your Google photos (cloud) storage, that's the reason it doesnt appear over MTP or via file managers.
On PC, open <https://photos.google.com/> on a web browser to access them.
Any app could technically store data in `/storage/emulated//DCIM`
>
> I guess that android tries to play it more safe than good old unix / dos, where the file is the basic unit of info and the directory structure allows for very flexible file sharing between arbitrary apps.
>
>
>
See, you must understand that unlike UNIX/Linux the majority of Android users aren't powerusers so Google definitely has some directory-level restrictions for users as well as apps and this is done for security purposes. However as I stated above, to the best of my knowledge, no restrictions have been imposed over `/storage/emulated//DCIM`
Upvotes: 2 <issue_comment>username_2: This is what I found out recently. Android has the concept of app specific storage versus shared storage, see: <https://developer.android.com/training/data-storage> . Apparently, apps have a preference of storing in app specific storage. A reason might be that using shared storage may be harder, because cooperation with other apps may be needed.
But there is a way to move or copy your photos from app specific storage to shared storage, in order to make those accessible to your PC over an USB cable. When viewing your screenshot image, just move it upwards to see the information block below the image, where you can add a description, view details, but also select options like Back Up Now, Move to folder, Copy to folder, Add to album, etc.
When selecting Move/Copy to Folder, click `SD Card Folders` , where you can create a new folder, or select an existing folder. These are shared folders that you can access from the PC over USB.
On the phone, the shared folder 'myscreenshots' on the SD card is internally known as this, by clicking the SD-card icon in the header when showing this folder:
```
file://storage/CA26-07E6/Pictures/myscreenshots
```
On the (linux) PC, this folder shows up in the file explorer as:
```
Unisoc Phone / Pictures / myscreenshots
```
Upvotes: 1 [selected_answer] |
2022/08/06 | 642 | 2,571 | <issue_start>username_0: Why is the Dark mode in my Vivo v23 pro like this? It's bit transparent in darker areas, I'm able to see my phone's background and icons. Its very weird. Any solutions?[](https://i.stack.imgur.com/HEiFv.jpg)<issue_comment>username_1: Photos edited via `com.google.android.apps.photos` aka Google Photos are stored directly to your Google photos (cloud) storage, that's the reason it doesnt appear over MTP or via file managers.
On PC, open <https://photos.google.com/> on a web browser to access them.
Any app could technically store data in `/storage/emulated//DCIM`
>
> I guess that android tries to play it more safe than good old unix / dos, where the file is the basic unit of info and the directory structure allows for very flexible file sharing between arbitrary apps.
>
>
>
See, you must understand that unlike UNIX/Linux the majority of Android users aren't powerusers so Google definitely has some directory-level restrictions for users as well as apps and this is done for security purposes. However as I stated above, to the best of my knowledge, no restrictions have been imposed over `/storage/emulated//DCIM`
Upvotes: 2 <issue_comment>username_2: This is what I found out recently. Android has the concept of app specific storage versus shared storage, see: <https://developer.android.com/training/data-storage> . Apparently, apps have a preference of storing in app specific storage. A reason might be that using shared storage may be harder, because cooperation with other apps may be needed.
But there is a way to move or copy your photos from app specific storage to shared storage, in order to make those accessible to your PC over an USB cable. When viewing your screenshot image, just move it upwards to see the information block below the image, where you can add a description, view details, but also select options like Back Up Now, Move to folder, Copy to folder, Add to album, etc.
When selecting Move/Copy to Folder, click `SD Card Folders` , where you can create a new folder, or select an existing folder. These are shared folders that you can access from the PC over USB.
On the phone, the shared folder 'myscreenshots' on the SD card is internally known as this, by clicking the SD-card icon in the header when showing this folder:
```
file://storage/CA26-07E6/Pictures/myscreenshots
```
On the (linux) PC, this folder shows up in the file explorer as:
```
Unisoc Phone / Pictures / myscreenshots
```
Upvotes: 1 [selected_answer] |
2022/08/06 | 570 | 2,114 | <issue_start>username_0: I've recently started to use NordVPN on smartphone as I need to spend a lot of time in public networks.
However, it is only 5th August and I have already got a data warning that I have used 2GB of mobile data.
Which makes me think that NordVPN does not change the "carrier" network automatically, when I switch from LTE (4G) to some WiFi (office or home).
I've contacted NordVPN support team, they told me that all traffic is accounted for an actual app (e. g., Firefox) and NordVPN. The problem is that the mobile plan provider somehow adds these two traffics. I use an Android phone.
How to solve this problem? Thank you!
[](https://i.stack.imgur.com/TRee7.jpg)<issue_comment>username_1: You could, potentially, manage your traffic by following a couple of rules:
1. When you are on the move, i.e. using mobile data
a. Turn **OFF** Wi-Fi
b. Turn **OFF** VPN
c. **Enable** Mobile Data
2. When you are expecting to use an unsecured WiFi *(e.g. Internet Café, Airport)*
a. **DISABLE** Mobile Data
b. Turn **ON** VPN
c. Turn **ON** Wi-Fi
The order that these are done in is important. This does, *of course*, assume that you do trust your carriers internet access to be *reasonably* private.
You could potentially automate with something like If This Then That or you may be able to find an app that lets you have a button to toggle these settings.
Upvotes: 1 <issue_comment>username_2: There is an issue here that NordVPN do not recognise. From Jan - Oct this year I had adequate mobile data. In November my mobile data consumption rocketed up. In December the NordVPN app consumed most of my mobile data allowance, so I turned mobile data off. I contacted NordVPN, they have not got a clue. To me something in the App is consuming data and this error has emerged in Q4. I'm going to get myself another VPN that pays a bit more attention to it's customer. I would recommend that you do the same.
When I look at the mobile data usage log for Nov and Dec, NordVPN is the number one mobile data consumer.
Upvotes: 0 |
2022/08/07 | 506 | 2,019 | <issue_start>username_0: I have a Samsung Galaxy Note 10 Plus smartphone and recently I stopped being able to cast anything to my TV nor my speakers, whether YouTube or Hulu or even just sound/music apps like Spotify. It seems I can't connect to either Chromecast video nor audio devices. The devices I can cast to at home do appear on my list of possible casting destinations, but then the content won't display. The attempt to connect from my phone seems to fail every time! Other people at home are able to cast fine. I have already also tried wiping the cache and data storage on the Google Home, Android System Webview, Chrome, and YouTube apps. No improvement!<issue_comment>username_1: You could, potentially, manage your traffic by following a couple of rules:
1. When you are on the move, i.e. using mobile data
a. Turn **OFF** Wi-Fi
b. Turn **OFF** VPN
c. **Enable** Mobile Data
2. When you are expecting to use an unsecured WiFi *(e.g. Internet Café, Airport)*
a. **DISABLE** Mobile Data
b. Turn **ON** VPN
c. Turn **ON** Wi-Fi
The order that these are done in is important. This does, *of course*, assume that you do trust your carriers internet access to be *reasonably* private.
You could potentially automate with something like If This Then That or you may be able to find an app that lets you have a button to toggle these settings.
Upvotes: 1 <issue_comment>username_2: There is an issue here that NordVPN do not recognise. From Jan - Oct this year I had adequate mobile data. In November my mobile data consumption rocketed up. In December the NordVPN app consumed most of my mobile data allowance, so I turned mobile data off. I contacted NordVPN, they have not got a clue. To me something in the App is consuming data and this error has emerged in Q4. I'm going to get myself another VPN that pays a bit more attention to it's customer. I would recommend that you do the same.
When I look at the mobile data usage log for Nov and Dec, NordVPN is the number one mobile data consumer.
Upvotes: 0 |
2022/08/08 | 701 | 2,800 | <issue_start>username_0: I am using the Android Studio Chipmunk edition. My Android device is connected to the WiFi and my PC is connected to the same router through ethernet cable. My devices are running Android 12. So, it seems like I am fulfilling all the requirements.
I was able to connect a few times and able to install apps wirelessly. However, I am failing now. One of the following two things happens each time:
* The QR scanner does not do anything when I scan the code as if it didn't recognize the QR code at all.
* The QR code is recognized and I get a message about the pairing taking a while.
I also tried using the six-digit code for pairing by none of my devices are showing up under "Available Wi-fi Devices".
What am I doing wrong?<issue_comment>username_1: Same happened with me but this fixed the issues:
Run: `adb connect :` in your terminal whenever your mobile fails to connect.
You can find the IP and port in your phone's settings `Settings`>`Developer Option`>`Wireless Debugging`.
If it gives any error, add a path of your android sdk platform tools in Environment variables [For me it was `C:\Users\\AppData\Local\Android\Sdk\platform-tools`]
If you can't see `AppData` folder then turn on the option to view hidden folders from control panel.
In case you don't know how to add a new path in Environment Variable then:
1. Search `Edit environment variables` in your Windows search bar and click on the result option.
2. Click on `Path`>`Edit...`>`New`
3. Add the path and click `Ok` > `Ok`
Upvotes: 3 <issue_comment>username_2: On Windows, I had to allow adb.exe through the Microsoft Defender firewall for this to work:
1. Press the Windows key
2. Search for "Allow an app through Windows Firewall" and press Enter
3. Make sure adb.exe is allowed in there
I also had to connect both the PC and the phone to the WiFi only. Having the PC connected to ethernet only caused similar issues.
Upvotes: 0 <issue_comment>username_3: Sometimes putting my phone in Airplane mode for 5-10 seconds and then turning it off resets the connection and allows me to wirelessly connect to the device. If that doesn't work I will try turning the computer's wifi off and on too. Sometimes it works, sometimes it doesn't. Recently I wasn't able to connect wirelessly to my main computer, and it wouldn't work until I connected to a different one.
Upvotes: 0 <issue_comment>username_4: You did not talk about enabling Wireless usb debbuging in the dev options. If you don't do it you should get an error wich says that the connection has been denied by android.
You should try to ping your phone. If the ping works, open a cmd and type '`adb connect 192.168.X.X`' with the ip of your android device.
Obviously you're phone and computer has to be on the same network.
Upvotes: 0 |
2022/08/10 | 553 | 2,211 | <issue_start>username_0: Just wondering if everything is normal on my cell phone... It's an LG and they stopped updating, but I don't remember this behavior before...<issue_comment>username_1: Same happened with me but this fixed the issues:
Run: `adb connect :` in your terminal whenever your mobile fails to connect.
You can find the IP and port in your phone's settings `Settings`>`Developer Option`>`Wireless Debugging`.
If it gives any error, add a path of your android sdk platform tools in Environment variables [For me it was `C:\Users\\AppData\Local\Android\Sdk\platform-tools`]
If you can't see `AppData` folder then turn on the option to view hidden folders from control panel.
In case you don't know how to add a new path in Environment Variable then:
1. Search `Edit environment variables` in your Windows search bar and click on the result option.
2. Click on `Path`>`Edit...`>`New`
3. Add the path and click `Ok` > `Ok`
Upvotes: 3 <issue_comment>username_2: On Windows, I had to allow adb.exe through the Microsoft Defender firewall for this to work:
1. Press the Windows key
2. Search for "Allow an app through Windows Firewall" and press Enter
3. Make sure adb.exe is allowed in there
I also had to connect both the PC and the phone to the WiFi only. Having the PC connected to ethernet only caused similar issues.
Upvotes: 0 <issue_comment>username_3: Sometimes putting my phone in Airplane mode for 5-10 seconds and then turning it off resets the connection and allows me to wirelessly connect to the device. If that doesn't work I will try turning the computer's wifi off and on too. Sometimes it works, sometimes it doesn't. Recently I wasn't able to connect wirelessly to my main computer, and it wouldn't work until I connected to a different one.
Upvotes: 0 <issue_comment>username_4: You did not talk about enabling Wireless usb debbuging in the dev options. If you don't do it you should get an error wich says that the connection has been denied by android.
You should try to ping your phone. If the ping works, open a cmd and type '`adb connect 192.168.X.X`' with the ip of your android device.
Obviously you're phone and computer has to be on the same network.
Upvotes: 0 |
2022/08/13 | 968 | 3,813 | <issue_start>username_0: I have an Android 12 installation loaded onto an ARM SoC "super" SBC (Firefly ITX-3588J) and want to try and get Google Play working on it, as the stock A12 image does not come with it. Because this is a full computer system and not a smartphone, I both have full access to the memory, bootloader, root, etc. yet also, pretty much all instructions I've found online for installing things like that seem to presume a smartphone with varying degrees of restriction.
My best approach so far has been to get the package "NikGApps" (), instead of Open GApps, because the latter does not currently support Android 12, but the former does. However, I have no idea how to load the package into the system. Looking it up, most people on smartphones seem to do this using something called TWRP, but TWRP apparently *does not support Android 12*. Yet obviously the author of that package somehow intended for it to be installed on Android 12, but the instructions they provide for doing that are *extremely* terse and simply say "flash" it to the board with no details of *how* you do that.
Further digging *seems* to suggest the answer is to use `adb sideload` after booting to the stock (i.e. not TWRP) recovery mode, however the problem here is that when I do that I get an `E:Signature verification failed` error and the system refuses to complete the installation (at somewhere between 40% and 50%, I believe 47%). Presumably, and from what I can gather online, this is a problem relating to the fact it is not some officially "blessed" package for the Android system (i.e. it has to be signed and OKed by some "trustworthy" source).
And so my question is, is there some way around that? How can I install this package successfully and correctly?<issue_comment>username_1: Same happened with me but this fixed the issues:
Run: `adb connect :` in your terminal whenever your mobile fails to connect.
You can find the IP and port in your phone's settings `Settings`>`Developer Option`>`Wireless Debugging`.
If it gives any error, add a path of your android sdk platform tools in Environment variables [For me it was `C:\Users\\AppData\Local\Android\Sdk\platform-tools`]
If you can't see `AppData` folder then turn on the option to view hidden folders from control panel.
In case you don't know how to add a new path in Environment Variable then:
1. Search `Edit environment variables` in your Windows search bar and click on the result option.
2. Click on `Path`>`Edit...`>`New`
3. Add the path and click `Ok` > `Ok`
Upvotes: 3 <issue_comment>username_2: On Windows, I had to allow adb.exe through the Microsoft Defender firewall for this to work:
1. Press the Windows key
2. Search for "Allow an app through Windows Firewall" and press Enter
3. Make sure adb.exe is allowed in there
I also had to connect both the PC and the phone to the WiFi only. Having the PC connected to ethernet only caused similar issues.
Upvotes: 0 <issue_comment>username_3: Sometimes putting my phone in Airplane mode for 5-10 seconds and then turning it off resets the connection and allows me to wirelessly connect to the device. If that doesn't work I will try turning the computer's wifi off and on too. Sometimes it works, sometimes it doesn't. Recently I wasn't able to connect wirelessly to my main computer, and it wouldn't work until I connected to a different one.
Upvotes: 0 <issue_comment>username_4: You did not talk about enabling Wireless usb debbuging in the dev options. If you don't do it you should get an error wich says that the connection has been denied by android.
You should try to ping your phone. If the ping works, open a cmd and type '`adb connect 192.168.X.X`' with the ip of your android device.
Obviously you're phone and computer has to be on the same network.
Upvotes: 0 |
2022/08/31 | 273 | 1,172 | <issue_start>username_0: Usually taking an AirPod out of the case and putting it in my ear works fine - it connects to Bluetooth as per the indicator up top and audio works, but other times it shows as connected per the indicator but audio does not go to it.
I can fix it by turning off Bluetooth and then back on and choosing to connect to the AirPods, or sometimes by putting it back in the case and taking it back out.
Any thoughts on how to address the issue?<issue_comment>username_1: Unfortunately Bluetooth isn't always reliable so you might want to "forget" the device on your phone and then pair it again to see if that resolves the issue.
You might also be able to see what is going on by [enabling Bluetooth Debugging on your phone](https://developer.android.com/training/wearables/get-started/debugging#bt-phone). After doing that and reproducing the issue you should have some logs that will either tell you the issue or give you more information to add to this question.
Upvotes: 1 <issue_comment>username_2: It turns out that the AirPods Pro 2 fixed the issue.
Perhaps it was a defect in the first model that didn't play nicely with Android.
Upvotes: 0 |
2022/08/31 | 524 | 2,248 | <issue_start>username_0: I have a disability and the person I share a home with helps me carry out since daily tasks every day. In order to enable this, I give this person my phone's password and get this person to manage several things on my behalf on my phone.
However, sometimes this person deletes my files. I haven't managed to convince this person not to do this. The excuse they use is often that what I write is stuff against this person or stuff that is a waste of time or of no importance.
In order to prevent me from losing my stuff, I would like to at least be able to back up my Google keep notes, and perhaps my Google drive stuff, to another Google account, such that only I have the password to this account.
However, I don't know whether there's an easy way to transfer everything to another account leaving what's there in place.
I have started emailing myself my WhatsApp conversations so that they don't get deleted, but sometimes stuff from my Google mail is deleted as well, and I would like to copy that to a second account as well.
It would be nice if Google offered another no-delete mirroring account.
How can I achieve what I am looking for.
I am sure there are order lone people with disabilities or old people out there who share this very same problem.
It would be nice if there were a way to do what I'm looking for, perhaps even a way backed up by Google.
I am using Google services on my Android phone. If this post is more suited for Super User stack exchange, then please migrate my post.
Thanks.<issue_comment>username_1: Unfortunately Bluetooth isn't always reliable so you might want to "forget" the device on your phone and then pair it again to see if that resolves the issue.
You might also be able to see what is going on by [enabling Bluetooth Debugging on your phone](https://developer.android.com/training/wearables/get-started/debugging#bt-phone). After doing that and reproducing the issue you should have some logs that will either tell you the issue or give you more information to add to this question.
Upvotes: 1 <issue_comment>username_2: It turns out that the AirPods Pro 2 fixed the issue.
Perhaps it was a defect in the first model that didn't play nicely with Android.
Upvotes: 0 |