Anyway to flash CM boot.img using terminal emulator? - Sony Cross-Device General

I extracted boot.img on the root of the device and used the following commands in terminal emulator:
Su
Mount /sdcard
Flash_image boot /sdcard/boot.img
It says: flash_image: not found
LE: and if it's not posibile, can I just normally flash CM via recovery?

lvnatic said:
I extracted boot.img on the root of the device and used the following commands in terminal emulator:
Su
Mount /sdcard
Flash_image boot /sdcard/boot.img
It says: flash_image: not found
LE: and if it's not posibile, can I just normally flash CM via recovery?
Click to expand...
Click to collapse
Or use rashr https://play.google.com/store/apps/details?id=de.mkrtchyan.recoverytools
Sent from my D5803 using XDA Free mobile app

shafiq01 said:
Or use rashr https://play.google.com/store/apps/details?id=de.mkrtchyan.recoverytools
Sent from my D5803 using XDA Free mobile app
Click to expand...
Click to collapse
I tried but it only has options for kernel and recovery, not boot.img

Download the "Flash_image" binary, place in system /xbin, set permissions and try again.

It worked with rashr in the end. Boot.img is apparently the kernel, which I wasn't aware of. Many thanks for all the responses.

Related

Need help changing recovery image.

Okay so I used the one click method to root my phone. Currently I am running the cyan 4.0.2 with the cyan 1.4 recovery. I also upgraded my spl to 1.33.2005. My question is how can I go about changing my cyan 1.4 recovery to the updated amon rav1.2.1?
how to use the android software developer kit to
http://forum.xda-developers.com/showthread.php?t=502010
directions are in the thread for the recovery image in question on how to apply after you get the sdk set up
http://forum.xda-developers.com/showthread.php?t=530492
You don't need SDK to flash new recovery image. This is what I did:
Download the recovery image, copy it to the root folder of the SDcard and rename it to recovery.img
Open Terminal:
Code:
su
flash_image recovery /sdcard/recovery.img
Done.
Thanks. Your way seems easier. Ill try that first. Thanks for your help.
tengtengvn said:
You don't need SDK to flash new recovery image. This is what I did:
Download the recovery image, copy it to the root folder of the SDcard and rename it to recovery.img
Open Terminal:
Code:
su
flash_image recovery /sdcard/recovery.img
Done.
Click to expand...
Click to collapse

[help][L7] Secure booting error on recovery?

Hi guys. I have a small problem with my LG L7.
My phone had stock rom with prerooted v10k rom. (no unlocked bootloader,no cwm)
I tried to flash the bootloader from the L7CWM.zip bat,and there was no error.
I didn't flash the recovery from the .bat,i installed it from ROM Manager and everything well.
Now the phone works,but if i try to enter recovery i get a this error:
Secure booting error!
Cause: boot certification verify
Why? I thought the bootloader was unlocked.
ROM Manager says I have the ClockworkMod 6.0.2.8,but I can't boot on it.
Solved. I just reflashed the bootloader 2 times,installed the cwm from the .bat and then again from ROM Manager.
Now everything works very well,i was just stupid trying to install the recovery from ROM Manager directly
Nik2468 said:
Solved. I just reflashed the bootloader 2 times,installed the cwm from the .bat and then again from ROM Manager.
Now everything works very well,i was just stupid trying to install the recovery from ROM Manager directly
Click to expand...
Click to collapse
Ive got the same problem.
What exactly did you do? Could you describe whole process step by step?
Thanks
Have same problem.Had version v20d, flashed cwm and cianogen mod, but had no signal.
Cant install v10k Homero2 via kdz , always get error wparam100 lparam1002 .
Tried with stock europian v10k but same error.
Can instal normaly v20D, but now cant get to CWM secure booting error
Can normaly flach and use v20D but i want to go to cianogen mod.
What should I do ?
SOLVED
Again installed cwm, on other computer and made it.
Then instaled V10K but Russian version via KDZ, than via CWM installed CM10 and all works well for now.
I dont know what should I do.
I have v10K rooted, downloaded CWM package, pluged my L7 via USB cable, USB debbugging activated,
then I run "flash_bootloader.bat", something blinks on PC screen (cant see or read because it is very quick), and nothing happens.
Restarted the phone, and nothing. Trying also "flash_recovery.bat", the same result.
Doing something wrong?
Help, please..
Run flash_bootloader script in cmd, then read what it says.
Sent from my Sensation using xda app-developers app
thanks, but
cmd window disappear very quick.. cant see or read anything
First open cmd (from 'Run' in menu Start) then run this script via cmd.
Sent from my HTC Sensation Z710e using xda app-developers app
CMD says:
adb push emmc_appsboot.bin /data/local/tmp/emmc_appsboot.bin
cannot stat 'emmc_appsboot.bin': No such file or directory
c:\l7cwm\adb shell su -c "dd if=/data/local/tmp/emmc_appsboot.bin of=/dev/block/mmcblk0p5 bs=4096"
/data/local/tmp/emmc_appsboot.bin: cannot open for read: No such file or directory
but "emmc_appsboot.bin" file realy is in directory L7CWM..
SO, WHAT NOW ??
needhelp_l7 said:
CMD says:
adb push emmc_appsboot.bin /data/local/tmp/emmc_appsboot.bin
cannot stat 'emmc_appsboot.bin': No such file or directory
c:\l7cwm\adb shell su -c "dd if=/data/local/tmp/emmc_appsboot.bin of=/dev/block/mmcblk0p5 bs=4096"
/data/local/tmp/emmc_appsboot.bin: cannot open for read: No such file or directory
but "emmc_appsboot.bin" file realy is in directory L7CWM..
SO, WHAT NOW ??
Click to expand...
Click to collapse
It needs to be in /data/local/tmp/ directory.
Sent from my HTC Sensation Z710e using xda app-developers app
ok, i moved it to that directory.. NOW CMD SAYS:
c:\l7cwm\adb shell su -c "dd if=/data/local/tmp/emmc_appsboot.bin of=/dev/block/mmcblk0p5 bs=4096"
64+1 records in
64+1 records out
264960 bytes transferred in 0.693 secs (382337 bytes/sec)
c:\l7cwm\adb reboot
THAT IS IT ?? ive got unlocked bootloader ??
EDIT == YES !! SUCCESS ! tested, it works!
thank you (mrjabol61) for helping me )
How did you solve the problem?
I do not have any /data/local/tmp/ directory! Where should I find it?
arkantos91 said:
How did you solve the problem?
I do not have any /data/local/tmp/ directory! Where should I find it?
Click to expand...
Click to collapse
Read from post #9 to #11
Sent using Tapatalk
Sorry I don't understand.
I also tried to create manually those directories in the phone and put the apps boot.bin file in it... but the same error shows in cmd .
Are there any other ways to unlock the bootloader?
Inviato dal mio Nexus 5 utilizzando Tapatalk

[Q] CWM installation after towelroot

Hey!
I have tried installing cwm after doing towelroot. I am using terminal and used the command:
Code:
flash_image recovery /sdcard/recovery.img
but it ends up doing nothing. I have the proper binaries and I did chmod 777 so the command should work. But when I do:
Code:
reboot recovery
I boot into Android recovery 3e. Also after executing the command should I get any output or should it go straight to next line? Any help would be appreciated.
We have a locked bootloader which really prevents the us from replacing the stock kernel and recovery. The only working recovery we have is safestrap. Read more on the all things AT&T thread.
Sent from my SGH-I337 running GPE using Tapatalk
Oh wow can't believe i forgot that.

Root, TWRP 2.8.7.0 Recovery & Flasher, insecure boot.img blu studio 5.0C d536

This is for blu studio 5.0 C d536u
This is a guide to quickly root, flash twrp recovery and insecure boot.img.
First you need to have your fastboot/ adb working.
Download
https://www.androidfilehost.com/?fid=24052804347766981
Code:
adb reboot bootloader
fastboot flash boot boot.img
fastboot reboot
adb remount
adb push UPDATE-SuperSU-v2.46.zip /sdcard
adb push root /system/xbin
adb shell
chmod 755 /system/xbin/*
flash_twrp
reboot recovery
In recovery naigate to UPDATE-SuperSU-v2.46.zip and install.
Credits
@Chainfire
super user package update-supersu-vxxx.zip
https://download.chainfire.eu/696/SuperSU/UPDATE-SuperSU-v2.46.zip
Will this work on the d535u? Currently have CWM with SuperSu Free v2.49.
bobl61 said:
Will this work on the d535u? Currently have CWM with SuperSu Free v2.49.
Click to expand...
Click to collapse
I have no ideal.
Sent from my BLU STUDIO 5.0 C using Tapatalk
New update is available for this phone, same twrp recovery and root method works on update.
v14 is the latest version for this phone.
Sent from my BLU STUDIO 5.0 C using Tapatalk
OH MY GOT!
vampirefo said:
This is for blu studio 5.0 C d536u
This is a guide to quickly root, flash twrp recovery and insecure boot.img.
First you need to have your fastboot/ adb working.
Download
https://www.androidfilehost.com/?fid=24052804347766981
Code:
adb reboot bootloader
fastboot flash boot boot.img
fastboot reboot
adb remount
adb push UPDATE-SuperSU-v2.46.zip /sdcard
adb push root /system/xbin
adb shell
chmod 755 /system/xbin/*
flash_twrp
reboot recovery
In recovery naigate to UPDATE-SuperSU-v2.46.zip and install.
Credits
@Chainfire
super user package update-supersu-vxxx.zip
https://download.chainfire.eu/696/SuperSU/UPDATE-SuperSU-v2.46.zip
Click to expand...
Click to collapse
I have been ALL DAY..... like literally ALL DAY [ok I totally took a long as break] ---But I've been toiling to install it with out KingRoot,. (as I did once before with my HTC Desire 510) However I couldn't remember how exactly, even in theory. But just now, I kid you not, I have finished rooting but with KingRoot......the FIRST thing that hits me in the face tho. ???? this page... WTF?!?!!?
You guy are incredible at what you do... but whats most incredible is your love for community and helping your neighbor. May YOUR God grant you the desires of your heart with out ever losing or compromising Understanding and Wisdom.
Thanks again, your one of my hero's
Thanks man, you are the best.

Root OnePlus 2 with TWRP or OTA stock ?

Hi,
I've got a new OnePlus 2 phone.
Do i really have to flash TWRP in order to root my phone using SU tool ? or i can stay with the OnePlus 2 original stock ?
What are the advantages of TWRP?
Best,
Jonathan
rose10 said:
Hi,
I've got a new OnePlus 2 phone.
Do i really have to flash TWRP in order to root my phone using SU tool ? or i can stay with the OnePlus 2 original stock ?
What are the advantages of TWRP?
Best,
Jonathan
Click to expand...
Click to collapse
You can either FLASH TWRP recovery or BOOT into it: the difference is that when you boot into TWRP, it's temporary, which means when you've done your stuff and you reboot into the system, stock recovery will be present. To do so, boot into bootloader:
Code:
adb reboot-bootloader
and instead of:
Code:
fastboot flash recovery recovery.img
which FLASH the recovery, do:
Code:
fastboot boot recovery.img
which lets BOOT into TWRP.
Then you'll be able to flash SuperSu.V.Xx.zip beforehand pushed into your device.
Benefit of TWRP?
Full backup / restore, change file format, flash zip files, etc, etc.
For the OTA, you can still flash them, but you'll have to flash the stock ROM then the incremental zip if you FLASH TWRP or the full OTA update zip file from here.
Hi again,
After rooting my device....i can't copy a sound file to my /system/media/audio/ui..... How can i change the library permission ?
rose10 said:
Hi again,
After rooting my device....i can't copy a sound file to my /system/media/audio/ui..... How can i change the library permission ?
Click to expand...
Click to collapse
Which method? ADB shell? With an app?
If you use ADB shell / Terminal Emulator, you need to mount it into Read-Write mode.
To do so:
(
If you use ADB
Code:
adb shell
)
Code:
su
Code:
mount -o remount,rw /system
Then you can move your file.
Or if you use an app (ES File Explorer for example), you need to enable Root Mode: swipe from left, scroll down and activate "Root Explorer" case.
A thanks is always appreciated.

Categories

Resources