Go Back   Android Forums > Android Phones > Samsung i7500 > i7500 - All Things Root
i7500 - All Things Root Rooting, ROMS, Overclocking, etc.

Get excited for the Samsung Galaxy S5! Find everything you need and discuss it in our Galaxy S5 Forum!

test: Reply
 
LinkBack Thread Tools
Old September 25th, 2009, 03:08 AM   #1 (permalink)
Senior Member
Thread Author (OP)
 
Rastaman-FB's Avatar
 
Join Date: Sep 2009
Location: UK
Posts: 6,113
 
Device(s): HTC Desire (depreciated) Blue Galaxy s3 (international)
Carrier: Not Provided

Thanks: 114
Thanked 1,016 Times in 838 Posts
Default How to Root?

Hi there, while im quite up to date and comfortable with doing things on my phone there is one thing that i want to do but have conflicting information from various posts and websites.

I want to "root" this bad boy but i also want to use the best/most uptodate recovery image along with the most accurate noobs guide to root.

I work in IT and do work with the phone industry so ill be able to get my head around it.

i just think there is far to much conflicting info out there

can someone help me and get the best/latest guide to me?


thanks in advance

Rastaman-FB is offline  
Last edited by Rastaman-FB; September 25th, 2009 at 03:09 AM.
Reply With Quote
sponsored links
Old September 25th, 2009, 03:13 AM   #2 (permalink)
Junior Member
 
Join Date: Aug 2009
Posts: 63
 
Device(s):
Carrier: Not Provided

Thanks: 0
Thanked 2 Times in 2 Posts
Default

i used this guide to root my galaxy:
UPDATE 28/08 - V3! - HOW TO - ROOT/RECOVERY IMAGE update, wipe, backup and restore! - HDblog - Forum

it allows you too root and unroot anytime, and also backup your phone using nandroid.
tried the backup after a hard reset and eveything was back to normal
Shayko is offline  
Reply With Quote
Old September 25th, 2009, 04:52 AM   #3 (permalink)
Member
 
Join Date: Aug 2009
Location: Coventry, UK
Posts: 203
 
Device(s): HTC Desire
Carrier: Not Provided

Thanks: 7
Thanked 13 Times in 11 Posts
Default

Here's a guide that I've written, with screenshots and instructions.

Android Guide: Rooting for New Android Users | Samsung Galaxy i7500 World
damuffinman is offline  
Reply With Quote
Old September 25th, 2009, 05:23 AM   #4 (permalink)
Member
 
Cougar's Avatar
 
Join Date: Aug 2009
Location: Lancashire, England
Posts: 420
 
Device(s): HTC Sensation
Carrier: Not Provided

Thanks: 3
Thanked 16 Times in 15 Posts
Send a message via ICQ to Cougar Send a message via AIM to Cougar Send a message via MSN to Cougar Send a message via Yahoo to Cougar
Default

I was in the same position as you a couple of weeks ago. There's a lot of "guides" that are so terrifically updated and amended that making sense of it was a nightmare. I work in IT also, so I'm not 'technically challenged', but the Android platform is new to me and I didn't want to end up with a very expensive doorstop.

After a lot of digging, I made the jump, and it went well. I made notes as I went, so if you can hang on a little while, I'll type it up into something sensible and post it up on here.
Cougar is offline  
Reply With Quote
Old September 25th, 2009, 05:41 AM   #5 (permalink)
Senior Member
Thread Author (OP)
 
Rastaman-FB's Avatar
 
Join Date: Sep 2009
Location: UK
Posts: 6,113
 
Device(s): HTC Desire (depreciated) Blue Galaxy s3 (international)
Carrier: Not Provided

Thanks: 114
Thanked 1,016 Times in 838 Posts
Default

yeah i can wait for a while mate that would be nice
im liking that hdbog post
Rastaman-FB is offline  
Reply With Quote
Old September 25th, 2009, 07:13 AM   #6 (permalink)
Member
 
Join Date: Aug 2009
Posts: 253
 
Device(s):
Carrier: Not Provided

Thanks: 1
Thanked 1 Time in 1 Post
Default

To root either the recovery or kernel images, you'll need to unpack the images. There is this perl script which will automate this as well as the repacking process.

HOWTO: Unpack, Edit, and Re-Pack Boot Images - Android Wiki

I haven't managed to unpack either recovery or kernel under windows so you'll probably have to do it under linux or from your phone.

After you've unpacked recovery, you can easily modify rooted recovery v3 from the earlier post to the newer version of recovery. Main point is to modify default.prop to have the following parameters set as follows.

ro.secure=0
ro.debuggable=1
persist.service.adb.enable=1

Then edit init.rc to match v3's (this file is important for setting up the system and recovery settings). After that, just copy the files from the various folders where the unrooted ver is lacking. The picture files have been resaved as png to save space.

You probably won't need to modify recovery since from what I can tell, it doesn't really change much in newer versions as it's only function is to recover the firmware.

You can modify kernel for root though I think most users will probably just use su to get root on their adb. Any how the process to unpack is the same as recovery. After you unpack, modify default.prop similarily to the options above.

In recovery v3, there's a menu option to give root for your normal usage (this is the root that most users would want). Just use that and it's done. If you want to pre-root your images, just get a tool to unpack the system image like unyaffs. Unpack system, drop su into bin and xbin. You could also pre-install busybox into the system image. After you've edited system to your likings, you can remake the image file with a tool called mkbootimg. I have to highlight that I've not edited and repacked a system image yet and I'm not sure how the permissions settings on the files will get affected so you would be better off editing it on a *nix system.

Hopefully someone with experience in the latter part can shed some light on it.

Oh yes, if you want to only flash a certain image file as opposed to the whole flashing process, you can just use fastboot to flash.

To install busybox on a firmware on the phone, there are a few ways. Easiest is to either use the rooted recovery v3 image or a rooted kernel.

If using the recovery, you'll need to boot up in recovery mode and connect your phone to your computer. For rooted kernel, just connect the phone when it's running normally and make sure adb is enabled in settings.

1. Run "adb remount"
2. Next push busybox with "adb push busybox /system/bin/busybox"
3. Create the symlinks with "adb shell /system/bin/busybox --install -s /system/bin" (you can skip this part if you do not foresee using the rest of the commands that busybox provides)
4. Modify cp's symlink to allow file managers to copy files "adb shell rm /system/bin/cp"
"adb shell ln -s /system/bin/busybox /system/bin/cp"

You should be able to use file managers to copy.
pegasus21 is offline  
Last edited by pegasus21; September 25th, 2009 at 09:00 AM.
Reply With Quote
Old September 25th, 2009, 07:55 AM   #7 (permalink)
Member
 
Cougar's Avatar
 
Join Date: Aug 2009
Location: Lancashire, England
Posts: 420
 
Device(s): HTC Sensation
Carrier: Not Provided

Thanks: 3
Thanked 16 Times in 15 Posts
Send a message via ICQ to Cougar Send a message via AIM to Cougar Send a message via MSN to Cougar Send a message via Yahoo to Cougar
Default

I've just posted my notes in a new thread. http://androidforums.com/samsung-i7500/10089-flashing-rooting-overview.html

Sorry if I'm reinventing the wheel or stating the blindingly obvious, but hopefully it'll be of some help. Let me know if any bits are unclear, I mostly made notes for my own benefit in case I made a pig's bladder of it.
Cougar is offline  
Reply With Quote
Old September 25th, 2009, 12:23 PM   #8 (permalink)
Senior Member
Thread Author (OP)
 
Rastaman-FB's Avatar
 
Join Date: Sep 2009
Location: UK
Posts: 6,113
 
Device(s): HTC Desire (depreciated) Blue Galaxy s3 (international)
Carrier: Not Provided

Thanks: 114
Thanked 1,016 Times in 838 Posts
Default

Quote:
Originally Posted by pegasus21 View Post
To root either the recovery or kernel images, you'll need to unpack the images. There is this perl script which will automate this as well as the repacking process.

HOWTO: Unpack, Edit, and Re-Pack Boot Images - Android Wiki

I haven't managed to unpack either recovery or kernel under windows so you'll probably have to do it under linux or from your phone.

After you've unpacked recovery, you can easily modify rooted recovery v3 from the earlier post to the newer version of recovery. Main point is to modify default.prop to have the following parameters set as follows.

ro.secure=0
ro.debuggable=1
persist.service.adb.enable=1

Then edit init.rc to match v3's (this file is important for setting up the system and recovery settings). After that, just copy the files from the various folders where the unrooted ver is lacking. The picture files have been resaved as png to save space.

You probably won't need to modify recovery since from what I can tell, it doesn't really change much in newer versions as it's only function is to recover the firmware.

You can modify kernel for root though I think most users will probably just use su to get root on their adb. Any how the process to unpack is the same as recovery. After you unpack, modify default.prop similarily to the options above.

In recovery v3, there's a menu option to give root for your normal usage (this is the root that most users would want). Just use that and it's done. If you want to pre-root your images, just get a tool to unpack the system image like unyaffs. Unpack system, drop su into bin and xbin. You could also pre-install busybox into the system image. After you've edited system to your likings, you can remake the image file with a tool called mkbootimg. I have to highlight that I've not edited and repacked a system image yet and I'm not sure how the permissions settings on the files will get affected so you would be better off editing it on a *nix system.

Hopefully someone with experience in the latter part can shed some light on it.

Oh yes, if you want to only flash a certain image file as opposed to the whole flashing process, you can just use fastboot to flash.

To install busybox on a firmware on the phone, there are a few ways. Easiest is to either use the rooted recovery v3 image or a rooted kernel.

If using the recovery, you'll need to boot up in recovery mode and connect your phone to your computer. For rooted kernel, just connect the phone when it's running normally and make sure adb is enabled in settings.

1. Run "adb remount"
2. Next push busybox with "adb push busybox /system/bin/busybox"
3. Create the symlinks with "adb shell /system/bin/busybox --install -s /system/bin" (you can skip this part if you do not foresee using the rest of the commands that busybox provides)
4. Modify cp's symlink to allow file managers to copy files "adb shell rm /system/bin/cp"
"adb shell ln -s /system/bin/busybox /system/bin/cp"

You should be able to use file managers to copy.
i dont understand what the benefit of doing it your way over the guide posted at the top?

this is why im scared of rooting. already in this post there are 3 clear different ways with different levels of difficulty

i dont have linux and have no use for it at home or work so i figure your method is ruled out
Rastaman-FB is offline  
Reply With Quote
Old September 25th, 2009, 12:47 PM   #9 (permalink)
Member
 
Join Date: Aug 2009
Posts: 253
 
Device(s):
Carrier: Not Provided

Thanks: 1
Thanked 1 Time in 1 Post
Default

Well it's true the method i listed earlier is clearly harder than the guide posted by cougar. The benefit of creating pre-rooted images is that you can "distribute" it (note that google sent cyanogen a c&d letter for distributing google's closed source apps).

Another is that you can customise the image in ways not available if you just use the guide.

The very last part of the guide is mostly just for busybox installation. It can be integrated with the image or installed post-flashed. For file managers to properly copy files, you'll need to replace the cp symlink and link it to busybox.

I forgot to mention that root in recovery is different from root in kernel and root for normal usage on the phone.

Root in recovery is to allow you to do administrative tasks when you have problems with your firmware. It allows you to backup your firmware via nandroid.

In kernel, it's mostly for root via adb or debugging for developers.

The root in normal usage is where users are more interested in as I've mentioned as it allows you to run programs that can kill other programs for example. This is provided via the su command.
pegasus21 is offline  
Last edited by pegasus21; September 25th, 2009 at 12:56 PM.
Reply With Quote
Old September 25th, 2009, 01:46 PM   #10 (permalink)
Senior Member
Thread Author (OP)
 
Rastaman-FB's Avatar
 
Join Date: Sep 2009
Location: UK
Posts: 6,113
 
Device(s): HTC Desire (depreciated) Blue Galaxy s3 (international)
Carrier: Not Provided

Thanks: 114
Thanked 1,016 Times in 838 Posts
Default

wanted to do it the proper way but cannot flipping work out how to install with adb driver for windows 7 x64.

EDIT can access adb using andtroid test interface but fastboot does not respond
Rastaman-FB is offline  
Last edited by Rastaman-FB; September 25th, 2009 at 02:45 PM.
Reply With Quote
sponsored links
Old September 25th, 2009, 02:54 PM   #11 (permalink)
Member
 
Join Date: Aug 2009
Posts: 253
 
Device(s):
Carrier: Not Provided

Thanks: 1
Thanked 1 Time in 1 Post
Default

Check out my post which is in post 18

I've pretty much listed out all of the steps to get root that most people would want with fastboot.
pegasus21 is offline  
Reply With Quote
Old September 25th, 2009, 03:21 PM   #12 (permalink)
Senior Member
Thread Author (OP)
 
Rastaman-FB's Avatar
 
Join Date: Sep 2009
Location: UK
Posts: 6,113
 
Device(s): HTC Desire (depreciated) Blue Galaxy s3 (international)
Carrier: Not Provided

Thanks: 114
Thanked 1,016 Times in 838 Posts
Default

yeah im rooted, will takle busybox tomorrow

will say this though. fastboot was properly annoying on windows 7
i sorted the adb by using the test version

i had to then go into fastboot and as fast as i could link fastboot driver error to the adb test driver again. wait for device to boot fully and reboot back into fastboot but it recognised it this time for the flash recovery image.#

thanks for everyones help
Rastaman-FB is offline  
Last edited by Rastaman-FB; September 25th, 2009 at 03:24 PM.
Reply With Quote
Old September 25th, 2009, 03:24 PM   #13 (permalink)
Member
 
Join Date: Aug 2009
Posts: 253
 
Device(s):
Carrier: Not Provided

Thanks: 1
Thanked 1 Time in 1 Post
Default

Ah the timeout. Yea I know what you mean. lol Good to hear that you've done it. cheers.
pegasus21 is offline  
Reply With Quote
Old September 27th, 2009, 05:06 PM   #14 (permalink)
New Member
 
Join Date: Sep 2009
Posts: 7
 
Device(s):
Carrier: Not Provided

Thanks: 0
Thanked 0 Times in 0 Posts
Default

Has anyone tried rooting the galaxy using the "1 click root" method?
iMobile is offline  
Reply With Quote
Old September 27th, 2009, 11:39 PM   #15 (permalink)
Member
 
Join Date: Aug 2009
Posts: 253
 
Device(s):
Carrier: Not Provided

Thanks: 1
Thanked 1 Time in 1 Post
Default

It doesn't work on firmware II5 and probably later ones too.
pegasus21 is offline  
Reply With Quote
Old September 28th, 2009, 12:43 AM   #16 (permalink)
New Member
 
Join Date: Sep 2009
Posts: 7
 
Device(s):
Carrier: Not Provided

Thanks: 0
Thanked 0 Times in 0 Posts
Default

Oh I have H8 so I should be ok. Thanks for your input.
iMobile is offline  
Reply With Quote
Reply
Tags
i7500 root, root i7500


Go Back   Android Forums > Android Phones > Samsung i7500 > i7500 - All Things Root
Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT -5. The time now is 09:05 AM.
Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.