yashsingh1/xdaforums huggingface dataset:
[Mogul, XV6800 General] shaolin77:
I just downloaded DRC92 to try on my Sprint Mogul...at first I noticed its a bit slow...but I ended up disabling Background Data Sync...which help a little. Still getting "Stop Responding" error messages here and there.

I have a good default.txt which I have been running with 1.5 until today when I started playing around with 1.6.

Reading on this forum as some suggested I used zimage 23-10-09.. is anything else I should replaced...how is 1.6 running on your moguls??

Do I even dare ask about 2.0.x that I've briefly seen on here? Anyone try this or made progress?

Thanks
[Mogul, XV6800 General] shaolin77:
is your SD card formatted with FAT32? If not, then I would recommend formatting your SD card through your PC? I have an SD card adapter which I just inserted into the SD slot in my laptop and formatted as FAT32...hope this helps.
[Mogul, XV6800 General] jrgii:
Is there any way to change this either on the phone or through adb?
[Mogul, XV6800 General] Magister2k7:
No. But I don't think you need this, just use latest kernel - there is a 'hack' to fix screen rotation.
[Mogul, XV6800 General] jrgii:
Could you point me in the correct direction? I have about 20 different kernels and not too sure which is the most current. All that I have tried don't fix the screen rotation issue. It's a bit annoying to type with the screen upside down.

Thx for your work, it got me closer to Android on my 2yr old hardware!

I now have a very stable android build, running 1.6. Main issues are the Market failing very often and the screen rotation issues.

I have all animations turned off from Spare parts, Home wallpaper set to greyscale and the Android Keyboard disabled. These mods increased the usablity and decreased the FC's i have experienced.
[Mogul, XV6800 General] Magister2k7:
Get any from the Vogue or Kaiser builds after 2009-07-22, they all have a rotation fix.

btw, what build are you using?
[Mogul, XV6800 General] jrgii:
From "About Phone" screen

Model:

Android Dev Phone 1

Firmware:

1.6

Baseband Version:

unknown

Kernel;

2.6.25-00903-g4c58024-dirtymartini@it0044296j

Build:

dream_devphone-userdebug 1.6 DRC83 14721 test-keys

anything else?
[Mogul, XV6800 General] cliffordconradsumner:
Quick question, I know that this is running under wm as of right now, but is it possible that someone will create a build that runs on the device natively?
[Mogul, XV6800 General] Magister2k7:
Where I can download it?

Is this really needed? I think it could be done if I have some spare time (not now). But before that we need to have a stable build that could completely replace WinMo.
[Mogul, XV6800 General] Jemilio3:
Wifi

There has to be some way to get Wifi to work. It shouldn't be too hard either because I think that the drivers in android partially work with whatever type of adapter is in the Titan. I believe that if android had absolutely no control over the wifi adapter, then you could connect to a network, boot android, and it would still be connected. Whenever I go into wifi settings in android, it says "turning on..." then "turning off..." then "unable to stop wifi". Maybe a little tweaking would make the drivers fully compatible?

Also, could a newer build of android (like 2.0) have more compatible drivers? If the drivers from that version worked, then you could swap the drivers from that into whatever build you are currently using in your Titan.

I think that having wifi compatibility is one of the most important things for this port, because most people I know, including me, who own the Titan, purchased it so that they would not need a data plan. Sorry for the brainstorming, just though that maybe with all the minds on this site we could figure out the wifi problem.
[Mogul, XV6800 General] jrgii:
If we could get wifi and the camera working, I think we would have a cheap awesome android solution.

Any ideas on where I could start to learn how to get the camera recognized?
[Mogul, XV6800 General] Magister2k7:
I believe Vogue's camera is much like ours, so look at that driver. You also can try to contact dzo, maybe he will help you.
[Mogul, XV6800 General] jrgii:
Hate to sound noobish... How would I "look" at the drivers?
[Mogul, XV6800 General] Jemilio3:
As for the camera thing: I heard that some people got the camera to work, but from what I understand the camera has a green shade to it; when I try to use the camera, the whole thing freezes.

I have found a few drivers that I think could possibly work on the wifi but I have no idea how to get android to actually use them. I've tried a few things with coding, but i haven't gotten anywhere. Anyone know how to make android use different wifi drivers?
[Mogul, XV6800 General] Jemilio3:
forgot to add this:

I also have no idea what kind of wifi adapter is in the Titan, although I have a hunch that it may be Texas Instruments. Any info on that would be greatly appreciated.
[Mogul, XV6800 General] Magister2k7:
Kernel source, look at http://git.linuxtogo.org/?p=groups/mobile-linux/kernel.git;a=shortlog;h=refs/heads/htc-vogue

Just a guess - it may be the same, as in Kaiser. But that is just a guess.
[Mogul, XV6800 General] Jemilio3:
If the wifi adapter is the same as the Kaiser, then that would be great because the Kaiser has working wifi in a 1.6 build. :)
[Mogul, XV6800 General] jrgii:
Wow... wish I knew what it all means!
[Mogul, XV6800 General] LargePrime:
Magister2k7;

What does this kernel need to get a flashable 'nix ROM for the Titan?
[Mogul, XV6800 General] Magister2k7:
We need to port all stuff related to NAND from board-htcvogue.c. The devices are pretty the same, so almost all things may be simply copy-pasted I think.
[Mogul, XV6800 General] LargePrime:
Looks like there are a few differences.

Here are the board sources.

It seems there is already a port (board-htctitan.c)? I don't think it has really been worked on since july09. Probably should contact the last maintainer...
[Mogul, XV6800 General] Magister2k7:
The last maintainer is me :)
[Mogul, XV6800 General] LargePrime:
Why are you posting messages on boards! Get copy and pasting!

lol

I guess I know your name now. Can I help getting this working?

Also perhaps we should make a post in mogul rom development?
[Mogul, XV6800 General] jrgii:
Seems like we have enough interest, let's organize a way to get working on it.

Magister I have added a link to your Mogul page from my site.
[Mogul, XV6800 General] Jemilio3:
Magister, you were right! The wifi adapter in the Mogul is the same as in the Kaiser. The actual name of the adapter is "tnetw12511". So now I've just got to find a compatible driver and it should work. The only weird thing is that the Kaiser's wifi works in 1.5, and 1.6, so the Mogul's wifi should work in those builds also.
[Mogul, XV6800 General] Magister2k7:
Things need to be done:

1) Port latest Vogue changes (easy)

2) Trace MDDI on/off commands (I tried with no luck. Maybe I did something wrong?)

3) Try to get WiFi working (start with loading Kaiser's driver. I do not use WiFi, and even cannot test it - so somebody else should do it)

4) Get a stable and fast Android build. I am using an old 1.0 for now (most of the time - as mp3 player), because no one else I tried is working at least with same speed.

You may do any of these tasks, just write what are you going to do.

As for rom development forum - write, if you wish. My English is far from ideal :o

There is already driver for Kaiser, somebody should port it.
[Mogul, XV6800 General] Jemilio3:
To Magister I will try my best to port the Kaiser driver to the Mogul. Thanks for the info.
[Mogul, XV6800 General] LargePrime:
Is there a User interface guide for android? I don't know what buttons do what, although I think it is neat they put the camera LED on the com switch. I thought I might write an intro guide, or steal one.

PM me contact or IM info Magister2k7, and lets see if we can coordinate some of these changes and make a hit list. So far we got Jemilio3 porting the WiFi driver
[Mogul, XV6800 General] jrgii:
Here's a couple links I found that may help with Wifi

http://xdaforums.com/showpost.php?p=4375016&postcount=52

http://www.htc-linux.org/wiki/index.php?title=WL1251

I would like to trace the MDDI on/off switches. How would this be achieved?
[Mogul, XV6800 General] Jemilio3:
I got the all the files needed for the wifi, including the drivers and calibration files from slm4996. Many thanks to him if we ever get wifi to work.

The problem for me is that I'm not too great at making linux do stuff, like run scripts, so I can't seem to get it to work. If anyone wants to help me, or just do it themselves, I'll PM them a link to all the files.
[Mogul, XV6800 General] slm4996:
Thanks for the mention, the version I sent you is from the upcoming KaiserDroid-2.0 . Anybody who want to take a peek at the wireless files/info:

http://www.homecncfun.com/my-downloads/?did=7

Feel free to share any links or info I post unless I say otherwise. The more we share the faster everything works better!

Good luck, I'll help with whatever I can.
[Mogul, XV6800 General] slm4996:
BTW, the calibration files are device specific. The script in the package creates one based on unique information in NAND. DO NOT include the callibration files in your builds, let the script create a new one for each user. If you don't your MAC addresses will all be the same.
[Mogul, XV6800 General] slm4996:
http://www.homecncfun.com/wp-content/plugins/download-monitor/download.php?id=8

Here is a system.img with wifi. Anybody want to test it?

I cannot test this as I do not have a titan.

Instructions:

Download and rename it to system.img, place on sdcard

Boot as normal

Wifi should work, if not run the commands:

su
sh /bin/getcal.sh

and try again. Post back dmesg and logcat if possible
[Mogul, XV6800 General] Jemilio3:
I'll test it! :)
[Mogul, XV6800 General] LargePrime:
Tested. Failed for me. Turning on Wifi locked up phone.

Other testers please post results.
[Mogul, XV6800 General] Jemilio3:
Wifi doesn't work, when I run the commands it says " sh can't open /bin/getcal.sh"
[Mogul, XV6800 General] Jemilio3:
First time I turned wifi on, the phone locked up just like LargePrime's, second time (after reboot) I just didn't touch it, and it went through its usual turning on... turning off scheme. Then I ran the commands. Maybe it's the version of android (1.0) that I'm running that doesn't work for some reason.
[Mogul, XV6800 General] slm4996:
does adb work on your phones? if it does use it to collect logs while you turn it on. I hope this helps you, I can't spend allot of time on it as I have to get back to work on my build!

The 1.0 could be a bit of a hangup for this.
[Mogul, XV6800 General] Jemilio3:
Well I will try a 1.6 build. Actually that's probably what's going wrong because as far as I know the Kaiser wifi doesn't work in 1.0, only in 1.5 or above.
[Mogul, XV6800 General] jrgii:
@slm4996 Can you try it out with this version?

http://nerdrockit.com/?page_id=10

I will gladly host the files for you.
[Mogul, XV6800 General] Jemilio3:
@ jrgii - thanks for the link, lt has a lot of good stuff in it.
[Mogul, XV6800 General] Jemilio3:
I booted once with the 1.6 build and the system.img with wifi, but it got stuck at "A N D R O I D_" which is really weird. I replaced the system.sqsh with the system.img, maybe 1.6 would need a system.sqsh with wifi.
[Mogul, XV6800 General] slm4996:
Attempt #2 from the ION build

http://www.homecncfun.com/wp-content/plugins/download-monitor/download.php?id=9

If wifi fails then

su
/etc/init.d/03firstboot

and try again
[Mogul, XV6800 General] high25:
keep getting

"Failed to mount /system" with the new test .sqsh

heres my bootlog if this helps...
[Mogul, XV6800 General] slm4996:
Apparently I repacked the system.sqsh wrong. Does anybody know if it will still work in the .img format?
[Mogul, XV6800 General] high25:
I used the one you posted before but I am stuck at the

A N D R O I D thing with a blinking line...

here is my bootlog again (does it help?)
[Mogul, XV6800 General] slm4996:
Last attempt for a few days

http://www.homecncfun.com/wp-content/plugins/download-monitor/download.php?id=10

this is a system.img based of the ION link

rename it to system.img and put it on the sdcard instead of system.sqsh
[Mogul, XV6800 General] high25:
still just getting to the "A N D R O I D _" :(
[Mogul, XV6800 General] Jemilio3:
yes, blinking "A N D R O I D_" is what I get too. Oh well.
[Mogul, XV6800 General] slm4996:
The files are all there, you just need to extract it and repack it after you have played with the sysinit.rc

http://wiki.xda-developers.com/index.php?pagename=Android system.img Customization

and

http://xdaforums.com/showpost.php?p=4487908&postcount=7822
[Mogul, XV6800 General] Jemilio3:
Making the system.img seems easy enough, but can this be done in android, or do I need a linux computer? Because temporarily I don't have a linux pc.

Slm4996, Thanks for those links.
[Mogul, XV6800 General] slm4996:
With those instructions you need linux, you could get by with using a "Live cd" but it would be slow.
[Mogul, XV6800 General] Jemilio3:
Ok. I booted my netbook off a live cd of Puppy Linux. It's a small build so it runs fast enough.
[Mogul, XV6800 General] cliffordconradsumner:
Oh, yeah, I was just wondering if it was possible..I don't expect it is really needed until it's stable enough to do the job solo..I just hope that it get's there sooner rather than later. :(
[Mogul, XV6800 General] LargePrime:
I think this is more important for the titan.

The Titan is the most memory constrained device. Booting from ROM would release a lot of ram, proportionally. And give us a better Idea of the actual speed of the device, so we can see if we need performance improvements.

Flashing the ROM is trivial. Why not go forward with a bootable image?
[Mogul, XV6800 General] Magister2k7:
Em... explain me, how will it give us more free RAM?
[Mogul, XV6800 General] LargePrime:
As I understand it currently one boots winMo then linux via haret. As I understand it Winmo remains in the background taking up ram.

A ROM boot should double our RAM.
[Mogul, XV6800 General] Magister2k7:
No, after Linux startup WinMo is wiped from memory, and all memory is available to Android. You can look yourself - just type 'free' in a terminal, and it will show memory usage.
[Mogul, XV6800 General] onecallednick:
But how do I install it?

People, I want a simple process to install a full-featured android rom onto my Titan. I don't mind booting from Haret. So far I've only been able to get the one jrgii going, and that doesn't seem to have any useful functionality (wifi, camera, market).

While that's what I want, I'd love a detailed step by step process too, if it works! got my XV6800 running on cricket well enough so I think i could handle it.

Is there such an animal? I've been looking high and low and can't seem to find one. Sorry to be asking such basic questions but I think this is the next step, asking basic questions after exhausting all the resources I can think of.

And thank you all for standing by a three year old device, for whatever reasons you do. I see keeping old hardware relevant instead of tossing it for the shiny new stuff as a morally righteous endeavor in addition to being a really great way to waste time. Cheers!

P.S. If there is anything I can do without in-depth prior knowledge to further the cause, use me! I'm particularly interested in getting wi-fi up since cricket has no service at my house.
[Mogul, XV6800 General] superevilllama:
Actually +1 on that! I am comming from running Warm Donut on the Vogue, and that was stable as hell and fully usuable. I have managed to get it to run on the Titan but the button mapping is completely crazy and a lot of things do not work. Is it possible for anyone to zip up their current best latest build?

Thanks again!!
[Mogul, XV6800 General] LargePrime:
There is no fully functional linux build for the titan. If you find one let us know.

I like the button mapping. the switch is a flashlight! Awesome.

Perhaps Magister2k7 will tell us how to remap the buttons
[Mogul, XV6800 General] Magister2k7:
What do you want to remap? Something can be changed by editing android's keymap, other needs a kernel changes.
[Mogul, XV6800 General] LargePrime:
How about you tell us how to find and edit the key map, and what it's limits are?

And perhaps an example of what needs a kernel fix?
[Mogul, XV6800 General] Magister2k7:
I have ported latest Vogue changes to Titan, so now we have Bluetooth working. All changes are pushed to git.

Also, maybe, this kernel will be able to boot from NAND. But I have not tried, as I do not need this for now.

You can compile it yourself, or download from my site

------------

Regarding the keymap. You can edit /usr/keylayout/qwerty.kl and remap keys as you wish. However, some keys, such as Mail, Internet and WiFi switch are hardcoded in the kernel, so they cannot be changed this way. To change them you need to patch board-titan-frontkeys.c file and recompile kernel.
[Mogul, XV6800 General] LargePrime:
Magister2k7 how do you feel about a bounty for getting wifi working?
[Mogul, XV6800 General] Magister2k7:
I will not do that, as I cannot even test it - there is no WiFi access points near me.
[Mogul, XV6800 General] d@rthqu3:
Im pretty new at programming. But id be happy to help in any way I can. I took a look at the kernel, and it does seem pretty hard to do. That said, i dont mind learning. I think being part of an open source project is a great way to learn. So please let me know what i can do to help. You can just PM me or something.
[Mogul, XV6800 General] sd_matto:
What are the steps that one would need to take to convert your zImage to a flashable .nbh (i.e., in order to boot from NAND)? I have searched, and though there are lots of premade solutions for Vogue/Kaiser/Polaris, I could not find a step-by-step description of what needs to be done.

I understand that once I have the right .nbh, I can try the following steps (no guarantee of success) to flash my phone: http://xdaforums.com/showthread.php?t=636024

Thanks in advance for any help.
[Mogul, XV6800 General] edward_b:
testing wifi on titan running android?

I've got a few access points near me :D, and with the Nokia 770 running maemo-mapper, i've got a few more wifi access points mapped out.

Please let me know how i can help test the Titan wifi zImages that result...
[Mogul, XV6800 General] Magister2k7:
First, you can try to improve touchscreen. See Vogue touchscreen as a reference, dzo have made a lot of improvements there.

For now, I do not know how to make it, however that should be pretty simple. But I do not see any point of flashing Android to NAND for now, so if you wish - search forums yourself.
[Mogul, XV6800 General] d@rthqu3:
sounds cool mag. ill look into it. :-)
[Mogul, XV6800 General] LargePrime:
How about the camera?
[Mogul, XV6800 General] Psionfenix:
here ya go

http://www.sendspace.com/file/qchjlu

also, in default.txt

the cmdline option you can make it "rw quiet" to not see the scrolling and other such. I turned off quiet because i'm trying to debug.
[Mogul, XV6800 General] l33tlinuxh4x0r:
sweet that worked for me. Just an idea...

I wonder what would happen if we used an initrd from gpe, openmoko, opie or qtopia?
[Mogul, XV6800 General] Psionfenix:
i tried opie and didnt get anywhere (i think it was opie), but give them a whirl and let us know what happens, I'm currently trying to get haretconsole to connect so i can start from there.
[Mogul, XV6800 General] l33tlinuxh4x0r:
never mind about my earlier post about gpe etc. We need a working sd card driver first (which I don't think that android currently has) once we have that we can use the provided root filesystems and boot with or without an initrd.
[Mogul, XV6800 General] Psionfenix:
i just threw my titan into the snow. though, i'm going to go pick it back up and smash it and send half to htc and half to sprint and tel lthem it was a peice of ****. :)

edit: didnt have the heart to break it. Can anyone connect with haretconsole and do some dumps. I can't for the life of my connect. I can't even ping the device. But it can ping my computer....
[Mogul, XV6800 General] l33tlinuxh4x0r:
you mean via telnet? or is haretconsole a program that I don't know about?
[Mogul, XV6800 General] Psionfenix:
its a program, go to the haret homepage and in documentation there's a link for it. I can't even ping my device though, so i can't telnet into it either.
[Mogul, XV6800 General] EtherealRemnant:
Okay haretconsole wasn't really that useful.

Although the entertainment value of writing 6500 pages to the phone and causing it to soft reset was hilarious.

But yeah, I really need to figure out how to build the kernel.

I've git cloned the source but all the headers are missing and I have no clue where to get them. It doesn't have a sys/ folder period.
[Mogul, XV6800 General] l33tlinuxh4x0r:
http://titanux.lwp.ca/wiki/index.php/Compiling_Kernel <-- that might help with compiling the kernel. Downloads can be found on the main page http://titanux.lwp.ca/wiki/index.php/Main_Page

That is the wiki that was started for linux on the titan. It is not my wiki but it was made for us. I would mirror all work in other places as I don't have control of the site.
[Mogul, XV6800 General] Psionfenix:
disregard.
[Mogul, XV6800 General] EtherealRemnant:
AWESOME link, l33t!!

Working on it now :)
[Mogul, XV6800 General] l33tlinuxh4x0r:
check out the status update http://it029000.massey.ac.nz/vogue/ he got it booting and using the web browser!
[Mogul, XV6800 General] EtherealRemnant:
That's awesome that he has it going... however, I've given up on the Mogul. There just isn't enough RAM for the kernel and the required libraries. :(
[Mogul, XV6800 General] mburris:
once the SD card driver is released (created) we will be able to boot the initrd (compressed android image) from an SD card.

The issue we are having here, as I understand it, is not that the android OS requires more RAM than our 6800's have, it is simply, there is not enough RAM left over after extracting the initrd image.

If we can get the SD card drivers going all should work well.

Eventually the entire android OS would be installed to the SD card (or maybe even main storage, if we can figure a way to bootstrap to the Linux loader, therefore bypassing the need for the Windows Mobile OS alltogether) and only require a fraction of the memory it is demanding now.

Correct me if Im wrong
[Mogul, XV6800 General] l33tlinuxh4x0r:
You are 100% correct
[Mogul, XV6800 General] dcordes:
did somebody try booting one of the console images? there are angstrom initrds with 3M will upload one later.

Download thse three files

http://dx.infernix.net/kaiser/initrd-angstrom-console

http://it029000.massey.ac.nz/vogue/zImage

http://it029000.massey.ac.nz/vogue/haret.exe

and save the following text to a file called default.txt

put all four files together into one folder either in nand or on SD, launch haret.exe, hit run, report what happened.
[Mogul, XV6800 General] EtherealRemnant:
Well it dumps to a console... but it doesn't accept any feedback from any of the buttons or anything. I've pushed every button on the device and none of them register.
[Mogul, XV6800 General] EtherealRemnant:
Wait a minute... I thought we couldn't boot from SD card?! It just booted that initrd for me...
[Mogul, XV6800 General] l33tlinuxh4x0r:
we can boot from it but we can't use it as root.