Non-persistent root (via exploit) possible? - LG V35 Guides, News, & Discussion

Problem statement: I have been looking to make a full backup of my phone, so that I have it in case device breaks or gets lost. I am aware there are app backup tools, but they all rely on application cooperating; some apps won't - for example Authenticator app will refuse to backup, and migrating to new device would be tedious, especially if it's lost. I would like to be able to do a one-time non-persistent root, which allows me to use titanium backup.
I understand there is a bootloader-based root now possible, which is useful, as it persists. But it will erase data before applying. Which makes sense, as that's protecting user data from being lifted from device by third party. But it defeats the purpose
I wonder if there's some sort of an exploit that could get me rooted temporarily, and then it goes away on reboot.

galets said:
Problem statement: I have been looking to make a full backup of my phone, so that I have it in case device breaks or gets lost. I am aware there are app backup tools, but they all rely on application cooperating; some apps won't - for example Authenticator app will refuse to backup, and migrating to new device would be tedious, especially if it's lost. I would like to be able to do a one-time non-persistent root, which allows me to use titanium backup.
I understand there is a bootloader-based root now possible, which is useful, as it persists. But it will erase data before applying. Which makes sense, as that's protecting user data from being lifted from device by third party. But it defeats the purpose
I wonder if there's some sort of an exploit that could get me rooted temporarily, and then it goes away on reboot.
Click to expand...
Click to collapse
LG Bridge can make a backup.

ChazzMatt said:
LG Bridge can make a backup.
Click to expand...
Click to collapse
Is that a full backup, similar to titanium, or is it a regular adb backup?

Can't Qfil do it? That's not unlock based, it's firehose based(and typically used in the process of unlocking).

Eric janaika said:
Can't Qfil do it? That's not unlock based, it's firehose based(and typically used in the process of unlocking).
Click to expand...
Click to collapse
Can you explain in a little bit more details, how are you proposing to use qfil, what problem will it solve?

galets said:
Is that a full backup, similar to titanium, or is it a regular adb backup?
Click to expand...
Click to collapse
More like Titanium.
You install LG Bridge on your PC, connect your phone and back up.

galets said:
Can you explain in a little bit more details, how are you proposing to use qfil, what problem will it solve?
Click to expand...
Click to collapse
I was under the impression it can read partitions as well as write. Is that not the case?

Eric janaika said:
I was under the impression it can read partitions as well as write. Is that not the case?
Click to expand...
Click to collapse
So, you saying it is capable of reading data partition from a _locked_ device? I was always assuming it's impossible by design
Update: you might be right... Per https://forum.xda-developers.com/lg-v40/development/unlock-lg-v40-via-9008-root-t-mobile-t4042207 it seems like it might be possible. I'll go ahead and try it out. Thanks!

ChazzMatt said:
More like Titanium.
You install LG Bridge on your PC, connect your phone and back up.
Click to expand...
Click to collapse
Do you know if LG Bridge is similar in functionality to LG Mobile Switch? I just made a backup using Mobile Switch and used 7z to extract data. It backed up authenticator apk, but none of it's data. In other words, it's pretty much same as adb backup in functionality

galets said:
Do you know if LG Bridge is similar in functionality to LG Mobile Switch? I just made a backup using Mobile Switch and used 7z to extract data. It backed up authenticator apk, but none of it's data. In other words, it's pretty much same as adb backup in functionality
Click to expand...
Click to collapse
Two different pieces of software with totally different purposes.
https://www.androidcentral.com/how-use-lg-bridge-your-lg-phone

UPDATE:
* @ChazzMatt LG Bridge on windows PC flat out refused to back up. "Your phone is not supported for backing up with LG Bridge"
* @Eric janaikat QFIL connected to device in download mode (restart then Vol Up), but "Partition Manager" is grayed out. I'm not sure if that's correct mode to use. Perhaps, it is because device is not boot-unlocked. Unlocking will cause reset, which defeats the purpose. Or, perhaps I'm just not putting device in correct mode.
* Update2: Also put the phone into "Qualcomm HS-USB QDLoader 9008" mode, and tried to use qfil. Partition manager is still grayed out.

Did you follow the guide you linked? Seems like they show you how to backup the partitions in the guide. Did you select the firehose programmer? Did you remember to put it in UFS mode?

Eric janaika said:
Did you follow the guide you linked? Seems like they show you how to backup the partitions in the guide. Did you select the firehose programmer? Did you remember to put it in UFS mode?
Click to expand...
Click to collapse
I think we might be getting somewhere here, but I'm not sure. I got a programmer selected, and now I can see partition manager enabled. But it still won't open (see screenshot). It seems that the instructions had reference to "rawprogram0.xml", but I can't see where can I find one...

Eric janaika said:
Did you follow the guide you linked? Seems like they show you how to backup the partitions in the guide. Did you select the firehose programmer? Did you remember to put it in UFS mode?
Click to expand...
Click to collapse
okay... I did finally pull the `userdata` from device. Now what? I can't decrypt it. I think the android is using hardware key derivation, which makes it impossible to mount userdata outside the phone it was generated on. That means I can't copy it to another device either. Am I incorrect?

That might be so. I haven't had to try myself, but I imagine Qfil doesn't decrypt it. You just need a backup so you can restore to the same phone after unlocking right? The key shouldn't change should it?
If you want a general purpose backup, make one after you root it.

ChazzMatt said:
Two different pieces of software with totally different purposes.
The LG Bridge software creates a backup of .lbf file format, which seems to be proprietary to LG and can not be read from the computer the backup is stored upon.
Click to expand...
Click to collapse

Eric janaika said:
That might be so. I haven't had to try myself, but I imagine Qfil doesn't decrypt it. You just need a backup so you can restore to the same phone after unlocking right? The key shouldn't change should it?
Click to expand...
Click to collapse
I think there's hardware module which stores part of key derivation information. If you reset phone, it's gone. Since you indicated you never did it yourself, I don't believe I want to try it either, since my goal is to make reliable backup BEFORE my phone is destroyed
Eric janaika said:
If you want a general purpose backup, make one after you root it.
Click to expand...
Click to collapse
We are going in circles here. That was exactly the purpose if my post - I want to get root, so I can backup. I can't root it via unlocking bootloader, since it will erase the very data I'm looking to backup

RKHenderson said:
The LG Bridge software creates a backup of .lbf file format, which seems to be proprietary to LG and can not be read from the computer the backup is stored upon.
Click to expand...
Click to collapse
Have you been able to even use LG Bridge to backup v35? Specifically, LM-V350ULM. My attempts were met with "Your phone is not supported for backing up with LG Bridge". If you were, did it successfully restore apps which resist being backed up, such as google authenticator?

galets said:
Have you been able to even use LG Bridge to backup v35? Specifically, LM-V350ULM. My attempts were met with "Your phone is not supported for backing up with LG Bridge". If you were, did it successfully restore apps which resist being backed up, such as google authenticator?
Click to expand...
Click to collapse
I was able to backup but mine is LM-V350AWM. I used the LG Bridge to backup, meaning the usb cable not the wifi bit (I think they call that LG Air Drive). It made a backup that I can load on the phone and it keeps my steam auth.
Only problem is that the file on my computer is not a format I can read (.lbf). I would really like to get this backup to read to see what exactly it did store but after making the backup it seems I am stuck.

UPDATE: rooting device seems to be too much of a nuisance. What I did instead is modify google authenticator to allow backing up database using one-way encryption (e.g.: can't read it back if device is hacked). If anybody is interested, I can publish source code after bringing it into a publishable state.

Related

Hard bricked Xperia M - Help!

Hello all, I have been a lurker for quite a while here. I own an Xperia M (Rooted, Unlocked BL running CM11). I was feeling adventurous and started messing with the partition table hoping to resize the system and data partitions using parted. I was unaware that the bootloader detects such modifications and ended up with a brick.
Just to clarify, this is a hard brick, since the Flashtool and fastboot modes do not work. I do not see the blue LED while trying to start the device in the fastboot mode using the volume rockers. My PC only detects a "QHSUSB_DLOAD" device for which I've installed the drivers and it is now "Qualcomm HS-UDB QDLoader 9008".
However, before I started to work with the partition table, I took a raw backup of the emmc i.e. mmcblk0. This should include the correct partition table and all the partitions (TA, userdata, system etc.). Theoretically (I believe so), if this is reflashed onto the device, an unbrick could be possible. However, so far, I haven't been able to figure out a way to push this image back to the device. I came across QPST and some linux bash scripts but haven't been able to use them successfully.
Has anyone come across such a scenario before? I looked for solutions in other threads but didn't find anything conclusive for Xperia devices. Can someone help me with this? thanks.
randallstevens said:
I was feeling adventurous and started messing with the partition table
Click to expand...
Click to collapse
Hi,
On other forum one user followed suggested by me same theory of remapping paritions as described here to shrink so large /system and increase /userdata
He gotta same brick because deleted 3 partitions and then they was cannot created by any commands, so seems this method not applicable to our phone.
Next he very early quited from recovery without restoring partition table from backup.
Surprisingly, in un-offical service center phone was quickly fixed, seems with JTAG-device.
QHSUSB_DLOAD – this is fall-back low-level mode of CPU that allow access to all partitions just like fastboot
Needed to repair / writing stock ROM at factory.
Can be enabled manually by connecting to PC with holding both volume buttons. How to exit – don't know.
QPST utility not useful because we not have dump in it's proper format. So only Linux our hope.
That user tried to manage with Ubuntu but phone was not recognized. Very likely he went into something wrong.
That's very great that you created backup of whole NAND.
Maybe will be enough restore GPT (partition table), I have one and own per-partitions dump too.
So plan very easy: connecting phone to PC with Ubuntu and restore dump via dd utility.
Partially follow this instruction with modifications because you have full dump.
Connect phone, find where it "attached" (whole nand, not partitions), restore file there.
Be careful with disk naming, you can damage data on HDD.
Bonoboo said:
So plan very easy: connecting phone to PC with Ubuntu and restore dump via dd utility.
Partially follow this instruction with modifications because you have full dump.
Connect phone, find where it "attached" (whole nand, not partitions), restore file there.
Be careful with disk naming, you can damage data on HDD.
Click to expand...
Click to collapse
Hi Bonoboo, thank you for replying.
Unfortunately, Ubuntu isn't able to detect the emmc and therefore, I'm unable to find the "/dev/sdX" node for the device. The phone is being detected only as "Qualcomm, Inc. Gobi Wireless Modem (QDL mode)".
I've seen some threads wherein QPST is first used to enable the partitions detection of emmc. However, as you mentioned, we do not have the necessary MSM8227 HEX file for this.
A windows app called "s1tool.exe" can be used to flash the bootloader files from the FTF, Link to thread. However, a testpoint combination is needed to access the emergency mode. I was unable to find a testpoint for Xperia M.
Is JTAG the only way forward here? Thanks again for the help.
EDIT: Looks like the s1tool I mentioned is device specific, may not work with XM.
randallstevens said:
I'm unable to find the "/dev/sdX" node for the device.
The phone is being detected only as "Qualcomm, Inc. Gobi Wireless Modem (QDL mode)".
Click to expand...
Click to collapse
Yeah, this is not good, same as was with that guy. 1, 2
But here under spoiler I found Perl-script that may open access to eMMC.
Here more info.
Maybe it device-specific too, but anyway try.
UPD: post
just connect your phone to PC (at this time your /var/log/kern.log should update and ttyUSB0 should be added), in terminal, cd to your download folder and run './qd.pl --check', or run 'perl ./qd.pl --check'.
Click to expand...
Click to collapse
Bonoboo said:
Yeah, this is not good, same as was with that guy. 1, 2
But here under spoiler I found Perl-script that may open access to eMMC.
Here more info.
Maybe it device-specific too, but anyway try.
UPD: post
Click to expand...
Click to collapse
Hello Bonoboo,
I've tried using the qd.pl script but I'm not sure which file needs to be sent to the device when using the "qd.pl --pfile X" and the other parameters. The script detects the Qualcomm modem. I've tried uploading the first 256 kilobytes of the dump which should include the partition table but this results in an "Invalid Response" error from the script. Tried uploading the TA and some other partitions, but received the same error. No eMMC access yet. What file do you think the script requires?
randallstevens said:
What file do you think the script requires?
Click to expand...
Click to collapse
Was mentioned some *.hex, that maybe relates with same from QPST.
In threads more info.
Very likely script just not compatible with M.
UPD: it's sounds weird, but try to connect phone in fastboot / flashmode with long holding volume key.
In some cases this really helpful due second "bootloader" (alt_s1sbl2 partition and other).
Bonoboo said:
UPD: it's sounds weird, but try to connect phone in fastboot / flashmode with long holding volume key.
In some cases this really helpful due second "bootloader" (alt_s1sbl2 partition and other).
Click to expand...
Click to collapse
Hi, I tried long-pressing the volume key, it does not seem to work. Thanks for the confirmation about the hex file. It looks like I'll need the right files for the handset, as using hex files of similar chipsets did not help. I'll keep working on it and write back with an update if I'm able to fix it.
I've got the same problem., but unfortunately I didn't make a dump of mmcblk0. There is a way I can get yours? Or a part of it with the interesting data with which I can try figuring out how the qdload.pl script works (maybe leave out userdata cause of its size and the private data).
fakier said:
I've got the same problem., but unfortunately I didn't make a dump of mmcblk0. There is a way I can get yours? Or a part of it with the interesting data with which I can try figuring out how the qdload.pl script works (maybe leave out userdata cause of its size and the private data).
Click to expand...
Click to collapse
Hi fakier, sorry to know you have the same problem. I've sent you a PM with a link to a compressed copy of the first 140 MBs of the raw eMMC dump I made earlier. This should contain all the important partitions besides system and userdata. Note that this also includes my TA partition which probably shouldn't be written to your device.
randallstevens said:
Hi fakier, sorry to know you have the same problem. I've sent you a PM with a link to a compressed copy of the first 140 MBs of the raw eMMC dump I made earlier. This should contain all the important partitions besides system and userdata. Note that this also includes my TA partition which probably shouldn't be written to your device.
Click to expand...
Click to collapse
Thanks, a backup of my TA partition I do have...
Update
Hello folks, after spending a lot of time trying to fix my device with qdloader and QPST, I gave up. Before getting it JTAGed, I wanted to try my luck (again) and approached Sony to claim warranty, since there was a month remaining before its expiry.
My warranty claim was accepted and they replaced the mainboard, though the bootloader was unlocked!! My Xperia is alive and kicking again! Will unlock it soon.
Trying to fix the phone was not a pleasant experience, but I think I learned much along the way. Hope nobody else screws-up the way I did.
Thanks XDA, see ya around! :good:
randallstevens said:
Hello folks, after spending a lot of time trying to fix my device with qdloader and QPST, I gave up. Before getting it JTAGed, I wanted to try my luck (again) and approached Sony to claim warranty, since there was a month remaining before its expiry.
My warranty claim was accepted and they replaced the mainboard, though the bootloader was unlocked!! My Xperia is alive and kicking again! Will unlock it soon.
Trying to fix the phone was not a pleasant experience, but I think I learned much along the way. Hope nobody else screws-up the way I did.
Thanks XDA, see ya around! :good:
Click to expand...
Click to collapse
Dude what was the point of this thread and when you tried to fix your phone did you re flash stock ROM?
Reply to Piravinthb's comment
Piravinthb said:
Dude what was the point of this thread..
Click to expand...
Click to collapse
The point of this thread, dude, was to see if the device could somehow be taken out of the "Qualcomm HS-USB QDLoader 9008" mode, a (very) low-level interface meant for vendors to flash bootloaders and system images on their devices.
..and when you tried to fix your phone did you re flash stock ROM?
Click to expand...
Click to collapse
Had you googled this, you'd know that this mode isn't the same as the Flashtool flash mode or fastboot. No rom, stock or CM, can be flashed before fixing the bootloader itself, which is needed to start the device.
Not much progress could be made here since the bootloader hex files for Qualcomm's OEM tools (QPST) would be needed to fix such a hard brick. Also, the QDloader scripts mentioned earlier were written for a different chipset from the one used in Xperia M.
Cheers, RS.
randallstevens said:
Hello all, I have been a lurker for quite a while here. I own an Xperia M (Rooted, Unlocked BL running CM11). I was feeling adventurous and started messing with the partition table hoping to resize the system and data partitions using parted. I was unaware that the bootloader detects such modifications and ended up with a brick.
Just to clarify, this is a hard brick, since the Flashtool and fastboot modes do not work. I do not see the blue LED while trying to start the device in the fastboot mode using the volume rockers. My PC only detects a "QHSUSB_DLOAD" device for which I've installed the drivers and it is now "Qualcomm HS-UDB QDLoader 9008".
However, before I started to work with the partition table, I took a raw backup of the emmc i.e. mmcblk0. This should include the correct partition table and all the partitions (TA, userdata, system etc.). Theoretically (I believe so), if this is reflashed onto the device, an unbrick could be possible. However, so far, I haven't been able to figure out a way to push this image back to the device. I came across QPST and some linux bash scripts but haven't been able to use them successfully.
Has anyone come across such a scenario before? I looked for solutions in other threads but didn't find anything conclusive for Xperia devices. Can someone help me with this? thanks.
Click to expand...
Click to collapse
hi i have same problem with same adventure , but i was using stock rom with customized kernel with cwm.
i think the solutions are 2
repair hard brick with JTAG or test point and s1tool what is not implemented for xperia m
see http://forum.xda-developers.com/showthread.php?t=2646405 for Z1
my handset will be in trash no free or paid solution or sony service . i'll buy another one
thx
rafik23 said:
my handset will be in trash no free or paid solution or sony service . i'll buy another one
thx
Click to expand...
Click to collapse
Buy a nexus 4 off amazon for 140€
It only takes 2 taps to thank somebody here.

[Q] Urgent simple question regarding S8500

Hey,
I've got a friend that has a s8500, the screen broke and i changed it. By the time i gave it back to him he had forgotten the Phone Securty code he had setup. The only thing i want is a way to recover the data before the reset.
Is there any way to achieve that? Or is there any way to reset/get the code ? I've been looking into the FLOCK thread but im afraid it will lose the data after the flash.
We also contacted Samsung and they said the only way to reset that code is with a hard reset which will make the data being lost.
Can i in recovery/download mode get the data? The most important thing is the contacts/photos.
Thanks in advance.
w1ckedz said:
Hey,
I've got a friend that has a s8500, the screen broke and i changed it. By the time i gave it back to him he had forgotten the Phone Securty code he had setup. The only thing i want is a way to recover the data before the reset.
Is there any way to achieve that? Or is there any way to reset/get the code ? I've been looking into the FLOCK thread but im afraid it will lose the data after the flash.
We also contacted Samsung and they said the only way to reset that code is with a hard reset which will make the data being lost.
Can i in recovery/download mode get the data? The most important thing is the contacts/photos.
Thanks in advance.
Click to expand...
Click to collapse
No idea about the FLOCK thing, i think it's to unlock SIM-LOCK or freeze and not the phone.
The photo are recoverable with android, not sure about the contact (i don't know where they are stored in bada).
In short, you need to boot an android recovery (see the android dev on bada section, i can also provide more detailled instructions), mount bada user partition and then copy paste what's inside on SDcard.
It need an sdcard, a SD fota, multiloader an android kernel and adb (android debug bridge, free software anywhere on the net).
No data will be lost if you do it (if you are on bada 2, else i don't know, and phone will still be locked).
BenzoX said:
No idea about the FLOCK thing, i think it's to unlock SIM-LOCK or freeze and not the phone.
The photo are recoverable with android, not sure about the contact (i don't know where they are stored in bada).
In short, you need to boot an android recovery (see the android dev on bada section, i can also provide more detailled instructions), mount bada user partition and then copy paste what's inside on SDcard.
It need an sdcard, a SD fota, multiloader an android kernel and adb (android debug bridge, free software anywhere on the net).
No data will be lost if you do it (if you are on bada 2, else i don't know, and phone will still be locked).
Click to expand...
Click to collapse
Thank you, i had forgotten that i could just boot a costum recovery. Need to do some research on the contacts location tho since it's really the most important data i need to recover. Thank you again.

[Q] How do I restore system partitions?

Basically, I accidentally deleted the first 5 system partitions which bricked my phone. I found a system dump which is the same version as the ROM I was using on my phone. I haven't downloaded it yet, but, I believe, system dumps contain all the system partitions which are in img file format (not sure on this). My phone does get detected on my computer as QHSUSB_BULK but not with adb, so if I could get my phone into fastboot mode and hopefully my computer detects my phone in fastboot mode, will it be possible to flash the system partition imgs and restore my phone?
nb: my phone won't turn on; I don't know if it charges as there's no charging Led but sometimes if I plug it in to charge it flashes on then stays off; can't get into recovery; phone doesn't seem to respond to combination presses but I have yet to try this method
When you plug it into the computer does the computer make a ding sound that it's connected? If so, then press power and volume up until the disconnect ding sound which indicates it's rebooting and then immediately press volume down and see if you can get into fastboot. The timing is tricky so I've found using audio cues from computer can help if the phone is messed up.
Click to expand...
Click to collapse
.
Quick answer, you can't AFAIK. Not without a JTAG box
BLUuuE83 said:
Basically, I accidentally deleted the first 5 system partitions which bricked my phone. I found a system dump which is the same version as the ROM I was using on my phone. I haven't downloaded it yet, but, I believe, system dumps contain all the system partitions which are in img file format (not sure on this).
Click to expand...
Click to collapse
I think by "system partition" you mean "partition". There is the actual /system partition, and deleting that will only have wiped the ROM. I think you actually deleted other partitions; in particular if you wiped hboot or radio, the phone is screwed and you need JTAG.
QHSUSB_BULK (or similar) message when connecting to computer, and screen not coming on at all, reinforces that notion.
redpoint73 said:
I think by "system partition" you mean "partition". There is the actual /system partition, and deleting that will only have wiped the ROM. I think you actually deleted other partitions; in particular if you wiped hboot or radio, the phone is screwed and you need JTAG.
QHSUSB_BULK (or similar) message when connecting to computer, and screen not coming on at all, reinforces that notion.
Click to expand...
Click to collapse
Yeah. I think I only deleted the first 5 partitions mmcblk0p1 to mmcblk0p5.
Partition List
EddyOS said:
Quick answer, you can't AFAIK. Not without a JTAG box
Click to expand...
Click to collapse
So my best bet is it send it to a HTC certified repair centre and get them to fix it? If that's the case, how long does it usually take and what's the average cost?
BLUuuE83 said:
Yeah. I think I only deleted the first 5 partitions mmcblk0p1 to mmcblk0p5.
Partition List
Click to expand...
Click to collapse
According to the list you linked, you deleted a bootloader module (sbl1). So its a real brick.
---------- Post added at 09:21 AM ---------- Previous post was at 09:18 AM ----------
BLUuuE83 said:
So my best bet is it send it to a HTC certified repair centre and get them to fix it? If that's the case, how long does it usually take and what's the average cost?
Click to expand...
Click to collapse
That would certainly work. HTC will probably replace the motherboard, which if memory serves me (based on reports by others here) is something like $300 US.
But it may be cheaper to find a repair shop that can JTAG the phone. I think that price is around $100-150. But you need to find a shop that can do it, and on the M8 specifically.

Lenovo MOTO Smart Assistant (LMSA) - Recovery, Rescue, Update, Backup, Restore, Clone

I just wanted to point up the Lenovo Moto Smart Assistant (LMSA). This is a PC program. When you plug your phone into the PC with a USB cable, you can update your phone to the latest available version, recover & rescue from various problems, backup & restore, clone all the information/programs to a new phone, and a few more helpful things.
Download LMSA here
LMSA Documentation/Help here
In addition, it will do a bunch of utility type things, like making ringtones, transferring files, etc.
Just for example, when I managed to to horch up my phone by switching to Partition B in TWRP (DON'T do that), I did the blankflash thing from here, then used LMSA to restore the system. (I'm not sure if LMSA could recover from a hard brick--it might, but I didn't try it.)
Also I was stuck on the March 2019 security update and used LMSA to upgrade to the latest available security update.
Point is, based on lots of threads I see here, it seems that many people don't know about LMSA.
If you're on the stock ROM (even rooted) it might be quite a bit easier to do certain system functions, like update, rescue, and backup, via LMSA than other methods. Even if you're on a custom ROM LMSA might still be helpful in certain situations.
thx but...
flug32 said:
I just wanted to point up the Lenovo Moto Smart Assistant (LMSA). This is a PC program. When you plug your phone into the PC with a USB cable, you can update your phone to the latest available version, recover & rescue from various problems, backup & restore, clone all the information/programs to a new phone, and a few more helpful things.
Download LMSA here
LMSA Documentation/Help here
In addition, it will do a bunch of utility type things, like making ringtones, transferring files, etc.
Just for example, when I managed to to horch up my phone by switching to Partition B in TWRP (DON'T do that), I did the blankflash thing from here, then used LMSA to restore the system. (I'm not sure if LMSA could recover from a hard brick--it might, but I didn't try it.)
Also I was stuck on the March 2019 security update and used LMSA to upgrade to the latest available security update.
Point is, based on lots of threads I see here, it seems that many people don't know about LMSA.
If you're on the stock ROM (even rooted) it might be quite a bit easier to do certain system functions, like update, rescue, and backup, via LMSA than other methods. Even if you're on a custom ROM LMSA might still be helpful in certain situations.
Click to expand...
Click to collapse
its very nice info, It is a pity that you need to set up an account to use it, anyway thx for a tip
xyzex said:
its very nice info, It is a pity that you need to set up an account to use it, anyway thx for a tip
Click to expand...
Click to collapse
U can't use it if u have an xp 32 bit box
I plug my phone but it says it can't connect to it... It says it can't match with the device connected.

Redmi Note 8 locked, need help with unlocking/backup

Hello!
I need help regarding a Redmi Note 8 that no longer accepts the correct pattern and is locked.
I'm looking for a solution that would allow me to either unlock my phone without data loss, or make a backup of the phone's internal storage on an sd card/pc before hard resetting.
The device is not rooted and I don't have custom recovery installed. USB Debugging is on, but my laptop is not authorized.
With Adb, the device is detected but unauthorized. It seems to be detected normally in fastboot mode. I was able to get my laptop to detect it in recovery mode by clicking on "Connect with MIAssistant" while it was plugged in, but only in sideload mode. I also somehow managed to get into safe mode, but I used the stock screen lock, so unless there's something else that can be done in that mode, it doesn't seem useful in this situation.
I tried the actual MIAssistant software but it tells me to update my device before connecting. From what I found, this is because it doesn't even work with phones running Android 6.0 Marshmallow or above, so that seems to be a dead-end, unfortunately. Downloaded from here, updated to version 3.2.1.3111. If there's a newer version that could support my device, even an untranslated one, I would love to know, but I couldn't find a working one.
I had some ideas that could potentially solve my problem, but couldn't find a way to actually execute them, so here they are in case someone out there who knows more than me could help me with one of them.
1, Is there any way I could authorize my laptop for USB Debugging without being able to accept the prompt on screen?
2, Is there a way to make a backup of the internal storage of my phone in fastboot/sideload mode?
3, Is there a way to get adb to detect this device normally in recovery mode, instead of in sideload mode?
4, Is there a way to get my device into mtp/ptp mode instead of charging mode when connected to a PC without USB Debugging so I can copy my files?
5, Here's a thread I found that seems promising, although it's old. Could I somehow use this, or a similar method on Redmi Note 8? The Recovery Mode is much more limiting on this device, unfortunately, so I can't exactly follow this tutorial. Are there alternatives that can be done in adb fastboot/sideload mode, perhaps?
6, If I am forced to hard reset, is there any software out there that could recover at least some of the deleted data afterwards, or is everything lost in case of a reset?
I am open to new ideas not listed above, as well. I am not a very advanced user so I probably missed some things.
Thank you so much for any answer in advance!
zoey_96 said:
Hello!
I need help regarding a Redmi Note 8 that no longer accepts the correct pattern and is locked.
Click to expand...
Click to collapse
do you have the default recovery ? or a custom one ?
zoey_96 said:
Is there any way I could authorize my laptop for USB Debugging without being able to accept the prompt on screen?
Click to expand...
Click to collapse
No
loopypalm said:
do you have the default recovery ? or a custom one ?
Click to expand...
Click to collapse
Default, which doesn't have many options on Xiaomi. :/
loopypalm said:
No
Click to expand...
Click to collapse
Sad to hear that. Are there any alternative options that could solve my problem? I'd really rather not factory reset.
zoey_96 said:
Default, which doesn't have many options on Xiaomi. :/
Click to expand...
Click to collapse
if you had twrp or similar your problem would be solved ...
zoey_96 said:
Are there any alternative options that could solve my problem?
Click to expand...
Click to collapse
not as far as i know, ask in ADB thread if you find any
Updated with extra info in case anyone else has any ideas.
Even if you can copy your files to PC, they are problably unusable because of encryption.
That is why you need that pattern
For security this is exactly what you want, if your phone is lost or stolen.
Elinx said:
Even if you can copy your files to PC, they are problably unusable because of encryption.
That is why you need that pattern
For security this is exactly what you want, if your phone is lost or stolen.
Click to expand...
Click to collapse
Do you mean that the reason it doesn't accept the correct pattern anymore is for security? I would have thought it would still accept the correct one, at least after several tries of the same thing. Being completely locked out even when you know the correct password is a little strange to me.
zoey_96 said:
Hello!
I need help regarding a Redmi Note 8 that no longer accepts the correct pattern and is locked.
I'm looking for a solution that would allow me to either unlock my phone without data loss, or make a backup of the phone's internal storage on an sd card/pc before hard resetting.
The device is not rooted and I don't have custom recovery installed. USB Debugging is on, but my laptop is not authorized.
With Adb, the device is detected but unauthorized. It seems to be detected normally in fastboot mode. I was able to get my laptop to detect it in recovery mode by clicking on "Connect with MIAssistant" while it was plugged in, but only in sideload mode. I also somehow managed to get into safe mode, but I used the stock screen lock, so unless there's something else that can be done in that mode, it doesn't seem useful in this situation.
I tried the actual MIAssistant software but it tells me to update my device before connecting. From what I found, this is because it doesn't even work with phones running Android 6.0 Marshmallow or above, so that seems to be a dead-end, unfortunately. Downloaded from here, updated to version 3.2.1.3111. If there's a newer version that could support my device, even an untranslated one, I would love to know, but I couldn't find a working one.
I had some ideas that could potentially solve my problem, but couldn't find a way to actually execute them, so here they are in case someone out there who knows more than me could help me with one of them.
1, Is there any way I could authorize my laptop for USB Debugging without being able to accept the prompt on screen?
2, Is there a way to make a backup of the internal storage of my phone in fastboot/sideload mode?
3, Is there a way to get adb to detect this device normally in recovery mode, instead of in sideload mode?
4, Is there a way to get my device into mtp/ptp mode instead of charging mode when connected to a PC without USB Debugging so I can copy my files?
5, Here's a thread I found that seems promising, although it's old. Could I somehow use this, or a similar method on Redmi Note 8? The Recovery Mode is much more limiting on this device, unfortunately, so I can't exactly follow this tutorial. Are there alternatives that can be done in adb fastboot/sideload mode, perhaps?
6, If I am forced to hard reset, is there any software out there that could recover at least some of the deleted data afterwards, or is everything lost in case of a reset?
I am open to new ideas not listed above, as well. I am not a very advanced user so I probably missed some things.
Thank you so much for any answer in advance!
Click to expand...
Click to collapse
Howdy bro (I also have a Xiaomi Redmi Note 8).
I've been almost two intense weeks reading and watching the XDA forum, trying somehow and I did not find the way to unlock it .... Besides that I have the Bootloader disabled it makes me more difficult, because for that I need to format my phone and is what I do not want .... Already today is my last day of searching and I think I will have to leave my memories behind and Format my cell phone.
I leave you a thread of a user that explains well the process of why you can not:
A Comprehensive Guide to getting Past the Android Pattern Lock Screen
So, here's the situation I’m in. Also I am 99% sure I got something wrong so please tell me. I’m past the pattern lock screen so ADB won’t directly work to unlock the lock screen. If I was at a pattern lock screen, I could use ADB to unlock the...
forum.xda-developers.com
and several more of the many threads that I searched, maybe it will help someone:
[Xiaomi] How to unlock phone after forgetting the password.
Hello, today it happened that I forgot a password to my phone. I've tried to restore it by logging in into my xiaomi account and my google account. Unfortunately it only offers to wipe my data, which I want to avoid at all costs. I have Poco F2...
forum.xda-developers.com
[Android][Guide]Hacking And Bypassing Android Password/Pattern/Face/PI
- DISCLAIMER - This Is For Educational Purposes Only You Shall Not Use This On Other People Phones Without Permission Under Any Circumstances I'm Not Responsible For Any Eventual Errors And Misbehaving Of Your Devices Files And Tutorials Are...
forum.xda-developers.com
[Android][Guide]Hacking And Bypassing Android Password/Pattern/Face/PI
- DISCLAIMER - This Is For Educational Purposes Only You Shall Not Use This On Other People Phones Without Permission Under Any Circumstances I'm Not Responsible For Any Eventual Errors And Misbehaving Of Your Devices Files And Tutorials Are...
forum.xda-developers.com
[GUIDE] Unlock bootloader without losing user data.
Hi, I am writing this guide because many people followed other guides in the forum and lost their data. This is the proper way of unlocking the bootloader without losing your data. 0 - Read the whole guide before proceeding and proceed at your...
forum.xda-developers.com
[GUIDE] Redmi K20 Pro - Unlock & Root Information, Links, Tools and Instructions
Like many, I was overwhelmed with information when trying to unlock, flash, and root my phone. After many failures, I decided to compile the good information all in one place. I hope this helps. If it does, please consider buying me a beer...
forum.xda-developers.com
Recovery without data loss
Hi Community, you are my last salvation. I am owner of Pixel 4a 5g since half a year and now it cannot boot anymore. I see only the google-"G" and the loading bar nothing else. I can start the Boatloader but before i do a factory reset i need to...
forum.xda-developers.com

Categories

Resources