[Q] Can't format data partition? - Atrix 4G Q&A, Help & Troubleshooting

Hey all, just a quick question. I'm unlocked ran a few roms (Alien v2, Aurora ect), now when I try to flash something else it won't flash, it just goes through the steps and acts like it installs but boots up to the same rom just like it was when I powered it down and booted to CWR. I've done factory resets and wiped everything, but when I try to manually format /data it has an error. I'm not sure if this is because I used Faux's kernel and it's converted to ex4 or something? Anyone have any ideas?
Thanks!

Clienterror said:
Hey all, just a quick question. I'm unlocked ran a few roms (Alien v2, Aurora ect), now when I try to flash something else it won't flash, it just goes through the steps and acts like it installs but boots up to the same rom just like it was when I powered it down and booted to CWR. I've done factory resets and wiped everything, but when I try to manually format /data it has an error. I'm not sure if this is because I used Faux's kernel and it's converted to ex4 or something? Anyone have any ideas?
Thanks!
Click to expand...
Click to collapse
Which recovery are you using?

Solution that worked for me
I ran into the same problem after trying to do a restore with Rom Manager's CWM. As it turns out, I guess CWM has a bug that will corrupt your data partition whenever you attempt to restore the data partition.
If you have an unlocked bootloader, this is easy to fix. Wipe your data partition and start over with fastboot with the instructions below. If you do not have an unlocked bootloader, unlock it with these instructions. This will override the formatting tool which CWM uses and fix the problem.
WARNING: THIS PROCESS WILL ERASE ALL DATA ON THE PHONE'S INTERNAL MEMORY.
Connect your phone in Fastboot mode and run fastboot with the following options:
fastboot -w
then run
fastboot reboot
and the device will restart, completely factory reset and ready to go as long as you have a functioning ROM installed. To avoid this issue in the future, avoid doing normal restores with CWM. Instead do an advanced restore and restore only the boot and system partitions. Not the data partition.

Related

Unable to boot Android

This all started when I was wiping in CWM before flashing a ROM and I seemed to have misclicked something. It resized a partition I think I recall it saying, but I proceeded to install the ROM afterwards. The rom didn't boot, but I was still able to access CWM so I flashed a recovery I had made. I was able to boot into it but the touch screen was horribly off and made it unusable. I spent a while wiping then tried a few different roms to start from scratch. The Boot logo had disappeared and a menu had taken it's place.
I eventually pulled up fastboot and wiped everything. Everything on the phone is wiped and it is now unusable, HOWEVER fastboot is working perfectly and I can flash files from there.
What do I do from here to get my phone back into a functional state? I really need some help here...
Taz3rburned said:
This all started when I was wiping in CWM before flashing a ROM and I seemed to have misclicked something. It resized a partition I think I recall it saying, but I proceeded to install the ROM afterwards. The rom didn't boot, but I was still able to access CWM so I flashed a recovery I had made. I was able to boot into it but the touch screen was horribly off and made it unusable. I spent a while wiping then tried a few different roms to start from scratch. The Boot logo had disappeared and a menu had taken it's place.
I eventually pulled up fastboot and wiped everything. Everything on the phone is wiped and it is now unusable, HOWEVER fastboot is working perfectly and I can flash files from there.
What do I do from here to get my phone back into a functional state? I really need some help here...
Click to expand...
Click to collapse
Have u tried these fastboot commands
fastboot erase boot
fastboot erase system
fastboot erase userdata
fastboot erase cache
fastboot erase webtop
fastboot erase preinstall
Okay, I've done that and then I flashed CWM Recovery through fastboot. I then booted into CWM and flashed the jokersax's CM9 ROM and rebooted. What I still get is:
No OS detected, going to RSD mode in 5 seconds
Press a key to stop count down
Available Modes are:
1 RSD
2 Fastboot
3 NvFlash
etc. etc.
It isn't detecting an OS still, and I don't get a boot icon just that menu. What would you suggest?
I'm thinking of trying this: http://forum.xda-developers.com/showthread.php?t=1421522
Taz3rburned said:
This all started when I was wiping in CWM before flashing a ROM and I seemed to have misclicked something. It resized a partition I think I recall it saying, but I proceeded to install the ROM afterwards. The rom didn't boot, but I was still able to access CWM so I flashed a recovery I had made. I was able to boot into it but the touch screen was horribly off and made it unusable. I spent a while wiping then tried a few different roms to start from scratch. The Boot logo had disappeared and a menu had taken it's place.
I eventually pulled up fastboot and wiped everything. Everything on the phone is wiped and it is now unusable, HOWEVER fastboot is working perfectly and I can flash files from there.
What do I do from here to get my phone back into a functional state? I really need some help here...
Click to expand...
Click to collapse
1. Re: CWM wipe and spazzed out touch screen: Sounds like you erased your PDS partition. If you made a back up, flash it. Otherwise search for a thread titled PDS Partition Fix (or something similar) here in the Q&A section for an alternative fix.
2. I don't recall if doing the PDS fix will also fix the missing boot logo. If not, you can find a stock replacement in the Themes section. You're looking for logo.bin.
That fixed it, thanks! I did a full wipe of those partitions then restored from my CWM restore. That didn't fix the screen but I tried that fix you suggested and everything is perfect now. Thanks for the help.

[Q] Bootloop comes out of nowhere

Had ICScrewed running for 4+ months and out of nowhere phone won't boot and is stuck in samsung bootloop.
I have searched and can't seem to get any solutions to work. I have done so much crap I am thoroughly confused as to what I have done and what I haven't tried yet.
Someone please send me in the right direction.
Right now last thing I flashed was "I777UCKH7 OCD Root No BL" oneclick.
Any ideas? I appreciate your help!!
Something changed to trigger the bootloop. If you can pinpoint some event that occured just before it, that might help determine a solution.
From what you say, you must now have stock UCKH7 installed. If you can boot into 3e recovery mode, try a wipe data/factory reset, and clearing anything that it will let you clear. Don't remember the stock recovery very well.
Or, if the bootloop will let you get into 3e recovery, you could flash a custom kernel back onto the phone, enter recovery and clear cache and dalvik cache, etc. Also, if you have a nandroid backup, from custom recovery you can restore the backup to get your phone to boot again.
If you need specialized files to flash to recover the phone, you will find them in the Download Repository, linked in my signature.
creepyncrawly said:
Something changed to trigger the bootloop. If you can pinpoint some event that occured just before it, that might help determine a solution.
From what you say, you must now have stock UCKH7 installed. If you can boot into 3e recovery mode, try a wipe data/factory reset, and clearing anything that it will let you clear. Don't remember the stock recovery very well.
Or, if the bootloop will let you get into 3e recovery, you could flash a custom kernel back onto the phone, enter recovery and clear cache and dalvik cache, etc. Also, if you have a nandroid backup, from custom recovery you can restore the backup to get your phone to boot again.
If you need specialized files to flash to recover the phone, you will find them in the Download Repository, linked in my signature.
Click to expand...
Click to collapse
I didn't do anything I can think of that would trigger this. I can't get into 3e Recovery it says "Deleting Cryption Meta Data" and just reboots.
I flashed via odin "SGH-I777_ClockworkMod-Recovery_5.0.2.3.tar" That gets me into CWM Recovery... i wiped data/factory reset... cleared cache... doesn't help.
Then I tried SD card to load a custom ROM and everything on the external SD card is completely not what shows up when i have it in my computer.
I am so lost.
bdkvxd said:
I didn't do anything I can think of that would trigger this. I can't get into 3e Recovery it says "Deleting Cryption Meta Data" and just reboots.
I flashed via odin "SGH-I777_ClockworkMod-Recovery_5.0.2.3.tar" That gets me into CWM Recovery... i wiped data/factory reset... cleared cache... doesn't help.
Then I tried SD card to load a custom ROM and everything on the external SD card is completely not what shows up when i have it in my computer.
I am so lost.
Click to expand...
Click to collapse
I just got a custom rom onto /sd with Droid Explorer and renamed it update and it installed but is still stuck in bootloop.
Any ideas? I need my phone for my business I am soo screwed!
Flashed SiyahKernel v2.6.14 and with stock rom it works. Thanks!
Be sure to make a nandroid backup once you have it configured the way you want. Restoring a nandroid backup is the first thing I would try if that type of problem ever happens again.

Restoring to Stock from CM10

So my Evo LTE is running 2.13.651.1, and is on what I understand to be the newest HBOOT (1.19). Naturally, I have S-ON as a result. This is my first Android device, and I've had it about a week since switching from an iOS device. I have root and the Teamwin recovery, which I used to backup the phone. I understand this is called a nandroid backup?
I plan to flash Cyanogenmod 10, in fact I already tried once. It resulted in a bootloop, and I restored from the nandroid backup. I have since learned I need to flash the boot.img from CM10 using fastboot, Flash Image GUI, or any other alternative. Once I do this, if I want to go back to Sense 4.1 like I have currently, how would I do so? Once I flash the boot.img from CM10, I won't simply be able to restore to my nandroid from teamwin, will I? I assume that if I tried to restore from the nandroid, due to S-ON I would be unable to write to the boot partition from a recovery utility and I would be left in another bootloop. How can I get a boot.img corresponding to my stock Sense 4.1 rom in the event that I want to revert to stock?
In the folder containing my nandroid backup, I see a file called boot.emmc.win and a boot.emmc.win.md5. I understand what the MD5 is for, but is the boot.emmc.win what I will need to undo the effect of flashing CM10's boot.img? If so, how would I use it (I do not recognize that file extension, and Flash Image GUI does not seem to like it either)? If not, where would I get something that will work?
I've done several searches here and on other forums, but I can't seem to find what I need. If someone has already answered this question, could you simply point me in the direction of that thread?
Thanks in advance,
Kristoffer
I have yet to restore a back up but to avoid any issues I would use dumlock. Install it from twrp advanced menu and reboot, open it in cm and it will backup boot and overwrite it with a temporary recovery, you then reboot and go back to dumlock and restore the back up, then you are free to flash the nandroid backup and reboot
When you reboot, do not boot to recovery, the boot partition has been replaced with a temporary twrp and all you need to do is reboot normally
om4 said:
I would use dumlock. Install it from twrp advanced menu and reboot, open it in cm and it will backup boot and overwrite it with a temporary recovery, you then reboot and go back to dumlock and restore the back up, then you are free to flash the nandroid backup and reboot
Click to expand...
Click to collapse
Once I flash CM and its boot, the boot for my Sense 4.1 will have been overwritten, no? I opened Dumlock in my Sense rom (as I have not yet flashed CM successfully), and it gives me a warning to make a backup of boot PRIOR to using the app, then just under that says the app will make a backup of the boot. If I go ahead and run Dumlock, I'm not entirely sure what is going to happen. It seems that it will move my recovery (TeamWin at the moment) onto the boot partition? If this is the case, why is this something that needs to be done? Does moving the recovery onto the boot partition allow the recovery to write to the boot without S-OFF, thereby allowing a simple restore of the nandroid to replace my rom AND boot at the same time, as if I were restoring with S-OFF? Sorry if I'm not making sense, but I don't really know what I'm talking about here, and thats the only thing that makes sense to me.
I see a button in Dumlock that says "restore original boot." If I install CM and the CM boot, will pushing this "restore original boot" button give me back the boot setup for the stock Sense rom? If it does, then I could just push that button, let it do its thing, and then restore my Sense nandroid with my recovery, right?
Thanks for your help, and quick response.
Install HTC dumlock
Open the app and back up boot
Once back up is successful, press execute
Once the phone restarts it will only boot to twrp, you then go to dumlock menu again and restore boot
Now flash a Rom or restore back up and reboot
Sorry to sound ignorant, but will this method will restore the stock boot regardless of what rom/boot combination I'm currently running? Or is this creating a backup of the currently installed boot, and saving it somewhere for future use? Specifically, do I want to follow this procedure before I upgrade to CM so I have a backup of the current boot, or is this something I want to do if/when I want to go back from CM to Sense that will magically put the boot back how it was from the factory?
Yes, its a workaround that gives access to boot partition and will let you flash normally, I would only use it for stuff like nandroids rather normally flashing because it writes to boot 3 times. It's a lot of unnecessary wear and tear
Awesome, thanks alot for your help. I'm excited to go and try my CM10 rom, now I know how to get back to stock if I don't like it.
Thanks again,
Kristoffer
Hmm. Now I don't know what I've screwed up. I flashed the boot.img from the CM10 zip using Flash Image GUI, then rebooted to recovery and wiped the System partition and cleared dalvik/cache. Then I flashed the CM10 zip using twrp, cleared dalvik/cache, and rebooted. Now, I'm stuck at the CM boot animation again, just like last time. This does not seem terribly complicated, and I don't know what I've done wrong.
I understand twrp cannot flash the boot due to S-ON, but I thought flashing the boot from inside my Sense rom using Flash Image GUI would fix the problem. I restored the Sense nandroid like before, rebooted, and then I got the Recovery boot logo (htc logo, with red text underneath). After maybe a minute, that went away, and I got a Sprint logo and then the normal boot screen with only an HTC logo. The phone then restarted, and this process repeated several times. So, apparently whatever I did to the boot sector with Flash Image GUI wreaked whatever was there before, and failed to replace it with something that would play nice with CM.
A factory reset won't fix the boot, will it? All it will do is overwrite my system partition and internal sd with the default files, and I still won't be able to boot. Any idea what I've screwed up, and how I can fix it?
EDIT:
I reflashed the CM10 zip, and it still gets stuck at the CM boot logo (spinning blue thing). What are the chances my CM10 download is corrupt? Is it worth trying to redownload it, reflash boot with fastboot, then move the new zip to the phone and flash that?
What version of twrp are you using, some people have had issues with the older 2.1.8
Ok, progress. I'm on twrp 2.2.1. I wiped everything again (wiped cache and dalvik, Factory Reset, and then wiped System) and reflashed CM10. It booted this time, so I assume the boot partition is fine. Apparently I'm the retard that can't understand a point-and-click system and follow simple directions
Once it boots, however, I instantly see an error "Unfortunately, the process com.android.phone has stopped." Once I click Ok, the error will either pop back up immediately, or wait for an indefinite period and them come back. Possibly this is the result of the CM10 release not being entirely stable as of yet, I don't know.
But thanks again, your help and your fantastic Don't Panic post together fixed the problem. I think I can figure out what is going on with this error popup and fix it. So long as I have voice service in the interim, which I do, all is well in the world.
It's normal, it pops up when you lose signal, its a bug but its technically a feature. If the phone loses signal, normally android is supposed to prompt you so you are aware. I think its for debugging purposes, normally this is disabled. Not sure if its really a bug in cm or they just haven't gotten around to disabling it, but its normal. It's not a real priority either since it doesn't adversly affect the phone
Hmm. This just gets better and better. So CM10 ran nicely for awhile, then last night I rebooted the phone and the internal SD card failed to mount. Both twrp and the actual OS cannot get it to mount properly. Is this something I broke, or does it sometimes occur at random? I read the following, but I don't quite know where to go with it.
om4 said:
You're card is beyond a simple reformat, the physical address linking the card and or entire card is corrupt. Don't panic, you have to start clean. Back up the info on you external or remove it, make sure you have a ROM available on your PC. Go into recovery and repartition your phone, this will wipe all memory. You then load up a working ROM (a bad back up may be responsible or just reintroduce the problem), after you have flashed the ROM (HBOOT 1.15+ must fastboot kernel, unless S-OFF) go ahead and boot into android and restore your apps.
Click to expand...
Click to collapse
Repartitioning seems simple enough; twrp> advanced >partition SD card>swipe (leaving all settings default).
After that, I can flash the new rom and boot using fastboot from my PC, right? I'm confident that my nandroid of the stock rom is clean, because I didn't develop this problem until after I had been using CM10 for awhile. Could I use fastboot to flash the boot, data, and system from the nandroid, and be good to go? If not, is the most current file avalible to download at http://stockroms.net/file/HTCEvo4GLTE/RUU? the appropriate file I would need to restore the phone to its stock unrooted state.?
Also, none of my nandroid files have a .img file extension. Is this normal? It has the normal .md5 files, but everything else has a .win extention. I've never heard of this one. My boot, for example, seems to be backed up as boot.emmc.win, with a boot.emmc.win.md5 corresponding to it. Cache, data, and system backups are named <option>.ext4.win. Does ext4 has something to do with the filesystem of the backed up partition? If this is the case, what is a .emmc? Can I flash these files with their strange (to me, at least) extensions using fastboot as if they were all .img files?
I can't imagine any of this is really as complicated as it seems. I've used a PC and a jailbroken iDevice extensively, and never managed to break something I couldn't fix. I guess Android just doesn't like me, or something.
Thanks again for all your help.
EDIT:
Apparently physically removing the external SD from the phone allowed me to mount the internal SD as a USB device. The phone still refused to allow me to read/write data to the memory, but somehow managed to allow my PC to see it. I formatted the internal SD to fat32 (one of the limited options) using Windows, and rebooted the phone to recovery. Now, it suddenly can detect its internal SD. I was able to wipe everything, and restore my Cyanogen backup and the SD card now works again. Weird...
Since I didn't have to repartition anything, was the "physical address linking the card and or entire card" corrupt, or did I have some other issue? Also, I'm still curious about my above question pertaining to file extensions and restoring a nandroid via fastboot.

Soft brick - stuck at boot logo; need suggestions

Hey all,
I've got a N7105 (Galaxy Note II LTE) running CM12.1 and TWRP which I was planning to change shortly as it's old and the USB port has issues (charges but doesn't pass data; luckily it has a microsd slot). As it happens, the other day I left it discharge fully and turning it back on left it stuck at Samsung logo (not boot animation, the splash screen before it) forever.
I am: not a noob, I've rooted and flashed plenty of devices before.
I tried: removing battery for a while, charging fully, removing microsd and sim, clearing Cache and Dalvik. Nothing works.
I can: get into ODIN mode (but it's useless as USB data is not working); get into TWRP recovery; explore the Data partition in TWRP
I cannot: mount the System partition in TWRP, not even manually. It just does not let me select it, and gives an error whenever it needs to access it (e.g. if I try to backup it is says Error: unable to mount System)
I want: if possible to solve the issue without formatting Data. I had a TB backup but kinda old, so I got a Nandroid of Data and Boot out from TWRP and I suppose I could then recover stuff extracting from Nandroid through TB, but I've never done it and would rather be able to get a fresh TB backup and move on from there.
A few questions I have: any idea on why I am not able to mount System in TWRP? Could it help to reflash Boot or System, and if so how do I go to do that considering what I have is the whole CM rom package? (I remember being able to fastboot flash single partitions on Nexus devices but that's because the stock rom comes packaged in separate images).
Any input would be greatly appreciated!
Lazer Bear said:
Hey all,
I've got a N7105 (Galaxy Note II LTE) running CM12.1 and TWRP which I was planning to change shortly as it's old and the USB port has issues (charges but doesn't pass data; luckily it has a microsd slot). As it happens, the other day I left it discharge fully and turning it back on left it stuck at Samsung logo (not boot animation, the splash screen before it) forever.
I am: not a noob, I've rooted and flashed plenty of devices before.
I tried: removing battery for a while, charging fully, removing microsd and sim, clearing Cache and Dalvik. Nothing works.
I can: get into ODIN mode (but it's useless as USB data is not working); get into TWRP recovery; explore the Data partition in TWRP
I cannot: mount the System partition in TWRP, not even manually. It just does not let me select it, and gives an error whenever it needs to access it (e.g. if I try to backup it is says Error: unable to mount System)
I want: if possible to solve the issue without formatting Data. I had a TB backup but kinda old, so I got a Nandroid of Data and Boot out from TWRP and I suppose I could then recover stuff extracting from Nandroid through TB, but I've never done it and would rather be able to get a fresh TB backup and move on from there.
A few questions I have: any idea on why I am not able to mount System in TWRP? Could it help to reflash Boot or System, and if so how do I go to do that considering what I have is the whole CM rom package? (I remember being able to fastboot flash single partitions on Nexus devices but that's because the stock rom comes packaged in separate images).
Any input would be greatly appreciated!
Click to expand...
Click to collapse
The note 2 has this issue that makes it unable to be recognized by PC, so this isn't your phone problem, the only way to solve it is replacing the usb socket in your phone, anyway i can recommend dirty flashing your rom first, just flash the rom in recovery and wipe cache and Dalvik cache only then reboot.
If that didn't work, I'm afraid you might have to...... clear data ?
MigoMujahid said:
The note 2 has this issue that makes it unable to be recognized by PC, so this isn't your phone problem, the only way to solve it is replacing the usb socket in your phone, anyway i can recommend dirty flashing your rom first, just flash the rom in recovery and wipe cache and Dalvik cache only then reboot.
If that didn't work, I'm afraid you might have to...... clear data
Click to expand...
Click to collapse
Thanks for the input, I was thinking something along those lines but I wasn't totally sure, I always avoided dirty flashing as I heard of people having issues. Happily, it worked! Weirdest think I saw in a while, it gave me a bunch of errors with System partition (unable to mount, unmount, find), then it gave a "proceeding to patch system partition unconditionally", then it completed. The whole thing took less than 20secs so I do not think it even actually flashed the ROM. Now I am just getting some Play Services error, likely need to reinstall gapps, but phone boots just fine!

Xiaomi Mi 9t wont load any custom rom or restore backup

hey guys just looking for some help. ive been modding and flashing phones from 2014, but its always gone really smoothly, so my diagnostic ability is lacking.
it started with flashing twrp. my bootloader is unlocked, usb debugging on, device is showing in adb and fastboot, and i can flash twrp without any issues. hoowever when i go to boot twrp, only the stock recovery boots. i tried to flash twrp using the XiaoMiTool v2, but the same thing happened. i eventually got around this by just booting twrp instead of trying to flash it. so i got in, took a full back-up and started installing a custom rom.
the first one i tried was ParanoidAndroid Quartz. i wiped cache, dalvik and storage then transferred it to my phone, tried to flash and got "zip verification failed". so i turn off zip verification and tried again. it flashed perfectly with zero errors. however, when i reboot the phone it would only boot to stock recovery and not twrp (expected) or the new rom. i tried that a few times, then tried LineageOS, and MSM Xtended 10. all of them had the same issue, the flashed without a hitch, then wouldnt boot.
i also tried flashing a new fw-vendor and it just straight up failed. Then i decided to cut my losses and restore my twrp backup, and that came back with the error, "extractTarFork() process ended with error: 255"
Software before i began these attempts was completely stock, so i dont know what is going wrong, but as of now, my phone is bricked, i cant install a new rom or restore my back-up.
any help is appreciated guys. thanks
You can figure out this problem with
1 Copy backup folder to computer
2- Format Data - Yes , Wipe Everything
3- Install ROM that you have installed before and boot
4- Go to TWRP, format data yes reboot recovery
5- Paste backup folder to internal storage and restore

Categories

Resources