text:
Does google contact sync also sync the sim card or does it just sync the contacts stored on the phone?
So I have this old Galaxy S5 phone that that I'm upgrading to a samsung a51, and I'm also getting a new SIM card that keeps the phone number but doesn't keep the contacts. Do i need to do something extra or does it just work? Or should I use Samsung smart switch?

Google Contacts is just one of the contact source and it isn't related to SIM contacts at all. It is the Contacts app that is responsible for importing and managing contacts from multiple contact sources like SIM card, Google Contacts, etc. However, I don't have experience with Samsung Smart Switch, so I can't really comment on it.

Like the comments by Andrew T said, you have a few storage options:

SIM card.
Phone.
Google account.

During the saving of the contact, it should give you the option to choose, or there should be a default setting.


text:
Remove Samsung Tab S3 SetupWizard Message 'Activation Incomplete' for Verizon service
I just purchased a used Samsung Tab S3 which comes with Verizon network capabilities. I don't want to use cell capabilities, just Wifi.
After setup, on the lock screen and in the notification center is a message from "Setup Wizard" that says "Activation Incomplete" and to call Verizon support to activate the device (which I don't want to do).
Is there a way to remove this message without calling Verizon?

Have you removed the SIM card? Alternatively have you seen: How do I bypass the Verizon activation on a Samsung Fascinate?

I did see that post about bypassing activation, but that's during initial setup, which I'm well past. I tried removing the SIM card and now the notification has changed to "No SIM card inserted", which also won't go away.

Here's an incomplete solution, since the notification itself says "These notifications can't be turned off":

Touch and hold on the notification in the notifications dropdown
Tap "Details"
When "System UI" opens under "App notifications" in Settings, it will briefly flash the "Ongoing" section
Tap the "Ongoing" section
Tap "Notification Style"
Tap "Silent and minimized"
Tap "App icon badges" to turn the switch off

This makes the notification much smaller in the notification dropdown, and doesn't show the icon in the notification bar
This works as of 2020-04-24 13:20 CDT on Android 9

source: Stack Exchange

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

sort: votes


text:
Stuck on logo during Android-x86 boot
I'm trying to install Android-x86 on USB for my new HP laptop. I have followed the instructions on Android-x86.org. My issue is that after the initial install, it never boots again, it just gets stuck on the Android logo.
I have seen a few posts such as this answer:

when you change the internal frame where the UEFI firmware settings to the EFI framework setting change the boot order you have to make a small partition for grub go back and change it back otherwise it won't boot the second time

but unsure of how to do this.
I have also seen this answer:

In boot menu select Installation - Install Android-x86 to harddisk
In Choose Partition menu select Create/Modify partitions
In Do you want to use GPT question select No
cfdisk program will open
Select New and select Primary as partition type, set size to 100 MB and select Beginning
Select bootable. Now the Flags column should say Boot for the new partition
Select the free space and select New and select Primary as partition type, leave size as default to fill the remaining free space
Select Write and type yes and press Enter
Select Quit

but I'm stuck in the fact when I click on create/modify on this, I get cgdisk not cfdisk, and it's not as easy to use. I don't know why this is happening. Before I realised what to do, I was accessing cfdisk, but now it's only cgdisk.
I have purchased 4 premium USB sticks just in case the issue was due to a bad USB, but it's not the case and I'm just so frustrated.
Any help at all would really be appreciated.

Sometimes, it takes a long time until you boot through the Android logo screen
You can try adding
nomodeset xforcevesa

to the boot options according to this video.
The video is created by me as a part of our free video tutorials service on demand. That means anyone can ask us for instruction in a video and we will create the tutorial for free.
The instructions are as follows:

After starting Android, select the first boot option and don't press enter.
Select E.
Select E again.
Now move the cursor left, by pressing the left key until you reach the word quiet.
Replace quiet with nomodeset xforcevesa.
Press Enter.
Press B to boot this option.
Wait until Android loads, which may take a long time in some cases.

Please use the Auto installation option, if this is the only OS on your laptop.
Auto installation tutorial.
Instructions:

Thanks for getting back to me, i have tried auto installation before, straight to the usb but same thing happens, my laptop is remaining on windows, im just trying to make an android usb, and then can switch to which ever os i want.. in relation to above, how exactly to i add "nomodeset xfrocevesa" and where does it go.. thanks

Please provide a video or screenshots to exactly what you are doing. Its becomes harder to debug an issue remotely if we don't know the details.

ok so im really having issues, i have even tried a different rom, ie bliss os, but still same issues,  i install the image to usb, i have used rufus, as well as various others incase that didnt work, i then boot to uefi, and click to install to a 2nd usb.. i have tried to modify the usb stick 1st with cfdisk but for some reason this takes me to cgdisk which is not the same

how can i add photots or videos on this site to show what i have done, i do not see the icon to add them

You can upload a video or pictures at your favourite host(like Dropbox.com) and post the link here as a comment.

I've found something that might help you. I recently installed androidx86-9.0-rc1 as a dual boot (unlike you), and I too faced this same problem that it booted for the first time just fine but gets stuck in subsequent boots.
So I tried uninstalling and reinstalling it to see what's wrong and what I found that when I am on Windows and if I try to switch to already-installed androidx86 [by choosing restart option in Windows/by entering BIOS from Windows and then booting to androidx86], it gets stuck [and gets stuck in subsequent times too, once you did such].
So for this, you must boot to androidx86 directly after you power on your PC when it's initially shut down.
Supposedly you're on Windows, and say you want to switch to androidx86 [newly re-installed, not the one that got stuck], so don't restart Windows; just shut down the PC and power it on to boot to androidx86. Just note that this is my observation only for the dual-boot case,

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


text:
system ( com.Android google.com.gms ) share from gallery app suddenly stops working and crashes
there is a prominent gallery app that I am using  -f-stop .
been using it for very long time and never had this issue .
gallery app itself seems to be working but when I select more than one picture and invoke system share so I can   share  those with other apps like WhatsApp... everything crashes.
it gives me an option to view the  app log  crash in an email attachment, that it prepared to send to Google for feedback unfortunately selfish as it may sound, I cannot send that attachment to my email   It just directly sends it without even keeping a sent copy in my Gmail. using some kind of a hack I pulled up all that log info and I am putting it in  pastebin_with_crash_log_info
The relevant error is:
Caused by: android.content.res.Resources$NotFoundException: Resource ID #0x7f08007a
at android.content.res.ResourcesImpl.getValueForDensity(ResourcesImpl.java:246)
at android.content.res.Resources.getDrawableForDensity(Resources.java:905)
at android.content.res.Resources.getDrawableForDensity(Resources.java:880)
at com.android.internal.app.ResolverActivity$TargetPresentationGetter.loadIconFromResource(ResolverActivity.java:669)

here are the more relevant details
crashing system share app concerned is
com.Android google.com.gms

Source file
ResourcesImpl.java
Source class
android.content.res.ResourcesImpl
Source method
getValueForDensity
Line number
246

os details

magisk rooted Android q project treble ROM

I would assume that one of the installed apps that are listed in the shared apps list has a problem loading the app icon. Unfortunately the error log has no indicator which app icon fails to load. What apps have you recently installed or updated?

Is there any log related to ResolverActivity$TargetPresentationGetter.getLabel()? Based on the code, it should state the application name.

@Robert gotcha you nailed it ! yes indeed there was that one app that I actually installed offline from a SD card second partition and apparently the app had changed maybe that app could be a split kind of app. once I removed that we are good to go. if you post that comment as an answer I will accept it   thank you  stay home stay safe. let's all drive thru this dark fog  , into good sunlight and hopefully soon.!

is there any way I can control the the the system share app list I would like to trim that list and remove apps that are of no use and collapse WhatsApp menu at the same time also want to manually add in that list certain apps that don't auto. show up in system share. I'd imagine the latter would be e difficult to accomplish just bi admin means. but is there something I can change in terms of app property file like manifest file to ensure that the app shows up in system share menu . would changing  config files as a root still cause  changes in apps signature &  other complications

Considering that the error seems to be that an icon can't be loaded I would assume the following:
The sharing menu shows a list of apps to share the selected content with. This list shows for each app it's app icon plus the app name.
It looks like one of the installed apps, that is shown in the sharing apps list, has a problem loading the app icon. Unfortunately the error log has no indicator which app icon fails to load.
Unless you recently installed a system update the problem is caused by one specific app that has been installed or updated recently recently.
Note: The sharing list is AFAIK automatically generated by the content type to be shared. Each app contains in it's manifest rules and content types it can accept. Upon installation these information is AFAIR copied into a central system-wide XML file (don't remember the exact file name). Hence by modifying this file it would be possible to remove certain apps from the sharing menu, however this XML file is updated/modified if you install or update an app. Hence the manual changes may be overwritten frequently (I never tried this therefore I don't have any experience how long a modification can last in this XML file).


text:
OTA update is not enter into recovery mode in android10
Created ota_v1.zip and ota_v2.zip.
Followed this script https://github.com/dpavlin/android-command-line/blob/master/adb-install-update.sh
My device not going recovery more, just device is reboot. I could not able to understand where did mistake.
I am trying understand , How to install OTA.zip file into my target device.
Thanks in advance. Refered https://source.android.com/devices/tech/ota/ab also.

Not clear which process you are following to create OTA update zip files (though it's development related). It looks you have a recent device with Android 10. Also the given reference is about OTA updates on A/B devices. And on A/B devices there is no recovery partition and hence no recovery mode. OTA updates take place on inactive slot while device is running.

Thanks for your reply @IrfanLatif. created ota.zip through(make otapackage -j8) command. I am trying understand How to do OTA update in Android 10 device.I have done posted experiment but not worked.


text:
LineageOS/OpenGApps refuse to install on SM-G901F
Very annoying.
I'm trying to install LineageOS on Samsung Galaxy S5 Plus (SM-G901F), which used to run with stock OS before.

I successfully installed TWRP
I backed up my partitions and wiped them
Downloaded Lineageos (lineage-16.0-20200416-nightly-kccat6-signed)
Downloaded Addonsu (addonsu-16.0-arm-signed)
Downloaded OpenGApps
Installation of all packages in one run seems to finish without problems.
When I start the system it takes half an hour to boot but eventually resets and boots into recovery. I never get to see more than the moving bubbles.

I tried the following OpenGApps-packages:

open_gapps-arm-9.0-aroma-20200418 (wouldn't even install)
open_gapps-arm-9.0-super-20200418
open_gapps-arm-9.0-stock-20200418

outcome is the same for all. I also tried without addonsu, but outcome was the same. Now, what are the next steps? Or what did I miss?

Is the storage of my phone too small?
Did I select wrong OS version?
does the opengapps version not match that of the OS?
Should I try without opengapps?

Update
Using nightly build 20200423 with opengapps-nano worked. But not with addonsu. Can I install addonsu later? Or does it suffer the same problem as opengapps that it can't be installed in a second run?

Just to make sure, are you following the official guide and tried 'nano' for OpenGApps instead?

Yes, followed official guide, tried also nano now. Same result.

If something does not work fall back to the bare minimum (LineageOS without su and GApps). You are using a nightly version - those versions can work but does not have to. Try a newer or older version (several days). Make sure you also wipe the data partition.

Ha! Installing the latest lineageos-version w/o additional stuff worked. I'm going to inch  forward. Thanks so far, I'm doing more tests and update either my question or report success.

Update: Installing with lineageos and opengapps w/o addonsu worked. I'll add that to the question.


text:
Disable touch screen while using scrcpy
I have a broken-screen, non-rooted Xiaomi Redmi Note 6 Pro that looks like this

and I'm experiencing a LOT of ghost touches (and the digitizer's gone).
I am using scrcpy to control it from my PC, so I want to disable the touchscreen because otherwise it interferes with my commands and does what it wants.
I don't want to detach the digitizer physically since I have no tools for opening my mobile and this one has to be opened from the screen, so I could damage it more.
How can I do it (possibly with ADB)?

scrcpy --turn-screen-off

So I fixed it the way it was suggested me by @rom1v scrcpy --turn-screen-off and works better than what I was expecting!

Coming back later, this works for the Note 9 Pro as well. Just make sure it is unlocked when you run the command and don't touch it afterwards.


text:
Reading system logcat using a script
Is it possible to read the android system logcat without connecting the device to the phone using an script or an application.
So i can further extract the data from logcat to my Machine learning model

Accessing the system logcat requires root permissions. Is your device rooted?

I can test it by rooting, but I need to run this app on others devices to collect data. Is there a work around to get this without rooting?

No. Because too many apps were snooping on system logcat (a lot of apps print sensitive info in logcat!) Google removed access to logcat from within an app (AFAIR that was introduced with Android 4.4?). Hence to bypass this you need root permissions.

@Robert Thanks that answers my question.


text:
How to remotely control Windows PC with Android?
Is there a way to remotely access my Windows PC with Android Phone and able to control it.
System Config: Windows 10, Model Lenovo

Android Config: Android 10, Poco X2

I want to access the PC by connecting different networks(I mean both are not connected to the same network)

A Windows Pro/Enterprise system can be controlled via RDP (have to be enabled on Windows). Besides that the standard screen-sharing systems like TeamViewer and so on are available as app for Android.

@Robert Could you please explain how windows can be controlled via RDP

@Robert I'm using Windows Enterprise

Just use Google for "RDP enable" and you are getting here: https://www.howtogeek.com/howto/windows-vista/turn-on-remote-desktop-in-windows-vista/ Note that you should not export TCP port 3389 to the Internet, otherwise hackers will try to break your username/password and take over your system.


text:
Connect to wired network in Lenovo Vibe K5 using USB to Ethernet Adapter via OTG
It is possible to connect to the Internet through a wired connection in my smartphone Lenovo Vibe K5? I've bought a USB to Ethernet Adapter, model HB-T80, to use in my Lenovo Vibe K5 smartphone with OTG adapter, to have a wired RJ45 connection. But it does not recognizes the network card.
Is Vibe k5 with Android 6.0 Marshmallow compatible with USB to Ethernet OTG Adapters (smartphone is OTG compatible) ? Is it necessary to install some drivers, or flash some kernel?

The device itself seem to support OTG but may be not USB-to-Ethernet adapters. A custom kernel may enable such devices, however we are talking about an Android 6 device. In your case I would install a complete custom ROM instead. Unfortunately LineageOS has already droppen support for your device, hence you can only use an unofficial custom ROM. https://forum.xda-developers.com/k5-plus/development

How to make Ethernet work on Android over OTG?


text:
Samsung - Update to Android 10 Changed Keyboard Layout
I received the Android 10 update for my Samsung phone. Unfortunately, this seems to have updated my keyboard layout by placing an ugly and almost empty bar at the bottom of my screen below the keyboard. There is a button on the left to select a specific keyboard and another on the right to hide the keyboard.

The problem is that I've already got muscle memory to hit the backspace at a specific place on the screen, but the changes have pushed everything upwards which prompts me to hit the new line/submit button instead. The same goes for almost any other key actually, but the former is the most irritating. I am also losing screen estate because of something that I would never use.
I can see an option in Settings -> General management -> Language and input -> On-screen keyboard that is titled "Show keyboard button" and is turned on but the slider is disabled and I can't turn it off.
Also, if it matters, I am using a third-party keyboard (neither the Google one nor the Samsung one). The bar is there regardless of the chosen keyboard though.
Any help on getting rid of the bar would be greatly appreciated.

This is caused by an option for navigation bar with full-screen gestures on Samsung devices with One UI 2.0 (Android 10). The setting can be accessed from Settings - Display - Navigation bar - Full screen gestures - Show button to hide keyboard
According to Gadget Hacks - Enable Android 10's New Gestures on Your Samsung Galaxy with One UI 2,

You can also enable the "Show button to hide keyboard" option so you can switch keyboards at any time when using these new gestures — the keyboard icon appears in the lower-right of the screen.
(Emphasized added)

Based on OP's observation, looks like this option is enabled by default after updating to Android 10.


text:
How to enable 'install unknown apps' on Samsung mobile device?
My Samsung device is running on Android 10, One UI 2.0. I want to install apps using apk file via non-official platforms (the app is not published on Google Play, Galaxy Store). But it won't let me.
Settings > Biometrics and security > Install unknown apps,
All the listed apps there (e.g. Google Chrome, File Manager) are disabled by default and greyed out, stating:

Installing apps from this source may put your phone and data at risk.

I googled a little, this forum discussed about the exactly same problem I am facing. One user there said that disabling admin apps can help. I went to
Settings > Biometrics and security > Other security settings > Device admin apps,
I see 5 listed apps (I think most Samsung device is sharing the same, except the Outlook's one because I installed Outlook).

I click into one, this shows up and 'deactivate' is greyed out as well. None of them can be deactivated.

I have absolutely no idea how to solve this. As previously when I was using Huawei device, I had no issue like this, system won't stop me from enable it. As far as I can tell from Google results, there are Samsung device users facing the exactly same issue. Official forum and YouTube are useless, solution given is just tell you where to find the settings, or just demonstrate you how to enable it without issue like this meanwhile under comment section people complaint about this issue, there was no solution. Send help. I apologize in advance if I posted the wrong question on the wrong forum category.

One UI 2.0 user, but rooted. Is your phone's work profile administrated by your employer, by chance?

Community bump prevention: this question was closed because the question seems to have been abandoned (question was migrated but OP didn't join the site and the existing answers has no votes). If anyone can evaluate the existing answers, feel free to vote accordingly and reopen the question (or mod-flag the question requesting for reopening). For anyone else having the same issue, please post a new question and refer to this question as additional context.

What worked 4 me once was sending the .apk file from an email app n opening it up there. Not sure why or how that happened


text:
Application Images
So I am creating this website for an app from Google Play and I am currently trying to find where it's storing the image files on my phone. I've tried to search it with FX file explorer and searched in /data/data and found the app but I'm not sure where to find the images. I know that some apps hide them as another file type so if anyone can help me with trying to get the images, the app is called PC Creator if you would like to try it yourself.

Does this answer your question? Where Android apps store data?

Welcome to Android Enthusiasts! It would help could you detail what images you are talking about – as the term is quite ambiguous: pictures a) contained in the app, b) downloaded, c) created by the app; d) AppImages in terms of a "bundled backup" of the app and its data; e-z) some other kind of image. As you didn't link the app, it's hard to see for oneself (you cannot expect potential answerers doing a web-search just to figure what you're asking ;)

Images are contained in the app
If the images are not downloaded they are contained in the app respectively it's APK file. You can download the APK file from your device (some file explorers allow to do so) or you can download it from an external source like ApkMirror, ApkPure, ...
Once you have downloaded the APK file you can simply unzip the APK file and then manually browser the directory structure or use your favorite file serach to to identify images and other useful files.
If you want to "dig deeper" (e.g. for extracting some string resources or other resources that are not directly accessible as a file within the APK file) you can decompile the APK using a tool like ApkTool (note Apktool is a Java tool and there requires an installed Java-runtime - JRE):
apktool d <path to the exported APK file>

You will get a directory containing thousands of files, containing the code, XML resources and images contained in the app.
Alternatively you can use a GUI program like Jadx (also needs Java, there is a version available that has an integrated JRE, hence does not require to download and install a Java run-time).
Using Jadx you can browse the path Resources/res/drawable* to view and save a contained image of the app.
Images are downloaded
If the images are downloaded while the app is running the are usually stored in the private app-data directory in /data/data/<app packagename>.
For more details on this topic see this question: Where Android apps store data?
To access this directory you need root permissions.
Searching for a specific file on-device especially if the file uses a wrong file extension or a different measure to hide it can be quite tedious. Therefore I would recommend to tar (tar is available on all Android devices by default) the whole directory, export it to a PC and there examine the content:
tar cvf /sdcard/app_data.tar /data/data/<app packagename>

Afterwards you can download the created tar file via adb (execute the command on your connected PC):
adb pull /sdcard/app_data.tar

As you are searching for images you may try to directly run photorecon the tar file. photorec does not care about file extensions it directly operates on the data, if the image is in a known format and not obfuscated on data level it will be able to find and extract it.

Apk files can be extracted using a zip explorer. Why would one need to decompile the app just to extract image files? Are they encoded too?

@IrfanLatif Of course you are absolutely right. Just unzipping is enough. Looks like I decompile Android apps way too often. For me decompiling became the standard for looking into an app.

As an addendum to your already excellent answer, I'd like to point out that file is usually able to guess common file types, as well.

@Grimoire using file or directly reading file signature works only if the app is saving files as normal image files (with or without extension). Carving methods like photorec also work if the app is obfuscating files by prepending some unknown signature, or by combining multiple image files to a blob which is recognizable only to the app itself. Data carving works - there are limitations though - even if there is no partition and no filesystem and the data is written directly to raw storage device.

@IrfanLatif Doesn't carving depend on e.g. magic bytes, or headers and footers being untouched?

@Grimoire correct. But carving can find out where a standard header begins, even if you prepend something to its beginning (not damaging the original header obviously). file utility depends on the existence of a FILE. It looks for signatures at fixed offsets only, won't carve through the whole file looking for signatures/headers. But there are conditions. A major factor is file fragmentation.

@IrfanLatif You learn something new every day, it seems. Thanks for the info!


text:
How do I correctly backup android apps with a PC for a factory reset?
I want to reset my phone. I want to preserve some apps state across the reset. I don't want to use third party software. Which folders do I have to copy?

Answer to "Which folders do I have to copy?": Where Android apps store data?. On restore you need to set proper UIDs/GIDs, permission modes and SELinux labels on all apps directories. For system and framework apps things are further complicated. Particularly related to content providers. Apps relying on android_id may also break after reset. App backup solutions (at least try to) take care of all of this.

If your device is not rooted you can only use adb backup.

In addition to Robert's suggestion, you can only backup those apps (through adb) which explicitly do not disallow backup (so, bye bye Firefox, Google Authenticator, etc.).

This question is not about where android stores data and not about fully backup the phone. I want to backup some decicated single apps, like terminus and whatsapp. So it is not a duplicate. These suggestions do not answer my question. If it works I guess Roberts comment comes the closest for now, but I had no time to check now.

Critical MediaTek rootkit affecting millions of Android devices has been out in the open for months depending on your chipset you can try to backup with mtk-su https://forum.xda-developers.com/showthread.php?t=3922213&page=101


text:
Bootloop Issue and how to fix them
I'm not good at english, but i'll trying
So, my problem is my phone with MT6737M chipset with 3.18.35 kernel version always bootloop when i run any task on TWRP (like installing zip or even backup) and can only be recovered using original system.img on sp flashtool, so i can't modify any systems on it. I trying to port some ROMs and convert it into system.img and flash it via sp flashtool but always bootloop (also convert original extracted Stock ROM to system.img to verify that converter works) but still bootloop (So, it can only be recovered by original system.img). how can i fix that?
edit : bootloop on my phone is just stuck on boot logo

@alecxs thank you, it worked when i flash zips with twrp, but how can i prevent stuck logo if i flashed custom system.img with sp flashtool?

and can i flash extracted system.img folder with flashable twrp zip for MT6737M?

Thanks for the informations, and i want to ask, how i can port ROM with same chipset and kernel? There are many custom roms available with MT6737M and 3.18.35 kernel but always bootloop, i already use [no-verity-opt-encrypt.zip] but same. it stuck on bootanimation. About converter, i don't use any commands. i use [IMG Converter v3.0.0] which in GUI mode not in cmd mode

3.18.35 is just the linux kernel version, that doesn't mean it's the same kernel. you can't flash ROM from other devices


text:
Tasker: Need help automating media activities
Poweramp is a popular media player.
I made a loop to check a few things:

If Poweramp is running
If a jack is plugged
If the volumes are according

Almost everything work, except Tasker doesn't seem to detect if Poweramp is running (even though there are explicit toasts of it).
No plugins on the market work either
My idea to overcome this is to read the toasts and see if the title (or anything) matches the string "Poweramp".
How to do this inside a task (not a profile) ?
I read some suggestions to use the %NTITLE var, or something, but it's confusing. No results on my attempts.
I also read about an AutoNotification plugin, but it's even more confusing...
(I have it installed, but out of the box tasker is prefferred)
Kindly change the example
 below with the solution, if there is:

This is a task, not a profile !
This is also a simplified version of my code

Label: Check
If (PlugConnected=1) //Global variable set elsewhere
  PerformTask: VolumesMedia
  If (%ntitle != Poweramp)
    Launch App: Poweramp
  Endif
  Wait 1 minute
  Goto: Label Check
Else
  PerformTask: VolumesNormal
  Kill App: Poweramp
Endif

Sometimes poweramp crashes, that's why I need a checkup loop. And other reasons.
Thank you ahead
More:
Everything above is a simplification of my situation. Out of curiosity:

Sometimes I plug via P2 connector, and most of the times, via bluetooth.
For either source there are different audio settings. There's also a third 'default' audio setting (tasks) that is triggered by other profiles (states and triggers) not related to media.
My bluetooths (car and home stereo) generally trigger a task, but sometimes it goes crazy, forcing me to create tasks and profiles beyond triggers only to ensure it is alive and breathing (redundancies)
There's a Profile that detects if an app is running (so much simple), but it's not detecting Poweramp, hence, another redundancy structure (task) I'm forced to create
There's a profile to turn off radios to spare energy, and it's intrinsically connected to the media...

So on.
Basically, this complex (but optimized) structure I have right now is the one I developed (over maybe a year) to circunvent glitches.
I could simplify so much more, but Tasker is very limited as I cannot make a profile call two tasks (I need to make tasks only to call other tasks. That's even ridiculous).
If I could program tasker as I program C, my god... (And I know only the basics of C). Suggestions accepted.

Why do you want to do this within a task and not using a profile with multiple conditions? Using a loop in a task is not exactly battery friendly.  Also, is the device rooted?

Rooted, yes. I made changes on the body to explain those details.

Been some time, but I'm still looking for tips on this.


text:
to identify these services after upg. to andr 10?
To all,
please tell me if this is relevant to the forum.
the problem:
I want to identify these services that appear after the upgrade to Android 10, in adjustments -> applications and notifications -> manager of permissions -> storage and other permissions. Some data:

model: Nokia 4,2
this model has the Android One distribution.

I didn't find anything in web search for this one:

QMMI

in the search there appear titles such as "hidden settings" or something related to Xiaomi. the others are, in total:

com.android.carrierconfig
com.qualcomm.qti.workloadclassifier
face

more observations:

the election to uninstall or disable are not available for any these.
until now, only user style titles appeared in permissions, such as Chrome or Foo Service, never something in the style of a kernel module foo.bar.baz

questions / ideas:

Is this how it should be in a valid update of Android from Google?
how to uninstall / to investigate: maybe I can enter a linux terminal? is it possible to create a root user with password, but not to disqualify of Android updates? also, it would be from inside the device: I would not open a server for this purpose intentionally.

Thanks in advance,
Dan

To test if the device is in a genuine state you can use the Google SafetyNet attestation result e.g. shown in one of this apps. In any way if you don't trust the manufacturer of a device don't buy a device from him or at least unlock it and install LineageOS on it.

@Robert thans I'll try that

The following observation supports a conclusion that this no more than a quirk of the last system update:
According to this link to an Android package QMMI, it seems that this is created by HMD Global the company that produces Nokia.


text:
Strange problem with proximity sensor on Nexus 5X
A few days ago I started experiencing a strange problem with my proximity sensor. When I answer a call and put the phone to my ear, the screen goes blank.  When the call ends, the screen stays black.  This (as I've discovered) happens to quite a few people.
I started checking with aida64 app. When the app starts, it reports proximity sensor value of 5cm.  When I cover the sensor, the value goes to 0.  Then I uncover the sensor - and the value stays at 0.  I switch from aida64 to any other app and back to aida64 - and the value goes back to 5cm.  Alternatively, I can
switch the screen off, then on again - and the value will go back to 5cm. Basically, it looks like once the value is down to 0, it won't reset for the currently running activity/app - yet it does reset when the activity is deactivated and then reactivated.
I tried booting in safe mode - same results.
Any ideas about trying to solve this?
The phone is Nexus 5X with PureNexus 7.1.2 ROM and Magisk.  Come to think of it, it may have started when I updated magisk a few days ago, but maybe not.  Any suggestions on rolling magisk back a couple of versions would also be useful.
EDIT: I uninstalled magisk altogether and the problem persists, so it can't be magisk related.

The proximity sensor bases on optical recognition. The sensor is usually located next to the speaker in the upper border of the phone. Using another smartphone camera digital camera or a webcam you can see the LED that creates the light detected by the proximity sensor. Make sure this area is clean and the display glass is full intact.

Answering my own question. As I didn't have much to loose, I opened the phone up and found HUGE amounts of dust inside, including around the proximity sensor.  The whole sensor was just clogged with dust. I took out all the tiny parts, gaskets, etc., carefully cleaned everything with a soft brush and re-assembled the phone. Voila! Everything works correctly now.
I suspect the dust was getting in the way of the light in the proximity sensor - but it wasn't fully closed due to the dust moving around there.


text:
Take multiple pictures instead of making a video (Samsung Galaxy S10e)
I have a Samsung Galaxy S10e (Android 10) and I can't take pictures fast after each other when I holding down the shutter button. It will always take a video.
In the begin, it was well possible to do it with my smartphone. I can't find a setting to enable it. Is that option removed?
Update: I can only find a setting for Swipe shutter button to edge to.

In the camera settings, look for Hold Shutter button to. You should see 3 options: Take a picture, Take the burst shot and Create GIF. Select Take the burst shot.
This article explains the difference between the 3 options.

Take a picture. Essentially, it is identical to the single tap gesture.
Take the burst shot. You are using the Galaxy S10 burst mode. All photos taken in the burst mode will be always saved in the phone storage even you set the storage as the SD card.
Create GIF. Galaxy S10 camera will take a series of photos and saved them as one GIF animation file. Please note, the resolution of the GIF animation is 480*640 (VGA) only. You do not have the option to change the resolution for the GIF.

I can't find that option. See my questio for more info.


text:
Reduce Display Size / Increase Bezel
I've had my Note9 for a year and even though I thought I would love it, am now being driven mad by the display/writing surface wrapping around the edge of the phone. There must be a way to increase the Bezel size through software!
I have searched for apps and settings, but I can't find a way to make the screen smaller. Most apps can run in Pop-up (Windowed) mode, but it is a pain in the ass to get there and it seems like there is no way to make it the default mode to run the app in.
I tried "one-handed mode" but not only is it not movable or resizeable to put it in the centre, when it is against one edge, it puts the edge right around the curve of the phone face, so that doesn't help either!
It's super frustrating not being able to use the pen (or even your finger sometimes) up to the edge of the screen; there must be a fix!
Anyone know a trick to fix this in Android?

Hey, please update any developments, if any.


text:
Error trying to copy gz userdata file to partition in adb shell
Dealing with limited space I split my userdata image file with this command:

dd if=/dev/block/mtd/by-name/userdata | gzip -c | split -b 250m - /mnt/sdcard/userdata.gz.

That works fine, but when I try to restore with this command:

cat userdata.gz* | gzip -dc | dd of=/dev/block/mtd/by-name/userdata

I get this error:

-dc: No such file or directory
0+0 records in
0+0 records out
0 bytes transferred in 0.001 secs (0 bytes/sec)

Yes,I shelled into the device and navigated to the directory I pushed the gz file to. What am I doing wrong?

cat userdata.gz* | gzip -d > /dev/block/mtd/by-name/userdata

Yes.. This did it. Thank you!! I don't know how (or if I'm supposed) to mark this as the answer??


text:
Recover files from android that wont turn on
I have an og Pixel XL, a couple years ago it died on me and went into a boot loop where it shows the white screen with a Google logo and then it shuts off and turns black, and it repeats. It will continue to try to turn itself on forever, fail, turn off and try turning itself on again until the battery dies.
The only thing that works to stop the cycle is holding volume down to open the bootloader screen, from here I have the following options:

Recovery Mode      >>> Choosing this gets back into the boot loop I described
Restart Bootloader >>> It restarts the bootloader...
Power off          >>> Choosing this also gets back into the boot loop I described
Barcodes           >>> Shows me the barcodes of the phones info
Start              >>> Choosing this also gets back into the boot loop I described

I already bought a new phone to replace this one so I don't care so much about getting it working again, I assume this is some sort of hard ware failure. What I would like to know is if there's anything i can do to get files off of it? I have a lot of old photos and songs I'm hoping to copy off its storage.
Thanks in advance

Related: How to get data off a completely dead Android phone?

https://android.stackexchange.com/q/221452 sorry to say but there is no hope: you really should unlock bootloader on google devices. many people facing issues when OTA fails. if device is bricked with locked bootloader, google doesn't offer any method to flash stock rom. in such case you are lost

one thing you can try. install platform-tools and drivers. change slot a/b from cmd.exe with fastboot --set-active=a (b) and keep holding Volume Down while fastboot reboot maybe one of the slots let you boot into recovery, there you can wipe cache and try to boot


text:
Recover from Encryption unsuccessfull on zte blade apex2
I have an old Zte Blade Apex 2 with stock rom TIM-IT and stock recovery that can't start because of Encryption unsuccessfull error.
It can boot in recovery with power + volume+ so as a first step I tried to wipe data and cache but the issue persists.
The original rom is not available anywhere online, but some other provider's ROMs are available (movistar or Micro P UK), I tried to use one of those updates but the updater script will fail because of an assert on getprop("ro.build.product") which differs only by the network operator name.
Clearly changing the updater script inside the zip causes "failed to verify whole-file signature" error.
For this device there is a TWRP recovery available but currently it's not installed.
I can run adb sideload (in recovery mode) and adb shell without root (from FTM mode, power + volume-), but trying adb restart bootloader will start the device normally with the encryption error. By booting power with volume+ and volume- together (that should be fastboot mode) the red led is on and the device won't be recognized by Windows 10 (USB device not recognized) while on ubuntu with lsusb I can see the usb device id (which is different from the one in FTM mode allowing adb commands) but the command fastboot devices won't show any device and also trying to manually provide the device id won't work.
Any suggestion to recover this phone?
UPDATE: I started the phone with power+both volume keys, lsusb gives ID 19D2:0112 ZTE WCDMA Technologies MSM QHUSB__BULK. while ./edl.py r recovery r.img keeps printing dots "Waiting for the device". In FTM mode ID 19D2:0500 ZTE WCDMA Technologies MSM Android I could run abd reboot edl but edl.py will return Library.sahara - couldn't find a loader for given hwid and pkhash :(
Now lsusb gives 05c6:9008 Qualcomm, Inc. Gobi Wireless Modem (QDL mode)
On windows it is recognized by MiFlash so it should be correctly in EDL mode, but how can I flash the TWRP recovery now?

fastboot mode is not helpful on locked bootloader. you can dump userdata + metadata in EDL mode https://github.com/bkerler/edl

@alecxs I updated the question with the attempt with edl.py, do you know any other tool?

https://forum.xda-developers.com/general/rooting-roms/how-to-backup-qualcomm-phone-root-t3570178

https://flashtool.org/8/download-ZTE-flash-tool.html

you need to find Qualcomm_Factory_Loader_MSM8926_ZTE.mbn or prog_emmc_firehose_8926.mbn or something https://android.stackexchange.com/q/224131

I tried to browse the mbn file with QPST Software download tool and it errors "Could not open flash programming file". If I use it from user Partitions it sais "No user partition have been enabled for download" while "error 0x80004005 while switching selected device to download mode" when clicking switch device to DLOAD in emmc software download.

Thank you, but I am a bit lost.. How do I write an xml file for the firehorse programmer? I don't have the actual offsets of the partition table for my phone, can I extract something with the original rom update.zip or with non root shell access? I have seen the Axon7 tool https://forum.xda-developers.com/axon-7/development/axon-7-edl-tool-flash-backup-restore-t3750759 that probably can be customized with other mbn loaders

I tried YGDP too but it won't recognize the phone, QPST is showing it correctly over a COM port

you can maybe get offsets from fastboot getvar all for xml files see linked question for more links. i have just now realized you wiped data from recovery, this is same as factory reset. which leads me to believe in emmc wear-out

I'm not able to enter fastboot mode, adb reboot fastboot will just restart the phone, there is no fastboot option in recovery and with attemps of every possible boot combination it never reacted to fastboot devices. So it's probably an hardware emmc failure? You can post it as an answer if you want

Volumedown + power is FTM mode that allows adb commands but not fastboot. With adb reboot-bootloader the phone will boot normally till showing the encryption unsuccessful, it's not entering in fastboot mode. Power+both volume keys leads to unknown usb device (device descriptor request failed)

okay then with both Vol Keys you are in right mode then. now try usb 2.0 port or different PC, also double check if fastboot works for other devices https://android.stackexchange.com/q/214930
https://android.stackexchange.com/q/102897

Tried other usb ports win and linux,other pc but same result, unable to get this phone in download mode. I have a xiaomi that works with fastboot. I tried some mbn from here https://github.com/programmer-collection/zte in QFIL with no success. in the meantime I realized that sahara protocol works only in the first 1 minute the phone is in EDL, after it will give sistematic errors and I also learned that QFIL will put the phone from FTM mode to EDL mode automatically. I think I will throw away this old phone, not worth it to invest so much time despite learning interesting things about Qualcomm


text:
i'm not member anymore in groups after moving from the modified to official whatsapp
I installed whatsapp plus year ago or so. I entered several groups did some conversions. a month ago whenever I press or go to the app it showed me you can't use it anymore after the 1st of April and I have to revert back to the official, but i could get in yet after 1st of April I'm only stuck at that page.
i tried several thing none of which worked fully and here's what mostly worked
1-I had edited the date so it worked and did a backup and refused to restore it as normal
2-so, I got the whatsapp folder and uninstalled the whatsapp gold

3-took the files from the \abo3rabBackup\databases and put them in /data/data/com.whatsapp/databases
and key from \abo3rabBackup\files to /data/data/com.whatsapp/files
keystore.xml from \abo3rabBackup\shared_prefs to /data/data/com.whatsapp/shared_prefs
of the official whatsapp newly installed because they seemed from the system I assumed that because the msgstore.db was not encrypted

4-and whatsapp asked me to set it up once again and I could see all the messages of people and groups again as normal and make a back up although is shows I'm not a member of all these groups anymore
so my question here are there anything that i have to else transfer to make whatsapp recognize I'm in that groups
and thanks for any help and patience in advance

Would you please mind to translate the first screenshot?

@Robert the first screenshot seems related to WhatsApp not supporting older Android version since February 2020

@Robert it's just a page to direct me to go and tell me how to migrate to the official whatsapp, but I'll translate it anyways. whatsapp upgradethe circle: the upgrade is only available on the golden whatsapp plus site(it basically redirects you to their site)this version became old and you can't use it anymore starting from data and blah blah blah same thing


text:
Get media playback time using ADB
I working with C# script to control android device media. I have been able to check and set volume as well as send commands to pause, play, skip, etc for media apps like Spotify or YouTube
One thing I have not been able to figure out however is how to get the current time of the media. For example, if Spotify is playing a two-minute song, and it is currently at 1:16, I'd like to get that information. So far, I have not been able to find documentation on how to do this.
Is there a way to get the current time of media that's playing. In addition, is there a way to get the total time of the media?
Thank you

Issue this command:
adb shell dumpsys media_session | grep "state=PlaybackState"      # assuming that only one media player or alike app is playing audio, such as Spotify.

Demo output:

state=PlaybackState {state=2, position=44912, buffered position=0, speed=0.0, updated=14800717, actions=142132, custom actions=[], active item id=-1, error=null}

The highlighted position shows the position of the playing media in milliseconds.
Issues:
1) The position does not reflect real-time media position, and it gets updated in these conditions (based on my observation) only:

when the media is played from fresh or from paused state
when the media is paused
when the media's position is changed manually by the user (such as, by dragging the position slider)

2) There is no maximum media position available, so this is all you get.

You can try briefly pausing and then playing the media using adb command to update  the position to reflect that in the script. It would be disruptive, but would work.
Tip: you can get meta information, mostly the description, of the playing media from the output of adb shell dumpsys media_session too.

The expected way to reliably track the media position to watch the state and the clock. When the state transitions from PAUSED (2) to PLAYING (3), capture the position and increment it by 1 second every second. When it transitions to PAUSED, resynchronize your position.


text:
Map keys to touchscreen
I'm running Android on a mobile device, but I really just use it as a computer. I have a wireless mouse/keyboard that I use to navigate windows, etc. The keyboard works well generally, but I find some features lacking. I really would like to map keypresses to the touch screen input. i.e. I can set W to send touch input from a part of the screen given by the pixel location or some such thing.
I have a background in computer system, so I'm not afraid to get my hands dirty. I am willing to root the device, install programs, or build in some additional hardware. I can probably do it from scratch, but I really would like to not waste that much time on it.

Have you tried the accessibility options? See: Use TalkBack keyboard shortcuts

I want to map shortcuts to touch signals... I dont want to just map them to specific functions. (i.e. home, back, etc.)

Perhaps you might want to give an example which won't map to specific functions (i.e. menu items, text fields, scrolling, buttons etc.) and applies to multiple apps as Android UI already has a concept of "focus" (which if the app is done correctly can be driven by d-pad)

The whole point is I want to connect to the touch screen so that I can signal inside apps. For instance, a shortcut to open settings in the youtube app by pressing the screen... etc. Focus shifting works but is good enough for my taste.

Theoretically, it's possible: Is it possible to simulate touch without root?, though need a way to map the keyboard to input tap command.

Very promising! I am not against using my laptops keyboard and projecting my androids screen to my laptop's screen... Than it's just a matter of linking the keyboard to the input commands... I wonder how you would do that?

If you are willing to use a PC as the interface.
There appears to exist a modified version of the open-source scrcpy which has keyboard shortcut support for playing games, but should partially map to your requirement:
QtScrcpy - gitee repo or QtScrcpy - github repo
See project README for keyboard mapping feature:
https://github.com/barry-ran/QtScrcpy/blob/master/README.md

It looks promising. Unfortunately I haven't used it, and while open source, most of the project UI/documentation isn't in English.
The issue thread for the keyboard mapping feature for scrcpy:
https://github.com/Genymobile/scrcpy/issues/712
you might want to look there for more options.

This works like a charm... highly recommend. Thanks for the help...

Although this question has an accepted answer, I just thought I could add another option, for others looking for something like this.
You could use an automation app like Automate, Macrodroid, Tasker or Automagic(development stopped), to listen for the specific keyboard input, and execute the touch action.
Trigger: keyboard input
Constraints/conditions: external keyboard sends input
Action: UI interaction - touch screen
(Trigger constraints and actions are called differently in different apps.)

You can read mouse and keyboard data from /dev/input/event* and write data into touchScreen by write data into /dev/input/event* , use EVIOCGRAB to prevent event send to other program .
Here is a simple tool for example https://github.com/DriverLin/mouse-keyboard-map-touch

Hi, thanks for your contribution, but looks like the readme is in Chinese. Since Stack Exchange is an international site with an English-only policy, could you [edit] and explain more on how to use this in English?

You can use a keymapper app like octopus.
This app mirrors the original app and adds keymapper.
https://play.google.com/store/apps/details?id=com.chaozhuo.gameassistant
Here's the link for this app!

This is the type of thing I would like, but after researching it.... I see that some app ban you for having it. I don't really play mobile games that much, but it would be nice to be able to if I decided too. Ill mark this answer as a solution if I do get a more generalized one.


text:
How do I force reset on Samsung Galaxy Tab A SM-T510 tablet w/o home button if password was forgotten?
I cannot turn it off because it asks for the password.  I can not restart it without password.  I cannot do anything without the password.  The combinations I have found on the internet have not worked either.  Not sure what else to do.  There is no home button, or menu button available in this funky on mode.  Can't get to settings.  A google account had not yet been linked to the tablet as it had just been purchased, had not finished the set up when I was interrupted by my kid who it was bought for.  So when I was interrupted I had not yet written down the password to be put in my lockbox.

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

Power Button + Vol Down until the screen goes black
Then hold Power Button + Vol Up


text:
How to properly display HDR image on Android with supported display
I have found some documentation (HDR Video Playback) how to display HDV video content on HDR-supported phones. But how to display HDR image (16bit PNG or EXR or create HDR content Bitmap and display) ?
The only one information I have found is here.

Hello 404pio. Are you asking this question as a developer or as an end-user? Developer/programming oriented questions are off-topic here.

Mainly as a developer - so this question should be closed. But partially as an end-user - so we do not need to close:)

I'm a bit curious about what it means by "showing HDR image"? An image is a static object, so it's displayed as-is on the image reader. Also, HDR is usually done on post-processing, so the final image is just a static image with common formats (e.g. PNG, JPG, etc.)... unless you mean to mix multiple images with different exposure to achieve HDR? Otherwise, some image editors (like Google's Snapseed) have a feature to simulate HDR with its own algorithm.

HDR is large topic. Let's say that I have already HDR image (I do not care from where it is - google app or highend camera). I want to display it as good as device can. So the device and the application should read image to 16-bit depth data and metadata to use proper color transfer characteristic, color primaries, colorspace, color_range (like in videos)


text:
I got a new bluetooth headphones and I have a delay. is there a solution?
Today I got some new Bluetooth headphones (i900000 max - Airpods Pro replica) and I know what you'll say - "You got a replica of Airpods, what did you expect?", but hey, I read a review before I bought them and people said that there is no delay, but I have a little delay when watching videos.. I'm using an Android phone (Samsung Galaxy A8 2018) and the only codec that the headphones support is SBC. Is there something I can do to fix the delay?
Thanks.

Does the review also mention about Android devices or only iOS? Android has a known Bluetooth audio latency issue as explained in the linked question.

most of the review is on ios but I think that the review that I saw is from people that using ios.but how is this possible that in ios there is not delay and in android there is a little ?

there is something I can do to improve it a little at least on youtube ?

When buying Bluetooth headsets make sure the headseat and your Android device support aptX Low Latency codec. Using this codec the delay is usually acceptable.

OK, but know is there something to do with these headphones that supports only SBC codec to reduce the delay ?

There's nothing you can do. That's how those headphones are designed to work.

There is nothing to do to improve it at little ? at least at youtube videos ?


text:
Samsung J1 Ace cant enter recovery mode
My phone J1 Ace is stuck on boot logo with red signal. I can't go to the recovery mode to flash. What can I do now?

Please press power button for 30 -45 second
Or remove battery


text:
Unable to sync chrome passwords on Huawei P20: "Android system sync disabled"
Recently, my passwords are no longer being synced to my phone, which is a Huawei P20.
When I open Chrome - Settings, it says: "Android system sync disabled". When I click on this, it says:

Sync isn't working. Open Android settings and re-enable Android system sync to start Chrome sync.

How do I re-enable Android system sync?

I asked Google, but all I could find are answers for Android phones. When I go to Users & Accounts - Google - ***@gmail.com, it says "Auto-sync off, touch to sync" for all items. Moreover, when I touch to sync Chrome, it doesn't do anything. Also in Users & Accounts, when I click the three dots, the option to Auto-sync data is grayed out.

Power saving mode is the problem. Go to Settings > Battery > turn Power saving mode off.
Then go back to Settings > Users & Accounts > check Auto-sync data.
A few minutes later, everything will be synced.
(From https://techandcoolstuff.com/how-to-fix-auto-sync-data-greyed-out-huawei-mate-20-pro-user-accounts-not-synchronizing/)

Another possibility is that you are behind on OS updates.


text:
Decrypt Android 10 File Based Encryption (FBE) data
Device: Xiaomi Mi 9
ROM: [[ROM][10.0][Xiaomi Mi 9][UNOFFICIAL]Pixel Experience AOSP[2020/04/11], ROM for the Xiaomi Mi 9
Hi,
I tried to upgrade my ROM from an older to a newer version with a clean install whilst keeping the Internal storage of my Mi9.
The Device has been encrypted with FBE protected with a pattern.
While performing the upgrade TWRP did sucessfully decrypt the data.
Now after performing the update the phone was only able to boot into TWRP (3.3.1-62) and wasn't able to decrypt /data/media/0
I also tried do decrypt via adb shell with
twrp decrypt 563258
following the TWRP commandline guide
[123]  [⭘↓←]
[456]  [⭘↦↑]
[789]  [⭘⭳⭘]

but this also failed.
Only way to make the phone boot again was to format data partition in TWRP.
Unfortunately I did not save my backups on a different device, so to say all my backups and data is on the encrypted drive, which I can't access anymore.
Before wiping I saved an image of /dev/block/sda31 which is the data partition I'd like to recover.
I am also able to access the keys or data at following locations:
/data/misc/vold/keystore/
/data/misc/vold/user_keys/ce
/data/misc/vold/user_keys/de
/data/unencrypted/key
/data/system_de/0/spblob

So my question now is how to regain access to my data.
So far I tried several approaches, none of these lead to success.
My hope is that there is a possibility to mount the image, using the available encryption keys. But that's at this point beyond my technical skills, so maybe here is someone with another idea how to do this.

you must roll-back to previous ROM because decryption depends on ROM version. consider backup important apps only with Migrate

At this moment I do have to assume, that there is no copy of this particular version available. There is one but its part of the encrypted data, kind of cynical...
I asked on xda weather there is somebnody with a copy of that build / version but it does not seem like there will be fortune on that issue.

to be more precise it depends on stock ROM (because of vendor + modem) where encryption differ between android 7,8,9,10. it looks like android 9 is right base for you, try different MIUI versions based on android 9

So far I'm very happy that there is someone helping with enthusiasm.
I do think, that Android 10 should be the right base, and I tried flahsing different Stock ROMs of MIUI via Recovery but I'm still failing at the decryption.
so maybe you've got another idea, or I'm doing sth wrong... miui_CEPHEUSGlobal_V11.0.4.0.QFAMIXM_5e4cc092fa_10.0 miui_CEPHEUSEEAGlobal_V11.0.5.0.QFAEUXM_b75c33b811_10.0 miui_CEPHEUSEEAGlobal_V11.0.6.0.QFAEUXM_1647340073_10.0 miui_CEPHEUSEEAGlobal_V11.0.7.0.QFAEUXM_c540795d64_10.0 miui_CEPHEUSEEAGlobal_V11.0.8.0.QFAEUXM_39255ef3ce_10.0

If I'm not mistaken, each element in the grid is only used once, therefore your PIN should be 56328 because the last 5 isn't actually used.

good point thx!


text:
Android 9, google accounts without using google account?
i need help, with google contacts.
The phone is using google contacts and dialer (Android 9). I want to import contacts TO PHONE, but google contacts app allows only import to gmail acc.
Is there some solution? I do not want to use google servicies for syncing and storing my contacts, calls and messages.
Thank you

e.g. something like local account on windows 10
was helpful but apps are very old and not updated Add contact without using "Google account"?

Import your contacts from vcf files: https://f-droid.org/en/packages/am.ed.importcontacts/

Thank you. Sounds easy, but could google have access to the contacts?

If you have added an Google account on that device you can configure it in the account settings what should be synchronized. This allows you to disable contacts sync. How effective this is if you want to prevent Google to see you contacts I don't know.

Vell, somehow i set that it save into device, I tried that app. import contacts, but it imported badly, and created multiple copies of one contact.

i have had this problem on some Xiaomi devices. even when added contacts offline (with MyPhoneExplorer) it switched automatically into google when device goes online. i bet it is the contacts app per design not allowing local contacts.
i ended up with 3rd party contacts app (like com.simplemobiletools.contacts)

Thank you. Well, it is exactly Redmi note 8 pro. I do not want to risk flashing to Indian ROMs to use manufacturer apps. I will try it, Maybe i will buy Pro version.

Partialy solved. - no need 3. party apps
For Xiaomi devices with google contacts, google dialer, google sms.
In settings turned off several google servicies permisions to these apps.
After some warnings and problem with opening contacts app. Finally it opened, without option to choose google account.
Now in app were 2 options device and mi account.
When importing contacts with using google contacts, i choosed: Device.
Now contacts appear to be saved in mi account
After removing mi account from phone contacts were imported into device succesfuly.
 - again when logged in contacts were under mi account (so turn off sync)
Depends on device, some google servicies have to be turned back on beacuse of calling and sending messages - (could have different names)


text:
snapchat going to settings
Whenever I take a photo on snapchat it takes me to app settings. Ive gotten rid of other apps and uninstalled it then installed it again but nothing works.
This happens after i take a photo.

Usually if an app opens the Android settings for you it wants that you make certain changes, e.g. set a permission for the app so that it can access the camera.

Does this happen before taking a photo, or after taking a photo? If it's the former, then Robert's comment is the most likely. If it's the latter... that's weird?

This happens after I take a photo.


text:
Connected to wifi, but no internet access
first question here. I was using wifi normally on my phone. Then I turned it off and after some time turned it back again. Since then I can not access the internet. It's showing Connected(no internet access).
I tried to set the IP static. It did not work for DNS 192.168.200.1. No matter what IP I set with this DNS it does not work. Then used the 8.8.8.8 as DNS, now it's connected. But it is really slow, and the connection does not seem stable. Every time I have to reload google.com several times just to get the page.
The problem is specific to this device only. Other devices connected to the same network are perfect.
I tried

Restarting the router
Resetting network settings
Clearing network cache from maintenance mode
Rebooting the device with and without airplane mode

My phone is Huawei Y9 2018 with Android 9.
Can someone suggest me what should I do? Is this a router issue? Or is this my device problem?
I'm new in this area. So my knowledge is not so deep and you might have to explain things a bit more in detail for me to grasp the concept.

Based on your description this a router problem and/or a problem of your Internet connection, not a problem with your Android phone. If the router would be configured correctly you would not have to change anything in your phone.

I believe you are going wrong here.
Why would you want to select 192.168.200.1 as DNS? It looks like a private IPv4 address, not a DNS address. Doing so, I believe you will fail to connect to internet.
In my experience DNS addresses have looked like 8.8.8.8 - like you mentioned, and 8.8.4.4.
You can try to use custom IP addresses like 192.168.200.1 keeping the DNS 8.8.8.8 or 8.8.4.4 only.

I suppose your router address is 192.168.200.1.
There can be several reasons:

You can try to force your router to support only high-speed connections. It depends on the router and you will need to check your manual.
It is possible that your phone changed a frequency from 2.4GHz to 5GHz recently or vice-a-versa. You may check that both the router and the phone support it and try to connect to a different frequency. Usually there are two different WiFi points in this case. So it is hardly the case.
Your upstream connection can be unstable. It is possible that your phone reacts to unstable connection more notably than other devices however I don't think it is the most probable case. I guess this is the hardest case to check.
You phone is malfunctioning. You can test it by trying different routers somewhere or by bringing one to your home. If it is the case then it may be hardware issue, bad system update, or possibly other software issue. I would try to reinstall browser, uninstall all VPN apps, check battery usage, uninstall apps that eat too much, and a factory reset as a last resort.
If your phone works nicely with other routers it may be a compatibility issue. Given that your phone worked nicely it can be caused by system update of your phone or system update of your router. Depending of what the issue is you may try a factory reset of your router, a factory reset of your phone or buying a new router.
Certainly I missed something and there are much more reasons


text:
How to fully back up a phone's content to a PC, possibly for restoring on a similar phone
I have an LG X-charge phone whose screen is broken, but still functional. I purchased a replacement screen module, but before going ahead on the "open heart surgery", I want to fully back it up. I have another X-charge which is not in use.
I'd like to make a backup on my PC and restore it to the fixed phone, if necessary, or the new phone, if the first one dies.
Can I transfer all of the content of the broken phone to the other one? By "all" I mean all media files, messages history, call history, applications, etc. IOW, make a full, restoreable, copy (to whatever extent possible) of the broken phone.
Also, it will be great to be able to access data from the backup (images, messages) on my PC.
Oh, yeah - and preferably, this should be a free solution.

Have you seen How do I backup data (SMS/contacts) from a device with a broken screen? Also, several more helpful links can be found in the recovery section of our broken-screen tag wiki.

@Izzy - No, it did not come up in my search. But looking at it, it seems to concentrate on the messages and contacts part. I'd like to have a complete backup that will let me restore either of the phones to the state before attempting the screen fix. The screen itself is not the main point here, but rather the backup, but I'll have a look at the tag you suggested.

you can adb pull -a /sdcard this will at least backup your Internal Storage. MyPhoneExplorer is useful for SMS and contacts. Unfortunately there is no way for complete backup, but you can adb backup -all (leave password blank) and restore to other device, this will give you a good base to start figuring out which apps are missing https://android.stackexchange.com/q/224285

Depending on the point-of-view (and which answer you're looking at), it shows ways to work around the "broken display" – so you can apply solutions as if that restriction would not be there. Like, enabling ADB access (which would need the screen) for adb backup (here I'd be careful restoring a "full backup" to another device unless it's the same brand, model and ROM; my tool Adebar would a.o. help you to a "modular backup" just in case).

Update: for lack of time to do the required research and learning of the suggested solutions, I ended up using the Vysor application to mirror the phone's screen on my PC and then conveniently taking snapshots of the important SMS histories, and doing simple file copy over USB of my data files.

LG provides different Software (or maybe just different names)
- LG-Bridge
- LG PC Suite
- LG Mobile Switch
- LG ANDROID BACKUP
For experts also there is LGUP flash tool which may shipped with qualcomm factory loader, with this you may able to create/restore full partition dump, root the device without data loss, or install TWRP via EDL mode

Thanks for the pointers. Looking at the LG website, it seems like each one of those provide a partial solution, and I am not sure if any lets you backup your SMSs and MMSs.

SMSBackupRestore or MyPhoneExplorer

https://github.com/Lekensteyn/lglaf


text:
Why my tablet shows black screen
i am facing a weird problem with a chinese tablet,my tablet seems to be working normally i can hear sounds and the backlights works but it shows nothing,i though it was flex cable problem so i replaced it but the problem is not gone then i tryed three LCD screens but it was the same .
how can is diagonse this problem?

not a solution but you can use scrcpy if you still have black screen even on remote PC then you know it is not a screen problem. but can be still hardware or software error

usb debugging is not activated in my tablet

does it support USB OTG or is it Mediatek Chipset?

yes it supports USB OTG and has an intel cpu .

guess you want recover data? when you can hear sound it may possible to navigate blind with connected keyboard. but you need another tablet for reference https://android.stackexchange.com/q/159551

thankyou for your response ,i wish i could find out  what causes this problem.


text:
Nokia 8 combo jack headset volume bug
My phone is a Nokia 8 with the latest update (Android Pie). I use to listen music/videos with wired headphones with some remote control buttons and a microphone. The buttons are not designed for Android phones so only the main pause/play button is working.
My phone recognizes these combo jack headphones very strangely. Once I plug the jack in, there is temporary state when the sound is correctly played for about 1 sec. Then the media is paused like if the jack is removed. Finally, when I unpause the media, the sound is played again but with different volume settings.
My guess is the phone is switching between combo mic and normal stereo headphones. This is not happenning with headphones without microphone.
My main problem is that the minimum volume in combo settings in the Android scale has continuously raised over time. Now even the first step results in a sound too loud for a quiet environment, which makes my headphones unusable. I have the impression that the volume rises every time I use the remote pause button, but that's very uncertain.
I tried many apps to reduce volume or force my phone to recognize my headphones as only stereo. I also investigated the android normal and developper settings. And the Nokia 8 is unrootable...
Any idea about how to solve this strange behaviour from Android ?
Thanks


text:
how to bypass screen lock password on Ira Comet (2012 model)?
How do I bypass screen-lock password on Ira Comet (2012 model)? From Wishtel. No specific tutorials on this model online.
In trying to hard reset:--
I cannot get into recovery mode, I mean, not all the way. It stops at the  stage of the fallen down Android with the exclamation mark. No text lines appear to choose further reset settings, no matter what button-combinations I use (power+volume-up, etc etc)! After a while of just waiting the tab goes off entirely. I can of course restart it to the normal screen with image n lock-screen prompt.
The tablet is wifi, but the screen was locked when the internet as off so cannot access the net. I am not even getting any prompt to reset the password no matter how many wrong passwords I type in one after the other. It does not seem to have any reset pinhole either. It has no usb debugging done either.
Can anyone suggest a way to unlock the password, or how to go to full recovery mode on it?

Does this answer your question? What does the "no command" screen mean? (Trying to execute hard reset Recovery)

if still running Android ICS 4.0 "Ice Cream Sandwich" there is no OEM lock or FRP,  you can just fastboot flashing unlock in bootloader mode

Hi, thanks for your suggestion. But the Ira Comet (of 2012, from Wishtel) was updated to Marshmallow, I was told, so maybe that FRP is now in place and preventing any further hard reset beyond that fallen-down Android with the exclamation mark - So maybe it's in coma forever... I cannot access anything even through USB cables as there's been no debugging done on it so it does not even charge through the usb cable.

usb-debugging is not required for fastboot, try Volume-Down + Power to enter bootloader mode

https://android.stackexchange.com/q/127739


text:
Android OnePlus 3T stuck on boot logo, how can i recover data?
My OnePlus 3T recently got a bootloop issue (stuck on boot logo).
Bootloader locked, stock ROM and unrooted device.
How can I recover my data?
I've already tried wipe data and reset system setting from recovery mode on my phone.
I have a pc with Windows os and another with Ubuntu os, if this can help.
On Windows i can see "Qualcomm HS-USB QDLoader 9008 (COM3)" on "PORT(com and lpt)" menu under "Device Manager".
I read many forums, but i find only this 2 solutions, that doesn't work for me:
1- Use an app on Windows called Android Data Recovery, but to use that i need to have USBDebugging setted on and i think i don't have. To do that you need your phone on and setting developer option enabled but i can't because stuck on boot logo.
2- Install a custom recovery to get data from phone storage. To get a custome revovery you have to unlock bootloader but i can't because to unlock bootloader i need to erase my memory.
My priority is get data from phone, if anyone can help or have any suggestion is really appriciated.
Ps: I find a way to connect phone and pc on Windows with USB cable. Using from Windows terminal the command ADB devices, it returns that my phone on "sideload" mode. I read there is a command "abd sideload file.zip" that flash your rom with file.zip, but i don't understand if this operation delete your data.

https://android.stackexchange.com/q/224131

https://android.stackexchange.com/q/224369

there is a 3rd way for locked bootloader without erasing userdata, but it all depends on the qualcomm factory loader firehose programmer which is special for each model
these are expert tools for EDL mode to dump partitions or install TWRP from where you should be able to decrypt
https://github.com/alephsecurity/firehorse
https://github.com/bkerler/edl
but i can't guide you i have no experience


text:
Cannot flash Qualcomm with Stock Image (Lenovo Tab M10 TB-X605L LTE, Android 8 Oreo)
Background
I’ve bought a brand new Lenovo Tab M10 TB-X605L LTE. It’s for my grandma, so that she can video-call her great-grandchildren during the Corona crises, and I learned that I require to have Android 8 Oreo on it, as Teamviewer Host has to run on it and start automatically (my grandma is almost 90 years and she can operate a toaster, but not a tablet). Unfortunately, I’ve upgraded to Android 9 Pie, which by design doesn’t support Teamviewer host.
Problem
I need to get back to Android 8 Oreo, but I almost bricked my Lenovo Tab M10 by trying to do so. I’ve already spent a few days and read/tried tons of instructions/suggestions/forum discussions, and I’m completely stuck. I would really enjoy some help or the decisive tip – and especially my grandmother would really enjoy seeing her four great-grandchildren after three weeks of quarantine.
Log files
indicate that the Qualcomm chip doesn't accept the download
LSMA: [LMSA_Recovery] Shell Resp: Status=status_flash_download_failed
QFIL: ERROR: function: sahara_rx_data:237 Unable to read packet header. Only read 0 bytes.

This works

I managed to get a M10 TB-X605L stock ROM Android 8 Oreo: https://www.techswizz.com/lenovo-tab-tb-x605l-stock-rom-firmware-flash-file/
XML files contained: rawprogram_unsparse.xml, patch0.xml, rawprogram0.xml.bak,
I can reboot to fastflash mode (reboot and hold Volume-Down), and I can use ADB and Fastboot.
I can install TWRP recovery mode (by flashing recovery.img) and start/use TWRP (reboot and hold Volume-Up+Down).
I I’ve unlocked the bootloader.
I have installed the Qualcomm_USB_Driver_v1.0 and the tablet gets a COM port (can be seen in Device Manager).

This doesn’t work
General

I cannot boot in normal mode (device stops or constantly reboots when I try).
I managed to install Magisk (in TWRP), but the devices still can’t boot in normal mode afterwards, so I cannot start Magisk.

Lenovo Moto Smart Assistant (LSMA)

I can start it, download the stock image. When I try to flash the device, the progress bar jumps to 33% immediately, and after a few seconds a “FAIL” button appears without any further information.
Fastboot
I can flash boot.img and recovery.img, but system.img is splitted in system_1.img, system_2.img, etc., and when I connect these files with packsparseimg.exe, the resulting system.img seems to be invalid (devices doesn’t start).

QFIL

I can see the devices on the COM Port. I can load rawprogram_unsparse.xml and patch0.xml.
When the device comes online, I try to hit Download immediately, and I either get the following error:
ERROR: function: sahara_rx_data:237 Unable to read packet header. Only read 0 bytes.
ERROR: function: sahara_main:924 Sahara protocol error
ERROR: function: main:303 Uploading  Image using Sahara protocol failed
Download Fail:Sahara Fail:QSaharaServer Fail:Process fail
or it says the device is not in EDL mode (which is easy to fix by booting in EDL mode from TWRP, but then the sahara error comes up).

QPST

I can connect the phone via QPST Configuration (COM3, Q/QCPP-XXX (Sarah Download), USB)-
When I open the “eMMC Software Download app”, I can open the Sahara XML file rawprogram_unsparse.xml – I hope, that’s the right one.
When I “Load XML def…”, I don’t know which xml file to open:
rawprogram_unsparse.xml and rawprogram0.xml.bak show an error  “Document error on element type ‘raw program’ and name/value ‘true’”.
Patch0.xml shows no error, but I think it’s the wrong file for “Load XML def”.
Dowloading with “Patch0.xml” leads to an error “Timeout waiting for device”
QcomDLoader.exe (1.3.2.0)
I can load the stock image directory (by pressing the appropriate "Load" button), and set the settings (eMMC programmer: prog_emmc_firehose_8953_lite.mbn, Raw program: rawprogram_unsparse.xml, patch0: patch0.xml).
When I press ‘Start’ the Step/Status “Sahara/Flashing” appears for 5 seconds, followed by messages “failed.

Any help or suggestion is highly appreciated.

Have you tried to Hard Reset it to the factory image?

Thank's for posting! Yes, I did that before I almost bricked it. Hard reset only recovers the Android major version that was installed at last, so it took me to Andriod 9 Pie. But I need to get back to Android 8 Oreo.

romprovider.com, firmware27.com, leakite.com, github.com 1, 2, tuserhp.com, firmwarego.com

Solution (for flashing Qualcomm based Android devices)
This seems to be an easy, fast and reproducable solution for flashing Qualcomm based Android devices (tablets, mobile phones), so it should not be limited to my device type. You should espacially read on if you have troubles with flashing an Qualcomm based Android device with tools like QcomDloader, QFIL, eMMC Software Download.
As I had troubles on Windows, so I switched to Linux, and it worked like a charm. The point is that Windows under certain circumstances seems to block some port communication.
tl;dr
Instead of Windows, use a Linux system with the Qualcomm USB flashing tool to flash your device.
Requirements
You will need

a stock image from the manufacturer (or any other image you like) for your device; I've found mine here
a Linux based system (eg. a Raspberry PI with Rasbian installed)
Required Tool: ADB and Fastboot (download and installation instruction below)
Required Tool: Qualcomm USB flashing tool for Linux by ndechesne, tonyMakkiel and ric96 (can be downloaded here)
Recommended tool: TWRP
your device, a free USB port and an appropriate USB cable (no special flashing cable required).

Furthermore, it could be possible that you have to be able to unlock your the bootloader if your device. I'm not sure about that, as I had unlocked my tablet before I found the working solution.
Step-by-step approach
Backup your device
Make a complete and reliable backup of your android device first.
Write down your serial number
My had device lost its serial number after flashing. I don't know if this has any further impact - I didn't recognize on. Maybe you should take a note of your serial number before flashing your device.
Unzip your image file
You need to unzip the image file. You should get many files, including

a *.mbn file (mine was `prog_emmc_firehose_8953_ddr.mbn`)
a *.xml file that contains information on how the image is the be assembled - mine was `rawprogram_unsparse.xml`)
a *.xml file that contains information on how the image has to be patched - mine was `patch0.xml`)

All of this files have the suit the chip type of your Android device - I highly recommend not trying this with files that were compiled for other chips.
Preparation on your Linux device
I've setup up my Raspberry PI 3B+ from scratch with Raspbian.
Install ADB and Fastboot on it:
sudo apt-get install android-tools-adb android-tools-fastboot
Download Qualcomm USB flashing tool for Linux:
git clone https://git.linaro.org/landing-teams/working/qualcomm/qdl.git
Change to the new qdl directory
cd qdl
and compile the software:
make
Return to the previous directory:
cd ..
Stop the Modem Manager (I've found this in one instruction - didn't do anything as I hadn't had it installed)
sudo systemctl stop ModemManager
Get ready to reboot your device in EDL mode
Option 1: You can still access your Android system
Connect your Android devices to your Linux system using the USB cable.
Start your Android device normally. Enable the developer options:

Open the Settings screen, scroll down to the bottom, and tap About phone or About tablet.
Scroll down to the bottom of the About screen and find the Build number.
Tap the Build number field seven times to enable Developer Options. Tap a few times and you'll see a toast notification with a countdown that reads "You are now X steps way from being a developer."
When you're done, you'll see the message "You are now a developer!"
Tap the Back button and you'll see the Developer options menu just above the "About Phone" section in Settings.
To enable USB Debugging, you’ll need to jump into the Developer options menu, scroll down to the Debugging section, and enable the "USB Debugging" slider.
Android will prompt you to allow USB debugging (unless you had already granted access for your Linux system before). Check "Always allow from this computer" and tab "OK".

Go back to your Linux system, and check to connection:
adb devices
If the daemon is not running, it will be started.
You should see your device as (single) entry in the device list. Otherwise check the device, the connection and the settings again.
Go on to Unlock bootloader below.
Option 2: You cannot access your Android system (almost bricked)
Android devices have key combinations that allow you to boot them in different modes. Please check on the internet how to boot your device in the EDL Mode (Emergency Download Mode). For my device it's

press and hold `on off key` for about 20 seconds, release it
press and hold `vol up key`
press and hold `on off key` (still hold the `vol up key`)
wait for a short vibration
release the `vol up key` first
release the 'on off key`

Be careful, it make a diffence whether an USB cable is connected or not. Connecting the USB cable can have the same effect as pressing the power key.
Getting into the right boot mode can really be a mess. That's why it's the easiest way to work with TWRP (Team Win Recovery Project).
To do so, download the latest version of TWRP. You need a the appropriate img file for your device (for my device: twrp_x605f.img).
Reboot your device in fastboot mode (as described by the manufacturer of your device). For my device it's

press and hold `on off key` for about 20 seconds, release it
press and hold `vol down key`
press and hold `on off key` (still hold the `vol up key`)
wait for a short vibration
release the `vol up key` first
release the 'on off key`

On success, the device will show 'fastboot mode' in the corner.
Connect your device with the USB cable and check the connection:
fastboot devices
You should see your device as (single) entry in the device list. Otherwise check the device, the connection and try to reboot in fastboot mode again.
Make sure your TWRP image file is in the current directory. Install it by typing
fastboot flash recovery <TWRP image file> (replace  with the actual file name)
Reboot your device in recovery mode (as described by the manufacturer of your device). For my device it's

press and hold `on off key` for about 20 seconds, release it
press and hold `vol up+down keys`
press and hold `on off key` (still hold the `vol up key`)
wait for a short vibration
release the `vol up+down keys` first
release the `on off key`

On success, TWRP will start. OK, it took my two to three attempts to get there, but it helps a lot as you can reboot precisely in the mode you need from the TWRP Reboot menu.

System boots to your system.
Recovery boots back to TWRP (or your recovery menu).
Bootloader boots to fastboot mode.
EDL boots to EDL.

Unlock bootloader (not sure if this is required - you can try it and skip this)
Having done that, unlock your bootloader. To do so, boot your device in fastboot mode

by using the key combination, see above OR
by typing `adb reboot bootloader` (when the device is connected and the Android system is running or TWRP is running), see above

Type
fastboot flashing unlock
and
fastboot oem unlock-go
Flash your device
Reboot your device to the Android system or to TWRP.
Prepare the flashing command (in one line) and do not hit enter yet
./qdl --debug --storage emmc --include '<path to the unzipped firmware files>' '<path to the unzipped firmware files>/<mbn file>' '<path to the unzipped firmware files>/rawprogram_unsparse.xml' '<path to the unzipped firmware files>/patch0.xml'
For me, that was (in one line) and do not hit enter yet
./qdl --debug --storage emmc --include 'TB-X605L_USER_S000020_20180921_Q00020_ROW' 'TB-X605L_USER_S000020_20180921_Q00020_ROW/prog_emmc_firehose_8953_ddr.mbn' 'TB-X605L_USER_S000020_20180921_Q00020_ROW/rawprogram_unsparse.xml' '/TB-X605L_USER_S000020_20180921_Q00020_ROW/patch0.xml'
Open another command prompt, and prepare the reboot EDL command
adb reboot edl
Now, enjoy the following:

Run the flashing command (as prepared above), it should stop with the message 'Waiting for EDL device'
Run the reboot command from the second command prompt (as prepared above).

Note that you can of course enter the EDL mode in any other way - but as some instructions say that you have only a couple of seconds to start EDL mode, before the flashing is aborted.
The --debug option obviously isn't necessary, but you see much more action, and the flashing takes about 10 to 20 minutes.
Enjoy your unbricked devices!
PS: The documentation of the solution took a lot of time, and I'm a beginner here. I'm pretty sure that the description and formatting could be improved. I'd find it helpful if you give me hints as comments on how I could improve the description of the answer (instead of possibly downvoting it). Thanks!

This is a great answer. Thank you. I tried putting my phone in the EDL mode by short-circuiting the blue and green wires on the USB cable (there are plenty of videos on Youtube). Since the phone doesn't boot at all there weren't many options (it shows 'Encryption unsuccessful' and the 'Reset Phone' button doesn't work).
However, it looks like the qdl is stuck. It only reported
/dev/bus/usb/001/016 and /dev/bus/usb/001/016.
Any idea if this is normal and how long it takes to flash the firmware?

@egelev I honestly think you should open a new question for your  issue. All the best!

Thank you! In fact, I ran into this problem while trying to flash ROM by QFIL in an Ubuntu host and Windows 10 guest VirtualBox VM. With linaro's qdl, I completely get rid of the VM, haha


text:
please explain the: >"adb shell sm partition disk:179,64 mixed 80" command
it is taken from I want to split one MicroSD card into two parts: part adoptable storage, and part normal storage. How can I do this?
what is 80 at the end? 80%?
I ran that on an Adoptable Storage card and it erased many installed programs :/ lesson learned
https://www.reddit.com/r/MotoG/comments/g7n3ye/fyi_do_you_want_to_expand_your_internal_storage/

"WARNING - DO THIS ON A fresh / formatted microSD - else this will erase your Adoptable Storage data, pictures, applications" according to linked question 5 GB ÷ 32 GB = 15% (+ 5% reserved) 80 means = adoptable-storage ~ 20% + external Storage ~ 80%


text:
How to access my android phones data with only fastboot mode access and no developer options enabled and no access to recovery options?
I have an Asus Zenfone Max Pro M1 device. Few hours back, it shutdown suddenly and i cannot reboot it. What all i tried are:
1) When i try to Restart, it shuts down after showing asus logo.
2) When i try to access Recovery Mode by pressing Volume Down and Power Button, it shuts down after showing asus logo.Hence cache cannot be cleared
3) I can Access CSC FASTBOOT MODE. But no Developer options enabled.
Can someone help me on how i can get my datas back in this situation? all tutorials on web says my issue will be due to corrupt files. I am ready to factory reset my device. But my data is precious. Confidential Office files have to be retrieved. Any ways?

https://android.stackexchange.com/q/224131

https://www.youtube.com/watch?v=1HDMuzrNvN0

@alecxs: Thanks for the input bro. let me go through those :)


text:
root chinese tablet Twrp is the only way?
Hi everyone I hope you are safe in this time's ! and I'm tring to do root into a chinese tablet

It is a nice piece i can vnc to my pc's or ssh and control by kdeconnect or use yatze etc i like it but i will love it whit cyanogenmod but that it is such a task to get it done just by me I'm starting for get it rooted now i have manage to get the scarttedfile and pull averything from.

there you can see userdata.img system.img etc. The mnt folder i place it, to mount system.img on it like
mount -o loop system.img mnt
And then modify the system and then flash it back again into whit SP_FLASH_TOOL it is almost the same as have root on it but i need place a swap file and made swapon probably I could doit from the file recovery.fstab wich cointain
    # mount point   fstype      device          [device2]

/boot       emmc        boot
/cache      ext4        /dev/block/mmcblk0p4
/data       ext4        /dev/block/mmcblk0p5
/misc       emmc        misc
/recovery   emmc        recovery
/sdcard     vfat        /dev/block/mmcblk0p6
/system     ext4        /dev/block/mmcblk0p3

I'm not sure about i will try but why? i have come here it is to see if some one could help me to either way build twrp for this devices or let me know how to place the magestik app on the system.img to do root hopefully some one here knows how to do so since twrp what it does is that rigth ? Flash the app in to the system i just should place it into the /app folder

magisk is systemless root method, only patch boot.img with magisk manager apk

Oh yes i found it thank you @alecxs

I follow the instructions from magisk to patch the boot.img file quite easy as alecxs  suggested and it is done


text:
cant flash Lenovo Tab M10 TB-X605L LTE with Android 8
I have a Lenovo Tab M10 TB-X605L LTE that I would like to give to my grandfather with Teamviewer Host installed to accept incoming calls because he is unable to do so. We want to give him the opportunity to videocall with family members during the corona confinement.
Unfortunately the Teamviewer Host app is giving issues on Android 9 and needs to be flashed to Android 8 for it to work.
I found this helpful post by BogisW and followed the steps he described:
Cannot flash Qualcomm with Stock Image (Lenovo Tab M10 TB-X605L LTE, Android 8 Oreo)
I'm running into issues when putting in the flash command:
./qdl --debug --storage emmc --include 'TB-X605L_USER_S000020_20180921_Q00020_ROW' 'TB-X605L_USER_S000020_20180921_Q00020_ROW/prog_emmc_firehose_8953_ddr.mbn' 'TB-X605L_USER_S000020_20180921_Q00020_ROW/rawprogram_unsparse.xml' '/TB-X605L_USER_S000020_20180921_Q00020_ROW/patch0.xml'

these are the errors i get back:
[PATCH] failed to parse /TB-X605L_USER_S000020_20180921_Q00020_ROW/rawprogram_unsparse.xml
qdl: failed to detect file type of /TB-X605L_USER_S000020_20180921_Q00020_ROW/rawprogram_unsparse.xml

[PATCH] failed to parse /TB-X605L_USER_S000020_20180921_Q00020_ROW/patch0.xml
qdl: failed to detect file type of /TB-X605L_USER_S000020_20180921_Q00020_ROW/patch0.xml

I have no TWRP installed and doing this from a Ubuntu linux machine.
It seems to me the issue could be with the path to the unzipped firmware but i don't know where to place them and don't understand the --storage emmc... should they be placed on a SD card? should i mount it in any way?
I would be very grateful if someone could tell me what to do here, i'm getting stuck and i'm just trying to get this to work and have the tablet shipped to my grandfather to make some videocalls.
Thanks!!

please read the error message it is very clear: patch0.xml does not exist (wrong path), you must specify right path on PC. also the instructions are very clear: '/patch0.xml'

Thanks i got it working with removing the forward slash.


text:
Upgrade from Android 7.0 to 9.0 in Asus Zenpad 10
I have an Asus ZenPad 10 P028 and it has Android 7.0.
I was wondering is a good idea to upgrade to Android 9.0 and also is it feasible?
I've seen there are tutorials to move to LineageOS but it will not support my tablet version.
The reason to upgrade is that the android version I've is not stable, some apps crash unexpectedly and is not the fastest.
I'm not sure as I've read in other questions if the kernel would support the device.
What would you recommend?

New Android 9 is not faster than Android 7. If your device does not show you available updates then there are no updates to newer Android versions. Check Settings -> System-> Updates.

Hello Angelo. Our site focuses on questions which can be answered objectively. Open ended questions such as "what/how was your experience with XYZ", "Do you think I should do ABC", "What do you recommend given DEF issues/constraints" are not a good fit. They just keep inviting answers with opinions given their nature.


text:
How do I troubleshoot the boot process ending up in the fastboot menu after LineageOS 17.1 upgrade?
I have an OnePlus6 (enchilada) which was working fine with LineageOS 16. I've just upgraded it to 17.1 following the official upgrade doc and using OpenGapps.
Now, after the whole procedure, I am stuck in the fastboot menu, where I can either shutdown or boot to recovery.
How do I troubleshoot? Is there some way to gather boot logs?
Or maybe there's a way to turn the boot process into a more verbose one?
(I tried booting into recovery, only then I get adb access, but no /proc/last_kmsg there as people suggest, and the /proc/kmsg contains only the recent boot logs)

I checked the /boot partition - it doesn't seem to be altered in the boot process. I judge it by trying to boot several times and checking the md5sum afterwards - adb pull /dev/block/bootdevice/by-name/boot_a /tmp has the same checksum as the one I extract from the OTA mega-zip with payload_dumper

probably gapps installed to /system instead of /system_root/system upgrade TWRP 3.3.1-18 Q Unofficial by mauronofrio and 'adb pull /tmp/recovery.log' after installing gapps