Hey guys,
I flashed to the 5.01H dream build, didn't like it, and tried a nandroid recovery back to the latest JFW.
Now I'm getting the hanging G1. I've tried wiping but it still hangs. My SD card no longer has update.zip, because I deleted it upon sucessful launch of the 5.01H. I don't have a microSD card reader and was wondering how I can mount the sd card to usb from the recovery console, which I can get to.
I'm tried searching around but can't find a clear answer, and my linux knowledge is basically nill.
Thanks for your help!
plug your phone in..
using fastboot type the following
1. fastboot erase system -w
2. fastboot erase boot
after this... use your nandroid images and do this:
1. fastboot flash system system.img
2. fastboot flash boot boot.img
3. fastboot flash userdata userdata.img
4. fastboot reboot
I feel like a total idiot. I just realized that I did not flash the boot and userdata images when I did my nandroid restore.
Thank you, you're a lifesaver!
P.S. The 3rd step actually was fastboot flash userdata data.img
glad that helped! yeah you are right....data.img..
Related
Hi guys please don't get mad but i need the original voda uk rom for my android/Magic. a few issues have come to light that needs checking so i need to flash back voda uk rom to have it done. someone has already asked this and all the image files were provided but as single files. see here
http://onlinenovabg.com/voda_rom/
can anyone advise me if these just need zipping up and installing or do i need someone to sign it first............ if someone could kindly put the updatye.zip together for me i would be eternally grateful. i have pm the guy who originally requested this but no reply so had to ask the masses. please help and thanks in advance for your help!
Try this
get into bootloader mode by pressing VOL DOWN + POWER button while turning on the phone. Connect it to PC, it should say FASTBOOT on the screen Put your backed up img files in the same folder as fastboot, then open command-prompt and do
fastboot flash system system.img
fastboot flash userdata data.img
fastboot flash boot boot.img
You'll need fastboot utility to do this and android sdk
mitac112 said:
Try this
get into bootloader mode by pressing VOL DOWN + POWER button while turning on the phone. Connect it to PC, it should say FASTBOOT on the screen Put your backed up img files in the same folder as fastboot, then open command-prompt and do
fastboot flash system system.img
fastboot flash userdata data.img
fastboot flash boot boot.img
You'll need fastboot utility to do this and android sdk
Click to expand...
Click to collapse
no joy and nandroid back up only works if you backed up original before flashing............doesn't even work sometimes. i asked the guy you helped prev how he flashed it but no joy
Just go into fastboot mode (back + power)
Put system.img, boot.img and recovery.img in the tools folder of the android sdk
Open command prompt to the tools folder eg c:\android\tools
fastboot erase system -w
fastboot erase boot
fastboot flash system system.img
fastboot flash boot boot.img
fastboot flash recovery recovery.img
fastboot reboot
voila back to (unrooted) stock voda rom
Cant you simply use nandroid recovery to load them into your phone. Make a backup with nandroid system recovery, connect your phone to usb and replace the files in the "nandroid>Device ID"xxxxxxx">date" with the boot.img, cache.img etc.. then reboot phone in fastboot and do nandroid recovery. I'm not sure if this will work since i have not tried it, but i'm assuming it should as that's the folder i backed up on my PC when i used nandroid backup.
rumon said:
Cant you simply use nandroid recovery to load them into your phone. Make a backup with nandroid system recovery, connect your phone to usb and replace the files in the "nandroid>Device ID"xxxxxxx">date" with the boot.img, cache.img etc.. then reboot phone in fastboot and do nandroid recovery. I'm not sure if this will work since i have not tried it, but i'm assuming it should as that's the folder i backed up on my PC when i used nandroid backup.
Click to expand...
Click to collapse
its ok as Hakuryo rooted rom is actually voda original! i downloaded from the wiki and aye presto. thanks anyway!
I was using a CM9 Nightlies. My company requires us to encrypt our phone.
Now that I was trying to update my phone to the latest version of CM9, I found I couldn't mount /sdcard in CWM recovery...
Is there anyway either to de-encrypt the phone without full-wipe or mount encrypted /sdcard in CWM?
By encrypting your phone you are unable to mount /sdcard currently(stock recovery can flash through it) and the only way you could do it is a full wipe or mounting a "fake" sdcard(idk how to, sorry)
So in short, you pretty much need to full wipe to update
Sent from my ice cream powered Nexus S
I'm running CWM with AOKP and recently encrypted for work policies and now that I want to upgrade and flash a new ROM it is stating that the sd card is unable to be mounted, even after a full wipe in CWM. What is needed? I don't mind wiping but would rather not lose what was on my sd card (titanium backups, etc)
Thanks in advance!
You need to do it within android. Did you do a cwm backup before wiping?
yes, I have a nandroid but it will not restore due to the inability to mount sd storage. Actually it can't even load the option to restore from a nandroid.
Good, now let's hope that actually helps. Unsure if anyone else has tried, but maybe it'll let you flash a new ROM and decrypt it through there. Worst case scenario you end up in the same position as now and you'll have to do an sd wipe, unless someone else knows different. As on the Nexus S the sdcard is seperate to the /data partition (unlike the GN), it flashing a fastboot image shouldn't erase it.
Try to flash a ROM via fastboot images which you can find here. Select your phone and choose an ICS fastboot image (not full ROM, update, etc - must be fastboot). You'll want to download the appropriate image and store it on your computer, then extract the archive until you end up with several files and another archive. You want to have boot.img, system.img and userdata.img ready. Use the following commands in fastboot mode:
fastboot flash boot boot.img
fastboot flash system system.img
[try to boot - if fails, continue]
fastboot flash data userdata.img
The last one should be correct, but maybe it is userdata. Havn't actually tried that one myself - it may not even be necessary (try booting it without this first, if it doesn't work you may need to do this). You can also use the fastboot -w update method but i wouldn't recommend it this time just so we know exactly what is being flashed. After this, boot into android and hope it asks you for decryption information.
edit: also, if those commands don't work, you'll need to flash the contained radio.img and recovery.img files too. It might be picky.
Thanks for the advice. If I flash the stock image via fastboot it sounds like I will lose root and custom recovery since it flashes the bootloader, correct? Will this also wipe my sd card?
If so I may just try to format my sd card in Android so that will be all that I lose versus having to reroot and install CWM again.
Thanks again for your time and info. Very helpful.
*Thanked*
katmandu421 said:
Thanks for the advice. If I flash the stock image via fastboot it sounds like I will lose root and custom recovery since it flashes the bootloader, correct? Will this also wipe my sd card?
If so I may just try to format my sd card in Android so that will be all that I lose versus having to reroot and install CWM again.
Thanks again for your time and info. Very helpful.
*Thanked*
Click to expand...
Click to collapse
You will lose all you data, it will be as if you just bought it, your SD card is NOT wiped
You will only lose recovery as a result of the stock rom script
Oh and you only have to flash boot.img, system.img and userdata.img
Sent from my ice cream powered Nexus S
Thanks guys. Got it flashed to stock and booted (had to use fastboot flash userdata userdata.img, btw) but I did not get any prompt to enter encryption password, and I now have no usb storage showing. I don't even get the "unmounted" icon like I had before. Not sure whats going on.
Any thoughts?
EDIT: I even tried all of these commands as well after I read somewhere it is the bootloader preventing the encrypted sd card from being read
fastboot flash bootloader bootloader.img
fastboot reboot-bootloader
fastboot flash radio radio.img
fastboot reboot-bootloader
fastboot flash recovery recovery.img
fastboot flash boot boot.img
fastboot flash system system.img
fastboot flash userdata userdata.img
fastboot erase cache
Still unable to mount sd card. Man this sucks. Can't use my camera and many apps are kinda hosed without sd card support.
EDIT 2: I tried going into recovery just to see what was there (power on + volume up, then selecting "Recovery" and I got the android with the exclamation point. I guess that means there is no custom recovery anymore which is good but I thought there was a white screen that went into checking for update.zips automatically when you select the stock recovery.
MuthaF$%er...
I just got a pop up stating that the sd card was in an unsupported format and that I should reformat it. I did and all looks good now, but am unrooted and no recovery...dammit.
Guess I should've done that the other day before going through all the fast boot steps. Lost my data either way. Oh well, most was in the cloud anyways.
Thanks again for all the help. Now I know how to use fastboot at least
Phone: Moto X / KitKat 4.4
Carrier: AT&T (XT1058)
Problem: Mysteriously stopped booting.
Good News: Fastboot is recognized.
Bad News: (bootloader) Flash write failure
Taking this guide as my playbook - http://forum.xda-developers.com/moto-x/moto-x-qa/kitkat-update-crashed-moto-x-t2535150 I tried to flash on a stock OS. Here's the main spot from the thread I'm working from-
-- Solution #2 - Medium --
1) Download the stock SBF firmware for your pre-KitKat ROM (sbf.droid-developers.org)
2) Unzip the ROM and copy the files to your fastboot directory
3) Go into Fastboot mode (power button and vol. down) and type in:
fastboot erase cache
fastboot erase customize
fastboot erase clogo
fastboot flash partition gpt.bin
fastboot flash system system.img
fastboot flash recovery recovery.img
fastboot flash boot boot.img
Click to expand...
Click to collapse
The mission objective is simple: retrieve files off of sdcard and factory reset.
So with my mfastboot (not the android one), I'm trying to flash my stock OS back on so I can get a drive in windows and retrieve sdcard files. Actually, ANY OS back on at this stage of the game will be nice.
Things I have NOT done:
1. rooted the phone, or
2. unlocked the boot loader
If doing these will help, let me know.
So I get my download from sbf.droid-developers.org for 4.4.2 & ATT carrier and unpack the files.
flashing for 'partition' in gpt.bin actually works (yay), but I get the above error ("Flash write failure") for system.img and recovery.img
uh-oh
It seems others with this problem changed cables and USB ports, so I tried that. No dice.
Someone said something about permissions, so I started my command window with administrator privileges, also no luck.
Unless, of course, they meant permissions on the phone side of things? Would that actually help?
So at this juncture if my SDCard died I can go for warranty because I never did any unlocking.
However, if the SDCard can be saved, I am willing to void the warranty and unlock. The data on it is valueable to me and yes a lesson I learned here is I should start using dropbox or equivalent service. Noted.
Should I unlock the phone and try mfastboot flash system system.img, or am I already dead?
Factory reset doesn't even work, I get "no valid piv block in sp for system"
I just ran mfastboot erase cache and at the command prompt I get:
(bootloader) Failed to erase partition
FAILED: Remote failure
The phone screen says, 'Failed to erase partition cache'
This doesn't sound good.... Is there anyway can get this thing booted?
Ah, nevermind, it just keeps getting errors flashing everything. Something with the phone itself is seriously wrong.
I've decided to return it. I think my data is lost.
I was using MultiRom v29 with main CM11 last night build and then I copy my main to secondary rom. And flash development CM 12 on my Oneplus One. But when I booted it all data was wiped. First I wiped factory reset (not internal storage) And then flashed cm-12-20141112-UNOFFICIAL-bacon.zip and then gapps , supersu.zip, ak kernel and then flash by fastboot this commands
fastboot flash boot boot.img
fastboot flash system system.img
fastboot flash userdata userdata.img
fastboot flash cache cache.img
fastboot flash persist persist.img
fastboot reboot
I didnt used fastboot -w for wipe. When I booted all data was gone. What should I do now? I tried some PC software to recover but didnt find anything. I lost all my photos and saved games. Now when I connect OPO to PC it show as 55 GB Free . Can anyone help me please? Sorry for my bad english.
GraddySK said:
I was using MultiRom v29 with main CM11 last night build and then I copy my main to secondary rom. And flash development CM 12 on my Oneplus One. But when I booted it all data was wiped. First I wiped factory reset (not internal storage) And then flashed cm-12-20141112-UNOFFICIAL-bacon.zip and then gapps , supersu.zip, ak kernel and then flash by fastboot this commands
fastboot flash boot boot.img
fastboot flash system system.img
fastboot flash userdata userdata.img
fastboot flash cache cache.img
fastboot flash persist persist.img
fastboot reboot
I didnt used fastboot -w for wipe. When I booted all data was gone. What should I do now? I tried some PC software to recover but didnt find anything. I lost all my photos and saved games. Now when I connect OPO to PC it show as 55 GB Free . Can anyone help me please? Sorry for my bad english.
Click to expand...
Click to collapse
I don't think, that you can restore or recover these files, sorry. :/
I posted this on reddit...but didn't get much help...i hope the geniuses at xda can help me
As the title says, the camera app (any camera app) won't work because as you start any of them, it asks to insert the sd card, but this is a 2013 Nexus 5...so it doesn't have an sd card.
I've done a fair amount of research and the only thing that seems to be mentioned is factory reset. I've done that...both through the settings and twrp. The phone has a stock marshmallow rom.
I tried to download any other file and it won't let me download anything becauase the "sd card" is not available. So it's as if the internal sd card isn't mounted? how do I fix this? I don't have a computer nearby to do anything with adb...any help would be GREATLY appreciated...
The amount of storage according to the settings is correct (3gb used of 12 gb..16gb nexus 5)...all app permissions are correct. I've reflashed two different stock firmwares with the exact same result.
Try this:
boot into fastboot;
run this fastboot command: fastboot erase recovery (to erase existing recovery);
run this fastboot command: fastboot flash recovery recovery.img (to flash stock recovery from stock ROM)
run this fastboot command: fastboot erase userdata;
run this fastboot command to flash the usedata img from the stock ROM: fastboot flash userdata userdata.img;
boot into stock recovery and perform a factory wipe/reset and wipe cache;
reboot.
audit13 said:
Try this:
boot into fastboot;
run this fastboot command: fastboot erase recovery (to erase existing recovery);
run this fastboot command: fastboot flash recovery recovery.img (to flash stock recovery from stock ROM)
run this fastboot command: fastboot erase userdata;
run this fastboot command to flash the usedata img from the stock ROM: fastboot flash userdata userdata.img;
boot into stock recovery and perform a factory wipe/reset and wipe cache;
reboot.
Click to expand...
Click to collapse
I'll try that tonight or tomorrow morning. Where do you suggest I download recovery.img (the stock recovery)?
Thanks for the help one way or another.. Hehe
The stock Google images are here: https://developers.google.com/android/nexus/images?hl=en
I assume the phone has an unlocked bootloader since you were able to flash stock ROMs.
What did you do between all being fine and now this problem?
Sent from my Xperia z5 using Tapatalk
Ben36 said:
What did you do between all being fine and now this problem?
Sent from my Xperia z5 using Tapatalk
Click to expand...
Click to collapse
I sold the phone to someone I know. I had a rom (i can't remember which)...so before i sold the phone, i encrypted it, wiped it clean, flashed the stock rom (and radio)....and did a factory reset.
audit13 said:
Try this:
boot into fastboot;
run this fastboot command: fastboot erase recovery (to erase existing recovery);
run this fastboot command: fastboot flash recovery recovery.img (to flash stock recovery from stock ROM)
run this fastboot command: fastboot erase userdata;
run this fastboot command to flash the usedata img from the stock ROM: fastboot flash userdata userdata.img;
boot into stock recovery and perform a factory wipe/reset and wipe cache;
reboot.
Click to expand...
Click to collapse
Thanks! I used the factory images and flashed everything from the compressed archive and it worked..you're a lifesaver. I guess I had to go further and reset everything..but thanks again!