Flashing boot.img with terminal emulator - Xperia Z Q&A, Help & Troubleshooting

Hi
I'm on pacman 0726 and I'm trying to flash the boot.img from the 0716 build.
I did flash_image recovery /sdcard/boot.img
But it says Failed with error: - 1
I compared the md5's so the file is not corrupted. I can't use fastboot because I don't have access to a computer for a couple of days. Thanks for any input!

What if you create a new flashable zip with the 0716 img inside the 0726 zip, overwriting previous img file? And then flashing the modded zip on recovery.

DrKrFfXx said:
What if you create a new flashable zip with the 0716 img inside the 0726 zip, overwriting previous img file? And then flashing the modded zip on recovery.
Click to expand...
Click to collapse
I can't because 0726 has no recovery :/

Did you typed:
su
mount/sdcard
flash_image boot /sdcard/boot.img
Sent from my C6603 using xda premium

Related

Extracted Boot Animation

Guys
I've extracted the boot animation from nprussell's VillainROM 5.1 because I think it's much better than the one on VillainROM 5.22, but I can't flash it.
It's a zip file but when I use the system recovery tool to flash it, I'm told there's no signature and verification failed.
How can I get around this?
I've attached the ZIP file.
Okay, managed to sign it using the below link, but I don't have a boot script..! Tut!
http://forum.xda-developers.com/showthread.php?t=656536
sonnysoul said:
Guys
I've extracted the boot animation from nprussell's VillainROM 5.1 because I think it's much better than the one on VillainROM 5.22, but I can't flash it.
It's a zip file but when I use the system recovery tool to flash it, I'm told there's no signature and verification failed.
How can I get around this?
I've attached the ZIP file.
Click to expand...
Click to collapse
Just push it with adb
Code:
adb remount
adb push bootanimation.zip /system/media/
tristan202 said:
Just push it with adb
Code:
adb remount
adb push bootanimation.zip /system/media/
Click to expand...
Click to collapse
Worked a treat, mate.
Cheers!
P.S. Really liking your theme for VillainROM. Keep it up!

Restore stock recovery (FRF91)

Guys, I need some help. I rooted with Androot and flashed PSGroove with ROM Manager. Now I need to flash the stock recovery back.
I followed a guide (cant post link) but I get "error: cannot load recovery.img", I don't want to touch the ROM because it's stock.
Anyway, where can I find stock FRF91 recovery.img?
Also, there is no install-recovery.sh in system/etc/ and I didn't delete it, where can I get it too?
Thanks.
Download a stock FRF91 image, extract the ZIP, you'll see recovery.img.
I downloaded around 3 stock FRF91's and none included recovery.img
I need it too...Where can I find this stock recovery.img ?
thx for help
i have massive problems restoring stock recovery.img on frf91 nothing works ...
i re enabled install-recovery.sh started it ... did not work ---
downloaded the stock recovery.img
/mnt/sdcard $ md5sum recovery.img
md5sum recovery.img
336f05884ade218f2a0932df9bd770a2 recovery.img
flash_image it .. did not worked ... any help ?
Restore the two files you deleted when you rooted:
/system/etc/install-recovery.sh
/system/recovery-from-boot.p
Sent from my Nexus One using XDA App
did this already ... invoked the install-recovery.sh manualy ... will post output later ... STILL NO OTA updates :/

[Q] help needed..!!! how to remove colckwork image

need help removing clockwork image and install stock image... pls help..!!!
alanjayakar said:
need help removing clockwork image and install stock image... pls help..!!!
Click to expand...
Click to collapse
Get a stock RUU.
Extract the ROM.zip file from the %TEMP% directory.
Open the ROM.zip file and extract the recovery.img file.
Boot the phone into FASTBOOT USB mode
Flash the recovery.img file using the following command:
fastboot flash recovery [recovery.img filename]

can't find it anywhere how to install recovery

guys... i've searched everywhere... how to install recovery ?
i have root and bootloader unlocked.
everywhere i go i see it's a flashable zip... but how do i install a flashable zip when i don't have a recovery installed ?
i've tried flashing the recovery.img from those zip through fastboot. but no luck... i'm on .283 kernel.
You can use adb commands or Flash Tool!
1)Download any dogo ROM or any flashable kernel zip!
2)Open that zip and find boot.img file.
3)Extract that to a folder.
4)Use adb or flashtool method
adb method:
Install adb drivers and adb cmd
Go to the folder where you extracted the boot.img
Press CTRL + Right Click and click on open with adb
Once adb is opened in that directory,
Type this : fastboot flash boot boot.IMG
Flashtool:
Open flashtool
Click on thunder sign and select fastboot
Select kernel to flash
Navigate to folder where u extracted boot.img
By default *.sin are shown. Change it *.img by selecting it in the menu
Select boot.img and in 10 sec u r recovery will be flashed
found my way....
- download any stock .283 kernel ftf.
- extract the kernel.sin using winrar
- send it over to nut's recovery website
- it generates a flashable recovery.
- extract the boot.img
- flash it using flashtool's fast boot method.
- done
check out nut's recovery... pretty handy script there that generates most of the recovery flashable.
alchemis said:
guys... i've searched everywhere... how to install recovery ?
i have root and bootloader unlocked.
everywhere i go i see it's a flashable zip... but how do i install a flashable zip when i don't have a recovery installed ?
i've tried flashing the recovery.img from those zip through fastboot. but no luck... i'm on .283 kernel.
Click to expand...
Click to collapse
Use this thread http://forum.xda-developers.com/showthread.php?t=2261606

fastboot flash custom rom?

hi guys, all custom roms are flashable. how can i fastboot flash the system partition of any custom rom, lile aicp or others? is that possible someway? tia!
I believe unpacking the system.new.dat from a ROM zip gives you a system.img, which I can only assume is fastboot flashable with fastboot command
can't open the .dat file as archive here with 7zip how could I unpack it?
EDIT: I see now you said "unpack" not uncompress... googling for that now!
FcukBloat said:
can't open the .dat file as archive here with 7zip how could I unpack it?
EDIT: I see now you said "unpack" not uncompress... googling for that now!
Click to expand...
Click to collapse
you can extract your system.new.dat by following this guide
thanks both! I suceeded in installing aicp's system image via fastboot after unpacking system.new.dat with a tool found on xda similar to the one you linked
thanks again!

Categories

Resources