Related
After about 2 weeks of screwing around with my phone, giving up and switching back to my old eris, and thinking it was just hosed, I finally found a solution for anyone with the "Encryption Unsuccesful" message in ICS. You must perform the HTC bootloader unlock via htcdev.net. After you do this, you may
./fastboot erase cache
and
./fastboot erase userdata
(or in my case, select "clear storage" in the main bootloader menu)
which will restore your phone to a usable condition.
Nevermind... Still hosed. Admins, you may delete this thread as it is useless, or perhaps it will gain some support from those who know better than I?
thanks ,pyroboy1080
clear storage is terrible to me
The way I fixed mine was to do a complete wipe in CWM (factory reset/wipe all user data, format boot and system) then flash my ROM of choice.
PonsAsinorem said:
The way I fixed mine was to do a complete wipe in CWM (factory reset/wipe all user data, format boot and system) then flash my ROM of choice.
Click to expand...
Click to collapse
Thanks Pons. For some reason I couldn't wipe in CWM 5 but 3.0.0.8 worked just fine for me.
Was given a vivid to try and fix for someone who "plugged it in to the wall and boom phone won't gte passed white HTC screen" So I unlock the bootloader flash a recovery and go in to try and mount the internal memory to put the RUU on it and go back to stock however it won't mount. Tried TWRP and CWM with no luck. So then I was like f** it I'll just flash a custom ROM but it will not let me wipe system/cache/data/dalvik cache and says failed everytime. After a bit more troubleshooting I've come to the conclusion that the internal memory is FUBAR but I haven't found anything on here on how to fix this. Any help would be GREATLY appreciated!
so you used cwm and im thinking it messed up your internal memory. try flashing twrp and formatting and see if it works then
ZeRo2o9 said:
so you used cwm and im thinking it messed up your internal memory. try flashing twrp and formatting and see if it works then
Click to expand...
Click to collapse
I've tried TWRP and it still will not let me format anything. Says failed everytime. When I go the phone it wouldn't even boot passed the HTC logo screen and still won't... however I can still get into the bootloader and recoveries :/
EDIT: It says unable to mount cache/system/etc when trying to flash anything
and when I try to manually format anything through fastboot it gives me FAILED cannot access... wtf
samftw said:
I've tried TWRP and it still will not let me format anything. Says failed everytime. When I go the phone it wouldn't even boot passed the HTC logo screen and still won't... however I can still get into the bootloader and recoveries :/
EDIT: It says unable to mount cache/system/etc when trying to flash anything
Click to expand...
Click to collapse
After TWRP or WCX (key thing is NOT CWM) is flashed, boot to recovery, choose mounts (or mounts and storage), and mount internal. Your PC should tell you that it's corrupt and needs to be formatted, you'll have to do this. When it's done, do the same for the external SD. If it tells you it needs formatted too, do it.
homeslice976 said:
After TWRP or WCX (key thing is NOT CWM) is flashed, boot to recovery, choose mounts (or mounts and storage), and mount internal. Your PC should tell you that it's corrupt and needs to be formatted, you'll have to do this. When it's done, do the same for the external SD. If it tells you it needs formatted too, do it.
Click to expand...
Click to collapse
It will not let me mount internal storage thought that's the issue.
samftw said:
It will not let me mount internal storage thought that's the issue.
Click to expand...
Click to collapse
If the above outlined process doesn't work, you'll need to relock your bootloader and run the proper RUU for your device. Then unlock the bootloader again, don't flash cwm recovery, and go about your business.
You can also try preceeding the above procedure with a Factory Reset from Bootloader
Got a one, accidentally wiped data, system and cache.... Had no OS. Tried to RUU.... No go because this phone is 1.31, only have the 1.29 RUU I can find....
Unlocked bootloader again, installed TWRP...
Tried to sideload rom, can't access /data partition.
Can't mount internal memory, listed as 0MB.
tried Fasboot flash of viper rom get, "remote: 24 parsing adroid-info fail."
What do I do next? I have no OS and am still s-on....
I wipe data, system, cache, dalvik cache everytime I flash a rom. Sure you didn't wipe the internal storage?
Hate to say it but perhaps your best bet is to relock the bootloader and bring into sprint for repair. Or you could wait for a newer RUU.
Just curious but did you lock the bootloader before running the RUU?
Ok , got it resolved.
Ended up flashing CWMR via fasboot. Formatted all partitions, reflashed TWRP and ADB Sideload was resurrected.
Thank you Android Gods for giving me the idea.
Thanks for your suggestions, I appreciate it regardless.
Hello,
I have always been on root but somehow something changed.
Since I tried to flash the newest stable stock (5.0.1), nothing works anymore.
No matter if I flash dm-verity disabler, supersu or magisk, dm-verity gets triggered everytime and my phone just says "decryption unsuccessfull" and won't boot.
I've tried everything to fix this, including: different versions of supersu/magisk, reflashing TWRP recovery, even going completely back to stock, locking the bootloader and everything.
Also I read somewhere that you can flash dm-verity disabler and wipe data to completely remove the encryption, but TWRP showed an error message, something like "failed to wipe, cannot mount /data".
In the end I got stuck with no ROM and I couldn't even access stock recovery anymore because it had the weird password bug, so I had to use the unbrick tool to get it working again.
Can someone tell me what I'm doing wrong?
I have always been on root since the early Nexus 5 days, but now I feel really stupid because I must be missing something obvious, so thank you in advance for any help.
Cheers
What rom are you trying to install and what magisk version are you trying to flash over your preferred rom?
If by chance you are trying to flash OpenBeta 21, I have yet to avoid my data getting encrpyted when trying to flash. And personally, I must have been doing something incorrect ever since I got the phone, because almost every time I've flashed a stock OxygenOS ROM I have triggered encrpytion. In my situation it never seemed to matter if I flashed Magisk, SuperSU, a custom kernel, or even just a modified boot.img along with the disable encryption file... I don't know the steps you're taking, but what I do is this: once I get the "Encryption Unsuccessful" message when trying to boot, I just reboot to fastboot and type "fastboot format userdata". And since flashing stock OxygenOS usually overwrites TWRP with the stock recovery despite my best efforts to avoid it, I tend to go ahead and flash TWRP while I'm booted into fastboot. After, I boot into TWRP; at which point encryption has been removed, yet the total amount of storage available to me is less than 30GB (I have the 128GB model.) You have to go to Wipe, then hit the button on the bottom-right, "Format." Type "yes" in the box and format data. That restores my device back to 111GB free of 113GB. I then transfer over and flash Magisk and whatever other mods I wanted. After that my device is no longer encrypted and works just how I want it to. Hope that helps with your issue.
What rom are you trying to install and what magisk version are you trying to flash over your preferred rom?
Click to expand...
Click to collapse
The newest stock ROM, so this/.
Magisk is also just the newest version (15.3).
go to Wipe, then hit the button on the bottom-right, "Format." Type "yes" in the box and format data.
Click to expand...
Click to collapse
When I tried to do that, it just told me "cannot mount /data" and wipe failed...
kaeptn1 said:
The newest stock ROM, so this/.
Magisk is also just the newest version (15.3).
When I tried to do that, it just told me "cannot mount /data" and wipe failed...
Click to expand...
Click to collapse
If you're not using Blu Spark 8.61 TWRP, then I suggest you install it and try again.
If all else fails, do as @lordcheeto03 suggested and format userdata in fastboot - but note that this will completely wipe your data, including internal storage. Then install TWRP, then flash 5.0.1 and anything else you want.
Sent from my OnePlus3T using XDA Labs
kaeptn1 said:
When I tried to do that, it just told me "cannot mount /data" and wipe failed...
Click to expand...
Click to collapse
If you're getting the encryption unsuccessful error, I don't think you format data in that manner, you gotta use fastboot and fastboot format userdata to remove encryption THEN boot into TWRP to do that.
Hello all!
I am having an issue with my Leeco Le2 x52x where it relocks bootloader automaticly and does not alow me to flash any other rom properly.
I have used fastboot oem unlock-go which allows me to flash twrp but not much else. Can not even format boot partition.
Anyone has any peace of info is greatly apriciated
Edit> I get an error in TWRP - E:Unable to wipe '/boot' -- uknown file system 'emmc
Unable to wipe /boot.
scudteshka said:
Hello all!
I am having an issue with my Leeco Le2 x52x where it relocks bootloader automaticly and does not alow me to flash any other rom properly.
I have used fastboot oem unlock-go which allows me to flash twrp but not much else. Can not even format boot partition.
Anyone has any peace of info is greatly apriciated
Edit> I get an error in TWRP - E:Unable to wipe '/boot' -- uknown file system 'emmc
Unable to wipe /boot.
Click to expand...
Click to collapse
Boot partition in le2 cannot be wiped. As for your bootloader relocking problem, flash twrp and then allow it to perform system modifications. Then wipe data. Then wipe system. If that doesn't work, then format data to ext2 using mkef2s and then for mat data again using ext4. Then format data ,system , cache and dalvik cache only. Your bootloader will not relock by itself again. If it still does, then flash lazyflasher to disable dm-verity and unencrypt phone
RandomDelta said:
Boot partition in le2 cannot be wiped. As for your bootloader relocking problem, flash twrp and then allow it to perform system modifications. Then wipe data. Then wipe system. If that doesn't work, then format data to ext2 using mkef2s and then for mat data again using ext4. Then format data ,system , cache and dalvik cache only. Your bootloader will not relock by itself again. If it still does, then flash lazyflasher to disable dm-verity and unencrypt phone
Click to expand...
Click to collapse
Tried it and no budge. Now i am at different problem cause i wanted to return it to stock with "flash all" fastboot rom. Not this thing does random reboots. Not sure if i should open another tread about it. All in all its still usefull phone and i would like to fix it eather way
scudteshka said:
Tried it and no budge. Now i am at different problem cause i wanted to return it to stock with "flash all" fastboot rom. Not this thing does random reboots. Not sure if i should open another tread about it. All in all its still usefull phone and i would like to fix it eather way
Click to expand...
Click to collapse
Are you able to boot to recovery(twrp)?
If yes, try flashing the latest twrp image using twrp on your phone. Then repeat steps mentioned. Finally, flash stock ROM Zip
Ive bricked the bastard but will continue
Is the red LED flashing or stuck when you let it charge?