text:
Installing Android on Nokia Lumia 520 Using MacOS Computer
I am trying to install Android on my Nokia Lumia 520 so I can use it as a hardware device to debug my apps for Android app development. I use a Macbook Air (MacOS), and tried to search for tutorials to install Android on my Nokia Phone, but I can't find any tutorials for MacOS. Can anyone give me the steps for installing it on my Nokia mobile phone?

If you watched the videos from https://forum.xda-developers.com/t/android4lumia-android-for-lumia-52x-620-and-720.3985347/ you'll see a Windows program used to flash stock ROM on device, so you'll be better with Apple Boot Camp / Windows install (or get a old PC with Win). 2) You will also note that a number of features on the phone doesn't work with Android ROM including Camera and Accelerometer. For fun sure, for development, avoid any grief/problems and buy a cheap Android phone where everything works and can be used for debugging Android apps.


text:
Lg G5 sa recovery
Love my phone but old, have had it 'die' on me twice now in last 6 weeks. Just got it working after screen showed Fileware upload do not unplug for an hour. I disconnected battery whilst it was plugged in. bingo....working again but what if it dies and I cant get it working. How and where do I back everything up?

Does this answer your question? How to fully back up a phone's content to a PC, possibly for restoring on a similar phone

source: Stack Exchange

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

sort: votes


text:
Turn off "Unfortunately [app] has stopped" popup
I'm wondering if it's possible to disable this popup. I've an old phone that I use rarely where I uninstalled some critical apps, that I don't use. Phone works flawlessly apart from constant popups. Maybe there is a Magisk module or something. Thanks

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


text:
How to recover the encrypted data after a hard reset of a moto G8
I forgot my pattern to unlock my moto G8 so I decided to make a hard reset to access it; which I successfully did and gained access into my phone. I never had any data in the sd card nor google drive; I got access  to my Gmail acct, photos app etcetera; but then I realize that some apps like google messages, whats app, and some others didn't show the previous data or messages.
After trying to get that data I found that google has that old data encrypted and is asking me for the pattern (Which I forgot and that's the reason that I did the hard reset!!) I tried to get encrypted data using the new pattern with no success and i also used what I think was the old pattern but finally I got a warning saying that I have only 3 more chances to try the pattern before the data will be wiped off.
Does anyone of you guys know how to recover that encrypted data?


text:
How do you root a merlinnfc? (Redmi note 9/10X 4G)
Hey there people of this.. site.
I've tried every "Real" method of rooting xiaomi 11.0.5 (My current ROM)
I've tried patched vbmeta images, TWRP, and all of the one click root apps ( Yes my antivirus did flag all of them), and I mean ALL of them. Kingo root, king root, whatever.
I've tried 2 TWRP methods:
The official one: I flashed the recovery partition with the "merlin" image (Yes this did in-fact worked, and my OEM is unlocked btw)
Result: The recovery partition DID NOT BOOT. simply stayed at ADB recovery for a while and rebooted.
An un-official method: I flashed 3 main partitions. Vbmeta, Misc, and recovery. The result? A firm-brick. Somewhere in between in severity of a soft / hard brick. What I mean by this is that it booted and just.. stayed black. There wasn't even a post screen saying "REDMI Powered By Android", luckily it somehow went into ADB recovery allowing me to go into fastboot and flashing the stock global ROM. And.. it worked, thank God.
Other recovery ROMS don't seem to support this device (merlinnfc) like orange fox for example.
In a sense, I've tried everything, and I am yet to defeat the 2020 November security patch.

Does this answer your question? Kingo Root fails and gives error code 0x11f116 (Xiaomi Redmi Note 9)

Does this answer your question? How to install Team Win Recovery Project and Root Xiaomi Redmi Note 9


text:
Wifi Hotspot - Getting 504 Timeout (and CORS) when cache is not disabled
I have an android phone that I'm using for wifi hotspot to which I connect my laptop to. There is generally no problem with it however sometimes content just doesn't load.
I tried checking the Network DevTools to see what the problems are and figured out what requests were causing it. The causes were requests to a different domain and they are in "(pending)" status for a long time and eventually turning "CORS error missing Allow Origin". Upon examining further (using a different network) the responses properly have the needed headers and the requests properly have the origin matching the allow orgin header. When I tried checking again (with the mobile network), the response it receives is the 504 Gateway Timeout (which doesn't have the allow origin header) so Network DevTools i think treated it as CORS.
Now the thing is, when I try to use the "Disable Caching" feature of devtools everything works fine (except that caching is disabled so it eats quite more). So I am not sure what would be the cause of the 504 timeouts and if possible find a solution for it.
I've also noticed that I can load the requested url on a different tab and then that specific resource would load fine on the main site I was visiting but doing this for every resource is pretty tedious and doesn't really fix the issue. I have also tried using a different android device with the same SIM but it still had the same results.
As a band-aid, I was thinking of disabling cache for the specific domains but I am still unsure of how I will do it.

A Wifi Hotspot with caching? That does not sound like a regular Android Hotspot. What device are you using? As traffic is today mostly HTTPS that would require an intercepting HTTPS proxy which is by definition not a good idea...

I was thinking the same but wifi hotspot caching is really doubtful. The devices I tried it on were Huawei and Sony phones.


text:
How to disable battery saving when battery level is below 15%?
I used an old tablet to operate a smart home. In order to work continuously, I took the battery out of it and connected it to a 4V power source, which works continuously. Based on the measured battery resistance between GND and BSI, I soldered a 10k resistor. After this treatment, the tablet works properly, only despite the constant voltage level, the battery level drops after a few hours to 1%. I would not have a problem with it if the battery saving function did not limit the capabilities of the device. Is there any way to turn it off? The tablet has root access.

Any particular reason why you could not go ahead with keeping the device connected to a charger all the time? Device is old, so battery degradation due to constant charging should not have been an issue. Anyhow, which Android device is it? Do you have root access? What battery saving functions are you talking about? I don't think proper battery saver (the way it exists in newer Androids) existed back in Android 4.

If you leave the device connected to a charger with a li-ion battery, the battery will overcharge over time and begin to swell. Due to the fact that this device is supposed to work continuously all year round when hanging on the wall, I took the battery out of it for safety. In addition, I led out the wires on the back of the housing, so the usb socket is empty and no visible plugs or wires stick out. The device is a Samsung Galaxy Note 10.1 and has root access. Features that reduce battery consumption include, for example, the inability to adjust the backlight or slowing the processor clock.

Ah, yes. Safety issue is a big one. Thanks for clarifying that.

You may be able to mock the battery level to 100% by using ADB by the following command:
adb shell dumpsys battery set level 100

The battery level should then stay at 100%.


text:
ADB and Galaxy A71 5G
I use ADB to reprogram the toggle for Airplane Mode such that turning on Airplane Mode does not turn off WiFi and Bluetooth. The command is:
adb settings put global airplane_mode_radios cell,nfc,wimax
I've used this on several different phones, including my Galaxy S20 with no issues. On my wife's A71 5G, it accepts the command, but only partially works. Following the command, if I turn on Airplane Mode, WiFi stays on (good), but Bluetooth turns off (bad). Turning Airplane mode off brings back Bluetooth and continues to leave WiFi on.
BTW, do phones still come with a Wimax radio?
Any idea?

Does this answer your question? How to switch(not only on or off) the mobile data and wifi using adb?


text:
Upgrading Redmi 5 3gb 32 gb motherboard to a 4 gb 64 gb motherboard
I have Redmi 5 3 gb and 32 gb rom which is in good condition.
Now, I want to upgrade the memory specs to 4 gb and 64 gb without changing the phone.
Is it possible to remove the old motherboard and replaced with a new Redmi 5 4 gb 64 gb rom motherboard???
Please kindly help me with upgrading my memory specs instead of buying a brand new phone.

A smartphone is not like a PC where you can replace components. Additionally a smartphone mainboard contains everything soldered on it, which means that CPU, RAM, Flash-memory, sensors, and next to everything may be except from external components like display and camera module is an integral part of the mainboard.
Note that even if displays have the same size and all other technical details this does not mean that they are compatible.
So in the what you want has a very small chance that it is possible. Replacing the mainboard has only disadvantages (no warranty, high chance to destroy something,...).
So in the end it is better to buy a working new/used phone, otherwise most likely every money you spend on replacing the mainboard are lost and better spent on a new phone.


text:
Force black navigation bar
The navigation bar at the bottom of my screen adapts with the app I'm using at any given time. This would be nice if it actually worked, but for some apps even while using dark theme the bar would turn into a bright white, which just looks distracting. I'd prefer to have it be all black at any given time, but I couldn't find any system settings for it. Is there a way to accomplish this using ADB or something?
I've got a Huawei Mate 20 X with EMUI 11.
Also here's an example screenshot of an otherwise dark app having a white navigation bar:


text:
Remove or hide a ui element from android rendered xml layout
Context
I have automated a production app (dont have control over it's source code) using appium but in an attempt to speed up this automation I would like to remove a dynamic animated element (with class android.view.Viewgroup) from UI which is slowing down the UI query response time. Preferably, a shell command using adb by specifying a UISelector query would be amazing!
Full disclosure: I dont fully understand the android UI model as well as I do say browser's DOM. And the ability to hide/remove an element on DOM in browsers is easy. However, android doesnt seem to support any straight forward API to remove a rendered UI element. I suspect this is because UI model is more closely linked to OS internals in android and any attempt to alter expected rendering behavior would trigger fatal errors.
In simple terms, I would like to replicate the browser's document.getElementById("ded").remove() behaviour for android's native view model.
Potential Solution
While not officially supported, I'm confident this can be achieved with View#setVisibility api using a rooted device and some form of code injection during runtime using frameworks like Xposed. I'm happy to check in at xda forum if discussing about it is not supported here.
I would greatly appreciate any insight into libraries/modules/apps that may already provide this functionality.
Thank you in advance!


text:
Run Workspace One Hub on a Non-Root version of Android VM on Android Phone?
I want to run VMWare's Workspace One Hub inside of a virtual machine on my Android (Pixel 5) device.
I have tried Parallel Spaces and VMOS and I can install Hub fine but when I try to set up my account, Hub says the account cannot be set up with a rooted device.
How can I turn off root in my virtual machines so Hub can set up my account fine?

For an MDM software like Workspace One "root" just means the OS is not genuine (usually tested using Google SafetyNet).

Any way to trick it with an emulator? Or would my best bet be to remote access a phone?


text:
Why do LTE Network Interfaces Change Names?
You may have seen my earlier question here detailing my struggles with multiplexing LTE and WiFi on a rooted Android device. Much of this stems from an issue I seem to run into with the LTE network interfaces used by my device (Google Pixel 4a), namely v4-rmnet_data{$X} where $X is some number from 0-9. When I do an ip link show, I can see many LTE interfaces formatted rmnet_data{$X} but only one formatted like v4-rmnet_data{$X}. I'm assuming this v4 interface is an IPv4 link generated from one of these IPv6 links. Occasionally, I will see that the $X used by the v4 link has changed inexplicably. I can't seem to find a good explanation as to why this happens. One second, the active link is v4-rmnet_data0, the next it is v4-rmnet_data2 and the v4-rmnet_data0 link has ceased to exist. Does anyone know what causes this to occur? Is there anything I can do to prevent it from happening? Since I am manually changing routing tables, disruptions like these cause disaster.
Thanks for your help!


text:
One channel audio
When I record sound with my Samsung 9, with all the different apps (4 or 5) I've tested up to now, including the default one, the resulting file is one-channel.  Why?  Is there a way - if any - to have a 2-channel file as a result of an audio record via Android smartphone?  Thanks for any help.
Rodolfo

Have you tried to attach an external stereo microphone?

Yes, I did record trough an external microphone connected to the smartphone via a small USB sound card: and the result is still 1-channel.  The same microphone connected in the same way to the PC records in 2-channel mode.


text:
How to know if a broken screen phone has been factory reset?
I have an old Samsung phone with a broken screen and pass code but before I try to unlock my phone I want to know if there is any possible way to know if it has been factory reset because if it has then I won't need to open it.
I would also like to add that I have a different phone that has been factory reset so is there anyway to know if it has a backup?

How old? some phones can be flashed on locked bootloader, means availbility to flash adb enabled boot or recovery. some phones aren't encrypted, allowing raw dump of userdata partition

Honestly I'm not sure but it looks quite old, it has a duos symbol in the right hand corner and it's smaller than Tha palm of my hand with a rectangular Shape. Can I send u a Pic?

this should work for any Spreadtrum chipset, except no fastboot available, but you can gather information from heimdall and/or custom recovery (or even dump/flash boot partition straight from adb commands while on custom recovery) https://android.stackexchange.com/q/232319

combination firmware should have adb enabled by default, can be flashed without data loss. SuperSU for j1minive3g should work too, but not sure about this will wipe data

you should be able to reach download mode and flash TWRP custom recovery with heimdall. you can't copy files if device is encrypted, but you can modify boot or system from twrp adb shell. report back once you have adb shell, will give you instructions

First of all thx for all your help.     I'm not gonna lie tho but you seem very knowledgeable on the subject and I really barely understood anything (no offense, I just don't know much) so in summary I just need to find and download "adb shell" on my pc and then come back?

follow first link and download platform-tools. use any mobile phone for testing. enable usb-debugging in developer options and connect usb cable. execute adb.exe adb devices and authorize connection on phone screen. now you should be able to open adb shell you will see $ prompt. you can browse files for example cd /sdcard and ls. now you understand how successful adb looks like. you can now connect the broken phone and see if adb devices show something (probably not). But you can follow my last comment and flash TWRP. after flashing, boot into recovery and check adb shell is working


text:
app keystore and certs in phone storage?
is there method to view and export files from phone storage keystore?
the android app i got has the keystore to managed digital user certs, it can be viewed via UI, i wanted to view them in phone storage but could not locate them.

Please be specific. Android has several "keystore" systems. Are you referring to the AndroidKeystore? This on modern devices a hardware protected storage for certificate and private keys. Which app are you  talking about?

@Robert the app that developer design encrypted the user and CA certs in 'Keystore'. I thought it should be visible in app location but i did not see any file. so I wondering what other method to view it.

Decompile the app and search for AndroidKeystore. It it uses this keystore type and you are on a recent device then the private keys are stored hardware protected. The keys can only be used on the device but not extracted. The AndroidKeystore is a system service that stores all keys+certs of all apps on the system.

@Robert i have the apk file only. can i decompile it? i did not own the source codes.

Decompile it e.g. using Jadx and search for the term AndroidKeystore.


text:
Android device ro.crypto.state returns "encrypted", but I can access the /data partition. How?
I have a OnePlus 3 with an unlocked bootloader and LineageOS. I forget the PIN and I am trying to recover access to it, and I have access to the recovery. The data is encrypted.
My understanding is that, if the device is using FBE, the value adb shell getprop ro.crypto.state will return encrypted, and the /data partition will be impossible to read.
Despite the fact that adb shell getprop ro.crypto.state returns encrypted, and despite the fact that I have not entered the PIN stored in the hardware keystore, I am able to browse and copy files from /data using adb shell.
So this seems to be in conflict: I should not be able to access /data if that returns encrypted. Is this true? If not, why is this not a conflict?
(I apologize if this has been asked before, I could not find any questions on this.)

interesting, sure it is FBE encrypted? check recovery.log

I can't immediately check from that, but, adb shell getprop ro.crypto.type returns blank. It's Android 10 so it's probably FDE

That you can access FBE encrypted data files without unlocking is expected, check the file content. E.g. try to open an APK file from /data/app/ and execute a ZIP test on it. If it is a valid ZIP it is not encrypted.

OnePlus3 supports FDE. If forceencrypt flag is missing in fstab then the device is nit encrypted.

another easy way to check if /dev/block/dm-0 is mounted on /data your device is FDE encrypted (and in that case when TWRP didn't ask for screen lock - it is simply default_password)


text:
Unlock phone with adb without text or keyevent input
Is there a way to unlock an Android phone with adb using adb shell without a keyevent input?

That is screen mirroring, not an Android shell command

android has smart lock feature. never used but afair it can unlock device. if you authorize the right trigger which can be activated by adb commands, it might work. maybe there is partially solution on android enthusiasts already, do a research


text:
How do I keep a .pdf open/quickly accessible
When I open a .pdf, such as a longer article, I'd like to keep it open, in the sense that it's available in the recent apps list. How do I do that?
The problem in more detail: say I open article.pdf with the default drive .pdf viewer. I read a part of the article, and then do something else on my phone. Later, maybe the next day, I'd like to continue reading where I left off. However, by this time the pdf viewer has dropped out of the recent apps list, and then only obvious way to find the file again is go find article.pdf from the downloads folder and open it again. In the worst case, the viewer has forgotten where I left off and I need to scroll through the file to find the right place to continue.

You could try pinning the app on the recent apps list if your device/OS supports it. However, the Android system may kill the app at any moment when it's in the background. The feasible solution is to use other PDF reader apps that support remembering last position (I haven't researched any).

@andrewt I'm in Android 10, and the only pinning I can find is screen pinning, which pins the app to the screen, instead of pinning it to the recent apps list. Is there some other pinning which I'm missing?

as suggested, install any ebook reader


text:
Cant adopt sd card to internal on Huawei Y6 2018
Hi i have a huawei Y6 2018 and i cant adopt my sd card into internal. My phone is rooted and i used the app Root Essentials. It asked me to flash a Plugin (ASPlugin). I Tried to do that but i got the Error 1 i searched for soloutions and found out that you need to take the boot.img and flash it. When i took the magisk.zip and opend it there was no Boot.img. So i downloaded a Boot.img file from the internet and flashed that one. That worked so i tried to now flash the Plugin (ASPlugin) and there was the Error 1 again. I dont know what to do now. I would love to get some help, because my fone only has 16gb internal storage and it is annoying me. I am using a Sandisk 32GB with 98 mb/s.

Does this answer your question? Problem with a sdcard under Android 7.1.2 three partitions can not be mounted / used


text:
Is there a way to record myself while I use an application other than the camera?
I would like to record myself playing music. At first, I could easily open the Android Camera app and record. However, I need that the PDF document containing the sheet music be open on my smartphone so that I can see what notes to play.
If I open the Android Camera app, start recording and go to another app, the Camera will cancel the record.

That seems to be a limitation of your camera app. Google Play Store contains other camera apps that claim to be able to record videos while in background. https://play.google.com/store/search?q=video%20record%20background&c=apps

In this particular case you are much likely to benefit from taking a print out and use that instead of following a PDF.


text:
My battery drop from 60% to 0%
So i have this problem with my original battery. When my battery drop below 60%, its immediately change into 0% and died 30 second after.
And when im charge it, the battery fills from 0 to 50% and then changed into 100%.
I have tried some battery calibrate, factory reset and even buying new battery twice and still didnt work.
So is there anything i can do?

replace usb connector

I believe this is not an Android issue, but the issue is with your device - more specifically, the battery. Have you tried switching it?


text:
True instant sync via Dropbox
I want to have my todo.txt file synchronized on PC and Android via a cloud service in both ways and instantly on change. Let's call this true instant sync. Unfortunately, I have not found a good solution yet and I don't understand why.
My setting: Markor to edit todo.txt on Android, todo-txt script to edit todo.txt on my Linux PC, official Dropbox client on both Android and PC.
In order to get true instant sync, I tried FolderSync and Autosync for Dropbox. However, I think that neither of these apps does what I want flawlessly and their precise function is not really documented. For example, Autosync for Dropbox has the options "autosync", "instant upload", "clever detection of changes" (available in the pro version) and one can also set synchronization in given time intervals, all independently of each other. What do these options do precisely? FolderSync seems to support synchronization in time intervals only, which is not what I want.
I imagine that a true instant sync solution should work as follows:

There is an interrupt whenever something is written in the shared folder .
The interrupt is associated to the sync client, which sends the information about changed files to the sync server immediately.
The sync client pings the sync server whenever its network address changes.
When another sync client uploads something to the sync server, the sync server broadcasts the information about changed files to all sync clients.
There is an interrupt whenever a packet from the sync server is received.
The interrupt is associated to the sync client which updates the local files immediately.

Questions:

How do 1--6 differ from the reality and what are the problems? Aren't the interrupts 1 and 5 already implemented on the system level?
Can I configure Autosync for Dropbox or FolderSync (+ Tasker) so that I get true instant sync which was defined above?
Do you know any other solution for true instant sync?

Thanks!

You need an viewer/editor app with built-in DropBox support. Every time you open the file the app will check the cloud if a new version is available and sync it.

If you are keeping notes/text and not processing the file on PC, just making sure that you are excluding pure cloud solutions like Google Doc or Microsoft 365 Word(?) as the near "instant update" is what I get with Google Doc [including a cursor of the person who is editing the file live on both Android device & PC browser].

AFAIK, true instant sync (as in first para of your question) , isn't possible using Dropbox, for reasons mentioned in answer here. If Dropbox itself doesn't permit, you can't force it through either apps you tried (I tried and have the pro version of both these apps).

My need was to have a real time sync across Android and PC (Linux and Windows). The only app I could find was from standard notes. The Android app on Play Store is marked beta but don't let that discourage you. It works perfectly well on Android, Linux and Windows for real time sync.

Only thing left is Dropbox sync - if you go in for pro version of standard notes, you can install an extension, that provides daily updates to Dropbox, and obviously isn't real time. But then your files are synced across platform in real time, so updation in Dropbox may not really matter, unless you have other reasons. I haven't tried this extension because I stopped using Dropbox.

As far as real time sync goes this ticks all the boxes except via Dropbox. You don't need to go in for extended (pro) version, if you decide to cut off Dropbox or use either of the apps you tried for periodic sync.


text:
Chromebook arm64 Translations
I am trying to run an application on a chromebook and this application only supports arm64. Here it says that arm64 has very poor translations. My chromebook is in developer mode and I was wondering if there is another way to provide chrome os with a complete set of arm64 translations.

Unfortunately the linked page does not describe why some Chromebooks support arm64 translation and others don't. But even if it is a restriction by the used software and not a hardware limitation we are talking about ChromeOS not a Linux or Windows system that can fully modify as you want. If your Chromebook does not support arm64 support I don't think there is much you can do about it.

I'm a bit unsure about the topicality of this question. On one hand, the question is about running Android app, but on the other hand, it's more of asking to modify Chrome OS, which is not about Android at all. Note that questions about Chrome OS may have more chance to be answered on [su] or [unix.se] (reference: Are Android apps running on Chrome OS on topic?)


text:
WinSCP like sync on Android
An android client needs to sync files from the server and then execute app.
If it is a windows client, I can use autohotkey and winscp to do this.
appA.ahk
SplitPath, A_ScriptFullPath, name, dir, ext, name_no_ext, drive
FileDelete, %dir%/%name_no_ext%.log
runwait,D:\Tools\WinSCPPortable\WinSCP.exe /script="%dir%/%name_no_ext%.txt" /log="%dir%/%name_no_ext%.log"
sleep 3000
run,C:\Program Files (x86)\APP\APP.exe

appA.txt
option batch abort
option confirm off
option transfer binary
open ftp://User:123456789@192.168.1.11

synchronize local -filemask=|*.db "C:\Program Files (x86)\APP\data" APP/data
close
exit

How can I do similar task in android?


text:
Nextbit robin not responding to my touch, instead tapping random places
I have a nextbit robin, but whenever I turn it on, things get selected. It's random where things are being selected for the most part, but it has been opening and selecting stuff in the bottom right corner quite a bit. I thought I saw something about "System UI not responding", but I'm not too sure. The top and bottom part are orange, otherwise nothing changed visually. Restarting the phone hasn't helped, and even in sleep mode it keeps doing stuff like turning on and off the flashlight. I did take it apart a few months ago to replace the battery, and the volume couldn't be redone. Not sure if that has anything to do with it, though

This is called "ghost touch" and is usually related to power/voltage issues (see related question), so the battery replacement might be a factor (is the spec the same as the stock battery for Nextbit Robin?).


text:
USB camera not recognised
I wish to use a USB camera with a Samsung Tab S2 t813. I have the USB Camera Pro app installed, however when I plug in a camera, the app does not register the device. On two other Samsung phones with the same app running, there is no problem, the video is shown.
Is it likely to be a hardware fault, or is there some configuration that needs to be adjusted or a certain driver necessary?
The tablet is running Android 7.0 and kernel 3.10.84-14953299 dpi@SWDH7017 #1.
Thanks

On Android/Linux drivers are integral part of the kernel. If the USB webcam driver is missing on one device you can't install the driver, instead you would have to rebuild a matching kernel and enable the usb drivers(s) and then replace the kernel (which is the first step to a custom ROM).

I've compiled Linux kernels before but have no clue about android. Can you please suggest places where i can find information? Is it unusual for Samsung to omit webcam drivers in their kernels? The two phones that I've tested have both been Samsung - one is a Galaxy J8

Doe USB OTG works at all on the device where the webcam is not recognized? You can test it by connecting a simple USB mouse or keyboard. And there are also OTG checker apps in Play Store.

Thanks. USB OTG Checker reports that it the tablet has "Android Compatible USB OTG" . Under "List of connected devices" however, it reports no device found" when I attach a mouse or camera

I tested the mouse with Word. I works on my J8 phone, but not on the tablet unfortunately

The app "USB Diagnostics" fails to recognise the USB camera on the tablet but recognises it on the J8. The mouse is not recognised on either

Keyboard also doesn't work. I think my tablet is faulty. I will return it.


text:
Vanced Youtube & Native Youtube App crashes after ArrowOS update on a6020a46
I have a rooted Lenovo Vibe K5 Plus running TWRP+Magisk+OpenGApps+ArrowOS(android v10).No MicroG.
I installed Vanced Manager and Youtube Vanced in it(sometime after the February update) and it was working perfectly. I had given Vanced Manager superuser permission.
Recently there was an update with 5 March 2021 security patch which I applied yesterday, since then Vanced seems to have completely broken while everthing else runs fine.
Things I have tried -

Uninstalling Youtube Vanced from Vanced Manager, uninstalling Vanced Manager then re-downloading Vanced Manager from their GitHub releases page and reinstalling Youtube Vanced with SuperUser permission granted to Vanced Manager.

Re-Installing ArrowOs update from TWRP install and then wiping Cache/Dalvik. Trying same thing again but without wipping Cache/Dalvik.

Booting to TWRP and selecting Wipe > Advanced Wipe > selecting only Cache

I open the App, click on a video and Youtube crashes.
Here is the log -
time: 1615626523312
msg: Native crash: Segmentation fault
stacktrace: *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** ***
Build fingerprint: 'Lenovo/A6020a46/A6020a46:5.1.1/LMY47V/A6020a46_S105_161124_ROW:user/release-keys'
Revision: '0'
ABI: 'arm64'
Timestamp: 2021-03-13 14:38:41+0530
pid: 9210, tid: 9233, name: yt-critical3-1  >>> com.google.android.youtube <<<
uid: 10181
signal 11 (SIGSEGV), code 1 (SEGV_MAPERR), fault addr 0x0
Cause: null pointer dereference
    x0  0000000000000000  x1  00000077a4f6bcd8  x2  0000000000000038  x3  0000000000000004
    x4  0000000000000000  x5  000000780fb67c37  x6  0000000000000000  x7  0000000000000036
    x8  00000077a4f6bcd8  x9  81d816781534a741  x10 0000000000000000  x11 0000000000000003
    x12 000000773bb0e000  x13 0000000000000040  x14 fffffffffc000000  x15 0086401000000008
    x16 00000078940a5890  x17 0000007894098130  x18 00000077a1a98000  x19 000000773bb0e0c0
    x20 000000773bb0e0c0  x21 000000773bb0e0e8  x22 000000773bb0e0e0  x23 0000000000000000
    x24 0000000077450758  x25 0000000077450218  x26 0000000077450748  x27 000000007708ffe0
    x28 000000773bb0e0c8  x29 00000077a4f6bcc0
    sp  00000077a4f6bbf0  lr  00000077f9c030ec  pc  00000077f9c031f8

backtrace:
      #00 pc 00000000000401f8  /system/lib64/libmedia_jni.so (JavaMediaCodecListWrapper::JavaMediaCodecListWrapper(android::sp<android::IMediaCodecList>)+128) (BuildId: 5048733c629f4c47102dc6d3e92b512f)
      #01 pc 00000000000400e8  /system/lib64/libmedia_jni.so (getCodecList(_JNIEnv*)+152) (BuildId: 5048733c629f4c47102dc6d3e92b512f)
      #02 pc 000000000003f4ec  /system/lib64/libmedia_jni.so (android_media_MediaCodecList_getCodecCount(_JNIEnv*, _jobject*)+8) (BuildId: 5048733c629f4c47102dc6d3e92b512f)
      #03 pc 00000000002818c0  /system/framework/arm64/boot-framework.oat (BuildId: ba17fdaa4953a5a20b9a87065f5c2176fd5803b1)

I got it when a notif like "Youtube keeps stopping" showed up and there was an option called 'Copy crash log URL'(del.dog/futhypock). Going to the URL on my phone showed this output.However typing it in my pc yielded nothing.
The strangest thing is that uninstalling youtube vanced and then installing the official youtube app from the play store yields the exact same behaviour.
Here is the log (del.dog/anothyfutt)-
time: 1615627396186
msg: Native crash: Segmentation fault
stacktrace: *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** ***
Build fingerprint: 'Lenovo/A6020a46/A6020a46:5.1.1/LMY47V/A6020a46_S105_161124_ROW:user/release-keys'
Revision: '0'
ABI: 'arm64'
Timestamp: 2021-03-13 14:53:15+0530
pid: 11931, tid: 11964, name: yt-critical2-5  >>> com.google.android.youtube <<<
uid: 10182
signal 11 (SIGSEGV), code 1 (SEGV_MAPERR), fault addr 0x0
Cause: null pointer dereference
    x0  0000000000000000  x1  000000779f0a2438  x2  0000000000000038  x3  0000000000000004
    x4  0000000000000000  x5  000000780fb67c37  x6  0000000000000000  x7  0000000000000036
    x8  000000779f0a2438  x9  81d816781534a741  x10 0000000000000000  x11 0000000000000032
    x12 0000007738a00000  x13 0000000000000040  x14 fffffffffc000000  x15 a04c000000000000
    x16 00000078940a5890  x17 0000007894098130  x18 000000779e26c000  x19 0000007738a00c80
    x20 0000007738a00c80  x21 0000007738a00ca8  x22 0000007738a00ca0  x23 0000000000000000
    x24 0000000000000008  x25 000000779f0a6020  x26 00000077fdd1c0b0  x27 0000000000000002
    x28 0000007738a00c88  x29 000000779f0a2420
    sp  000000779f0a2350  lr  00000077f9c030ec  pc  00000077f9c031f8

backtrace:
      #00 pc 00000000000401f8  /system/lib64/libmedia_jni.so (JavaMediaCodecListWrapper::JavaMediaCodecListWrapper(android::sp<android::IMediaCodecList>)+128) (BuildId: 5048733c629f4c47102dc6d3e92b512f)
      #01 pc 00000000000400e8  /system/lib64/libmedia_jni.so (getCodecList(_JNIEnv*)+152) (BuildId: 5048733c629f4c47102dc6d3e92b512f)
      #02 pc 000000000003f4ec  /system/lib64/libmedia_jni.so (android_media_MediaCodecList_getCodecCount(_JNIEnv*, _jobject*)+8) (BuildId: 5048733c629f4c47102dc6d3e92b512f)
      #03 pc 00000000002818c0  /system/framework/arm64/boot-framework.oat (BuildId: ba17fdaa4953a5a20b9a87065f5c2176fd5803b1)

I couldn't make head or tail of what this log means. I tried searching for "msg: Native crash: Segmentation fault" and found this but I couldn't understand that either and the links they provided are Greek and Latin to me. I also found this but again understood nothing.
How do I get Youtube Vanced to work again? Please help a newbie here who really loves Youtube Vanced. I will be happy to provide any further logs should you require them, but I don't know how to collect logs and would appreciate it greatly if you could point me in the right direction.

Based on your description something is wrong with the customROM you have installed. Those crash reports can only be sent to the ROM developer(s), may be they are helpful to them. Regular users typically don't understand a word of such a report.

@Robert could you point me in the right direction? An email id of the maintainer of a6020a46 perhaps where I can describe my issue? Or should I just open an issue on the GitHub page of ArrowOS?

Sorry I am not familiar with that custom ROM. But "a6020a46" sounds more like a git commit hash (thus it is simply a version identifier) than a developer.

a6020a46 is the model/code name of my phone Lenovo Vibe K5 Plus

Should I just forget resolving this issue and format everything and reinstall my OS? I'm also having strange problems with accessing stuff in my storage. eg: downloaded files are getting corrupted and I am unable to delete files in my Downloads directory with my file manager(the default aosp one). Perhaps there are some permission issues?

I get this error when trying to install the ROM, it's the only error I get. "failed to mount /dev/block/bootdevice/by-name/system at /system: Device or resource busy." The way I've done it is just select Install from TWRP and point to the ZIP of the custom ROM. Is this incorrect in any way? Could you tell me how I can do update my system correctly?


text:
Android ADB Port forward returns CONNECT aborted with curl
I'm trying to use my phone's data connection as a proxy on any port on my PC. I've enabled the port forward with: adb forward tcp:5001 tcp:8080 and I get 5001 as a response from the adb shell. Different ports i've tried:
Now i'm just trying to send a curl request to ipify.org's api with curl https://api.ipify.org?format=json --proxy 127.0.0.1:8128 but the response I get is curl: (56) Proxy CONNECT aborted, for reference, i've tried this with an external proxy and it works fine: curl https://api.ipify.org?format=json --proxy 159.197.253.210:7689 returns {"ip":"159.197.253.210"} which is exactly what should happen. Pic for reference:
Am I doing something wrong? How do I use my android as a proxy?

Please do not post terminal text inside of screenshots. Please paste it as text and format it as code.

Are you aware the when you use --proxy option of curl the remote side requires to be a real HTTP proxy. Proxy uses an own HTTP based protocol. Web servers don't understand this protocol. Thus adb forward can not be used for internet connection sharing. If you want to use the connection of your smartphone use USB tethering or start mobile hotspot feature.

Hey Robert, sorry about that. The thing is, I want to use my home wifi as normal on my computer, I just want to be able to use my phone's data as a proxy too. You're saying this isn't possible? Then what's the point of adb forward?

The point of adb forward is that it allows to forward a TCP connections from or to the phone. It can be used to reroute connections on TCP  level but it is not a proxy. If you want to use a proxy you need to install a proxy on your phone. The proxy port then can be forwarded via adb. Without proxy you would need to manipulate DNS to redirect connections.


text:
Stop Recent Apps Icons from moving
On my android phone, when i click the III icon at the bottom of the page (left of the home icon), the 4 recently used apps come up.
The problem is that there is usually a second or so delay and the icons MOVE...causing me to activate the wrong app.  Happens all the time.  Any way to stop that?


text:
Some App keeps crashing / can't enter the settings
I have a Pixel 3 XL running Android 11 security update March 5th 2021
I get constant popups that flash for a sec saying app stopped working and goes away, I can't tell which app it is.
Other things I noticed,
The google news feed (swipe left) is gone.  I tried to go to the home settings and toggle it back on and off and it doesn't come back.  But also in the home settings if I click At a Glance it sends me to a setting screen and then kicks me back out.
The app called Google (not chrome) does not open, if I go to the settings for that app and try to clear storage, a screen pops up called Google Search Settings but then kicks me back out to the previous screen
I did a clear storage on Pixel Launcher and I wiped out my home screen, but what ever the app is it keeps crashing.
How can I determine what app is causing the issue?

So it was actually the app called Google.  Now why you can't uninstall it from your phone, by dragging it to the top, you can go to the app info page and on the bottom of the page is a link that says installed from the Play Store.  If you click that it will take you to the play store app page.  From there I was able to uninstall and reinstall the app.  Now google search voice and news are working again.


text:
Phone apps crashing
My apps won't start up if they do its not long enough to use them. Either they just close as soon as i open them or a message reading (app name) has stopped responding and its even apps that I haven't opened like my Google play will pop up saying it has stopped. I'm not sure what to do I've shutoff and restarted my phone I've uninstalled and reinstalled my apps anf it works for a minute but then it's right back to crashing.  I can't even use google to search it won't allow me to type more than 1 letter and it freezes then closes the app...

Recently there was a buggy update from Chrome that affected apps with WebView. However, it's not clear if the issue you're facing is the same or not. Consider also checking this Q&A.

If the mentioned solution fails to work, ping me. I would reopen your question.


text:
Stuck on Mi Flash for an hour now
Hi, I'm stuck on the following line in Miflash for over an hour now:
[20:58:19 3825d80]:MiFlash 2018.5.28.0
[20:58:19 3825d80]:Thread id:12 Thread name:3825d80
[20:58:19 3825d80]:image path:D:\Downloads\root20032021\cepheus_eea_global_images_V12.0.4.0.QFAEUXM_20210115.0000.00_10.0_eea
[20:58:19 3825d80]:env android path:"D:\Downloads\root20032021\MiFlash20180528\Source\ThirdParty\Google\Android"
[20:58:19 3825d80]:script :D:\Downloads\root20032021\cepheus_eea_global_images_V12.0.4.0.QFAEUXM_20210115.0000.00_10.0_eea\flash_all.bat
[20:58:19 3825d80]:Physical Memory Usage:3317760 Byte
[20:58:19 3825d80]:start process id 4372 name cmd
[20:58:20 3825d80]:info:$set CURRENT_ANTI_VER=1
[20:58:20 3825d80]:info:$for /F "tokens=2 delims=: " %i in ('fastboot -s 3825d80 getvar anti 2>&1 | findstr /r /c:"anti:"') do (set version=%i )
Is it safe to unplug the device and try again?

the script hangs on reading info via fastboot. is the rabbit on your phone?


text:
How can I make my android turn the screen on and unlock when I touch the screen?
I want to mount an android tablet on the wall, and want it to turn the screen off when not in use, but turn back on whenever you tap the screen (similar to waking up a computer while jiggling the mouse). Is there any way to accomplish this?

On some devices there is an option to "wake up on double tap the screen". I have seen this on multiple Lenovo devices. Not sure if other manufacturer have similar options.

Turning the screen on when touched would require kernel level support. The workaround would be to check if your device supports turning the screen brightness to 0 (or so dim that you can accept it just as dark) nits. Try some apps from Play Store to see which app is successful in fully turning down the brightness. The first part, turning the screen off when not in use can be done using an automation app. Try  with Automate (Llama), MacroDroid or Tasker automation app.


text:
How to prevent the use of a phone as a second-factor security confirmation
Mobile phones are frequently used to read email and access secure online accounts.  So the average phone contains both the account signon usernames and the associated passwords.  Email has been used for resetting a password, and is also accessible using the phone.  Recently many host sites have started using text messages a second factor security mechanism.
The popular use of mobile phones as a second-factor security mechanism has inadvertently caused a huge security problem.  The odds are much higher that your phone will be lost or stolen than you becoming a victim of an online attack or suffering the compromise of your online account password.  Since a typical phone grants access to everything, including the ability to reset passwords and get past 2-factor security based on your device, the phone has become a valuable target for theft much more than ever before.
So now if your phone is lost or stolen, the attacker will be able to access everything the phone has been enabled to access.  And you will not be able to access ANYTHING without your phone.  You may not even be able to reset your password or lock your accounts.
Is there any way to stop the use of a text message as a second-factor account confirmation?  I would prefer the use of personal questions to confirm my identity.  The only alternative I know of is to not use your phone at all for email or accessing high-value online accounts.  And I highly recommend you enable tracking to allow you to find a lost or stolen phone quickly.

I assume by "text message" you are referring to SMS as second factor. There is a simple way to prevent access to a phone if it is stolen: set an access PIN that has at least 6 digits (for comfort you can use the fingerprint unlock). As modern Android devices are encrypted by default the only way to bypass this PIN is to guess it (if the PIN was chosen too simple) or to rob the phone while it is unlocked.

I have both pin and biometric in use, and of course, I very highly recommend doing so. But it is easy to watch someone entering their pin and targeting their phone afterward. The use of the phone as a second-factor is not only an undesired nuisance and security problem - but it also prevent accessing (or locking) any accounts without phone service.

Hi, since this question is asked on Android Enthusiasts, a Q&A for Android end-users (not necessarily security experts, though we also have a sister site [security.se] for this), the answers will focus on what end-users can do, not what service providers can do. Though, I actually doubt end-users can do anything else as long as they're dependent to what the service only provides, other than preparing for risk mitigation (what can be done if stolen).

Most services support to use different type of seconds factor that work offline (e.g. 2FA-app based, or dedicated hardware based token). You can also use a cheap Android phone or tablet as dedicated 2FA-hardware you always leave at home.

Yes Information Security might be a better forum. And this is a security problem bigger than Android for sure.  From an Android standpoint, setting up your device so that it can be located (when powered up) is critical to minimizing risk.  The user must be able to do so very quickly.  With Apple devices all you need is an online browser to locate your device.  Its a bit more complicated with Android.

To Robert.  Until recently the use of HW tokens and FIDO devices was a great alternative.  But sites such as Blink and Nextdoor havent become this sophisticated yet.  I have been using a tablet for accessing email and high-value sites.  But they are now frequently re-authenticating which requires my phone and is the equivalent of resetting my password every time I signon which has become painful.  Like having to solve a captcha which was the last security trend.  Google sends and email if anyone unfamiliar accesses my account.  This is an excellent, and painless, security measure.


text:
Internal Storage has no space even with SD card?
So I have an LGK4 android phone with 8GB of storage, and lately I've been having really weird storage problems; When I try to install or update an app I can't because the storage is full; thing is, I've already cleared my cache, deleted unnecessary apps, and all my photos/videos etc are on the SD card. The apps I do have installed all come to 3.16GB, which theoretically should be the only things on the internal storage, but it still says I just have 611MB available? What happened to those 4GB? To top it all off, I can't access any files on the internal storage, it literally doesn't have any icon or button to access it, so I can't see what's causing this. Any ideas? Should I do a factory reset?

How to free Internal Storage by moving data or using symlink / bind-mount with Adoptable Storage?

You don't consider the Android system itself which also requires storage. Typically on a 8GB device like yours half of the storage thus ~4GB are already occupied by the system itself.


text:
Something is copied to my clipboard that I didn't save there?
I'm running Android version 10 on a Galaxy A51. I'm fairly sure that nobody had physical access to it because it was in my pocket.
The link itself is the phrase "look at this cutie" and a twitter link. Any help would be appreciated.

Every app can have read/write access to clipboard without user interaction. There's an AppOp permission named WRITE_CLIPBOARD which governs this access. There's also a timestamp associated with the permission. So you can check that using ADB to find out which apps accessed the clipboard in last few hours or a day. If not comfortable with CLI, you can find my app helpful: https://github.com/mirfatif/PermissionManagerX. Search for WRITE_CLIPBOARD&:TIME in the app.


text:
What would presently be the best way (if any) to emulate older versions, like Android 2.0 Éclair, on a PC or mac?
I'm not experienced in android development, so I was hoping for a straightforward way of just testing apks designed for 2.3 for example. I'm not sure if Genymotion offers virtual devices for versions below 4.4. I did find one called YouWave that looked interesting, but I am still curious as to what would be the best option. Any help would be greatly appreciated.

Warning: performance on older pre-HAXM emulators was slow
My experience at the time: Android AVD not showing anything. only “ANDROID” in the middle of the screen
Do realize that any Google Services like Google Maps or even cloud based notifications for those older APIs probably don't work anymore.
If you need performance, sadly old hardware is your best bet as emulators had to do ARM to x86 translation in addition to mainly software based rendering.
If you are still serious about finding an old emulator see: Where can I download an older version of the Android SDK?
You will have to download the entire package and install the full legacy SDK.
Should you go down the legacy SDK path, please use a small screen size (640x480 or 800x480) as rendering fewer pixels helped performance.


text:
How to enable ajax access to local files in any Android browser?
On Desktop, some browsers provide an option to enable ajax access to local files. For Chrome, it's the command line option "--allow-file-access-from-files". For Firefox, it's the config variable security.fileuri.strict_origin_policy. By enabling ajax access to local files, we can use javascript to load local files dynamically, which is essential for developing no-backend web apps.
Is there an equivalent way to enable ajax access to local files in any Android browser?

The browsers are independent softwares, it depends on them, what do they allow. I think it is impossible to make it generally. The browser process has access to the files, and it depends on it, what is it doing to file:/// URLs. They typically forbid it on good reasons (to prevent websites to upload your local files to them behind your back).

What could maybe work: starting a webserver on a local port, which does a static file service. For example, the app would run in html/js/css on file:///<path, and the webserver would share the app working directory on http://localhost:8080. Then the app would be able to access the local file on <script src="http://127.0.0.1/path"></script>". You need to tune the webserver to embed the served files into JSON.


text:
Empty ramdisk in boot.img
I have a copy of the boot.img from my HTC M8 one.
I unpacked it and discovered that it is mostly empty directories and one binary "init" file. I was hoping to find an init.rc in there.
Any ideas?
:/tmp/ramdisk$ cpio -idv < ramdisk.cpio
apex
debug_ramdisk
dev
init
mnt
proc
sys
2690 blocks

:/tmp/ramdisk$ find
.
./init
./mnt
./ramdisk.cpio
./proc
./debug_ramdisk
./dev
./sys
./apex

system-as-root device - init is on system

Thanks that's interesting and makes sense!


text:
When some program crashes, how can I send the feedback to myself?
When a program crashes, I can view the crash info by clicking on send feedback, then preview. However it is sometimes quite inconvenient to go through the error log on the phone and I would instead prefer to view it on my computer. How can I email the feedback to myself, or in some other way view the error log on my computer?

I use Android 10 on unrooted Samsung Galaxy S9.

The common way would be to connect the device via USB, enable ADB and then execute adb logcat which should hopefully show the error if the adb log has not yet overwritten it with new messages.

@Robert thanks, bummer, amazing that there's no way for the user to have a convenient access to the log

May be Google did not had us 0.01% of all Android users in mind that are capable of interpreting an Android app crash log/stack trace ;)

@Robert true but allowing the user to copy paste the error log that they can view in the preview doesn't seem to require that much coding resources :/


text:
Google Drive: Make Folder/All Files in Folder Available Offline
I'm using the Google Drive app on the latest Android system, Android 11. I can make files, specifically PDFs, available offline by long pressing and clicking Make Available Offline. Further, if I select two PDFs, both of which are not yet available offline, then I have this option.
As such, I was able to initially select all files in a folder and pick Make Available Offline.
The issues is that I add to the folder regularly. If I select two files in the folder, one of which is available offline and the other is not, then the Make Available Offline option is not there. Currently I have some ~290 PDFs which are available offline and ~10 which are not. I do want all to be available offline, as I never know when I'll need them. But I don't want to manually go through and add them all.

TL;DR. Is there a way to make all files in a folder, or just simply the folder, available offline?
This needs to work if the folder currently contains a mixture: some available offline already and some not.

I would even accept the following horribly inefficient solution:

remove the 'available offline' property from all files in the folder;

select all files and Make Available Offline.

However, removing the property from all seems just as hard as adding it.


text:
Cant delete system files on rooted phone
I'm using zarchiver as a file managing app on my rooted phone... I cant delete some specific app folders in
/system/app              even though I remounted it as rewritable.... in rewritable it will show delete option but when you choose it it wont actually delete it....
context: I want to delete some APK folder of some bloat wares like google or You tube app

Deleting a system app from system partition will not regain any storage on your user data partition. Therefore you can simply disable the system app: https://android.stackexchange.com/a/182123/2241

Based on the description ZArchiver does not seem to be able to use root permissions, hence it can not delete a system app. An app have to be explicitly developed to use root permissions.

Link2SD is also good app manager, can freeze apps etc (without actually having 2nd SD Card partition)

hmmm actually my main purpose on rooting it is to actually remove unnecessary files to free more storage... any tips on where are those useless files and how to delete them

ZArchiver can use root permissions. its just that it seems to fail to use that granted root permission


text:
Can I transfer documents from the files app on iPhone to my new Android phone?
I’ve already tried to use google drive to do so, but for some reason only empty folders get transferred. I’m switching to a Oneplus so the Galaxy Smart Switch app (which I had used to go iOS to Android once) is not compatible. I have a usb-c to lightning cable and have tried Wondershare MobileTrans which i guess no longer allows cable to cable transfer between ios and android? Please help it has been a week since my frustration.

search for oneplus migration app in google play

OnePlus Switch, I think you mean. It only transfers via iCloud and only some media that way.


text:
Google can't record now as Duo is recording
Hi All
Whenever I am making call in Duo some Error message is coming in screen like Google can't record now as Duo is recording.and while Playing pubg and stream in Omlet arcade same Error is coming like Omlet arcade can't record now as Pubg is recording. Can any one solve this issue please

What is your device and Android version (there is a difference between pre Android 10 those running Android 10+)?

IQOO3. Android Version -11


text:
How to automate user actions?
I've seen a few questions similar to this before, but they all seem to be concerned with performing tasks in apps rather than actually simulating user action (e.g. swipes, taps, keypresses, etc.) in a similar manner to how AHK would work on Windows. I've seen a few solutions on the web calling for things like SL4A, but I can't find a clear explanation as to how I would go about fully automating an Android device.
Basically, what I want to do is open an app and activate a script (or something to the effect of a script, maybe an APK?) that will click on buttons and swipe up and down in a predetermined pattern (again, think AHK for Windows). Is something like this possible?

With Tasker and Autoinput app, yes.

There's lots of automation apps with such capabilities, like Automate: https://play.google.com/store/apps/details?id=com.llamalab.automate


text:
Galaxy S10+ - Gallery broken in weird ways - can't see pictures, can't save camera photos and can't take screenshots
I'm having a very strange problem today with my Galaxy S10+.
I had an update yesterday evening, and all of today it's been broken in a weird way. This'll be a longish post because I want to be really clear about the problems I'm having and explain what I've done so far to try fix it. Right off the bat I want to note that these problems are not exclusive to my SD card. My SD card works just fine and my pictures are stored across both my internal storage and the SD card. I've tried most of my troubleshooting with and without it in.
These problems occurred immediately after I finished an update. The Software Update Information says "G975FXXU9FUBD / G975FOTF9FUBD / G975FXXU9DUBD"
Basically, when I open the stock Gallery app, it shows absolutely nothing. None of my pictures or albums show at all. However, the automatically generated Stories work just fine. I can't select anything, I can't highlight anything, I can't change anything. All I see is a blank screen where I can swipe endlessly between Pictures and Albums and see a whole lot of nothing.
My files are perfectly fine and safe from what I can see. I've hooked it up to my computer and nothing is missing, damaged, broken or corrupted. They are all there in the My Files app and show all the thumbnails for the pictures. I've downloaded another Gallery app from the Play Store and all the pictures are there in the right order and the albums are there too.
But, if I say open a picture in My Files and click Gallery as the app to open the image with, it'll hang for a while then open a black screen with no buttons on it except the home bar, and all I can do is back out of it. Strangely, when I open the app tray after this, it'll only show the My Files app being open and not Gallery.
There are two very strange aspects to my problem too - I can't take photos with the camera or screenshots.
The Camera app won't save photos no matter whether I choose to point them to the internal storage or the SD card. It'll show the little preview box showing a picture was taken and do the little animation, but after a while that just turns back into the generic Gallery icon, says "Warning, camera failed" and closes itself.
If I'm quick and click on the icon that shows the picture I took, it'll just do the same thing. If I try click there before taking a picture, it'll just open the broken Gallery app after a delay of a few seconds.
I'd love to show some screenshots of my problems but I also can't take screenshots. I can press the button for it and get the overlay, but if I try to crop them or let it save, it just hangs on the overlay screen and I can't interact with anything and can only back out.
I can still save photos from online or from apps like Twitter, and apps like Messenger or Line which I use very often allow me to open and browse media and send pictures just fine. They also let me save pictures taken with the camera as long as it's through those apps and it saves those photos as I've set it in the settings of those apps, and I can see them in the My Files app right after.
After spending the whole day googling as best I can, so far I've tried the following;

Booting in Safe Mode (both with and without the SD card in) - The same problem exists in Safe Mode
Clearing the Cache/Data for various apps like Gallery, Media and Devices, My Files, Camera and all sorts
Looked for files called ".nomedia" on both the phone itself and through my computer and found nothing.
I was going to try deleting the "com.android.gallery3d" folder as suggested in a post which sounded a lot like my problem, but turns out I don't have that folder in the directory the post suggested.
Using a "media rescan" app.
Forcing an update through the Galaxy Store but it couldn't find an update for Gallery and wouldn't let me do anything with it.
Pressing the "uninstall update" button on the Gallery app settings page and it remained the same. Updated it through the Galaxy Store and no prizes for guessing the outcome there.
Literally just turning my device off for an hour and leaving it, then back on.
Literally just leaving the device on, locked for an hour.
Literally just leaving the device on with the Gallery app open in case it needed to refresh or something.

I've tried most of these both with and without the SD card in too.
I feel the problem has to be centred around Gallery because it's only ever when an app needs to use it as a medium for saving, viewing or interacting with a picture where it has issues.
The only thing I can really see that might be causing a problem is that I've got a LOT of pictures and videos. We're talking well over ten thousand pictures spread across the internal storage and the SD card. But a day ago when it worked perfectly fine that didn't seem to be an issue.
I've been using it all day and besides the gallery thing it's worked just fine. No other apps seem to be broken or have had any weird issues. My notifications are as they normally are. It's literally just any time I need to use the Gallery app.
So far all my troubleshooting has done is bother me by deleting the wallpapers and theme/icons I had on after coming out of Safe Mode. I'm completely stumped as to what to try short of a full factory restore, and I really don't want to have to take that option.
Any help would be really appreciated.

Have you tried to clear app data/cache of the gallery app? What is wired is that you can see the files from PC via USB/MTP. Have you tested if you can copy the files to the PC and they can be opened on the PC?

Clearing the app data and cache was one of the first things I tried, both in and out of Safe Mode.
All the files work fine on the PC. I'm currently working on moving them all across to back them up, and it's slow going but working just as you would expect. I don't think it's to do with my files as they work just fine in all other apps, it's cantered around the Gallery app.

Then some Samsung specific cache and/or thumbnail file(s) on device may be corrupt.

I had a very similar problem on my S10+:

Camera wouldn't save photos (though 3rd party camera app worked)
Screen capture wouldn't save
Opera browser wouldn't save downloads (though another browser worked)
Gmail wouldn't save attachments
Random Gmail crashes, usually 10-20 seconds after starting

It was pretty frustrating, especially the Gmail crash. Anyway, I took your advice and deleted the data/cache of various system apps one by one, then retested.
Happy to report that everything went back to normal after deleting data/cache from "Sec Media Storage"

Okay so I seem to have fixed it. Robert gave me an idea, so I checked the button on the Apps settings page so I could view all the system apps, and then I cleared the data and cache of everything I could related even slightly to UI, media, storage, photos, videos and everything in between. I'm not sure at which point it was fixed, but it seems to have done the trick.


text:
Migrating from broken iOS device, from iCloud Back-up
This webpage below explains how to migrate from an iOS device to Android. My problem is that the iOS device doesn't work anymore. Therefore it is not possible to use the procedure explained there. The data on the iPhone is backed up in iCloud. How can we migrate to android from an iCloud backup (for free)? How can i copy the data on iCloud to my Google Drive and then to my new Android phone?
https://www.android.com/switch/
edit: I tried to use the app "MobileTrans" but it doesn't accept the iCloud Password.


text:
Suspicious link on android
I accidentaly clicked on http://127.0.0.1:5555 this link on my android phone what should i do? i don't know anything about coding so please write with simple words to me

127.0.0.1 is the address of your phone itself. Therefore everything that can be loaded have to be generated by an app or an system service of Android on your phone. If there is no app listening on port 5555 then nothing will happen, the web browser will simply show an error page.
Therefore you don't have to worry.

127.0.0.1 is a loopback device... Meaning it is going back to itself (your own phone, 127.0.0.1 is your own device's internal address). Port 5555 is used by VPN's for transmitting and receiving encrypted traffic, so basically you clicked a link that redirected your request back to itself, or in other words it did nothing. You should be safe, malware is much less common than people want you to believe.


text:
Nexus 7 2013 - stuck at android is starting optimizing apps. trying adb to get the data
I have a 2013 model Nexus 7.
It is running 6.0.1, unmodified with locked bootloader. USB debugging is on.
Battery drained to 0. Charged then the device is stuck on boot loop .. android is optimizing app X of x.
I don't wanna lose the data so I've avoided hard reset.

I've wiped cache more than once.

I tried ADB Commands .. and while on the android is starting I can list the device and I can list the directoies ..

Tried adb pull /
and it return this message.

c:\Adb>adb pull /

daemon not running; starting now at tcp:5037
daemon started successfully adb: warning: stat failed for path /proc/self/task/1208/root/proc/self/task/1208/root/proc/self/task/1208/root/proc/self/task/1208/root/proc/self/task/1208/root/proc/self/task/1208/root/proc/self/task/1208/root/proc/self/task/1208/root/proc/self/task/1208/root/proc/self/task/1208/root/proc/self/task/1208/root/proc/self/task/1208/root/proc/self/task/1208/root/proc/self/task/1208/root/proc/self/task/1208/root/proc/self/task/1208/root/proc/self/task/1208/root/proc/self/task/1208/root/proc/self/task/1208/root/proc/self/task/1208/root/proc/222/task/1208/fd/15:
Protocol not available

Tried shell to see if I can list folders and
Adb shell ls /sdcard/sdcard
it returns the same message.

c:\Adb>adb shell ls /mnt

asec

expand

media_rw

obb

runtime

sdcard *******************

secure

user

c:\Adb>adb shell ls /mnt/sdcard/
/mnt/sdcard/: No such file or directory

Is there any way that I can retrieve the data before hard resetting .. through adb or custom recovery .. or whatever.

@alecxs
The first command returns this >>
adb: error: remote object '/storage/emulated/0' does not exist

@alecxs
Second command returns this when trying to access the expand folder >> opendir failed, Permission denied

'adb shell "find /mnt /storage 2> /dev/null" > index.txt' will give you list of available files you can pull

@alecxs I successfully pushed a file .. c:\Adb>adb push H.txt /data/local/tmp H.txt: 1 file pushed, 0 skipped. 0.0 MB/s (13 bytes in 0.000s)

it might be /sdcard is protected with screen lock. try to gather some info from logcat maybe you figure out reason. if some app causes this you should be able to disable that app from package manager (pm). worth mention on factory reset you will lose MicroSD Card content too. maybe nvflash is of any help

I couldn't get the second command to give me a text file .. but running the command without the index.txt part. returns this. /mnt
/mnt/sdcard
/mnt/runtime
/mnt/expand

try again with 'find -L /mnt /storage 2> /dev/null' if still no result guess your files aren't accessable until screen will unlocked. therefore logcat is the way to figure out/fix

https://forum.xda-developers.com/showthread.php?t=3484879 try dirty cow exploit to get root shell. also this root method claims it is working from stock revovery without data loss (no mention of bootloader state) https://forum.xda-developers.com/showthread.php?t=3219148

Let us continue this discussion in chat.


text:
Genymotion: Why is Android version 9.0 the highest I can use on an S10 emulator?
I'm trying to replicate an issue a customer is having on their Samsung Galaxy S10 running Android version 11. When I spin up an S10 emulator, the highest Android version I can use is 9. Does anyone know why this would be, and if there's a way to get higher versions?

Genymotion is a closed source commercial software. How should we know why an emulator image is available or not?

@Robert 1) If Genymotion came with only a default set of emulator images that were most common, and you could download others, and someone knew how, that would be an example of knowing why an emulator image is available or not. 2) My second question was how to do that, if possible.

Genymotion Cloud SaaS seems to have Galaxy S10 on Android 10 as a preview. However, we don't really know how Genymotion works with their images since Samsung doesn't provide their system images in the first place.

Your Genymotion seems to be outdated. When I select Samsung Galaxy S10 I can select Android 10 as the maximum. BTW: Such an the "Samsung Galaxy S10 Emulator" is just an AOSP emulator. Just the screen size and density seems to be identical to an original S10 (there not a single Samsung specific package installed).


text:
What's the best way to move files from SD card without the risk of losing any files?
So I'm running out of space and I'd like to use link2sd to move my apps to sd card. But before that I need to create a partition on my SD card, and to do that I would have to move my files from it and keep them somewhere else temporarily, format/create a partion on the SD card, and then move the files back. I'm using a lot of apps with a lot of data that would obviously no longer be there if something happens to the files during the move.
I'm also using XinternalSD (though xposed) to automatically store some of the apps data directly on the SD card.
So basically alot of the files on the SD card aren't put there directly by me but rather through apps. I'm not sure what their write protection is and I don't want to risk losing some in the move.
I want to be able to move everything as is and move them back in a way that it would be exactly how it was before the move and nothing changes or apps not being able to detect some of the files or anything like that.
What's the best way to achieve this?
Android 7 | Rooted | Moto C Plus
Note: OS available: Ubuntu | Windows | Android

Comments are not for extended discussion; this conversation has been moved to chat.

For regular fuse/FAT file system type, there is no need to preserve file permissions, just copy all files as usual. You can check file system type by typing in mount  in the terminal emulator. You will see somthing like this example:
/mnt/media_rw/149B-8301 type vfat
/storage/149B-8301 type fuse

149B-8301 is the UUID of the SD card and it shows that the file system is vfat.
To copy files regularly, run the following:
adb pull -a /storage/149B-8301 ~

advanced copy (tarball archive)
adb exec-out "tar -c storage/149B-8301 | gzip" > ~/sdcard_backup.tar.gz

copy from PC MicroSD Card Reader
cd /media/xubuntu
tar -czf ~/sdcard_backup.tar.gz 149B-8301

Note: replace ~ with path to target disk drive providing enough free disk space on PC

three different methods. first two methods are for MicroSD Card inserted in phone (will take several hours)

Thank you very much. Obviously for the first 2 methods (on the phone) it means I need 20 GB free space in internal memory, correct?

no, it is streamed directly to PC


text:
How many years an app is downloadable in Google Play Store?
I wonder how many years an app is downloadable/distributed in Google Play Store after developer upload his/her app.

I don't think there is a strict limitation besides the validity date the self-signed app developer certificate is limited to (Google recommends to set a validity period of at least 25 years for newly created certificates).

Other than what Robert mentioned, I've had apps removed from the Play Store due to included legacy Advertising SDK being deprecated / considered using unsafe code OR the developer account not updating the listing for Content Rating.

There are 2 possible interpretations of this question: 1) the developer just uploaded the app once and not maintaining it anymore, or 2) they still continue providing updates to the app. The distinction is quite important due to Google renewing and enforcing their Google Play Policies, so old apps can just be removed from Play Store if they're not complying to the latest policies.


text:
Magisk manager not detecting magisk installation
Device: itel A11, Android 6
Before the installation of  magisk v22, my magisk installation was working fine, so I updated the magisk through direct installation and rebooted my phone but magisk manager wasn't detecting magisk.
I tried flashing magisk on my boot image and flashed the patched image with fastboot and spd flash tool but magisk manager  wasn't still detecting magisk.
I updated to the latest canary version and tried the same thing but to no avail, so I tried flashing my stock ROM but replaced my boot image with the patched boot image still nothing.
Today I came across this thread Magisk issue :Device rooted but Magisk not installed that shows exactly the problem I have and he solved the problem by uninstalling the repackaged magisk manager, but now my problem is I flashed my phone and I doubt if the repackaged magisk manager will still be in the phone but why is magisk manager not still detecting magisk

This happened to me. Here is what I did. I uninstalled Magisk Manager app. Downloaded latest Magisk apk from GitHub. Renamed its extension to ZIP. Went into recovery and flashed that zip. Rebooted and Magisk Manager was installed and was working fine.

@Firelord signature verification failed and I can't use custom recovery because they don't support my device

Unhiding of Magisk manager is essential. Please do post your fix afterwards- for now , I am deleting my answer(not relevant)

@beeshyams, I can't un-hide magisk manager since I flashed my device with my stock ROM, except the app remains even after the phone being flashed

Very unusual. I would suggest make a backup of data, wipe data, flash stock ROM and patch boot image for root


text:
OS Version relation between android and lineage OS
I have currently Android 6.0 Device but app which I am trying to install only supports Android 7.0+.
I am thinking of installing lineage OS.
Is there Lineage OS 7.0 etc. equivalent of Android 7.0, so that app can be installed or I need to stay with android.

@alecxs, this answers where I can find custom ROMs. I want to know what is relation between them. Means compatibility of apps. How their version relate. If app requires Android 7+ in play store, what it means for lineage os.

Does this answer your question? Where to get old LineageOS ROMs?

14 = android 7 (increase +1)

Ya that's what I was looking for, Thanks

https://www.wikipedia.org/wiki/LineageOS#Version_history


text:
Unable to play some multimedia
I have a P30 lite. When trying to play a video from YouTube (app and web), the video open, but just keeps spinning, and eventually it just freezes. I've tried both with a without WiFi.
I am unable to play videos saved on my device, and neither am I able to play videos sent to me on whatapp, nor audio clips. I am able to play voice notes though.
I've restarted my device, and I've tried logging out of YouTube, reinstalling YouTube as well as trying to use an incognito tab in chrome.
Bar reinstalling my phone, what can I attempt to fix this?

apps depend on google play services. google releases broken updates sometimes. wait for the next release

After two days, the media started working again. It's very possibly that (as @alecxs said), there was an update done in the background that broke something, and then another one that fixed it.
Unfortunately I am unable to give a concrete solution as to how to fix this issue if this happens with anyone else.


text:
Is it possible to add a feature from app to another through .xml editing?
So I had just discovered this keyboard app called the Multiling O Keyboard which is very useful, but one thing I hate about it is that, it doesn't have the permanent notification feature which the Hacker's Keyboard has.
So is it possible to add the Hacker's Keyboard's permanent notification feature to Multiling O Keyboard?
This feature will help me open the soft keyboard even without textfield to write into like the Hacker's Keyboard.
PS. I'm not good in coding, I just want a decent keyboard for myself.

Depends on the app but typically changes to app behavior require code changes.

Persistent notification needs code changes though


text:
How to move Apps to the adoptable sd-card storage on LineageOS 17.1 (Samsung Galaxy S5 klte)?
Hi since I updated to LineageOs 17.1 I am having storage problems, because the management of the adoptable storage does not work as expected.
The problem:
LineageOs migrates constantly data from the sd-card (used as internal storage) to the real internal storage. Somehow the play, and apps like WhatsApp distinct between the internal storage and the adoptable storage and ask me to free space. WhatsApp even stopps working. So I constantly remove apps, but even freeing several GB of data does not help because LineageOs moves more and more data to the internal storage.
What I did to cause the problem:

Installed LineageOs 17.1 and enabled adb debugging.
Deleted the old partition table of my sd-card
used adb shell to format the sd-card with: sm partition disk:179,64 private
put a lot of data to my phone
by accident clicked in the options of the internal storage on "migrate data", what is the opposite of what I want. The process terminated with an error because of running out of storage. So maybe it never stopped and some flag is still set somewhere, what causes my problem?

What I tried to solve the problem:

Rooted the phone with Magisk
Installed app2sd pro from Bicky Bonick and tried to move apps. This did not help because the app seems to be targeted to an environment with a portable and non-adoptable sd-card storage? Clicking on linking apps to the sdcard results in an at this stage not further specified error. I just think this is the wrong way to go?

The question:
How can I increase the 16GB internal space available (with LineageOs 17.1) for apps on my phone by using my external 64GB sd-card?
This question might be related to this one.

please explain "migrate data is the opposite of what I want"

I think this means that data is moved from the sd-card to the phones internal stoarge

"migrate data" is the 2nd necessary step after 1st step "adoptable-storage" is created. it will move all apps from phone into sdcard (if app is moveable). all new installed apps will directly installed into sdcard. if you don't want to migrate, just uninstall+reinstall some of your apps

Sure I did this after setting up the adoptable-storage. But after this was done "migrate data" was just clickable on the internal storage (on LineageOS 17.1) and the phone never stopped to move data from the sd-card to the phone storage.
People in #lineageos @irc.freenode.net told me that using adoptable storage in general is a bad idea, but how in this case work with the Samsung Galaxy S5? I will always have storage issues with the 16GB internal memory. This is so little.

what you see as "internal storage" is the (adopted) MicroSD Card in real. "migrate data" won't transfer apps from sd-card to phone, it will (try to) move apps from phone to (adopted) internal storage (depending on android:installLocation). when 100% disk space adopted you can't see your MicroSD Card any longer, the only way to check disk usage is from cmd line df -h /mnt/expand/* (if your device is rooted consider 3rd party apps like Link2SD instead)

LineageOs showed both storages separately, despite I formatted the sd-card as 100 % adopted (as described above)

maybe lineageos is bit smarter? anyway, check the output of df -h

I had the same problem with lineage 15.1 on my samsung s4mini.
the solution which worked....

under 15.1 I formatted the sd as internal storage
I copied all relevant system zip files to the sd card (lineage 15.1 / open gapps 8.1 pico / supersu v82)
I booted to twrp recovery and wiped everything except preload and the sd card
then I installed all above mentioned 3 relevant system files from the sd-card in one go
I rebooted and my sd card was still configured as internal memory and newly installed apps moved to a large extent to the sd card and the phone was still rooted - it was perfect

having installed apps which would not have fitted to internal memory before I am now using only 3.3 of 8.0  gb and if I install more apps the real internal memory will fill up just slowly....

Sorry to revive this year old thread but found a method which seems to solve this issue so just want to put it down here for everyone's benefit. I am on LineageOS 18.1 (Android 11):

Enable Developer Options (Settings -> About -> Tap build number 7
times)
In Developer Options under Apps section there is a setting called
Force allow apps on external, enable that.
Now you should be able to go to Settings -> Apps and click on each
app to see if they are using Internal Storage or SD card, if it is
on Internal Storage you can move it to SD card.

Using this method most of my apps could be moved to SD card. One thing I noticed is the space used doesn't really update immediately and I had to reboot the device to see the space used in internal storage.


text:
Moving files (within the same disk) means "copy and delete"?
I have Moto E6 phone with Android 9 Pie and external SD card, I need to move large folder to another location on the same card but all file explorers I tried so far were trying to copy data to the new location and only then delete it from old location
Is this the way android is moving files/folders? The process takes forever and (if SD card doesn't have enough space for TWO copies of the same data, the process is terminated with error)
Once the phone was connected to windows PC, I was able to map internal storage as a drive and just move the folder from one location to another in a second.
Is there any way to force Android to actually move data to the new location without copying?

not sure about the MTP protocol or how API work, but mv works fine to me on cmd line

@alecxs But mv works on an external (real) sd-card only on via adb or on a rooted device via su. Apps have to use the Java API an I am not sure if the Java API contains a move command.

@alecxs Sorry my comment was a bit unclear. I was only talking about file modifications especially for file deletion I know that this is not possible on an external sd-card since Android 9 without root permissions. Reading is still possible. File creation I don't know, and I am also not sure if file moving is something special or a combination of file creation plus deletion from a permission perspective.

looks like there is no official recommended
way handling files https://stackoverflow.com/q/4178168


text:
How to determine if an android application uses Trusted Execution Environment (TEE) and Secure Element (SE)?
I have gone through questions One and Two. But still I have an additional question.
How do we find out that an android application uses Trusted Execution Environment (TEE) and Secure Element (SE). Particularly a hardware backed environment.
Thanks

Apps usually don't use TEE or SE directly. They aren't privileged enough to access underlying hardware resources. Instead they are using system APIs (e.g. Android keystore) or libraries (e.g. androidx.security) which subsequently use TEE if the device supports. So ask the developer or get the source code and find if the app is using any such API.

@IrfanLatif To my knowledge apps can use the TEE, however this seems to require additional negotiations in the background between the app developer and the device manufacturer so not everybody can do so. For example the Netflix app is known to use the TEE. May be this is the reason that devices need to be certified for Netflix HD playback?

@Robert yes definitely OEMs and ROM developers can access the hardware resources directly using low level APIs. And also they are sure if the device supports TEE or not. But normal apps cannot. Though they can query if the device supports TEE. Android Keystore, for instance, uses hardware-backed storage if the device supports, otherwise it silently uses software-backed storage. So even if we figure out that the app is using Keystore APIs, we cannot say for sure if it's using TEE. It depends on the device it's running on.

@Robert Not in android. Google even recommends OEM against exposing API which can directly talk with kernel. Android has HALs that allow android framework to talk with the kernel. To use TEE, apps call AndroidKeystore Provider API which talks to Keymaster HAL which talks to kernel which talks to TEE.

Any app that uses KeyStore and KeyPairGenerator or KeyGenerator classes along with the AndroidKeyStore provider and KeyChain API makes use of TEE. AndroidKeyStore provider API handles communication with whatever keystore is available on that device.


text:
How to root Huawei RIO-L01 (Android 6.0.1)?
I need to gain root access in Huawei RIO-L01 phone with Android 6.0.1 (Marshmallow). I have tried installing King root, Kingoroot, Towel root and Frama root apps. All these apps failed either because the device version isn't supported or due to some internal failure. Kingorrot android app for windows doesn't get downloaded. I have also followed some tutorials online but none worked out. Mostly options require payment for acquiring the bootloader code.
Is there any method to root Huawei phone with Android 6.0.1 without purchasing boot unlocker codes?
The links that I have gone through are the following:
https://forum.xda-developers.com/t/root-with-twrp-recovery-for-g8.3298392/page-6
http://www.getdroidpro.com/huawei-g8-rio-l01-m105-root-via-magisk/
https://www.youtube.com/watch?v=5jFKJEsuir8
https://root-android.kingoapp.com/huawei/how-to-root-g8.htm

just spend 4 bucks on dc unlocker?

I think the answer is "no", check this.


text:
USB tethered device constantly changing public IP address
I recently switched from iPhone to Android (Galaxy S10e), and use the phone hotspot as my primary internet.
I connect the phone to a gli-net mini router (https://www.gl-inet.com/products/gl-ar750s/) through USB Tether, and from that (only have ethernet enabled on the mini router) to a netgear Nighthawk R7000 router which we use for wifi in the house.
The gli-net router has a firewall rule to keep the TTL at 64 (or was it 65??) so we can continue to get unthrottled speeds.
On the netgear router I have also disabled 2g wifi, and only use 5g.
The problem we have is that our IP address on connected devices changes with each web request. So if we go to https://www.whatsmyip.org, we have a new IP address at almost every refresh.
It seems like there are a few addresses the the laptops rotate between ..*.7/9/15.
The DHCP lease time on the routers is 12 hrs.
Do you have any ideas what I should look at next?
When we connect through a vpn on the laptop (protonVPN for example), our IP address doesn't change at every request.
It worked with the iPhone, so I'm wondering if something is going on in the android I'm not aware of? oh, also, the phone service I'm using only allows 1 hotspot connection, which Android respects. The iPhone ignored that. Do you think the issue could be caused by the phone service + android only allowing 1 device? I assumed that if I tethered to the gli-net that it would see that as my one device..

DHCP affects only your private IP address but whatsmyip shows your public IP address. The public IP is "selected" by the used mobile network and you don't have any influence on it. The public IP is often shared among a large number of customers. The only thing you can do is check if you use the correct APN setting and proxy if your mobile network requires to use one.

Thanks for the info! Yeah, its brand new phone, fresh connection to my phone service (visible) so I think all the APN is correct. I just wondering now if it is visible connection limit that trades the IP addresses between the devices connected to my router. On a VPN, everything is ok, just wonder why the IP address changes at every request otherwise!

May be your device always disconnects after a request. If you can, limit the phone to 4G for a test and see if it changes something. 5G is currently only available in "non-standalone mode" which means it is only used additionally to 4G for a certain time. May be your phone immediately goes back to 4G after finishing a request via 5G and thus your IP is changing with every request because of the 5G disconnect. Could also be a bug of the phone or the network. Also check if this happens when browsing using the phone directly.


text:
An Android App for blocking trackers completely using AI
About my device:

Android version: 10
ROM: Stock ROM(Android One)
Bootloader status: Unlocked and Rooted with Magisk 21.4 Stable

Tweaks that I've done till today:

AdAway
AfWall+
Warden
Ditched Chrome for Bromite, Brave(for syncing to pc) and Firefox Klar
NUKED script
And many more!

I'm currently searching for an Android app that can block ALL the trackers as well as hidden trackers on Android including Ads.
I, being a privacy enthusiast, have done a lot of online search, and currently using an open source app called Warden. It's good but, user needs to spend ton of time tweaking apps for better protection against trackers.
(If you're from India and you use Jio sim, then you'll have MyJio installed, their tracking is literally insane!).
I'd like know, is there any other Android App that can learn to tweak and disable trackers(privacy badger extension for browsers, for example) on it's own as the time passes, just like how Google Keyboard learns to personalize the dictionary.
Editings and Suggestions are always welcome:)

It is not necessary to use MyJio app to use a Jio SIM, but it is sort of very hard to keep track of real-time mobile data in its absence (JIO doesn't provide handy USSD codes).

Yes, you're right, I use it for keeping track of my data usage and recharge purposes. And yes, I just used it as an example for better clarification of what Im trying to say.

If you want "100% tracker freeness" you need to use the reverse approach. Do not blacklist trackers, instead white-list required domains. An AI is IMHO not a solution as you would have to train it first and afterwards a new tracker that just acts totally different as the others will not be detected as the AI is not trained on it. Additionally such an AI would require full data access (not only the domain names because from those you can't lern much) and therefore the AI would have to process a lot of data which also means that it would waste a lot of battery.

Got you! @Robert, I agree with your point of not using an AI related app for such thing, but do any app that exist to whitelist the required domains for required apps to work? or any scriptfor getting my job done. Because, Warden, that I've been using since months, is good, but it misses most of the amazing trackers by libraries(not sure if that;s a library) like Madme and others, especially adtriggers.

After struggling for a long time to achieve the same, what I ended up with is to simply use DNS blocking combined with app blocking. Block all the apps (using iptables or VPN based solutions) you think should not go online. But be aware of the fact that UID based blocking won't work if an app is using GMS APIs (and you haven't blocked Play Services). For the apps going online DNS blocking works quite good, even for malware protection on Windows. Keep the hosts file updated e.g. with StevenBlacks's. Even better, I use dnscrypt which encrypts (to prevent DNS hijacking) as well as blocks.

So, @IrfanLatif, in my case, AdAway(AdAway official Hosts, Bromite Filters, Pete Lowe Blocklist Hosts and StevenBlack Unified Hosts) and AfWall+ is more than enough? Along with Warden? But still, Jio related apps show a ton of Ads in it's apps(and they now feels like Adwares!).

Well the definition of "more than enough" may vary for persons. It depends on how concerned you are about your privacy. And honestly saying, the pace at which tracking, ads, malware, ransomware etc. are evolving, nothing is more than enough. So it's a matter of satisfaction, depending on one's technical acumen. Majority of the Android users in not aware of and not concerned about what Google alone is doing to them.

On the other side there are people like me. I've customized my device with root privileges - some native services running in background - to make it as secure and private as possible. For sensitive data like contacts, photos and notes I've developed some minimal apps of my own to avoid dependency on third party resources. But still I think there are a number of aspects of privacy missing in my setup.

Yes, I do agree with your point of view, me, so, what I'm currently doing is using FOSS apps(most of them) that mostly works offline except for contacts as Google Backup of contacts is a must for me.
[Edit:] And I don't know what would happen if I apply firewall to GMS. Apps that depends upon GMS, might stop working. That's the only fear that I've.


text:
Contacts app on new phone is not pulling in contacts from Google Account
According to Google help:

If you save your contacts to your Google Account, they automatically show on your phone after you sign in.

My wife got a new Google Pixel 4a and successfully added her Google Account, but no contacts appear in the Contacts app. Needless to say, this mean that all phone numbers have to added manually for calls or text. Gmail contacts still autocomplete.
We've tried following some of the suggestions at Google's Fix account sync issues page, including:

Manually sync your Google Account
Remove & re-add your account

Neither one has solved the problem.
How do we get the Contacts app to populate with all the contacts in the Google Account?

What does the contacts synchronization status show for the Google account?

It shows a last-synced time for when the Google Account was added.


text:
Finding the device in LAN network which is sending packets that do not allow phone to go to sleep
Bear with me because I think this is a really odd situation.
It all started by noticing that my android phone (and some other phones) loses more than 10% of battery during night while doing nothing (only wifi and mobile-data was active).
Using dumpsys batterystats, it showed me this strange wakeups:

As it is evident from the log, the phone gets woken up roughly every 3 seconds. I first thought of some app in my phone but even deleting all apps did not solve the problem (not even factory reset). I went further and flashed various custom roms (with different kernels) without any apps (not even Google Play services) but the log still showed the unknown wakeups.
I suspect that maybe there is something from the outside of the phone which was causing this behavior (because it show up only when connecting to my home wifi LAN; with other wifi networks or using mobile-data everything was normal).
And it turned out that my Android Box was causing this odd behavior (connected to the same wifi network) because as soon as I disconnected the Android Box from my Lan network, there was no more unknown wakeups (sending some packets to the phones which are in the same network and causing them not to go to sleep)
My questions are:

What are these packets that the Android Box is sending?
Given the type of these packets, is there any tool that can scan the network
and identify which device is sending them?

If the packets are broadcasted within the LAN then any connected device can capture those packets. Easiest would be using a PC with Wireshark to capture the traffic.


text:
Accidentally wiped /system, recovery not working
I accidentally wiped /system on my Archos 101e Neon (MT8163) through fastboot. Now it can't boot and can't go to recovery or fastboot mode. I tried vol -, vol + and both. It's just stuck on the first boot splash with the "Orange State: Your device has been unlocked" message. It also seems to not be detected by the PC (I'm running Linux). Any way to recover this brick?

my phone usually stays for 120 seconds on that 5 seconds screen, so i have to keep holding volume up for 120 seconds