yashsingh1/xdaforums huggingface dataset:
[Tilt, TyTN II, MDA Vario III Android Development] 2girls1cup:
Just a recommendation for the moderator of this thread, I believe that with the growing popularity of android on kaiser, the main page should be organized so that noobs know exactly where to get the latest bundle, installation instructions, and troubleshooting. I know there is a wiki for it but it would make it just easier and more organized if the main page was updated. When I first installed android I had to do alot of clicks and open up alot of windows to get all the stuff and information I needed. Just my opinion.
[Tilt, TyTN II, MDA Vario III Android Development] zenulator:
Wifi anybody? None of my test builds are giving wifi for you kaiser guys. Give me the exact files you need in the exact places and I'll put it in there. I tried to mirror how ion does it with symlinks but I guess I'm missing something.
[Tilt, TyTN II, MDA Vario III Android Development] vilord:
zenulator: you need symlinks for wlan.ko and wlan_loader.

Then you also need to uncomment the wifi.interface lines in build.prop.

That should hopefully be all you need to do. In fact the wlan_loader link might not even be necessary, the most important part is the link to wlan.ko
[Tilt, TyTN II, MDA Vario III Android Development] zenulator:
Thanks I guess your the man now. I commented the build.prob because I use a vogue without wifi.
[Tilt, TyTN II, MDA Vario III Android Development] enatefox:
It's all good, we've had so many posts about wifi not working :). I attached the exact files on your thread and the perms for su to work. I'm not sure about what Vilord is suggesting with symlinks. The files that are there are wrong, the ones I attached are right. The PATH is set to override the symlinks. You can fix that and it may work then or you can do what I've done which is confirmed working by everyone that tested it. I should say that I love the themed and ported builds, so thanks for keeping them coming.
[Tilt, TyTN II, MDA Vario III Android Development] zenulator:
I've done that in my latest test build and still have people say it didn't work. I even used the ion build.prop. So now I can't tell if it's on my end or their end.
[Tilt, TyTN II, MDA Vario III Android Development] zenulator:
I tried that and couldn't get the image working with my vogue. I tried your modified image and also couldn't get that working with my vogue. Is wifi working for you in the unmodified ion builds? I'm going to try again and if I don't get it right then I'll just host your kaiser modified builds on the vogue-hero google code page. Thanks for using my builds and I'm glad you managed to get wifi working on them.
[Tilt, TyTN II, MDA Vario III Android Development] enatefox:
Yea, ION is good-- wifi and su working. I grabbed the files I attached from 8-8-9's ION on Google Code. What's not working-- it won't get past the logo?
[Tilt, TyTN II, MDA Vario III Android Development] zenulator:
Yea send me a link to my hero build with your modified wifi and su. I'll take a look at it again. Also still playing around with xROM?
[Tilt, TyTN II, MDA Vario III Android Development] enatefox:
I'll PM you the link with md5 sigs so you can confirm if a build will work. xROM is a full-time thing. Are you still developing that? I got 1.3 earlier to look at how cyanogen and others got compcache to work on a G1. This has a video comparison showing it slow down a G1. This might sound stupid but can we run swap from internal memory and would that wear the nand ROM faster?
[Tilt, TyTN II, MDA Vario III Android Development] zenulator:
compcache requires a newer kernel right now we're on 2.6.25. so if somebody wanted to port the 2.6.29 to our devices then all we have to to is make the ramzswap kernel module and set the system up to use it. as for xROM i've got it to reboot but through adb. the toolbox reboot line in the shutdown script has the wrong parameters.
[Tilt, TyTN II, MDA Vario III Android Development] ljinsane:
Honestly I think alot of those posts are a result of user error.

I've had wifi working (on a hero build no less) for quite sometime now, point certain people to the builds and files to use...and they still could not get it to work.
[Tilt, TyTN II, MDA Vario III Android Development] enatefox:
Can you share or fix the shutdown script? I'm hard resetting but I usually have my phone on. JACxHERO 1.2 has compcache modules included, swap support and 2.6.29 kernel.
[Tilt, TyTN II, MDA Vario III Android Development] zenulator:
Yea but the kernel doesn't work on our phones. I've tried. As for xROM if you have su working change the line in the shutdown script to toolbox reboot -np and repack the image. You can also type that if you have a adb shell open. I don't use xROM that much but I would like to see it shutdown correctly. Between work and hero i've put it on the back burner.
[Tilt, TyTN II, MDA Vario III Android Development] X46X:
Yes I reboot few times, and try few build :(

A jinak ahoj "bratře" :D
[Tilt, TyTN II, MDA Vario III Android Development] enatefox:
/sdcard/media/ right? What build and date are you using?

Are there any outstanding issues that need log files? I can write the scripts to make a folder on the home screen with buttons to run logs that can be dumped to the SD card or even automatically pushed over data or wifi if the user wants to submit a bug. Can go straight to the project site in a consistent, formatted way. Devs can run my scripts on an image and release them so it's simple for the user. I'm looking at making a widget to show updated build notifications.

Also, su should be from rootfs.img and when I swap PATH to use it, it just jumps right into root. Can someone update it (chown root:2000 su && chmod 4755 su) so it shows:

-rwsr-xr-x 1 root 2000 50602 1969-12-31 19:00 su

That will make SuperUser app work for terminal and apps the way it does on G1 rooted phones.
[Tilt, TyTN II, MDA Vario III Android Development] Magister2k7:
Well, compcache (or, newer name - ramzswap) works ok with our kernel.

Just grab my initrd from http://magister.ipsys.net/files/android/initrd.gz and boot.
[Tilt, TyTN II, MDA Vario III Android Development] MOUSEY:
I'm curious, does that mean we do not need a swap file anymore after compcache is stable in our system ?

Anyway thanks, I'm testing it out now...
[Tilt, TyTN II, MDA Vario III Android Development] enatefox:
It doesn't need a seperate partition on the SD card? I haven't been able to figure out how to do it without one.

You can have both swap and ramzswap also supporting a backing store but it would be difficult to gauge useful benchmarks I think because you wouldn't be controlling which one it uses so you can't tell how much it actually was responsible for on any given test. Unless someone knows what controls that?
[Tilt, TyTN II, MDA Vario III Android Development] MOUSEY:
Looks like there are work to be done... In the current rootfs, the swap had been enabled but not effectively used. I think would need to tune the init scripts if want to get compcache working properly...

http://code.google.com/p/compcache/wiki/CompilingAndUsing
[Tilt, TyTN II, MDA Vario III Android Development] enatefox:
The link is for the older version of it. That only supports block devices but the new one can use a file which is perfect for us. I need help figuring out where to mount it. Most guides refer to /dev/mtd/mtd3 but I think it's occupied on startup. How would you reference it? I'll work on a kernel with it compiled this weekend maybe I can make progress but a reference on compiling that will ensure current features remain would be good.
[Tilt, TyTN II, MDA Vario III Android Development] zenulator:
rootfs.img is something vilord takes care of. are you saying the permissions aren't correct in the rootfs.img? i can correct that pretty fast if you want and put it on my site until vilord takes care of it. I don't use the SuperUser app. What do you need it for anyway.
[Tilt, TyTN II, MDA Vario III Android Development] CrashnBrn:
Edit: Solved

I'm special. In case anyone has the same issue and didnt search (me). You need to delete the other default files and rename the one you are going to use (ie: kaiser, polaris) to default.

Doh!

I can't seem to figure out why this is not working?

I'm trying to get Android 1.5 running. I installed Abu's X.X8 final (6.1) formated the card to fat32, copied the files over and click on HaRET. It just stays on booting linux.
[Tilt, TyTN II, MDA Vario III Android Development] edboy206:
has the sms bug been fix yet?
[Tilt, TyTN II, MDA Vario III Android Development] solmy:
good work and system linux the wonderful

thank you
[Tilt, TyTN II, MDA Vario III Android Development] MOUSEY:
I got my hands dirty a few days ago and did the chown and chmod on the su. Once repack, the image doesn't seem to boot. I guess you would have better idea of what is going on. If posted, I'll be very happy to help test it out.
[Tilt, TyTN II, MDA Vario III Android Development] enatefox:
Anyone that can fix rootfs' su probably should and builds would have to link or override. As is, an app can switch PATH and have root access so a malicious script can <insert monstrosity>. SuperUser app, already in most builds, allows more control for the user over what tasks are allowed by a program and it would work when su is set. Might as well work the way it does on the G1 which is here.
[Tilt, TyTN II, MDA Vario III Android Development] buckfyter:
Rom for Android

I don't post offten on XDA but this is something I need to know.

Would it be possible to cook a rom with absolutely no functions in it at all?

All it should do is run HARET.

The current android for Kaiser is almost good enough for daily use. So something slim and fast when restarting the phone would be the bomb.

Hope that someone knows the answer
[Tilt, TyTN II, MDA Vario III Android Development] Magister2k7:
I think it would be better to use only ramzswap, because for kernel there is no any difference between it and traditional swap, and (as far as I understand) it will use them equally.

So, to have more speed, disable swap and use only ramzswap (with baking store if you want, so flash will be used only when it is really needed).

You can just extract modules and simple startup script from my initrd. Beware, that for some reason it does not creates device node automatically, so I modified MAKEDEVS script to do that.
[Tilt, TyTN II, MDA Vario III Android Development] jwspcr:
adb issues???

Can someone please post a step by step guide on how to install the adb driver for Kaiser? I mean elementary style because i have no clue on how to get it to work :confused::confused::confused:
[Tilt, TyTN II, MDA Vario III Android Development] enatefox:
On Windows:

If you’re developing on Windows (32-bit only), you need to install the USB driver for adb:

1. Download the driver ZIP file and unzip it.

2. Connect your Android device via USB. When the Found New Hardware Wizard appears, you’ll be asked if you’d like Windows Update to search for software, select No, not this time and click Next.

3. Select Install from a list or specified location and click Next.

4. Select Search for the best driver in these locations. Browse and select the unzipped file.

Done

On Ubuntu Linux

1. Plug-in your device then exec command ‘lsusb’ then you will see the list of current usb devices

Bus 003 Device 023: ID 18d1:d00d

You will see a device appear when it's plugged in and disappear when it's unplugged. In the above example, it is located at line 1, “Bus 003 Device 023: ID 18d1:d00d”, without device provider.

2. Login as root and create this file: /etc/udev/rules.d/50-android.rules

For Gutsy through Karmic, edit the file to read:

SUBSYSTEM=="usb", SYSFS(idVendor)=="18d1", MODE="0666"

For Dapper, edit the file to read:

SUBSYSTEM=="usb_device", SYSFS(idVendor)=="18d1", MODE="0666"

P.S. the "18d1" is hard coded in android/kernel/drivers/usb/gadget/android_adb.c

#define DRIVER_VENDOR_ID

3. Then:

chmod a+rx /etc/udev/rules.d/50-android.rules

4. Restart udev to make the rule active.

sudo /etc/init.d/udev restart

Done

Then with the Android SDK there is the adb tool that you connect with. Plug the phone in, open adb and you should be good.
[Tilt, TyTN II, MDA Vario III Android Development] jwspcr:
Thanks. Will give it a try
[Tilt, TyTN II, MDA Vario III Android Development] jwspcr:
Ok. It finally installed Android Sooner Composite ADB Interface. Now, What is the tool that is used in the SDK folder to launch it? Thanks!
[Tilt, TyTN II, MDA Vario III Android Development] enatefox:
Go to where you extracted the SDK in a console or command prompt and run tools/adb.

android-sdk-linux_x86-1.5_r3/tools/adb

you run "adb devices" to list the connected devices and you'll see "device" with no serial #. You can run "./adb -d shell" without needing to tell it which one if there is only one device connected. That will give you a root prompt on the phone. Google will guide you through anything else you want to do like "adb install <package>"
[Tilt, TyTN II, MDA Vario III Android Development] MOUSEY:
enatefox,

Can you share with me the location of the bootup image and sound file for Android ? It's pretty loud for comfort ...Thanks
[Tilt, TyTN II, MDA Vario III Android Development] enatefox:
always "/system/media/" and I tend to use ffmpeg to strip the audio out of boot.mp3 so it's silent.
[Tilt, TyTN II, MDA Vario III Android Development] MOUSEY:
Thanks for the information, you're very supportive ! :)

Anyway with your scripted guide, I was also able to load WIFI into some test builds by other devs. Planning to use the more stable build for my own research purpose. I'm just skeptical about chown and chmod the su. It fails to boot so... :(

Here's something I also noticed. There may be looping logos on your first boot but don't just give up yet. If it happens, just soft reset your device back to WinMo and load back Android again. My own modded system.img works after a few boot ups...
[Tilt, TyTN II, MDA Vario III Android Development] killa-mckilla:
i have to say. i tried both the hero and Ion builds today

i am in love with the Ion build.

cant wait for it to actually someday become one of our "roms"
[Tilt, TyTN II, MDA Vario III Android Development] enatefox:
I love ION but am in love with Hero since the latest image was uploaded. They finally are close to each other in performance. I have AthineOS Naked ROM and it is less than 2 minutes to boot. I have no apps installed on it and can quickly hit the button for Haret and it launches so it's just as good as being flashed for me. ION has always loaded quick but Hero is actually catching up with just a swap file and some tweaks.
[Tilt, TyTN II, MDA Vario III Android Development] killa-mckilla:
what i like about Hero is the HTC widgets. its always nice to have a choice of clocks and calendars. haha

but im really impressed with ION.
[Tilt, TyTN II, MDA Vario III Android Development] MOUSEY:
Event scripts

Hi all devs,

Can someone share with me to a location where I can edit scripts for the following events ?

1) Startup

2) Suspend

3) Shutdown

Thanks.
[Tilt, TyTN II, MDA Vario III Android Development] vilord:
fyi for the vultures and other devs, new rootfs with compcache, thanks to magister for the scripts and help.
[Tilt, TyTN II, MDA Vario III Android Development] whhuang:
Thanks! Hopefully I'll get the bugs on my phone fixed.
[Tilt, TyTN II, MDA Vario III Android Development] vilord:
for the error you posted about, you just need to make an outgoing call first and then incoming calls will sound fine and won't crash the radio.
[Tilt, TyTN II, MDA Vario III Android Development] whhuang:
Thank you!
[Tilt, TyTN II, MDA Vario III Android Development] enatefox:
compcache is starting up but giving me some errors. I don't know which log would show boot info. However, using Zen's newest Pure Black and the newest rootfs, about 19Mb of free RAM versus about 1.5 to 2.5Mb before with Rosie running.
[Tilt, TyTN II, MDA Vario III Android Development] vilord:
I'm not sure that any of the logs will show boot info...

if you think the error is definitely in the compcache loader, then modify init in the rootfs and comment out where it runs ramzswap (towards the bottom)

Then, once the phone is loaded up, connect in from the outside and run it from the command line and you should see whatever errors.
[Tilt, TyTN II, MDA Vario III Android Development] ruizit0:
vilord the last kernel for kaiser was deprecated... the above kernel zimage-15-08-09 has the last updates that kaiser kernel has ? like kaiser wifi and keyboard lag fixed ?

thanks
[Tilt, TyTN II, MDA Vario III Android Development] vilord:
it should, yes.
[Tilt, TyTN II, MDA Vario III Android Development] enatefox:
Swap is working as I posted in the screenshot on the last page. There's errors when it starts including that the swap size wasn't stated explicitly and some other things but it does load. Then it scrolls quickly to boot so it's hard to read it. It might not be optimal though with those issues. Right now with some widgets and Hero, mem is 1,944 free and swap is 12080 free and it acts accordingly. Thanks to everyone who got that working. I'll see if I can try to log that since some errors have suggested fixes so that should be easyish. I'm running free and top through ADB, have dmesg but not sure what else I could look at with it.
[Tilt, TyTN II, MDA Vario III Android Development] baz:
Thanks, will be good to get some feedback.

I have noticed an issue with data that causes an instant reboot. Be warned ;)

Barry (ginge)

EDIT: here is the 2.6.25 diff if you are interested

http://www.headfuzz.co.uk/files/android/git-diff-2.6.25-090808.diff
[Tilt, TyTN II, MDA Vario III Android Development] xmoo:
2 More day's and I'm BACK!!!
[Tilt, TyTN II, MDA Vario III Android Development] xmoo:
Back BABY!!! LEt the developement begin!
[Tilt, TyTN II, MDA Vario III Android Development] AciDCooL:
yesss! Ive been dreaming of this day :p
[Tilt, TyTN II, MDA Vario III Android Development] icewhitenewyear:
Well, im excited! haha
[Tilt, TyTN II, MDA Vario III Android Development] shadowline:
I LOVE YOU!!! i mean uhh... Welcome back!
[Tilt, TyTN II, MDA Vario III Android Development] xUmaRix:
well i have LG KS 20 usgin v10a ROM and i could get android boot up using :

[+] haret-20080726f.exe

[+] initrd-android.txt from 4shared

key could work but wrongly mapped.Call button going up,Hangup button going down.up center key kinda select the menu.
[Tilt, TyTN II, MDA Vario III Android Development] xmoo:
What is your default.txt ?
[Tilt, TyTN II, MDA Vario III Android Development] xUmaRix:
set RAMADDR 0x10000000
set MTYPE 1667
set KERNEL zImage
set INITRD initrd-android
boot

zImage i get from code.google.com
[Tilt, TyTN II, MDA Vario III Android Development] baz:
Welcome back Xmoo!

No takers on my power management kernel? Cmon, it is supposed to make you all tingly!

ginge
[Tilt, TyTN II, MDA Vario III Android Development] jokies:
Fun enough! I'm looking forward to a chinese version.
[Tilt, TyTN II, MDA Vario III Android Development] gregnapola:
Can't find KERNEL image...where did you find it ? I've an LG Ks20 with 10a ROM but I don't manage to boot all images i've tried...Could you post the link please ? :o
[Tilt, TyTN II, MDA Vario III Android Development] fb401:
ha @ makes you all tingly.

Yes I've finally gotten around to trying it and it works just like it should.
[Tilt, TyTN II, MDA Vario III Android Development] xmoo:
Rename initrd-android.txt tot initrd-android.bin
[Tilt, TyTN II, MDA Vario III Android Development] bandur:
T-mobile HTC raphael like android OS phone next month?

http://blog.wired.com/gadgets/2008/08/first-google-an.html

That would be interesting .....
[Tilt, TyTN II, MDA Vario III Android Development] xUmaRix:
u need to find zImage that actually boot up for any kernel.

i'll try to upload my zImage that i got from code.google.com.U could try to boot to any kernel u wish.However touch screen dosen't work.U could any button to navigate.
[Tilt, TyTN II, MDA Vario III Android Development] bornotty:
please people tell me how to run this on my htc touch (elf) look at this video http://www.youtube.com/watch?v=z0e_ACIenhY

and ive seen this whole thread.. is'nt there any proper tutorial for this ?? :( thanx..
[Tilt, TyTN II, MDA Vario III Android Development] shadowline:
Rumor has it that a new SDK is out.... :D

For those that dont like to read a lot. Here is a quick list of some of the more major updates.

New UI

Media Player

Calculator

Photo Viewer

New Desktop (widgets)

Messaging app

Camera App

Updated Maps App

New Dialer (still no on screen dial button though)

New Icons

New Programs Page

And not to mention a sexy new android boot logo.

Get it at the official Android Site

http://code.google.com/android

Other Notes:

Now includes ringtones. Notably some named ones like "Dream Theme."

Also in contacts, the ability to send calls from a contact directly to voicemail.

It appears there is no software keyboard yet. And that android itself is built a bit around a slide out keyboard. (see messaging app)

No Settings App Yet.
[Tilt, TyTN II, MDA Vario III Android Development] slovoflud:
Fantastic news! Thanks for the info!
[Tilt, TyTN II, MDA Vario III Android Development] Mr17:
not much to do with the android for kaiser, but perhaps when the ROM gets ripped it would help

http://tmonews.com/2008/08/android-info-galore-2/

htc dream will be the first phone with android, released to tmobile customers first.
[Tilt, TyTN II, MDA Vario III Android Development] MOUSEY:
I had halted the init script from loading ramzswap and tried to manually execute via ADB. It does not report any error in the insmod and had worked till the end of the script itself. I'll try to run the script at the end of the init file and see how it goes...
[Tilt, TyTN II, MDA Vario III Android Development] sllyname:
Native ROM install

Now that many things are working, what are the steps to turn this into a native rom and remove windows all together?
[Tilt, TyTN II, MDA Vario III Android Development] radem205:
It's definitly better to make Android fully functional before making a ROM. There are a few things need to be done, like some problems with the radio and bluetooth.
[Tilt, TyTN II, MDA Vario III Android Development] tembares:
To give you the experience of having a ROM build, rename default.txt to startup.txt.

Copy a shortcut from Haret to /Windows/Startup (english version of WM).

When you soft reset, Haret will be run automatically. When you want to start in Windows, just unplug the SD Card and do a soft reset, until the Windows Home screen is there.
[Tilt, TyTN II, MDA Vario III Android Development] MOUSEY:
It may sound like a good idea but if the rom/build ended in an endless loop - it would spell trouble !

Anyway, if that happens, eject your sdcard from the device and do a soft reset. Plug in back when WinMo boots up again.
[Tilt, TyTN II, MDA Vario III Android Development] tembares:
I have all my files in the root of my SD card, including Haret.

As I wrote before, I copied a shortcut to the Windows Startup folder. When I soft reset my device, 'Android' is starting automatically.

The only thing where you have to think about is to make an outgoing call after startup.
[Tilt, TyTN II, MDA Vario III Android Development] killa-mckilla:
you change default.txt to startup and copy it into the winmo startup folder?

is this correct?
[Tilt, TyTN II, MDA Vario III Android Development] killa-mckilla:
also. been doing some testing

at 0230 last night my phone was fully charged. turned off the modem

since 0700 this morning i turn the modem on every hour, make a call, send a text, and log onto my IM client. then plug in to see what percent battery i have left.. then turn off my modem again.

im at 58% right now.

12 hours 50%.. not so bad

sucks the modem has to be off though, but ill deal with it until a better more practical solution arises.