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.
Related
Hi guys. I published a step by step guide for all the newbies (I had a tough time the first time. Slightly different combination but it works! Also flashed the custom recovery image!
http://ilikemygooglephone.com/2010/...-and-root-google-nexus-one-mac-windows-linux/
This tutorial on rooting and flashing the RA recovery rom is THE BOMB!
Followed all the steps and now I too have gone to the dark side, and eaten some cookies....
Nice work.
Great! Love it!
This how I REroot Android in my N1.
Needs:
1) RA recovery image v2.0
2) fastboot
3) adb
1) Set to bootloader
Code:
adb reboot-bootloader
2) Boot RA-recovery 2.0
Code:
fastboot boot /path/to/recovery-RA-nexus-v2.0.0.img
Yes, it only boot the recovery image in memory.
2a) If you have RA already, then just boot the recovery
3) RA: Mount -> mount /system
4) Change permission /system/bin/su to 4755
Code:
adb shell 'chmod 4755 /system/bin/su'
5) Reboot, and enjoy your rooted Android.
Tested, on FRG83D, FRG83G and GRI40 stocks
Good luck.
Thank you.
Does it have to be 2.0.0? or can it be any of the RA recoveries above 2.0.0?
bahathir said:
This how I REroot Android in my N1.
Needs:
1) RA recovery image v2.0
2) fastboot
3) adb
1) Set to bootloader
Code:
adb reboot-bootloader
2) Boot RA-recovery 2.0
Code:
fastboot boot /path/to/recovery-RA-nexus-v2.0.0.img
Yes, it only boot the recovery image in memory.
2a) If you have RA already, then just boot the recovery
3) RA: Mount -> mount /system
4) Change permission /system/bin/su to 4755
Code:
adb shell 'chmod 4755 /system/bin/su'
5) Reboot, and enjoy your rooted Android.
Tested, on FRG83D, FRG83G and GRI40 stocks
Good luck.
Thank you.
Click to expand...
Click to collapse
A question for you, if it's possible to simply just change the permission of the su file on the phone, why do most auto root zip's come with an su file of their own?
Could they not just run the script above?
this whole procedure thing ... do stock users like myself lose anything? Like, does it wipe data or does it simply root and nothing at all changes?
You can never tell with these procedures... half wipe the phone...
I haven't tested it, but from the steps listed above (by bahathir) you won't lose any data.
All he's doing is getting you to boot into fastboot mode (power on the phone while pressing the trackball), and then loading the custom recover into temporary memory.
Then, the system folder is mounted and the required permissions are applied to the su file. Once that's done, you reboot your phone and nothing else changes.
The question that I had above though, is that I've not seen this method used before. Most one-click root methond replace the su file (requiring you to flash a zip file from custom recovery).
ahh too bad it doesn't work. maybe a 2.3.3 thing, but I just tried unlocking my bootloader and it says I'm missing AdbWinApi.dll from my PC ... but it's clearly there.
I have the most up-to-date Android SDK packages. I've used them before to root my nexus without a hitch...
SU should be present on the system, and the method above takes it for granted. Thus it's for RErooting. Rooting methods bring the SU - they don't care if there's one on the system, assuming that there isn't.
On the other hand, I'm completely unsure that "fastboot boot recovery.img" will work on custom image and locked bootloader. If it's the case - this is the most overlooked and bulletproof rooting method for Nexus. But I doubt it's the case.
Here's a n00b question. I have an unlocked boot loader and had previously rooted my phone using superoneclick. I wiped all the data before moving to stock gingerbread since I was on CM7 nightlies before. So there is no "su" in my phone. I get the obvious error:
c:\android-sdk-windows\platform-tools>adb shell 'chmod 4755 /system/bin/su'
/sbin/sh: chmod 4755 /system/bin/su: not found
when I try to run the steps listed here. Any ideas how to get the 'su' on my phone?
I guess you're executing "rerooting guide". Well, you can stop now, since there is no SU.
Flash it on your phone. That would be the obvious solution. Running unlocked bootloader and custom recovery, not really hard to do.
When you're doing things you don't fully understand, sometimes you go in extremely awkward ways to accomplish simple tasks. Having unlocked bootloader, why are you bothering with those guides? Reboot to fastboot, flash custom recovery, flash SU package in recovery, reboot. That would be all. Hard? not really.
Jack_R1 said:
I guess you're executing "rerooting guide". Well, you can stop now, since there is no SU.
Flash it on your phone. That would be the obvious solution. Running unlocked bootloader and custom recovery, not really hard to do.
When you're doing things you don't fully understand, sometimes you go in extremely awkward ways to accomplish simple tasks. Having unlocked bootloader, why are you bothering with those guides? Reboot to fastboot, flash custom recovery, flash SU package in recovery, reboot. That would be all. Hard? not really.
Click to expand...
Click to collapse
Thanks Jack! Can you point me to an su package that I can safely flash with gingerbread?
Sent from my Nexus One using XDA App
I found the package nexus-addon-0.1-signed.zip while searching for 'su' packages to root an unlocked nexus one on this guide http://forum.xda-developers.com/showthread.php?t=636795 . Will it be safe to flash this on a stock gingerbread?
aliezad said:
I found the package nexus-addon-0.1-signed.zip while searching for 'su' packages to root an unlocked nexus one on this guide http://forum.xda-developers.com/showthread.php?t=636795 . Will it be safe to flash this on a stock gingerbread?
Click to expand...
Click to collapse
I don't think that zip would work.
I rooted by applying the su.zip provide by dsixda here: http://forum.xda-developers.com/showthread.php?t=968396 (attachment, bottom of first post)
You would need to flash this from custom recovery (I used Amon RA 2+).
Thanks Brownbay! Worked like a charm!
Jack_R1 said:
...I'm completely unsure that "fastboot boot recovery.img" will work on custom image and locked bootloader.
Click to expand...
Click to collapse
Unfortunately this won't work on a locked bootloader (at least, not on mine!), so if you've used 'super one click' to root your N1 without unlocking it (like me), this method won't work for you.
I already have had my bootloader unlocked. I'm wondering if this rooting method alone will wipe my phone?
No, it won't wipe your phone.
YES YOU NEED TO READ THIS WHOLE POST, PROB MORE THEN ONCE TO MAKE SURE YOU GOT IT. YES I KNOW HOW LONG IT IS, I TYPED IT!
the reason i call it a semi-brick is because a true brick can bot be recovered with out opening the case.
first go here and read this for info: http://forum.xda-developers.com/showthread.php?t=838484
now since your here im going to assume that its too late.
*things you will need.
copy of cwm recovery. get it here (the manual install link): http://forum.xda-developers.com/showpost.php?p=9145724&postcount=28
adb installed and working.
a known good rom, or nandroid backup. here is one: http://forum.xda-developers.com/showthread.php?t=836042 (use odex one)
a wpthis.ko for YOUR specfic kernel (run (adb shell cat /proc/version) that will tell you what kernel you have)
*first thing we need to know is, are you s-off or s-on now?
if your s-off just boot into clockwork mod recovery, wipe the phone and flash a known good rom and be done with it. if you dont have cwm recovery installed. boot into fastboot (vol down+power) you must have the sdk/adb installed and working, and type fastboot flash recovery LocationOfRecovery.img (where LocationOfRecovery.img= where you have the recovery, ie c:\android\recovery.img). once thats installed follow instructions above.
*if you are s-on:
will the phone boot into android? if so your not bad off.
if you want to unroot to return the phone, follow the unroot thread here: http://forum.xda-developers.com/showthread.php?t=835971
if you dont want to unroot then you have a couple of different options. if you have cwm recovery still installed, just follow instructions above and flash a known good rom. ive been told that boot.img (kernel) wont flash if you are s-on. the way to fix this (temporarily) is boot into recovery, but before you flash run these commands:
(put wpthis.ko in sdk folder)
adb remount
adb push wpthis.ko /data/local/wpthis.ko (specific for your kernel)
adb shell
# insmod /data/local/wpthis.ko (should get same function not implemented error as when u rooted first time)
then proceed to flash the rom. once booted into android skip down to, "now to get back to s-off"
*if you have stock or eng-recovery installed.
will the phone attempt to boot android at all? where is it stuck at?
a good min after it starts to try to boot, type these commands:
adb remount
adb shell
if you can get in shell then theres still hope. back out shell for a second and start here:
put the cwm recovery.img and wpthis.ko in your sdk folder
adb remount
adb push wpthis.ko /data/local/wpthis.ko (specific for your kernel)
adb push recovery.img /data/local/recovery.img
adb shell
# insmod /data/local/wpthis.ko (should get same function not implemented error as when u rooted first time)
# dd if=/data/local/recovery.img of=/dev/block/mmcblk0p21 (now wait a min or 2 to give it time to finish)
#sync (give it another min or to just to be safe)
#reboot recovery
at this point you should be in cwm recovery. follow instructions above for flashing with s-on.
*if you cannot get into shell while booting, but have eng-recovery installed, there might be some options.(however this is all theory)
boot into recovery-
if you are on linux using adb, you can try taking sh from /system/bin folder of any custom rom, chmod 0755 it, then push it to /system/bin and adb shell might work.
windows-
boot into recovery.
a system.img compatible with your installed kernel pushed may work. put the system.img into the sdk folder.
adb push system.img /data/block/mmcblk0p25
then reboot and see where you are. if that dont work, grab the modified miscnew.img here: http://www.4shared.com/file/pUPfrGi-/mmcblk0p17.html
rename it misc.img put it in sdk folder and
adb push misc.img /dev/block/mmcblk0p17
then reboot into bootloader with PC10IMG.zip on root of sdcard and it should run though. if it does your fully stock and get to start all over again.
*if you cannot get into shell, and you have stock recovery, im sorry your pretty screwed. as of right now the only thing thats gonna bring it back is a full img/update signed from htc thats equal to or higher then the version currently on the phone. (well and jtag of course)
*well now you've done one of the steps above. your booted into android, you have perm root, and cwm recovery installed, just still s-on. dont worry your almost there!
first take that wpthis.ko for you kernel and push it, and the eng hboot.
adb push wpthis.ko /data/local/
adb push hboot-eng.img /data/local
then from adb shell, or terminal root prompt:
# insmod /data/local/wpthis.ko (again you should get the function not implemented error)
NOW REMEMBER THIS NEXT STEP COULD MEAN DEATH FOR YOU G2 IF TYPED WRONG, AND AFTER ALL THIS HARD WORK!
# dd if=/data/local/hboot-eng.img of=/dev/block/mmcblk0p18
wait a few mins to be sure its done.
# sync
wait a few more just cause.
reboot, you should now be s-off, cwm recovery installed, and free to do whatever you want. just dont go screwing it up again
* as new methods are discovered, or ones here are proven wrong, i will update as necessary. as of the writing post, 2 devices that i know of have been saved!
good luck!
wpthis.ko for bacon bits.03 kernel: http://www.4shared.com/file/OAcd1bix/wpthis-263221-cyanogenmod.html
Hi i made this lok version of cwm touch recovery img so you can now flash it using loki
this recovery is not auto loki so you will need to flash loki_doki.zip
to roms without loki installed
Download the files below
extract cwmtouchlok.zip
use the following adb shell/terminal commands to flash using loki
Code:
adb push recovery.lok /data/local/tmp/
adb push loki_flash /data/local/tmp/
adb shell
su
chmod 755 /data/local/tmp/loki_flash
/data/local/tmp/loki_flash recovery /data/local/tmp/recovery.lok
once done you will have successfully installed CWM Touch Recovery on your AT&T Galaxy S4
loki over CMW
nelson1345 said:
Hi i made this lok version of cwm touch recovery img so you can now flash it using loki
this recovery is not auto loki so you will need to flash loki_doki.zip
to roms without loki installed
Download the files below
extract cwmtouchlok.zip
use the following adb shell/terminal commands to flash using loki
Code:
adb push recovery.lok /data/local/tmp/
adb push loki_flash /data/local/tmp/
adb shell
su
chmod 755 /data/local/tmp/loki_flash
/data/local/tmp/loki_flash recovery /data/local/tmp/recovery.lok
once done you will have successfully installed CWM Touch Recovery on your AT&T Galaxy S4
Click to expand...
Click to collapse
My device is i377, rooted and with CMW 6.0.3.2. Do I need Loki? will it (safely) install over CWM?
Be gentle with this 74 yr noobie:>)) (also speak slowly. thanks
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) ?
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.