[Q] How to restore Nexus 7 4.2.2 kernel - Nexus 7 Q&A, Help & Troubleshooting

I have tried updating OTA to 4.3 with an unlocked bootloader and motley kernel. To my understanding I need to restore the stock kernel to update OTA without loosing data. How do I do this?

Jordydaman said:
I have tried updating OTA to 4.3 with an unlocked bootloader and motley kernel. To my understanding I need to restore the stock kernel to update OTA without loosing data. How do I do this?
Click to expand...
Click to collapse
Extract the BOOT.IMG from the factory stock version of 4.2.2, and fastboot flash it with...
Code:
fastboot flash boot boot.img
Rgrds,
Ged.

How do I fastboot,
GedBlake said:
Extract the BOOT.IMG from the factory stock version of 4.2.2, and fastboot flash it with...
Code:
fastboot flash boot boot.img
Rgrds,
Ged.
Click to expand...
Click to collapse
I rooted the cheap way using a toolkit how do I fastboot

Normally you'd install the Android SDK to run fastboot coomands.... but if you're running a 32bit version of Windows, here is all you need...
https://dl.dropboxusercontent.com/u/37483979/FastBootAdb-MD5-576cec93330fe1dfedd170f5f704b35f.zip
I've also included the BOOT.IMG extracted from nakasi-jdq39 factory image for 'grouper' (WiFi) Nexus 7.
---------------------------------
Download from the above link and extract to some location on your PC.
Boot your Nexus 7 into Bootloader mode (Shut down, then Vol Down+Power On).
Hook it up to your PC via USB.
Open a command prompt window on the folder which contains the files you just unzipped.
Type...
Code:
fastboot devices
You should see something like this... (a serial number followed by the word 'fastboot').
Code:
015d2d425b67s234 fastboot
This indicates if you have a viable Fastboot connection.... if you don't see a serial number, then you have a driver problem.
If you do see a serial number, you can proceed with...
Code:
fastboot flash boot boot.img
...which will flash the stock kernel to the boot partition.
Good luck.
Rgrds,
Ged.

Im using 64 bit window and using the SDK
GedBlake said:
Normally you'd install the Android SDK to run fastboot coomands.... but if you're running a 32bit version of Windows, here is all you need...
https://dl.dropboxusercontent.com/u/37483979/FastBootAdb-MD5-576cec93330fe1dfedd170f5f704b35f.zip
I've also included the BOOT.IMG extracted from nakasi-jdq39 factory image for 'grouper' (WiFi) Nexus 7.
---------------------------------
Download from the above link and extract to some location on your PC.
Boot your Nexus 7 into Bootloader mode (Shut down, then Vol Down+Power On).
Hook it up to your PC via USB.
Open a command prompt window on the folder which contains the files you just unzipped.
Type...
Code:
fastboot devices
You should see something like this... (a serial number followed by the word 'fastboot').
Code:
015d2d425b67s234 fastboot
This indicates if you have a viable Fastboot connection.... if you don't see a serial number, then you have a driver problem.
If you do see a serial number, you can proceed with...
Code:
fastboot flash boot boot.img
...which will flash the stock kernel to the boot partition.
Good luck.
Rgrds,
Ged.
Click to expand...
Click to collapse
I am using the SDK on 64bit, do I need to place the boot.img in a certain place?

Jordydaman said:
I am using the SDK on 64bit, do I need to place the boot.img in a certain place?
Click to expand...
Click to collapse
Easiest way is to just copy it into the same folder as FASTBOOT.EXE
And then run fastboot flash boot boot.img in a command prompt window opened on that folder.
Rgrds,
Ged.

Related

Deleted build prop and rebooted, HELP

I accidentally delted build.prop and rebooted. Dont ask me how, just know that my device was running 4.1.1 and was rooted, but did not have clockwork recovery. PLEASE HELP IMMA CRY!!!
https://developers.google.com/android/nexus/images#nakasi
Im a total noob please tell me how to flash the factory image
Raja101 said:
I accidentally delted build.prop and rebooted. Dont ask me how, just know that my device was running 4.1.1 and was rooted, but did not have clockwork recovery. PLEASE HELP IMMA CRY!!!
Click to expand...
Click to collapse
Here's the build prop. Maybe you could find a way to push it to the right folder from your PC. Don't forget to remove text extension and put prop.
kieso said:
Here's the build prop. Maybe you could find a way to push it to the right folder from your PC. Don't forget to remove text extension and put prop.
Click to expand...
Click to collapse
My computer will not recognize my nexus 7 PLease help im crying :'(
http://forum.xda-developers.com/showthread.php?t=1781250
Make sure you have working ADB / drivers installed
Flash a stock image, get PDAnet drivers and then use wugs toolkit to flash stock build.prop doesn't touch boot loader so should be good to go
Sent from my Nexus 7 using xda app-developers app
1. Download faslboot/adb drivers
2. Download the stock image for "nakasi" here: https://developers.google.com/android/nexus/images#nakasi
3. Untar the stock image so you get a few files and a zip file
4. Boot into the device's bootloader (hold the power button + up and down on the volume rocker)
4. CD to the folder where you extracted the stuff to and run these commands:
Code:
fastboot erase boot
fastboot erase cache
fastboot erase recovery
fastboot erase system
fastboot erase userdata
fastboot flash bootloader bootloader-grouper-3.34.img
fastboot reboot-bootloader
<wait for device to reboot back into the bootloader>
Code:
fastboot -w update image-nakasi-jro03d.zip
After those commands you should have returned completely to stock.
Thanks for all the help! I was able to download the factory image and flash it using the nexus toolkit. But again thanks for all the replies and help.
Good you got your device functional but now you see why it's important to have cwm/twrp installed as you could have saved yourself the hassle of fastbooting back and starting from scratch.

[Q] Nexus 7 2012 -- Recovery won't flash - Please help!

Good morning,
I followed the tutorial here on XDA on how to basically factory reset my Nexus 7. Unfortunately, while going through all the steps I also deleted my recovery. Now I am unable to flash any recovery back on my device. I have tried flashing Clockwork, TWRP and even Google Stock recovery, but it won't work. Neither flashing via Nexus 7 toolkit nor by hand was successful, instead it always returns the following error message:
Booting into Android using an Insecure Boot Image..
cannot load "root\boot-insecure-.img' : No error
Now my Nexus 7 is in some random state, since Android 4.2.2 is installed, but rooting via the Toolkit returns the same message when it comes to the point of flashing a recovery. Then it simply skips the remaining steps and does not install the superuser app. I also downloaded and tried using the ROM Manager, but since root-access is missing, it can't do anything either.
Do you guys have any solution to this?
Help is very much appreciated!
Thanks!
marcfeld said:
Good morning,
I followed the tutorial here on XDA on how to basically factory reset my Nexus 7. Unfortunately, while going through all the steps I also deleted my recovery. Now I am unable to flash any recovery back on my device. I have tried flashing Clockwork, TWRP and even Google Stock recovery, but it won't work. Neither flashing via Nexus 7 toolkit nor by hand was successful, instead it always returns the following error message:
Booting into Android using an Insecure Boot Image..
cannot load "root\boot-insecure-.img' : No error
Now my Nexus 7 is in some random state, since Android 4.2.2 is installed, but rooting via the Toolkit returns the same message when it comes to the point of flashing a recovery. Then it simply skips the remaining steps and does not install the superuser app. I also downloaded and tried using the ROM Manager, but since root-access is missing, it can't do anything either.
Do you guys have any solution to this?
Help is very much appreciated!
Thanks!
Click to expand...
Click to collapse
Though toolkits save a lot of time, I always prefer to do stuff the manual way and I suggest you do the same. To flash the recovery do the following steps
1) a) if you are running Windows open cmd as administrator and CD into a folder containing adb and fastboot .exes
b) copy paste a downloaded recovery image in the same folder and rename it to recovery.img for simplicity.
2) boot into boot loader by pressing power volume down and volume up all together after the device is turned off
3) in bootloader enter the fastboot mode and in cmd on PC type
Code:
fastboot devices
At this moment your device should turn up in the command prompt.if it doesn't then try installing the Asus drivers and repeat the steps above carefully.
4) once all that is over type
Code:
fastboot flash recovery recovery.img
And then the recovery must be flashed . you will get an output on cmd with the time taken to flash it too .
Then reboot into recovery and enjoy.
A succinct summary, Red Devil.
I always maintain, on a my Windows laptop, a folder called FastBootAdb, that contains the following files...
fastboot.exe
adb.exe
AdbWinApi.dll (needed by Windows)
AdbWinUsbApi.dll (needed by Windows)
If I wish to flash a new recovery.img (or a new boot.img - useful for certain kernels, that consists of nothing but a boot.img, like franco for example. Most custom kernels though, consist of more than just a boot.img, and need to flashed via TWRP or CWM, and can't just be fastboot flashed).
Anyway... I just copy the new recovery into this folder, rename it to recovery.img and run the fastboot command accordingly...
Code:
fastboot flash recovery recovery.img
...similarly with the boot partition...
Code:
fastboot flash boot boot.img
To be honest, I'm puzzled why people feel the need to overcomplicate this very simple procedure with toolkits.
Rgrds,
Ged.
Thanks a million guys!
I will try this as soon as I get home tonight and let you know.
nourtsW escape
This did the trick!
Thanks again guys!
marcfeld said:
This did the trick!
Thanks again guys!
Click to expand...
Click to collapse
Glad you got it sorted.
With Android, there's always 'more than one way to skin a cat!'.
Rgrds,
Ged.
GedBlake said:
Glad you got it sorted.
With Android, there's always 'more than one way to skin a cat!'.
Rgrds,
Ged.
Click to expand...
Click to collapse
I am so relieved, because I thought I had bricked it...
GedBlake said:
A succinct summary, Red Devil.
I always maintain, on a my Windows laptop, a folder called FastBootAdb, that contains the following files...
fastboot.exe
adb.exe
AdbWinApi.dll (needed by Windows)
AdbWinUsbApi.dll (needed by Windows)
If I wish to flash a new recovery.img (or a new boot.img - useful for certain kernels, that consists of nothing but a boot.img, like franco for example. Most custom kernels though, consist of more than just a boot.img, and need to flashed via TWRP or CWM, and can't just be fastboot flashed).
Anyway... I just copy the new recovery into this folder, rename it to recovery.img and run the fastboot command accordingly...
Code:
fastboot flash recovery recovery.img
...similarly with the boot partition...
Code:
fastboot flash boot boot.img
To be honest, I'm puzzled why people feel the need to overcomplicate this very simple procedure with toolkits.
Rgrds,
Ged.
Click to expand...
Click to collapse
ive done this exactly step by step and i getthe system cannot find the specified path i made a folder inside the windows folder i named it recovery in the command prompt i did cd windows then cd recovery then i typed fastboot devicesthen it said that
Help! Nexus 7 won't accept recovery flash image
I've tried all the above. I can get to the command prompt, and fastboot devices sees my device. I input the above commands to reflash, it starts with message "sending 'recovery' <xxx.xkb>' then nothing. It just sits there until I reset or reboot my nexus 7. Can anyone help?

HELP! stuck in recovery [SOLVED!]

Issue solved by using the following commands in fastboot via this link http://forum.xda-developers.com/showpost.php?p=34552123&postcount=1, For anyone who has a similiar problem do the following.
1) Make sure your computer recognizes your device by typing: fastboot devices
2) Unlock your bootloader (if you have not already done so): fastboot oem unlock
3) You will see a prompt on your device. This will wipe your entire device (including the /sdcard folder). Accept. Note: you use the volume keys to change the option and the power button to accept. You cannot use the touch screen.
4) Reboot by typing: fastboot reboot-bootloader
5) Flash the bootloader: fastboot flash bootloader bootloader-mako-makoz10o.img (or whatever the name of the bootloader image that you downloaded).
6) Reboot: fastboot reboot-bootloader
7) Flash the radio: fastboot flash radio radio-mako-m9615a-cefwmazm-2.0.1700.48.img (or whatever the name is of the radio image that you downloaded).
8) Reboot: fastboot reboot-bootloader
9) Flash the system partition: fastboot flash system system.img
Flash the factory images with the toolkit then flash a custom recovery and root
Sent from my Nexus 4 using Tapatalk
Boot your device into fastboot mode and then you can manually flash back to stock.
http://forum.xda-developers.com/nexus-4/general/how-to-how-to-flash-factory-image-t2010312
Zehlek said:
Flash the factory images with the toolkit then flash a custom recovery and root
Sent from my Nexus 4 using Tapatalk
Click to expand...
Click to collapse
audit13 said:
Boot your device into fastboot mode and then you can manually flash back to stock.
http://forum.xda-developers.com/nexus-4/general/how-to-how-to-flash-factory-image-t2010312
Click to expand...
Click to collapse
Thanks, is there a way to backup my sd card before flashing back to stock?
tarroyo said:
Thanks, is there a way to backup my sd card before flashing back to stock?
Click to expand...
Click to collapse
Flash the system.img file only.
Sent with my Nexus® 10 minus 3
Problem solved!
I get remote : partition table doesn't exist.
I have been working on this all night. WIn Drivers for ADB, Fast boot, naked drivers, and on and on. Tried to push a ROM for CWM and round and round I go. Nothing works. The phone for lack of any other words seems to be dead except I can get flashboot to talk to it. ANy idea? Please?
williamsck said:
I get remote : partition table doesn't exist.
I have been working on this all night. WIn Drivers for ADB, Fast boot, naked drivers, and on and on. Tried to push a ROM for CWM and round and round I go. Nothing works. The phone for lack of any other words seems to be dead except I can get flashboot to talk to it. ANy idea? Please?
Click to expand...
Click to collapse
I got it!

Emergency. Bricked. Mac only.

I have vs980 and bricked it. Can't access factory hard reset with the button combo. Only fast boot. Mac only and won't be using parellels because of the hassle. Please help.
wadamean said:
I have vs980 and bricked it. Can't access factory hard reset with the button combo. Only fast boot. Mac only and won't be using parellels because of the hassle. Please help.
Click to expand...
Click to collapse
When your in fastboot mode, does your phone get recognized by your computer?
Are you able to use fastboot.exe commands? If so you could download your recovery again, extract the recovery.img file and do,
Code:
fastboot flash recovery recovery.img
That would essentially get your recovery back.
You could also find your boot.img file for the VS980 and do,
Code:
fastboot flash boot boot.img
.
Edit: I just remembered you're on mac and fastboot.exe wouldn't exist (duh). You could possibly follow this guide to setup adb and fastboot on mac.
yes my mac recognizes fastboot on my phone. which recovery img file should i flash on it? i have flashed the twrp 2.8.5.0 from their official website but i still cant get factory reset button combo to work. I have all that fastboot and adb working on my mac all configured and ready.
d00lz said:
When your in fastboot mode, does your phone get recognized by your computer?
Are you able to use fastboot.exe commands? If so you could download your recovery again, extract the recovery.img file and do,
Code:
fastboot flash recovery recovery.img
That would essentially get your recovery back.
You could also find your boot.img file for the VS980 and do,
Code:
fastboot flash boot boot.img
.
Edit: I just remembered you're on mac and fastboot.exe wouldn't exist (duh). You could possibly follow this guide to setup adb and fastboot on mac.
Click to expand...
Click to collapse
Fast boot and adb all set up and ready.

N7 Flashing Problem

Hi all im new to this forum. I am having a problem with my N7 im trying to unbrick it with nexus tool kit but at the flashing stage its says FAILED write failed unknown error for all partitions and when I try to flash a rom in twrp it hangs on patching system unconditionally. Has any one come across this problem before.
Update I have no software on my device without a way to flash it all tools including fastboot via comand prompt can't see it in bootloader mode please I really need help
gavster26 said:
Update I have no software on my device without a way to flash it all tools including fastboot via comand prompt can't see it in bootloader mode please I really need help
Click to expand...
Click to collapse
so you can boot to recovery or bootloader?
try nexus root toolkit - there is an option to unbrick. Wipe everything and try to unbrick.
how windows detects your N7? maybe try different usb cable - if not genuine, then cut a lil bit of plastic, so it goes all the way to the usb port
give some photos of what errors do you have in recovery
yaro666 said:
so you can boot to recovery or bootloader?
try nexus root toolkit - there is an option to unbrick. Wipe everything and try to unbrick.
how windows detects your N7? maybe try different usb cable - if not genuine, then cut a lil bit of plastic, so it goes all the way to the usb port
give some photos of what errors do you have in recovery
Click to expand...
Click to collapse
I can boot to bootloader and thats it that tool can't write to any partitions thats what I tried in the first place it erased the partitions but then could not write to them so im left with no system no kernel or recovery
Download drivers from here
Open cmd as admin and type fastboot devices, it should detect your n7 with some numbers and letters.
If you have grouper (wifi) n7 then download recovery here
Go to bootloader, connect n7 with pc and type:
fastboot flash recovery twrp.img
Where twrp.img is the name of recovery file you downloaded.
Then type: fastboot reboot
In cmd you probably have to go to proper folder just use cd.. to go up a folder and cd name of the folder to go to proper folder. I use C:\adb as drivers install right there
yaro666 said:
Download drivers from here
Open cmd as admin and type fastboot devices, it should detect your n7 with some numbers and letters.
If you have grouper (wifi) n7 then download recovery here
Go to bootloader, connect n7 with pc and type:
fastboot flash recovery twrp.img
Where twrp.img is the name of recovery file you downloaded.
Then type: fastboot reboot
In cmd you probably have to go to proper folder just use cd.. to go up a folder and cd name of the folder to go to proper folder. I use C:\adb as drivers install right there
Click to expand...
Click to collapse
Ok thanks I've got twrp to boot and I fastbooted aosp mm system and kernel but it won't boot up and twrp cant mount storage data or cache where to go from here it wont fastboot any stock img

Categories

Resources