Files needed:
- http://developer.htc.com/adp.html > Download the Image Packages > Android 1.6 > Recovery Image > signed-dream_devphone_userdebug-ota-14721.zip
- installer.sh (ubuntu version in the attachment below)
- installer.sh (mac version of the script here http://www.idroidproject.org/forum/viewtopic.php?f=5&t=104&start=20#p904 - thanks to chibone)
- your own system.img
- ubuntu/mac os x (someone help me port to other os)
Place signed-dream_devphone_userdebug-ota-14721.zip, installer.sh and system.img on the Desktop
Open up terminal, and cd to Desktop.
Type "sudo su" without the quotes and key in your password.
Now type "sh installer.sh" without the quotes and press enter
The script will prepare the "system.img" for you.
After the script have finish executing, load the system.img to /private/var
Boot up into ANDROID.
IMPORTANT YOU MUST CONFIGURE YOUR PHONE TO CONNECT TO YOUR WIFI ROUTER NOW!!!
After connected to your wifi router, open up signed-dream_devphone_userdebug-ota-14721.zip that u downloaded earlier
extract out SetupWizard.apk in system/app
Connect to your phone via
> adb connect XXX.XXX.XXX.XXX:5555
after connected successfully go into adb shell and remount the system as read-write
> mount -o remount,rw -t yaffs2 /dev/block/mtdblock3 /system
exit the shell and push the SetupWizard.apk to /system/app
> adb push SetupWizard.apk /system/app
connect back to the adb shell and change the permission of the file
> chmod 6755 /system/app/SetupWizard.apk
after u have done with pushing the file, just open up ur browser and make sure there is an active internet connection
as we are going to setup the google id.
open up gmail(market/google talk might work too but i tried using gmail)
you will see the setup wizard, complete the wizard and it verify ur account
after that you should be able to run Market, this should fix all the G App that is in the OS.
-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
P.S: I'm not good at writing guide, please correct me if there is anything not good enough