Related
I'M NOT RESPONSIBLE FOR ANY DAMAGE TO YOUR PHONE
Infos
Why Should I root my phone?
Read Here
What can I do with recovery?
With recovery you can principally flash cooked roms, but also other things like make nandroid backups (Internal memory backups), partition your sdcard, fix problems etc...
If you want root there are 2 methods:
First Method
Is very simple, just download and install InstantRoot.apk (attached)
To install this from sdcard you need a file explorer like ASTRO
After the install a notify that says root access gained should appear, if not try second method
Second Method
This will install also recovery
1. Enable Debug USB from Settings->Applications
2. Download flashrec and install it with file manager like ASTRO
3. Download Amon_RA's recovery and put it in your sdcard
4. Run flashrec and tap Backup Recovery
5. Tap in the textbox and write this path:
Code:
/sdcard/recovery-RA-hero-vx.x.x.img
At moment of writing last version is 1.5.2, so the path should be
Code:
/sdcard/recovery-RA-hero-v1.5.2.img
6. Tap Download then flash recoery
7. If you get an error retry from step 3, else continue
8. Turn off your phone and reboot it keeping pressed Home button, recovery should start
9. Connect your phone via usb
10. Download Android SDK and extract all in the same folder
11. Download this and extract it in your sdk/tools folder
12. Open cmd (if you are on windows, if you are on a mac or on linux open terminal) and move to sdk/tools folder using this command
Code:
cd path
13. Give this commands in order
On windows:
Code:
adb shell mount /system
adb push su /system/bin/
adb shell chmod 4755 /system/bin/su
adb push Superuser.apk /system/app/
adb shell umount /system
adb shell reboot
On linux/mac
Code:
./adb shell mount /system
./adb push su /system/bin/
./adb shell chmod 4755 /system/bin/su
./adb push Superuser.apk /system/app/
./adb shell umount /system
./adb shell reboot
14. Now you have root access on your phone
If you want recovery:
Just follow root's second method to the step 7
Flashing Custom roms using recovery:
Custom roms are in Zip format, to flash it is really easy once you have recovery.
Once downloaded a rom put it in your sdcard root, then reboot into recovery (Keep home button pressed while turning on your phone)
Now make a wipe going to Wipe->Wipe data, then come back to main menu and go to Flash zip from sd card, select your zip and you're done
Thanks for the guide How does Nandroid backup fit into this?
maybe you need to tell how to downgrade(or a link to a guide )
nice guide, only i have already rooted my phone(2 months ago or something xD)
@Culturelol
nandroid backup is recommeded when you install a new rom, so you can always back to your original/past rom
So i root with this guide, then nandroid and then i can flash the new rom?
One more small question Is there anything special i should know about flashing the radio?
culturelol said:
So i root with this guide, then nandroid and then i can flash the new rom?
Click to expand...
Click to collapse
Yep
culturelol said:
One more small question Is there anything special i should know about flashing the radio?
Click to expand...
Click to collapse
No, only that you can't flash a GSM radio on a CDMA phone and back, if you do this you'll brick your phone
Exit93 said:
Yep
No, only that you can't flash a GSM radio on a CDMA phone and back, if you do this you'll brick your phone
Click to expand...
Click to collapse
Is that done the same way? Boot to recovery and then flash the radio? And is this done before or after wipe / install of the new rom?
culturelol said:
Is that done the same way? Boot to recovery and then flash the radio? And is this done before or after wipe / install of the new rom?
Click to expand...
Click to collapse
You can install radio whenever you want, it's flashed in another nand partition
nice rom - but the Home button doesnt work - is that normal?
krueck83 said:
nice rom - but the Home button doesnt work - is that normal?
Click to expand...
Click to collapse
Wrong discussion...
If you refer to CKDroid you need to flash googlebits to get home button working...
Exit93 said:
You can install radio whenever you want, it's flashed in another nand partition
Click to expand...
Click to collapse
But it is flashed through the recovery screen?
culturelol said:
But it is flashed through the recovery screen?
Click to expand...
Click to collapse
Yes, it is
Thank you - it works.
Thanks for the instructions.
1-Do you need to follow step 8-12 to get root and flash rom`s or is the android sdk and superuser only if you want to develope yourself?
2- If ypu do this and after want back to stock rom . As far as i`ve read it`s as easy as just flashing from HTC website and you`re back ? Won`t recovery still be left on your phone?
Thanks
Rui-Cruz said:
Thanks for the instructions.
1-Do you need to follow step 8-12 to get root and flash rom`s or is the android sdk and superuser only if you want to develope yourself?
2- If ypu do this and after want back to stock rom . As far as i`ve read it`s as easy as just flashing from HTC website and you`re back ? Won`t recovery still be left on your phone?
Thanks
Click to expand...
Click to collapse
1. Steps from 8 to 12 are only to get root access on stock rom, if you want to change rom you don't need to make those steps
2. To get back to stock rom just flash official update, as far as i know recovery will be deleted
Thanks
Thanks for the guide.
Was being anal and following the guide to the letter (not wanting a brick!) and it just rebooted to stock recovery
Code:
4. Run flashrec and tap Backup Recovery
5. Tap in the textbox and write this path: /sdcard/recovery-RA-hero-v1.5.2.img
6. If you get an error retry from step 3, else continue
Should we be tapping the download button once we entered the img location?
Ne0
alfie196 said:
Thanks for the guide.
Was being anal and following the guide to the letter (not wanting a brick!) and it just rebooted to stock recovery
Code:
4. Run flashrec and tap Backup Recovery
5. Tap in the textbox and write this path: /sdcard/recovery-RA-hero-v1.5.2.img
6. If you get an error retry from step 3, else continue
Should we be tapping the download button once we entered the img location?
Ne0
Click to expand...
Click to collapse
Yes, sorry it's my fault, correcting...
Sorry silly question
Please could someone tell me, if using the first method the InstantRoot.apk. Will this wipe the current ROM/data/apps etc from the phone or will it just enable Root privilages and leave everything else the same?
Many thanks
Jeremy
It just roots your phone and leaves everything in tact, just did it now.
The guide is not clear on how to flash the rom though. Because it says "If you want recovery" I don't want recovery I just want to flash. I have root now what's next? In simple steps, no recovery required just want CKDroid.
hatski said:
It just roots your phone and leaves everything in tact, just did it now.
The guide is not clear on how to flash the rom though. Because it says "If you want recovery" I don't want recovery I just want to flash. I have root now what's next? In simple steps, no recovery required just want CKDroid.
Click to expand...
Click to collapse
You need recovery to flash roms, it's written on the start of the first post
Can someone please help?
I'm trying to edit the system\etc\bluez\main.conf file using root explorer.
I can edit the line I want, save and exit but it then reboots the phone automatically and the original unedited file is back.
What am I doing wrong?
BTW the phone is rooted and this is why I want to edit the file...
http://forum.xda-developers.com/showthread.php?t=676175
neomagik said:
Can someone please help?
I'm trying to edit the system\etc\bluez\main.conf file using root explorer.
I can edit the line I want, save and exit but it then reboots the phone automatically and the original unedited file is back.
What am I doing wrong?
BTW the phone is rooted and this is why I want to edit the file...
http://forum.xda-developers.com/showthread.php?t=676175
Click to expand...
Click to collapse
As we don't have write access to /system on a normal booted desire, you have to do all your work in recovery-mode.
I can get into recovery mode ok but how do I edit the file I want from there?
The options I have are:
- Reboot system now
- USB-MS toggle
- Backup/Restore
- Flash zip from sdcard
- Wipe
- Partition sdcard
- Other
- Power off
Extract the file out of the rom, change it, than push it back to the rom.
You can do that from ADB shell while your phone is in recovery.
You can find commands how to backup files and push/delete them back to ROM on this forums, or you can search it on internet.
dont forget to mount /system
adb shell in a new terminal screen
then mount /system
I can't figure out what I'm doing wrong.
I've tried the method suggested by allla and ivicask ie, using adb commands in recovery mode and I get the same result as using root explorer, the file appears to have copied successfully it reboots but the original file is back again
I've also tried vastlopers method and after lots of reading found that the device needs to be booted normally to 'remount' however when I try to push the file now it says "Directory not empty"
It seems to me that this adb method is just a long winded alternative to root explorer, none of which get the desired result.
Please help?
Bump. Bump.
I've now tried adb file explorer but can't figure out how to install Busybox on my device.
I'm out of ideas. Someone must know how to edit/overwrite the main.conf file.
I'm being told elsewhere on this Forum that the Desire cannot yet be fully rooted for r/w access to the /system/ folder. Is this correct?
neomagik said:
I'm being told elsewhere on this Forum that the Desire cannot yet be fully rooted for r/w access to the /system/ folder. Is this correct?
Click to expand...
Click to collapse
Yes it is. It's also written in the root tutorial!
I found that some of the new user they dont know from where they can bring the tools to flash roms or kernels so i will help them by uploading all files they need to do that...
1- android-sdk-windows
2- i9000_Kernel_LK9_01b9.tar
3- i9000_Kernel_Original.tar
4- Kies_1.5.0.10052_28.exe
5- Odin3_v1.0.exe
6- s1_odin_20100513.pit
7- Superuser.apk
8- su
9- Superuser_v1_CSC.tar
10-update.zip
http://www.mediafire.com/?yqzebmymnn2
and to download any oem roms go to this website and make registration and download any rom you want
http://samsung-firmware.webs.com/WEBPROTECT-samsungi9000.htm
-WARNING: THIS METHOD CAN BE DANGEROUSE. DO NOTHING IF YOU DO NOT KNOW WHAT YOU DO.
I CAN'T BE RESPONSIBLE IF YOU TRANSFORM YOUR I9000 LIKE A BRICK
Tested on JF2 and JFB
First method:
If you have adb and you know how to use it!
1. Download: update.zip
2. Put update.zip to SD card
3. Enter
Code:
adb reboot recovery
4. In Recovery menu select 'apply sdcard:update.zip' (use vol_down + home)
Phone will reboot
and you have
1. su+Superuser
2. busybox (/system/xbin/busybox)
Second method:
If you have Odin3 and you know how to use it!
Your data and programs will be deleted!!!!
1. Download: Superuser_v1_CSC.7z
2. Unpack
3. Flash this file as CSC file with Odin3
How to install busybox utils
in terminal enter
Code:
su
busybox --install -s /system/xbin
i get it from here
http://forum.samdroid.net/f49/superuser-su-busybox-i9000-26-06-2010-a-1355/
ADB cant find phone, I had adb set up for my G1, what do I need to use adb on my SGS?
go to settings>applications>development>usb debugging and mark it
after that connect your usb it will work
note make sure you install all drivers will
Many thanks...thought it was something simple i had forgoten!
edit: SGS now rooted!!
Nice One Thanks will this work with an out of the box galaxy s or does it need to have something else done to it??? thanks
EDIT: Im suprised theres not so many people like amazed cuz this is great
EDIT2: Thought i put the links on to this forum might help to put them in 1st post update.zip and Superuser_v1_CSC.7z
EDIT3 lol : Do we need to mod the kernal to overclock or canwe now jus over clock it if so to what sppeds ??
yes...just out the box, I used
http://forum.samdroid.net/f49/superuser-su-busybox-i9000-26-06-2010-a-1355/ (same as above!)
its SOO easy just to get superuser and SU, I was so happy to get titanium backup working again..
kirandeep said:
yes...just out the box, I used
http://forum.samdroid.net/f49/superuser-su-busybox-i9000-26-06-2010-a-1355/
its SOO easy just to get superuser and SU, I was so happy to get titanium backup working again..
Click to expand...
Click to collapse
Thank-You that is good isnt it then and much easier realy than my hero
no problems...theres no recovery yet, just SU i think..im no expert but i could follow those instructions once i got ADB working.
Qustion,
If i rooted my phone and want to go back to the original FW or i missed something and never worked and want to reflash my phone again with the untouched FW, Is it okay? or my phone will be bricked as a result of bad rooting?!
need to know that.
Thank you!
Please help me
I am ok with computers but very n00b to smartphones.
I downloaded SDK, enabled USB debugging, in CMD my serial came up so that was all ok.
I put the update.zip on the sd card of the phone and turned on the phone with vol down + home key expecting it to let me choose the update.zip but I got a yellow android triangle screen with the android bot icon using a spade and underneath it says
"downloading.....
Do not turn off target!!!"
What have I missed?
Thanks in advance
dan 6a said:
Please help me
I am ok with computers but very n00b to smartphones.
I downloaded SDK, enabled USB debugging, in CMD my serial came up so that was all ok.
I put the update.zip on the sd card of the phone and turned on the phone with vol down + home key expecting it to let me choose the update.zip but I got a yellow android triangle screen with the android bot icon using a spade and underneath it says
"downloading.....
Do not turn off target!!!"
What have I missed?
Thanks in advance
Click to expand...
Click to collapse
Did you enable USB debugging on the S? It's off the Settings|Applications|Development menu.
In the CMD shell, did you go to the android-sdk-windows\tools directory and run 'adb reboot recovery' with the USB lead connected?
Thankyou
I did it, I didn't put in the command shell, I rebooted it thinking the vol down + home would bring me into the recovery screen
How do I confirm it worked? It looked like it was doing stuff.. *edit I found the superuser app*
Wow sounds great! Custom recovery anyone!? Just got back from romania, nice little treat!
-------------------------------------
Sent via the XDA Tapatalk App
Hi,
i'm new to this..I have a I9000 and maybe I wan't to root it.
But I have some questions first and i I hope anybody can help me.
1) Can you go back to the stock settings ?
2) Do you still have your warranty?
3) Can you put a costum ROM on it? Example: Can you use the ROM they use on a nexus one?
4) What can you do more when u are a superuser?
Thnx
worked perfectly (first method) fast and simple
I have root now
can't wait for custom recovery.
the busybox in here was not very good had to let titanium backup update to its version of busy box.
If you want the full featured busybox, why not taking this one?
removing apps..
can someone help me out please, i cant seem to find a way to remove apps that are already installed from samsung...
Do you have already root? Then you should open your command line where your adb binary lies in and type the following:
Code:
adb shell
su
cd /system/app
ls
and identify the packages which you don't need and remove them by typing:
Code:
rm PACKAGENAME.apk
rm PACKAGENAME.odex
I wanted to change my device model, so I copied build.prop from another mobile to my mobile. I am already rooted. But unfortunately I did not change the o.s. from gingerbread to froyo in build.prop ( I have android 2.2 FROYO) When I rebooted, there were many errors. It is now showing no sim card. Mobile network search gives error. Effectively, I can not use the mobile. Terminal emulator, X-plore etc. stopped working. Only Rom toolkit free version works and astro file manager works. Other programs are forcefully closed. Needles to say, I must replace new build.prop with new one.
Using adb I can only pull files but can not write as it is in read only mode.
adb root and adb remount works only if you are in recovery mode ? Y mobile does not have any custom recovery so when I boot in recovery mode it hangs.
Superuser has installed su in system\bin directory. But from adb shell I can use su also. It gives permission denied error. Hence I can not remount the system.
I have read similar threads and found that on some mobiles adb root or adb shell su works but on some not.
I am using Vista 32 bit with admin rights, still can not use root in adb.
Please tell me, how can I mount system read-write. I can not install root explore as google play and even internet is not working.
Please help.
maheshchavan said:
Using adb I can only pull files but can not write as it is in read only mode.
Click to expand...
Click to collapse
activate USB debugging then in console
Code:
adb shell
su
mount -o rw,remount /dev/block/mmcblk0p1 /system
adb push build.prop /system/build.prop
check where is your build.prop
ruscan.calin said:
activate USB debugging then in console
Code:
adb shell
su
mount -o rw,remount /dev/block/mmcblk0p1 /system
adb push build.prop /system/build.prop
check where is your build.prop
Click to expand...
Click to collapse
OMG ruscan.calin i COULD KISS YOU! I had tried to change my OG EVO 4G's buildprop file to another phone so that I could purchase & download an incompatible Google Play app. However after I restarted the phone wouldn't start! It would boot into my rooted HTC EVO 4G Android 2.3.3 and HTC Sense 2.1 but it would get stuck on the wallpaper with just the notification bar at the top and all buttons would be frozen. However I noticed when I plugged in my phone to my computer via usb the computer recognized it. I always keep my phone with USB debugging enabled so I thought I should be good right? I have spent the last 4 hours trying to install and setup adb with no real previous experience with it. I am familiar with dos from years ago and that helped me as it's basic procedure, commands, etc. Then I found out how to install the HTC drivers which I needed and then download the Android SDK with adb that's included which many guides show easily. I started the command prompt (cmd), typed my adb devices command and hurray it showed my phone! I connected and quickly navigated to the build.prop system folder! Luckily when I changed the file I made a bak backup and left it in the same folder. Now the main issue was figuring out how to change the naming of the files which I did via usual adb commands (mv build.prop.bak build.prop). But then to no avail I couldn't get it to write due to it being a system read only folder! Arg! Then I found your post on here, above, and typed it in simply leaving out the adb push portion and replacing that with the mv file command instead and first changing the name of the bad file and then replacing the bak file as the good copy! I exited back to the adb main and unplugged my phone. Moment of truth and man was everything flashing through my head at once! I booted up and YESSSSSSSSSSSSSS, it worked! I went back into root explorer and got rid of the offending leftovers and I've learned my lesson! I just don't want to think about what would have happened if I hadn't found this post. Thank you and if anyone else makes this hug mistake let me know and maybe I can help. Moral of the story don't mess with the build.prop or any system folder unless you know what you're doing! Thanks again!
Quick Guide to Fix Android "build.prop" Issues:
1. Find and download USB drivers for your phone by model or type (HTC EVO 4G's HTC Fastboot drivers): http://downloads.unrevoked.com/HTCDriver3.0.0.007.exe
2. Download and install Android SDK and choose adb: http://developer.android.com/sdk/index.html
Guide: http://htcevohacks.com/htc-evo-hacks/how-to-install-android-sdk-and-adb-drivers-for-htc-evo-4g/
3. Run a command prompt from the "c:/program files/android/android-sdk/platform-tools/" directory. I had to copy the command prompt to get it to open there but sometimes a right-click action will do it. The guide below will help just navigate down to "Using ADB" and skip the rest.
Guide: http://www.howtogeek.com/114667/how...y-default-move-almost-any-app-to-the-sd-card/
4. Once you open the command prompt and you're in the "c:/program files/android/android-sdk/platform-tools/" foler type "adb devices" and your device should appear. If it does move on to next step.
5. Then type adb shell and use the ls command to see directories. Then you'll need to navigate to the system folder by typing "cd system" and then type "ls" to look around in the directory (similar to "dir" in DOS). You should now see the bad build.prop file.
6. You'll need to rename the file or push a correct version. First you need to use the "adb shell" command again and then "su" and finally "mount -o rw,remount /dev/block/mmcblk0p1 /system" to make the directory writable (see ruscan.calin post above for additional info).
Note: I only had to rename my build.prop as I already had my old one in the same system folder. You may have to copy the bad build.prop to your computer, edit it and then push it back to the same system directory. These directions are only for renaming files in the same folder. For the info on how to copy the file to your computer and push it back to your phone go to step *10 below or use the guide below it.
7. I already had the bad build.prop in the system directory with my old one which I had named build.prop.bak. If you have this too simply rename by changing the name first of the bad file to anything by typing "mv build.prop build.prop.bad" or similar.
8. Next rename the build.prop.bak to build.prop by typing "mv build.prop.bak build.prop". Everything should go smoothly and move onto the next step.
9. Finally, If no error messages are found, simply type "adb reboot" or "adb shell reboot" (Depending which version of ADB you have). You should be done, your phone will reboot like normal (working, lol) and everything should be working again! YAY!
*10. To copy the build.prop to your phone type "adb pull /system/build.prop c:\" and the file should be placed in the main c:/ directory on your computer. Navigate to the root (c:/) directory and then right click and "open with" the "build.prop" file using a notepad or other file editor. Then use the text editor (Notepad, etc) to change back what you originally changed to mess everything up. There is tons of stuff on the net to let you know what to fill back in depending on your phone model/type. Or it's possible to get a previous version from an old Nandroid backup or similar. Save the changed text file and make sure its named the same "build.prop" and make sure it's still in the root directory (If you're having issues on this step or just want more insight check out the guides and threads below for more help).
Guide 1: http://androidforums.com/admire-all...p-computer-not-phone-using-root-explorer.html
Guide 2: http://www.modaco.com/topic/328943-quick-guide-to-modifying-buildprop-with-adb/
Guide 3: http://forums.androidcentral.com/sp...-replaced-build-prop-phone-wont-start-up.html
*11. We've already made the directory writable in step 6 so we simply need to push the file back to the phone. If any error message appear re-do step 6 to make writable again. Otherwise push the modified file back to the phone by typing "adb push c:\build.prop /system/". Back to step 9 above! Yay!
If anyone wants to help cleanup this quick guide or make any changes feel free. I just wanted something so that if anyone else has this issue they won't have to worry or search forever to find a solution. OMG it's 2:30AM, to bed... I ride! LOL
Enjoy,
5th :highfive:
THANK YOU!!! Totally saved me today.
One thing that I noticed. After pushing the correct build.prop, I had to fully power down, then turn back on my Razr for it to load up the fixed build.prop.
error message,Help please
Hello, when i am going to mount and change the permission i am getting constant error od device not found or sh:not found.
What to do?Help me please?
jigarpattani said:
Hello, when i am going to mount and change the permission i am getting constant error od device not found or sh:not found.
What to do?Help me please?
Click to expand...
Click to collapse
What step are you on? What phone do you have? More info please?
i am have problem whit my pantech flex i need to use the build.prop.bak but when i type the su it stay in blank do nothing any ideas pls help
ehy there hope someone can help me...i have an archos 97b platinum, messed up with build.prop. So i pulled out and restored but can't push in any way. I have a cwm installed, tablet rooted but i alwais got "permission denied" at push command. Other error is operation not permitted" if i try remount command from adb. i can do mount -o rw,remount /dev/block/mtdblock7 /system but after that push still give me permission denied.
any suggestion?
http://imgur.com/FDLp4fl
i open a 2nd cmd, give the mount -o rw,remount /dev/block/mtdblock7 /system , and system is now rw, but from the first cmd when i give "push build.prop /system (or /system/build.prop) it will always return me permission denied
help
dev.block
i want to view to dev/block using adb shell #
eg . what block is boot.img
what block is recovery.img
what block is system.img
what block is cache.ing
adb shell getprop mtd is not work . Pls Help Me & sent to mail [email protected]
I wanted to download an app on my samsung galaxy tab 3 smt211 which is not compatible .So i decided to change build.prop,but that doesnt yield any result.So then i copied complete build.prop of nexus 5 and replaced my tab's original one.Now my device isnt booting.I have a backup of original build.prop,Please suggest now what should i do???
will flashing stock rom help me out????
ashu220087 said:
I wanted to download an app on my samsung galaxy tab 3 smt211 which is not compatible .So i decided to change build.prop,but that doesnt yield any result.So then i copied complete build.prop of nexus 5 and replaced my tab's original one.Now my device isnt booting.I have a backup of original build.prop,Please suggest now what should i do???
will flashing stock rom help me out????
Click to expand...
Click to collapse
Boot into your custom recovery, and use the File Manager option or use Aroma File manager to perform the following:
Mount /system
Copy your build.prop backup to the /system folder.
Then, reboot.
Your custom recovery may or may not have a built in File Manager (depends which recovery you are using). If not, you can download and use Aroma File Manager. Flash it like a rom and a file manager will open.
thanks
i have already flashed stock rom and solved the issue
i used your cwm recovery only(techbeast)
But after flashing stock rom i m aving various problems.
Tab switches off on its own.
Apps stop working
System ui also stop working.
Why is it happening ??
But after flashing stock rom i m having various problems.
Tab switches off on its own.
Apps stop working
System ui also stop working.
Why is it happening ?
gr8nole said:
Boot into your custom recovery, and use the File Manager option or use Aroma File manager to perform the following:
Mount /system
Copy your build.prop backup to the /system folder.
Then, reboot.
Your custom recovery may or may not have a built in File Manager (depends which recovery you are using). If not, you can download and use Aroma File Manager. Flash it like a rom and a file manager will open.
Click to expand...
Click to collapse
ashu220087 said:
I wanted to download an app on my samsung galaxy tab 3 smt211 which is not compatible .So i decided to change build.prop,but that doesnt yield any result.So then i copied complete build.prop of nexus 5 and replaced my tab's original one.Now my device isnt booting.I have a backup of original build.prop,Please suggest now what should i do???
will flashing stock rom help me out????
Click to expand...
Click to collapse
in recovery, connect to pc
adb shell
chmod 644 /system/build.prop
reboot
if you still loop, push the original, again, recovery, connect
adb push <your build.prop> /system/
adb shell
chmod 644 /system/build.prop
if you get permission warning, remount rw and do it again, either
adb remount
adb root
or
adb shell
mount -o rw.remount /system
m