Hi Everyone... I Want To Ask How to Install Clock Work Mod Recovery Without PC, And How To Install The newest Or How To Update CWM Recovery. Thanks
Do you have rooted your phone?
Do you know someting about bash / shell / bat files ?
I have rooted phone, but I'm don't know about those shell/bash/bat files...
In some tutorials to install CWM requires you to have a unlocked bootloader and adb to flash things. With root you can do that using Android Terminal Emulator and doing the commands that comonly are in bat files that calls adb
the common should be
dd bs=4096 if=/sdcard/bootloader_unlock.bin of=/dev/ (something)
of course you must have the files extracted in sdcard (the same with recovery)
Ye... I have unlocked bootloader, ok, i try this...
I prepared a thread for this after see this thread. http://forum.xda-developers.com/optimus-l3-l5-l7/general/l5-guide-root-unlock-bootloader-install-t2938943
Related
Hello everyone, I thought it would be good to collect all the steps on returning into stock mode of your Hero into one thread.
Please correct me if anything of the above steps are wrong.
(This guide applies to people that have flashed a custom ROM/radio, rooted their hero and would like to send it for service).
FIRST WAY:
Step 1) Install HTC Sync on your computer.
Step 2) Connect your Hero with your computer.
Step 3) Use this thread to download one of the stock ROMs for your Hero(you need to pick the one that fits for your phone depending if your phone is branded or WWE etc).
Step 4) Run the .exe file you downloaded and flash the stock ROM to your Hero.
Step 5) Download one of the stock Radio's from this thread and use the update.zip method to flash it on your phone.
Step 6) Unroot your phone if it is rooted by following these commands mentioned on this thread:
Open Windows Console and connect Hero with PC
write this:
fastboot boot cm-hero-recovery.img
adb shell mount /system
adb shell rm /system/app/Superuser.apk
adb shell rm /system/bin/su
adb shell reboot
Click to expand...
Click to collapse
SECOND WAY:
The easy way would be to install a custom recovery image, for example the one found here and do a Nandroid backup
of your phone BEFORE flashing a custom rom etc(meaning you will need to do the backup when the phone has the stock rom/radio and is not rooted).
Then if you need to send it for service just do a restore from nandroid backup and you will be set.
Thanks for the Info.Very Helpful
I ran the boot loader unlock exploit successfully. Had troubles flashing recovery. I don't own a computer. Hence my dilemma. Is it possible to flash custom recovery with terminal emulator? I have searched other forums and sites for hours now. I've tried the flash_image command. And just about any other options that I've found. What am I doing wrong? Its it even possible on the RAZR M? Do I have to use fastboot? Any help would be appreciated.
Here are some flashable recoveries. I have not tried them out, but I heard they work.
http://batakang.com/ftp/?dir=devs/mhous33/XT907/recovery-flashable_recoveries
You need to use the dd command and the full /by-name path to the recovery partition in terminal from root shell.
If you download the latest TWRP recovery image for scorpion-mini and rename it to twrp.img for simplicity then place it on the root of the sdcard then you would use the following commands to write the file with dd in the terminal emulator.
su
dd if=/storage/sdcard1/twrp.img of=/dev/block/platform/msm_sdcc.1/by-name/recovery bs=4096
I strongly recommend backing up the current stock recovery first because without access to a PC you may need it to restore yours in the event of a problem.
su
dd if=/dev/block/platform/msm_sdcc.1/by-name/recovery of=/storage/sdcard1/recovery_original.img bs=4096
That will save your stock recovery and you can restore it using the first command and that file as if.
excuse me for my bad english......
hi everybody,
i have rooted g2 with twrp recovery but i don't have back up of stock recovery.
i want to install the new ota upgrade but i read of many problem with custom recovery.
can u help me to give me a guide to restore the stock recovery and where can i find it?
tnx
please help meeeeeeeeee
ulakala said:
excuse me for my bad english......
hi everybody,
i have rooted g2 with twrp recovery but i don't have back up of stock recovery.
i want to install the new ota upgrade but i read of many problem with custom recovery.
can u help me to give me a guide to restore the stock recovery and where can i find it?
tnx
Click to expand...
Click to collapse
If your phone is rooted don't even think to update ota.
If it is not rooted then what is your variant? D80210a, 10b, 10c, 10e?
depending on your variant take a look here: http://downloads.codefi.re/autoprime/LG/LG_G2/D802/Stock_Firmware
Partager.info said:
If your phone is rooted don't even think to update ota.
If it is not rooted then what is your variant? D80210a, 10b, 10c, 10e?
depending on your variant take a look here: http://downloads.codefi.re/autoprime/LG/LG_G2/D802/Stock_Firmware
Click to expand...
Click to collapse
i've root and twrp.......
ulakala said:
i've root and twrp.......
Click to expand...
Click to collapse
rooted = no ota
You will brick your phone.
http://forum.xda-developers.com/showthread.php?t=2432476
Follow this to a T I did this morning and it worked like a charm. Removes root. Make sure you factory reset after because with me having a recovery installed it was bootlooped on the Verizon screen.
Factory reset removes the recovery and makes it out of the box new.
Once you've done that, accept the ota and enjoy!
Keep in mind I am not sure if there is a safe way to root/install a recovery on the new ota
Sent from my VS980 4G using xda app-developers app
Hi,
I'am new on LG G2, after 2 years with HTC EVO 3D (awesome)
my phone is LG-G2 D80210c-HKG
this morning i restored the stock Recovery, and i procedeed as follows:
Got the recovery from http://downloads.codefi.re/autoprime/LG/LG_G2/D802/Stock_Firmware/10b_16G_partitions/recovery.img
1) Backup current recovery
from computer command line:
#push the recovery to the phone
adb push recovery.img /sdcard/stock-recovery.img
# Connect to the phone shell
adb shell
#getting root
su -
cd /sdcard/
# /dev/block/platform/msm_sdcc.1/by-name/recovery is a link to /dev/block/mmcblk0p15 on my phone
dd if=/dev/block/platform/msm_sdcc.1/by-name/recovery of=recovery-twrp-mmcblk0p15.img
2) Wrote recovery
dd if=/sdcard/stock-recovery.img of=/dev/block/platform/msm_sdcc.1/by-name/recovery
3) testing
from computer command line:
adb reboot recovery
To reboot, press power button 10s
4) Restoring twrp recovery
from computer command line:
# Connect to the phone shell
adb shell
#getting root
su -
cd /sdcard/
dd if=recovery-twrp-mmcblk0p15.img of=/dev/block/platform/msm_sdcc.1/by-name/recovery
I don't know if i'll can write OTA firmware in the future, but i think so ...
Sincerely,
fxjumper said:
Hi,
I'am new on LG G2, after 2 years with HTC EVO 3D (awesome)
my phone is LG-G2 D80210c-HKG
this morning i restored the stock Recovery, and i procedeed as follows:
Got the recovery from http://downloads.codefi.re/autoprime/LG/LG_G2/D802/Stock_Firmware/10b_16G_partitions/recovery.img
1) Backup current recovery
from computer command line:
#push the recovery to the phone
adb push recovery.img /sdcard/stock-recovery.img
# Connect to the phone shell
adb shell
#getting root
su -
cd /sdcard/
# /dev/block/platform/msm_sdcc.1/by-name/recovery is a link to /dev/block/mmcblk0p15 on my phone
dd if=/dev/block/platform/msm_sdcc.1/by-name/recovery of=recovery-twrp-mmcblk0p15.img
2) Wrote recovery
dd if=/sdcard/stock-recovery.img of=/dev/block/platform/msm_sdcc.1/by-name/recovery
3) testing
from computer command line:
adb reboot recovery
To reboot, press power button 10s
4) Restoring twrp recovery
from computer command line:
# Connect to the phone shell
adb shell
#getting root
su -
cd /sdcard/
dd if=recovery-twrp-mmcblk0p15.img of=/dev/block/platform/msm_sdcc.1/by-name/recovery
I don't know if i'll can write OTA firmware in the future, but i think so ...
Sincerely,
Click to expand...
Click to collapse
Hi Everyone
Can I flash this http://downloads.codefi.re/autoprime/LG/LG_G2/D802/Stock_Firmware/10b_16G_partitions/recovery.img stock recovery on my d80210e ?
And if it possible... does this method of flashing full wipe the device? (and internal memory) ?
Hi there,
this is my first post bu I have been playing with my LG L5 e610v for long time. I have had installed CyanogenMod 10.1, 10.2 and 11.
This last time, I came back to the stock rom and now is impossible for me to boot into CWM.
I have tried:
Installing a KDZ with a rooted stock rom with CWM
Copying using adb and dd command many differents CWM images (6.0.28, 6.0.4.7)
Using rommanager app
but always the result is the same: I boot to recovery and it gets stuck in the LG logo. I have to switch off and switch on again and the stock ROM starts again, but no way to boot CWM.
I have tried even overwritting emmc_appsboot.img, but no results.
Please, could you help me? I need CWM for installing CyanogenMod again.
try this,extract cwm and copy the image file to your internal sd card,open terminal emulator and type following line
dd if=/sdcard/recovery.img of=/dev/block/mmcblk0p17
than enter
after this type reboot recovery and your phone reboots to it
It worked!! But I cannot understand... why it works using the terminal emulator and not using adb??
Thank you very much!
maybe anything was wrong with installer script or something,glad to see its solved.greeetz
I really dont understand. copying the img using dd works only 1 time. The second time, If I tried to boot (using key combination or writing reboot recovery in the terminal emulator) it gets stuck again in the LG logo. I have to copy again the image for start CWM again...
Any ideas why this is happening?
have u tested with format system before flash cwm,maybe there is a weird rest from an programm or something which blocked,but i never have see it?
After a hundreds of removes and installations, formatting and everything now is working fine. I cannot say what solved the problem, but definitely using terminal emulator was a huge step hehe
thanks!
great,now you can start to flash custom roms,the journey begins........
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.