yashsingh1/xdaforums huggingface dataset:
[Tilt, TyTN II, MDA Vario III Android Development] 81344songz:
How do I get internet working.

I have an Alltel Mogul and my service provider is metroPCS.

http proxy port : 3128

http user name : yournumber@mymetropcs.com

http password : metropcs

primary dns : wap.metropcs.net

Full mms settings

Server MMS

MMS addy http://mms.metropcs.net.3128/mmsc

upload addy

yourphonenumber@onlinealbum.metropcs.net

profile

http://uaprof.metropcs.net/uaprof/model of phone

user agent

user-agent model of phone

http header

X-DEVICE-MIN
[Tilt, TyTN II, MDA Vario III Android Development] enatefox:
Once upon a time, dzo said that I could jump into the root shell, type "su" and jump back to Terminal Emulator and have root access like I need for cupcake. This seemed to work for his build 6-9-9 but then with okibi's I get "can't access tty: job control turned off" and it will fail. To be clear, I'm (Fn+Left Softkey) to the root shell after opening the terminal app, typing "su" and then getting that error. Jumping back to userland gives me "$ ^@" which I think is the code for (Fn+Right Softkey) when I jump back.

The root is there but with the amount of debugging errors being thrown it is almost completely useless for me to play with since it will chop what I'm typing. And the fact that it rotates the wrong way is just not useful.

What made this happen and/or how can I fix this? I'll try to diff the system images and see but that's the long way to go for me..

I've been trying to boot Debian but with this root-is-more-work-than-its-worth action, it's just not easy going for me. Obviously I can't insmod, mount or chroot with regular ol' $.
[Tilt, TyTN II, MDA Vario III Android Development] bravekid20:
Data On Android

Hi Everyone,

I wanted to know on how to fix a problem. I'm running okibi's latest 1.5 on my phone. I have the apn and data setup and everything but the gooogle sync. Even though my browser on it works, the sign in part loads and says that sim might be wrong or google might be having issues. I've tried this many times. When loading android it says tty is turned off. Will that make a difference? Just let me know on how to fix this so I can log in and download things from android market.

Thank You
[Tilt, TyTN II, MDA Vario III Android Development] garringm:
When I use 1.1 when the battery is actually dead and not showing correctly my phone would do some wonky things.

@okibi I don't think something is quite right with the battery issue yet. I can only get about 3-4 hours of use time even with sleep mode set on 1
[Tilt, TyTN II, MDA Vario III Android Development] okibi:
Are you using my latest build? Are you sure sleep_mode is set to 1 in your default.txt or startup.txt?

I get 24-36 hours with it now.
[Tilt, TyTN II, MDA Vario III Android Development] Xcloud1990:
Okibi, about me, the problem is that android recognize the battery fully charged when it is at 44%. So the battery won't charge anymore because android switch off the charger.

I've tried to run winMo when the battery for android was fully charged, winMo said me it was at 44%..
[Tilt, TyTN II, MDA Vario III Android Development] garringm:
I am using the build before the one where you initiated the data conn. on boot I have sleep mode set to 1 I get the red blinky led ?? Give good charge last night wil see what happens today.

Another thing, did haret get a change I don't see the window anymore it just automatically gos into the boot script since I started using 1.5 ?

I would also like to know how some of you are getting these speeds on neocore fastest I've been able to get is 23.6 its clocked in startup.txt at the settings dzO posted a while back

Last but not least I do not have a 3g signal or at least it not showing on the top anymore I know I got one while I'm at work.
[Tilt, TyTN II, MDA Vario III Android Development] okibi:
With haret, it's setup to look for a default.txt to load when you click run, which you can change in the text box. However, it also supports startup.txt, which it will run automatically if it finds it. dzo uses default.txt in his builds, which requires the additional step of clicking run, whereas I use startup.txt which runs automatically.

The icon is not set to change, but your network should. You might be on 3g and not know it.

Thanks!
[Tilt, TyTN II, MDA Vario III Android Development] Xcloud1990:
If you have startup.txt you'll not see the window, with the default.txt you will.

So if you want to see the window, change the name of your startup.txt into default.txt or viceversa. :cool:
[Tilt, TyTN II, MDA Vario III Android Development] enatefox:
Yea, and in Windows it's not charging so well. I'm normally not able to get it to charge over the 44%. I've been trying to power cycle it and see if I can get a 100% again. I'm sticking with dzo's unless that gets fixed since that never happened on his builds
[Tilt, TyTN II, MDA Vario III Android Development] Xcloud1990:
With winMo I'm able to charge the battery at the 100%!
[Tilt, TyTN II, MDA Vario III Android Development] enatefox:
one hour of charging yields 34% to 46%. battery has always been fine before. I finally got 100% now so I'll see. Could have just been a fluke about capping at 44-46%.

Okibi, can you tell me about initializing wifi-- is that only at startup or is that something we can run from the shell (ifconfig tiwlan0 up)? And how about root shell? su in the root shell says it can't access the tty and going back to Terminal Emulator still is regular user.
[Tilt, TyTN II, MDA Vario III Android Development] enatefox:
Okay, this is post-worthy. Debian is up and running now. That's right.. now to figure out how to precompile packages since wifi isn't working and I don't have a data plan. Here's what my screen looks like:

localhost:/#

I know, you all want it. I'll post my system.img soon but I want to go through and modify the debian FS to include some needed/wanted/lusted after packages since I can't exactly apt-get install.

I'm still working on the image. I'm going with Ubuntu because I'm used to it and I couldn't get the Debian debs to install (not valid deb for ARM?) so I'm building it now with KDE and will work to keep the image light. It works perfectly though for a command-line only environment for now.

I'll release the system.img and the ubuntu.img as a bundle with a script to easily boot into it. Next will be to figure out unionfs so that the apps in Ubuntu can be run "natively" from Android's userspace. My system.img allows su and I am later going to work on adding the wifi drivers with a script/launcher to initialize a connection with an AP. Hopefully more after that. I also need to learn about Android's display since it's not X11 it may be hard to forward apps from the chroot into Android but I don't think it's impossible. I'm not pleased with Android's music player selection so I really want to get Amarok 1.4 on there and run it in Android.

Anybody who wants to help me, let me know. I've got plenty to delegate!
[Tilt, TyTN II, MDA Vario III Android Development] garringm:
Well that pretty much explains it for me. I must have been doing something wrong yesterday my battery life is working good today (I'll just blame it on a high sunspot count)
[Tilt, TyTN II, MDA Vario III Android Development] bravekid20:
Android Data

Hello Everyone,

Can anyone tell me how to get google sync to work? Every other thing works. Even browser! I want market to work but I need account and when I try to sign in it say sim or temp. problem. Also say tty can not be initiated during startup. Someone please help!!!

Thank You
[Tilt, TyTN II, MDA Vario III Android Development] poly_poly-man:
alright, figured I might get back into android - used one of the latest bundles (downloaded like last week) for 1.1, and unpacked everything over my old files (deleted data.img, my default.txt looks okay), then grabbed zImage with latest patches (including the display one)...

won't boot past "Go Go Go"... wasn't working with my old stuff either, oddly enough.

standard HTC rom on a tilt, radio as per sig, and default.txt:

#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 "pm.sleep_mode=0 msm_sdcc.msmsdcc_fmax=20000000 no_console_suspend ppp.apn=wap.cingular ppp.username=WAP@CINGULARGPRS.COM ppp.password=CINGULAR1 mddi.width=320 mddi.height=480 board-kaiser-keypad.atttilt=1 board-htckaiser.panel_type=3"
# fbcon=rotate:1
# console=ttyMSM0"
boot

ideas?
[Tilt, TyTN II, MDA Vario III Android Development] loserskater:
I haven't been on the android bus recently either, and I'm not sure if this will help, but is the zImage from 1.5? Because if it is, you'll need the system.img and the the initrd.gz from 1.5 as well.
[Tilt, TyTN II, MDA Vario III Android Development] garringm:
Well I'm not sure but I think we have been using dzo's zImage for both 1.1 and 1.5 atleast I have.

Just as an update to my battery issues I plugged in phone last night at 11 est still had 82 percent after unplugging at 5:30 am. My question is; is it a must to have the battery line in my startup.txt I have never used it before until a few days ago then I deleted it. I have never had problems with charging or draining until I added it except for going back to winmo. It would show a dead battery then die I restart a second time and it would read battery just fine. Which in my opinion is a small issue that I have no problem working around.

Another question why is it that I can't download something through androids browser to store on my sdcard excluding pics and some videos. Say for instance an updated zImage or new system image there are a lot of times I don't have access to a pc these are the only times I have to boot back to winmo then I have to do my searching all over and then wait for the winmo slug to do its thing
[Tilt, TyTN II, MDA Vario III Android Development] poly_poly-man:
umm... how can a zImage be from 1.5? a zImage is a kernel - did someone throw in 1.5-specific calls in there?
[Tilt, TyTN II, MDA Vario III Android Development] enatefox:
An update on getting Ubuntu/Debian running in Android..

So I just finished downloading KDE4.2 image of Ubuntu Intrepid (newest version compiled for ARM) and will try to strip it down since it included printing and other useless apps.

Does anybody have/want experience with this? I am hoping to get wifi/bluetooth/gps working in the chroot and bind Android's hardware so that the host will be able to use them too.
[Tilt, TyTN II, MDA Vario III Android Development] jmhalder:
the previous guy is an idiot, try the newest kernel anyways, i havent yet, but its supposed to have a better FB driver http://gigatron.de/.android/builds/zImage as for why it MIGHT not be booting, upgrade to a 1.71x radio, see if that helps.
[Tilt, TyTN II, MDA Vario III Android Development] okibi:
Now, there is no need to call anyone an idiot. At least they were trying to help...

The kernels should work on both android 1.1 and 1.5. The first thing you'd want to do is to make sure you are using a ROM/Radio combo that others have found to work well.

As for the next 1.5 build, expect it tonight.

Thanks!
[Tilt, TyTN II, MDA Vario III Android Development] JeckyllHavok:
I think there were some people with a little, little "android" that want's to be important...

Sorry, but that must be told...:p

Can't await new release okibi, great work
[Tilt, TyTN II, MDA Vario III Android Development] enatefox:
Okay, working with getting Ubuntu to run in Android has been an interesting process but I can use some help. Should I make a new thread or is there any interest here in getting it further developed? Right now I just need some help either resolving deb dependencies or chrooting into ARM. As for chrooting, I'm working now on recompiling qemu-arm to let me but it's tedious work to say the least.
[Tilt, TyTN II, MDA Vario III Android Development] cmus:
Ubuntu

Enate -

I am a big fan of anything that can get wifi working. I don't have any coding skills to help you, but I am a happy and eager tester who can give you feedback.
[Tilt, TyTN II, MDA Vario III Android Development] okibi:
While I would be interested in helping you as I think it's an awesome idea, I'd like to spend more time getting android to work correctly and direct my focus there for now.

I do believe that you should discuss your project in another topic as it's not really related to android development and adds to the bulk users need to read through to get help in this topic. Just my two cents.
[Tilt, TyTN II, MDA Vario III Android Development] loserskater:
touche... :o yes i must agree... i do have very very little android knowledge and i apologize for my idiotic remark. just gettin into it and tryin to help. i guess ill stay out of it and do a little more research before posting.
[Tilt, TyTN II, MDA Vario III Android Development] enatefox:
Alright, moving to new thread
[Tilt, TyTN II, MDA Vario III Android Development] wanderso:
PLEASE move to a separate thread - this has NOTHING to do with Android!
[Tilt, TyTN II, MDA Vario III Android Development] JeckyllHavok:
No, no man, it wasn't you i mean.

I wrote about the one who thinks to call anyone idiot here.

You are free to ask your questiones, that's what the site here is for. But i think noone should call anotherone idiot.

Feel free to ask..:)
[Tilt, TyTN II, MDA Vario III Android Development] garringm:
Okibi this maybe a useless ? But is there a way you can add your build version in the about phone info in settings, it would be very helpful to me keeping up with the most recent versions. Does anyone keep the androidonhtc wiki up to date with this information and what changes were institued. I would try to help but work keeps me from doing much latley
[Tilt, TyTN II, MDA Vario III Android Development] rfking2:
Since this is booted inside windows does that mean I dont have to use android all the time? Only when I am using aps?
[Tilt, TyTN II, MDA Vario III Android Development] ajclai08:
Yes, windows is being used on the main flash drive and android is on your SD card. So u cant mess with one another since they are stored on seperate drives.

Read the title of this thread....or maybe enatefox's entire post? This is Android and

Linux

for Kaiser...Linux boots 1st then android...Who says linux has to boot Android? I usually dont respond to these type of posts, but if you read anything, or understand what he's actually doing, please dont comment. This could help development for android on our kaisers as well..
[Tilt, TyTN II, MDA Vario III Android Development] okibi:
I have a new build up at my repo. Please give it a try!

Changes in this build:

data connection icon changes now

build data now in builds

keylayout changed to support kaiser and vogue

rild changes

new startup.txt commands (ppp.enable, wifi.enable, and wifi.ipaddr)

As usual, get it from my repo:

http://ratedo.com/android/

Thanks!
[Tilt, TyTN II, MDA Vario III Android Development] rfking2:
Thanks okibi, I will try it right now. I have a question though. I just loaded up your 1.5 from 6/10 and was not able to access data. Is there a step I am missing? I have att so the user and password you put in there looked fine.

Thanks
[Tilt, TyTN II, MDA Vario III Android Development] Pandemic187:
Did you get it working in 1.1 first? As mentioned several times, you have to get it working in 1.1 before it will work in 1.5.
[Tilt, TyTN II, MDA Vario III Android Development] coincoinlapin:
DO WE CAN HAS TEH WIFI?

Ok sorry, I had to make that joke.

Okibi's latest 1.5 is the best so far. Everything working as expected. Google services are much better for me now: Google market didn't use to work, but does now. (This could be a result of my provider opening up ports for the release of the Samsung galaxy though).

3g icon shows up. Is there a 3G+ icon in Android?

The only thing that fails, and which used to work in 1.1 is the Gmail app: in Data sync, the sync arrows turn forever but no data is sent or received. The app itself crashes on launch

Good works Okibi, Dzo and all the others I don't know about :D
[Tilt, TyTN II, MDA Vario III Android Development] unus32:
pm.sleep_mode=1

Working?
[Tilt, TyTN II, MDA Vario III Android Development] dzo:
Yes, but if you keep data connected the battery may not last that long. I find that disabling sync for gmail and the calendar helps a lot.
[Tilt, TyTN II, MDA Vario III Android Development] cbass:
Yeah, I changed sleep mode to 0, and my battery has gone down 30% in about 3 hours...

Did I change it the wrong way? This battery drain is ridiculous.
[Tilt, TyTN II, MDA Vario III Android Development] okibi:
You'll want sleep_mode=1 for better battery life. Combine that with not leaving your data connection on all the time for a great battery life.
[Tilt, TyTN II, MDA Vario III Android Development] radem205:
@okibi: You are doing a great job for all android users (also for the polaris users)! Thanks! But when I try your latest files on my polaris the screen is upside down. Is it difficult to fix that for the polaris users? And is it difficult to add the polaris keylayout into your package? Because with dzo files the keylayout is ok.
[Tilt, TyTN II, MDA Vario III Android Development] evoluzionne:
@okibi is your latest bulids read/write the sd card? because i think no 1.5 haven't able to do that yet...

regards

evo
[Tilt, TyTN II, MDA Vario III Android Development] poly_poly-man:
nope - upgraded to eMo radio, and it's still hanging out

Wasn't there a way to get an early log from haret?
[Tilt, TyTN II, MDA Vario III Android Development] okibi:
Up for some testing?

I uploaded a new initrd.gz file to the new testing folder of my repo.

Changes in this build:

added partition checking for sdcard as /data

/sdcard is now writable

speed tweaks (should boot/run faster)

fixed checking for app folder

As usual, get it from my repo:

http://ratedo.com/android

Thanks!
[Tilt, TyTN II, MDA Vario III Android Development] Niscandia:
I shall be checking this out, will be alot nicer not having to recompile initrd.gz every time a update to it comes out.
[Tilt, TyTN II, MDA Vario III Android Development] cbass:
I just dumped my card and put your latest package on it with the replaced initrd.gz and it feels smoother on first run than before... but I can't seem to make it connect to the market. I'll let it sleep tonight and play in the morning.
[Tilt, TyTN II, MDA Vario III Android Development] Niscandia:
Works just fine with a data partition so far.

Still have a small problem that the "IM" app won't run, just exits to the desktop. <shrugs> Minor thing.

Market is working fine for me, and it feels as responsive as 1.1 did.

Still too soon for me to tell on battery life.

Niscandia
[Tilt, TyTN II, MDA Vario III Android Development] okibi:
Just to note:

If you set sleep_mode to 1, you should get the same battery life you did in android 1.1.

You still need to upgrade from 1.1 to 1.5 if you want google services to work. (I'm working on it!)

If any app fails, please let me know and I will look into it. If global time, api demos, or neocore fails, make sure you have the correct resolution and one of the supported ROMs.

Thanks!
[Tilt, TyTN II, MDA Vario III Android Development] Sisqo:
okibi can you put on your site some .apk nice games?
[Tilt, TyTN II, MDA Vario III Android Development] skola28:
So far, ppp.enable=1 does try and startup the internet connection without using modem. Modem shows "Connected" but the connection is bogus (as others have reported).

I figured it may have something to do with the fact that in my default.txt, my ppp.username=none and ppp.password=none, so I change them to ppp.username=WAP@CINGULARGPRS.COM and ppp.password=CINGULAR1

Whenever I have those settings, the modem connects for about 5 seconds and then drops. So, I reverted back to ppp.apn=wap.cingular ppp.username=none and ppp.password=none
[Tilt, TyTN II, MDA Vario III Android Development] empy16:
Hello,

I'm using okibi's 1.5 and it's great. Thanks.

The only thing that i can't get to work is google sync. That includes e-mail, market and sync itself. Any ideas? Thanks!
[Tilt, TyTN II, MDA Vario III Android Development] mburris:
I was testing the June 13th build yesterday, and found that when someone would call me while I was on the phone, it would ring and ring for them, then go to voicemail. I would never be notified that I was receiving another call.

Other than that, the core functionallity seemed to work well. I don't have a secondary phone at the moment (wife is at work) so I can't tell you if the call waiting is doing the same thing in your latest build from today.
[Tilt, TyTN II, MDA Vario III Android Development] stringbean82:
Nice one Okibi, like said above the core works smooth, also made it running on my friends kaiser running nice and smooth.

earlier version I had an annoying bug that sometimes I wasn't able to get it out of sleep mode, even although I had set the previous working kaiser panel.

possibility of extending battery life by adjusting the sync times of Google?
[Tilt, TyTN II, MDA Vario III Android Development] ibanezbass:
@okibi

I'm having a problem downloading apps from the market. i read over ten pages or so and didnt see this problem so i thought i would ask about it. thanks
[Tilt, TyTN II, MDA Vario III Android Development] stringbean82:
Does other Google things work like: gmail, calender? could be related because your Google sync isn't working.
[Tilt, TyTN II, MDA Vario III Android Development] bandur:
Problem with 1.5 system image ..

For some time I have booted Android 1.1 and 1.5, but the recent June Okibi builds won’t boot completely. I only get to the Android logo. It doesn’t seem to be frozen, when I slide out the keyboard the image flips. I have left for an hour without getting any further (earlier 1.5 images needed 10-15 min for the first boot)

I have tried changing roms (various versions of PDAcorner and TCP) but with the same result.

I have tried changing boot options in the default text, including reverting to some of the options I know used to work.

The Okibi June 1.5 system images seem to be the problem. Earlier images and DZO 1.1 images boots fine.

I have Tytn II (with front camera)

Anyone have any ideas to what the problem may be?
[Tilt, TyTN II, MDA Vario III Android Development] stringbean82:
Maybe post your default.txt so we can see how you have set it up