yashsingh1/xdaforums huggingface dataset:
[Tilt, TyTN II, MDA Vario III Android Development] j101399j:
The longest it took me was 10 minutes; 10 minutes is very long, but sometimes I can, don't know why.

Well one time it took so long (over 30 minutes with no go) I had to reset, then I found I did not have the system.sqsh in the /sdcard/android folder and the user file in the /sdcard/conf folder; once those 2 files where there, it started.
[Tilt, TyTN II, MDA Vario III Android Development] Newbie16:
I see, so how fast is your sdcard? class 6? mine is a class 4 card.

currently at 17min 22sec (started again)

Is there some log i can look at to see where it is stalling? Probably my partitioning, permissions and fs layout is at fault
[Tilt, TyTN II, MDA Vario III Android Development] voyteckst:
Something strange... I have class 4 and it starts in max 5 minutes? Logs You can view with adb on Your PC.
[Tilt, TyTN II, MDA Vario III Android Development] kendav911:
stability issue

I have to first say many thanks to all that have put work into these builds.

I am having an issue with getting this build to say up. It reboots itself every 4-5 minutes. as in I see the android splash screen.

Any ideas. I know there will be many questions that I should put here but don't know what you want to really troubleshoot. I have had several builds of Android with little issue.

IT is fast when it runs. Is there any software out there that might make this unstable. I have about 25-30 items installed all from market.
[Tilt, TyTN II, MDA Vario III Android Development] polyrhythmic:
PLEASE EVERYONE IF YOU ARE TRYING TO DEBUG THIS BUILD DURING BOOT USE ADB and/or REPORT WHAT THE SCREEN SAYS WHEN IT FREEZES, SO THAT WE HAVE A BETTER CHANCE OF GUESSING WHAT IS GOING ON.

@kendav911: I have the ahb_div set to 2 in the startup.txt/default.txt . I haven't personally had problems with overclocking the Advanced Host Bus but YMMV, you could try setting it back to 4. Other than that, yes any app could make Android unstable, I've specifically had problems with Shoutcast-compatible music players.

There have been some updates to Eclair builds over the in Dream forum and I'm thinking of porting something more recent when I have the time.
[Tilt, TyTN II, MDA Vario III Android Development] Newbie16:
The phone doesn't show up under lsusb so i'm still grappling with that.

Edit: YAY i have adb, looks like its stuck in a starting loop
[Tilt, TyTN II, MDA Vario III Android Development] polyrhythmic:
Hmm, I've done a lot of Android reading. I've learned to check that there are no active wake locks with the command dumpsys power, and have been able to 'force' standby with echo "standby" > /sys/android_power/request_state . Once 'standby' is forced it requires the power button/end key to wake (or you can send echo "wake" > /sys/android_power/request_state over adb).

Nevertheless, Spare Parts always shows the CPU history as '100% running.' Is there any other way to debug standby without writing a custom app? I've searched all over the 'nets for an answer and come up short. The command dumpsys power shows a lot of information, but nowhere on the 'net can I find an explanation of what the data really means.

Some of the Dream users complain of bad battery life with Eclair builds, but not most of them. I'm wondering what's really going on with this build.

P.S. I also found some tricks that may speed up our data connections on Android :) and possibly enable more market visibility. Got to do some tests before I release anything...
[Tilt, TyTN II, MDA Vario III Android Development] LyfSkills:
Just installed and working great.

However; When I try to connect to wifi, it gets stuck on "Obtaining address..." then it finally just says "Unsuccessful". My network is open. No WPA or WEP or nothing!

Its not just Android, its not working in WinMo 6.1 and 6.5.

Radio version is 1.71.09.01
[Tilt, TyTN II, MDA Vario III Android Development] Newbie16:
How does your router allocate IP addresses? at Obtaining addresses... the system would have already authenticated and the encryption is working
[Tilt, TyTN II, MDA Vario III Android Development] Newbie16:
Just to let you know the issue i had was with permissions, the way i set up /etc/dbus.conf was set to 0440, it needed to be 0444. /system/etc/dbus.conf has 0440 permissions but the copy changes the permissions so i guess thats why it worked for everyone else and not me.
[Tilt, TyTN II, MDA Vario III Android Development] LyfSkills:
Not sure what you mean.. Im not sure how it allocates IP addresses.

This is now showing up on my device list:

It shows as inactive.

I tried restarting my router, same thing. I have 3 other computers on the network using wireless with no problem and a iPod touch. I have no idea whats casuing this.
[Tilt, TyTN II, MDA Vario III Android Development] Newbie16:
My wifi is also giving this error, guess i can troubleshoot this now. It went from Obtaining IP address... to Unsuccessful
[Tilt, TyTN II, MDA Vario III Android Development] LyfSkills:
Please let me know if you get it working, thanks!
[Tilt, TyTN II, MDA Vario III Android Development] enatefox:
poly, waiting on your post. The wake lock and standby are new to me so I'll take a look. I bet we can make a dirty hack to force that command on sleep.. I don't know how much we can glean from standard Linux tools but there is a lot an app could do. So I can make the app if I can get some ideas on what it should be doing. Not hard for me to make it though.

For me, I've always (usually anyway) needed to add the AP every single time I turn on wifi and not enter the key. Then it says "Secured with WEP" or whatever, click and add the key then it works. My wifi fix script is outdated now as we have better files. I can post the newer MD5's if anyone cares. The ones in the rootfs.img that I uploaded are correct so compare them to all other copies on your phone-- if they're wrong then it's not going to work.
[Tilt, TyTN II, MDA Vario III Android Development] Newbie16:
chmod 0755 /system/etc/dhcpcd/dhcpcd-run-hooks

chmod 0666 /system/etc/dhcpcd/dhcpcd-run-hooks/*

That fixed it. Are you also experimenting with a custom filesystem/partition setup?
[Tilt, TyTN II, MDA Vario III Android Development] LyfSkills:
No I am not.

How exactly do I navigate to these to CHMOD them?
[Tilt, TyTN II, MDA Vario III Android Development] lggyxx:
@all: Will Release tomorrow 03 March :)[/QUOTE]

OMG!! REALLY? ANYTHING WE SHOULD LOOK FORWARD 2?
[Tilt, TyTN II, MDA Vario III Android Development] xxaznxx27:
@all: Will Release tomorrow 03 March :)[/QUOTE]

hopefully this one will work for mee=) cause i still can't find a solution! YAYERSS :D:D
[Tilt, TyTN II, MDA Vario III Android Development] kschepps:
Great Job; 3 questions

I successfully loaded up Android on my internal memory, and it works great!!! Great job! My old phone is falling apart, and the SD card has become a little unstable. 3 questions:

1. Is there a way to restart my phone's SD card reader while the phone is on?

2. Is there a way to connect the phone to the PC (Windows 7 or Linux) to download files?

3. If I were to trade my Tilt for the Tilt 2, how different would the procedure be done on the Tilt 2 to get Android installed on the internal memory?
[Tilt, TyTN II, MDA Vario III Android Development] Pandemic187:
AHH, so network location should be working? SO exciting if that's the case!
[Tilt, TyTN II, MDA Vario III Android Development] a.s.j:
Nice man, that looks pretty good...

Would you be able to find also the reason for my issue with CLID? Nobody seems to care, but I cannot afford use my phone with hidden number and changing the setting seems to kill the radio completely... :(

I'd guess, that this is also RIL issue... what do you think about that?
[Tilt, TyTN II, MDA Vario III Android Development] robuser007:
I have the same problem.
[Tilt, TyTN II, MDA Vario III Android Development] rvdgeer:
You're welcome!

Make sure you'll remember that button, because you're gonne need it a lot on Android!
[Tilt, TyTN II, MDA Vario III Android Development] jnadke:
Sorry guys, I knew about this for a while. Been trying to get location updates working on our CDMA vogues.

I think you'll also need to port parts of this patch:

http://gitorious.org/linux-on-qualc...mmit/9f32b94fda1fd56e7b40974a9057362330fe5195

Mainly:

-requestNeighboringCellIds (the whole function)

-add requestNeighboringCellIds to the request types (bottom)

-change %d's to %x in patch above.
[Tilt, TyTN II, MDA Vario III Android Development] gresham:
Hmm Poly is probably just waking up right now, cant wait for the new update :D

Its 5pm here in South Africa
[Tilt, TyTN II, MDA Vario III Android Development] wanderso:
Hmmm, since jnadke has been contributing to this thread, maybe I should just wait, but on Polymod 2.1b (Feb 23) with radio 1.71.09.01, GPSTest (from the market) crashes the Android kernel. It does a partial reboot back to the "4 color streamers" splash animation. This is for a 3-partition flashcard boot (not a NAND flash). Other GPS apps from the market have a tendency to do this as well (e.g. GPS Status). I don't know what this all means, but for sure these must be issues below the application GPS layer, somewhere in the library or RIL.
[Tilt, TyTN II, MDA Vario III Android Development] zenity:
Zenity watches as the Forum falls silent, sensing Kaiser owners awaiting a polyrhythmic post... ;)
[Tilt, TyTN II, MDA Vario III Android Development] jonahs:
I experience the same problems as you do concerning GPS. poly has been asking for a logcat or dmesg dump to see if we can zero in on the problem and I'll try and set my environment up tonight. If, god forbid, the new update from poly does not address the GPS issues, I'll at least have my debugging environment up and ready for action.

The forum going silent? I didn't notice. If nothing else you and me are talking to keep it running. ;)

/me goes away to set up debugging, anticipating a new polymod release and tinker a bit with the wiki.
[Tilt, TyTN II, MDA Vario III Android Development] chamonix:
Always happy to help but I don't want to take any credit. It's phh's work that makes things happen, I'm just a guy who reads a lot and loves testing...
[Tilt, TyTN II, MDA Vario III Android Development] jcatt:
Hmm... Am I the only one auto-refreshing the page every 5 mins...
[Tilt, TyTN II, MDA Vario III Android Development] Yaantra:
Waitiiiinnnngggg........

My apologies for spamming!
[Tilt, TyTN II, MDA Vario III Android Development] polyrhythmic:
My motherboard shut itself down today when the CPU hit 100 deg C while compiling OpenEclair ... discovered the heatsink may have been a bit loose due to the p4 plastic fan fasteners, so I cleaned and reapplied thermal paste and reset it. I'm compiling again but this has set me back a bit. Sorry, I hope to have this posted tomorrow.
[Tilt, TyTN II, MDA Vario III Android Development] Pandemic187:
**** happens man, but thanks for letting us know what's going on. Keeping my fingers crossed for tomorrow!
[Tilt, TyTN II, MDA Vario III Android Development] polyrhythmic:
Well, the good news is I've been compiling for 20 min. and the twin 3.2Ghz cores are at a happy 66 deg C. There will definitely be a release tomorrow.
[Tilt, TyTN II, MDA Vario III Android Development] jcatt:
Wow, My laptop's cores get that hot just opening Microsoft Word...Go 2.1 Ghz AMD Turion X2 64!

On a serious note, Thanks again for your continued support and development of this amazing OS. If I were not a broke, starving college student I would donate more. Looking forward to the release tomorrow. Oh and if you need any help resizing some of the display elements...Dialer...let me know. I'm pretty handy with Photoshop, and need another excuse to procrastinate on my term papers.

Cheers,

JCatt
[Tilt, TyTN II, MDA Vario III Android Development] jonahs:
Glad to hear you didn't get anything permanently damaged. By the way, how long does a build take in general? 20 minutes is pretty much by any standard and it doesn't seem to stop there.
[Tilt, TyTN II, MDA Vario III Android Development] nicke85:
How you got that temp!?My C2D work at 4.5GHz at 35C non-stop :p

But I don't compile anything on laptop it is much slower than desktop..
[Tilt, TyTN II, MDA Vario III Android Development] aikeru:
Thank you for your work, Poly! :D
[Tilt, TyTN II, MDA Vario III Android Development] Hyperfly:
We wish you good luck!
[Tilt, TyTN II, MDA Vario III Android Development] furiac3lta:
kaiser goes slowly with Eclair polymod 2.1b

hi i installed Eclair polymod 2.1b and i have somes troubles...I have a kaiser TyTN 2 and my battery discharge in two hours, the media sounds don´t work and the phones work slowly... I want to know how can i solved this problems...sorry my bad bad english.

See you and Thanks
[Tilt, TyTN II, MDA Vario III Android Development] aikeru:
I think it would help if you gave more information.

Are you using NAND/HaRET? Was the battery fully charged when you started? How did you verify it was fully charged?

If using NAND - what kernel did you use?

If using HaRET - can you post your default.txt?

What radio are you using? (often related to sound issues)
[Tilt, TyTN II, MDA Vario III Android Development] furiac3lta:
Ok i charged my phone when I have windows mobile 6.1 and when i finish to charge my battery i see the state and wm indicates 100%. Now i use Haret to boot android. I have default.txt and default-s.txt. I show you what have default.txt

set RAMSIZE 0X07000000

set RAMADDR 0X10000000

set FBDURINGBOOT 0

set MTYPI 1553

set KERNEL zImage-15-12-09

set intird initrd.gz

#

# 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 conecct 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 best power savings

# borad-htcvogue.panel_type - Panel type used to poewwr the panel off and on

# 0=Don´t power off the panel (default)

# 1=hitachi 2=topoly 3=Samsung

# mddi_client_vogue.vsync -Use hardware vsync, default is 1 bur should be 0 if

# panel_type is 0

#

set cmdline "board-htckaiser.panel_type=2

ppp.nostar=0 pm.sleep_mode=0 mddi.with=240 mddi.height=320 lcd.density=120 no_console_suspend clock-7x00.slow=1 clock-7x00.voltage=1 board-kaiser-keypad.atttilt=1"

boot

i hope can you help me aahhh another thing the numbers of the dial and de letter for write message are too big..

thanks
[Tilt, TyTN II, MDA Vario III Android Development] aikeru:
This is my default:

#alloctest 0x2000
set RAMSIZE 0x08000000
set RAMADDR 0x10000000
set FBDURINGBOOT 0
set MTYPE 1553
set KERNEL zImage
set initrd initrd.gz
#
# The following kernel parameters are useful
# ppp.nostart	- Set ppp.nostart=1 to disable starting the ppp connection on boot
# 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 1, use 1 for best power savings
# board-htckaiser.panel_type - Panel type used to power the panel off and on
# 0=Don't power off the panel (Default)
# 1=Sony 2=Topoly 3=Topoly (probably just the same as 2)
# lcd.density - Defaults to 160, 128 shows more on screen
#
set cmdline "ppp.nostart=0 pm.sleep_mode=1 mddi.width=240 mddi.height=320 no_console_suspend board-kaiser-keypad.atttilt=0"
boot

If you notice, I do not specify LCD Density (so it's 160). I would try changing your density to 160 or just remove that setting to use the default (make a backup copy of your default.txt before you do this).

Running android in HaRET on SD card is always slower, but it can help if you get a faster MicroSD card.

Try using terminal and type the commands:

"su

killall

mediaserver"

and use Taskiller to kill stuff you don't need open.

Turn off window animations/etc.

When first loading a program in HaRET it will still be slow but once loaded should be fast.

You didn't specify what radio you're using.

Anyway I hope this helps, that's all I know :)
[Tilt, TyTN II, MDA Vario III Android Development] YevgenyEfter:
A question

Hello!

I installed 2.1b a few days ago, and it looks great!

I downloaded haretinstall.zip and installed as explained.

Now I have two zImages in andboot: zImage and zImage-eclair.

Which one should I use?

Thanks!
[Tilt, TyTN II, MDA Vario III Android Development] Polarfuchs:
zImage-eclair für android 2.1 and zImage for android 1.6 I think
[Tilt, TyTN II, MDA Vario III Android Development] Dukenukemx:
Upgraded to 2.1b on my SD card and I love the improvements. So far, I've gotten Quake 3 installed on this, and it actually starts. Though, getting into a game is a different story. But the menu and everything, including the video intro, works.

I would so flash my NAND with this, but there's just some things blocking me from doing so. Bluetooth

and Camera are a must for me. Just don't know why the Camera was working on other older Android builds, and not this one?
[Tilt, TyTN II, MDA Vario III Android Development] YevgenyEfter:
I'm sorry if this question sounds stupid, but I have to understand.

When I installed 2.1 I downloaded haretinstall.zip, and inside it were the files zImage and zImage-eclair. Next, I downloaded Polymod_2.1b.zip, and that was the system itself.

So, is this zImage in the /andboot folder only for booting android, or this is the kernel used by android when loaded?

Thanks!
[Tilt, TyTN II, MDA Vario III Android Development] spiritssight:
bootloader / kernel

Hello All,

@all: I was wondering how can we push a new verision of a kernel for our kasier (AT&T Tilt)? is there a newer verison then 2/20/2010? also what is XIP and where do I find this? I was told its not the full nbh. Any ideas why I have 1inch of white on my boot screen when first booting?

@Poly, can't wait to try your newer verison I seen the screen shot over at the GPS thread and I like the darker color taskbar.

Sincerely,

christopher
[Tilt, TyTN II, MDA Vario III Android Development] zenity:
Usually installing a new kernel should be as simple as reflashing the nbh, since this is mostly the kernel, initrd and bootloader needed to start linux.

Note the Linux bootloader is not the same as the device bootloader

It is not what we are used to having as an nbh for Winmo, It's only a combined bootloader and installer system for Android, making it more versatile, since we can use the same nbh to install a number of different Android builds, or flash another nbh without changing any installed build, the single NBH system used by winmo will not work on our devices, since we have a number of subtle differences in hardware, for instance panel type, machine type, keyboard, etc, we would need multiple nbh's for each build.

What we have for Android is the NBH, which contains what we need to boot the phone, start linux, and install or run Android. We also need an install file, which is usually on SD card, which is what I would equate to the Winmo NBH files we flash to our devices.

I had this on one particular install, I forget which one, it does not seem to affect the boot process any, just an annoyance, it 'may' be related to the splash screen you have installed, try flashing poly's splash screen, see if that helps :)

Oops, nearly forgot about this, the XIP is, in my experience, usually mentioned as part of the Winmo ROM, and since I'm no chef, I really haven't had much to do with it, I'm not even certain that XIP is applicable to our Android builds, perhaps someone else can explain better, since even a forum search didn't find much, well apart from 100's of Winmo Rom posts... ;)
[Tilt, TyTN II, MDA Vario III Android Development] zenity:
The kernel is used by linux, which is like a layer underneath Android itself, however basically it's used by the system when running, in fact if it stops running, so does the device.

Winmo also uses a kernel, (NK.exe), which does much the same job as the Linux kernel, and is just as important.

The main difference really is that the source code for the Linux kernel is available to us, making it easier to change parts of it in order to fine tune the system to use different hardware, ( although this is not easy by any means, just 'easier' ).
[Tilt, TyTN II, MDA Vario III Android Development] st_voss:
zImage resp zImage-eclair is the kernel that android is using (depending on the kernel entry in default.txt). The sequence when using haret is:

haret runs zImage/zImage-eclair + initrd.

zImage/zImage-eclair runs the init script in initrd as first process

init script handles the installation of androidinstall.tar, mounts /system, /data etc

init script calls init.android binary which in turn reads /system/sysinit.rc

to boot up the rest of android

Regards,

Stefan
[Tilt, TyTN II, MDA Vario III Android Development] YevgenyEfter:
And polyrhythmic changes the kernel, or he works on the integration for our devices?

I mean when there is a new version, I have to replace both the kernel and the rest, or I don't touch the kernel?

Also, do I have to use zImage-eclair, or just leave it as it is (zImage)?
[Tilt, TyTN II, MDA Vario III Android Development] zenity:
If a kernel update is needed Poly will let us know in the main post ( post #1), which is where all the important instructions are.

If I remember correctly, the Haret build needed one kernel for installing, (zImage), and another for normal running, (zImage-eclair), but that may have changed, so keep an eye on post #1 from time to time, as it's easy to get a bit confused after 2000+ posts ;)

Actually I just read over post #1 myself, and it seems that the 2 kernel system is no longer used (as of the 15th feb update), so either kernel is fine, use whichever seems to give best results on your device.
[Tilt, TyTN II, MDA Vario III Android Development] Dukenukemx:
Good news everyone, I got Kwaak3 working on Kaiser, running on this Android build. In order for it to work, I had to disable sound. The newer kwaak3_test_v11c.apk does produce sound, but could never start a game due to always trying to find local host.

As you can see from the video bellow, Quake 3 on the Android works far faster then the Windows Mobile version. It's frame rate is playable. I had the graphics settings turned down all the way too.

There are a few things to consider here.

#1 No real tweaks done to the game besides turning down settings.

#2 This is the first release of kwaak3, so future builds will improve on performance. Especially hoping that it'll fix the slow touch screen mouse movement. Takes forever to even change settings.

#3 My Android was running off the SD Card.

http://www.youtube.com/watch?v=CEFYvUz1aP0
[Tilt, TyTN II, MDA Vario III Android Development] Polarfuchs:
Can the linux kernel be compared with the HAL on Windows?
[Tilt, TyTN II, MDA Vario III Android Development] zenity:
This is getting into interesting territory, lol.

Ok as I understand the Windows HAL, no, they are both different in a number of aspects, Windows having a hybrid kernel, which has a simple kernel, HAL drivers and some Services which run in kernel mode, where Linux has a monolithic kernel which interfaces directly with the hardware.

My head hurts now, I'm off to play some Ghost Recon, I feel the need, the need for..... sniper rifles and demo charges ;)