[G1 Android Development] koxx:
Tutorial to flash 5.0.1G...

Tested on french Orange Dream (previously flashed with ADP1.1 with this tutorial : http://wiki.smartphonefrance.info/firmware-htcdream.ashx)

WARNING : 5.0.xG have french language, 5.0.xH doens'nt !

----- Introdution -----

Before everything, you'll need to have :

- Android SDK fully & correctly installed.

Windows : http://developer.android.com/sdk/download.html?v=android-sdk-windows-1.1_r1.zip

Mac OsX : http://developer.android.com/sdk/download.html?v=android-sdk-mac_x86-1.1_r1.zip

Linux : http://developer.android.com/sdk/download.html?v=android-sdk-linux_x86-1.1_r1.zip

- fastboot tool (you have to do a right click, and save link as, if not, you'll be redirected on HTC site):

Windows : http://member.america.htc.com/download/web_materials/ADP/fastboot.exe

Mac OsX : http://member.america.htc.com/download/web_materials/ADP/fastboot-mac.zip

Linux : http://member.america.htc.com/download/web_materials/ADP/fastboot.zip

- a correct USB driver installed for Dream fastboot connexion (for Windows)

avoid driver provided with Android SDK, it often doesn't works

- recorveryBoot.img from JF 1.43

http://koxx3.free.fr/recoveryBoot.img

----- OS update to Cupcake version ------

needed file :

http://sapphire-port-dream.googlecode.com/files/5.0.1G-appstosd-signed.zip

you'll find more recent update here if needed : http://code.google.com/p/sapphire-port-dream/downloads/list

- rename 5.0.1G-appstosd-signed.zip to update.zip

- put update.zip on sdcard root

- reboot Dream in fastboot mode (back + power while Dream is off). You will see Androids on skateboards.

- on PC : fastboot boot recoveryBoot.img

- on Dream : type ALT+S to flash update.zip

- when flash is done, type HOME + BACK to reboot

Once android is rebooted, it's better to do a "reset to factory" to avoid old software configuration problems.

----- azerty keyboard install ------

needed file :

http://xdaforums.com/attachment.php?attachmentid=173725&d=1239106569

thanks greg35

Note : you an use copy/paste under windows cmd shell

- unzip content to sdcard root

- execute shell and folloing commands on PC :

adb shell

su

mount -o remount,rw -t yaffs2 /dev/block/mtdblock3 /system

cd /sdcard

cat azerty.kl > /system/usr/keylayout/trout-keypad-qwertz.kl

cat azerty.kl > /system/usr/keylayout/trout-keypad-v2.kl

cat azerty.kl > /system/usr/keylayout/trout-keypad-v3.kl

cat azerty.kl > /system/usr/keylayout/trout-keypad.kl

cat azerty.kl > /system/usr/keylayout/qwerty.kl

cat azerty.kl > /system/usr/keylayout/sapphire-keypad.kl

cat azerty.kcm.bin > /system/usr/keychars/qwerty.kcm.bin

cat azerty.kcm.bin > /system/usr/keychars/qwerty2.kcm.bin

cat azerty.kcm.bin > /system/usr/keychars/sapphire-keypad.kcm.bin

cat azerty.kcm.bin > /system/usr/keychars/trout-keypad-qwertz.kcm.bin

cat azerty.kcm.bin > /system/usr/keychars/trout-keypad-v2.kcm.bin

cat azerty.kcm.bin > /system/usr/keychars/trout-keypad-v3.kcm.bin

cat azerty.kcm.bin > /system/usr/keychars/trout-keypad.kcm.bin

reboot

------ apptosd -------

You'll need a partition tool :

With windows : for example, Partition paragon manager 8 (google search to find it)

With linux : gparted

- with your PC and this tool, split your SD card in 2 partitions :

1 small in EXT2 for your application & cache storage (for example 256Mb)

1 bigger in FAT32 for your data such as MP3 pictures ...

be carefoul : FAT32 partition should the FIRST one.

- on PC, to move your apps to sdcard, type:

adb shell

busybox cp -a /data/app /system/sd/

rm -r /data/app

ln -s /system/sd/app /data/app

- on PC, to move your cache to sdcard, type:

adb shell

busybox cp -a /data/data /system/sd

rm -r /data/data

ln -s /system/sd/data /data/data

- then adb shell reboot

----- radio update to Sapphire Radio 2.22.19.23 ------

--> not tested ! but normally not needed.

needed file :

http://sapphire-port-dream.googlecode.com/files/Saphire-Radio-Update (rc33).zip

- rename Saphire-Radio-Update (rc33).zip to update.zip

- reboot Dream in fastboot mode (back + power while Dream is off). You will see Androids on skateboards.

- on PC : fastboot boot recoveryBoot.img

- on Dream : type ALT+S to flash update.zip

- when flash is done, type HOME + BACK to reboot

Wiki en francais mis a jour a partir de ce tutorial : http://wiki.smartphonefrance.info/f...direct=1#F_Premier_démarrage_et_configuration