Ubuntu running on HTC Pure - Touch Diamond2, Pure Android Development

A few minutes ago I grabbed the files for Ubuntu and Haret at the Xda-forums under a thread called "Ubuntu on Rhodium- 04/03/10 screen calibration now works!!! Need devs for wifi fix" (The forums would not let me post the link) and extracted them to my sd card to run Ubuntu on my HTC Pure. Also to make this boot correctly you cant use the same boot script for android to boot Ubuntu. You need to modify the Startup.TXT that came with the Ubuntu.zip folder and set the correct mtype for your device. Note it is possible to setup your sd card to boot Android and Ubuntu from the root of the SD card by modifying the boot script which is a six step process.
1. open the boot script named Startup.txt and rename it to Ubuntu.TXT
2. change the mtype so it is correct for your device
2. change the Set Kernel line so it looks like set KERNEL zImageUbuntu
3. Change the Set initrd line so it looks like set initrd initrdUbuntu.gz
4. rename the Zimage file to zImageUbuntu
5. rename the initrd file to initrdUbuntu.gz
6. Open Haret and type in Ubuntu.txt and press run button
7. This should be it and you should be running Ubuntu on your Phone

Really!
What??? Are you serious!

What version?
I know this has limited uses, but still, this sounds amazing!!
So you're saying you have Ubuntu running on your Pure, what about keyboard and stuff? What version of Ubuntu did you use?

It works!!!
Wow! It works!
I just did it in the way you said and it works!
But there is no keypad? Cant type or open files...

i will try this today, and i bet there is virtual keyboar4d in ubuntu

Hello!
Thank you for the info!
I don't understand exactly where can I find the files?
Can someone post a direct link?
Thanks a lot,
Flop!
TOPAZ with HTC WinMo6.5 and Xandroid for TOPAZ

Here You are: http://www.megaupload.com/?d=JZ4HEZE4

Thank you!!!
I will try this OS soon!
Have a nice day,
Flop!

It's working fine on Topaz

Can we have screen caps ?

wow nice ^^ i ll try it later this evening

screen shots...pleeease.

mastawindu said:
Can we have screen caps ?
Click to expand...
Click to collapse
Yea there are some screen caps on the forum Ubuntu for Rhodium

My account is not able to post links because of some restriction does anyon know how to get permission to post links?

kamson said:
It's working fine on Topaz
Click to expand...
Click to collapse
No kidding...Work someone virtual keyboards on Topaz ?
Regards

this is awesome...

Some images:
http://img72.imageshack.us/i/20080117072.jpg/
http://img191.imageshack.us/i/20080117073.jpg/

hackerl33t said:
this is awesome...
Click to expand...
Click to collapse
Awesome....OK, ask question again: Work it on virtuel or some keyboard ? How make input on "mobile" Ubuntu ???
Thanks forwarding on answer.
Regards

where is the id of topaz?
Where can I find it?
thanks

medkilo said:
where is the id of topaz?
Where can I find it?
thanks
Click to expand...
Click to collapse
Do you mean the values of Ubuntu.TXT?
Code:
set ramsize 0x08000000
set ramaddr 0x10000000
set mtype 2293
set FBDURINGBOOT 0
set KERNEL zImageUbuntu
set initrd initrdUbuntu.gz
set cmdline "msmts_calib=0x9f.0x39a.0x35c.0x78 lcd.density=240 msmvkeyb_toggle=off wifi.mac=wifi.mac=00:23:76:8B:EA:93 board-htcraphael-navi.wake=1 msm_fb.fix_x=1 board-htcdiamond.adb=0"
boot
Here the link of the Rhodium Thread with latest files
http://forum.xda-developers.com/showthread.php?t=640785

Related

Which Screen

Hello recently my screen on my SPV m2000 has cracked & is bleeding. The backlight comes on and the screen is just WHITE.
Now i have seen two screens to buy one is a Toppoly and the other is a sony.
My question now is which screen does the Orange SPV M2000 use? or would either of the brands work.
I can not get inside my m2000 to have a look to see the currant one in there. any ideas?
PLZ reply lol
hi, on this page you can find board id's, you may boot from linux kernel and follow instruction to know our id and verify but i don't know if there is possible the same on a wm5 or 2k3 OS...but if u have cracked screen i guess that you can't install anything else
if you open BlueAngel and look under the screen for his stickers you find the right p/n you need and
here you can find P/N
........P/N..............Screen Type
60H00018-00 Sony ACX502BMV
-or-
60H00033-00 Toppoly TD035STEC1
-or-
60H00038-00 Toppoly TD035STED1
thats the thing i cant open it lol
mark2007 said:
thats the thing i cant open it lol
Click to expand...
Click to collapse
You don't need to open the phone.
Board_id=4 and 5 are Sony,
board_id=6 is Toppoly.
You can find out which one you have by downloading haret,
and looking at the "dump asic3" output.
http://jornada820.sf.net/files/haret
I would do that thing with the program but i can not use the PDA because i cant see anything on the screen
mark2007 said:
I would do that thing with the program but i can not use the PDA because i cant see anything on the screen
Click to expand...
Click to collapse
try a remote software like this if can help
active sync connect correctly if docked?
Right i have remote access to my phone. i dont no how to use the haret prog,
How do i find out if i need a toppoly screen or a sony one is the next question
mark2007 said:
Right i have remote access to my phone. i dont no how to use the haret prog,
Click to expand...
Click to collapse
Create a file named "startup.txt" in the same directory where you have
haret.exe
put the following line in it
Code:
dump asic3 boardid
Now start the haret.exe program. It is possible to do it with
'itsutils' over activesync or maybe somehow else.
The file 'boardid' will be created with a lot of useful information,
including your board ID.
I load the haret app via file manager on the m2000 i changed the default.txt to startup.txt and it still doesnt do anything
on my device work, the dump file boardid was generated (look at program folder after closing haret)
but look @ my boardid
Code:
ASIC3 boardid=-1
iksiksiks said:
on my device work, the dump file boardid was generated (look at program folder after closing haret)
but look @ my boardid
Code:
ASIC3 boardid=-1
Click to expand...
Click to collapse
Sorry, i was thinking about himalaya and universal, and it is about
the blueangel
Please do
Code:
dump gpio gpiodata
And look at the gpiodata.
You need the gather the BOARDID* GPIO bits to calculate the boardid:
http://wiki.xda-developers.com/index.php?pagename=BlueangelGPIO
board_id=4*BOARDID2+2*BOARDID1+BOARDID0
I now have a bordid file
how do i open it i have tried using notepad but it doesnt display it propperly its all spread about the file
mark2007 said:
I now have a bordid file
how do i open it i have tried using notepad but it doesnt display it propperly its all spread about the file
Click to expand...
Click to collapse
Use wordpad ? Or post it here, there is nothing secret in this file.
Right i a GPIODATA file from the haret prog using the code: dump gpio gpiodata in a deafault.txt file i have uploaded it how do i find which screen i need to get: a topply or a sony one?
cr2 said:
board_id=4*BOARDID2+2*BOARDID1+BOARDID0
Click to expand...
Click to collapse
Code:
GPIO 66 BOARDID0 = 0
GPIO 67 BOARDID1 = 1
GPIO 76 BOARDID2 = 1
Your boardid is 6, so you need the Toppoly LCD
Code:
60H00033-00 Toppoly TD035STEC1
http://wiki.xda-developers.com/index.php?pagename=HTC_Partnumbers
There is a toppoly screen on ebay would this be ok for it?
http://cgi.ebay.co.uk/OEM-O2-XDA-II...ryZ41343QQrdZ1QQssPageNameZWD1VQQcmdZViewItem
mark2007 said:
There is a toppoly screen on ebay would this be ok for it?
Click to expand...
Click to collapse
I think yes.
how can i be certain it willl work?
mark2007 said:
how can i be certain it willl work?
Click to expand...
Click to collapse
The software works this way by checking boardid.
If you want to be 101% sure, open the device.

HTC Hero Sense now BOOTS on TOPAZ [For real, no skin]

http://forum.xda-developers.com/showthread.php?t=641021
ALL credits go to [email protected]
Video: http://www.youtube.com/watch?v=IXd5WC2y6lQ
To make hero sense boot, make sure your STARTUP.TXT looks exactly like below:
set ramsize 0x10000000
set ramaddr 0x10000000
set mtype 2293
set KERNEL zImage
set initrd initrd.gz
set cmdline "lcd.density=240 msmts_calib=0x395.0x3d5.0x79.0xa0 clock-7x00.a11=500 msmvkeyb_toggle=off pmem.extra=1 gsensor_axis=-1,-2,3"
boot
Or, it won't boot...
Now working: (Tested myself)
- Phone (Dial in or out)
- Most HTC clocks and apps
- Different scenes
and more...
Not working:
- Camera
- Voice Recorder
- Settings
are sound working...
Can you write what files are you used ?
Airpil said:
Can you write what files are you used ?
Click to expand...
Click to collapse
Download the Rosie Android package at
http://www.sendspace.com/file/qmkfbq
then download the system.sqsh revision b dated 30/3 at
http://xda.duttonbiz.com/package_hero_rosie_30032010/system300320101revb.sqsh
and rename it to system.sqsh and use this file to overwrite the original one in the Rosie package
Next copy all the contents to the root of your sd card
run haret.exe
I can confirm it works but SMS dont work and calls work even in the correct volume level.
data connection doesnt work
and what is the most annoying bug : settings dont work.
so far from this htc desire apps work afaik
thanks for that!
All credits to klinux
There is a spécific section now to post about android
Mod will move this tread
I test this pack this morning and still no sound and very slow with a lot a pb to use app like sms and others ... i will try with the last sqh to see if there is any improvment
------------
Hi tomanlan,
Thank you for your post!!
I'm trying to make this run in my topaz.
When you say startup.txt do you mean the startup.txt that are inside topaz folder??
Zimaia said:
Hi tomanlan,
Thank you for your post!!
I'm trying to make this run in my topaz.
When you say startup.txt do you mean the startup.txt that are inside topaz folder??
Click to expand...
Click to collapse
No, place it in the root of your sd card and run haret.exe
tomanlam said:
No, place it in the root of your sd card and run haret.exe
Click to expand...
Click to collapse
Ok, thanks.
The hero boots fine and works. However no sound here and still lags a lot.
But this is a great achievement
When this became available in a rom that you can flash then i supose it will run better.
Let's have hope
Thanks
I try this one,icon shows no service...but i have signal a i make a call?:/ nad i've problem with battery icon ,it shows still charging...
HTC HD2
How do i track the gprs summary in htc hd2 with windows 6.5
I go to try.
tomanlam said:
Download the Rosie Android package at
http://www.sendspace.com/file/qmkfbq
then download the system.sqsh revision b dated 30/3 at
http://xda.duttonbiz.com/package_hero_rosie_30032010/system300320101revb.sqsh
and rename it to system.sqsh and use this file to overwrite the original one in the Rosie package
Next copy all the contents to the root of your sd card
run haret.exe
Click to expand...
Click to collapse
the system.sqsh doesnt download, it just pops up a page with a bunch of weird writing on it.
maybe try right click and save as
piszkot said:
I try this one,icon shows no service...but i have signal a i make a call?:/ nad i've problem with battery icon ,it shows still charging...
Click to expand...
Click to collapse
It's not a bug but a tweak by klinux to remove the 5% battery issue, anyway, you can still see the real percentage by tapping on the home clock
piszkot said:
I try this one,icon shows no service...but i have signal a i make a call?:/ nad i've problem with battery icon ,it shows still charging...
Click to expand...
Click to collapse
even though your phone says it doesn't pick a signal, you CAN still make a call, try removing the line of something like 'force CDMA=1' from the startup.txt and the issue should go
how does "signal" works ?
it show me "no signal" and @ first startup the device mean that i havent a Sim-Card inside... , how i can change this ?
Edit:
I have problems with "settings and Sounds" too...
CommanderDuplex said:
how does "signal" works ?
it show me "no signal" and @ first startup the device mean that i havent a Sim-Card inside... , how i can change this ?
Edit:
I have problems with "settings and Sounds" too...
Click to expand...
Click to collapse
SOUND and NETWORK SETTINGS don't work at the moment, plz wait for KLINUX to release a fix for this
To have "SIGNALS" received, plz modify your STARTUP.txt and delete the line "force_cdma=1" so that the STARTUP.TXT looks like this:
set ramsize 0x10000000
set ramaddr 0x10000000
set mtype 2293
set KERNEL zImage
set initrd initrd.gz
set cmdline "lcd.density=240 msmts_calib=0x395.0x3d5.0x79.0xa0 clock-7x00.a11=500 msmvkeyb_toggle=off pmem.extra=1 gsensor_axis=-1,-2,3"
boot

Modify Android file system

I want to edit the system.sqhs and insert new fonts.
someone know how to do it?
in linux
unsquashfs system.sqsh
here is a tutorial
http://forum.xda-developers.com/showthread.php?t=610303
Maikeu Locatelli said:
in linux
unsquashfs system.sqsh
here is a tutorial
http://forum.xda-developers.com/showthread.php?t=610303
Click to expand...
Click to collapse
Hey Maikeu,
Is there a tutorial something like that except for topaz maybe? I can successfully unsquashfs the XDAndroid 2.1 system.sqsh just fine...but when I try to unsquashfs the 1.6 (TopazKernal16) system.sqsh, it makes it to about 70% then stops saying "Killed".
If you could point me in the right direction for help, that would be great! If it makes a difference, I'm actually using Vector Linux instead of Ubuntu.
Thanks!
iceman198 said:
Hey Maikeu,
Is there a tutorial something like that except for topaz maybe? I can successfully unsquashfs the XDAndroid 2.1 system.sqsh just fine...but when I try to unsquashfs the 1.6 (TopazKernal16) system.sqsh, it makes it to about 70% then stops saying "Killed".
If you could point me in the right direction for help, that would be great! If it makes a difference, I'm actually using Vector Linux instead of Ubuntu.
Thanks!
Click to expand...
Click to collapse
Ok...it took me forever but I figured it out...
Just a couple things to note (in case anyone else is trying to do this)...when you "unsquash" the system.sqsh, it creates a "squashfs-root" folder where everything is. Move all that stuff up a folder so it's all in the "system" folder and you can delete the "squashfs-root".
Also, when using "mksquashfs" make sure to use " -nolzma" at the end...Don't quite know what it is, must be something with compression because I notices the end sqsh file is slightly bigger...but that's what you have to tag on so when booting Android it can actually mount the sqsh file.
iceman198 said:
Hey Maikeu,
Is there a tutorial something like that except for topaz maybe? I can successfully unsquashfs the XDAndroid 2.1 system.sqsh just fine...but when I try to unsquashfs the 1.6 (TopazKernal16) system.sqsh, it makes it to about 70% then stops saying "Killed".
If you could point me in the right direction for help, that would be great! If it makes a difference, I'm actually using Vector Linux instead of Ubuntu.
Thanks!
Click to expand...
Click to collapse
Sorry, i never tried and i dont understand a lot of this to help you, i know only how to unpack and repack, really sorry.
Have a lot of people that know, but i dont know why, they dont help us.
i know that the squashfstools 4 dont works, it unpack, but the repack dont works in kernel of pphusson, the 3.3.7 works good for me
http://ftp.debian.org/debian/pool/main/s/squashfs/
iceman198 said:
Ok...it took me forever but I figured it out...
Just a couple things to note (in case anyone else is trying to do this)...when you "unsquash" the system.sqsh, it creates a "squashfs-root" folder where everything is. Move all that stuff up a folder so it's all in the "system" folder and you can delete the "squashfs-root".
Also, when using "mksquashfs" make sure to use " -nolzma" at the end...Don't quite know what it is, must be something with compression because I notices the end sqsh file is slightly bigger...but that's what you have to tag on so when booting Android it can actually mount the sqsh file.
Click to expand...
Click to collapse
is rename the "squashfs-root" to "system" is good enough ?
yosidia said:
is rename the "squashfs-root" to "system" is good enough ?
Click to expand...
Click to collapse
yeah, that will work...but you can just keep it the same name without every creating a "system" folder. I don't even bother using the "genext2fs" tool...I just "unsquashfs" it and it will create the "squashfs-root" folder and then when I'm done modifying it, just
Code:
mksquasfs squashfs-root system.img -nolzma
and that should do it.
You'll know if it doesn't work cuz Android will error while loading system.sqsh. =)
-wrong topic-

Understanding zimage/.nbh

Sorry for the newbie question.
When people refer to the zimage or .nbh, I don't really understand what that means. All I've done is downloaded the latest haret and used that to install Incubus' Froyo. Everything works fine (except the camera!). So what does zimage or .nbh have to do with anything?
Its the Kernel or in other words the operation System.
The zimage is for the haret method and the nbh is to flash android over windows.
So you only need the one for your prefered method.
incubus,cyanogen,freshfroyo.. are the builds that are set on this kernel (its like windows and the programms set upon dos(^^yeah old windows ;D ))
Heres a good guide if you think about flashing:http://forum.xda-developers.com/showthread.php?t=636024
The newest zimage and nbh can be found in incubus thread, he has a link there in the start post. ( here: http://it029000.massey.ac.nz/vogue/files/?C=M;O=D)
This is how i got it, hope its not wrong ;D
dertester123 said:
Its the Kernel or in other words the operation System.
The zimage is for the haret method and the nbh is to flash android over windows.
So you only need the one for your prefered method.
incubus,cyanogen,freshfroyo.. are the builds that are set on this kernel (its like windows and the programms set upon dos(^^yeah old windows ;D ))
Heres a good guide if you think about flashing:http://forum.xda-developers.com/showthread.php?t=636024
The newest zimage and nbh can be found in incubus thread, he has a link there in the start post. ( here: http://it029000.massey.ac.nz/vogue/files/?C=M;O=D)
This is how i got it, hope its not wrong ;D
Click to expand...
Click to collapse
That's a little more clear, thank you. But I still don't quite get it. Does haret already include a zimage? I've downloaded the latest haret and incubus froyo and installed on SD card, works great, but I've never installed/downloaded a zimage. Is this something that I need to bother with?
joelshort said:
That's a little more clear, thank you. But I still don't quite get it. Does haret already include a zimage? I've downloaded the latest haret and incubus froyo and installed on SD card, works great, but I've never installed/downloaded a zimage. Is this something that I need to bother with?
Click to expand...
Click to collapse
Depending on who/where you download haret from, it may or may not include all the files needed to boot. The "package" that has to be in place for haret to work is
Code:
SDCard\andboot\haret.exe (executable that reboots phone to Linux environment from WinMo)
SDCard\andboot\zImage (compressed Linux image with support for our hardware that Android runs in)
SDCard\andboot\initrd.gz (don't know)
SDCard\andboot\default.txt/startup.txt (rules Haret follows/info given to zImage when loading)
zImage and initrd.gz are updated from time to time providing a more stable environment or new features to emulate Android on.
Lintegras said:
Depending on who/where you download haret from, it may or may not include all the files needed to boot. The "package" that has to be in place for haret to work is
Code:
SDCard\andboot\haret.exe (executable that reboots phone to Linux environment from WinMo)
SDCard\andboot\zImage (compressed Linux image with support for our hardware that Android runs in)
SDCard\andboot\initrd.gz (don't know)
SDCard\andboot\default.txt/startup.txt (rules Haret follows/info given to zImage when loading)
zImage and initrd.gz are updated from time to time providing a more stable environment or new features to emulate Android on.
Click to expand...
Click to collapse
Thanks! That's much more clear, and I get it now.
joelshort said:
Thanks! That's much more clear, and I get it now.
Click to expand...
Click to collapse
Any other questions, feel free to read, search, and ask if you can't find it anywhere.

ring tone problem

Sorry that I am posting problem about ring tone but I tried to fix it with procedure written 2 post ago but without success.
I made:
1.Create folder andboot\media\alarms
ringtones
notifications
2. In Astro file explorer check in the ringtones folder some ringtone but choice "set as default ringtone" is greyed.
If I go to the settings still the only thing is "sillent" choice.
Please help.
marek1 said:
Sorry that I am posting problem about ring tone but I tried to fix it with procedure written 2 post ago but without success.
I made:
1.Create folder andboot\media\alarms
ringtones
notifications
2. In Astro file explorer check in the ringtones folder some ringtone but choice "set as default ringtone" is greyed.
If I go to the settings still the only thing is "sillent" choice.
Please help.
Click to expand...
Click to collapse
From WinMo delete data.img and run haret.exe again...
MoshPuiu said:
From WinMo delete data.img and run haret.exe again...
Click to expand...
Click to collapse
HM, I did it 3 times. Any suggestion ?
Thanks.
Hi Marek
can you please post your startup.txt?
Regards
Dirk
Dirkkro said:
Hi Marek
can you please post your startup.txt?
Regards
Dirk
Click to expand...
Click to collapse
Hi Dirk,
here it is:
set ramsize 0x10000000
set ramaddr 0x10000000
set mtype 2293
set KERNEL zImage
set initrd initrd.gz
set cmdline "lcd.density=240 msmvkeyb_toggle=off sensor=topaz pm.sleep_mode=2 rel_path=andboot"
boot
my directory structure is andboot/media/audio, under this path, there are 3 folders: alarms, notifications, ringtones
maybe you should try this, good luck!
inyellow said:
my directory structure is andboot/media/audio, under this path, there are 3 folders: alarms, notifications, ringtones
maybe you should try this, good luck!
Click to expand...
Click to collapse
and the ring tones works on your TOPAZ ?
ring tone
So now ring tones works:
1. changed kernel to 8.9.2010
So it depeds on kernel version !!!!
marek1 said:
So now ring tones works:
1. changed kernel to 8.9.2010
So it depeds on kernel version !!!!
Click to expand...
Click to collapse
of course, the kernel provides the drivers! sound only works on kernels after 8.26

Categories

Resources