[Q] Flashing to pure stock 4.3 with the latest bootloader, recovery, etc.?

AbhishekS

Senior Member
Feb 18, 2011
3,090
832
253
abhishekmsharma.com
I know this may have been answered several times. I did a search too, but to be honest couldn't find something to the point.

Can someone post an easy guide of the files to download and the commands to type in the Command Prompt to install 4.3?

I'm currently on 4.2.2 (LiquidSmooth). Rooted obviously with TWRP recovery. I have the ADB and fastboot drivers installed in my PC.

This is what I want to know.

1. Flashing pure stock 4.3 and wipe everything (including SDcard - I will take a backup)
2. Updating the bootloader
3. Updating the radio
4. Updating the stock recovery
5. Installing TWRP recovery for 4.3

Will be glad if someone could help me.

Thank you.
 

abhishek93

Senior Member
Jun 25, 2009
425
82
0
Delhi
I know this may have been answered several times. I did a search too, but to be honest couldn't find something to the point.

Can someone post an easy guide of the files to download and the commands to type in the Command Prompt to install 4.3?

I'm currently on 4.2.2 (LiquidSmooth). Rooted obviously with TWRP recovery. I have the ADB and fastboot drivers installed in my PC.

This is what I want to know.

1. Flashing pure stock 4.3 and wipe everything (including SDcard - I will take a backup)
2. Updating the bootloader
3. Updating the radio
4. Updating the stock recovery
5. Installing TWRP recovery for 4.3

Will be glad if someone could help me.

Thank you.
search again... and in short if u are flashing your rom with stock image u dont have to install the bootloader and radio img again... search how to flash stock image using adb..

Sent from my Galaxy Nexus using xda premium
 
Last edited:

mnoguti

Member
Jul 4, 2012
29
22
0
São Paulo
I know this may have been answered several times. I did a search too, but to be honest couldn't find something to the point.

Can someone post an easy guide of the files to download and the commands to type in the Command Prompt to install 4.3?

I'm currently on 4.2.2 (LiquidSmooth). Rooted obviously with TWRP recovery. I have the ADB and fastboot drivers installed in my PC.

This is what I want to know.

1. Flashing pure stock 4.3 and wipe everything (including SDcard - I will take a backup)
2. Updating the bootloader
3. Updating the radio
4. Updating the stock recovery
5. Installing TWRP recovery for 4.3

Will be glad if someone could help me.

Thank you.
Hi, let me try to help you

Galaxy Nexus is my first smartphone. So i'm pretty new at flashing things. I did some research last year to learn how to flash stuff in it and that's how i learned to make a fresh install:
-Make sure you have the SDK platform-tools and the Galaxy Nexus driver properly installed on your PC. Also, make sure you have USB debuging enabled on your device.

-Download the factory image that fits your phone at https://developers.google.com/android/nexus/images

-Open up the tgz file you just downloaded and extract the files:
-boot.img
-bootloader-maguro-primemd04.img
-radio-maguro-i9250xxlj1.img
-recovery.img
-system.img
-userdata.img

Extract the files in the platform-tools folder to make things easier.

-Connect your Nexus to your PC, open the command prompt, go to the platform-tools folder and type
(Do not turn off, disconnect or close the cmd prompt windows until everything is done. Again, make sure you have the nexus driver properly installed on your Windows)

Code:
adb reboot-bootloader
(this command will reboot your device to recovery mode)

With your device on recovery mode, type the following commands to erase your device:

Code:
fastboot erase boot
Hit enter, then:
fastboot erase cache
Hit enter, then:
fastboot erase recovery
Hit enter, then:
fastboot erase system
Hit enter, then:
fastboot erase userdata

-Now you're going to flash the new files you have downloaded and extracted steps before:

Code:
fastboot flash bootloader bootloader-maguro-primemd04.img
(or whatever name your bootloader img file has. In this case the bootloader file is "bootloader-maguro-primemd04.img")

Code:
fastboot reboot-bootloader
(you'll need to reboot after flashing the bootloader)

Code:
fastboot flash radio radio-maguro-i9250xxlj1.img
Flash the radio

Code:
fastboot reboot-bootloader
Reboot again

Code:
fastboot flash system system.img
Flash system

Code:
fastboot flash userdata userdata.img
Code:
fastboot flash boot boot.img
Code:
fastboot flash recovery recovery.img
Code:
fastboot reboot-bootloader
We are almost done!

Code:
fastboot erase cache
Code:
fastboot reboot
Done! Reboot to Android. The first boot may take some more time than the usual. Don't worry!

-
If you want to flash a custom recovery, download it from their website, go into fastboot mode and flash it using the command to flash the recovery.
Code:
fastboot flash recovery [recovery filename].img
The same command used when flashing the recovery on the fresh install above

That's the way i learned how to do it from scratch. In case someone more experienced has any thoughts about it, i'd like to hear as i'm not an expert and learned by researching it on my own...
 
Last edited:

AbhishekS

Senior Member
Feb 18, 2011
3,090
832
253
abhishekmsharma.com
@mnoguti: You have said that to flash a custom recovery, one needs to go to the recovery mode and flash the custom recovery, but you said that flashing the stock recovery should be done in bootloader.

Is it fine to flash custom recovery from bootloader instead of recovery?
 

lastforone

Member
Jul 5, 2013
37
12
0
Heavenly Forest
@mnoguti: You have said that to flash a custom recovery, one needs to go to the recovery mode and flash the custom recovery, but you said that flashing the stock recovery should be done in bootloader.

Is it fine to flash custom recovery from bootloader instead of recovery?
you don't have to go into the recovery mode to flash recovery, just boot into fastboot mode and flash recovery using command:

fastboot flash recovery recovery.img
obviously replace the recovery.img with the name of the custom recovery file you downloaded, make sure the custom recovery file is in the same folder as fastboot/adb otherwise you'll have to do it like:

fastboot flash recovery C:\Downloads\recovery.img
 
  • Like
Reactions: AbhishekS

AbhishekS

Senior Member
Feb 18, 2011
3,090
832
253
abhishekmsharma.com
Yes, that's what I thought. Thank you.

I had initially felt that stock recovery can flashed only in bootloader and custom recoveries can be flashed only by booting into stock recovery. But somewhere in my mind had a doubt on it and so asked. Thanks for clearing the doubt. :)

And a big thanks to @mnoguti for posting those steps. Worked like a charm for me. :D
 
  • Like
Reactions: mnoguti

mnoguti

Member
Jul 4, 2012
29
22
0
São Paulo
Yes, that's what I thought. Thank you.

I had initially felt that stock recovery can flashed only in bootloader and custom recoveries can be flashed only by booting into stock recovery. But somewhere in my mind had a doubt on it and so asked. Thanks for clearing the doubt. :)

And a big thanks to @mnoguti for posting those steps. Worked like a charm for me. :D
It's "fastboot mode". Sorry for the mistake!
I've updated my post and now it's right :)
 
  • Like
Reactions: AbhishekS