Stefan Martin Riesel

Manual to get root on the G1 phone with Android (1.6 or 2.0)


From version 1.6 1click root system does not work if your Smartphone is in any previous version skip to item 3.2 below.

I updated my phone to version 1.6 to decide where I wanted it a little more, and from this version is a little more complicated to obtain root privileges and can install modified versions of Android such as CyanogenMod .

To follow this manual recommend at least a basic knowledge of Linux alias without it I would not advise putting the phone in Root because it will be much easier to damage the unit. I'm not responsible for the procedures below, I followed the manual and I'll show worked for me but I could have lost the device if anything went wrong.

But what are the advantages of this process:

  1. the limitation of the official version only allow the installation of programs in internal memory that was in my case 60MB, with the latest versions of CyanogenMod programs go directly to the SD since it has an ext2 or ext3.
  2. The possibility of a partition using a Linux-SWAP
  3. Be able to provide internet device (tethering) to your computer or laptop via USB Wifi
  4. And much more see the list http://forum.xda-developers.com/showthread.php?t=567610

Of course there are disadvantages such automatic updating is turned off but for that we already own Cyanogen an application that makes the upgrade from them.

1-DOWNGRADE

So let's start first of all you need to do a downgrade to version 1.0, ie the phone will return the original form before the updates, this procedure will also be necessary if we are to remove the root privileges and have access to again automatic updates direct from Google.

Here I had two paths or two manuals is much like an easier and one that worked . The easiest basically do not need the GoldCard. I advise you to first try to make this straightforward procedure if the author was able to work with you and maybe save a few steps, Manual own Cyanogem GoldCard not speak anything.

In both cases we must first file DREAIMG.nbg RC29 (U.S.) [Link1] [Link2] if you have an American or appliance RC7 (UK) [Link1] [Link2] if you have a European machine, unzip the file and place DREAIMG.nbh the file on your MicroSD card from your G1. Do not rename the file, the file name has to be DREAIMG.nbh

The procedure without GoldCard just turn off your phone, press and hold the button to take photo and power button.

Bootloader It will connect recovery mode, in my case I received the error message 00028002 (not allow) and return to this screen the rainbow. I have checked this message and found that it meant that my CID was wrong, this error also happened to me once with GoldCard but I think I must have made a mistake when copying the number of CID, for the second time it worked. In the comments of the manual also has a user who received an error message but simply formatting the SD and putting the file DREAIMG.nbh work, is a possibility.

To exit this screen you can dial by pressing the + Menu + End, in my case I was obliged to take out the battery and USB cable because this combination was not working.

Downgraden_2 Downgraden_1 If it works will appear next to those two screens, the first asking to push the power button to start the process. Be careful not to be without your cell phone battery as this procedure can be that would ruin the device. If managed istalar will not need to mount the GoldCard, and the device will be in version 1.0.

2-GoldCard

If you did not install DREAIMG.nbh GoldCard is necessary to mount the first application install Astro File Manager and then go with him to the folder / sys/class/mmc_host/mmc1/mmc1: XXXX / where XXXX is a hexadecimal number, ICD-click the file and open it as text, vai aparecer um número, na verdade são uma sequencia de números com dois algarismos por exemplo:
vai aparecer um número, na verdade são uma sequencia de números com dois algarismos por exemplo:

035344535530314780601c619e00822e
03 53 44 53 55 30 31 47 80 60 1c 61 9e 00 82 2e

It is necessary to reverse this sequence, then remove the spaces:

2e 82 00 9e 61 1c 60 80 47 31 30 55 53 44 53 03
2e82009e611c60804731305553445303

Place this code in the form below, or at http://revskills.de/pages/goldcard.html that you receive via email the file goldcard.img

Email:
Confirm Email:
ICD Code (already inverted):

Now format the SD card (make backup if necessary) I chose to copy the image (goldcard.img) with the dd command of Linux, but you can do in Windows with the hex editor HxD Hex Editor, see the manual:
http://forum.xda-developers.com/showpost.php?p=4289899&postcount=1

Following with Linux, connect the device via USB, it should automatically mount with the command "mount" to find out where this unit:

/dev/sdb1 on /media/disk type vfat ↩
(rw,nosuid,nodev,uhelper=hal,shortname=mixed,uid=1000, ↩
utf8,umask=077,flush)

This case is in / dev / sdb and the first partition is on / dev/sdb1 with the command "sudo umount / dev / sdh" disassemble this unit with the command "sudo fdisk / dev / sdh" and then "p" make sure that he is on FAT32 if it appears "/ dev/sdh1 1984 991747 + 6 FAT16" in this case press the "t" for partition type and then the "b" at the end will have this "/ dev/sdh1 1984 991747 + b W95 FAT32 "by pressing the" p "(print), press" w "to save and" Ctrl + C "to exit.

Then format the partition "sudo mkfs.vfat-F 32-8 s / dev/sdb1" and being in the directory where the file is goldcard.img apply it to the SD card with the command "sudo dd if = of = goldcard.img / dev / sdb "is careful not to partition sdb1 but to the root of the sd card.

Now copy the file back to the SD DREAIMG.nbh unplug the machine and repeat the above procedure again entering recovery mode. (Picture taking button and power button)

3-ROOT

Now we again have two paths we can install version 1.5 and get the Root FlashRec with the application or that we enjoy in version 1.0 and get the root via Telnet.

3.1-TELNET

Copy to SD card file cm-recovery-1.4.img [Link1] [Link2] to the root of the card (no directory).

Remove the USB cable and Wifi connected with the Enter key twice and then "telnetd" (without quotes) and Enter again

Now enter the settings for your modem to see the IP of the device, after the command " telnet" eo IP do aparelho(Tanto no Linux quanto numa janela do DOS), no meu caso foi "telnet 192.168.178.24", se ficar só o simbolo # é que você esta conectado.

Enter the commands:

# mount -o rw,remount -t yaffs2 /dev/block/mtdblock3 /system
# cd sdcard
# flash_image recovery cm-recovery-1.4.img
# cat cm-recovery-1.4.img > /system/recovery.img

Congratulations you are now with the device in Root.

3.2-FLASHREC

Another way to get the root privileges and placing the official Cupcake version 1.5 [link] , rename the file to update.zip restart your G1 + house shaking power and install.
Now your G1 cupcake is version 1.5 but without root access.

Download the application flashrec.apk [Link] , open the application. Once opened you will see two buttons, click the "Backup Recovery Image." Wait for him to complete the process and click on "Flash Recovery 1.4 Cyanogen", wait a little longer.

Give a reboot in recovery mode on your G1 + Power house and now you can install the room you want.

4-HARDSPL (Alternative Bootloader)

If you want to install only the versions of CyanogenMod nescessário this procedure is not, but if you want to install any version, for example JesusFreke nescessário-ROM is a step further.

Copy the file update.zip [Link1] [Link2] to the root of SD, unplug the appliance, a relic of the House with the button (Home) + Power, select [Alt + S] apply sdcard: update.zip and ready press Home + Back to restart.

Android 1.6, Flash 5 & CyanogenMod 4.2.3/4.1.9999

To install the CyanogenMod continues in this manual:

http://www.riesel.com.br/tecnologia/android-tecnologia/flash-android-cyanogenmod/

  • Marcelo

    I would like to make any changes before an original backup of my phone is the HTC G1 Tmobile with firmware 1.6 would like to put htc g3 superhero, but that goes in the middle of the year, HTC chose to release the update for android htc g1 2 which I liked most of these changes are support for flash I knew that soon everyone will have flash support and a thing like the superhero is the htc album music system. what do you recommend? to wait a little more or make a change to htc rom as superhero.

  • martin

    Not yet tested ROM Hero. and also studied expecting out version 2.0 or higher for the G1.
    Once released the Root options connecting the device holding the home increases, including the nandroid is released that makes up the entire system. But for the Root have to go back to version 1.0
    If you later want to return the unit to its original form and without root access have to do the first part of the manual back to version 1.0 and then upgrade right through menu settings with the updates.
    The ROM I'm currently using is that of Cyanogen with Thema BlackIce, the theme adds many cool things like folders on the main menu, as with the applications installed on SD just exaggerating the amount of stuff installed, and it was so easy to organize everything .

  • Martin http://www.riesel.com.br Riesel

    First you are with the Cyanogem ROM and installed with root access right?
    If you are doing the update via WiFi or EDGE switch to 3G, operators have to limit to 5 MB download.
    Try to uninstall the program and reinstall it, and watch a running time with Cyanogen is no longer possible to remove the SD card if you have a second partition for APP. For he can not break over the SD.
    Today I took the SD without dismantling reintalar and now I have several applications that are in error.
    What part is giving this error in downloading or installing?

  • Rafael

    In Cyanogen updater ta md5 not giving error response

  • Martin http://www.riesel.com.br Riesel

    Do not know anyone in Brazil, but one look at the forums.

    Alias ​​the current version of Cyanogem is 6 which is based on the new Android 2.2. In G1 there's no way if you want to have a newer system because they do not have to crack saira updates. Care to lose but the unit, check that the model is the same manual that you're following and preferably not install packet radio

    Search the forum http://forum.portalandroid.org staff it is very good

  • Alexandre Henriques

    Hi Do you know any place where I can carry my G1 to do this upgrade process. I'm not very familiar with Android and not Linux. I'm afraid to damage the unit.

    grateful

  • Igor Bretas

    q every time I install rc29, qndo care is giving error, talking android qo process. q must be completed and such
    there to put in the APN pq qndo to entering the config. of the error in the middle ...

  • Martin http://www.riesel.com.br Riesel

    Have to check if your appliance is American or European, to see if the RC29 is correct. Search the forums for similar problems, or ask there.

  • Maymauriti

    eae staff. mine is a T-Mobile G1 Firmware 1.1. Should I jump straight to the FlashRec, is it? And then, following the above comments I can add the CyanogenMod 2.2? Sorry, I'm new to it, but in order to make the whole thing carefully!