Hi I have a brand new samsung galaxy s7 SM-G930F on which I want to install twrp and lineage os.
However when I flash twrp using odin and booting into it there is a problem - I cant mount nor access or wipe / change any parttion so I cant install custom rom. it says data parttion is 0 mb. I had to revert to stock but I still wish to install lineage os.
What am I doing wrong? Is twrp coruppted?
thanks
On my device I have the same problem. The only part it on I can mount is system
soultion
I think I found a soultion!
data parttion is corrupted somehow so you have to format it to FAT using twrp then formatting it back to EXT4 using twrp again, then you should wipe all parttions and install rom from USB OTG.
Tell me if that works for you
Related
Hi all,
I am on 4.4.4 and used TWRP in past, now I am on Philz Touch latest recovery.
I first cleaned data and system and tried to flash a different rom, it flashed fine but when I tried to flash 4.4.4 Gapps recovery restarted and it kept restarting if I tried to flash that Gapps so I cleaned again and only flashed the Rom this time, rebooted and my system restarted to recovery.
I manually tried to format all partitions but got
"E:format_volume: make_ext4fs failed on /dev/block/mmcblk0p10
E:Error formatting /preload!"
while formatting preload partition.
I google about this and search in xda too and found few threads suggesting to format /preload partition using TWRP recovery so I tried to flash TWRP but it stuck on it's flash screen. I tried to flash old version using Odin as well as new one but it keeps hanging on the it's flash screen. Flashing Philz via odin works every time but not TWRP.
So it looks like I am not able to format /preload partition, I am not able to flash any rom or gapps and not able to flash any version of TWRP recovery.
I am able to take a backup of my phone and restore it without any problem including my internal sd card using Philz Touch though just for the info.
So any suggestions friends?
Thanks.
Edit:
Flashing normal cwm and flashing TWRP after removing TWRP folder from internal memory helped to boot into TWRP. Also I was able to format /preload using normal CWM recovery however flashing anything using any recovery whether it's TWRP or Philz Touch simply boot my phone back into recovery itself and nothing works.
Even a clean flash doesn't work and flashing only a simply rom file will not work and boot my phone directly into recovery so it looks like my memory is corrupted or something similar.
I would appreciate any kind of suggestions related to my problem. Thanks.
Update :
Thankfully it was only my memory card which got corrupted and thus corrupted my rom files too so changing those files fixed my issue..
Sent from my "GT-I9300/1+1" powered by Carbon Rom & Boeffla/ak Kernel
Fueled by 7000mAh ZeroLemon Battery
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
Hi,
I recently unlocked my bootloader after a really long time. I then proceeded to flash twrp and then flashed superSU and rooted my phone. I took a backup of my rom and then proceeded to install RR 5.8.4. I was given a error 7. Tried this method (https://forum.xda-developers.com/showthread.php?t=2522762) but then it gave me a error 6. Would someone help me out ?
Thx.
1) flash latest global developer MIUI ROM via MiFlash to updated firmware and to reset things if they messed up (watch out if you lock your bootloader while flashing, choosing the wrong .bat file);
2) after flash TWRP via fastboot;
3) boot TWRP and "advanced wipe" ALL partitions (except MicroSD if you have a MicroSD inserted and you want to keep its data);
4) reboot to recovery and install the RR .zip file (and the gapps .zip file if you use it);
5) after you boot into RR, you can then reboot to TWRP and install Magisk .zip to get root and other nice things.
Can i factory reset my device instead of flashing developer rom as the developer rom is quite big, around 1.4gb?
shalom170401 said:
Can i factory reset my device instead of flashing developer rom as the developer rom is quite big, around 1.4gb?
Click to expand...
Click to collapse
If you've TWRP installed at the moment then try this :
Boot to TWRP
Take a nandroid backup (just incase)
Wipe > advanced wipe > swipe to confirm
Flash firmware if you're coming from marshmallow based MIUI
Flash ROM & Gapps
Reboot
If you still get errors, probably corrupted zip. Try Re-downloading the zip.
shalom170401 said:
Can i factory reset my device instead of flashing developer rom as the developer rom is quite big, around 1.4gb?
Click to expand...
Click to collapse
You can try. Remember that if you download the full MIUI ROM, you should follow this guide http://en.miui.com/a-234.html
You can also upgrade the firmware without downloading the full ROM, from here https://forum.xda-developers.com/re.../firmware-firmware-update-2017-08-04-t3651537
Will try soon and reply
Even after flashing the firmware, i get the same error 7
I have downloaded this rom (https://www.google.co.in/amp/s/foru...nt/rom-resurrectionremix-5-8-2-t3567023/amp/) and flashed twrp using this guide (http://en.miui.com/thread-536180-1-1.html)
Maybe this is a stupid question, but your phone has MediaTek chipset or Qualcomm chipset?
I'm pretty sure it is qualcomm as the cpu speed is 2.0ghz
Now, i get this error and status error 7.
What should i do?
Where you can format all partitions, you can fix them too.
It looks like your /data is using f2fs, you should fix it converting the partition in ext4 (in official TWRP it's not possible to use f2fs).
Check all partitions, not only /data, to be formatted as ext4
So, what r the steps i should follow?
And btw, is there any unofficial twrp which i could use?
Enter TWRP, choose Wipe > Advanced Wipe
Check the box for "data"
Tap "change or repair file system"
Tap "Change file system"
Tap "ext4"
Swipe the button
Repeat for other partitions
I don't know if there are unofficial TWRP that support f2fs. Probably they exists, but you should also check if the default RR kernel supports f2fs, else you have to flash a custom kernel that supports f2fs.
Just one important question. During this process, if something weird happens ( like i get my phone soft bricked) and i got a nandroid backup. Will i be able to flash it successfully using twrp?
Yes, changing file system is a pretty safe operation (except for the erasing of the data inside the partition, as a normal format).
Flashing the backup or a full fastboot image will reset things back.
But it already shows it as ext4
Oh mahn, it still doesn't resolved?
Flash official TWRP via fastboot mode, skip this step if your already on official TWRP
Boot to TWRP
Wipe
Flash cm14.1 mido firmware
Flash Rom
Flash Gapps
??
Reboot
Note that, you should try Re-downloading all the things, like Rom / Gapps
Dude, i am unable to flash the rom due to cant install this package error and status error 7 !
shalom170401 said:
Dude, i am unable to flash the rom due to cant install this package error and status error 7 !
Click to expand...
Click to collapse
Yeah man, that's what I'm saying, you should try installing cm14.1 firmware first, then Rom..
Even after flashing the firmware, i get the same errors
I am using Spice Dream UNO(Android One).
Bootloader: Unlocked
ROM: Marshmallow Stock ROM
Rooted: Yes
Recovery: TWRP
My phone suddenly started giving continuous Force closes so I restarted it and got stuck in a bootloop. Trying to Wipe any partitions failed with Error 1 and I was unable to copy or write to any partition from TWRP file manager. Nandroid backup and restore failed too.
So, I tried to flash Stock Lollipop ROM using SP Flash Tools and it flashed successfully but now all partitions show 0 MB size except Boot, IMEI and Recovery partitions.
Flashing ROM or restoring backup using TWRP still fails. Changing partition format, wiping, formatting fails too. Manual flashing using fastboot shows success but partition sizes still stay at 0MB. I have tried everything but I am not able to restore the partitions back to normal.
I haven't used the format feature of SP flash tools.
Now starting TWRP or fastboot turns the phone off and I am not able to access them.
Is EMMC of this phone corrupted or not? Can it be fixed?
Anyone? It's urgent.
Please, anybody? I need this phone right now.
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