text:
Boot Linux from stick in Termux
This question explains in detail why it's basically impossible to boot Linux from a USB stick.
But I am still wondering: is it possible to load and "boot" a stick-bound Linux distro from a USB stick using the Termux terminal app? It can already access files from sticks and run other distros like Arch, so I'd imagine it to be quite possible.
I'm open about the specifics. I'll take whatever distro works.
The idea is to setup a stick-bound persistent Linux instance for specific tasks. I want to run this Linux both on PC and android through the same USB-Stick, although I'd settle for an android-only solution at this point.

A Linux that works on Andorid devices (ARM) and PCs (x86) does not exist. The kernel and all binaries have to be compiled for one specific architecture.

You cannot "boot" Linux from a USB stick due to the limitations explained in the answer you already linked. But you can always run any Linux environment using chroot from any storage media that works on your device, using any terminal app. But make sure your distro is built for your device architecture, as Robert said. PCs are usually x86_64 and mostly Android devices are ARM. But x86 PCs and phones also exist. Arch is explained in this answer: https://android.stackexchange.com/a/208132/218526


text:
dumptrace file - /data/anr/
On Android Pie, everytime we take a bugreport, it generates a temporary file in data/anr. This temporary file is not cleared and stays on the device. Its size is around 2MB. This means everytime I take a bugreport on my device, the data/anr folder will have dumpstate_XXXX file that is taking up some space. How does Android clean this file and how often does it clean this file if at all? Else won't it cause my device to run out of memory eventually?

If an ANR occurs system cleans all files in /data/anr/ older than a day: https://android.googlesource.com/platform/frameworks/base/+/refs/tags/android-9.0.0_r1/services/core/java/com/android/server/am/ActivityManagerService.java#6230

@IrfanLatif Thanks for the pointer. I however have a device that has these data/anr/dumptrace_XXXX file staying there for more than a day. They don't seem to get cleaned up. Infact this file I have on my device is more than 15 days old.

source: Stack Exchange

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

sort: votes


text:
Why there's an "Android" folder in my phone's storage?
I'm just wanted to know why there's an Android folder. As we all know that the data which apps stores for itself stores in root directory which is "data/data" but why there's an Android folder? Please let me know.

this is basically used for unimportant data. for example spotify caches huge amount of data in that directory

Or used for data, the device owner is supposed to have access to from a PC via USB/MTP.

Android folder includes apps' private directories in public/shared storage. Sounds weird? See details in Android's Storage Journey.

Thank you for the comments, I got my answer

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


text:
Cannot find apps
I have the Samsung Galaxy S21 5G. So far, it has been great, however, this morning, I noticed my "games" folder has disappeared from my homescreen. I assumed I had accidentally deleted it while in my pocket or something. However, when I swipe up to look at installed apps, I cannot see them anywhere, and they aren't the only apps that have gone missing. If I search for them in the search bar, they appear and I can open them, but there are no icons anywhere. They appear on the apps list in the settings, and they appear as installed in the play store. So where are the icons?!

Seems to be an issue with your launcher. Try rto reset it (clear data & cache), or install another to check if you the apps will become visible again.

@ReddyLutonadio which launcher? and where do I find the reset options?

And I can launch the apps fine if I search for them, so I wouldn't think it is the launcher

@Curious if your app launcher doesn't show the apps  out of a sudden but only shows them when searched for, then it means either the launcher offers app hiding feature and you somehow activated it and got those apps hid from launcher, or the launcher has a bug where it doesn't show some app icons at all. Try installing an another launcher app, such as Nova launcher, and see if the issue persists. Otherwise, clear data for your default launcher app. To know about it, see https://android.stackexchange.com/q/208963/96277

@Firelord I don't even know what the launcher is. The apps were showing fine up until today where they are now gone. So how do I clear the data and cache of this launcher? If I go to settings>apps, then it just gives me a list of apps

Samsung's default launcher is One UI Home. I must be listed among your apps when you go to Settings Apps. In case it is not listed, click the 3-dot menu and select Show system apps.

@ReddyLutonadio I have found One UI Home, if I go to One UI Home settings > Hide apps, then the ones I am looking for don't even show up as an option?

@ReddyLutonadio I have found where the icons are... They have gone to the game launcher. No idea how to stop that happening?

I don't know how the game launcher works as I don't own recent Samsung phones, so I can't advise on "how to stop that happening". Maybe if it is possible, you can disable if you never use it. Also try to place the apps ' shortcuts that disappeared back by using the drawer and placing them on your home screen


text:
How clearing cache solves all your problems?
My phone is Android A30s. I recently have encountered two problems: I couldn't download an application from appstore and I couldn't open the Yahoo app. Both problems I solved by deleting the cache from the respective apps. The question is: how does it work? How deleting the cache resolved these two problems, exactly? Thanks!

Did you read the tag wiki of cache tag you used?

I did now, but it still doesn't explain the mechanisms I'm looking for..

corrupted app data is cleared and the app responds as it should (when you clear cache)//If your doubt is why does app data get corrupt? That's a good question and should be a separately asked

Thank you so much!


text:
msa keeps stopping
I have recently this message
"msa keeps stopping"

Can someone help me to repair the problem . My phone is a mimax3

There was a buggy update from Chrome. Check the summary/report and see if it's due to com.google.android.trichromelibrary.

After the last update of chrome the bug disappeared


text:
Does the sensors work when smartphone is switched off and what can make sensors work incorrect?
We want to track the movement and location of employees based on information from the accelerometer and gyroscope sensors (there are some control points, but their number is very small, mainly tracking is based on sensors).
I want to understand what can affect the operation of the sensors and do they work when the phone is switched off? In order to understand possible ways how employees can outsmart the system.

What state is "switched off" in your opinion: a phone that has been shut down or a phone with a simply switched off screen?

@Robert  phone that has been shut down

If the phone is really shut down then it is irrelevant if the sensors are working or not (typically I would assume that in device off-state the sensors are not powered).
Sensors provide real-time data. If no-one retrieves and saves it the data is lost.
Therefore in device off state no app is running to retrieve the data and thus no data can be collected (assuming the sensors really could work and are getting powered in device off state which I doubt).


text:
Bootloop MIUI 12 after reboot (Xiaomi POCO X3 NFC)
I got bootloop after MIUI 12 phone restart (Xiaomi POCO X3 NFC).
Using Magisk 21, TWRP v3.4.
I was able to get out the kernel logs, but can not identify where is the problem, what causes the bootloop.
Anybody can identify what causes the bootloop?
Here is the dmesg.log file content.
The full log is in pastebin:
https://pastebin.com/GcAJyz93
dmesg.log content (partial):
[    0.000000] Booting Linux on physical CPU 0x0
[    0.000000] Linux version 4.14.117-perf-g0abcc55 (builder@c4-miui-ota-bd081.bj) (clang version 8.0.12 for Android NDK) #1 SMP PREEMPT Wed Sep 16 17:33:15 CST 2020
[    0.000000] Boot CPU: AArch64 Processor [51df805e]
[    0.000000] Powerup reason=0x80081
[    0.000000] Machine: Qualcomm Technologies, Inc. SDMMAGPIE PM6150 IDP
[    0.000000] OF: reserved mem: OVERLAP DETECTED!
[    0.000000] disp_rdump_region@9c000000 (0x000000009c000000--0x000000009d800000) overlaps with cont_splash_region@9c000000 (0x000000009c000000--0x000000009d800000)
[    0.000000] OF: reserved mem: OVERLAP DETECTED!
[    0.000000] cont_splash_region@9c000000 (0x000000009c000000--0x000000009d800000) overlaps with dfps_data_region@9e300000 (0x000000009d700000--0x000000009d800000)
[    0.000000] Reserved memory: created CMA memory pool at 0x00000000ff800000, size 4 MiB
[    0.000000] OF: reserved mem: initialized node cdsp_region, compatible id shared-dma-pool
[    0.000000] Reserved memory: created CMA memory pool at 0x00000001fa800000, size 36 MiB
[    0.000000] OF: reserved mem: initialized node mem_dump_region, compatible id shared-dma-pool
[    0.000000] Reserved memory: created CMA memory pool at 0x00000000fd800000, size 32 MiB
[    0.000000] OF: reserved mem: initialized node linux,cma, compatible id shared-dma-pool
[    0.000000] Reserved memory: created CMA memory pool at 0x00000000fcc00000, size 12 MiB
[    0.000000] OF: reserved mem: initialized node adsp_region, compatible id shared-dma-pool
[    0.000000] Reserved memory: created CMA memory pool at 0x00000000fc400000, size 8 MiB
[    0.000000] OF: reserved mem: initialized node sp_region, compatible id shared-dma-pool
[    0.000000] Reserved memory: created CMA memory pool at 0x00000000fb400000, size 16 MiB
[    0.000000] OF: reserved mem: initialized node qseecom_ta_region, compatible id shared-dma-pool
[    0.000000] Reserved memory: created CMA memory pool at 0x00000000f5800000, size 92 MiB
[    0.000000] OF: reserved mem: initialized node secure_display_region, compatible id shared-dma-pool
[    0.000000] Removed memory: created DMA memory pool at 0x0000000085700000, size 6 MiB
[    0.000000] OF: reserved mem: initialized node hyp_region@85700000, compatible id removed-dma-pool
[    0.000000] Removed memory: created DMA memory pool at 0x0000000085e00000, size 1 MiB
[    0.000000] OF: reserved mem: initialized node xbl_aop_mem@85e00000, compatible id removed-dma-pool
[    0.000000] Removed memory: created DMA memory pool at 0x0000000085fff000, size 0 MiB
[    0.000000] OF: reserved mem: initialized node sec_apps_region@85fff000, compatible id removed-dma-pool
[    0.000000] Removed memory: created DMA memory pool at 0x0000000086000000, size 2 MiB
[    0.000000] OF: reserved mem: initialized node smem@86000000, compatible id removed-dma-pool
[    0.000000] Removed memory: created DMA memory pool at 0x0000000086200000, size 45 MiB
[    0.000000] OF: reserved mem: initialized node removed_region@86200000, compatible id removed-dma-pool
[    0.000000] Removed memory: created DMA memory pool at 0x000000008ab00000, size 5 MiB
[    0.000000] OF: reserved mem: initialized node camera_region@8ab00000, compatible id removed-dma-pool
[    0.000000] Removed memory: created DMA memory pool at 0x000000008b000000, size 132 MiB
[    0.000000] OF: reserved mem: initialized node modem_region@8b000000, compatible id removed-dma-pool
[    0.000000] Removed memory: created DMA memory pool at 0x0000000093400000, size 5 MiB
[    0.000000] OF: reserved mem: initialized node pil_video_region@93400000, compatible id removed-dma-pool
[    0.000000] Removed memory: created DMA memory pool at 0x0000000093900000, size 30 MiB
[    0.000000] OF: reserved mem: initialized node cdsp_regions@93900000, compatible id removed-dma-pool
[    0.000000] Removed memory: created DMA memory pool at 0x0000000095700000, size 30 MiB
[    0.000000] OF: reserved mem: initialized node pil_adsp_region@95700000, compatible id removed-dma-pool
[    0.000000] Removed memory: created DMA memory pool at 0x0000000097500000, size 1 MiB
[    0.000000] OF: reserved mem: initialized node wlan_msa_region@97500000, compatible id removed-dma-pool
[    0.000000] Removed memory: created DMA memory pool at 0x0000000097680000, size 0 MiB
[    0.000000] OF: reserved mem: initialized node npu_region@97680000, compatible id removed-dma-pool
[    0.000000] Removed memory: created DMA memory pool at 0x0000000097700000, size 0 MiB
[    0.000000] OF: reserved mem: initialized node ips_fw_region@97700000, compatible id removed-dma-pool
[    0.000000] Removed memory: created DMA memory pool at 0x0000000097710000, size 0 MiB
[    0.000000] OF: reserved mem: initialized node ipa_gsi_region@97710000, compatible id removed-dma-pool
[    0.000000] Removed memory: created DMA memory pool at 0x0000000097715000, size 0 MiB
[    0.000000] OF: reserved mem: initialized node gpu_region@97715000, compatible id removed-dma-pool
[    0.000000] Reserved memory: created DMA memory pool at 0x000000009e400000, size 20 MiB
[    0.000000] OF: reserved mem: initialized node qseecom_region@9e400000, compatible id shared-dma-pool
[    0.000000] Removed memory: created DMA memory pool at 0x000000009f800000, size 30 MiB
[    0.000000] OF: reserved mem: initialized node cdsp_sec_regions@0x9f800000, compatible id removed-dma-pool
[    0.000000] On node 0 totalpages: 1480425
[    0.000000]   DMA zone: 6956 pages used for memmap
[    0.000000]   DMA zone: 0 pages reserved
[    0.000000]   DMA zone: 445161 pages, LIFO batch:31
[    0.000000]   Normal zone: 16176 pages used for memmap
[    0.000000]   Normal zone: 1035264 pages, LIFO batch:31
[    0.000000] psci: probing for conduit method from DT.
[    0.000000] psci: PSCIv1.1 detected in firmware.
[    0.000000] psci: Using standard PSCI v0.2 function IDs
[    0.000000] psci: MIGRATE_INFO_TYPE not supported.
[    0.000000] psci: SMC Calling Convention v1.1
[    0.000000] random: fast init done
[    0.000000] random: get_random_bytes called from start_kernel+0x94/0x558 with crng_init=1
[    0.000000] percpu: Embedded 23 pages/cpu s53656 r8192 d32360 u94208
[    0.000000] pcpu-alloc: s53656 r8192 d32360 u94208 alloc=23*4096
[    0.000000] pcpu-alloc: [0] 0 [0] 1 [0] 2 [0] 3 [0] 4 [0] 5 [0] 6 [0] 7
[    0.000000] Built 1 zonelists, mobility grouping on.  Total pages: 1457293
[    0.000000] Kernel command line: rcupdate.rcu_expedited=1 rcu_nocbs=0-7 console=ttyMSM0,115200n8 androidboot.hardware=qcom androidboot.console=ttyMSM0 androidboot.memcg=1 lpm_levels.sleep_disabled=1 video=vfb:640x400,bpp=32,memsize=3072000 msm_rtb.filter=0x237 service_locator.enable=1 androidboot.usbcontroller=a600000.dwc3 swiotlb=2048 loop.max_part=7 cgroup.memory=nokmem,nosocket androidboot.selinux=permissive androidboot.init_fatal_reboot_target=recovery buildvariant=eng androidboot.verifiedbootstate=orange androidboot.keymaster=1  androidboot.bootdevice=1d84000.ufshc androidboot.boot_devices=soc/1d84000.ufshc androidboot.serialno=d2c7e1d2 androidboot.product.hardware.sku=surya androidboot.cpuid=0xf9f4016b androidboot.multisim_config=dsds androidboot.dp=0x0 androidboot.baseband=msm msm_drm.dsi_display0=dsi_nt36672c_tianma_fhd_video_display: androidboot.fpsensor=gdx androidboot.lcmtype=dsi_nt36672c_tianma_fhd_video_display androidboot.dtbo_idx=10 androidboot.dtb_idx=9 androidboot.secur
[    0.000000] I am goodix fingerprint  --syhg
[    0.000000] PID hash table entries: 4096 (order: 3, 32768 bytes)
[    0.000000] Dentry cache hash table entries: 1048576 (order: 11, 8388608 bytes)
[    0.000000] Inode-cache hash table entries: 524288 (order: 10, 4194304 bytes)
[    0.000000] software IO TLB: mapped [mem 0xf5400000-0xf5800000] (4MB)
[    0.000000] Memory: 5509764K/5921700K available (17918K kernel code, 2716K rwdata, 7256K rodata, 6144K init, 6808K bss, 207136K reserved, 204800K cma-reserved)
[    0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=8, Nodes=1
[    0.000000] Preemptible hierarchical RCU implementation.
[    0.000000]  RCU dyntick-idle grace-period acceleration is enabled.
[    0.000000]  All grace periods are expedited (rcu_expedited).
[    0.000000]  Tasks RCU enabled.
[    0.000000] NR_IRQS: 64, nr_irqs: 64, preallocated irqs: 0
[    0.000000] GICv3: no VLPI support, no direct LPI support
[    0.000000] GICv3: CPU0: found redistributor 0 region 0:0x0000000017a60000
[    0.000000]  Offload RCU callbacks from CPUs: 0-7.
[    0.000000] arch_timer: cp15 and mmio timer(s) running at 19.20MHz (virt/virt).
[    0.000000] clocksource: arch_sys_counter: mask: 0xffffffffffffff max_cycles: 0x46d987e47, max_idle_ns: 440795202767 ns
[    0.000003] sched_clock: 56 bits at 19MHz, resolution 52ns, wraps every 4398046511078ns
[    0.000016] clocksource: Switched to clocksource arch_sys_counter
[    0.002044] Console: colour dummy device 80x25
[    0.002065] Calibrating delay loop (skipped), value calculated using timer frequency.. 38.40 BogoMIPS (lpj=192000)
[    0.002075] pid_max: default: 32768 minimum: 301
[    0.002172] Security Framework initialized
[    0.002181] SELinux:  Initializing.
[    0.002238] SELinux:  Starting in permissive mode
[    0.002280] Mount-cache hash table entries: 16384 (order: 5, 131072 bytes)
[    0.002296] Mountpoint-cache hash table entries: 16384 (order: 5, 131072 bytes)
[    0.014225] ASID allocator initialised with 65536 entries
[    0.016320] Hierarchical SRCU implementation.
[    0.023875] MSM Memory Dump base table set up
[    0.023899] MSM Memory Dump apps data table set up
[    0.026399] smp: Bringing up secondary CPUs ...
[    0.035824] GICv3: CPU1: found redistributor 100 region 0:0x0000000017a80000
[    0.035870] CPU1: Booted secondary processor [51df805e]
[    0.045321] GICv3: CPU2: found redistributor 200 region 0:0x0000000017aa0000
[    0.045355] CPU2: Booted secondary processor [51df805e]
[    0.054822] GICv3: CPU3: found redistributor 300 region 0:0x0000000017ac0000
[    0.054853] CPU3: Booted secondary processor [51df805e]
[    0.064412] GICv3: CPU4: found redistributor 400 region 0:0x0000000017ae0000
[    0.064442] CPU4: Booted secondary processor [51df805e]
[    0.074092] GICv3: CPU5: found redistributor 500 region 0:0x0000000017b00000
[    0.074123] CPU5: Booted secondary processor [51df805e]
[    0.084544] CPU features: Unsupported CPU feature variation detected.
[    0.084578] GICv3: CPU6: found redistributor 600 region 0:0x0000000017b20000
[    0.084630] CPU6: Booted secondary processor [51df804e]
[    0.094922] GICv3: CPU7: found redistributor 700 region 0:0x0000000017b40000
[    0.094977] CPU7: Booted secondary processor [51df804e]
[    0.095224] smp: Brought up 1 node, 8 CPUs
[    0.095253] SMP: Total of 8 processors activated.
[    0.095259] CPU features: detected feature: GIC system register CPU interface
[    0.095262] CPU features: detected feature: Privileged Access Never
[    0.095266] CPU features: detected feature: User Access Override
[    0.095269] CPU features: detected feature: 32-bit EL0 Support
[    0.095274] CPU features: detected: Hardware dirty bit management
[    0.095900] CPU: All CPU(s) started at EL1
[    0.095944] alternatives: patching kernel code
[    0.148958] Registered cp15_barrier emulation handler
[    0.148978] Registered setend emulation handler
[    0.149380] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
[    0.149407] futex hash table entries: 2048 (order: 6, 262144 bytes)
[    0.154482] pinctrl core: initialized pinctrl subsystem
[    0.155358] NET: Registered protocol family 16
[    0.157729] schedtune: configured to support 6 boost groups
[    0.158659] cpuidle: using governor menu
[    0.158700] cpuidle: using governor qcom
[    0.158828] NET: Registered protocol family 42
[    0.166431] vdso: 2 pages (1 code @         (ptrval), 1 data @         (ptrval))
[    0.166446] hw-breakpoint: found 6 breakpoint and 4 watchpoint registers.
[    0.167668] DMA: preallocated 256 KiB pool for atomic allocations
[    0.168298] Failed to create IPC log0
[    0.168306] Failed to create IPC log1
[    0.168313] Failed to create IPC log2
[    0.168319] Failed to create IPC log3
[    0.168325] Failed to create IPC log4
[    0.168475] exit: IPA_USB init success!
[    0.168794] ramoops: dump_mem_sz=1048576,cxt->record_size=524288,cxt->size=4194304,cxt->console_size=1048576,cxt->ftrace_size=0,cxt->pmsg_size=2097152
[    0.179668] pstore: using zlib compression
[    0.180614] console [pstore-1] enabled
[    0.180712] pstore: Registered ramoops as persistent store backend
[    0.180727] ramoops: attached 0x400000@0x9d800000, ecc: 0/0
[    0.181939] msm-sn-fuse 786134.snfuse: serial num: f9f4016b buqingshuai
[    0.181956] msm-sn-fuse 786134.snfuse: fuse state: 0x0,0x0,0x0 buqingshuai
[    0.181969] msm-sn-fuse 786134.snfuse: SN interface initializedbuqingshuai
[    0.183946] sps:sps is ready.
[    0.186079] unable to find DT imem DLOAD mode node
[    0.187478] unable to find DT imem EDLOAD mode node
[    0.189987] msm_watchdog 17c10000.qcom,wdt: wdog absent resource not present
[    0.191569] msm_watchdog 17c10000.qcom,wdt: MSM Watchdog Initialized
[    0.192460] platform soc:mem_dump: assigned reserved memory node mem_dump_region
[    0.231609] platform soc:qcom,smem: assigned reserved memory node smem@86000000
[    0.232167] platform soc:qcom,msm-adsprpc-mem: assigned reserved memory node adsp_region
[    0.239512] platform 86d00000.qseecom: assigned reserved memory node qseecom_region@9e400000
[    0.240519] platform 62400000.qcom,lpass: assigned reserved memory node pil_adsp_region@95700000
[    0.241651] spmi spmi-0: PMIC arbiter version v5 (0x50000000)
[    0.241682] platform 8300000.qcom,turing: assigned reserved memory node cdsp_regions@93900000
[    0.241921] platform 4080000.qcom,mss: assigned reserved memory node modem_region@8b000000
[    0.242065] platform aae0000.qcom,venus: assigned reserved memory node pil_video_region@93400000
[    0.242197] platform 9800000.qcom,npu: assigned reserved memory node npu_region@97680000
[    0.243151] (NULL device *): msm_gsi_probe:4526 failed to create IPC log, continue...
[    0.247256] LCDB: qpnp_lcdb_regulator_probe: Failed to parse dt rc=-517
[    0.247894] platform soc:qcom,ipa_fws: assigned reserved memory node ips_fw_region@97700000
[    0.248036] spmi spmi-0: pmic_arb_wait_for_done: transaction failed (0x3)
[    0.265621] sdmmagpie-pinctrl 3400000.pinctrl: invalid resource
[    0.272544] rpmh_regulator_probe: smpf1: could not find RPMh address for resource
[    0.272817] rpmh_regulator_probe: smpf2: could not find RPMh address for resource
[    0.280209] pm6150_l17: supplied by pm6150_l11
[    0.280705] pm6150_l18: Bringing 1uV into 1696000-1696000uV
[    0.287962] rpmh_regulator_probe: ldof1: could not find RPMh address for resource
[    0.288178] rpmh_regulator_probe: ldof2: could not find RPMh address for resource
[    0.288383] rpmh_regulator_probe: ldof4: could not find RPMh address for resource
[    0.288590] rpmh_regulator_probe: ldof5: could not find RPMh address for resource
[    0.288791] rpmh_regulator_probe: ldof6: could not find RPMh address for resource
[    0.288989] rpmh_regulator_probe: ldof7: could not find RPMh address for resource
[    0.298302] OF: amba_device_add() failed (-16) for /soc/cti@6867000
[    0.331183] gpu_cx_gdsc: supplied by pm6150l_s2_level
[    0.333167] clk: add_opp: Set OPP pair (300000000 Hz, 572000 uv) on cpu0
[    0.333515] clk: add_opp: Set OPP pair (1804800000 Hz, 796000 uv) on cpu0
[    0.333581] clk: add_opp: Set OPP pair (300000000 Hz, 572000 uv) on cpu1
[    0.333912] clk: add_opp: Set OPP pair (1804800000 Hz, 796000 uv) on cpu1
[    0.333987] clk: add_opp: Set OPP pair (300000000 Hz, 572000 uv) on cpu2
[    0.334314] clk: add_opp: Set OPP pair (1804800000 Hz, 796000 uv) on cpu2
[    0.334391] clk: add_opp: Set OPP pair (300000000 Hz, 572000 uv) on cpu3
[    0.334715] clk: add_opp: Set OPP pair (1804800000 Hz, 796000 uv) on cpu3
[    0.334774] clk: add_opp: Set OPP pair (300000000 Hz, 572000 uv) on cpu4
[    0.335116] clk: add_opp: Set OPP pair (1804800000 Hz, 796000 uv) on cpu4
[    0.335179] clk: add_opp: Set OPP pair (300000000 Hz, 572000 uv) on cpu5
[    0.335520] clk: add_opp: Set OPP pair (1804800000 Hz, 796000 uv) on cpu5
[    0.335599] clk: add_opp: Set OPP pair (300000000 Hz, 572000 uv) on cpu6
[    0.336079] clk: add_opp: Set OPP pair (2304000000 Hz, 920000 uv) on cpu6
[    0.336163] clk: add_opp: Set OPP pair (300000000 Hz, 572000 uv) on cpu7
[    0.336645] clk: add_opp: Set OPP pair (2304000000 Hz, 920000 uv) on cpu7
[    0.336956] clk: add_opp: Set OPP pair (300000000 Hz, 568000 uv) on soc:qcom,cpu0-cpu-l3-lat
[    0.336969] clk: add_opp: Set OPP pair (300000000 Hz, 568000 uv) on soc:qcom,cpu6-cpu-l3-lat
[    0.336980] clk: add_opp: Set OPP pair (300000000 Hz, 568000 uv) on soc:qcom,cdsp-cdsp-l3-lat
[    0.338091] clk: add_opp: Set OPP pair (1459200000 Hz, 756000 uv) on soc:qcom,cpu0-cpu-l3-lat
[    0.338105] clk: add_opp: Set OPP pair (1459200000 Hz, 756000 uv) on soc:qcom,cpu6-cpu-l3-lat
[    0.338118] clk: add_opp: Set OPP pair (1459200000 Hz, 756000 uv) on soc:qcom,cdsp-cdsp-l3-lat
[    0.339104] sched-energy: Sched-energy-costs installed from DT
[    0.340268] cpufreq: driver osm-cpufreq up and running
[    0.340293] clk: clk_cpu_osm_driver_probe: OSM CPUFreq driver inited
[    0.344594] cam_cc-sdmmagpie ad00000.qcom,camcc: Registered Camera CC clocks
[    0.345114] qmp-aop-clk soc:qcom,aopclk: Registered clocks with AOP
[    0.346279] clk-rpmh soc:qcom,rpmh: Registered RPMh clocks
[    0.347430] disp_cc-sdmmagpie af00000.qcom,dispcc: Registered Display CC clocks
[    0.353445] gcc-sdmmagpie 100000.qcom,gcc: Registered GCC clocks
[    0.354360] gpu_cc_gmu_clk_src: set OPP pair(19200000 Hz: 49 uV) on 506a000.qcom,gmu
[    0.354379] gpu_cc_gmu_clk_src: set OPP pair(200000000 Hz: 49 uV) on 506a000.qcom,gmu
[    0.354526] gpu_cc_gx_gfx3d_clk_src: set OPP pair(180000000 Hz: 49 uV) on 5000000.qcom,kgsl-3d0
[    0.354593] gpu_cc_gx_gfx3d_clk_src: set OPP pair(700000000 Hz: 385 uV) on 5000000.qcom,kgsl-3d0
[    0.354619] gpu_cc_gx_gfx3d_clk_src: set OPP pair(825000000 Hz: 417 uV) on 5000000.qcom,kgsl-3d0
[    0.354677] gpu_cc-sdmmagpie 5090000.qcom,gpucc: Registered GPU CC clocks
[    0.355933] video_cc-sdmmagpie ab00000.qcom,videocc: Registered Video CC clocks
[    0.357753] KPI: Bootloader start count = 61534
[    0.357757] KPI: Bootloader end count = 267083
[    0.357760] KPI: Bootloader display count = 1438326266
[    0.357762] KPI: Bootloader load kernel count = 2470170460
[    0.357766] KPI: Kernel MPM timestamp = 285504
[    0.357768] KPI: Kernel MPM Clock frequency = 32768
[    0.357777] socinfo_print: v0.15, id=365, ver=1.0, raw_id=230, raw_ver=0, hw_plat=34, hw_plat_ver=65536
[    0.357777]  accessory_chip=0, hw_plat_subtype=0, pmic_model=65576, pmic_die_revision=131072 foundry_id=3 serial_number=4193517931 num_pmics=2 chip_family=0x60 raw_device_family=0x6 raw_device_number=0xc nproduct_id=0x40f num_clusters=0x1 ncluster_array_offset=0xb0 num_defective_parts=0xc ndefective_parts_array_offset=0xb4 nmodem_supported=0xff
[    0.357842] Minidump: Enabled with max number of regions 200
[    0.357875] Failed to setup PIL ipc logging
[    0.357878] msm_bus_fabric_rpmh_init_driver
[    0.357960] msm_bus: Probe started
[    0.358208] msm_bus_device 16e0000.ad-hoc-bus: Bus type is missing
[    0.358239] msm_bus_device 16e0000.ad-hoc-bus: Bus type is missing
[    0.358246] msm_bus_device 16e0000.ad-hoc-bus: Bus type is missing
[    0.358267] msm_bus_device 16e0000.ad-hoc-bus: Bus type is missing
[    0.358948] msm_bus: DT Parsing complete
[    0.361009] msm_bus_fab_init_noc_ops: Invalid Bus type
[    0.361083] msm_bus_fab_init_noc_ops: Invalid Bus type
[    0.361095] msm_bus_fab_init_noc_ops: Invalid Bus type
[    0.361141] msm_bus_fab_init_noc_ops: Invalid Bus type
[    0.366739] uw_ldo_ois_drv_regulator: supplied by pm6150l_bob
[    0.367341] arm-smmu 5040000.arm,smmu-kgsl:  non-coherent table walk
[    0.367346] arm-smmu 5040000.arm,smmu-kgsl:  (IDR0.CTTW overridden by FW configuration)
[    0.367350] arm-smmu 5040000.arm,smmu-kgsl:  stream matching with 5 register groups
[    0.368707] register_client_adhoc:find path.src 161 dest 627
[    0.368776] register_client_adhoc:Client handle 1 apps_smmu
[    0.368873] arm-smmu 15000000.apps-smmu:     non-coherent table walk
[    0.368878] arm-smmu 15000000.apps-smmu:     (IDR0.CTTW overridden by FW configuration)
[    0.368882] arm-smmu 15000000.apps-smmu:     stream matching with 79 register groups
[    0.369588] register_client_adhoc:find path.src 161 dest 627
[    0.369645] register_client_adhoc:Client handle 2 apps_smmu
[    0.369744] register_client_adhoc:find path.src 161 dest 627
[    0.369798] register_client_adhoc:Client handle 3 apps_smmu
[    0.369871] register_client_adhoc:find path.src 22 dest 773
[    0.369903] register_client_adhoc:Client handle 4 mnoc_hf_0_tbu
[    0.369980] register_client_adhoc:find path.src 22 dest 773
[    0.370007] register_client_adhoc:Client handle 5 mnoc_hf_1_tbu
[    0.370100] register_client_adhoc:find path.src 137 dest 772
[    0.370131] register_client_adhoc:Client handle 6 mnoc_sf_0_tbu
[    0.370188] register_client_adhoc:find path.src 154 dest 10076
[    0.370208] register_client_adhoc:Client handle 7 apps_smmu
[    0.370283] register_client_adhoc:find path.src 161 dest 627
[    0.370340] register_client_adhoc:Client handle 8 apps_smmu
[    0.370420] register_client_adhoc:find path.src 161 dest 627
[    0.370473] register_client_adhoc:Client handle 9 apps_smmu
[    0.370795] vgaarb: loaded
[    0.370921] qcom,qpnp-misc c440000.qcom,spmi:qcom,pm6150@0:qcom,misc@900: probe successful
[    0.371201] SCSI subsystem initialized
[    0.371239] usbcore: registered new interface driver usbfs
[    0.371247] usbcore: registered new interface driver hub
[    0.371345] usbcore: registered new device driver usb
[    0.371546] usb_phy_generic soc:usb_nop_phy: soc:usb_nop_phy supply vcc not found, using dummy regulator
[    0.371790] xiaomi_touch_probe enter
[    0.371793] xiaomi_touch_parse_dt touch,name:xiaomi-touch
[    0.371819] xiaomi_touch_probe over
[    0.371935] qcom,qpnp-power-on c440000.qcom,spmi:qcom,pm6150@0:qcom,power-on@800: PMIC@SID0 Power-on reason: Triggered from Hard Reset and 'cold' boot
[    0.371958] qcom,qpnp-power-on c440000.qcom,spmi:qcom,pm6150@0:qcom,power-on@800: PMIC@SID0: Power-off reason: Triggered from KPDPWR_N (Long Power Key Hold)
[    0.372053] input: qpnp_pon as /devices/platform/soc/c440000.qcom,spmi/spmi-0/spmi0-00/c440000.qcom,spmi:qcom,pm6150@0:qcom,power-on@800/input/input0
[    0.372835] qcom,qpnp-power-on c440000.qcom,spmi:qcom,pm6150l@4:qcom,power-on@800: PMIC@SID4 Power-on reason: Triggered from PON1 (Secondary PMIC) and 'cold' boot
[    0.372859] qcom,qpnp-power-on c440000.qcom,spmi:qcom,pm6150l@4:qcom,power-on@800: PMIC@SID4: Power-off reason: Triggered from SOFT (Software)
[    0.373002] media: Linux media interface: v0.10
[    0.373010] Linux video capture interface: v2.00
[    0.373022] pps_core: LinuxPPS API ver. 1 registered
[    0.373024] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it>
[    0.373029] PTP clock support registered
[    0.374398] thermal_sys: VIRTUAL-SENSOR board sensor:
[    0.374401] board sensor: VIRTUAL-SENSOR
[    0.375507] tsens_tm_probe : unable to create IPC Logging 0 for tsens 0x000000000c263000
[    0.375509] tsens_tm_probe : unable to create IPC Logging 1 for tsens 0x000000000c263000
[    0.375512] tsens_tm_probe : unable to create IPC Logging 2 for tsens 0x000000000c263000
[    0.376266] tsens_tm_probe : unable to create IPC Logging 0 for tsens 0x000000000c265000
[    0.376269] tsens_tm_probe : unable to create IPC Logging 1 for tsens 0x000000000c265000
[    0.376272] tsens_tm_probe : unable to create IPC Logging 2 for tsens 0x000000000c265000
[    0.376697] EDAC MC: Ver: 3.0.0
[    0.377404] platform soc:qcom,ion:qcom,ion-heap@27: assigned reserved memory node qseecom_region@9e400000
[    0.377439] platform soc:qcom,ion:qcom,ion-heap@19: assigned reserved memory node qseecom_ta_region
[    0.377469] platform soc:qcom,ion:qcom,ion-heap@13: assigned reserved memory node sp_region
[    0.377495] platform soc:qcom,ion:qcom,ion-heap@10: assigned reserved memory node secure_display_region
[    0.377585] ION heap system created
[    0.377676] ION heap qsecom created at 0x000000009e400000 with size 1400000
[    0.377683] ION heap qsecom_ta created at 0x00000000fb400000 with size 1000000
[    0.377689] ION heap spss created at 0x00000000fc400000 with size 800000
[    0.377696] ION heap secure_display created at 0x00000000f5800000 with size 5c00000
[    0.389140] platform soc:qcom,ion:qcom,ion-heap@14: ion_secure_carveout: creating heap@0x9f800000, size 0x1e00000
[    0.389146] ION heap secure_carveout created
[    0.389167] ION heap secure_heap created
[    0.389790] qupv3_geni_se 8c0000.qcom,qupv3_0_geni_se: geni_se_probe Failed to allocate log context
[    0.389957] iommu: Adding device 8c0000.qcom,qupv3_0_geni_se:qcom,iommu_qupv3_0_geni_se_cb to group 0
[    0.390031] qupv3_geni_se ac0000.qcom,qupv3_1_geni_se: geni_se_probe Failed to allocate log context
[    0.390168] iommu: Adding device ac0000.qcom,qupv3_1_geni_se:qcom,iommu_qupv3_1_geni_se_cb to group 1
[    0.390473] PMIC@SID0: PM6150 v2.0 options: 0, 0, 0, 0
[    0.390571] PMIC@SID4: PM8150L v3.0 options: 0, 0, 0, 0
[    0.390608] spmi spmi-0: pmic_arb_wait_for_done: transaction failed (0x3)
[    0.390610] read failed rc=-5
[    0.390612] Invalid REVID peripheral type: 00
[    0.390618] qcom,qpnp-revid: probe of c440000.qcom,spmi:qcom,pm8009@a:qcom,revid@100 failed with error -22
[    0.391187] register_client_adhoc:find path.src 90 dest 512
[    0.391351] register_client_adhoc:find path.src 90 dest 585
[    0.391404] register_client_adhoc:find path.src 1 dest 676
[    0.391494] register_client_adhoc:find path.src 143 dest 777
[    0.391523] register_client_adhoc:Client handle 10 ipa
[    0.392931] ipa ipa3_smp2p_probe:7956 fail to get smp2p clk resp bit -517
[    0.393436] iommu: Adding device soc:ipa_smmu_ap to group 2
[    0.393628] iommu: Adding device soc:ipa_smmu_wlan to group 3
[    0.393930] iommu: Adding device soc:ipa_smmu_uc to group 4
[    0.396227] ipa ipa3_smp2p_probe:7956 fail to get smp2p clk resp bit -517
[    0.400456] Advanced Linux Sound Architecture Driver Initialized.
[    0.401240] Bluetooth: Core ver 2.22
[    0.401354] NET: Registered protocol family 31
[    0.401358] Bluetooth: HCI device and connection manager initialized
[    0.401379] Bluetooth: HCI socket layer initialized
[    0.401386] Bluetooth: L2CAP socket layer initialized
[    0.401431] Bluetooth: SCO socket layer initialized
[    0.402046] NetLabel: Initializing
[    0.402051] NetLabel:  domain hash size = 128
...

From TWRP, uninstall magisk, to rule out Magisk modules creating this //If it works update to Magisk v23 and add modules one by one to identify culprit - this is a guess and not based on logs

Thanks for this info. Finally I solved by reflashing the original boot.img.

The problem was with the boot image.
Solution steps:

I searched for exact POCO X3 NFC rom .TGZ file, and found it here:
https://xiaomifirmwareupdater.com/miui/surya/stable/V12.0.7.0.QJGEUXM/

I downloaded the following file:
surya_eea_global_images_V12.0.7.0.QJGEUXM_20201221.0000.00_10.0_eea_6c03e13a9f.tgz

Extracted the "boot.img" file

Using
adb reboot bootloader
rebooted phone into bootloader mode.

Using
fastboot flash boot boot.img
finally I flashed the original boot.img

Rebooted with long press power button

Booted fine into MIUI.


text:
Unable to connect Pixel Phone to TP Link WiFi extender
Please bear with me because I have very limited technical knowledge.
I have successfully installed a TP Link WiFi range extender and my iPad connects to it fine. My Pixel phone detects the extender but will not connect to it. When I try to manually select the extender it gets as far as saying Authenticating but then just goes back to showing it is a saved network in my list.
What can I do, in really simple terms,to ensure my Pixel connects to the TP Link extender?
Many thanks for any help.

Does the range extender use the same Wifi name (SSID) and password as the main WiFi? Please edit your question and add the exact product name of the "TP Link WiFi range extender".

typo in password, try again


text:
I have connected an OTG cable to my OnePlus device, but nothing happens. What to do?
This is a self-answer post written in response to a question where the user couldn't figure out why their well-functioning OTG device was not working on their OnePlus device.
So, I have a OnePlus device running stock OxygenOS. I decided to connect an accessory to my device through an OTG cable/adapter but I see that the device doesn't detect or shows any response when I insert it. My cable/adapter works in other devices, so I'm a bit clueless here.
How do I get my OTG cable/adapter working in my OnePlus device?

OnePlus' OxygenOS (the Android OS that came with your OnePlus device or got updated some time ago) keeps OTG setting disabled by-default. A user has to enable that setting before using their OTG device. The setting can be found in Settings app → System → OTG storage.
If you cannot find that setting there, search for "OTG" term in Settings app and the relevant setting should show up. Once enabled, plug in your OTG cable/adapter along with your accessory and it should work (provided Android supports it of course!)
Do note that the OTG storage setting would auto-disable after 10 minutes of OTG inactivity. So you would have to enable the setting again should you find yourself in need of using your OTG accessory.
To keep the setting enabled all the time, see my answer here (required a rooted OxygenOS).


text:
Debugger to a non-debuggable Android app
I want to know can we attach a debugger to an app running on the smartphone which is published over Google Play Store without modifying the original app?
The reasons for asking this is by default the app which is there over Google playstore are non debuggable, i.e in the AndroidManifest.xml file, either they won't have android:debuggable flag or if it is, then it will be set to false

The debuggable flag from AndroidManifest.xml is saved in some central XML files on your device when you install the app. Therefore on a rooted device you can modify this XML file (not sure which file it was exactly, it is one central file for all apps) and change debuggable to true without changing something on the APK itself.

@Robert Thanks for your response. May I know the file name. I tried looking into the /data/system/packages.xml but over there there is no information w.r.t whether the app is debuggable or not.


text:
Disabling lock screen app in a Oukitel WP5 Pro afr
A friend just bought a Oukitel WP5 Pro powered by Android. It's up and running but he doesn't want the lock screen. In security it does not give the option "none". I went into app manager it doesn't so the app so i can't disable from there, I would really like some help. If I have to do a hard reset was should I do before I do it? I would like answers specifically for the Oukitel WP5 Pro. Thank you

Generally, there should be an equivalent of "swipe" when choosing the lock screen, but based on what I observe, it's not possible to remove the lock screen completely since it's baked into the Android system.

Do you get this message in your lock screen security settings: "disabled by administrator, encryption policy or credential storage"?

lock screen is dependency for encryption, therefore you can (maybe) set to none only if start from fresh factory reset (no specific WP5 answer just broad suggestion)


text:
Connected android device is not showing up in android studio in m1 Mac mini
I have installed android studio in m1 Mac mini and connected pixel-5 to it. The device is not listing, instead it is showing "loading devices". I have the same setup in intel MacBook Pro and it is showing the pixel-5 when connected. Thanks in advance.

Have you enabled on the phone Developer Options and then "Android Debug Bridge" option?

Is the ADB working? Try adb on the terminal (whether inside Android Studio or from Mac's)

@Robert the developer option is enabled already

@AndrewT. the adb seems to be working, checked adb devices and the device is showing

Fixed the issue, I tried with sample code from android studio itself, for that the a specific sdk version was missing. Installed that and after syncing Gradle file, the device is showing now.


text:
What does "NOS-production: no" mean?
I recently bought a refurbished unlocked Pixel 3 XL to replace my aging, cracked, broken one of the same model. It came with the bootloader unlocked so I decided to lock it because I didn't like the warning message every time it booted and noticed that in the Fastboot menu of the bootloader it shows:
Secure boot: PRODUCTION
NOS-production: no
I'm concerned about that NOS-production setting; has this device been tampered with? My old Pixel 3 XL shows yes there as well as all other screenshots I see of the bootloader on other P3XL's - they all say yes instead of no. I used flash.android.com and completely flashed the phone to the latest April Android 11 firmware but it still shows no. I can't find any documentation of what that could mean. Any insight would be appreciated!

In my opinion should should name the vendor so that other people can avoid it (and I would send back the device and reclaim the money). That an refurbished phone has an unlocked bootloader is pretty unusual and may indicate that the device may originiate from illegal sources (device theft).


text:
Is there a way to have a Gmail account without a mobile number
Is there a way to have a Gmail account without a mobile number، To access the Play Store?
I remember there was no such problem in the past.
I am constantly traveling and I do not have a fixed number.
And I'm not interested in constantly creating a new Gmail account with a new phone number. And basically, why on earth you should do something else before doing something (Get a mobile number before an email)?
The funny thing is that you can not even use other email services to access the Play Store without a phone number!، Two verifications, really !?
Therefore, a large number of Android users download their applications from non-standard sites. Maybe hundreds of millions!.
When you enter the Google registration page, you enter everything first, then on the next page, Err, a flag and you have to enter a number in front of it. Why not make such a request on the first page?
You press the next button and you get an error message, yes، you can not have an email address without a mobile number. Why not in America when you can have it even in communist countries?
Besides, In many countries you do not even receive a verification code via mobile number.

From my understanding the enforced phone number verification is to prevent spammers from creating a large number of Google accounts and then misuse them e.g. via GMail. You can use any phone number you have access to. And having an email address is not a verification at all, you can just buy a domain and run an email server for a few dollar and thus creating an unlimited number of unverified accounts.


text:
Block website rooted phone
Help please!
I have a rooted samsung s6.
Im wondering how I can block certain websites.
I dont understand if supersu or titanium backup pro can be used. What should I download to bl8ck websites?

You can try searching for the solution as the very first step with keywords as simple as "block websites". See https://android.stackexchange.com/search?q=block+websites On a rooted phone, a hosts file based solution is the easiest. Add sites in the hosts file (Magisk does this systemless-ly), reboot, profit!

Thank you for your reply firelord! What kind of host files solutions do you mean? Should I download Magisk?

Just edit the system hosts file and add an entry per DNS name that redirects those domains you want to block to 127.0.0.1.

Thank you Robert! How do I edit the system hosts file? Do I do that in Supersu or in titanium backup?

https://android.stackexchange.com/search?q=how+to+edit+hosts+file

you can use any app like AdAway for edit hosts


text:
Globally turn vibrations
This question comes up occasionally - but in the hope there is now a way to do it I'll ask again.
Is there a way to toggle vibrations (specifically on Samsung's UI 3.0)?
Example use-case: at work, with my phone on my desk, I'd rather have a quiet discreet sound notification than a vibration (which is more disturbing to my colleagues).
At the moment, I'd have to go through every single app and turn off vibration for all notifications to achieve this.
I struggle to believe that Google haven't introduced this in 2021!

A little less hassle. Turn vibration on or off on per app basis, not for every notification of every app individually: https://android.stackexchange.com/a/215658/218526

I currently hesitate to close this question as a dupe of your previous question: How do I disable all vibrations on a Samsung A51 running One UI 2.1?. Note that some features may be available on some devices but not on other devices, and Google doesn't fully control what Samsung (and other vendors) want to put on their devices.

@AndrewT. yeh, fair comment. The pedant in me did think that because it's new UI version it could be a different question. (and I'm utterly frustrated than Android doesn't have this 6 years after the other 2 main mobile OSs did, one of which they've effectively forced out of the market)


text:
Did I have USB debugging on or off?
my phone got stolen a month ago and I Don't know if I had usb debugging on or off(I had enabled developer options in the past and messed around with it a little bit that's why I'm not sure) but I remember,everytime I connected my phone to the computer I had to unlock the phone using my pin and select files or photos in the notification bar to access the files on the phone,otherwise you couldn't Mount phone as a storage device.i never had anything on the notification bar that said USB debugging is enabled when my phone was connected to the Computer. Did I have USB debugging on or off? and if I had USB debugging on could they simply remove the PIN and use the phone as is? I'm worried about my chrome data not about videos photos... Thanks alot

Having USB debugging (adb) enabled on a device is not a security problem anymore since Google introduced the adb authentication using public keys with Android 4.2 (or was it 4.4?).
Since that time adb does not work when you connect it to a PC it has never been connected before.
The device does not allow adb access unless the user has authorized the PC as allowed using the dialog that appears on the phone when connected via adb. This dialog can only be seen and answered when the device is unlocked.
Thus a lost or stolen device that is locked can not be accessed via adb.


text:
Block IP/Domain (youtube.com, facebook) and other distracting sites connected via phone's hotspot
Is there a way to block youtube.com and other distracting site like facebook.com when my Laptop is connected via android hotspot at my phone's end i.e. blocking sites via android hosts file. After reading the following techrepublic article, makes me think it's possible but not sure so asking this question.
https://www.techrepublic.com/article/edit-your-rooted-android-hosts-file-to-block-ad-servers/
To edit phones hosts file, android phone must be rooted so I want to be sure before rooting my phone,
If this is not the correct approach then what other options are available.
Thanks

See my answers to How to Block/Filter Sites on Mobile Data Connection and How to block access to a website?. It's already a widely discussed topic: https://android.stackexchange.com/search?q=how+to+block+websites


text:
Samsung bootloader unlock but failed to flash custom rom
I go to Settings > About Phone > Software Information then tap the Build number 7 times to enable Developer Options.
Then I connected my device to the internet and go to Settings > Developer Options > OEM Unlocking set to Enabled to unlock the Bootloader, (the phone is reset to data factory but the OEM Unlocked says it's already enabled after that).
Now I want to flash a custom ROM, but I failed to do so and the error in download mode says Only official binaries are allowed to be flashed. I think this is somehow related to Bootloader which is not fully unlocked. Is there anything I should do before flashing custom ROM?
I'm actually trying to root my device and I'm following this tutorial.
DEVICE INFORMATION:
Samsung Galaxy J6 (2018)
SM-J600G/DS
Android 10
Android Patch is Feb. 1, 2021

you did not unlock bootloader. read about vaultkeeper

I tried searching for it and found this link https://www.droidwin.com/unlock-bootloader-samsung/?unapproved=2229&moderation-hash=f5a4b539c0c1163dde393659e2bf8608#comment-2229
I followed the procedure but I'm lost at STEP 4, where I need to long-press the Volume up, there's no such an option.  Only the PRESS VOLUME UP to Continue and VOLUME DOWN to Continue. Anything I'm missing here?

Volume Up and proceed with step 5. in case OEM Unlock is missing, also read about RMM protection. if OEM Unlock is enabled device is ready to flash custom binary

@alecxs - I mean, Only the PRESS VOLUME UP to Continue and VOLUME DOWN to cancel (Restart phone), I tried pressing the volume up and just proceed to the download option while it is waiting for the ROM to be flash. I did nothing after that, I tried to reboot and set up the device since it has been reset to factory data, I enabled the developer options, check if the OEM is grey out or exist. It does exist, however, its not grey out.

Also, from the download option, there was a quote OEM Lock: OFF (something like that).

Nope, it doesn't work. Same issue, nothing new. From the link above, it says the OEM unlocking toggle is turned on and is greyed out as well. that's when the bootloader is surely unlocked. In my case, it doesn't grey out and can be turned off/on. I'm lost at step 4, after booting to Download Mode, there should be an option where I can unlock the bootloader again (Hold volume up to unlock bootloader). This one is mising.

I'm still searching for a solution, maybe I need to install the old version of android and retry the unlock the bootloader. But it doesn't make any sense, something is missing.

After finishing the initial setup, the OEM Unlocking Toggle is already Enabled. I'll try searching for KG or RMM.

https://forum.xda-developers.com/t/bounty-fix-for-persistent-rmm-state-lock-after-7-days.3886716


text:
What is the default channel for Android Hotspots?
I have seen the other threads talking about you not being able to change the default channel, and that is fine as I can configure my router. Can anyone just confirm which one it uses though, or does it vary by manufacturer? If so would you know for Xiaomi and Samsung? Thanks =]

Not sure there is a default. My Xiaomi  picks channel 149 which is problematic for some Wi-Fi chipsets such as the Realtek 8822CE. Chromecasts struggle with this channel as well, I assume for the same reason. On Windows you can disable 802.11d in device manager but lucked out on my Teclast Android tablet. So I have to stick to 2.4GHz Wi-Fi 4 speeds.

I can confirm that on OnePlus you can not choose the channel that is used. You can although choose if you wish to tether via 2.4 Ghz, or via 5 Ghz band.
On the 2.4 Ghz band it picked channel 8, so I doubt there is default to which channel uses, at least not here. It might either pick at random, or do a short channel scan itself and pick an optimal channel.
If you have a second android device, you may use something like Wifi Analyzer to find out which channel your device ended up on.


text:
Auto-update apps by APKPure
Is there a way to auto-update apps by APKPure, similar to what the Google Play Store offers?
Apps that are installed through APKPure require constant manual update-management.

For any app to be updated silently (that is, without user intervention)  by another app, the latter/installer app needs to have INSTALL_PACKAGES permission granted. That's not gonna happen unless the app is a system app. Or, if you have root access than that's the other way.

Is that a general statement or specific to APKPure? I have root access, but the app never prompted me for the INSTALL_PACKAGES permission?

It is a general statement. Root access is useful if the app makes use of it. Your Apkpure app might not have been designed to make use of it.


text:
How to keep adb TCPIP on after a reboot?
I am using android 9 (lineage os 16.0)
Is there anyway of retaining the TCPIP on status after a reboot?
It's annoying to continuously reconnecting it to pc than moving it to charger.
I am aware that if there is other person on the same network it is vulnerable but this device will not leave my home network so that's ok.

Without root you can't: https://android.stackexchange.com/a/216474/218526. With root you can: https://android.stackexchange.com/a/232083/218526. Duplicate questions: https://android.stackexchange.com/q/232978/218526 and https://android.stackexchange.com/q/157981/218526.

Having adb running in wireless mode doesn't make the device vulnerable. Device user still has to authorize access whenever a new adb client tries to connect to your device. It increases the risk if the device user is doing multitasking swiftly and the authorisation dialog suddenly pops up and you end up clicking ok because of muscle memory.


text:
Google Pixel Digital Wellbeing - How does it measure the usage of the applications?
I noticed that many applications are logged as part of today usage in Digital Wellbeing dashboard app, even though I have never opened those app for today (for example).
I read google documentation and it doesn't really describe the details.
My concern is

Do those applications automatically running on background even though user doesn't use them? (or)

It is because of how google measure the activity?

Has anyone experience these before?

From my understanding the app measurement only considers if the app is in foreground and the screen is on. The main purpose seems to be to make it visible to you how many hours you spend using an app, so that it is detectable if you are addict to Facebook, Instagram, or a specific game.

@Robert, yes. That's how I understand. However I kept seeing apps which I didn't even open or use with very high usage hours. that's why I got confused and wondering daily usage dashboard statistics are incorrect or not.

Other apps you see may be those from which you got notifications-see this section Find out how much time you spend in apps


text:
Does Samsung Galaxy S10 run Android version 12?
I'm reading about the Samsung Galaxy S10 here. It says The S10 range ships with Android 9.0 "Pie". I made an app and a user is reporting a bug on it with the S10.
What I Want To Know: If the S10 ships with Android 9.0, does that mean that these phones will always have 9.0 only, or would they get updated to later versions of Android? If so, what's the highest version they run?

As mentioned on the Wikipedia link, "An official list released by Samsung on December 2, 2020, further confirmed that all S10 models would be receiving the Android 11 upgrade with One UI 3.", so they may be able to upgrade to Android 11. However, while it's mentioned that newer Samsung devices will receive "at least three major Android updates", we can't really predict the future whether it will really receive Android 12 or not.

@AndrewT. Do you want to post this as a reply so I can accept?

Android 12 has not been released yet, therefore if an user has it installed this can only be a preview release or more likely an unlocked device with an Android 12 preview generic image.


text:
How to view pages saved on storage (or disk)
I have a very simple html page that I saved on my disk on my computer. It only contains a link to an image, saved in the same folder with that html page.
I can view it without any problems on my computer.
But when I copy the page (and the image) on my phone in a folder, I can't properly view the page. I am using Chrome on the phone.
I know the phone does not have a hard disk, it just has flash memory used as storage, as computers use disks. But "disk" sounds more clear like storage memory (to me).
My page is named "page.htm" and the image it is named "mypic.jpg"
the page only contains this code:

It works very well on the computer but it doesn't work on the phone.
It looks like the browser simply can't understand links to local files, stored on the phone storage. It doesn't matter the images are in the same folder with the html page. It still doesn't understand where the image is.
Is there any fix for this?

Save the page again in a single HTML file with SingleFile extension, and than open that page in Chrome on Android. It should work.

Chrome on Windows can save it in a single file without the need of any extension. The file ends in ".mhtml". I can open with Microsoft Edge but Chrome doesn't recognize it. Do I have to instal SingleFile for Chrome to recognize such files?

What is the reason for Android to put such a heavy restriction? I have books written in HTML. They have hundreds of pages, the pages link to other pages and they link to the images they display. Why Android can't offer such a basic feature? Do I have to install Linux on Android in order to be able to view basic html files with images?

Related https://android.stackexchange.com/q/218492/131553


text:
What does used com.Samsung.android.incallui mean in recent activity?
In my child’s recent activity it says
used com.Samsung.android.incallui. What does that mean?
Thanks so much!

incallui = incoming (or in/active) call user interface.

It is the phone/call app. It simply means that the child opened it.


text:
Can Termux adb push file from unrooted phone to tablet via OTG cable?
Can I use Termux to send an app (APK file) via, e.g., adb push, from my unrooted Samsung Galaxy S10 phone to an unrooted Android 5.1.1 tablet via an OTG cable?

ok got it. your goal is 'adb backup -apk ' on host, then adb push, switch host <-> client and 'adb restore backup.ab' all from within termux (ignoring apk is most likely not compatible between android versions), or unpacking backup.ab to get apk only

unfortunately 'adb start-server' requires root (at least for usb connection). once the connection is established it works without root permissions. is adb over wifi an option for you? https://github.com/MasterDevX/Termux-ADB

there is an app claiming to do this without root (did not work for me) https://github.com/KhunHtetzNaing/ADB-OTG

@alecxs wireless ADB should work.

@IrfanLatif question is about OTG cable. i believe the API used in that apps is sufficient. only authorization is unclear to me. any idea on non-rooted device? after 'su -c ../usr/bin/adb -d start-server' in termux authorization dialog appears. once established adb works without root

@alecxs yes but we need to go for alternative when there are technical limitations. On Android /dev/ is never going to be fully accessible (in DAC and MAC) to user apps anytime in future. If we see a library with USB host APIs for ADB commands, that would be awesome. But doesn't seem very probable. For fastboot there's already one available from Google.


text:
WhatsApp update erased the chat history. What has gone wrong and is there any way to restore it?
Seems like WhatsApp update has erased all my WhatsApp history. Is there any way to get it back? (Without paying for third party tools, if possible)
I bought a new Android phone (Realme 7 Pro) and wanted to transfer my WhatsApp data from the old iPhone to the new Android phone. Seems like there is no way to do it easily so I had to buy a third party app that helped me to transfer the data.
I connected both phones using USB, the app read WhatsApp messages from my old iPhone, then installed WhatsApp on my new Android phone and imported all the messages. After the successful migration I deleted WhatsApp on my old iPhone and all seemed to be fine.
Then I was experiencing certain problems with WhatsApp and got a suggestion that I might need to update it. I then found WhatsApp in Play Store and there was a button reading "Install" on it. I got a bit surprised about why it says "Install" rather than "Update" but I thought that's just the way it is on Android. I then downloaded WhatsApp and got 2 WhatsApps on my desktop. I tried running the new one and it asked me to confirm the number. I then closed it and wanted to open the old one and realised that it was gone...
I don't have backup of my WhatsApp history on iCloud either so I can't get it from there.
I have previously backed up my iPhone using iTunes though so I might be able to get something from there, but still wondering what has gone wrong on my Android phone. How could WhatsApp installation just completely bin everything from the previous version?..
Thank you very much for any information/suggestions :)

I was lucky enough to have my iTunes backup that I had done just few days ago before the disaster, and I managed to get my chats from there which I am extremely happy about. And the reason this all happened to me was that the WhatsApp the third-party tool installed to my phone (the tool I used to transfer WhatsApp history) wasn't the official version, and I was supposed to backup the history to Google Drive before I update the app (install the official one), but I missed that bit of the instruction and wasn't aware that it wasn't the official version of WhatsApp...


text:
Application crashes and I cant figure out why
I am trying to run an android application on a chromebook (android 9), but every time I try to open it, it has a black screen, then crashes. I have tried the basic things, clearing cache, re-installing the application, resetting my device. I tried to use logcat to trace the crash (By running the adb logcat command)
Here is the logcat
03-05 13:39:31.836   863  1503 I ArcIntentHelperService: Handling org.chromium.arc.intent_helper.SET_IN_TOUCH_MODE from Chrome...
03-05 13:39:31.858   597  1034 W ContextImpl: Calling a method in the system process without a qualified user: android.app.ContextImpl.startActivity:899 android.content.ContextWrapper.startActivity:401 org.chromium.arc.applauncher.AppLauncherService.launchIntent:1869 org.chromium.arc.applauncher.AppLauncherService.launchAppWithWindowInfo:1826 org.chromium.arc.mojom.AppInstance_Internal$Stub.accept:1009
03-05 13:39:31.860   119   403 I ActivityManager: START u0 {act=android.intent.action.MAIN cat=[android.intent.category.LAUNCHER] flg=0x10200000 cmp=com.klab.lovelive.allstars.global/.GlobalUnsafeMainActivity} from uid 1000
03-05 13:39:31.860   119   403 W ActivityManager: getValidLaunchStackOnDisplay: can't launch on displayId 0
03-05 13:39:31.868   119   403 I ActivityManagerInjector: getResolvedRootLaunchBounds called with root activity {N-unresizeable 0x0, AC, PropertyRecord{mVersion=3, mDisplayId=0, mBounds=Rect(0, 0 - 0, 0), mRestoreBounds=Rect(0, 0 - 0, 0), mWindowMode=1, mWasUserResized=false, mImmersive=false, mLastWindowStateInClamShell=-1, mWindowLayoutAffinity=10060:null}}
03-05 13:39:31.868   119   403 E WindowManagerInjectorArc: setArcAttributeWindowSizeConstraints: cannot find task: 19
03-05 13:39:31.868   119   403 I ActivityManagerInjectorArc: updateCaptionLocked: skipping activity that isn't fully started
03-05 13:39:31.872   119   403 I ActivityManagerInjectorArc: notifyActivityAddedToTask: added to new task. activity=ActivityRecord{df7a9b3 u0 com.klab.lovelive.allstars.global/.GlobalUnsafeMainActivity t19}
03-05 13:39:31.872    11    60 D wayland-service: Couldn't find a window for task_id 19, will set orientation lock when next added.
03-05 13:39:31.875   119   334 D DecorView[global]: Cannot get the activity to get CaptionConfiguration.
03-05 13:39:31.891   597  1034 I ArcAppLauncherService: Activity launched for Intent { act=android.intent.action.MAIN cat=[android.intent.category.LAUNCHER] flg=0x10200000 cmp=com.klab.lovelive.allstars.global/.GlobalUnsafeMainActivity }.
03-05 13:39:31.896   119   334 D ArcInputCompatHandler: Using touchscreen emulation for all games.
03-05 13:39:31.948    11    11 D wayland-service: Creating app window for task_id 19 from package 'com.klab.lovelive.allstars.global'
03-05 13:39:31.949    11    11 I wayland-service: Set task 19 orientation lock from package 'com.klab.lovelive.allstars.global'
03-05 13:39:31.949    11    11 D wayland-service: Setting orientation lock to 3 for task_id 19.
03-05 13:39:31.949    11    11 I wayland-service: Set task 19 window type 1from package 'com.klab.lovelive.allstars.global
03-05 13:39:31.949    11    11 D wayland-service: ApplyBackgroundColor for task_id 19, color=-16777216
03-05 13:39:31.874   119   403 I ActivityManagerInjectorArc: notifyActivityAddedToTask: added to new task. activity=ActivityRecord{df7a9b3 u0 com.klab.lovelive.allstars.global/.GlobalUnsafeMainActivity t19}
03-05 13:39:31.958   119   403 D ActivityManagerInjectorArc: taskOcclusionChanged: taskId=19 does not support PIP
03-05 13:39:31.961   119   358 I InputDispatcher: Dropping event because there is no touchable window at (896, 479).
03-05 13:39:32.372   119   288 I OrientationSynchronizer: Setting rotation is timed out
03-05 13:39:32.373   119  2139 E ActivityManager: applyOptionsLocked: Unknown animationType=0
03-05 13:39:32.397   119   290 I ActivityManager: Start proc 5722:com.klab.lovelive.allstars.global/u0a60 for activity com.klab.lovelive.allstars.global/.GlobalUnsafeMainActivity
03-05 13:39:32.441  5722  5722 D houdini : [7508] Initialize library(version: 9.0.5c_z.51331 RELEASE)... successfully.
03-05 13:39:32.446  5722  5722 E allstars.globa: Not starting debugger since process cannot load the jdwp agent.
03-05 13:39:32.503    11   642 W SurfaceFlinger: Attempting to set client state on removed layer: org.chromium.arc.home/org.chromium.arc.home.HomeActivity#0
03-05 13:39:32.503    11   642 W SurfaceFlinger: Attempting to destroy on removed layer: org.chromium.arc.home/org.chromium.arc.home.HomeActivity#0
03-05 13:39:32.507    11   642 W SurfaceFlinger: Attempting to set client state on removed layer: org.chromium.arc.home/org.chromium.arc.home.HomeActivity#0
03-05 13:39:32.507    11   642 W SurfaceFlinger: Attempting to destroy on removed layer: org.chromium.arc.home/org.chromium.arc.home.HomeActivity#0
03-05 13:39:32.560  5722  5722 W allstars.globa: JIT profile information will not be recorded: profile file does not exits.
03-05 13:39:32.561  5722  5722 I chatty  : uid=10060(com.klab.lovelive.allstars.global) identical 22 lines
03-05 13:39:32.561  5722  5722 W allstars.globa: JIT profile information will not be recorded: profile file does not exits.
03-05 13:39:32.669  5722  5722 I FirebaseInitProvider: FirebaseApp initialization successful
03-05 13:39:32.678   119  2041 D vndksupport: Loading /vendor/lib64/hw/gralloc.cros.so from current namespace instead of sphal namespace.
03-05 13:39:32.705   119  2041 I ConfigStore: android::hardware::configstore::V1_0::ISurfaceFlingerConfigs::hasWideColorDisplay retrieved: 0
03-05 13:39:32.705   119  2041 I ConfigStore: android::hardware::configstore::V1_0::ISurfaceFlingerConfigs::hasHDRDisplay retrieved: 0
03-05 13:39:32.722   119  2041 E libEGL  : eglSetBlobCacheFuncsANDROID resulted in an error: 0x300c
03-05 13:39:32.722   119  2041 I OpenGLRenderer: Initialized EGL, version 1.4
03-05 13:39:32.722   119  2041 D OpenGLRenderer: Swap behavior 2
03-05 13:39:32.731   119  2041 E OpenGLRenderer: Device claims wide gamut support, cannot find matching config, error = EGL_SUCCESS
03-05 13:39:33.044   597   597 D ArcAppTaskTracker: Calculating task stack diff.
03-05 13:39:33.046   597   597 D ArcAppTaskTracker: Task created: 19 - ComponentInfo{com.klab.lovelive.allstars.global/com.klab.lovelive.allstars.global.GlobalUnsafeMainActivity} .
03-05 13:39:33.084   597   597 D ArcAppTaskTracker: Active task: 19.
03-05 13:39:33.326   119   145 I system_server: NativeAlloc concurrent copying GC freed 59995(3MB) AllocSpace objects, 41(1780KB) LOS objects, 42% free, 9MB/16MB, paused 9.666ms total 596.473ms
03-05 13:39:33.339   119   141 W System  : A resource failed to call release.
03-05 13:39:33.353   119   141 W System  : A resource failed to call release.
03-05 13:39:33.433  5722  5741 I FA      : App measurement is starting up, version: 16250
03-05 13:39:33.433  5722  5741 I FA      : To enable debug logging run: adb shell setprop log.tag.FA VERBOSE
03-05 13:39:33.433  5722  5741 I FA      : To enable faster debug mode event logging run:
03-05 13:39:33.433  5722  5741 I FA      :   adb shell setprop debug.firebase.analytics.app com.klab.lovelive.allstars.global
03-05 13:39:33.491  5722  5722 D OpenGLRenderer: Skia GL Pipeline
03-05 13:39:33.561  5722  5722 D JackpotPlatformMessage: ActivityCallback.onCreate(Bundle)
03-05 13:39:33.586  5722  5722 D ArcInputCompatHandler: Using touchscreen emulation for all games.
03-05 13:39:33.586  5722  5722 D ArcInputCompatHandler: Using touchscreen emulation for unity apps.
03-05 13:39:33.612  5722  5732 I allstars.globa: Background concurrent copying GC freed 9369(1199KB) AllocSpace objects, 8(224KB) LOS objects, 50% free, 1757KB/3MB, paused 5.478ms total 81.917ms
03-05 13:39:33.641  5722  5722 D vndksupport: Loading /vendor/lib64/hw/android.hardware.graphics.mapper@2.0-impl.so from current namespace instead of sphal namespace.
03-05 13:39:33.641  5722  5722 D vndksupport: Loading /vendor/lib64/hw/gralloc.cros.so from current namespace instead of sphal namespace.
03-05 13:39:33.709   119   297 I ActivityManager: Displayed com.klab.lovelive.allstars.global/.GlobalUnsafeMainActivity: +1s291ms
03-05 13:39:33.710   119   287 W system_server: Failed to determine oat file name for dex location /data/app/com.klab.lovelive.allstars.global-gx42EdHfqpRKf5asfmQ7aw==/base.apk: Dalvik cache directory does not exist
03-05 13:39:33.715   119   403 D ActivityManagerInjectorArc: taskOcclusionChanged: taskId=19 does not support PIP
03-05 13:39:33.900    11    47 W SurfaceFlinger: Attempting to set client state on removed layer: Splash Screen com.klab.lovelive.allstars.global#0
03-05 13:39:33.900    11    47 W SurfaceFlinger: Attempting to destroy on removed layer: Splash Screen com.klab.lovelive.allstars.global#0
03-05 13:39:34.072  5722  5747 I Unity   : SystemInfo CPU = ARM64 FP ASIMD AES VMH, Cores = 2, Memory = 3806mb
03-05 13:39:34.072  5722  5747 I Unity   : SystemInfo ARM big.LITTLE configuration: 2 big (mask: 0x3), 0 little (mask: 0x0)
03-05 13:39:34.076  5722  5747 I Unity   : ApplicationInfo com.klab.lovelive.allstars.global version 1.0.1 build 242cadff-95df-41d3-9bc5-9ab51555b9b0
03-05 13:39:34.076  5722  5747 I Unity   : Built from '2018.4/staging' branch, Version '2018.4.2f1 (d6fb3630ea75)', Build type 'Release', Scripting Backend 'il2cpp', CPU 'arm64-v8a'
03-05 13:39:34.167  5722  5741 I FA      : Tag Manager is not found and thus will not be used
03-05 13:39:37.838   119   358 W InputDispatcher: channel 'a1a6cc com.klab.lovelive.allstars.global/com.klab.lovelive.allstars.global.GlobalUnsafeMainActivity (server)' ~ Consumer closed input channel or an error occurred.  events=0x9
03-05 13:39:37.838   119   358 E InputDispatcher: channel 'a1a6cc com.klab.lovelive.allstars.global/com.klab.lovelive.allstars.global.GlobalUnsafeMainActivity (server)' ~ Channel is unrecoverably broken and will be disposed!
03-05 13:39:37.839    43    43 I Zygote  : Process 5722 exited cleanly (0)
03-05 13:39:37.840   119   403 I WindowManager: WIN DEATH: Window{a1a6cc u0 com.klab.lovelive.allstars.global/com.klab.lovelive.allstars.global.GlobalUnsafeMainActivity}
03-05 13:39:37.840   119   403 W InputDispatcher: Attempted to unregister already unregistered input channel 'a1a6cc com.klab.lovelive.allstars.global/com.klab.lovelive.allstars.global.GlobalUnsafeMainActivity (server)'`

This is where the application dies
`03-05 13:39:37.840   119   532 I ActivityManager: Process com.klab.lovelive.allstars.global (pid 5722) has died: fore TOP
03-05 13:39:37.842   119   532 W ActivityManager: Force removing ActivityRecord{df7a9b3 u0 com.klab.lovelive.allstars.global/.GlobalUnsafeMainActivity t19}: app died, no saved state
03-05 13:39:37.843   119   291 W libprocessgroup: kill(-5722, 9) failed: No such process
03-05 13:39:37.843   119   291 I libprocessgroup: Successfully killed process cgroup uid 10060 pid 5722 in 2ms
03-05 13:39:37.846   119   532 E ActivityManagerInjectorArc: taskDragFinished: taskId=19 has invalid operation
03-05 13:39:37.856   119   297 W ActivityManager: setHasOverlayUi called on unknown pid: 5722
03-05 13:39:37.903   119   358 I InputDispatcher: Dropping event because there is no touchable window at (896, 479).
03-05 13:39:37.966   119   365 E ArcGfxMetrics: Failed to find pattern in output: Janky frames: (\d+) \(.+\%\).
03-05 13:39:37.968   885   898 D ArcMediaControllerManager: onTaskMovedToFront: 2
03-05 13:39:38.058   597   597 D ArcAppTaskTracker: Calculating task stack diff.
03-05 13:39:38.058   597   597 D ArcAppTaskTracker: Task destroyed: 19 .
03-05 13:39:38.059   597   597 D ArcAppTaskTracker: Active task: 2.
03-05 13:39:38.078   885   898 I ArcMediaControllerManager: onAppBecameActive: org.chromium.arc.applauncher
03-05 13:39:38.195   597   597 D ArcAppTaskTracker: Calculating task stack diff.
03-05 13:39:38.196   597   597 D ArcAppTaskTracker: Active task: 2.

Is there a way to view a more detailed log about the application because the log doesnt seem to say WHY the application died, it just says that the application died.

Does the app work on a regular Android device and an emulator?

@Robert , yes, the application works in emulators like bluestacks and on regular android devices.

I rooted the android partition on my chromebook (Didnt install supersu tho) and now older versions of the application will launch (The newest version doesnt support root) What should I do next?


text:
When performing an adb pull of an entire device, why do I see /proc/self/root in pathnames repetitively?
When performing adb pull / on a non-rooted device, I see hundreds of items with pathnames that begin with /proc/self/root/proc/self/root/proc/self/root/proc/self/root/proc/self/root/proc/self/root/proc/self/root/proc/self/root/proc/self/root/proc/self/root/proc/self/root/proc/self/root?
That's not a typo.  That is literally how the path of each of these items is prefaced.
It looks recursive or like an infinite loop, but eventually the repetition ends with a unique file or folder name.
What is going on?  What is adb doing here?

Usually that happens when dealing with chroot and/or mount namespace. /proc/<pid>/root points to the rootfs a process is seeing. Doing adb pull on "entire device" doesn't make sense. You should at maximum pull only persistent storage partitions, not pseudo filesystems.

@IrfanLatif Yes, I'm undoubtedly trying to capture a gnat with too large of a net.  I was trying to apply some of the tips provided in https://android.stackexchange.com/questions/234446/on-a-non-rooted-device-can-adb-access-any-files-that-an-android-file-manager-ca, and so I cast the net as wide and large as possible.  I'm searching for anywhere the lost data could be stored (cache, temp files, etc.), and so I tried pulling everything starting at root to try to get everything possible.

User data is stored nowhere ever except on /data.

/ is just tmpfs in RAM and does not survive reboot. there is no benefit in pulling / no matter device is rooted or unrooted. it makes lot more sense to pull physical partitions, although only one partition is of any use

And also that won't succeed because some pseudo files (like /dev/zero and /dev/urandom) have no end of file. You'll get an infinitely increasing file.


text:
How to export contacts from the command line in standard format?
If a phone gets itself into a bad state and starts rebooting for no good reason, is there a way to export the contacts info so that after the phone is restored, the contacts can be reinstated? I don't think they were stored to the SIM.

Do you use Google Play Store on your phone? If yes you are logged in with Google and contacts should be synced to Google Contacts. Check it out: https://contacts.google.com SIM contacts are nowadays used only by a few people, mainly because each entry only supports one name + one phone number.

No, I don't. The phone is in a boot loop so I can only log in via adb.

On modern devices adb backup does not include contacts, see this question. Therefore only if your device is rooted you may be able to extract the contacts.

It would not be easy to export in standard format (do you mean a vcard/vcf?). You would want to try this answer first to verify whether adb can indeed access your contacts data or not. https://stackoverflow.com/a/59107487

Here is a shell script I use sometimes to export contacts from contacts2.db to VCF using sqlite3 commandline tool: https://android.stackexchange.com/a/215426/218526


text:
Use my Android phone as the camera and microphone for PowerPoint slide recording
For conference purpose, I have to record a PowerPoint presentation recording. (That is, I have to record a video of me explaining a PowerPoint presentation using the webcam and mic while playing the presentayion). The problem is that the inbuilt camera and microphone of my laptop are not that great. iS there any way to use my android phone as the source of the camera and mic input? I tried DroidCam and I could connect the camera to the laptop. But when I start recording, it is using the default inbuilt camera instead of my phone.
I'm using Samsung Galaxy S9 running on android 10.

FYI for alternate solutions: Can I turn my Android device into a webcam? However you don't explain how you record so the problem/limitations may be with that PC software.

If you don't manager to change the recording software to use DroidCam you can try to disable the inbuilt camera of your PC, e.g. if it is a Windows PC in the DeviceManager.

Sorry for the confusion there is an option inside the PowerPoint where you can select the source of audio and video. You can select droidcam there.


text:
Running services in developer options is missing
I want to check the apps that are running in the background to stop them.
Android 10
MIUI 12
redmi note 7s (NOT ROOTED)
i tried a lot of apps from playstore they doesn't seem to work properly (Doesn't show the amount of ram used and not able to force close or end the background apps).
I also tried the developer options but there was NO option for "running services" in the developer options, is there a way to enable this in developer options.

How about something like this? https://i.sstatic.net/rwaud.jpg


text:
Can I backup my phone or install TWRP recovery while stuck in Lineage OS recovery?
Highly unfortunately for me, I had thought it was a great idea not to make any backups when going to test if I was properly able to upgrade/downgrade Lineage OS versions. I had replaced my TWRP recovery with Lineage OS's recovery, and then I "upgraded" to the same Lineage OS version I had currently been running, and my phone ran into a boot loop (The never-ending Lineage OS bootup screen). I believe I ran into this boot loop because I might have previously accidentally installed TWRP's "system" app, and this would have been a problem due to LineageOS's enforcement of priv-app whitelisting rules.
My device is a: LG H830
What I do have: Root, an unlocked bootloader, ADB/Fastboot, the TWRP recovery file
I believe I am screwed and that there's no way out of this except just factory resetting/formatting everything. If I was correct in my research, my phone model blocks all fastboot commands, excluding bootloader + "unlock" related commands, and as a result, I don't believe I am able to do a backup using ADB (I tried adb backup -all and it didn't work). Lineage OS recovery has no way of backing up files, and I don't believe it is possible to use it to flash TWRP recovery. All I need to be able to do is to save/backup my photos (Which are located in my internal storage). I think it is highly probable that I have finally entered into a hole that I can't get out of. However, if anyone has any ideas about what I could do to either back up what's on my phone (Mainly photos/internal storage if possible) or to flash TWRP without resetting/formatting everything, it would be substantially appreciated. Thank you!
Sources I checked out:
Team Win Recovery Project for the LG G5 - Post indicates that LG G5 H830 has flashing locked
Backup & Restore Android with ADB - Backing up via ADB would have worked if I was able to successfully boot into Lineage OS and approve the backup operation, but I can't because I am limited to being able to boot in everything except system
Does Lineage Recovery have backup? - This is a post with answer(s) that designate the fact that Lineage OS's recovery isn't able to backup

How did you first manage to install Los in your device if not through fastboot? Normally, my suggestion would have been to issue the command 'fastboot boot twrp.img' to temporarily into TWRP and take the backup from there.


text:
Issues in Dual booting Android x86 with Windows 10 on an HP Laptop
I have installed "android-x86_64-9.0-r2.iso" using USB Bootable Drive method. I am facing two big problems here.

After completion of Installation I get two options - Run android or Reboot. I clicked on reboot. My computer booted to Windows 10. The grub menu asking for which OS to boot does NOT appear. I have got UEFI Boot mode with Secure Boot off. My laptop does not support Legacy boot. What can I do about this?

When I clicked on Run android after installation or when I run Android Live from the bootable USB Drive only, I don't get a cursor on the screen. My touchpad does not work. My keyboard works. Connecting an external mouse works. I have tried dual booting on my previous Dell Laptop and the touchpad used to work there. Why doesn't it work with my HP PC ?

I have searched the internet and lots of other forums regarding this and did not get any conclusive results or workable solutions. Any help would be appreciated.

Android-x86 is a giant hack. It is not ready for productive work. Google doesn't build a x86_64 version  at all. Android-x86 should not be installed directly on any PC for productive work. Try it, test it, report bugs, repeat. Live boot and installed Android-x86 varies vastly in performance. I have seen live boot booting up fine, but installed version failing to boot because of some video driver issue! If a problem comes up with your hardware, than you and us are in the same boat. You've got to fix it yourself or seek help from a community revolving around Android-x86.

If your PC is going straight to Windows boot on every start/restart, than your boot device / bootloader priority needs to be changed. Check your UEFI settings for such and report its snapshot/pic in your question. Also see https://www.google.com/search?gl=us&hl=en&pws=0&filter=0&q=uefi+boots+straight+into+windows&gl=us&hl=en&pws=0

@Firelord What should I be changing my UEFI settings to ? Also so it might be that the issue is with Android x86 being not compatible. But I have tried other- Linux, BlissOS - Neither of them showed the boot menu. I have scowered the net for some solutions. But its either I don't exactly understand them or they don't work when I do.


text:
How can I open all the links of a bookmark folder on Chrome for Android?
On Chrome Microsoft Windows I can do:

I don't think there is a way to do that today. The Chrome for windows is different from the Chrome app - the latest is lighter, since mobile devices usually have less hardware power...

On Android, the process is not as quick as on PC. You need to go to Bookmarks, open the bookmark folder, select the bookmarks one by one, select the 3-dot, then select Open in new tab.


text:
Is it possible to reduce WhatsApp "msgstore.db" file size?
My WhatsApp backup file (msgstore-**.db.crypt12) size can reach up to 380MB+ for a single file. Because WhatsApp automatically backup chats every day and will keep the 7 most recent backups, my phone will store up to 2GB worth of these files.
In case anyone's wondering, my phone is not rooted, but I have the WhatsApp key and wa.db files, so I can decrypt (and re-encrypt) the msgstore.db file. What I have tried is to manually delete some messages in the messages table in the msgstore.db file, it sure reduces the file size, but then it fails when I try to restore WhatsApp chats using that file. Also, I have tried to clear chats in some groups that have a lot of messages using the Clear chat feature, this deletes the messages in the messages table, but doesn't reduce the msgstore.db file size, I guess the deleted messages are moved to another table which I don't know where.
I don't need a trick to stop WhatsApp auto backup, I just want to reduce the msgstore.db file size, is it possible?

https://sqliteforensictoolkit.com/how-not-to-examine-sqlite-wal-files sqlite3 databases are quiet complicated. entries won't deleted immediately. instead, content is flagged as deleted and preserved, sometimes collected in .wal files. start with fresh database

@alecxs I don't think WhatsApp databases are merely SQLite DBs. .crypt12 indicates they are encrypted, possibly with some proprietary scheme.

@IrfanLatif WhatsApp databases are SQLite DBs with encryption applied to them. There are tools available for decrypting WhatsApp databases such as this one. This will give you an unencrypted version of the database which you can then read just like any other SQLite database.


text:
I'm looking for a data recovery program for my android phone
I had a Samsung Galaxy J7 it was stolen I managed to get it back but not before it was wiped completely but they weren't able to get passed the frp lock and I had some very valuable data on some of witch is not replaceable my question is since nothing was saved over the old data and I've got access to developer settings is there a program for windows 10 that I can get to recvoer my data preferably a free program
I'd even be willing to try rooting it if I knew it would get my data back

sorry your data is lost forever, no way to recover encryption key from factory reset

Does this answer your question? How to recover a deleted file from /data partition?


text:
Does adb shell RUN_IN_BACKGROUND ignore really works?
I did
./adb shell cmd appops set com.whatsapp RUN_IN_BACKGROUND ignore
for lots of apps in my android. However, when I go into the app settings, I still can press "force stop". Does that mean the app is still running in the background, even if I setted it to ignore?
How can I see the apps running? adb shell ps shows too much thing and I don't know which ones are the apps.
Also, will these settings work after reboot?

RUN_IN_BACKGROUND definitely works. Android relies on this AppOp for its internal functionality (Restricted Apps in Battery Manager settings). But RUN_IN_BACKGROUND doesn't guarantee that the app won't have its native process running. App's background activity is stopped within Java stack by Android's ActivityManagerService. That's what cached state of an app is.

Force Stop button can be active even if app has no background activity going on and just its native process is alive: https://android.googlesource.com/platform/packages/apps/Settings/+/refs/tags/android-11.0.0_r1/src/com/android/settings/applications/appinfo/AppButtonsPreferenceController.java#505. So an active Force Stop button doesn't indicate that RUN_IN_BACKGROUND is not working.

@IrfanLatif by native process do you mean native java or native C++? is it possible to stop the app from running its native process? I wanted for apps to not run at all unless I have them open

By native I mean native to operating system. Native Linux process, not native to a language. // It's not the app which runs its native process. Android's zygote forks apps' virtual machines, ActivityManager service allocates the app resources (by making use of Linux cgroups and other subsystems), controls their activity (through manifest permissions), and may keep them in cached or background state even when the apps are completely idle. Or may kill them if resources (RAM in particular) are needed. If you want to change this behavior you need to modify the Android framework.

@IrfanLatif how does apps start to run again after I force closed them, even if I didn't open them again?

Learn about services, broadcast receivers and alrams.


text:
How can I activate the new Chrome tab management tools tab groups & grid layout?
I make heavy use of my tablet for research & typically have 200 to 500 tabs open. So I have been looking forward to the alternate grid layout and to Chrome Tab Groups for Android, which would make my life a lot easier.
However these features, which I understood to be activated by default as of Chrome 88, do not seem to be available from my instance of Chrome (version 89). I have the file folder-style row of tabs across the top. I have neither a switch to grid mode button nor the hollow square with the number of open tabs inside. I have enabled the flags for tab grid layout, tab groups, tab group continuation, and tab group UI improvements, and restarted Chrome several times, all with no change I can see.
I couldn't find anything on the Google help site that offered any glimmer of hope -- nor of discouragement.  I can not even think of anything else to try. Help!
I am running Chrome under Android 10 on a Galaxy Tab A.
Oh, one more thing. I doubt this is relevant,  but when I first got this tablet from Amazon, it took some work to convince it that its home was not in Mexico. Maybe there are still some Mexico-base settings causing a problem? Just a long shot.


text:
What kind of data do Google and Samsung collect from the OS itself?
Not including apps and websites. I've switched to open source phone, SMS, calendar, etc. and I use the DuckDuckGo browser to try to block some of the web trackers. What kind of data can Google and Samsung still see through stuff like Google Play Services and other OS level stuff? I assume they're still scanning WiFi and Bluetooth signals to try and approximate your location. What data do they collect and can it be stopped without flashing a custom ROM?

No one can tell. Read their privacy policy if your believe in what they say.


text:
Why does Google Chrome on Android has so many permissions?
Just found out through a connection tracking app, that Google Chrome on my Android 9 has so many permissions granted . Permissions like :-

Pair with Bluetooth devices
Access Bluetooth settings
Read your contacts
request install packages
Download files without notification
Find accounts on the device
Download files without notification

Are there permissions Normal?
When I check in the permission settings of the Chrome App, it does not show all these permissions enabled!
Have factory reset the phone too

Normal? I don't know.  Acceptable?  Definitely not.  I strongly recommend using a different browser instead of Google Chrome.

Chrome has most likely that much permissions for being able to run Progressive Web Apps (PWA). Such apps are special web sites that behave like an app. And of course such an app may needs access to Bluetooth, fingerprint authentication, push/C2D messages, create launcher shortcuts, and so on. Most of those permissions are already useful for Chrome itself, hence they are not limited to PWA apps.

Just to pick a few, the Bluetooth permission is needed for interacting with Web Bluetooth API. The Contacts permission is needed for using Contact Picker API. Both are standard web features.

so yes permissions:

pair and acces bluetooth - this is STANDARD for some sites in html/html5 , if browser wouldn't have this permission some website could be broken.
read contacts - it's a next html api and also can break some sites if disabled.
install packages/download files - you think that you can't download things from internet? just look at clouds, github (and other similar sites), pages for converting media types, etc.
find accounts on device - for logging in to your google account which can be use for f.e. : tabs and bookmarks

and if you think that sites doesn't require some permissions look at my game : https://hacknorris-notyetbanned.github.io/glitched.github.io/game/index.html (yes it's self-advertisement but it'd answer your question i think...)
and a few sources with these and a few similar permissions and API's for use by YOU : https://www.w3schools.com/js/js_api_geolocation.asp ; https://developer.mozilla.org/en-US/docs/Web/API/Contact_Picker_API ; https://developer.mozilla.org/en-US/docs/Web/API/Web_Bluetooth_API ;
and if about not showing these permissions in system - it may be due to ROM on your phone.


text:
Can Android Tablet can work on Windows 10 like Wacom Tablets?
Wacom Tablets are very expensive. I cannot afford it. I have right now Samsung Tab S6 Lite. I usually draw in Ibis Paint X with S Pen. I want to use different apps like Paint Tool SAI as it is not available in Android and I am bored working with the Ibis Paint. Can Samsung tablets change like Wacom tablet in the way that it connects to the laptop and I can use my tablet for this?! If anyone knows about the process please Can you tell me how to connect and which cable wire I have to connect with?
I hope you reply me because I HAVE THIS CRAZY WISH

Welcome to Android Enthusiasts! May I recommend our site-search? For your specific question, here are the corresponding answered questions. Most relevant: How to turn my android to a wacom tablet? and Use an Android tablet as a Wacom drawing tablet for a PC?

Does this answer your question? Use an Android tablet as a Wacom drawing tablet for a PC?


text:
Lost text messages
Today I did a factory reset on my s21 ultra. I have lost all the text messages. I assumed they would restore from Google, but I'm using the samsung text app and the only back up in samsung cloud is from today after the reset. Is there any way to restore these messages as some of them are very important?

you can ask your contacts if they still have it, export from their phone and import to yours one by one


text:
Gmail app repeatedly notify for the same email
When I receive an email, there will be a push notifcation from the Gmail app. If I leave it unattended, it will pop up again and again.
I set the sync frequency at every 15 minutes in order to get notified as soon as possible. However, it seems that every time the account syncs, it will notify me about any unread emails. The notification will just keep popping up until I read the email. Is there a way to only notify once for each unread email?
I found something called "Notify once" in the gmail account settings, but not in other accounts' settings (like outlook accounts).

Are you talking about a gmail mail account or an third party IMAP/POP3 account configured in GMail app?

I'm talking about all accounts I set up in the Gmail app. It seems to be an issue with the app. The Outlook app seems not to have this issue (same email accounts).


text:
stuck on Bootloop twrp not installing
HI guys my phone is stuck on fastboot,
its showing the current image(boot/recovery) have been destroyed and can not boot
pressing volume + power put it into fastboot and it shows in adb "fastboot devices" i tried to install custom recovery with "fastboot boot recovery.img" and its not working picture attached and i tried to boot img but same error shows FAILD(remote: unknow command)

Please do not post console output as screen-shot. You can simply copy the console content and paste it into your question.

fastboot boot is disabled on some devices, only fastboot flash will work


text:
How is the gmail sync interval determined on Android?
Today I stopped getting notifications for gmail messages received on Android. This has happened before and always seems to fix itself after a day or two, but I want to find out why. So I looked under
(Main phone settings) > Cloud and accounts > Accounts > Google

and indeed I see all the Google apps like this
Sync Calendar (On) / Last synced on 4/27/21 07:50  [8 hours ago]
Sync Chrome (Off) / Sync turned off
...
Sync Drive (On) / Last synced on 4/25/21 10:36  [2 days ago]
Sync Gmail (On) / Last synced on 4/27/21 07:50  [8 hours ago]  <-- this must be the problem
...

In the past, Sync Gmail would show that it last synced just a minute ago. Why did this change? How can I set it back? The only setting I can find is to turn sync off entirely, and then turn it back on. Ok, this syncs once when I do it but doesn't continue to sync. I want it to sync automatically every few minutes like it normally does.

Have you enabled on Gmail settings -> your email account -> Sync Gmail?

From my understanding Gmail app in combination with. Gmail account uses Google proprietary protocols for notifications such as Google push notification service. I would assume that this service always fails when Google has again a big outage. I do remember having read that some Google services failed in the last days. May be you were affected?

@ReddyLutonadio Yes, that is enabled


text:
How to use different audio device for different apps?
I want to play the sound of one app through integrated phone speaker and the sound of another app through bluetooth earspeakers.
Is it possible to set different audio output devices for different apps?