ADB commands for installing 4.2 Factory Image? - Nexus 7 General

Hey Guys, got my nexus 7 32gb today and would like to install the 4.2 factory image, I got the message regarding OTA but I prefer full factory images when flashing devices. Had a scan around and a search but come up with not so much for adb commands to installing factory image, could someone point me in direction of thread that contains them please? Thanks.

Follow the directions in post #4: Back to stock.
http://rootzwiki.com/topic/28544-guide-nexus-7-bootloadersrecoveriesrootback-to-stock/

Related

[Q] Clockworkmod recovery won't stay installed

I just installed the FRG83D update on my Nexus One and rerooted using Rageagainstthecage. Everything's fine, except Clockworkmod recovery is replaced by the stock recovery every time I power down. I can get into Clockworkmod by installing it and booting directly to it, but it only works until I power cycle.
I read the thread about hot installing and permanently installing the recovery on the Evo. I assume there is a similar method for the Nexus, but I haven't been able to find any reference to it. Can someone point it out?
I'm trying to install 2.5.1.4, but the same thing happened with 2.5.1.0.
Thanks!
mobilityguy said:
I just installed the FRG83D update on my Nexus One and rerooted using Rageagainstthecage. Everything's fine, except Clockworkmod recovery is replaced by the stock recovery every time I power down. I can get into Clockworkmod by installing it and booting directly to it, but it only works until I power cycle.
I read the thread about hot installing and permanently installing the recovery on the Evo. I assume there is a similar method for the Nexus, but I haven't been able to find any reference to it. Can someone point it out?
I'm trying to install 2.5.1.4, but the same thing happened with 2.5.1.0.
Thanks!
Click to expand...
Click to collapse
I assume the documentation you used to install your recovery wasn't complete. You have to remove two files from the stock ROM or it automatically reinstalls the stock recovery. You might re-read the instructions, you probably skipped or overlooked that part.
khaytsus said:
I assume the documentation you used to install your recovery wasn't complete. You have to remove two files from the stock ROM or it automatically reinstalls the stock recovery. You might re-read the instructions, you probably skipped or overlooked that part.
Click to expand...
Click to collapse
I do know how to read documentation. Neither the documentation at Cyanogenmod nor at xda-developers mention deleting files to make the recovery installation permanent. ROM Manager, which claims to automate the full process, also doesn't make that change. The Google search I did for "ClockworkMod install recovery permanent nexus" came up with nothing, and when I added either "delete" or "remove" to the search terms after reading your response, I got links to instructions for removing ClockworkMod and returning to stock recovery.
I vaguely remember having to delete some files when I rooted my G1 back in the spring, but not the first time I rooted the Nexus when I installed FRG83. I can't find any reference to that now.
If you could provide the names of the files to be removed, or (even better) a link to a thread that documents this part of the process, it would be helpful to me and anyone else who happens across this thread. Saying "I know the answer and you should have found it too" isn't particularly helpful.
If the answer to my question is obvious, I apologize in advance for being both obnoxious and dense. I spent an hour on the phone two nights ago with Verizon tech support on an unrelated issue, so I'm a little prickly at the moment about tech support people who start every call assuming the customer is an idiot.
/system/etc/install-recovery.sh
/system/recovery-from-boot.p
http://forum.xda-developers.com/showthread.php?t=792016
crachel said:
/system/etc/install-recovery.sh
/system/recovery-from-boot.p
http://forum.xda-developers.com/showthread.php?t=792016
Click to expand...
Click to collapse
Excellent! Done and tested, now I have a permanent 2.5.1.4 recovery.
Thank you, crachel.
Thank you. I was needing this. Works for a Nexus S 2.3.4.

[Q] Wi-Fi Only Stock Rom

I picked up a Streak 7 Wi-Fi Only yesterday. I was playing around with it and tried out the honeycomb ROm posted here. Decided I wanted to go back to stock but my Nandroid backup is gone (I think it was on sdcard1 and not sdcard2). I managed to restore a stock image I found here someplace but it is the t-mo image and wifi does not seem to work. Anyone know where I can get the wifi-only stock image?
Wrong section
Sent from my LG-P999 using XDA Premium App
ledname said:
I picked up a Streak 7 Wi-Fi Only yesterday. I was playing around with it and tried out the honeycomb ROm posted here. Decided I wanted to go back to stock but my Nandroid backup is gone (I think it was on sdcard1 and not sdcard2). I managed to restore a stock image I found here someplace but it is the t-mo image and wifi does not seem to work. Anyone know where I can get the wifi-only stock image?
Click to expand...
Click to collapse
I have the nvflash files, and if necessary the images, you need. I'll get them up somewhere and post a link for you in a bit later today.
Edit:
Here are the files you need:
http://www.multiupload.com/OM0VO9HBO9
Just download these and use the same instructions here:
http://forum.xda-developers.com/showthread.php?t=1018809
Can the original poster please confirm if this worked? I bought a Dell Streak 7 Wifi yesterday and would like to know.
andyo70 said:
Can the original poster please confirm if this worked? I bought a Dell Streak 7 Wifi yesterday and would like to know.
Click to expand...
Click to collapse
I can confirm this works!! Thanks so much op. I used this to get back from dj_steves honeycomb b3, and i did have to take a couple of extra steps. Once everything completed I was stuck at the dell logo. So I booted into recovery, to see what i could do, which was almost nothing other than clear cache etc. The internal sdcard would not mount so I couldn't put steves streakdroid 1.3 on it to try and see if it would flash. At a brick wall, I decided what the heck and I flashed the original recovery through fastboot. I rebooted into recovery and preformed a factory reset and and to my amazement was greeted with the lock screen a short while later. However, I had a notification stating that my sdcard was unformated or not the right system type. (certain on unformated cant remember the second suggestion, but i believe thats close). I went to settings>sdcard & tablet storage and pressed "format internal tablet storage", then mounted the internal tablet storage. And thats it. Back on stock 2.2.2 (wifi-only). Mega thanks op.
Thank you for confirming. Now I can try out the Honeystreak!
worked
this worked perfect for me.
i might add
i might add, that i had flashed the honeystreak in the dev section and my 7 would lock up, go to sleep (or in my case, lapse into a coma) and boot when it wanted to. had to reset with pin in the hole all the time. did this for about 3 days and said heck with it. seems to be some power issue with that flash. thanks to solidsnake66 for uploading these files. now my 7 seems to be normal again.
ok, this will help me. When I used the t-mobile backup, the partitions were different, because of the t-mobile files...I only had (I think) 11 or so GB of free memory. If I remember right, I had 12 something before. Is the .bat in this re-written to give me the 12gb, rather than the 11gb? Even if it is the WiFi files, I would like the same amount of memory I had before.
EDIT: Nevermind, I think I'm wrong, and they both use the same partitions.
Clockwordmod
Hey guys. So I used this howto to revert my dell streak 7 running on honeystreak hd7 back to android 2.2.2. Once i rebooted into the system i noticed that although in stock android, it was still rooted. While I know how to unroot, i can't get rid of clockwordmod recovery. How do i do that? I tried to uninstall the clockwordmod, but it doesn't show up under my apps. i am at my wits end. I want to send in my dell streak 7 to dell for repair, but i want it in "fresh" condition with no root or clockwordmod recovery. Any advice will be greatly appreciated. Thanks.
Files now working for me
On my fourth attempt the files worked great.
solidsnake66 said:
I have the nvflash files, and if necessary the images, you need. I'll get them up somewhere and post a link for you in a bit later today.
Edit:
Here are the files you need:
http://www.multiupload.com/OM0VO9HBO9
Just download these and use the same instructions here:
http://forum.xda-developers.com/showthread.php?t=1018809
Click to expand...
Click to collapse
Do you have the stock "system" image for use with fastboot? for a wifi only streak? I can only find the tmobile one.
What I did was to an out of the box wifi only streak 7,
1. rooted with gingerbreak 1.2, renamed a couple .apks which were supposed to eliminate the cell standby battery drain.
2. restored the device to remove my google account (this device is for a friend and owned by her!!) It was stupid and I should have used her google creds first but she was not around. I didnt think it would hurt. The device was stuck at the android click to start screen and nothing I did could get it any further.
3. used fastboot to restore the system_orig.img posted by someone else, this fixed my issues, but it was a tmobile image so I am looking for the same thing system.img but in a wifi only flavor. THought you may have it.
Thanks much.
The links he gave are for Wifi version only. First download the first link then you have to get nvflash, unzip it onto your computer then unzip the files from the first link into the folder. He is advising you that you need to follow the directions on the 2nd link.
Berryblue said:
The links he gave are for Wifi version only. First download the first link then you have to get nvflash, unzip it onto your computer then unzip the files from the first link into the folder. He is advising you that you need to follow the directions on the 2nd link.
Click to expand...
Click to collapse
Actually, postb8822 is saying that the files in those downloads are ClockWorkMod Recovery and Rooted, not stock. The Root can be removed via Gingerbreak (I've done it, once...) but the CWR recovery images are all that I find in the files provided.
Berryblue, you said that you have a backup on an SD, right? Would you please place the recovery.img and boot.img (and system.img separate from those two perhaps) at some dropbox somewhere?
Thanks.
solidsnake66 said:
I have the nvflash files, and if necessary the images, you need. I'll get them up somewhere and post a link for you in a bit later today.
Click to expand...
Click to collapse
Downloaded all these files and then followed the directions in the other thread. Ended up stuck on dell logo. Then found this posting:
metal1f3 said:
I can confirm this works!! Thanks so much op. I used this to get back from dj_steves honeycomb b3, and i did have to take a couple of extra steps. Once everything completed I was stuck at the dell logo. So I booted into recovery, to see what i could do, which was almost nothing other than clear cache etc. The internal sdcard would not mount so I couldn't put steves streakdroid 1.3 on it to try and see if it would flash. At a brick wall, I decided what the heck and I flashed the original recovery through fastboot. I rebooted into recovery and preformed a factory reset and and to my amazement was greeted with the lock screen a short while later. However, I had a notification stating that my sdcard was unformated or not the right system type. (certain on unformated cant remember the second suggestion, but i believe thats close). I went to settings>sdcard & tablet storage and pressed "format internal tablet storage", then mounted the internal tablet storage. And thats it. Back on stock 2.2.2 (wifi-only). Mega thanks op.
Click to expand...
Click to collapse
This person's problem and fix seem to be exactly what I need to do. But what I don't understand is the "flashed to original recovery through fastboot" part. I can run fastboot and it sees my Streak but I don't know where I would find the recovery mentioned in the quote. Right now when I try to go to the recovery menu I see what seems to be the normal streak recovery menu but when I choose either factory reset I get to some other dialog I never saw before. I take it that this is some new recovery thing which is why I should be restoring the "original recovery" as mentioned in the quote.
To follow-up on my own posting: After staring at my bricked streak awhile, I decided that the poster must have meant the restore_orig file from the other thread. So I went back and reran the sequence. First the restore of all those img files then the fast boot recovery of the original restore img file. Boot with volume + to get to restore screen. Reset and reboot. Exactly what I'd done before but this time it worked. Perhaps the fact that the drivers were already installed helped since the sequence of operations wasn't interrupted by those driver installs. Perhaps I was more careful the second time. Regardless, it worked. I'm back and running. Even have root now; saving me from downloading gingerbreak. I'd assume if someone was doing this to return their Streak that they'd want to run gingerbreak to remove root. One additional caveat here: Once booted to the main Dell window (can't remember name of the Dell launcher) I had to reformat the internal disc. Not a big deal for me since I didn't expect any of my user data to survive. But just a warning for others.
solidsnake66 said:
I have the nvflash files, and if necessary the images, you need. I'll get them up somewhere and post a link for you in a bit later today.
Edit:
Here are the files you need:
http://www.multiupload.com/OM0VO9HBO9
Just download these and use the same instructions here:
http://forum.xda-developers.com/showthread.php?t=1018809
Click to expand...
Click to collapse
I(we) can really use the stock img files needed to flash to stock. I hope someone posts it.
ClockworkMod Recovery loop and error:-1 during solution
Sorry, I posted on the wrong section, Thanks Chemus!
The img files that mssahota1986 referenced are the t-mobile (3g/4g) images rather than the Wifi images.
However following the reposted instructions in your post shows that the t-mobile boot and recovery images can remove the CWM, which I thought was incorrect. Combined with the altered and rooted system images previously provided, I might be able to get close to stock on my wifi, since GingerBreak 1.2 was previously able to remove root from the Wifi.
If Dell ever actually upgrades to HC, I'll try the OTA updates...maybe I'll get lucky.
Still hoping for a drop of the actual WiFi stock images (apparently the System.img is necessary)
Update: No luck on combining different file versions for me. It seemed to work, but the WiFi would not turn on.
Chemus said:
Still hoping for a drop of the actual WiFi stock images (apparently the System.img is necessary)
Click to expand...
Click to collapse
My buddy just ordered a dell streak 7 off ebay. As soon as he gets it if it's all stock I'll create images from the device without the clockwork mod and root files. I don't know when he'll be getting it but I'll post the files ASAP
anyone else getting a white screen during the restore process near p11?
third time trying and i am stuck on dell logo. cant get into recovery at all.
any ideas.

[Q] Sprint Nexus 6 OTA 5.0.1 Failure

Hey guys n00b here posting on this forum, I am however well versed in things like root, flashing stock images, custom recoveries etc.
Back to my reason for posting, I have a Sprint Nexus 6 and It is not rooted or modified, bootloader's locked everything.
When trying to do the 5.0.1 OTA it restarts into the installation with the little android guy and a blue status line and gets
about 1/4 the way thru then fails with the exclamation mark on the fallen android. It gives this error as the cause,
"E:Error in /cache/c1fda898a6f43a4e0cbaa863d97f8b6584f90977.signed-shamu-LRX22C-from-LRX210.CLFDA898.ZIP."
I do not know how to fix this, I have Factory wiped, Cleared cache, Flashed the stock image nothing is working and its annoying.
Any help/suggestions would be appreciated, I apologize if I didn't post this in the right area or however it's to be done according to the rules.
Tylloyd17 said:
Hey guys n00b here posting on this forum, I am however well versed in things like root, flashing stock images, custom recoveries etc.
Back to my reason for posting, I have a Sprint Nexus 6 and It is not rooted or modified, bootloader's locked everything.
When trying to do the 5.0.1 OTA it restarts into the installation with the little android guy and a blue status line and gets
about 1/4 the way thru then fails with the exclamation mark on the fallen android. It gives this error as the cause,
"E:Error in /cache/c1fda898a6f43a4e0cbaa863d97f8b6584f90977.signed-shamu-LRX22C-from-LRX210.CLFDA898.ZIP."
I do not know how to fix this, I have Factory wiped, Cleared cache, Flashed the stock image nothing is working and its annoying.
Any help/suggestions would be appreciated, I apologize if I didn't post this in the right area or however it's to be done according to the rules.
Click to expand...
Click to collapse
Unlock your bootloader and flash 5.0.1 factory IMG from here:
https://developers.google.com/android/nexus/images
Sent via Tapatalk on Shamu
I have tried it
I just tried doing that and it said it did it but turned my phone on still says 5.0.. I used wugs nexus toolkit.. It is like my phone refuses to do it.
Never Mind
Put it into force flash mode and it finally worked Thanks for your help.!!

[Q] HELP! Wiped system files now can't boot up the phone (says no OS installed)

Sorry but I'm a total rookie here. I first started screwing around with my stock Nexus 6 by rooting. Then somehow I ended up with TWRP installed (or whatever) on my phone. Today I received notification that 5.0.1 OTA was available and when I click install it just went into TWRP and wouldn't let me install the update. For some reason I messed with TWRP and erased everything. Now I'm stuck with a brick.
Oh an to boot I can't get Android SDK running on my computer because of JVM or something.
Can anyone help? I just want to go back to out of the box stock and start over if that's possible. No TWRP or rooting necessary for me after this episode.
Thanks so much in advance for the assistance (please use small words and short sentences). Yes, I've tried searching like crazy and can't find anything that just step by step instructs me how to get back to stock.
ssbmg said:
Sorry but I'm a total rookie here. I first started screwing around with my stock Nexus 6 by rooting. Then somehow I ended up with TWRP installed (or whatever) on my phone. Today I received notification that 5.0.1 OTA was available and when I click install it just went into TWRP and wouldn't let me install the update. For some reason I messed with TWRP and erased everything. Now I'm stuck with a brick.
Oh an to boot I can't get Android SDK running on my computer because of JVM or something.
Can anyone help? I just want to go back to out of the box stock and start over if that's possible. No TWRP or rooting necessary for me after this episode.
Thanks so much in advance for the assistance (please use small words and short sentences). Yes, I've tried searching like crazy and can't find anything that just step by step instructs me how to get back to stock.
Click to expand...
Click to collapse
Try wugfresh's nexus toolkit 2.0.search xda and download to your pc.
Sorry I should've mentioned - I'm on a Mac, not a PC.
Nevermind - fixed by using the one click toolkit in reverse to re-lock bootloader. All good and back to factory.
Mods - delete this useless post if you want.
ssbmg said:
Sorry I should've mentioned - I'm on a Mac, not a PC.
Click to expand...
Click to collapse
This thread show "bail you out..."
For Future reference, having access to a PC when you have an Android phone that you are rooting is somewhat warranted if no one develops the MAC stuff... I have both and although I prefer my MAC, having a PC sometimes is essential. The Thread has links to follow if you are a MAC user.
http://forum.xda-developers.com/nexus-6/general/guide-flash-factory-images-nexus-6shamu-t2954008
:good:
mahst68 said:
This thread show "bail you out..."
For Future reference, having access to a PC when you have an Android phone that you are rooting is somewhat warranted if no one develops the MAC stuff... I have both and although I prefer my MAC, having a PC sometimes is essential. The Thread has links to follow if you are a MAC user.
http://forum.xda-developers.com/nexus-6/general/guide-flash-factory-images-nexus-6shamu-t2954008
:good:
Click to expand...
Click to collapse
Can use fastboot and adb on a mac to either push a rom.zip to recovery and flash or to flash factory images

Soft Bricked XT1097

Hey everybody,
I was on CM14.1, no issues, but decided to flash back to 6 and made the stupid mistake of trying to go straight with the standard motorola image. Now I am able to load the bootloader mode but cant do much after that. None of the partitions work, nor I can get data from bootloader info (tried retreieving flashing info to no avail). I am trying to find something I can use. Anyone has a suggestion?
Would you mind detailing which steps you took to flash? I think I know what your problem is, but I want to be sure first.
zstricky said:
Would you mind detailing which steps you took to flash? I think I know what your problem is, but I want to be sure first.
Click to expand...
Click to collapse
Sure!
- Got unlocked bootloader and installed cm14.1
- Decided to revert back to stock so downloaded 6.0 system image.
- instead of deleting the got.bin line from flashfile.xml I went to rsd and tried flashing it. It errored out and this took me where I am.
There is a flashable stock rom zip, but assuming you want to just use the official image that you already have you'll need to flash with fastboot. I saw that you posted on the thread 'return to stock etc'. Follow those fastboot steps, but be aware that there is a major omission: the instructions only go to system.img_sparsechunk.8, but there are 9 of those files and the phone will not boot if you only flash 8. As you go through fastboot flashing I think there will be a couple files that will give errors. Do an internet search on the error output line, but if I remember correctly the files that won't flash are no big deal and didn't affect my phone when I went ahead and ignored the errors.
I did man... The problem is... Something trully god messed up here. I am now getting hard stops related to aboot failures. I saw something similar on the xt1033 forums but we miss those same files.

Categories

Resources