yashsingh1/xdaforums huggingface dataset:
[G1 Android Development] Murphy2712:
Who wants a Cupcake ?

So you flash HardSPL on your Italian Dream ? Is it a DREA200 model ?

I've installed Cupcake using the 1st post method but replacing "systemDEV.img" and "dataDEV.img" by "system.img" and "userdata.img" provided in this cupcake package :

http://andblogs.net/images/snapshots/

... and it works, I've Cupcake on my french HTC Dream :D

...in french language...but there's no Google Apps (Gmail, Maps, Calendar, IM, Sync, Market...) and some limitations because these apps are proprietary and not included in the Cupcake android source for now.
[G1 Android Development] dixxa:
So you have nothing :)
[G1 Android Development] Murphy2712:
lol :)

I've a Google-free Android ! Some people hate Android because of the Google Apps/privacy so there it is, a free and independant OS.

There's many major updates :

http://source.android.com/roadmap/cupcake

(I've 2 HTC Dream so I can use one for tests)

EDIT: I've tested the email app and it works exactly as the Gmail app! So you could add as many email as you want (with pop or imap), including notifications when emails arrives!

Gmail app is really not necessary!

On the Cupcake thread they explain how to create your cupcake image from source and also how to manually add Maps app!
[G1 Android Development] dixxa:
yeah email app need data plan or wifi whereas gmail app can work in wap.

Since I have sfr and illimythics, which is wap, i think I'll stick with the gmail app. :D
[G1 Android Development] verix:
Hi geek,

I followed the usual method to install SPL/bootloader. After that, I solved the loop problem by entering in fastboot and by applying a JF image.

BTW, it is argued that the infinite loop problem is due to non compatible paramaters which are passed to the kernel by the recent firmwares in DREAM200 phones.

In any case, please consider that I found in this forum people which claim not to be able to enter in fastboot mode when the phone is looping... so be careful!
[G1 Android Development] verix:
yes it is.

impressive ! ;)
[G1 Android Development] Murphy2712:
New release !

More impressive : since few days there's a htc magic image spreading around... and modified for the G1 !

I've tested it on Orange HTC Dream and it works great :)

+ Cupcake !

+ French language !

+ Google Apps ! (Market, Maps, Gmail, Chat, Agenda, Sync)

+ Video recorder works !

- Camera is upside down, color is too blue, hardware button doesn't work but there's a new one on the screen

- No french keyboard even with cp like 1st post (EDIT: fixed here)

My source image is taken from this thread, put on a ADP1, added orange APN and saved by nandroid !

So now here's the 3 images to put on the dream following the 1st post method (no need to cp libhtc_ril.so and wlan.ko) :

system.img (md5 : 055b4a5c2f2501058017797d62fb5ea0 )

data.img (md5 : b9de63b51bdc29a9ae33e38edc5efdd1 )

boot.img (md5 : 197868db3109f9b25a65fbf06f1eed1c )

This is build 4.5 because it's the more stable one including Google Apps/sync.
[G1 Android Development] greg35:
So good it's really works! !!!! Just a problem like you say with the qwerty but it's good.
[G1 Android Development] Murphy2712:
The Magic thread is burning (132 pages in a week!) so I'm not worried about having bugs corrected.
[G1 Android Development] greg35:
Do you know where is the new circle used for the zoom ? I see it in some magic video...
[G1 Android Development] Murphy2712:
No, maybe it's from another release.

Tested HTC release (4.9).

Same problems with camera and keyboard.

+ exchange sync support,

+ many camera options (digital zoom!),

+ htc special animation when turning the phone

+ htc special virtual keyboard

- No Maps,

- No sync in Google Apps.

With corrected sync, Maps and camera it's a winner !
[G1 Android Development] greg35:
I've got a problem with talk, I've got 2 apps in the menu both named chat. One with the Gtalk logo and another with two dialog bubble...

When I go to notification bar to talk I've got an error that say "Error chat ... force to close"...

any Idea ?
[G1 Android Development] Murphy2712:
For me the first (Gtalk) works well and the second (bubbles) doesn't even launch.
[G1 Android Development] greg35:
azerty keyboard on 4.5

Hey azerty now work !!!

I found the trick !!!

well small tutorial :

Extract the zip in your sdcard

adb shell
# su
su
# cd /sdcard/keycharsmodif
cd /sdcard/keycharsmodif
# cat qwerty.kcm.bin > /system/usr/keychars/qwerty.kcm.bin
cat qwerty.kcm.bin > /system/usr/keychars/qwerty.kcm.bin
# cat qwerty2.kcm.bin > /system/usr/keychars/qwerty2.kcm.bin
cat qwerty2.kcm.bin > /system/usr/keychars/qwerty2.kcm.bin
# cat sapphire-keypad.kcm.bin > /system/usr/keychars/sapphire-keypad.kcm.bin
cat sapphire-keypad.kcm.bin > /system/usr/keychars/sapphire-keypad.kcm.bin
# cd /sdcard/keylayoutmodif
cd /sdcard/keylayoutmodif
# cat sapphire-keypad.kl > /system/usr/keylayout/sapphire-keypad.kl
cat sapphire-keypad.kl > /system/usr/keylayout/sapphire-keypad.kl
# cat qwerty.kl > /system/usr/keylayout/qwerty.kl
cat qwerty.kl > /system/usr/keylayout/qwerty.kl
# reboot
reboot
[G1 Android Development] Murphy2712:
Maybe you could write each line ONCE :p

You're doing this under Android ? If so you need to add :

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

BTW it works also on mine, thanks !
[G1 Android Development] greg35:
no I didn't do that... mmm probably I don't remember !
[G1 Android Development] Murphy2712:
The system is read-only by default, so you need to remount it with write capability:

$ sudo ./adb shell
# su
# cd /sdcard/keycharsmodif
# pwd
/sdcard/keycharsmodif
# ls
qwerty.kcm.bin
qwerty2.kcm.bin
sapphire-keypad.kcm.bin
# cat qwerty.kcm.bin > /system/usr/keychars/qwerty.kcm.bin
cannot create /system/usr/keychars/qwerty.kcm.bin: read-only file system
# mount -o remount,rw -t yaffs2 /dev/block/mtdblock3 /system
# cat qwerty.kcm.bin > /system/usr/keychars/qwerty.kcm.bin
# cat qwerty2.kcm.bin > /system/usr/keychars/qwerty2.kcm.bin
...
[G1 Android Development] FroggyKaf:
thanks murphy 2712 !

I succeded to install Cupcake with your method on my HTC dream.

Thanks to greg35, the HW keyboard is now in azerty too.

virtual keyboard was really missing in the previous version !
[G1 Android Development] greg35:
Cool is it on a french orange dream?

If yes have you change the orange spl by another one?
[G1 Android Development] FroggyKaf:
Yes, it was on a french HTC Dream sold by Orange.

No, I don't even know what is an SPL.

I only applied the procedure described in this post by Murphy2712)
[G1 Android Development] alx5962:
I bought the Orange HTC Dream this weekend and I'd like to know if Ubuntu may work with the firmware mentioned in this topic.
[G1 Android Development] Murphy2712:
There's no hope in putting Ubuntu in the HTC :p

Actually you could only put Debian (because it already have an official ARM branch).

But if you want to put a Cupcake firmware in the HTC

usin

g Ubuntu on your Desktop it's ok : you need adb and fastboot for Linux (in the Linux Android SDK).
[G1 Android Development] alx5962:
my mistake.

I mean to install Debian (from http://www.androidfanatic.com/cms/component/fireboard/?func=view&id=2248&catid=9)

as they don't mention it could work on our firmware, i'd like to know if it would work or not.
[G1 Android Development] freeheel3r:
Has anyone tried this on a german T-Mobile G1? Or, is there any reason for it not to work?
[G1 Android Development] Murphy2712:
@alx5962,

I see no reason for Debian not to work with this release.

@freeheel3r

Is the german T-Mobile G1 have fastboot ?

PS: Stay tuned, I have a big surprise for you guys in a couple of minutes :)

(hint: thanks to haykuro!)
[G1 Android Development] koxx:
what ? a cupcake orange custumed version ? miam miam !!!
[G1 Android Development] hoangcao243:
Hello,

I get "waiting for device" once i tape fastboot boot recoveryJF.img

??

Pls advice.

thanks

I have a htc dream orange FR.
[G1 Android Development] koxx:
You have to install USB driver for fastboot mode. check into tour windows device manager to be sure it's OK. If not, reinstall driver from SDK... If driver is faulty, you'll have to modify ".inf" file to correct usb device id (i had a different device ID than original, strange).

But you really need this driver to be able to communicate in fastboot mode.

bonne chance !
[G1 Android Development] Murphy2712:
Under linux ?

You need to be root : type "sudo " before the command.
[G1 Android Development] Murphy2712:
New Cupcake !

So there it is, a new Cupcake 4.5 flash image with:

- english keyboard fixed,

- A2DP working,

- "Apps to sd",

- Superuser included (with Superuser whitelist),

- Camera fixed (colors, orientation & hardware button),

- Wired headset fixed!

Problem: stability issues ! (lag, lost connexions, no audio)

Howto:

1. You need to download ModifDreamOrange.zip package (1st post) to have recovery-unyaffs.img

2. Get also these images I just made:

- boot.img (md5sum : 2d28409977c61432b479286ad6c9f73a )

- system.img (md5sum : 7c55a377c4a98d964ef2e1c439eae8ea )

- data.img (md5sum : 22755efb9d5a97472be20d8d5c61a76b )

...and put these 3 files on the root of sdcard.

3. Boot into the modified bootloader:

fastboot boot recovery-unyaffs.img (from ModifDreamOrange.zip package)

4. Nandroid backup: ALT+B

5. Flash the 3 images:

adb shell

mount /dev/block/mmcblk0p1 /sdcard

mkdir /tmp/system

mkdir /tmp/data

mount /dev/block/mtdblock3 /tmp/system

mount /dev/block/mtdblock5 /tmp/data

cd /tmp/system

rm -rf *

unyaffs /sdcard/system.img

cd /tmp/data

rm -rf *

unyaffs /sdcard/data.img

flash_image boot /sdcard/boot.img

reboot

And a BIG THANKS TO HAYKURO !

PS: new howto for french keyboard (thanks to greg35)
[G1 Android Development] LyInIa:
We can return to the original orange firmware with this cupcake update ?

Anyway, good job again !!!
[G1 Android Development] c4software:
Yheaa really nice. Good Job. Keyboard Fix, and it will be perfect :). Thanks Good Job :)
[G1 Android Development] Murphy2712:
Yes, it's thanks to the step 4 : Nandroid backup.

It's on the 1st post "Back to the orange firmware".
[G1 Android Development] greg35:
Well I'm going to try this and give my efedback and why not a solution for the keyboard !

Sty tuned too !!!
[G1 Android Development] hoangcao243:
Hello,

Many thanks for your reply.

I have fix the prob with driver before posting.
[G1 Android Development] greg35:
Hi it's ok for the azerty keyboard. What you need is to replace keychars and keylayout with french one:

Extract the zip on your sdcard (on the sdcard's root)

adb shell
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

Another problem the accelerometer (is it the english name ?) seems not working...

PS: I'm fed up with English, I speak english like a spanish cow !!!

EDIT: Error on azerty.kcm.bin
[G1 Android Development] c4software:
Murphy2712, and in your IMG, Android Market is available? No battery Drain issue?
[G1 Android Development] greg35:
answer in the quote
[G1 Android Development] c4software:
Thanks for the answer, really strange for the accelerometor problem.
[G1 Android Development] Murphy2712:
@greg35

There's no qwerty.kcm.bin file in your package => azerty.kcm.bin

adb shell
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 [B]az[/B]erty.kcm.bin > /system/usr/keychars/qwerty.kcm.bin
cat [B]az[/B]erty.kcm.bin > /system/usr/keychars/qwerty2.kcm.bin
cat [B]az[/B]erty.kcm.bin > /system/usr/keychars/sapphire-keypad.kcm.bin
cat [B]az[/B]erty.kcm.bin > /system/usr/keychars/trout-keypad-qwertz.kcm.bin
cat [B]az[/B]erty.kcm.bin > /system/usr/keychars/trout-keypad-v2.kcm.bin
cat [B]az[/B]erty.kcm.bin > /system/usr/keychars/trout-keypad-v3.kcm.bin
cat [B]az[/B]erty.kcm.bin > /system/usr/keychars/trout-keypad.kcm.bin

And you're right, the accelerometer doesn't work on the french dream but works fine on my ADP1 !
[G1 Android Development] greg35:
oups I edit my post !!!

another cool thing : the photo's filename is AAAA-MM-JJ HH.MM.SS.jpg !

2009-04-07 13.46.18.jpg

What is exactly the Superuser included (with Superuser whitelist) ???
[G1 Android Development] Murphy2712:
Root modification is included.

But being root could be very dangerous, so this application acts as a root-firewall and let you define which application have root access.

It starts automatically if a program needs root.

You can define "no", "yes" and "always".
[G1 Android Development] c4software:
Strange for the accelerometer, ADP1 G1 and Dream are not exactly the same device ?
[G1 Android Development] Murphy2712:
Not always :

ADP1 and some Dreams (US) are named DREA100.

French and Italians Dreams are DREA200.

I don't know exactly the differences.

All I know is that flashing HardSPL in a french DREA200 is bricking it.

It's the aim of this thread : normal procedures don't work on these phones, we find a solution for DREA200 devices by flashing system/data/boot using unyaffs and flash_image.
[G1 Android Development] Corbier85:
thanks for all

but i have a probleme :

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

mount: mounting /dev/block/mtdblock3 on /system failed: Invalid argument

what's the matter ?

PS : Sorry for my bad english !
[G1 Android Development] Murphy2712:
This is a remounting command, so use it with the system started.
[G1 Android Development] Corbier85:
Thanks, french keyboard run.

But, some anothers problems :

- when i close the keyboard, the screen stay in "paysage" mode.

Have you got the same problem ?
[G1 Android Development] Murphy2712:
On the french Dream: yes, the accelerometer doesn't work. Try to lock/unlock.

On the ADP1: no, all works fine!
[G1 Android Development] Corbier85:
I desactivate the accelerometer, and now it's works

thanks for all your work !
[G1 Android Development] greg35:
You need to uncheck this option : Settings>Sound & Display>Orientation.

Then no pb when you close the keyboard.

With this last version I've got problem to pair my bluetooth headset (oreillette...). It doesn't work and you ? (PS : It's a simple bluetooth not stereo).
[G1 Android Development] greg35:
too slow to answer !
[G1 Android Development] Murphy2712:
My ADP1 is very unstable (slow, reboots, lost 3G connexion) with this version, I don't know if this is due to some of my apps but I'll reinstall soon.

Maybe we should also update the radio firmware. (EDIT: oups, my ADP1 already have the new radio 2.22.19.23 ; my french Dream have 2.22.16.19)

Do you have these instabilities on the french Dream ?

EDIT: I'm not the only one, others on the forum have these issues with this new version...

Also some apps don't work anymore (they are not Cupcake compatible):

- Fastbright,

- Usefull switchers,

- My Tracks,

- Ringdroid,

- GPS status,

- TED.

EDIT: Is there a howto for saving radio firmware ? It's not in nandroid.

Do you have problems with "no sound" after using the camera ?
[G1 Android Development] greg35:
I've got problems with apps too... I also think it's linked to cupcake .

My radio is 2.22.16.19 how can I upgrade the radio firmware ? I also want to know if someone can extract the french orange SPL for me and how can I recover this one!
[G1 Android Development] Murphy2712:
What SPL do you have?
[G1 Android Development] greg35:
I've change the orange fr with this one http://xdaforums.com/showthread.php?t=455860 (Engineering SPL)
[G1 Android Development] Murphy2712:
Last time I flas HardSPL it bricked my french Dream.

You don't have any issues with this one?

Can you flash your phone with a update.zip? If so you don't need to follow the steps in this thread, update.zip is way easy : one step!
[G1 Android Development] greg35:
In fact I follow all step in the thread (modify recovery part), change SPL...

But now if I put my nandroid backup of my orange firmware, the phone reboot after the orange logo...and reboot and reboot ...

I think that the orange firmware check the SPL...

Yes I think i can flash with the update.zip (I did it ... I don't really remember but I think that yes!)

But what put in the update.zip ?
[G1 Android Development] Arisme:
Check http://xdaforums.com/showthread.php?t=496291 - that's why it isn't a good idea to flash the european SPL.
[G1 Android Development] greg35:
well too late for me ! But it's work... My problem is with the next orange firmware for cupcake !

Does someone know how to come back on the orange spl ?
[G1 Android Development] rip:
here is the radio upgrade:

http://www.mediafire.com/download.php?zhzebmabxyn
[G1 Android Development] greg35:
cool I've just put the zip on my sdcard (renamed update.zip) a reboot in recovery mode and Alt+S and now radio is up to date ;-)

Thanks a lot

So Murphy I can upgrade with a update.zip ;-)
[G1 Android Development] c4software:
Hmmm, its not better to have an hard SPL ? if its i will upgrade my Dream...
[G1 Android Development] geek78:
if you want to be able to update your orange dream with the future ota update from Orange don't change your spl ;)
[G1 Android Development] c4software:
We can't backup it ?

I don't care of the Orange update, i'm sure we can have it here :)
[G1 Android Development] geek78:
read again the answer from arisme and you will understand what i mean ;) you will find the update but to do what with the wrong spl....
[G1 Android Development] jaygeek:
Hi everyone,

I need help cause I made an error.

At the beginning I forgot to reboot in fastboot mode with recoveryBoot.img so I couldn't mount mmcblk0p1 on /sdcard.

I have done this :

adb shell

# mount /dev/block/mmcblk0p1 /sdcard

Usage: mount [-r] [-w] [-o options] [-t type] device directory

# mount -o remount,rw -t yaffs2 /dev/block/mmcblk0p1 /sdcard

# flash_image boot /sdcard/boot-root.img

# reboot

Now my PC doesn't recognise my dream :

adb shell

error: device not found

I tried to reverse with the terminal emulator from the phone but no success.

Is that someone who know the magic command to get back to original boot.img ?

Thanks in advance for your help.
[G1 Android Development] greg35:
well how can I come back on the orange SPL ???
[G1 Android Development] Arisme:
You could try to take a hard-spl update, replace the bootloader by the Orange bootloader dump (it was already dumped here), then resign and try to flash. At your own risks, could very well turn your device into a nice white brick (that was the whole point in trying to keep the current bootloader while trying other OS revisions - flashing the bootloader is the best way to randomly create bricks).

The dump is available here http://xdaforums.com/attachment.php?attachmentid=169816&d=1237988145

Then cut at offset 0x2400000 on a 0x80000 size, save it as spl-orange.bin (md5 should be

4896557a4cbf3a83e22cc653c9e47eb1)

Grab HardSPL - available here http://xdaforums.com/attachment.php?attachmentid=142426&d=1230965195

Unzip it and replace spl-hard1.bin by the previous file, renamed as spl-hard1.bin

Recreate the archive jar cvf ..\spl-orange-update.jar .

Fetch JF Build Environment - available here http://jf.andblogs.net/wp-content/plugins/download-monitor/download.php?id=8 - and extract testsign.jar from the Tools directory

Sign the archive with java -jar testsign.jar spl-orange-update.jar spl-orange-update-signed.jar

Put spl-orange-update-signed.jar renamed as update.zip on your SD root, flash it from JF recovery mode, and go buy a new device because you probably bricked the old one :)

If you're in a suicidal mood, another test that I didn't check - at offset 0x2BC3, replace 0x0A by 0xEA in the dump (result md5 should be 5d0b455dcfa9c8723e5d3ea974980a15) - it could remove the "fastboot flash" signature check ... or brick your device (or do no good) :)
[G1 Android Development] c4software:
wow, not so simple. thanks for the notification arisme
[G1 Android Development] geek78:
good luck and use it at your own risk ....
[G1 Android Development] greg35:
hi guys thanks for this...

did you do the manipulation of Arisme (post 109) ?

What is the difference between both zip you upload ?
[G1 Android Development] geek78:
this the 2 spl described by arisme... off course i have not applied those spl as i wan't to keep my orange spl... i have a dev one also to play with firmware.
[G1 Android Development] Murphy2712:
The "adb shell" error is when you boot with fastboot and then recoveryBoot.img ?
[G1 Android Development] Thibale:
Ok, so as far I've understood, if I flash my Orange Dream with one of the firmware posted above, I'll get a HardSPL one? And will be able to flash radio, or G1 rom easily right?

The drawback is that I won't be able to flash a Orange ROM that's it?

Any other concerns?

Thibaud
[G1 Android Development] greg35:
I'm not sure you need to change the SPL if you want to test the cupcake img...???

But if you change the orange SPL, it's sure that you cannot boot an orange firmware (that meens no OTA Update by Orange...?). But with the orange SPL by geek78, if you're hot you can put an orange SPL over a hard one ... Who gonna test it ????
[G1 Android Development] Thibale:
Yes for sure with a Orange SPL you can still manage to flash a cupcake rom on it, but not using the update.zip procedure. In addition, I wasn't able to change the orange ugly boot logo due to SPL lock.

Did someone already tested the HARDSPL ? (not the engineer one)

Why do you absolutely want to get back to orange SPL geek78 ?
[G1 Android Development] Murphy2712:
Yes I tested HardSPL and I bricked my phone... Warranty has replaced mine.

(Though there's a solution I haven't tried)

I think he wants Orange SPL in order to receive the futur update, but for my part I don't trust Orange for a soon release.
[G1 Android Development] geek78:
Because I don't want to brick my device ;) because I can use custom firmware without changing my SPL, because I wan't to be able to use the next update from orange ....

I really don't see why you want another SPL ? With this one you can have root privilege, make a custom firmware...
[G1 Android Development] Thibale:
In fact, I want it mainly to be able to flash a new boot image and remove the Orange logo (I can't stand it :-)

But maybe you're right, it may not worth the penny...

Thibaud
[G1 Android Development] alx5962:
I just read the android update is planned for april, 15th in France.
[G1 Android Development] vivanno:
Hi, could you give us the source ?

Thanks. :)
[G1 Android Development] c4software:
The boot logo is set by the SPL ?

(Funny a thread with a lot of french, and everyone talk english ^^)
[G1 Android Development] jaygeek:
No from my PC because I could'nt use fastboot mode to choose the Boot.img I want to boot on :(

I plug the dream on the PC start it in fastboot usb mode but when I try "fastboot boot RecoveryBoot.img" I got "Waiting for device".

Maybe I could use my boot.img from the Nandroid backup ???
[G1 Android Development] Murphy2712:
This is a connexion problem, are you with Windows or Linux ?
[G1 Android Development] jaygeek:
I'm running linux but I tried on windows too (same issue).

I think the problem is really because of I forgot to do "fastboot boot recoveryBoot.img" and start my dream normally and not with the recovery boot :(

And before the flash_image I had no connections problems!