yashsingh1/xdaforums huggingface dataset:
[HD Mini Android Development] tzacapaca:
"Android’s explosive popularity means that the Aria/Gratia phones have far surpassed their PocketPC cousin"

http://www.gsmarena.com/htc_gratia-review-552.php :)

p.s. guys..we need to get fast rid of WM :)))
[HD Mini Android Development] -r0bin-:
hi schlund,

thanks for your help it is much appreciated!

note: you need to remove one space in machlist.txt between "MSM7227," and ""HTC HD mini" or it wont compile.

attached the binary i compiled with the latest haret source plus the three files you provided (i think you can easyly install the compiler for windows, or install ubuntu in dual boot on your PC as i did)

i tried it on my HTC, i have same result than before (device frozen after Go, go go) but looking at the debug traces we can see now that the Haret is recognizing successfuly the HD Mini, and setting up few IRQ and GPIOs!

great job schlund!

do you think now the haret.exe is running properly now?

maybe my config file is wrong...

what shall we expect to see if it succeed?
[HD Mini Android Development] -r0bin-:
(attached the new haret.exe patched by schlund)
[HD Mini Android Development] schlund:
ok, i compared to your first log and the working log from an other device.. (this one http://xdaforums.com/showpost.php?p=10624148&postcount=310)

and THIS LOOKS VERY GOOD !

try to set ramaddr 0x10000000 (this is standard for MSM7XXX)
[HD Mini Android Development] -r0bin-:
yeah i did changed the RAMADDR to 0x100000, as well as removing Initrd.gz

same behavior

now i'm trying to compile the linux kernel for HTC Aria to generate a clean linux image + initrd stuff
[HD Mini Android Development] yeubacgiang:
Views: 80,817

wwhy don't we stick this thread? :D
[HD Mini Android Development] Punischer12:
Hey iam a newbie and iam from Germany, so my English isnt very well..

When Haret is ready, can someone pls make a HowTo about flashing rom??

Can i change the language of Haret into German?

:cool:
[HD Mini Android Development] -r0bin-:
ok, here is the zImage from aria kernel i just compiled:

h t t p s ://github.com/CyanogenMod/htc-kernel-msm7227.git

it's pretty big, maybe there can be some optimizations here (i used the .config from the CSE 237A Project website without changing any option) but for the time being we need to boot it up!
[HD Mini Android Development] -r0bin-:
OMG

i just got the haret to display a black screen & then the following text:

then the device froze (i dont have camera here to show you its a pitty)

we never been so close!!! :)

edit: apparently haret is still not working properly since it crashes and does not go until the end of the process

the haret build i used to go until the black screen was patched with a patch for MSM7225 which was never been tested.

but even though, it does not always go to the black screen: sometimes it crashes before with unhandled exception.

i really hope some developper from the haret development can help us to fix it...
[HD Mini Android Development] cardsharing:
You use my server to compile? Moube we need another toolchain becouse this is none-guenabi but need guenabi? I dont know what is diference
[HD Mini Android Development] tzacapaca:
hey r0bin

what haret did u use? the one from netripper.com or the older one?
[HD Mini Android Development] schlund:
did you log this try ? please say yes :D
[HD Mini Android Development] cardsharing:
You use initrd? Where you find it? Please upload it here
[HD Mini Android Development] -r0bin-:
i used my slow computer :) and the toolchain is devkitARM (arm-eabi-)

kernel compile without errors (only two minor errors that i fixed)

i used the last haret source code available on git repository

then i patched with this:

h t t p : / / w w w .mail-archive.com/haret-devel@lists.linuxtogo.org/msg00013.html

if you're talking about the "earlylogging.txt" stuff yes i did it

but there is nothing special in the log

it looks like we have an issue with mmu on this processor

well otherwise, i've found interesting debug stuff here:

h t t p : / / w w w .mail-archive.com/haret@handhelds.org/msg01195.html

whenever you got a "unexepted exception at pc xxx" there is a way to trace where the error is on the source code of haret.

i'll investigate this.

did you tried the new stuff on your htc?

what did you got?

(attached the special version of haret i used, the log and my booting script)
[HD Mini Android Development] -r0bin-:
no i didnt used initrd this time

i tried though but i get crash before the black screen

i think for now on we don't need it, we must first fix haret with the minimum options possible.

maybe adding command line options can help?

maybe the ram configuration is wrong?

but i suspect someting wrong around the mmu anyway...

the haret development team knows there is an issue there, but so far they did not fixed it successfuly, mainly because nobody seemed to ask for it
[HD Mini Android Development] tzacapaca:
I still have an unanswered question from here

is any of you able to answer me?:confused:
[HD Mini Android Development] cardsharing:
now i use this toolchains arm-eabi-4.4.0 (snapshot)
[HD Mini Android Development] _Madmatt:
I don't think so. As you start Android with HaRET and after that Windows shuts down.:)
[HD Mini Android Development] -r0bin-:
as far as i know, HSPL is used to flash the android firmware into the HTC device, and replace the windows mobile firmware: your phone boots directly android, as if it was a regular android phone.

but first we don't have the HSPL ported for mini, and second we dont have validated any linux kernel or android build:

risk is to brick our phones

the advantage of Haret is that you can test easily any kernel and android build just by copying some files on your SD card.

in case something goes wrong, the device froze, and you recover with a simple reboot :-)

that's why it is important to get Haret first. then if we validate the rest (android booting and working) we could think about replace the windows mobile firmware using HSPL or other tool...
[HD Mini Android Development] -r0bin-:
looks good. mine is based on GCC version 4.5.1, which is pretty new i think.

but as far as you don't get compilation issues, you're good
[HD Mini Android Development] tzacapaca:
@MadMatt you answer is not so convincing :p

@r0bin good to know we dont need HSPL in order to run Android :D ,gabanna-music was telling that we trying with haret for nothing cuz we need HSPL for Mini first,so i wanted to be sure if he is right or wrong :)
[HD Mini Android Development] -r0bin-:
yes, if we manage to fix haret, our phone can benefits android like the other phones

the only disavantage is, everytime you reboot your phone or switch on, windows will boot first, then you'll have to launch manually android.

that's why having possibility to flash android directly on the phone is interesting... but not mandatory
[HD Mini Android Development] _Madmatt:
I wasn't talking about flashing Android but about running it ;) Indeed to flash we'll need HSPL.
[HD Mini Android Development] cardsharing:
ok, this is my steps. I created /root/.bashrc

export PATH="${HOME}/AndroidSDK/tools/:${PATH}"
export PATH="${HOME}/bin/:${PATH}"
export PATH="${HOME}/android/system/prebuilt/linux-x86/toolchain/arm-eabi-4.4.0/bin/:${PATH}"

im use cse237a config and copy it to /root/htc-kernel-msm7227

Next, im use command: make ARCH=arm CROSS_COMPILE=arm-eabi- oldconfig

Next, im use command to compile: make ARCH=arm CROSS_COMPILE=arm-eabi- zImage

It is well? After some time i got error: "drivers/usb/gadget/f_projector.c:759: error: 'struct usb_function' has no member named 'hidden'"

You have this error?

Edit: after comenting "CONFIG_USB_ANDROID_PROJECTOR" in .config ...and make clean ...compilation is in progres and im waiting....:)

...and finaly i got zImage and only 1 warning :)

WARNING: modpost: Found 2 section mismatch(es).
To see full details build your kernel with:
'make CONFIG_DEBUG_SECTION_MISMATCH=y'

Definitely i think we need patched haret or aria is not same as a hd mini :confused:
[HD Mini Android Development] cardsharing:
stuck on mmu :(
[HD Mini Android Development] gingerviking:
A lot of work is required

Sorry to say but the way of getting android on your hd mini is not easy.

I said in earlier post that it would be easy to port that the evo rom to the hd2 and run android like a champ because the rom was very similar. I was wrong. I dont know about the aria rom. It can be similar.

1. Write a workin linux kernel.

For begginers: http://www.androidonhtc.com/old/get_involved

This can be useful. U need to create a working and bugfree linux kernel. Or maybe modify the haret.exe to run on hd mini?

this is considered as the hardest part.

2. Port a rom.

Because the device is similar to the hd mini doesn`t mean it has smilar hardware and drivers. Find a rom that can be ported, maybe hvga roms (320x480) is best?

If the aria rom is the best, I will personaly say that you should modify it and remove all the at&t **** it is loaded with. :p

My english is not the best:cool:
[HD Mini Android Development] colonel:
AS has been said this is a WM phone! so know what you buy

personally I think the version of wm on this phone is great - no complaints here

However the spec is identical to the HTC Legend, so i presume a Legend rom would work fine. however the difference is the boot software. a custom boot firmware would be requied for the hd mini to boot android. It has been done before (see android on htc hd project).
[HD Mini Android Development] gingerviking:
yes, but the linux kernel is the problem. The hd mini is not such a popular device, witch make the devs stick to the hd2 or any other high end device. But maybe someone will?
[HD Mini Android Development] thehbd:
HTC HD mini from US

if I baught my phone on ebay from american store will it run the aria?

os 5.2.23103 (build 23103.5.3.3) ROM 1.07.401.1 (85429) wwe
[HD Mini Android Development] krook6023:
It could be done...but I don't think it is currently even in works for the mini...I use Android with my Touch Pro and love it as a 2nd OS...keep in mind development has been focused on the Touch Pro for a long time and it would take alot of work...but if it happened you all would love it.
[HD Mini Android Development] krishan2207:
i m aslo Agreeeeed...
[HD Mini Android Development] Iperzampem0:
I agree! We'd love to see Froyo (or at least Eclair 2.1) in the HD Mini!!!

Developers, Developers, Developers, WE WANT YOU!!!
[HD Mini Android Development] lawoffender:
Froyo on MINI

Hi Devs,

Please try to get the android on the mini... Desperately waiting to see it run on this magnificent smart device... Pity HTC didnt have it originally...
[HD Mini Android Development] darkvoid_66:
This is a WM phone. Why would we need or want AndroidOS ?!?

If anyone wants Android, there are a LOT of models from HTC and other manufacturers that have AndroidOS.

I would rather prefer developers to concentrate in improving WM roms.
[HD Mini Android Development] thomasalva:
guys i meant porting android only fr fun......as many f the senior staff developers rdoing in case of HTC Touch...Diamond..touch pro & HD 2 ....r all of these fool???
[HD Mini Android Development] TheDeadCPU:
Yea I'm gonna tell you guys a few things. First, have you tried running XDAndroid? It probably wont work but it wont harm either.

Second, porting Android is NOT easy, we got a almost fully working port for the HTC Touch Pro, but that took almost 1 year. And we have a LOT of really good linux developers!

So what you need to get this port is a Linux dev with a HD Mini! Either by looking around for one or donating a HD Mini to a Dev. (Ps: the Android porting gurus hang out @Freenode #HTC-Linux)

Also, what you can do is set up a Bounty thread, where people offer donations for a Android port. (Example: HTC Touch Pro 2 Bounty Thread

And that's about it. Good luck guys!
[HD Mini Android Development] krook6023:
Very well said.
[HD Mini Android Development] akinto2006:
I recently contacted HTC about putting Android on HD Mini. Here's the conversation:

ME: Hi. I have an HD Mini running WM6.5 with your latest updated ROM. I was wondering if there's a way you guys can release an official ROM for HD Mini that carries Android? It would be very nice since by experience, WM6.5 doesn't seem to really fit HD Mini. A lot of slowdowns happen all the time and even lock ups at boot.

Hope you find the logic to do so.

Thanks.

HTC: Thank you for contacting HTC. With reference to your query, I am sorry that Android OS is quite different from Windows Mobile OS. It is developed by Google and WM OS is developed by Microsoft. So there are no way to change the OS from Windows Mobile to Android OS. Thank you for your continuous support of our products and services. Should you require further assistance, please do not hesitate to contact us again. We look forward to be of service to you again. Hotline: 1800-238-7788 Service Hours : 8 am - 8 pm, Monday - Saturday (except Public Holidays)

ME: Yeah ok. But technically speaking, can I load the Android OS from Hero or Legend to the HD Mini? They both have the same specs except for the optical scroll. Other than that, same screen size, same memory, same processor, the works.

HTC:	It is correct the the screen, memory and processor should can support the OS. But just like you cannot insatll Windows OS into Macbook or install a AMD processor into a Mainboard for Intel. There still will be some different for part of the hardware in your Mini phone which is special for Windows Mobile OS so you cannot install Android. Thank you for your continuous support of our products and services. Should you require further assistance, please do not hesitate to contact us again. We look forward to be of service to you again.

There you go. If only there's a way to find the hardware that's special for WM and Android. Maybe a driver can be made for Android.
[HD Mini Android Development] lmc880223:
外国佬，太强了，哈哈
[HD Mini Android Development] rigo007:
That's no easy at all: good luck! ;)
[HD Mini Android Development] HD mini owner :(:
Please GOD tell me theres away of installing Android on the HD mini now?! im sick of Windows on this device.. its utter ****.... anyone know of a modded OS that will work?
[HD Mini Android Development] HD mini owner :(:
Any news on sucsessfull Running of the Android OS working on the HD mini yet? im in desperate need of getting rid of the Original windows on it. it crashes out for no reason all the damn time :(
[HD Mini Android Development] akinto2006:
Apparently not at the moment. I would try out flashing the Legend's OS onto my phone but unfortunately this the only phone I have right now and the one I use for work.
[HD Mini Android Development] hbjvandenbraak:
Cooking, porting HTC ARIA ROM TO HTC HD MINI

Hai there,

is there anybody who can have a look at porting the ARIA ROM(from AT&T) to te HD Mini. Is it possible???? I put a link to the aria rom beneath........ I tried to flash it on my HD mini but it says that my phone is not connected. This means the installer does not recognize the HD mini. Makes sense i guess, .......

Well who can cook and brew, this challenge, that would be grate to be able to run android on this magnificient little phone .....

w w w-dot-htc.com/us/support/aria-att/downloads/[/url]
[HD Mini Android Development] hbjvandenbraak:
hey isit possible to work with the aria ROM. It's Android and working-class on the htc aria. we all know aria is hd mini. perhaps it is a startinv point.
[HD Mini Android Development] tzacapaca:
check if this helps

http://www.mail-archive.com/linux-arm-msm@vger.kernel.org/msg00376.html
[HD Mini Android Development] cardsharing:
i think this is alredy included, but i want to try to kill all proccesses before pass other comands maybe work.

No this not work
[HD Mini Android Development] tzacapaca:
right !:)

Instruction Set

Supported Instruction Set(s): ARMv6

CPU Core: ARM1136EJ-S

ARMv6 ARM1136J(F)-S[17] 8-stage pipeline, SIMD, Thumb, Jazelle DBX, (VFP), Enhanced DSP instructions variable, MMU 740 @ 532–665 MHz (i.MX31 SoC), 400–528 MHz
[HD Mini Android Development] -r0bin-:
where are you stuck?

can you see the black screen?

does it always get you to this black screen?

do you have a "unhandled exception"?
[HD Mini Android Development] -r0bin-:
yeah, mmu is probably supported, but someting around this haret jump seems to be not working well:

source: http://www.mail-archive.com/haret-devel@lists.linuxtogo.org/msg00006.html

need to investigate this...

i'm trying to contact the creator of the bug fix...
[HD Mini Android Development] cardsharing:
Hi see this post http://xdaforums.com/showpost.php?p=10645825&postcount=379 and atached image. I dont see always black screen but from black screen i see haret want to kill mmu but stuck on it, also i was find link you paste about msm7225 and mmu, but not know what we need to be able to patch this. Maybe turn off completely mmu function? :confused:
[HD Mini Android Development] -r0bin-:
ok I did not see the picture :)

i also got the same errors than you, i modified the f_projector.c to make it compile.

but today i think issue is haret, like you said something related to memory is wrong.

don't loose hope, i asked some people their kind help, lets wait their answer.

I also have some friends that knows better than me this part, i will check this week.
[HD Mini Android Development] haolc:
Hi -r0bin-

do you have any log of haret. plz post full log of haret, we check together
[HD Mini Android Development] -r0bin-:
hi haolc,

that would be great!

log attached to this post:

http://xdaforums.com/showpost.php?p=10644323&postcount=369

cheers
[HD Mini Android Development] derefas:
may be this help you?

rghost.ru/3969408
[HD Mini Android Development] schlund:
do you have source files of this 7225-patched haret ?

Would be nice, so i could compare the changes ...
[HD Mini Android Development] codiak:
Found this Site: http://htc-linux.org/wiki/index.php?title=Main_Page

Maybe this helps you. If not, feel free to delete my post.
[HD Mini Android Development] derefas:
can you release your's andboot folder? i want to do something with kernel
[HD Mini Android Development] -r0bin-:
i dont have them on me right now but easy to explain:

take the latest "master" source:

http://git.linuxtogo.org/?p=groups/...62e93ec4e8924a3151997bed5caa936ef52fa;hb=HEAD

then patch the assembler file "src/wince/asmstuff.S" with this patch:

found here: http://www.mail-archive.com/haret-devel@lists.linuxtogo.org/msg00013.html

then I replace the three files provided by you earlier:

here: http://xdaforums.com/showthread.php?p=10631235#post10631235

here: http://xdaforums.com/showthread.php?p=10629897#post10629897

and voila :-)

(compilation error fixed by removing one space in the machlist.txt as explained earlier)

if the question was for me, i don't work with andboot yet.

right now in my "haret" folder I have:

- haret7225tst.exe

- default.txt (haret boot options, see previous posts)

- earlyharetlog.txt (empt file to log haret debug informations into haretlog.txt)

- zImage (linux kernel I generated from aria src, see previous posts)
[HD Mini Android Development] cardsharing:
no mate i dont have andboot folder, only have kernel source for msm7227
[HD Mini Android Development] derefas:
so can you get you folder with haret , i will work with android 2.2
[HD Mini Android Development] cardsharing:
hi i see this in haret log hmmm, look at it (Not registering command gpios but i see in haret log addlist gpios) hmmm, maybe this is bug in haret :confused:

Not registering command GPSPUD
Not registering command GPIOS
Not registering command GPIOSOUT
Not registering command GPIOST
Registering command MSMCLKKHZ
Initializing for machine 'HDmini'
HaRET(1)# set ramaddr 0x10000000
HaRET(2)# addlist irqs p2v(0xc0000000) 0x100 32 0
HaRET(3)# addlist irqs p2v(0xc0000004) 0 32 0
HaRET(1)# addlist gpios p2v(0xa9200800)
HaRET(2)# addlist gpios p2v(0xa9300c00)
HaRET(3)# addlist gpios p2v(0xa9200804)
HaRET(4)# addlist gpios p2v(0xa9200808)
HaRET(5)# addlist gpios p2v(0xa920080c)
[HD Mini Android Development] RoSo:
Dear cardsharing

xda-developers.com rules doesn't allow me to send a link in my post because I have less than 8 posts in this forum.

I found a link and I will send it to you via PM , please check that , maybe it helps.
[HD Mini Android Development] cardsharing:
Thanks mate for this link

i see from that link:

Registering command WB|ANK
Registering command GPLR
Registering command GPDR
Registering command GPPUD
Registering command GPSDR
Registering command GPSPUD
Registering command GPIOS
Registering command GPIOSOUT
Registering command GPIOST
[HD Mini Android Development] -r0bin-:
great i'll check that

edit: actually the functions listed here are platform dependent.

if they are registered successfully, you can use them in the haretconsole.

more, if you compare our log with a log of HTC HD2, you will see they are similar:

see here

> the issue is somewhere else :-(
[HD Mini Android Development] _Madmatt:
I tried to compile this, but I need some other resources ;) I need this C++-header and source files:

- script.h

- arch-arm.h

- memory.h

- linboot.h

- video.h

- fbwrite.h

- cpu.h

Thanks!
[HD Mini Android Development] cardsharing:
@_Madmat you use VS2008, i think you maybe need to use propper compiler to compile this, see INSTALL in source
[HD Mini Android Development] cardsharing:
i will be happy to see jtag pins on this phone :D and raw partitions data from aria phone
[HD Mini Android Development] _Madmatt:
They suggest GCC Toolkit, but that doesn't run on Windows ;)
[HD Mini Android Development] cardsharing:
work work using cygwin ;)

toolset

cygwin
[HD Mini Android Development] -r0bin-:
video of a haret working fine on HD2:

http://www.youtube.com/watch?v=RfxPjGO3LQk

as you can see, the progress bar jumps to linux after a while, therefore i wonder if our haret version is just fine, and the issue is our kernel image?

i get the "unhandled exception" sometimes though.

one other thing i didnt know, there could be a "dual boot" mod to install:

would be great to have it, once haret and linux will be fixed :)
[HD Mini Android Development] schlund:
hey r0bin,

i catched latest mach-types list from arm and modified machlist.txt

to our new mtype: 3299 !

Could you add this to your source and compile it ?

Thank you VERY MUCH!!

EDIT: This is about Haret :D
[HD Mini Android Development] tzacapaca:
Hey guys

Aria was just updated today to Android 2.3(not by HTC though)

http://xdaforums.com/showpost.php?p=10663769&postcount=167

http://mirror.teamdouche.net/?device=liberty&type=nightly

anyone know anything about cyanogen?

edit: here is the download link if someone wants to take a look,or play with it :)

http://www.rapidshare.com/files/443108929/cm_liberty_full-0.zip

and also their official site

http://www.cyanogenmod.com
[HD Mini Android Development] _Madmatt:
I sent this to Cotulla, hopefully we can find a dev that wants to help us :)
[HD Mini Android Development] schlund:
yes, this is-as far as i know- the best source for msm7227 kernel and android!
[HD Mini Android Development] tzacapaca:
and much faster than 2.2! so after haret will work for us we can just jump to 2.3,right guys?:D
[HD Mini Android Development] cardsharing:
Or maybe spl prevents booting because i was tried to write to partition using itsutils "pdocread and pdocwrite" but i was got error. I do not know what more to say especially when I see that on the same processor runs the newest things "kernels etc....". I dont think is here problem kernel, but if kernel is problem i think on screen will be some text, but we was see nothing after trying to many kernels, is not that? I think here is only problem haret or maybe spl. it would be good if we find out what was crucial in Haret source while was working on the droid creation hd2......what is happening in our phone, it was happened in the phone hd2, and after modifyind "protected and unknown", it was work great, hmmm, but what??? Sorry for my bad english and bad google translate hehe
[HD Mini Android Development] MobileMini:
Wow, I am back of a one week holiday and this thread has grown 20 pages!

Have to catch up some reading oncoming week ;). If I can help with testing or other things, I am available :P!!