yashsingh1/xdaforums huggingface dataset:
[Tilt, TyTN II, MDA Vario III Android Development] Pandemic187:
Thanks. I just needed some clarification because I normally associate "data" with what is being transferred over my mobile Internet connection.
[Tilt, TyTN II, MDA Vario III Android Development] goander:
well, after running android pretty much all day, i have a few more thoughts.

i still have no internet connection, but may be due to my startup.txt will check my old one.

battery lasted until appx. 9:30 pm-ish with l (from about noon today), not the best, but not horrible.

I had some issues receiving calls, but i think it was just the ringtone not going off.

will try it some more tomorrow....
[Tilt, TyTN II, MDA Vario III Android Development] enatefox:
So I don't know if there is some collaborative reason that these latest releases have no access to su but that goes against everything this thread is based upon imho. There's no BASH, busybox or sensible method of configuring wifi. Yes the drivers are there but it's completely useless if not because there is no (at least documented) way of initializing it like our previous releases then because su is knowingly disabled.

I've decided that I'm just going to keep rereleasing system.img's with su, BASH, busybox and in the future, easy wifi scripts and Debian/Ubuntu launchers/bundles. The 4th word in this thread does say Linux so I'm going to just continue that here.

This is okibi's 6-15 release but with the changes:

1.) su enabled:

go to terminal, pressing Fn+Left Softkey, typing "su" then pressing Fn+Right Softkey. You will be back in the terminal with root access.

2.) busybox

don't think you can run Debian/Ubuntu without the "cp" command that this offers. That goes double for configuring wifi+bluetooth.

3.) bash

need I say more...

4.) Original keyboard mappings

middle top buttons do menu, bottom do volume, Start does Show Desktop, etc. as before

This is strictly the system.img file since that's all that needed to be changed/fixed for the above features:

http://www.zshare.net/download/614751137698b762/

You run everything okibi released but replace the system.img with mine. It's noticeably larger because BASH is about 1.5 Mb.

**************************************************

For everyone who did want to get Debian/Ubuntu running on their phones with Android, I'm not mirroring anything yet but you can follow this and download the needed files to get it working (only with my images as I've noted above though).

http://www.androidfanatic.com/cms/community-forums.html?func=view&catid=9&id=2248

To save you some time:

1.) Get "su" as I've described above (with my image...)

2.) Download the installer kit and extract to /sdcard/debian

http://www.androidfanatic.com/cms/unofficial-app-repo.html?func=fileinfo&id=21

3.)

cd /sdcard/debian
chmod 4755 *
busybox sh installer.sh

Now all you do is run (root):

busybox sh /sdcard/debian/bootdeb

And for those who want Ubuntu and to be able to customize the build beforehand:

https://wiki.ubuntu.com/ARM/RootfsFromScratch

For GUI apps, unfortunately Android does not run X11 but you can run it in Debian/Ubuntu then connect through VNC in Android. Download VNC Viewer for Android, install tightvncserver in Debian. Did I have a link to show you details? Well...

http://www.androidfanatic.com/cms/community-forums.html?func=view&catid=9&id=1620#1620

All you need to know is

export USER=root
vncserver -geometry 480x320

I know that this isn't exactly the thread to get specific answers on developing but if anybody does want to help me, just let me know.
[Tilt, TyTN II, MDA Vario III Android Development] enatefox:
Sorry to double post but for the sake of clarity, it just feels right..

I think there's a regression in wifi drivers here. Okibi, did you modify anything when you added them in your images? I used to be able to follow the usual steps (below) without errors. Any light you can shed would be helpful.

This has been the standard way:

cp /system/etc/wifi/wpa_supplicant.conf
/data/misc/wifi/wpa_supplicant.conf

insmod /system/lib/modules/wlan.ko

wlan_loader -f /system/etc/wifi/Fw1251r1c.bin -e /proc/calibration
-i /system/etc/wifi/tiwlan.ini

cd /data/local/tmp
wpa_supplicant -f -Dtiwlan0 -itiwlan0
-c/data/misc/wifi/wpa_supplicant.conf &

ifconfig tiwlan0 192.168.2.30 netmask 255.255.255.0
ifconfig tiwlan0 up

but now I get stuck at:

wlan_loader -f /system/etc/wifi/Fw1251r1c.bin -e /proc/calibration
-i /system/etc/wifi/tiwlan.ini

with:

Which seems to be in power.c of the source code. I don't know if that was done by Google devs or one of "us" but anyone have ideas? /sys/power only contains "state" so I'm assuming that initrd.gz changes are at fault. I'll see about that in the meantime.
[Tilt, TyTN II, MDA Vario III Android Development] szymonunion:
Hello,

battery again - yesterday I left in the evening phone booted to Android with 91% battery. In the morning after I woke up phone was off, battery 0%... Screen was off (sometimes it is working).

I will switch off sync and check - now phone is charging battery under WinMo.

Regards,
[Tilt, TyTN II, MDA Vario III Android Development] ALIEN_:
Hi All,

Thanks Okibi for your continued work on this :)

My Current System Setup:

Tytn II

WM6 Pro CE OS 5.2.1620 Build 18125.0.4.2

Processor MSM7200-400Mhz

R 1.27.12.11

G 22.45.88.07H

B 1.81.00.00

Using the Vodafone Network Australia.

I've installed Okibi 1.5 latest version I have it working however there are a few things i'd like to get advice/solutions on/to:

1. I don't have any sound even though I have all the various volumes turned up to Max settings.

2. Unable to setup APN.

3. When I call someone I can hear the other person however they are unable to hear me.

4. When I go into various settings I sometimes get the frozen message asking if I want to end program or not.

I've gone through the thread (has taken sometime) however I can't locate anything that has worked for me but there is a good chance I may have missed the info given the amount of information to go through. Very informative indeed.

Anyone have any recommendations on what i should look at to rectify these issues?

Thanks in advance for your assistance.
[Tilt, TyTN II, MDA Vario III Android Development] szymonunion:
ALIEN_,

IMHO you should update radio (1.70.x.x, 1.71.x.x), download android 1.1 version, set everything up (Internet, gmail sync etc) and then download okibi's 1.5 061509 and copy system.img and initrd.gz and edit default.txt with new options.

Also please include your actual default.txt here.

Regards,
[Tilt, TyTN II, MDA Vario III Android Development] ALIEN_:
I've just checked my tytn II and found it has:

ROM Ver 1.81.710.1 WWE

ROM Date 10/02/07

If that helps...
[Tilt, TyTN II, MDA Vario III Android Development] bandur:
@enatefox just a vote of support for the work you are doing. I am sure your contribution for debian/ubuntu on kaiser will help the development to get Android working better on our phones. In fact I would like to extent a special thanks to all of you who are able to support the actual development, -- and the more the better.

At some point I will try debian/ubuntu or some other linux distro on my phone. From a phone usability point I just don't know why that would be an advantage? Could u post a screenshort of what it looks like (vnc)?

just ny 2 cent ...
[Tilt, TyTN II, MDA Vario III Android Development] enatefox:
Having a Linux distro (formally) on your phone can be good for several reasons but the ones that appeal to me as far as this thread goes are:

All the apps for Debian/Ubuntu available on your phone

Once I get Ubuntu to bind to Android's root, you should be able to run them natively in Android (I need to figure out some X11 stuff first)

These apps/tools include wifi drivers, GPS and bluetooth

You can show off

Get out of Android's sandbox environment with a full-blown OS

Primarily, since nobody has been able to get wifi/bluetooth/GPS to work yet in Android this can also prove to be a quick/good fix since the drivers will compile in Linux and share the phone's hardware. A loopback will feed Android the connection (like VNC is forwarded to localhost:5901) for whichever/all of the 3 you want. I'm no expert in Android development but I can manage drivers in Linux.

On the other side, there's little sense that I can see for running Android inside Linux since getting the phone/text/etc. part to work doesn't seem worth it.

I think Android is doing pretty great at this stage with the help of everyone here. The only issues are those 3 that I mention. Since we've got Android devs I think there should also be work on this especially since they will cross over so nicely.

http://www.androidfanatic.com/cms/community-forums.html?func=view&catid=9&id=2248

This could be you but it's not me at the moment. I'm rebuilding an Ubuntu install and having issues with QEMU but that's another subject. I'll post that when I'm done because Ambient is nothing compared to playing music with Amarok 1.4. When I have KDE running, then there will be pics and downloads.

*******************************************************

In the meantime, here's some wallpapers I've scaled to use on Android

http://www.mediafire.com/?twsyglzgb0w

And most of my apps:

http://www.mediafire.com/?adyldgbnysw

Feel free to mirror these apps. Many took some time to find.
[Tilt, TyTN II, MDA Vario III Android Development] archongtv:
Hi. I'm using Android 1.1->1.5 15.06 with enatefox mod and I've got problems with sms/mms. I tried to send sms to my other cellphone and it went ok, but when I tried to reply - I've got: "Sorry! The application Messaging (process com.android.mms) has stopped unexpectedly. Please try again". Any idea why? Sending & receiving mms doesn't work at all. I've 2 APNs configured. One for internet (apn type: default) and second for mms. In default I've entered mmsc but it still doesn't work.
[Tilt, TyTN II, MDA Vario III Android Development] garringm:
@enatefox I tell you what I will try this when you get it to the point its a full blown OS just as Ubuntu and easy to install. I am not a Linux person I grew up in the windows environment I do have an Ubuntu live Cd well USB flash drive that I use. I am really liking UBUNTU over windows the more I use it but getting apps is confusing to me at the moment. I tried to get android source code stuff got al jacked up and frustrated so I quit, But I do like it over windows the more I use it. Just my 2cents

Here's a question I've been wondering for a while why is it so important that you have a certain build winmo rom, I can understand why certain radios work nad don't work.
[Tilt, TyTN II, MDA Vario III Android Development] enatefox:
@archongtv,

I don't text so I couldn't have tested that. Does it work with Okibi's 6-15 image? I just took that, changed some permissions, swapped the keys and added tools. Should not have affected that at all, assuming it works with Okibi's.

@garringm,

It's not ready to be 'easy' to use yet for most users. For people that do have experience and desire to set it up, I've posted enough info to get it running. My issue is getting my image to be able to connect to the internet through QEMU. Not to get too into details, it's slowing me down a bit.

It doesn't really matter if you see any value in personally using Linux on Android but having it running can supplement it in many ways. We haven't gotten wifi/bluetooth/GPS or the camera to work yet. Having a layer for drivers (I might even put Damn Small Linux if it's just for drivers so it should be under 50Mb installed) that can feed back to Android will boost development. Whether you want to physically use the OS is your choice but it will be easier to get the issues resolved as Linux support currently far outweighs Android support.
[Tilt, TyTN II, MDA Vario III Android Development] archongtv:
It doesn't work either on original and moded system.img. Any ideas is it my or global problem?

I've got also problem with wifi.
[Tilt, TyTN II, MDA Vario III Android Development] Xcloud1990:
Okibi, sometimes your last build get freeze, it doesn't happen with the previous one.

And sometimes (maybe it's better usually) when it is in stand by mode for more than 1 hour it won't wake up, i have to restart it!

Pm sleep mode is set to 1.

;-)
[Tilt, TyTN II, MDA Vario III Android Development] mburris:
This is happening to me on the latest 1.1 as well. Maybe its the kernel?
[Tilt, TyTN II, MDA Vario III Android Development] JeckyllHavok:
I got it, too. Not always but sometimes. Sometimes the device wakes up, but has just a white lightning screen.

Abd it seems that there is something crazy about the ppp connection. Sometimes i can use the browser for example, but meebo or market of lastfmplay say no connection. Reinitializing the connection doesn't help, too.

Firts a restart helps..
[Tilt, TyTN II, MDA Vario III Android Development] Xcloud1990:
Back to the previos one!
[Tilt, TyTN II, MDA Vario III Android Development] JeckyllHavok:
No it's not just in the latest buil from okibi or just the last dzo kernel.

It happend to me from time to time with several builds
[Tilt, TyTN II, MDA Vario III Android Development] skola28:
The latest build just crashed on me for the first time in a few days last night. (wouldn't wake back up)

I've noticed that it SOMETIMES has a hard time coming back from sleep, but only this once did it stay dark (not wake up).
[Tilt, TyTN II, MDA Vario III Android Development] enatefox:
Can someone clarify the battery readings on default/startup.txt? Is this an initialization value that tells Haret the battery level or the maximum that the battery supports? Why couldn't Mortscript write to that file what the current amount is? I'm going to try that and see but it seems like that would be an easy fix. I don't put that into the script anymore and the readings are pretty accurate so I assume the value is signaling Anrdoid's initial battery level.
[Tilt, TyTN II, MDA Vario III Android Development] andboy:
su problem solved

I had a problem running su until I realized there were two versions of it. The one that was running was in /system/xbin/. When I discovered another one in /bin/, I added that to my PATH. That su worked after I entered the root password.

The /bin/ directory also had all the busybox commands that I enjoy using.

I could use some help figuring out how to run a command automatically every time I start a shell. I tried using the Initial Command in Terminal, /.profile and /etc/profile but nothing worked.
[Tilt, TyTN II, MDA Vario III Android Development] enatefox:
I hadn't tried changing the path but I thought /bin was a standard folder.. at any rate what I did for su was change these perms from Okibi's:

Me on left, his on right:

/xbin

< -rwsr-sr-x 1 root root 76200 1969-12-31 19:00 su

> -rwxr-xr-x 1 root 208 86944 1969-12-31 19:00 su

where mine is owned to root's group and his is on the default terminal user's (GID 208). I'm not sure why my 'su' is different. I think (I've downloaded so many images...) that mine comes from JesusFreke's system.img for the official Dev phones and I don't know if that makes a difference besides perms.

As far as running an initializing command, I dunno about Android since what you posted is what I use on my Linux box. I would love to just be able to actually change the colors/fonts of Terminal and have the settings stick and not have BetterCut crash when I add a link to the desktop for Terminal. I'll take a look and see if anything comes to mind though.

There are some other changes too such as perms on wifi drivers that I changed too. As I noted a few posts ago, the power/wake_lock file is missing and I would love to hear a reason why or when that happened. Can't initialize wifi without it but then Okibi said he added his own hooks which might replace that.

Okibi, can you please explain what you've done for the wifi drivers?
[Tilt, TyTN II, MDA Vario III Android Development] n0r:
@ okibi, dzo , etc

I noticed something when holding my phone tilted into the sunlight,

when the screen is turned of i can see an block/bar/ moving from top to bottem of the screen.

maybe it is normal? i should say its using/draining battery because its not sleeping it actually is doing something?? im a n00b so i dont know if its true?

the best way to see it is turning the screen of and tilt your "tilt" :rolleyes:/ kaiser into the sunlight

greetings Ron
[Tilt, TyTN II, MDA Vario III Android Development] okibi:
New release up on my repo!

Changes in this build:

cleaned up initrd

updated wifi settings for enatefox

updated paths for busybox

updated maps app

included a few new apps

some small tweaks

code cleanup

http://ratedo.com/android/

NOTE: I'll probably not get much time for android until July due to work and house renovations. I'll probably do less dev work and more answering questions.

Thanks!
[Tilt, TyTN II, MDA Vario III Android Development] dzo:
You are dreaming if you think ubuntu will help with wifi/bt/gps, it's the kernel that needs drivers written for that stuff. To get X running you will need to enable the fb refresh thread in the kernel and use a fb X server.
[Tilt, TyTN II, MDA Vario III Android Development] dzo:
What panel type are you using? It only switches off the panel if you change panel_type from the default of 0.
[Tilt, TyTN II, MDA Vario III Android Development] enatefox:
The kernel supports it and the drivers are the same. Besides, a Linux layer can have its own kernel space and that can load the driver and connect to the AP. Bind enough points to the chroot and it's essentially overlapping the hardware. Then the chroot's network gets bridged/forwarded to the host. I'm not saying it's easy work but collectively we can all do a lot to get it working.

I don't expect to get X running since there is no support for it in Android but who knows what we'll figure out. Android apps can now run in Ubuntu. Sux is beautiful but of course requires a host and guest X server. I think if, like how Canonical got Darvik space to run, we can union Linux to Android's root, then make calls with Linux tools (export /opt/debian/bin/bash for example) that it couldn't run the app even if confined to a window to allow display within Android. That's how seamless RDP works with QEMU and to a crappier extent, MS Server 08's seamless apps.

At any rate, this is more interesting to me than trying to get X app to work on Y build. Thanks again for everyone's support.

Okibi, I completely forgot about swifi, catp, etc. that I threw in /bin. Still haven't figured out if I can type a ">" however I did find out where the "|" is... but anyways, thanks for updating. I might be losing my mind but I can not find where this file is in the error:

fatal error opening "/sys/power/wake_lock"

I thought initrd.gz but I don't see it... what am I overlooking?
[Tilt, TyTN II, MDA Vario III Android Development] seidler2547:
Battery meter

Battery meter calibration <- click

(should be linked in at a more obvious place, I admit)

More information

charging is always

hardware controlled

, so it really technically cannot matter whether you are charging your phone in WinMo or Android

any difference seen in charging levels between WinMo and Android is only because of different methods of calculating the current charge, never because there is any real difference

there is

no

method of actually knowing the charge of a battery accurately - all there is is better or worse guesswork

because WinMo and Android use different ways to do the guessing, there will always be a difference

HTH,

Stefan

P.S.: For the technically interested: WinMo uses Voltage and Current + internal tables to approximate the battery level, Android uses the hardware chip that is supposed to keep track of charging and uncharging. Both methods have their up- and downsides, but both are equally reasonable.
[Tilt, TyTN II, MDA Vario III Android Development] mburris:
Have we just given up on Call waiting functionallity in 1.5 releases?

Can you give me a quick pointer as to where in the release files I can check/edit/merge call waiting functionallity from a previously working release?

Where in the system.img (when I mount/extract it on my linux box) would I find the info?

Thanks?
[Tilt, TyTN II, MDA Vario III Android Development] stringbean82:
Already had a bookmark to this post :) as it a very useful way of keeping track of you battery usage, but can you tell me the function of this battery_patch.txt? and if your information in that older zImage is included in current GIT and zImages?

Am keeping track of my current battery which is having like 1600 mAh and 4512 units in it.
[Tilt, TyTN II, MDA Vario III Android Development] szymonunion:
Hello,

downloaded 170609 from okibi:

- Why MultIReader is twice in apps?

- /bin/su is giving # :)

- Internet/sync/market/calls are working

- I did not test WiFi ;)

- from some time (few releases before) I cannot change Terminal Emulator Preferences - I tried so many combinations - how to save prefs? I changed font size, color of foregroud/backgroud and I cannot save it - I have these small letters on blue bg.

Regards,
[Tilt, TyTN II, MDA Vario III Android Development] ALIEN_:
Hi SzYmOn

I was wondering if you might be able to shed some light on how you updated your WM, ROM and Radio.

Being a NoOb at this type of thing I'm a little concerned about getting the process wrong or in fact loading the wrong Radio/Rom. Do I need the updated WM to do the ROM and Radio?

Also what software did you use to backup and restore your Tytn II contacts emails etc????

Cheers
[Tilt, TyTN II, MDA Vario III Android Development] JeckyllHavok:
It's no problem to be a noob, but you are unwilling to read, there are several instructions around here on how to upgrade win mo and radio
[Tilt, TyTN II, MDA Vario III Android Development] ALIEN_:
This is in correct. All that I've read about the radio flash process etc has made the issue more confusing (for me anyway) hence I've asked for advice.

If you look at one of my first posts you will notice I mentioned I had read through the multiple posts.

Edit: JeckyllHavok I forgot to add that I'll go back and re-read some of the threads.
[Tilt, TyTN II, MDA Vario III Android Development] enatefox:
- Why MultIReader is twice in apps?

I stripped most of the stock apps and just use my SD card's folder. I'll repost Okibi's (he said he'd be busy anyways) with that fixed plus some other apps if I can think of any (my post before has a ton).

- /bin/su is giving #

It should not be (in my opinion). My permissions make you have to drop to the root console to give Terminal that ability. I'll repost Okibi's with that in effect for anyone who's interested. Good for security against malicious apps.

- I did not test WiFi

Please do, I have a script in my image and now in Okibi's 6-17 called "swifi" (start wifi) which you need to run with busybox since it involves the "cp" command.

su
busybox sh /bin/swifi

and see if you get this miserable "Fatal Error opening /sys/power/wake_lock" which I can't find in the image or in initrd. Does anybody know where the sys folder is?

- from some time (few releases before) I cannot change Terminal Emulator Preferences -

I don't know what happened with that. I'm going to take some older versions and see with AppInstaller App if I can get prefs to save. That is so irritating. If/when I find a working one, I'll post which version so future builds will include it.

Okibi's second to last release (before 6-17) got the silent call of death. Then it went to sleep and woke up with a white screen of death. First call since booting Android. I hope the new version isn't like that. I'm going to try to see if I can get a log file for those kinds of errors. Should help us out a bit I think.
[Tilt, TyTN II, MDA Vario III Android Development] enatefox:
@ALIEN_,

So I love to help people who are new to this but seriously, RTFM or search this forum.

Google "hardspl kaiser" and click the first result: http://xdaforums.com/showthread.php?t=498320. Upgrade your ROM by putting it on your SD card and name it "KAISIMG.nbh" then run HardSPL when it's installed (correctly) and it will automatically flash it for you. No Activesync/USB cable/Windows needed.

Personally, I stick with ATT's stock radio and use AthineOS since it's the fastest and lightest one I have personally tried.