[Q] Flashing recoveries with access to only bootloader? - Nexus 7 (2013) Q&A

Is there a way to flash a recovery with access to only the bootloader/fastboot?

fokum8 said:
Is there a way to flash a recovery with access to only the bootloader/fastboot?
Click to expand...
Click to collapse
if your recovery is a zip file, unzip it and it will contain a img file (maybe recovery.img). You can flash that using
Code:
fastboot flash recovery recovery.img

alresave said:
if your recovery is a zip file, unzip it and it will contain a img file (maybe recovery.img). You can flash that using
Code:
fastboot flash recovery recovery.img
Click to expand...
Click to collapse
Remember the img must be in the directory with the fastboot.exe and that the correct drivers are installed for it to work. Also it may not be called recovery.img so use the name of the file depending on what it was, then you can use fastboot reboot to reboot afterwards.
Fastboot boot recovery.img is a temp recovery flash I think?

Related

[Q] Noob Flashing Venom ??

Hi can anyone help me pls and tell me how exactly and what exactly does: Extract boot.img from ROM zip and flash it using ‘fastboot flash boot boot.img’.
Use 'fastboot erase cache' to avoid boot issues.
I mean what do i have to do I know that these are commands in cmd but what do I have to have on my computer .I`m sorry if this question is answered somewhere but i looked for it for 2 hours and did not find it.
Thx in advance for your help
Once you download the VenomRom.zip file.. you need to open it with winrar/winzip/7zip and extract the boot.img file from it...
Extract the boot.img file in your fastboot folder... Now boot your phone into fastboot mode and connect it to your PC.
Open the fastboot folder where you had extracted the boot.img file and right click anywhere in the window along with pressing the shift key... in the menu, click on "Open Command Window Here"
Now run the following code:
Code:
fastboot erase cache
fastboot flash boot boot.img
fastboot erase cache
You can download the fastboot folder from here : http://www.mediafire.com/?cm2famr3xd2cnom
vin4yak said:
Once you download the VenomRom.zip file.. you need to open it with winrar/winzip/7zip and extract the boot.img file from it...
Extract the boot.img file in your fastboot folder... Now boot your phone into fastboot mode and connect it to your PC.
Open the fastboot folder where you had extracted the boot.img file and right click anywhere in the window along with pressing the shift key... in the menu, click on "Open Command Window Here"
Now run the following code:
Code:
fastboot erase cache
fastboot flash boot boot.img
fastboot erase cache
You can download the fastboot folder from here : http://www.mediafire.com/?cm2famr3xd2cnom
Click to expand...
Click to collapse
And what do I have to have in the fastboot folder apart from the zip and the boot.img?Thx for the previous answer
Saw it thx
You don't need the zip file in your fastboot folder... You only need the boot.img file so that you can flash it using the above command!
Copy the zip file on to your phone... you flash that in recovery...
fastboot folder has has 4 files... fastboot.exe, adb.exe and couple of dll files...
vin4yak said:
You don't need the zip file in your fastboot folder... You only need the boot.img file so that you can flash it using the above command!
Copy the zip file on to your phone... you flash that in recovery...
fastboot folder has has 4 files... fastboot.exe, adb.exe and couple of dll files...
Click to expand...
Click to collapse
Thx alot for ur help.One more question though,If i want to flash another kernel how do I do it?
and sorry for beeing ssuch a noob
You flash the boot.img from the downloaded kernel.zip and then install the .zip file in the recovery like a rom. Wipe the dalvik cache and the cache from the partition (all in the recovery) and reboot
In the case of Venom.. you don't need to repack the kernel...
so...
1. Flash the boot.img (of the kernel)
2. Go into recovery and delete cache/dalvic
3. flash the modules.zip file in recovery...
4. Reboot

boot.img problem

hi,
I have htc one x phone. I got him with no option to update software (from what I understand that's becuause the company I buy her from flash a rom on the phone that not have this option (I not from usa)). I flash a boot.img wrong and after I flash it my phone got through bootloop.
What can I do?
Thanks.
hvcpxyhbdr said:
hi,
I have htc one x phone. I got him with no option to update software (from what I understand that's becuause the company I buy her from flash a rom on the phone that not have this option (I not from usa)). I flash a boot.img wrong and after I flash it my phone got through bootloop.
What can I do?
Thanks.
Click to expand...
Click to collapse
which rom is on it? download the rom and extract the boot.img from it, then flash that boot.img in fastboot
nogotaclue said:
which rom is on it? download the rom and extract the boot.img from it, then flash that boot.img in fastboot
Click to expand...
Click to collapse
How can i download the rom and copy it to the sdcard?
hvcpxyhbdr said:
How can i download the rom and copy it to the sdcard?
Click to expand...
Click to collapse
what rom is on your phone now?
Are you able to enter fastboot or recovery? Which recovery do you have?
You can push any file to the device using adb; for exampe:
adb push ROM.zip /sdcard/ROM.zip
furius said:
Are you able to enter fastboot or recovery? Which recovery do you have?
You can push any file to the device using adb; for exampe:
adb push ROM.zip /sdcard/ROM.zip
Click to expand...
Click to collapse
I think I know why this happenned. I flash jealy bean rom and I have HBOOT 0.43.0000.
Where can I find the firmware for my cid:044?
hvcpxyhbdr said:
I think I know why this happenned. I flash jealy bean rom and I have HBOOT 0.43.0000.
Where can I find the firmware for my cid:044?
Click to expand...
Click to collapse
http://forum.xda-developers.com/showthread.php?t=1975140 <<< find CID 044
100% working ....
1- Go into Recover (CWM) and Mount USB
2- Now From your PC create a folder in the root of the storage and call it "clockworkmod"
3- In the "clockworkmod" folder create another folder named "backup"
4- Extract the .zip file in that folder into the phone (do not change the name of the folder extracted cause it could give md5sum problems)(also the folder name must not have any space between words)
5- Reboot phone into Fastboot mode and flash the boot.img by typing in cmd
Code:
CWM NAND: fastboot flash boot path/to/boot.img
TWRP NAND: fastboot flash boot boot.emmc.win
7- Reboot the phone into Recovery again
8- Go to Backup & Restore> restore> and here choose the folder previously extracted, then you have the stock installed
if you need fastboot exe file let me know
husky_doggy said:
http://forum.xda-developers.com/showthread.php?t=1975140 <<< find CID 044
100% working ....
1- Go into Recover (CWM) and Mount USB
2- Now From your PC create a folder in the root of the storage and call it "clockworkmod"
3- In the "clockworkmod" folder create another folder named "backup"
4- Extract the .zip file in that folder into the phone (do not change the name of the folder extracted cause it could give md5sum problems)(also the folder name must not have any space between words)
5- Reboot phone into Fastboot mode and flash the boot.img by typing in cmd
Code:
CWM NAND: fastboot flash boot path/to/boot.img
TWRP NAND: fastboot flash boot boot.emmc.win
7- Reboot the phone into Recovery again
8- Go to Backup & Restore> restore> and here choose the folder previously extracted, then you have the stock installed
if you need fastboot exe file let me know
Click to expand...
Click to collapse
but the Nandroid Backup there for cid 044 required JB HBOOT. My HBOOT is 0.43.0000.
What Can I do?
and How can I update my HBOOT?
When I tried to restore i got error:
error while restoring /system
What can I do?

How to update to latest OTA firmware (MRA58V) when rooted?

SO, i'm trying to ADB sideload the latest firmware (MRA58V), but when I go to the google developers website, it downloads in a .TGZ file.
https://developers.google.com/android/nexus/images
I've tried changing it to .ZIP, then flashing, but it fails invalid signature.
What am I doing wrong?
Thanks,
Thread moved to proper forum
Simply flash the .img files inside the zip with fastboot. Takes 2-3 minutes.
Since only boot and system changed that's all you need to flash.
The commands I used today for 6.0.1:
fastboot flash boot boot.img
fastboot flash system system.img
fastboot format cache
fastboot reboot
That's it, doesn't wipe anything.
yosmokinman said:
Simply flash the .img files inside the zip with fastboot. Takes 2-3 minutes.
Since only boot and system changed that's all you need to flash.
The commands I used today for 6.0.1:
fastboot flash boot boot.img
fastboot flash system system.img
fastboot format cache
fastboot reboot
That's it, doesn't wipe anything.
Click to expand...
Click to collapse
Thanks worked perfect.
Sent from my SM-G920T using XDA Free mobile app

HTC One E9+ rooted! Need to back stock!

Hello! I have HTC One E9+ chines version! This phone are rooted and has twrp recovery! I need to get ota updates back! Pls help me!
I post more details!
What's your device's CID and main version ?
There are two version of China E9+
HTC CID!
sabpprook said:
What's your device's CID and main version ?
There are two version of China E9+
Click to expand...
Click to collapse
My HTC One E9+ has this CID HTCCN701
Use at your own risk
download and unzip
https://www.androidfilehost.com/?fid=24369303960684554
use the commands to flash images
Code:
fastboot flash boot boot.img
fastboot flash recovery recovery.img
fastboot flash system system.img
Here's the firmware
https://www.androidfilehost.com/?fid=24369303960684523
sabpprook said:
Use at your own risk
use the commands to flash images
Code:
fastboot flash boot boot.img
fastboot flash recovery recovery.img
fastboot flash system system.img
The zip file with boot recovery and system.img are corupted!
When I try to flash system.img appear this message: error: cannot load 'system.img'
Click to expand...
Click to collapse
Mirel Ranete said:
sabpprook said:
Use at your own risk
use the commands to flash images
Code:
fastboot flash boot boot.img
fastboot flash recovery recovery.img
fastboot flash system system.img
The zip file with boot recovery and system.img are corupted!
When I try to flash system.img appear this message: error: cannot load 'system.img'
Click to expand...
Click to collapse
I have similar problem before.
Use this htc-fastboot to work on it again
https://www.androidfilehost.com/?fid=24349802275799286
Click to expand...
Click to collapse
OK....
sabpprook said:
Use at your own risk
download and unzip
use the commands to flash images
Code:
fastboot flash boot boot.img
fastboot flash recovery recovery.img
fastboot flash system system.img
rayau85 said:
Mirel Ranete said:
I have similar problem before.
Use this htc-fastboot to work on it again
Is need to flash firmware?
Click to expand...
Click to collapse
Click to expand...
Click to collapse
Click to expand...
Click to collapse
No. The 3 img file is good enough.

Cannot flash twrp

Please help me, i can't flash twrp, adb warn cannot load twrp.img. My hboot mode display unlocked and s on.
wingdrone said:
Please help me, i can't flash twrp, adb warn cannot load twrp.img. My hboot mode display unlocked and s on.
Click to expand...
Click to collapse
adb is not involved in flashing of twrp.
make sure the file is named recovery.img and it's in your adb tools along with with fastboot.exe
command is: fastboot flash recovery twrp.img
wingdrone said:
Please help me, i can't flash twrp, adb warn cannot load twrp.img. My hboot mode display unlocked and s on.
Click to expand...
Click to collapse
In addition to the above mentioned make sure you're booted to download mode. From bootloader this would work with fastboot oem reboot-download. You can't flash TWRP from bootloader mode any longer. This has been the case since the One M9 days.
Sent from my htc_pmeuhl using XDA Labs
michaelbsheldon said:
adb is not involved in flashing of twrp.
make sure the file is named recovery.img and it's in your adb tools along with with fastboot.exe
command is: fastboot flash recovery twrp.img
Click to expand...
Click to collapse
If it's renamed to recovery.img, then using fastboot flash recovery twrp.img isn't going to work.
It would have to be fastboot flash recovery recovery.img
Also to the OP, flash it in download mode as stated above.

Categories

Resources