Hello there.
I have a zenfone 2 laser that came with the CN rom.
Due to lack of communication with google I'm trying to install the WW rom.
I'm aware that the WW system partition is larger than the CN system partition.
So I started my long journey to enlarge the system partition and install the WW rom.
To do such, I've done the following:
1. Gain root with king root.
2. Installed ADB on my PC.
3. Unlocked my phone's Bootloader.
4. I installed parted in my phone.
5. I flashed the Z00T custom TWRP recovery to my phone, which worked.
6. I used parted to delete both system and userdata partitions, which were next to one another.
7. I used parted to create two new system and userdata partitions so I could have more space for the ww system.
8. I formated system with ext4.
9. I tried to format userdata with ext4, but wasn't able. So I went to fastboot mode in order to see what could I do from there.
10. I was able to format the userdata partition with ext4.
11. I was able to flash the ww system to the system partition. I was so happy
12. I tried to go back to recovery but got a boot loop.
13. I flashed Z00T custom TWRP recovery again, cleared the cache and rebooted to recovery... same boot loop.
14. I flashed numerous boot and recovery images in order to try to get to recovery mode with no luck what so ever.
I'm kind of lost and I've been wandering the web for a while in search for an answer. Any help would be much appreciated. :fingers-crossed:
Hi there,
Did you manage to resolve your problem?
I'm with the same problem (CN rom) and i'm tired looking for a solution to flash ww rom. Which program did you use to delete and create new partitions?
I searched for an answer and noticed it's a common issue. I am trying to flash a kernel on to my already flashed rom. I was wondering if there is a more current fix. More importantly, how can this be avoided in the future. Thank you guys!
Its caused by a bug/error with either the filesystem or encryption.
Did you wipe data after flashing the new ROM? Data from stock usually doesn't work with custom ROMs.
Do you have a PIN/password on Android?
Are you using the latest build of TWRP?
Press the menu button at the bottom of the screen in TWRP and post what the error message is in the red text.
It's caused by no root access
djhulk2 said:
It's caused by no root access
Click to expand...
Click to collapse
Something is probably wrong with the data partition. TWRP should always have root access.
Try in TWRP:
Wipe > Format Data > Slide to format
This will erase the data partition, so backup everything to a PC in Android first if needed. It should allow TWRP to mount /data again.
KemikalElite said:
Something is probably wrong with the data partition. TWRP should always have root access.
Try in TWRP:
Wipe > Format Data > Slide to format
This will erase the data partition, so backup everything to a PC in Android first if needed. It should allow TWRP to mount /data again.
Click to expand...
Click to collapse
I've debated on doing this. I'm not worried about losing pictures texts etc as they're backed up.
I read that it essentially leaves the device with no OS. If that's wrong please let me know!
I have found that if I choose Slot A and reboot system it reboots me in to TWRP. If I choose Slot B it runs the OS like normal (except I still have issues using Facebook and it's services).
The ROM works and I can perform all the custom mods on it. I just want to flash a kernel and the problem persists. 0 mb in storage.
It's trial and error at this point. Fail fast fail forward. I have another phone I can use but I love the OnePlus. Any help will be appreciated!
https://andi34.github.io/faq/faq_twrp.html
I'm not willing to risk it until I know how to get the custom ROM on to the storage to flash it.
Yes formating by typing in yes will wipe it all,everything including pictures, with no rom on it at all. If u choose to do that, don't close twrp. Instead you should be able mount after wards, once mounted transfer the magisk zip, twrp, and your custom rom(has to be 1.5gb not 200mb through magisk). Flash magesik, install ram disk twrp, install rom. That was a method I've done before but if u want to keep everything there is other way
fastboot boot twrp.img, that command boots twrp if u have it or don't, installing to ram disk makes it permant...this boot command is just a one time thing each time. It's what I do when new firmware update, I loose root but I regain it each time
Never heard of formating data removing the OS, that would be if you wipe the system and normal wipe is like a factory data reset and therefore will not wipe your phone of the OS
djhulk2 said:
Yes formating by typing in yes will wipe it all,everything including pictures, with no rom on it at all. If u choose to do that, don't close twrp. Instead you should be able mount after wards, once mounted transfer the magisk zip, twrp, and your custom rom(has to be 1.5gb not 200mb through magisk). Flash magesik, install ram disk twrp, install rom. That was a method I've done before but if u want to keep everything there is other way
fastboot boot twrp.img, that command boots twrp if u have it or don't, installing to ram disk makes it permant...this boot command is just a one time thing each time. It's what I do when new firmware update, I loose root but I regain it each time
Click to expand...
Click to collapse
I attempted to format. It said
"failed to mount /data (device or resource busy)
"unable to mount storage"
Try this in recovery, sometimes its known to work.
Wipe > Advanced Wipe > Check Data and press Repair or Change File System > Change File System > Change it to EXT2.
Repeat the same process selecting Ext4
Wipe > Advanced Wipe > Check Data and press Repair or Change File System > Change File System > Change it to back to EXT4.
Try formatting data after this.
drey4211 said:
I attempted to format. It said
"failed to mount /data (device or resource busy)
"unable to mount storage"
Click to expand...
Click to collapse
Since you dont care about the data on the phone I would just do 1 of 2 things. 1st I would reflash twrp on to you phone if that doesn't work then I would just grab the fastboot ROM and just flash your phone back to full stock reroot and install twrp from scratch. I would not try to start repairing partitions. I wouldn't want to worry about screwing up the EFS partition
Well in an update, I formatted the
Storage and now I'm stuck in bootloader screen. It's unlocked but I'm having a hard time flashing a ROM through adb.
I use the twrp version 3.3.1-2
Best would be to just use fast command to boot it
But it should be under wipe/format data/then type in yes
That was what I was trying to have you avoid. If your can boot to fastboot download the fastboot ROM I told you to and run the flash-all.bat file. If your on 9.5.8 make sure you use the fastboot ROM of the same version. Do not flash azip of a different version firmware like 9.5.7.
It happens to me any time I'm in twrp and flash a rom then reflash twrp. It doesn't matter if I flash Magisk or not the issue always happens. What I do is use a USB C flash drive and plug it in when I want to flash/backup a rom. This way I can always access it. After flashing any rom then booting I'm always able to access my internal storage again. It seems like a bug in twrp.
The strange part is when this bug happens your files are encrypted in a 0 folder but you can still copy from your PC to your internal storage while in twrp.
I essentially soft bricked my device. Called OnePlus and they got me up and running. That's awesome that they have that service!
Are you removing all security? Pattern, pin and fingerprints? Are you decrypted? Never had an issue with flashing a ROM causing these issues which is why I'm asking. Something you've done at some point is causing this
I'm not sure what that was. Ironically enough I am now stuck in TWRP boot loop. Hopefully I can figure this out otherwise I have to call oneplus again.
I will admit I may not know everything but it's trial and error. I don't have anyone to really teach me this so I try to read the forums and learn. You guys have been great!
ajsmsg78 said:
It happens to me any time I'm in twrp and flash a rom then reflash twrp. It doesn't matter if I flash Magisk or not the issue always happens. What I do is use a USB C flash drive and plug it in when I want to flash/backup a rom. This way I can always access it. After flashing any rom then booting I'm always able to access my internal storage again. It seems like a bug in twrp.
The strange part is when this bug happens your files are encrypted in a 0 folder but you can still copy from your PC to your internal storage while in twrp.
Click to expand...
Click to collapse
I've the same issue.. did you find a fix? So annoying
Hi guys,
I am in confusion.
Ultimate questions is: why can't my proper TWRP decrypt data? Being under LOS16. Asking me for password I can't provide. I updated Magisk and Viper and got bootloop.
Entering recovery mode, no internal storage, followed the repair file system method with changing file structure to ext2 than to ext4, still no internal storage.
All I want is to recover media files before reflashing LOS.
1. How to decrypt data?
2. Why by default TWRP doesn't do it.
Thanks
Hello,
i Have recently upgraded to android 10. When flashing twrp i get a message failed to mount system partition. If i reformat system to ext 2 then back to ext4 i can mount system in twrp. When i re flash latest factory pixel 2 image and go back into twrp i can no longer mount system again. Is this some new thing with Android 10? Without it mounted i can not access my system partition with root explorer or other root apps. is there a way to force system to mount after flashing a new image?
After reflashing with magisk system was mounted somehow. Not sure how this happened.
I was trying to backup of stock ROM through twrp backup without installing by loading fastboot boot twrp.img and take backup of stock rom system.img userdata.img through twrp recovery...
it loaded successfully but while taking backup its not able to take backup its giving error that it "cant mount storage" its not able to select sdcard microsdcard and internal memory to showing 0 free space
I Google and founded solution for same problems 1st solution was to give screen lock pin and password and use the same password to decrypt I tried but it's showing wrong password.
Second solution was to use wipe data in two recovery menu and go to advance option and select repair and covert ext2 filesystem but all I selected it's unable to mount internal memory also
Thirdly I tried twrp 5.4 mage but same problem exista
is there any way to mount and show the internal memory or external sd card in twrp recovery image any suggestions help please
Another question is it possible to incorporate infuse busy box super user am pm commands in twrp bootloader image so that we can use rooting functions from bootloader image.
My mobile device have
OS Android 6.0.1 Marshellow Processor Qualcomm Family cortex a53 Machine arrch 64 Architecture arm cortex a53 External memory card 64GB ROM 16 GB MOBILE NOT ROOTED it's Ltd water 8 ls-50!5
Click to expand...
Click to collapse
thank for your suggestion time and advice