[Q] Root permissions in Recovery: How To?? - Galaxy S I9000 Q&A, Help & Troubleshooting

I have Root permission in my ROM (Using a DocRambone FroYo ROM). But when I reboot in Recovery mode (blue chars, I think normal recovery from Samsung), and start ADB Shell, the prompt is $ and I have no root permission (everything is denied).
If I reboot in Clockwork Recovery 2.5.1.2 (using ROM Manager), the one with green chars, the Galaxy is isolated and if I try ADB Shell, the result is Device not found...
Before Galaxy I had a Desire... with it, when rooted, I had root permission in Recovery and in normal boot.
How To have root permission available in Recovery too on Galaxy?
I need to do some operation via ADB shell. Or there is a way to flash Clockwork Recovery in the place of the normal Recovery (as I had in my Rooted Desire)?
Thanx

tesking said:
I need to do some operation via ADB shell. Or there is a way to flash Clockwork Recovery in the place of the normal Recovery (as I had in my Rooted Desire)?
Thanx
Click to expand...
Click to collapse
run adb root in recovery from this kernel
PS: I presume its a froyo ROM though.. dont know if there are any kernels supporting this in eclair.

tesking said:
I have Root permission in my ROM (Using a DocRambone FroYo ROM). But when I reboot in Recovery mode (blue chars, I think normal recovery from Samsung), and start ADB Shell, the prompt is $ and I have no root permission (everything is denied).
If I reboot in Clockwork Recovery 2.5.1.2 (using ROM Manager), the one with green chars, the Galaxy is isolated and if I try ADB Shell, the result is Device not found...
Before Galaxy I had a Desire... with it, when rooted, I had root permission in Recovery and in normal boot.
How To have root permission available in Recovery too on Galaxy?
I need to do some operation via ADB shell. Or there is a way to flash Clockwork Recovery in the place of the normal Recovery (as I had in my Rooted Desire)?
Thanx
Click to expand...
Click to collapse
if using ULTK (afaik doc's rom use that), you can type "adb root" on your PC, and the next time you say "adb shell" you'll get root.

sztupy said:
if using ULTK (afaik doc's rom use that), you can type "adb root" on your PC, and the next time you say "adb shell" you'll get root.
Click to expand...
Click to collapse
I tried but without success. If I enter in Recovery (standard one, with blue chars), and I type adb root, the answer is something like "adbd cannot have root privileges in production builds". If I try same command in Clockwork Recovery (started by ROM Manager, reboot in Recovery, the one with green chars), the result is "Device not found".
Ciao!

I think that the right way is to replace original recovery with Clockwork recovery... but how to?

Related

How to simply root FRF85B

Hi all,
Please how to simply root Nexus One?
This tutorial is to hard "
[Tutorial] Root FRF85B/FRF83/FRF72 (T-Mo/AT&T) Without Unlocking (100% Confirmed) "
No superboot.zip available for FRF85B?
Simply root = unlock bootloader. The second tutorial.
superboot.zip has nothing to do with the way of rooting. Rooting needs to bypass device protection to flash a non-certified update. So you either use exploits, or use the built-in protection override (fastboot oem unlock).
Depends on the status of your bootloader really.
If you want to keep it locked then that tutorial is your only hope.
I have unlocked bootloader but no superuser.apk and no Root privilege
About second Tutorial, we need linux....
If you have unlocked bootloader, what's the problem flashing pre-rooted FRF85B?
http://forum.xda-developers.com/showthread.php?t=714184
I have already flashing my Nexus with Unrooted version because i had signature problem with pre-rooted version.
Now to re-install pre-rooted FRF85 version i need Custom Recovery but I need root to install custom recovery...
No way to have superboot.bat to simply rooted my FRF85?
To install custom recovery you only need to flash it via fastboot, since your bootloader is unlocked.
You can also use ROOT_FRF83 file from the "difficult" thread, if I'm not mistaken.
Jack_R1 said:
To install custom recovery you only need to flash it via fastboot, since your bootloader is unlocked.
Click to expand...
Click to collapse
Thank's for your reply.
I will install custom Recovery to flash with pre-rooted version.
I need wipe before flashing with pre-rooted version?
No wipe needed.
About Custom recovery :
Pre-Requirements :
- unlocked bootloader : How to unlock the bootloader.
- root access : Modaco's superboot.
I have install recovery-RA-nexus-v1.7.0.1.img without rooting my nexus and now I have exclamation mark with a little Android...
Ok, did some search for you. Next time try - search button, "FRF85 root".
Reflash the stock recovery back.
Then use this:
http://htcpedia.com/forum/showthread.php?p=67177#post67177
Under "ROOT".
i have re-flash with stock recovery 2 times but still exclamation mark with a little Android.
Ok i push "Vol+" and "power", stock recoveruy appear
apply sdcard:update.zip (update-nexusone-FRF85-root-sig.zip from HTC EPIA)
--> E:signature verification failed..
Installation aborded
What about ROOT_FRF83.ZIP - did you try?
ROOT_FRF83.zip is for locked bootloader... mine is unlocked.
As i see i need linux and to make this command to root my stock FRF85B..
16) Download the following to the root of your SDcard
- recovery-RA-nexus-v1.7.0.1.img: http://rapidshare.com/files/39326736...s-v1.7.0.1.img
- Note: UnMount your SDcard after copying these files, but keep your phone plugged in
17) In your terminal type "adb shell" and hit Enter
18) In your terminal type "su" and hit Enter
- Tip: At this point, it will hang until you choose "Allow" on your phone with the SuperUser app pop-up
- Tip: $ should now be replaced with #
19) In your terminal, type "mount -o rw,remount /dev/block/mtdblock4 /system" and hit Enter
20) In your terminal, type "cat /sdcard/flash_image > /system/bin/flash_image" and hit Enter
21) In your terminal, type "chmod 775 /system/bin/flash_image" and hit Enter
22) In your terminal, type "flash_image recovery /sdcard/recovery-RA-nexus-v1.7.0.1.img" and hit Enter
23) In your terminal, type "rm /system/etc/install-recovery.sh" and hit Enter
24) In your terminal, type "rm /system/recovery-from-boot.p" and hit Enter
Click to expand...
Click to collapse
ROOT_FRF83 is for ANY bootloader. It doesn't care about bootloader.
Download it to your SD card, rename to update.zip and apply. It might not work - in this case, you have nothing to do but to follow the other guide, or wait until someone makes FRF85B superboot for stock ROM and recovery.
The part you've quoted is way past the actual root. Read the thread again, the root ends much earlier.
You need to do steps 1-15, and you need no Linux.
I checked again in Paul's thread, STOCK to CM.
There is NO requirement for root to flash custom recovery through fastboot. Otherwise fastboot wouldn't help any in rooting - think yourself, you need root to flash recovery, and you need recovery to flash root?
Here's a quote from there:
- If you get a Triangle with a ! in the middle alongside an Android for 5+ minutes, you MAY have to remove battery and re-flash recovery (I had to do this once.) (Make absolutely sure that nothing is happening on your phone, as removing the battery when it's doing something can cause a brick.)
So you can try this one and flash AmonRa's recovery again. If it doesn't work, and it turns out that you need Modaco's superboot (which doesn't exist for your version) - then you're back to the second guide.
I have always triangle with a ! after removing batterie, AmonRa's recovery won't appear...
I will wait superboot from paul.
Resolved
Step by Step how to get root from FRF85B stock (with unlocked bootloader) :
- Download AmonRa Custom Recovery and put it where google SDK, Tool folder, is installed.
- Download update-nexusone-FRF85-root-sig.zip and rename it update.zip and put it on the root of your SDCARD
1) Switch off the nexus
2) Hold the Trackball and Power button
3) fastboot devices (to make sure that fastboot "sees" your phone)
4) fastboot flash recovery recovery-RA-nexus-v1.7.0.1.img
5) Don't reboot nexus! just chose "bootloader" from menu, after nexus reboot automaticly, chose recovery
6) AmonRa recovery appear!
7) Apply update.zip
You have root access!
zizouth said:
Resolved
Step by Step how to get root from FRF85B stock (with unlocked bootloader) :
- Download AmonRa Custom Recovery and put it where google SDK, Tool folder, is installed.
- Download update-nexusone-FRF85-root-sig.zip and rename it update.zip and put it on the root of your SDCARD
1) Switch off the nexus
2) Hold the Trackball and Power button
3) fastboot devices (to make sure that fastboot "sees" your phone)
4) fastboot flash recovery recovery-RA-nexus-v1.7.0.1.img
5) Don't reboot nexus! just chose "bootloader" from menu, after nexus reboot automaticly, chose recovery
6) AmonRa recovery appear!
7) Apply update.zip
You have root access!
Click to expand...
Click to collapse
Hey thanks!
I was having the exact same issue & I now have a cyan recovery & root access on the stock FRF85B

How to flash stock recovery.

Hi guys,
I have to send me N1 to htc for fix some problem.
I have RA recovery with lock bootloader, and I want to flash the original, but "fastboot" way doesen't work (signature fail ).
How can i flash it in other way?
Ty
(sry for my eng )
Just flash the stock rom with the recovery image like frf92 original.
evilkorn said:
Just flash the stock rom with the recovery image like frf92 original.
Click to expand...
Click to collapse
How? Through recovery? Because "fastboot" hates me, and won't work.
I'd suggest using a passimg for frf85b and then maybe updating to 91 (or just leave it at 85), you can always re-root when you get it back.
________________________
N1 w/ XDA App
got it, thk to cyanogen wiki
Plug the phone into the computer
Reboot into fastboot by holding TrackBall + Power (you should see three Androids on skateboards and the words 'fastboot USB' in red)
On the computer, open a command prompt cd to the sdk/tools directory (we will assume the SDK is located in C:\android-sdk and the recovery file is in the root of the sdk/tools directory for the following steps)
With the phone connect via USB, open up a cmd prompt
Code:
adb reboot recovery"
Code:
adb devices
​A device name and 'recovery' should be returned
Code:
adb push recovery.img /sdcard/recovery.img
​recovery.img is located on android-sdk/tools dir
Code:
adb shell flash_image recovery /sdcard/recovery.img
​This permanently flashes the recovery.img to your phone, you can now boot into it by holding Vol- while powering on the device
Reboot
nrdmtt said:
got it, thk to cyanogen wiki
Click to expand...
Click to collapse
Thanks for searching!
I hope this encourages other users new to ADB, flashing ROMs, etc. to continue to search after asking for help.
Way to go nrdmtt!!

biggest trouble ever installing 2.2

so back when i had 1.5 on my hero i had no problem at all installing roms. so when i updated to 2.1 stock awhile back i tried to root it and install a rom on it with the command prompt and unevoked method. it got it rooted and when i got to the recovery menu i nanidroid backedup and wiped and installed it. it then got stuck on the htc boot screen so i tried different rom and still would hang on it. so i said screw it and stayed on stock. i then later used the unlock univeral to root it but i can not stand the stock rom it is so slow and lags so i tried the offiical htc update from .6 to .7 to see if it would be faster but once it downloaded and i pressed install it would yet again hang on the htc screen. i cant even make calls with out lagging. so i tried once more to install 2.2 on it with a recovery img. i download rom manger and put froyo on the sd card but it would yet again hang when i click install rom from sd card. what do i do?!!!!!
update: i tried doing it through the teminal but it say flash_recovery not found
so i tried to do it through rom manger and it did the back up and installed it through the recovery menu but once it was done and rebooted it yet again is stuck on the htc boot screen.
help please!
It might b the recovery ur using if your able to boot into any rom access terminal you can get it from the market try to flash a different recovery I recommend. Darchstar RA 1.6 once u download it place it on the root of ur SD card not in any folders / then open up terminal and type su once the # appears type flash_image recovery /sdcard/ recovery- name of recovery. img wen that's done type reboot recovery and you should boot into recovery then try and flash ur rom from there hope this helps good luck
Root-Hack-Mod-Always™
laie1472 said:
It might b the recovery ur using if your able to boot into any rom access terminal you can get it from the market try to flash a different recovery I recommend. Darchstar RA 1.6 once u download it place it on the root of ur SD card not in any folders / then open up terminal and type su once the # appears type flash_image recovery /sdcard/ recovery- name of recovery. img wen that's done type reboot recovery and you should boot into recovery then try and flash ur rom from there hope this helps good luck
Root-Hack-Mod-Always™
Click to expand...
Click to collapse
ill try this when i get home tonite. thanks!
i tried doing it through the teminal but it say flash_recovery not found
so i tried to do it through rom manger and it did the back up and installed it through the recovery menu but once it was done and rebooted it yet again is stuck on the htc boot screen.
I recommend you boot into recovery - wipe your system / cache / dalvik cache and then flash the 2.2 rom of your choice -
if you were just flashing rom after rom without flashing then that could be a lot of your troubles -
also - you mentioned that the recovery file was not found on your sdcard - did you remember to unzip it first before attempting to flash it through terminal emulator? because it wont work otherwise ...
if you have extracted it to the root of your sdcard you shouldnt have any trouble
type
su
flash_image recovery /sdcard/nameofyourrecovery.img
reboot recovery
and you should be good to go - let me know how you do and we'll see if we can't help you further if needed
good luck!
cbwhat said:
i tried doing it through the teminal but it say flash_recovery not found
Click to expand...
Click to collapse
did you type:
su
flash_image recovery /sdcard/yourrecovery.img
or su
flash_recovery like your post shows - because you dont want to do it like that - just checking -
Vandelay007 said:
did you type:
su
flash_image recovery /sdcard/yourrecovery.img
or su
flash_recovery like your post shows - because you dont want to do it like that - just checking -
Click to expand...
Click to collapse
no it i type in
su
flash_image recovery /sdcard/recovery7.img
flash_image not found
cbwhat said:
no it i type in
su
flash_image recovery /sdcard/recovery7.img
flash_image not found
Click to expand...
Click to collapse
you said that you are doing this in a terminal window? (i am assuming that is on the phone) is your phone connected via usb to your computer? is the sdcard mounted by the computer? if it is unplug the usb and try again. if the computer has mounted the sdcard you can't access it from the phone.
i dont have it plugged in when i use the terminal on the phone
cbwhat said:
i dont have it plugged in when i use the terminal on the phone
Click to expand...
Click to collapse
ok just checking.... that was the only thing that i could think of that would stop you from reading the sdcard.
It may sound silly, bt when I do it I always make sure I account for case sensitivity...
Like flash_image recovery /sdcard/RA-Darchstar.img
Have you tried that?
Sent from my HERO200 using XDA App
yep make sure everything that has a capitals in it i capitalized in the terminal
this may sound silly as well.. sometimes when i use adb to push i mistype the location for example: adb push myfile.ext /adcard
everything goes fine until i go to find the file....
don't know though.
i still can't figure out how to install a custom rom.
Try backing up you sd and reformatting it on ur pc then just place the recovery img on your sd and nothing else then try to flash it good luck feel free to pm me I know how u feel man so if I can help I will good luck
Root-Hack-Mod-Always™

Thrill 4G Clockwork mod Instructions for New Rooters

If you are new to rooting your phone, there are simple ways to go about getting clockwork mod onto your LG thrill
You can root it easily with the 1 click root tool (I dont have the link on hand) after installing the LG Drivers from the LG Website.
Then, Download Rootexplorer, Rom manager (which i think is installed with 1 click root along with superuser)
First thing, download the recovery.img here after installing ADB guide is located here
After downloading recovery image, go to your pc's user folder C:\users\yourname and move it to there, that way there is no mistaking its location for adb
Now, on your phone you first need to go into root explorer, go to the /data folder, long click and go to permissions and select all available boxes and also make sure your device is in R/W mode not R/O mode.
Run CMD as administrator and do the following:
adb push recovery.img /data
then type:
SU
(this makes superuser active)
then:
dd if=/data/recovery.img of=/dev/block/mmcblk0p6 bs=4096
then after clockwork is flashed to finalize the settings type:
rm /data/recovery.img
reboot
Presto, Clockwork Mod is installed, remember you can access the clockwork menu via rom manager menu, or 3D+Volume Down +Power releasing the power button when the LG screen appears.
I will soon post onto this, how to update to gingerbread just making sure it works well on my own first. also, working on ICS as well.
Hope this helps anyone who has had trouble with it!
kobos311 said:
If you are new to rooting your phone, there are simple ways to go about getting clockwork mod onto your LG thrill
You can root it easily with the 1 click root tool (I dont have the link on hand) after installing the LG Drivers from the LG Website.
Then, Download Rootexplorer, Rom manager (which i think is installed with 1 click root along with superuser)
First thing, download the recovery.img here after installing ADB guide is located here
After downloading recovery image, go to your pc's user folder C:\users\yourname and move it to there, that way there is no mistaking its location for adb
Now, on your phone you first need to go into root explorer, go to the /data folder, long click and go to permissions and select all available boxes and also make sure your device is in R/W mode not R/O mode.
Run CMD as administrator and do the following:
adb push recovery.img /data
then type:
SU
(this makes superuser active)
then:
dd if=/data/recovery.img of=/dev/block/mmcblk0p6 bs=4096
then after clockwork is flashed to finalize the settings type:
rm /data/recovery.img
reboot
Presto, Clockwork Mod is installed, remember you can access the clockwork menu via rom manager menu, or 3D+Volume Down +Power releasing the power button when the LG screen appears.
I will soon post onto this, how to update to gingerbread just making sure it works well on my own first. also, working on ICS as well.
Hope this helps anyone who has had trouble with it!
Click to expand...
Click to collapse
All of this is already posted as is the instructions on how to update to gingerbread.
i have install CWM by as your guide. but when i use Rom Manager to Back up , message pop up that install CWM first to complete this action. i am new to these things.
Thanks

[Q] HTC Hero Flashing Problem

I have an MTS CDMA HTC Hero, and I'm un able to put a custom recovery image on. I went into that HBOOT menu and at the top it says "S-ON" and I was reading that it needs to say "S-OFF" in order for me to put a custom recovery like Clockwork Mod onto it. My phone is rooted, I used z4root. I have no idea how to put the custom recovery on. And I cannot find the free version of ROM Manager in the market, and I tried the appbrain method and putting the .apk on my sd card method and nothing is working
Any help would be appreciated
Thanks!
xcolester5x said:
I have an MTS CDMA HTC Hero, and I'm un able to put a custom recovery image on. I went into that HBOOT menu and at the top it says "S-ON" and I was reading that it needs to say "S-OFF" in order for me to put a custom recovery like Clockwork Mod onto it. My phone is rooted, I used z4root. I have no idea how to put the custom recovery on. And I cannot find the free version of ROM Manager in the market, and I tried the appbrain method and putting the .apk on my sd card method and nothing is working
Any help would be appreciated
Thanks!
Click to expand...
Click to collapse
Our phone does not require S-OFF to flash a custom recovery. When I get to a computer I'll upload a recovery.img for you to download. Until then download Terminal Emulator and Busybox Installer. With Busybox Installer open it and install busybox
私のEVO 3Dから送信される。
there should be aman ra or an older recovery in the wiki
Whenever I put my hero into recovery mode I also get this red exclamation mark with a phone beside it. Is that because I don't have a custom recovery installed on the phone or?
And I'm also not too sure how to install a custom recovery on the phone.
Flash recovery using: ADB
NOTE: This method will work while you are booting into the current recovery on the phone.
1.Download the ClockworkMod Recovery: HeroC
2.Copy the recovery.img to root of the SD card.
3.Boot the phone into recovery.
4.Open command prompt, cd to the Android SDK directory & type the following commands:
adb shell
mount /sdcard
flash_image recovery /sdcard/"name of recovery".img
reboot recovery
5.Your phone should now reboot into the ClockworkMod Recovery (orange text for 3.0+).
Flash recovery using: Terminal Emulator Note: Requires s-off, otherwise you'll recieve "out of memory" errors.
1.Download the ClockworkMod Recovery: HeroC Download Optimus V Download.
2.Move recovery.img to root of the SD card.
3.Open the Terminal Emulator on the phone & type the following commands:
4.:
su
flash_image recovery /sdcard/"name of recovery".img
reboot recovery
5.The phone should now reboot into the ClockworkMod Recovery (orange text for 3.0+).
Whenever I type in the first code I get "error: device not found" and I have my phone in recovery mode
do you have android sdk installed on your computer, if no , install it. if yes, open a command prompt and type,
cd C:\android-sdk-windows\tools
next type:
adb devices
it should list your device
next type:
adb shell
you should get a # sign
then procede from there
or try the terminal emulator method,,,much easier. you can get "terminal emulator " from android market...good luck
whenever I change my directory to the tools folder ADB doesn't work, but when I change it to the "Platform-Tools" folder ADB works.
Sorry for being such a pain-in-the-butt, but I'm new to this whole rooting stuff.
What's the terminal emulator method?
I was trying to do this method
"Type in the following commands:
adb push recovery-clockwork-2.5.0.7-heroc.img /sdcard/recovery-clockwork-2.5.0.7-heroc.img
adb shell
su
cd /sdcard/
flash_image recovery recovery-clockwork-2.5.0.7-heroc.img
reboot recovery"
but that doesn't seem to be working for me either, that's where I get the "Flash_Image: not found" error

Categories

Resources