text:
Is it possible to unlock a phone with usb debugging disabled?
I forgot the password of my old phone and even taking it to experts told me that it turns out impossible to recover data or unlock the phone. The phone is an honor 10 with Android OS 8.1.
Is it really impossible to attempt to recover the data?

No, it's impossible except for social engineering/bruteforcing. how many digits pin/pattern/password?

If the phone is encrypted by default then the only realistic way is to break the password/pattern/PIN.

So the only way out is to break the 4 digit pattern......

possible but requires goood portion of luck. gatekeeper will increase timeout for each wrong attempt (up to 1/1day after 140 attempts)


text:
100% Flash memory used by system/proc folder - Oppo find X3 lite - colorOS 12
I'm currently facing this issue: after the ColorOS 12 update on my OPPO find X3 lite, my phone was showing the warning of flash memory full (128 GB). Even removing files, cache, apps and other stuff, after very little time it was showing the warning again.
Long story short, I found that the system is creating multiple copies of the same folder under the path "system/proc/12566/task", there are currently 98 folders using roughly 1,3 GB each.
Is it a system bug? Should I try to remove these folders? Anyone's already faced this issue by chance?

/system/proc is not a real folder, therefore it occupies no space on flash. All the content is just data generated on-the-fly by the Linux kernel. https://tldp.org/LDP/Linux-Filesystem-Hierarchy/html/proc.html BTW: The term "memory" is ambiguous as it can refer to RAM memory or Flash memory. As there is no Android phone with 128GB RAM you seem to refer to flash memory, I have corrected that and the wrong RAM tag.

Thank you for the reply Robert, and thank you for the correction, yeah I definitely meant ROM memory (probably the ram tag has been autoadded). Does that mean that I can try to delete that folders?

there is only one writeable partition so the warning concerns /data only (even if it's named "System")

I understand. I haven't still rooted this phone so I don't have view access to /data folder. Would the root let me understand what's the real responsible of the memory usage? There's definitely something that's "burning" space without a clear reason...

@alecxs I'll check it right know and let you know, thank you for the help

Rooting the device would eliminate your requirement for storage analysis now, because in the rooting process a factory reset is performed so all data would be gone...

Does this answer your question? What Is Using Up My Storage/Data on Android Phone?

@Robert well yeah that's true

@alecxs I just checked with adb, my /storage/emulated/0 folder is showing just 11.7GB of usage... What else may I check?

ColorOS RECOVERY is able to decrypt /data. not sure about root shell though, but someone claimed it provides availbility to install unsigned flashable zip files. that could be utilized to access /data without rooting

That means that I should install SU through ColorOS RECOVERY, did I get it right? Of course I'll perform a full backup before doing anything... thank you

No, do not install SuperSU. create your own (unsigned) flashable zip for du and try to install (will most likely fail). full backup is only possible in EDL mode btw

/proc, /sys etc. are kernel's virtual filesystems which reside in RAM. And they take very small amount of RAM - not more than a few MBs. Relevant details here. Also related: How disk space is used on Android device?.

source: Stack Exchange

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

sort: votes


text:
I need to block some videos (inside Youtube app) and sites (inside Chrome or another browser) using keyword
example: I want to block pages/videos where the content/title contains the word "fish". How can I do it? Thank you.

Youtube only uses HTTPS connections so you can not access content of network connections outside of the Youtube app. For content filtering accessing the transferred content is crucial, so filtering Youtube content in Youtube app is impossible on unrooted devices.

@Robert cant we use something like a firewall over vpn? i might be wrong... idk if im able to convey what i want to

A firewall can only block connections on a per host basis. For YouTube this would mean allow everything or block everything. HTTPS connections are designed to preserver integrity and confidentiality, and YouTube app checks server authenticity, that means HTTPS is your enemy, a well designed enemy you can't defeat on an unrooted device.

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


text:
Remote connect adb to android device
How can I use adb shell for an android device wireless and remotely? With ssh, wifi, or bluetooth. For example can I connect to my mobile from laptop with bluetooth and use adb shell in laptop for my mobile?

ADB is a plaintext protocol without any transport encryption or protection. Because of this it is not recommended to use it remotely (e.g. through Internet) as command injection would be easy on the adb connection.

@Robert You are right, but I want to do it almost once. I do not think there is a dangerous risk for a short connection.

wireless adb is IPv4 based and does not work remote

https://developer.android.com/studio/command-line/adb#connect-to-a-device-over-wi-fi-android-11+

@IrfanLatif Thank you, but it would be better if there is no need to android studio

All that you need is adb binary, not Android Studio.

@IrfanLatif This is a part of the guide:
Before you begin using wireless debugging, you must complete the following steps:

...
...
Ensure that you have Android Studio Bumblebee. You can download it here.
...


text:
My problem is that it crashes and after I do a hard reset in the Chinese Wipe MMC menu, instead of the standard 32 applications, I get 57?
I have a smartphone brand Motorola C Plus, Android 7.0.,
My problem is that it crashes and after I do a hard reset in the Chinese Wipe MMC menu, instead of the standard 32 applications, I get 57 ?*!
After testing in the English menu I saw that there are log files that the system does not remove? Does the problem come from a launcher update or another program, or is there hacker intervention? After turning off the internet card, Bluetooth and wifi, the ordinary hacker could hardly enter? How to do system cleaning manually with USB cable commands from a personal computer when connected to it?
I activated ADB commands, but I could not see where I install the new 25 applications for music, video and others to destroy their installation archives.

"instead of the standard 32 applications" I'm a bit curious about this statement, where did you get this info from? Also, what are those 25 additional apps?

Evernote; Mój T-Mobile; Tidal;....

Some ROMs contain apps they install dependent of location and other criteria on first reboot after factory reset. Those apps are then pre-installed but those apps are not really system apps and you should be able to totally uninstall them.

After resetting to factory settings, I think the ROM needs to load up to 32 applications, most of which can be uninstalled or disabled. This is clear, but the problem is that I have 32 others installed - audio, video, navigation ... in some of these others probably lies the reason why my device turns off, restarts itself or blocks. I need to remove the battery and wait for hours to turn it back on in a few seconds or minutes .... Antivirus does not detect a virus, so either new applications overflow my memory, or there is a log file that restarts, or the logger is damaged ??!

or simply device is end of life because of eMMC wear-out? you can however disable packages from adb (no root required) or uninstall from temporary root shell (mtk-su) or flash stock ROM from fastboot/SP Flash Tool (beware of golden rules)

Does this answer your question? Malware automatically installing unless I disable the play store

Does this answer your question? Redmi note 9 brick

I activated the option for programmers and it got even worse ... now even without a card my phone crashes, even during a test in root integrity check ?? Clearing the cache and user settings do not help, obviously something else needs to be deleted in memory ?? Where are the files I see from in root integrity check deleted?

authors: Петър Петраков


text:
How to view Facebook 360 degree photos using a simple non-electronic VR glass?
I would like to view Facebook 360 degree photos on an Android mobile using a simple non-electronic VR glass. Is it possible?
Thank you for your time
Edit: A "simple non-electronic VR glass" means a VR glass which doesn't integrate with mobile through bluetooth. So, the mobile doesn't automatically know that I am viewing it through a VR glass.

What is in opinion a "simple non-electronic VR glass"?

@Robert Thank you for your time. It means a VR glass which doesn't integrate with mobile through bluetooth. So, the mobile doesn't automatically know that I am viewing it through a VR glass.

If the VR glass does not communicate with the phone how it is effectively just like a connected monitor or TV. How should the phone then know anything about the orientation of the VR glass to derive your head position and view angle for showing the correct part of the 360 degree image?


text:
How can I make two concurrent phone calls?
I use a Google Pixel 6 with Android 11.  How can I make two concurrent phone calls? Goal: calling 2 different numbers in 2 separate calls.

Are you talking about three-way calling/conferencing calling? Note that it may depend on carrier support.

@MorrisonChang thanks, trying to call 2 different numbers in 2 separate calls.

You can't from the same number atleast.
A workaround would be this
Install a virtual number provider eg TextNow, 2ndLine
Now you can make two phone calls simultaneously
One from your regular SIM and phone app, another one from the virual number provider : BOTH CALLS WOULD BE SEPARATE AND CONCURRENT
Ending note: Though this works, I'm not sure how the microphone permission is gonna be handled


text:
How to Enable Developer Mode (USB Debugging) for a Gabb Phone Z2?
I've been looking around the internet trying to find a way to enable USB Debugging. Looks like there was a way until Gabb patched it. I've tried all of these ways

Searching for the autofill on the privacy tab
Clicking Build Number 7 Times
Typing the code number *#991# in the dial option and *#*#4636#*#*

Has anyone figured out any workaround for this? I've been searching for any solution and haven't found any, yet. The phone is hackable and there is a way but just don't know yet.

Based on following this whole cat-and-mouse regarding [tag:gabb] devices, it's unlikely there's a public solution when its manufacturer actively shutting down any new workarounds.

Yeah, that's what I guessed. I'm am going to try downgrading though because the phone I have did have the older version so hopefully that works.

This is because Gabb Wireless has installed their own ROM on the Gabb Phone and Gabb Phone Plus. When Gabb Wireless rewrote the ROM they removed some system applications that are required for applications like the Google Play Store to run properly(Maps, Side Loading, etc).


text:
Android ADB delete /data/data but keep files in /storage/emulated/0/Android/data/<app name>
I am inquiring on if it is possible to Re-Install a apk using adb and either before launching or while installing delete the files in /data/data but keep the files stored in /storage/emulated/0/Android/data
Edit:
some context
there is this app for the oculus quest called QuestCraft which is VR minecraft standalone on the quest. the script I am writing is to fix a bug where after restarting a .so file is deleted from /data/data (which I cant just adb push) but I found the file could be replaced by re-installing the app. but by reinstalling with the -r flag it wont re-unpack the libraries and if I dont specify -r all my worlds and servers are deleted from within minecraft.

Sorry but your question is a little bit confusing as it unclear why you need a script and what it has to do with a .so file being unpacked or not. I would recommend to edit your question and exactly describe what you are trying to do and why. It seems like the used phone is not rooted, because otherwise you wouldn't have to develop such workarounds.

Baisically i want to delete /data/data/<app name> but keep /storage/emulated/0/Android/data/<app name>. the easy way would probally be to adb pull the folder and push it back later after installing. but I just want to make sure there is no way to delete that one folder

/data/data is inaccessible to you unless your phone is rooted. /storage/emulated/0/Android/data/ should be accessible to you, so you could try to simply rename the app specific folder within before uninstalling the app.


text:
How to read gfxinfo
I'm using Apache TVM do benchmark DL models - this is long story, but I want to preview GPU usage of TVM. On Android device I have runing APK, which spawn 1-2 processes, which use GPU. I have turned on "GPU Profiling", and I dumped logs via adb shell dumpsys gfxinfo. But I'm not sure how to properly read it? Example of TVM process is below.
My questions:

do you know any tutorial/instruction for reading and understanding following stats? how to interpret it?
I do not care about jank frames, I need information about GPU usage, GPU memory usage

** Graphics info for pid 14811 [org.apache.tvm.tvmrpc:RPCProcess] **

Stats since: 5644930627488ns
Total frames rendered: 1
Janky frames: 1 (100.00%)
50th percentile: 97ms
90th percentile: 97ms
95th percentile: 97ms
99th percentile: 97ms
Number Missed Vsync: 0
Number High input latency: 0
Number Slow UI thread: 1
Number Slow bitmap uploads: 0
Number Slow issue draw commands: 1
Number Frame deadline missed: 1
HISTOGRAM: 5ms=0 6ms=0 7ms=0 8ms=0 9ms=0 10ms=0 11ms=0 12ms=0 13ms=0 14ms=0 15ms=0 16ms=0 17ms=0 18ms=0 19ms=0 20ms=0 21ms=0 22ms=0 23ms=0 24ms=0 25ms=0 26ms=0 27ms=0 28ms=0 29ms=0 30ms=0 31ms=0 32ms=0 34ms=0 36ms=0 38ms=0 40ms=0 42ms=0 44ms=0 46ms=0 48ms=0 53ms=0 57ms=0 61ms=0 65ms=0 69ms=0 73ms=0 77ms=0 81ms=0 85ms=0 89ms=0 93ms=0 97ms=1 101ms=0 105ms=0 109ms=0 113ms=0 117ms=0 121ms=0 125ms=0 129ms=0 133ms=0 150ms=0 200ms=0 250ms=0 300ms=0 350ms=0 400ms=0 450ms=0 500ms=0 550ms=0 600ms=0 650ms=0 700ms=0 750ms=0 800ms=0 850ms=0 900ms=0 950ms=0 1000ms=0 1050ms=0 1100ms=0 1150ms=0 1200ms=0 1250ms=0 1300ms=0 1350ms=0 1400ms=0 1450ms=0 1500ms=0 1550ms=0 1600ms=0 1650ms=0 1700ms=0 1750ms=0 1800ms=0 1850ms=0 1900ms=0 1950ms=0 2000ms=0 2050ms=0 2100ms=0 2150ms=0 2200ms=0 2250ms=0 2300ms=0 2350ms=0 2400ms=0 2450ms=0 2500ms=0 2550ms=0 2600ms=0 2650ms=0 2700ms=0 2750ms=0 2800ms=0 2850ms=0 2900ms=0 2950ms=0 3000ms=0 3050ms=0 3100ms=0 3150ms=0 3200ms=0 3250ms=0 3300ms=0 3350ms=0 3400ms=0 3450ms=0 3500ms=0 3550ms=0 3600ms=0 3650ms=0 3700ms=0 3750ms=0 3800ms=0 3850ms=0 3900ms=0 3950ms=0 4000ms=0 4050ms=0 4100ms=0 4150ms=0 4200ms=0 4250ms=0 4300ms=0 4350ms=0 4400ms=0 4450ms=0 4500ms=0 4550ms=0 4600ms=0 4650ms=0 4700ms=0 4750ms=0 4800ms=0 4850ms=0 4900ms=0 4950ms=0
50th gpu percentile: 4950ms
90th gpu percentile: 4950ms
95th gpu percentile: 4950ms
99th gpu percentile: 4950ms
GPU HISTOGRAM: 1ms=0 2ms=0 3ms=0 4ms=0 5ms=0 6ms=0 7ms=0 8ms=0 9ms=0 10ms=0 11ms=0 12ms=0 13ms=0 14ms=0 15ms=0 16ms=0 17ms=0 18ms=0 19ms=0 20ms=0 21ms=0 22ms=0 23ms=0 24ms=0 25ms=0 4950ms=0
Font Cache (CPU):
  Size: 2.66 kB
  Glyph Count: 2
CPU Caches:
GPU Caches:
  Other:
    Other: 988.00 bytes (1 entry)
  Shadow Gaussian Falloff:
    Texture: 128.00 bytes (1 entry)
  Scratch:
    Buffer Object: 48.00 KB (1 entry)
    Texture: 2.00 MB (1 entry)
Other Caches:
                         Current / Maximum
  Layers Total           0.00 KB (numLayers = 0)
Total GPU memory usage:
  2147420 bytes, 2.05 MB (128.00 bytes is purgeable)

Pipeline=Skia (OpenGL)
Profile data in ms:

    org.apache.tvm.tvmrpc/org.apache.tvm.tvmrpc.RPCActivity/android.view.ViewRootImpl@a9f6eba (visibility=0)
    Draw    Prepare Process Execute

Window: org.apache.tvm.tvmrpc/org.apache.tvm.tvmrpc.RPCActivity
Stats since: 5644998711873ns
Total frames rendered: 1
Janky frames: 1 (100.00%)
50th percentile: 97ms
90th percentile: 97ms
95th percentile: 97ms
99th percentile: 97ms
Number Missed Vsync: 0
Number High input latency: 0
Number Slow UI thread: 1
Number Slow bitmap uploads: 0
Number Slow issue draw commands: 1
Number Frame deadline missed: 1
HISTOGRAM: 5ms=0 6ms=0 7ms=0 8ms=0 9ms=0 10ms=0 11ms=0 12ms=0 13ms=0 14ms=0 15ms=0 16ms=0 17ms=0 18ms=0 19ms=0 20ms=0 21ms=0 22ms=0 23ms=0 24ms=0 25ms=0 26ms=0 27ms=0 28ms=0 29ms=0 30ms=0 31ms=0 32ms=0 34ms=0 36ms=0 38ms=0 40ms=0 42ms=0 44ms=0 46ms=0 48ms=0 53ms=0 57ms=0 61ms=0 65ms=0 69ms=0 73ms=0 77ms=0 81ms=0 85ms=0 89ms=0 93ms=0 97ms=1 101ms=0 105ms=0 109ms=0 113ms=0 117ms=0 121ms=0 125ms=0 129ms=0 133ms=0 150ms=0 200ms=0 250ms=0 300ms=0 350ms=0 400ms=0 450ms=0 500ms=0 550ms=0 600ms=0 650ms=0 700ms=0 750ms=0 800ms=0 850ms=0 900ms=0 950ms=0 1000ms=0 1050ms=0 1100ms=0 1150ms=0 1200ms=0 1250ms=0 1300ms=0 1350ms=0 1400ms=0 1450ms=0 1500ms=0 1550ms=0 1600ms=0 1650ms=0 1700ms=0 1750ms=0 1800ms=0 1850ms=0 1900ms=0 1950ms=0 2000ms=0 2050ms=0 2100ms=0 2150ms=0 2200ms=0 2250ms=0 2300ms=0 2350ms=0 2400ms=0 2450ms=0 2500ms=0 2550ms=0 2600ms=0 2650ms=0 2700ms=0 2750ms=0 2800ms=0 2850ms=0 2900ms=0 2950ms=0 3000ms=0 3050ms=0 3100ms=0 3150ms=0 3200ms=0 3250ms=0 3300ms=0 3350ms=0 3400ms=0 3450ms=0 3500ms=0 3550ms=0 3600ms=0 3650ms=0 3700ms=0 3750ms=0 3800ms=0 3850ms=0 3900ms=0 3950ms=0 4000ms=0 4050ms=0 4100ms=0 4150ms=0 4200ms=0 4250ms=0 4300ms=0 4350ms=0 4400ms=0 4450ms=0 4500ms=0 4550ms=0 4600ms=0 4650ms=0 4700ms=0 4750ms=0 4800ms=0 4850ms=0 4900ms=0 4950ms=0
50th gpu percentile: 4950ms
90th gpu percentile: 4950ms
95th gpu percentile: 4950ms
99th gpu percentile: 4950ms
GPU HISTOGRAM: 1ms=0 2ms=0 3ms=0 4ms=0 5ms=0 6ms=0 7ms=0 8ms=0 9ms=0 10ms=0 11ms=0 12ms=0 13ms=0 14ms=0 15ms=0 16ms=0 17ms=0 18ms=0 19ms=0 20ms=0 21ms=0 22ms=0 23ms=0 24ms=0 25ms=0 4950ms=0

---PROFILEDATA---
Flags,IntendedVsync,Vsync,OldestInputEvent,NewestInputEvent,HandleInputStart,AnimationStart,PerformTraversalsStart,DrawStart,SyncQueued,SyncStart,IssueDrawCommandsStart,SwapBuffers,FrameCompleted,DequeueBufferDuration,QueueBufferDuration,GpuCompleted,
1,5645013569772,5645013569772,9223372036854775807,0,5645014148949,5645014150180,5645014151103,5645081986026,5645084159488,5645092585719,5645092703796,5645118001873,5645120370719,0,1326769,0,
8,5645030205523,5645113538858,9223372036854775807,0,5645125786949,5645125790103,5645125954565,5645126136103,5645126148565,5645126504257,0,0,0,0,0,0,
---PROFILEDATA---

View hierarchy:

  org.apache.tvm.tvmrpc/org.apache.tvm.tvmrpc.RPCActivity/android.view.ViewRootImpl@a9f6eba
  14 views, 26.56 kB of render nodes

Total ViewRootImpl   : 1
Total attached Views : 14
Total RenderNode     : 26.56 kB (used) / 97.82 kB (capacity)

And this is log only for Apk:
Applications Graphics Acceleration Info:
Uptime: 6901736 Realtime: 6901736

** Graphics info for pid 12574 [org.apache.tvm.tvmrpc] **

Stats since: 500523944950ns
Total frames rendered: 439
Janky frames: 23 (5.24%)
50th percentile: 6ms
90th percentile: 10ms
95th percentile: 19ms
99th percentile: 61ms
Number Missed Vsync: 1
Number High input latency: 69
Number Slow UI thread: 12
Number Slow bitmap uploads: 0
Number Slow issue draw commands: 5
Number Frame deadline missed: 13
HISTOGRAM: 5ms=199 6ms=39 7ms=45 8ms=72 9ms=21 10ms=20 11ms=7 12ms=5 13ms=1 14ms=3 15ms=4 16ms=0 17ms=1 18ms=0 19ms=1 20ms=0 21ms=0 22ms=0 23ms=0 24ms=3 25ms=1 26ms=0 27ms=1 28ms=1 29ms=3 30ms=0 31ms=1 32ms=3 34ms=0 36ms=0 38ms=0 40ms=1 42ms=2 44ms=0 46ms=0 48ms=0 53ms=0 57ms=0 61ms=1 65ms=0 69ms=0 73ms=1 77ms=0 81ms=0 85ms=1 89ms=0 93ms=0 97ms=0 101ms=0 105ms=0 109ms=0 113ms=0 117ms=0 121ms=0 125ms=0 129ms=0 133ms=0 150ms=0 200ms=1 250ms=1 300ms=0 350ms=0 400ms=0 450ms=0 500ms=0 550ms=0 600ms=0 650ms=0 700ms=0 750ms=0 800ms=0 850ms=0 900ms=0 950ms=0 1000ms=0 1050ms=0 1100ms=0 1150ms=0 1200ms=0 1250ms=0 1300ms=0 1350ms=0 1400ms=0 1450ms=0 1500ms=0 1550ms=0 1600ms=0 1650ms=0 1700ms=0 1750ms=0 1800ms=0 1850ms=0 1900ms=0 1950ms=0 2000ms=0 2050ms=0 2100ms=0 2150ms=0 2200ms=0 2250ms=0 2300ms=0 2350ms=0 2400ms=0 2450ms=0 2500ms=0 2550ms=0 2600ms=0 2650ms=0 2700ms=0 2750ms=0 2800ms=0 2850ms=0 2900ms=0 2950ms=0 3000ms=0 3050ms=0 3100ms=0 3150ms=0 3200ms=0 3250ms=0 3300ms=0 3350ms=0 3400ms=0 3450ms=0 3500ms=0 3550ms=0 3600ms=0 3650ms=0 3700ms=0 3750ms=0 3800ms=0 3850ms=0 3900ms=0 3950ms=0 4000ms=0 4050ms=0 4100ms=0 4150ms=0 4200ms=0 4250ms=0 4300ms=0 4350ms=0 4400ms=0 4450ms=0 4500ms=0 4550ms=0 4600ms=0 4650ms=0 4700ms=0 4750ms=0 4800ms=0 4850ms=0 4900ms=0 4950ms=0
50th gpu percentile: 3ms
90th gpu percentile: 6ms
95th gpu percentile: 11ms
99th gpu percentile: 24ms
GPU HISTOGRAM: 1ms=0 2ms=56 3ms=192 4ms=100 5ms=16 6ms=17 7ms=6 8ms=0 9ms=1 10ms=2 11ms=10 12ms=6 13ms=4 14ms=1 15ms=0 16ms=0 17ms=0 18ms=0 19ms=0 20ms=0 21ms=1 22ms=0 23ms=2 24ms=5 25ms=0 4950ms=0
Font Cache (CPU):
  Size: 17.38 kB
  Glyph Count: 5
CPU Caches:
GPU Caches:
  Other:
    Other: 0.00 bytes (1 entry)
  Shadow Gaussian Falloff:
    Texture: 128.00 bytes (1 entry)
  Image:
    Texture: 54.45 KB (3 entries)
  Scratch:
    Buffer Object: 48.00 KB (1 entry)
    Texture: 2.00 MB (1 entry)
Other Caches:
                         Current / Maximum
  Layers Total           0.00 KB (numLayers = 0)
Total GPU memory usage:
  2202192 bytes, 2.10 MB (54.58 KB is purgeable)

Pipeline=Skia (OpenGL)
Profile data in ms:

    org.apache.tvm.tvmrpc/org.apache.tvm.tvmrpc.MainActivity/android.view.ViewRootImpl@1038509 (visibility=8)
    Draw    Prepare Process Execute

View hierarchy:

  org.apache.tvm.tvmrpc/org.apache.tvm.tvmrpc.MainActivity/android.view.ViewRootImpl@1038509
  27 views, 38.25 kB of render nodes

Total ViewRootImpl   : 1
Total attached Views : 27
Total RenderNode     : 38.25 kB (used) / 38.25 kB (capacity)

My thoughts about it:
Total frames rendered - Number of frames created to render
Janky Frames - Number of dropped frames
50th percentile: 6ms - 50% of frames was rendered in or under 6ms
90th percentile: 10ms - 90% of frames was rendered in or under 10ms
95th percentile: 19ms - 95% of frames was rendered in or under 19ms
99th percentile: 61ms - 99% of frames was rendered in or under 61ms
Number Missed Vsync - vsync is complex mechnism for syncronizing frames from GPU and frames displayed
Number High input latency - Input latency or lag refers to the amount of time it takes from when it receives a signal (when you press a button on your controller or move your mouse) to when that action occurs on the screen.
Number Slow UI thread: ???
Number Slow bitmap uploads: ???
Number Slow issue draw commands: ???
Number Frame deadline missed: ???
HISTOGRAM - histogram of what? ms is time from this moment?
GPU HISTOGRAM - histogram of GPU usage? in what units?

--edit--
I was trying to look for gfxinfo and dumpsys in AOSP, but I haven't found anything interesting. There is parser of gfxinfo written in java, just parses few things. In dumpsys I cannot find reference to gfxinfo service (https://cs.android.com/android/platform/superproject/+/master:frameworks/native/cmds/dumpsys/dumpsys.cpp)

This is interesting blogpost about understanding PROFILEDATA: https://www.hellsoft.se/profiling-view-performance-on-android/ : "This will, among a bunch of other stats, print a comma separated list of numbers. These are the nanosecond timestamps for each of the phases in the rendering of a frame (up to the last 120 frames)."


text:
Android Automotive media Player Application
how does the Media app know/ displayed once we add media files to local storage?
TIA.

Some specific media playes (for example, MX Player) have in-app refresh features (e.g., pull-down refresh is a setting in aforementioned).  VLC also has a trigger in the settings somewhere to rebuild database.  I'm unsure if AA native UI has anything, though.

With the help of storage permissions and file scanning in n intervals


text:
How to raise a KEYEVENT_ENTER?
NOTE: I am not writing an android program, I am using someone else's program.
It seems that the enter-looking-button on my virtual keyboard isn't raising the enter key event on some websites that I go to.  I'm not entering text - I know that the website is listening for an enter keypress event in order to initiate some behavior.  How can I raise the enter key event with my virtual keyboard?

ask the creator of that keyboard

@alecxs I'm just using the stock keyboard

my keyboard toggles the key automatically depending on which input field the cursor is
https://i.stack.imgur.com/U9gi0.jpg
https://i.stack.imgur.com/wigpt.jpg
https://i.stack.imgur.com/4Hx2n.jpg


text:
How to restore purchases in an app that is no longer available on Google Play
A good friend of mine played a game called "Cordy" years back. The first three levels in Cordy could be played for free, the ones after that you had to unlock via In-App purchase. Back then, she decided to buy premium. Fast forward to today: Her childhood game is no longer available on the Play Store, and when you install the APK provided by a third party, it comes without the stuff unlocked. Attempting to restore previous purchases doesn't do anything.
Is there anything I can do to get it to work so that she can play the full game again?
If I have to mess around with the APK file, that would be fine too.

Possibly related: How to use in-app payment without Google Play?.

Patching the app with a tool called Lucky Patcher achieved the desired results.


text:
Mulitple user accounts on Samsung A20e
I have a Samsung Galaxy A20e, apparently Android lets you have multiple user accounts... but I dont see this listed anywhere in the settings for my phone?

That Android allows multiple user accounts does not necessarily means a Samsung phone running Android also provides this feature. Each phone manufacturer can modify their used Android version to a certain degree.

Possible duplicate: Multiple User Accounts on Galaxy S10/S10+/S10e (although for different models, possibly the same reason and solution)


text:
Samsung Dex compatibility with DELL docks
I have a Samsung S10 phone with Samsung Dex. Dex is fun and can (sometimes) be quite useful.
With it, I can use a desktop environment on my phone, like I would on a computer.
My workplace is equipped with a wide range of Dell docking stations.
For some reason, some get recognized by Dex. And some do not.
For instance, Dex works immediately with the WD19, but not with the TB16 or the WD15.
My questions: is there a (good) reason why not? How can I fix it?

Most likely the S10 supports HDMI over USB C, but not Thunderbolt.  USB C allows a multitude of standards to use the extra pins but what you can actually use depends on what is wired up and how.

Hi, thanks for this comment. Can you expand on it though ?

USB C, along with data, has what are known as Alternate Modes where the devices can change the functionality of the pins at the connector to support different outputs.
For example some laptops can switch the port to Thunderbolt mode which supports some display modes but can also be used to carry PCIe data (encapsulated in the Thunderbolt protocol) which can allow the connection of external GPUs which are more powerful than the built in GPU. Thunderbolt implies a more
There is also an HDMI Alternate Mode, where a device with appropriate GPU hardware can output signals understood by monitors and TVs.
These Alternate Modes come with a price though: the device on either sides must negotiate or support the use of particular modes.
A phone is unlikely to support Thunderbolt mode. It is a locked down device with limited access to install custom drivers for PCIe devices such as graphics cards and other related things.
I would expect your phone to support HDMI Alternate Mode only. As a result you will only be able to use docking stations that also support HDMI mode. A docking station might support multiple modes and I suspect that the WD19 you listed might support HDMI/DisplayPort along with Thunderbolt, while the other devices may only support one particular mode such as Thunderbolt.
The WD15 and TB15 datasheet explicitly states it is a Thunderbolt Dock, most likely incompatible with your phone.
The WD19 on the other hand calls itself a "Dell Docking Station" rather than a "Thunderbolt docking station". And may well support HDMI mode amongst others.
The only thing you can do is ask the manufacturers which "modes" their stations support and use only ones that work for your device. You cannot easily convert one into the other.

Thanks very much for this detailed answer. I'll do some more digging


text:
Keep showing unread mail notification in Gmail
Apparently, I'm one of the few people who use his mailbox as a to-do list, but since I got a new phone with Android 11, I lose my icon badge as soon as I clear the notification.
In the past, I could mark an email as unread, and then it would show an icon badge with how many unread emails I had. That way I could read as email and keep it unread as a to-do list. Marking another mail as unread would add a 1 to the icon.
Is there a setting I'm missing which would allow this? The only thing I find is people saying they get a notification even though they don't have mail.

The badge (also formally known as the notification badge since Android 8.0) may depend on how the home screen and app implement it. Usually, it just shows current pending notifications though. Gmail app doesn't provide such customization, so the alternative is the home screen/another email app instead. Instead, you might also want to mention the previous device model/Android version/home screen app that behaves like what you described.

The previous device was a Sony Xperia XZ1 Compact (which I think had Android 8.0 but I'm not sure) and I just used the default mailing app since I used it for my gmail, hotmail, ... addresses. Now I'm using a Samsung Galaxy XCover 5. Do you know a homescreen/another email app which would do this?


text:
Where in a smartphone with Android are deleted and cleaned the files that are visible when testing with "root integrity check"?
Where in a smartphone with Android are deleted and cleaned the files that are visible when testing with "root integrity check" ?? Clearing the cache and user settings do not help, obviously something else needs to be deleted in memory ?? Where do I delete the files I see from in root integrity check? How does this work?

What "root integrity check" are you talking about?

Android System Recovery "root integrity check" will check your read-only system partition for modifications. If anything is reported, flash memory is either corrupt or something (or someone) had root access and modified stock ROM intentionally. Your device is therefore compromised/corrupted.
Flash stock ROM from fastboot. In case you want to modify/delete reported files, read back system.img from SP Flash Tool and loop-mount ext4 partition image on linux PC


text:
How to lock screen and continue playing video?
My cats love to watch videos with insects, mice, etc. The problem is they touch the screen and sometimes close YouTube.
Is there a way to keep playing the video but lock the screen?

You can try apps like "Touch Lock App"

You can use your preferred media player that has a lock function (personally, I use MX Player Pro) in combination with the App Pinning feature, which (on my Android 11 device) is found under Settings > Security & Lock Screen here:

The lock function should prevent all app UI touches while app pinning should prevent notification as well as navigation bar touches.
The only caveat would be the random chance of them touching the unlock button, but for MX Player specifically there is a setting you can enable called "Kids Lock", which disables the unlock key while implementing a 4-touch (corners, starting from top left, in clockwise order) unlock procedure with no visible queues.
Of course, bear in mind that there's still the significantly less likely scenario of even this being activated by pure random chance.  If you're the type that doesn't want to leave anything to chance, you may want to look at, e.g., this type of solution, or look at applications like Touch Blocker.


text:
Detect the Incoming TCP Packets
I am developing a feature in my application for screen mirroring for which I need to open a wide range of ports (approx. 10000 number of ports) in my android system. It is a risk to open all these ports all the time.
I need to know if there is any mechanism to anticipate exactly which port will be used by the Screen Mirroring Server to send these TCP packets, is there any API or listener in AOSP which will be able to listen to the requests from the Server to open a particular port

Typically some sort of handshake protocol on a fixed port is used to agree on the used prot. I would assume that opening 10000 will fail as there is a limit on maximum open [file] handles that is much lower (and every open port consumes at least one handle). So my recommendation is to get and read the protocol specification of the used screen mirroring protocol.

I am not sure if in this handshake, the server will send the data regarding the port it will try to connect. Basically I want to avoid opening all the ports and want my server to intimate what port it want to use, so I can open only that port in my firewall


text:
ffmpeg closes with "Could not write header for output file #0 (incorrect codec parameters ?): Operation not permitted" in android
I am running FFmpeg in my app and specifically in "Android 11" I am getting this error from several users
I have researched a lot but no solution found.
I thought there is something wrong with the codec parameter that is being passed since it is saying  "incorrect codec parameters" but most of the parameters looks good.
also verified if all the required file permission are granted and those are good too
now I m unable to find the problem,
please help, thanks
Command:
/data/app/~~hyrHVcslcfdQcguX0rauRA==/<AppPackage>-QbDCul7FXU4tVniSDeP1Sg==/lib/arm64/libffmpeg.so -i /storage/emulated/0/Android/media/com.whatsapp/WhatsApp/Media/WhatsApp Video/VID-20220414-WA0010.mp4 -c:v libx264 -crf 23 -map 0:V -map 0:a? -map 0:s? -c:s mov_text -segment_time 26 -g 26 -sc_threshold 0 -force_key_frames expr:gte(t,n_forced*26) -reset_timestamps 1 -f segment -preset ultrafast /storage/emulated/0/Movies/splitVideoFolder/split_video%03d.mp4

Error:
ffmpeg version v4.4-dev-416 Copyright (c) 2000-2020 the FFmpeg developers
  built with Android (6454773 based on r365631c2) clang version 9.0.8 (https://android.googlesource.com/toolchain/llvm-project 98c855489587874b2a325e7a516b99d838599c6f) (based on LLVM 9.0.8svn)
  configuration: --cross-prefix=aarch64-linux-android- --sysroot=/Users/admin/AndroidStudioProjects/android-ndk-r21d/toolchains/llvm/prebuilt/darwin-x86_64/sysroot --prefix=/Users/admin/AndroidStudioProjects/Tanner/mobile-ffmpeg/prebuilt/android-arm64/ffmpeg --pkg-config=/usr/local/bin/pkg-config --enable-version3 --arch=aarch64 --cpu=armv8-a --cc=aarch64-linux-android21-clang --cxx=aarch64-linux-android21-clang++ --extra-libs='-L/Users/admin/AndroidStudioProjects/Tanner/mobile-ffmpeg/prebuilt/android-arm64/cpu-features/lib -lndk_compat' --target-os=android --enable-neon --enable-asm --enable-inline-asm --enable-cross-compile --enable-pic --enable-jni --enable-optimizations --enable-swscale --disable-shared --disable-ffplay --enable-v4l2-m2m --disable-outdev=fbdev --disable-indev=fbdev --enable-small --disable-openssl --disable-xmm-clobber-test --disable-debug --enable-lto --disable-neon-clobber-test --disable-postproc --disable-doc --disable-htmlpages --disable-manpages --disable-podpages --disable-txtpages --enable-static --disable-sndio --disable-schannel --disable-securetransport --disable-xlib --disable-cuda --disable-cuvid --disable-nvenc --disable-vaapi --disable-vdpau --disable-videotoolbox --disable-audiotoolbox --disable-appkit --disable-alsa --disable-cuda --disable-cuvid --disable-nvenc --disable-vaapi --disable-vdpau --enable-libfontconfig --enable-libfreetype --enable-libfribidi --enable-libmp3lame --enable-libass --enable-iconv --enable-libx264 --enable-gpl --disable-sdl2 --enable-zlib --enable-mediacodec
  libavutil      56. 55.100 / 56. 55.100
  libavcodec     58. 96.100 / 58. 96.100
  libavformat    58. 48.100 / 58. 48.100
  libavdevice    58. 11.101 / 58. 11.101
  libavfilter     7. 87.100 /  7. 87.100
  libswscale      5.  8.100 /  5.  8.100
  libswresample   3.  8.100 /  3.  8.100
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from '/storage/emulated/0/Android/media/com.whatsapp/WhatsApp/Media/WhatsApp Video/VID-20220414-WA0010.mp4':
  Metadata:
    major_brand     : mp42
    minor_version   : 0
    compatible_brands: mp42isom
  Duration: 00:01:30.53, start: 0.000000, bitrate: 671 kb/s
    Stream #0:0(und): Video: h264 (avc1 / 0x31637661), yuv420p(tv, smpte170m/bt470bg/smpte170m), 576x1024 [SAR 1:1 DAR 9:16], 539 kb/s, 30 fps, 30 tbr, 15360 tbn, 60 tbc (default)
    Stream #0:1(und): Audio: aac (mp4a / 0x6134706D), 44100 Hz, stereo, fltp, 128 kb/s (default)
Stream mapping:
  Stream #0:0 -> #0:0 (h264 (native) -> h264 (libx264))
  Stream #0:1 -> #0:1 (aac (native) -> aac (native))
Press [q] to stop, [?] for help
[libx264 @ 0xb400007727c64800] using SAR=1/1
[libx264 @ 0xb400007727c64800] using cpu capabilities: ARMv8 NEON
[libx264 @ 0xb400007727c64800] profile Constrained Baseline, level 3.1, 4:2:0, 8-bit
[libx264 @ 0xb400007727c64800] 264 - core 160 - H.264/MPEG-4 AVC codec - Copyleft 2003-2020 - http://www.videolan.org/x264.html - options: cabac=0 ref=1 deblock=0:0:0 analyse=0:0 me=dia subme=0 psy=1 psy_rd=1.00:0.00 mixed_ref=0 me_range=16 chroma_me=1 trellis=0 8x8dct=0 cqm=0 deadzone=21,11 fast_pskip=1 chroma_qp_offset=0 threads=12 lookahead_threads=2 sliced_threads=0 nr=0 decimate=1 interlaced=0 bluray_compat=0 constrained_intra=0 bframes=0 weightp=0 keyint=26 keyint_min=2 scenecut=0 intra_refresh=0 rc=crf mbtree=0 crf=23.0 qcomp=0.60 qpmin=0 qpmax=69 qpstep=4 ip_ratio=1.40 aq=0
[segment @ 0xb400007727c28800] Opening '/storage/emulated/0/Movies/splitVideoFolder/split_video000.mp4' for writing
[segment @ 0xb400007727c28800] Failed to open segment '/storage/emulated/0/Movies/splitVideoFolder/split_video000.mp4'
Could not write header for output file #0 (incorrect codec parameters ?): Operation not permitted
Error initializing output stream 0:0 --
[aac @ 0xb400007727c65700] Qavg: 18220.703
[aac @ 0xb400007727c65700] 2 frames left in the queue on closing
Conversion failed!

Writing to /storage/emulated/0 and sub-folders is prohibited for regular apps since Android 11 (except for the app-private sub-folder Android/data/<packagename>. There are dozen of similar questions on Stackoverflow.com.

But we can write to movies folder for videos and normally I am not getting (Operation permitted) error every time. If this happen because of Directory then there should be message permission denied rather than operation permitted.


text:
Is there a way to schedule the sending of messages on whatsapp?
Is there a way to schedule the sending of messages on whatsapp using some particular program or script (obviously having the root of the device)?
I tried many applications to schedule sending messages, but none of them was automatic, they all needed user interaction.
I also tried to create some sort of scripts but with no results because they were in conflict with the operation of the application. My phone has Android 11 and I noticed that going on with the versions is getting more and more complex to work at the programming and automation level.
In particular, I would need something automatic that requires no interaction to send these messages

Does the solution need to be mobile-only?  I ask because you're more likely to be able to write some sort of batch script that can be scheduled to run an ADB command; however, I think that would be more appropriate to post up in SU for rather than here.

Yes the solution does not have to be mobile-only

I couldn't comment so I had to write this as an answer? There is a TaskerNet task to send WhatsApp messages here: WhatsApp Message. I have not personally used it, so I don't know if it works. Also, if your phone is rooted there are a couple of guides using autovoice and tasker, and one using SQLite.

Thanks for the answer, but I have already tried these methods and they do not meet my needs

I was searching for the solution for a long long time, the best what I found is to use Takser task. It's described in this Reddit thread: https://www.reddit.com/r/tasker/comments/bnnkvg/send_whatsapp_with_sql_with_locked_screen/f2xi0zx/?context=3
However, with latest Whatsapp versions it doesn't work with sending to groups, couldn't find out why.
Alternatively, you can use custom Whatsapp client, as I do now


text:
BRATA (Brazilian RAT Android) - is there any action and treatment from it?
As far as is known, with this virus, the attacker, in addition to stopping antivirus programs, can also block the system menu while working with it by the user. The virus copies system data and then stops whatever it wants?


text:
Does Google Nexus6 support 64bit android apps?
I have a 64bit android application with "minSdkVersion=20" (means it can be installed on Android 4.4 above).
My question is:
can this application be installed on Google Nexus6 with android 6 ( Marshmallow)??
Does Google Nexus 6 support 64bit apps at all??
Thanks.

According to GSMArena the Nexus 6 has an Krait 450 CPU which means it is ARMv7 =32bit only.

Possibly related (but not yet answered): How to run 64-bit apps on a 32-bit Android smartphone without root access?. Android apps themselves are independent of bitness; only if they contain native libraries. Does the app only contain 64-bit native libraries, not the corresponding 32-bit ones?

@AndrewT. It only contains 64-bit native libraries. thank you too.


text:
Unlock bootloader or flash TWRP with EDL on Xiaomi Redmi Note 3 Pro (kenzo)
I have a Xiaomi Redmi Note 3 Pro (kenzo) phone with a locked bootloader. Earlier, I unlocked this, but I do this with an easy switcher tumbler "OEM-unlock", so I flashed TWRP, custom ROMs, etc. After this, I flashed one more official MIUI ROM (Android 5.1), and the bootloader was locked.
I tried fastboot oem unlock, fastboot flashing unlock and other commands to unlock. I unlocked with Mi unlock and many attempts to unlock. Then I flashed the official Android 6.0 ROM with EDL, but when I tried to replace the stock recovery.img to TWRP recovery (yes, I renamed the file to recovery.img), I still see the stock recovery.
I also unpacked boot.img in EDL ROM and replaced ro.secureboot.devicelock=1 to ro.secureboot.devicelock=0, but when I flashed it, it doesn't boot (fastboot only).
How can I unlock the bootloader or flash TWRP with EDL?

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

OP's own follow-up question: Flash custom ROM via EDL.

I find a way to unlock device without waiting. You need to: Mi Account and SIM-card with same number, that registred in Mi-account. Then, you need to link account to device (in internet much of instructions). Then the main step: download another version of Mi Unlock 5.5.0224.55, and unlock with this version. It do next steps: bypass the unlock time, unlock without getting any keys/tokens.


text:
How to completely discharge a mobile device?
In case of laptops we should remove battery, then turn it off and hold power button for 15 seconds to completely discharge the motherboard. Whats the procedure in case of a smartphone or a tablet with non removable battery?

Completely discharging a battery can damage it, so you should only discharge a battery if there is no other way. Instead just power off the device, this usually cuts off power of most of the chips in a phone.

@Robert looks like the question is about discharging the device, not the battery.

... which sometimes I have to ask, is there a reason why you want to discharge the device?

@Andrew T. becase I wanted to clean comtacts with alcohol which isnt dielectric.

@Robert so I can clean usb ports with non dielectric cleaner safely then?

@YaY Sorry bit I don't know, I am not familiar with dielectric cleaners.


text:
Does disabling and removing Knox solve RMM OEM missing in developer options?
I bought this Samsung Galaxy M12 (SM-M127G/DS, Exynos 850, 6000 mAh battery, India version) about 11 days ago. Since then I have been dealing with this RMM state issue, struggled to find a way for OEM unlock to show in developer options, and then root the device but no luck, no fix, or whatever.
Things I have tried:

Waited 7 days (+168 hours) after signing in to my Google and Samsung accounts.
Factory reset 3 times so far.
Tried the change date and time trick.
Tried the update trick.

After all of these, nothing worked, so then I thought that maybe removing Knox via ADB will solve this issue.
Is it possible? Will it damage the device? Will it solve this issue?

Is the device you use branded by a mobile network provider? Where did you buy the phone, are you sure it is genuine (really an Galaxy M12)?

@Robert what do you mean by branded? As far as i know its carrier unlocked since everything is fully functional(I can make calls and everything works fine except this issue). I think its genuine. It came boxed with everything inside even the documents. Here is the link to it.

Branded means that a special firmware is installed that has been modified by a mobile network operator that e.g. includes special apps from MNO or provide a special radio firmware optimized for the MNO.

no its not branded. It just has bloatware netflix and samsung pay mini.

@Robert I went into download mode and checked, the culprit is reallly Kg state. It says kg state prenormal which proves why the oem unlock disappeared.

Finally it has happened

What i did was connect to wifi and the oem toggle came up. So i think it all comes down to region or your isp which you use to connect to the rmm servers. Yeah it appeared with 4 hrs uptime, which means the date change tricks dont work anymore on android 11.
The steps im recommending to use although not exactly tested:
After factory reset, connect to a vpn with the server of where your phone was launched(or try switching ISPs), check for updates to register the phone and pray that the next time you connect to your wifi your rmm status would have changed. If the server you tried doesnt work also, try a different server after a factory reset.
I hope this procedure helps someone.


text:
Are these random UID applications spywares?
It's been a year since I am ignoring all these Applications using my data and battery. At first, I thought they could be apps that I uninstalled a while ago. But, no, every third day they were showing up in logs with the exact same UID, and if I restricted their data, then the next day they still showed up with another UID but used the same data and battery. No doubt these are spyware.

If they're, then how should I get rid of these without a factory reset?

That those processes with data usage change their uid is indeed strange. But if those processes manage to re-install themselves to get a new uid there might be more than those two malicious processes. In the end I don't think you will be able to get rid of those processes without a factory reset.

Which Android version and Android device are you using? Use this app to sort installed apps based on "Last Update". Share the screenshots with us.


text:
Difference between adb shell [command] and interactive adb shell
I am wondering if the interactive shell adb shell runs in a different context then when invoking a command via adb shell [command]?
The background to this question is, that I am running dinit on an Android powered board. dinit is started in user mode just for service management. When I run dinitctl -u list from the interactive shell I get the expected output (enabled services and their current state), but when I run it via adb shell dinitctl -u list I just get an error about the socket not being found (as if dinit itself was not running).

It turns out that running adb shell [command] does not source /etc/mkshrc. Setting the required env variables before the command solves my issue.


text:
Huawei MediaPad T5 (AGS2-L09) stuck at TWRP
I unlocked bootloader on Huawei MediaPad T5 (AGS2-L09).
Then I put TWRP on it and everything was fine until I installed UPDATE-SuperSU-v2.46.zip using TWRP. After that the tablet stuck at Huawei welcome screen.
Then I found UPDATE-unSU.zip on xda-developers forum. Its author promised that it will revert changes of UPDATE-SuperSU.
Now the tablet goes scrictly into TWRP and doesn't want to do anything else. How to recover it?
P.S. Before to install SuperSU-v2.46.zip for the first time I noticed that many folder names in the tablet internal storage were encrypted.

Suddenly the problem got a solution.
When the tablet was powered off (USB cable should be unplugged for that, otherwise TWRP powers the tablet always on), I held Volume Up and Volume Down and pressed the power button.
In this case not the TWRP, but the standard Huawei downloader comes up, with an error message that system upgrade could not be performed (of course! I didn't put anything to the SD card). It had the only reboot button.
After tapping this button the system boots normally.
Because all the data was wiped out, it needed some time to initialize, but then worked normally.
I had to configure Wi-Fi, and the system found an update from my current version ... to the same version, with the wording that it was a system restore:

Restore system to latest official version.

After downloading the system asked for a restart, rebooted and landed again in TWRP.
I repeated the trick with three buttons, let the system to download the update, held  Volume Up and Volume Down physical buttons and only then tapped on the "Instll now" screen button.
It caused the stock recovery screen to appear. I tapped the reboot button there, and  the update rolled out.
After the update was complete, the system boots normally (except for the unlocked bootloader warning) and if volume+ button is held while powering on, the default recovery dialog appears. No traces of TWRP remained.


text:
how to stop Mobile shutting down on apps using as Battery dropping from 70% to 0% in Android 6.0.1
Question:- how to stop Mobile shutting down  on apps using as  Battery dropping from 70% to 0% in  Android 6.0.1.
I have formatted my External micro sd card as internal and  automatically while  installing apps it moves to external  sd card even Facebook and many common apps installed on micro sd card. but still many are on  internal memory.
i googled and founded that its may be battery calibration problem i tried to fully discharge battery  to 0% by restating  then again recharged it to  100% and i tried accu-battery app and many other apps for battery calibration but  problem  persisted of shutting down of phone at 70%- to 75%  while using if its kept  on standby  ie. not used it  sometimes dont shut down till 35%
From last 2-3 days  my android 6.0.1 OS mobile phone is restating even charging to 100% as its heavily used or many apps opened it just show low battery sound  in main OS window to 0% and immediately shuts down. After shutting down if i charge it on black screen it  shows 50%-75% battery remaining on keeping the charger on mobile  when i keep the charger connected  it  then never gets shut down... but the mobile back panel gets heated up drastically and on seeing in accubattery app the temperature of internal   sensor shows  battery temp  in red sign from 47 degree to 50 degree many times.
I have tried in safe mode its still shutting down ...i tried in maintenance or in boot menu mode its not shut down .... now i am confused

is due to  os android 6.0.1 crashing  :- (formatted -2-3 times still occurs)
is it due to apps moved or installed in external micro sd card crashing ( as in safe mode it works fine dont shutdown  in 36% of but apps moved installed in external card not showing in safe mode)
is it due to overheating of chips  or circuits
or its due to some particular app crashing ( i tried
is it due to some internal or external memory card sectors became bad due to formatting 3-5 times in this week )
is battery life is finished is battery failing ( but its working fine in safe mode on common system apps)

solution i think:

I think to format external sd card to zero level or low level formatting so that it become  fresh and clear which   can be done through mini partition tool

I think to format internal memory sd card through adb shell fstim  or dd if
dd if=/dev/zero of=/sdcard/filler but it doesn't make much sense on flash storage. Running fstrim  to clear unused space so that it gets refreshed and any junk saved can be freshen up

Any suggestions opinion are welcomed  kindly  give your technical  expert advice for solving the issues....
Thank you in advance for  reading answering and giving your precious time  and  precious technical advice or opinion

Based on the installed Android version it is obvious that we are talking about an older phone. On older phones it is not unusual that the battery power suddenly drops if the phone needs a bit more power (if the phone consumes more power than the battery can provide for some seconds the voltage drops). This is a clear indicator that the battery is nearly dead. The only way to fix this problem is to replace the battery as the battery will only get worse not better. You can test that by yourself by connecting the phone to a charger. While it is connected it should to go off anymore.

Thanks @Robert for the explanation! I have the very same issue on one of my devices running Android 7 – and I can confirm the shutdown always happens when something suddenly calls for "more power". Examples include (but are not restricted to): making photos with flashlight (makes photos fine without, but though at 70%+ battery shuts down with flash), track recording via GPS, playing a (streamed) video. Replacing the battery? Yeah, I'd try that if it were replaceable (it's not in the affected device unfortunately).

@Robert gr8 to see if reply brother thanks a lot for our quick reply and sharing your valuable and precious knowledge and experience ..I will surely get new battery  soon for the same but it will take 3-4 days as mobile set is old and it's not available in local market have to purchase online....Meanwhile any trick to sustain battery fro some days and. Get temporary solution so that my work don't get hamper or stopped

Either

battery is genuinely gone kaput
some app keeps running in background - try removing apps like fb, whatsapp etc and see if it persists
check if location and wifi are off and wifi scanning is also off


text:
How to prevent network connectivity after a phone restart before the NetGuard firewall starts blocking apps' traffic?
There seems to be a major vulnerability in Android: even when using firewalls these aren't active immediately after a restart.
The seconds before the firewall (NetGuard) starts can be used by apps that auto-start to send (exfiltrate) all kinds of data.
For example:

There apps that are installed by-default that can't be deinstalled even though I'd like to deinstall them and they are running by default and autostart which also can't be prevented (and I can see that these apps try to send data in the NetGuard protocols)
the keyboard "Gboard" could for example send everything one has ever typed on the phone including passwords within seconds, it also tries to "update your typing experience" from time to time even though it shouldn't and is blocked by NetGuard

How can this be prevented?
One way could be to always deactivate Internet before turning the phone off but that may not always work (for example when updating) and sometimes the phone could get turned off accidentally or because the battery goes empty.

Do you know the "Always-on VPN" functionality? I would assume that this was developer exactly for preventing situations when the VPN is not (yet) active. https://developer.android.com/guide/topics/connectivity/vpn#always-on

Have people tested whether this is reliable and sufficient? Why don't you post this as an answer? There is no hint or option for this in NetGuard so I need to create a new issue. Because the developer failed to enable Issues on GitHub I need to ask on the XDA forums.

I don't post it as an answer as I don't have any detailed knowledge on the "Always-on VPN" feature how it works internally. To my understanding it was developed e.g. for companies that want to make sure their devices only get network access through their VPN, so I would expect it to work properly but often features you read about don't work the way you imagine, therefore without personal experience or detailed knowledge on that specific feature it is IMHO not worth of an an answer.

I asked about it on the xda-forums thread because the GitHub issues are disabled here. However, the developer doesn't seem to care. You can comment if you think this is an important vulnerability to close. Also: don't check "Block connections without VPN" in these options or else Internet may not work, this may depend on your DNS settings.


text:
64 bit ROM on arm-v7
I'm not finding a stable Lineage armeabi-v7 ROM for my Moto G6.
All I found was a 64 bit Lineage ROM meant for another codename (my phone's codename is "Ali". The 64 bits phone seems to be "Evert")
Also found an unofficial 64bit TWRP for the Ali (doesn't say which XT).
If I flash this recovery, is there a way to predict if I'm gonna be able to flash a x64 ROM ? Or trial and error ?
I lose a whole day to customize the phone after a flashing goes wrong (happenned twice this week), even using titanium, and android's native backup. That's why I ask if someone has experience on this particular case before jumping.
If the architecture isn't problem enough (processor seems to support x64), there's the Vendor and other partitions that usually aren't bundled onto custom ROMs...
XT-1925-5

Qualcomm Snapdragon 450

8xARM Cortex-A53

GPU Adreno 506

This question could also become cannonical/General.

what's wrong with 64 bit? https://forum.xda-developers.com/t/twrp-unofficial-twrp-64-bit-3-6-1.4328145

So, I CAN put a 64bit ROM on a armv7 phone ? Please note it's a XT1925-5 model. If yes, I'll try it immediately. But if I understood correctly, only the models above that are 64 bit.

IT DOES WORK
The 64 Bit TWRP and ROM DO work on an arm-v7

First I installed the Unofficial TWRP (mali.img)
Then  this unofficial ROM
Gapps must be Pico, or else no space on /system.

Reminding that my device is a XT1925-5
DO NOT install TWRP app as a system app. If you did, there is an uninstall option on the TWRP advanced


text:
'adb pm hide' returns permission exception
Trying to hide security app since its deletion causes a softbrick.
'pm hide package.name' returns:

Exception occurred while executing 'hide':java.lang.SecurityException: Neither user 2000 nor current process has android.permission.MANAGE_USERS.

And some following lines of java errors.
Tried also: 'pm hide --user 0'
Tested the 'hide' command on several packages.
The phone is not rooted yet but perhaps su would do? I mean 'su pm hide'. This is MIUI global 12.5.5 on Redmi 9.
I want to hide security app to prevent kids from accessing Second Space.
Thanks!

Use a seconary account and give that to your kids. Or, use a kiosk (parental control sort of) app to limit access to settings app.

Thanks Firelord, I actually switched Launcher to an external password protected which allows to just hide the security app icon. Still wondering about the hide command, however. Have read your 'identity crisis' thread but still no answer for the sort of error my adb returns. Perhaps, hide command is discontinued or so?


text:
Recovering Phone Data after Hardware Failure
I have a Pixel 2 phone running Android which appears to have a hardware failure. The screen only shows a multi-color static and is non-responsive. Occasionally I briefly see my normal lock screen, but the screen is non-responsive and goes back to static soon.
I need to get data from the device. Connecting via USB, running adb devices shows that no devices are detected.
How can I copy the storage from my phone to my computer, so that I can extract the desired data?

Phone is not unlocked, unfortunately

buy USB-C OTG Multiport HDMI Adapter and connect TV + mouse

Copying data from a phone which is not detected by adb and has no screen info to tell what is happening is not going to take you very far from where you are.
Either try to get it to show on system somehow or get a working display to know what is happening on phone.


text:
TWRP doesn't offer the usual option to protect itself, and is replaced by stock recovery on first reboot to system
I'm very familiar with installing TWRP on a new Samsung phone. But this time it's not working, and I don't know why.
The phone is a Samsung S9+ (SM-G965F). Bootloader unlocked, data wiped and reformatted. All confirmed. Odin is working. I can flash lastest TWRP with odin, and reboot into it at first reboot. So far everything is as normal.
It should offer an option to prevent the stock rom from replacing it with the default recovery, or automatically do so. But whatever I do, it doesn't happen. First reboot to system, and I go back to default recovery. Things tried:

flash TWRP -> reboot directly to TWRP -> select "allow mods" -> reboot to system. (This has always been all that's needed, before now)
flash TWRP -> reboot directly to TWRP -> select "allow mods" -> flash multidisabler (never had to use that before) -> reboot to system

What am I missing? Why isn't it working? What else should I do?
Thanks!

TWRP < v3.6 without logical partition support is unable to mount system rw on super partition. I wonder multidisabler throw an error in recovery.log

What am I missing?

You probably took a gap modding Android and meantime lot of things changed

Why isn't it working?

I dont remember since when was this implemented, but since a few years (1-3), stock ROMs replace custom recovery

What else should I do?

Try (any of the first 3) at your own risk

I have heard that deleting /system/recovery-from-boot.p helps but haven't tried myself so can't guarantee anything

I am aware of a magisk module that keeps twrp installed even after reboot, maybe try Googling to find it.

Maybe install a GSI or a custom ROM instead of stock, since they don't replace custom recoveries

Give up


text:
Why can't I get similar performance degradation with Monkey in different experiments?
I have configured experiments to test which among 10 launched apps impacts performance the most. But I can't make an objective comparison, because if I launch the experiment twice with the same configuration, I get very different performance degradation, in terms of memory occupied and launch times. This is a piece of code from one of the workload scripts. I set the seed to always generate the same events, I wipe the cache at the end of each experiment and clean up the apps before starting another, yet in two experiments with the same settings I get a memory occupancy that grows up to three times faster in one than in the other.
while true; do

adb shell monkey -p com.android.chrome -s 1 --pct-appswitch 100 --ignore-crashes --ignore-timeouts --ignore-security-exceptions --monitor-native-crashes -v -v 1

sleep 1
adb shell monkey -p com.facebook.katana -s 1 --pct-appswitch 100 --ignore-crashes --ignore-timeouts --ignore-security-exceptions --monitor-native-crashes -v -v 1

sleep 1
adb shell monkey -p com.google.android.apps.maps -s 1 --pct-appswitch 100 --ignore-crashes --ignore-timeouts --ignore-security-exceptions --monitor-native-crashes -v -v 1

done

Is there a way to get similar performance degradation in two experiments? Is it just me doing something wrong or is this something that can't be achieved because there are too many random factors at play?

I still don't fully understand what you want to achieve: "which among 10 launched apps impacts performance the most" what performance are you talking about and how it is measured? Do you want to develop some sort of benchmark? Do you mean performance of the app itself or how they affect a different app? Why do you use apps that heavily depend on random content from the internet (such as Facebook).

The overall experiment was to be this: do 11 experiments. In the first one I would launch 10 apps, while in the other 10 experiments I would launch 9 apps by varying the app I don't launch. Then I would have to analyze the data of the first experiment and try to predict, with different techniques, the absence of which app affects performance the most and then compare it with the experimental data of the 10 experiments. But if there are other factors that degrade performance differently in each experiment, I can't compare the degradation between one experiment and another. @Robert

In my opinion this is a useless experiment, especially as it mainly tests Android and the used phone instead of the "not launched app". Because your set of apps contains apps that mainly show data received from a web server (which you don't control) you have to perform each experiment may be 100 to 1000 times and then calculate e.g. the average or examine the 95 percentile.

I don't have a lot of experience with stress testing, but I do agree with you. I too had thought that it was necessary to repeat the experiments many times to get what I needed. The experiment done this way was not my idea. I was assigned it and was trying to complete it. I think it needs to be completely rethought though.

Another problem you will face is that you can't reset the "thermal state" of the device. The more the CPU/GPU performs work the more heat it produces. Even using active cooling solutions will not fully be able to reset the phone back to it's original temperature. Especially phones with a strong CPU/GPU can produce a huge amount of heat in a short time, so much that starts throttling. So for comparable results mind the environment temperature and allow the phones to cool down after a run (e.g. 30 minutes).

In short, I would need to get the ground truth to see if the techniques I use can predict well which apps impact the most on system performance degradation. Would you have any suggestions on how to get ground truth in my case? @Robert

That is, I should do experiments from which to deduce a ranking of the most impactful apps.


text:
Can I run .odex file on dalvikvm?
As I can run a Dex file on dalvikvm through a terminal emulator (I'm using termux or adb shell
/system/bin/dalvikvm -cp /path/to/classes.dex classname
Which runs successfully and I noticed it generated a directory oat which contains oat/arm64/classes.odex and classes.vdex file.  odex is faster than Dex so can I run it directly every time without recompiling dex to odex?


text:
How do I access a remote mail directory from my Android?
The directory is on a remote server. I can read the mail using mutt in a shell but I want to use an app on my Android that can render HTML.
Any suggestions?
MailDir format

Does the server provides an email access protocol like IMAP or POP3?

Nonsense. This is not an Android question.

DavidPostill migrates every question that contains a sentence like "I want to use an app on my Android" to the Android Stackexchange site.

The standard method for remotely accessing Maildir inboxes is IMAP.
Set up an IMAP server on your remote machine (e.g. Dovecot/Cyrus/Courier), then install an IMAP-capable Android mail app (e.g. K-9 or Gmail).
Practically all such mail apps support HTML body parts.

Can I setup Dovecot without a Postfix server?

Dovecot doesn't really care about Postfix or SMTP. Android mail apps will ask for an SMTP server address though, but you can fill in any random address instead.

Yes, but the clients want to authenticate to an SMTP server. I just want to read the mail from a MailDir directory on a remote host

They'll do fine without authenticating. Go through "Manual setup", for example, and switch the SMTP side to "no authentication required". (Or try specifying an SMTP server of another provider – as long as you don't actually send mail, it won't matter.) In the worst case, set up OpenSMTPd or something else that only lets you auth and nothing else.

Okay. Not all clients seem to offer "no authentication" but I found one. I cannot connect connect to Dovecot. I'm sure I haven't got it in figured right but I'll keep plugging at it

This is not really an Android question. Don't know why it was moved here


text:
How to use only part of the screen?
I am working on a blackberry-style keyboard attachment for any Android phone (https://github.com/Dakkaron/Fairberry).
For the next revision, I'd like the keyboard to be able to slide over the screen, so that it is roughly in the same location that the virtual keyboard would usually cover. I want to do that to get a more comfortable typing position.
But since the keyboard covers the screen, Android shouldn't use the screen area below the keyboard.
Before Android 11 I could just call wm overscan from some automation tool like Automate or Tasker. But in Android 11, they removed that.
Is there any way to achieve that?
Constraints

Should work on Android 11+, or at least 12+
Would be better if it doesn't require root
Should not require a reboot, since the keyboard can slide out to reveal the whole screen
Nav bar doesn't have to be accessible, since I can remap the functions to the phyiscal keyboard.

Things that I looked into so far:

Keeping the virtual keyboard open even when no input is selected. I couldn't find a way to do that.
Enlarging the navbar, so that it covers the area below the keyboard. I only found a solution that requires root and a reboot every time the navbar size changes.
Keep split screen open. But since only the bottom app is swappable, that means, you are stuck on one app. Also doesn't work for the launcher and causes issues with many apps.

Possible duplicate: Decrease the screen size (not resolution) on Android 11 (wm overscan is deprecated)

While there is some overlap, it's not a duplicate, because over there, they are looking straight for a wm overscan replacement, which doesn't exist. So I'm not really looking for a way to reduce the screen size itself, but rather a way to reduce the size of the content of the screen. So, for example, a way to keep the virtual keyboard open at all times would work for my question, but not for the linked one.


text:
Checking on Android OS for unauthorized access and the last connection of the charging cable to the phone
The question arises, how can I view the last attempt to connect the charger to the phone and also track the last attempt to select passwords and attempts of unauthorized access and authorization on Android 5.0 and older? If yes, how can I implement the receipt of this information in the form of an application.

Check Settings -> Battery if I remember correctly there should a battery graph on which you can identify the last charging.

Welcome to Android Enthusiasts. While running commands/scripts from end-users PoV is still on-topic, please note that app development is off-topic since Android Enthusiasts focuses on end-users or power-users (but not necessarily developers) solving their issues. It seems you have posted the same question on Stack Overflow which should be more suitable for app development issues (despite the quality issue as of currently written).

I agree too @Robert 's comment. However, AccuBattery does exactly what you want; show timestamps of all charging and discharging activities; it works from Android 5 all the way up to Android 13 Developer Preview (older than 5, I dont really think if there's any)


text:
adb logcat - monitor hardware accesses
Is there a way to show hardware messages (low level, in particular, I’m interested to see messages related to audio, camera, and microphone) using adb logcat?
In my experiment regarding the microphone, I developed an app that records audio for Pixel 3a with Android 8. So I run the recording, and once terminated execute this command: adb logcat -d -v uid -b all. My expectation is to find some message that indicates access to the hardware, in this case to the microphone.

AFAIK, running adb logcat without parameters will show all messages, including hardware messages if they're coded to print some logs (may depend on the manufacturer and ROM). If it is still lacking, could you [edit] and clarify what you want to read?

The only log I am aware of that is "lower" than logcat is dmesg but AFAIK that requires root permissions.

I edited the question. I hope that the question was clear. If you want i can provide the code….

OP's follow-up question: Dmesg Pixel 3a Android 8


text:
adb command to connect phone to known bluetooth device(my headphones. using it's name or MAC e.g)?
I'm going to automate the reconnection of the headphones between my computer and phone based on events on the phone and computer.
how can i tell my phone (using adb) to connect to the known headphones ?
now i can connect/disconnect it to my pc. and on phone i can on/off bluetooth and get list of bonded devices..
i know its mac if needed..
now i can [dis]connect my phones from pc using:

bluetoothctl connect [MAC] and bluetoothctl disconnect [MAC]

and line in bash script if [[ $(bluetoothctl info [MAC] | grep "Connected: no") == "" ]]; to get state.

i'm using adb shell settings put global bluetooth_disabled_profiles 1 to turn phone bt on and "0" at the end to turn off(to disconnect from headphones e.g.).  using the

adb shell "dumpsys bluetooth_manager | sed -n '/Bonded devices:/,/^$/p'"

command i'm getting bt devices list with mac, supported bt profiles and some other info that i cant identify. will it help me to write a command to connect headphones to phone?..


text:
How can I see the numpad option(s) I typed when on a call, after I made the call?
Some customer service phone numbers ask the users for type some option (e.g., "press 1 for making an appointment").  How can I see the numpad option(s) I typed when on a call, after I made the call?
I don't see it on the phone history of the built-in phone app:

I use a Google Pixel 6 with Android 11.

I don't think it's stored anywhere, nor that I know if there are 3rd-party phone apps that have this functionality.

Not sure if maybe some call recorder might have this option, but I haven't heard of that yet either (though if they record the "beeps", you might be able to reconstruct from that).


text:
Set alarm for every other day?
In the default Android clock app, you can set an alarm for specific days of the week, but not a more flexible schedule such as repeating every other day or only the third Thursday of the month.
Is there a better alarm app that offers that flexibility? Using the calendar allows more sophisticated repetition but only notification, not alarm functionality.

Just a heads-up that we have a sister site, Software Recommendations Stack Exchange for this specific purpose, in case you're interested.

thanks, wasn't sure if this was a dev focussed or s/w (seemed to be a bit of both) so might be better to ask over there

Cross-posted to SoftRecs.SE: https://softwarerecs.stackexchange.com/q/82900/520


text:
How can I write in a HDD on windows that I can read later on a Nokia Streaming Box 8000 (android TV)
I just bought a Nokia Android TV with a super nice USB A 3.0 port (that was the main reason to choose it) where I want to plug my external 2.5' 2TB hdd with all my movies and music and such.
BUT, when I plug it in and the thing recognises the unit, it looks "empty". Ok, i assume the file system is not readable. I format the unit there so I make sure the HDD is readable byt the Android TV.
After format I unplug it and go to my laptop to re-copy all my stuff... my laptop sees the unit, but doesn't mount it: it's under "My PC" -> Manage -> Disk manager but cannot assign a letter to it.

I format it then with FAT32 that I've read is readable by android and copy some movies, go back to the Nokia thing, connect it, and again not readable...
I am sure there is an easy way I'm missing here. Is there any FS that's accesible from both technologies? I've even installed WSD in my windows and I have kind of a "mount" access now but really don't know how to use it to see the unit in my explorer :)
thanks for any help!

If you format the disk on Android and it is not readable on PC side you have chosen the wrong format. Most likely you have formatted it as internal so that Android encrypts it and merges it to the internal storage. If Android does not allow to choose then there may be other problems. I would first start to experiment with smaller flash drives to avoid hitting some maximum size limitation. Try FAT32 and exFAT if they are recognized by Android.

There is a possibility for the disk to have not enough power. Check volts and amps required.

With Nokia Streaming box, like probably any other Android (I guess), you need to select a program - such as VLC - to read the data (movie, etc) USB stick
or external disk. This works for me.


text:
How to get the Wifi password from a previously connected network?
I have a Xiomi 10T Pro running Android 11. There is a WiFi whose password I want to know. My device is registered with that WiFi so I have no problem connecting to it BTW.
I am aware that I can choose to share my Wifi credentials from Settings. They are shared in the form of a QR code. That said, in my device I can share credentials for only those Wifi networks to which my device is connected to in real time.
This would not have been a problem except that the Wifi whose password I want to extract is hosted on a router that is located in an another country. So getting access to that real time Wifi is no longer feasible. My device is not rooted either.
So what can I do get the credentials for that Wifi without connecting to it?


text:
Calls go through even when notifications disabled
I disable all notifications in app notifications menu and text notifications do not show, as intended, but calls go through... no notification is shown when someone calls, but the call sound rings. So it is impossible to fully silence specific apps.
System details are:

Deny/Remove the phone, messaging, etc permissions of that app


text:
pixel 3a how to fix washed out purple screen
I have a pixel 3a that has a purple washed out screen.  Poor contrast I can hardly see icons.  This is worse than just "red hue" it's weird.  I've tried rebooting, resetting phone.  What can I do?

I think it's a hardware issue.
With android 11 I was able to "mostly see" icons using an app called "screen filter".
Now with 12, that doesn't work, but by turning night light on (intensity full), extra dim on, and dark theme on, I can see OK.


text:
How can I allow USB debugging from a new computer when I have a broken screen?
I am able to access my Android phone via "USB debugging" from one computer.  I'd like to allow a second computer the same privilege, but when I plug it in there it says "device unauthorized".
How can I allow USB debugging from a new computer when I have a broken screen?

Turns out if you use scrcpy "tcp ip" mode to connect to it, then connect via USB to the "other computer" you can use the first device to click "allow access" on the phone, then it can connect to the second device USB.

Alternatively, you can...

Use an external keyboard and Tab to the Allow button then accept.
Mirror your screen to a working display, e.g., via MHL cable, QGeeM hub, Samsung SideSync, etc.
On phones with independent touch and stylus digitizers (namely the Samsung Note series), even if one is broken the other may still be functional (often the touch digitizer breaks more easily than the stylus one).


text:
Weird case, only internet working, calls and messages are stopped
My mobile is Moto G4 Play and has a Jio Reliance SIM in it. I am receiving full mobile networks and I am able to browse internet. But, I cannot receive any calls and messages. I cannot make any call and send any messages. I have a custom ROM installed. My mobile was working fine 2 days ago. But, when I remove the SIM and inserted it again, the problem starts as I mentioned above.
My settings are mobile data enabled, roaming enabled, VoLTE enabled (enhanced 4G LTE mode), network automatic select network, and jionet APN.

I inserted this SIM into another device and was working fine. I also did a factory reset but didn't work. And when I make a call, my mobile networks are lost and come back again. I also installed Jio 4g Voice app but am still not able able to make calls. If someone tries to call me, my mobile is called as switched off. I also changed the SIM slot but nothing was solved. I don't know what's going on.

"when I make a call, my mobile networks are lost and come back again" this is a clear indicator that VoLTE doesn't work. I assume in your region 3G is no longer available (end of life by MNO), so your phone switches to 2G to make the call and therefore drops mobile network connection. After the cal it switches back to 4G. May be your provider has enabled a VoLTE option that is incompatible with your custom ROM? I would first check adb logcat for errors.

This has nothing to do with my custom rom. Because, before custom rom, my SIM was working fine. Also, after custom rom installed, it was working fine. But, you may be right because 3 days ago VoLTE was showing. But still, there's app called JIO 4gVoice. In this app, you can atleast make VoIP calls. But, this app is not able to connect with my mobile networks.

One more thing JIO SIM cannot work on 2g or 3g devices. It will only work on 4g.

Dial ##4636## => phone information => drop down menu (top right) => IMS Status => Tell us what's being shown on VoLTE status.

Problem solved! Don't know what happened. I installed JioCall app on playstore again. And It worked. But earlier this app was trying to connect only. But now it is showing online. But I still don't know what actually happened. I was able to use my sim without this app earlier. I have enhanced 4g Lite Mode which is indirectly a Volte Mode I think. Because in custom rom it is showing Volte Mode.


text:
How to enable both "diag" and "rndis" port of Android?
I have One Plus Nord device which is rooted using Magisk. I am able to enable the usb tethering(rndis) and capturing modem logs(diag) separately using the libusb program. But the requirement is to capture the diag logs when the phone is connected with laptop and usb tethering is enabled. Following are the commands used to enable the ports:

To enable "Usb Tethering"

adb shell su -c "setprop sys.usb.config rndis,none,adb"

To enable the "Diag"

 adb shell su -c "setprop sys.usb.config diag,adb"
I have tried to enable both using different set of commands like

 adb shell su -c "setprop sys.usb.config rndis,diag,adb"
 adb shell su -c "setprop sys.usb.config rndis,none,diag,adb"
 adb shell su -c "setprop sys.usb.config diag,rndis,adb"

etc.. bot none is working.
Does anyone have knowledge of how to use both together or any hint which can help in achieving the goal?

have you tried magisk resetprop to set properties on boot (not runtime)?


text:
Does the native VPN client support IKEv1 as of Android 12?
Is there any official documentation on what IPSec key exchange types are
supported by the native Android 12 IPSec client (Racoon)? Specifically I’m
interested in whether IKEv1 still works.
I’m asking this because I’m thrown off by a paragraph on the OpenWRT wiki
which seems to indicate that as of v12, only IKEv2 modes are supported,
killing off ISAKMP which has worked until v11. After spending some time
searching for an official announcement or even just a feature list I came up
empty handed.
The screenshot on this Github issue: https://github.com/SoftEtherVPN/SoftEtherVPN/issues/1373
appears to confirm the removal of IKEv1 in v12.

This was mentioned in passing on the official Android Developer - IPsec/IKEv2 Library: "The module also enables deprecation and replacement of the racoon-based IKEv1 VPN library used as the default built-in VPN client in Android 10 and lower." (emphasis added), though looks like it's started to be enforced since Android 12 Beta 2 (ref: Reddit, GitHub -
SoftEtherVPN).

@AndrewT.: Yes I’m aware of that document but seeing that Android 11 still had support for IKEv1 I’m uncertain whether Google has already advanced past the deprecation phase into replacement of Racoon.

The answer is no.
This commit added an exception that is thrown when the user
tries to initiate an IKEv1 connection.
The bug with the id given in the commit message is non-public
so presumably this change was motivated not by technical but
policy considerations.


text:
Flash custom ROM via EDL
I trying to find any way to flash custom ROM or some images on locked bootloader via EDL (device is Xiaomi Redmi Note 3 Pro, kenzo). I downloaded stock developer fastboot-EDL ROM and modified recovery.img to custom recovery, but when I boot phone, it's reboots again, and I see stock recovery (system partition was bricked). I saw KEYMASTER, CMNLIB and SEC partitions stores some secure-boot hashes. Any way to skip boot verifying? (locked bootloader, EDL, XiaoMiFlash 2017)

OP's previous question (for additional context): Unlock bootloader or flash TWRP with EDL on Xiaomi Redmi Note 3 Pro (kenzo)

I recommend you to unlock your phone first.
Then use Fastboot to install TWRP and then install your own ROM.
To unlock your phone, go to mi.com and sign up a new account then enter it into your phone and unlock it by mi unlock app:
https://en.miui.com/unlock/
or
https://mega.nz/file/xeQ3GRgQ#DpaEfaUSZZFBCQ6HOitWgQu9EMIl4q_XM8-eChUusbY

The OP has posted a question before this saying that the bootloader cannot be unlocked.

You have no other choice.


text:
Android OS documentation
Is there documentation that explains all OS processes, file systems, and other folders (for instance /dev and related file device) in Android OS? I’m interested to discover all this information regarding Pixel 3a XL with Android 8.

https://source.android.com/docs would be great start, but you need to invest time to look for what you need.


text:
Obtain a link to a specific email in Gmail Android app
How can I obtain a link (a URL) to a specific email (or the entire thread, if necessary) in the Gmail Android app? I want to be able to click that link and open the specific email.

Have you tried to copy a link from the GMail web UI and use it on Android? Apps can register for web URLs of a certain pattern, may be GMail app can just handle those links from the web interface?

Possibly partially related/duplicate: How to open Gmail links in Gmail app or browser? (it's the reverse situation, but also explains some potential technical difficulties, if the answer is still not outdated).

I think it can't be a direct link to the email.

@Robert I am looking to get the link from the Android app, specifically. I can definitely do it on the web, but this question is about the Android app. Thanks.

It is not possible without coding up a custom solution.

Your answer could be improved with additional supporting information. Please [edit] to add further details, such as citations or documentation, so that others can confirm that your answer is correct. You can find more information on how to write good answers in the help center.

My explanation is that there are no existing solutions for this. There is not a lot of 'evidence' to point to, as it is the lack of a solution that is causing me to give the answer I am giving.


text:
How can I remove an app if it doesn't exist in the Play Store anymore?
I have the ES File Explorer and the DU Recorder apps installed on my phone, but they cannot be found in the Play Store anymore. So, how can I uninstall those apps?

While the current answer might be sufficient to solve the issue, could you clarify more why you couldn't uninstall them? Like, did you try checking the Android Settings - Apps, then try to uninstall from there? Are they showing a "Disable" button, not "Uninstall"?

Further, the answer is specific to getting rid of pre-installed apps (for apps installed by the user one wouldn't specify --user-0 as that would just hide the app), so it's not really addressing the question ;)

I didn't look enough into the problem. I only tried the Play Store and then factory reset the mobile.

Google Play Store is not necessary for installation or uninstallation of apps.
All your installed apps are shown in the app list in Android settings. There you can also uninstall apps.
On most Android versions you can also make a long-touch on an app icon on the launcher and then open the App info page where you can uninstall/disable an app.

I solved by factory reseting the mobile. This long-touch on the app would probably solve the problem.

You should try using adb, I recommend using it on a Linux environment since (for me at least) It's easier to configure.
sudo apt install adb

Then connect your tablet, be sure that you have your device with USB Debugging enabled.
then, type.
adb shell

It should connect without a problem, then you have to identify the package you want to delete with.
pm packages list <the name of your app or a good hint without the arrows>

You should see a result or a list of names that will look something like these
com.android.app.calendar

Once you are sure about the package name of the app that you wnat to uninstall you have to tun these command.
pm uninstall --user-0 <the package name without the arrows>

On the other hand, you should be able to uninstall any app you installed just drag and drop... unless is a deprecated google app like google+, and even with this method yo won't be really uninstalling anything, but for your eyes the app is going to disappear.


text:
Do I need both Xiaomi's official unlock app and vbmeta.img for installing an AOSP GSI?
I have a Xiaomi Redmi Note 11 phone, and I am planning to install an AOSP GSI from treble_experimentations.
The documentation for this device in treble_experimentations states that these are the steps required to install the GSI ROM:
fastboot --disable-verity --disable-verification flash vbmeta vbmeta.img
fastboot reboot fastboot
fastboot flash system your_gsi_rom_of_choice.img
fastboot -w

I am guessing, for the vbmeta.img, I am supposed to generate an empty vbmeta.img file. And I understand that is required for the system to boot the GSI ROM that I will be installing (otherwise verification will fail).
Looking up on the internet, though, I can see many posts/references about Xiaomi's official unlock tool (which unfortunately only runs on Windows).
My question is: do I need both steps? (i.e.: first unlock with Xiaomi's tool, then flash the empty vbmeta.img) or are they exclusive? (i.e.: I could flash the empty vbmeta.img without unlocking with Xiaomi's tool and I should be able to flash the GSI).
Also, if they are not exclusive, what does Xiaomi's tool do or why is it required? If flashing an empty vbmeta.img is enough, why do people seem to recommend Xiaomi's app in many forums?

That you need a special procedure or even tool for a bootloader is most likely because of device warranty. By using the unlock tool Xiaomi is able to record which phones have been unlocked. So if you later brick your device and try to get a new because it is still under warranty they can prove you have unlocked your device and deny device change/repair for free.

@Robert Thanks for your comment! ^^ Is that usually something you need to do independently of flashing the vbmeta.img? I think I still don't understand what the Xiaomi tool is doing and why is it required to either flash the vbmeta.img or the GSI image.

That should be totally independent. vbmeta.img disables verified boot.

@Robert If you'd like to add a brief summary as an answer, I'd gladly accept it! ^^ (i.e.: explaining the differences between the effect of unlocking with the manufacturer tool and the effect of flashing the empty vbmeta.img).

XiaoMiToolv2 is available for linux. bootloader unlocking is required for fastboot flash. no need to generate vbmeta, the fastboot command will set disable flag at offset 0x78. system is only flashable from fastbootd, consider sideloading GSI from DSU Loader instead overwriting stock ROM

@alecxs Thanks for your tips! Would you mind elaborating a bit more in an answer so that I can accept it? ^^

Sorry I don't own Xiaomi Redmi Note 11 and therefore cannot post valid instructions (I only will post tested confirmed working solution as answer) but I will link some related questions

Does this answer your question? Device says bootloader unlocked but OEM unlock option can enabled and disabled?

Does this answer your question? Why is suggested to OEM unlock when LinageOS can be installed without it

Does this answer your question? What is 02 in the magisk patched vbmeta.img?

Does this answer your question? How to install GSI on Samsung Galaxy Tab Active3

@alecxs Thanks again for the pointers. I need to wait a couple of days (until next Friday) before Xiaomi's tool will let me unlock the bootloader. I will then try the necessary steps to see how it goes. ^^


text:
I can't get boot screen on proscan tablet without visible volume keys
I watched tutorial on youtube however it didn't cover this model proscan PLT1074 that has no volume rockers. It does not turn on as the video. It will turn on when only the power is held down. Once the reset is pressed at the same time it doesn't.resulting in not getting to the proscan start up screen and then to the next screen with the android symbol in the center and followed by the screen that has the wipe/erase all data option. Then the  restore factory settings.option. So we have no password (locked out)   and we need to restart the tablet from fresh (factory reset) by no volume keys  ( I mean there are NO VISIBLE VOLUME BUTTONS ON THE EXTERIOR OF THIS MODEL)  I am unable to progress to the recovery flash mode and can,t boot either.

Welcome, please [edit] and clarify by "can't access the boot screen", did you mean (1) the tablet doesn't power on? (2) the tablet powers on, but is stuck at a specific screen (which screen? If possible, take a photo and upload it on the question) (3) since the question is also tagged with 'factory-reset', did you mean the Factory Reset Protection where you must enter the previous user's credential? (4) By volume keys, did you mean you can enter recovery/flash mode, but cannot boot normally? Also, if possible, mention the specific device model, otherwise, there's not enough detail to solve it.

The model is PLT1074G. The youtube tutorial video says to power off put pin in reset hole press button down press power and hold until android symbol appears. It wont turn on as in the video. My daughter was given this tablet without any of the access passwords etc. Trying to factory reset it. We are unable to get the screen to appear where the option to erase data option should appear. By factory reset I mean this is the function we are unable to perform. The tablet doesnt want to power on when the reset button and power are pressed.


text:
Samsung Galaxy J7 Core non responsive to back button and menu button
I am using Samsung Galaxy J5 Core. I accidentally clicked on an advertisement on a site, which caused the back and menu buttons to not respond.
I've tried using two Security Antivirus and scanning shows no viruses either. What is the cause of this problem?

Have you rebooted the phone?

Yes, i did reboot, data reset and wipe cache but all of them without any change

What you you mean by "data reset"? Is it factory reset? Please note that you are using an Android device which runs an Android version that is dangerously vulnerable to user's privacy and Operating system's integrity. If a factory reset did not solve your problem then you might have been infected with a system level malware, although, detailed investigation is warranted here to rule out resouce constraints (slow storage, bugs, and what not).

@Firelord Yes, i meant factory reset. so, how i can fix the infection of system level malware? It's very annoying -_-


text:
Cannot move individual contacts among storage locations
I am on Samsung S10e, Android 12.
In my older phone/OS, I used to be able to move individual contacts among the various storage locations.
E.g., I could move a contact from my phone to my Google account (exception: once a contact was in Google, I couldn't move it elsewhere, but I guess that was normal).
Now I can't see that option anymore. The closest I found is with

Contacts -> Three bars -> Manage contacts -> Move contacts

but that seems to move all contacts in one location to another.
Can I recover the previous behavior?
Note: I don't want to sync contacts, but move among storage locations.

I was only missing one step... entering Move contacts.
Still, I wonder why Samsung removed the capability for moving a contact from within the view of that contact, as it used to be possible, given it is a useful feature.

"Still, I don't know why I cannot move a contact from within the view of that contact, as it used to be." this depends on the Contacts app, which is highly customizable by the vendor/ROM.

@AndrewT. - I rephrased my statement.


text:
Phone is not working and in fastboot device is showing as "???????????? fastboot"
I have a realme 2 pro and I wanted to revert it back to stock rom. I had orangefox recovery installed at the time. I tried flashing an ozip file for the device and just call it my stupidity but I the flashed that file as system image and because of that not device is not booting anymore. Both the system and recovery are inaccessible and the device when is fastboot mode shows as "????????????    fastboot". I tried to flash an recover image from fastboot but it game the folling error.
FAILED (Write to device failed (no link))
Can anyone suggest what I can do to fix it?

try twrp+magisk+patch if it had bootloader unlocked
take it to service centre - they can restore stock rom for free