yashsingh1/xdaforums huggingface dataset:
[Touch Dual, MDA Touch Plus ROM Development] McLin:
I downloaded the latest Bootkit from Wiki, but there no Android Files, where can I find it?

It boot just the kernel, then nothing happend..
[Touch Dual, MDA Touch Plus ROM Development] ducamie:
biktor posted a bootkit about 4 posts ago? :/

http://rapidshare.com/files/211389157/Bootkit_03_20_2k9.rar

remember to have your usb plugged in before running haret. once android has booted you can remove the usb.
[Touch Dual, MDA Touch Plus ROM Development] ducamie:
what radio are you using? upgrade to 1.71.09.01 if youre using lower.

make sure you have as much free ram as possible, close any programs that might be running or remove any large today screen programs. are you sure everything is placed on the root of your sd?
[Touch Dual, MDA Touch Plus ROM Development] McLin:
Ahhhh USB!!!:D
[Touch Dual, MDA Touch Plus ROM Development] ohookins:
I am using the 1.58.16.27 radio, but as far as I can tell that shouldn't prevent it from even booting the linux kernel 99 times out of 100, should it? If it is a problem I can certainly upgrade.

As far as free RAM goes, after booting the phone into WM6.1 I open up the file explorer and run haret.exe straight away, so I can't see how I can get any more free RAM out of it (unless there are magic tricks I'm not aware of).

All the files are definitely in the root of my SD.
[Touch Dual, MDA Touch Plus ROM Development] ducamie:
yup thats your problem most likely. needs at least radio 1.65. needs upgrading :)
[Touch Dual, MDA Touch Plus ROM Development] matiu:
After Android has boot on my device, it ask me a gMail account (that I haven't).

How can I bypass this request? :confused:
[Touch Dual, MDA Touch Plus ROM Development] ducamie:
there is an option to skip the step
[Touch Dual, MDA Touch Plus ROM Development] McLin:
Is interesting, I have an G1 with Android and develop my own Android, so that is Version 1.1 with all thinks include, and some Apps from Cupcake, e.g. World Time who did this Version?

Where I installed this App to my Dev Version the App crashed.

Maybe we can work together, I did compile a lot Apps that work on 1.1 from Cupcake tree...
[Touch Dual, MDA Touch Plus ROM Development] ohookins:
But that doesn't explain why it has booted to android fine a few times. Why would the radio rom version determine whether Linux boots correctly or not, if it is not even using the radio at that point?

Here is what it says if I try to boot from the network console in HaRET:

It doesn't get any further, 99% of the time.
[Touch Dual, MDA Touch Plus ROM Development] ohookins:
In any case, I've now upgraded the radio ROM to 1.71.09.01K and it has made no difference, as I had suspected. Please do not go making suggestions that have absolutely no logical basis. Upgrading is not always the answer to all problems.
[Touch Dual, MDA Touch Plus ROM Development] ducamie:
uh, sorry? i'll be sure to refrain from giving illogical advice to you in the near future.

im not sure why radio affects booting but it does.. my founded reasoning:-

http://www.androidonhtc.com/troubleshooting
[Touch Dual, MDA Touch Plus ROM Development] biktor_gj:
Just for your information, what ducamie told you has a very logical basis. 1.58 Radios and lower seem to have a different radio interface layer. That's why, if you flash a newer rom with an older radio, your audio behaves strange, your camera stops working, and it gets stucked and goes slower than it should. If you read the rest of the thread you'll see almost everyone who has your problem has updated the radio and then it worked no problem. So upgrading is the first step to resolve your problems. If it still doesn't work, you can try the following things:

Your haret logs show that it doesn't make the jump to the linux kernel. So it gets stucked on that part. If you are using my latest bootkit I would suggest you to try:

1) upgrade your radio (wich you already did, I guess you flashed a full new rom with that radio, if you didn't do it, do it now or you'll have a lot of problems on windows mobile too, and that may be a reason why it doesn't boot linux too as it doesn't reset some parts of the phone well, i.e. i2c)

2) Check that your microSD card has no filesystem problems (check it from windows with a card reader)

3) If you are using my latest build, remember to keep the USB wire connect until it starts booting (after haret disappears).

4) Check the paths on default.txt, if you're using a different language version you'll have to fix the paths (from your logs its ok, but god knows what windows mobile does sometimes).

5) If you don't have a SIM inserted (or in Offline mode), linux will NOT boot.

6) If you don't have PIN disabled, it may boot, but it won't get network coverage.

7) Also, you can try to copy haret.exe default.txt initrd.gz and zImage to \My Documents\. Change the default.txt path to initrd accordingly and try to boot.

I have the same Nike model you have, and your device is not special, neither different to others where it works without a problem. But you do have something messed up. So please, check this out, and if it doesn't work, post and we'll try to help you, but don't get mad at the people who's trying to help you unless you really don't want them to help you.

For last, you can also read the wiki, as it has some of the advices I just wrote here.

Regards.
[Touch Dual, MDA Touch Plus ROM Development] ohookins:
I have no doubt that a later radio rom will affect how the device operates as a phone within Windows Mobile and Android, but we are talking about booting the kernel which has nothing to do with radio operation.

I have definitely upgraded to the latest available radio rom, as previously mentioned.

Sadly I have no adaptor for the microSDHC card so I can't read it in my machine. I previously downloaded Pocket Mechanic and formatted and checked the card though and that was fine. It's a brand new Sandisk 8GB SDHC card.

Is this really necessary? What if I want to start Android away from a computer later? In any case I've tried this a few times and it doesn't appear to have any effect having the USB connected when running default.txt in HaRET.

These are all unchanged from the provided boot kit. It's an english language rom so it should be fine.

I haven't had a SIM inserted at all up until this point, but linux has booted successfully a few times. I know for certain that any time I did have a SIM installed, linux did not boot on those occasions.

I don't believe I have a PIN on the SIM card, but I'm not even up to the point where I can reliably get into Android so that's the least of my worries. I'll try changing paths, but from my reading of this thread it seemed like linux won't be able to read internal memory... or do you mean move everything to \My Documents\ under the storage card?

I completely appreciate your help on this and all the work you and others put in, I just don't like stumbling in the dark trying to find a solution rather than using a more scientific approach. Trial and error just wastes too much time.
[Touch Dual, MDA Touch Plus ROM Development] meisterlampe2000:
I´ve read somewhere, that there are Problems with Haret booting from SDHC Cards & "Big" Partitions...

Up to that reason, you should add a small 200mb Partition to the first sectors of your sd card - And copy Haret&Android to that partition

50/50 chance, but i think you should give it a try !
[Touch Dual, MDA Touch Plus ROM Development] biktor_gj:
You may run into a lot of problems with that mate :), if Android detects a second partition on the sd it will think it's a data partition (it's coded that way on the initrd.gz), and then you're going to have a looot of problems...

I would try, if nothing from my previous post works,you can try using a 1gb card, but I've been using an unbranded 8gb sdhc card from ebay with no problems at all. Formated on fat32, with one partition. Indeed, that's what I use for kernel development. I use a 1gb card for android devel, and never had a problem either.
[Touch Dual, MDA Touch Plus ROM Development] Liquid-Silver:
Hi this is just a heads up that I've made some changes to wiki regarding the niki, specifically the GPIO and CPLD section. I've added some USB info to the CPLD section.

I was just wondering what area's people would like me to look into? I also don't want to clash with work biktor_gj might be doing. I really don't know much about the android userspace side of things so I'd be probaly best sticking to the kernel side.
[Touch Dual, MDA Touch Plus ROM Development] meisterlampe2000:
I didn´t know that i could be running into Problems with that Partition scheme. Thank you for the clue.

In fact, i´ve never had any Problems with Android by now. Okay, Storage is getting low by now :) But that´s my only Problem.

I hope you will go on developing that thing - Many Thanks to you !!
[Touch Dual, MDA Touch Plus ROM Development] ohookins:
Well I don't know what that rom update contained but it's now working. I owe you many thanks. On the initial boot screen the line that reads "D" now has 2.15 instead of 1.something so whatever that component references obviously has now been upgraded and works with Android.

The USB needing to be connected during boot is a bit of an annoyance but I guess it is early days still. Why is it that this is a requirement on the most recent kernels and not on earlier ones? One of my co-workers has a Neon and he doesn't need USB connected to boot... maybe different hardware I guess.

Thanks again biktor_gj for your help.
[Touch Dual, MDA Touch Plus ROM Development] NemanjaLO:
Great !!!

Just downloaded latest bootkit, and I can say that this is the greatest OS I ever had.

I was trying WM6.5 and WM6.1 custom ROMs and nothing was so fast as Android. Looks great, works smoothly, GREAT JOB!!! Keep going...

I have just one little problem SMS not working (Device HTC NIKI, Radio: 1.65.29.22), I hope this problem will be solved soon.

Thanks for this Android Port. You are the best. I will recommend it to all friends.

Thanks again.
[Touch Dual, MDA Touch Plus ROM Development] biktor_gj:
oooh man just saw that, you've made my life looot easier! I'm actually working on three things at the same time: AC charger (expect to be working in half an hour), usb (just started), camera (started tricking with the kernel module, getting gpios on its place, no success btw), and bluetooth (wich I think it's already working but not too sure because of android).

I still have to add some pins to the gpio table on the wiki, and correct some things (like usb detect wich is not that, headset button...)

I've sent you a PM!

@ohookins: told you it would work :) The reason why now you need usb plugged is because of a bug. It will be fixed eventually.

@all: On the next hours I will post a test kernel with latest fixes on backlight and charging control enabled with both normal charge (over usb) and fast charge (ac adapter)

Regards!
[Touch Dual, MDA Touch Plus ROM Development] biktor_gj:
Hi all! As promised, here you've got a new kernel build:

Changes from last kernel:

Beter keyboard backlight management: Now when the screen goes off, kbd backlight goes off (unless you slide the keypad, will fix that soon)

Charge control: Kernel detects if it's running on batteries, usb or ac adapter. If it's usb, it enables slow charge, if it's on AC, it enables fast charge. It should disable the charge once battery has reached 100%. You can check through dmesg on the terminal if it has reached that state and has disabled the charge.

NOTE: It may do strange things, and it may be dangerous. I took all the cautions I could, but there may be a choice it breaks something, and on extreme situation it may burn something ( by now the kernel doesn't care if temperature is too high, or if there is some sort of problem anywhere), so USE IT AT YOUR OWN RISK, I will not accept any responsability if the phone explodes in your hands, ok?

Rapidshare (as always): http://rapidshare.com/files/212524185/zImage
[Touch Dual, MDA Touch Plus ROM Development] ducamie:
i love you :)

charging now..

windows even detects it, linux doesnt however, strange. great job. im gonna leave it running all day, charging in between.
[Touch Dual, MDA Touch Plus ROM Development] biktor_gj:
I removed the previous download link, because I've changed a lot of things after publishing it. Here you've got a second run. The same as before, but it's cleaner, doesn't restart charge all the time (my phone got quite hot), and, I think, it should stop charging by itself when reaching 100%, but Im not too sure, so don't leave it plugged without paying attention to it just in case.

Added led indicators for battery too: RED -> Charging from AC cord. ORANGE: Charging from USB

Rapidshare: http://rapidshare.com/files/212575243/zImage
[Touch Dual, MDA Touch Plus ROM Development] excogitation:
So you should be fine ;-)
[Touch Dual, MDA Touch Plus ROM Development] ducamie:
thanks! nice!

though, im getting orange led for both ac adapter and usb.
[Touch Dual, MDA Touch Plus ROM Development] rickman2003:
is there any trick or hint on how to write a sms? cause i would like to do so but the virtual keyboard is not popin up an hardware keyboard is not supportet somehow. espacialiy in the last releases. but thx for your hard work!
[Touch Dual, MDA Touch Plus ROM Development] biktor_gj:
I think you plugged the charger too fast :)

When you see orange and android says it's charging disconnect usb, wait until android knows it's not charging anymore, then plug ac adapter, it should work :) If you change wires too fast android isn't going to notice you swapped the wires. It needs some seconds to understand that you really unplugged the cable :)

@All of you pissed of by sms writing. Was there any bootkit where it worked ok? If so, wich one of them? If you tell me that I can compile another system.img with messaging application changed. It may be buggy, but it should work, and since my android source denies to compile (it says something like "f**k you I'm not going to compile even if you have it all fixed) I can only take it from somewhere else :)
[Touch Dual, MDA Touch Plus ROM Development] rickman2003:
i think it worked on your first release and on that with number 2302.

the later ones have issues.
[Touch Dual, MDA Touch Plus ROM Development] cunter:
Didn't McLin offer to do a new system? If there are language problems i offer translationhelp.

Here: http://xdaforums.com/showpost.php?p=3501835&postcount=390
[Touch Dual, MDA Touch Plus ROM Development] ducamie:
biktor, you were right :) i switched too soon, works great now. thanks.

text app worked in this bootkit i put together (real old).. we've come a long way!

http://www.megaupload.com/?d=E1K6DO7L

i might be crazy but this sys image seems to have resized well with the new kernel, resolution seems a lot better. full but clear.

another bug ive noticed is, it seems to crash the touchscreen pretty quickly if you mess with the widgets constantly.
[Touch Dual, MDA Touch Plus ROM Development] McLin:
I upload an German / English Android 1.1, but need help, how I can build in the Market app, which file I need?

ADP 1.1 System.img

You interesting on Cupcake?
[Touch Dual, MDA Touch Plus ROM Development] cunter:
This doesn't work for me with the latest files of biktor_gj:

Failed to mount

Invalid arguments
[Touch Dual, MDA Touch Plus ROM Development] ducamie:
works for me, did you delete the data.img and let it rebuild?
[Touch Dual, MDA Touch Plus ROM Development] McLin:
What you mean?
[Touch Dual, MDA Touch Plus ROM Development] cunter:
I treid moving the data.img to a backup folder, but it still doesn't work.

Thats what it says exactly:

GSM Phone found
cat: can't open '/sys/block/mmcb1k0/mmcb1k0p2/size': No such file or directory
mount: mounting /dev/block/loop1 on /system failed:
Invalid argument
Failed
Failed to mount /system
/bin/sh: can't access tty: job control turned off
#
[Touch Dual, MDA Touch Plus ROM Development] McLin:
Data.img you mean this file?

You want cupcake 1.5? Or what...

This is the Version I used on my G1, its the official ADP Holiday Image, that include, Latitude, Market, PaidApps, but no German language, tomorrow I will see that I buld an Image with all include.
[Touch Dual, MDA Touch Plus ROM Development] ducamie:
thankyou mclin, the sys image is great! there are problems i think with compatibility im not sure.. sms didnt seem to work though the application worked great.

****er (love the name), did you try pasting in the files from bikors last bootkit minus the newest kernel and system.img and starting a fresh? maybe android modified some of the files and cant boot. like i said, it worked for me, there is something wrong on your sd.
[Touch Dual, MDA Touch Plus ROM Development] biktor_gj:
McLin, did you change the ril library? Maybe that's the reason why you're having problems with messaging. Pick last system.img, mount it, and on /lib/ you have to copy two files:

libreference-ril.so

libril.so

copy them to your system image and I think it should work just fine!
[Touch Dual, MDA Touch Plus ROM Development] McLin:
Pls 2morrow is the first what I do...

Till there just tell me what you need in the image...
[Touch Dual, MDA Touch Plus ROM Development] cunter:
I cheched the SD, i made a fresh copy of biktor_gj's bootkit and pasted his new kernel and the system.img of McLin into it. Then i copied all the files to my phone. Still doesn't work.

I checked the system.img files with the unix "file" command.

from biktor_gj:

system.img: Linux Compressed ROM File System data, little endian size 33972224 version #2 sorted_dirs CRC 0xce470d10, edition 0, 12094 blocks, 384 files

from McLin:

system.img: VMS Alpha executable

what's wrong?
[Touch Dual, MDA Touch Plus ROM Development] ducamie:
charging also doesnt work with mclins sys.

edit:sorry i take that back charging works :)
[Touch Dual, MDA Touch Plus ROM Development] ducamie:
thats weird, i double checked and re-tried. it definately works for me. you have your usb in right?
[Touch Dual, MDA Touch Plus ROM Development] cunter:
Yes. If i copy biktor_gj's bootkit, everything works. If i use McLin's system.img it doesn't.

Could you send me or reupload the system.img to rapidshare? Maybe the file is wrong. A MD5 hash would do it do.
[Touch Dual, MDA Touch Plus ROM Development] ducamie:
http://rapidshare.com/files/212778525/nike.rar.html

heres the android files straight from my sd.
[Touch Dual, MDA Touch Plus ROM Development] cunter:
Thank you very mouch. Finaly a german android!

It works, also your system.img is recognized as:

system.img: Linux Compressed ROM File System data, little endian size 32223232 version #2 sorted_dirs CRC 0xe1af666b, edition 0, 11484 blocks, 378 files

Maybe some problems with downloading or extracting.
[Touch Dual, MDA Touch Plus ROM Development] RicardoCosta:
Everything good except

Hi everyone, for me everything is working like a charm ;)

The only thing is not working is that i can't capture any network, do you know why?

I've already looked in the forum but didn't saw nothing that could help me

thanks for your time, and keep up the good work
[Touch Dual, MDA Touch Plus ROM Development] McLin:
Here is the new System.img with Amazon MP3, togga, pacman, terminal emulator, and the files for messenging...

Its the official Holiday Image.
[Touch Dual, MDA Touch Plus ROM Development] xangma:
So what is there left to do now?
[Touch Dual, MDA Touch Plus ROM Development] McLin:
I did reupload a new image... Just tell me, if you need more things...
[Touch Dual, MDA Touch Plus ROM Development] biktor_gj:
Hi McLin, your last system.img is not working, at least for me. It can't get to mount the partition (Invalid argument)

What filesystem type are you using? Because it doesn't even let me mount it on ubuntu, so I guess it's yaffs2 or something like that.. (cramfs works just fine with my os)
[Touch Dual, MDA Touch Plus ROM Development] ohookins:
Hey biktor_gj, I'm keen to help out trying to get any of the last few problems sorted out. Is there a single git tree that you guys are all working on or does everyone have their own personal tree? If there is at least something I can check out and submit patches that would be fantastic.
[Touch Dual, MDA Touch Plus ROM Development] McLin:
yaffs2? Its standard by Android... I will change it and upload...
[Touch Dual, MDA Touch Plus ROM Development] cunter:
The system.img straight from ducamie's SD work. If this system.img is the same as McLin's then something strange is happening, as ducamie's system.img is mountable on ubuntu.
[Touch Dual, MDA Touch Plus ROM Development] biktor_gj:
dzo's intird runs well on cramfs, but not with yaffs2 (neither does the kernel), I think that's the issue...

If you want to check it, it's as simple as:

Unpack your yaffs2 system img to a folder, then run

mkfs.cramfs folder_where_you_hold_your_files/ system.img
[Touch Dual, MDA Touch Plus ROM Development] McLin:
Yeah I repack... What about the userdata.img? should I include this part in the system.img?
[Touch Dual, MDA Touch Plus ROM Development] biktor_gj:
data.gz is an empty formatted partition, no more. userdata.img has the recovery.img we don't need, not much more, so you can delete it without a problem :)

@ohookins: now the git code seems to be broken for the polaris since the audio patch (proc comm and proc_comm wince dont deal well with each other). When I get to fix it you can take all the sources from the git tree at linuxtogo (instructions are on the wiki). I still haven't commited the charging code yet, but I will as soon as I fix the polaris problem
[Touch Dual, MDA Touch Plus ROM Development] McLin:
It need time, I must compile the kernel, cos I didnt have the modul yaffs2:D
[Touch Dual, MDA Touch Plus ROM Development] biktor_gj:
Hi all

Just so you know, I have updated the git. Changes are, fixed the problem with polaris-ts wich prevented the htc polaris from boot (but not nike with polaris mtype though), added cable detection and charging, and started at configuring the camera from the module itself (not working btw).

Regardsª!
[Touch Dual, MDA Touch Plus ROM Development] McLin:
2morrow new System.img, before I start, pls give me response what you need in the image, or if it ok like it is...
[Touch Dual, MDA Touch Plus ROM Development] McLin:
Which image size we shoul take? I think you need place for apps?
[Touch Dual, MDA Touch Plus ROM Development] biktor_gj:
You don't need to leave space on system.img for applications, as no data is written there. All the information and applications installed on android are copied on data.img. Furthermore, if you build a normal cramfs image (mkfs.cramfs folder/ file.img) you don't need to specify size for it, as the image will be the size of the folder you take the files from.
[Touch Dual, MDA Touch Plus ROM Development] ohookins:
So this is now committed in the tree at

git://git.linuxtogo.org/home/groups/mobile-linux/kernel.git ?

And just to clarify, we should all be running with mtype of 1852 representing HTCNIKE ?

For (mostly) my own benefit later (because I keep forgetting the URL to it) the machine type register is located here - http://www.arm.linux.org.uk/developer/machines/download.php
[Touch Dual, MDA Touch Plus ROM Development] biktor_gj:
yes, that's the address for the git, but no, nike's mtype is 1724. Jerpelea put 1852 at first, but when I did the initial support for nike on git I put 1724 as the mach type. All the registered machtypes for arm are at arch/arm/tools/mach-types
[Touch Dual, MDA Touch Plus ROM Development] ohookins:
Hmm, techically that is incorrect and should be changed. 1724 is the machine type for the Kaiser, and 1852 is the machine type for the Nike:

htc_kaiser	MACH_HTC_KAISER	HTC_KAISER	1724

htcnike	MACH_HTCNIKE	HTCNIKE	1852
[Touch Dual, MDA Touch Plus ROM Development] NemanjaLO:
Internet

Does anybody knows how to connect to internet?

My network settings are: APN:gprswap, UserName:mts, Pass:064.

I have entered these setting in dexault.txt in bootkit, but nothing happens when phone boots.

Please help!
[Touch Dual, MDA Touch Plus ROM Development] biktor_gj:
Nope, Kaiser mtype is 1553, you only have to read on default-kaiser.txt. I don't know where you got that but it's all wrong.

Htc Vogue is 1667

Htc Kaiser is 1553

Htc Polaris is 1723

Htc Nike is 1724.