View Full Version : [25/03/11]XDAndroid - Topaz [2.2.2][FRX06 Final]
ReWind402
27th April 2009, 04:59 AM
General & Credits
Welcome to the Android/Linux Topaz (Diamond 2) Port information portal
http://www.rocknrollcoffeehouse.com/shadowline/androididlight.jpg
From here you will be able to find new information on the progress and development of the Android/Linux port to the Topaz.
Please post all questions and information on this port of android here.
This thread/project is based on the XDANDROID porting project.
Before starting posting read the FAQ.
Change logs:
March 25th 2011 ( 2.2.2 FRX06 Final ) :
System image related:
Switched to touch-friendly dialer, along with the VGA layout improvements as seen in Gingerbread
Added HSPA icon (for GSM models)
modprobe ipv6 by default in user.conf - Google Goggles fix
-------------------------------------------------------------------------------------
March 03rd 2011 ( 2.2.2 FRX05 Final ) :
System image related:
Camera support – both photo and video capture (without sound currently) are working. This depends on kernel support, so only Rhodium and Topaz are supported currently. Huge thanks to Jerome Bruneaux (viruscrazy on XDA) for basically doing all the work.
Switch build variants from engineering to user-debug for slight speedup.
January 21st 2011 ( 2.2.1 FRX04 Final ) :
System image related:
Improved 3D performance, with fixes for WVGA devices (brought to you by [acl]) - IMPORTANT: this requires the accompanying rootfs (http://xdandroid.com/wiki/Incremental_Updates#rootfs_Updates) release from 21 Jan (http://files.xdandroid.com/rootfs/rootfs-20110122-6e6bf18.zip) (or later).
Synced all minor upstream changes from AOSP
November 20th 2010 ( 2.2.1 FRX03 Final ) :
System image related:
Disable slow background blurring for some dialogs (thanks emwe)
Internal improvements to auto-backlight implementation (emwe)
Disable JIT by default for various stability improvements
Updated gapps package (20101114)
Bug Fixes:
19 - Boot loop on first boot (fresh data.img)
36 - Repeated Volume button press crashes the system
Possibly 12 - Terminal emulator special keys/digits do not respond
Kernel related:
n/a
October 25th 2010 ( 2.2 FRX02 ) :
System image related:
- Talk.apk missing - fixed
- Buttons cut off in the open call menu. - fixed
- OpenWnn IME selected by default
- Google Apps updated to 20101020.1
- Transitioned to hdpi graphics and fonts
- Ambient light sensor and hardware auto brightness for RAPH and RHOD (WisTilt2)
- Debug output for battery service emergency shutdowns (by request of camro)
- Data roaming off by default (can be dangerous for international users) (emwe)
- armv6j instruction support from cyanogenmod
Kernel related:
- n/a
What is working & what isnīt:
Touchscreen: Yes
SMS: Yes
MMS: ? ( not tested )
Calls ( Incoming/Outgoing ): Yes
Microphone: Yes
Data over 3G/EDGE: Yes
HW3D: Partly ( needs fine tuning )
Sound ( in-call/external speaker ): Yes
Bluetooth: Partly ( cant pair to other device )
Wifi: Yes
Camera: Partly ( fixed in userland, need to be fixed in kernel )
Accelerometer: Yes
GPS: Yes
Android versions tested to be booting:
Android Froyo 2.2 = YES
Android Eclair 2.0.1 / 2.1 = YES
Android Donut 1.6 = YES
Android Cupcake 1.5 = Untested
This post will be updated as new information is made available.
[QUOTE]Thanks to:
Note: Credits copied from the official XDAndroid project thread
mweirauch (https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=MLSER9QUW43TA), phhusson (https://www.paypal.com/cgi-bin/webscr?cmd=_donations&business=FY8S53SZ9GFWC&lc=EN&item_name=phhusson¤cy_code=EUR&bn=PP%2dDonationsBF%3abtn_donateCC_LG%2egif%3aNonH osted), dzo (https://www.paypal.com/cgi-bin/webscr?cmd=_donations&business=M%2eJ%2eJohnson%40massey%2eac%2enz&lc=GB&item_name=Vogue%20Android%20Donation¤cy_code=USD&bn=PP%2dDonationsBF%3abtn_donate_SM%2egif%3aNonHos ted), zenulator, Chamonix, Stinebd, Makkonen (https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=10875428), MrPippy (https://www.paypal.com/cgi-bin/webscr?cmd=_donations&business=WDPWWUK4DYAEU&lc=US&item_name=MrPippy%20Android%20development¤cy_code=USD&bn=PP%2dDonationsBF%3abtn_donate_SM%2egif%3aNonHos ted), cr2, Markinus (https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=11120044), bzo, captainoord, glemsom, balsat and anyone else who contribued or who i forgot :p
Thanks ben_duder for the awesome sig :p
Help keep Connect-utb up and running with a donation (https://www.paypal.com/no/cgi-bin/webscr?cmd=_flow&SESSION=A_-bEU0tL_xLIyceMm-_ctJp8uh6giaZPGwX9p42Wm5-pI5PZp0dCYeVigm&dispatch=5885d80a13c0db1fc53a056acd1538879f6142317 35d88db02692aa5ce177198) :)
[INDENT]XDANDROID PROJECT DONATION (http://xdandroid.com/w/donate.php)
http://buttonshut.com/links/facebook.png (http://www.facebook.com/#!/pages/XDAndroid/394317262428) http://buttonshut.com/links/twitter.png (http://twitter.com/xdandroid) http://buttonshut.com/links/youtube.png (http://www.youtube.com/user/xdandroid#p/f)
ReWind402
27th April 2009, 04:59 AM
FAQ & How To
http://www.rocknrollcoffeehouse.com/shadowline/androidlogo.png
Information on using Android on the Diamond 2.
More information is also available on the WiKi (http://wiki.xda-developers.com/index.php?pagename=TOPAZ_ANDROID)
F.A.Q.
Q. Why is my touchscreen not calibrated properly?
A. Delete the "ts-calibration" file in the XDAndroid root and start haret.exe again, touch properly the 5 white dots on the boot-up sequence.
Q. Why is my led blinking between orange and green, and what those colors means?
A. Green - phone is sleeping, Orange - phone is awake. Blinking between this 2 colors means that the device is not sleeping properly or is doing something in the background ( checking for emails,... )
Q. Why when I return to WM my time is messed up?
A. Android uses a different way to tell time, causing Windows Mobile to change to another time (For example, if you are GMT -5 it will be 5 hours ahead, if you are GMT +5 it will show 5 hours behind.)
Q. Why am I stuck on the lockscreen?
A. Try tapping the power button once, then unlocking. The device thinks the screen is off.
Q. How do I install an .APK file from my PC?
A. Create a folder called "AndroidApps" on your storage card and place your file there.
Q. Why cant my phone find any network?
A. Change "force_cdma=1" in the STARTUP.TXT to "force_cdma=0".
Q. Why wifi doesn't work in Android?
A. Before booting into Android throught haret.exe, switch "on" the wifi in WinMo.
Q. How do i return to WinMo after booting into Android?
A. You could hold the "end call" key and press "Power off", or at the back remove the stylus and press the little red button.
Q. Why HARET freezes/hangs on execution?
A. Be sure to use the latest zImage, rootfs, initramfs and to run you TD2 at stock CPU speeds ( not overclocked, in most cases this cause the problem ).
Q. Why does the end call button has the same function as the power button and how do i fix this?
A. The key mapping was changed in a recent rootfs release, to sort that out go into the Main Menu -> SpareParts and select the "End button behaviour" to be "Go Home".
Q. Why I have no sound on incoming calls & the other person can't hear me?
A. A little workaround until this get fixed is: after android boots, first, call someone (you can call yourself too :P), after that all subsequent calls should be ok.
More coming soon.
Usefull Startup.txt commands ( copy cmds without quotes ):
Overclocking
"acpuclock.oc_freq_khz=XXXXXX" - Used for overclocking your cpu ( example: "acpuclock.oc_freq_khz=650000" is 650 MHz / 650 000 kHz ) - Use it at your own risk!!!
Setting another folder as your Android root
"rel_path=place here the folder name" - If you dont want to put XDAndroid in your SD root you can put it in another folder ( It is recommended that you call this folder "andboot" and not "Android", example: you created a folder named "andboot" in the root of your SD for XDAndroid, add this to your startup.txt "rel_path=andboot" )
Onscreen terminal keyboard
"msmvkeyb_toggle= (on/off)"
on = displays terminal onscreen keyboard
off = hide terminal onscreen keyboard
Headset
"snd.force_headset=X"
1=USB headset
2=3.5mm headset
Incall volume adjust
"htc_hw.call_vol=X"
0-5
0=being lowest and 5=being loudest
Enable/Disable handsfree
"htc_hw.handsfree=X"
1=Enable
0=Disable
Recommended best loud and clear voice values are said to be 5/1
"htc_hw.call_vol=5"
"htc_hw.handsfree=1"
Disable low battery Warning
"htc_battery_smem.fake=1"
How to install and run Android on your TD2
Installation:
First step and the most important be sure to backup all your valuable data from your SD card
Before downloading anything be sure that your SD card is formated in FAT32 file system and you have enough space ( min. 512mb, recommended 1024mb )
Download the latest bundle build here (http://forum.xda-developers.com/showpost.php?p=3695364&postcount=4) [Post 4]
Download the system only package ( if bundle is from a newer date then system only then skip this step ) here (http://forum.xda-developers.com/showpost.php?p=3695364&postcount=4), rename it to system.ext2 if needed and overwrite it with the one from the bundle package
Unzip the contents of the .zip file
Copy all contents of the unzipped file to the ROOT of your Storage Card or in ANDBOOT folder ( be sure to add then "rel_path=ANDBOOT" in startup.txt between quotations )
Copy the STARTUP.txt located in STARTUP CONFIG->TOPAZ folder to the root of your SD card or in the ANDBOOT folder
It should look like this:
/Storage Card/
/AndroidApps/
/conf/
/media/
/STARTUP CONFIG/
/STARTUP.TXT
/haret.exe
/initrd.gz
/rootfs.img
/system.ex2
/zImage
Running Android:
Browse to your storage card and open/run the file Haret.exe
On the first boot android will ask you to tap 5 white dots for touchscreen calibration
Wait for Android to be completely up and running
Keymapping for the Diamond 2.
http://www.rocknrollcoffeehouse.com/shadowline/diamond2keys.jpg
[1.][Call] -> Call
[2.][Windows Key] -> Menu
[3.][Back] -> Back
[4.][End] -> End | Power
[5.][Volume Up] -> Volume Up
[6.][Volume Down] -> Volume Down
[7.][Power] -> Home
ReWind402
27th April 2009, 05:00 AM
Tips & Media
General info & tips
Data Image ( data.img ) is where all your settings, apps,... basically everything you have done to customise your android experience is stored there. Deleting it will result in losing all of settings, apps,...
To setup your ringtones create you need to create a folder tree:
/sdcard/media/alarms
/sdcard/media/notifications
/sdcard/media/ringtones
To change the keyboard language and layout to qwerty, hold down ( long press ) any text box to get other options and select android. You can also change it from the settings page.
To get a better & faster GPS location time be sure to run QuickGPS and update the satellites before going to Android.
Videos:
Android 2.0.1 on the Topaz by Shadowline [12/21/09] http://www.youtube.com/watch?v=6plb1d7tRz0
Screenshots:
December 21st By Shadowline (Android 2.0.1) ( See attachment )
ReWind402
27th April 2009, 05:18 AM
Releases & Useful links
Note1: No release here will be totally stable for a while, these are only for testing purposes and nobody can claim any responsibility if you end up breaking your phone, which of course should not happen with any of these builds.
Note2: Add the latest ( links posted under the build below ) modules, rootfs, zImages, initramfs to the build below for the best experience.
Android 2.2.2 - FRX06 Final(bundle) & FRX06 Final(system)
http://static.shiftdelete.net/img/article/android-froyo_haber1263831609.jpg
Package date: March 25th 2011
Build Froyo 2.2.2
Bundle package FRX06 Final NEW:
http://www.rocknrollcoffeehouse.com/shadowline/downloadnow.jpg (http://files.xdandroid.com/FRX06_Full_Bundle_25.3.2011.zip)
Note: Please delete your old data.img and let android recreate it again because this package is signed. Otherwise you'll get a bootloop
Also you'll need to select English IME if you want to type in english.
System package - FRX06 Final NEW:
http://www.rocknrollcoffeehouse.com/shadowline/downloadnow.jpg (http://files.xdandroid.com/system-FRX06.ext2.zip)
Note: Please delete your old data.img and let android recreate it again because this package is signed. Otherwise you'll get a bootloop
Also you'll need to select English IME if you want to type in english.
Here (http://forum.xda-developers.com/showpost.php?p=12205814&postcount=6063) are some updated bundle and systems of Froyo and Gingerbread. Courtesy of TheJokah!
--------------------------------------------------------------------
zImage Autobuild ( glemsom / balsat ):
glemsonAutobuilds (http://glemsom.users.anapnea.net/android2)
Rootfs Autobuild ( Stinebd ):
RootfsAutobuilds (http://xdandroid.southcape.org/rootfs/)
Initramfs Autobuild ( Stinebd ):
InitramfsAutobuilds (http://xdandroid.southcape.org/initramfs)
--------------------------------------------------------------------
Useful links:
XDAndroid 2.2 AOSP support thread:
http://forum.xda-developers.com/showthread.php?p=6967717
Official XDAndroid project thread:
http://forum.xda-developers.com/showthread.php?t=601751
XDAndroid Project:
http://xdandroid.com/wiki/Main_Page
Old system builds are located here:
http://htcandroid.xland.cz/
and
4shared.com (http://outboundlink.net/anxo/dr_ta_1/goto.php?DR_id=1359&linkout=http%3A//www.4shared.com/dir/R0_ZTMiR/sharing.html)
Android On HTC
http://www.androidonhtc.com (http://www.androidonhtc.com/)
The Git Repository
http://git.linuxtogo.org/?p=groups/mobile-linux/kernel.git;a=summary
Spreadsheet with overview of working XDANDROID builds
Form for submitting (http://spreadsheets0.google.com/viewform?formkey=dGRoc3pjNXdzbDZNRW5ERF9pVUpWM0E6M Q)
Overview (http://spreadsheets.google.com/pub?key=0AnIG6heKF6uRdGRoc3pjNXdzbDZNRW5ERF9pVUpWM 0E&authkey=CLfM5p8C&hl=en_GB&single=true&gid=0&output=html)
AMackay
27th April 2009, 07:12 AM
It's good to see someone starting this project.
shadowline
27th April 2009, 07:19 AM
Just like we need a good HardSPL, we also need android on our shiny new diamonds. I just hope that we can get somewhere with it and some more devs pick it up as the phone becomes more popular.
xmoo
27th April 2009, 09:44 AM
Why not using the Touch HD files??? ;)
gkai
27th April 2009, 10:08 AM
Why not using the Touch HD files??? ;)
Agreed, hardware-wise I think the HD is the closest to the TD2 among the "older" htc models.
Appart from the slider bar and the buttons (sensistive on the HD, mechanical on the TD2), I think the hardware and screen resolution are exactly the same....
shadowline
27th April 2009, 06:48 PM
The Diamond version still seems to be the one that boots at least into console. The HD version does not get past haret.
HTC Touch Freak
1st May 2009, 02:37 AM
Got My D2 and can't wait for progress on this to start. Big Kudos to all that will be and are working on this on the D2 and other phones. I'm just sad I have no way or knowledge to help. :(
shadowline
1st May 2009, 03:28 AM
Me too... me too... I keep checking back every day for a HardSPL, and news on the Android front.
HTC Touch Freak
1st May 2009, 07:27 AM
Me too... me too... I keep checking back every day for a HardSPL, and news on the Android front.
Everyday... Only... I check like every 5 min..... lol..... more like every 4 hrs but whos keeping track?
CWKJ
2nd May 2009, 03:50 AM
Android is Linux based and open source, right?
So will you start charging when it is released? I hope not.
Will there be some kind of Kitchen where we can start figuring possibility of porting it to other devices?
shadowline
2nd May 2009, 06:25 AM
No, and if anyone here charges for it, I would really be cautious of it. Android is open source from google. And it has already been ported (more or less) to the Kaiser, Vogue, Diamond, Raphael, Touch HD and quite possibly more.
jonnrb
4th May 2009, 10:26 PM
No, and if anyone here charges for it, I would really be cautious of it. Android is open source from google. And it has already been ported (more or less) to the Kaiser, Vogue, Diamond, Raphael, Touch HD and quite possibly more.
Hope this works as planned... The thing is, hardware-wise, the D2 is similar to both the TouchHD and to the original Diamond. Now my problem is obtaining this thing in CDMA. Now only if HTC listened to its users :D.
furrypotato
25th May 2009, 05:14 PM
No, and if anyone here charges for it, I would really be cautious of it. Android is open source from google. And it has already been ported (more or less) to the Kaiser, Vogue, Diamond, Raphael, Touch HD and quite possibly more.
To be fair, the Touch HD port has stalled at an early stage.
There seem to be major problems at a deeper hardware level (Too complex for me to understand). So it might not ever happen.....
cmonex
26th May 2009, 12:34 AM
To be fair, the Touch HD port has stalled at an early stage.
There seem to be major problems at a deeper hardware level (Too complex for me to understand). So it might not ever happen.....
do you have a link about what the problems are?
stepw
26th May 2009, 03:47 AM
Blackstone Linux progress is summarized in BS wiki...
Looks like finding a way to interface with radio core is where it ended, see
http://forum.xda-developers.com/showthread.php?p=3647641&highlight=Android#post3647641
cheers
WigglerAway
29th May 2009, 01:25 AM
Don't think anyone's working on this yet but I dumped the mddi client capabilities struct found in mddi_probe() of mddi.c. Looks like we've got a new mddi client manufacturer (Mfr_Name=B9F6).
Full dump here:
http://pastebin.com/f365f22a6
WigglerAway
29th May 2009, 01:48 PM
Thought I should explain this a little... This is the reason why the framebuffer does not work at the moment. The manufacturer ID is not in any published linux driver code at the moment so we can't just drop in another driver. First things first, we need to find out the make and model of the mddi client, pedroo said he'd get some pics of the PCB/LCD so hopefully we'll be able to get some model numbers.
One mddi client chip which is capable but I haven't been able to find any information on is the Samsung S6D05A0. Long shot but does anyone have an account with Samsung they can use to get the data sheet?
Tiwaz
5th June 2009, 01:29 PM
Android is so awesome. Hope u guys can get it work on the Topaz. To bad i can't help u guys with it because i don't understand ppc's enough ( Topaz is my first PPC ).
Good luck!
jutley
6th June 2009, 12:07 AM
will someone help us on the rhodium section we have a android section in roms please help us get android running on this awesome handset thank you
shadowline
8th June 2009, 07:31 AM
we dont have any progress here yet, but id imagine it would be cross compatable. and im sure the rhodium will have the most work done on it with its more global release, and especially here in the states.
dicki
16th June 2009, 02:26 PM
Hi All,
Is there a Android-on-Topaz wiki yet? i'm keen to start helping out with getting android working on the topaz.
I've been following the android on diamond thread for some time and firmly believe that the wiki is a much better way of sharing information than 200 pages of "is it done yet"
Thanks
Dicki
WigglerAway
16th June 2009, 10:02 PM
Hi All,
I've been following the android on diamond thread for some time and firmly believe that the wiki is a much better way of sharing information than 200 pages of "is it done yet"
Absolutely.
I've been information gathering/hacking at the kernel but since there was no other devs and I haven't got much to work I haven't bothered writing up anything to wiki. If you're interested in getting involved, get in touch.
Siggaard
18th June 2009, 11:05 AM
Is anyone working on Android for D2 at the moment?
This thread seems a little abandoned....
AMackay
18th June 2009, 02:15 PM
I think only Wiggleraway is working on this at the moment. Lots of devs are still at work on android for the original diamond, and the touch hd.
Tiwaz
25th June 2009, 06:52 PM
GRR, I hope some Dev is going to think about Android on Topaz. Android is soo awesome
dcordes
26th June 2009, 06:47 PM
Edit: The Topaz Mtype is 1952 (http://www.arm.linux.org.uk/developer/machines/list.php?id=1952) via the arm linux page.
we prefer the 'htc' prefix for all htc machines
cr2
26th June 2009, 11:42 PM
Don't think anyone's working on this yet but I dumped the mddi client capabilities struct found in mddi_probe() of mddi.c. Looks like we've got a new mddi client manufacturer (Mfr_Name=B9F6).
Are you sure that it is correct ?
The known mddi cleient chips are
0bda_8a47 novatek
4ca3_0000 epson
d263_0000 toshiba
I think that teh topaz uses epson chip, like BLAC100.
WigglerAway
27th June 2009, 01:30 AM
Are you sure that it is correct ?
The known mddi cleient chips are
0bda_8a47 novatek
4ca3_0000 epson
d263_0000 toshiba
I think that teh topaz uses epson chip, like BLAC100.
Hi cr2, good to see you on the thread.
I'm confident I've got the right id in that dump. I've seen epson init code in the SPL however the SPL debug output reports a novatek controller with AOU panel which is unfortunate as neither company are very forthcoming with their specs. It looks like everything will have to come from reversing the SPL or ddi.dll. Do you you have any experience of the init code in either?
cr2
27th June 2009, 02:12 AM
It looks like everything will have to come from reversing the SPL or ddi.dll.
The panel id is defined by gpios 0x39 and 0x3a. I think you should start documenting things
like FB address in wince, gpios, etc.
WigglerAway
30th June 2009, 12:32 AM
The panel id is defined by gpios 0x39 and 0x3a. I think you should start documenting things
like FB address in wince, gpios, etc.
I do need to get round to documenting the bit and pieces I have found however the limited time spend on this gets spent working towards getting mddi working, most of the other interfaces are very close to that of raphael's and should fall into place if/when we get mddi working.
shadowline
30th June 2009, 07:31 AM
Glad to see that there are some of you that are looking into it. So mddi should be the only huge problem that we have vs the other Raphael builds? At least in theory?
Anyway, if you need me to update the first post and I happen to not be seeing the thread for some reason, feel free to PM me with what you need.
And hopefully once we get a working build, we can get it added to androidonhtc.com too.
eleijoyce
2nd July 2009, 06:34 AM
great project, looking forward to more progress...
VincentR91
2nd July 2009, 09:41 AM
Some information on blackstone linux config.
http://www.gavero.com/pichurri/blackstone/black-orux-020209.diff
This I think is very interesting.
diff --git a/drivers/input/touchscreen/msm_ts.c b/drivers/input/touchscreen/msm_ts.c
index 000f309..a81d8b2 100644
--- a/drivers/input/touchscreen/msm_ts.c
+++ b/drivers/input/touchscreen/msm_ts.c
@@ -26,12 +26,21 @@
#define MSM_TS_ABS_X_MIN 0
#define MSM_TS_ABS_X_MAX 479
#define MSM_TS_ABS_Y_MIN 0
+#if defined(CONFIG_MACH_HTCBLACKSTONE)
+#define MSM_TS_ABS_Y_MAX 799
+#else
#define MSM_TS_ABS_Y_MAX 639
+#endif
#define MSM_TS_ABS_PRESSURE_MIN 0
#define MSM_TS_ABS_PRESSURE_MAX 1
#define MSM_TS_LCD_WIDTH 480
+#if defined(CONFIG_MACH_HTCBLACKSTONE)
+#define MSM_TS_LCD_HEIGHT 800
+#else
#define MSM_TS_LCD_HEIGHT 640
+#endif
jatar
6th July 2009, 01:29 AM
Sorry If i tell a mistake but Iīm newbie as in speak english;)
In xatakamovil I saw that the hardware of Topaz and Hero were very similar, Itīs possible take the hero as a point of begin to modify his soft to remplace it in topaz?
Sorry again.
Thanks.
WigglerAway
15th July 2009, 11:25 PM
I've started writing up some stuff at http://www.htc-linux.org/wiki/index.php?title=Topaz Atm I've only put down information I'm confident of. My time is still focused on getting the LCD running so there isn't a whole lot there. Anyone wanting to play around with this just scrap down any info you know on the wiki. It'd be great to start collaborating.
E-P-S
16th July 2009, 12:06 PM
perhaps a nice idea.
i hope we can return to wm if it failed.
go on dudes :-)
Landice
20th July 2009, 11:13 AM
This is SO COOL!
I wants the Adroid running on my TD2 so badly! Too bad I don't have knowledge on this, keep on the good works guys! ;)
Hmm.. maybe I should start reading up some stuffs and learning now, so that one day I might able to give some help.. :p
black818pro
23rd July 2009, 07:49 PM
Keep up, guys!
Look forward to something exicting!
XRAY MAN
24th July 2009, 11:30 PM
I am waiting for indriod in my TOPAZ :D
deekjx
25th July 2009, 03:55 PM
Has anyone tried a generic build. Just compiling a system image from the lastest source to see if you are able to make calls?
The build that you currently have booting, can it make calls?
WigglerAway
26th July 2009, 01:22 AM
Android is not booting yet so compatibility of the amss with existing phones is not yet known (and hense we do not know if current code is capable of making calls).
vicdup
30th July 2009, 08:35 PM
Is there someone working on the project ? Any hope to have a build working soon ?
It would be wonderful to have android working on Topaz
shadowline
30th July 2009, 09:06 PM
There isn't many working on it right now. But the current issue is the screen/touchscreen drivers, so once those are found and fixed it will be on hopefully the fast track to fully booting. But we may not know what else may be broken until then.
ipkim
1st August 2009, 08:44 AM
sounds like still far away from seeing Android runing on Topaz
AMackay
1st August 2009, 11:41 AM
sounds like still far away from seeing Android runing on Topaz
It's not exactly easy getting another operating system to work on a phone, just look at Android for the original Diamond 1; it's been ages and still not fully working.
Overloaded
2nd August 2009, 04:56 PM
And maybe HTC is releasing the Sense UI to Windows Mobile phones ;)
Still not android, but it will look good
shadowline
2nd August 2009, 06:05 PM
It's not exactly easy getting another operating system to work on a phone, just look at Android for the original Diamond 1; it's been ages and still not fully working.
Pfft, look at the kaiser port, that has been going even longer and they still dont have it 100% stable or feature complete. But I will be happy with a booting image, and some data connection. :D
deekjx
3rd August 2009, 01:49 AM
There isn't many working on it right now. But the current issue is the screen/touchscreen drivers, so once those are found and fixed it will be on hopefully the fast track to fully booting. But we may not know what else may be broken until then.
I guess we were hoping for too much with the release of the hero rom. I thought a lot of the data on that rom (drivers and such) could transfer over once booting to linux was complete. I still have y fingers cross. The faster this moves, the more likely the rhodium will do well.
Suppose I could get a non HTC phone such as the new sony ericsson (http://www.pcworld.com/article/167869/leaked_sony_ericssons_upcoming_android_phone.html) . It is only missing a keyboard.
dcordes
4th August 2009, 12:14 AM
Suppose I could get a non HTC phone such as the new sony ericsson (http://www.pcworld.com/article/167869/leaked_sony_ericssons_upcoming_android_phone.html) . It is only missing a keyboard.
I believe this is htc made just like the kovsky
rogeriopcf
4th August 2009, 12:51 AM
By the time everyone can merely install Android 1.0 in the Topaz, another new version of Android should be out, and then again we start all over.
By the time that happens Topaz would be old and another new HTC phone should take your hearts.
Just forget that...
shadowline
4th August 2009, 03:34 AM
By the time everyone can merely install Android 1.0 in the Topaz, another new version of Android should be out, and then again we start all over.
By the time that happens Topaz would be old and another new HTC phone should take your hearts.
Just forget that...
No? Go look at the vogue and kaiser ports, they are running the latest Hero build are they not? You don't have to start over with it all each time, its still android. Sure it takes days, if not weeks to get it ported, but they do it. I see no difference. The only thing we lack here are more developers, which will come soon enough as the TD2 and TP2 get massed released globally.
WigglerAway
5th August 2009, 12:48 AM
The only thing we lack here are more developers, which will come soon enough as the TD2 and TP2 get massed released globally.
Why don't you get involved? Sure it's a steep learning curve but it's a good learning experience, there's plenty of people who'd be willing to help and the internet is awash with technical write ups to learn from.
shadowline
5th August 2009, 04:25 AM
Why don't you get involved? Sure it's a steep learning curve but it's a good learning experience, there's plenty of people who'd be willing to help and the internet is awash with technical write ups to learn from.
Not a bad idea, though I do know nothing about coding. I think I will start by poking around in the kaiser android to get a feel for it when I can.
tinker2000
5th August 2009, 07:54 PM
Linux can be hard work and isnt the friendliest OS on Earth. I can help with some WM programs, but Linux is like.... well Double Dutch (Sorry):confused:
bleep09
6th August 2009, 01:53 PM
I see that people have been successful in porting over to Vogue...
http://pocketnow.com/news-archive/htc-hero-sense-ui-running-on-vogue-video-walktrhough
Now I'm just hoping someone can do the same for Topaz...
schriss
6th August 2009, 06:20 PM
I can help by doing any memory dumps or trying any alpha versions on my Rhodium/HTC Touch Pro2.
I got Quake3 working, got Windows 95 working using Bochs, now it's time for Android :D
bleep09
6th August 2009, 08:12 PM
I can help by doing any memory dumps or trying any alpha versions on my Rhodium/HTC Touch Pro2.
I got Quake3 working, got Windows 95 working using Bochs, now it's time for Android :D
Ohhhh... How can I get Quake 3?
schriss
6th August 2009, 09:10 PM
Ohhhh... How can I get Quake 3?
http://forum.xda-developers.com/showpost.php?p=2583119&postcount=42
Lets get back to the Topic :)
I have seen different Default.txt files, some include SET CMDLINE "some_parameters"
while others do not have that line at all:confused:
EDIT: Trying to boot, I click Run, I see Go, Go, Go.. and then sooner or later soft-reset.
My Default.txt:
set RAMSIZE 0x08000000
set MTYPE 1910
set KERNEL zImage
set initrd initrd.gz
set cmdline "ppp.username= ppp.password= mddi.width=640 mddi.height=800 msm_sdcc.msmsdcc_fmax=32000000 pm.sleep_mode=3 board-htcvogue.panel_type=1 no_console_suspend"
boot
also tried MTYPE 1805, it took much longer until soft-reset, 1910 was almost instant.
I wonder if I'm using correct zImage and initrd.gz at all :-(
shadowline
6th August 2009, 10:29 PM
Problably not, considering that the actual screen drivers (as far as I know) are not currently working, so we need those first before we can get any further.
schriss
7th August 2009, 12:23 AM
Tried some other builds and made it to the console, it is freezing at the line "hand over to real [tty0]" or something like that. I guess that's the moment graphics mode should kick in...
schriss
7th August 2009, 10:59 PM
I'm not sure it it is freezing because of display driver..
I mean I tried changing MEMADDR, first increased it slightly thendecreased and in both cases console wouldn't boot at all, grapgics distortion and freeze.
Maybe it's not good MEMADDR? Too small free memory window? With Touchflo disabled I have 100MB of free memory, maybe by trying some other MEMADDR I will get better result. Trying now.
EDIT: Tried up to 100000000, no luck :-( Got back to default values. (MEMADDR 0x10000000)
schriss
10th August 2009, 09:10 PM
Isn't Topaz MTYPE 2293 (http://www.arm.linux.org.uk/developer/machines/list.php?id=2293)?
Rhodium MTYPE: 2292 (http://www.arm.linux.org.uk/developer/machines/list.php?id=2292)
dicki
11th August 2009, 01:59 PM
now i'm a bit hazy on all this but my understanding is that the MTYPE is used in the linux kernel to configure HW specific settings for your device.
this means that the new topaz MTYPE setting will only work with the very latest version on the kernel which i am guessing is not built into anyones code yet?
what sources are people currently using for thier topaz android work?
i'm just starting to find some time to spend on this but i need to do an awful lot more learning until i'm going to be of any use on this project.
deekjx
11th August 2009, 03:43 PM
Anyone starting with a fresh kernel or is everyone just trying kernels from other builds? It's possible to get a fresh kernel (http://modmygphone.com/forums/showthread.php?t=92)by compiling it yourself. That being said. I think you will have to customize the .config file listed in the instructions. Its also possible to compile the system image from android source but I don't have that link handy right now.
dicki
11th August 2009, 05:06 PM
good linkage. thanks.
if you could find that other link and any other links to useful learning resources I'd really like to see them
linshilinshi
17th August 2009, 05:37 AM
hi~ when will this release?
thanks a lot
Overloaded
17th August 2009, 04:24 PM
hi~ when will this release?
thanks a lot
Are you serious :eek::eek:
You can wait very long... It's not that easy...
Just read the entire topic and you will understand,
Daemon_
19th August 2009, 11:36 AM
Hi all, I'm a new for this all, so I'm a little bit confused. I'm a driver developer for Windows/Mac OS (one of the Mac OS kernel hackers, that bring it to PC), and I'm willing to buy HTC Topaz and work for Android port on it.
But I don't know where is to start. So I have several questions:
- How I can be involved in Android porting process? I mean where developers communicates with each other?
- Where I can read info about the roles of different interfaces (SPI, MDDI) and other interfaces that used in embedded environment?
- Who are actually works on porting Android to Topaz?
linshilinshi
20th August 2009, 05:53 AM
Are you serious :eek::eek:
You can wait very long... It's not that easy...
Just read the entire topic and you will understand,
well, since the version for diamond have been released very long, I assume that android for D2 should come soon...
dicki
20th August 2009, 09:12 AM
daemon: I think most of the discussion takes place on #htc-linux on freenode irc
I think wiggleaway is one of the main guys working on it.
WigglerAway
29th August 2009, 02:09 AM
But I don't know where is to start. So I have several questions:
- How I can be involved in Android porting process? I mean where developers communicates with each other?
- Where I can read info about the roles of different interfaces (SPI, MDDI) and other interfaces that used in embedded environment?
- Who are actually works on porting Android to Topaz?
Most developer talk is over IRC, #htc-linux on freenode.
Information about the hardware achitecture can be piggled together from the kernel source code, google and a bit of help from other android devs. There's a lot of htc phones based around the msm720x which all share the architecture. Topaz isn't a world away from what has come before it.
As far as I know, I'm the only one who has publicly stated I've done some work on it. However I haven't touched it for quite a while as I've been enjoying the summer :)
4D3
29th August 2009, 08:48 PM
This looks really interesting, when do you plan a release?
nice work
MG
4D3
29th August 2009, 08:49 PM
well, since the version for diamond have been released very long, I assume that android for D2 should come soon...
there is android for the diamond?
can you giv a link?
thanks in advance
MG
low-dogg
30th August 2009, 10:29 AM
I'm also VERY interested in this.. but is there at all any progress in this? is there any developers currently looking in to this?
winterdog
4th September 2009, 03:37 PM
Has there been any movement on this. Is there any thing i can do to help
kaplox
4th September 2009, 07:38 PM
I would like to help too, I'm very very interesting in this, android in our Topaz!
WigglerAway
5th September 2009, 01:56 PM
I haven't done anything on this for quite a while. The activity i was last doing was reversing the lcd init code from the spl. If anyone wants to continue working on this i'll pass on my notes.
macaukei
5th September 2009, 02:15 PM
when will be launch....so expecting...
cr2
5th September 2009, 03:20 PM
The activity i was last doing was reversing the lcd init code from the spl. If anyone wants to continue working on this i'll pass on my notes.
Add the notes to htc-linux.org wiki.
timreeves
8th September 2009, 02:37 PM
I realise theres a 99% chance I won't get anywhere, but I doubt anyone else has tried.
I just e-mailed HTC asking them to release an android rom for the topaz and blackstone, with the new Touch HD Android definately on it's way it wouldn't be much extra work for them and I imagine a huge chunk of the community would be very impressed if they did!
cyron_at
8th September 2009, 03:38 PM
I realise theres a 99% chance I won't get anywhere, but I doubt anyone else has tried.
I just e-mailed HTC asking them to release an android rom for the topaz and blackstone, with the new Touch HD Android definately on it's way it wouldn't be much extra work for them and I imagine a huge chunk of the community would be very impressed if they did!
....do you really think that they will di it? ha, I don't think so....
timreeves
8th September 2009, 05:46 PM
you never know if you don't ask ;)
Caipirinhia
9th September 2009, 02:26 PM
And maybe HTC is releasing the Sense UI to Windows Mobile phones ;)
Still not android, but it will look good
How 'maybe' is that?
weet jij meer? :P
(do you know more)
anarchyuk
10th September 2009, 06:09 PM
....do you really think that they will di it? ha, I don't think so....
i agree, i think the stance will be if you want an android powered handset buy one. its like going to a car company with your 2 year old car and saying dammit i want the new engine from ur hybrid in here!
im sure they could probably do it within a month if they wanted.
deekjx
10th September 2009, 07:41 PM
For them to undertake that task wouldn't make any sense. They are a business and like any other, the bottom line will come first. They won't release an unpolished product and it would take the effort of several members of their team to ensure it works.
I'm sure their agreements with Microsoft will make this impossible from a legal perspective.
You are right in that it doesn't hurt to ask but I wager you have a better chance of hitting the lotto.
mummuapsu
16th September 2009, 06:02 PM
Guys
how is it going? are you still far from getting it?
some news would be nice... We're all loocking forward to get our hands on this... :)
LeoArg
18th September 2009, 01:06 AM
Buy a HTC Hero with Android OS :D
LeandroMoreira
18th September 2009, 08:14 PM
Don't forget this project.. It's very important due the increasing of open source applications for pockectpcs..:rolleyes:
nex7er
20th September 2009, 09:10 PM
Well, booting Android on a Rhodium freezes HaRET at console handover. I'm sure this is the same for Topaz.
Michiii
24th September 2009, 02:28 PM
If someone make a English or German Android Version for Topaz thats work well, mail me and I will send you 10 via PayPal. But not later than 15 Oct 09!
magnejuul
24th September 2009, 02:38 PM
If someone make a English or German Android Version for Topaz thats work well, mail me and I will send you 10€ via PayPal. But not later than 15 Oct 09!
So would I, and my guess is that there are plenty of Topaz users that would be willing to pay for a fully working Android ROM. However - I don´t expect this to be possible by october 15 :-)
shadowline
25th September 2009, 04:46 AM
Some More info on the port is available at http://www.htc-linux.org/wiki/index.php?title=Main_Page under Topaz. Not much yet but it is there. :D
5kordez5
25th September 2009, 03:46 PM
so is there gonna be android for topaz or not, because we have been waiting for a very long time:)
linshilinshi
27th September 2009, 02:25 PM
WM 6.5 is coming, will Android be far?
opensea
27th September 2009, 04:12 PM
Actually, i give up hope. I think only HTC can release an Android for TD2 but it'll never be happened.
Do not trust to hope guys.
shadowline
27th September 2009, 06:34 PM
Actually, i give up hope. I think only HTC can release an Android for TD2 but it'll never be happened.
Do not trust to hope guys.
Oh is that what you think? Go take a look at the Vogue, Kaiser, Diamond, Blackstone, and Touch pro forums and you will see. Sure it takes a long time, but only because there is usually only one or two people working on it at a time. Right now I think we only have one person working on it very little.
Rome wasn't built in a day, and neither will Android. We need skilled linux developers that know how to edit kernels and drivers.
opensea
27th September 2009, 07:37 PM
Oh is that what you think? Go take a look at the Vogue, Kaiser, Diamond, Blackstone, and Touch pro forums and you will see. Sure it takes a long time, but only because there is usually only one or two people working on it at a time. Right now I think we only have one person working on it very little.
Rome wasn't built in a day, and neither will Android. We need skilled linux developers that know how to edit kernels and drivers.
I appreciate your and other developers efforts but the problem is that the process is taking so long with one or two devs. After a year or two many many TD2 owners will buy their new devices. So there will no need to develop Android. Yes Rome wasn't built in a day but even the T. Diamond has not a 50% working Android. There is nothing.
Sorry my friend. Believe me i'm waiting too but i do not trust to hope. Maybe a little.
life02
7th October 2009, 03:42 AM
I'm in. Just picked up a Pure yesterday. I've worked on both the Pharos and Polaris ports and am ready to get android on my new toy. Shadowline we should get together in an IRC room and talk about progress. I've set one up that I'll try to keep open 24/7: #topaz_android
opensea
7th October 2009, 08:43 AM
I'm in. Just picked up a Pure yesterday. I've worked on both the Pharos and Polaris ports and am ready to get android on my new toy. Shadowline we should get together in an IRC room and talk about progress. I've set one up that I'll try to keep open 24/7: #topaz_android
Finally. Thanks.
cr2
7th October 2009, 09:35 AM
You should be able to compile the kernel for topaz from the current linuxtogo 2.6.27 head.
Let me know how far the boot process comes.
Don't expect it to work properly: HTC has upgraded the AMSS version,
that has different RPC version codes and a bit different SMD layout
(used by samsung msm7201A kernel too)
It will be also helpful if you will post the list of files in \windows
life02
7th October 2009, 02:36 PM
You should be able to compile the kernel for topaz from the current linuxtogo 2.6.27 head.
Let me know how far the boot process comes.
Don't expect it to work properly: HTC has upgraded the AMSS version,
that has different RPC version codes and a bit different SMD layout
(used by samsung msm7201A kernel too)
It will be also helpful if you will post the list of files in \windows
I downloaded the 2.6.27 branch last night but had a question creating the config file.
Should I run: make htctopaz_defconfig ARCH=arm; make menuconfig
cr2
7th October 2009, 09:39 PM
Should I run: make htctopaz_defconfig ARCH=arm; make menuconfig
Yes, and change the AMSS from 5200 to 6120 in defconfig
This is a bug in the current defconfig
life02
9th October 2009, 06:16 AM
When I make the zImage it's erroring out at the PM stuff:
arch/arm/mach-msm/pm.c: In function 'msm_sleep':
arch/arm/mach-msm/pm.c:352: error: storage size of 'vibra' isn't known
arch/arm/mach-msm/pm.c:353: error: 'PCOM_VIBRA_ON' undeclared (first use in this function)
arch/arm/mach-msm/pm.c:353: error: (Each undeclared identifier is reported only once
arch/arm/mach-msm/pm.c:353: error: for each function it appears in.)
arch/arm/mach-msm/pm.c:355: error: implicit declaration of function 'msm_proc_comm_wince'
arch/arm/mach-msm/pm.c:357: error: 'PCOM_VIBRA_OFF' undeclared (first use in this function)
arch/arm/mach-msm/pm.c:352: warning: unused variable 'vibra'
arch/arm/mach-msm/pm.c: In function 'arch_idle':
arch/arm/mach-msm/pm.c:369: warning: unused variable 'saved_rate'
make[1]: *** [arch/arm/mach-msm/pm.o] Error 1
make: *** [arch/arm/mach-msm] Error 2
Additionally it asked me about 50 questions... not really sure what to answer on most of them so I answered "Y".
cr2
9th October 2009, 10:03 AM
Additionally it asked me about 50 questions... not really sure what to answer on most of them so I answered "Y".
Ok, then your best bet is to run "make htcblackstone_defconfig" and
chose in "make menuconfig" the topaz device name and AMSS 6120.
That's how i have compiled it on my machine.
life02
11th October 2009, 06:34 PM
Well it got farther... now i'm getting:
CC drivers/video/console/vgacon.o
drivers/video/console/vgacon.c: In function 'vgacon_startup':
drivers/video/console/vgacon.c:494: error: 'PCIMEM_BASE' undeclared (first use in this function)
drivers/video/console/vgacon.c:494: error: (Each undeclared identifier is reported only once
drivers/video/console/vgacon.c:494: error: for each function it appears in.)
drivers/video/console/vgacon.c: In function 'vgacon_do_font_op':
drivers/video/console/vgacon.c:1052: error: 'PCIMEM_BASE' undeclared (first use in this function)
make[3]: *** [drivers/video/console/vgacon.o] Error 1
make[2]: *** [drivers/video/console] Error 2
make[1]: *** [drivers/video] Error 2
make: *** [drivers] Error 2
FYI, I ended up having to comment out the vibra stuff in pm.c to get past that error... it was refering to some vibra.cmd???
cr2
11th October 2009, 11:02 PM
I have fixed several bugs preventing it from bootingnow. Please try
linload-topa100.exe from
http://ppckitchen.org/android
opensea
11th October 2009, 11:05 PM
I have fixed several bugs preventing it from bootingnow. Please try
linload-topa100.exe from
http://ppckitchen.org/android
Come on guys. Release something. I want to see Android on my Topaz finally.
cr2
11th October 2009, 11:14 PM
Come on guys. Release something. I want to see Android on my Topaz finally.
Eh ? Can't you just try this .exe instead of making pointless postings ?
opensea
11th October 2009, 11:21 PM
Eh ? Can't you just try this .exe instead of making pointless postings ?
Use android just executing an exe? Is it that easy? Isn't there a package? Isn't there a guide?
You see i'm newbee with linux thing.
cr2
11th October 2009, 11:31 PM
You see i'm newbee with linux thing.
Copy the executable to your topaz, and run it.
The program is a linux kernel + some initial debug filesystem
and has nothing to do with android.
I am interested in the data you may see on the LCD.
I promise you that this program is not a virus ;)
DiamondRS
11th October 2009, 11:54 PM
I have tried it.
It loaded haret, vibrated two times and displayed several messages.
This was the best way that I've found out to show. Hope it helps.
http://img36.imageshack.us/img36/9748/p1000733.png
HTC Touch Freak
12th October 2009, 12:16 AM
Here is what I got Followed by two vibrations from the phone.(It's small so it took a while to typ out)
HTC Linux framebuffer console by druidu
S[ 0.000000] Linux version 2.6.27-00544-g7692818-dirty
(cr20debian) (gcc version4.1.2) #75 PREEMPT Sun Ict 11 22:30
:30 CEST 2009
[ 0.000000] CPU: Armv6-compatible processor [4117b362] re
vision 2 (ARMv6TEJ) cr=00c5387f
[ 0.000000] Machine HTC Topaz cellphone (Topaz is a sili
cate mineral of aliminium and Flourine)
[ 0.000000] fixup: nr_banks =1
[ 0.000000] fixup: bank0 start=10000000, node=00000000, s
ize=05900000
[ 0.000000] ignoring unrecognised tag 0x00000000
[ 0.000000] nand tag: n=0 name=<NULL> offset=0x0 size=0x0
Flags=0x0
[ 0.000000] nand tag: n=1 name=<NULL> offset=0x0 size=0x0
Flags=0x0
[ 0.000000] nand tag: n=2 name=<NULL> offset=0x0 size=0x0
Flags=0x0
[ 0.000000] nand tag: n=3 name=<NULL> offset=0x0 size=0x0
Flags=0x0
[ 0.000000] nand tag: n=4 name=<NULL> offset=0x0 size=0x0
Flags=0x0
[ 0.000000] nand tag: n=5 name=<NULL> offset=0x0 size=0x0
Flags=0x0
[ 0.000000] nand tag: n=6 name=<NULL> offset=0x0 size=0x0
Flags=0x0
[ 0.000000] Memory policy: ECC disabled, DATA cache write
back
[ 0.000000] CPU0: D VIPT write-back cache
[ 0.000000] CPU0: I cache: 32768 bytes, associativity4,
32 byte lines 256 sets
[ 0.000000] CPU0: D cache: 32768 bytes, associativity4,
32 byte lines 256 sets
[ 0.000000] Built 1 zonelists in Zone order, mobility gro
oping on. Total pages: 19304
[ 0.000000] Kernel command line: msmts_calib=0x6D.0x5D.0x
340.0x375 mem=76M msmvkeyb toggle=hide lpj=2637824 board_htc
raphael.disable wifi=1 init=/init console=tty0 delay=2
[ 0.000000] PID hash table entries: 512 (ordered: 9, 2048b
ytes
[ 0.179351] console [hts_fb-1] enabled
[ 2.044525] console: clour dummy device 80x30
[ 2.133341] console handover: boot [htc_fb-1] real [tt
y0]
(FOLLOWED BY TWO VIBRATIONS)
Why didn't I think of taking a picture? Took me like 15min to type it out VS. 15sec to shoot and post.
melvin18
12th October 2009, 08:05 AM
I have got the same output...please help...i really want my TD2 can use Android....Thanks!
opensea
12th October 2009, 09:11 AM
Come on guys. Release something. I want to see Android on my Topaz finally.
Well then. Thanks. :)
opensea
12th October 2009, 09:40 AM
I have got the same output...please help...i really want my TD2 can use Android....Thanks!
Same here.
cr2
12th October 2009, 02:21 PM
Ok, the boot process reaches the same stage on rhodium, so
we need somebody to connect haret on port 9999 after the crash
and dump the bootlog from RAM console area.
Instructions are coming.
opensea
12th October 2009, 02:53 PM
I'm getting excited.
neowy
12th October 2009, 06:11 PM
guys i know it's hard work and i know it's been going on for a long time... been following this thread since it's set up and i must say i really appreciate what you guys are doing. thank you for helping us put android on td2! :D
HTC Touch Freak
12th October 2009, 08:45 PM
Ok, the boot process reaches the same stage on rhodium, so
we need somebody to connect haret on port 9999 after the crash
and dump the bootlog from RAM console area.
Instructions are coming.
I'm ready and willing to help eventhough I know squat about linux and programing
aDEO
12th October 2009, 09:26 PM
@cr2
Excellent progress!
From my haretlog it seams that you set MTYPE to 2293? Isn't it 1952 the correct one? (http://www.arm.linux.org.uk/developer/machines/list.php?id=1952)
Best regards,
aDEO
cr2
12th October 2009, 09:38 PM
@cr2
Excellent progress!
Not yet. The older hacked boot was more successful
http://htc-linux.org/topaz-boot-pic2.jpg
From my haretlog it seams that you set MTYPE to 2293?
It is HTCTOPAZ (the next one is HTCRHODIUM)
For dumping the crash log from ramconsole use the haret command:
pd 0xe0000 0x20000
aDEO
12th October 2009, 10:31 PM
How to start linload-topa100.exe in listening mode? I am trying to connect via haretconsole. Already tried with default.txt file, but haret just pass trough.
cr2
12th October 2009, 10:39 PM
How to start linload-topa100.exe in listening mode?
You can't. start linload-topa100.exe, let it "hang", soft-reset, start the usual haret.exe (don't boot anything) , press "listen" button, and telnet to port 9999
aDEO
12th October 2009, 10:53 PM
Ok. Here it is:
Log file start with dump MMU till this line:
HaRET(3)# pd 0xe0000 0x20000
and end with dumped crash log (pd 0xe0000 0x20000)
Best regards,
aDEO
cr2
12th October 2009, 10:57 PM
I have uploaded a neuer linload version to android.ppckitchen.org,
please check if it comes further.
cr2
12th October 2009, 11:03 PM
end with dumped crash log (pd 0xe0000 0x20000)
It seems that the logging is disabled ...
HTC Touch Freak
12th October 2009, 11:06 PM
I have uploaded a neuer linload version to android.ppckitchen.org,
please check if it comes further.
Stops at the same spot.
cr2
12th October 2009, 11:08 PM
Stops at the same spot.
ok, need to look for further bugs :)
aDEO
12th October 2009, 11:16 PM
@cr2
Yes, stops at the same place. However, here are haretlog.txt and mmutrace.log files from the last run.
Best regards,
aDEO
dcordes
13th October 2009, 12:07 AM
can somebody boot this kernel on topaz? it is htc-msm-2.6.27 678b61056de1f08be45fab4dc5f40ab17e9c7a17 with htctopaz_defconfig
http://linuxtogo.org/~lgorris/builds/kernel/topaz/zImage-htctopaz-20091012-00
cr2
13th October 2009, 12:31 AM
@cr2
Yes, stops at the same place. However, here are haretlog.txt and mmutrace.log files from the last run.
Best regards,
aDEO
Looks much better now: the kernel crashes because of the wrong SMD
layout (which is a known problem):
00e1280 | 34313035 205d3433 72616553 6e696863 | 501434] Searchin
000e1290 | 6f662067 64612072 635f7073 5b0a6469 | g for adsp_cid.[
000e12a0 | 20202020 30352e35 34363431 6d73205d | 5.501464] sm
000e12b0 | 665f6d65 28646e69 202c3631 32343631 | em_find(16, 1642
000e12c0 | 203a2934 6e6f7277 69732067 3420657a | 4): wrong size 4
000e12d0 | 205b0a30 35202020 3130352e 5d363535 | 0.[ 5.501556]
000e12e0 | 616e5520 20656c62 68206f74 6c646e61 | Unable to handl
000e12f0 | 656b2065 6c656e72 4c554e20 6f70204c | e kernel NULL po
000e1300 | 65746e69 65642072 65666572 636e6572 | inter dereferenc
000e1310 | 74612065 72697620 6c617574 64646120 | e at virtual add
000e1320 | 73736572 30303020 30303030 205b0a30 | ress 00000000.[
000e1330 | 35202020 3130352e 5d373136 64677020 | 5.501617] pgd
000e1340 | 63203d20 34303030 0a303030 2020205b | = c0004000.[
000e1350 | 352e3520 37363130 5b205d38 30303030 | 5.501678] [0000
000e1360 | 30303030 702a205d 303d6467 30303030 | 0000] *pgd=00000
000e1370 | 0a303030 2020205b 352e3520 30373130 | 000.[ 5.50170
000e1380 | 49205d38 7265746e 206c616e 6f727265 | 8] Internal erro
000e1390 | 4f203a72 3a73706f 5b203520 205d3123 | r: Oops: 5 [#1]
000e13a0 | 45455250 0a54504d 2020205b 352e3520 | PREEMPT.[ 5.5
000e13b0 | 37373130 4d205d30 6c75646f 6c207365 | 01770] Modules l
000e13c0 | 656b6e69 6e692064 205b0a3a 35202020 | inked in:.[ 5
000e13d0 | 3130352e 5d313338 55504320 2030203a | .501831] CPU: 0
000e13e0 | 4e202020 7420746f 746e6961 20206465 | Not tainted
000e13f0 | 362e3228 2d37322e 34353030 37672d34 | (2.6.27-00544-g7
000e1400 | 38323936 642d3831 79747269 36372320 | 692818-dirty #76
000e1410 | 205b0a29 35202020 3130352e 5d323239 | ).[ 5.501922]
000e1420 | 20435020 61207369 64612074 695f7073 | PC is at adsp_i
000e1430 | 2b74696e 38337830 6178302f 205b0a63 | nit+0x38/0xac.[
000e1440 | 35202020 3130352e 5d333839 20524c20 | 5.501983] LR
000e1450 | 61207369 70762074 746e6972 78302b6b | is at vprintk+0x
000e1460 | 2f633633 65337830 205b0a30 35202020 | 36c/0x3e0.[ 5
Next time you can dump the text log by
pwf my_crash_log 0xe0000 0x20000
life02
13th October 2009, 04:16 AM
cr2,
Could you post or pm me your main .config file from the kernel? It seems like most of the errors that I am getting when building the kernel are due to the .config file.
Thanks!
cr2
13th October 2009, 08:57 PM
All kernel code including the defconfig (htctopaz_defconfig) is in
the linuxtogo.org git repository.
life02
14th October 2009, 01:16 AM
right... i have all those files... but when I compile the kernel it asks lots of questions which are in .config from the kernel folder.
dcordes
14th October 2009, 03:48 PM
"make htctopaz_defconfig"
this will copy arch/arm/configs/htctopaz_defconfig to .config
it compiles without errors for me.
mrmckeb
14th October 2009, 04:10 PM
Anyone got Android running yet?
aDEO
15th October 2009, 07:51 PM
Next time you can dump the text log by
pwf my_crash_log 0xe0000 0x20000
Dumped crash log + haretlog.txt with latest compiled topa100-20091014-2.exe/haret.exe.
Currently I am using win7 with haretconsole, but can switch to some linux distro if this can helps somehow.
Bets regards,
aDEO
cr2
15th October 2009, 09:05 PM
Dumped crash log + haretlog.txt with latest compiled topa100-20091014-2.exe/haret.exe.
Currently I am using win7 with haretconsole, but can switch to some linux distro if this can helps somehow.
Bets regards,
aDEO
PLL1: MODE=00000007 L=00000032 M=00000000 N=00000001 freq=960000000 Hz (960 MHz)
The haretlog is not interesting, because linux already boots.
But the ramconsole dump provides very interesting information:
the PLL1 frequency is higher than on other msm7201A phones.
It is necessary to adjust the SD clock setup.
[ 5.500061] smem_find(13, 2048): wrong size 2304
This error needs a closer look from me.
And the LCD does not work probably because of
[ 5.495178] htcraphael_init_panel: Initializing panel
[ 5.495300] htcraphael_init_panel: panel does not apply to this device, aborted
Edit:
a newer version with some fixes is uploaded.
aDEO
15th October 2009, 11:15 PM
Dumped log is here.
Looks better now around the panel, but the cpu clock is with the same frequency.
**EDIT**
ah, cpu0 clock is fine :)
ACPU running at 528000 KHz
but
[ 2.237182] PLL0 @ e0005300: MODE=00000007 L=0000000c M=00000004 N=00000005 freq=245760000 Hz (245 MHz)
[ 2.237274] PLL1 @ e000531c: MODE=00000007 L=00000032 M=00000000 N=00000001 freq=960000000 Hz (960 MHz)
[ 2.237335] PLL2 @ e0005338: MODE=00000007 L=00000037 M=00000000 N=00000001 freq=1056000000 Hz (1056 MHz)
[ 2.237426] PLL3 @ e0005354: MODE=00000000 L=0000002d M=00000000 N=00000001 freq=864000000 Hz (864 MHz)
Best regards,
aDEO
jonathan.addison
15th October 2009, 11:43 PM
Wow, you guys are the bomb, I wish I knew what the heck you were talking about... :) Still, it's interesting to see the progress you guys are making! Keep it up! :D
cr2
16th October 2009, 12:30 AM
ah, cpu0 clock is fine :)
528MHz uses PLL2 (PLL2/2), but the PLL1 entries need to be checked.
Do you get a command prompt on the LCD now ? does the LCD work ?
DiamondRS
16th October 2009, 01:09 AM
With the new version, I get the same output via telnet that was shared by aDEO but on the PDA Screen it hangs at the same message "boot [htc_fb-1] real [tty0]"
aDEO
16th October 2009, 07:23 AM
528MHz uses PLL2 (PLL2/2), but the PLL1 entries need to be checked.
Do you get a command prompt on the LCD now ? does the LCD work ?
It still hang on the same place after 2 vibras:
[ 0.179382] console [hts_fb-1] enabled
[ 2.044708] console: clour dummy device 80x30
[ 2.133575] console handover: boot [htc_fb-1] real [tty0]
Best regards,
aDEO
aDEO
16th October 2009, 07:25 AM
Some useful info/links:
HTC-Linux (http://www.htc-linux.org/wiki/index.php?title=Main_Page)
HaRET (http://www.handhelds.org/moin/moin.cgi/HaRET)
HaRET's Docs (http://www.handhelds.org/moin/moin.cgi/HaRET_20Documentation)
Using HaRET console (run HaRET.exe on your PDA and click "Listen for network connection" button):
Linux: http://www.4shared.com/file/141445942/3ddf3a5e/haretconsole-052tar.html./console <pdaIP>
Windows: http://www.4shared.com/file/141120413/d724f9ff/HaretconsolePackageForWin_20090121_NetRipper_2.htm lconsole-activesync.bat
Using telnet (run HaRET.exe on your PDA and click "Listen for network connection" button):
Linux: telnet <deviceIP> 9999
Windows: http://www.chiark.greenend.org.uk/~sgtatham/putty/download.html
To dump your log from telnet / HaRET console: pwf my_crash_log 0xe0000 0x20000
Raphael/Diamond Linux: http://wiki.xda-developers.com/index.php?pagename=RaphaelLinux
Untested yet zImage: http://forum.xda-developers.com/showpost.php?p=4719728&postcount=133 http://linuxtogo.org/~lgorris/builds/kernel/topaz/
aDEO
opensea
17th October 2009, 01:10 AM
Still no change to see android?
aDEO
17th October 2009, 07:17 AM
Still no change to see android?
Please, stop flooding this thread with such a silly question!
Seriously, if you wanna help: start reading (for example we are almost here (http://forum.xda-developers.com/showthread.php?t=402002&page=64)), otherwise check the first page of this thread for further progress...
aDEO
aDEO
17th October 2009, 09:04 AM
Do you get a command prompt on the LCD now ? does the LCD work ?
I searched a bit internet about this about console handover: boot [htc_fb-1] -> real [tty0] and found a guy with Raphael who stuck on the same place. Interesting, but he manage to solved his problem with patient :) Unfortunately, after few minutes of waiting, it doesn't seems to work for me. Will try by downgrading my WM from 6.5(with Extendir if this mater) to 6.1...
**EDIT**
No go: logging "dies" before start framebuffer console, just after selecting the SD card partition 1 (p1):
[ 5.793243] mmc0: host does not support reading read-only switch. assuming write-enable.
[ 5.793334] mmc0: new high speed SDHC card at address aaaa
[ 5.794097] mmcblk0: mmc0:aaaa SU08G 7761920KiB
[ 5.794555] mmcblk0: p1
maybe this is not the right partition or it have to be Fat16 (currently Fat32)? Anyone?
Regards,
aDEO
cr2
17th October 2009, 10:39 AM
found a guy with Raphael who stuck on the same place.
It's a problem with the LCD setup/DMA/refresh. Your console log reveals some other minor kernel bugs, but the machine boots up to SD card setup and properly detects the partition information.
I'll look at it today in the evening.
aDEO
17th October 2009, 01:41 PM
I'll look at it today in the evening.
Great! Then I'll be online too.
**EDIT**
I'm up now! :)
Best regards,
aDEO
cr2
18th October 2009, 10:04 AM
I guess we should try to move the framebuffer to a different location, because
wince on topa100 uses 81MB SDRAM instead of 90MB on raph100.
Can you dump the wince "dmesg" area ?
pwf topa100_dmesg 0x16f00000 0x100000
Another useful dump (with camera and bt ON) is
pwf topa100_clk 0xa8600000 0x400
aDEO
18th October 2009, 10:10 AM
@cr2
Hope this can be handy:
a8600000 | 2219fe2f 1dff81d0 00000000 00000011 | /.."............
a8600010 | 00000001 00000055 00000000 00118000 | ....U...........
a8600020 | 00000000 00000400 00001000 00001280 | ................
a8600030 | 00001280 00001004 00000000 00000000 | ................
a8600040 | 0001fff5 fff6005f 0001fff0 fff1105c | ...._.......\...
a8600050 | 00000814 00000400 00000000 00000a06 | ................
a8600060 | 00000000 00000000 00000a00 0001fffa | ................
a8600070 | fffb404c 0001ffe1 ffe2095c 00000001 | L@......\.......
a8600080 | 00000a00 00000a8c 00000200 00000a21 | ............!...
a8600090 | 00000000 00141555 0001ffb4 ffb50040 | ....U.......@...
a86000a0 | 0001fff4 fff50044 0001fffa fffb0044 | ....D.......D...
a86000b0 | 0005fcff fd04005c 0005fcff fd04005c | ....\.......\...
a86000c0 | 00000a00 00000000 00e1f7ff f8e00044 | ............D...
a86000d0 | 0003ff9b ff9e0044 0019ff9f ffb80b44 | ....D.......D...
a86000e0 | 00000031 000100fa 00fb0059 00000000 | 1.......Y.......
a86000f0 | 0000001c 00000000 00000000 00000001 | ................
a8600100 | 0001ffff 00ffffff dc7d7817 03620c7e | .........x}.~.b.
a8600110 | 00000000 00008000 00008000 00000000 | ................
a8600120 | 00000000 00000000 00000000 00000000 | ................
a8600130 | 00000000 00000000 00000000 00000000 | ................
a8600140 | 00000000 00000000 00000000 00000000 | ................
a8600150 | 00000000 00000000 00000000 00000000 | ................
a8600160 | 00000000 00000000 00000000 00000000 | ................
a8600170 | 00000000 00000000 00000000 00000000 | ................
a8600180 | 00000000 00000000 00000000 00000000 | ................
a8600190 | 00000000 00000000 00000000 00000000 | ................
a86001a0 | 00000000 00000000 00000000 00000000 | ................
a86001b0 | 00000000 00000000 00000000 00000000 | ................
a86001c0 | 00000000 00000000 00000000 00000000 | ................
a86001d0 | 00000000 00000000 00000000 00000000 | ................
a86001e0 | 00000000 00000000 00000000 00000000 | ................
a86001f0 | 00000000 00000000 00000000 00000000 | ................
a8600200 | 00000000 00000000 00000003 00000000 | ................
a8600210 | 00000001 00000001 00000000 00000000 | ................
a8600220 | 00000000 00000000 00000000 00000000 | ................
a8600230 | 00000000 00000000 00000000 00000000 | ................
a8600240 | 00000000 00000000 00000000 00000000 | ................
a8600250 | 00000000 00000000 00000000 00000000 | ................
a8600260 | 00000000 00000000 00000000 00000000 | ................
a8600270 | 00000000 00000000 00000000 00000000 | ................
a8600280 | 0000001f 0000011f 0000001f 00000100 | ................
a8600290 | 0000000a 00000005 00000032 00000032 | ........2...2...
a86002a0 | 00000032 00000032 00000032 00000032 | 2...2...2...2...
a86002b0 | 00000037 00000037 00000007 000100fb | 7...7...........
a86002c0 | 00fc0b59 00000000 00000000 00000000 | Y...............
a86002d0 | 00000000 00000000 00000000 00000000 | ................
a86002e0 | 00000000 00000000 00000000 00000000 | ................
a86002f0 | 00000000 00000000 00000000 00000000 | ................
a8600300 | 00000007 0000000c 00000004 00000005 | ................
a8600310 | 00003000 00010480 00000005 00000007 | .0..............
a8600320 | 00000032 00000000 00000001 00003000 | 2............0..
a8600330 | 00010580 0000000a 00000007 00000037 | ............7...
a8600340 | 00000000 00000001 00002000 00010580 | ......... ......
a8600350 | 0000000b 00000000 0000002d 00000000 | ........-.......
a8600360 | 00000001 00000000 00010480 00000000 | ................
a8600370 | 00000000 00000000 00000000 00000000 | ................
a8600380 | 00000000 00000000 00000000 00000000 | ................
a8600390 | 00000000 00000000 00000000 00000000 | ................
a86003a0 | 00000000 00000000 00000000 00000000 | ................
a86003b0 | 00000000 00000000 00000000 00000000 | ................
a86003c0 | 00000000 00000000 00000000 00000000 | ................
a86003d0 | 00000000 00000000 00000000 00000000 | ................
a86003e0 | 00000000 00000000 00000000 00000000 | ................
a86003f0 | 00000000 00000000 00000000 00000000 | ................
Also updated http://wiki.xda-developers.com/index.php?pagename=MSM_CLK with that info, but only to 0x100
**EDIT**
Oh, red your message after I post this... so will dump once again with turned on bt and camera. :)
***EDIT***
The dump above is with turned on bt and camera. I also attached the output from
pwf topa100_dmesg 0x16f00000 0x100000
pwf topa100_clk 0xa8600000 0x400
Thanks for your help!
Best regards,
aDEO
cr2
18th October 2009, 11:17 AM
Ok, both dumps look very good.
If you will dump the wince "dmesg" after a reset, you will get more interesting data during init.
The log hints that you have TIACX1251 wifi chip ?
It seems that you also run some kind of GSM monitor software ?
aDEO
18th October 2009, 11:42 AM
@cr2
I don't know anything about my topa100 wifi chip, but can try to research a bit (which exclude to disassemble my device of course :) ).
The device was hard reseted few hours ago (nothing installed after this), so these are all processes when dumps was made:
pid=0fbff002 hid=00000000 mem=c2000000 thrd=002 perm=00000001 procname=NK.EXE
pid=0fbed70a hid=04070000 mem=04000000 thrd=013 perm=00000002 procname=filesys.exe
pid=4dfadabe hid=06070000 mem=06000000 thrd=023 perm=00000004 procname=cprog.exe
pid=acb83f06 hid=084e0000 mem=08000000 thrd=017 perm=00000008 procname=manila.exe
pid=af3a2d82 hid=0a030000 mem=0a000000 thrd=223 perm=00000010 procname=device.exe
pid=4e7e3992 hid=0c150000 mem=0c000000 thrd=040 perm=00000020 procname=gwes.exe
pid=edff1a5a hid=0e0f0000 mem=0e000000 thrd=022 perm=00000040 procname=shell32.exe
pid=4ec61ab6 hid=10030000 mem=10000000 thrd=002 perm=00000080 procname=fexplore.exe
pid=2d4b7776 hid=12070000 mem=12000000 thrd=001 perm=00000100 procname=akiller.exe
pid=edcec152 hid=14030000 mem=14000000 thrd=074 perm=00000200 procname=services.exe
pid=6d4c6496 hid=16040000 mem=16000000 thrd=015 perm=00000400 procname=connmgr.exe
pid=2c25acbe hid=18040000 mem=18000000 thrd=006 perm=00000800 procname=rapiclnt
pid=e9e1315e hid=1a030000 mem=1a000000 thrd=001 perm=00001000 procname=poutlook.exe
pid=4c634c1a hid=1c060000 mem=1c000000 thrd=007 perm=00002000 procname=repllog.exe
pid=0cc8d04a hid=1e0b0000 mem=1e000000 thrd=007 perm=00004000 procname=tmail.exe
pid=ac027d42 hid=201c0000 mem=20000000 thrd=006 perm=00008000 procname=CommManager.exe
pid=891baeba hid=22050000 mem=22000000 thrd=003 perm=00010000 procname=JBlendDaemon.exe
pid=690e8a46 hid=24040000 mem=24000000 thrd=005 perm=00020000 procname=SAPSettings.exe
pid=ed39baa6 hid=26090000 mem=26000000 thrd=006 perm=00040000 procname=QuickGPS.exe
pid=87b24fce hid=28160000 mem=28000000 thrd=002 perm=00080000 procname=haret.exe
Best regards,
aDEO
aDEO
18th October 2009, 04:12 PM
@cr2
Strange, but I didn't find anything for TIACX1251, but I found TIACXWLN1, which is used on these devices:
Artemis / HTC P3300
Pocket Loox 718/720
Hermes / HTC TyTN / XDA trion / MDA Vario II / VPA Compact III / SPV M3100 / Dopod CHT 9000 / Dopod 838 Pro
Athena / x7500
However, by observing my new dmesg, I found this:
Adapter Name: TNETW12511
adpater name found: [0] TNETW12511
tiIoCtrl: IOCTL (00223810)=TIWLN_802_11_STATISTICS
OID (ff010200) ptcDeviceName (TNETW12511) inLen (0) outLen (296)
TNETW1251(1)? is the exact wifi-chip, used on other HTC devices:
HTC Titan / Sprint Mogul / Verizon XV6800 / P4000
HTC TyTN II / Kaiser / AT&T Tilt / 8925 / P4550
Elf / HTC Touch
HTC Vox
also X1i Xperia, according this IRC log (http://ibot.rikers.org/%23htc-linux/20090718.html.gz)
I also double checked these registry
[HKEY_LOCAL_MACHINE\Comm\TNETW1251]
[HKEY_LOCAL_MACHINE\Comm\TNETW12511]
which shared the same library (TNETW1251.dll)
You can find my new dmesg as attachment. Really hope this to be useful.
Best regards,
aDEO
shadowline
18th October 2009, 08:00 PM
If you look at the registry for the htc comm manager for the topaz, you can find the wifi device type aswell.
[HKEY_LOCAL_MACHINE\Software\HTC\CommManager\WLAN]
"DeviceName"="{98C5250D-C29A-4985-AE5F-AFE5367E5006}\\TNETW12511"
Glad to see some improvements on the Topaz android. :D
cr2
18th October 2009, 08:52 PM
ok, so topa100 is using tiacx1251 for wifi (the same as raph,diam,blac etc.)
unlike rhod100, which uses broadcom chipset.
Do you have *.bts files in \windows ?
I'm trying to guess the BT chipset.
Can you post the list of files in \windows\ ?
Edit:
16:23:25 [D:BT] [BTU]RequestedPowerState: D3 from B6300
BT is brf6300, the same as on raph/diam.
aDEO
19th October 2009, 01:22 AM
Thanks cr2!
Better late, than never... So here it is the list of all files with extensions from inside \Windows directory.
Bets regards,
aDEO
schriss
19th October 2009, 08:36 PM
I see you guys are busy...
Do you need any dumps from Rhodium?
aDEO
21st October 2009, 07:06 AM
Thanks schriss! I believe that cr2 uses Rhodium :)
aDEO
d3sm0nd
22nd October 2009, 06:43 PM
H O T N E W S :
http://developer.htc.com/
HTC Hero Kernel Source Code is now available for developers!!!
I'm not a coder but I think this WILL help us a lot! Any comments on this?
cr2
22nd October 2009, 09:21 PM
I believe that cr2 uses Rhodium :)
I don't have either rhod100 or topa100. only raph100
cr2
22nd October 2009, 09:34 PM
Do you need any dumps from Rhodium?
After the reset, dump the smem (pwf rhod_smem 0x01f00000 0x100000)
and dmesg (pwf rhod_dmesg 0x16f00000 0x100000)
HTC Touch Freak
22nd October 2009, 09:58 PM
Guys. I've been watching videos of the HD booting up and running and can't wait till we get there aswell..... KEEP UP THE GOOD WORK!
Zack84a
23rd October 2009, 06:28 AM
After the reset, dump the smem (pwf rhod_smem 0x01f00000 0x100000)
and dmesg (pwf rhod_dmesg 0x16f00000 0x100000)
forewarning this is my first dump ever.. Been running android on the tilt forever, now moved to the rhodium* and miss android quite a bit. So I am willing to learn whatever to help out this process.
cr2
23rd October 2009, 10:44 PM
These are very nice logs :)
Zack84a
23rd October 2009, 11:14 PM
These are very nice logs :)
abooyah!
let me know if you need anything else, or you need me to test any images.
cr2
24th October 2009, 12:38 AM
abooyah!
let me know if you need anything else, or you need me to test any images.
I've looked more closely at the smem dump, and it's full of AGPS data.
The same problem was there before with Blackstone dumps.
Can you completely disable AGPS, reset the phone and do the smem dump again ?
Zack84a
24th October 2009, 01:36 AM
I've looked more closely at the smem dump, and it's full of AGPS data.
The same problem was there before with Blackstone dumps.
Can you completely disable AGPS, reset the phone and do the smem dump again ?
Here you go. Let me know if this is better.
chrleesha
24th October 2009, 03:25 AM
Is there another thread where you guys continue this discussion.? I run a QA team and would be happy to troubleshoot this ROM on my TP2.
JGMDBA@gmail.com
chrleesha
24th October 2009, 03:31 AM
Just refreshed and noticed you guys had started the conversation back up again; how do I install this? and how do you disable AGPS?
aDEO
24th October 2009, 11:35 AM
I'm back again, so let me summarize, since this gonna be a long journey:
Latest findings:
WiFi - TIACX1251 (TNETW1251)
BT - BRF6300
Attached below:
MMU - topa100_mmu
0xe0000 0x20000 - topa100_crash_log
0x16f00000 0x100000 - topa100_dmesg
0xa8600000 0x400 - topa100_clk
files list from \Windows dir - topa100_windows_dir
Also some useful info/links from this post (http://forum.xda-developers.com/showpost.php?p=4744940&postcount=147).
Currently, with latest cr2's compilation (http://android.ppckitchen.org/), using next params:
set MTYPE 2293
set ramsize 0x5000000
set RAMADDR 0x10000000
set cmdline "msmts_calib=0x6D.0x5D.0x340.0x375 mem=76M msmvkeyb_toggle=hide lpj=2637824 board_htcraphael.disable_wifi=1 init=/init console=tty0 delay=2"
topa100 freeze just before start the framebuffer console with this output:
[ 0.179382] console [hts_fb-1] enabled
[ 2.044708] console: clour dummy device 80x30
[ 2.133575] console handover: boot [htc_fb-1] real [tty0]
I guess we should try to move the framebuffer to a different location, because wince on topa100 uses 81MB SDRAM instead of 90MB on raph100.
Since I am not capable to change the starting address of the framebuffer, is there anything else that I can do to be useful? Thanks!
Best regards,
aDEO
VistaX
24th October 2009, 03:59 PM
How can I get Android on my Diamond 2?
shadowline
24th October 2009, 06:09 PM
How can I get Android on my Diamond 2?
build a time machine and steal it from the future... :)
right now though is is not working, so nobody has it, yet.
cr2
24th October 2009, 09:31 PM
Here you go. Let me know if this is better.
It's again AGPS-only. This data is interesting for debugging GPS, but everything else is overwritten in the process.
Edit:
just an idea: remove the sim card, and them reset phone before dumping (without the sim card).
cr2
24th October 2009, 09:46 PM
is there anything else that I can do to be useful?
A simultaneous dump of topa100_dmesg and topa100_smem (after reset) like Zack84a has done for his rhod300.
aDEO
24th October 2009, 11:30 PM
A simultaneous dump of topa100_dmesg and topa100_smem (after reset) like Zack84a has done for his rhod300.
Let me know if you need anything else.
Best regards,
aDEO
alberto888zz
25th October 2009, 11:41 AM
Currently Active Developers:
None At The Moment........:(
Why?!?!
opensea
25th October 2009, 04:25 PM
Currently Active Developers:
None At The Moment........:(
Why?!?!
Shhhh. They're busy. And angry. :D
sansaguy
25th October 2009, 05:44 PM
Currently Active Developers:
None At The Moment........:(
Why?!?!
I would love to support.....
But... i don't know anything about programming :(
CromeX
25th October 2009, 09:24 PM
Hi Guys,
I would lov eto get into developing part-time.... especially for Google Android...
i'm planning on DL the developers kitt sometime this week... Is there any people who could jump start me in the right direction?
All is good
kangarooo
26th October 2009, 10:15 AM
Me too, a wiki/ an article will do, just want to know where to start.
http://forum.xda-developers.com/showthread.php?t=441999 looks a bit old, is it still correct?
cr2
27th October 2009, 12:22 AM
Let me know if you need anything else.
Hmm, you have the same problem. The first message i can see is 0x2a (=43th sequential), and it's all AGPS rpc traffic only.
There should be a way to disable AGPS...
Zack84a
27th October 2009, 02:11 AM
It's again AGPS-only. This data is interesting for debugging GPS, but everything else is overwritten in the process.
Edit:
just an idea: remove the sim card, and them reset phone before dumping (without the sim card).
Alrighty... I have attached two logs now...
The first one, I used another method to turn aGPS off (Schaps Advanced config)..
The second rhod_smem2 I made without my simcard in the phone.
Lets see how these go. Thank you for your help cr2.
aDEO
27th October 2009, 08:09 AM
Hmm, you have the same problem. The first message i can see is 0x2a (=43th sequential), and it's all AGPS rpc traffic only.
There should be a way to disable AGPS...
As my GPS was already turned off via Advanced config, I tried theese:
240972 - without SIM card
240976 - like the 1st one and with completely disabled:
QuickGPS app
My Location service
Manila Sense
In Flight mode
I think the second one (in Flight mode) will be the key, but will wait you to confirm it. Thanks!
Best regards,
aDEO
kangarooo
27th October 2009, 08:29 AM
Can someone give me a direction? Just something to start with. I am sure a few people here can help out, they just don't know where to start.
cr2
28th October 2009, 12:19 AM
The latest smem dumps still contain only the AGPS messages.
I'll think what else can be done.
Zack84a
28th October 2009, 04:00 AM
The latest smem dumps still contain only the AGPS messages.
I'll think what else can be done.
could you post a dump log that doesn't have the aGPS data for another device, and or could you let me know what we are looking for in these logs (specific commands we should see).
I have gotten a bit familiar looking at what I know now is wrong, having a log that looks a bit more correct might save us the wasted upload and time.
aDEO
28th October 2009, 07:49 AM
Can you check your devices for these registry entries, as they hold the state of both Assisted GPS and Quick GPS:
HKLM\Software\HTC\SUPL AGPS
HKLM\Software\HTC\QuickGPS
I am thinking about this scenario:
Hard Reset without SIM (to prevent installing network sutup configuration)
Deleting both registry entries (found that they will be not recreated after restart, so this have to work)
Restart
Dump
**EDIT**
Dumps uploaded...
Best regards,
aDEO
5kordez5
29th October 2009, 11:59 AM
how many developers are working on the android port?
WM-Sef
29th October 2009, 03:36 PM
how many developers are working on the android port?
You'd better ask for a Maemo (5) port! It's called the best Mobile OS on tweakers.net . And, the kernel is open source, what makes it a lot easier to port. Success anyway ;)
cr2
29th October 2009, 04:59 PM
having a log that looks a bit more correct might save us the wasted upload and time.
I don't have a ready to use tool for parsing the RPC circular buffers.
If the upload size matters, extract the RPC-TX.txt and RPC-RX.txt buffers with
od -v -A x -t x4 -j $((0x119b8+0x14)) -N $((0x2000)) foo_smem > RPC-TX.txt
od -v -A x -t x4 -j $((0x119b8+0x14+0x2000+0x14)) -N $((0x2000)) foo_smem > RPC-RX.txt
Then you can search (text editor?) for the RPC prog numbers other than '0x5b000030' (PDAPI) and '0x5b000031' (PDAPI_CB)
if the first byte is not 0x5b, but some other number, then you got non-AGPS commands that i'm looking for :)
The full known RPC command list can be seen at
http://htc-linux.org/wiki/index.php?title=MSM_RPC
cr2
29th October 2009, 05:01 PM
You'd better ask for a Maemo (5) port!
We are talking about a working linux kernel here.
Whether you want to run debian, android, maemo, gpe, opie, qtopia is completely irrelevant right now ;-)
cr2
29th October 2009, 05:13 PM
Dumps uploaded...
Best regards,
aDEO
Great! The AGPS message are not in the buffer anymore :)
UnSkilleD
29th October 2009, 05:20 PM
woah.. can't wait to get it on my Diamond2..
is there a way (for non devs ;-) to contribute to the progress?
aDEO
29th October 2009, 06:18 PM
Great! The AGPS message are not in the buffer anymore :)
Finally! :)
Ok, I will be around in next 1-2 hours if you need me...
Best regards,
aDEO
cr2
31st October 2009, 12:11 AM
Uploaded the newer version, please post the ramconsole dump after running it.
Zack84a
31st October 2009, 05:44 AM
I have removed the registry entries for aGPS...
These logs are made with the the lastest test haret...
included in zip are
smem
dmesg
crash_log
let me know if I still fail at getting the agps off. The smem log does seem to contain a lot of new information.
opensea
31st October 2009, 09:46 AM
Uploaded the newer version, please post the ramconsole dump after running it.
Tried and it stuck in the boot screen after 2 vibrations. Sorry, i can only feedback this. :(
cr2
31st October 2009, 05:29 PM
let me know if I still fail at getting the agps off.
No, it looks very good now. All RPC commands are the same as on topaz.
cr2
1st November 2009, 12:59 AM
It seems that topaz uses Novatek MDDI client, so the LCD should be
setup in a different way.
shayan.k
1st November 2009, 02:23 AM
this is great. if we can get android running on topaz then topaz is like the greatest phone and the best looking. i know they got it running on blackstone but hopefully this will be up soon as well. i wish i knew how to help u guys, but im not a developer:(
madman_cro
1st November 2009, 07:32 AM
i woud like to help too. just tell me what to do:)
aDEO
2nd November 2009, 09:09 AM
Currently, I am not even in my country nor in front my computer, but here are topa100 dumps with latest haret.
Next week I will try to find a free time to build some application which to help a bit in the dump process, so more people will have the chance to participate...
Thanks for your effort, cr2!
Bets regards,
aDEO
cr2
2nd November 2009, 09:33 PM
I have fixed some bugs (not all), and will upload a new version.
Please run it on topaz, and upload the ramconsole output.
Edit: uploaded. the rhod* version has ramconsole at 0x8e0000 now, let me know if it works.
aDEO
2nd November 2009, 11:04 PM
Ok. Still no framebuffer console, but give me few minutes, cause first I have to prepare my device for such intervention :)
**EDIT**
Was a little longer, but I am using PPC telnet client and it wasn't fun.
Best regards,
aDEO
cr2
2nd November 2009, 11:28 PM
Still no framebuffer console
Yes, i need the ramconsole dump to see the mddi client chip data.
If it matches the google novatek values, we can then reuse g2 novatek code.
Edit: ok, the console output looks very good, the AT, RPC and DATA channels are detected properly now,
the microP driver is detected, but we have a problem with the novatek panel:
[ 5.461090] mddi client=0 does not match mddi.mfr_name= 0xb9f6 mddi.prod_code= 5582
The g2 numbers are
1152 #define NT35399_MFR_NAME 0x0bda
1153 #define NT35399_PRODUCT_CODE 0x8a47
I need to fix the SD clocks, and the ADSP numbers. Then you may even try to play sound :)
The USB client is not working, need to look at that too.
Edit2:
the dummy mddi_client_topaz.c version created from mddi_client_epson.c may help us to run msmfb.
aDEO
3rd November 2009, 07:51 AM
Great, but seems that I missed something already known, as we have brand new mddi client manifacture here (b9f6)
[ 5.461090] mddi client=0 does not match mddi.mfr_name= 0xb9f6 mddi.prod_code= 5582
I will be around.
**EDIT**
Ah, I really missed that one: http://forum.xda-developers.com/showpost.php?p=3852857&postcount=19
Best regards,
aDEO
madman_cro
3rd November 2009, 08:27 PM
i think this should be sticky:rolleyes:
cr2
3rd November 2009, 09:12 PM
The boot on rhodium was as successful as on topaz,
but the mddi client product code has a different version
mddi client=0 does not match mddi.mfr_name= 0xb9f6 mddi.prod_code= 5580
olipheus
3rd November 2009, 09:19 PM
I just thought I'd stop by and do a small cheer leading dance too make you hard working android people happy and feel appreciated for your work!
Cheer cheer cheer! You PWN!
kaplox
3rd November 2009, 09:35 PM
yeah! cheer cheer cheer!!!
I would like to help :-)
Kind regards
shadowbranch
4th November 2009, 06:56 AM
Well, just checked out the HTC Pure(AKA TOPAZ!) on AT&T's site. Looks like a nice phone. Anyone thought of checking out the Hero build on it? Skimmed through the first couple of pages, a lot of reading! Thinking of upgrading to the Topaz from my Kaiser but would love it if Android worked. Guess I'll just have to buy my Topaz and start working on the Android code to get something that works. It would be a sham to buy it for $150 USD and not be able to run my new favorite OS, next to Archlinux that is! WOOT!
cr2
4th November 2009, 09:44 AM
For the brave souls ONLY: i have uploaded the new rhod/topa .exe files.
The rhod image has some problem with RPC init, so sometimes it hangs on boot.
Test and dump the ramconsole data.
I also need the smem dump (and wince dmesg) after recording sound, and after taking a camera picture in jpeg format.
aDEO
4th November 2009, 11:03 AM
The rhod image has some problem with RPC init, so sometimes it hangs on boot.
The topa image hangs always on boot now, probably because of wrong MTYPE which is 1910 (raph) instead of 2293 (htctopa) :)
cr2
4th November 2009, 11:30 AM
The topa image hangs always on boot now, probably because of wrong MTYPE which is 1910 (raph) instead of 2293 (htctopa) :)
Ok, fixed this error now and reuploaded the .exe
I need to patch haret, so it autodetects topa/rhod and making MTYPE change unnecessary.
aDEO
4th November 2009, 11:35 AM
Ok. While I am downloading/dumping, take a look of the crash log from the OLD haret. Very very interesting :)
aDEO
4th November 2009, 11:43 AM
Ok, fixed this error now and reuploaded the .exe
Woot, step forward! White screen after both vibrations... FB console incoming soonish :) Dumps also after 15mins or so..
** EDIT**
Dumps(after camera and sound recorder) are zipped.
** EDIT**
Downloading... v3 :)
Best regards,
aDEO
cr2
4th November 2009, 11:52 AM
White screen after both vibrations...
Please check the latest (-3) uploaded version, if the fb is still white.
aDEO
4th November 2009, 12:03 PM
Please check the latest (-3) uploaded version, if the fb is still white.
Yes, no change, except the fact, that my win7 tried but failed to install MSM USB! Means USB client works :P
Do you want me to dump ram console after v3?
**EDIT**
Dumps from v2 are in my previous post
Best regards,
aDEO
schriss
4th November 2009, 03:04 PM
Please check the latest (-3) uploaded version, if the fb is still white.
White on my Rhodium (tried after rebooting into empty Today screen to get most of memory free), but while booting console says Topaz, if that makes any difference.
BeeGee_Tokyo
4th November 2009, 03:08 PM
White on my Rhodium (tried after rebooting into empty Today screen to get most of memory free), but while booting console says Topaz, if that makes any difference.
You seriously tried a TOPAZ aka Diamond2 version on a Rhodium aka TouchPro2 device:eek::eek::eek::eek:
:D:D:D:D:D:D
You should be happy if your Rhodium is not bricked.
schriss
4th November 2009, 03:15 PM
You seriously tried a TOPAZ aka Diamond2 version on a Rhodium aka TouchPro2 device:eek::eek::eek::eek:
:D:D:D:D:D:D
You should be happy if your Rhodium is not bricked.
No comments lol :D
VistaX
4th November 2009, 06:23 PM
Is there any test rom out, whats the statur on the Androidbuild?
Or is the build only in developers hands?
aDEO
5th November 2009, 01:22 PM
Don't worry, you can't brick your device like that. The worst thing that you can provoke is another hard reset... but seriously, who count them these days? :)
aDEO
opensea
5th November 2009, 01:32 PM
Don't worry, you can't brick your device like that. The worst thing that you can provoke is another hard reset... but seriously, who count them these days? :)
aDEO
Me. Its 1539. :D
aDEO
5th November 2009, 01:35 PM
Me. Its 1539. :D
lol you are sick :D:D:D
cyron_at
5th November 2009, 01:38 PM
Is there any test rom out, whats the statur on the Androidbuild?
Or is the build only in developers hands?
I am also interessted to ty one!
opensea
5th November 2009, 01:44 PM
I am also interessted to ty one!
Not yet but i feel it'll come out very soon.
cyron_at
5th November 2009, 01:47 PM
Not yet but i feel it'll come out very soon.
thanks - let's see what the future will bring us! ;-)
DeathJester
5th November 2009, 03:29 PM
That's quite unlikely; As far as I can tell, there is currently no UI or radio operation on these devices; It's still bombing out when loading the kernel.
I'm expecting 1st quarter next year for UI to boot, if it's possible, at current rate of progress; Very quick indeed for an OS port to a closed platform run totally by enthusiasts!
UnSkilleD
5th November 2009, 03:34 PM
That's quite unlikely; As far as I can tell, there is currently no UI or radio operation on these devices; It's still bombing out when loading the kernel.
I'm expecting 1st quarter next year for UI to boot, if it's possible, at current rate of progress; Very quick indeed for an OS port to a closed platform run totally by enthusiasts!
you're killing all my hopes :(
opensea
5th November 2009, 03:39 PM
you're killing all my hopes :(
cr2 and Adeo are on it. Just wait for a couple weeks.
DeathJester
5th November 2009, 04:10 PM
Your hope shouldn't be killed so easily; I'm saying what has been done so far is very, very good! Issues are being overcome, progress is being made.
cr2
5th November 2009, 10:06 PM
As far as I can tell, there is currently no UI or radio operation on these devices; It's still bombing out when loading the kernel.
You will get the UI once framebuffer driver is fixed. The old topaz boot screenshot did not have any FB problems, because it didn't mess too much with the hardware.
oops on boot is related to the incompatibility of the SMD layout with other MSM7201A phones. Radio (AT and UMTS data) does not work for the same reason.
aDEO
6th November 2009, 09:39 PM
Yes, they uses same ARM9 coprocessor, but still:
Topaz's CPU = MSM7200A (90 nm)
Rhodium's CPU = MSM7201A (65 nm)
aDEO
gkai
7th November 2009, 01:36 AM
Yes, they uses same ARM9 coprocessor, but still:
Topaz's CPU = MSM7200A (90 nm)
Rhodium's CPU = MSM7201A (65 nm)
aDEO
Are you sure? I think the A at the end refer to 65nm process, so both CPU should be 65 nm.
The 0/1 difference refer, afaik, to the video encoding part of the chip, which is covered by a patent in the US, hence the MSM7201A which implement another, slightly less efficient, video encoding algorithm.
The MSM7200A is the original chip, non-crippled, which is sold everywhere except in the US.
Well, takes those info with a grain of salt, but this is what I remember from some discussions I have seen about the Qualcomms MSM7200 family....
aDEO
7th November 2009, 08:56 AM
You are right about almost non existing difference between both chipsets, since MSM7201A is the successor of the MSM7200A:
The reason for the different chipsets is said to be a Broadcom patent infringement by Qualcomm back in June 2007. The suit is said to have something to do with video compression in the MSM7200A chipsets.
Because the lawsuit is about an American patent, the MSM7200A chipset is used in all non-American variants, and the newer MSM7201A chipset is only used in the American variants.
As you can probably imagine, the real difference in the chipsets is about video compression. The MSM7201A chipset limits video recordings to QVGA resolution (320 x 240 pixels) and up to 24 frames per second video, whereas the MSM7200A chipset supports VGA resolution (640 x 480 pixels) video recording at up to 30 frames per second.
but still, take a look here:
MSM7200A (http://pdadb.net/index.php?m=cpu&id=a7200a&c=qualcomm_msm7200a) (2007 year, 90nm)
MSM7201A (http://pdadb.net/index.php?m=cpu&id=a7201a&c=qualcomm_msm7201a) (2008 year, 65nm)
Best regards,
aDEO
deamon1979
7th November 2009, 11:59 AM
When there will be a working version android OS for HTC Topaz? At least with not full functionality.
aDEO
7th November 2009, 12:30 PM
Fastest way will be if cr2 owns a Topaz, because for now only he can fix the framebuffer driver... So no one can predict the exact date for such a thing: can happens today or after month(s).
aDEO
HTC Touch Freak
7th November 2009, 09:12 PM
Fastest way will be if cr2 owns a Topaz, because for now only he can fix the framebuffer driver... So no one can predict the exact date for such a thing: can happens today or after month(s).
aDEO
cr2 must go to a Casino and play some Black Jack (21) and win some money to get a Topaz. ;)
Love the work you all are doing and wish people would read instead of asking when. Progress is being made and that's better than what was going on months ago...... NOTHING.
aDEO
8th November 2009, 07:40 AM
@HTC Touch Freak
All I am saying is that even without a device, cr2 is helping us! Check out other forums and IRC channels and you will know that his motivation is the feeleing when the job is well done! So when you talk about cr2 you say only good things or nothing. Thanks!
aDEO
opensea
8th November 2009, 07:46 AM
@HTC Touch Freak
All I am saying is that even without a device, cr2 is helping us! Check out other forums and IRC channels and you will know that his motivation is the feeleing when the job is well done! So when you talk about cr2 you say only good things or nothing. Thanks!
aDEO
I agree. That is an amazing effort developing without a device.
HTC Touch Freak
8th November 2009, 11:48 AM
@HTC Touch Freak
All I am saying is that even without a device, cr2 is helping us! Check out other forums and IRC channels and you will know that his motivation is the feeleing when the job is well done! So when you talk about cr2 you say only good things or nothing. Thanks!
aDEO
Read opensea's post. That is basically what I'm saying. Nothing negative towatds cr2. sheesh.
Denimo
8th November 2009, 03:17 PM
I'm so excited about this rom! I love the HTC touch Diamond2, but I like the Hero/Android software more than WM6.5/Sense. I will immediately download it when a build will come out! :D
F22
9th November 2009, 12:15 AM
Yes, they uses same ARM9 coprocessor, but still:
Topaz's CPU = MSM7200A (90 nm)
Rhodium's CPU = MSM7201A (65 nm)
aDEO
To muddy the waters even further, according to HTC's site, in the US both the AT&T Rhodium & AT&T Topaz are MSM7201A's, while the T-Mobile Rhodium is a MSM7200A. So clearly not all Topaz's are 7200A's and not all Rhodiums are MSM7201A's. As far as whether or not the 7200A is 90nm or 65nm, Qualcomm's MSM7200A Baseband Topics training document dated March 2007 says it's 65nm.
cr2
9th November 2009, 08:18 AM
I have uploaded the rhod100-20091109-1.exe file, with the SMD driver fixes. It differs from topa100* by the ramconsole location (0x8e0000 vs 0x0e0000) only. Please let me know if it works on topaz too.
aDEO
9th November 2009, 08:24 AM
@cr2
Unfortunately, it doesn't work: same thing - white screen. Do you need dump from that location?
**EDIT**
Great job anyway, because this patched haret perfectly detect Topaz now.
Best regards,
aDEO
vBulletin® v3.8.7, Copyright ©2000-2012, vBulletin Solutions, Inc.