yashsingh1/xdaforums huggingface dataset:
[Tilt, TyTN II, MDA Vario III Android Development] biktor_gj:
Hi all,

On the nike forum we're trying to get a bootable build from the android sources, but everytime we try, we get stucked on the android logo, and it never gets from there. The build is done with a simple "make", using the bundled arm toolchain (using the one used for kernel compiling got the same result), with the generic target product. It compiles ok, but on the emulator it gets stucked on the bootlogo animation (with the android letters shining), and on the phone it gets stucked on the bootlogo too, but doesn't even animate. Tried replacing the ril libraries, but I personally don't know too much of the platform anyway. Of course the filesystem is changed from yaffs to cramfs so the kernel would detect it (preserving the file attributes), but no way.

Some time ago we all were using custom compiled images, and I was wondering, is there any advice, article, webpage, or somewhere I can look for info? Or at least, anyway to debug this thing through logs or something?

If anyone wants to take a look, here are the images on yaffs:

http://rapidshare.com/files/214987242/emulator_images.tar.gz

And in case somebody is curious, we need to get this working for a simple reason: the messaging application on the sdk images is compiled for the g1, and it only lets you write messages if the screen is in landscape mode. On the HTC Nike, wether the keyboard is open or closed, the screen is always portrait, so, I have to flip the screen to landscape while physically is standing "portrait" to write, wich is a pain in the a**

Thanks in advance!
[Tilt, TyTN II, MDA Vario III Android Development] seidler2547:
I can try on a Kaiser if you give me the cramfs file. On Kaiser, we can switch to console with Fn+Left Softkey and there a dmesg or logcat could bring up something.

Stefan
[Tilt, TyTN II, MDA Vario III Android Development] seidler2547:
Have you tried the abovementioned msm_sdcc.msmsdcc_fmax parameter?

Stefan
[Tilt, TyTN II, MDA Vario III Android Development] seidler2547:
Probably the latter.

Best thing would be to allow for customized keymaps in Android (.kl files), maybe there is a system property?

Stefan
[Tilt, TyTN II, MDA Vario III Android Development] rkadar1:
hey man there is some confusion on what are the correct inputs for the default txt. I am specifically using at&t tilt with at&T .... can you post what text would work the best
[Tilt, TyTN II, MDA Vario III Android Development] DesperateScorpion:
Bootup Issue

Hey Guys.....sorry forgot to mention this in the previous post...

I am using AT&T tilt (Kaiser) and noticed that when I try to load the Haret.exe it gets stuck at the linux boot loading stage. When I read through the default.txt saw that the MTYPE is set to 1667. http://www.androidonhtc.com/boot_options suggests 1553 for kaiser, when the value is changed from 1667 to 1553 in the default.txt the android boots up fine and works great. Does everyone else using android had to do this or is it just AT&T Tilt problem. Thanks,
[Tilt, TyTN II, MDA Vario III Android Development] SharpieMarker:
Does anyone have a fix for the SMS timestamp issue? My incoming SMS are always a few hours off and my outgoing are accurate about 80% of the time.
[Tilt, TyTN II, MDA Vario III Android Development] Raketemensch:
I apologize for cluttering up the thread like this, but I believe I've followed directions correctly, and am still having issues with internet. It has worked for me before, several releases ago.

(BTW, setting the MTYPE properly for AT&T Tilt got me past my boot issue)

I set these in my default.txt:

ppp.apn=wap.cingular ppp.username=WAP@CINGULARGPRS.COM ppp.password=CINGULAR1

No internet after startup. I went into the WAP settings and set them for AT&T according to what is listed here:

http://www.androidonhtc.com/carrier_network_settings

But still I have no internet. I tried running Togga as well, but again, no joy.

This is a stock Tilt with the official 6.1 rom on it.

Another possibly related thing --- there are 2 APNs by default, one called "Internet" and one called "TelKila." I replaced the Internet one with the settings for AT&T, but I can't seem to find a way to delete the Telkila one

[edit] I *do* have a 3G icon.
[Tilt, TyTN II, MDA Vario III Android Development] matrix77:
How to take a screenshot while runnig android on Kaiser?
[Tilt, TyTN II, MDA Vario III Android Development] dzo:
yes, in wince change the time zone to gmt and turn off network time updates. boot android and set your timezone and time.
[Tilt, TyTN II, MDA Vario III Android Development] dzo:
It could be that 2.6.27 has a different binder interface. If the problem is just messaging, try chompsms.
[Tilt, TyTN II, MDA Vario III Android Development] Pandemic187:
Will the newest kernel make any difference for the Kaiser, compared to the March 31st kernel?
[Tilt, TyTN II, MDA Vario III Android Development] ajclai08:
might be a app for that but I read somewhere you can do it from the SDK
[Tilt, TyTN II, MDA Vario III Android Development] Niscandia:
I've been doing some digging around in the initrd.gz file, mainly since I've been wanting to use ext3.

Well I found out why I was having such a hard time.

In init there is this code block:

if [ "`cat /sys/block/mmcblk0/mmcblk0p2/size`" = "132240" ] ; then
PARTITIONED=1
echo "Data Partition Found"
else
PARTITIONED=0
fi

So basically unless the second partition on the SD card is 132240 blocks, it will always use the data.img/data.gz. And getting a partition on a SD card that is that size is annoying... I tried.

So I changed it to read:

if [ "`cat /sys/block/mmcblk0/mmcblk0p2/size`" > "1" ] ; then
PARTITIONED=1
echo "Data Partition Found"
else
PARTITIONED=0
fi

So far the change doesn't effect the boot up when there is only one partition on the SD card. But if there is a second partition then it assumes it is a ext3 partition that it will use as /Data. And Android seems quite content to run the second partition as /Data, and as a bonus we are no longer restricted to such a small /Data partition.

Right now I've been playing around with a 228mb /Data, and a 60 /System. Both as Partitions on the SDcard. /SDcard is still fat32, I have not tried using that as a ext3 partition. I don't think I will since having it as fat32 allows windows machines to pull data off easily.

------

So just in case anyone else would like to play around with ext3 partitions, you can get it here: http://rapidshare.com/files/217102977/initrd.gz

( I did try uploading it to the forums... just didn't want to take... )

All that I modified was the init script. (if something else was modified please let me know... I'm still rather new with dealing with cpio )

Make sure that if you do use multiple partitions that it goes in this order:

1 - fat32 - /sdcard

2 - ext3 - /data

3 - ext3 - /system

I've made it so that you can have 1, 2 or 3 partitions. But they have to follow the order above. Basically you can have /sdcard and /data, just make sure to have system.img in /sdcard. Or if you just have one partition make sure you have both system.img and data.img/data.gz.

Also I do not know if Android can handle insanely large /system or /data.... I've only tried it up to what I listed above... I haven't tried larger file sizes, and don't know if Android has special pointers inside... doubt it since it is Linux.. but who knows...
[Tilt, TyTN II, MDA Vario III Android Development] ajclai08:
went from 3-1 zimage to 4-3 and i noticed the kiaser's native power botton works.(might of been implemented after 3/1 and before todays).. battery charges faster and lasts longer..phone has been idle for a couple of hours and gone down only a few %.
[Tilt, TyTN II, MDA Vario III Android Development] catchfire:
according to the git repo the only change were for nike devices

http://git.linuxtogo.org/?p=groups/mobile-linux/kernel.git;a=log;h=refs/heads/htc-vogue
[Tilt, TyTN II, MDA Vario III Android Development] Pandemic187:
I saw that. That's why I asked.
[Tilt, TyTN II, MDA Vario III Android Development] outsider787:
Fantastic find! I will have to give it a try.
[Tilt, TyTN II, MDA Vario III Android Development] Pandemic187:
I am somewhat of a Linux user, but what exactly would be the advantage, as far as Android is concerned, of using ext3?
[Tilt, TyTN II, MDA Vario III Android Development] rkadar1:
builds

anyone want to list their current most stable build and what network their on

not to mention their default txt?

-at&t
[Tilt, TyTN II, MDA Vario III Android Development] rkadar1:
keyboard symbol problem

I added the 3/1 build and new newest 4/3 system file and now my keyboard symbols dont match up the right way... help?

AT&T TILT
[Tilt, TyTN II, MDA Vario III Android Development] herczyn:
do you have the correct setting in default.txt?
[Tilt, TyTN II, MDA Vario III Android Development] rkadar1:
correct default txt

well i never had this issue until i assorted this new build that i listed.... so i guess my txt is not correct..

another huge problem is something when android goes into sleep mode after i press the end call key... sometimes i cant get the screen to awake! im stuck with a black screen

#alloctest 0x2000

set RAMSIZE 0x07000000

set RAMADDR 0x10000000

set FBDURINGBOOT 0

set MTYPE 1553

set KERNEL zImage

#set initrd "initrd.gz"

set initrd "\Storage Card\initrd.gz"

#set initrd "\Storage Card\initrd-console.gz"

#set initrd "\Storage Card\android.bin"

#

# The following kernel parameters are useful

# ppp.username - The username used to connect to the network when dialing #777

# ppp.password - The password used to connect to the network when dialing #777

# msm_sdcc.msmsdcc_fmax - The maximum frequency (in Hz) used by the SD controller

# pm.sleep_mode - The mode used when the phone is off

# 0=Power Collapse Suspend, 1=Power Collapse, 2=Apps Sleep,

# 3=Slow Clock and Wait for Interrupt 4=Wait for Interrupt

# Default is 3, use 0 for best power savings

# board-htcvogue.panel_type - Panel type used to power the panel off and on

# 0=Don't power off the panel (Default)

# 1=Hitachi 2=Topoly 3=Samsung

#

set cmdline "ppp.apn=wap.cingular ppp.username=WAP@CINGULARGPRS.COM ppp.password=CINGULAR1 pm.sleep_mode=1 mddi.width=336 mddi.height=448 msm_sdcc.msmsdcc_fmax= no_console_suspend board-kaiser-keypad.atttilt=1"

boot
[Tilt, TyTN II, MDA Vario III Android Development] Niscandia:
My reason that I wanted it, is that it is easier to gain access to the data partition. Put in SD card, and the fat32 and the data partitions are accessible, instead of doing a mount command to gain access to the data partition.

It also allowed me to use a 200 meg partition for the data drive, and thus I "should" be able to install more items.

Basically if you want to install more apps then the 64 meg data image allows, this will allow you to do just that. (and if using Linux makes it faster to access the drive)

Now I just chose ext3 since it is a little newer then ext2, and I heard rumors that it was faster then ext2 (which is what the data and system images are mounted with) with Android.... unfortunately I'm not seeing it any faster at this time... But that could just be me.
[Tilt, TyTN II, MDA Vario III Android Development] Completenutter2:
I'm having this too, although sometimes some button mashing will wake it up. Then when it wakes up, the applications wake up and I get messages/notifications that occured during 'deep-sleep'.

Other than this, android is useable day-to-day now :). Thanks everyone who's been working on this.
[Tilt, TyTN II, MDA Vario III Android Development] schmuh:
Hello,

i am able to use Google Maps and the Google Search in Android, but i cant go further. If I click on a searchresult it starts loading but the page won`t show up.

I am using the UMTS data plan from vodafone germany (wap.vodafone.de) and read that this data plan is limited to specific devices, could that be the reason why I cant surf the web in Android?

And if thats the case, couldn`t it be possible to let the phone behave as one of this specific devices, so I can use my data plan with android?
[Tilt, TyTN II, MDA Vario III Android Development] Ozone:
guys i use rom: hyber dragon IV iolite and rom 1.65.24.36 and using adroid bundle :

03/01/09	Now shows 3G icon, detects carrier name	dzo	android-1.1-01-03-09.zip	post #384

i press run and linux start booting but freeze in line:

2.134178 click_set_rate_ 19:14000

all connections are off.

i didnt change anything on default.txt

what to do?
[Tilt, TyTN II, MDA Vario III Android Development] nht_max:
You must delete the default.txt, default-vogue.txt and change default-kaiser.txt to default.txt. As I understand, the default.txt file is for generic devices or something. I encountered this before when I forgot to change the file name.
[Tilt, TyTN II, MDA Vario III Android Development] Ozone:
THANK it work!!!

no i need to sync my contacts...
[Tilt, TyTN II, MDA Vario III Android Development] Dessie:
I have a linux sat receiver and they added this:

So i don't know if ext3 is in fact faster (in embedded)
[Tilt, TyTN II, MDA Vario III Android Development] Niscandia:
Well by general usage (aka not speed tests) embedded they appear similar in speed. So since there isn't any apparent difference, I'll probably be redoing the mount routine back to ext2, for the init script.

Though I'll probably first try finding out all the different format types that Android supports first. And then I need to figure out a benchmark on it some how.... Any ideas?
[Tilt, TyTN II, MDA Vario III Android Development] matrix77:
I can't find the app for takeing screenshot. :(
[Tilt, TyTN II, MDA Vario III Android Development] Ozone:
guys i have problem when setup gprs settings. i field all necessary settings for my carrier but it doesn't connect. before i boot to android i opened IE to enable gprs but nothing.
[Tilt, TyTN II, MDA Vario III Android Development] MooNWalker:
I saw that, but strange enough Tilt seems to work more stable with 03.04. May be placebo, but I haven't got any sleep related freezes yet which I've got plenty with 31.03.
[Tilt, TyTN II, MDA Vario III Android Development] outsider787:
Similar experience here. No sleep related freezes either.

Will post an update after using the 04April09 kernel a little more. Maybe the cleanups that were done made things better?
[Tilt, TyTN II, MDA Vario III Android Development] y2it217:
Hi,

I have been following this page for the builds.

http://www.androidonhtc.com/kaiser/latest_builds

Here in the forum, I see many kernel, image versions. But it is not yet updated in that wiki. Are there any, much stable versions after this?

03/01/09	Now shows 3G icon, detects carrier name	dzo	android-1.1-01-03-09.zip	post #3840

Which latest version do you guys use?

Thanks.
[Tilt, TyTN II, MDA Vario III Android Development] P4d0uch:
wifi still doesnt work?
[Tilt, TyTN II, MDA Vario III Android Development] Pandemic187:
That's because the kernels you're talking about are the ones found here. And the link to them is on the wiki - in fact it's on the page that you have linked to, called zImage. These kernels are compiled more frequently than the others, and are thus less stable. They've worked pretty well for me, but they might give you an issue from time to time.
[Tilt, TyTN II, MDA Vario III Android Development] Pandemic187:
No, it does not.
[Tilt, TyTN II, MDA Vario III Android Development] iPirate:
No stable updates in 1 month? is there a roadblock that someone needs help with to continue? :confused:
[Tilt, TyTN II, MDA Vario III Android Development] mikentucson:
i probably have over 1000 pictures on my SD card and it loads up really slow. Is it ever going to be able to load up quick or is that a problem with the tilt's 400mhz processor. Bluetooth, Camera, and faster loading pictures would make it perfect for me!
[Tilt, TyTN II, MDA Vario III Android Development] beardface:
Has anyone started on getting GPS to work on the kaiser?

I'm new to development with android on the kaiser (att tilt); and am looking to help contribute.

I'd like to get gps working so I can get maps, etc... working more cleanly.

Anyone already start looking at this? Any insight so I don't waste too much time digging in the wrong direction?

Thanks
[Tilt, TyTN II, MDA Vario III Android Development] lanwin:
Market download still dose not work

Ok ive got my new sim card and now i am able to deactivate my sim pin and can use the lastest system.img.

But the market and browser download are also not work with it (stays at start download)!

Is there some log or a another way to debug why he can not download anything?

PS: cache folder is there and sdcard was formated
[Tilt, TyTN II, MDA Vario III Android Development] lanwin:
In terminal emulator i can access /cache and create folders there. And it is the same folder as /sdcard/cache (mount).
[Tilt, TyTN II, MDA Vario III Android Development] poly_poly-man:
gps is just a matter of being able to turn it on without winmo's help (I think @startgps covers this), and feeding the data (on /dev/smd7) to google...

does anyone know how android knows which device node is gps?
[Tilt, TyTN II, MDA Vario III Android Development] excogitation:
step up and stop asking others to get stuff done

I ask you (end)users to put in some effort yourself and check the bugtracker

if there are already bug reports on all problems that you currently experience

and feature requests for things that aren't yet working on your machine.

Also please add to the existing bugs information that might be helpful to pinpoint

and the exact facts that cause the problem (e.g. wifi turned on before booting, ...).

To help make progress on the feature requests collect information that might

have been lost because it's so scattered across this thread and others

(or just important specifics you remember - heaps of valuable information might be buried).

If you always wanted to help but lack the knowledge for kernel/userspace

developement here's your chance to contribute.

All you need is some time to search for the pearls (or maybe you know some by heart) and

make them available to future developers who want to join - and therefore can

join/code faster because they don't have to sift through thousands of posts themselves.

To all developers didn't wanting to waste effort because someone might be working on the

same issue - you can now communicate what you're working on using the bugtracker.

Thanks Stefan for pushing,

and of course many many thanks to all the developers in particular Martin.
[Tilt, TyTN II, MDA Vario III Android Development] lanwin:
Ive already added bugs there, but they are closed as only user space related and not kernel related.
[Tilt, TyTN II, MDA Vario III Android Development] Borkata81:
Flash drives have a limited write life... its pretty big, but using a journaled filesystem will decrease it's lifespan - hence, choose ext2 instead of ext3.

You might try using specific filesystem for flash drives such http://en.wikipedia.org/wiki/YAFFS#YAFFS2

For list with FS for Flash Drives check here: http://en.wikipedia.org/wiki/List_of_file_systems#File_systems_optimized_for_flash_memory_.2F_solid_state_media
[Tilt, TyTN II, MDA Vario III Android Development] darkdaan:
I have the same here. Had it on a 2GB SDcard, and all worked perfect. After that I just copied the working files to a 4GB SD card, and suddenly the market doesn't work anymore...

any1 who knows a way to login with another account in android? cauz I think thats what went wrong (wrong identifying on my login name...)
[Tilt, TyTN II, MDA Vario III Android Development] Niscandia:
I've never used yaffs2, so I'll take a look into how to format partitions that way.... Once I get Android to boot with it, I'll upload the initrd again.

And thanks for the heads up on the YAFFS2. I did know that ext3 could decrease the life. Though with Android in development on the kaiser.... it can help with crashes if doing some kernel work... but that isn't for me to play with... a little above my skills. (the kernel work that is....)
[Tilt, TyTN II, MDA Vario III Android Development] lanwin:
Interesting, i thought it was because i need to use a proxy server for internet access. And you are sure that downloads in browser are also not working for you?
[Tilt, TyTN II, MDA Vario III Android Development] seidler2547:
It has already been reiterated, and I will state some facts:

- ext3 is

much

slower than ext2, and in fact, slower than most other journaling file systems. JFS is the one with the least CPU consumption, if you really want to use one (is not in standard kernels, though).

- Flash wear is not really relevant because modern SD cards do their own wear leveling.

- YAFF2 can not directly be mounted from a non-MTD-device, so mounting SD card or file might be a problem. For JFFS2, there seems to be an easier way to do this.

- The current kernels do not have MTD, YAFFS or the like activated, so it's no use trying with those. You will have to activate some options and recompile yourself.

I really wonder why this line works. ">" is redirection in the shell, and to make it work as it should, you should really replace that with "-ge":

if [ "`cat /sys/block/mmcblk0/mmcblk0p2/size`" -ge "1" ] ; then

Stefan
[Tilt, TyTN II, MDA Vario III Android Development] biktor_gj:
Totally agree with stefan. The reason why the redirection works is because it's able to make a new file with name "1" dumping the contents of the file called "size", so the if gets an "ok".

Anyway the greater or equal (-ge) is a much better idea :)

I've been messing around with vogue_hw.c. The file is a pretty big mess, and it was full of if's and else's. I understand it's messed up because devs from all phones have been inserting code wherever they could (me included) to help each phone work, but it's quite difficult to understand. I'm working on it to rearrange things, and try to make it simpler and to make it easier to code for other phones.. I'm not finished yet, and I'm being as careful as I can, but it's quite possible that I break something as I only own a nike and not a kaiser, polaris, titan or vogue.

I also made some room and common code for headset detection (choosing the gpio pin based on machine - machine_is_htc***()-). I will post a test kernel here so you can test if things are working as before, but meanwhile, if any of the devs can take a look and tell me what you think, I'd be glad to hear. Maybe I'm wasting my time, or maybe this gives more problems than results...

I have uploaded a "test" vogue_hw.c file on rapidshare:

http://rapidshare.com/files/218036294/vogue-hw.c

EDIT: Forgot to say before, the little hack to help headset support for the phones should change the audio path when you connect the headset, instead of updating on next event (you don't have to stop the call or stop the sound to update the audio path anymore, wich seemed to be the behaviour before), so if you plug the headset, audio should go to headset until you unplug it again.
[Tilt, TyTN II, MDA Vario III Android Development] cbr600f98:
I have a little problem.

I "installed" Android 1.1 on my kaiser and it works fine, but if I press the end call key, the display turns off, the LED turns red at the top and if I press the button again to end the call all I see strange lines on the display .

is this normal?

You can turn off the light display?

thanks to all, and sorry for my english:p
[Tilt, TyTN II, MDA Vario III Android Development] lanwin:
Dose market works over proxy??

Ok i figured out it is the Proxy! Ive started android with the call by call data access which dose not require a proxy server and there the download works.

The question is. Dose it works with proxy for others? And is this a problem of this port or a general problem.
[Tilt, TyTN II, MDA Vario III Android Development] seidler2547:
That the display is turned off is normal Android behaviour. The strange lines should be fixed if you install the latest zImage from http://gigatron.de/.android/builds (Just overwrite your current zImage)

Stefan