yashsingh1/xdaforums huggingface dataset:
[Touch CDMA Android Development] vilord:
I was guessing that it would be a problem... but I haven't set up a build environment, so I wasn't able to test.

Glad to hear you'll have a little more time! I think next week things should calm down a bit, so I'm hoping to be able to spend more time on it as well... For the 1.5 user space / system, do you think it would be better to start from the released G1 build and make it work on our devices, or would it be better to start from the f00bar image and mess with it to fix things?

I'm personally wanting to start with clean G1 and work from there...
[Touch CDMA Android Development] jaredakelly:
good article for developers:

http://androidguys.com/?p=5342
[Touch CDMA Android Development] dzo:
I've just put a new 1.1 build on my site, it has an updated initrd with a working scp to make it easy to copy stuff over usb (still linux only though). The kernel is slightly different with the button leds controlled by android now and a larger blocksize for the sd driver. Just replace initrd.gz and zImage to try it out.
[Touch CDMA Android Development] mssmison:
I tried them out this morning and it seems to break cupcake builds. Just get's stuck in a loop at the android screen. I'm not sure if it was just coincidence as I'm working on a custom system.img for cupcake but after trying these files it's corrupted my system.img. I tried going back to an empty data.gz file, changed my zImage and initrd.gz back to my backup ones and I still get a loop at the android screen.
[Touch CDMA Android Development] ramontomzer:
touchpal for android

IDK if this is in the right place or not, but i wanted to let yall know that touchpal keyboard is out for android... this might be usable on vogue if you can DL from marketplace and install... for those of you who do not like blue keyboard or htc try touchpal... i use it on win mo and have used it for over a year and love it... anyways enjoy if you genius' can get it workin, i have no doubt youll figure it out!
[Touch CDMA Android Development] tatnai:
Second that, touchpal is hands down the best keyboard for win mo, will try it out.
[Touch CDMA Android Development] vilord:
cupcake only...

Just remember that like the HTC IME, the TouchPal IME/keyboard will only work with android 1.5...
[Touch CDMA Android Development] mssmison:
Just to let everyone know I've started a new thread in the vogue forum for android development. This is only for development, please do not come in and ask questions. I've learned alot in the last week or so and I think it would be a great place for us to share it.
[Touch CDMA Android Development] tatnai:
yeah, that was what this thread was for, and the Android Help Desk was for questions, but did not work out that way.
[Touch CDMA Android Development] Sublimeinlife:
I saw someone reply asking as to how to do this, the only way i found is through an app called AppManager which you can download free from the market, it will back up all the .apk files that are not protected to your sd card
[Touch CDMA Android Development] mssmison:
to back up you apps you simply can mount the data.img file in linux, and browse to the app folder and copy whatever you need out.

mount data.img /mnt/data -o loop
[Touch CDMA Android Development] aven_soulgazer:
Is Android 1.1 29-05-09 the newest release? I tried it.

I extracted everything with winrar.

I changed panel type in default.txt to 3 so the screen doesn't flash white.

Copied all the files to the sd card in my phone.

I ran haret.

It started through the text and got to extracting data.img and hung up again.

It will not boot past that still. I had this problem with the last set of files after getting my new vogue. Granted I am now running WM 6.5 but I'm not sure that it would effect it, and I'm having the same exact problem as the old files with WM6.1.
[Touch CDMA Android Development] mssmison:
6.5 won't affect it. How long have you let it sit? It takes a bit to decompress the data.gz file and build and data.img file. First time I always think it's crashed but it take a min.
[Touch CDMA Android Development] aven_soulgazer:
I let it sit for 5 minutes this time. The last times while on 6.1 and the old files it was 15 minutes 3 different times. Once was the same files from the previous phone so wouldn't of thought it needed to extract. I've never had it take that long before. Plus it's giving me a flat out failed message on it. I'll run it again and type out the actual message again.
[Touch CDMA Android Development] dzo:
I had made some changes to the sdcard driver but it works find for me, are you sure you have enough space on your card.

I've just added a new build that may work better, it now has a 128M data.img. Let me know if it still doesn't work.

For the panel type, I was trying to autodetect it but I've taken that code out so the default should work (though will use power when off).
[Touch CDMA Android Development] aven_soulgazer:
What's the newest build number then so I can get the newest files? So I need at least 128mb of free space on my memory card?

Thanks DZO

edit: I have 385 mb of free space after all the files were put onto the sdcard
[Touch CDMA Android Development] mssmison:
Did it boot this time?

Were there any other changes DZO?
[Touch CDMA Android Development] njakobs:
Use winrar to extract the data file from the 'data.gz' on your pc. You should end up with a data file with no extension, rename it data.img and put it on your sd card.
[Touch CDMA Android Development] dzo:
You can do this but if you get errors when extracting data.gz then it will probably crash on some other sd card reads or writes so it's better to fix it.
[Touch CDMA Android Development] zakkain:
So what is new in the June build on the site, DZO? The May 29 is really stable for me so I'm not sure if I want to risk any changes or upgrades.

Then again, I'm always looking forward to the next release, like a giddy schoolgirl.
[Touch CDMA Android Development] fiktion:
Ever since I started using Android again after taking a break from it while using WM6.5, it has been freezing up on me requiring a soft reset. I have all the latest files. I tried deleting everything Android, and starting over. Anybody else having this problem? Sometimes I can go almost a whole day, then outta no where, it just freezes in the middle of a text, browsing the internet, looking through the jokes app, or waking it up. It's becoming quite annoying, and it's rendering Android useless to me. Any help?
[Touch CDMA Android Development] dzo:
What are your default.txt parameters? Next time it freezes, can you post a debug log. To do this, reboot into wince and create a file called debug.txt containing:

pwf dmesg 0xe0000 0x20000

run haret and change default.txt to debug.txt, click on run and it will create a file called dmesg. Check dmesg has useful stuff in it (it won't if the phone has powered down) and post the last few dozen entries, the log wraps around so look for the entries with the largest timestamps.

The overclocking caused lockups for me sometimes, to disable it remove the clock-7x00.X entries in default.txt.
[Touch CDMA Android Development] mssmison:
What's peoples results been with the overclocking? How high and how stable?
[Touch CDMA Android Development] katmandu421:
There have been a few of us (me at least, I'm on Sprint) that have commented on Android "hitting the brakes" after being booted for about a day or so with the newer kernels. By newer, the latest one that seems to not have this issue is the zImage-gpu. I never had a "crash" technically, but it does slow down to the point where I got so frustrated and did a reset. I have always used the PM SLeep mode of 0, but battery seems to be pretty awesome with these recent builds, so I am testing PM Sleep Mode of 1 to see if this give any relief.

I thought that I tried without the overclocking lines removed and ran into the same slowdown, but I will try again on DZO's suggestion and make an EDIT with results.

Thanks.
[Touch CDMA Android Development] mssmison:
are you changing the dev settings for max running app processes? I usually run at 2, but 4 is kinda the general recommendation.
[Touch CDMA Android Development] bmessina:
Error from marketplace app

Hey - I'm on dzo's latest release, and have been having a blast diving through the marketplace. Of course the apps are hit and miss as far as if they actually work, which is to be expected. I downloaded the Pocket Auctions for Ebay one, which worked fantastically the first time I used it. Now it won't work. The home screen shows up, but anytime I try to sign in, look at an item, basically anything network related I get this message at the bottom of the screen: "java.io.EOFException". I uninstalled, reinstalled, same message. I'm hoping it's something simple.
[Touch CDMA Android Development] mssmison:
Well I've been working on vold.conf for a couple of days now and I just can't get it figured out. I confirmed with a friend on a dream that when they run mount from the terminal it shows a mount for vold.

Hopefully someone else can pickup on that.

I've been really succesfull porting over different skins and builds to work on the vogue, however the same issues of no sd card, and the screen wake issue continue. DZO said he'd hopefully post a kernel update today that should fix the screen wakeup issue. As soon as he does I'll post links to the 2 different builds and 3 different skins I've currently been able to get running.

In the mean time I'm going to start working on porting the hero build over.
[Touch CDMA Android Development] f00bar:
I'm pretty sure vold should just be a one-line patch to the vold binary, as it was for mountd...
[Touch CDMA Android Development] Magister2k7:
Well, I'm experiencing locks on my Titan too. However, there is nothing wrong in a debug log! It simply freezes, that's all.

Maybe that's because of WM 6.5, as when I used 6.1 there was no lockups.
[Touch CDMA Android Development] papaslides:
I just watched the video of the leaked hero Android UI from HTC, it looks really good so I have to say I'm really excited to see someone already trying to port it to our vogues. I've been watching this thread for a long time now, the android port still isn't quite stable enough for me to use regularly (I'm waiting for a more complete port of 1.5 so I can use the calendar apps and everything properly as well as a portrait on screen keyboard). But this is all very exciting I can't wait to see where it goes from here.

Is there a way to cook a rom that replaces windows mobile with android? (I'm guessing not but hey it never hurts to ask right?)
[Touch CDMA Android Development] mssmison:
No, can't cook a replacement. Someone did make a mortscript though that autolaunches android on boot, which is nice to use. And I would disagree with you that it's not stable enough yet. The builds I've got running are very stable and all the google apps work just fine, as well as the HTC keyboard. I can even include the chinese input htc keyboard for anyone who needs it. I actually run 1.5 now, with a very recent kernel. I just don't power off the screen.
[Touch CDMA Android Development] mssmison:
The vold.conf file needs to include a link to the physical locations of the sd slot. I've tried updating the .conf file with the name that 'mount' spits out but it still does not work.
[Touch CDMA Android Development] cubs3205:
Hey could you make available your 1.5. The only thing discouraging me from using android is the lack of the portrait keyboard in 1.1. If google apps work on 1.5 and its pretty stable, then I would definitely use android from now on.
[Touch CDMA Android Development] gjbnh:
I've been away for a couple of months, but see the Cupcake 1.5 is out. Has this been "Vogueified" yet. Doing a search of the forum I see members taking about it, but no download links or websites links. Where do I get it? I'm using 1.1 at the moment, but it has several downsides that make not as reliable as I would like for everyday use. Which is not to say it isn't AWESOME!!

mE!!
[Touch CDMA Android Development] mssmison:
the latest 1.1 is quite good. If you search f00bar's post's you find a cupcake build from a while back. I'll be posting my builds I've been working on soon.
[Touch CDMA Android Development] gjbnh:
KEWL, and thank you. My experience with 1.1 is good, but like I said there are minor issues that keep me from using as everyday OS.
[Touch CDMA Android Development] jaredakelly:
can't wait to see!!
[Touch CDMA Android Development] gjbnh:
ouch

I did manage to find Foobar's 1.5 release, but I've encountered a major problem. This problem has happened on the last 2 release of Andiod I tried also. After running Andriod,and then resenting the device, EVERY 3rd Party APP and Game I has refuses to run,complaining about unsigned certificates. The last 2 times I've had to HARD reset the device to recover.

I'm using an locked USCC 6.1 rom. Very discouraging. Anyone have a fix, BESIDES a hard reset??:(
[Touch CDMA Android Development] mssmison:
? Have you changed the settings-applications-uknown sources options?
[Touch CDMA Android Development] gjbnh:
Man, THAT was fast LOL; Talk about service with a smile (you are smilling, aren't you) Will try that. Thanks

OUCH, no such option on my USCC that I can find. What does the file tree look like?
[Touch CDMA Android Development] vilord:
There is no change to the vold binary, but there *is* a change required in the kernel. But as soon as you make the change in the kernel, it breaks 1.1....

DZO was planning to fork the kernel git into a 1.1 and a 1.5 version so that we have two kernels. I might look at building his kernel on my system with the change to see what happens with 1.5 with the right kernel changes.
[Touch CDMA Android Development] mssmison:
No file tree, just open your applications drawer, go to settings, applications and change it there.

I know he was talking about forking, I was only trying because he had mentioned to me that it was a userspace issue. Or that's what I thought he said anyways.. Oh well no worries. Let me know if it works
[Touch CDMA Android Development] gjbnh:
No such option My US Cell Vogue. Access is denied by CeRegedit, and I can't install or run ANY 3rdParty App, so editing the registry is out. The MS Security Configuration Manager appears not to work under Vista; when the phone is connected it does not show connected.
[Touch CDMA Android Development] grktaurus83:
He's saying you need to do this within Android.

In Android, go to:

Application Drawer > Settings > Applications

There is an option there about allowing non-market applications. You need to enable that.

The Application Drawer is Android's equivalent of a start menu and where you find all your programs.
[Touch CDMA Android Development] gjbnh:
Ahh I understand now, Thank you. But this action in Andoid will fix the Certificate errors I'm having in WM6.1????? That doesn't make sense to me. Esp since this is suppose to NOT effect anything on the phone's native OS. That is where I'm having the problem with certificate errors.

Doesn't matter,I can not run the loader for Andriod because it isn't trusted...sigh
[Touch CDMA Android Development] Spalla:
There's this Chain Explosion game I installed from the marketplace, which was no good (It locked my phone), so I uninstalled it. Then, the market app suddenly crashes and whenever I try to open it up now, it says the "vending" process wouldn't load and the application has to shut down.

How do I wipe out the memory and start over?
[Touch CDMA Android Development] vilord:
From windows, delete the data.img, then copy back from your desktop data.gz, and restart android. That is the equivalent of a hard reset for android/vogue.
[Touch CDMA Android Development] mssmison:
?? errors in WM 6.1 have nothing to do with android. Future WM questions should be asked in the appropriate forum. However sounds like you need to install the sdkcerts.cab
[Touch CDMA Android Development] vilord:
DZO, do you have your system.img modifications on git somewhere, or are they just local on your computer?
[Touch CDMA Android Development] gjbnh:
I have to disagree. These errors in WM 6.1 happen ONLY after I run Andriod. As a rule they occur after I've rebooted twice,and have happen ONLY after I run Android first. They Occur in a Locked USCC phone, and since I can't run ANY 3-rd party apps, so I couldn't run sdkcerts to fix the problem ("Not signed trusted certificate): I couldn't edit the regisrty from the Desktop, as access was denied to any modifications I tried to make. I bring it up in THIS forum because it happens after I run Android. And I make it here because this shows that running Andriod on this phone makes Changes to it, contrary to the documentation. I know most of you guys have unlocked phones, and it may not be an issue for you, but since there are few USCC roms besides the Official ones,the developers and users should be made aware. Having said all that, I know I should expect something like this to possibly happen. it usually doesn't, but this time it bite me in the a**.
[Touch CDMA Android Development] mssmison:
I just cannot see how android could change anything.. It doesn't do any writes to you system. WM is essentially shut down when haret launches the kernel, it's not like a virtual machine. Sorry I can't really offer you any more advice than what I have already, other than to make sure you have the latest radio, unlock you phone with icoke, install a custom rom and try again.
[Touch CDMA Android Development] vilord:
You say that you "can't run ANY 3-rd party apps"

The reason you can't run 3rd party apps is because the SDK certs are not installed.

The reason you can't run Haret is because the SDK certs are not installed.

Maybe you can make the connection here, Haret is a 3rd party app, and until you get your certs problem fixed, you won't be able to run it.

And the certs problem is 100% on the windows mobile side of things.

Find a fully signed app that can fix your certs issue and you'll be good to go, or flash to NFSFan's WM6.5 rom, and you'll be good to go.
[Touch CDMA Android Development] dzo:
I've been busy porting the kernel to 2.6.27 so that it can work better with 1.5. I've made a git repo called htc-msm7x00-2.6.27 on linuxtogo.org. It's not quite there, it boots but pm and audio don't work and it crashes often. There are lots of changes needed so it will take a while longer but I thought I would let you know what I'm doing. This kernel doesn't work with 1.1 and is only for vogue at the moment.

For userspace changes, the only thing I have written is the ril. It's not open source but if anyone wants the source I will give it to them. It's just the cdma to and from gsm conversions for sms that aren't open.
[Touch CDMA Android Development] gjbnh:
Well it looks like that is the only way to go, but I think I'm going to wait a bit. Having to reset 3 times so far to resolve the problem is a bit extreme. I having to much fun with what I have lol
[Touch CDMA Android Development] mssmison:
That's exciting news!

I'd love to have a look at the source.

In the interm I've started working on the google ion release. It's alot faster than any previous releases. Currently I've fixed some issues with brightness and audio. I'm just finishing trying to get the google apps to work.
[Touch CDMA Android Development] vilord:
Are you just using the pre-built binaries from the release ion/magic image? Or is there source available?

What kinds of changes have you made?
[Touch CDMA Android Development] katmandu421:
Does this mean that we have a bit more device storage capacity within Android? This sounds great, 64M was just a little cramped. Would we simply replace out data.img with the new one from dzo's site?

Thanks!
[Touch CDMA Android Development] vilord:
Yup :) That would be all you'd need to do...

You'd lose all your stored data and downloaded apps from the market, not sure if that is an issue for ya...
[Touch CDMA Android Development] Sublimeinlife:
is there anyway, obviously with a linux box to copy data like sms and application data over to the new 128mb img file?
[Touch CDMA Android Development] mssmison:
sure

mkdir /mnt/data1

mkdir /mnt/data2

mount data.img /mnt/data1 (64mb)

mount data1.img /mnt/data2 (129mb)

cpr -Rf /mnt/data1/* /mnt/data2

umount /mnt/data2

rename data2.img to data.img and copy to your device.

should work
[Touch CDMA Android Development] jaredakelly:
how are those new builds coming along? i keep thinking about it!
[Touch CDMA Android Development] mssmison:
Great, If people are okay with the things that still aren't working than I'll happily post later today. Honestly with DZO merging to the new kernel I've kinda been waiting to put them out until he's got a new Zimage posted. But I've had alot of interest so I'll post something later for everyone to try out.
[Touch CDMA Android Development] jaredakelly:
what were you trying to fix? id be happy to see some stuff fixed but up until that point it would be awesome to see what new things you've been working on!
[Touch CDMA Android Development] liam12189:
i want to use apps but i cant because theres no . (DOT) using 1.1

where is the dot

p.s im using touch dual (only posting here as our thread has like died)

thank you
[Touch CDMA Android Development] vilord:
fixed vibrate

Still working on the issues with SD card, but here's a pre-gpu kernel 2.6.25 (so that powercollapse works) with the vibrate issue fixed.

This is for people making the jump to 1.5 before the 2.6.27 kernel is done.
[Touch CDMA Android Development] vilord:
sd card for 1.5?

Well here's a modified initrd that uses the old mountd instead of vold, since vold doesn't seem to like how our devices already have the sdcard mounted.

It appears to make some programs that can't live without an SD card a little happier, but it isn't a long-term solution, just a stop-gap until we get a new 2.6.27 kernel.

This also uses dial-on-demand with a 5 minute timeout. You need to connect once first with Modem, then it will automagically disconnect after 5 minutes of inactivity.

Depending how you have your sync settings, it may not actually ever time out.

You can still use Modem to fully disconnect if you so choose.

There are a bunch of modifications to this initrd, please let me know if it works for you or not.

EDIT: Okay, xda wouldn't let me upload it...

see http://xdaforums.com/showpost.php?p=3910880&postcount=3719 for the file
[Touch CDMA Android Development] Spalla:
Sorry for throwing my noobish questions at you guys, but....

When's 1.5 going to be stable enough for end users like me to use it? and what's this "2.6.27 kernel" I keep hearing about?
[Touch CDMA Android Development] mssmison:
no link in the thread..
[Touch CDMA Android Development] vilord:
--removed--
[Touch CDMA Android Development] vilord:
1.5 will be stable enough for end users like you, when the new kernel comes out.

The kernel on this phone is like the engine and transmission in your car.

1.1 was meant to run on 2.6.25, 1.5 was meant to run on 2.6.27.

There were enough changes in 2.6.27 that it is taking Martin a bit to get things to actually work (right now it crashes a lot)
[Touch CDMA Android Development] mssmison:
edit, removed, some things aren't working yet..
[Touch CDMA Android Development] vilord:
i'll verify whether your system works with my initrd/kernel as soon as it downloads
[Touch CDMA Android Development] Spalla:
Sweet. When's it coming out?
[Touch CDMA Android Development] mssmison:
he's been working on it. When it's runable I'm sure he'll release it.
[Touch CDMA Android Development] Spalla:
Alright then, I'm cool with that.
[Touch CDMA Android Development] aven_soulgazer:
That would be a lot of work to not release it.

I still have not been able to get Android to work with my latest Vogue. I've redownloaded files and everything. What's the best way to reformat my sdcard because I have no adaptor for it?

Second, if that doesn't work. Will Sprint replace the phone because I can't get a needed program to run? When it ran on the previous phone? I think I'm going to call them up and complain and at least give it a try anyways. Just wanted some input from people that know sprint. Thanks
[Touch CDMA Android Development] bchi49:
will gps on Android be supported on xv6900?