yashsingh1/xdaforums huggingface dataset:
[HD2 Android Q&A, Help & Troubleshooting and Genera] dkl_uk:
It's not stuck at GO GO GO, it's stuck at the static boot image for a while, then the animated boot logo begins. Maybe it's the fact the phone looks like it's doing nothing while it's showing the static boot logo but like I mentioned above the SGS has the same amount of media and also it has the same apps as the HD2 and it's usable in under 30 seconds.

Thanks for the response anyway.
[HD2 Android Q&A, Help & Troubleshooting and Genera] ph03n!x:
If you want to experiment, try Tytung's Mag kernel - get it from his thread and flash it. Mind you, ensure it also has the wifi drivers (bcm4329.ko), else wifi may not work. In my experience, Tytung's implementation of his Kernel boot faster.

Also, CWM 4.0.0.0 is not supposed to be stable (has something with backup/ recovery). Get the latest, or go with 3.2.0.0
[HD2 Android Q&A, Help & Troubleshooting and Genera] Moon2:
I had the same problem when I was using that rom.

I tried to find the prob using logcat, and I saw a lot of errors being thrown at me, and also quite a few a2sd zipalign's, so I removed a2sd scripts from init.d, it started booting faster; but I still had the other errors.
[HD2 Android Q&A, Help & Troubleshooting and Genera] dkl_uk:
Thanks for the heads up. I obtained that version of CWM through the HD2 Toolkit, and so far I haven't had any issues using it for the last few months.

Assuming I find the Kernel you've pointed me to, would it not be in CWM flashable mode and therefore i'd just be overwriting the zImage and not actually flashing a new ROM - therefore keeping my current /system (and bcm4329.ko)? Apologies if that was literally the most noob statement you've ever seen.

I actually have live logcat bootanimation and I am pretty sure i've seen a lot of errors too. It goes too fast to debug anything, and i've not taken the next step which is of course to do what you did and actually read the logcat, but these errors take milliseconds during the boot phase and I don't believe it's this bit that is the issue - it's the bit where the static logo shows and I don't truly know what the phone is doing at that stage.

Thanks for your helps also guys
[HD2 Android Q&A, Help & Troubleshooting and Genera] ph03n!x:
The Mag and the cLK version of the kernel are here- use the one that says 2.3.4 only, even if you or on 2.3.5

I use this in cLK, and know for sure that the required Wifi drivers are in it. Note that the cLK version has cedesmith's data wrapper b5, but the b4 wrapper works better for me. This is in case you choose cLK, and are having data issues after flashing the kernel.

http://xdaforums.com/showpost.php?p=10429937&postcount=3
[HD2 Android Q&A, Help & Troubleshooting and Genera] dkl_uk:
That's literally the post I came across once I did a search based on what you'd already told me. Thanks for confirming further.
[HD2 Android Q&A, Help & Troubleshooting and Genera] ph03n!x:
Timed my boot - was 35secs on the watch and 33secs according to logcat. To put things in perspective, I have trillian (5 accounts), gtalk, gmail, 3 email accounts, google+, current widget, CallRecorder, CSipSimple, ClockSync, DSP Manager, Easy Filter, Swype and Where's My Droid loading at boot - in addition to whatever Android loads (Maps, Calendar, Settings...)
[HD2 Android Q&A, Help & Troubleshooting and Genera] Moon2:
You have to use the following command to get logcat to make a file of it.

adb logcat > anyfilename.txt
[HD2 Android Q&A, Help & Troubleshooting and Genera] dkl_uk:
At what point are you timing this boot from? Power on? GO GO GO? Splash screen?

If I were to time my boot from the animated boot screen then i'd say possibly 30 seconds too, it's just that for another 30 seconds it's sat on the static boot animation.

Also my launcher screen takes an awful amount of time to parse. You can definitely tell the HD2 is ageing when you compare it with the SGS2. I know it's in a class of its own but still, i'm beginning to lose faith in the longevity of my HD2.
[HD2 Android Q&A, Help & Troubleshooting and Genera] Fishingsnow:
I am on the same boat, I use aMAGLDR 1.13 + MIUI Rom and the boot process is very very slow.

I just timed it:

1. From T-mobile Stick together to go go go: 9 secs.

2. A static splash screen, black background and green HTC logo: 1min 52 secs.

3. From MIUI globe animation kicked in to locked screen: 29 secs.

So basically I have no idea why step 2 takes such a long time. Is there anyway to see any error msg during this stage?

I tried to remove SIM card and/or SD card, it is about the same, so I guess there is something happening in the NAND...

Thanks!
[HTC EVO 3D] eck0728:
Hey guys,

I currently run a gaming community and have a web server with unlimited space and unlimited bandwidth that i would like to offer for the devs here to use for free. It is on a shared box with a 1gb line (last i checked). If you are interested plz pm me and ill set you up a ftp account.
[Galaxy Ace S5830 General] Ploone:
Hi guys,

Just wanted to share a qucik video I made comparing the two phones, what I think is the best Android phone against the best Budget phone.

[YOUTUBE]PeNmUNNw1HQ[/YOUTUBE]
[Galaxy Ace S5830 General] 0rangeHands:
Very nice video, I bought the ACE because galaxy S2 was to expensive :(
[Galaxy Ace S5830 General] anto.danny:
i wish i had bought S II,am starting to drool.....:(
[Galaxy Ace S5830 General] haocongxu:
ehh... why dont u consider i9000? its cheaper
[Galaxy Ace S5830 General] SloRazorX:
Ace can shoot video in VGA resolution (640 x 480) on gingerbread
[Galaxy Ace S5830 General] Ploone:
Yeah I know. I tested both devices in their stock forms.
[Galaxy Ace S5830 General] cr0ssx21:
..is that really a white SG S2?

Its like david vs. goliath holding an AK-47.
[Galaxy Ace S5830 General] thunderror:
Awesome video!! Real useful..Own a samsung galaxy ace. And always wanted to see a nicely made video of the S2
[Galaxy Ace S5830 General] JonnyBoy6:
Great video, thank you!

I've had my heart set on the SGS2, but I also need another cheaper phone so I thought about the Ace, it was great to watch your comparison.

By the way, I'm dying to know, how/where did you get that white SGS2?
[Galaxy Ace S5830 General] b00bs:
it's not faiiiirrrrrr! compared two different level smartphone. LOL :D
[Touch2 ROM Development] untouchables221:
pple come and say "hey i can delevop an adroid for mega" but no one finished.

i still have same phone for one year. and still waiting for a real developer to do that. if you can really really do that, all i am saying is just make a beta or something and lots of people will be ready for donate or something.

(sorry for my english. not my native language)
[Touch2 ROM Development] RDilus:
well this time some one gonna do i just got this phone i won't give up until i created droid fot it
[Touch2 ROM Development] untouchables221:
http://www.arm.linux.org.uk/developer/machines/list.php?id=3041

look here. i think machine type should be 3041
[Touch2 ROM Development] RDilus:
no that is just a database ID the MTYPE 2305 is correct
[Touch2 ROM Development] lithoc:
Hi RDilus,

Touch2 resolution is 320x240

In your Update 4 : mddi.width=320 mddi.height=480 lcd.density=160

Is that correct?
[Touch2 ROM Development] RDilus:
i gonna ask donation if i proof i can really do it!

so ill show first a begin if it realoly boot etc then i gonna ask donations

ppl where foolish enough to donate first without any update or anything but i am diff and i will proof i can do it somehow and when the time is finally there then i gonna ask very please with sugar on top for donations lol :P
[Touch2 ROM Development] Mr. Clown:
I will keep this thread clean, please keep the thank posts away and use the thanks button instead.
[Touch2 ROM Development] kipill:
RDilus Hello!:)

As I can I help you this it.The most problem with "in preloader" in haret - as I think in asmstuff.s.I try to get vibro GPIOS and add this to haret source code,but nothing...I think we need to find the correct address in the function MMU_Trampoline.In any case, we need to work with Haret HD Mini sourcesode.If you can - contact with me in Skype(kipill-nn).

Look where:

@
@ Cotulla: this code only for HTC PHOTON (HTC HD MINI)
@
.section .text.trampoline
.global mmu_trampoline, mmu_trampoline_end
mmu_trampoline:
LDR	R6, =mmu_trampoline2
LDR	R7, =0xACCFF000 [COLOR="Red"]Why this?[/COLOR]
MOV	R8, R7
MOV	R4, #(mmu_trampoline2_end - mmu_trampoline2)
1:
LDRB	R5, [R6], #1
STRB	R5, [R7], #1
SUBS	R4, R4, #1
BNE	1b
LDR	R0, =0x0FFFF000	[COLOR="Red"]And why this?[/COLOR]
MOV	PC, R8
.ltorg
mmu_trampoline_end:

Sorry for my English...
[Touch2 ROM Development] RDilus:
well first of all if you could help would be amezing :)

second i don't have skype but we can contact in IRC

if you wanna use IRC just go to mibbit and search for EFNET and enter #DroiD2

and use you're Skype or XDA Forum name

here is a direct link to mibbit

http://02.chat.mibbit.com/
[Touch2 ROM Development] pteek:
Hey guys,I can help too.I can do testing and research.I am searching forums for some guide on asmstuff and trampoline.

BTW i am ready to brick my device for android :)
[Touch2 ROM Development] ahhl:
count me in for the donation. but prove it first anyway thank you for your effort to restart this
[Touch2 ROM Development] meknb:
I seen your thread in the polaris threads just a few things

The polaris is MSM7200 cpu not MSM7225 so probably not the best for comparison the wildfire is closer but i think building from source is your best bet.

Also I think the main area to look at is haret code as the haret doesn't like the msm7225 chip.Try adding a earlyharetlog.txt to your haret folder to see whats going on.Good luck
[Touch2 ROM Development] viola.lory:
Any news? I hope you are a true developer...
[Touch2 ROM Development] meknb:
I haven't got a touch2 but you need to get haret working on your phone you could try this one http://xdaforums.com/attachment.php?attachmentid=284592&d=1266872927 and make sure you have earlyharetlog.txt in the same folder.

Also check if you have a network connection then you can use haretconsole to see whats going on.

If you build your own kernel you can enable debugging so you can see what's going on.
[Touch2 ROM Development] viola.lory:
All is ready

All is ready!!!!!!!!!!!!!!!!!!!
[Touch2 ROM Development] tjabbe:
How ready? If so place it. A bmp file alone is not good enough. Place something only if it is real.:mad:
[Touch2 ROM Development] viola.lory:
yes, sorry.... do you know any developers who can port android on mega?
[Touch2 ROM Development] amienzero:
i believe the same as well that you should build haret from scratch. the main problem between msm7200 and msm7225 is that msm7225 DOESN'T have L2 cache in which the codes for msm7200 uses. this is why the current haret build doesn't work with mega.
[Touch2 ROM Development] viola.lory:
Rdilus told me the porting is bad...PHONE ****!!!
[Touch2 ROM Development] forcible79:
I am serious. I know it is developer but i thought androit runs on touch but It is developing. Becuase i saw some videos in internet Andorid runs on HTC Touch2 T3333 and it works.
[Touch2 ROM Development] eric323:
Where did you saw those vid's ?

I'm curious and waiting for android on my Touch2 too.

As far I know it is still in development, however, I think the project died, unfortunally........:(:(:(:(
[Touch2 ROM Development] :
I think those videos were fake... Like all videos of other os on touch2
[Touch2 ROM Development] forcible79:
I dont know how i can send your Xperia using XDA. I have just sent you link as privet. It seems they did it.
[Touch2 ROM Development] :
What do you mean?
[Touch2 ROM Development] forcible79:
/watch?v=OlvywWZbsGg paste it to youtube. You can see it is T3333 with android
[Touch2 ROM Development] kenygia:
yes ... not

not the htc touch2 t3333 is a china clone T3333a with android 2.1 native (sorry for my bad english)
[Touch2 ROM Development] forcible79:
:(( I think noone care this phone. There will not be android for T3333 as everyone said.
[Touch2 ROM Development] aloysius987:
I tried

They ask for recovery.img , are we supposed to include one from another device?
[Touch2 ROM Development] tatperson:
Most of us have already moved on to new phones.

Posted from my rooted Motorola Atrix with Jokersax CM9.
[Touch2 ROM Development] lithoc:
Hi All,

Today I spent sometime looking at code.

Please look inside the initrd.gz with file called init.rc

Apparently the android failed to mount the filesystem for /system & /data

The sd card is formated with ext2 but mount as jffs2 format.

Example :

mount yaffs2 mtd@system /system

mount yaffs2 mtd@system /system ro remount

mount yaffs2 mtd@userdata /data nosuid nodev

mount yaffs2 mtd@cache /cache nosuid nodev

That's why Android can't file any file to load

Thank you

The file is init.rc
[Touch2 ROM Development] eric323:
And how is that to be solved?
[Touch2 ROM Development] jiangxue:
Problem isnt it

First,i think problem are not out there.

Second,i can exclude that possibility--------My friend have a touch pro2,I boot android with megandroid.rar(initrd and system.ext2) and Kernel,startup.txt(in xdandroid).it can boot ,only cant touch.

So i think the problem in the kernel .(i think we need take to someone develop xdandroid for help)
[Touch2 ROM Development] aloysius987:
Certain library files need to be written. thats as far as i can help...
[Touch2 ROM Development] :
Maybe we should ask some help on other devices forums :confused:
[Touch2 ROM Development] jiangxue:
I can confirm that the PROBLEM in the kernel .

I downloaded the kernel source code from kipill.

-----kipill-nn-Kernel-for-Mega-3e6201d

You can download it on github.com.

That kernel is megandroid.rar used.

BinderIPC support is very important for android.

I test Megandroid.rar on Mega.

-----can not start service servicemanageer,media,and other important service for android.

I checked on the Internet information.

There may be no BinderIPC support.

I download kernel source code in github.com.

BinderIPC support is in kernel

in here

------kernel/include/linux/binder.h

------kernel/drivers/android/binder.c

Those are not found in kernel for mega

So it can not start those service.

So can not start android,but can boot linux.

So problem in the kernel.
[Touch2 ROM Development] :
Ok... but what can we do? :/
[Touch2 ROM Development] jiangxue:
what can you do?

Found problem. You can make a new kernel for mega with BinderIPC support.

If i have a computer for me,i can do It.

Do not tell me you can not.

I can not make it before,but can study,isnt It.

I can not use computer everytime.
[Touch2 ROM Development] :
... I can not, I'm not a android dev, just a psp dev....
[Touch2 ROM Development] kipill:
Hello guys!

I think it should fall back and take a look here http://gitorious.org/linux-on-qualcomm-s-msm/linux-msm/commits/htc-msm-2.6.27, much is made here to support HTC wm devices. You must add the defconfig and board files as well as the display driver.

Good Luck!
[Touch2 ROM Development] jiangxue:
How to do it？！

I want，but HOW to do it that to make a kernel or how to add those support (i download it and find ------kernel/include/linux/binder.h ，but not find ------kernel/drivers/android/binder.c）

Be honest，I have no research to make a linux kernel.

---------- Post added at 12:35 AM ---------- Previous post was at 12:17 AM ----------

If I said I would like to set up a temporary working group for android to mega.

Who can respond to me？

---------- Post added at 12:40 AM ---------- Previous post was at 12:35 AM ----------

From scratch！！
[Touch2 ROM Development] meynaQ:
I can support
[Touch2 ROM Development] jiangxue:
Really？

This is an exciting news！！

And the other?
[Touch2 ROM Development] sanjeev.a.r:
start up??

well i m a dev on android but on another forum for another device(Nokia N900) a few days back i got myself a htc touch 2 mega ..

i do have lots of time so i m going to try and put this together if the actual dev of this thread and the moderators give me clearance for it

so the question i m wondering is that in the first page i saw a lot of haret executables so which one is working and has any one got adb connectivity and if anyone is interested to help

u can find me on skype sanjeevaasoorir ..

cheers
[Touch2 ROM Development] :
I think most of us are interested helping, but most of us don't know how (at least its my case)

[Edit]and i dont know wich haret ils the good one
[Touch2 ROM Development] sanjeev.a.r:
well i still need to get the clearance from the mod and dev of this thread ..
[Touch2 ROM Development] aloysius987:
Or you can start new thread. I can safely assume the op of thread wont be coming back...
[Touch2 ROM Development] DaCommanda:
Do you really think, that there is a possible way of porting android to our mega???

That would be great.... :)

I've tried to get adb-connection under linux, but don't even know how...

Under Win Vista I got a connection....

Please let me help develope an Android for our beloved Mega. :)

Greetings

DaCommanda
[Touch2 ROM Development] garo38:
I had a mega until last month that it had sold since 2010 is that many developers attempted but eventually abandoned please desist from trying a lot of spirit and luck sorry for my bad English
[Touch2 ROM Development] darxon:
There are any news about the launch of android?
[Touch2 ROM Development] danieldobrea:
none ....
[Touch2 ROM Development] Horis:
I don't understand ... I ran android roms thru haret on touch, later on Nike, now i have touch2 and i can run any android rom on it?
[Touch2 ROM Development] :
Actually, there's no android rom for the htc touch2, but I'm currently working on it.
[Touch2 ROM Development] xTerraH:
Oh please pleaseplease when do you think you will finish?
[Touch2 ROM Development] :
maybe in 4-5 month.
[Touch2 ROM Development] Kazrak:
any luck yet

Any luck yet?

Thanks:confused:
[Touch2 ROM Development] ahmyani:
Project is dead
[Touch2 ROM Development] jayc137:
DELETED

[MENTION=699945]jia[/MENTION]xangue mentioned that BinderIPC support is necessary ?

So basically a kernel compiled with it shld boot right ?
[Touch2 ROM Development] Geo2000:
update

any news update?
[Touch2 ROM Development] tarx1000:
Forget it, mega is dead...
[Touch2 ROM Development] Geo2000:
Why dead project? No longer occupies one of this project? Too bad we stopped this project was very important.
[Touch2 ROM Development] tarx1000:
Nobody has this phone anymore. Mine has died about 2 years ago...

MEGA was not that popular phone to port Android to it.

It's time to move on and to get some decent phone :laugh:
[Touch2 ROM Development] ahmyani:
megaloman is dead :p
[Touch2 ROM Development] kipill:
Hey,guys!Is someone help for debug haret?We need run haretconsole get the command watch GPIOS <time> and try find vibro or LED gpio in log.If someone can help,please pm me-I'll explain how to do it.Android somewhere near...:D
[Touch2 ROM Development] brunneros:
I manged to connect using haretconsole, i'll try to find a gpio

ok, it seems this two are related to the vibrator

start vibration

GPIOS 92d00850(170)=c06

GPIOS 92d00844(362)=30c06

stop vibration

GPIOS 92d00850(170)=806

GPIOS 92d00844(362)=30806
[Touch2 ROM Development] kipill:
Vibro GPIO

Well!Now we have nice for debug Haret and Kernel:

-Virtual(when MMU enabled)

@ enable vibro
ldr r9, =0x92d00844
ldr r10, =0x92d00850
orr r11, r9, #0x00000400
str r11, [r10, #0]

C++

volatile unsigned *bank5_in = (unsigned int*)(0x92d00844);
volatile unsigned *bank5_out = (unsigned int*)(0x92d00850);
*bank5_out = *bank5_in ^ 0x00000400;

-Physical(when MMU disabled)

@ enable vibro
ldr r9, =0xa9200844
ldr r10, =0xa9200850
orr r11, r9, #0x00000400
str r11, [r10, #0]

C++

asm volatile(" mov r0,#0x80000000\n\t"
" orr r0,r0,#0x16\n\t"
" mcr p15, 0, r0, c15, c2, 4\n\t");
volatile unsigned *bank5_in = (unsigned int*)(0xa9200844);
volatile unsigned *bank5_out = (unsigned int*)(0xa9200850);
*bank5_out = *bank5_in ^ 0x00000400;

It's work!:) Next step - determine where an error occurs...

So,I see that haret does its job,and I have vibro before code "Jumping to kernel...".Next - debug kernel.
[Touch2 ROM Development] :
my sister has a HTC mega, she would love android :D
[Touch2 ROM Development] tatwah.mui:
Good job! I'll also help debugging. Keep tracking!
[Touch2 ROM Development] xingkia:
Gd job so far guys!!
[Touch2 ROM Development] viola.lory:
any updates? i can help you! how long time will be ready? what does it miss???
[Touch2 ROM Development] kipill:
Haret works!

Please,Be patient.Yesterday I added the vbro code in head.S of kernel and its work!So haret works and kernel is relocated in RAM.Later I will try add this code into board-mega.c - need to know how works MMU on in Linux and device initialization.
[Touch2 ROM Development] tatwah.mui:
Vibro codes after device init

Hi, please look at msm_iomap-7xxx.h, following codes

#define MSM_GPIO1_BASE IOMEM(0xF8003000)

#define MSM_GPIO1_PHYS 0xA9200000

#define MSM_GPIO1_SIZE SZ_4K

the vibro codes after iomap is

volatile unsigned *bank5_in = (unsigned int*)(0xF8003844);

volatile unsigned *bank5_out = (unsigned int*)(0xF8003850);

*bank5_out = *bank5_in ^ 0x00000400;

I tested in init/main.c start_kernel function. Vibro code works before mm_init(). And in mm_init() the vibro code works before kmem_cache_init(). After kmem_cache_init() vibro code doesn't work.

So it seems to me the kernel crashes at kmem_cache_init().

I don't have UART serial output now. So if you have UART, the problem should be more clear.
[Touch2 ROM Development] kipill:
Nice news!

Now we can see Framebuffer console,when kernel booting :)

[/URL]

Big thanks for Schlund!
[Touch2 ROM Development] bob8x:
So instead of seeing a list of error in the log file we see it printed on screen(pheraps one step forward)???

Or it means that haret is now working fine and we had to focus on building a working android rom?
[Touch2 ROM Development] viola.lory:
can you write here the log of this http://imageshack.us/photo/my-images/856/hpim1070e.jpg/ ?
[Touch2 ROM Development] tatwah.mui:
Congratulations!

Congratulations! It's amazing good! So I see linux box is ready.
[Touch2 ROM Development] lithoc:
The picture date is 03/09/2010 .... hhmmm
[Touch2 ROM Development] viola.lory:
litchoc don't be so skeptical...
[Touch2 ROM Development] burleanu:
Congratulation........

Congratulation Kipill, keep up the good work.

What kernel you had been using. From what phone.

About the date for the photo, what is wrong lithoc, it is dated 3-sept (EU standard), so I don't undestand why ....hhmmmmmm..., the man was busy un weekend.

Instead of complaining i suposed is time to help him to find a good kernel, because for what i see we (more exact HE) manage exit windows wich was more dificult.

Regards!
[Touch2 ROM Development] Exsoul:
yes, it's dated 3-sept 2010. Nobody is complaining, he just said that something is strange and it seems that nobody else noticed it.
[Touch2 ROM Development] viola.lory:
I'll talk with kipill and I tell us what is happening....
[Touch2 ROM Development] meknb:
Nice work kipill.

What kernel are you testing ? I think the polaris vouge one will be of little use without merging some code from the wildfire tattoo (mega use's same lcd & touch screen as tattoo i think) and they both use the msm7225.

Code bad pc value is usually a bad driver ect are all the gpios logged dump gpiost will give you a list also try with gps bluetooth wifi on and off (we use to have to enable wifi in windows to use it in android).

Good luck
[Touch2 ROM Development] kipill:
Hey,guys!Its really my photocam bug :D I use Tatoo kernel sources some is added, some is removed. But the process of debugging has become much easier and I hope soon to be released. Now loading crash on stage:

pmem: 1 init
pmem_adsp: 0 init

.... and unhandled exception :)
[Touch2 ROM Development] Exsoul:
Good job Kipill and thanks for clarify the date bug. Hope to have news soon.
[Touch2 ROM Development] meknb:
Check your pmem_adsp defination should be in board-mega.c or what ever you called it could be wrong base or size?

On wildfire base it's 0x27000000 on polaris it's 0x00100000 size on both is 0x00800000.

Have you tried using pmem_camera instead of pmem_adsp?