So I flahed the new MDB08M image and since it uses the "I" boot image I went ahead and flashed the modified boot.img and flashed TWRP and used it to root as I didn't have SuperSU zip on the device yet. After flashing the new system I didn't do any factory reset.
Now TWRP says that internal storage is 0mb and it can't mount /data. Every time I boot into it, it comes up with the screen asking me if I want to modify /system or leave it read only. I check the box to not show it again and swipe to modify.
I've tried using adb again to flash recovery but it didn't help. Any suggestions?
Edit: bootloader also sais I'm secure, and in security it sais I'm encrypted..
TWRP can't decrypt /data on the N5X yet. You can format from TWRP, but you'll lose the contents, of course.
PhoenixTank said:
TWRP can't decrypt /data on the N5X yet. You can format from TWRP, but you'll lose the contents, of course.
Click to expand...
Click to collapse
I thought by flashing the modified boot image that would decrypt? It did on MDB08I..
The modified boot just changes flag to encrytable instead of force encryption. It doesn't actually decrypt the drive contents. Once you wipe it then you can mount data in TWRP.
eqjunkie829 said:
The modified boot just changes flag to encrytable instead of force encryption. It doesn't actually decrypt the drive contents. Once you wipe it then you can mount data in TWRP.
Click to expand...
Click to collapse
so just factory reset in TWRP?
Edit: reflashed firmware, flashed modified boot and did a factory reset in stock recovery. reflashed TWRP and all is good. thank you
Related
I've recently updated my htc 10 to Android 7.0 using the 2.38.617.6 firmware and added twrp to use for backup purposes. I have attempted to root the device with chainfire's supersu, but failed due to data being in the wrong format.
First off, I managed to find out the the system partition is ridiculously large (17,592,186,044,365 MB) leading me to believe that the system partition has been corrupted.
I've checked the format type for each partition (data, system and cache) they check out to be ext4.
As the title of the post states, I've also ran into that problem before the system partition size issue.
Also, when trying to reboot the system through twrp, I get the message, "No OS Installed! Are you sure you..." but the phone boots up just fine.
Any help is appreciated.
ensure you flashed the latest unoffical twrp from the xda twrp thread. not the official one.
j to the 4n said:
ensure you flashed the latest unoffical twrp from the xda twrp thread. not the official one.
Click to expand...
Click to collapse
I have fixed the issue. I had to find and flash the latest ruu because I had restore the /data partition from when I had the phone rooted and downloaded xposed. I ran through the same process after the flash without restoring the data partition and now it work.
Only downside is that I can't restore my data until xposed has a compatible framework. Thanks for replying.
I got a clean backup of the twrp formatted the sd card with external memory I mounted the backup in the external sd and restored the system .... With that I was successful:dedos cruzados::dedos cruzados:
When i flashed Stock Rom 8.0 to my phone it boot normal. Then i flash TWRP made for my device. Downloaded supersu and going to flash it but then in the end it says Unable to unmount or mount i forgot sorry!I see that my internal storage is 0MB in TWRP but its not! So it seems like TWRP didnt encrypt my data or what? I flashed stock again cuz i got bootloop after that! Than flashed TWRP again and Internal storage is 0MB! HELP!
You have to format (not wipe) /data in TWRP then it will work, although you will lose all data. TWRP can't mount Samsung encrypted partitions.
makeyourself said:
You have to format (not wipe) /data in TWRP then it will work, although you will lose all data. TWRP can't mount Samsung encrypted partitions.
Click to expand...
Click to collapse
Lol It working Thanks you! one more issue! I flashed super su and no verity no encrypt and when reboot i have Super Su installed! Okay so now if i want to flash something again i need to format again ? Cuz now i get same errors! Anyway thanks you so much i have rooted samsung galaxy a5 2017 8.0 Now!
gogo9211 said:
When i flashed Stock Rom 8.0 to my phone it boot normal. Then i flash TWRP made for my device. Downloaded supersu and going to flash it but then in the end it says Unable to unmount or mount i forgot sorry!I see that my internal storage is 0MB in TWRP but its not! So it seems like TWRP didnt encrypt my data or what? I flashed stock again cuz i got bootloop after that! Than flashed TWRP again and Internal storage is 0MB! HELP!
Click to expand...
Click to collapse
until twrp 3.2.1-0 I think I did not have full support for samsung 8.0, I used twrp 3.2.2-0, and the /data is getting decrypted even after reboot.
caiquess95 said:
until twrp 3.2.1-0 I think I did not have full support for samsung 8.0, I used twrp 3.2.2-0, and the /data is getting decrypted even after reboot.
Click to expand...
Click to collapse
Really? Your internal doesn't show 0MB and you can backup data partition with TWRP? I didn't think it was TWRP related... that would be awesome.
What did you do? Only format data or did you flash anything?
gogo9211 said:
Lol It working Thanks you! one more issue! I flashed super su and no verity no encrypt and when reboot i have Super Su installed! Okay so now if i want to flash something again i need to format again ? Cuz now i get same errors! Anyway thanks you so much i have rooted samsung galaxy a5 2017 8.0 Now!
Click to expand...
Click to collapse
I think you had same issue as mine
Check this out
https://forum.xda-developers.com/samsung-a-series-2017/help/root-issues-oreo-t3800852
makeyourself said:
You have to format (not wipe) /data in TWRP then it will work, although you will lose all data. TWRP can't mount Samsung encrypted partitions.
Click to expand...
Click to collapse
I've tried this "solution" several times and the error come back ever...
How to fix this DEFINITIVELY???
[TOOL][SCRIPT][A520X|A720X] Repartition tool for treble support
UPDATE repartitioner v1.2: Google Drive | Androidfilehost (Will resize your partitions and patch recovery) RecoveryPatcher: Google Drive | Androidfilehost (Will ONLY patch your recovery for treble support) Changelog Removed TWRP version check...
forum.xda-developers.com
If you have a5/a7 2017 you can edit this script to reformatting your data partition! (if you don't know how edit it can be very dangerous to your phone)
i can go to twrp, but data prtition shows encrypted, so, can't mount to pc. but the system also in bootloop, i dont have an idea how to backup the datas in phone. any suggestion? mi max 3, global stayble rom. were trying to install twrp and it just replacing with system recovery every time. so, i was trying to install lazyflasher, but dont have the access to the data partition, as it can't be mounted. at last i have tried sideloading the lazyflasher via advanced menu in twrp. but after that, it just boot looping. dont have idea even how to backu my datas. thanks.
i got a problem with the encryption of the redmi 5a. in twrp data can not be mounted. only if i change the format from ext4 to ext2 and back I can flash a zip but after flashing a new rom data is encrypted agian.
PierceB said:
i got a problem with the encryption of the redmi 5a. in twrp data can not be mounted. only if i change the format from ext4 to ext2 and back I can flash a zip but after flashing a new rom data is encrypted agian.
Click to expand...
Click to collapse
Format data
how can i format data? did try it again with twrp but after reboot to andriod and back to twrp data is encrypted again. the error is shown in the attachment
PierceB said:
how can i format data? did try it again with twrp but after reboot to andriod and back to twrp data is encrypted again. the error is shown in the attachment
Click to expand...
Click to collapse
Click on format and type 'yes'. Flash no verity after that and you should be able to boot, I THINK.
adityam0338 said:
Click on format and type 'yes'. Flash no verity after that and you should be able to boot, I THINK.
Click to expand...
Click to collapse
yes i already did this 2-3 times did boot into trwp again then everything is fine but after boot to LOS 16 data is encrypted again.
PierceB said:
how can i format data? did try it again with twrp but after reboot to andriod and back to twrp data is encrypted again. the error is shown in the attachment
Click to expand...
Click to collapse
Try Orange fox recovery
Did also try Orange fox recovery but no difference.
Now i did unlock a second redmi 5a an got the same problem.
Any idea what else to do?
Did try official-pbrp-xiaomi-redmi-5a-riva with this recovery its working fine!
Hello,
I get Xiaomi mix 2s global with:
-Unblocked bootloader
-Installed OrangeFox Recovery
-Installed some Android 10 pixel experience rom
I wanted back to original global rom with stock recovery and reblock bootloader, so i download Global Stable ROM V11.0.5.0.QDGMIXM, put to internal storage and install from OrangeFox.
And now, when I turn on the smartphone, it’s starts, restart and go again to OrangeFox recovery.
In log I have: “Android Rescue Party trigger! Wipe data and caches and/or clean-flash you ROM!"
OrangeFox disables forced encryption by default, and now I need to enabled encryption? How to do it?
So, How to fix it?
I want to back to original global rom with stock recovery and reblock bootloader, bu first I have t turn on system.
Thanks
EDIT:
After installatin PixelExperience_polaris-10.0-20200528-1111-OFFICIAL from OrangeFox, smartphone starts normally, now I want to back to stock rom, recovery and reblock bootloader.
If your bootloader unlocked try formatting your data in orange fox recovery and reboot and see if that fixes it. Just remember formatting data partition wipes everything on your device so anything you want to save be sure and transfer over to your PC first.
doesntwork
flash713 said:
If your bootloader unlocked try formatting your data in orange fox recovery and reboot and see if that fixes it. Just remember formatting data partition wipes everything on your device so anything you want to save be sure and transfer over to your PC first.
Click to expand...
Click to collapse
I got the same error - Android Rescue Party trigger..." and bootlop.
EDIT:
But I wiped:
Dalvik / ART Cache
Cache
System
Data
Didn't wipe: Internal storage and Vendor.
After that, i installed Global stable V11.0.5.0.QDGMIXM and get the same error, but some settings have been saved - for example my pattern for unlocking.
EDIT:
I did: wipe all, reboot to twrp, flash ROM, and when I try format data, I get error:
Formatting Data using mke2fs...
mke2fs -t ext4 b...
Proces ebded with ERROR: 1
Unable to wipe Data.
Unable to format to remove encryption.
EDiT3:
Success!
I tried once more, and it's ok.
Solution:
1. Wipe all via recovery
2. reboot to recovery
3. flash rom
4. Format data partition (format, no wipe, if mke2fs doesn't work, try with rm-f)
5. Reboot system.
After that everything is ok, at the end uploading stock recovery via adb went without a any problem.
Thanks!
Just to help many others. The trick here, is to format data, not just wipe data from TWRP. You need to hit format data from the wipe menu and type "yes" to confirm. Some things need to be said in plain English.
MetallicGR said:
Just to help many others. The trick here, is to format data, not just wipe data from TWRP. You need to hit format data from the wipe menu and type "yes" to confirm. Some things need to be said in plain English.
Click to expand...
Click to collapse
Thank you so much. I had formated the internal memory and working, no bootloop into recovery.
master_lam said:
Thank you so much. I had formated the internal memory and working, no bootloop into recovery.
Click to expand...
Click to collapse
i did all the steps you did and i still had problems, any other solution?
Forget it, your steps worked for me too!