I used a custom ROM (Oxygen OS 3.1.4 for bacon) which completely messed up my partition of OPO. Need partition details of OPO. In TWRP Recovery mode when I select 'Internal Storage' partition, it says 'Invalid Partition Selection' & in 'Data' Partition It shows 56 GB available. As a result all my media is stored on data partition & I cannot restore my old backups. Please Help!!
Shu2007 said:
I used a custom ROM (Oxygen OS 3.1.4 for bacon) which completely messed up my partition of OPO. Need partition details of OPO. In TWRP Recovery mode when I select 'Internal Storage' partition, it says 'Invalid Partition Selection' & in 'Data' Partition It shows 56 GB available. As a result all my media is stored on data partition & I cannot restore my old backups. Please Help!!
Click to expand...
Click to collapse
Try to see if you can find anything connecting bacon to mtp in TWRP.
Flash Cos13 through fastboot.
Related
Help!!!!!
I chose the wrong option in TWRP and wiped system. now my data partition wont mount and TWRP says there is no os installed. how do i install a os on there and data partition shows up as 0 mb
joel_1204 said:
Help!!!!!
I chose the wrong option in TWRP and wiped system. now my data partition wont mount and TWRP says there is no os installed. how do i install a os on there
Click to expand...
Click to collapse
https://developers.google.com/android/nexus/images#hammerheadktu84m
ill keep this simple. tried to advanced wipe data and cache with TWRP which returned an E:/ unable to mount for both data and cache. internal storage is now saying its 0MB after i "fastboot erase" on as many of the partitions it would return success with (ie, what was mounted) flashall is asking me for a specific device.
How do i reset the internal partitions so they become mountable again? i believe in erasing the ones i had, it has deleted them altogether and i need to flash original firmware to get it to auto restructure (im guessing)
EDIT: so i downloaded this (link not allowed) i just dont know how to implement it through adb or fastboot
somewhere i read that the latest moto PQ versions for CWM and TWRP both have some selinux problem when wiping data, causing a force unmount (parroting. i DONT know what im talking about)
the first time i installed with CM11 with twrp (after CMW only allowing me to install 10.2) it worked great, except google play and whisperpush(whatever that is) crashing consistently. i should have used 'fix permissions' instead of going for a wipe+re-install
please help, what commands do i need to use through fastboot to restore the partitions, or where can i get the fxz file to use with RSD?
this is a brand new out of the box Sim-modded and pre-rooted PQ
SOLVED (i think)
god im so ****ing stupid.
due to corrupting the file structure and not being able to mount the cache or data partitions, when i installed CM11 snapshot it picked my external SD as the data storage /android/data/
FIX: unmounting and removing the external SD i rebooted to system, booted back to recovery. -> factory reset.... auto reboot, cant mount messages, then a second time it said SELinux supported message. ->factory reset again and finally no red messages, wipe to system (got an error, but probably cause system = external SD). i then inserted the external SD, installed the ROM and everything looks normal and working right
TWRP will restore file structure with 'factory reset' BUT ONLY IF you remove your external sd
i hope this thread saves time and headaches for someone.
Hello, I would really appreciate your kind help solving a bit of a problem I have with my Moto G 4G
I had a problem with my google account where it wouldn't sync anymore and play store sopped working (says no connection even though is there).
Since I already encountered this problem before and solved it once by formatting cache, and data I tried to go into Recovery.
Here the oddities begin: TWRP doesn't load and gets stuck on splashscreen;
I searched for it and read that formatting cache and userdata would solve also this problem, so I guessed that formatting them from bootloader would have done the trick.
Unfortunately when I enter the command fastboot format cache or fastboot format userdata I get this:
formatting is not supported for filesystem with type 'raw'
Are some of my partitions corrupted?!
How can I solve this??
BTW I can boot into system and all is fine except the problem with the google account that led me to these findings.
albmanzi said:
Hello, I would really appreciate your kind help solving a bit of a problem I have with my Moto G 4G
I had a problem with my google account where it wouldn't sync anymore and play store sopped working (says no connection even though is there).
Since I already encountered this problem before and solved it once by formatting cache, and data I tried to go into Recovery.
Here the oddities begin: TWRP doesn't load and gets stuck on splashscreen;
I searched for it and read that formatting cache and userdata would solve also this problem, so I guessed that formatting them from bootloader would have done the trick.
Unfortunately when I enter the command fastboot format cache or fastboot format userdata I get this:
formatting is not supported for filesystem with type 'raw'
Are some of my partitions corrupted?!
How can I solve this??
BTW I can boot into system and all is fine except the problem with the google account that led me to these findings.
Click to expand...
Click to collapse
Have you tried reflashing TWRP through fastboot, like this
Code:
fastboot flash recovery recoveryimage.img
You could then wipe, or format these partitions in TWRP.
Professor Gibbins said:
Have you tried reflashing TWRP through fastboot, like this
Code:
fastboot flash recovery recoveryimage.img
You could then wipe, or format these partitions in TWRP.
Click to expand...
Click to collapse
I tried that already, albeit just reflashig TWRP 3.0 and not other recoveries... it didn't work, still keeps getting stuck at splash screen :crying:
Did you use
Code:
fastboot format cache
or
Code:
fastboot erase cache
Because the format seems to give that error and erase should not.
UPDATE: After reading your post it says you did indeed use format, not erase, so use
Code:
fastboot erase cache
fastboot erase userdata
Thanks, unfortunately it worked to solve just the recovery getting stuck, and I f*ed up other things in the process.
I still can't access to Google accounts, or create another, says connection error with google servers.
Since I had the SD card as internal storage before, erasing userdata caused the SD card to not be recognised anymore... I could format it to solve the problem, but I didn't have a recent backup so now I also need to try recovering that data. I know. I'm an idiot.
The strange thing is I even wiped Cache, Dalvik, Data and System and proceeded to flash a new ROM, and google account still doesn't work
There are so many variables that could be causing the Google account issue. Although, did you flash the stock rom or a custom rom?
I flashed 6.0.1 custom rom, Resurrection Remix
Google account issue got solved by simply doing another wipe and ROM flashing.
Now I have to deal with the corrupted microsd card issue I caused when i erased userdata...
I don't want to format the card before I can restore the data that was in there, there's still important stuff there, and last backup is too old.
When I'm in recovery with the phone connected to PC I can see the drive and windows says it has only 590MB of free space from a 7.42GB total; problem is when I open the drive it says it's empty.
When I put the microsd in a card reader instead, it does get a drive letter assigned but when I try to open it windows asks me to insert a disk.
Data is still there, it didn't got wiped with userdata... did it?!
I tried the method described in this guide http://forum.xda-developers.com/galaxy-s4/general/guide-internal-memory-data-recovery-t3093292 to recover mmcblk1p1 and mmcblk1p1p2 but the recuva scan I did to the generated virtual hard disk reported no deleted files and just the file indexervolumegrid in system volume information folder.
Now I'm going to try to use testdisk to see if i can repair the partition, but i'm no expert so I'm not sure how to do that.
albmanzi said:
Google account issue got solved by simply doing another wipe and ROM flashing.
Now I have to deal with the corrupted microsd card issue I caused when i erased userdata...
I don't want to format the card before I can restore the data that was in there, there's still important stuff there, and last backup is too old.
When I'm in recovery with the phone connected to PC I can see the drive and windows says it has only 590MB of free space from a 7.42GB total; problem is when I open the drive it says it's empty.
When I put the microsd in a card reader instead, it does get a drive letter assigned but when I try to open it windows asks me to insert a disk.
Data is still there, it didn't got wiped with userdata... did it?!
I tried the method described in this guide http://forum.xda-developers.com/galaxy-s4/general/guide-internal-memory-data-recovery-t3093292 to recover mmcblk1p1 and mmcblk1p1p2 but the recuva scan I did to the generated virtual hard disk reported no deleted files and just the file indexervolumegrid in system volume information folder.
Now I'm going to try to use testdisk to see if i can repair the partition, but i'm no expert so I'm not sure how to do that.
Click to expand...
Click to collapse
Unfortunaly the erase userdata command will also erase the internal SD card. This is because the shared internal 'SD card' is actually stored under the userdata partition, in /data/media.
Im not a data recovery expert, but i believe that recovering data deleted on solid state media is much more difficult than a magnetic disk. Also, that tutorial appears to be for a Samsung phone, so those are not the correct partitions.
As for repairing the partition, the userdata partition, and the /data/media directory inside it, is recreated when booting into a ROM.
Professor Gibbins said:
Unfortunaly the erase userdata command will also erase the internal SD card. This is because the shared internal 'SD card' is actually stored under the userdata partition, in /data/media.
Im not a data recovery expert, but i believe that recovering data deleted on solid state media is much more difficult than a magnetic disk. Also, that tutorial appears to be for a Samsung phone, so those are not the correct partitions.
As for repairing the partition, the userdata partition, and the /data/media directory inside it, is recreated when booting into a ROM.
Click to expand...
Click to collapse
Yeah, I can't find anything even with testdisk.... I am at a loss, fortunatyely the lost data isn't mission critical, nevertheless it forces me to repeat many hours of work.
Going to format the card.
Sorry to hear that. Although I suppose it's a good reminder of the importance of regular backups.
Hi,
I was running Qmobile z8 lolipop stock rom on my Blulileone 2015. I did this using QFIL. Was working for a couple of months until one day my phone powered off even though it had a charge. When I yried turning it on it went into a loop. I accessed recovery and I get e: unable to mount cache/ invaid argument same for system and data. I tried restoring using QFIL to no avail. I booted into TWRP using fastboot boot twrp and realized my internal storage days 0mb data 0mb cache 0mb system 0mb. I currently have no os due to working in fastboot erasing to format the partitons. I tried advance setting in wipe and change the partitions to other formats but still getting those errors. Also repairing partiton does not work either. Any ideas?
Thanks in advance
So I decided to install Xiaomi EU rom to my device, but after wiping data in TWRP it all goes to ****.
Firstly, Windows no longer recognize the internal storage, it's still there, but I can't copy files into it
Second;y, my TWRP internal data is 0mb, but after restoring that and rebooting twrp, the data is 0mb again and it forces to to do it all over again,
Does someone know a way to fix this issue?
I need a reply asap as I really need the phone
If only had done format data, reboot to system to get into MIUI, will take 5~10 minutes, done the initial setup, then the internal storage should be readable.
If still does not work, buy USBOTG or find a microSD card with sufficient storage to flash.
My guide:
https://forum.xda-developers.com/t/4288121/post-85137963
BreadGyarados said:
So I decided to install Xiaomi EU rom to my device, but after wiping data in TWRP it all goes to ****.
Firstly, Windows no longer recognize the internal storage, it's still there, but I can't copy files into it
Second;y, my TWRP internal data is 0mb, but after restoring that and rebooting twrp, the data is 0mb again and it forces to to do it all over again,
Does someone know a way to fix this issue?
Click to expand...
Click to collapse
Only solution is fastboot rom via MIFLASH in order to refresh partition mess.
lolo9393 said:
Only solution is fastboot rom via MIFLASH in order to refresh partition mess.
Click to expand...
Click to collapse
so I need to do Miflash, another issue is that there's no system partition in the advanced wipe menu but it's stil there in the internal storage in install
p
BreadGyarados said:
so I need to do Miflash, another issue is that there's no system partition in the advanced wipe menu but it's stil there in the internal storage in install
BreadGyarados said:
so I need to do Miflash, another issue is that there's no system partition in the advanced wipe menu but it's stil there in the internal storage in install
Click to expand...
Click to collapse
that's the main issue can someone fix this please i beg you
Click to expand...
Click to collapse
Hello, first of all tell me what version of TWRP you have installed?
twrp 3.5.2
felixpaz1992 said:
Hello, first of all tell me what version of TWRP you have installed?
Click to expand...
Click to collapse
Hola, en primer lugar donde dime qué versión de TWRP tienes instalada.
BreadGyarados said:
twrp 3.5.2
Click to expand...
Click to collapse
Personally, my TWRP gave me an error when trying to install Miui.eu, that's why from TWRP I installed Orange Fox and I was able to install EU, another thing is that twrp does not show you or mount the data partition since by default it comes in format F2fs, you would have to change the data file format to ext4 and go back to f2fs for twrp to work with that partition, which is also why your PC cannot copy files to internal memory
The published versions of TWRP are betas and it has problems with the format of the data partition since by default the Poco X3 Pro brings the f2fs format for data, so the only thing I can think of is that you have to format if or if data and change the partition format so that twrp recognizes it
felixpaz1992 said:
The published versions of TWRP are betas and it has problems with the format of the data partition since by default the Poco X3 Pro brings the f2fs format for data, so the only thing I can think of is that you have to format if or if data and change the partition format so that twrp recognizes it
Click to expand...
Click to collapse
so I decided to replace the recovery twice and the phone is properly recognized now
You could use sideload to install rom btw. Otherwise, you could use the official beta orangefox recovery, iirc, it also recreate the partition if you attempt to use some of its feature.