text:
I want to access the data of Metamask
I want to have access to the data of the Wallet MetaMask on my android phone. After an error occured I can't enter my wallet. This error occured:
Metamask encountered an error due to reaching a storage limit. The local data has been corrupted. Please reinstall Metamask and restore with your secret recovery phrase.
Sonce I don't have my recovery phrase I try access the data. If I had used a browser extention I could have used the vault decryptor. But I only use Metamask on my mobile android phone (Samsung S10 Android14).
Is it possible to get the folder or read the data when the phone is not rooted? Can someone tell me how? I read questions asked here before but I can't get the data.
Thank you so much in advance.

Does this answer your question? How can I access the files in "/data/data" and copy them into memory card without root?


text:
How can I copy a file from an Android phone to a connected USB drive?
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.

Disconnecting and reconnecting the drive fixed the problem.

Another suggestion: upgrade your file app experience.  MixPlorer is my recommendation.  Allows file connection from phone to everything, including cloud drives, local network, and all the folders on the phone (including system folders).

source: Stack Exchange

license: Creative Commons - Attribution Share-Alike - https://creativecommons.org/licenses/by-sa/4.0/

sort: votes


text:
OnePlus 6T Compass Gets "Stuck" Until Placed on Magnetic Mount and Removed
My phone is a OnePlus 6T with Android 11 Oxygen OS 11.1.1.1. I am working on an app which (among other things) provides range and bearing to a particular spot based on GPS and compass.
From time to time (every week or so) I have noticed that the compass orientation freezes. I have installed a different compass app and, it doesn't freeze, but it is clearly giving a very wrong reading (for example, north indicated directly to the sun).
Similarly Google Maps is showing the wrong reading. I am sure the bearing is wrong because if the sun was in the north we'd be really screwed. Plus I have another compass on my watch and it is OK, so I know where north really is.
I suspect the reason my app is frozen, and the other app is not frozen, is just because of the different animation approaches. The root cause appears to be that the sensor is "jammed" even though it is in a solid state.
I have tried recalibrating (maybe 40 times), shutting off the phone, resetting the phone, clear the app's memory, stopping the app, etc.
I noticed today that if I place my phone on its magnetic mount, all of a sudden the compass started working again once I remove it from the mount. To be clear, I am out in the woods many kilometers away from my magnetic mount when it is jammed, but when I return to my car and put it on/remove it from the mount everything works fine again for a few days.
I have never had an electronic compass behave like this. Unfortunately Google searches invariably point me to suggestions to recalibrate.

check powersafe settings and exclude the app for testing purposes. consider magnetic mount might have permanently destroyed phone already, it really does not sound like coincidence to me

Thanks for the reply. I have not seen evidence that the mag mount has damaged the phone.  The sensors are solid state and I have used this mag mount in various vehicles for about 5 years.
Plus, function is restored when it comes close to the mag mount and stays functional for a long time afterwards.

check powersafe settings

all_licenses: Creative Commons - Attribution Share-Alike - https://creativecommons.org/licenses/by-sa/4.0/


text:
Problems with long term rooting of phone, data loss and OS updates
I'm in the market for a new phone. I use a specific app for internal use that requires the phone to be rooted (or use a MediaTek chipset but they are mostly used in low end-phones and I want a medium-/high-end phone) and this causes me a lot of pain.
Currently I use a Oneplus 6T (before that I had an HTC M9+ - a highend phone with MediaTek) and the problem with this phone is that every update to its firmware "unroots" it (but leaves the internal storage untouched) but when I root the phone after an update the internal storage is deleted!!! (Actually, I think the key used for decryption is deleted, but the effect is the same) AFAIK, this is not specific to Oneplus but is how Android typically works.
I have done this twice and lost a lot of data - because the next problem is that there is no, AFAIK, good backup solution for Android that backs up everything to your local computer and lets you restore the phone after a factory reset (like how iOS-devices work).
So, now when I am about to buy a new phone I am not trying to find the right "hardware" but rather a complete "solution" to my use case. I guess I am looking for the right combination of a custom version of Android with, if necessary, an associated backup solution.
My question is:

does it exist a version of Android that doesn't "unroot" when updates are applied? (Or always is rooted)

or

does it exist a version of Android that doesn't factory reset the internal storage when rooted?

or

does any of the phone manufacturers (or third party) offers a backup solution that backs up everything (for example, WiFi-passwords are usually not backed up - they can only be backed up to Google's cloud) to a local computer?

or

Any other solution that lets me keep my phone rooted, updated and leaves the internal storage untouched? (This is actually the main question. The approaches above are just my suggestions for how a solution should work but I am agnostic to how my problem is solved as long as these three conditions - rooted, updated, internal storage untouched - are fulfilled.)

Finally, I don't want to spend a lot of time tweaking my phone and fixing odd problems (i.e., like using a custom version of Linux on a desktop often forces you to do).
Footnote: I have tried Helium for backup but couldn't get it to connect to my computer (a Mac). Besides, it required very old versions of ADB or something like that.

once device was initial rooted, you can backup all apps and data to pc or external MicroSD Card before each update, no data loss. That's what TWRP, Titanium, Migrate is designed for!? Of course Internal Storage must backup too

https://topjohnwu.github.io/Magisk/ota.html

https://forum.xda-developers.com/showthread.php?t=3862763


text:
Cannot make backup or do a factory reset on Samsung Galaxy A40
I need to make a backup on Samsung Galaxy A40 to factory reset my phone because I'm having a problem with it. I cannot log in. Every time I log in, it gets stuck at "Starting Android". If I turn my phone on/off normally, it gets an absurd timeout. Removing my SIM card doesn't change anything. For that, I cannot fully restart it because you need to log in for that, and I need my stuff before I reset it. I also cannot use the volume down button because it's broken and the ADB is not authorized.
EDIT:
There is no way to do it in my case there are a few tricks that can help someone else though:

If you cannot restart your phone because you are logged out do the following; remove SIM card tray and put it back in, when you can put the PIN in for the SIM card hold the power button.
If you cannot come in the recovery menu with your volume down do; restart your A40 (tap the restart button twice) then keep holding [power+volume up] until the recovery menu shows up.
Are you stuck at "Starting Android" and cant do anything; swipe down from the top, where your notifacations and flash light are in the upper right corner is a settings cog, press that an you get to the settings menu note that not everything works in there!


text:
Pixel 4a makes a mystery sound with no notification
Note: This is similar to Mystery "notification" sound, but not the same symptoms, so I believe it is a different thing.
My issue
For about the past month, my phone has made a mystery sound almost every day.  Video of it occurring here: https://youtu.be/cP4fYYouaAg.  It typically happens some time after 9am, and it comes with no notification.  As far as I can tell, there's no visual indication of what's happening at all.  Does anyone know what this sound is??
My phone
Google Pixel 4a on Mint Mobile.  Formerly T-Mobile prepaid.
Things I've tried

searched through all of the phone's built-in notification sounds.  This isn't one of them(!)
turned off NFC, still happens.
turned off bluetooth, still happens.
noted location that it happens, doesn't matter (not consistent).  Note that when I say location, I mean both geographic location and the phone's proximity to other devices (neither seem to matter).
noted times of occurrences.  Not consistent.  Doesn't happen every day, but on the days it does occur, it's usually between 9am and 9:30am CST.
I wrote down the exact second that this happened one day, then searched the phone's developer logs from adb logcat -b all.  There were a handful of entries in the seconds surrounding the event, but all of those entries are common occurrences throughout the logs, so they can't be associated with this.  In short: this sound leaves no trace in the phone's internal logs.

Thanks in advance for any suggestions!

check find my device and let device ring

Was the phone connected to charger when it made that sound? People report that as a reason when aftermarket or poor charge connection //Though you disabled NFC, remove all NFC cards from the phone case or nearby. Ditto for anything else that is NFC enabled (books fur example) // some people say it's due to weather app updating its status. Uninstall weather apps //Welcome to the site, good first question

Following a suggestion from a user on a different forum, I put the phone into safe mode for a few days.  This deactivates all external apps.  (In the power menu, long-press the power off option.)  While in safe mode, the phone never made the sound, which proves that it is some external app.
I am currently in the process of uninstalling my external apps, starting from the most recent.  Each day, if the phone still makes the noise, I uninstall the next one.  I am bound to find the offending app eventually.  (Note: yesterday, I uninstalled Duolingo and it didn't make the noise today, so this may well be it.  Couple more days to be sure...)
Final thought: why would an app do this?  Though I have no direct evidence of this yet, I suspect that an external app was giving me a lot of notifications, so I must have long-pressed one of those to silence that app's notifications, but somehow, the sound is still getting through.  Perhaps a bug is present in that app.
Thanks for suggestions above!

Did you ever find out what it was? Was it Duolingo? I also have the app and also getting these phantom notifications

I did figure it out, and it wasn't Duolingo after all.  Unfortunately, I don't remember off hand which app it ended up being.  Safe mode is your friend.  Take notes and use a binary search.  (uninstall half of your apps each iteration, until you detect a change in behavior.)


text:
How use mobile data for internet and wifi for LAN devices in sametime at Android
I have a Samsung S21 Ultra and I want to keep both mobile data and WiFi on. My aim while doing it is using LTE for internet services(eg. Spotify, YouTube) and using wifi for LAN devices(eg. Printer, IoT devices) I don't have internet connection at WiFi router. It's just a local network.
My problem. Android's own network manager denies to use LTE when connected to any WiFi. I'm sure LTE is working in background because I have VoLTE and it's working but Android doesn't want to do internet routing with LTE when it's to WiFi connected.
How Can I route the traffic in LTE when I can still reach local printer at WiFi? Thank you.

You can't. The only way is to inject manual rules to the network routing table, which isn't possible without root. A similar question recently asked: https://android.stackexchange.com/q/242015/218526

Possibly related/dupe: Unable to communicate to a local WiFi with mobile data enabled


text:
Recover data from soft bricked (unrooted) Galaxy S8
My S8 G950F got stuck in a boot loop after an update (there was little storage left before the update, but not sure if this is the reason for failure). I tried flashing it with Odin (with HOME CSC), which was successful according to Odin. Now if I start the phone, it says “installing update”, then “no command” and loads recovery mode.
If in recovery mode I select “Lacking storage booting” it will go into “Optimizing app X of …” which goes through all the apps, but then loops again until it reaches some other “Android recovery” mode that has only 4 options: “try again”, “power off”, “erase app data”, “view rescue logs” – the last two options regular recovery mode doesn’t have.
My goal is to backup or pull the data from the phone as sadly it was not backed up.
One thing I have left to try is to install TWRT via Odin and try to do a backup using it. From what I understand, in order to do so I need OEM to be unlocked in dev settings which would allow the bootloader to be unlocked. I don’t think I had OEM unlocked. I also don’t know if my bootloader is unlocked regardless of that setting: there is a “reboot into bootloader” option in recovery and when I do that it boots into a mode that says “Downloading” and looks exactly like regular downloading mode but without the writing that usually shows in the background (such as “odin mode”, model, binary etc.) Does this mean I have bootloader unlocked or is it a locked version? Is there a way to find out if OEM and bootloader are unlocked without booting?
Another Hail Merry option would be to wipe and factory reset it after flashing (which hopefully will take it out of the boot loop) and then root and try to recover some files with a data recovery tool, but is there any real chance of getting stuff back? Since data on SSD isn’t truly erased without being overwritten, it has to be recoverable somehow, right?
Finally, I would like to know if anyone has any idea what could potentially be wrong given the symptoms? Since flashing didn’t fix it, then it isn’t the firmware that’s the problem, so it seems? But then what is it?

Does this answer your question? How to recover data when everything is locked (FRP, OEM)


text:
LG Secure Start-Up On Boot
I encounter this once. My phone was dead batt and I didn't do anything or remember anything that I deleted something in the settings before this happened. All I know is that I slept and my phone's locked so that I cannot do any harm to it.
But according to this issue similar to mine: Locked out of secure startup, they deleted secure files in the settings, that's why it happened. The screen on secure set up is nothing but a white screen and a text field that asks your password and even though how many times you attempt it's stuck on loop attempt 29/30.
Anyway, I told you I didn't do anything but this happens to my LGM400. This is already fixed because I just shut it down and turn it on my phone again. That secure setup only happens once. I would like to say this because I wanna know what is going on with LG. And it's kind of bothering.

Please edit the question to limit it to a specific problem with enough detail to identify an adequate answer.


text:
How Can I Configure the Gargantuan Android 12 Lockscreen Clock?
On Android 12, at least on Pixel devices, the lockscreen has a massive clock when there are no notifications — vertically, it takes up perhaps 2/3rds of the screen. I would rather the clock be smaller, akin to the one where there are one or more notifications showing on the lockscreen. I cannot find anything in the Settings app or the system Clock app's settings that controls this behavior.
Is there way to configure the lockscreen clock size?

Fully agree and that's what I noticed too.. Very irritating. If you enable unread notifications on lock screen and if they are there the clock becomes small//Also disable always show time and info in lock screen settings so that you don't have to see it always +1

My device is rooted and there doesn't seem to be any rooted method to achieve this (Pixel 4a)


text:
Keeping phone plugged in vs. using a charger control?
I have an old, quite banged-up Huawei Y6II. I want to use it as a static device and turn it into a security camera, web server, wifi hotspot, etc. Is it okay to keep it plugged in all the time? Or should I use a DIY solution that controls the charging cable with a relay in a way that the cable is turned on when the battery is low and then turned off when it is full?
To clarify, I am not asking about the DIY solution, I have a plan for that already. My question is, is it worth going into the hassle, or is it just fine to normally keep the phone plugged in 24x7?
Please note, there are frequent power outages here.
And in case this info is useful - the battery of the phone was replaced once and the new battery was purchased from a "don't know how trustworthy" shop, but it works okay, and the price was close to an original replacement.
Thanks.

It depends on how long (years) you want you use your old phone in that role //If it's for a couple of years (assuming replacement battery is good) it's fine //If you are thinking of longer terms than definitely it's good to restrict as you intended. See this

If a device is plugged in 24/7 the battery of some devices start to blow up, so that even the device case gets opened or breaks. If your device can be rooted I would recommend to do so, then most devices allow to enable/disable charging programmatically even is USB connection provides power all the time.


text:
Remove FRP after Hard Reset Hyundai Tablet
This is my first post. I've a big problem. In my job, we've tablets Hyundai Koral 10x2, for any reason someone did a hard reset from factory mode and now we can't pass the screen google account 'cause the person what did the hard reset forgot the mail & pass. So, anyone know how can i remove FRP? I have not found anything on youtube or google
Tablet Data from Android Recovery:
Hyundai/Koral_10x2/HT10004X16
8.1.0/OPM6.171019.030.E1/101345

i can't use adb commands, from sdcard i can't install apps 'cause always shows error: Signature verification failed. Error 21.
any solution? please
UPDATE
Things what i do to solve the problem:

1st method: changing language to pyckknñ, insert new wifi network, long press in space key, press in green letter, click in green button, click in option with rigth row, click in three points (up|rith) press in second option, open in Switch, now in the video show a shared button this not see in my tablet (shared option is'nt visible like the video) if i touch the video, this show a shared button after i press shared this open YouTube Go at this point all looks good but YouTube Go show: please login in your google account and when i try to do it, same error: this device was sinchronized with another account. tutorial link

2nd method: same like 1st but in this case, i search delete or disable apps android in section tutorial link i open the result, i click in the first link, this shows me a settings apps, i down and open youtube settings, click in first option, this open new screen, click in last option this try to open youtube but this close and show error that youtube go has stopped.

3rd method: in google account long press in @ key but this not shows me a settings option.

4th method: like first method but using TalkBack tutorial link

5th method: triyng in google account long press in word and press search in google but this no appear in the device link

Does this answer your question? How to bypass "Verify your account" (Factory Reset Protection)

Unfortunately not work to me @beeshyams

i've update the question with the thing what i try to solve my problem @alecxs

rkflashtool can dump firmware off device and write single partition/offset. It is therefore capable for erase FRP partition. this documentation might help to figure out usage.
There are maybe easier methods for example talkback method which is pretty generic (check youtube)

can you edit your post with an example or a tutorial with vieo? sorry, i don't understand correclty the documentation

only someone with RockChip device could do that

oh, ah, okey. I need use linux to do that, right? (Sorry, i don't very good with this things, basically i'm new)

create pendrive with rufus or unetbootin


text:
Android 12 unknown system status bar symbol:Pixel 4a
I updated my Pixel 4a to Android 12 a few days ago.
Today, all of a sudden, I saw this screen like symbol on the right side of status bar, which wasn't present after updating.

It is not app related because it can be seen in safe-mode also. There is nothing in the notification bar that corresponds to this symbol. Strangely, Google search didn't help. Nobody else seems to have this problem.
Any idea what this symbol means and how to get rid of it?

Since the symbol suggested it may be screen related, I went through all screen/display options and discovered that it is related to auto-rotate screen. If this is disabled this symbol shows up!
Goggling more on this, I learnt that this is a feature available on some Pixel phones, introduced in Android 12. This uses face detection (that needs to be enabled). So instead of using accelerometer to determine how the phone is held, the front facing camera determines how your face is aligned and rotates screen accordingly. It seems to work well. However, none of the articles I read mentioned this icon.
Something new learnt but it still beats me how the auto detection got disabled (I never enabled it in the first place)

This system icon is available at least in Lineage based ROMs for years: https://www.androidpolice.com/2016/03/09/android-n-feature-spotlight-system-ui-tuner-expands-status-bar-options-with-auto-rotate-status-symbol-clock-battery-and-others

As someone on a Pixel 3a that doesn't have face detection, this icon doesn't show even if auto-rotation is enabled or disabled. Looks like this is specifically related to the face detection feature.


text:
How to install Magisk without an unlocked bootloader?
Before you say, "It cannot be done," read the link below by topjohnwu. I too had been under the impression that Magisk could not be installed unless the device had an unlocked bootloader. However, yesterday I was reading this:
Deployment | Magisk (from which I quote the contents below):

Exploits

(Note: Magisk could only be used as root)
Occasionally, there would be exploits in certain devices that could lead to full fledged root. On modern Android, it is possible to use MagiskSU if you can gain a shell with the following conditions:

Effective UID should be privileged (root, or euid=0)
Have the ability to reload sepolicy (which 99.9% of the time means SELinux permissive)

You can check out scripts/emulator.sh as a reference for bringing up Magisk with a root shell. Note that these changes are not persistent, and you will need to find ways to rerun the whole process every boot.

My device meets the conditions for that "exploit" as shown below:
# getenforce
Permissive

# id -u
0

# id -Z
context=u:r:supersu:s0

So I checked out scripts/emulator.sh as suggested. However, I don't understand the code very well.
It seems topjohnwu is suggesting one run that script on a device which meets the conditions, but he is also suggesting it is a "reference" implementation I guess. Since I'm not an expert, I have a lot of questions. Could I safely run it and then debug any issues/errors I see? If so, where do I find the referenced "app-debug.apk"? What directory should I run the script from? I appreciate any advice.
If running the script is not the right approach, can anyone offer suggestions for how to can install Magisk on my device without an unlocked bootloader?
Also, at what point should I remove SuperSU? (BTW, my device is a US Snapdragon S8, so the bootloader will not get unlocked.)

additional information for visitors https://forum.xda-developers.com/showthread.php?t=3659305


text:
How do I list all apps on Android 12?
This night my Pixel 3 updated to Android 12.
Now I can't find how to list all apps. In Android 11 and previous, I used to swipe from bottom to up but now that functionality seems to have disappeared.
It seems it's easier to search for one particular app if I know the exact name, but sometimes I don't know the exact name of the app so I want to see the full list of apps and select from there.
As a workaround, I can open the Play Store and open them from there, but that's tedious as I need to use so many taps.
How can I list all my installed apps easily on Android 12?

It works fine on Pixel 4a. You can also add the settings widget from app drawer to your home screen and choose app info instead of so many taps (via Play Store)//You can test with another launcher as an alternative if you don't like first method

Thanks to beeshyams' comment, I found out that the apps list is indeed present, but the movement to get it has slightly changed.
In Android 11 and before, I usually started swiping from the actual bottom from my phone (where my home button is) all the way up. But in Android 12, this only shows the list of running apps.
In order to get the full apps list, I need to start my swipe from anywhere but the home button.

Are you using 2-button navigation? There's a different behavior when swiping up on the home button for each navigation style.

@AndrewT. I don't know, I don't believe I've ever changed the default functionality since I own a phone from the Google lineup (first was Nexus S). How can I check that, to answer your question?

The navigation setting can be checked on Android Settings - System - Gestures - System navigation


text:
Show battery at 100% when it is charged to lower value?
On the Samsung Galaxy Tab S7, you can limit your battery to 85% and have it show 100% when it is at 85%.
Can I somehow replicate this behaviour on my OnePlus 6 running on LineageOS 18.1 with root?
I am already limiting charging to 85% through ACCA with a brand new battery, and would like the capacity at that point to be considered 100% to the phone as well.

What do you achieve by that? ACCA can disable charging and if your Kernel supports do idle charging also //I am missing the advantage of your approach. What do you gain?

I want to preserve my battery's health and have it display 85% as 100%. I dont want to contantly feel like I should squeeze out the remaining 15% and return to fully charging to the real 100% every night. If I can do it on my Tab S7, can I do it on my phone as well?

I don't think it's possible because the battery capacity files are located in kernel and it's not easy to tinker with kernel // But, wait for knowledgeable folks to comment or answer


text:
How to change user agent sent by firefox?
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?

Please clarify your specific problem or provide additional details to highlight exactly what you need. As it's currently written, it's hard to tell exactly what you're asking.

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.

The User-Agent Switcher here says that it supports Android. Second link on a web search.

I visited that link with Firefox for Android. I don't see anywhere where it says "it supports Firefox for Android".


text:
Can't left click with USB Mouse on Firefox for Android in Tablet mode
I have a Rog Phone II (ZS660KL) & Desktop dock (ZS600KLD). When docked, the Rog phone asks the user to pick a display mode between:

Mirror mode
Twinview mode
Tablet mode

Mirror mode is way too small (huge characters and icons) for an external screen. On both of the other modes, Android gets a second display; in Tablet mode, the second display is more adapted to a desktop-sized external monitor.
However, when using Firefox for Android (main or Nightly, versions 92 and 95), in both "Tablet mode" and "Twinview mode", my Logitech mouse (M-U00007) connected by USB to the ZS600KLD dock, cannot left click on any link or item inside Firefox. Clicking on a link with the physical left button results in an action similar to right click: a context menu appears to open the link in a new tab etc. Middle mouse button does the same "software right click" action. The physical right click does nothing. The back button works, but the forward button does not.
I also tried with an M185 that does not have the forward/back buttons, and the issue is the same. More interestingly, for both mice, the left click works in the address bar field, because it hands over to the Google keyboard. It's only where Firefox actually renders stuff that it does not work.
I currently do not see how to correct this bug, except switching to Chrome or using Mirror mode. This very specific issue does not happen in Chrome for Android or in Mirror mode.
Any idea how to solve this? For example, force a re-mapping of mouse events to specific actions?


text:
How can I copy my MIUI settings-based backup to my PC?
I'm using a Mi 9 SE with MIUI Global 12.5.1.
I've just performed a backup using MIUI's Settings backup mechanism (accessible via Settings > Additional Settings > Backup & Restore); and I see my backup in the "Manage Backps" screen accessible from the hex-nut settings menu.
But - I want to copy these backup files off my phone. Where are the files located?

Well,
the files are within the (Internal Storage) space, under path: MIUI/backup/AllBackup/YYYYMMDD_HHmmNN, where Y is year, M is month, D is day of month, H is hour (24H), m is minutes, and I don't know what N is. Perhaps seconds.
You can easily copy the file, but I've not verified you can them simply copy them to another phone (or to your phone after a reset etc.) and perform a restoration.

Could you add in your answer in what folder we should put the backup file to restore the app? thx.


text:
Are these apps with package name and random numbers malware?
Did a factory reset on my phone late last month and noticed a strange app/process in data usage the last few days titled "com.sec.mimage.uid.retouching:10076", low filesize but enough to weird me out. Did another factory reset and had this come up

which seems to have similar if not the same data usage size. Potential malware or normal?

Look for the details on the app using my answer here. As I see it, the package name corresponds to something that would come from Microsoft, but MS office's package name is different from this one when one sees its page in Play Store. Try my answer and provide to us whatever information you manage to get.

Possibly related/dupe: Unknown apps/processes with number only are shown in data usage


text:
How to view /Android/data directory on external sd card on Android 11?
After updating to Android 11 I have noticed that I am unable to access the Android/Data/ directory on my external sd card (able to access internal storage /storage/emulated/0/Android/data with Storage Access Framework). This is evidentially due to the new scoped storage requirements.
I believe this an unavoidable fact, if anyone can show otherwise I would be interested to see.
Is it possible to view this directory if the phone has been rooted?

Does this answer your question? Android 11: Can't see contents of Android /data even with root

No, unfortunately I am able to view the /Android/data directory on the internal sd card, but not on the external one.

Update: I rooted the phone, and am able to access the directory on the external SD card. However I would still be interested if this is possible to do without rooting.

Thanks, here is the relevant part of that page if anyone comes and is curious: https://developer.android.com/about/versions/11/privacy/storage#other-app-specific-dirs.

Fair enough, upon first glance I just didn't see any information specifically about external sd cards in your link. My fault for not reading closely enough!

No problem. You can either close it as duplicate yourself or make out an answer expressly clarifying the ext.SD bit

Due to storage changes in Android 11 it is no longer possible to access the  .../Android/Data/ directory on an external sd card on an unrooted phone.
From the Android developer documentation:

On Android 11, apps can no longer access files in any other app's dedicated, app-specific directory within external storage.

It remains possible to access the /storage/emulated/0/Android/data/ directory, see
Android 11: Can't see contents of Android /data even with root.


text:
Are there way to remove swipe up but have a number or a pattern lock on a modern Android
Is it possible to remove swipe before entering a number code or drawing a pattern on modern versions of Android (10 for instance)?
There is a similar question but it's about Android 3.

Please clarify your specific problem or provide additional details to highlight exactly what you need. As it's currently written, it's hard to tell exactly what you're asking.

Is the device rooted? GravityBox xposed module provides this feature.

Related question (and unanswered as of writing this) but for Android 11. See https://android.stackexchange.com/q/241715/96277


text:
Android TV Box Gigabits Connection
Is there any android apk app which is able to display a LAN network connection speed such as 100Mbps or 1Gbps.
If this is not possible, is there any app that is able to display the network chipset info in Android TV box?

Without telling us which model of Android TV you've bought, it's impossible to answer this question.

It has nothing to do with model. The model may indicate that it ships with gigabits connection but I want to know whether is it malfunction.
I am asking is there any android app to show the connection speed or showing the network chipsets

Please clarify your specific problem or provide additional details to highlight exactly what you need. As it's currently written, it's hard to tell exactly what you're asking.

Just connect the ethernet cable directly to a switch or a PC that is able to display the link speed.


text:
PGN file cannot be opened when sent using WhatsApp
I play chess quite every weekend. After the game, I enter my game moves into Analyze This, and see my errors. Then, I save a PGN file into my Android phone.
Then, I have 2 ways to share it :

I send the PGN file "attached" to an email, and all my colleagues that receive it
can re-play it on their "Analyze This" app, clicking on the attached file.

I send it using "WhatsApp" - no way they can play it (even me !) -
"You may not have a proper app for viewing this content" is the error message.

Analyze This is v5.4.8. Android is version 11.
Any clue?

Possibly related/duplicate to understand how WhatsApp works: Why WhatsApp is suddenly unable to open any APK shared by users?

no, it is not the same

i can run the APP if I find the file from FileManager, but not if I click on the PGN file in WhatsApp, so it seems related to WhatsApp and not to APK nor Android


text:
Any way to disable the "Blank is draining the battery" notifications?
I get this little popup all the time on my phone:

I can "Ignore for now" but it just comes back a few hours later.  The thing is, I'm not running the "Amazon Alexa" app currently.  I'll go in there sometimes to check my shopping list, but it's not really something I always have running.  My phone can also use Alexa as the voice assistant, but I keep it off:

Lastly, it doesn't even appear to be true.  The phone has been on for hours, and when I get that notification the battery is at 99%.  So, I'd hardly call that "draining" the battery.
Any way to disable this notification, or all notifications of this type?  Thanks!

Can you follow the second section of my answer here concerning MacroDroid? That solution works for me in removing persistent notifications.

@Firelord I'll give that a shot!  Kinda sucks you need a third party app just to get rid of annoying system level notifications..


text:
Launch app in chroot environment
I want to setup a chroot environment on my android x86 installation in which I can perhaps run or install various apks.
Is there any way to launch an application in a custom chroot environment?

You may want to edit your post to include which emulator environment (including OS version) you are using and the type of behavior you are expecting out of the chroot environment.

Keep backups or snapshots of your Android-x86 to revert to, should something goes wrong and you cannot fix it. You are unlikely to get a Linux like chroot implementation in Android. You can however try using a secondary user to prevent app interactions with sensitive data. Work profile can also be used in this regard.

I specifically want to use chroot, it's for a personal project.

I don't think chroot will not work in Android for apps. Android bases on Linux but the Android app system works totally different. Only for command-line programs (on adb or inside termux) chroot can work.

I see, well thanks.


text:
Do mobile coolers prevent battery from bloating?
Do any of those mobile coolers help prevent battery from bloating? or it'll just bloat due to natural aging? I'm a hardcore gamer so I play games all the time. All my previous phone tend to bloat within 1-2yrs so I'm just wondering if a mobile cooler is gonna help prevent battery from bloating?

Are you usually playing with a charger connected?

@Robert no I don't


text:
How to automate rclone-mount without Termux or Magisk?
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?
I tried the following rclone-mount method with Termux:
How to mount rclone on Android?
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?
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'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
$ 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 Irfan Latif 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)?

worth mention your device is bootloader locked therefore impossible to modify init.rc

@alecxs why to modify /init.rc? You can put a new anything.rc file in /system/etc/init/ when you have write access to /system.

@IrfanLatif ah.. thought etc/ in boot.img is the only location

@alecxs /etc symlink has always been pointing to /system/etc.

@MountainX, 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

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.

It's great that the solution worked for you. But I'd say it's an incomplete solution. /system is not a partition mountpoint on SAR devices. Mounting /system RW breaks dm-verity. su.d isn't a standard directory. If rclone gets unmounted, you'll have to restart the device to re-mount it. // More explanatory answers: How to run an executable on boot and keep it running? and How can I run a script on boot?

@IrfanLatif - thanks for your feedback. Yes, it is definitely incomplete and rough. I want to improve it. Much of what is in the answers you linked pertains to Magisk, which I don't have. But I will read them again to see what else I can do without Magisk, and I welcome any specific suggestions from you.


text:
Reset factory and recovery in android
I want to reset my phone. After resetting, can photos be recovered with recovery software? If not, what can I do to prevent deleted photos from being recovered?
My phone: redmi note 9pro

Does this answer your question? How to make a complete factory reset, without anyone being able to retrieve my data?

TL;DR "Factory Reset [...] suffices in most cases"


text:
I wish to export Chrome history synced from a mobile device as a csv list, but this information is not stored in the 'History' file. Where is it?
...AppData\Local\Google\Chrome\User Data\Profile #\History usually has all URLs that you have visited, and you can open this up using DB Browser for SQLite. While I can hit Ctrl-H and see the links I've visited on my synced Android device, they are not there when I pull up the History file on the browser, so they must be stored elsewhere. I could not find any relevant Google results that answers my question, however.
What is the easiest way to export my Android Chrome history as a CSV file? And where is the synced history stored?
Thanks.

Hi, do you want to do this using the PC only, or is it okay to also use the Android device? For Android directly: Export Chrome for Android's history

Ah, I didn't realize this was an option. Although this doesn't directly answer my question, it nonetheless solves my issue. Thanks for the suggestion.


text:
SD card not recognized by Cubot Note 7
I recently switched to a Cubot Note 7 android phone. This phone has a slot where one may put an additional SD card. As I used a 16 GB Fujifilm micro SDHC card in my old smartphone, I just put that one in. However, this card is not recognized by the Note 7.

There is no popup or notification notifying me of the new card.
There is no indication of a recognized sd card under the storage settings. In fact: Nowhere in settings, I find any option concerning an sd card. When searching the settings, the only "card" related option is "load certificate from sd card" (which does not work as the card is not recognized in the first place).
I tried formatting the card on my PC either with FAT32 or with exFAT. The PC, however, is perfectly fine with the card.

Details:

Card 16 GB Fujifilm micro SDHC
Cubot Note 7 with android 10

As the sd-card obviously works you should test the phone with a different sd-card. If that don't work, too it may be a hardware defect of the phone.


text:
password protect my android
I am looking for a way to prevent the installation of apps from any sources (eihter playstore or apk)
Is there not anything similar to a "sudo" password for apps installation on android so a password is required before installing any app?


text:
Oppo A5 2020 (CPH1931) won't go in to fastboot mode/bootloader
I want to root my phone, install custom recovery and eventually a custom ROM. For this, I need to unlock the bootloader.
I have an Oppo A5 2020 CPH1931. It should go into bootloader when I press volume+ and power buttons together for 5 seconds after completely turning off the phone. But when I do this, it boots like normal. Tried all different combinations and durations. I am able to boot into recovery but not fastboot mode. I have turned on the "OEM unlocking" option in developer options.
I tried it through ADB, it says fastboot on the screen for half a second and then once again jumps back to normal booting. I also tried to already put the fastboot command "fastboot oem unlock". When it says  I use another terminal to try to boot into fastboot with ADB. But this does not work (also tried this with "fastboot flashing unlock").
By the way, my devices only shows up with adb devices when I select transfer files upon connecting the USB cable. When I select just charge it doesn't even show.
There are tons of guides online on how to enter the bootloader of this device, so it must have been possible at some point. I considered trying to revert to an old STOCK ROM that still has fastboot. I contacted Oppo about this but they keep trying to confuse me and then just left the conversation.
Is there a way to go back to an old STOCK ROM that still supports fastboot mode?
EDIT:
I tried using the EDL toolbox provider by Björn Kerler like Alecxs suggested, but it cannot find a loader for my device:
Qualcomm Sahara / Firehose Client V3.53 (c) B.Kerler 2018-2021.
main - Trying with no loader given ...
main - Waiting for the device
......
main - Hint:   Press and hold vol up+dwn, connect usb. For some, only use vol up.
main - Xiaomi: Press and hold vol dwn + pwr, in fastboot mode connect usb.
        Run "./fastpwn oem edl".
main - Other:  Run "adb reboot edl".

...............
...main - Device detected :)
main - Mode detected: sahara
Device is in EDL mode .. continuing.
sahara -
------------------------
HWID:              0x0010a0e100510000 (MSM_ID:0x0010a0e1,OEM_ID:0x0051,MODEL_ID:0x0000)
CPU detected:      "nicobar"
PK_HASH:           0x6e91b529aad0307f1fc67310dab1ff821eb7aa02fa5620157a9d20e124f4e0b8
Serial:            0x31276e91

sahara
sahara - [LIB]: Couldn't find a loader for given hwid and pkhash (0010a0e100510000_6e91b529aad0307f_[FHPRG/ENPRG].bin) :(
Device is in an unknown sahara state, resetting
resp={'cmd': 1, 'len': 48, 'version': 2, 'version_min': 1, 'max_cmd_len': 1024, 'mode': 0, 'res1': 0, 'res2': 0, 'res3': 0, 'res4': 0, 'res5': 0, 'res6': 0, 'object_size': 48, 'raw_data': bytearray(b'\x01\x00\x00\x000\x00\x00\x00\x02\x00\x00\x00\x01\x00\x00\x00\x00\x04\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00')}

device is not unlockable. adb unrelated

I read something about doing this in EDL mode but I cannot find a lot of information about this.

try old unlock method by modifying devinfo https://forum.xda-developers.com/showthread.php?t=4100897

I found a list of all firehose files. But how do I know which one belongs to my device? https://www.gadgetsdr.com/all-qualcomm-prog-emmc-firehose-programmer-file-download/

check specifications of device SoC is UFS or eMMC + qualcomm model + suffix OPPO

I found the firehose for another device that has the same SoC but QFIL is giving me sahara failures. I tried disabling my antivirus, put windows in test mode, disabling integritychecks and enabling testsigning. But all to no avail. I think I might give up and buy a new decent device.

first find test point, enter EDL mode, install Qualcomm HS-USB QDLoader 9008 Driver, enter EDL mode again and start sahara within first < 30 seconds - only then it may work. btw linux https://github.com/bkerler/edl is much easier to use

I tried this and it cannot find a loader, also see edited post. I'm giving up. Going to the store this afternoon and probably buying me a Xiaomi Redmi Note 10 Pro ;)

probably no loader exist (or not yet imported from https://github.com/bkerler/Loaders/tree/main/oppo) but you can always provide own loader (which you found previously) https://android.stackexchange.com/q/226838

This was an MBN file, not a BIN file like the EDL tool uses. I don't feel comfortable enough around this stuff to figure this out. I have a general grasp of what's going on but I have come to the point where I do not longer know what I'm doing.

file name doesn't matter. edl.py provides module for oem unlock too. However chances to unlock are low to zero, be wise :)

Yea that seems like an awful lot of trouble for a low chance of succes


text:
Identifying this bare mobile phone board
I got hold of this bare mobile phone board (didn’t come with the original cover, so no real way to confirm, only knowing it’s non-Western manufactured). Just needing to identify the model.
I’m attaching a snapshot of the backside:

Notice the K107TOZCG V8.7 (A9) & B20210625 M32 serial.
Doing a search on these serial numbers didn’t turn up anything (these agencies, huh?). Only confirming that the hardware is meant to conform to Android 9, which the board came preinstalled with, & it is an ARM32 (confirmed by it apparently being equipped with 4GB — to be confirmed still); as I booted the board already.
The approximate dimensions are 6.5mm x 11.5mm.
EDIT:
I actually meant, 6.5cm x 11.5cm — centimeters. I meant the BOARD. Stupid, glitchy brain enabling even stupider people. No need to rig the search results to show those dimensions of the chips. Like I’ll desolder these chips to be re-used. Just buy any embedded device & you’ll get just as good capacities.

You do know that by flashing a modified Android kernel, you can spoof the hardware information & the apps would have but no idea, right?

Although, true, I can just boot to another Android image via fastboot, but why all the hassle when I can identify by simply looking at the hardware?

You wanna bet it’s a MTK6592? I’m fighting off the urge to cutoff the heat spreaders (don’t have an expensive rework station yet).

Why would the eMMC chip  (NAND flash) be a more important indicator than the SoC? Oh, I’ll take them both heat spreaders off if it calls for it. I’m just being careful for the moment. (comment edited by moderator)

origin of mainboard could be karbonn mobile too (the tag you removed) and there is eMMC 16/32 GB version available

manufacturer: JLinksz K960 Tablet
mainboard version: k107-mb-8.7
mainboard date: 2020 09 01

MediaTek MT6580A Quad Core SoC
SK Hynix H26M52208FPR 16GB eMMC*
Kernel 3.18.35+ (= Android 7 Nougat)

*eMMC manufacturer may vary on mainboard version

source: chinaphonearena.com


text:
Boost sound volume on my MXQ Android box where Audio Boost apps don't work
This is MXQ Pro 4k box on Amlogic S905 chip.
It is embarrassingly quiet when playing through the AV jack with some good active speakers attached. My Ubuntu laptop is able to play loud on those speakers. The MXQ Box itself is able to play loud via the HDMI when connected to a regular TV.
I suspect Android thinks it's headphones attached to the AV jack and halves the volume to save my ears. But actually it's good speakers and I want it loud.
Volume boost programs don't work. One of them - "Volume Booster GOODEV" - splashed a baloon saying something like "Loudness Enhancer Effect" is unavailable to the app.
So I went redeye and started exploring the files on the device.
/system/etc/audio_effects.conf mentions the loudness enhancer twice, the .so file is in place at the path mentioned, looks ok to my ignorant view:
libraries: {
......
  loudness_enhancer {
    path /system/lib/soundfx/libldnhncr.so
  }
}
.....
effects: {
  loudness_enhancer {
    library loudness_enhancer
    uuid fa415329-2034-4bea-b5dc-5b381c8d1e2c
  }
}

So I thought I am unable to give the Goodev app and plethora of other equalizers access to the effects, and started to dig more.
I somehow managed to add "volume steps" in the build.prop:
ro.config.media_vol_steps=16

unfortunately that didn't make the speakers any louder.
Is there a ro.config.media_vol_max_db anywhere? How do people know what magic letters to spell in the config?...
Okay, then I've googled about the mixer_paths.xml that allows people to boost the voulmes of their phones from some default 84 mystery units to 100... unfortunately, this is how my mixer_paths.xml file looks like:
<mixer>
  <!-- dummy xml conf, do nothing here -->
  <path name="speaker">
  </path>

  <path name="headphone">
  </path>

  <path name="main_mic">
  </path>

  <path name="headset-mic">
  </path>
</mixer>

Question: what should I try next?
The firmware looks a little like this if you want to really dig in
https://mega.nz/file/l1x0GLDY#p3hs8aZxIAMM5LwIOtfpyis_w7C7XPQgYYBevGxkAmc
the board looks like this
https://ds-blobs-3.cdn.devapps.ru/8413380.jpg
Add: There are some ALSA artifacts in the filesystem, too: /usr/share/alsa/alsa.conf and ../pcm/default.conf

I haven't ever fiddled with an android box, so this may be a stupid suggestion - obviously device is rooted (seeing what you tried), so why not install ViPER4Android (V4a) on it? // Be warned that V4a installation on a normal Android phone can vary from being easy to make you pull your hair out//Google XDA and other sources for the appropriate V4a for the Android version running on the box and you can tweak not only loudness, bass etc but it is only limited by the skill you have and your taste

@beeshyams, I'm trying but I'm having difficulties even finding an appropriate apk to download (nothing in Google Play, many links are dead or kinda sus)

What is the Android version? Check on the Telegram group here (I downloaded from here for Android 12 but it may work for you too but better to ask in the group) https://t.me/ViPER4AndroidFX

it's 5.1.1, the cpu can't bear any newer. it was collecting dust on the shelf because I gave up a couple of years ago to boost the volume... Will try the link (doesn't download from the web telegram for some reason)

I've seen this link but it doesn't work for me - server doesn't ping: Name or service not known. Tor tried too to no avail. Another link mentioned in the thread - https://zackptg5.com/android.php#viper - has some "magisk" zip which I only have to figure out what to do with. Thank you a lot for helping! I think I will eventually manage to try it. However there they say that you have to switch off some MusicFX - I do have one, and their functions seem duplicating. so I'm wondering if I'm able to increase the volume with some existing tool also

This may help https://forum.xda-developers.com/t/guide-how-to-make-viper4android-work-on-5-0-x-lollipop.3018961/

Let us continue this discussion in chat.

I already feel uncomfortable to borrow so much of your time for this, especially with me not really wanting to become an android hacker for just wanting to increase the volume of some chinese box. But if I dive into it (I already see the requirement to switch off the MusicFX and everything) I will ask you for some minor details in chat, thank you!


text:
adb restore pauses indefinitely when source phone has SD card and target phone has none
I ran an adb backup like:
adb backup -apk -shared -all -nosystem -f /tmp/android-backup.ab

The backup progress screen stopped showing any progress, as did my adb logcat | grep BackupManager. A few minutes later, I ran an unfiltered logcat and found:
10-27 13:57:59.716  1546 30369 D BackupManagerService: Invoking agent to restore file 1/Download/some.pdf
10-27 13:57:59.733 16987 16998 W Binder  : Binder call failed.
10-27 13:57:59.733 16987 16998 W Binder  : java.lang.ArrayIndexOutOfBoundsException: length=1; index=1
10-27 13:57:59.733 16987 16998 W Binder  :      at com.android.sharedstoragebackup.SharedStorageAgent.onRestoreFile(SharedStorageAgent.java:80)
10-27 13:57:59.733 16987 16998 W Binder  :      at android.app.backup.BackupAgent$BackupServiceBinder.doRestoreFile(BackupAgent.java:1112)
10-27 13:57:59.733 16987 16998 W Binder  :      at android.app.IBackupAgent$Stub.onTransact(IBackupAgent.java:179)
10-27 13:57:59.733 16987 16998 W Binder  :      at android.os.Binder.execTransact(Binder.java:682)
10-27 13:57:59.733 16987 16998 D SharedStorageAgent: Shared restore: [ shared : 1/Download/some.pdf]
10-27 13:57:59.734  1546  8971 V BackupManagerService: opComplete: f86aebb result=0

How can I change my approach so that the restore will work the next time?

On the PC you can decrypt and extract the adb backup file, remove the sd-card files, repack everything and then apply/install it. Use Android Backup Extractor.

please note that /sdcard is unrelated to MicroSD Card

I have confirmed that some.pdf can be found in the Downloads/ of the SD card of the source phone when connecting over MTP. I believe the ArrayIndexOutOfBoundsException traceback is a very unclear way of saying that there is no SD card on the target phone, where adb restore is trying to push the file.
I want to save the shared files, but not the ones in the SD card. I don't see any flags in adb shell bu help to do that.
So it looks like the best solution is to remove the SD card from the source phone, if the target phone does not have an SD card installed.


text:
Extracting the a system app from stock OTA, then installing it on a custom ROM
I'm using a OnePlus 9 Pro running crDroid v7. The OnePlus 9 Pro is made in conjunction with Hasselblad, they provide a better camera and accompanying app that utilizes the camera to it's full potential. I installed the custom ROM for it's extra functionality, but there have yet to be good GCAM configs for the special camera, or other camera apps that work good with this model, so I would like to have the stock camera app installed on the custom ROM. Is this possible? The stock ROM for this model is called Oxygen.
Here is what I've tried so far:

I've found an extracted .apk from the indian oxygen, and I've tried installing this .apk using the systemize magisk module. This installs the app, but it doesn't function. Afterwards I found out this was for the 9R, not the 9 Pro.

I've found a dump of the OTA, and extracted the /system/priv-app/OnePlusCameraService folder from it. I've tried putting this folder into the /system/priv-app/ folder on my custom ROM. This didn't do anything (visible).

Inside the dumped OnePlusCameraService folder, there is an .apk file. I'm guessing that's standard. I've tried installing that .apk file using the systemize magisk module. This cause my phone to get stuck on the booting animation after reboot.

I do not understand the app installation process that well. So I'm kind of at a loss right now. Is there a way for me to extract the stock camera app from the OTA dump, and install it on my custom rom? I forgot to mention the fact that this app does have to be installed as system, otherwise the installation process will simply fail.
OTA Dump: the dump
I appreciate all the help I can get! :D

You simply can't install Oxygen OS camera on your OnePlus device running crDroid because the only requirement to run the Oxygen OS app package on an AOSP based ROM isn't the apk from an OTA dump alone. No matter you install it as a system/app or system/priv-app or /system/vendor/priv-app etc, it'll still force close.
You need to port the necessary camera libraries, the apk itself, some props etc to enable it to function on AOSP. YOu might also need the exact stock ROM signature on your device (I assume crDroid is using Pixel 5 signature). All this is really hard even for an experienced dev since OnePlus ofcourse don't want you to get all those special camera features on anything except on the stock ROM.
Googling "Oxygen OS Camera Port" will help you find some port APKs but I'm afraid you would still not get those "Hasselblad" specific features.

Thank you very much for your structured answer. This fully explains my issue. I'm no where near experienced enough in android Dev. But I have quite some experience in java, so just for my own amusement I'm going to try and pull the apk apart. I will contact the devs of my custom ROM if they have any plans to port the stock app. If not, then so be it. At least I now know whats up. Thank you!!!

Welcome. Neither am I an expert in this porting stuff, else i would have been happier to help you out


text:
How can one increase the number of suggestions for the next words in Google Keyboard?
I wonder how one can increase the number of suggestions for the next words in Google Keyboard. By default, only three words are shown (a, the and one in the screenshot below):

I use Android 10 with Samsung Galaxy S9.

Gboard does not have this feature, hence no setting for it. You can request Google to add this in the Android help community (Gboard does not have a dedicated forum).
Alternatively, use a keyboard that let's you do this (I am not aware of any but then I never looked for this feature)


text:
How to add user for busybox su
I have successfully been able to copy busybox into system/bin/. I have also set busybox
chmod +g busybox
chmod +s busybox
chmod 4777 busybox

When I run busybox su it says user root not found. How do I add the user in android?. Maybe I will need to write some files in system/etc maybe?

busybox su is no valid applet on android (along with many others)

I was able to add a user with busybox useradd root but because android doesn't use /etc/passwd busybox su will not work


text:
How to find the long device model name in LineageOS/Android 10?
If I search for "how to find model name on Android", I get a bunch of results like:
https://www.sony.co.in/electronics/support/articles/SX368101

Use the model name from Settings
Open your phone settings menu
Android 10
Tap Settings > About phone > Model

Sure, but when I look there in LineageOS 17.1, I see Model & Hardware / Model : SM-A320FL
How do I find that this is "Samsung Galaxy ... [what?]"?
Has it been like this always? That Android never writes out the full/long/marketing name of the device, but only model number?

EDIT: I'm aware I can look up in a search engine "SM-A320FL", but I'm not interested in that - I'm interested in finding the device long model name from the running Android, even if it does not have Internet connection

On my Pixel 3a, stock ROM, Android 12, the "Model" is showing "Pixel 3a". On my Nexus 5, Lineage OS 14.1 (Android 7.1.2), the "Device model" is showing "Nexus 5". In fact, both devices don't show the model number! Since the model name is configurable during the making of the ROM (it's on build.prop), possibly the ROM maintainer decided to use the model number instead since Samsung devices usually have many variants with the same model name.

Use any of those "system info" apps maybe


text:
Recovery mode for tab A6 SM-T585
my tablet entered a restarting loop I want to go to recovery mode but I can't using buttons I tried miracle box doesn't working how can I exit this loop or force it to get into recovery mode ?

let battery drain. keep holding home + volume up buttons, connect charger

Please clarify your specific problem or provide additional details to highlight exactly what you need. As it's currently written, it's hard to tell exactly what you're asking.


text:
Parallel Space alternative with apk installation support
So, there exist some apps which can work as a container to install (Clone to be precise) other apps in it. One eg app is Parallel Space
It's not hard to find a whole bunch of them, but all of them lack the ability to install them directly from apk file. It requires the app to be installed on the main device first to be cloned (after that you can uninstall them from the main device of course), some of them do allow direct installation from Google Play but that's all about it while I'm looking for a solution that can install from apk files too.
I'm not looking for multiple-user solutions (that Island-like apps provide).
I'm aware of VMOS-like apps, which do support installing apk (by emulating a whole Android environment, which seems overhead (i.e. an expensive option) for me).
Some conceptions that I hold: (please correct them if I'm wrong)

Apps inside [Parallel Space]-like apps can't run in the background if the host app itself is not running in the background.
VMOS-like apps are very resource-consuming (CPU, GPU, RAM, Storage) than [Parallel Space]-like apps.

If you want to install an app inside a container you need some sort of virtualized Android environment. What an app can do is very limited on an unrooted device, therefore I would be surprised if an app like you are searching for would exist.

@Robert Yup, I have a rooted device. Do you have any suggestions now? (Alto, I don't think root is needed for this (Check VMOS), that's why I didn't add it in the OP).

Yes root is not necessary if you emulate everything. But you are searching for a way between ParallelSpace and VMOS. And even if this sounds reasonable this does not means anybody have ever tried it or built an app to do so. At least I don't know what you are looking for. In my opinion you should modify your question and describe why you dislike the ParallelSpace approach. May be someone has an idea how to circumvent your problem with ParallelSpace

It's already very clear in the Title, that I don't want to install the app on phone before using it on parallel space. (You can do that if the app is in Playstore, but I want to install from APK). All of these is already explained in details on the OP from the very beginning. BTW, I'd appreciate your root option, if you have any.


text:
How to enable usb debugging with locked screen in Samsung Galaxy A51?
I forgot my pattern to unlock my phone and I rebooted it, so no way to use finger print or facial recognition. I want to remove the gesture.key file with adb command but USB debugging option needs to be on.
Is there any way to enable USB debugging with the screen locked ?

Deleting the gesture.key does only work on old Android devices as far as I know. What Android version is installed on your Samsung A51?

@Robert oh I didn't know, it's android 11

if you forgot your pattern the only other way to unlock is remote https://findmymobile.samsung.com any other by-pass method you find will not work or erase all data

@alecxs the airplane mode is activated so findmymobile doesn't work, and I can't inactivate it without unlocking the phone

long press power button and disable airplane mode (no unlocking needed)

@alecxs nope you can't do it on this phone, all I can do is reboot it.

then factory reset and unlock with google account afterwards


text:
Let's Encrypt Root certificate expired on old Android tablet. How to fix?
I have an old Android tablet, and websites with Let's Encrypt SSL certificates no longer works.
On Let's Encrypt's web site they basically just says it should still work
But in my case, it doesn't, I get "NET ERR_CERT_AUTHORITY_INVALID" error. Date on the device is correct.
Does anyone know if there's a solution to this? Shouldn't it be possible to install the updated certificate manually? If so, exactly where can I download it, and how is it installed?

@Robert thanks, I guess it does answer it, in the way that the answer seemingly is "No, it's not possible to fix unless you have root" :-(

So your tablet is running Android 6 or 7.0? because otherwise you can simply install the rot CA certificate as user certificate. And if it is running 6 or 7 finding a vulnerability for rooting it should be easy.


text:
Is it possible to bypass the lockscreen using adb without a factory reset?
I found my old htc desire (O2 network) lying in a drawer and decided to boot it up
to see what's on it.
I seem to have forgotten the lock pattern (at least it doesn't recognise the one's I remember).
It has a SIM in it but it is ancient as I upgraded phones twice since.
Likewise I have changed my wifi password more than a few times since.
So its impossible to use my gmail password as it has no wifi connection.
It does have adb debugging switched on however and I have managed to get "adb shell" to work.
Q Is it possible to bypass the lockscreen using adb without a factory reset.
The first thing I tried was:
reboot recovery

The phone rebooted but now displays a picture of a phone with a red triangle and an exclamation mark.
This apparently is recovery mode but I could not see how to do anything from here.
adb does not work in recovery mode.
I think the only thing that can be done from there is a factory reset.
but how?
To exit recovery mode I had to remove the battery, wait 5 seconds and power on the phone.
The next thing I tried is:
adb shell rm /data/system/gesture.key

which gives:
rm failed for /data/system/gesture.key, Permission denied

I'd like to see what data is left on it without a factory reset if that's possible.
Is it?
What can I do from here?
This page suggests I need to be in recovery mode to do this.
But adb does not want to connect in recovery mode.
Would putting a pay as you go SIM in help? Assuming I can find a full size SIM anywhere these days?
If it was recognised I could then try the recovery via gmail option.
See also Can not unlock my Android device as have no internet connection?
Answers to suggestions in comments:
>adb ls /sdcard
/sdcard/: 0 files pulled, 0 skipped.

Unsuprising as there is no SD card
However I can pull default.prop:
>adb pull /default.prop
/default.prop: 1 file pulled, 0 skipped. 0.0 MB/s (118 bytes in 0.026s)

>more default.prop
#
# ADDITIONAL_DEFAULT_PROPERTIES
#
ro.secure=1
ro.allow.mock.location=0
ro.debuggable=0
persist.service.adb.enable=0

This is what I can see:
>adb ls /
000041ed 00000000 12d941d9 .
000041ed 00000000 12d941d9 ..
000043ff 0000003c 12d941f1 app-cache
00004140 00000000 12d941d9 config
000041f8 00000800 4f6201b3 cache
0000a1ff 0000000b 12d941d9 sdcard
000041ed 00000000 12d941d9 acct
000041fd 00000000 12d941d9 mnt
0000a1ff 00000011 12d941d9 d
0000a1ff 0000000b 12d941d9 etc
000041ed 00000800 4f620179 system
000041ed 00000000 00000001 sys
000081a4 00000000 00000000 shutdown.bravo.rc
000041e8 00000000 00000000 sbin
0000416d 00000000 00000000 proc
000081e8 00003980 00000000 init.rc
000081e8 0000068d 00000000 init.goldfish.rc
000081e8 00000f2f 00000000 init.bravo.rc
000081e8 0001b54c 00000000 init
000081a4 00000076 00000000 default.prop
000041f9 00000800 4bd8043c data
000081a4 000001cc 00000000 bootcomplete.bravo.rc
000041c0 00000000 4c921e8f root
000041ed 00000564 12d941da dev

This is the first time I've used adb so I'm not familiar with what I can and can't do.
If I do:
>adb pull /

I think I can pull all that is pullable. Is there any important user data in the read protected files I miss doing this?
A wifi hotspot with the old settings is a good idea but I can't remember them.
Just found a driver full of backup data for this phone dated 2011. Possibly from when I upgraded. So even older than I thought.
--
>printenv
ANDROID_ROOT=/system LD_LIBRARY_PATH=/system/lib
PATH=/sbin:/system/sbin:/system/bin:/system/xbin
ASEC_MOUNTPOINT=/mnt/asec
BOOTCLASSPATH=/system/framework/core.jar:/system/framework/ext.jar:/system/framework/framework.jar:/system/framework/android.policy.jar:/system/framework/services.jar:/system/framework/com.htc.framework.jar:/system/framework/com.htc.android.pimlib.jar:/system/framework/com.htc.android.easopen.jar:/system/framework/com.scalado.util.ScaladoUtil.jar
ANDROID_BOOTLOGO=1
ANDROID_ASSETS=/system/app
EXTERNAL_STORAGE=/mnt/sdcard
ANDROID_DATA=/data
ANDROID_PROPERTY_WORKSPACE=10,65536

>adb shell getprop
[ro.secure]: [1]
[ro.allow.mock.location]: [0]
[ro.debuggable]: [0]
[persist.service.adb.enable]: [1]
[ro.factorytest]: [0]
[ro.serialno]: [HT083PL02777]
[ro.bootmode]: [normal]
[ro.baseband]: [5.11.05.27]
[ro.carrier]: [O2-UK]
[ro.bootloader]: [0.93.0001]
[ro.bootreason]: []
[ro.hardware]: [bravo]
[ro.revision]: [131]
[ro.cid]: [O2___001]
[ro.emmc]: [0]
[ro.FOREGROUND_APP_MEM]: [3584]
[ro.VISIBLE_APP_MEM]: [4096]
[ro.SECONDARY_SERVER_MEM]: [6144]
[ro.BACKUP_APP_MEM]: [6144]
[ro.HOME_APP_MEM]: [6144]
[ro.HIDDEN_APP_MEM]: [7168]
[ro.CONTENT_PROVIDER_MEM]: [7680]
[ro.EMPTY_APP_MEM]: [8192]
[ro.ril.ecc.O2-UK]: [112,911,999]
[ro.ril.enable.a52.O2-UK]: [1]
[ro.ril.enable.a53.O2-UK]: [1]
[ro.ril.hsdpa.category]: [8]
[ro.ril.hsupa.category]: [5]
[ro.ril.hsxpa]: [2]
[ro.ril.disable.fd.plmn.prefix]: [23402,23410,23411]
[ro.ril.enable.sdr]: [0]
[ro.aa.cidlist]: [O2___102]
[ro.aa.modelid]: [PB9920000]
[ro.aa.skulist]: [207]
[ro.aa.maincid]: [O2___102]
[ro.aa.project]: [Bravo_Froyo]
[ro.aa.romver]: [2.29.207.4]
[ro.build.changelist]: [345089]
[ro.aa.mainsku]: [207]
[ro.aa.customizationid]: [58488]
[ro.aa.rid]: [1128]
[ro.aa.taskid]: [224278]
[ro.com.google.clientidbase]: [android-htc]
[ro.build.id]: [FRG83G]
[ro.build.display.id]: [FRG83G]
[ro.build.version.incremental]: [345089.4]
[ro.build.version.sdk]: [8]
[ro.build.version.codename]: [REL]
[ro.build.version.release]: [2.2.2]
[ro.build.date]: [三 11月  2 21:23:24 CST 2011]
[ro.build.date.utc]: [1320240204]
[ro.build.type]: [user]
[ro.build.user]: [root]
[ro.build.host]: [ABM041]
[ro.build.tags]: [release-keys]
[ro.product.model]: [HTC Desire]
[ro.product.brand]: [o2_de]
[ro.product.name]: [htc_bravo]
[ro.product.device]: [bravo]
[ro.product.board]: [bravo]
[ro.product.cpu.abi]: [armeabi-v7a]
[ro.product.cpu.abi2]: [armeabi]
[ro.product.manufacturer]: [HTC]
[ro.product.locale.language]: [hdpi]
[ro.product.locale.region]: []
[ro.wifi.channels]: []
[ro.board.platform]: [qsd8k]
[ro.build.product]: [bravo]
[ro.build.description]: [2.29.207.4 CL345089 release-keys]
[ro.product.ua]: []
[ro.build.fingerprint]: [o2_de/htc_bravo/bravo/bravo:2.2.2/FRG83G/345089.4:user/release-keys]
[ro.build.project]: [Bravo_Froyo:224278]
[ro.product.version]: [2.29.207.4]
[keyguard.no_require_sim]: [1]
[ro.sf.lcd_density]: [240]
[rild.libpath]: [/system/lib/libhtc_ril.so]
[ro.ril.enable.dtm]: [1]
[ro.ril.gprsclass]: [12]
[ro.telephony.default_network]: [0]
[wifi.interface]: [eth0]
[wifi.supplicant_scan_interval]: [15]
[ro.opengles.version]: [131072]
[dalvik.vm.heapsize]: [24m]
[ro.ril.def.agps.mode]: [2]
[ro.phone_storage]: [0]
[ro.ril.disable.power.collapse]: [1]
[ro.ril.avoid.pdp.overlap]: [1]
[ro.ril.enable.prl.recognition]: [1]
[ro.media.enc.file.format]: [3gp,mp4]
[ro.media.enc.vid.codec]: [m4v,h263]
[ro.media.enc.vid.h263.width]: [176,1280]
[ro.media.enc.vid.h263.height]: [144,720]
[ro.media.enc.vid.h263.bps]: [64000,2000000]
[ro.media.enc.vid.h263.fps]: [1,30]
[ro.media.enc.vid.m4v.width]: [176,1280]
[ro.media.enc.vid.m4v.height]: [144,720]
[ro.media.enc.vid.m4v.bps]: [64000,2000000]
[ro.media.enc.vid.m4v.fps]: [1,30]
[ro.media.dec.jpeg.memcap]: [20000000]
[ro.htc.checkin.url]: [http://andchin.htc.com/android/checkin]
[ro.htc.checkin.crashurl]: [http://andchin.htc.com/android/crash]
[ro.htc.checkin.url_CN]: [http://andchin.htccomm.com.cn/android/checkin]
[ro.htc.checkin.crashurl_CN]: [http://andchin.htccomm.com.cn/android/crash]
[ro.htc.checkin.exmsg.url]: [http://fotamsg.htc.com/android/extra/]
[ro.htc.checkin.exmsg.url_CN]: [http://fotamsg.htccomm.com.cn/android/extra/]
[ro.bt.chipset]: [Broadcom BCM4329-B1]
[ro.bt.version]: [Bluetooth 2.1 + EDR]
[ro.bt.stack]: [Broadcom BTL-A]
[ro.bt.stack.version]: [2.0.50.032]
[ro.bt.profiles]: [4270339]
[service.brcm.bt.activation]: [0]
[service.brcm.bt.srv_active]: [0]
[service.brcm.bt.hcid_active]: [0]
[service.brcm.bt.btld]: [0]
[service.brcm.bt.btld_pid]: [0]
[service.brcm.bt.avrcp_pass_thru]: [0]
[service.brcm.bt.avrcp_toggle]: [1]
[ro.url.legal]: [http://www.google.com/intl/%s/mobile/android/basic/phone-legal.html]
[ro.url.legal.android_privacy]: [http://www.google.com/intl/%s/mobile/android/basic/privacy.html]
[ro.com.google.networklocation]: [1]
[ro.setupwizard.mode]: [DISABLED]
[ro.config.ringtone]: [Innovation.mp3]
[ro.config.notification_sound]: [Color.mp3]
[ro.config.alarm_alert]: [Light.mp3]
[ro.config.cal_notification]: [Vector.mp3]
[ro.config.msg_notification]: [Ascend.mp3]
[media.stagefright.enable-player]: [true]
[media.stagefright.enable-meta]: [true]
[media.stagefright.enable-scan]: [true]
[media.stagefright.enable-http]: [true]
[ro.com.google.gmsversion]: [2.2_r5]
[media.a1026.nsForVoiceRec]: [0]
[htc.audio.alt.enable]: [0]
[htc.audio.hac.enable]: [0]
[ro.media.enc.hprof.file.format]: [mp4]
[ro.media.enc.hprof.codec.vid]: [m4v]
[ro.media.enc.hprof.codec.aud]: [amrnb]
[ro.media.enc.hprof.vid.width]: [720]
[ro.media.enc.hprof.vid.height]: [480]
[ro.media.enc.hprof.vid.fps]: [24]
[ro.media.enc.hprof.vid.bps]: [2000000]
[ro.media.enc.hprof.aud.bps]: [12200]
[ro.media.enc.hprof.aud.hz]: [8000]
[ro.media.enc.hprof.aud.ch]: [1]
[ro.media.enc.hprof.duration]: [60]
[ro.media.enc.lprof.file.format]: [3gp]
[ro.media.enc.lprof.codec.vid]: [m4v]
[ro.media.enc.lprof.codec.aud]: [amrnb]
[ro.media.enc.lprof.vid.width]: [176]
[ro.media.enc.lprof.vid.height]: [144]
[ro.media.enc.lprof.vid.fps]: [15]
[ro.media.enc.lprof.vid.bps]: [256000]
[ro.media.enc.lprof.aud.bps]: [12200]
[ro.media.enc.lprof.aud.hz]: [8000]
[ro.media.enc.lprof.aud.ch]: [1]
[ro.media.enc.lprof.duration]: [30]
[ro.media.enc.aud.codec]: [amrnb]
[ro.media.enc.vid.h264.width]: [176,800]
[ro.media.enc.vid.h264.height]: [144,480]
[ro.media.enc.vid.h264.bps]: [64000,6000000]
[ro.media.enc.vid.h264.fps]: [1,30]
[ro.media.enc.aud.amrnb.bps]: [5525,12200]
[ro.media.enc.aud.amrnb.hz]: [8000,8000]
[ro.media.enc.aud.amrnb.ch]: [1,1]
[ro.media.dec.aud.wma.enabled]: [1]
[ro.media.dec.vid.wmv.enabled]: [1]
[ro.media.cam.preview.fps]: [0]
[ro.media.enc.jpeg.quality]: [95,85,70]
[ro.setupwizard.enterprise_mode]: [1]
[dalvik.vm.dexopt-flags]: [m=y]
[net.bt.name]: [Android]
[net.change]: [net.dnschange]
[dalvik.vm.stack-trace-file]: [/data/anr/traces.txt]
[persist.service.mount.playsnd]: [0]
[persist.radio.prefer.network]: [0]
[persist.sys.timezone]: [Europe/London]
[persist.radio.mosms.service]: [3]
[persist.sys.localevar]: []
[persist.sys.country]: [GB]
[persist.sys.language]: [en]
[ro.FOREGROUND_APP_ADJ]: [0]
[ro.VISIBLE_APP_ADJ]: [1]
[ro.SECONDARY_SERVER_ADJ]: [2]
[ro.BACKUP_APP_ADJ]: [2]
[ro.HOME_APP_ADJ]: [4]
[ro.HIDDEN_APP_MIN_ADJ]: [7]
[ro.CONTENT_PROVIDER_ADJ]: [14]
[ro.EMPTY_APP_ADJ]: [15]
[ro.error.receiver.htc.apps]: [com.android.updater]
[net.tcp.buffersize.default]: [4096,87380,110208,4096,16384,110208]
[net.tcp.buffersize.wifi]: [4095,87380,110208,4096,16384,110208]
[net.tcp.buffersize.umts]: [4094,87380,110208,4096,16384,110208]
[net.tcp.buffersize.edge]: [4093,26280,35040,4096,16384,35040]
[net.tcp.buffersize.gprs]: [4092,8760,11680,4096,8760,11680]
[net.tcp.buffersize.wimax]: [107380,221184,524288,4096,16384,110208]
[init.svc.servicemanager]: [running]
[init.svc.vold]: [running]
[init.svc.netd]: [running]
[init.svc.debuggerd]: [running]
[init.svc.ril-daemon]: [running]
[init.svc.zygote]: [running]
[init.svc.media]: [running]
[init.svc.dbus]: [running]
[init.svc.installd]: [running]
[init.svc.keystore]: [running]
[init.svc.ipd]: [running]
[init.svc.akmd]: [running]
[init.svc.zchgd]: [stopped]
[init.svc.adbd]: [running]
[ril.reload.count]: [1]
[ro.ril.nv.compare.result]: [128]
[ril.preferred.language]: [3:en]
[ro.ril.ecclist]: [112,911,999]
[ril.ecclist]: [112,911,999]
[init.svc.bootanim]: [stopped]
[hw.keyboards.65537.devname]: [curcial-oj]
[hw.keyboards.65538.devname]: [dummy_keypad]
[hw.keyboards.0.devname]: [bravo-keypad]
[hw.keyboards.65540.devname]: [bravo-keypad]
[hw.keyboards.65543.devname]: [projector-Keypad]
[hw.keyboards.65545.devname]: [h2w headset]
[net.hostname]: [android_200141cf2cba2a8b]
[net.active_wan]: [-1]
[sys.settings_system_version]: [8]
[dev.bootcomplete]: [1]
[init.svc.bootcomplete]: [stopped]
[ro.runtime.started]: [316228081821]
[wlan.driver.status]: [ok]
[init.svc.wpa_supplicant]: [running]
[gsm.version.ril-impl]: [HTC-RIL 2.2.0028HM (Sep 20 2010,22:33:44)]
[gsm.sim.types]: []
[gsm.sim.operator.numeric]: [23410]
[gsm.sim.operator.alpha]: []
[gsm.sim.operator.iso-country]: [gb]
[gsm.sim.cbmi.channel]: []
[net.dnschange]: [297]
[gsm.sim.state]: [READY]
[gsm.current.phone-type]: [1]
[gsm.operator.numeric]: []
[gsm.operator.alpha]: []
[gsm.operator.iso-country]: []
[gsm.operator.isroaming]: [false]
[net.gprs.data.connected]: [0]
[sys.settings_secure_version]: [1]
[gsm.version.baseband]: [32.49.00.32U_5.11.05.27]
[gsm.sim.change]: [false]
[gsm.cb.max.channel]: [10]
[gsm.allapns.created]: [1]
[ro.runtime.firstboot]: [316228100916]

If you can use adb shell then you can look inside the contents of internal storage (documents, images, music, etc.). As for app data I don't think that would prove to be useful to you at this time. What does adb shell ls /sdcard show you? Also, do not bother with solutions which suggests deleting gesture.key file. You need root access to do that which you don't have.

"its impossible to use my gmail password as it has no wifi connection" - assuming this option is still available in 2021, you could try to insert another SIM with mobile data enabled. If you know the old wifi settings you could also set up another hotspot with same SSID and passphrase

depending on android version you can try to boot custom recovery from fastboot. more intrusive methods exist, for example flash modified boot.img with adb root enabled in default.prop. raw dump of whole userdata partition is possible with flash tool if device is not too old. provide more details about phone model sure there is a way

PhilZ Touch recovery is maybe available as signed zip (can be installed straight from stock recovery). The no command screen is just part of recovery mode, press volume up + power buttons to continue

You can try some exploit for android 2.2.2 froyo to get a temp root shell, and delete /data/system/locksettings.db https://github.com/srclib/RageAgainstTheCage // https://forum.xda-developers.com/showthread.php?t=844966

another root method (probably not useful because it wipes data, just linking) https://android.stackexchange.com/q/17587


text:
Where to locate a dir without W^X? (/data/local/tmp)
I have an Android 10 LGK22 No-Rooted without option to do it (so rooting is out of the question/solution). Which is not ridiculously forcing W^X (the option to stop a binary from being executed from a home directory). At least on Termux.
However I'm trying to execute a busybox binary from SimpleSSHD's home folder. But I keep getting errors: permission denied. Same happens with Simple-Busybox, can't execute busybox on its own home folder.
I know it's doable within the tmp folder, but the default location on my phone /data/local/tmp is not world readable/writable/executable 777.
Is there any subfolder within /data/local/tmp with x permissions or somewhere else to execute a binary from?

On all devices I have encountered you can read, write and execute data from /data/local/tmp. On some devices you can't get the directory listing but if you know the exact file name you can use it.

W^X is enforced on Android Q+. Your Termux app must be targeting API level below Q. // /data/local/tmp/ is RWX for adb shell (UID 2000 and context u:r:shell:s0), not for world.

@Robert That's right. Usually with other vendors I can go into /data/local/tmp and copy busybox into it and be able to execute. However when I descend into that particular folder I don't have permission to even read.

@IrfanLatif I've been using several devices with Android Q, it depends on the vendor itself. With a Lenovo tablet with the greatest and latest Android not even Termux had the option to execute binaries downloaded and written with its own UID but on /data/local/0/tmp it did have the option for everyone to write, execute and delete (its own files, deleting files made by a different UID it was problematic but reading was not an issue).

do I understand right you can't execute termux binaries /data/data/com.termux/files/usr/bin (like busybox) not even from within termux app itself?

@alecxs On the Lenovo tablet (which is NOT the device I'm working on), yes. I DID NOT have the option to executed a copy of busybox downloaded with Termux on /data/data/com.termux/filex/usr/bin. But as I said, that's NOT the device I'm asking about.
With the LG device, I can't execute a busybox binary from home folder of SimpleSSHD.


text:
Is the bootloader button sequence defined in the firmware?
For a custom device that doesn't have the traditional phone buttons and no screen, is there a way to determine the button sequence to enter bootloader? I've seen the article howtogeek.com/249439/how-to-enter-androids-bootloader-and-recovery-environments/ which lists different manufacturers however I'm curious if there is a definition in the firmware itself.
For a small detail there are references that Xiaomi was used as the base for this custom firmware however since it's not a Xiaomi phone I don't want to button mash combinations and brick the device.

what device model?

@alecxs I'm not sure how to find that as it has no screen. Is it defined in the config or any files in the firmware then I can look it up for you. I got "OPM1.171019.026" from the build.prop.

getprop ro.build.fingerprint

@alecxs facebook/stella/stella:8.1.0/OPM1.171019.026

Oh, facebook builds hardware? what is it, a watch, vr glasses, tv stick? so the model name is "facebook" and codename is "stella" - could not find anything useful

A rayban glasses device. It's okay, you wouldn't find anything online about it. Thanks for the help.

It's probably of no use to enter bootloader as there is no usb to interact with. However universal method always is 'reboot bootloader' from adb or terminal. boot mode is determinated in bootloader aboot or lk little kernel (see comments here or this blog)


text:
Can I disable OEM lock from computer?
Can I disable the OEM lock of my Samsung Galaxy S8+ from my computer?

https://forum.xda-developers.com/showthread.php?t=3659305 // https://forum.xda-developers.com/showthread.php?t=4060701

For security reasons the only way to change the option "Allow OEM unlock" is from within the running device in the developer settings menu.


text:
Secure and legitimate way to get remote access to another Android phone (without root)
Let's say that I have a legitimate reason and permission of someone to do something akin to screen-mirroring (a'la VNC, desktop sharing of PCs) through remote login of their Android phone, over the network on my PC or my Android phone, without requiring phone to be rooted, in a very secure manner s.t. others or malafide crooks cannot use same method for nefarious reasons. Is there some such solution available that someone could share pointers to with the above requirements ? It'd be also very desirable that I do not have to involve a third-party server (s.a. to avoid any potential man-in-the-middle security issues).
Please note that the use-case is legitimate because it is set up with the express knowledge and permission of the owner of the target Android handset and it is not for eavesdropping or other illegal purposes.
As for mechanism being secure, I'd hope that it'd be based on some strong security mechanisms s.a. preshared secrets, or preshared certificates for mutual authentication and ideally multi-factor.
When the device is being remote-controlled, on the target device there should be a very clear visual indication of such being underway.

The only solution which comes to my mind that doe snot use 3rd party servers is scrcpy in combination with ADB over Wifi/IP. The only problem is that ADB over IP is everything but secure as it is a plaintext protocol without any protection. All the other solutions base on a 3rd party app that has a system app signature and thus can share your screen.


text:
Script to interact with camera and take RAW pictures for astrophotography
On a SAMSUNG Galaxy Note 20 Ultra, I would like to take back to back pictures and store them as RAW format automated by a script (that needs to run for hours). I much prefer to store bit counts by the camera sensor if possible (this is for astrophotography).
I'm a python developer and have never been exposed to android ecosystem (please be easy on me). I would appreciate a step-by-step guide.

Android has a Doze mode which means that unless the device is plugged in for power, apps will be suspended after a period of time.

Android device manufacturers may add in their own power saving mechanism, resulting a site like dontkillmyapp.com to exist. If you are running your activity while charging, you should not have issues, but just in case, be aware of OEM/ODM power management.

If you are looking for an camera app there is Open Camera whose help page is extensive regarding available controls/settings and can be configured to take multiple images with a timer. Alternatively look through Izzy's list of camera apps to see if an another camera app fits your needs.

There are apps like Tasker which allow for additional automation.

Note that while a specific device may have a large image sensor, third party apps are limited to what is given by the Android Camera APIs, and that the manufacturer's "stock" camera app may have features not exposed via official APIs.


text:
Android localhost to hotspot wlan0 UDP port not accesible
I have a drone remote that has android in it. It has an internal telemetry server that is publishing data on localhost:14445 via UDP. When I open the hotspot from this device and connect to it with my computer I'm getting the usual 192.168.43.xx type of IP address. I can ping internal IP addresses of the remote (other than 192.168.43.xx form, for example, devices attached to eth0 interface with IPs like 192.168.144.xx) so I have some sort of access to internal IP's from the hotspot.
But I cannot communicate with the internal UDP port I mentioned before. As Wireshark shows, something is blocking the UDP connection between hotspot and internal IPs.
I tried port forwarding and it didn't work but I don't know if I did it correctly.
I have busybox and root access, please help me. I can give further information upon request.


text:
Certificates and deadlines
Scope: mobile - Android
Subject: Let's Encrypt certificate, ISRG Root X1
Hi, as Internet veterans know well, this certificate has expired since September 30th.
Many "obsolete" devices have been affected, experiencing an unpleasant block when accessing sites that use Let's Encrypt for SSL certificates.
The certificate root in devices no longer supported are therefore no longer valid.  This limitation would have affected systems from Android 7 onwards.  I have experienced too the inconvenience, with the unpleasant surprise of suddenly being denied access to a domain of my interest.
Many users, within that domain, have complained.  One of them suggested manually installing a certificate 'pem' directly from Let's Encrypt (https://letsencrypt.org/certificates/).
This operation worked, but then, shortly after the numerous complaints, the site was again visible even to those who had not followed the manual installation procedure of the certificate.
For this reason I removed the certificate immediately after, and indeed the navigation continued to give no more problems.
I then read (https://letsencrypt.org/2020/12/21/extending-android-compatibility.html) that Let's Encrypt had found a buffer solution to stem the incompatibility of the old certificate root with the SSL read by browsers (made except for Firefox, which does not give problems, since it has its own certificate's independent of the root ones mentioned).  This fallback solution is expected to work until early 2024.
After these premises and illustration of the matter, I would have a couple of doubts:

How come I currently find myself among the user certificate's (not the pre-installed or automatically updated system ones) a certificate ISRG Root X1, issued by the issuer CA Internet Security Research Group (as many will know, at the base of Let's Encrypt), which even certifies a deadline of 6/4/35 (release date 6/4/15 - June 4th)?  that is, how is it possible that it has self-installed without my intervention?

Is it possible that something as trivial as an obsolete certificate cannot be adjusted by the user, precisely by installing the new certificate issued (as I had done at the suggestion of the aforementioned user, evidently better informed)?  If the answer is that it is possible, then, on the fateful date of 2024, there will be hopes of keeping their browsers "alive" for owners of devices mounting, e.g., an Android 7 or older? How is it possible, moreover, that Google is unable to update these certificate's, regardless of whether the device is no longer supported by the manufacturer?

regarding 1) afair they increased expiration server side (don't ask me how) regarding 2) only for unlockable/rootable devices (or via exploit) https://android.stackexchange.com/q/231025

P@alecxs But about 1) how can be explained the presence of the ISRG Root X1 certificate without I having installed it from SD? (please look at the 2 pics I've added above)

I don't think it's new certificate

@alecxs but in your opinion how is it possible it has been installed without my action?

I don't think this certificate was recently installed. In my opinion (which is probably wrong) it's the same certificate as before, just expire date has changed server side

@alecxs Thanks, but notice that I had installed the updated root X1 certificate giving it a casual name 'xyzx', and after, as I've said in my question #1 above, I had uninstalled it. Before installing it (and also after uninstallation) the user certificates list was completely empty Moreover I've seen following your link that it seems necessary having two files X1 and X2. Some Idea?