How to flash system.img using recovery mode - General Questions and Answers

How do I flash system.img using modded recovery mode. I have a recovery mode that has backup/ restore option and can also flash zip files.

Do you use a custom recovery like "Clockworkmod Recovery"?
And what is the system.img for?
Because most roms come in a .zip package which are much easier to install via the clockworkmod recovery interface.

Jasperovic said:
Do you use a custom recovery like "Clockworkmod Recovery"?
And what is the system.img for?
Because most roms come in a .zip package which are much easier to install via the clockworkmod recovery interface.
Click to expand...
Click to collapse
Yes, i have a custom recovery like clockworkmod. I have extracted system.img using nandroid backup.
Sent from my GT-I5801 using xda app-developers app

use this command on terminal in aroma fm
dd if=/your_path/system.img of=/[email protected]
wait until response it will take 4-5 mins
then exit & reboot

Related

[Q] Can't boot after CM9[SOLVED]

Hey XDA
I tried to install CM9 today, it fail...
I have unlocked my phone using htcdev.com.
Then I followed this:
If you unlocked your phone via htcdev.com, you must flash the included
boot.img after flashing the ROM in recovery:
- Boot into fastboot, either by:
- Turning phone on whilse holding VOLUME DOWN, or
- adb reboot bootloader, or
- using an option in your recovery (eg. Reboot Bootloader)
- Connect your phone to your PC and copy the boot.img from the ROM .zip
to the same place as fastboot.exe and issue the following command:
- fastboot flash boot boot.img
Failing to follow these instructions on a htcdev.com unlocked device will
cause the ROM to fail to boot.
And now it just stands with a mobile and a ret warning sign. I can get in bootloader, but that's all. I have the CM9.zip on the sdcard but I forgot to run it before I did the above mentioned. I have tried to reset the mobile from bootloader nothing helps
Pleas help me what should I do?
So what is your problem exactly ? Do you have a custom recovery like 4EXT ? It's needed in order to apply the CM9.zip.
None
No i have not installed any recovery app. I cant start my mobile
Naaler said:
Hey XDA
I tried to install CM9 today, it fail...
I have unlocked my phone using htcdev.com.
Then I followed this:
If you unlocked your phone via htcdev.com, you must flash the included
boot.img after flashing the ROM in recovery:
- Boot into fastboot, either by:
- Turning phone on whilse holding VOLUME DOWN, or
- adb reboot bootloader, or
- using an option in your recovery (eg. Reboot Bootloader)
- Connect your phone to your PC and copy the boot.img from the ROM .zip
to the same place as fastboot.exe and issue the following command:
- fastboot flash boot boot.img
Failing to follow these instructions on a htcdev.com unlocked device will
cause the ROM to fail to boot.
And now it just stands with a mobile and a ret warning sign. I can get in bootloader, but that's all. I have the CM9.zip on the sdcard but I forgot to run it before I did the above mentioned. I have tried to reset the mobile from bootloader nothing helps
Pleas help me what should I do?
Click to expand...
Click to collapse
1.install a custom recovery like 4ext or cwm
(2. Backup current system) this time you don't have to do this since you don't have a working system at the moment.
3. Full wipe (data, system, boot, caches... Not sd card) from recovery
4. Flash ROM zip from recovery
5.flash boot.img via adb
6.reboot
7.done
Sent by my fingers to your head.
How?
The recovery app Is it ón the computer or the Mobile?
ón Mobile how do i get it ón?
1.install a custom recovery like 4ext or cwm
(2. Backup current system) this time you don't have to do this since you don't have a working system at the moment.
3. Full wipe (data, system, boot, caches... Not sd card) from recovery
4. Flash ROM zip from recovery
5.flash boot.img via adb
6.reboot
7.done
Click to expand...
Click to collapse
That's it.
here is 4ext 2.2.7: http://dl.dropbox.com/u/45382761/PG88IMG_4EXTrecovery_2.2.7_RC5_Desire_S.zip
Extract the "recovery.img" and flash it using fastboot:
fastboot flash recovery recovery.img
Thanks
Thanks it works now
Naaler said:
The recovery app Is it ón the computer or the Mobile?
ón Mobile how do i get it ón?
Click to expand...
Click to collapse
I'm assuming you know how to boot into fastboot and use fastboot and adb commands. If not, just click on the link in my signature under Helpful links.
Once you're done, just put the attached file in your adb folder, then boot into fastboot and issue the command ;
fastboot flash recovery recovery.img
Click to expand...
Click to collapse
You will now have the custom 4EXT Recovery. From there, just follow the steps you outlined in your first post, and you should be up and running.
Cheers.
EDIT: I see you already got it working while I was composing my post. Congrats!
@op could you please update the thread title to something like [solved]
Sent by my fingers to your head.

Just got a mini

And I'm trying to figure out the steps to rooting and installing a custom recovery so I can flash a custom Rom. Anyone have the tuts on how to do this?
Sent from my HTC One mini using xda app-developers app
dalton912 said:
And I'm trying to figure out the steps to rooting and installing a custom recovery so I can flash a custom Rom. Anyone have the tuts on how to do this?
Sent from my HTC One mini using xda app-developers app
Click to expand...
Click to collapse
This guide by Ecstacy42
1. Unlock your bootloader here. Select "All Other Supported Models" and follow the instructions.
2. Download the Rom, Kernel, and a recovery, verify the MD5 checksums, and then copy the rom and kernel zips to your internal SD card. I'd recommend one of the WWE versions as they don't have a lot of the AT&T bloat.
3. Boot into the bootloader (it says how in the guide showing you how to unlock your bootloader)
4. Select fastboot, plug your phone into your computer.
5. Type "fastboot devices" to make sure it's connected, then type "fastboot flash recovery whateverrecoveryyouused.img".
6. Boot into recovery. Make a backup. Then wipe system, data, cache, and dalvik cache.
7. Reboot into fastboot, then type "fastboot flash boot boot.img" using the boot.img from the Rom you downloaded.
8. Reboot into recovery and install the rom zip using TWRP/ClockworkMod.
9. Reboot into fastboot and type "fastboot flash boot boot.img" using the boot.img from the kernel.
10. Reboot into recovery and flash the kernal zip.
11. Start up your phone, if you flashed a DeOdexed Rom it'll take a little while to boot up.
If you are looking for a feature rich custom rom, try this:
http://forum.xda-developers.com/showthread.php?t=2448857

help !!

hello i have a big trouble with my htc one s, is a S4 variant and i try to boot normally but is always boot on the cwm 5.8! i reboot and is return to cwm! help me i try everything
Sounds like no ROM
From the sounds of it, it doesn't seem like you have a ROM installed.
A few things to remember when flashing new ROM's:
-Try not to ever flash dirty* (without wiping data, cache, dalvic cache, and system)
-ONLY wipe the system if you have another ROM loaded onto the internal SD card and ready to flash
-Make sure said ROM is COMPATIBLE with your phone. (Device model, in our case HBOOT [2.15, 2.16 have their differences]
-Try to update to the latest Recovery when flashing, unless stated otherwise in the ROM's OP. THEY WILL TELL YOU WHAT YOU NEED.
There is plenty more, but for your issue these may help.
Update your recovery through FASTBOOT and then use the MOUNT option to mount your SD card and add a new [compatible] ROM and try to flash it. (and if it has GAPPs, flash that AFTER you flash the ROM)
i dont flash anyrom, i just flash the recovery and write this command line "fastboot flash boot recovery*.img" (just a cut of the .img of the recovery) and after that, is allways reboot in recovery mode
le_numerik said:
i dont flash anyrom, i just flash the recovery and write this command line "fastboot flash boot recovery*.img" (just a cut of the .img of the recovery) and after that, is allways reboot in recovery mode
Click to expand...
Click to collapse
Code:
fastboot flash boot recovery.img
flashes recovery to boot sector. That's why your device boots into recovery every time. You should use
Code:
fastboot flash recovery recovery.img
to flash recovey correctly, unzip boot.img from your rom's zip and flash it with
Code:
fastboot flash boot boot.img
to be able to boot into your rom
Sent from my HTC One S
cool, but where is boot.img?
le_numerik said:
cool, but where is boot.img?
Click to expand...
Click to collapse
Like i said it's in your rom's zip. Which rom are you on?
Sent from my HTC One S
i dont use external rom's, just the android inside
ics or jb?
Sent from my HTC One S
the stock rom 4.1.3
le_numerik said:
the stock rom 4.1.3
Click to expand...
Click to collapse
Sorry, i couldn't get online for some time.
try the one on my attachment
thanks but twrp recovery try to install sideload.zip, my transfert work but twrp say sideload.zip is corrup :/ i try to reinstall twrp? im really in sh*t because this not my cell and i fu**ed up the telephone :'(
EDIT: OH GOD ok im too tired xD i try adb sideload but is fastboot i need, ok i install boot.img and is work well! THANK YOU ALL!!! ok now... need to install SuperSU he dont work
LOLL

Tablet on Boot loop

Help pls i just installed CWM on my Tablet using this code
fastboot flash recovery recovery.img
then when i was about to test it i accidentally entered this code
fastboot flash boot recovery.img but i was supposed to enter fastboot boot recovery.img
now i can boot to CWM but everytime i boot it goes straight to CWM not to the system
so i tried flashing the boot-root.img using this code again fastboot flash boot boot-root.img (the boot-root.img was provide by superPichu before)
and now my tablet keeps on rebooting =( i can still enter fastboot and CWM any help pls?
What rom was originally on the tablet? You'll have to procure the boot image from that rom and flash it. That or just reinstall the entire rom ...either from fastboot or from cwm. Your data should be intact.
Sent from my SHIELD Tablet using Tapatalk
ailima said:
What rom was originally on the tablet? You'll have to procure the boot image from that rom and flash it. That or just reinstall the entire rom ...either from fastboot or from cwm. Your data should be intact.
Sent from my SHIELD Tablet using Tapatalk
Click to expand...
Click to collapse
thanks so much what i did was to install the zip file again from CWM i tried flashing the boot.img alone but didnt work so yeah flashing the zip did the trick thank you
No worries. Glad you got it sorted.

TWRP - No command

Hi can someone help me
I fastboot installed twrp when I try to reboot to recovery I get a no command and tried the power and volume up but takes to me to stock recovery.
I flashed elemental kernel after install does that wipe twrp or something?
Using Magisk as well
did you do fastboot boot twrp.img and then flash the zip in twrp or did you just try to flash the image file using fastboot flash recovery twrp.zip?
r29 said:
Hi can someone help me
I fastboot installed twrp when I try to reboot to recovery I get a no command and tried the power and volume up but takes to me to stock recovery.
I flashed elemental kernel after install does that wipe twrp or something?
Click to expand...
Click to collapse
You need to fastboot boot twrp image, install twrp-pixel-installer-sailfish-3.0.2-0-RC1, reboot recovery, if you want root, then install SuperSU, reboot.
Tulsadiver said:
You need to fastboot boot twrp image, install twrp-pixel-installer-sailfish-3.0.2-0-RC1, reboot recovery, if you want root, then install SuperSU, reboot.
Click to expand...
Click to collapse
exad said:
did you do fastboot boot twrp.img and then flash the zip in twrp or did you just try to flash the image file using fastboot flash recovery twrp.zip?
Click to expand...
Click to collapse
Thanks for the help problem solved
I was reboot system after fastboot boot twrp.img and installing zip so it didnt give me the option to allow modification

Categories

Resources