I'm running TWRP v2.3.0.1 and I've been having a lot of trouble the past few days trying to flash roms. I was on a stock rooted evo lte with s-on two days ago.
I decided to try out the cm 10 and used flash image gui to flash the boot and then was on cm 10. Decided that I wanted a more stable rom (gps wasn't working) So i went back and restored my original backup of my stock rooted evo. However, the wifi is not working (all it says is wifi - error, won't turn on). So i did a little research and thought maybe something with switching back and forth between kernels went wrong. I'll try to flash a sense based rom the same way i did cm 10. At this point i try to make another backup just incase and its going through everything in twrp and in the end it says backup failed. So i figure well the orignal backup I have is fine and continue
So i open meanrom up in flash image gui it does its thing (clear dalvik, cache). Reboot into recovery go to install meanrom and get the following:
"-mean rom logo-
Formatting and mounting partition...
e:error in /sdcard/meanrom-ics-v48-jewel-ltevo.zip
(status 1)
error flashing zip '/sdcard/meanrom-ics-v48-jewel-ltevo.zip'
updating partition details"
and twrp says FAILED, at this point i'm thinking maybe a bad download i'll try another rom/download
So at this point i restore my system and once again wifi is not working and try the same using freshrom. flash image gui, clear cache, etc. Reboot into recovery and gives me the same error and says failed.
So now i'm stuck on a stock rom backup that worked fine when i orginally backed it up but now wifi has an error? doesn't make any sense to me and i'm not sure why i'm unable to flash and roms or create new backups
Try flashing TWRP 2.2.2.0 in fastboot
i was able to fix wifi using vel7wil advice in this thread http://forum.xda-developers.com/showthread.php?t=1900759&highlight=wifi+error so for now everything is working on my backup. I'll see if i'm still having issues flashing roms now.
So i've posted pieces of this in other threads assuming i knew what the problem was, but nobody has been able to help me so far so i'm posting the whole saga anew.
First off, my phone:
LazyPanda S-OFF
HBOOT:1.12.111
RADIO-1.12.11.0809
I was running MeanRom 4.8 with TWRP 2.3.0.1
Like so many others i tried to OTA update just to get stuck at the recovery screen on reboot. I then found out that i had no ROM installed. I tried to wipe (cache, dalvik, system, etc) and flash a new ROM but i kept getting FAIL messages in TWRP.
"Formatting and mounting partition...
e:error in /sdcard/meanrom-ics-v49-jewel-ltevo.zip
(status 1)
error flashing zip '/sdcard/meanrom-ics-v49-jewel-ltevo.zip'
updating partition details"
I figured it might be a botched DL so i did it manually, MD5 checked out after copying to the mounted device. Attempted to flash the clean DL and i got the same error message. I nandroid restored an old stock rooted ROM I had and it installed just fine. After booting up to the system ROM for the first time I immediately got an "Internal storage is low" error. Checked and after a clean restore (no apps installed, fresh out of the box...) i only have ~200MB free in the app storage section (out of 1.92GB). I can't fathom what's taking up all the other space, nothing seems to be there. Because of this i can't install Titanium, Rom Toolbox, or anything else that may be remotely useful. I tried fixing permissions and re-wiping, re-restoring and i got the same thing.
I tried to flash the TWRP 2.2.2.0 image from recovery thinking this was the problem and got this message:
"updating partition details
E:unable to open ums lunfile 'sys/class/android_usb/android/f_mass_sto.....
Formatting cache...done
Formatting Data... done
Using rm -rf on .android_secure
Updating partition details
E:unable to open ums lunfile 'sys/class/android_usb/android/f_mass_sto.....
E:unable to open zip file."
And THEN i tried to ABD flash the TWRP image through fastboot with "fastboot flash recovery openrecovery-twrp-2.2.2.0-jewel.img" then 'fastboot flash boot openrecovery-twrp-2.2.2.0-jewel.img' and got this error:
"FAILED (remote partition is not allowed to be flushed!)"
So, i'm stuck with a device that loads a stock ROM, cant flash a new recovery or ROM, and cant' install anything useful because it's full after a restore. Does anyone have any suggestions how to clean/resore my partitions through ADB or a script? Your advice is much appreciated.
I can't help, but I suspect you'd have better luck posting this in the TWRP thread.
I'm wondering if fastboot erase cache would help here. I've seen that command used I think to clean a partition, but it may have been for something else. Sorry, this is a bit over my head. Hope you get help.
hurled from my AOKP'd Evo LTE. Enjoy.
You might have to re lock and run the RUU and then unlock and flash twrp, 2.3 has issues with the partitions for some reason so stick to 2.2
Try updating to the latest twrp. The latest is 2.3.1.0 not 2.3.0.1.
2.3.0.1 had issues which you can read about here
http://www.pocketables.com/2012/10/...for-htc-evo-4g-lte-fixes-rom-flash-death.html
It's been updated already? Cool
om4 said:
It's been updated already? Cool
Click to expand...
Click to collapse
Yeah, it fixes the mounting of the sdcards and the flashing rom problem
You may also want to get the 1.12.2222 hboot from the unlimited site. It has fastboot commands enabled.
I noticed you tried flashing TWRP to both the recovery and boot partitions...Do you get the same error when you flash to just recovery? TWRP should not be on boot.
Sent from my EVO LTE
Hello!
Today i was trying to install custom rom 6.0+ or higher on my brother phone (i9100) I found a tutorial on this page:
https://forum.xda-developers.com/galaxy-s2/help/guide-tutorial-samsung-galaxy-s2-i9100-t3538601
I was doing the same and all went good i flash twrp
And there is... A point 4. After changing from ext4 to f2fs data and cache i saw an error e:/data cant mount same with cache.I decided to wipe cache but i couldnt, so i downloaded stock rom and i flashed it by odin after that i hear only samsung startup sound and bootlooping logo.When im going to recovery error with cache dissapered but with data its still visible. E:/data cannot mount (invalid argument)
And now there is a question can i do something to rescue my brother phone? Its really important for me guys pls help me.
And yes i tried factory reset.
I might have a solution
konrino said:
Hello!
Today i was trying to install custom rom 6.0+ or higher on my brother phone (i9100) I found a tutorial on this page:
https://forum.xda-developers.com/galaxy-s2/help/guide-tutorial-samsung-galaxy-s2-i9100-t3538601
I was doing the same and all went good i flash twrp
And there is... A point 4. After changing from ext4 to f2fs data and cache i saw an error e:/data cant mount same with cache.I decided to wipe cache but i couldnt, so i downloaded stock rom and i flashed it by odin after that i hear only samsung startup sound and bootlooping logo.When im going to recovery error with cache dissapered but with data its still visible. E:/data cannot mount (invalid argument)
And now there is a question can i do something to rescue my brother phone? Its really important for me guys pls help me.
And yes i tried factory reset.
Click to expand...
Click to collapse
Why don't you use a different odin version may be much older one or newer one and by the way did u download the right firmware from the right source? Verify whatever I mentioned and give it a try with older odin,or simply follow some YouTube video! Thank me if I had helped you!
Ok i repaired this errors in recovery i install right kernel agaim from this pack (link above) next i install twrp and wipe data cache and other stuff, and when i flashed resurection remix with gapps(and without) my phone get bootloop. I tried cachce data dalvik wipe- doesnt work i tried to flash again this room still bootloop.
How can i repair this? Should i flash by odin stock rom?
konrino said:
Ok i repaired this errors in recovery i install right kernel agaim from this pack (link above) next i install twrp and wipe data cache and other stuff, and when i flashed resurection remix with gapps(and without) my phone get bootloop. I tried cachce data dalvik wipe- doesnt work i tried to flash again this room still bootloop.
How can i repair this? Should i flash by odin stock rom?
Click to expand...
Click to collapse
Try going back to ext4 format instead of f2fs.
If that doesn't work, try flashing stock via Odin then start over with the guide, I believe there is an updated way to upgrade that has the rePIT built in, try finding it and use that guide.
Sent from my SCH-I535 using Tapatalk
Hey everybody,
I was on LOS 15.1 for a rather long time and I wanted to try RR, so as usual I backed up my system and tried to flash the RR-rom.
It did not work at all and I got several errors among which error 7 and the unability to mount system partition were the most prominent.
The device got bricked several times but I got it back to life with MiFlashTool, running either MIUI 8.5 or MIUI 9.
The strange thing is that even after flashing the MIUI-img - and basically bringing the device back to its factory firmware - I could not flash a rom.
I tried several recoverys; the latest TWRP, the TWRP linked in the LOS15.1 thread and OrangeFoxRecovery. None of them would work. I wiped all partition, nothing worked. I got different errors shown, most of them were error 7 or not being ablke to mount system, as stated before.
Right now I am back to MIUI and rooted it, which worked from OrangeFox, but I actually would like tzo run a custom rom again.
Any idea what I could do?
Cheers!
Noone who has an idea why it would not work?
I thought that after flashing via Flashtool the phone would be as good as new and all prioir changes would be gone? Wha can I not flash anything via recovery and get erros?
Or are there different versions of Orange Fox Recovery? RR would be treble, so I would need a treble recovery.
Cheers!
Have you tried to format internal storage?
If not backup data in sdcard or pc and format it using recovery.
Are you using trble supported recoveries?
Did you encrypted your data while using Lineage OS?
Hey,
well, yes, I encrypted data but since reinstalling MIUI via Flashtool this is gone. And I thought that this should be enough and reflashing it via MiFlash is like a factory reset? Is there anything I did not consider?
After Flashtool did not do the trick, wiped everything but External memory in TWRP, no kelp either.
I also did the normal wipe (where you dont have to choose which partition), this did not help.
As I said, I am currently on the latest OrangeFox Recovery but I also tried the latest TWRP and the TWRP in the LOS 15.1-Thread, which did not help.
To my knowledge all of the are treble recoverys?
I also tried to restore a vackup of LOS which did not work...
I flashed
wurst_wasser said:
Hey,
well, yes, I encrypted data but since reinstalling MIUI via Flashtool this is gone. And I thought that this should be enough and reflashing it via MiFlash is like a factory reset? Is there anything I did not consider?
After Flashtool did not do the trick, wiped everything but External memory in TWRP, no kelp either.
I also did the normal wipe (where you dont have to choose which partition), this did not help.
As I said, I am currently on the latest OrangeFox Recovery but I also tried the latest TWRP and the TWRP in the LOS 15.1-Thread, which did not help.
To my knowledge all of the are treble recoverys?
I also tried to restore a vackup of LOS which did not work...
I flashed
Click to expand...
Click to collapse
When you reply quote, I didn't get notifications for your reply.
Your bootloader is unlocked and you installed Twrp recovery.
Try copying Rom zip to SD card and wipe system, data, cache, dalviks cache, internal storage (exclude sd card off course). Then install it.
It should work
As I said, I did all of this, yet it does not work.
After wiping I tried to flash RR rom...
I get "Patching system image unconditionally...
Then I get E1001: Failed to update system image. (in white)
Updater process ended with: ERROR 7 (in red)
Error installing zip file 'patch...' (in red)
Updating partition details (in white)
Failed to mount '/system' (Invalid Argument) (in red).
As I said, that happens with different recoverys and different roms (treble and non treble)
wurst_wasser said:
As I said, I did all of this, yet it does not work.
After wiping I tried to flash RR rom...
I get "Patching system image unconditionally...
Then I get E1001: Failed to update system image. (in white)
Updater process ended with: ERROR 7 (in red)
Error installing zip file 'patch...' (in red)
Updating partition details (in white)
Failed to mount '/system' (Invalid Argument) (in red).
As I said, that happens with different recoverys and different roms (treble and non treble)
Click to expand...
Click to collapse
Are you sure the Rom you installating is for your device because error 7 occured if the rom you are trying install is not for your device.
Yes, of course, it was the correct ROM. Before error 7 I got error 1001 and I guess this was the initial problem.
My guess it that the problem was the decrypted partition which I did not format in twrp in my first go. Every wipe and format afterwards somehow did not help...
Now after having flashed recovery and different roms 10 times and using miflash 10 times it worked and now I am on RR. Don't ask me what eventually did the trick.
wurst_wasser said:
Yes, of course, it was the correct ROM. Before error 7 I got error 1001 and I guess this was the initial problem.
My guess it that the problem was the decrypted partition which I did not format in twrp in my first go. Every wipe and format afterwards somehow did not help...
Now after having flashed recovery and different roms 10 times and using miflash 10 times it worked and now I am on RR. Don't ask me what eventually did the trick.
Click to expand...
Click to collapse
Great to know
I hated MIUI because of the bloatware and ads. Have fun using RR. If you want you can use Liquid Remix Pie its a great ROM.
Yes. I also did not like MIUI that much, that's why I was using Lineage before I wanted to try RR: Thanks for the advice for anothe rom.
i fix this issue by format data, not only wipe then restart the recovery and install the ROM, then finally it works !
Shojimeguro said:
i fix this issue by format data, not only wipe then restart the recovery and install the ROM, then finally it works !
Click to expand...
Click to collapse
How did you format? noob
Shojimeguro said:
i fix this issue by format data, not only wipe then restart the recovery and install the ROM, then finally it works !
Click to expand...
Click to collapse
If I format data, then I have to reboot into the recovery menu to be able to use data again. But this is impossible, because it gets stuck into the bootloop every time I try to reboot. Any other option to fix this error?
EDIT:
I could fix it myself:
1. MIUI latest version; flash with MiFlash.
2. flash TWRP with e.g. YUware
3. flash latest fw_vendor in TWRP
4. full update pixel expierence (NOT incremental) rom flash
5. Partitions/Data/Format
6. Reboot and ready to use
Hi,
I tried to uninstall the security package in stock MIUI Rom, however I started getting bootloops after that. I made a TWRP backup just before trying this out, so I tried to restore it. However even after restore I'm still getting bootloops.
Then I tried to Wipe everything, however TWRP reports error can't mount vendor partition (structure needs cleaning). I can't mount Vendor either in Mounts. It could be restore operation is unable to bring back vendor partition that is why it is still failing ?
What can I do to fix it ? I still would want to restore my backup, don't want to flash another ROM right away..
I'm on stock MIUI 10.2 ROM with official TWRP and Magisk installed.
Apprantly I'm not the only one, it seems TWRP can't properly restore MIUI roms