My Master/Cupcake Images

Posted on January 16th, 2009 in Android Hacking by Disconnect  Tagged , , , , , , ,

So rather than continuing to update post after post after post, here is a page where you can find my cupcake images, and any changelogs I might have, from newest to oldest.

Current staus (subject to unexpected bugs) as 0f 3/16:

  • Gps works
  • Phone and data (and 3g!) works
  • MMS, SMS works
  • Wifi works
  • Home Screen Applets work!
  • Motion sensor does NOT work.
  • No google apps (gmail, sync, calendar, maps, etc)
  • No closed-source apps (market, IM, mp3 store, etc)
  • Probably stable enough for day-to-day use if you don’t need closed-source apps.

Newest Image (Status Unknown, Post-Cupcake):

Master 2009-05-20 v1.0 (392 downloads)
* New Nightly Build!
* Also contains "revert-manifest.xml" to help with checking these sources out later
* Lots and lots of changes - tracking master, which is NEWER than cupcake. (And more unstable!)

Archives:

Master 2009-04-26 v1.0 (352 downloads)
* Cupcake sdk 1.5 merged * Untested, lemme know how it works

Master 2009-03-16 v1.0 (801 downloads)
* 9115: Allow prebuilt libraries and the associated makefile to be in different director (MERGED) * 9116: OpenCORE 2.02 Update. Refer to ChangeLog for details (MERGED) * 1251: add build system design doc (MERGED) **BIG CUPCAKE MERGE ALSO (no changelog yet)

Master 2009-03-11 v1.0 (210 downloads)
* 9113: Add top-level Android.mk (MERGED) * 9110: Add Android.mk, update license headers. (MERGED) * 9099: AbsSeekBar slightly optimized by removing a redundant snippet of code (MERGED) * 9090: Updated the sgrep tool so that is will treat Makefiles (.mk) and shell scripts ( (MERGED) * 9029: Code to reuse PlatformAddress objects. Minimizing garbage creation on the framew (MERGED) * 9005: Update alsa-lib to version 1.0.19 (MERGED) * 7299: Allows building of WebKit libs on FreeBSD (MERGED) * 8901: Fixing emulator crash on Win32. (MERGED)

Master 2009-03-05 v1.0 (465 downloads)
* 6601: fix issue #1587 (MERGED) * 1683: Android on Freerunner support (MERGED) * 1535: Fix a FileObserver jni bug. The path string in FileObserver jni will not be auto (MERGED) * 9071: Use static const variable for speed. Clarify a comment. (MERGED)

Master 2009-03-04 v1.0 (129 downloads)
* 8224: Fix issue #1324: No audible call-waiting indication when in-call volume is low (MERGED)

Master 2009-03-03 v1.0 (121 downloads)
* 8875: Removing \"import\" statements from AIDL-generated .java files. (MERGED) * 8865: Fixing LayerScreenshot bitmap config value. (MERGED) * 9040: Add support for symbolic links for product folders (MERGED) * 8870: Small spanish language correction (MERGED) * 9045: Fixed typing mistake causing process crashes. (MERGED) * 8838: This patch rewrites common_invokeOld for the x86 fast interpreter. The implement (MERGED) * 8867: Fixing verb in permdesc_readFrameBuffer English. (MERGED) * 9046: Remove obsolete OTA tools (MERGED) * (plus repo changes)

Master 2009-03-01 v1.0 (102 downloads)
* 9026: Remove stale uses-permission tag. (MERGED) * 8979: OpenCORE 2.1 update (MERGED) * 9027: Optimize call to queryIntentActivities() (MERGED) * 9028: Make the DownloadProvider work in the simulator (MERGED) * 8800: Force download progress bar to show progress. (MERGED)

Master 2009-02-26 v1.0 (196 downloads)
* 8980: OpenCORE 2.1 update (MERGED)

Master 2009-02-25 v1.0 (209 downloads)
* 8962: Fix the obvois wrong test in methodIsPublic function. (MERGED) * 8691: Make play() call next() if we are at end of track (and not REPEAT_CURRENT). (MERGED)

Master 2009-02-17 v1.0 (294 downloads)
8892: Add support for camera preview to be in overlay surfaces. 8891: Add getBufferCount API to Overlay objects 8890: Add getBufferCount to overlay HAL 8889: Need to dup file descriptor when reading from the binder for native handles (and a bunch of kernel changes, but this build uses the prebuilt so..)

Master 2009-02-10 v1.0 (250 downloads)
(Now on the fast mirror!) platform/external/opencore: 8794: Adding API documentation for OpenCORE 2.0 kernel/msm: 8834: [ARM] msm: audmgr: avoid leaking audio manager handles 8832: [ARM] msm: defconfig: Add LOOP support to defconfig 8828: i2c: akm8976: Add proper probe function + provide hardware information 8778:[ARM] msm: htc_acoustic : use smem and rpc to write acoustic table platform/frameworks/base: 8790: Fix 1855: Restore constants to pre-cupcake values. platform/packages/providers/DownloadProvider: 8787: Refine interaction between destination and default visibility. 8772: Documentation about the download manager

Master 2009-02-08 v1.0 (163 downloads)
* New pmem apis (kernel) * patch oCERT-2009002, 2009-0475 (opencore)

Master 2009-02-02 v2.0 (566 downloads)
V2: * Totally clean build (remove out/* not just make clean) * Use current librpc.o (not from phone) * HWGL confirmed by jbq * Change 8249: Remove old (unused) download manager APIs * Change 7345: Use the same APN list for dream builds as ships on ADP1. * Change 7699: Make wifi work on dream. V1: * GPS fix * Maybe hardware gl fix * Clean build

Master 2009-01-31 v1.1 (276 downloads)
* GPS and BT both work now :) * Image fixed (Sorry, WP is brain damaged sometimes)

Master 2009-01-28 v1.0 (397 downloads)
* Minor build environment changes

Master 2009-01-27 v1.0 (2217 downloads)
* Opencore 2.0 (and related changes)

Master 2009-01-26 v1.0 (133 downloads)
* Fixed, tested, works. APN works, wifi works, provisioning is fixed. * Non-optimized build

Master 2009-01-25 Non-Opt v1.1 (122 downloads)
* Updated at JF's request - revert.sh can be used to turn an up-to-date repo into the revision for these bins * Non-optimized rebuild of 2009-01-25 for testing * The images before \'optimized build\' worked, the ones after do not. * No real changes in repo otherwise

Master 2009-01-23 v1.0 (227 downloads)
Donut branch opened. Brief changelog for cupcake dump (2 days or so ago) - thanks jbq!: - backout fix for http://bugs.webkit.org/show_bug.cgi?id=16512 (not applicable) - Fix bug where UMS wouldn't enable properly - OSK: Add back auto space on candidate selection. - OSK: Delay key feedback display. - WLAN: Fix power consumption notification when driver is removed - VideoRec: Use a single button for both the mode indicator and the recording indicator. - Music: Fix problem that would leave the "now playing" list empty when removing the currently playin g song from it. - Expose API in SDK to remove cache files - Temporarily disable A2DP and force audio hardware when any audio streams are ringtones, alar ms or notifications. - Adds the User dictionary settings, available via Settings > Locale and text > User dictionar y, allowing you to see or add words to the user dictionary. - This removes the quarter second delay when passing a set focus message from WebView to WebCore. - Increase MMS size to 1MB. - Make sure the music service also stops itself if it got killed and restarted by the system. - Submit rightly signed 64-bit driver (For windows) - Fix Mac build of the emulator (this might be important to me :) -- dis ..) .. and many more. http://review.source.android.com/8314/diff/1/ze6ce73997da19f13ebb0c1c035d51a479e9295d3

Master 2009-01-22 v2.0 (141 downloads)
- Optimized build now - Cupcake merge - Revert JBQ\'s provisioning patches **v2: added provisioning workaround

OK I have a changelog (thanks jbq for pointing out the obvious to me. again.) :)
Update: This image was broken – the provisioning was missing. I uploaded a new version.

Master 2009-01-21 v1.0 (139 downloads)
Master from 2009-01-21 (morning)

Again, no shortlog, but it looks like some webkit changes, more cdma patches and some kernel changes (although I believe this still uses the same prebuilt one, so..)

Master 2009-01-17 v1.0 (900 downloads)
Master snapshot build as of 2009-01-17

Not sure, although the cdma changes are starting to filter in.

Master 2009-01-16 v2.0 (261 downloads)
OK, and now the green key, home key, keyguard, and a few other things will work out of the box on git-master

Master 2009-01-16 v1.0 (129 downloads)
GSM fix is in, should be much better now. Almost usable in fact, if by ‘usable’ you mean ‘held together with duct tape and cursing’

Master 2009-01-15 v1.0 (234 downloads)
Initial release of works-on-adp1 cupcake. Still pretty broken.

(The original announcement and earliest changelogs are here.)




56 Responses to 'My Master/Cupcake Images'

Subscribe to comments with RSS

  1.    Kenny Root said,

    on January 22nd, 2009 at 5:28 am

    It looks like you can build preoptimized images by using “make PRODUCT-htc_dream-user”

    Reply

  2.    springroll said,

    on January 23rd, 2009 at 11:24 am

    is your build flashable? or fastboot only?

    Reply

  3.    Disconnect said,

    on January 23rd, 2009 at 2:56 pm

    fastboot only. update.zip images are a pita, although i can be convinced if you want to put together a framework and scripts that i can just add the .img files to..

    Reply

  4.    TyrNight said,

    on January 23rd, 2009 at 9:41 pm

    I guess the best question to ask at this time is, Is it usable yet? For everyday testing use?

    Reply

  5.    Gvarv said,

    on January 24th, 2009 at 9:23 pm

    Master 2009-01-23 – installed using fastboot over JF 1.31 (AD1), booted and started charging but never made it to the setup picture/home. Tried a wipe, then install – same. Wipe and then install over AD1.1, same. (OS W7 x64)

    Reply

  6.    Disconnect said,

    on January 25th, 2009 at 10:53 am

    How long is ‘never’? First boot takes half of forever while it builds odex cache and such. Did adb lolcat show anything?

    Reply

  7.    Anton said,

    on January 25th, 2009 at 11:13 am

    + for 2009-01-23 on ADP1. Starts booting but doesn’t get to the end.

    Reply

  8.    Disconnect said,

    on January 25th, 2009 at 1:23 pm

    Yah I confirmed that here as well. San is looking at it for me :) (he’s got a serial console, and it hangs before adb starts.)

    Reply

  9.    Disconnect said,

    on January 25th, 2009 at 1:35 pm

    Flashing the boot.img from JF’s 1.41 images (http://andblogs.net/images) lets adb logcat work, and from there it looks like there is still a problem with provisioning. (The closed-source app that handles initial setup and such..)

    So its at least not -completely- a problem of “its master, its unstable, deal” :) but it means its probably gotta be fixed by teh goog.

    Reply

  10.    Artie said,

    on January 26th, 2009 at 11:21 am

    Todays build seems to install and start correctly but wifi still doesn’t work. I get \unsuccessful\ on all the networks I try to connect to. (yes I changed the regulatory domain)

    Reply

  11.    manup456 said,

    on January 28th, 2009 at 6:31 pm

    Is there a reason so many apps are missing,main apps like market,gmail,youtube etc….and IM does not work.

    I love your work bro cant wait to see what else your coming up with. :D

    Reply

  12.    manup456 said,

    on January 28th, 2009 at 6:32 pm

    Yeah wifi still not working just tested my self,and i also tried your latest build.

    Reply

  13.    manup456 said,

    on January 28th, 2009 at 6:47 pm

    Sorry for posting a lot of stuff but wifi does work but only until the phone sits for a while.

    Reply

  14.    Disconnect said,

    on January 28th, 2009 at 8:46 pm

    None of the closed-source apps are there. Because they aren’t released for master. You’ll need to ask google (or, in the case of IM and myfaves, T-mobile.)

    If I get a chance I’ll see if I can figure out whats up with wifi.

    Reply

  15.    Artie said,

    on January 28th, 2009 at 10:14 pm

    Wifi started working for me after the 1-26 release.

    Reply

  16.    kim said,

    on January 29th, 2009 at 4:41 pm

    hi disconnect,

    is it possible that Master 2009-01-28 v1.0 (96 downloads) can be uploaded to rapidschare??.because download it slow 85 bytes downloading now 18 u…

    gr. kim

    Reply

    Disconnect Reply:

    There was a ton of traffic (over a meg and a half a second) for a while. Its died down now.

    Reply

  17.    randy bryan said,

    on January 31st, 2009 at 5:25 pm

    Is there any way to get Market working?

    Reply

  18.    Pramod said,

    on February 1st, 2009 at 12:15 pm

    No, not now the GoogleLoginService is having problem with the current code based, I tried a lot, if you try to use the previous class.jar and framework.jar, then current contact sync code is having problem while compiling. I believe google need to release the google application binary, for latest framework(SDK). I made Maps working, but partially, when the GPS get the fix the maps application get a closed dialog ;-(

    Reply

  19.    Earlence said,

    on February 2nd, 2009 at 4:04 am

    Hi,

    Are the audio streaming APIs exposed in these images?

    Cheers,
    Earlence

    Reply

  20.    Earlence said,

    on February 2nd, 2009 at 4:42 am

    Hi,

    I downloaded the master image, Then I replaced the original images with the new ones. But my emulator doesn’t start, any ideas?

    Reply

  21.    hr00st said,

    on February 4th, 2009 at 4:03 pm

    when you going to add maps and sync with gmail account.?

    Reply

  22.    Disconnect said,

    on February 4th, 2009 at 4:13 pm

    i’m withholding it just because i hate you personally. no, wait, thats not it. i’m withholding it because it is closed source and google hasn’t released it for cupcake. (Although jf has been hacking on it a bit.)

    Reply

  23.    hr00st said,

    on February 6th, 2009 at 4:54 pm

    is it possible to pull out stuff we missing from RC33 and place it into cupcake?
    PS i now guys that you are PROs, i’m just truing to figure out this for my self, just curios. (i think that 1.1 will be similar to 1.5)
    PPS sorry my english, it is not my mother tongue.

    Reply

  24.    Crossbow said,

    on February 8th, 2009 at 8:15 pm

    I’ve been tying this, I don’t think it is easy, I’ve got Master 2009-02-02 v2.0 running on the emu, and tried piecing things back in from ADP1.1. Most stuff does not work. There are closed source libs and stuff that just isn’t there. Still looking at it, Perhaps someone better at this stuff than I could do it.

    Reply

  25.    Jarder said,

    on February 11th, 2009 at 1:51 pm

    Hi every on

    Its possible add a2dp support for ADP or RC33?
    Maybe using a lib from cupcake…

    Reply

  26.    Dan said,

    on February 11th, 2009 at 4:54 pm

    I have been trying to reproduce Master 2009-02-10 v1.0 without success. How can I get a current master build of the kernel for ADP1.

    Reply

  27.    Disconnect said,

    on February 11th, 2009 at 4:59 pm

    I’m just posting whatever is built by the current code. I think the kernel it uses is in prebuilt/ still – if you need to build a new one, you’re best bet is probably to ask for help on the android-platform mailing list.

    Reply

  28.    pinguin said,

    on February 16th, 2009 at 1:11 pm

    Hi,
    does your “Master 2009-02-10 v1.0″ version support unicode ? I want to biuld own image with unicode and adding other lib (.so file). If i build an system image for G1 using only source from google. Should my device to be not rootable ? thanks

    Reply

  29.    Guilmon_DT said,

    on February 18th, 2009 at 9:49 pm

    Hello. I have installed the version “2009-02-17 v1.0 Master” and has seen the following bug:
    - The phone reboots when trying to open the notification bar with the language “Spanish”. With English, French and others works correctly.
    - When changing from one language to another (Ex. French to English), the current information that is in the bar notifications “does not change the language”, if not until it receives a new notification or restart the phone.
    - The main page of http://www.google.com/m from the “Browser” takes a long time to change the orientation from horizontal to vertical (when you close the keyboard) when the cursor is in the text bar.

    Reply

    Disconnect Reply:

    @Guilmon_DT, Great. Go to http://b.android.com and file bugs…

    Reply

  30.    manup456 said,

    on February 19th, 2009 at 3:04 am

    If the new HTC Magic is coming with cupcake by default and has the market why cant we do this with our G1?

    Reply

    Disconnect Reply:

    @manup456, Sure, as soon as google provides binaries that can be installed to source builds. Market, google sync, etc are all closed source. We have no access to them at all.

    Reply

  31.    John Lee said,

    on February 19th, 2009 at 7:54 am

    Could you tell me how to build the master/cupcake image for G1 from Android’s source code tree? Thanks very much!

    – John

    Reply

    Disconnect Reply:

    @John Lee, http://source.android.com/documentation/building-for-dream

    Reply

    John Lee Reply:

    @Disconnect,
    Thank you! However, I have failed compiling while trying to compile the source codes by following the steps described by the link, as has stated by the thread http://forum.xda-developers.com/showthread.php?t=462512. However, the author didn’t show us how to fix the compiling issues.
    Could you show me a detailed instruction for compiling the images for HTC G1 phones? Thanks very much!

    Reply

  32.    pinguin said,

    on February 19th, 2009 at 8:11 am

    I have changed from JFv1.42_RC33 to your Master 2009-02-17 v1.0. (without kernel file) It’s nice. Can i have flash kernel to G1 after flashing system image, now ? I would like to build master/cupcake image for G1 from Android’s source code tree too. Please help. Thanks !

    Reply

  33.    hr00st said,

    on February 25th, 2009 at 4:02 pm

    I found this on XDA-Developers
    Patching in Maps (or other files) into your system.img

    1. Copy Maps.apk from a Android Dev Phone 1 into mydroid/out/target/product/dream/system/app
    2. Copy com.google.android.maps.jar from a from a Android Dev Phone 1 into mydroid/out/target/product/dream/system/framework
    3. Delete mydroid\out\target\product\dream\obj\PACKAGING\sys temimage_unopt_intermediates\system.img
    4. Delete mydroid\out\target\product\dream\system.img
    5. make

    is that works?

    Reply

    Disconnect Reply:

    @hr00st, you can do the same thing by copying maps.apk to “system/app” and maps.jar to system/framework after you flash the image.

    Reply

  34.    Rafase_282 said,

    on March 3rd, 2009 at 2:15 pm

    Hello, i would like to know what is the “proper” way to flash this as I don
    t think I’m doing the right way as some files are left off.

    Reply

  35.    barak roth said,

    on March 12th, 2009 at 8:34 pm

    installed the version from 3/11/09 works well…. able to run 41 apps (non google) still problems with the text input del after numbers. bluetooth hit or miss. it was nice to hear music on bt. BTW recovery utility JF that is works great with/on cupcake…. reflash userdata.img from backup……

    Reply

  36.    Teng Ren said,

    on March 14th, 2009 at 3:32 am

    Hello, when I encountered a problem that myselves’ builded image will miss all the coming call, so I searched here. I have tried your images, it works.. So could you help me solve this problem? I totally did according to the webpage “building for HTC dream” on android.com.

    Reply

  37.    barak roth said,

    on March 16th, 2009 at 7:00 pm

    20090316 very nice… so far i noticed that i can use more apps that record sound….. one notes works all i need now is voice search and market …..and maps (big world works on cupcake k9 for email Open home works great on cupcake and the active folders work inside open home …. nice job. I like a home but it does not run on cupcake yet.)

    Reply

  38.    cpsoft said,

    on March 20th, 2009 at 1:32 am

    Thank you for your working.But could you supports the master Android SDK and ADT for us? Thank you.

    Reply

  39.    jc said,

    on March 27th, 2009 at 4:04 pm

    Is the process of flashing an adp1 always revertible?
    Could i brick my adp1?

    Sorry for my ignorance,
    would like to know before trying out ;-)

    Reply

  40.    Ali said,

    on March 28th, 2009 at 6:30 pm

    I just downloaded HTC MAGIC (Android cupcake new version) from XDA developes. It is actually very fast but bluetooth and WiFi are not working. Will anyone be able to fix these two issues. The website is below to new cupcake software:
    http://forum.xda-developers.com/showthread.php?t=498026

    Reply

  41.    TC said,

    on March 28th, 2009 at 6:44 pm

    Has anyone taken a look at the “magic” port from xda to see if these 2 builds can be merged??

    Reply

  42.    dhw said,

    on March 28th, 2009 at 10:53 pm

    A dump of the htc magic system dir with all the cupcake 1.5 google apps can be d/led here.

    http://www.xmoo.org/android/htc_sapphire_system.rar

    Reply

  43.    Joushou said,

    on April 3rd, 2009 at 4:26 pm

    Hey, Disconnect
    I tried to copy the libaudio.so over to the magic build, but that just stops audio from working completly. Also tried adding libaudioflinger into the mix, but when i added libmedia, the phone hung at bootup (after mounting sdcard)…
    So, i couldn’t get it to work… not with a direct copy-paste atleast :)

    Reply

  44.    Brian said,

    on April 4th, 2009 at 5:21 pm

    Has anyone else tried to build their own version of the 2009-03-16 images? When I use the revert.sh script to modify my git revisions and then build, I get an error at boot that htc_acoustic.so cannot be found. I believe this file is built from somewhere in the msm7k code.

    I’d really appreciate the help finding what’s wrong; I need to build some of my own code into framework for a project I’m working on. Right now, it works, but I don’t have any sound.

    Thanks!

    Reply

  45.    Brian said,

    on April 4th, 2009 at 7:22 pm

    Has anyone else tried to build the 2009-03-16 image from git source? I used “repo sync” to fetch a fresh copy of master, then applied the revert.sh script bundled with the 2009-03-16 package. After I build, I get the following errors on bootup:

    E/AudioHardwareMSM72XX( 33): Could not open libhtc_acoustic.so
    W/AudioHardwareInterface( 33): Using stubbed audio hardware. No sound will be produced.
    E/A2DP ( 33): bt_audio_service_open failed
    E/A2dpAudioInterface( 33): a2dp_init failed err: -111
    E/AudioFlinger( 33): mA2dpDisableCount is already zero

    I’d really appreciate the help finding what’s wrong; I need to build some of my own code into framework for a project I’m working on. Right now, it works, but I don’t have any sound.

    Thanks!

    Reply

  46.    Joushou said,

    on April 5th, 2009 at 1:32 pm

    Did you extract the drivers from one of the official builds (I think libhtc_accoustic.so is one of htc’s closed ones…)
    I believe theres a script to do it for you somewhere, otherwise just adb pull it off a running phone (it should be in /system/lib), and copy it over to your build.

    Reply

    Brian Reply:

    There is no file by that name on my phone which I have found. I have used the busybox find command to search the filesystems on the phone, and I’ve pulled the entire /system directory off both the official 1.0 and 1.1 builds and searched again on my computer. Nothing turns up on Google either.

    I hate to sound cynical here… but has anyone used either Disconnect’s revert.sh script or any of JesusFreke’s BuildEnviroments and actually compiled images that come close to matching the published binaries? Or am I doing something wrong?

    I just want one source tree that builds with a make command and results in some fastboot images which will give me working buttons, sound, wifi and 3G. I don’t care about preserving any applications that are not on the straight-off-the-sdk emulator.

    Please… if anyone could toss me a bone, I’d greatly appreciate it.

    Thanks!

    Reply

  47.    Joushou said,

    on April 7th, 2009 at 4:37 pm

    JesusFreke builds using his build-environment ;)
    And, the file IS in /system/lib/libhtc_acoustic.so on the builds with sound working, i know, i have it there :)
    Check again, “ls system/lib | grep libhtc”

    Reply

    Brian Reply:

    What version are you using that you see that file? I just reinstalled the binary 20090316, and “ls /system/lib/libhtc*” only turns up libhtc_ril.so

    I was able to get sound working on the 20090311 build (still no libhtc_acoustic.so present though, only libhtc_ril.so)… if I can get the Home button working on it now I’ll be golden.

    If you built one of these images from the revert.sh script, did you have to remove the LatinIME app to complete the build? It seems to have forward dependencies on newer parts of the framework code, which had forward dependencies on newer C/C++ code.

    Reply

  48.    Brian said,

    on April 8th, 2009 at 9:39 am

    To anyone else in the world having a problem building an image where the Home button works, my problem was in a version dependency on the database version used for Settings. The newer versions have Settings.system and Settings.secure and a value needed to tell the operating system which activity is the home activity may not be moved correctly. The auto update (from version 25 to 33 if I remember correctly) in the SQLiteDBHelper within Settings in the 20090311 worked for me, but failed in 20090316. For my purposes I don’t care which version I am running, so I solved my problem by completely wiping the phone, reinstalling the signed factory 1.1 images, going the whole way through activation, then fastboot and flash only system and boot (not userdata). Watch the adb logcat output during first boot to see if the SqlLite3 upgrade happens smoothly.

    Reply

Post a comment