• After 15+ years, we've made a big change: Android Forums is now Early Bird Club. Learn more here.

Root Need ADB Help - Problems with format SYSTEM: commands

UBRocked

VZW Nexus Please!!!
Hey can anyone help here? Someone asked for my help and I have reached my ADB knowledge limit and don't want to leave him/her hanging (Some names have been changed to protect the innocent :) )

Any help, I'm sure, would be appreciated!

Some_Person said:
UBRocked said:
Some_Person said:
UBRocked said:
Some_Person said:
- Boot phone into recovery:
- With ADB, type the following in your computer:

Code:
adb shell
# format DATA:
# format CACHE:
# format SYSTEM:
The data and cache you do all the time I'm sure...but most people don't ever format their system. This is where you are writing all of your system files to and if your switching from ROM to ROM...you are leaving fragments and possibly other files behind. Like I said...I have had less of these problems performing this EVERY time I restore a new backup or ROM...If you want to keep data but you are moving to a new ROM...just format the system and cache.



im trying to do this now and im getting

format_root_device: cant resolve "data" and the same for system and cache

What recovery are you using? You can only do this inside SPRecovery. Clockwork Recovery does not allow these commands and that was an issue for me...but they have updated it and now you can format SYSTEM in Clockwork via menu option (no code needed).

I'm guessing that you are using Clockwork Recovery or you have not booted into SPRecovery when you try this.

Does that help?

I am using sprecovery and had it booted to that when runiing the commands


1) What version are you using? I have the most current version of SPRecovery...99.3b and I never tried these commands with 99.2b...it may not have been available with older builds.

*I'm not trying to insult you here with the questions below, but I don't know your level of adb knowledge* :)


2) You are not typing the # are you? That is just designed to be a place holder...I don't think that would give you the same error though...

3) I always make sure I'm at my adb.exe directory when I do anything adb related. In command prompt you MAY (don't know for sure) need to change directory to get to where your SDK tools folder is.

I have to type the following to get to mine but yours may be different based on what you named your SDK folders:

cd/

cd android/tools

I'm sorry if this is a pain...but I haven't heard of issues with this (I don't know how many people actually format system...I didn't for a long time until I read about it on a forum somewhere).

im using 99.3b and i do exactly what you said i dont type # and i navigate to the tools folder with those commands
 
Just had another though...Did you capitalize SYSTEM, DATA, and CACHE like I have in my post...If you don't use proper capitalization here...it won't work (the colon is required as well).
 
Okay, the person that asked the original question responded to me via PM and said that they don't know if they used caps or not. That definitely would cause the problem but they are heading to bed...where I should be :) . They will try in the AM...well later in the AM...Haha!

I'm sorry if people think this post is irrelevant but I think the information should be sticked. Since I have been formatting my SYSTEM partition before restoring to a new rom...I have had a lot less of FC's, freezes, etc. I think that cleaning out some of the unused files might help a lot of the problems I see on here. Just my .02 cents as always :)

If you have any other thoughts on this, please post it...more info can't hurt!
 
hey i tried it and it seemed to have worked..those damn caps lol...im restoring a nandroid backup to get through the night and i will start from scratch tomorrow..will let you know how it goes thanks again for posting this for me and thanks for your help
 
The identity has been revealed!

lol

Yeah, I didn't ask if I could post the PM before I did...it was REALLY late so I removed the screen name...just in case. I'd be pissed if someone just posted a PM with my name all over it without asking.

I do think that people should have easy access to this information (formatting SYSTEM...in all caps :) ) Really helped me out a ton when bouncing from different ROM's. Can you help with that (or see the merit in "stickying" a quick how to...I'll write it up.)?
 
I don't seem to have the format command on either my Nook Color or EVO. Has this changed in later releases of Android? Both my devices are on Froyo.

I seem to have corrupted emmc and even CWM cannot format it. I wanted to try the adb shell command. But not go.....
 
Back
Top Bottom