yashsingh1/xdaforums huggingface dataset:
[Touch Diamond, MDA Compact IV ROM Development] phhusson:
Are you even sure this is a problem ?

You know when a system is sleeping most of the time, load average is totally non sense.

And ARM11 use a "wait for interrupt" thing, so it's a sleeping most of the time, even when you "use" it.

But i noticed that sometime android.process.media run into a crazy loop acutally eating the whole CPU, but i had this problem only once, fixed by killing it.

Oh and mmcqd are hardware access to MMC, if this one is eating your CPU, then it's because some application use heavy I/O on it.

Anyway, top should give good informations about process' consumption, powertop -d too, but it's more sleep-orientated (counts the number of wake up per task)
[Touch Diamond, MDA Compact IV ROM Development] phhusson:
As said before, support was already commited, i just commited the defconfig so glemsom's kernel will have it.

I also added raphael support but i can't test it, so please report (but should work as diam).

As usual, on GNU/Linux wired headset works well, including hotplug. For an unknown reason, it doesn't work on android, you must have the headset connected when starting android.

This currently breaks accelerometer. Will need a new android release.
[Touch Diamond, MDA Compact IV ROM Development] Nakebod:
I'm not sure if it's bad-bad.

But if my server has a load of 4+, I know that something is wrong.
[Touch Diamond, MDA Compact IV ROM Development] bxmatus:
i would say that you cannot compare normal machine and mobile device - CPU task scheduler will work different way here, specially when it is event ( interrupt ) based. Jobs in queue are saving power, so load will be probably always little high, i will check it today with "native" htc dream device to compare it with my touch pro ( i have load 4 - 5 and device is working nicely ).

Load is jush showing how many CPU tasks is waiting in queue to be processed and when CPU is sleeping waiting for interrupt there is always something waiting.
[Touch Diamond, MDA Compact IV ROM Development] iullian:
Power consumption

Excuse my noob question, as I saw all you guys explained here. But, as I don't understand anything (you talk like klingonians to me :D ) - please tell me this: is there a way to reduce the power consumption (just around 2 hours - 2-3 calls for me) ? If there is, will you explain to me like to a 5 years old child ? Thank you very much. I really like the simplicity and the looking of the android on my Diamond 100.
[Touch Diamond, MDA Compact IV ROM Development] bxmatus:
you have to wait, power saving functionality is not done, note the topic: "NOT YET WORKING", so this is still not for every day usage - even when latest version is very stable for me :)
[Touch Diamond, MDA Compact IV ROM Development] klinux:
For me too I'm using it daily, it lasts 11hours with some calls and sms of course everything is off wifi bt 3G

cheers
[Touch Diamond, MDA Compact IV ROM Development] rowoot:
11hours !? thats pretty cool, mine couldn`t make it through the night
[Touch Diamond, MDA Compact IV ROM Development] klinux:
use the startup.txt that i posted earlier with the last kernel from glemsom website

be sure that all the connexions are off wifi bt and 3g

if they are on shut them and reboot

with this u'll feel the difference

cheers
[Touch Diamond, MDA Compact IV ROM Development] RationalGaze:
What radio are you using? Beacuse i have 1.17.25.09 and i "only" get about 8h of idle time (and that's almost all idling). I'm asking, beacuse 1.15 is supposed to drain battery a bit more than other radios, and i wonder if this could be a case with 1.17 also..
[Touch Diamond, MDA Compact IV ROM Development] klinux:
1.15.25.14 with ril 1.14.*.* if I have a good memory cause it's been a while I did'nt flash my diamond and with android it'll take even more time :D
[Touch Diamond, MDA Compact IV ROM Development] Untouchab1e:
Havent done any extensive battery life tests, but I reckon the standby time for me is around 8-11 hours.. A lot better than it was, but still a bit to go!

Keep up the great work!
[Touch Diamond, MDA Compact IV ROM Development] craz2u:
Android-DIAM-20091103-UTB

i cannot connect wireless with using calibration file. and how can i make battery much use with wireless if i connect :) thanks..
[Touch Diamond, MDA Compact IV ROM Development] craz2u:
connect utb

i think this rom dont stabil so i will change again new one. pls some one give links about using wireless stabil and battery :)
[Touch Diamond, MDA Compact IV ROM Development] craz2u:
tar dirty

i am using tar dirty modules now connected wifi but , system working working slowly i think,. but i want to learn when and how we sync our contacts to system . i want to use main os android !!!!!!
[Touch Diamond, MDA Compact IV ROM Development] klinux:
WIFI issue

this is a known issue when u turn wifi on the system become slow.

if u want to sync your contacts use gmail account, sync it with activesync or outlook http://www.google.com/support/mobile/bin/answer.py?answer=138636&topic=14299

after that sync your contacts from android !

cheers
[Touch Diamond, MDA Compact IV ROM Development] craz2u:
Mod edit: warez links removed. Do not post warez again as it will result in further moderating action. PM send.

outlook to vcf program for all :) its very good to have phonebook in my gmail
[Touch Diamond, MDA Compact IV ROM Development] klinux:
you are not alowed to share cracked softwares the moderator will delete your post

cheers
[Touch Diamond, MDA Compact IV ROM Development] craz2u:
:)

i am sorry about share program :) but now i can make my calendar and contacts to android !!! thank you very much ...... i am using it very much hours with wireless internet its very funny to have this . big problem is battery and hot. small problems browser and flash .... waiting comments
[Touch Diamond, MDA Compact IV ROM Development] phhusson:
Use funambol.
[Touch Diamond, MDA Compact IV ROM Development] craz2u:
CAN ANYONE make connection with pc and android===?????
[Touch Diamond, MDA Compact IV ROM Development] MrVarioII:
Ok I have absolutely no idea why but that previous build with 3G and Wifi has suddenly started working! (Woooohoo!)

As everyone reports it's running slowly once either are enabled and I regularly get wait or force close messages when doing things and sometimes it takes so long to get back to the main screen that i actually think about yanking the battery out.................

But most of the time it's just very very cool and slightly sluggish. Looking forward to things speeding up a bit.

Will this still work if i downlaod newer kernels?

As regards the question about importing contacts (I've never bothered with calanders). I found a simpler way myself.

I went into the sim card manager and copied all contacts to the SIM card.

Then I simply import them (use add all to avoid having to select them manually) in every new build of android. Works fine. No external programs needed!

Hope that helps you guys! :-)
[Touch Diamond, MDA Compact IV ROM Development] phhusson:
How do you think i'm debugging/developing it ? :p
[Touch Diamond, MDA Compact IV ROM Development] MrVarioII:
Just realised how hard to understand that was........

I went into Windows mobile 6.1's sim card manager on my HTC Diamond 100 (orange) and copied my contacts onto my sim.

Then went into the contacts program in Android, hit the menu button chose to import from the sim, hit menu again adn chose to import all. Less than 15 seconds later I had all my contacts....easy!

Only problem is that windows now displays the duplicate sim contacts in the contacts program.....two entries for each name. Which is anoying. I tried using a tweak in Advanced Config to fix this but have not had any success in doing so. :-(

Anyway hope that helps all. :-)
[Touch Diamond, MDA Compact IV ROM Development] rl2000:
Mine is a diam100 and is reqignised as "HTC Touch Diamond P3700". I've tried "exit" and "reboot", both caused kernel panic. shutdown -h now isn't found :) Haven't tried init 6 either :)

To explain: On the diamond haret the red dot in the upper left corner is there, on the raphael haret it isn't. However, I just pressed the top corner anyway and it calibrated with the same precision as the diamond one.
[Touch Diamond, MDA Compact IV ROM Development] hillsdale:
raph800 some dumps attached

mmu.zip is "dump mmu"

smem.zip is "pwf smem 0x1f00000 0x100000"
[Touch Diamond, MDA Compact IV ROM Development] Addicteddddd:
some progress,i guess ^^
[Touch Diamond, MDA Compact IV ROM Development] Stillmatic:
sooo....port Android yet NetRipper? lol
[Touch Diamond, MDA Compact IV ROM Development] itsallsubliminal:
so to try out the kerne,l i just get the file from the wiki for my diamond, put it on my phone and run it?

cuz when i do that i get the "... framebuffer ... " in green at the top and then the white text goes down only about 1/3 of the screen with the last line being "Console handover: boot[htc-fb0] -> real [tty0]"

could it be my "sprint" diamond having this problem? God i hope not, that means it won't work with cdma if this is the problem :(

any ideas? do i need other files too?
[Touch Diamond, MDA Compact IV ROM Development] dcordes:
I pushed the druidu and NetRipper kernel code for the htc diamond and htc raphael to the new branch htc-msm-2.6.25 at git.linxutogo.org . it is a clone of the g1 branch from git.android.com with their code added.

in order to build check the kaiser kernel building instructions at http://xdaforums.com/showthread.php?p=2269384#post2269384 and make sure you rpleace the branch htc-msm with htc-msm-2.6.25 and defconfig_htckaiser with defconfig_htcraphael (for both, raphael and diamond because they both use the raphael machine for now)

enjoy

edit: you can find a build of that code at http://linuxtogo.org/~lgorris/builds/zImage-htcraphael-20082810-07
[Touch Diamond, MDA Compact IV ROM Development] rl2000:
Dcordes, nice! I'm trying it right now, does it take a long time to boot as right now it's stuck with this "kit" like red bar and the kayboard blinking in the corner. I had this located on the internal SD card of my diamond, I don't know if that should influence anything.
[Touch Diamond, MDA Compact IV ROM Development] NetRipper:
You can find that latest build of dcordes in a linload version of haret here. An unpacked version is here (make sure you modify default.txt to have it say bootlinux instead of ramboot at last line).

Also note that diamond and raphael use the same kernel now. They should both boot to shell with the supplied .exe above.

Android is not working yet..... no point in trying the android initrd.

Oh and, just a quick thank you for dcordes for his time on getting the git up. :)
[Touch Diamond, MDA Compact IV ROM Development] rl2000:
Awesome!

Even though it doesn't boot all the way and halts at the splash screen I still think you guys do a great job. I've been using linux since 98, however I have no experience with kernel drivers beyond compiling but still, if you need any help or testing just look me up!
[Touch Diamond, MDA Compact IV ROM Development] Rich1974:
New Diamon test.

Hi guys.

I'm new to this thread. I have also tested the latest android_linux posted 27.10. And it works great. The only thing is when I calibrating the screen, the red dot's not showing (that I can see anyway). Is it posible to enlarge the on-screen keyboard little? :D

Is there any progress on accessing the internal storage? :o

Thanx for the good job druidu and Netripper and ofcourse all the other people that is helping.

Have a good day everyone. :)

----------------------------

HTC Diamond and QTek S200
[Touch Diamond, MDA Compact IV ROM Development] dcordes:
I also vote for NetRipper and druidu checking out the NAND (internal storage) driver on raphael and diamond. It should be easy to do. Just build with mtd support (use halibut kernel config bits for nand and mtd configs) and see if it gets you /dev/mtd? with readable data. on the kaiser that works. we just didn't sort out the partition table...

edit: to whoever tries that: playing with nand can be harmful
[Touch Diamond, MDA Compact IV ROM Development] sibbor:
@dcordes

Can you please update the first post with the progress made with Linux @the Diamond/Raphel by druidu and NetRipper. Perhaps provide a link to the wiki page?

Would be great! And that way we can keep this thread as clean as possible. :D

Btw, it sounds pretty scary with the NAND stuff, but I'm up for some testing when someone typed some code for it ;)
[Touch Diamond, MDA Compact IV ROM Development] cr2:
It should not be scary if you do not write anything to NAND.
[Touch Diamond, MDA Compact IV ROM Development] cijoml:
Dcores great work! BTW could you update

http://www.handhelds.org/moin/moin.cgi/SupportedHandheldSummary

?? THX
[Touch Diamond, MDA Compact IV ROM Development] Global_Inferno:
I've tried the latest release (marked 28/10/08) and it loads up to the red dot going across the screen, then continues to do that till I reset the device. Not working, but damn, it's getting close!! :D

Let me know if there's anything I can do to help ;)
[Touch Diamond, MDA Compact IV ROM Development] godzirra:
Stock Sprint Diamond

With the newest version (raph_20081029-00_cleanups.exe) it boots up and gets to the point where it says the following:

[0.150000] console handover: boot [htc_fb0] -> real [tty0]

Then stops.
[Touch Diamond, MDA Compact IV ROM Development] dcordes:
Thanks but the kudos belongs to duidu and NetRipper. I have no access at handhelds.org wiki.
[Touch Diamond, MDA Compact IV ROM Development] computerguru:
That's a problem we've noticed with the stock Sprint rom on the diamond. I'm looking into it (since my phone is doing the same thing.) :cool:
[Touch Diamond, MDA Compact IV ROM Development] cijoml:
Registration is free. There should be mentioned each port we make so everybody can check progress
[Touch Diamond, MDA Compact IV ROM Development] Klopfer`:
sry, i read this thread but i dont understand everything ^^

so my question is:

How can i emulate Android on my Diamond, or what should i Download?!?

thx ^^
[Touch Diamond, MDA Compact IV ROM Development] slovoflud:
nah. it was easy to understand :)

and there is an option MENU>VIEW> ALL/CONTACTS/SIM (You'll want either Contacts or SIM) (TF3D 2.1)
[Touch Diamond, MDA Compact IV ROM Development] kholk:
....How do you connect it to your PC?!? O.o

I can't do this!
[Touch Diamond, MDA Compact IV ROM Development] klinux:
Android sdk

u need to install android sdk, it contains drivers needed for windows to recognize it.

I explained howto do it in a reply some pages before
[Touch Diamond, MDA Compact IV ROM Development] knowah:
I need a little bit of help.

I have android running on my DIAM500 thanks to MrPippy. My problem is in the orientation, for lack of a better word.

Explanation:

If I want to hit a button on the bottom corner of the screen, I have to push on the top right.

Is this something fixed in Android? Or the files I use to boot?

edit:

I should also add, to scroll I drag in the opposite direction as well. If I want to scroll up, I have to start at the top and move my finger/stylus down, instead of the other way around.
[Touch Diamond, MDA Compact IV ROM Development] bxmatus:
Random shot: display calibration values in startup.txt ?
[Touch Diamond, MDA Compact IV ROM Development] stefand:
Try changing the msmts_calib to (I don't have a diam500, so not 100% sure)

msmts_calib=0x81.0x393.0x358.0x7D
[Touch Diamond, MDA Compact IV ROM Development] knowah:
giving it a shot now. Hopefully it will work so I can start working on getting the data connection up
[Touch Diamond, MDA Compact IV ROM Development] craz2u:
sleep

can we solve my androids little problem that is sleeping shortly if i dont touch or work anyting. and when we use 2.0 android :)
[Touch Diamond, MDA Compact IV ROM Development] Nakebod:
I was just reading some review about the HTC Tattoo, seems an interesting device for the Diamond project, since it uses the same chipset.

I'm not sure if the camera is the same, the specs are simular, but that doesn't mean that it is identifcal :)

Hopefully that we can borrow some cool driver related stuff soon ;-)
[Touch Diamond, MDA Compact IV ROM Development] butterdori:
Believe it or not but the G1, G2, Hero and Diamond all use the same chipset (Qualcomm MSM7201A/MSM7201A/MSM7200A and MSM7201A respectively)
[Touch Diamond, MDA Compact IV ROM Development] craz2u:
i am still trying to connect my anroid diamond phone to computer windows xp :(
[Touch Diamond, MDA Compact IV ROM Development] MarcLandis:
Did you install the Android SDK and the driver?
[Touch Diamond, MDA Compact IV ROM Development] klinux:
look here http://xdaforums.com/showthread.php?p=4858153

I posted howto use adb connexion
[Touch Diamond, MDA Compact IV ROM Development] knowah:
i tried this but now, before android boots completely, it tells me to connect a charger and reboots the device back to wm.I am sure this is unrelated to your suggestion due to the problem still happens after I removed the above code. My battery is full, anyone having these problems? Or more suggestions to fix them? Thanks for your time.
[Touch Diamond, MDA Compact IV ROM Development] pear-i:
I've just tried Android on my diamond, and I've got it to boot -- calls and everythign work but could someone point me to a package where wifi is enabled / works? (I use Diam100)

With the current one I can turn the wifi on, and it can see my wifi spot but it goes to 'obtaining address' and turning off.. to being unable to connect. I had decent signal, and even tried connecting next to my wifi router.. but can't seem to connect

plz let me know! looking forward to trying android out a bit more

Thanks
[Touch Diamond, MDA Compact IV ROM Development] kemucc:
I just got the problem like you.Wifi works occasionally and turns off after the screen lock
[Touch Diamond, MDA Compact IV ROM Development] kholk:
Thanks for your help, but I've solved some problems and now I can run linux natively on my machine. Audio won't work for me because I have an XFi ExtremeAudio, but I'll replace it soon with an XFi Fatal1ty that works.

Anyway, I'm trying to connect Android on my Diamond with my PC (on Windows or Linux, that's the same!). If my diamond wants to connect, I'll help so much with the development :D
[Touch Diamond, MDA Compact IV ROM Development] Mashadar:
With the latest build I've been able to use setCPU (this program didn't work in previous builds afaik). According to this program the CPU was running on 384 Mhz (default speed of dream). Setting the CPU speed appears to be working, as increasing to 528 Mhz results in higher Neocore benchmark results.

The nicest thing is that it is possible to decrease CPU speeds (to 128 or 245 Mhz). So perhaps it is possible to increase the battery life during sleep (didn't test this).
[Touch Diamond, MDA Compact IV ROM Development] phhusson:
If you're speaking about last glemsom's kernel, that's plain wrong:

There is no default frequency: frequency is changed on demand !

Frequency when idling is 128MHz+wait for interrupt, when little load it's 245MHz, a bit more charge it goes to 384MHz, and with heavy load it's 528MHz.

And it won't change anything for sleeping since when the system is in sleep, the processor is STOPPED ! There is still (until power collapse is fixed) a clock to refresh registers and cache which is 19MHz, but the processor doesn't do anything else than refreshing registers/cache !

I can't try setCpu to know what it does since it's a paid app, but it most lilely just writes to /sys/devices/system/cpu/cpu0/cpufreq/ . If you want to fix cpu frequency, do this using this way.

By the way, you say that neocore is faster, but how many FPS do you get with/without this tool ?

With the default configuration I get 19FPS, as normal android phones get 27FPS and we have double resolution, i can't see how this is even possible to get more FPS than that.
[Touch Diamond, MDA Compact IV ROM Development] kholk:
Anyone knows how to route the internet connection of my PC (connected on ethernet) to Android using USB on Windows?

I've tried to do that, but it seems impossible...
[Touch Diamond, MDA Compact IV ROM Development] killerbie:
Hi, i'm pretty new here, but I was wondering how far are the devolpers programming android to the htc touch diamond? (reading 500+ pages isn't an option :D)
[Touch Diamond, MDA Compact IV ROM Development] Mashadar:
Without this tool i used to get like 21-22 FPS, with setting max speed to 528 i got 23.4 FPS.

SetCPU is available in this thread http://xdaforums.com/showthread.php?t=505419.

Perhaps its redundant/outdated because of the dynamic clock regulation. I did not know that. However, setcpu does work, which it didn't before in older builds (just crashed). Well, at least you can use it to read out the current clock frequency:)
[Touch Diamond, MDA Compact IV ROM Development] phhusson:
Everything but camera, gps, FM, tvout.

But there are still many bugs, and power consumption is still pretty high.

Personaly i use it daily, but i need to use my double sized battery.

It isn't redundant with the dynamic regulation, it actually uses it. And for me 2FPS in a benchmark is far from significant. I tried neocore sometime, my score change from 19.5 to 16 without doing changes in my system.

btw... how do you get 23.4 ?!?! It's almost as high as android phones while we have double resolution !
[Touch Diamond, MDA Compact IV ROM Development] Mashadar:
Hmm, i had these slower scores with the cupcake build (16-19 fps). You've made this donut build so much faster:).

Perhaps screen settings are important for obtaining this higher speed (mddi.width=320 mddi.height=480 lcd.density=220). I've raised the lcd.density a bit so that programs fit better on the screen of my raph.
[Touch Diamond, MDA Compact IV ROM Development] leobaillard:
Hi folks !

It's been a while since phh and I haven't prepared you a little build... phh and Glemsom have been working hard lately to make the project better and here's the result.

The build update that I will post is now working not only on Diamond and Raphael, but on Blackstone (HTC Touch HD) too !

The build contains :

rootfs.img

system.sqsh

a special zImage that will soon be available on Glemsom's page

the kernel modules for wifi

An improvement has been made for the bluetooth users : the AVRCP profile now works, enabling you to use, for instance, the buttons on a bluetooth headset like play/pause, hang up, forward, backward, ...

The bluetooth is now activated on Blackstone as well as the accelerometers, and the WiFi is a work in progress.

And here is the build update : http://www.cobaltcode.com/fileupload/data/Android/BuildUpdates/build-update_donut-1.6_15-11-09.7z
[Touch Diamond, MDA Compact IV ROM Development] kholk:
Good work.

I'm testing it and starting from 20/11 I'll help you all to port this even on Leo board, because on 16/11 I will get one ;)

I suggest you to focus on the Power Management.

I think that if you focus on PM and make it fully working, there will be more testers because the system will become usable for daily tasks without fast power drain from the battery. More testers = more bug reports and maybe fixes from users... = faster development.

Thank you for this Diamond/Raphael/Blackstone builds.

I'm very happy to use it!

Sincerely,

kholk.