yashsingh1/xdaforums huggingface dataset:
[Touch Diamond, MDA Compact IV ROM Development] touch of jobo:
I'm sure. I build TARGET_PRODUCT=generic_with_google.

generic.mk doesn't have those lines.

On a more serious note: probably one of these days, we get nand enabled in the stock kernel. It may be wise to disable and delete flash_recovery and wipe, maybe more, when repackaging and distributing canned androids.. just a thought.

-Jobo
[Touch Diamond, MDA Compact IV ROM Development] Synth3t1c:
sorry to be this guy, but i was wondering if someone could update the wiki. i have no clue what state it is in after reading the thread for a few pages back...
[Touch Diamond, MDA Compact IV ROM Development] mak213:
this is true an update is required :)
[Touch Diamond, MDA Compact IV ROM Development] balsat:
Good point there!
[Touch Diamond, MDA Compact IV ROM Development] livefastdiefun87:
I havent been following this for a little while now can someone please update me on the status of the project ie whats working, can you call etc. Or a wiki link would be nice too ;) Also a link to d/l the newest files for android to operate on my HTC diamond

Thanks
[Touch Diamond, MDA Compact IV ROM Development] cetrespeo:
I've been here too for months and I've never been able to make it work properly.

I really can't figure out why we've 7201 and HTC or Google or whoever has made a fully opperative Rom. In my modest opinion this is a big mistake in google's intention to own the market. There are millions of HTC and no clear support is made. That means that nowadays WM6.1 is the best soft for our Diamonds and thats a very bad new. What a pitty.

We need to thank you developers for your great and dificult work. It seems that your work is to guide a blind in a desert. Thanks anyway. ;)
[Touch Diamond, MDA Compact IV ROM Development] livefastdiefun87:
The reason behind this is because they manufacture the ROM to specific standards depending on the hardware. Also even though Android is open source, Google have not fully released the source code for it so there are a lot of things which are trial and error.

Im not too sure how much you know about Linux Distro's (sorry if you do know this already) but anthing created outside of the main OS is usually done by devs such as the wonderful guys here trying to make this happen. So drivers to support hardware is literally made from scratch.

I know this project has been going on for ages but that is the beauty of open source, it will never stop because although one day there may be a stable fully working release, people dont sit back. They constantly improve on it :cool:
[Touch Diamond, MDA Compact IV ROM Development] mak213:
you have no clue wat ur saying....please shut up and just not "watch the forum for months" because if u truly were watching u would know MORE then u alrdy know witch is nothing so please stfu
[Touch Diamond, MDA Compact IV ROM Development] cetrespeo:
@livefastdiefun87 Totally right. But I'm just blaming Google for saying that they want their os in every phone and not helping developers. So this is too hard work for making it properly. As you say, if source code was really free, it would be another developing timing.

:D So mature, thanks for the laughs ;)
[Touch Diamond, MDA Compact IV ROM Development] Marcellus_pnz:
This is so stupid... Google is developing the software for the mobile manufacturers. HTC developed the Diamond with WM onboard (developing the phone is not easy and short process). Why do you think HTC must provide the different OS for the product they already released?
[Touch Diamond, MDA Compact IV ROM Development] cetrespeo:
Who's talking about HTC?... As you mention it, which company was the first one to run an Android (by Google)?... Nonsense
[Touch Diamond, MDA Compact IV ROM Development] tidus25:
Hi everyBody, I read on a website that with the cupcake distribution that calls works fine, is that true or not?
[Touch Diamond, MDA Compact IV ROM Development] cdahlquistjr:
Well the call works...

If you have a GSM Raph/Diam model, the call will work, but the sound won't, ie you can't hear them and they can't hear you, so you better wit till free nights and weekends kick in, cause it's going to be a bit of a waste.
[Touch Diamond, MDA Compact IV ROM Development] evilxhwnd:
i hate to ask, but can anyone update the wiki with the latest info?
[Touch Diamond, MDA Compact IV ROM Development] Marcellus_pnz:
Google DOESN'T have the drivers for the Diamond, so if google programmers wish to port the android to the diamond (why would they?), they CAN'T. Only HTC can port google os to the diamond, but it will cost money to pay programmers, they will work on outdated phone instead of developing new devices. THIS is the nonsense.

Understand me right, I'm hoping enthusiast won't leave their work of porting and someday we will see the fully functional android on our diamonds, but you you talking like google or htc own you something. No, they don't! Surprise?
[Touch Diamond, MDA Compact IV ROM Development] aes512:
I'm sure now that this is out it will help http://andblogs.net/2009/05/specs/
[Touch Diamond, MDA Compact IV ROM Development] Drobilliard:
MS!

and whats wrong with MS. :p
[Touch Diamond, MDA Compact IV ROM Development] Willis111:
@balast or any of the other devs

hey, I seem to be having trouble mounting my mmc @ boot using the default.txt to specify it. My device is a DIAM500, the partition I need to mount (and it's always been this way on my phone) is sdc5 (just used sdc to stand for sd card) or mmcblk0p5. I am able to boot when I use mdev etc from the console of my phone/telnet. Any help would be appreciated and if some **** would stop removing this god damned info from the wiki every time I put it up ... wow, I'm just going to stop editing the wiki for my model phone and let some other guy with a diam500 tell you all that it's mmcblk0p5...
[Touch Diamond, MDA Compact IV ROM Development] Marcellus_pnz:
As for me, it's ugly, unfriendly and very slow. Diamond is the firs and the last phone with WM I bought.

Let's stop the offtopic, there is already too much flame.
[Touch Diamond, MDA Compact IV ROM Development] logoutreally:
druidu would you be able to confirm the source of hardware (especially LCD controller and panel) used in HTC G1/Dream and Magic?
[Touch Diamond, MDA Compact IV ROM Development] johnnymatrix:
I have pretty much given up hope on android for my diamond. check out SPB mobile 3, it has a home screen very similar to androids with the 3 horizontally sliding desktops and the widgets. It helps the cravings!
[Touch Diamond, MDA Compact IV ROM Development] Willis111:
How do I get aircrack/kismet to run on spb mobile 3 ^^.

Edit: Women think I'm sexy because I can crack wep in 10 minutes on my old p2 laptop, imagine all the action if I was using a pda.

Edit: I realize my problem is probably enduser w/not being able to mount the partition but if anyone could help me out I think it could also be included in a build assuming all DIAM500 devices are the same.
[Touch Diamond, MDA Compact IV ROM Development] donald-c:
Got Android 1.5 on my phone :O only problem is it really heats up :( no music. Mostly minor things (battery indecator, camera doesn't work and so on)

I thought 1.5 was released today, but I found a release from Febuary, probably a pre-release I suppose lol.

Edit. Is there a reason for the blue box at the top corner? Or is it a bug :P it can be moved but leaves a trail :(
[Touch Diamond, MDA Compact IV ROM Development] schildirulez:
answered some post before by fliggygeek:

to remove the blue square all you need to do is change the keypad option in default.txt from "hide" to "off" its the only place in the file that the word "hide" exists so its easy to find
[Touch Diamond, MDA Compact IV ROM Development] donald-c:
Thanks, I'll try it now :)

Oh and, I installed a few apps to the NEWAPPS folder, it appears in 'Manage Applications' but, how do I actually run them :(
[Touch Diamond, MDA Compact IV ROM Development] touch of jobo:
It is not a bug. It is actually a keyboard in a kernel driver. If you tap it without dragging, it toggles the keyboard on and off.

-Jobo
[Touch Diamond, MDA Compact IV ROM Development] JaXx_StORm:
A few questions

Hello guys, I'm interested in trying to write some device drivers for the sound, is that working yet? I contribute to Ubuntu on and off so I wanna see if I can get my hands dirty porting Android efficiently. I've just got a few questions.

Once you've booted Android with Haret, does a soft reset reboot you into WM? It's not very clear?

Whats working and what isn't. I think the Wiki page is a tad behind.

Before I compile from source, does someone have a link to the current working build to boot from Haret? I want to give it a whirl first!

Thanks in advance
[Touch Diamond, MDA Compact IV ROM Development] No1ustad:
soft reset boots into WM, from there u can choose to stay in WM or boot the kernel
[Touch Diamond, MDA Compact IV ROM Development] touch of jobo:
A soft reset boots the device back into windows.

It's not so much about porting Android but more about porting the kernel to expose the entire device.. ..to Android for example.

Not working: audio, data over radio, bluetooth, wifi, gps, most power management, gpu, cameras, fm tuner, ..

For canned Androids follow the links in the signatures of balsat or untouchab1e. (See here for quick explanation on fs vs. images.)

When you have a good set you can just use that and only replace the kernel. Building your own Android doesn't give you that much extra, altho on occasion its useful to look into some Android source. Also, you need to take some extra steps to get it booting on your Raphael or Diamond.

The git branch you want to checkout is htc-msm-2.6.27

-Jobo
[Touch Diamond, MDA Compact IV ROM Development] mike171562:
I've been playing around with the Alternate build for the diamond on connect-utb, it seems when i change the mtype from 1805 to 2040 as is suggested here for the DIAM500, It will not boot but gets stuck on cannot find /system/bin/sh, /system/bin/servicemanager etc. like show here

http://www.flickr.com/photos/smesser/3408587152/

When i change the mtype back to 1805, it will boot but colors and screen calibration are still messed up. Anyone have a DIAM500, and been able to boot successfully with no color/screen issues?
[Touch Diamond, MDA Compact IV ROM Development] Willis111:
No, i think you and i are the only diam500 users on this forum. By any chance can you confirm your sd card layout? Mines extended/logical and my actual memory card is listed in android as mmcblk0p5 (meaning to me mmc block 0, partition 5). When I mount it up in gentoo it's the same thing, I mount sdcard5. I can confirm the problems that you're having with mtype, only solution I've found is to put it back on 1805. I think we're going to have color issues until this is a lot closer to release. I don't think changing mtype solves the color issue, check the wiki as there is some code that actually needs to be compiled into your images to take care of the problem (codes been figured out for raph100?). As for your calibration problems the easiest way possible is to remove the calibration bit from your default.txt and then manually calibrate your phone at boot though a search of this thread will reveal other ways (I think your calibration info is displayed when you manually calibrate your screen and can be copied down and moved into your default.txt in place of the calibration info that's there now).

Offtopic from the OP, I have read a few places that the wifi in our diamonds is based on the same chipset that the acx100 linux drivers use or tiacx100 (texus instrument acx 100). I was just wondering if anyone has tried building this driver into an image and accessing the wlan card after that. The driver is available through a project on sourceforge but it needs the correct firmware placed in /lib/firmware/ which I would guess be our problem if this is indeed the correct driver.
[Touch Diamond, MDA Compact IV ROM Development] DeadDaemon:
Kernel from Andrion 1.0 work also on HTC 4G, detect sd, but only internal (8g) with no partitions. External sd card not detected.
[Touch Diamond, MDA Compact IV ROM Development] computerguru:
Nope...I'm also a poor soul stuck with a Sprint DIAM500...and have never gotten the colors to work correctly.
[Touch Diamond, MDA Compact IV ROM Development] zdrapka:
Android on Diamond 2

Hi guys, I have Diamond 2 and try to run Android 1.0 on it. I got stuck on Linux black screen after running HARET. Is there any way to boot Android? This is a sample of Diamond 2, not a device from a shop.

I will be grateful for help.
[Touch Diamond, MDA Compact IV ROM Development] computerguru:
I would assume that the Diamond 2 has different hardware from the original Diamond. The Diamond 2 has a 800x480 screen, while the original has 640x480...and I would assume they upgraded video chipsets, so the drivers from the original Diamond may/may not work.

My answer to you is wait...considering this forum is for getting it to run on the first-gen Raphaels and Diamonds.
[Touch Diamond, MDA Compact IV ROM Development] pegaz:
I guess the only way to get android is to buy htc magic

As far I can see there is rather no hope for fully working android on diamond/raphael almost 300 pages with posts and still nothing new -the same problems as on the beginning so I'm waiting for htc magic to be cheaper cuz I fed up with stupid and slowly WINDOW$ mobile...
[Touch Diamond, MDA Compact IV ROM Development] balsat:
Hmmm no news... we cant be reading the same pages
[Touch Diamond, MDA Compact IV ROM Development] aniseto:
Check Build Status

Check Balsat server builds before saying this mate:

http://balsat.servehttp.com/

As you can see there are many builds and activity, so just say thanks to balsat. :)
[Touch Diamond, MDA Compact IV ROM Development] damo66a:
I wanted to find out if linux itself works on a diamond then saw how many pages on this thread there were lol.

Has anyone got a link to a working ROM? Or is linux not possible on these?
[Touch Diamond, MDA Compact IV ROM Development] Willis111:
I think the color issue is going to realitively easy to identify and resolve the closer android gets to being operational on our phones. You could always check the wiki and start messing with that code segment

You're joking, right? It says "not working" right in the thread title and if you'd pick any page in this thread and read it it would probably answer your questions about roms.

EDIT: Just wondering if any of our awesome devs checked into the tiacx100 drivers.
[Touch Diamond, MDA Compact IV ROM Development] katmandu421:
Or you can get a HTC Vogue (aka sprint touch) and have a fully functioning Android 1.1 OS (1.5 aka Cupcake is almost ready, a few minor issues keeping me from going there) minus the bluetooth and gps. I have a diamond but had to grab a touch from ebay to try this out and am very glad that I did. I have not gone back to winmo except for the occasional GPS need.
[Touch Diamond, MDA Compact IV ROM Development] pegaz:
Sorry guys for this little provocation... I found this thread on the 3rd page a little dying so... I know there was done a lot of good job in this case (thx balast & other builders) but "we" stucked on the most important functions - sound, ability of calling ,connections (wifi,BT)etc. Maybe I'm wrong but I've read somewhere that android developers can't proceed because there is no drivers from google or htc for diamond and only they can provide them that's why I've lost hope.
[Touch Diamond, MDA Compact IV ROM Development] gm112:
Today's build seemed to fix the issues with rotating the screen on console. It doesn't force the text to overlap becoming impossible to read. Still unable to boot up completely on a RAPH110 due to the kernel failing to mount a partition, but I'm sure you guys are already aware of that. I'm looking forward to this project becoming more complete :P. You guys should setup donations so people can give you old phones or money.
[Touch Diamond, MDA Compact IV ROM Development] neptunes50:
I remember a guy Garuda50.. He mentioned that this aint gonna work.. BUt somehow.. he's banned for unknown reason..
[Touch Diamond, MDA Compact IV ROM Development] balsat:
And that guy is now known as neptune50!?

And why aint it gonna work?
[Touch Diamond, MDA Compact IV ROM Development] touch of jobo:
Ever noticed how in WinMo (in explorer and settings and such) you can scroll with your finger and (multi-)select with the stylus or your nail? This proves that the touch screen can detect something like 'touched area size'. So I decided to try and figure out how to get this information.

It appears that both +0x110 and the +0x114 contain position data, but the positions +0x114 reports are offset, scaled and skewed relative to the +0x110 positions, so that..

x1 = ax * x2 + bx * y2 + cx and

y1 = ay * y2 + by * x2 + cy

Now here is the nice thing: the amount of offset (c), scale (a) and skew (b) are pretty constant across the screen as long as you touch the screen the same way, and changes when you press softer/harder or smaller/bigger (i.e. stylus vs. finger).

So I did some measurements, found some values for ax,bx,cx,ay,by,cy for soft touch with stylus. Now for every (x1,y1)(x2,y2) pair, it solves for each of those 6 values. Weighing and combining those 6 numbers gives a pretty reliable reading for how big/hard you touch the screen.

The touch screen driver now reports this as a value between 1 and 15 (or 0 when not touched) as EV_ABS, ABS_TOOL_WIDTH. In the 'pointer location' app in Android, it now draws a small orange circle when I touch with my nail or stylus and a big one when I touch harder or with my finger. Also, the 'size' field shows a value between 0 and 1.

Here is a diff. The magic numbers in there are based on my measurements on my Raph100. Altho it uses raw values, not calibrated values, I still doubt that the numbers are good for Raph800s or Diamonds. Also, the math in this method is so dark that I can't believe its the proper way. But its a small modification and it works. Right now it can not (yet?) separately tell pressure from size.

This kernel is current ltg git head plus that diff. It'd be interesting to know whether it works on other devices than Raph100. If not, we'd need (to write) a different calibration routine.

-Jobo
[Touch Diamond, MDA Compact IV ROM Development] theoottesen:
i can get my diam500 to boot until i need to type /init.android, at this point the keyboard does not respond... any ideas
[Touch Diamond, MDA Compact IV ROM Development] chemical1979:
My utmost respect to your reverse engineering abilities.
[Touch Diamond, MDA Compact IV ROM Development] No1ustad:
x2. :):cool:
[Touch Diamond, MDA Compact IV ROM Development] ali15873:
please help

hi

how can i install andorid os in my diamond

:D
[Touch Diamond, MDA Compact IV ROM Development] balsat:
Read the wiki and then download Android-images
[Touch Diamond, MDA Compact IV ROM Development] Willis111:
Try removing and manually calibrate your touch screen and/or

try mtype for the diam100 in haret.

Edit: Spelling, punctuation, etc.
[Touch Diamond, MDA Compact IV ROM Development] ali15873:
thanck you i can install andorid
[Touch Diamond, MDA Compact IV ROM Development] mouyias:
there's an HTC optimized version of android that is due to be released soon. Will that improve the compatibility of our devices?

I've carefully read the wiki and i've seen that many of the functions of the HTC diamond do not work with android. Maybe all those problems could be resolved with the HTC version of android. What do you think guys?

here's a link:

h**p://gizmodo.com/5260862/htcs-android-interface-makes-us-temporarily-forget-all-about-palm-pre
[Touch Diamond, MDA Compact IV ROM Development] AdamHC:
I don't think this is that at all. I think its just an adjusted interface for HTC devices. Like the way that HTC has added TouchFLO to Windows Mobile. Its still the exact same Windows Mobile, just that it has a new interface and some other tiny tweaks. Won't really help with with getting Android onto the Diamond.
[Touch Diamond, MDA Compact IV ROM Development] aceofspades1217:
Honestly I would pay for a working bug-free version of Android (or at least a working bug-free version of windows mobile >.<). I would be more than happy to fork over 50 bucks for a decent OS.
[Touch Diamond, MDA Compact IV ROM Development] slovoflud:
God, save us all!
[Touch Diamond, MDA Compact IV ROM Development] AdamHC:
I want to slap these guys through their computer screens, lol :)
[Touch Diamond, MDA Compact IV ROM Development] yuco91:
I\'ve a question: may I install androin on my diamond as default OS ?
[Touch Diamond, MDA Compact IV ROM Development] balsat:
You can't install Android as your default os, because Haret.exe is the only bootloader at the moment, and haret is loaded from winmo.
[Touch Diamond, MDA Compact IV ROM Development] tughi:
boot android into console first

Hi guys,

How can I make the balsat's image boot in the console?

I know that once there I can use ./init.android to start android, but how do I get into the console first?

I tried by changing default.txt settings "init=/init" to "init=/bin/sh" and "init=/system/bin/sh" but without success.

Thanks
[Touch Diamond, MDA Compact IV ROM Development] mike171562:
I gave up hope and got spb mobile shell 2, its the next best thing i guess.
[Touch Diamond, MDA Compact IV ROM Development] balsat:
Extract the files from the root.cpiogz and remove the init.android from the file init, repack the root.cpiogz!

Or download the root_noautorun.cpiogz form here
[Touch Diamond, MDA Compact IV ROM Development] tughi:
Thanks balsat.

I tried yesterday the steps you said too, but I my repacked root.cpiogz was invalid and linux would not boot.

What did I wrong?

mkdir test
cd test
zcat ../root.cpiogz | cpio -i
# edit init by commenting the last line
find . -depth -print | cpio -o | gzip >../root.cpiogz
[Touch Diamond, MDA Compact IV ROM Development] balsat:
fnd . | cpio -o -H newc | gzip -9 > ../root.cpiogz
[Touch Diamond, MDA Compact IV ROM Development] tughi:
How can I set the DNS for usb0?

Update: I found a solution... I appended "net.dns1=x.x.x.x" to default.prop
[Touch Diamond, MDA Compact IV ROM Development] balsat:
Search and you will find
[Touch Diamond, MDA Compact IV ROM Development] TR3Y:
Would anyone here know how I can get this to work on my Sprint Touch Diamond, which is DIAM500?

Please Let me know if anyone finds out.
[Touch Diamond, MDA Compact IV ROM Development] Saturn2888:
I have the same phone wanting to put Android on it as well :D.
[Touch Diamond, MDA Compact IV ROM Development] blacriderv:
Hey Balsat, there is an error when trying to acess to your server, I got this message displayed :

Error in download_counter.txt on line 125.

./Android-19May-09/Android-images.tar.gz is already defined.

Can you fix this please ? I wanna download the last Android package ;)

Thx in advance :)
[Touch Diamond, MDA Compact IV ROM Development] blacriderv:
Hum, I finally found the issue, used this link instead: http://balsat.servehttp.com/Android-19May-09/Android-images.tar.gz
[Touch Diamond, MDA Compact IV ROM Development] cr2:
Can you post the haretlog.txt for diamond2 ?
[Touch Diamond, MDA Compact IV ROM Development] balsat:
I'm not at home at the moment, and i forgot to start my ssh deamon berfore i left :rolleyes: but mabye i can guide my girlfriend to start the deamon (don't get your hopes up) so i can fix the error!
[Touch Diamond, MDA Compact IV ROM Development] cr2:
fixed that already for raph100
[Touch Diamond, MDA Compact IV ROM Development] cr2:
The reading from non-AMSS/oemsbl NAND partitions works too.

So stop whining and help the kernel development :)

TVOUT just needs some nice person who will port the qualcomm

tv_enc/mdp code for g1 kernel.