[Q] wiping system - myTouch 4G Q&A, Help & Troubleshooting

Hey pros. I want to check before I do this. When I was still using my G1 the typical command used to ensure a full system wipe was "fastboot erase system -w". Is that command going to do the same thing for my glacier? Just wanna be sure... thanks n advance.

Related

[Q] Stuck on Booting Primary Kernel

Ok thanks a head of time my tab is stuck on booting primary image kernel it had flex rom 4.0.4 and skrilaz cz v8 boot loader and when I search I don't find anything that really helps me . I had bricked it trying to figure it out but got it back to the stuck in boot loader stage my tab it can go to apx mode and I can use the recovery and it charges and I have tried 3 ICS roms and i'm still on the screen .
MODFAST said:
Ok thanks a head of time my tab is stuck on booting primary image kernel it had flex rom 4.0.4 and skrilaz cz v8 boot loader and when I search I don't find anything that really helps me . I had bricked it trying to figure it out but got it back to the stuck in boot loader stage my tab it can go to apx mode and I can use the recovery and it charges and I have tried 3 ICS roms and i'm still on the screen .
Click to expand...
Click to collapse
Make sure you are running the most recent CWM (1.7.2 or 1.7.3)
Boot to recovery, and this time, do all your wipes
Wipes Menu
a. wipe Data/factory reset
b. wipe cache
c. wipe Dalvik
Go to Mounts and storage
a. Format system
b. Format Flexrom
Install rom, and make sure it's a rom with an ICS kernel.
As a last chance if the above normal things don;t work,
you may have corrupted data somewhere, and in this case, go to Backup and Restore and toggle Data Media. NOTE: This will wipe your tab clean of fotos, music, etc. Everything.
Then do your wipes and formats.
MD
Moscow Desire said:
Make sure you are running the most recent CWM (1.7.2 or 1.7.3)
Boot to recovery, and this time, do all your wipes
Wipes Menu
a. wipe Data/factory reset
b. wipe cache
c. wipe Dalvik
Go to Mounts and storage
a. Format system
b. Format Flexrom
Install rom, and make sure it's a rom with an ICS kernel.
As a last chance if the above normal things don;t work,
you may have corrupted data somewhere, and in this case, go to Backup and Restore and toggle Data Media. NOTE: This will wipe your tab clean of fotos, music, etc. Everything.
Then do your wipes and formats.
MD
Click to expand...
Click to collapse
I have tried the suggested and I'm still on boot loader.
ROMS I used
FLEXREAPER-ReliX-GT_Rev1 ANDROID 4.0.3
RE-FLEXxx-ShellSHOCKRev1.1
Acer_AV041_A500_1.054.00_WW_GEN1-DEODEXED-FULLROOT
Also on CWM1.7.3 latest
Wiped everything twice and didn't see any change so should I try a stock Rom and just revert to non root ?
You can also wipe userdata from fastboot: "fastboot erase userdata". You may try using adb after a while and do logcat, from where you can see what's the issue.
Skrilax_CZ said:
You can also wipe userdata from fastboot: "fastboot erase userdata". You may try using adb after a while and do logcat, from where you can see what's the issue.
Click to expand...
Click to collapse
OK I can't seem to get my tab on fastboot mode and I haven't used adb to get a logcat so is there a thread that talks bout how to do that.
MODFAST said:
OK I can't seem to get my tab on fastboot mode and I haven't used adb to get a logcat so is there a thread that talks bout how to do that.
Click to expand...
Click to collapse
I'd try flashing the bl again, sounds strange u can't get to fastboot mode??
Sent from my GT-I9300 using Tapatalk 2
dibb_nz said:
I'd try flashing the bl again, sounds strange u can't get to fastboot mode??
Sent from my GT-I9300 using Tapatalk 2
Click to expand...
Click to collapse
I must have messed up but now I have gotten on fastboot mode but don't see the setting to erase userdata
you type in command from PC.
open cmd prompt from where u have fastboot.exe
type: fastboot devices
u should see a ?
then type: fastboot erase userdata
it should then tell u userdata erased.
u can also flash recovery.img with fastboot and get yr cpuid....very useful
Sent from my GT-I9300 using Tapatalk 2
dibb_nz said:
you type in command from PC.
open cmd prompt from where u have fastboot.exe
type: fastboot devices
u should see a ?
then type: fastboot erase userdata
it should then tell u userdata erased.
u can also flash recovery.img with fastboot and get yr cpuid....very useful
Sent from my GT-I9300 using Tapatalk 2
Click to expand...
Click to collapse
Okay I don't have fastboot.exe file where do I download that at ? I tried to find my device with cmd and looked for fastboot.exe and looked it up and only file I do have is fastboot from my root 3.2.1 folder.Thank for all the help
Sent my laptop [/QUOTE]
MODFAST said:
Okay I don't have fastboot.exe file where do I download that at ? I tried to find my device with cmd and looked for fastboot.exe and looked it up and only file I do have is fastboot from my root 3.2.1 folder.Thank for all the help
Sent my laptop
Click to expand...
Click to collapse
You have to have the Android SDK installed on your PC.
Then you will find it in Program Files (or Program Files (x86))/Android/Android-SDK/Platform-Tools/ There you will find fastboot.exe
MD
Moscow Desire said:
You have to have the Android SDK installed on your PC.
Then you will find it in Program Files (or Program Files (x86))/Android/Android-SDK/Platform-Tools/ There you will find fastboot.exe
MD
Click to expand...
Click to collapse
Okay I downloaded the SDK and got the fastboot.exe and downloaded the adb file to get it to run but, when I got to cmd I don't understand why it keeps say can't find pacific file or external command ..ect .I have my acer in fastboot mode and its reconized as a fastboot device on my laptop.
MODFAST said:
Okay I downloaded the SDK and got the fastboot.exe and downloaded the adb file to get it to run but, when I got to cmd I don't understand why it keeps say can't find pacific file or external command ..ect .I have my acer in fastboot mode and its reconized as a fastboot device on my laptop.
Click to expand...
Click to collapse
You probably got "java' is not recognized as an internal or external command."
You still need to install the Java dev kit. Go to Oracle, and get the Java Jdk7 and install it. (remember, android uses Java)
http://www.oracle.com/technetwork/java/javase/downloads/index.html
Then, after install, view this video to set the PATH, then do the same for CLASSPATH
http://www.youtube.com/watch?v=D13ZSPA1Ff0
You won't get that error anymore.
MD
Moscow Desire said:
You probably got "java' is not recognized as an internal or external command."
You still need to install the Java dev kit. Go to Oracle, and get the Java Jdk7 and install it. (remember, android uses Java)
http://www.oracle.com/technetwork/java/javase/downloads/index.html
Then, after install, view this video to set the PATH, then do the same for CLASSPATH
http://www.youtube.com/watch?v=D13ZSPA1Ff0
You won't get that error anymore.
MD
Click to expand...
Click to collapse
Okay I downloaded the java 7 and followed the process but still got errors so i went to sdk folder and did it over
I went by this video and it worked "http://www.youtube.com/watch?v=oaNM-lt_aHw"
After I got commands to work i typed fastboot erase userdata and i got on my tab "erasing uda partition then it said Done.
I used the cmd to reboot table to recovery and download a new ics rom.
It didnt work it went back to its ussal stuck on v8bootloader self. What do I do now ?
I'm in the exact same position right now. On ICS v8 bootloader, flashed latest re-flexxx rom, tablet was sluggish. Turned it off in order to restart it. Upon restart tablet froze @ "booting primary kernel." I tried everything I could as far as doing things in CWM (flashing different roms, none would get past booting primary kernel | tablet won't go into APX Mode) Tried flashing TWRP via CWM, now I can't even boot the recovery kernel.
Booted into fastboot, erased userdate. Sent fastboot flash recovery recovery.img (CWM). Said flashed SOS Partition successfully on tablet. Tried rebooting into recovery, same thing; freezes at booting primary kernel. I'm pretty sure this is the end of my A500 lol.

[Q] Taking forever to boot after flashing factory images

Hi, I have a 8GB Nexus 4 I have just flashed the factory images onto it to do a factory reset and it seems to be bootlooping
Anyone else done this know how long it should take? Didn't take long on the Galaxy Nexus to bootup after flashing factory images
Reboot into recovery and factory reset and wipe cache.
Sent from my Nexus 7 using xda premium
El Daddy said:
Reboot into recovery and factory reset and wipe cache.
Sent from my Nexus 7 using xda premium
Click to expand...
Click to collapse
Ok, so get into fastboot using the hardware keys flash a custom recovery factory reset and wipe cache?
Will give it a try, thanks
Nope don't flash a custom recovery. Boot into the bootloader. Scroll to recovery using the volume buttons and press power to enter.
When you are there press volume up and power to open the menu. Then wipe cache and reset.
Sent from my Nexus 4
El Daddy said:
Nope don't flash a custom recovery. Boot into the bootloader. Scroll to recovery using the volume buttons and press power to enter.
When you are there press volume up and power to open the menu. Then wipe cache and reset.
Sent from my Nexus 4
Click to expand...
Click to collapse
Ok that did it \o/ \o/ \o/ \o/ \o/ \o/ \o/ \o/ \o/
Thank you
No problem. Not really sure why that is needed. It must be a bug with the bootloader not wiping data and cache correctly.
Sent from my Nexus 7 using xda premium
People should really learn fastboot commands. it really helps especially times like these.
I completely wipe my phone using fastboot only then using the format command on each partition. the phone will then wipe itself after a reboot. after flashing new images of course. not saying you ^^ just saying for people in general who don't know any of them
daddioj said:
People should really learn fastboot commands. it really helps especially times like these.
I completely wipe my phone using fastboot only then using the format command on each partition. the phone will then wipe itself after a reboot. after flashing new images of course. not saying you ^^ just saying for people in general who don't know any of them
Click to expand...
Click to collapse
The problem is for some reason the fastboot erase command and -w sometimes isn't formating userdata properly and causing bootloops.
There have been a lot of reports. Check efrants return to stock sticky.
Sent from my Nexus 7 using xda premium
hmm its been working well for me
I'll do it all manually
I think the erase command actually kills the partition. and the format command will ready the area for data. correct me if I am wrong?
but i'll use the "erase" command first for all partitions. then i'll format them
fastboot format system
fastboot format cache
fastboot format userdata
then i'll go ahead and flash all the image files. then once I reboot the phone actually does a factory reset on its own.
but I know what you mean. I read that as well. but this method ^^^ has been working for me.
daddioj said:
hmm its been working well for me
I'll do it all manually
I think the erase command actually kills the partition. and the format command will ready the area for data. correct me if I am wrong?
but i'll use the "erase" command first for all partitions. then i'll format them
fastboot format system
fastboot format cache
fastboot format userdata
then i'll go ahead and flash all the image files. then once I reboot the phone actually does a factory reset on its own.
but I know what you mean. I read that as well. but this method ^^^ has been working for me.
Click to expand...
Click to collapse
You're probably right.
I'm pretty sure with "fastboot flash userdata" it will rebuild the partition properly.
But possibly the reason people are running into issues is when using the command "fastboot erase cache" This was never a problem with the galaxy nexus but for some reason it might be for the N4.
Others have claimed bootloops when using "fastboot -w update" which shouldn't be happening. That makes me think its a bootloader bug.
Sent from my Nexus 7 using xda premium
daddioj said:
hmm its been working well for me
I'll do it all manually
I think the erase command actually kills the partition. and the format command will ready the area for data. correct me if I am wrong?
but i'll use the "erase" command first for all partitions. then i'll format them
fastboot format system
fastboot format cache
fastboot format userdata
then i'll go ahead and flash all the image files. then once I reboot the phone actually does a factory reset on its own.
but I know what you mean. I read that as well. but this method ^^^ has been working for me.
Click to expand...
Click to collapse
El Daddy said:
You're probably right.
I'm pretty sure with "fastboot flash userdata" it will rebuild the partition properly.
But possibly the reason people are running into issues is when using the command "fastboot erase cache" This was never a problem with the galaxy nexus but for some reason it might be for the N4.
Others have claimed bootloops when using "fastboot -w update" which shouldn't be happening. That makes me think its a bootloader bug.
Click to expand...
Click to collapse
Thanks both for this, but bookmarked the thread now in case it happens again. I know better now

[Q] phone not booting!

So I was following all the steps from this thread: http://forum.xda-developers.com/showthread.php?t=2010312
and I did flash the stock 4.2 img. Now, after unlocking the boot loader, i didnt exit the fastboot mode and stayed in. And continued the steps of section D (all of it). Then I did a fastboot reboot , and Google appeared and below it unlocked lock and then the jellybean logo. It's been almost 20 min and it hasn't passed that screen yet. The rainbow colour X.
What do I do to fix this?? I can go back to fastboot mode, but not sure what to do. I did the fastboot erase cache before rebooting my phone!
Look at the notes of section D.
You have to reboot into recovery, clear cache and factory reset.
Sent from my Nexus 4
El Daddy said:
Look at the notes of section D.
You have to reboot into recovery, clear cache and factory reset.
Sent from my Nexus 4
Click to expand...
Click to collapse
I did this though: 13) Erase the cache partition: fastboot erase cache
14) Reboot: fastboot reboot
Okay, and I will try to do that now.
El Daddy said:
Look at the notes of section D.
You have to reboot into recovery, clear cache and factory reset.
Sent from my Nexus 4
Click to expand...
Click to collapse
I booted myself into recovery via fastboot and it shows android laying down with a red triangle and inside that its " ! "
What now?
Press volume up and power at the same time. It will open the menu.
Sent from my Nexus 4
LimitsX said:
I booted myself into recovery via fastboot and it shows android laying down with a red triangle and inside that its " ! "
What now?
Click to expand...
Click to collapse
Flash it again using fastboot and the official Google image. Recent nexus devices are strange, i never had problems before but softbricked both nex4 and 7 just like that. If you can enter fastboot mode all is well though.
Ps. That tutorial, that was the longest one I've seen in my life. Are you aware that Google images contain clickme.bat files? You literally click it and it's done. Just make sure you have fastboot and adb installed. You can extract them from nexus toolkit as well.
If you do wanna make it by hand, also no problem. Download the image from here:https://developers.google.com/android/nexus/images
And type:
fastboot flash bootloader bootloader-maguro-primekk15.img
fastboot reboot-bootloader
fastboot flash radio radio-maguro-i9250xxkk6.img
fastboot reboot-bootloader
fastboot -w update image-yakju-icl53f.zip
Exchange the correct names of course. And make sure you're in fast boot mode.
El Daddy said:
Press volume up and power at the same time. It will open the menu.
Sent from my Nexus 4
Click to expand...
Click to collapse
Do I do that on that screen? I did, and it went into completely black screen.
molesarecoming said:
Ps. That tutorial, that was the longest one I've seen in my life. Are you aware that Google images contain clickme.bat files? You literally click it and it's done. Just make sure you have fastboot and adb installed. You can extract them from nexus toolkit as well.
If you do wanna make it by hand, also no problem. Download the image from here:https://developers.google.com/android/nexus/images
And type:
fastboot flash bootloader bootloader-maguro-primekk15.img
fastboot reboot-bootloader
fastboot flash radio radio-maguro-i9250xxkk6.img
fastboot reboot-bootloader
fastboot -w update image-yakju-icl53f.zip
Exchange the correct names of course. And make sure you're in fast boot mode.
Click to expand...
Click to collapse
Okay, im gonna go and do that! Thanks!
I was trying to mount the sdcard with nexus 4 but it wont do that with CWM and TWRP.
okay I think I just lost access to everything on my phone :|. I am still on TWRP, is there anything I can do with that?
I accidentally wiped the system files ugh. So I lost bootloader which means my phone is empty and useless and im still active on TWRP.
This is what I did in TWRP:
went to WIPE menu and did the following:
1)Wipe Cache
2)Dalvik Cache
3)Factory Reset
4)Wipe System
5)Wipe External storage ( didn't work - failed)
6)Wipe Internal storage (deleted)
So I have a boot loader still ?? or is that gone too? I am still active in TWRP. What are my options to fix this mess I've gotten myself into =\.
molesarecoming said:
Ps. That tutorial, that was the longest one I've seen in my life. Are you aware that Google images contain clickme.bat files? You literally click it and it's done. Just make sure you have fastboot and adb installed. You can extract them from nexus toolkit as well.
If you do wanna make it by hand, also no problem. Download the image from here:https://developers.google.com/android/nexus/images
And type:
fastboot flash bootloader bootloader-maguro-primekk15.img
fastboot reboot-bootloader
fastboot flash radio radio-maguro-i9250xxkk6.img
fastboot reboot-bootloader
fastboot -w update image-yakju-icl53f.zip
Exchange the correct names of course. And make sure you're in fast boot mode.
Click to expand...
Click to collapse
Yeah the thread is verbose, but its more of a tutorial than a "fix my fone nao!!!" Thread.
Efrant wrote it like that so users understand what they are doing.
Sent from my Nexus 4
so basically I have a dead phone?! =\. Anyone..help or point me in the right direction?
Nevermind. I figured it out and fixed it :victory: !!
El Daddy said:
Yeah the thread is verbose, but its more of a tutorial than a "fix my fone nao!!!" Thread.
Efrant wrote it like that so users understand what they are doing.
Sent from my Nexus 4
Click to expand...
Click to collapse
sure, didnt want to apply its not good or anything. its nice to know that google gives you some sort of emergency option, i've used it countless of times.
LimitsX said:
okay I think I just lost access to everything on my phone :|. I am still on TWRP, is there anything I can do with that?
I accidentally wiped the system files ugh. So I lost bootloader which means my phone is empty and useless and im still active on TWRP.
This is what I did in TWRP:
went to WIPE menu and did the following:
1)Wipe Cache
2)Dalvik Cache
3)Factory Reset
4)Wipe System
5)Wipe External storage ( didn't work - failed)
6)Wipe Internal storage (deleted)
So I have a boot loader still ?? or is that gone too? I am still active in TWRP. What are my options to fix this mess I've gotten myself into =\.
Click to expand...
Click to collapse
for the next time, you better learn what all this stuff is and means which you are flashing. i cant help but thinking its dangerous what you're doing there. if you are in twrp you're free to install any rom, your phone is pretty much safe if you can access it. wiping system wont kill your bootloader, system is a partition, your rom gets installed in there. you can wipe it, most roms even do it by default in the installation script. if your bootloader is gone you'll know.

[HELP] Brocken Screen - How to backup data on PC

Hello,
First I apologize for the bad English
I have a problem with my Nexus 4. I broke the display.
I'm trying to download information that I have on the phone - pictures, music and other documents.
At the beginning of the situation:
1. Phone is locked with a pattern when I broke the display. I tried a screencast, but when I install the Android-SDK folder does not appear on C: \ Program Files \ Android. I tried on other two computers to install to be able to run through screencast phone.
2. I Downloaded Ncry Toolkit and it scored phone in fastboot mod, and from there install CMW to be able to sign in at the ADB mode.
I tried to format the phone and start to read it as mass storage, but also did not work. Phone launched with the Android tutorial in which I can not go Because a display does not work.
Please, for ideas on how I could remove the information from my phone....
somebody help...
Format
I suggest you Wug's one. enter in your phone with adb shell, then you'll be able to rm -rf /data/.
Anyway, the target is to perform these commands from your computer, having your phone in fastboot mode :
fastboot erase system
fastboot erase userdata
fastboot erase boot
fastboot erase recovery
fastboot erase cache
evgeni.lalov said:
Hello,
First I apologize for the bad English
I have a problem with my Nexus 4. I broke the display.
I'm trying to download information that I have on the phone - pictures, music and other documents.
At the beginning of the situation:
1. Phone is locked with a pattern when I broke the display. I tried a screencast, but when I install the Android-SDK folder does not appear on C: \ Program Files \ Android. I tried on other two computers to install to be able to run through screencast phone.
2. I Downloaded Ncry Toolkit and it scored phone in fastboot mod, and from there install CMW to be able to sign in at the ADB mode.
I tried to format the phone and start to read it as mass storage, but also did not work. Phone launched with the Android tutorial in which I can not go Because a display does not work.
Please, for ideas on how I could remove the information from my phone....
Click to expand...
Click to collapse
Get it into bootloader , get a shell , backup every partition using basic linux commands , clean up , order a new screen , install it.
Sent from my Nexus 4 using XDA Premium 4 mobile app
boltthrower56 said:
Get it into bootloader , get a shell , backup every partition using basic linux commands , clean up , order a new screen , install it.
Sent from my Nexus 4 using XDA Premium 4 mobile app
Click to expand...
Click to collapse
CWM recovery, not bootloader. I don't think fastboot lets you mount /data and pull files.
Sent from my Nexus 4 using xda app-developers app
While you're in the recovery screen, use these commands to backup your data:
http://forum.xda-developers.com/showpost.php?p=45428716&postcount=3
benbugohit said:
I suggest you Wug's one. enter in your phone with adb shell, then you'll be able to rm -rf /data/.
Anyway, the target is to perform these commands from your computer, having your phone in fastboot mode :
fastboot erase system
fastboot erase userdata
fastboot erase boot
fastboot erase recovery
fastboot erase cache
Click to expand...
Click to collapse
He's trying to back up his data, not wipe out the phone, don't listen to this ahole.
I was answering to the perhaps misunderstood last sentence which was "how can i erase information".
Si keep your hole on your chair and your anger in too.
And my instructions were clear enough for him to know what each of these fastboot erase would effectively erase.
You're assuming he's a dumb ox to follow blindly m'y instructions.
His asking was confusing too.
Xda is for devs and android guiding, not insulting people freely from your leather chair. Hav a walk, or a break ... Have a kitkat
Sent from my Nexus 4 using xda app-developers app

Factory reset with fastboot or adb?

What command can I use in fastboot or adb to factory reset my nexus 7? Digitizer cracked and touch no longer works, I have someone that wants it for parts but want to reset it before I give it to him.....
Code:
fastboot erase data
should remove all data. If you want to be sure that also all caches are cleaned up, apply
Code:
fastboot erase cache
too.
"fastboot erase data" is not allowed on my phone. a workaround could be:
Code:
fastboot boot /path/to/file/on/pc/twrp.img
adb shell
wipe data
wipe cache
for more details see https://twrp.me/faq/openrecoveryscript.html and https://android.stackexchange.com/questions/201212/how-can-i-reboot-into-recovery-from-fastboot
but this somehow does not work on my phone. It either does not boot twrp or twrp does not enable ADB. I don't know because the display is broken.
any other way?
fastboot -w
this command delete data and cache.
JPT223 said:
"fastboot erase data" is not allowed on my phone. a workaround could be:
Code:
fastboot boot /path/to/file/on/pc/twrp.img
adb shell
wipe data
wipe cache
for more details see https://twrp.me/faq/openrecoveryscript.html and https://android.stackexchange.com/questions/201212/how-can-i-reboot-into-recovery-from-fastboot
but this somehow does not work on my phone. It either does not boot twrp or twrp does not enable ADB. I don't know because the display is broken.
any other way?
Click to expand...
Click to collapse
did you find anything??
Well. My screen wasn't broken. I was able to reboot it using ADB. I don't remember about the factory reset....
and it is actually possible to reboot the phone by pressing the power button for almost an eternity.
kaber420 said:
fastboot -w
this command delete data and cache.
Click to expand...
Click to collapse
That worked nicely for me and erased both, whereas fastboot erase data was not allowed permission on my device. Thanks.
kaber420 said:
fastboot -w
this command delete data and cache.
Click to expand...
Click to collapse
how can I fix this error "CreateProcess failed: the system cannot find the file specified"
I did fastboot -w but now device doesn't apper in file explorer from pc in recovery. I think I should flash the data partition but i don't know how, xiaomi mi 9t
I was able to wipe data on an old tablet I forgot the code to using
Code:
fastboot oem unlock-go
Just in case this helps someone else.

Categories

Resources