Respected members of this forum. Please help me. Here is my situation. My Mi Max 3 (unlocked) had fallen into water a few days ago. When I removed the phone out of the water, the phone was still turned on, but I made the mistake of shaking it to get out the water and then the phone went blank, black screen. I was scared that something got shot inside. I buried my phone into a bag of rice for a couple days and when I tried to turn it on, it woudnt turn on even after an hour of charging. I panicked, but learnt that I could use the EDL test point method and reflash the phone with stock firmware. I shorted the test points and used Mi Flash and installed the MIUI 12.0.1 global stock rom which was the version I was using before the phone went out. I had ticked 'flash all except storage'. but I when the phone booted up after flashing it took a very long time to load to the home screen (more than an hour, I suspect due to an encrypted phone which I learnt later while doing some research) freezing up very now and then and finally I was horrified to learn that all my data was erased. Anyways, I was thereafter having issues, cause the phone for freeze for more than half an hour every now and then. I diod a lot of research and learnt about the encryption method that Xiaomi uses on their phones. I then flashed TWRP using fastboot, but when I entered into TWRP it said that my data was encrypted and TWRP was frozen, so I couldnt even format data (and 'fix partition' if that was necessary) as many have suggested on the internet. I tried orangefox recovery which I was previously using, and had the same issue. I tried installed the patched boot image made with magisk (which did not have the dm verity option, only the encryption option which I unticked) using fastboot and it installed, but my phone was stuck at the boot logo. I tried installing the Disable_Dm-Verity_ForceEncrypt_12.27.2019.zip found on the internet using a tool called the "all in one tool" which was able to flash zip files though I had a frozen twrp recovery, but still when I checked 'fastboot oem device-info' using fastboot, it showed (bootloader) Verity mode: true. I have tried various methods but I am still
1. Unable to get my TWRP unfrozen to format data (suspect TWRP is frozen because the phone is encrypted)
2. Unable to decrypt my data partitions
3. Unable to remove DM verity in bootloader.
If I can get TWRP unfrozen, then I can format data, fix partitions or try any methods suggested. I would like to totally decrypt this phone and then install a custom rom. PLEASE HELP.
Related
First, this phone is converted from C72 to A42 by the seller.
I have enabled encryption and therefore I cannot use the "Fuse wipe data".
It went amok and start bootloop few days ago. I tried cache wipe with simcard and sdcard taken out. It still failed to enter into system UI.
Any idea what went wrong? I have not backed up my data and hopefully avoid hardware reset.
Looking for someone who can help me. TIA.
First of all: My method deletes everything on your phone. But it should work in mostly all cases.
Download this
Extract it, boot phone into bootloader, then run flashall - stock reco.bat and wait until the phone reboots on its own.
Hi,
I need some help with my OnePlus 3 running the latest or close to latest Android 8 OTA stock rom. It started half year ago, suddenly the phone was in a boot loop. I switched it on and off and I managed it to start again, doing a factory reset and wiping cache data. Then I reentered my details and selected a password. It was working for some days again, but I struggled to enter the right password after a while. Not because I'm stupid, it's pretty easy and I did it again and again. Then it was accepted and the phone was running again. I backuped my data and wiped it again just to check whats going on with that password. After restart I reentered all my data with password 0000. After restarting, it started again having trouble to enter the right password... not accepted. Switching on and off and then suddenly 0000 was accepted.... I don't know, I was tired to use this phone anymore and left it on my desktop.
Now half a year later. I want to fix this somehow and I thought, ok nothing to lose. I try that new Android 9 beta with adb sideload. Before that I'll do a full wipe loosing all my data (no problem). The wiping bar stucks at 99% and then it says "Format failed" with the only option "Yes". So stuck there, not started to sideload so far.
Update 1:
If I select that "Yes", I'm back in that erasing menu, with 3 options factory reset, wiping cache and erasing everything... if I select the last option again, it takes a second saying "Format failed"... I could do this forever. But if I select another option like wiping data something strange happens. It opens up a password screen asking for password... none of my passwords are working there. It is starting to decrypt... but stops with vibration and I'm back in that password screen. Only option that is left is "Forget password". If I select that, it is warning me, that I'll lose all my data. I say "Yes" and it's rebooting with a Chinese screen with a bar stucking at 99% again. That after a while the screen turns black. Phone is rebooting into that Chinese screen again, animating the bar to 100% again, switching itself off. If I start normal, Android logo appears, thats it, no OnePlus circle is coming up. Then I did it once more... "Chinese init/wiping loop" again. So I can restart normally having this or restart in recovery to do all the things as before.
Update 2:
After showing up the Chinese init/wipe loop again it restarted but now with red/white OnePlus circle animation. As you read this, it's still rotating...
Are there any thoughts about it... has this phone a hardware damage or what can I do? I appreciate any ideas.
Cheers, cyx
cyx said:
Hi,
I need some help with my OnePlus 3 running the latest or close to latest Android 8 OTA stock rom. It started half year ago, suddenly the phone was in a boot loop. I switched it on and off and I managed it to start again, doing a factory reset and wiping cache data. Then I reentered my details and selected a password. It was working for some days again, but I struggled to enter the right password after a while. Not because I'm stupid, it's pretty easy and I did it again and again. Then it was accepted and the phone was running again. I backuped my data and wiped it again just to check whats going on with that password. After restart I reentered all my data with password 0000. After restarting, it started again having trouble to enter the right password... not accepted. Switching on and off and then suddenly 0000 was accepted.... I don't know, I was tired to use this phone anymore and left it on my desktop.
Now half a year later. I want to fix this somehow and I thought, ok nothing to lose. I try that new Android 9 beta with adb sideload. Before that I'll do a full wipe loosing all my data (no problem). The wiping bar stucks at 99% and then it says "Format failed" with the only option "Yes". So stuck there, not started to sideload so far.
Update 1:
If I select that "Yes", I'm back in that erasing menu, with 3 options factory reset, wiping cache and erasing everything... if I select the last option again, it takes a second saying "Format failed"... I could do this forever. But if I select another option like wiping data something strange happens. It opens up a password screen asking for password... none of my passwords are working there. It is starting to decrypt... but stops with vibration and I'm back in that password screen. Only option that is left is "Forget password". If I select that, it is warning me, that I'll lose all my data. I say "Yes" and it's rebooting with a Chinese screen with a bar stucking at 99% again. That after a while the screen turns black. Phone is rebooting into that Chinese screen again, animating the bar to 100% again, switching itself off. If I start normal, Android logo appears, thats it, no OnePlus circle is coming up. Then I did it once more... "Chinese init/wiping loop" again. So I can restart normally having this or restart in recovery to do all the things as before.
Update 2:
After showing up the Chinese init/wipe loop again it restarted but now with red/white OnePlus circle animation. As you read this, it's still rotating...
Are there any thoughts about it... has this phone a hardware damage or what can I do? I appreciate any ideas.
Cheers, cyx
Click to expand...
Click to collapse
Try THIS version of TWRP to format and flash.
tnsmani said:
Try THIS version of TWRP to format and flash.
Click to expand...
Click to collapse
Update 3:
Before following tnsmani's advice to install TWRP I did something that makes things worse. Because I couldn't wait, I sideloaded the new Android 9 zip without any problems in sideload mode. It was installed and the loading circle was coming up. It took a while and finally the phone switched off. Now the phone is booting up to a new rounded edge OnePlus splash screen without any animation and It's not possible to start the old recovery mode anymore. So I can't connect to adb or fastboot to install that TWRP. All what is coming up are different menus without the options I need. I attached two new pictures to show them. But I can't establish a connection to my pc anymore. No devices showing up.
Update 4:
Ok, it seems that fastboot is communicating when I'm in that green/red menu which says start but my command:
fastboot flash recovery twrp-3.2.3-10-oneplus3.img
fails with the output:
target reported max download size of 440401920 bytes
erasing 'recovery'...
FAILED (remote: Partition erase is not allowed)
finished. total time: 0.019s
Update 5:
Ok, I followed this steps:
https://forums.oneplus.com/threads/guide-oneplus-3-3t-unbrick.531047/
to unbrick the device with MSMDownloadTool and Qualcomm drivers, but with no real success so far. But I can start recovery mode again and adb sideload is working as well.
But with anything else, I have no luck. After a new sideload it's keeps anĂmating the Oneplus dots and I can't install TWRP to do a clean wipe.
All I want to have is a booting up final or beta stock rom working as before, without any specials.
cyx said:
Update 5:
Ok, I followed this steps:
https://forums.oneplus.com/threads/guide-oneplus-3-3t-unbrick.531047/
to unbrick the device with MSMDownloadTool and Qualcomm drivers, but with no real success so far. But I can start recovery mode again and adb sideload is working as well.
But with anything else, I have no luck. After a new sideload it's keeps anĂmating the Oneplus dots and I can't install TWRP to do a clean wipe.
All I want to have is a booting up final or beta stock rom working as before, without any specials.
Click to expand...
Click to collapse
Is fastboot/bootloader working or not? If it is, simply flash the TWRP first and then proceed with ROM.
If the MSM Download Tool succeeded, you should be able to boot. If not, it means that it did not succeed. Try it a few more times since for some people, repeated attempts are required before the phone boots.
cyx said:
Update 5:
Ok, I followed this steps:
https://forums.oneplus.com/threads/guide-oneplus-3-3t-unbrick.531047/
to unbrick the device with MSMDownloadTool and Qualcomm drivers, but with no real success so far. But I can start recovery mode again and adb sideload is working as well.
But with anything else, I have no luck. After a new sideload it's keeps an
Click to expand...
Click to collapse
What I noticed from your SS is that your bootloader is locked. So no way you can flash or run a custom recovery til the time you actually unlock your bootloader.
I will advise to unlock bootloader first, flash TWRP fixed version (somewhere in LOS thread is the link), "format" /data partition, flash your desired OOS Rom and then try again and see if it works.
@cyx
Boot into the bootloader and on the PC enter this command: fastboot oem unlock.
This should unlock the bootloader. Then flash TWRP, boot back into it and flash ROM etc.
Hello,
I have a Mi Max 3 6GB/128GB which I got from the UK which arrived unlocked and with Global Stable ROM installed which actually updated to V10.3.3.0.PEDMIXM by OTA - I tested.
fastboot getvar anti shows failed, so I assume no Anti Rollback Protection, which I thought a little strange, it being MIUI 10 with (after OTA) June 2019 security patch.
I spent the last couple weeks setting up the phone to my liking (I have 300 apps installed) and finally finished yesterday.
Then I wanted to uninstall some Google/Facebook/Xiaomi bloatware using the excellent "Xiaomi ADB/Fastboot Tools".
I was pretty careful in my opinion to only remove the safe ones (the tool claims to only show you the safe ones) like Music, Video, MiPay, MiCloud, MiForum, MiSIM and all Facebook in the ADB section of the tool.
The I switched in fastboot and thought it would be a good idea to wipe Cache (nothing else).
Upon restart the Mi Max 3 first shows the black boot screen with unlock written at the bottom, then changes to the normal boot boot screen with MIU and the points at the bottom showing that it is busy booting. It stayed there for a while and I thought maybe it was rebuilding the cache and it took that long, but after 30 min still no luck.
Then I fired up the "Xiaomi ADB/Fastboot Tools" on my PC again and it told me the phone was in ADB mode, I could reboot into system mode, where the same thing happened - no progress in booting.
I cannot turn off my phone either, but I can switch from sastem boot (which gets stuck) into fastboot mode via ADB.
Would someone know what's wrong and what I can do to get my phone out of that bootloop while hopefully maintaining all my data and setups, on which I worked for weeks?
Thank you so much for your help!
P.S .: In case it could help: I could read out the phone properties of the Mi Max using the "Xiaomi ADB / Fastboot Tools" while it was softbricked, meaning the ro. init. persist. sys. and dalvik. values of the smartphone. I am happy to post them here, if requested.
Hi,
Do you have an SD card? If so, remove it, because as you cleared the cache, I think it might be a problem with encryption (lost reference).
In your case, I believe a reset will work again, but you will lose application configuration data. Via ADB you can backup files only.
If you do not have unlock bootloader, be very careful as you will not be able to flash TWRP or others.
Good luck!
Thanks, the phone came from the vendor with Global Stable ROM and unlocked. It may be an unofficial unlock, though I was able to install OTAs.
I don't have SDCard.
How can I do ADB backup?
I was able to flash official TWRP just a few minutes but it couldn't access data, maybe because it is encrypted. Now I think I will try and install latest Orange Fox r10 stable, which I think should be able to handle decryption, so that maybe I will be able to get at my date.
Any other advice?
Hi,
Now that you have TWRP, clear cache / dalvik from TWRP and try starting again, maybe start system.
About copy via adb follows a link below:
https://www.lifewire.com/use-minimal-adb-and-fastboot-4582201
in step 2
"
The command to move files from your computer to your phone is adb push.
To move files from your phone to your computer the command is adb pull.
"
Through TWRP you may also be able to back up. Go to (mount partitions) and select all partitions.
Make sure the TWRP MTP option is on, it will allow the device to be mounted via usb on your computer.
I use TWRP I use nijel8, it works very well.
https://forum.xda-developers.com/mi-max-3/development/recovery-twrp-3-2-3-1-nitrogen-t3866084
If you can't launch system, you will have to reinstall the Rom.
Good luck!
PS.
More help for adb.
https://forum.xda-developers.com/android/help/adb-fastboot-commands-bootloader-kernel-t3597181
Thanks for your advice!
I first used the official TWRP and I was able to flash it and start it.
But then the wipe of cache and dalvik failed.
And I could not mount data etc..
When I tried to repair the file system with TWRP I got error 255 - unable to repair data from fsck.f2fs.
Then I saw in your signature that you use nijel8's TWRP and I read that thread, and I started to understand, that my TWRP errors most likely originate from TWRP not being able to decrypt my partitions.
However, towards the end of the thread it seemed that nijel8 stopped working on that project and then Xiaomi once again changed the encryption in MIUI 10/Pie and so it was recommended first to use an obscure Chinese TWRP and then to move on to Orange Fox Recovery Project, which supposedly can handle the decryption better. So that's what I got and I am just about to install it and see if I can rescue or even repair anything.
If you have any other tips for me, I would be very grateful.
You have explored the possibilities well, at the moment I dont have more options regarding current system recovery / backup.
The encryption error resolves you by formatting the user partition by TWRP, in the option to format f2fs plus the installation of a custom Rom or Xiaomi.eu.
Look for tutorials and other reviews before testing these procedures.
Remember that there is a big achance of your ARB model as well.
Good luck.
PS. You can try dirty flash. Find an recovery Rom same version, and flash via TWRP.
Hello, I haveNokia 6.1 (2018) and I have just got it into a strange state. It happened during custom rom install, or to be more precise during the set-up (probably). I have finished setting up the Omni ROM from this thread (https://forum.xda-developers.com/nokia-6-2018/development/rom-omnirom-t3945850) and wanted to install magisk to have root.
After downloading the .zip file, I rebooted into TWRP (through the fastboot mode and using the "fastboot boot image.img" command) and TWRP asked for a password to decrypt the storage. I tried password that I am pretty sure is correct, but the TWRP insisted it is incorect. I tried several variations to it in case I made a misclick during a setup but no luck. I wiped everything (system, cache, data, sd) and through a fastboot mode I uploaded stock boot, vendor and system to both slots.
After the reboot, I am stuck on the password (system PIN, to be precise - not the SIM PIN, that is OK) screen. When I enter an incorrect PIN, it will say that the PIN is incorrect, but when I enter the correct one, screen just goes black for a while and I am back at the screen to enter the PIN.
Is there a way to get out of this mess? I am able to get into fastboot mode and boot recovery.
Any help would be much appreciated.
More details about the process as I forgot to include. TWRP used was 3.2.3 from this thread (https://forum.xda-developers.com/no...recovery-twrp-3-2-3-0-touch-recovery-t3825545). Stock FW (Nov 2019 version) used was from this thread (https://forum.xda-developers.com/no...de-how-to-make-backups-restore-stock-t3889815)
Before the OMNI ROM install I have tried stock system with custom vendor (version 2.2 from the thread linked in the OMNI ROM thread) which could also contribute to the failure, but the phone did not even boot (it got stuck on the "android one" logo). I hoped that I could at least get the ability to convert SD to internal storage, as that feature is disabled on stock, but with custom vendor it works (tested on the OMNI rom, which I managed to install correctly before)
I have also found here an OST tool, which could potentially help with the situation (I am not sure) but I am missing the original firmware files to use with this tool.
The problem must be with the internal storage encryption, which got messed up in the process (I am not still sure, what went wrong). Am I correct that now I would need to find the original loadout (is there something as RUU available fror this model?) and basically revert everything including the bootloader unlock and start from the begining? Could someone here point me in the right direction how to fix this issue?
If the only way is to pay someone to fix this issue, I will gladly provide any reasonable amount if it will resolve my problem.
So all I had to do was boot into TWRP and do a factory reset from there. How stupid of me that I did not try this.
Greetings.
I had issues updating my Honor. Every time I would try the update, after downloading it, it would boot into TWRP with the message failed to unmount /system: device or resource busy.. Then, if I rebooted, the update simply didn't work (I was stuck in an older version of EMUI 8.0, I don't quite recall the precise number). Actually, the same error message would come every time I simply booted into TWRP.
At this point, after a backup, I thought I could just wipe the /system partition and then flash a zip, containing a new ROM, from the TWRP; I wiped the partition and rebooted, and of course the phone started into TWRP, because there wasn't a system anymore. The problem is: TWRP is stuck at splashscreen, and I can't access it anymore.
I tried going into fastboot, but only to find myself with the message Phone Unlocked, FRP Locked, and I was unable to boot another version of the TWRP.
Another thing I did was to boot into the e-Recovery, and from there if I tried restore to factory settings, it would boot again into the stuck TWRP; and if I tried to download latest version and restore, the download would fail because I couldn't retrieve package info.
I then tried a solution I've seen in this forum, namely , with a Windows 10 machine that I used as an hotspot (actually I wasn't able to use the same IP from primary and secondary DNS, only for primary).
I understand that the only thing left to do is to pay some amount of money to some company that would give me the FRP unlock key based on my IMEI, and I actually tried that, with HCU-Client, but after buying 12 credits, they reimbursed them for no appareantly no reasons. Did somebody use this method, perhaps with another company? And did it work?
tl; dr: honor 7x bricked: stuck into fastboot with FRP lock, can't open twrp, don't have system, need help to know if I can actually pay a company to give me the key for the FRP unlock.