Cupcake on G1/ADP1
Thanks to the tireless (if occasionally sarcastic) work of jbq, you can now build cupcake for the G1/ADP1! (Which means it is now at least mostly capable of what google sold it for – platform development and testing.)
Update: wifi works now :)
Update 2: images attached (updated 2009-01-16 with newest fixes)
Update 3: This page has a new home :)
(bigger, since people miss it :) ..)
You may recall jbq was the same goog who worked his butt off to merge it to master before the vacation. (And SanMehat worked before/during his vacation to get it building, although not particularly running.) Well, now he has come through again and, according to his post to android-platform, the Building for Dream page (plus the current repo master head) actually WORKS.
I’ll post more once I’ve done it (it’ll be a while, my main dev box .. yeah. Fscking apple. And the mythtv box hasn’t got enough ram, so builds are SLOW) but according to jbq, the biggest missing pieces are wifi (I’ve got some ideas, last week it wasn’t bundling wifi_loader) and maybe bluetooth. GPS is untested, audio playback works (!!), camera is still weird, and gsm data/voice is working. (That is, for a lot of people, the biggest barrier to testing.) And of course, there is no official way to get back to stock. Unofficial ways are as close as your local blogger. ;)
THANKS JBQ!!!!!
Update 2: Want images? Here ya go! Master 2009-01-15 (230) or today’s latest: Master 2009-01-16 (258)
Update: Thias just got wifi working:
A few tweaks are required to have it compiled and working:
1/ In the buildspec.mk file add the following:
TARGET_PRODUCT:=htc_dream
BOARD_WLAN_TI_STA_DK_ROOT:=./system/wlan/ti/sta_dk_4_0_4_32
BOARD_HAVE_BLUETOOTH:=true2/ In vendor/htc/dream/init.trout.rc, modify (remove the “-X” option) from the dhcpcd service line to obtain the following:
service dhcpcd /system/bin/logwrapper dhcpcd -d tiwlan0
3/ Run the appropriate make and fastboot commands and you’ll then have
wifi working! ;-)
Update: original announcement:
WARNING: THIS WILL WIPE YOUR ADP1, AND THERE IS CURRENTLY NO OFFICIAL
WAY TO RECOVER IT.
Good news everyone, it looks like the android master branch as it’s
available today can run on dream/ADP1 hardware.
In a nutshell, the instructions at
http://source.android.com/documentation/building-for-dream work. When
you’re done, reboot into the bootloader and run fastboot -w flashall.
A bit of refinement to make life smoother:
-adb pull /system/etc/apns-conf.xml and stick it in
development/data/etc/apns-conf_sdk.xml
-tweak development/apps/SdkSetup/Android.mk to use LOCAL_MODULE_TAGS
:= eng development
-tweak development/apps/SdkSetup/AndroidManifest.xml to add the
WRITE_SETTINGS in addition to WRITE_SECURE_SETTINGS
The first step will give you APNs properly set up, so that you don’t
have to input them manually.
The other two will configure your device to be provisioned, so that
home/dial and the keyguard work.
The state of things: GSM voice and data work. Wifi doesn’t work. SD
card works. Camera works, though the preview and orientation look odd.
Audio playback works. I wouldn’t bet much on bluetooth or GPS.
(disclaimer: I actually did it with a development device running an
engineering bootloader, and I started from a build of TC4-RC30 instead
of the actual ADP1 build, but it should be close enough).
ONCE AGAIN: ONCE YOU FLASH YOUR ADP1, YOU HAVE NO OFFICIAL WAY TO GET
IT BACK TO THE INITIAL BUILD THAT CAME WITH IT.
–
Jean-Baptiste M. “JBQ” Queru
Android Engineer, Google.



on January 15th, 2009 at 10:00 pm
Any comments on the browser? How are the performance improvements? Javascript?
Reply
on January 16th, 2009 at 2:01 am
Have to revert back to ADP1 version, the soft key is good for alphabets, numeric key does advance so each time you have to correct the cursor to type, anyway the worst part the radio is flip flopping, wifi works but because you can use the phone to receive call , its still not worth at this time, I build my own from the source, in that version I was able to make the call, while the uploaded version does a compete flipflop on radio and am not even able to make the call, reverted back to JF ADP1 1.3 back. need quit a lot change for day to day usage.
PS: Camera for still and well as video don’t work at all, they need force close.
-Pramod
Reply
on January 16th, 2009 at 7:07 pm
[...] Android Blogging Network » Blog Archive » Cupcake on G1/ADP1 [...]
on January 24th, 2009 at 5:41 am
Is it rumour or any clue you got somewhere?
Reply
on February 25th, 2009 at 10:58 pm
tested and it works perfectly!
Reply