Bootloop - Fastboot access - no ADB - Keep data - ONE Q&A, Help & Troubleshooting

I know, I've searched the forum already and am quite familiar with the tools and such, I just have some quick questions and I'll be on my may.
So I have a OPO which is stuck in a bootloop (Is able to boot successfully to Android but always reboots after a few seconds).
I just need to copy the data on it and I'll reinstall the device, I have fastboot access and can sideload anything. I already cleared the cache but didn't help.
So my thoughts are :
I do a factory reset from recovery, this should keep the internal memory (where the picture and photo's are stored) in tact, right ?
If this would not help, I'll sideload the signed system image and clear cache again to hopefully get a working system just to copy the files
Am I correct here ? (especially about keeping the internal memory when factory resetting it through standard recovery ? Thanks

Yes, factory reset doesn't format internal storage

Related

(SOLVED) [Q] [HELP] Motorola NOOB! Mount point information for XT925?

Hi there, I seem to have messed up my mounting partitions while trying to deodex Stock JB Central Europe. I basically used xultimate to pull the files and deodex then tried using adb shell to mount the system partition and copy them over. After I rebooted the phone, it would get stuck on unlocked bootloader warning or on the motorola logo. I hard reset into recovery and restored a nandroid backup and once booted into android found so many folders under the Storage folder such as "asec", "obb", rfs0" and so on. Now, when I try to wipe dalvik-cache in recovery, i get the following error: "E: unknown volume for path [/sd-ext]". Also, when i try flashing custom rom's and reboot, it gets stuck on the unlocked bootloader warning and wont load - while in recovery after flashing, i also get another error something like this: "E: cant load /cache/recovery.log" or similar. I also sometimes have issues mounting system, cache partitions, data and internal storage, all depending on which custom recovery i am using. I read on another site that downgrading to ics might solve mounting problems so I forced a downgrade to ics but that didnt work either and am still on ics.
Is there a way to restore the partitions correctly or are they stuck this way? Would mounting and remounting solve this problem? Any help would be much appreciated and would very much appreciate it if someone could upload their mount point info so i could use to try and fix it.
Many thanks in advance.
EDIT: Managed to flash Slim Bean 4.3 Official using OUDHS recovery without wiping cache and dalvik-cache at first. After reboot, it would bootloop so went to recovery and wiped cache and dalvik-cache then it worked. Still no sd-ext and some apps can't write or backup to external memory such as Go Backup & Restore Pro so what remains is to mount/unmount the partitions correctly.

LG OPTIMUS, not enough free space AFTER factory reset

Please, help me, i have an LG P920 OPTIMUS, and i wipe factory reset using clockwork,and after the reset this is what i get LG OPTIMUS, not enough free space clean up your data and try again. I deleted everything in the sd cards and formatted them, still i get the error.. I can't download from the market thing, and i can't receive or send text because the storage is full, when it is not. please help
Reflash it
Hi!
What is your android system?
Try to reflash the system, when it finished, power on, let it boot to system, click exit on setup wizard, restart to recovery and do a factory reset.
After it done, do a reboot, and your storage now working.
It worked for me in official GB 21E.
On stock GB Roms, don't do a factory reset with CWM installed, it will keep giving that error. Flash stock recovery on your phone and do another factory reset. That always gets the job done for me.
try this:
1. first check in settings - app manager - how much is the total size of internal storage and SD card (sometimes corrupt installation can access only little of these space). then backup whatever you want to on the computer . download and put a rom.zip in external SD card.
2. if you have root access then boot into recovery , wipe delvik cache , wipe cache , factory reset and wipe system , format internal storage this will completely remove the ROM installed and all the apps. then reboot into recovery and flash the rom.zip from sd card.
reboot and enjoy!

[Q] Corrupted internal storage

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.

[q] oneplus one urgent!!!! Help

Hello.
during this evening i wanted to flash my ONEPLUS One and to do this i downloaded a new ROM (BlissPop) as well as rooted my phone (unlock bootloader, installed TWRP and root the phone). Then i put the Rom.zip on a folder in the SD card (internal). I boot the phone into recovery and then i make a factory reset, wipe cache and dalvick and when i search for the zip to flash it i couldn´t find it anywere. So now i receive the message that i dont have any OS in my phone. I still have the bootloader unlock and i stil have access to recovery i only don't know how i put the zip file in sdcard (internal) because my computer dont recognise my phone when i connect it.
Could you help me to resolve this problem? it´s very urgent because i dont have phone now.
Thanks in advance
TWRP version installed is v2.8.6.0
Ricardo-Fr said:
Hello.
during this evening i wanted to flash my ONEPLUS One and to do this i downloaded a new ROM (BlissPop) as well as rooted my phone (unlock bootloader, installed TWRP and root the phone). Then i put the Rom.zip on a folder in the SD card (internal). I boot the phone into recovery and then i make a factory reset, wipe cache and dalvick and when i search for the zip to flash it i couldn´t find it anywere. So now i receive the message that i dont have any OS in my phone. I still have the bootloader unlock and i stil have access to recovery i only don't know how i put the zip file in sdcard (internal) because my computer dont recognise my phone when i connect it.
Could you help me to resolve this problem? it´s very urgent because i dont have phone now.
Thanks in advance
TWRP version installed is v2.8.6.0
Click to expand...
Click to collapse
Looks like you wipe your internal storage accidentally. Do you have MTP enabled in the Mount menu in TWRP?
Heisenberg said:
Looks like you wipe your internal storage accidentally. Do you have MTP enabled in the Mount menu in TWRP?
Click to expand...
Click to collapse
Yes i have.
When I touch in the middle button in TWRP Navbar I could see the following information:
Updating partition details...
...done
Full SELinux support is present.
MTP Enabled
However the mount appears not working because when i touch in Disable MTP button i could see the same message.
I already try ADB sideload too but it fails.
Its quite strange because when I access the Wipe Menu, i have the following message:
" Factory Reset
Wipes data, Cache, and Dalvick (not including internal storage)"
then i have two buttons 1- Advanced Wipe and 2- Format Data
I touch the second. In the sdcard partition i still have the TWRP folder but whe don´t see the other folders. I have in the same partition a folder named ROMs where i put my new ROM but it dont appear to me.
many thanks man for your help.
Ricardo-Fr said:
Yes i have.
When I touch in the middle button in TWRP Navbar I could see the following information:
Updating partition details...
...done
Full SELinux support is present.
MTP Enabled
However the mount appears not working because when i touch in Disable MTP button i could see the same message.
I already try ADB sideload too but it fails.
Its quite strange because when I access the Wipe Menu, i have the following message:
" Factory Reset
Wipes data, Cache, and Dalvick (not including internal storage)"
then i have two buttons 1- Advanced Wipe and 2- Format Data
I touch the second. In the sdcard partition i still have the TWRP folder but whe don´t see the other folders. I have in the same partition a folder named ROMs where i put my new ROM but it dont appear to me.
many thanks man for your help.
Click to expand...
Click to collapse
Right now it's probably best just to use fastboot to flash the stock images to get your phone booting again. Go to section 8 of my guide:
http://forum.xda-developers.com/showthread.php?t=2839471
Heisenberg said:
Right now it's probably best just to use fastboot to flash the stock images to get your phone booting again. Go to section 8 of my guide:
http://forum.xda-developers.com/showthread.php?t=2839471
Click to expand...
Click to collapse
Heisenberg
you´re the one. Thanks a lot man my OPO is booting again .
I realise that I were very nooby here because TWRP has a slide button that says wipe for factory reset. I should to touch in this button regard the Format data button, its my fault and a very lack of attention. Fortunately there are guys like you.
Once agais, thaks a lot.
BR
Ricardo-Fr said:
Heisenberg
you´re the one. Thanks a lot man my OPO is booting again .
I realise that I were very nooby here because TWRP has a slide button that says wipe for factory reset. I should to touch in this button regard the Format data button, its my fault and a very lack of attention. Fortunately there are guys like you.
Once agais, thaks a lot.
BR
Click to expand...
Click to collapse
Great news. When wiping, it's probably safer to go into the Mount menu in TWRP, then select Advanced Wipe, and then you can select exactly which partitions you want to wipe.
Heisenberg said:
Great news. When wiping, it's probably safer to go into the Mount menu in TWRP, then select Advanced Wipe, and then you can select exactly which partitions you want to wipe.
Click to expand...
Click to collapse
Heisenberg
Only one more thing. What is the folder that i should use to put my Rooms for flash? Now I´m a little afraid that when i perform a full wipe i dont see the folder with the rooms again. So what is you suggestion?
Thanks a lot once again.
BR
Ricardo-Fr said:
Heisenberg
Only one more thing. What is the folder that i should use to put my Rooms for flash? Now I´m a little afraid that when i perform a full wipe i dont see the folder with the rooms again. So what is you suggestion?
Thanks a lot once again.
BR
Click to expand...
Click to collapse
It doesn't really matter where you put them, I have a dedicated folder for ROMs so they're easy for me to find. But as long as you use the Advanced Wipe menu and only select system, data, cache, and dalvik cache (not internal storage) you'll be fine.

0 mb in TWRP internal storage

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

Categories

Resources