yashsingh1/xdaforums huggingface dataset:
[G2 and Desire Z Themes and Apps] tankmorph:
Since we have our choice of deodexed ROMs to choose from now, I would like to see a nice stock looking, but black, notification bar. Battery % would be a nice touch, too.

Perhaps something that can just be loaded as an update through recovery. I have something like this on my N1, but haven't seen one yet for the G2.

I would love to figure out how to make one myself, but I have no idea where to start.

I realize this is a feature built into the CM ROMs, but I tried the release candidates, and they are too buggy for me to use at this time. I'm very happy with stock and bb.

Thanks!
[G2 and Desire Z Themes and Apps] ruleftbehind:
Best bet would be to check the thread right under yours.

http://xdaforums.com/showthread.php?t=836986
[Touch2 ROM Development] Exsoul:
Nice to see people interested in porting android to our mega=). Good luck with the project, hope it works well and lot of people will be happy with you (me included) :)
[Touch2 ROM Development] shhbz:
hope that we will be able to see android up in the phone this time .
[Touch2 ROM Development] ahhl:
i am willing to donate..but a least some beta version...
[Touch2 ROM Development] linksknt:
Waiting for some good news :)

Good Luck fisher51112!
[Touch2 ROM Development] fisher51112:
Beta version release will affect on how fast I can boot it on our devices)))

If you want to be beta tester-write me to my email, but it can be dangerous=)
[Touch2 ROM Development] bornotty:
this is really good news.. i will donate after some screenshots or videos of booting maybe ? =)
[Touch2 ROM Development] JeroenGijselaar:
fisher51112,

Check your mail please! Will be donating too if it will boot correct and functions will work!
[Touch2 ROM Development] fisher51112:
I just starting this port, so be patient )) I hope to bring good news soon))
[Touch2 ROM Development] ahhl:
fisher, i'll do it. but only on selected beta, as i cannot affort to brick my htc. i've on android/wm previously when i am using polaris.
[Touch2 ROM Development] Mr. Clown:
As the OP states, please calm down and stop posting emails and requesting files. If you want to be a beta tester PM the OP.

I will delete those posts and keep the thread clean.

I hope this project turns good.
[Touch2 ROM Development] mariuck:
thanks a lot Mr. Clown... we really need that.. cause i am tired to see ppl asking "is the android ready?" they don't search a little.. forum = search the info !!

GL with the project fisher and u have, all time in the world for this ! :)
[Touch2 ROM Development] amienzero:
out of curiousity, how do you boot android on mega? using Haret or flashing android rom to mega?
[Touch2 ROM Development] fisher51112:
I think that haret will do it's work))) But if not, I will have to flash(but, in my opinion this is very difficult:()
[Touch2 ROM Development] Captainkrtek:
Ill PM you fisher, this is good news :)
[Touch2 ROM Development] 383500543:
That's so good. In a word. Support you.
[Touch2 ROM Development] Exsoul:
May I ask if you are planning to release the rom in some languages (i.e. russian and english only) or we'll have a wide variety of choices.

I ask because I don't know how it works, just wondering.
[Touch2 ROM Development] fisher51112:
Android is multilanguage system. That's why there is no problem in translation.
[Touch2 ROM Development] Exsoul:
I see, thanks for answering so fast :).
[Touch2 ROM Development] kipill:
Tomorrow take Linux, install cegcc and will try...but...My know assembler is not well:confused:
[Touch2 ROM Development] welss:
Don't worry, I'm not familiar with the Assembler too. Except what I remember from the Electronics classes.

But It's important that you want to do something :)
[Touch2 ROM Development] KalimochoAz:
I don't know if this can help you but HTC Click/Tattoo uses msm7225 too. You can take a look into cyanogenmod project for gingerbread and my kernel can be foud here: https://github.com/KalimochoAz/Kernel_msm.bfs-2.6.29-Tattoo-Click

I hope this can help you on your try to port
[Touch2 ROM Development] caniba:
htc tattoo uses the same processor than htc mega... so if we use the same kernel of htc tattoo with some mods we have the possibility to have android on our devices.
[Touch2 ROM Development] welss:
Thank's for your kernel! We definitely use it when time comes :)

How goes installing Linux kipill?
[Touch2 ROM Development] gr@ni:
@ welss & kipill, glad to see that you have the desire and time to port android to our device. You can also write to Cotulla, he can help you giving some advices

@ welss и kipill, рад видеть, что у вас есть желание и время для того, что портировать Android на наше устройство. Вы также можете написать Cotullе, он поможет вам своими советами
[Touch2 ROM Development] :
Good news.

As soon as you get around haret problem and android boots up (sort of) count me in to test and try to fix minor problems.

Also I'm talking to a friend tonight that has some experience with haret.

PS- Will this help you? http://goo.gl/Rj27g

It's outdated, but maybe they made some progress since..
[Touch2 ROM Development] welss:
Thanks for all advice I'll surely benefit from them. For Cotulla, I definitely write to him.

Hmm, I don't remember this, but weekend finally came, so I'll have more time to look at it and work on haret.
[Touch2 ROM Development] kipill:
I'm work with Linux Mint and cegcc.my progress - trying to compile haret:)
[Touch2 ROM Development] welss:
What version of cegcc are you using? I know that latest doesn't work too well with haret.
[Touch2 ROM Development] GIGN2:
what is cegcc?

что такое cegcc?
[Touch2 ROM Development] welss:
Cross compiler for Windows CE.

http://cegcc.sourceforge.net/
[Touch2 ROM Development] kipill:
I'm use 0.55 and I compile haret ))

Скомпилил харет)) теперь будем пробовать править...
[Touch2 ROM Development] welss:
That's good, I use the same version.

I wrote a message to Cotulla, asking to write a few suggestions that might help us at work.
[Touch2 ROM Development] welss:
Cotulla wrote me back, and this is his response:

Not much, but always something. In the evening I will try to refer to this and the source code.
[Touch2 ROM Development] burleanu:
hy all

I´ve installed too linux (ubuntu) and cegcc 0.55, and I tested if working on the source of HDmini and was working ok, so i was able to re-create the haret.exe, but that is all I am capable .....

any way if there is a chance to help you I will try, I have no skills on assembler but Iĺl do my best.

I don´t understand what cotulla wanted to say ....do you?

hope to see some good news here!

Regards,
[Touch2 ROM Development] welss:
No, not really. Perhaps he meant not the FSS but FCSE (Fast Context Switch Extension), in arm1136 documentation is under "3.3.35 c13, FCSE PID Register".

FCSE in ARM Assembly language is performed by this instruction:

MCR p15,0,R0,c13,c0,0

In the original source code and the HD mini this instruction is used only once and in the same place. He don't used it to write code for msm7227. So maybe he meant something completely different?

I temporarily left it for later and change to HD mini code. For some time trying to understand how the code works. Sometimes more sometimes less I understand what is happening there. Temporarily have a problem with this:

LDR	R7, =0xACCFF000 and LDR R0, =0x0FFFF000

Do you have any idea what this values (0xACCFF000 and 0x0FFFF000) might be? Why these? I checked the htc photon kernel, but can't find a thing.
[Touch2 ROM Development] bertans:
I've dismissed this phone for a native Android terminal... there's no game! :(
[Touch2 ROM Development] kipill:
Added our machine in machlist.txt,arch-msm.cpp.Next step - we need make function CPUFlushCache on assembler...

p.s. erase zip,run exe))zip стереть.
[Touch2 ROM Development] GIGN2:
сжатая zip-папка имеет неправильный формат или повреждена
[Touch2 ROM Development] agos123456:
so will we have android on mega? has someone ever booted android on mega?
[Touch2 ROM Development] gufild:
Ты zip из названия удали и оставь только exe и будет тебе счастье:)
[Touch2 ROM Development] mora_93:
english please we want to know whats happening

thanks
[Touch2 ROM Development] agos123456:
has someone ever booted android on mega?
[Touch2 ROM Development] Geo2000:
No booted. This haret.exe not work.
[Touch2 ROM Development] Mr. Clown:
Me too, please post in english ;)
[Touch2 ROM Development] agos123456:
android is ready for hd mini...maybe because touch 2 and mini have about the same hardware the haret of mini might open on touch 2....
[Touch2 ROM Development] agos123456:
please dont let it die...
[Touch2 ROM Development] caniba:
please don't let this project die.

all of owners of mega want android on our devices
[Touch2 ROM Development] welss:
Who said that the project dies? One of you read the previous pages? Stop panic and instead start helping!

Sorry that I didn't post for so long, but I have business trip. As for CPUFlushCache I think at the moment a good idea to use the instructions in the file head.S (arm/boot/compressed).

@ Code edited!! watch __armv6_mmu_cache_flush.
mov	r0, #0
mcr	p15, 0, r0, c7, c14, 0	@ clean+invalidate D
mcr	p15, 0, r0, c7, c5, 0	@ invalidate I+BTB
mcr	p15, 0, r0, c7, c15, 0	@ clean+invalidate unified
mcr	p15, 0, r0, c7, c10, 4	@ drain WB
mov	pc, r14

As for the source code and CPUFlushCache HD mini, I believe that we should first understand what happen there.
[Touch2 ROM Development] agos123456:
are we close to have android....how can i help?
[Touch2 ROM Development] sso:
guys i just wanted to ask one question

HTC MEGA = HTC TATOO in hardware spec, so why we can't port it from tatto

they have the same processor so i think the same drivers :confused:
[Touch2 ROM Development] tatwah.mui:
I followed your advice and use the asm stuff from head.S. As a result, I can go to the linboot.cpp function "static void __preload preloader(struct preloadData *data)". It seemed to me haret hangs on the line "Tags relocated to 0x%%x (size 0x%%x)\\n". Anyone has tried this and have the same problem?

Regards!
[Touch2 ROM Development] kipill:
In this there is information of the procedures coprocessor.

welss glad to see what you work too!About this two values - 0xACCFF000 and 0x0FFFF000 I'm realy don't understand that's this???:confused:May be adress of function...

Somebody knows what happen in this:

tlabel5:
ORR R2, R1, #0xFC000000 ???

tlabel6:
MCR p15, 0, R2,c7,c14, 2
SUBS R2, R2, #0x4000000 ???
BCS tlabel6
SUBS R1, R1, #0x20 ???
[Touch2 ROM Development] welss:
I thought so too, that this is the place where instruction code is currently stored. Hmm, unless it's a physical indication of the beginning of free memory, or both :)

tlabel5:
ORR R2, R1, #0xFC000000 ???

tlabel6:
MCR p15, 0, R2,c7,c14, 2
SUBS R2, R2, #0x4000000 ???
BCS tlabel6
SUBS R1, R1, #0x20 ???

0xFC000000 - This is probably value related "Transfer Data between memory and Coprocessor" ??????????????

0x4000000 -

0x20 - Logical Shift Right value ???

But this is just quick search through kernel. In the evening I look more at it.

kipill, will you PM me your source code of Haret? I compare with my. I think it's good if it was one version of which we worked on.

Hmm, I must admit that I didn't meet with such problem. I'll look into this in the evening.

Yes, if there are people who want to work on android, so yes, we're getting closer.

We know the specification of the HTC TATTOO and we know that in the next step of porting this kernel source will be used to run android on MEGA. We are currently working on Haret not kernel.

For all those who want to help on porting an android and don't have idea about programming in assembler or C.

I believe that they could search the web for useful materials (documentation, articles, source codes ...) that can help us at work. Topics which you should serch for: MSM7225, ARM1136j-s, ARM1136 off MMU, cache flusch ARM1136. Would be cool if you found Qualcomm documentation similar to attached below, but for CPU instructions, not device specification.
[Touch2 ROM Development] mora_93:
http://lists.denx.de/pipermail/u-boot/2010-May/071409.html

i hope it help i dont understand much in c language

i just searched for mmu turning off

check this: http://openocd.berlios.de/doc/doxygen/html/arm11_8c_source.html

http://openocd.berlios.de/doc/doxygen/html/arm11_8c.html
[Touch2 ROM Development] gufild:
Here some documentation on ARM1136j-s:
[Touch2 ROM Development] gufild:
Here the site on which can be found the helpful information:

infocenter.arm.com/help/index.jsp?topic=/com.arm.doc.dai0195b/index.html
[Touch2 ROM Development] kipill:
This my sources.Today I make some change in asmstuff.s, in cpuFlushcache_MSM7225.
[Touch2 ROM Development] welss:
Thanks :)

Good materials, arm Infocenter is well known to me, but keep up.
[Touch2 ROM Development] kesberg:
Hello,

I've got some questions.

As we know Touch2 has the same hardware as Tattoo.

So when you guys get finally over with haret, will it be possible to port roms or drivers from tattoo, easly?

Is it possible to make nand version of android, for mega/touch2? Like in HD2. As far as I know HD2 has the same hardware as Desire.

I know these questions might be silly, but i had to write it here, becouse of my curiosity.

Cheers
[Touch2 ROM Development] radiopuf:
excited

i am so excited!
[Touch2 ROM Development] sso:
i asked the same question in the previous page :D and that what welss replay
[Touch2 ROM Development] mora_93:
hey check it out http://www.gsmarena.com/htc_touch2-2924.php

it is stated that our mobile contains adreno 200 gpu and thats what makes it possible to run andriod

and as i have small experience there is no opengl drive on our phone in windows mobile

does that mean if we got driver it is going to be amazing note by that htc desire got adreno 200 and way too powerfull graphics
[Touch2 ROM Development] pteek:
hey mora,

i m sorry to say but that info is wrong.the cpu in mega is msm7225 and it didnt have any gpu.also it is the main problem in porting that msm7225 doesnt have a gpu and is diffrent from others.But having a gpu is not nessary to port android.we just need a compitable haret and kernel and other stuff.

P.S. i tried you haret with click(tatto) kernel but it cracshes at,as always,turning off mmu.

cheers
[Touch2 ROM Development] mora_93:
thank you for making it clear i also wasn't feeling that it contain gpu because no opengl es driver in windows 6.5
[Touch2 ROM Development] pteek:
hey chek it out.

Hi Kevin , user address space on the processor MSM 7225 doesn' t use section mappings and there is no support for page tables in the HaRET. So the mmu _trampoline fails when trying to jump to code with shared virtual /physical mapping . I ' m trying to solve it but still don' t have much time. I can compile and test HaRET on my HTC Jade . Radim

is it useful or we already know it?

found it on mail-archive.com

cheers

P.S. i will fully join the porting team after 11th april.

quite busy till then.both jade and mega are almost same and really wanna se android on them.

Edit:

Found some more info

"xdaforums.com/editpost.php?do=editpost&p=12235731"
[Touch2 ROM Development] pteek:
Sorry editing isnt working for me.

Found some more info.

"mail-archive.com/haret-devel@lists.linuxtogo.org/msg00017.html"
[Touch2 ROM Development] pteek:
a little more.

this is related to turning off mmu

Add preload- compatible way to detect MMU status > > Useful in the fb_putc () override to determine if the MMU is enabled > or disabled, and base actions upon that. > Couldn ' t one use an inline asm for this - in particular would the macro DEF _GETCPRATTR( getMMUReg, p15, 0, c 1, c 0, 0, __preload, ) work? -Kevin
[Touch2 ROM Development] viola.lory:
ehmmm..so how much time will miss?
[Touch2 ROM Development] mora_93:
i hope we get some news update lasty news was 15 January
[Touch2 ROM Development] tjabbe:
Links

Go to this site check it out. http://htc-linux.org/wiki/index.php?title=Mega :D

Hope it is helpfull
[Touch2 ROM Development] mora_93:
thx for support
[Touch2 ROM Development] Bareq:
guys six days without any update you are the only hope we have
[Touch2 ROM Development] :
so using normal haret I get the error pc=013af640..

so I have been trying the compiled haret in here, but it shuts down after the turning off mmu msg. Does haret terminate without launching the kernel? the log goes up to the go go go msg. How can i Know if the kernel has been started?

Isn't there anyway of trying the htc tattoo rom by flashing? Or the chance of bricking the device is too high? models can't be too diferent.

EDIT: Well, I am selling my Mega at the highest bid. PM me.
[Touch2 ROM Development] Mr. Clown:
thread cleaning, stay on topic guys.
[Touch2 ROM Development] harrykewell10:
Hi guys! I had been following the topic. I hope we find a final solution for the problem installing android on HTC Mega, thanks for a very interesting link but, the utility of the files included are for developers or for users to put them on our HTC Mega?

I hope to understand me, my english is very very poor.

I am sorry about my low level of knowledge about the world of developing and about smartphones. I am very interested but I am just a learning...
[Touch2 ROM Development] mark84:
what about trying to load tattoo kernel with haret? any chance to boot at least the kernel?

as somebody said on previouses posts, tattoo and mega are more or less the same phones
[Touch2 ROM Development] misquamacus:
Yes, but we need a tool to load that kernel to our Mega.

That tool is HAret but its still not complit for that model of HTC
[Touch2 ROM Development] MOHSEN-UNIQUE:
can any one give me link to download source code of HAret to compile it for mega?

i am programmer maybe i can help you. I'm also have mega and i like to run android on it
[Touch2 ROM Development] untouchables221:
hi. you can find source code for haret in this page:

http://xdaforums.com/showthread.php?t=852474&page=22

check bottom post

i hope you can help. i am following this project for a long time. there are other programmers working for it. but todays there is no update.
[Touch2 ROM Development] mora_93:
i am following project for a very loooong time i hope we get a solution

i hope we get some good news
[Touch2 ROM Development] devabhaktunisai:
waiting

how much longer do u think it's going to take u guys

i hope the beta testing is going well:)
[Touch2 ROM Development] devabhaktunisai:
How much longer do you think it takes for the beta to release??? I'm sorry for the hurry but i really want to get andriod so my phone would run faster
[Touch2 ROM Development] cira1990:
Common

Common, what's happening here. Why have you all stoped... Can somebody send me report of that what you have done, I'm programer maybe I can help...
[Touch2 ROM Development] kipill:
So, I think we need to change something in asmstuff.s something wrong with the access point to the function mmu_trampoline I think ... attaching the source code ... I hope to help
[Touch2 ROM Development] cira1990:
Thank's I hope that I will do something ;)
[Touch2 ROM Development] mora_93:
what really makes me anger that tattoo and wild fire are same processor chipset and we still cant solve it
[Touch2 ROM Development] tatwah.mui:
Get to "in preloader" after modifying mmu_trampoline in Cottula's haret src

Hi, kipill, I had a look at the haret source attached by you. I think you modify the LDR	R0, =0x0FFFF000 to 0x10000000. I don't know whether it's working.

I tried to modify the LDR	R7, =0xACCFF000 to 0xAF8FF000. And keep the LDR R0, =0x0FFFF000. In my Mega, haret can run to the line In preloader... After this, haret just stop. I tried both tattoo's and wirefire's kernels. Both are the same situation. I'm not sure whether this is haret's problem or the kernel driver's problem.

Hope this information can help.
[Touch2 ROM Development] tatwah.mui:
Does anyone know how to debug kernel driver problem?
[Touch2 ROM Development] kipill:
Hi!

I tried to change values​​, but an error loading the Haret (unhandled exception(PC=00017AD0,Code: DFFF0123,Address:00017AD0))unless specifically - build L1 reverse map.

Please send me your haret.exe.
[Touch2 ROM Development] tatwah.mui:
This value 0xAF8FF000 is retrieved from haretconsole by dumping mmu.

Attached. Please check.

View attachment haret.zip
[Touch2 ROM Development] kipill:
Thanks!I tried to run it,but my device freez after - Go Go Go:(...
[Touch2 ROM Development] :
Hi guys. Any news about haret? Would you mind posting a bit of howto, what and how to try (if there is something we can try), or what informations do you miss to make haret working?
[Touch2 ROM Development] mora_93:
u patched it u mean u need some one to test it for u
[Touch2 ROM Development] Exsoul:
This thread should be closed since the author isn't working on it (did he?) and we should pray for a developer working on a haret/android version for touch 2 (not really going to happen).
[Touch2 ROM Development] Mr. Clown:
I will leave this open, since it can be a reference to others who want to continue this project.

Sent from my Circus, powered by the madness of my HD2
[Touch2 ROM Development] rkysoo:
hope to see development coming soon.
[Touch2 ROM Development] mehra1:
i dont want to be rude or anything but if u want android so eagerly its the right time to sell of your touch and buy a optimus one...

No hard feeling i was too once an htc touch2 owner and it treated me well but sumtyms u hv 2 move on..

And thnx everybody for the hard work and their roms :)

Hope to see few on optimus one thread...
[Touch2 ROM Development] Exsoul:
Yeah. I'm moving to HTC Desire Z or HTC Sensation (Pyramid) soon. I don't say Touch 2 is a bad smartphone, indeed it's a good one but Windows Mobile is left on the ground, all the apps come for Android/iOs and a bit of them to WM6.5 (for ex. Whatsapp isn't on wm).

I don't think an android version for HTC Mega will happen and I don't have another choice. :(
[Touch2 ROM Development] joost_mulders:
Just curious..

Any news yet? :)
[Touch2 ROM Development] Chriss1983:
This is one reason why I have changed ..
[Touch2 ROM Development] donomerta:
So what is the progress my friends?

I been reading this forum from the beginning, hopefully someone did it!!!

And hoping currently someone using HTC Mega through Android!!!
[Touch2 ROM Development] :
Sold my HTC Touch2, buying an iPhone. Never coming back.
[Touch2 ROM Development] mdromed:
Hi! Are you better of your health problems? I hope you are better!!

Thank you for you work.

Are there any new of project?

Regards friend!
[Touch2 ROM Development] kipill:
For all who are working on a port -www.netripper.nl/index.php?p=183

tatwah.mui Please post your screenshots with "turning off mmu / in preloader" and your default.txt
[Touch2 ROM Development] kipill:
I work with haret-console from this http://netripper.com/raphael/HaretconsolePackageForWin.zip and watch GPIOS for find short vibration gpios,and I find something:

GPIOS(5) 92d00850=00000c06
GPIOS(11) 92d00844=00030c06
GPIOS(5) 92d00850=00000806
GPIOS(11) 92d00844=00030806

- I think its gpios for vibro.

Someone can try to find it on device?
[Touch2 ROM Development] anonvan:
HI,

I just found a same case for the HTC HD mini which using MSM7227 cpu. But finally, they (i saw somwone call Cotulla ) can overcome the HARET problem and make the mobile run Android. Should we ask them to help?
[Touch2 ROM Development] lmfking:
Why HTC Touch 2 can't run android? HTC Wildfire have the same processor,chipset,GPU as the touch 2 and is running android
[Touch2 ROM Development] Exsoul:
Because there aren't developers interested on it.
[Touch2 ROM Development] viola.lory:
Please read here http://xdaforums.com/showthread.php?t=1127637
[Touch2 ROM Development] kipill:
I wrote posts in Iolite and Jades forums for find guys - who can make something,some help with asm... we need make haret for first step.Is where someone who can help?
[Touch2 ROM Development] zukа:
It's not gonna happen guys. I'm sorry. On the plus side, there are some great affordable Android handsets that cost less than the Mega when it came out - get on board.
[Touch2 ROM Development] pteek:
Hey,I want to help.How can we contact?I prefer IMs like gtalk,aim etc.