text:
Can't flash custom TWRP recovery image on Motorola Moto G7 Power phone
I've got a brand new Motorola Moto G7 Power running Android 9. I also have Ubuntu 19.04 running on my desktop. I want to root the phone.
I've managed to unlock the bootloader using Motorola's online instructions and the adb and fastboot utilities that come with Linux. The next step is to flash a custom recovery application on the recovery partition.
I'm trying to flash twrp-3.3.0-0-river.img, a new image that I grabbed from here. When I tried to use fastboot to flash the image, I got this error:
steven@steven-OptiPlex-7020:-/Desktop$ fastboot flash recovery twrp-3.3.0-0-river.img
target reported max download size of 536870912 bytes
sending 'recovery' (27584 KB)...
OKAY [  0.741s]
writing 'recovery'..
(bootloader) Invalid partition name recovery
FAILED (remote failure)
finished. total time: 0.742s
steven@steven-OptiPlex-7020:~/Desktop$

Screenshot of the terminal output
After this failed attempt, I attempted to put my phone into recovery just to see what would happen. What I got was a screen displaying the Android mascot on its back with its chest plate opened and a black exclamation point inside a red triangle. The words "No Command" were displayed underneath the graphic. After waiting a few minutes, the phone, on its own, booted normally. My phone's OS seems to operate perfectly fine.
I can only surmise that whatever was originally on my recovery partition from the manufacturer has been wiped and there is now nothing on the recovery partition at all. So, I decided to see if I could boot into the TWRP image directly without flashing it. So, I ran this in the terminal window: fastboot boot twrp-3.3.0-0-river.img. I received this as a response:
steven@steven-OptiPlex-7020:-/Desktop$ fastboot boot twrp-3.3.0-0-river.img
downloading 'boot.img'...
OKAY [  0.728s]
booting...
OKAY [  0.893s]
finished. total time: 1.621s
steven@steven-OptiPlex-7020:~/Desktop$

Screenshot of the terminal output
There didn't seem to be any errors. The phone, however, switched from the bootloader screen to the Motorola splash screen, and then just shut off with no further response.
So, what am I missing? How can I flash this image onto the recovery partition of my phone?

Thanks for the reply. Though, can you elaborate, please? I'm new to all of this. I assume Nougat is an older version of Android? How do I downgrade to another version of Android if I can't flash things? I mean, I would need to flash a new ROM onto my phone to do as you suggest. But, my very problem is that I CAN'T flash things.

Your device don't have recovery partition, it is inside ramdisk. thats why fastboot flash recovery fails - see first screenshot "Invalid partition name"

OK, thanks. But, why are manufacturers doing things this way? Why bundle recovery inside of the boot image and not just have it be its own partition in memory?

G7 Power, being a new device, has the new A/B partition layout, requiring new installation procedures that differ from standard A-only devices. This is clearly outlined in the thread where you got your image from:

This device has 2 "slots" for ROMs / firmware. TWRP will detect whichever slot is currently active and use that slot for backup AND restore. There are buttons on the reboot page and under backup -> options to change slots. Changing the active slot will cause TWRP to switch which slot that TWRP is backing up or restoring. You can make a backup of slot A, switch to B, then restore the backup which will restore the backup of A to slot B. Changing the slot in TWRP also tells the bootloader to boot that slot.
Decryption only works when TWRP is permanently installed.
Installation
To temporarily boot this recovery:
fastboot boot twrp-version-build-river.img
To permanently install it:

Temporarily boot TWRP
Put the TWRP image in your external SD Card or, in case you don't have one, push it to /data with adb this way: adb push twrp-version-build-river.img /data/
Tap Advanced -> Install Recovery Ramdisk -> Navigate to /data or /external_sd and select TWRP -> Swipe to Install
If you previously installed Magisk: Select Fix Recovery Bootloop from Advanced to fix/avoid recovery bootloops
Done! Optionally you can delete TWRP from /data or from your external SD Card now.

Read more carefully next time...

Thanks. But, that's my problem. Read where I wrote this in my original post: So, I decided to see if I could boot into the TWRP image directly without flashing it.
So, I ran this in the terminal window: fastboot boot twrp-3.3.0-0-river.img
I received this as a response: There didn't seem to be any errors.
The phone, however, switched from the bootloader screen to the Motorola splash screen, and then just shut off with no further response. I can't run the image. My phone doesn't display anything. It just shuts off.

Any ideas of how to get around this problem?

So I only answered the less relevant half of the question (i.e. how to install permanently)... I don't see why it would do that (probably related to you using Ubuntu and the fastboot that comes with it, not sure), but I think you should redirect the question to that thread instead.

should i use windows instead? I couldnt find the drivers for windows. when i put my phone into bootloader mode, windows 7 cant find the drivers for it

I managed to use fastboot to flash my device. I used the magisk approach you suggested.

The twrp.img you trying to boot from is for Moto G7 (river). It is the wrong recovery, thats why it fails.
What you want is TWRP for your device Moto G7 Power (ocean).
https://twrp.me/motorola/motorolamotog7power.html
Note: You can root your phone with Magisk without the need of TWRP, as written here.
For devices without TWRP one can port TWRP from similar device, the steps are these:

unpack your boot.img
find recovery inside ramdisk
unpack recovery
unpack twrp recovery
replace kernel, fstab and *init.rc
repack ported recovery
try if it is fine from fastboot boot recovery.img
replace recovery inside ramdisk
repack boot.img
try if it is fine from fastboot boot boot.img
flash boot.img from fastboot (A/B)

Oh yes, how silly as me to have missed the device codename mismatch. +1

OK. Thanks. I used your first suggestion and it worked like a charm.But, now here's another question. How do I UNroot my phone? would I just flash the original boot image that came with my phone? where can i find it? this link was on the page you linked to https://mega.nz/#!L0sHzSKY!323GrDQ8BTsPmKvrSoU7DV-2kJuVris0cWN8Xt3u_6o   but i think that that is a full rom image. how do i extract the boot image from it?

Yes. Use the stock boot.img you have downloaded before. But Magisk have Unroot option and backup of stock boot.img too, it will restored automatically. https://forum.xda-developers.com/showthread.php?t=3473445
https://www.didgeridoohan.com/magisk


text:
Armv8 image stuck on booting process
I can't make it to boot an armv8 image (API24, Nougat, Android 7.0) to boot successfully in Android emulator. The Emulator software was updated today to the latest version.
The first problem I can see in adb logcat is this:
01-01 00:01:28.730   857   857 I Zygote  : Preloading resources...
01-01 00:01:30.386  1040  1040 D ICU     : No timezone override file found: /data/misc/zoneinfo/current/icu/icu_tzdata.dat
01-01 00:01:30.572  1040  1040 F libc    : Fatal signal 11 (SIGSEGV), code 1, fault addr 0xffff87ef99b001 in tid 1040 (main)
01-01 00:01:30.574   817   817 W         : debuggerd: handling request: pid=1040 uid=0 gid=0 tid=1040
01-01 00:01:30.610   857   857 W Resources: Preloaded drawable resource #0x1080298 (android:drawable/editbox_dropdown_background_dark) that varies with configuration!!
01-01 00:01:31.065  1102  1102 E         : debuggerd: Unable to connect to activity manager (connect failed: No such file or directory)
01-01 00:01:31.082  1102  1102 F DEBUG   : *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** ***
01-01 00:01:31.084  1102  1102 F DEBUG   : Build fingerprint: 'Android/sdk_phone_arm64/generic_arm64:7.0/NYC/3245079:userdebug/test-keys'
01-01 00:01:31.084  1102  1102 F DEBUG   : Revision: '0'
01-01 00:01:31.084  1102  1102 F DEBUG   : ABI: 'arm64'
01-01 00:01:31.085  1102  1102 F DEBUG   : pid: 1040, tid: 1040, name: main  >>> zygote64 <<<
01-01 00:01:31.086  1102  1102 F DEBUG   : signal 11 (SIGSEGV), code 1 (SEGV_MAPERR), fault addr 0xffff87ef99b001
01-01 00:01:31.087  1102  1102 F DEBUG   :     x0   0000000071df8494  x1   0000000000000013  x2   0000000000000008  x3   0000000000000001
01-01 00:01:31.087  1102  1102 F DEBUG   :     x4   0000000000000004  x5   0000000071b05744  x6   0000000071b05748  x7   0000000000000000
01-01 00:01:31.087  1102  1102 F DEBUG   :     x8   0000000000000000  x9   0000000000000000  x10  00000000000ffffe  x11  00000000ffffffff
01-01 00:01:31.087  1102  1102 F DEBUG   :     x12  0000000000000001  x13  0000000000002a3c  x14  00000078a22b2c04  x15  0000000000000000
01-01 00:01:31.088  1102  1102 F DEBUG   :     x16  0000007fe6bc6f30  x17  0000000000000000  x18  00000000ffffffff  x19  0000000071df8494
01-01 00:01:31.088  1102  1102 F DEBUG   :     x20  0000000000000000  x21  0000000070605088  x22  0000000000000000  x23  0000000000000000
01-01 00:01:31.088  1102  1102 F DEBUG   :     x24  ffffff87ef99b001  x25  00000078a27f7ed8  x26  0000000070605088  x27  00000078a283d180
01-01 00:01:31.089  1102  1102 F DEBUG   :     x28  0000028800000000  x29  0000007fe6bc6f20  x30  00000078a2728c40
01-01 00:01:31.089  1102  1102 F DEBUG   :     sp   0000007fe6bc6d10  pc   00000078a272803c  pstate 0000000060000000
01-01 00:01:31.353  1102  1102 F DEBUG   :
01-01 00:01:31.353  1102  1102 F DEBUG   : backtrace:
01-01 00:01:31.355  1102  1102 F DEBUG   :     #00 pc 000000000054703c  /system/lib64/libart.so (artQuickResolutionTrampoline+2572)
01-01 00:01:31.355  1102  1102 F DEBUG   :     #01 pc 00000000000dae1c  /system/lib64/libart.so (art_quick_resolution_trampoline+92)
01-01 00:01:31.355  1102  1102 F DEBUG   :     #02 pc 00000000000d1c68  /system/lib64/libart.so (art_quick_invoke_static_stub+600)
01-01 00:01:31.356  1102  1102 F DEBUG   :     #03 pc 00000000000de6b0  /system/lib64/libart.so (_ZN3art9ArtMethod6InvokeEPNS_6ThreadEPjjPNS_6JValueEPKc+252)
01-01 00:01:31.356  1102  1102 F DEBUG   :     #04 pc 000000000028c2e4  /system/lib64/libart.so (_ZN3art11interpreter34ArtInterpreterToCompiledCodeBridgeEPNS_6ThreadEPNS_9ArtMethodE$
01-01 00:01:31.356  1102  1102 F DEBUG   :     #05 pc 00000000002852c0  /system/lib64/libart.so (_ZN3art11interpreter6DoCallILb0ELb0EEEbPNS_9ArtMethodEPNS_6ThreadERNS_11ShadowFrameE$
01-01 00:01:31.357  1102  1102 F DEBUG   :     #06 pc 0000000000551bf0  /system/lib64/libart.so (MterpInvokeStatic+356)
01-01 00:01:31.357  1102  1102 F DEBUG   :     #07 pc 00000000000c4514  /system/lib64/libart.so (ExecuteMterpImpl+14612)

After that I am starting to see these problems:
01-01 00:01:36.467   857   857 I Zygote  : ...preloaded 114 resources in 7735ms.
01-01 00:01:36.747   857   857 I Zygote  : ...preloaded 41 resources in 280ms.
01-01 00:01:36.749   857   857 D libEGL  : Emulator has host GPU support, qemu.gles is set to 1.
01-01 00:01:36.773   857   857 E libEGL  : load_driver(/system/lib/egl/libGLES_emulation.so): dlopen failed: library "/system/lib/egl/libGLES_emulation.so" not found
01-01 00:01:36.869   857   857 D libEGL  : loaded /system/lib/egl/libEGL_emulation.so
01-01 00:01:36.928   857   857 D libEGL  : loaded /system/lib/egl/libGLESv1_CM_emulation.so
01-01 00:01:37.516   857   857 D libEGL  : loaded /system/lib/egl/libGLESv2_emulation.so
01-01 00:01:38.151   857   857 I Zygote  : Preloading shared libraries...
01-01 00:01:38.325   857   857 E Hyphenator: error loading hyphenation /system/usr/hyphen-data/hyph-as.hyb
01-01 00:01:38.325   857   857 E Hyphenator: java.io.FileNotFoundException: /system/usr/hyphen-data/hyph-as.hyb: open failed: ENOENT (No such file or directory)
01-01 00:01:38.325   857   857 E Hyphenator:    at libcore.io.IoBridge.open(IoBridge.java:455)
01-01 00:01:38.325   857   857 E Hyphenator:    at java.io.RandomAccessFile.<init>(RandomAccessFile.java:247)
01-01 00:01:38.325   857   857 E Hyphenator:    at android.text.Hyphenator.loadHyphenator(Hyphenator.java:118)
01-01 00:01:38.325   857   857 E Hyphenator:    at android.text.Hyphenator.init(Hyphenator.java:224)
01-01 00:01:38.325   857   857 E Hyphenator:    at com.android.internal.os.ZygoteInit.preloadTextResources(ZygoteInit.java:252)
01-01 00:01:38.325   857   857 E Hyphenator:    at com.android.internal.os.ZygoteInit.preload(ZygoteInit.java:206)
01-01 00:01:38.325   857   857 E Hyphenator:    at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:722)
01-01 00:01:38.325   857   857 E Hyphenator: Caused by: android.system.ErrnoException: open failed: ENOENT (No such file or directory)
01-01 00:01:38.325   857   857 E Hyphenator:    at libcore.io.Posix.open(Native Method)
01-01 00:01:38.325   857   857 E Hyphenator:    at libcore.io.BlockGuardOs.open(BlockGuardOs.java:187)
01-01 00:01:38.325   857   857 E Hyphenator:    at libcore.io.IoBridge.open(IoBridge.java:441)
01-01 00:01:38.325   857   857 E Hyphenator:    ... 6 more
01-01 00:01:38.353   857   857 E Hyphenator: error loading hyphenation /system/usr/hyphen-data/hyph-bn.hyb
01-01 00:01:38.353   857   857 E Hyphenator: java.io.FileNotFoundException: /system/usr/hyphen-data/hyph-bn.hyb: open failed: ENOENT (No such file or directory)
01-01 00:01:38.353   857   857 E Hyphenator:    at libcore.io.IoBridge.open(IoBridge.java:455)
01-01 00:01:38.353   857   857 E Hyphenator:    at java.io.RandomAccessFile.<init>(RandomAccessFile.java:247)
01-01 00:01:38.353   857   857 E Hyphenator:    at android.text.Hyphenator.loadHyphenator(Hyphenator.java:118)
01-01 00:01:38.353   857   857 E Hyphenator:    at android.text.Hyphenator.init(Hyphenator.java:224)
01-01 00:01:38.353   857   857 E Hyphenator:    at com.android.internal.os.ZygoteInit.preloadTextResources(ZygoteInit.java:252)
01-01 00:01:38.353   857   857 E Hyphenator:    at com.android.internal.os.ZygoteInit.preload(ZygoteInit.java:206)
01-01 00:01:38.353   857   857 E Hyphenator:    at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:722)
01-01 00:01:38.353   857   857 E Hyphenator: Caused by: android.system.ErrnoException: open failed: ENOENT (No such file or directory)
01-01 00:01:38.353   857   857 E Hyphenator:    at libcore.io.Posix.open(Native Method)
01-01 00:01:38.353   857   857 E Hyphenator:    at libcore.io.BlockGuardOs.open(BlockGuardOs.java:187)
01-01 00:01:38.353   857   857 E Hyphenator:    at libcore.io.IoBridge.open(IoBridge.java:441)
01-01 00:01:38.353   857   857 E Hyphenator:    ... 6 more

a bit later:
01-01 00:02:33.431  1137  1137 I Zygote  : System server process 1305 has been created
01-01 00:02:33.497  1137  1137 I Zygote  : Accepting command socket connections
01-01 00:02:34.153  1305  1305 I Zygote  : Process: zygote socket opened, supported ABIS: armeabi-v7a,armeabi
01-01 00:02:34.204  1305  1305 I InstallerConnection: connecting...
01-01 00:02:34.217   861   861 I         : new connection
01-01 00:02:34.461  1305  1305 I InstallerConnection: disconnecting...
01-01 00:02:34.462   861   861 E         : eof
01-01 00:02:34.462   861   861 E         : failed to read size
01-01 00:02:34.462   861   861 I         : closing connection
01-01 00:02:35.107  1305  1305 W SystemServer: System clock is before 1970; setting to 1970.
01-01 00:02:35.153  1305  1305 I SystemServer: Entered the Android system server!
01-01 00:02:35.184  1305  1305 F libc    : Fatal signal 11 (SIGSEGV), code 1, fault addr 0xffff80f5b1a001 in tid 1305 (system_server)
01-01 00:02:35.213   817   817 W         : debuggerd: handling request: pid=1305 uid=1000 gid=1000 tid=1305
01-01 00:02:35.231   817   817 E         : debuggerd: waitpid returned unexpected pid (0), committing murder-suicide
01-01 00:02:35.231   817   817 W         : debuggerd: pid 0 received signal 9
01-01 00:02:35.280   817   817 E         : debuggerd: killing target 1305

After 7 minutes of trying I get this:
01-01 00:07:23.083  2429  2429 I InstallerConnection: connecting...
01-01 00:07:23.085   861   861 I         : new connection
01-01 00:07:23.112  2429  2429 I SystemServiceManager: Starting com.android.server.am.ActivityManagerService$Lifecycle
01-01 00:07:23.255  2429  2429 I ActivityManager: Memory class: 48
01-01 00:07:23.271  2429  2449 I ServiceThread: Enabled StrictMode logging for ActivityManager looper.
01-01 00:07:23.291  2429  2450 I ServiceThread: Enabled StrictMode logging for android.ui looper.
01-01 00:07:24.241   861   861 E         : eof
01-01 00:07:24.242   861   861 E         : failed to read size
01-01 00:07:24.242   861   861 I         : closing connection
01-01 00:07:24.302  2281  2281 I Zygote  : Process 2429 exited due to signal (11)
01-01 00:07:24.302  2281  2281 E Zygote  : Exit zygote because system server (2429) has terminated

Then everything repeats again for hours and I never get to the launcher.
Basically, what happens is that, SystemServer crashes due to a SIGSEGV, so what can I do about it ? I have tried many armv8 images and none of them work, I tried on 2 different computers, with opengl in hardware and opengl in software.
What else can I try? I need to make it work to test an arm-64bit APK before I upload it to Google store.
Maybe the issue is in the hardware I am picking for the emulator? I am using Nexus 5 device.

Y solved it!!! (after 2 days of work)
It is not an ideal solution, but it works.
Apparently Google screw it with the emulators and the current version (1 May 2019) doesn't work with ARM8 images, so the solution is to downgrade the emulator software.
Here is the question that pointed me into the right direction:
https://stackoverflow.com/questions/49120854/how-to-downgrade-android-emulator/49284378#49284378
And the emulator I used was this:
http://dl.google.com/android/repository/emulator-linux-4266726.zip
No more SEGFAULTS with arm64 bit images.

This was my exact problem. I was stuck trying to load an emulator (it was taking hours), and downgrading the emulator worked for me. Now I see the UI.

source: Stack Exchange

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

sort: votes


text:
Decryption Unsuccessful after data wipe and format
P9 Lite, everything was fine until this evening when I updated from Magisk 18 to 19.1
Got Decryption unsuccessful error, flashed magisk uninstaller, wiped data + cache + dalvik and tried data format from TWRP. Nothing worked.
I'm going on a trip tomorrow so I need to be able to use the phone asap.

I had the exact same issue when I did an internal upgrade from 18 to 19.1 last night on my Huawei Mediapad M3. I wiped the data as was recommended but it keep rebooting into the unable to decrypt storage.
The easy fix is to boot into fastboot and flash your original, non-magisk boot image. I wish I had tried that before actually going through with the data wipe, as I'm fairly sure that was unnecessary.
If you still have your lower version magisk modified boot image, that will work too, although mine was so old I had to use an older version of magisk manager.

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


text:
How to make Line save pictures & videos to the SD card?
Line is the application taking up most place of my internal storage ; this is because it saves many profile pictures and chat videos, to the internal storage.
How can I tell it to save them to my SD card instead?

Head into the Settings menu.
Scroll down to find “Apps“. Tap on it.
Now, you will observe the list of applications installed on your device.
Tap on any of the apps that you want to store on SD Card. ...
Scroll down, and you will find “Move to SD Card” option.

Unfortunately, this does not move the saved pictures and videos from internal storage to the SD card.


text:
Restore backup.ab file on Amazon Fire TV Stick?
I'm trying to restore a backup file onto an Amazon Fire TV Stick 2 using adb restore backup.ab, however, the restore confirmation doesn't come up on the Fire TV Stick. The device is rooted and currently have TWRP.
Is there a way to force restore without a confirmation?

If the device is rooted you can manually restore the backup.

On a PC extract the backup file using Android Backup extractor.
This will convert the backup to a TAR archive.
(optional) extract the APK files (if the backup contains not only app data) and install them via adb.
Upload the TAR archive to your device via adb push and untar it.
Copy the files you want to recover into the right directories using adb shell and root permissions.

Rather than trying to find an old version of adb, it's easier to add quotes to the arguments to adb backup :
adb backup "-apk -shared -all -f C:\Users\NAME\backup.ab"

Adding quotes didn't help.


text:
VPN not working on Android when on Wifi Network
I have a Synology NAS server that has a L2TP/IPSec PSK VPN Server running. I used to connect to it with my Android phone (Version 7) (and previously with my iPhone) just fine. Whether I was on 4G or on a Wifi, it always connected without problems.
I have recently replaced my Android phone with a new one (Huawei P30 Pro) that runs on Android 9. The strange thing here is, that I can connect to the VPN when I am on a 4G network, but when I try to connect to the VPN when I am on a Wifi connection, it does not work and comes back with an unsuccessful message.
I am pretty confident that it is not the Wifi network, as I can still connect to the VPN with my old phone side-by-side, but the new one is not working.
Is there any way to troubleshoot the VPN connection to figure out where the problem is? Is there any log files I can check on the phone? Or do you have any hints why that could be?
Thanks for any hints.

Have you tried it with different networks?

Yes, I have tried the same in two different Wifi networks.

Matth, have you solved your problem? I am facing the same problems.

I gave up on L2TP/IPSec. I managed to get it to work with OpenVPN.


text:
"Parental Control" app or setting for work
I'm searching for an app or settings that will allow only 2 applications to be used on an android tablet.
They would use android and a web dashboard on chrome, on chrome they would get a certain link automatically loaded and I would try to make it impossible to go to other pages.
I want to only allow those two apps to be used.
I've looked in to kiosk mode ( but thats single app usage)
I've tried COSU but that also not a solution.
And parental control apps, but they show advertisement which I can't allow on the work floor.

So are we talking about two Android apps or two web pages in Chrome? Based on your description it is not clear what you want to restrict.

I'm not sure in the resources or references of the last answer but from my understanding their is literally hundreds of Applications on Google's Play Store that are All specifically targeted towards parental and elderly care..
These applications can assist you in doing many things, from identifying communication with a predator online to making sure your grandmother is still walking around the house at least once every so many hours...
Due to Android changes throughout it's evolution it is hard to say exactly what Application will work on your device..
Due to my research as an Android Enthusiast & Independent Developer, I have found that you are Most Definitely going down the path of Launchers..
The Launcher is the Very First application that runs on Android, If you use a specifically designed App Locker in conjunction with a Launcher... You will have the ability to perform a full device Lock Down, So-To-Speak.
Obviously you can find prebuilt Launchers Source Codes online, if you want to implement your own App Selection Screen within the device Launcher.
I hope this at least helps you find a correct solution on your endeavor.

Well there is no such kind of application for parenting control for Android. There are a lot in different applications in Play Store but doesn’t seem anything akin to your requisite.
You can endeavor NORTON FAMILY PREMIER and check if that’s worth.


text:
How do I apply an OS update manually without rooting my device?
I have an RCA Galileo Pro 11" running Android 6.0 Marshmallow. In the recovery menu, I have the option to install an update from the SD card or over ADB, either without rooting. I'd like to run a newer version of Android, if possible.
What would be the best way to apply the update, and what would be the best package to use? I am not willing to root my device.

You can only install updates that are explicitly created to run on your device. Those update files are usually automatically downloaded by your device over Wifi and then automatically installed using the mechanism you already discovered.
Usually for cheap device like yours the manufacturer never releases any major updates (updates that upgrade the device to a new major version of Android). Therefore if no updates are available you can't install any updates.
The only option would be to root your device and install a custom ROM if available. However this step is risky as there is the chance to brick your device and you have to trust the author(s) of the custom ROM.


text:
Is there a way to turn my phone to landscape mode in the lock screen?
I have had a Motorola Moto e4 for almost 2 years with relatively no problems. A few days ago, my phone's touch screen stops working in certain frequently pressed places on the screen. This proves to be mildly annoying, but manageable as I would just flip the phone to landscape to get past this (especially when typing). Unfortunately, my phone has finally died and after I charged it, it now asks for my password so I can log in. The thing is, I can't press one of the onscreen keyboard keys to enter my password completely, and thus cannot unlock my phone. I cannot use my fingerprint because every time my phone reboots it asks for the password. I know if I can get my landscape mode I can enter in the correct password but all my attempts (notification bar, lock screen camera) have all failed. Any help? :)

Your device seems to support USB OTG functionality. Given that, you can buy an OTG cable and use a mouse (any mouse would work) to control the device, just like you control a computer using a mouse.
Once you unlock the device, attempt to root it, then install Xposed Framework for Nougat, followed by installation of GravityBox [N] Xposed module.
In GravityBox module, there is a setting named Enable lockscreen rotation under Lockscreen tweaks. Enable it and restart the device. The rotation control should work on lockscreen now.

Note: If the device is encrypted, and you reboot the device, the rotation tweak would not work because the apps are not loaded by that time. You would have to use your fingers or the mouse in portrait mode to unlock the device.

I can't unlock my phone so I can't root it.

Read the first paragraph  of my answer please.

If you find a flash tool which allows partial flashing without data loss, you can add these lines in build.prop and flash modified system partition
log.tag.launcher_force_rotate=VERBOSE
lockscreen.rot_override=true


text:
How to detect locked screen in Tasker?
I'd like to be able to detect a locked screen in Tasker without polling.
https://www.reddit.com/r/tasker/comments/3y3kpx/how_to_query_tasker_if_the_screen_is_locked_or_not/ has a solution that polls.

Create a profile Screen Locked triggered on the event Display Off and calling a task that sets a variable %SCREEN_LOCKED to true iff %SCREEN is off.
Create another profile Screen Unlocked triggered on the event Display Unlocked and calling a task that sets %SCREEN_LOCKED to false.
If you'd like for a profile to be triggered (or not) if the screen is locked:
Create a third profile Display Locked triggered on %SCREEN_LOCKED being true and calling some NoOp task (which does pretty much nothing) then use the Profile Active trigger on the profile conditional on screen lock state.

Why do you need to check iff %SCREEN is off?

I forgot why that condition is there. Try it without it.


text:
Find my samsung notification
When logging into the "Find My Mobile" website, why do notifications appear on the phone that I am trying to locate? I don't really want someone to know if they steal my phone that I am tracking it.
I have tried turning off notifications for "Find my mobile", but they still appear on the phone. I have a galaxy s8 and s10.
Is there any way around this?

I assume that the notification is shown for legal reasons. In a lot of countries it is illegal to track user positions without their knowledge/approval.
Just an theoretical example: Let us assume there are two Samsung devices on your account, your own device and the device of your partner. Now you are getting jealous and start tracking the movements of your parter's device using the Samsung find my device system. Such usage is illegal in a lot of countries.
In your case you just don't want the notification to be visible on the lock screen. Therefore it should be sufficient to configure the notifications of the Samsung Find my Device service to be not shown on the lock screen.

Yes, and if your device is stolen there is almost 0 chance you are getting it back

authors: Једноруки Крстивоје


text:
I am trying to recover a failed posting, just disappeared on Andriod
On my Galaxy Edge 6, I shared a post from Twitter to LinkedIn. The post stopped at 98% and when I checked the phone again it wasn't posted and it had just vanished. How do I recover the post?

If you go chrome at the top push the red dot and go to Hester.And you can clear up to a weeks worth of data .Just hit clear data and its gone.Form the history of the phone

And uou2can get


text:
How do I identify on when was an application installed previously. Currently I don’t have the app on my android device
I did explore all the articles and video. But that did not help either. Ideally I want to identify the last time an app was installed on my android device .which is currently not available .
In other words , is there a way to identify installed date of an app in android.

Your best bet is Google Takeout. I'm unsure whether it lists sideloaded and system apps as well. Download the Google Play Store data only. Extract the data from the archive and look for your app in the files Install.json and Library.json under Google Play Store directory. Those two files can be opened in a text editor, such as Notepad++, Sublime Text Editor, etc.
Related:

Where can I find out when I installed an app?
How to export a list as Text of all Play Store Apps that I have ever installed


text:
How to create Android sepolicy based on the denial "execute_no_trans"?
I am trying to execute my script /vendor/bin/init.inmod.sh using below method:
Script init.inmod.sh:
#!/shebang???

/vendor/bin/test_disp hdcp disable

In vendor specific .rc file:
on ???
    start inmod_sh

service inmod_sh /vendor/bin/init.inmod.sh
    class main
    user root
    group root system
    disabled
    oneshot

My file context:
(vendor|system/vendor)/bin/init\.inmod\.sh    u:object_r:init_inmod_sh_exec:s0

And my init_inmod_sh.te:
type init_inmod_sh, domain;
type init_inmod_sh_exec, exec_type, vendor_file_type, file_type;
init_daemon_domain(init_inmod_sh);

allow init_inmod_sh vendor_shell_exec:file rx_file_perms;
allow init_inmod_sh vendor_toolbox_exec:file rx_file_perms;
allow init_inmod_sh self:capability { sys_module sys_admin };

allow init_inmod_sh system_file:system module_load;
allow init_inmod_sh vendor_file:system module_load;
allow init_inmod_sh debugfs_pvr:dir r_dir_perms;

allow init_inmod_sh ampservice:unix_stream_socket { connectto };
allow init_inmod_sh ampservice:unix_dgram_socket { sendto };
allow init_inmod_sh ion_device:chr_file rw_file_perms;

allow init_inmod_sh init_inmod_sh_exec:file { execute_no_trans getattr execute read open };
permissive init_inmod_sh;

I am getting below error:
02-14 00:31:34.580 221 221 I init.inmod.sh: type=1400 audit(0.0:4): avc: denied { execute_no_trans } for path="/vendor/bin/test_disp" dev="dm-1" ino=274 scontext=u:r:init_inmod_sh:s0 tcontext=u:object_r:vendor_file:s0 tclass=file permissive=1

Why am I getting the execute_no_trans denial even after I set .sh file to permissive?

Please complete missing parts of your question (highlighted with ???). Did you resolve the problem? If yes, you can answer your question yourself for future visitors. Btw development questions are off-topic here.

The apparent reason is that your script isn't getting the context u:object_r:init_inmod_sh_exec:s0, instead the general context of vendor partition: u:object_r:vendor_file:s0. Did you try restorecon -v /vendor/bin/init.inmod.sh or chcon u:object_r:init_inmod_sh_exec:s0 /vendor/bin/init.inmod.sh?


text:
Why am I still receiving old—and resolved—Amber alerts on my Android phone?
For the past 2 months, every few days to a week, I've been getting an Amber alert. Oddly, though, it's the same one every time.
The notification reads as follows

Messages 3/13/19
Emergency Alerts
AMBER Alert: Paradise- 86 Camo F-250 MI/DQQ5813.  Suspect is white male.  Check local media.

Yeah, I just got that today, May 3, 2019.
Besides being utterly confused at the formatting, and being too far away to do anything, The alert is just plain old.
I looked up the license plate and the missing child and the abducters were found March 14th.
A Google search trying to figure out why this alert is broken only rendered instructions on how to turn Amber alerts off. I don't want to do that. I do not want to disable Amber alerts, I just want my Amber alerts to be correct.
I am using a different SMS app than the default (Silence) , and maybe that has something to do with it? But I doubt it. However, when I go to click on the notification, it tries to open up my old app. I don't want it to do so because I hate dumping my messages back and forth between the two apps.
I am concerned that the old message is displaying whenever I get a new emergency message, and therefore I can’t see the new messages. What might be causing this and how might I be able to fix it?


text:
Copying files from a android phone without display or touch
My Oneplus X phone fell and the display and touch are not functional anymore. When I connect to my Linux laptop, an empty "Android" drive and "OnePlus X drivers" drive gets mounted. I tried copying the contents, but been unsuccessful. Is there a way to get the contents?

The only possibility I see is buying a new touch display (may be a cheap display from China) and connect it (temporarily) to the phone.

You could trying plugging in a mouse to your device via an OTG cable. Then you should be able to access your notifications bar and configure your phone to communicate with the PC.

Using a mouse in "blind mode" (without a working display) will be very very difficult.

Ahh I didn't spot that - good point.


text:
Remove Gmail account from Gmail app without removing Google account from the phone
I don't use Gmail for my e-mail. However, I want to use the Gmail app for my work e-mail. So, how do I keep only my work e-mail in the Gmail app, removing the Gmail account from it completely?
I still want to have Play Store and Google Fi to be associated with my account. To my understanding, when I try to remove my Gmail account from the Gmail app, it suggests completely removing my Google account from the phone.
I'm on Android 9.

Using a Google app without using the Google service it belongs to is not an intended use case by Google.

If you do Clear data on Gmail app from Settings app, and restart the Gmail app it asks you to select account. Ignore the Google account and add your non-Google account there. Might work.

I think you can add it as a secondary email, why is it specifically important to remove the other email ?

For me, I have a slightly different need but the same solution applies. For me, I use the unified inbox in Gmail for work (I have multiple work email accounts) but I also need to sometimes check my son's school email.
A solution that works for me is to use Secure Folder (for Samsung) or dual apps (for Xiaomi or other phone makers). This creates two separate profiles with separate Google accounts.
The one asking the question here could then put their personal account and Google Play in one profile and their work emails in the other profile

Emails and Play Store accounts are not related. There are 2 ways

You can remove the account from Android's Settings -> Account management despite its warnings, and then just log back into Play Store with it.

Open the Gmail app, press the hamburger menu, go to Settings, select the email address, and disable sync.

For the record, I have multiple Gmail accounts and change which one I  am using in the Play Store multiple times a day. And I don't use Gmail for emails at all. Underneath, one has nothing to do with the other.

Do you happen to know if this has always been the case?  I might not be remembering correctly, but I thought this wasn't possible years ago.

Very helpful answer.  Thanks.  I made an edit based on what I believe you are trying to convey.  Can you please proofread my edit to ensure my edit is correct?


text:
Permission denied on android directories?
Forgive my newness...  I've installed Android Studio/Android SDK in Windows 7, enabled debugging on my Droid Turbo 2 with Android 7.0, system version 25.216.2.kinzie_verizon.verizon.en.US, and successfully attached my device.  I've successfully made a backup (haven't tried restoring it), but of course it's a compressed file.  So now I want to browse my phone's directory structure.  So I opened a shell and tried to navigate around with ls and cd, but I see a lot of directories are giving me Permission denied.
Is there anything I can do about this?
Edited to add:  I was particularly interested in having a non-cloud method of backing up my contacts, sms history, and call history.  Normally, I periodically connect the phone to my PC via USB and just copy everything in Windows Explorer.  But, as I discovered when I moved to another phone yesterday that already had some of my contacts on it, the contacts file is not accessible to this method of backing up.  Verizon made a hodgpodge out of old and new contacts information which is going to take me another hour or two to sort through.  It would have been easier if I could have just restored this file.
I'd rather not root my phone if I don't have to, and from everything I've read, there is no root discovered for the Droid Turbo 2 anyway.

So you are using adb shell right? In Android the adb user has limited permissions therefore you can't access certain directories. Only on rooted devices you can get access to every directory.

Thanks.  So I would have to root my phone, then.  Sigh.

Rooting is the fastest way to access everything. However for some files there are workarounds known. You should explicitly write what you want to access.

You can make use of some apps (like SMS Backup & Restore, Termux etc.) which can backup contacts, messages and call history by getting data through Android API's (instead of directly reading files from filesystem what you are trying to do) in some kind of text format (json, xml etc.). Then you can copy the backed up files wherever you want (also by automating the backup by scheduling tasks). Restoring the data would also be easy this way (e.g. you can merge or append files) as compared to if you backup the contacts / messages / call history in SQLite database file (not accessible without root)

Thanks, Irfan - I'll take a look at those.


text:
Is there an easy way to transfer files between PCs and a phone via WiFi?
I'm currently using SFTP to send files between my phone and my Linux PCs, with OpenSSH server on the PCs and Ghost Commander on the phone. What is inconvenient is that I have to either type the password each time (on screen keyboard!), store it on the phone, or try to setup authorized_keys (which I'm hesitant to do for a mobile device, since it lets it do anything, not only send files). Using something like an FTP server without authorization is not an option: I don't want to get files from everyone around without a means to reject a transfer.
I'd like to be able to simply "offer" to send a file to the PC and, when the PC accepts this offer (the user clicks "Yes"), do the transfer; similarly in backwards direction — much like Bluetooth file transfers work.
Is there any software (zero-cost and ad-free) offering such functionality?

KDEConnect app allows sending files to paired devices. But its Linux variant  does not have a feature to approve receiving. It just sends them. Have you tried that app?

@Firelord haven't tried it yet, but that "Linux variant" doesn't have a feature that presumably some other variant (Windows?) does have seems strange for a KDE project.

I don't know about Windows variant or even the most recent Linux variant (I use an older version on an older KDE (4.x release)). You can try it and see for yourself.

Instead of using third party closed source solutions, SFTP is best, if speed is not a concern. Setup an SFTP chroot if you don't want to let it do anything. I run an SSHD server on my phone (as unprivileged UID and with dropped capabilities) which I can access from PC (Linux + Windows), mostly through SSHFS for easy access in file explorers.

@Firelord OK, tried it. Although it's a nice piece of software in general, silent acceptance of files is not good. And I failed to make the version in Ubuntu 14.04 work with current version for Android, although the one in 18.04 does work. Apparently, their protocol is not stable enough, changing between versions.


text:
Can custom roms like aim rom or aex increase gaming performance over stock Android?
Note: I have zero technical knowledge about Android or custom roms or root etc.
Am using Moto G5 plus (4bg) and I play games like PES 2019 and pubgm a lot.
Now my device runs these games with some lags but playable,but in order to get competitive edge I need to get more fps,that's why am considering ways to improve performance,even at the cost of short term heating and more power consumption.Any advice?

I would estimate that 99% of the performance (CPU, GPU...) is determined by the hardware, not the software (furthermore on Android GPU drivers are usually not updated to get more performance on popular games like it is done for PCs). If the hardware throttles e.g. because of temperature it does it for good reason. Therefore installing a different ROM will most likely not change your gaming experience. Try to play with connected charger - some devices detect that and don't try to save power while connected.

Maybe your correct,but in my friend's Oneplus2,the game lagged quite badly, almost unplayable,but when I went to the developer options and turned on gaming mode,the performance was considerably better, of course there was heating and more  battery consumption.So I was wondering if roms or software could do something.


text:
Identifying icon with phone on speaker mode or titled Wi-Fi under a rectangle
It just appeared today. No idea what it is. When I pull down my notification screen there's nothing new.
I use an LG G6, running Android 8.0.

Perhaps somebody else can make a better title for this question.

Also see: How to determine which app is creating a notification. If that helped you figuring for sure, don't forget to let us know here: either accept Firelord's answer if it hit the nail, or answer your own question if not. Thanks, and good luck!

While I am not fully convinced, user chuckdawg1999 of Android Central and Community Manager vzw_customer_support replied that the icon is for Wi-Fi Calling or Wi-Fi/HD calling through Verizon.

Its there even when I disconnect the Wi-Fi

As I said I am not fully convinced but this is what I could find.


text:
I rooted my phone and its memory got deleted. Is that normal? Any way to recover=
I rooted my phone, a HTC, and its memory got deleted. This was the fourth telephone I rooted and I can not recall it has happened before so I was a little sloppy when I read the warnings displayed during the process (besides, it was necessary since backing up of this phone had stopped working and I needed a backup of the wifi-passwords).
Is it "normal" that the memory is intentionally deleted when rooting?
Any ways to recover? I have put the phone aside and not used it since this happened but the memory was encrypted.

Which HTC model in particular? What instructions did you follow? If you unlocked the bootloader, it is natural for the device to be wiped out on next boot as a data security precaution.

@Firelord One M9+ and the first instructions found on Google.

We don't know what instructions you "found on google". Unless we don't know the steps you've taken, we cannot answer your question. Firelord already gave you one of the clues in this context: if the process involved unlocking the bootloader, that usually involves an implicit factory reset. And no, there shouldn't be ways to recover then, that's the whole purpose of deleting the data in this stage.

Yes this is the warning you must not have read...
I imagine from my own experience with HTC and unlocking the bootloader that you followed the official process on the HTC Dev site... ( HTC Developer Website ) ... Official page..
Unlock bootloader page - Unlock Bootloader..
It will notify you prior to pressing Up to Accept the process that it will erase the Internal Memory..
 .
Recovery is not possible without specialized software for data analysis, ... I mean a Full ROM Restore...
You can restore Photos and Documents using applications like DiskDigger, as long as you have not Overwritten them.. Try not to put anything on the Data partition like new Apps or even on the Internal storage...
The internal storage is usually Emulated and is actually a folder in the Data partition...
Writing to Either Data or Internal Storage will erase the previous data....
Data usually is not Erased, but Marked as Reusable...
Deletion is a long process for the computer so it just marks the file for replacement..
Even a  " Quick Format " Does the same thing !

When I replayed the first steps of the process I found a warning at the HTC dev site (it wasn't directly hard to see but I understand why I dismissed it as another "you are on your own"-warning) but you mean there was a secondary warning on the actual phone before going forward? I shouldn't have missed that one:-(

What kind of specialized software are you referring to?

Yes in All the times I've done it using the sites official process, it makes me accept that ... It is sometimes a very short sentence in Code returned from Fastboot... Sometimes it is a massive screen with a big Red Exclamation mark Saying it... For me it is about 30% of devices that use a Big Screen to show a significant difference..  Other device's it says it on the computer in the command window... But All require pressing UP as a Signification that you Accept the Data being Erased... This is because of Data Laws.

There is no way to restore anything from encrypted partition, the encryption key is wiped. This answer is only valid for older unencrypted devices


text:
Tasker: Task after receiving email
Can I initaite any task in tasker app if i receive  email from specific id with particular subject like we do in case of sms.

An E-Mail is working totally different than an SMS: The SMS is received by Android and then delivered to the selected App, therefore receieving new SMS is easy. However new E-Mails are checked, received and processed by your E-Mail app. They never leave the E-Mail app. How should tasker get access to the E-Mail?

If the email shows up as a notification, you can use AutoNotification app to detect it and run a task. Otherwise, I see no other way.

There's also a 'k9 email received' event you can use to initiate the task.


text:
Managing Contacts without linking any accounts
A friend gave me her Samsung Galaxy S7 when she upgraded her phone.  We ported my number onto her account, and now I (a long-time flip-phone user) am trying to figure out this new device.
Important context: I do not intend to sync up my gmail account to the phone.  I am combating an internet addiction by refusing to have the internet in my pocket constantly.  Plus, I find it creepy when devices "talk" to each other; it makes me feel powerless and confused if what I do in one setting has effects in another, unrelated setting.  In other words, I want the improved reception and the threaded text messaging of the new phone, but otherwise want it to be as "dumb" as possible for my peace of mind.
I spent all last night manually adding contacts to the device.  The whole time, my friend's gmail was still synced up, and her emails kept popping into my view.  So this morning, she removed her linked accounts.  As soon as she did, all the contacts I had manually entered the night before disappeared, the contacts I had edited the night before reverted back, and a bunch of them became "Read Only" contacts!
This presents several problems/questions:

Did the contacts I manually entered go into HER gmail account?  She doesn't need all my personal contacts!
Do I have to manually re-enter them, and if so, how can I be sure that they are being saved to my SIM card?  (In case I ever get a new device, it would be nice to simply move the SIM card and keep the contacts.)
The "read only" contacts are a good mix of ones I want to delete and ones I need to edit (fix misspelled names, add new numbers).  How do I manage them?  If she un-linked her accounts, why are these "read-only things" still there?

Again, I am looking for solutions that involve only my phone and do not involve linking external accounts!  It would be super weird if all my gmail contacts appeared in my phone.  Phones are for phone stuff and email is for email stuff, and having them bleed into each other seems like poor management.
Incidentally, there is now a message on my phone telling me that my data is not backed up.  This confuses me, because while I thought "data" meant "bits of information", all my friends corrected me that nowadays "data" means internet usage, and I should just be able to "turn data off" so my phone isn't constantly online.  But obviously it means "bits of information" if it is something that can be backed up.

Did you find answers useful? Please post feedback, vote, accept, comment, to reflect the experience. That's how the community as a whole benefits from Q&A!

The locations mentioned below where you can find settings may vary across Android versions.

Did the contacts I manually entered go into HER gmail account? She doesn't need all my personal contacts!

Where do contacts go can be selected with Contacts -> Three dots menu -> Manage contacts -> Default storage location.

Among other options, you have Samsung account (if set), Phone, SIM card, Google (if set), Outlook (if set).
This is exactly what I see in my phone (I have actually three Google accounts).

I guess (did not try it) that if the default storage location is a Google account, and it is removed, the default changes automatically.
So your current setting would be probably not indicative of what it was before.
The best way to check that is entering her gmail account in a web browser, and see if the contacts you added are there.

Do I have to manually re-enter them,

If they went to her Google account, you have several options to avoid manually re-entering them. Depending on the number of such contacts, the economics equation on what is most convenient may vary.

You can take advantage of Contacts -> Three dots menu -> Manage contacts -> Import/Export contacts.
I have used that to transfer csv-formatted contacts list from an iPhone to Samsung, avoiding any additional app.

and if so, how can I be sure that they are being saved to my SIM card? (In case I ever get a new device, it would be nice to simply move the SIM card and keep the contacts.)

See above.

Plus #1:
You can use Contacts -> Three dots menu -> Settings -> Contacts to show.
You can select any contacts source to be used when showing contacts. You can even select a Custom combined list.
This is what have.
Then, whenever you change the source, you would be showing/hiding contacts, and that can tell you the location of each one.

Plus #2:
Whenever I Edit a contact, at the top of the screen I see the source of that Contact (Phone, Google, Skype, WhatsApp, etc.)
You should have to tell first the appropriate contact display list as in Plus #1.

The "read only" contacts are a good mix of ones I want to delete and ones I need to edit (fix misspelled names, add new numbers). How do I manage them? If she un-linked her accounts, why are these "read-only things" still there?

Not sure. Never faced this, but I found a variety of culprit sources of Read-only contacts out there, and correspondingly different solutions.
E.g.
https://www.quora.com/How-do-I-delete-read-only-contacts-from-my-Moto-G2

Thanks, sancho.s! That was very detailed and helpful (at least the bits I understood... I think you over-estimated my tech-savvy when you got to importing csv-stuff). I set up a gmail account so the android would work properly. Now when I add a new contact it asks me whether I want to save it to the phone or to the google account. Since I intend to use the phone mostly offline, I'll save to the phone. Before I go to that effort, should I do a factory data reset? I think that would wipe any vestiges of settings, contacts, and accounts from the phone's previous owner, and maybe give me a blank s

@Karen - It is hard to tell whether it is convenient to perform a reset. It would give you the convenience of a clean slate, but you would lose whatever you have there and is useful.


text:
How to set SELinux enforcing, config file not found?
I have Samsung Galaxy J7 Core (SM-J701F), I'm running Magisk on my device and I ran the SafteyNet test and it failed. While trying to solve this I tried to change selinux state to enforced by editing /etc/selinux.config. But when I opened the folder there was no such file!
When I run getenforce command it gives me "permissive". Is this a problem and how can I fix it?

Yes, permissive SELinux could be one of the reasons of failed SafetyNET test (1). So you need to set it enforcing. However Android uses a modified version of libselinux, not dependent on /etc/selinux/config (2). On Android SELinux is configured when building ROM, and enforced by init when booting ROM. However if you have root, you can use setenforce command (located under /system/bin) or write directly to Kernel Configuration File (/sys/fs/selinux/enforce). But make sure you have a working SE policy before enforcing, or you may get stuck.

Thank you for your answer, unfortunately I did a factory reset to solve this and then install everything as it was before and it's solved


text:
How can I weigh how useful a specific frequency that a network provides is?
I looked up the T-Mobile frequency chart,
Frequency bands
1900 MHz              2    4G LTE; 4G (HSPA+); 3G (UMTS/HSPA); 2G (GSM/GPRS/EDGE)

1700/2100 MHz (AWS)   4    4G LTE; 4G (HSPA+); 3G (UMTS/HSPA)
                      66   4G LTE

850 MHz               5    4G LTE

700 MHz               12   4G LTE
600 MHz               71   4G LTE

I'm evaluating a phone, the Huawei P20 Pro 128GB. This phone isn't sold by T-Mobile but it seems to mostly support the bands, however it's lacking support for Band 71.

How much service-degradation can I expect from lacking a specific band?
Is there any way to weigh the importance of those bands individually?

Making me even more curious, I'm currently using a Samsung S5 which was sold to me by T-Mobile, and it doesn't support 600 MHz -- maybe I'm missing out on a lot, maybe the 600 MHz band isn't actually used anywhere?

It is Mobile Service Provider Specific..
Some service providers May use the frequency and Others may not... It is usually Added so the device can be used with Many Service Providers.
In relation to Missing Out..
The Lower the Frequency, The Further it travels but also the Slower the internet..
The 600Mhz range is most likely Added for Rural area's that get little reception, the speed of the 600Mhz range is a lot Slower than the 800Mhz range, However 800Mhz will Not Travel as Far...
You ultimately are only loosing out on a Slow connection, but also one that travels further..
You will drop in and out of reception slightly More than a device that does support it !


text:
I uninstalled an app,but did not clear space
So i am using a Samsung Galaxy Tab 4 and i recently had this game called 'Bully:Scholarship Edition'(got tired a while of the GTAs) and i saw the app was having 5.30GB memory size
I tapped uninstall and the app,the obb(2.5GB) and the data are gone from my device,but i keep having only 500MB free
I do not have any cache to delete
I did restart my device a couple times
Nothing seems to work
Please help me if you can

Use an app like DiskInfo and identify the partition which has only 500MB free (and edit your question and add a screnshot of the partitions). Your device has multiple partitions and the deleted app may not had used space on every of the partitions.

Cleaning apps like Clean Master will find and get rid of residue files if there are any present on the device, you can then uninstall it when your done if you don't want all the advert notifications.


text:
Bricked the phone by wiping every partition in TWRP
My Redmi 5 plus won't boot as I messed up everything while trying to flash a couple of ROMs. At first the two ROMs that I flashed were working well. But after some time, whatever ROM I flashed, the phone started to restart while setting up the first boot (choosing language, region, etc.) and no further. So I tried wiping every partition there is under the TWRP wipe section (cache, system, vendor, data, internal storage, and so forth). Then flashed a custom ROM again with and without GApps but no success. I noticed that the phone even started to restart before the first boot finished. Also, after flashing stock ROM, TWRP said no OS installed. I even tried flashing stock MIUI ROM in fastboot mode. Although it went well, still bootloop and the device keeps restarting. However, before all of these problems, I did take a backup of every partition, leaving nothing behind, so I restored everything but again the "No OS installed, are you sure to boot?" message. Now I'm freaking out, not knowing what to do. I read somewhere that flashing via QPST tool may help but I'm having problems with installing it.

If I manage to make my phone work again, I will not flash any other
  ROM, ever.

Just a correction of terms: if you had really "bricked" your phone, it wouldn't boot at all (as a brick doesn't boot anything), see What does it mean to “brick” your phone? Apart from that: the "and so forth" details might give a clue. What else did you wipe? Cache and data is no issue. System isn't if you flash a fresh ROM afterwards. Not sure about vendor – but what else? Like, modem? Obviously not boot or recovery from what you describe.


text:
How to move data between 2 Android phones?
I'm trying to move data from a Pixel3 to a Pixel1.
Bluetooth
I am able to pair the devices, but for some reason they are disconnected as soon as I switch to another app (to a Files app to copy data). I'm not seeing any errors.
USB
I am able to connect the devices via USB, but only one way! So I can move data from Pixel1 to Pixel3, but I'm not able to move data from Pixel3 to Pixel1. In settings there is a "USB controlled by..." switch, but when I press it, it tries to switch for 10 seconds and then times out. Again, no error message to tell me what went wrong.
Surely there must be a way to move data between 2 Android phones? I don't want to use a computer/cloud as an intermediary step.

What data we are talking about here? Images videos and documents? However if it is large chunk of data I'd avoid Bluetooth since I find it blantly slow. Try using WiFi direct maybe?

Small data, 2FA secrets.

I doubt that you can move 2FA secrets from one device to another. Those secrets are designed to remain on the device to avoid theft. If you want to use them on a second device use the backup codes/recovery keys and re-register your services.

Some 2FA apps allow you to backup/restore secrets.

For the first question, where you did connect between two devices?
It's highly recommended you to build connection in Service as it can be run in background for long time.
If you're connecting two devices simply in Activity then when it's being paused or destroyed, Your connection will be destroyed either.

I paired the devices in Settings > Connections > Bluetooth. I haven't found any other way to make a Bluetooth pairing.

Are you a programmer? I thought you're coding a feature of connecting devices.

I am a programmer, but I'm not coding a feature to connecting devices. I just want to move data from one phone to another.

Well, If so, That's would be easy... There are many good apps in appstore... Just use apps to transfer your data... If you can't find a good one for your situation, I can make one for you or find one for you...

authors: Једноруки Крстивоје


text:
App to send commands over telnet?
I have a home appliance which I would like to control over TCP/IP - telnet - protocol. Do I need to design and program my own app for that or is there a shorter way to success? Some "universal remote control" with controls and buttons that I could bind to specific telnet commands to a pre-configured IP address?
I have some generic Android on the phone (it should work on my Android 9 and any number of versions that other household members have) and on the other side is an AV receiver with some proprietary software that understands commands sent over telnet (no SSH on that one). Since it's all on the home network, security is of a lesser concern.

Telnet is insecure, consider ssh. ssh also has more powers. And can you update the question, to tell us what you have (operating system) at each end of the connection.

Telnet is a simple protocol. You mostly just text over a TCP socket. So you need to open a TCP socket, then send lines of text to the device. I would prototype in python (on my desktop/laptop), then move it to termux (a Gnu/Linux environment (app), for android), then add a button (using the termux button extension). Then (maybe) write a native app.


text:
How to prevent apps auto-reinstalling?
Almost every time I connect my phone to my PC apps auto-reinstall in the background. I say "auto-reinstall" rather than "auto-update" because the versions aren't changing.
Auto-update is disabled but logcat indicates the apps are being auto-updated:
root@android:/ # logcat -v long *:V | grep -C 1 "Requesting install"

[ 05-05 13:30:27.732  5687: 5687 I/Finsky   ]
[1] khl.a(2): Requesting install request=package_name=com.example.app, version=123, priority=3,reason=auto_update, account_name=[xxxxxxxxxxxxxxxxxxxxxxxxxxx], type=0, constraints=((REQ_CHARGING, REQ_GEARHEAD_PROJECTION_OFF, NETWORK=UNMETERED, PROVISIONING_STATE=PROVISIONED, ),)

Why does this happen? How do I stop it?

This is hardly a satisfactory solution, but I've taken to freezing the Google Play Store app (pm disable com.android.vending) except for when I explicitly need to use it (I also use Yalp Store and APKGrabber for updating apps).

+1 I followed same route after I couldn't bear the annoyances from Google play :)


text:
Stop Google Photos app from deleting a local album
I have a lot of cool projects which I like to show off when I am on the road. On my phone, I have a 'demo' album created in Google photos.
This is the single most used album on my phone, which I generally show off once per week.
The app continually deletes the local cached copies, meaning that each time I try to open my demo album, it needs to download the media from remote.
My phone has 128GB of storage, and have >100GB free.
How can I stop the Google Photos app from erroneously deleting local media?

One option is to individually open the photos and on the options menu choose "Save to Device". This creates a copy of the photo on your device and will be stored locally for a while longer.
Another would be to visit photos.google.com on a Chrome browser, and then select the photos and download to device.
The cached photos within the Google Photos app will not stick around for long. So it's better to have the relevant photos saved to device.


text:
Increase internal memory of Samsung J2 prime
I bought Samsung J2 prime phone. Some details of that phone as follows.
Model - SM -G532G
Android version - 6.0.1
I heard that earlier it came with good feature that allow us to format external SD card as internal storage.
I tried to format my new SD card as internal storage. But it does not give that option in my phone.
Is there anyone who has similar experience to solve this problem?
Thanks

AFAIK adaptive storage for some Samsung models are not available.

Try formatting the sd card as ext2, default sd card storage type is fat32 i think?, the android may not recognize it as a usable sd card, now a notification may appear saying : (SD CARD NAME) is not recognizable, it need to format or something close to that, a option may appear: Format as INTERNAL STORAGE and Format as PORTABLE STORAGE, pick the "Format as INTERNAL STORAGE"
EDIT: I think your android was flashed because of bootloops, i dunno?, It remove the option to format as internal storage

It only show "Format as PORTABLE STORAGE" option.

I formatted it in ubuntu using gparted.

Hmm, strange i have phone that have a 6.0,  it gives me an option that i can format as internal storage, well your phone doesn't support it

I found this article which gives steps to fix this problem. Do you have any idea on this? https://www.techinvade.com/fix-bricked-samsung-galaxy-j2-prime-unroot-stock-rom/#_Fixing_BootLoop_Problem_In_Samsung_Galaxy_J2_Prime_After_Flashing_Stock_ROMFirmware .  Still I haven't tried this yet.

Hey is the problem is now solved? if no i've watch some dude enabling it using ADB it might be helpful to you or others, here's the link: https://www.youtube.com/watch?v=g8j6j__0jxs


text:
What internet browsers are able to provide text wrapping (fitting the screen) when zooming (beside Opera)?
I am not sure I am using the proper terms, therefore I will exemplify them with screenshots. Please help me improve my terminology if I am wrong.
(I'm not sure Browser which always allows scale/zoom? is about the same topic, as I don't grasp the meaning of terms like " viewport metatag parameters user-scalable" and "meta viewport tag".)

Taking a Wikipedia page:

Simply zooming it - whether with forced zoom enabled or not - would give this (like in Chrome), where the font size appears larger but the text body is not seen in its entirety, as it doesn't fit the screen:

while what I would like to see would be this - what I call text fit or text wrap, where the font is enlarged without losing the entirety of the text body, which in this case fits the screen:

I know this is available in Opera. I would like to know what other browsers have this feature.

Re: migration flag, questions cannot be migrated after 60 days even by mods. Feel free to repost it on [Softwarerecs.se]

I will also try to answer my question - and update the answer if possible.

Beside Opera, which seems to provide this by default, I have seen this working in the Yandex browser, but not by default. I has to be enabled under Settings - Text zoom and auto-fit. (It also has a feature that I personally like, of sliding horizontally across the scren to switch tabs.)

UC Browser has this text-fitting feature by default. (Another interesting feature it has is that sliding horizontally across the screen would navigate within the same tab to previously visited pages: left-to-right=Go back one page; righ-to-left=Go forward one page.)

Samsung Internet Browser does it too, but the font size has to be set manually in settings (it won't re-fit the page by simply zooming).


text:
Is speed improvement to be expected from rooting/modding a Samsung Galaxy Player 4.2 YP-GI1
I have an old Samsung Galaxy Player 4.2 YP-GI1 lying around and would like to use it either as a media player or a media center remote. However even after a factory reset the device or the UI reacts like a slug. There is some bloatware on it some of which can apparently not be deactivated.
Will rooting and throwing something like the Ethereal ROM on it (as listed here: https://forum.xda-developers.com/showthread.php?t=1720457 ) considerably improve its performance?
I am asking because I tried SuperOneClick and it does not work. I guess it is not worth the time and effort if I can not expect better performance. What are your thoughts?

Gaining ROOT Access will not impact performance at all...
It is what you do to Tweak the performance After Gaining Root that will have a drastic effect on performance..
But Always Remember that Performance and Power Consumption come Hand in Hand..
The Higher the Performance m, The quicker the power drain ... The Sloweemr the Performance The Slower the Drain...
It is why many people UnderClock their devices, rather than OverClock...
That being said, Yes you can expect some Performance enhancements with the correct Tweaks....
For example,
Using a Popular Benchmark software, i was able to get a performance increase of about 500% ..
 .
The initial device at Factor specifications gave me 1/ 5th of the Benchmark from a Tweaked device...
The most effective twaeks are adding difference props inside the Build.prop file under /system
 .Of course /system is not available to edit without Root Access.

To have a less slugish experience Without using root access, i suggest the following tweaks.

Remove BloatWare

Apps you don't ever plan to use.

Disable Apps that Can not be removed
Open Storage Settings, and Click on Caches

Clear your App Caches

Clear your Browser Cookies

This one is a bit strange, but it works on many device's.

Disable Animations in Development Options

Android displays Animations every single time you open or close something, this can Add up to 4 years of someone's life just waiting for Animations, it takes a lot of resources to load the animations and that drastically effects battery life and performance.

I've added some example screenshots of disabling Animations below.

Thank you for your thoughts and time. Of course I did not expect an improvement from rooting in itself. My hope is that a custom ROM (or the changes you suggest) make the device usable = less sluggish. Power consumption is already a problem, as even a (supposedly) new battery I bought will be drained within less than a day even if I do not touch/use the thing at all. But as a media player it will be used stationary so power consumption won't be a major problem. However, with SuperOneClick failing I currently have no hope at all.

Yes you can make many speed improvements after you have gained access to RW the system, you can remove the BloatWare, that in itself will significantly improve performance..  For a nice trick to improve User Interface performance is to Turn OFF Animations all together... You need to enable development options to get access to the Animation settings .... To enable Development Options, go into your settings application and look for the About section, when you find About, ooen it and Tap on Build Number 7 Times ...

Ill update the answer.

Thanks a lot. No luck on the Developer options front, though: This is still Android 2.3.6 and activating USB debugging is more or less all I can do.

Android 2.3.6 is very easy to gain root access using just an application on the device itself.


text:
Low storage and Play Store problems after factory reset
After I did a factory reset (twice; once through settings, once through recovery mode by clearing eMMC), I got a "low storage space" error. I can't get rid out of it - tried clearing cache and uninstalling every pre-installed app I could.
It's a generic Android device from Amazon (China) for $40, so of course, it reports tons of free space.
The main problem is that I can't install any apps. Google Play doesn't update. From the old store, I can't install anything, error 504. Installation of .apk's fails too, for an unknown reason.
Something weird happens that I can't understand: after a while, when I try to open Google Play Store, it says "app isn't installed". More curiously, restarting fixes the issue!
TL;DR I want to be able to at least install apps. The main issue is low storage. Factory reset doesn't work.

Where does internal storage point? Also, what Android version? Oops, 2019. Muh bad

If you have a SD card slot you could format a storage card to the phone and configure that card to be your default for app storage. That could give you a better platform to start downloading the apps to your phone.


text:
How can I prevent unrecoverable photo deletions on Android without a cloud service?
I don't want to set up Google photos to back up to the cloud for privacy reasons.
Recently I noticed that with the default Android camera app, and the default Google Photos app, the "Trash" is only used if you have the app set up to sync with your cloud service.
This means that any photo that's deleted from the camera roll—for example, by swiping from the camera to view the photos just taken, and then swiping down—is immediately unrecoverable.  (There is an "undo" button briefly visible, and that's all.)
By contrast, in iOS (which my family members are more used to), any photo that you delete will go to the "Trash" where it will only be actually removed after 30 days, giving plenty of time to recover from any accidents or mistakes.  (And in iOS, this feature doesn't require iCloud use at all.)
How can I set up my Android devices to mimic this functionality, so that photos deleted from the camera roll, or from the photos app, are still preserved for an additional 30 days unless special action is taken?
(I'm running a Nexus 7 with Android 6.0.1, but we have a couple other Android devices in the house that I would probably apply the answers to if I can.)

Is there a reason you want to use Google Photos app when you don't  want to sync your photos? There are plenty of aesthetically and functionally superior  gallery apps in Play Store which offer trash feature. For the Camera, I suppose you either switch to a camera app which offers trash feature, or, you setup an automation app which copies the image, the moment it is captured, to a certain location other than default DCIM folder.

You need to install a separate app to get this functionality. Since you don't want to use cloud services, this app can help you recover your deleted photos: https://play.google.com/store/apps/details?id=com.baloota.dumpster&hl=en

You need a Recycling Bin Application..
IOS uses a Recycling Bin, similar to that of a PC..
Android has no such features..
You can download applications that allow you to use the Share function to Send files to a Recycling Bin...


text:
How can I delete all mail from gmail stored on my Android device?
There seems to be quite a lot of similar questions but I haven't found one which covers my situation.
I have an android device on loan to do some development testing and at some point I opened the standard Mail account and connected to my Gmail account.
Obviously all my mail was synced.
Now I need to return the device and I have set Aeroplane mode to avoid any further access to my WiFi.
However, when I run the Mail app all my previously synced emails are there, obviously stored somewhere on the device.
I need a way of deleting all those emails from the device only.
Maybe deleting a file somewhere on the device or something else ?

Have you already tried to delete the cache and data of the Mail app? Also remove the Gmail account from the Settings. Settings -> Accounts. You could also reset the phone to factory default if possible

1st check if your device is encrypted: https://android.stackexchange.com/a/188948/2241 If yes, remove all accounts in the Android settings, delete all folders on the sd-card section, perform a factory reset and you are done.

Gmail account is directly linked to the internet and stores few bits of data onto the device. Even if you are not connected to the internet, the data will stay on your device. Logging out of the Google device will remove your preferences or settings, but the data can on your device is still visible. To remove the data, you need to do a factory reset, which will wipe out the entire data (including your internal memory file).
This can be done in two ways, reboot from settings, Settings --> system or about phone --> reset --> factory reset.
Or manually by switching off the phone, and then pressing power and volume down button simultaneously. You can find more information here https://www.androidcentral.com/how-factory-reset-android-phone


text:
Sometimes Widget not working
(Using Google Translator)
There is a phenomenon that the widget can not run under certain circumstances. Even Preview is invisible.
At first, it occurred at the terminal of Galaxy S9 or more, and now it happens irregularly. I've been wondering if it's a version issue, but it works fine on my phone and other test phones. It does not seem to be a version issue.
If you have any experience or have a solution, please help me.

https://play.google.com/apps/publish/?hl=ko&account=7226599195870275510#AppDashboardPlace:p=com.guninnuri.guninday&appid=4974106757050605516

Are you the developer of this app?


text:
Whatsapp workaround?
What I have:
- I don't want to install Whatsapp on my phone because I don't want it to access my personal data.
- There's an organisation that requires me to use Whatsapp to communicate with them.
- These two statements are mutually exclusive....
What I want:
- Is there any way for me to use Whatsapp without installing it on my phone? (I already have a Whatsapp user account.)
- Alternatively, is there a way to install and use Whatsapp without giving it access to all my data? (Contacts, calendar, camera, photos, etc etc.) I use Android 7.1.2 because there's no newer ROM for my phone.
I realize this might be offensive to some users ("use it or don't!") but please look past that. I'm trying to satisfy competing demands here.
Update:

I had another go at this. Installed the app again, did not give contacts permissions (or any other), and the app starts okay (on iOS it flatly refuses to start, so at least this is better on Android).
I cannot create a new message though. When I touch the "new message" button, I get a popup to share my contacts. No! This is not going to happen.
It won't let me just type in a phone number and send to that user. (This is allowed in Signal, for instance.)

It is possible to block those details from being shared with Whatsapp using this app, but I am uncertain whether Whatsapp would work. You can try and see for yourself.

@Firelord WhatsApp works if reading Contacts is denied using AppOps or XPrivacyLua.

Another way could be to run WhatsApp in another Work Profile / User Account using some app like Shelter. This way storage will also be isolated.

You can disable the permission given to WhatsApp from setting --> Apps and notification --> App info --> Whatsapp --> Permissions and then turn off the permissions which you don't want to share. Whatsapp needs a valid sim card to run which can be used on phone or desktop only. Hence, you can run Whatsapp on desktop having a sim card option.

Thanks - but if I don't grant the contacts permission then the app refuses to start. If I leave it on even just once, the contacts data is taken.

Hey, I just tried doing this thing and for me, the app still works. It does not show the name of the person but the app still works.


text:
Risks of removing the stock browser on LineageOS
I would like to get rid of the stock browser (org.lineageos.jelly) on my phone that runs LineageOS. Other threads and sites already go into the details of removing pre-installed apps with/without root but I am wondering if there are any risks of removing the browser in particular? For instance, is the Android System WebView implementation in any way tied to the stock browser? (I'd still want to be able to use apps that use WebView.) More generally, is there anything else I'd affect by removing the stock browser?

Installing aroma variant gapps of opengapps.org will overwrites with current AOSP/Lineage stock apps with that of Google's. That means default dialer will change to google phone, browser will change to chrome. etc

That's good to know. However, I'm not using gapps at all, so in my case that wouldn't be an issue.

On the Developer settings page you can change the app that provides the WebView implementation. Apps that can provide the WebView is e.g. Google Chrome (can be installed from Play Store).

Does your comment imply that the stock browser indeed contains the WebView implementation? As for installing a different browser like Chrome, that's not an option in my case because I don't want to have any browser on this particular device. (Don't want any distractions etc.) As an alternative to Chrome, wouldn't it be possible to merely install Android System WebView from the Play Store as a standalone application or would this include a browser, too?

As for the developer settings, that's indeed how I realized that I might remove WebView if I remove the stock browser. :)

As a follow-up to my other comment: I just installed the PlayStore version of System WebView and it indeed shows up as a separate option in the developer settings and does not include a browser. So I suppose indirectly removing WebView by removing the stock browser is not an issue as it can always be reinstalled separately.

The System Webview app is outdated technology from Android 5.x. Currently it is AFAIK still supported by Google but in general it would recommend not to use it anymore. It has been replaced by the WebView implementation from the selected web browser app.

That's good to know, thank you! By "selected web browser app" do you mean the default browser? Also, I suppose that means I have to have a browser installed if I want WebView to work?

On a different note, I just removed the Jelly browser but the Android System WebView entry in the developer settings is still there, so I suppose WebView is not tied to the Jelly.apk.

I ended up going ahead and just removed the Jelly browser – initially manually by using TWRP's file manager and later – since it came back when I updated the system afterwards (duh) – using a handy flashable zip that I got from LOSdiet. So far, so good. Everything seems to work fine.
As for WebView, the Android System WebView entry in the developer settings is still there, so I suppose WebView is not tied to the Jelly.apk. Indeed, the LOSdiet site github.io page as well as the old CyanogenMod "barebones" wiki page indicate that the default (pre-installed) WebView is a separate .apk.

+1 for the testing. As you noticed, the browser is a separate app and it's installed anew every time you update your system. To avoid that, you can either create an addon.d script that removes the app after each update or, if you use Magisk, pick the Debloater module.

Yup, that's exactly what the LOSdiet zip does – it installs an addon.d script that makes sure Jelly is gone upon every boot-up.


text:
Google Photos will not backup
I have a Samsung Galaxy Note 8 running Android 9 and One UI. Google Photos will not back up anything.
All I am getting as a Getting ready to back up and 185 items left perpetual spinner at the top of the app. When I attempt to manually back up a single photo or a group of photos, I receive the message Will upload when connected to Wi-Fi.
I have unlimited data and am perfectly happy with it backing up over my cellular data connection. However, going into Settings->Back up & sync->Cellular Data Back Up, I see that both Photos and Videos are enabled. So it should be backing up over cellular data. But it's not.
What am I missing?

App up-to-date? Have you tried force closing and trying again? Have you tried rebooting the phone and trying again?

Thanks for replying. I have just tried a force-stop on the app with no success. Following that, I have also just rebooted the phone and the issue persists. This has actually been a problem that I've been dealing with for probably as long as I've owned the device (which is over 1.5 years now) but has not been a high priority until recently.

I was able to finally get Google Photos to back everything up. It's not a perfect solution, but it does seem to work for now.
Uninstall / Reinstall.
I just completely uninstalled the app, then immediately reinstalled it from the Google Play store. One of the first things it asked about in its "first-time setup" procedure was whether or not I wanted it to backup my files over cellular data. It defaults to "Wi-Fi only", but I changed it so it would back up on both Wi-Fi and cellular data.
After going through the rest of the "first-time setup" prompts, it began backing everything up, as well as giving me a "clean up ### MB of files" option. I chose that because, why not? I noticed that it did go ahead and back up all of my photos, but the spinner kept running at the top of the app, saying 285 items left (I'm not sure of the exact number) and appeared to be stuck at that.
I decided to let it go and see if it would eventually get through them all anyway. Hours later, I saw that it was on 162 items left. Finally, hours after that, I got the much-sought-after cloud-with-a-checkmark icon. It had finished backing them all up.
Perhaps it got stuck on some long video files or burst-shot photos—I don't know. In any case, I think the uninstall / reinstall procedure is what did the trick for me.

Always appreciate a user who finds an answer and explains it, instead of leaving us all hanging


text:
Update a rooted Android phone from 4.4 to newer version
I have a rooted sony xperia Z2 with Android 4.4.4
Is it possible to update the phone to a newer Android version and still have root permissions?

You are a bit late. LineageOS had images for the Z2 (Sirius), however they stopped support for that device: https://forum.xda-developers.com/xperia-z2/development/rom-lineage-os-xperia-z2-sirius-t3700292

But they should be still working right?

If you are luck, yes. But I assume you will find only nightly builds, therefore the images you can find are mostly untested any may contain bugs.

You can definitely get a newer Android version, and i suggest you Do it Regardless of the Minor Bugs...
Major Bugs are a different story, but for Minor Bugs... The added Security of even Android 5.0 will be a vast improvement over Android 4.4
To make sure that you dont already have an Official OTA ( Over The Air ) Update...
Go to
• Settings
• About
• Software Updates
And try a Update in the Settings,
If your Update Application returns that you have the Latest update, you need to do the Update by Installing a Custom Recovery & Firmware..
I looked around and found a lot of Stable options for your Model...
Official Resurrection Remix - Nougat Based
This is an official build of Resurrection remix based on Android 7 ... That is already jumping a few upgrades !
Have a look around for some Stable & Daily Use builds....

Thanks for this Answere. I didnt do a official Update because it would remove the root permissions or am I wrong?
And I already found this custom rom and it sounds like the best solution even with Android 8.1.0 but I still need to get the steps right for the Installation ^^. It says Beta Version but no bugs are listed so I guess its not so bad.


text:
Delete mobile data using Root
I'm looking for the right Android files I can delete to completely disable mobile data
I have an open root (Android 4.1.2)
I'm not looking to do using APN or other solutions, but by deleting the appropriate files
I'd be happy to get help, or appropriate links to look at.
I have already searched Google and found no suitable answer

Only if you have backup of /system and possibility of restoring it in case it is soft bricked: each service in android os is like an app, just playing around with, delete some apks from /system/app. Maybe CarrierConfig.apk or SettingsProvider.apk

delete /system/etc/apns-conf.xml

and /system/app/telephony


text:
How can I view Wi-Fi connection history?
I want to view wi-fi connection history on my Android phone. Specifically, I want to know which networks the phones was connected to & disconnected from & when.
Edit: My phone is a Nexus 5x (OS is flexible) but I'm interested in this answer for any phone/OS that there's a solution to.

I've tried "adb logcat -v threadtime ConnectivityService:* *s" but am not quite getting what I'm looking for

To my knowledge, Android does not log any of that information outside of the normal logcat, if you are not getting the information you need from there, you likely won't get it.

I may be getting the correct information from logcat, but it's dumping so much data that I can't find what I'm looking for. Any suggestions? I tried searching for the wifi connection name that I connected to in the logs but didn't get any results.


text:
While pushing to git using Termux, it crashes while compressing files
I am pushing large number of files to git from android using Terrmux.
git push origin master

There is no issue pushing up to 40 files of around 1.5 MB. But when number of files is larger, Termux simply crashes while compressing the files.
Any Idea how can this be avoided?

It is possible that you don't have enough free disk space for the compression.
(Termux resides in the local storage and not on the SD card, so you'd need to check your device's free space.)

This can be a network throughput issue as well.  When you state simply crashes while compressing do you mean git  in Termux or the Termux app?  What is the output of the crash?


text:
Sign out from remote Android's Gmail
Last week I lost my phone, so I borrowed a phone from a friend.
The phone already add the Gmail app with my friend's Gmail account (a Gmail account that my friend does not care much about so there was no privacy issue). I added my Gmail account into the app so that I could check my emails.
Problem: I had to take a plane in a rush and forgot to sign out from my Google account on that phone.
Question: How do I sign out myself?

I could just ask my friend, but I would prefer something more reliable (and that does not trigger their curiosity).
On a desktop computer I clicked "Details" then "Sign out all other Gmail web sessions", but it only says "web" so that probably does not sign out mobile sessions? By the way, my friend's device does not show up in this list.
On a desktop computer I changed my password, but that did not sign me out of Gmail on my own phone (yes I found it back!), so I guess that does not sign me out of Gmail on my friend's phone either?

At https://myaccount.google.com/security "Your devices" still shows my friend's phone (screenshot on Firefox 66.0.3 JavaScript enabled addons disabled):

The date and time shown in the screenshot above is well after I left. The "Lost this device?" page only gives useless advice such as "Try calling your phone" or "Reach out to your carrier", with no button to remove that session.

You can manage all devices on the Device Activity web page:

Expand the entry of your lost device and you will get a button for "Remove account access."

That's precisely the entry shown by my question's screenshot. As you can see, I get no "Remove account access" button.

@Nicolas I added a screenshot how it looks in my browser. I have the REMOVE button for ever Android device. May be it is a web browser problem? The screenshot is from latest Firefox with JavaScript enabled, no plugins/addons installed. Or it means that the account was already removed from the device.


text:
Mirroring application screen using Miracast
How do I cast only an application and not whole screen when connected to miracast?

Miracast is a technology to mirror your screen. AFAIK a restriction to a single app is not supported.

Put the phone in expanded/immersive mode and enable screen pinning. There you go. I agree with Robert though.


text:
Determine if a Google Play app requires Google Play services?
How do I determine if a Google Play app requires Google Play Services? Or does every app listed on Google Play require it?

You can use Aurora Store for this. It is a libre app which et al list trackers in the app; whether it shows ad;a and whether the app uses Google Play Services as a dependency or not.

If an app requires Google Play Services, then as soon as you open the app, you will be warned that you can't run the app unless you have Google Play Services or in better cases, that you will have limited functionality or that you may encounter unintended behaviour. Not all Google Play apps require Google Play Services.

https://play.google.com/store/apps/details?id=io.yuka.android requires Google Play Services but when running it under Lineage OS with Android 13 there isn't such warning.


text:
Mobile video player in Chrome doesn't work on certain site
I have a problem with build-in video player in Chrome.
For such sites, as  m.youtube.com  it's work correctly and looks like this:

It worked for site yummyanime.club as too.
But some days ago video player suddenly stopped working on this site in Chrome and other browsers. Instead, the video is played in the same player as on the computer (although I use a mobile version of the site). It looks like this:

Player stopped working only on this site.
It is inconvenient player on my phone. I want to use a player like in the first screenshot. I was surprised when I opened this site on my other old phone, and there this mobile player works:

In short, the problem is this: the mobile video player suddenly stopped working on a certain site on my new phone. This is a problem for all browsers. But on my old phone, everything works fine.
About system in old(correctly work) and new phone(have bug) accordingly:

So, main question is how to fix this problem and enable mobile video player on my new phone? But I will be grateful for any information about this: how this mobile player work, does it have any settings, related links and so on.


text:
How do I reduce WeChat storage size on Android?
Wechat takes up a huge amount of storage space on my phone (Moto G5 plus). Almost all of it is due to the Wechat cache (which has ballooned to 11gb) but neither the app nor my phone settings allow me to clear the Wechat cache. When I use File Manager to open the Tencent-Micromsg-xlog folders, I see that a lot of space is taken up by files like MM_20190420.xlog or MM_20190430.xlog. What are these? Can I delete them to free up space? Otherwise, how do I clear my wechat cache? Thanks!

Select "Me" on bottom panel. Then Settings > General > Manage Storage. For the cache, I have a "Clear" button on the this screen and was able to clear the cache by pressing it.
On this screen, can also press "Manage" which brings up another screen where you can select conversations from which to remove all pics, videos, and attached files. Text msgs are kept. Don't know about audio msgs. After pressing orange "Delete" button on my version a warning window popped up telling you what's about to deleted and asking for confirmation.

I tried deleted the xlog folders, nothing happen, looked safe, but over time it will built up again, so I keep deleting them from time to time.