Dhaka Mobile 

Logo 




Go Back  

Dhaka Mobile > GSM Mobile / Tablets Brands -Software Area > Smart Phones & PDA/PALM Organizers > Android OS

Connect with Facebook
Register Unlock support Online Shop Members List Calendar Mark Forums Read

Android OS Threads Related to Android OS Based Phones Flashing , Unlocking , Applications : HTC Dream , T-Mobile G1 , Google Phone , Era G1 , HTC Magic , HTC Sapphire , T-Mobile myTouch 3G , Docomo HT-03A , HTC Hero , T-Mobile G2 Touch , HTC Desire , HTC Droid Eris , HTC Tattoo , Google Nexus One , HTC Dragon , HTC Passion , Motorola Droid , Motorola Milestone , Samsung I7500 , Samsung I5700

Reply
 
Thread Tools Display Modes
Old 12-04-10, 07:43 PM   #1
GSM-POWEŽ
Product Supporter
 
GSM-POWEŽ's Avatar
 
Join Date: Jul 2009
Location: YAHOO
Posts: 934
Status: Offline
Sonork:
Thanks: 1,766
Thanked 2,630 Times in 666 Posts
Rep Power: 10008
GSM-POWEŽ has a reputation beyond reputeGSM-POWEŽ has a reputation beyond reputeGSM-POWEŽ has a reputation beyond reputeGSM-POWEŽ has a reputation beyond reputeGSM-POWEŽ has a reputation beyond reputeGSM-POWEŽ has a reputation beyond reputeGSM-POWEŽ has a reputation beyond reputeGSM-POWEŽ has a reputation beyond reputeGSM-POWEŽ has a reputation beyond reputeGSM-POWEŽ has a reputation beyond reputeGSM-POWEŽ has a reputation beyond repute
newstar.gif Android Root - All

Android Root - All

+++++++++++++++++++++++++++++
|All Info's are collected From all over the Internet |
+++++++++++++++++++++++++++++

I ll post here all info about Rooting Android phones. how to upgrade rooted rom. overall everything about Android Phones rooting.

You never know
The good thing about having root is you can go back if you want. The same is not true of not having root. We do not know what steps Google/Tmobile will take to rid the end users of root in the future. For all we know the next OTA will remove the keys that allows the RC29 downgrade method to work and you could be stuck on a non rooted G1 forever. If you have root and for some reason it does not work for you there is always the option of going back.

What Does Root Give Me?

  1. Full control over your system
  2. Ability to alter system files. You can replace many parts of the "Android Core" with this including:
    • Themes
    • Core apps (maps, calendar, clock etc)
    • Recovery image
    • Bootloader
    • Toolbox (linux binary that lets you execute simple linux commands like "ls") can be replaced with Busybox (slightly better option)
    • Boot images
    • Add linux binaries
  3. Run special apps that need more control over the system
    • SuperUser (lets you approve or deny the use of root access to any program)
    • Task Manager For Root (Lets you kill apps that you otherwise could not kill)
    • Tether apps (like the one found at [android-wifi-tether.googlecode.com])
    • <there are more but I cannot think of any right now>
  4. Backup your system
    • You can make a folder on your sdcard and backup all of your .apk files to your sdcard (helps if an author decides to "upgrade" you to a version that requires you to pay to use the version you just had)
  5. Relocate your (browser/maps/market) cache to your /sdcard
  6. Relocate your installed applications to your /sdcard
  7. Reboot your phone from the terminal app easily (su <enter> reboot <enter>)

What Do I Lose Having Root

  1. The ability to accept OTA updates (well, you can but you would lose root, so its been made so they get denied)
  2. The sense that someone else controls your phone
  3. The need to sit in an Android chat channel asking how to get root
  4. The need for a stupid useless "File Manager" that lets you see filenames but almost nothing else.
  5. The ability to have a knowledgeable conversation with a T-Mobile rep about your phone. (Ask one of them to spell root for you)
More!!
I know there is a ton more, but others will have to fill them in for me.



* Please keep this thread clean. do not post any question until i fulfill this thread. your co-operation is appreciated.



Quote:
B.R
Subrata
===================================
Quote:
1. Please register with valid email.
2. Use Thanks buttons to say thankyou or your post will be deleted.
3. Spamming is not allowed.. Spamming post will be deleted.
4. All posts must be written in English.
5. Check your links before Posting in Dhakamobile

  Reply With Quote
The Following 4 Users Say Thank You to GSM-POWEŽ For This Useful Post:
Old 12-04-10, 07:47 PM   #2
GSM-POWEŽ
Product Supporter
 
GSM-POWEŽ's Avatar
 
Join Date: Jul 2009
Location: YAHOO
Posts: 934
Status: Offline
Sonork:
Thanks: 1,766
Thanked 2,630 Times in 666 Posts
Rep Power: 10008
GSM-POWEŽ has a reputation beyond reputeGSM-POWEŽ has a reputation beyond reputeGSM-POWEŽ has a reputation beyond reputeGSM-POWEŽ has a reputation beyond reputeGSM-POWEŽ has a reputation beyond reputeGSM-POWEŽ has a reputation beyond reputeGSM-POWEŽ has a reputation beyond reputeGSM-POWEŽ has a reputation beyond reputeGSM-POWEŽ has a reputation beyond reputeGSM-POWEŽ has a reputation beyond reputeGSM-POWEŽ has a reputation beyond repute
Default Re: Android Root - All

Rooting HTC Dream/G1/T-Mobile G1



Downgrading from RC30/RC9 and up

  1. Format your phone's SD card to FAT32 mode:
    • Hook your phone up to your computer using a USB cable and then wait for the notification to show up in your title bar of your phone.
    • Click the notification, and then click "Mount".
    • A new removable disk should show up on your computer. Right click it and select Format, and select FAT32 as the file system type.
  2. Download and unzip the RC29 or RC7 image file. Copy the DREAIMG.nbh file to the SD card. (RC29 for US, RC7 is for UK)
  3. Turn the device power off.
  4. Hold Camera button, and press Power button to entry bootloader mode. You should see a gray/white screen with instructions to flash your phone with the update on your SD card. If you don't see that, make sure you followed the instructions properly.
  5. As per the on-screen instructions, press the Power button to start upgrade procedure. DO NOT DO ANYTHING TO INTERRUPT THIS PROCESS.
  6. After it is finished, restart your phone by pressing the trackball button ("action button") and then press Call, Menu and End simultaneously.
At the end of this process, you'll now be running a build old enough to have the exploit we need to get root. Continue on with the next section.

Rooting RC29 and Lower


On RC29 phones and lower, a huge exploit existed where anything you typed into your keyboard was also being run in a hidden console with root permissions.


  1. Download recovery.img and copy it to your SD card (see the previous section on how to copy from your computer to your Phone's SD card).
  2. Download the Hard SPL and copy the zip file to the SD card.
  3. All files must be on the root of your SD card.
  4. Restart your phone. Wait for your phone to start up fully and show the home screen.
  5. After your phone starts up, type "telnetd" and press enter. (Yes, it will start up a contact search, don't worry. Just type it.)
  6. Download an Android "Telnet" application from the Market and connect to localhost.
  7. If you connect successfully, you will have a root prompt "#".
  8. Type the following into Telnet (these commands will give you root access easier in the future):
    • mount -o rw,remount -t yaffs2 /dev/block/mtdblock3 /system
    • cd sdcard
    • flash_image recovery recovery.img
    • cat recovery.img > /system/recovery.img
Now you have root!

Next steps
Whether you gained root using RC29 or the downgrade method, the next steps are highly recommended. You will want to apply "Hard SPL" to your phone. HardSPL is what will allow you to apply flash images from other regions (like UK on US phones, and vice versa), create full backups of your phone, install the latest build from the Android source, and usually resurrect your phone if it is "bricked". You have already downloaded the file to your SD card, so now you can apply it.
  1. Power off your phone.
  2. Start up in recovery mode by holding home and pressing power.
  3. You will now enter recovery mode. You should see an exclamation.
  4. If you do not see a menu on screen, press Alt-L to show the menu.
  5. Press Alt-S to apply the update from the SD card.
  6. After the update is complete, hold Home and press Back to restart.
Quote:
****A Big Thanks to Kaushik Dutta for all this****

Subrata
===================================
Quote:
1. Please register with valid email.
2. Use Thanks buttons to say thankyou or your post will be deleted.
3. Spamming is not allowed.. Spamming post will be deleted.
4. All posts must be written in English.
5. Check your links before Posting in Dhakamobile

  Reply With Quote
The Following User Says Thank You to GSM-POWEŽ For This Useful Post:
Old 12-04-10, 07:49 PM   #3
GSM-POWEŽ
Product Supporter
 
GSM-POWEŽ's Avatar
 
Join Date: Jul 2009
Location: YAHOO
Posts: 934
Status: Offline
Sonork:
Thanks: 1,766
Thanked 2,630 Times in 666 Posts
Rep Power: 10008
GSM-POWEŽ has a reputation beyond reputeGSM-POWEŽ has a reputation beyond reputeGSM-POWEŽ has a reputation beyond reputeGSM-POWEŽ has a reputation beyond reputeGSM-POWEŽ has a reputation beyond reputeGSM-POWEŽ has a reputation beyond reputeGSM-POWEŽ has a reputation beyond reputeGSM-POWEŽ has a reputation beyond reputeGSM-POWEŽ has a reputation beyond reputeGSM-POWEŽ has a reputation beyond reputeGSM-POWEŽ has a reputation beyond repute
Default Re: Android Root - All

Rooting HTC Magic/Sapphire

If you have Asian Version of Magic, do not use this method cause it disables wi-fi.
  1. Copy this update to your SD-card.
  2. Download the rooted recovery image here.
  3. Enable USB debugging on the device
    • Settings -> Applications -> Development -> USB Debugging
  4. Boot the device in fastboot mode.
    • adb shell reboot bootloader
  5. Connect the device to your machine over USB.
  6. Type the following command on your desktop (not on the device):
    • fastboot boot recovery-RAv1.0H.img
  7. Choose option "Apply sdcard:update.zip" from the menu on the device
    • note: you may need to unplug the usb if you receive any errors
===================================
Quote:
1. Please register with valid email.
2. Use Thanks buttons to say thankyou or your post will be deleted.
3. Spamming is not allowed.. Spamming post will be deleted.
4. All posts must be written in English.
5. Check your links before Posting in Dhakamobile

  Reply With Quote
The Following User Says Thank You to GSM-POWEŽ For This Useful Post:
Old 24-09-10, 12:18 AM   #4
RIB@T
No Life Poster
 
RIB@T's Avatar
 
Join Date: Nov 2008
Location: online
Posts: 2,815
Status: Offline
Sonork: 100.1601641
Thanks: 675
Thanked 4,842 Times in 1,779 Posts
Rep Power: 12
RIB@T is on a distinguished road
Default Re: Android Root - All

Rooting HTC Hero (G2)

BEFORE YOU BEGIN:

Before trying this procedure, try the
How To Root the Hero In One Click since its update. Should work for all Heros (read the before you begin on that procedure carefully). If not then come back to this procedure.

Make sure you have an SD Adapter to put your MicroSD in so you can plug it into a computer and access it.

I. Download and Install the Android SDK and USB drivers (If you already have this done, skip this section).

1. Follow our video procedure on HOW TO SETUP ADB/USB DRIVERS.

II. Create a “GoldCard” from a MicroSD Card

1. Put the memory card you want to use for the GoldCard into your phone.

2. With the memory card in your phone, click on Settings, SD and Phone storage, then click Unmount SD card. Once it unmounts, click Format SD card. (Please keep in mind that some memory cards don’t work, and this will erase all data on your SD Card so back all the data up first to your computer)

3. On the Phone, goto Settings, Applications, Development and then make sure USB Debugging is checked.

4. *Make sure you have installed the SDK and Fastboot correctly from Section I!!!
Plug the phone into the computer and then open the Command Prompt (goto the start menu and type in cmd in the search box). Then type the following with hitting enter at the end of each line.

cd\
cd\AndroidSDK\tools\
adb devices

(wait for the it to show a serial number underneath, if it doesn’t then reinstall the drivers from section I). Then type:

adb shell
cat /sys/class/mmc_host/mmc1/mmc1:*/cid

5. A code will display, write the code down (MAKE SURE TO WRITE IT DOWN EXACTLY!)

6. Goto this site, Soaa.me - (write down, copy, paste, and then) One-click hex reverse for GoldCard creation, then put in your code you just wrote down into the text box and click submit. It will generate the code reversed and replace the first two digits with zeros automatically. Write that down and continue to step 9.

7. Now, on your computer, goto Redirection and enter your email in the appropriate field and for CID enter the reversed CID you just copied down BUT REPLACE THE FIRST 2 DIGITS WITH 2 ZEROS!

8. Click continue and then you will receive your goldcard.img via email. Once it arrives save it to your computer.

9. Now, goto http://download.cnet.com/HxD-Hex-Editor/3000-2352-10891068.html?part=dl-HxDHexEdi&subj=uo&tag=button to download the HxD Hex Editor. Save it and install it to your computer.

10. Take your SD card out of your phone and put it into the SD adapter it came with. Then put that into your computer so it shows up on your computer as Removable Disk.

11. Open the Hex Editor (Run as Administrator if one Vista or Windows 7) and click on the Extra tab, then click on Open Disk. Under Physical Disk select Removable Disk (your SD card you just put into the computer). Make sure to UNcheck “Open as ReadOnly”. Click OK.

12. Goto the Extra tab again and click Open Disk Image. Open up the goldcard.img that you saved from your email. You should now have two tabs, one is the SD card (Removable Disk) and the other is the goldcard.img
Press OK when prompted for Sector Size 512 (Hard Disks/Floppy Disks).

13. Click on the Goldcard.img tab and click on the Edit tab and click Select All. Then click on the Edit tab again and click Copy.

14. Click on the Removable Disk tab (Your SD Card) and select offset 00000000 to 00000170 then click on the Edit tab and click Paste Write.

15. Click on File then click Save.

16. Close the Hex Editor.

17. Test what we’ve done:

Take out the memory card from the computer, then put it back in.
Try to open the memory card on the computer (Removable Disk), if it lets you, you are all set. If it asks/tells you to reformat the card, then try steps 13 – 19 again. If it gives you the same error again, then try a different memory card (Erlern said it didn’t work for him until he finally went and bought a Kingston 2GB card, then it worked on that card only).

18. Put the GoldCard into your phone and reboot the phone with the GoldCard inside.

III. Downgrade the Hero using the Goldcard

1.Download and install

HTC Sync

2. Plug in your phone via USB cable to your computer (make sure the GoldCard is in the phone).

3. Once HTC Sync is installed and your phone is plugged in, pull down the notification bar on the phone and select HTC Sync. Make sure it connects to HTC Sync on the computer.

4. Download the Original HTC Hero RUU

Hero RUU

5. Double click the RUU you downloaded while the phone is plugged in with the GoldCard in it and follow the on screen procedure.

THANKS JESTERZ at XDA!

Reported Issues

Issue: I get an issue at step 5 or this procedure does not work for me.

Solution: Try to repeat the procedure with the 2.73.405.5 RUU listed on the site here:

Alternative RUU

Issue: I get Wrong Customer ID or a similar error when trying to use the RUU.

Solution: This means your Goldcard did not work and you need to try to do it again with a different SD card.


...:::A Big Thanks to xda-developers for all this:::...
  Reply With Quote
The Following 2 Users Say Thank You to RIB@T For This Useful Post:
md israfil (02-09-14)
Reply

Bookmarks

Thread Tools
Display Modes

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

Forum Jump


All times are GMT +7. The time now is 04:28 AM.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2017, vBulletin Solutions, Inc.
Copyright DhakaMobile.com 2006-2016. All Rights Reserved.