yashsingh1/xdaforums huggingface dataset:
[Touch Diamond, MDA Compact IV ROM Development] ydoucare:
I'll have to try that later, but why would it differ?
[Touch Diamond, MDA Compact IV ROM Development] touch of jobo:
The g-sensor .. I wish.

but...

This kernel maps the power button to the lid switch (not directly, like high=open, low=closed, but when it changes from low to high it toggles between open and closed / landscape and portrait) so that diamonds can rotate.

I'm not up to date with git so diamonds are mtype=1910. (I think)

Enjoy.

-Jobo
[Touch Diamond, MDA Compact IV ROM Development] Willis111:
My cdma telus touch diamond is labelled diam500 as well, both on the back of the phone and device info and bootloader screen.
[Touch Diamond, MDA Compact IV ROM Development] johnny_domino:
I am getting the same thing. Tried the correct spelling, didn't work. Sprint Touch Pro.
[Touch Diamond, MDA Compact IV ROM Development] allofthepeople:
yeah ha i dont know why i keep typing it wrong i guess im tired. regardless i hope someone can help us!
[Touch Diamond, MDA Compact IV ROM Development] c4software:
?? lid open and close with the Diamond? its not for the raphaels only ?

PS : Its possible to acces from linux to the Internal storage Data? mine have one partition and its formated in fat. i think its possible like say the wiki. But its seems non working on my Diamond.
[Touch Diamond, MDA Compact IV ROM Development] Carumir:
Newbie question

Hi,

sorry for asking such a dumb questions.

I managed to boot up Android on my Diamond XDA (Rebranded HTC Touch Diamond from O2).

1. I don't find this spare parts application (and going into sleep mode seems not an option?). Where do i find it to remap keys.

2. is there a general key for getting back to the Desktop of android. Whenever i open up an application i have to stay there or in a sub-menu. There seems to be no Key like "Esc" to return to upper menu, or an "Alt-Tab" Functionality, to switch to other apps?

3. My Keys don't work :-) maybe a common complaint. Only things that works is the audio keys (window pops up with volume). How can i provide help here?

Regards
[Touch Diamond, MDA Compact IV ROM Development] Zedith:
Probably made the same mistake as me, make sure the folder is named "tmp" and not "temp"
[Touch Diamond, MDA Compact IV ROM Development] Willis111:
... man ls (that's LS but lower case), and I think you wanted to do "ls /mmc". Caps and spacing is important. Also I think if you type "mount" it will give you a list of all mounted devices, like /dev/mmcblk0 etc. The most important thing is getting commands right, if it returns "/bin/sh:ls:*: not found" you typed something wrong
[Touch Diamond, MDA Compact IV ROM Development] dst6se:
Is here anyone how had compilled OPIE for TouchPro/Diamond ?

Would be wonderfull to run OPIE with VGA resolution !
[Touch Diamond, MDA Compact IV ROM Development] keerttttt:
Bleh, opie looks just as ugly as every other linux distro. I would'nt want that on my diamond ever!

Give me Android, complete gmail synchronisation. nice fluid animations, good looking windows. great!
[Touch Diamond, MDA Compact IV ROM Development] mdrobnak:
Something I just thought of - The spare parts application may only be in the Cupcake build, But I know the screen timeout can be changed in all 1.0 builds.

-Matt
[Touch Diamond, MDA Compact IV ROM Development] foh1981:
Does everyone start Android by typing init.android at the BusyBox shell? Personally i got "command not found" and had to prefix it with ./

Not a bug or anything, but it's kinda strange if it's different behaviours, no?

Also, for users not familiar with Linux, you can type

i<tab>.a<tab>

to save a few valuable key presses on the init.android command (that's a really tiny on screen keyboard!!) :)
[Touch Diamond, MDA Compact IV ROM Development] foh1981:
Yeah, that would explain why I can't find it :P So if one would like to try the cupcake build, do I just have to download that tgz-file and change the appropriate files in the tmp folder? I downloaded the other tgz-file from the location given at http://xdaforums.com/showpost.php?p=3101531&postcount=1203 and I noticed the cupcake build there too.
[Touch Diamond, MDA Compact IV ROM Development] touch of jobo:
I modified the keypad driver so that when you press the power button, the kernel tells android that you have opened or closed the keyboard. Android will believe this, and happily rotate its orientation.

Yes, but not the 'End key behaviour'. Thats in Spare Parts. You have to change that to not put the device to sleep.

I will update my git and only move over changes I want to keep. (I'm not sure about the investigative stuff I did in mddi, mdp tho..) I think you didn't commit the board keypad. I will produce clean diffs after I update.

Thanks,

-Jobo

Update: OK, I can confirm that changing from halibut keypad to htcraphael keypad gets rid of the safe mode.

Update: Here is a diff after I moved over some modifications that I think we all want. Mostly the keypad and the gpio testing function.

The code I did in the past to investigate the raph800 colors is not in it. (I plan to move some of that over since it helps in some cases and never hurts, and it makes it easier to tinker more with it.)

Update: ...and here is the resulting kernel.
[Touch Diamond, MDA Compact IV ROM Development] foh1981:
I just tried the cupcake build, and found the "Spare parts" program where all the other programs are. Also the service is working. Even made a call to my home phone.

(I'm using a DIAM100 with Telenor SE 3G.)
[Touch Diamond, MDA Compact IV ROM Development] allofthepeople:
some one at ppc told me this and it worked:

I finally got this working on my TP.

For sprint HTC Touch pro, this should be your default.txt

set mtype 1910

set kernel zImage

set initrd initrd.droid.cpio.gz

set ramsize 0x6000000

set ramaddr 0x10000000

set cmdline "mem=64M msmsdcc_id=3"

boot

Take note of the "msmsdcc_id=3"

This was causing my TP to not mount the memory card, and thus not find the disk images so it could not boot.
[Touch Diamond, MDA Compact IV ROM Development] c4software:
@ touch of jobo

And With this new kernel we can wake up the device when its go to sleep ?

Ps : Yes i know i can disable the sleep. but its for know.
[Touch Diamond, MDA Compact IV ROM Development] touch of jobo:
No. Thats not from lack of button control, but more like a power management issue in mddi. <-- guess

-Jobo
[Touch Diamond, MDA Compact IV ROM Development] c4software:
hmmm, the new kernel are not working for me. its break Android. the "home" keep crashing.

I say nothing. its my android. its seems corrupt... acore has stopped unexpectedly...

I have restore old img. and its works. I retry your kernel. Its cool. really Cool :D

Android sims a little bit more slow. maybe its really slowdown. Its same on your device ?
[Touch Diamond, MDA Compact IV ROM Development] allofthepeople:
I'm getting same thing now, plus the colors are messed up on my touch pro. feels like im having a problem at every step! ugh
[Touch Diamond, MDA Compact IV ROM Development] GregOP:
So can someone rebuild the kernel files with the fixes for the raphael keyboard and safemode issues so that we can paste them in the /tmp folder? That'd be awesome! :)
[Touch Diamond, MDA Compact IV ROM Development] Bad HAL 9000:
* Delete me *
[Touch Diamond, MDA Compact IV ROM Development] touch of jobo:
I linked to a fresh kernel in the 3rd update of this post.

-Jobo
[Touch Diamond, MDA Compact IV ROM Development] GregOP:
Ahh ok, I thought it would be on the first post, my bad! I used your kernel and now the keyboard is moveable and closeable and it doesn't boot in safemode, so thats good. Colors are still all 8bit looking and when you close the keyboard I have to move the screen with my thumb to the left or right to force it to redraw the area where the keyboard was. Is this normal behavior? It looked like the diamond has the colors working properly according to the wiki.
[Touch Diamond, MDA Compact IV ROM Development] allofthepeople:
ok so im a newbie bout this stuff... what do i do with the new kernal in reference to the currents files in the tmp folder on my phone's card?
[Touch Diamond, MDA Compact IV ROM Development] GregOP:
Very easy, take his newly download zImage-bla-jobo or whatever its called. Rename it to zImage. Then copy that zImage into the /tmp folder you have setup. It should overwrite the previous zImage file.

Also, for me, when I first run herat.exe it does all the loading but hangs right before the prompt, a soft reset, then a re run of the herat.exe file gets me to the command prompt line where I can type /init.android . Good Luck.
[Touch Diamond, MDA Compact IV ROM Development] Vector-SS:
Just replace the zImage of Jobo with the one you had in your tmp. Make sure you rename it as zImage so it is recognized.
[Touch Diamond, MDA Compact IV ROM Development] allofthepeople:
tried it now i freze at:

mmc0: host does not supportreading read-only switch assuming write-enable

mmc0: new SD card at address e624

mmcblk0: mmc0:e624 SU01G 992000KiB

mmcblk0: p1

haha some may be wrong ha hard to read some of that!
[Touch Diamond, MDA Compact IV ROM Development] fawaad:
I just dont know if its me who didn't find this information or its not properly written.

I couldn't boot up the Android because I didn't place the img files in the right location.

I created a tmp folder on the root my storage card instead of the internal memory and only placed the thre img files in it. This made my HTC Touch Pro to boot Android properly.

I hope it helps others.
[Touch Diamond, MDA Compact IV ROM Development] Vector-SS:
That was the first method I tried before it was posted on the wiki - And it did not boot for me.

Maybe it's the Touch Pro that is making it work in a different method. I don't know.
[Touch Diamond, MDA Compact IV ROM Development] Vector-SS:
After messing around with my phone long enough (maybe playing with the adding widgets caused this) I'm now getting the

"The process.android.process.acore has stopped unexpectedly. Please try again."

Only option is to Force Close, it keeps coming up and never stops - so as a result you can't do anything except see the background.

I will delete the .ext2 files and put again the same files to see if it will return back to normal.

I will update...

UPDATE:

So if you ever have this issue, deleting the system.ex2 and userdata.ext2 from the tmp folder and placing back the original ones will solve this problem.
[Touch Diamond, MDA Compact IV ROM Development] GregOP:
Yeah, thats where it freezes for me too. Then all I do is soft reset, load wm6.1, load the herat.exe file and it works this time around. You just tap the screen, tap the upperleft, tap the lower right, (be sure to be accurate with stylus) then type /init.android with the stylus on the onboard keyboard and then enjoy ugly colored android. :) I still get the application has stopped responding thing too, but no safe mode.
[Touch Diamond, MDA Compact IV ROM Development] allofthepeople:
nope still not workn...

edit: well now it is but back to the frezing after the pwrsink_set: STUB! messages, im guessing its not mounting anymore??????
[Touch Diamond, MDA Compact IV ROM Development] fak3z:
I just want to say "Thank You Guys!"

The newest Kernel (the "clean" one) is working great on my Touch Pro (unbranded). When I flip out the keyboard, the screen turns to landscape mode.:D
[Touch Diamond, MDA Compact IV ROM Development] Juer:
Thank You for all. Good works!
[Touch Diamond, MDA Compact IV ROM Development] balsat:
This kernel is no god for me, when i make a dial it wait for a couple of sec and then a dialog pops up with ""The process.android.process.phone has stopped unexpectedly. Please try again." and after 2 more sec the screen turns black!
[Touch Diamond, MDA Compact IV ROM Development] c4software:
Maybe an bug in the cupcake build...

Restore the two img of Android and you bring back Android. Realy strange bug.

i don't know if its due to the nzw kernel ??
[Touch Diamond, MDA Compact IV ROM Development] daniel.bigred:
same here, a bit irritating but i'm not complaining at all... i keep on getting an "Application Settings (in process com.adnroid.settings) is not responding" should i "force close" or "wait"?

EDIT: i've tried changing the .ext2 files as recommended but the whole thing hangs before i can enter the /init.android command.

should i be using the cupcake images or the diam1229? i have a standard diamond?
[Touch Diamond, MDA Compact IV ROM Development] Kives:
Hi,

are there any log files writen while Android is running that could help debuging?

I have tried couple of different kernel images but both hangs after a minute or two.

There are some error messages and then the display and finally the whole phone hangs.

I have been able to connect a call with my DIAM100.
[Touch Diamond, MDA Compact IV ROM Development] sibbor:
I've updated the wiki to better view the current state of Android 1.0/0.8 porting. I would very much like a developer or to two to have a look at the table for current state/-s and update accordingly. Should we remove Android 0.8 from the wiki and focus entirely on 1.0 development?

Earlier today I also added jobo's latest kernel (zImage-clean-jobo) to our "Android and Linux for HTC Diamond" group over at wuala.com - for those interested.
[Touch Diamond, MDA Compact IV ROM Development] lionizer:
I've been reading / following this post all from the beginning and for development purposes wanted to share my information:

Dutch / T-mobile MDA IV worked for the android 1.0 version. with same results as mentioned on the wiki page.

Since i use Ubuntu on my laptop i noticed that booting android with haret and the mobile in active sync state (without windows connection) also works.

By the way, anyone interested in setting up a fund where followers can donate money for the developers? The one (ore more) delivering us the real working Android on the HTC diamond is the lucky one. (all in good faith just like Google and the Android development strategy?)
[Touch Diamond, MDA Compact IV ROM Development] balsat:
This kernel is no god for me, when i make a dial it wait for a couple of sec and then a dialog pops up with ""The process.android.process.phone has stopped unexpectedly. Please try again." and after 2 more sec the screen turns black!

Android is installed on a ext2 partition, sow why should that help when it's running fine on a different kernel!?
[Touch Diamond, MDA Compact IV ROM Development] TheLord-Akira:
tested jobo's latest kernel on DIAM100

landscape mode (cool)

-can not slide the desktop

-can not drag/click items on desktop

-can drag notificationbar and programsbar

-can drag/click skeyboard

->after switching (landscape/portrait) once it works

portrait mode

-everything works

bugs

portrait mode:

-when i set a widget picture frame, android switchs landscape, when i set to portrait (in "select a picture") and go back to desktop, android witchs to landscape again

-open gallery, android switchs to landscape

-using camera and go back to desktop, android switchs to landscape

cu
[Touch Diamond, MDA Compact IV ROM Development] c4software:
Hmm its maybe an dumb question. But... You Think one day we find the way to use Android nativaly (Like on the G1) ?
[Touch Diamond, MDA Compact IV ROM Development] hgelpke:
forgive me if this has been asked and answered but I could not find it while searching. I'm using the Sprint Touch Pro with the newest Kernel and when i boot I get the command prompt and the virtual keyboard. However I don't seem to be able to click on the keyboard or use the hardware keyboard to run a command. Am I doing something wrong? Thanks for the help and keep up the good work.
[Touch Diamond, MDA Compact IV ROM Development] hillsdale:
Hey guys. Been lurking for a bit. Great progress - thanks!

I might have just had an insight into the color situation, or my mind is seeing patterns. If you remember, my original theory was that we might have a completely different MDDI bridge chip, since the manufacturer ID was coming back different for Sprint vs the GSM phones (thanks jobo!).

My original patch to get the RAPH800 to work at all just shoehorns the id we get back (4ca3) into the one the google-provided kernel driver for the Toshiba mddi chip is looking for (d263). And this works only so-so, since it seems that the chip setup done by the driver code isn't quite working out. But I think I just found a match.

Check out the Samsung S3CA460 MDDI bridge chip. Looks like it is used in the Touch HD. And if you squint hard, you'll see the characters "4 C A 3" are actually buried *in its name*!

Dunno where this gets us, even assuming I'm right. Might have to wait for the big boys to provide a driver, presumably when someone finally ships an android phone with the same chip. Or someone smarter than I could find a data sheet and write one.

Or maybe I'm on crack. Anyone?
[Touch Diamond, MDA Compact IV ROM Development] Skia22:
Good evening and thanks or this great post

I ve made several attempts and I could only launch Android a couple of times

When I run Haret.exe it gets stuck on

21.990183 mmcbik0: mmc0:0001 000000 3932160KiB

21.996652 mmcblk0

_

and that's all

I deleted the folder tmp and recreated, putting all the appropriate stuff in it

I tried both on internal storage and on diamond's main memory

I tried soft reset

I waited for a long long time, thinking that it may got stuck and will soon go on

Unfortunately nth happened, it doesn't respond at all

When I press the power button I see one the screen:

gpiotest: gpio 83 = high 1x

gpiotest: gpio 83 = low 1x

I thought I found the solution, because the folder was renamed "TMP" in caps, I renamed it in lower case "tmp" and it worked once, but then the above problem appeared again.

When I succeed eventually to launch Android, I face several problems, for example

I get the error "application settings (in process com.android.settings) is not responding with options "Force Close" and "Wait"

Sometimes the screen gets black after 3-5 seconds and there's no way to open the phone again, only with soft reset

I don't get any signal, so that I can for example send an sms, it says network or sth is not registered (i disabled my pin code)

I can't find a way to get back to home screen (i've read the instructions "If you go to the 'Spare Parts' App and change the "End Button Behaviour' to "Go To Home" that will change the "End" key on the soft keyboard to go back to the home page." but I cannot find "spare parts app") I also tried using F1 from the keyboard, but it doesn't work. The keyboard just flashes
[Touch Diamond, MDA Compact IV ROM Development] butterdori:
What do you mean by it not responding? Does the screen not respond at all? Currently, I think everyone is getting that error message at start

Screen going off after a period of inactivity. You can change that in settings to 'never go off'

You need the cupcake version for that
[Touch Diamond, MDA Compact IV ROM Development] touch of jobo:
X

dcordes,

I have recently completely updated my git, and only moved over the raphael keypad code, and now I have the same problem with your X11 root image where it hangs with a single underscore in the upper left corner.

I shall move my old frame buffer and mddi, mdp tinkering back in bit by bit until it works again, and report back..

-Jobo

Update: I used an older kernel I had sitting around, and that one shows the X cursor and the gets to the calibration screen. (I used my 565 kernel from when I was tinkering with raph800 lcd panel. It is from December 12.)

Update: Bad news. I built a kernel from the set just before I updated, and that one does not work either.. this is going to be a bit painful.

Update: I get back to working X11 when I put The Very Dirty Hack back in place in msm_fb.c~180. I need to test and confirm...

#ifdef CONFIG_MACH_HTCRAPHAEL
x = 0; y = 0; w = pi->width; h = pi->height; // XXX - VERY ugly hack so we can draw in fbram
#endif

Update: OK, confirmed. Without that hack, if you boot with the vkeyb hidden and tap it open when you're on the _ then the empty corner between the vkeyb and the drag/toggle square gets updated (to white), and when you force an invalid update by dragging the square down, opening the vkeyb, and then turning landscape, it updates the entire buffer (because of some other hack but that one is in place in git), and you see the cross hairs and instructions.
[Touch Diamond, MDA Compact IV ROM Development] foh1981:
What would the benefits of this be? Are there resources that are locked when starting with HARET?
[Touch Diamond, MDA Compact IV ROM Development] NoBody20013:
what the benefits would be?

sorry, but i think THIS is a strange question...

Android is a OS like WM, but -i hope- a much better one for use with an Phone like Dimaond etc.

So the only finish should be getting Android running "natively" -this means as fully functionelly OS on our Diamond or Raphael. O.k. we can use Dualboot i think.. if usefull or interesting ....

Greetings :p
[Touch Diamond, MDA Compact IV ROM Development] itsallsubliminal:
Please Help Raph800

I have a raph800 and can't seem to get this to load for the life of me (1.0)... I can't seem to find the proper haret either, the version i find are all a**Backwards for touchscreen functionality, which means i have to tap on the bottom of the screen to use the keyboard at the top... I can't find the other version which worked fine AND had screen calibration (which i don't have now) could one of you direct me to it?

Everything on the Wiki doesn't seem to work for me and i KNOW i'm doing it right, i'm not a noob...

also, after i carefully type /init.android and hit enter, it almost loads but then there are 4 or 5 lines that say the same thing about not finding system bin...

Anyhelp please?

Thanks in advance

and yes, i've SEARCHED AND SEARCHED and its just frustrating :(
[Touch Diamond, MDA Compact IV ROM Development] frysee:
Are you sure you got all the necessary files to /tmp/ on your internal storage? Try the files from here and make sure to extract the .tar.gz archive before copying ;)

greetz
[Touch Diamond, MDA Compact IV ROM Development] keerttttt:
I don't see a questionmark anywhere... so it's not a question. And besides that, it's running native already, just not directly on boot.
[Touch Diamond, MDA Compact IV ROM Development] NoBody20013:
- i posted as answer on this.... o.k. - back to topic ..sorry :rolleyes:
[Touch Diamond, MDA Compact IV ROM Development] butterdori:
Lavender.t put a preset calibration for the touch screen. You might want to look at his original post and calibrate it yourself
[Touch Diamond, MDA Compact IV ROM Development] itsallsubliminal:
you mean storage card right? i have a touch pro raph800
[Touch Diamond, MDA Compact IV ROM Development] itsallsubliminal:
man, i dunno whats up... it just doesn't work :( I did extract and everything correctly before transfering to storage card root in tmp folder, but it still freezes up

says: cannot find /system/bin/rild disabling

cannot find /system/bin/app_process disabling

cannot find /system/bin/media server disabling

******************/playmp3 disabling

******************/dbus-daemon disabling

******************/installd' Disabling

Just freezes here

my folder set up looks EXACTLY like the one in the wiki, so i really don't know what the heck is up... android .08 worked with that all-in-one exe before... just 1.0 with seperate files seems to be bunk for me
[Touch Diamond, MDA Compact IV ROM Development] Marcellus_pnz:
I have some stupid question, sorry)

There is the terminal application in developers tools. With its help I see that my Internal storage is available in the /mmc. So, why not to mount the internal storage to /sdcard, not /mmc? Is it possible?
[Touch Diamond, MDA Compact IV ROM Development] TripleQ:
I got exactly the same message...

The device is still responding, still recieving GPIO information when pressing the powerbutton for example, and the vkeyboard is still dragable

Got the RAPH100, maybe something with partition?

[edit]

Does it matter what kind of partition it is?

a primary partition? or a extend one?

[edit-again]

Its working now!

I think it has to be a primary partition... :)

Android is booting now!
[Touch Diamond, MDA Compact IV ROM Development] Skia22:
..............