yashsingh1/xdaforums huggingface dataset:
[Mogul, XV6800 General] dcordes:
awesome that's progress! so you get no input from the keyboard? somebody able to cofirm?

edit: just fyi: That is the first step towards running android/openmoko/whatsoever on your titan. So call on your local linux guru owning a titan and ask him to join in the fun. I guess you just can't boot bc android rootfs is to big in its current state. that's what l33t picked up before- since you can only boot from ram for now (same situation as on kaiser/titan/voue) and you have 64M ram as opposed to 128M on kaiser you won't be able to stuff the huge initrd-android into ram. With and 8gb sd you will be able to use an 8gb root filesystem.

edit: for better comprehension: We can't access the SD card from linux because the drivers need changing. => We need to boot from the RAM and since titan only has 64mb ram (to get the ram usable by linux you need to substract the ram occupied by windows mobile of course) you can only boot tiny initrds.

In case you want to push this forward (making keyboard work would be a first setp imho) everybody who has a titan around can join #htc-linux on freenode and help, it's easy.
[Mogul, XV6800 General] Magister2k7:
Do you really use it? )

btw, it will eat some memory.

I think Android is useless for our phones. Only thing I use for now is Music - that's all. And even it works so slow...
[Mogul, XV6800 General] LargePrime:
So the problem is ANDROID is heavier than WinMo?

Is it likely that ANDROID will have performance improvements?
[Mogul, XV6800 General] Magister2k7:
Just boot Android and then switch to console (press Mail button) - you will see a lot of 'process ... killed' messages - that is due to lack of RAM. And it's just plain OS, with no any applications.

I don't think it will ever need less memory, as it is easier for Google just to target Android for devices with more RAM.

Maybe we should look for another OS than Android. Maybe Mer linux (it boots and some of the features work), or something like GPE (boots too) or Qtopia (haven't tried).
[Mogul, XV6800 General] onecallednick:
I'm up for anything. I don't want this quite good piece of hardware to die along with its unfortunate original OS. What have you had work and not work with Mer? It sounds like the most promising of the ones you mentioned.
[Mogul, XV6800 General] LargePrime:
Your currently our expert so tell us what is needed. You want we should help with one of these other distros?

How does the memory bandwidth compare to the bandwidth to/from a class 6 card? Can we use the class 6 as a memory extension?
[Mogul, XV6800 General] Magister2k7:
First, someone should look what distro has more features, more software, etc - to decide which one to use. I think anyone can do this - so, if anyone wishes - please do some searching.

The next step will be to try running and usable it on our devices - this is the place where some linux and maybe programming skills are needed.

We can use it as a swap, but it is not an additional memory - as CPU can execute programs only in real memory, not swapped. I tried enabling swap on Android with my class 6 SD card, and with default policy it is almost unused. With Android 1.0 it gets used, but device becomes very slow.
[Mogul, XV6800 General] onecallednick:
I'd like to give Mer a shot. I like the sound of a mobile OS based on Debian, and I see they've got it partially working on a Touch Pro 2. I don't know if that's going to help us out, since the TP2 has 288MB RAM. Magister, how did you get it up and running to the extent that you did?
[Mogul, XV6800 General] onecallednick:
I don't know about mer either, dang it. Why? Why couldn't we have just 64 more megs of RAM?
[Mogul, XV6800 General] Magister2k7:
Where can I download their build?

The problem I faced when running Mer is that is runs normally only with 640x480 resolution, that means we need to enable display scaling which makes drawing slower and adds blur. However, that can be fixed I think. Just get my build from http://magister.ipsys.net/?download=mer-20091203.zip and try to play with it.
[Mogul, XV6800 General] onecallednick:
Sorry to be such a n00b, but how does one set up mer to function? Same as android on the sd card?
[Mogul, XV6800 General] Magister2k7:
Almost the same. There is a readme in that build, read it.
[Mogul, XV6800 General] Jemilio3:
I figured out why the Ion build would not boot (failed to mount /system). When unpacking and repacking the system.sqsh you have to use squashfstools 3, not 4. I put all the wifi drivers in and the build booted up, but the wifi still wouldn't turn on. I tried many different things, none of them work. I tried "ifconfig tiwlan0" and it fails due to "input/output error". Also, when I change directory to /system/lib/modules and do " insmod wlan.ko" I get "inmod failed: no such device" any ideas on what's going on and how to fix it? Porting this wifi drive shouldn't be hard, as it is the same adapter and drivers as used in the kaiser and its builds.
[Mogul, XV6800 General] cliffordconradsumner:
So it would seem that Android for the Titan is a lost cause..I just hate the thought of purchasing another phone but I simply can't stand WinMo any longer..it's driving me crazy!

I thought that I read that 1.5 and 1.6 were running well on the titan as far as speed is concerned..is this not the case?

Oh well...maybe I'll pull out the old Nokia and give the Titan a break before I throw it against the windshield of an oncoming semi-truck..
[Mogul, XV6800 General] MrPenguin_2:
1.5 was slow, but still usable. I never tried 1.6. I can tell you one thing though...I picked up an Eris for $50 + my old Palm Centro. Holy crap. There is a *huge* difference.
[Mogul, XV6800 General] cliffordconradsumner:
Oh man, what a deal!...I guess I'm just gonna have to wait it out for a while. Stupid WinMo piece of poop.
[Mogul, XV6800 General] MrPenguin_2:
Yeah, I pounced on the ad when I saw it on Craigslist. After the guy who sold me the Eris left the Verizon store, the Verizon rep looked at me and said "Why would they want that turd of a phone?"

Hopefully you won't have to wait that long. With the release of the Incredible the Eris should be getting cheaper.
[Mogul, XV6800 General] mburris:
I can confirm this.
[Mogul, XV6800 General] bg9k:
I seem to have gotten farther than most of you in trying Android.

It appears to freeze at the stage after "loading" for a minute or so, where there's a red status bar type thing bouncing from left to right - but in reality it's just stuck - you can still pull up the on-screen keyboard with the camera button.

Has there been any more progress made on this?
[Mogul, XV6800 General] ryanbg:
Just curious, but why is the SD Card driver holding us back? Isn't here a pre-existing driver? Shouldn't this be easy to write? Has anyone attempted to write one?
[Mogul, XV6800 General] avalon53:
any progress on this? or has everyone given up lol
[Mogul, XV6800 General] dc13:
sadly i think people have given up even when people had 30MB from of ram it would work so i gues we r stuck with cooked roms of winblows
[Mogul, XV6800 General] dc13:
wow ok so i just made it so i had 36.34MB free ram and still couldnt get this thing to work :( hmmmmm guess we need to try some thing else.. i willing to try anything i get free moguls so i can try anything.... is this still going on?????????
[Mogul, XV6800 General] domineus:
well, it is unfortunate that after 30mb free, it still isn't enough. I really wanted to try android on my titan..

maybe a storage card version in the future?
[Mogul, XV6800 General] KitsunePaws:
gotta find out how to bootstrap the mogul so it no longer boots windows :)
[Mogul, XV6800 General] dc13:
we need to make a SD CARD driver so we can boot it from the SD CARD directly.. thats what we need..
[Mogul, XV6800 General] avalon53:
yeah :( the Kaiser guys have the damn thing up and running...
[Mogul, XV6800 General] kmartburrito:
I agree, that would be a really good direction to head in. On another note, I'm excited for Android to come out...
[Mogul, XV6800 General] ryanbg:
What's stopping us from writing an SD Card driver?
[Mogul, XV6800 General] wasupwithuman:
If someone could get me some more information about the sd card driver... Like I'm talking about exactly what is needed.. I have a really smart friend that is good with programming.. Like the guy is a genious... <--didn;t spell that right? Like just let me know what we need to do.. I will get it done or I will find someone to get it done... what about bootstrapping? anyone think that is possible... The issue I was running in to is that, when a unit is bootstrapped it can only take certain commands... so yeah.. Well someone get back to me... I want android... and i want it now. hahaha... but yeah.
[Mogul, XV6800 General] ryanbg:
Do you think it would be possible to use something like ndiswrapper for the SD card driver? I am just brainstorming possibilities until someone can figure something out. I am trying to find the specific hardware in the Mogul so I can get that information for your friend.
[Mogul, XV6800 General] wasupwithuman:
cool.. I check this thread like every 1 hour, just hoping someone is gonna be able to find something...
[Mogul, XV6800 General] FireSlash:
NDIS wrapper simply emulates windows' NDIS API, and uses the mfg specific driver to wrap around it.

While this idea could be applied, it'd require much more work than simply writing a SD card driver to begin with.

wasupwithuman, I think the problem is that we DON'T know what we need. I've yet to even find registers or memory mapped addresses for the SD card reader, so I'm guessing the problem starts there. I imagine once the hardware level is figured out, a driver could be adapted from another phone's port (Kaiser perhaps?) or from a similar embedded system's project (I know there are homebrew FAT drivers in the NDS Linux project).
[Mogul, XV6800 General] ryanbg:
Would this be any use? http://handhelds.org/moin/moin.cgi/HTCTitan
[Mogul, XV6800 General] wasupwithuman:
sd driver now working... it's about time.
[Mogul, XV6800 General] FireSlash:
Link please. I've been itching for an excuse to start working on builds for my Titan :)

[EDIT] Found it. Before anyone else asks: http://it029000.massey.ac.nz/vogue/
[Mogul, XV6800 General] dc13:
this works not to bad no keyboard tho.. and slow to use.. :( needs a exit button... but this is so sick that we have this.....
[Mogul, XV6800 General] cornelious2:
anyone know why some sd cards work and some don't with this? I have 3 non sdhc cards in fat32 format(biggest one is 2 gigs), but it fails to mount every time. (soo frusterating after seeing the screenies) I've tried running 4 different roms too.
[Mogul, XV6800 General] dc13:
http://it029000.massey.ac.nz/vogue/android.zip

download that and unzip all the files to the root of ur 2GB microSD card there will be a total of 6 files.

now put the card in your phone and run haret-0.5.1.exe on the phone.. now it will say run near the top right and it should boot..
[Mogul, XV6800 General] cornelious2:
yea I did that, just for some reason it doesn't like any of my 4 sd cards.. its killing me because I wanna see andriod!!! lol and they are all fat 32, I used windows and 2 other programs to format and re-format them.
[Mogul, XV6800 General] callan752:
Im not sure if this matters, but I just caught up with all the developments with andriod and stuff (i have been out of the loop for a while now) and i just downloaded the package of files that are linked early in the posts. I copied them to the highest level of my storage card (while still being inside the storage card root)Make sure you copy the files to your card with the card in your phone and your phone connect to your compy. I did not note any conversions taking place, but it did take quite a long time for windows to copy it onto the card through the active sync dialogue. I can remember if there has been button mappings made for the titan for andriod, but i was able to load it stably and i was able to poke out a phone number in the dialer, but other than that I got stuck b.c of a lack of back buttons, dont feel like you are missing out on anything b.c its not exactly usable for the titan yet..I may be wrong though... so anyway,

1.Copy it to the sd card through the usb connection of your phone

2.Keep the files together and open the haret

3.Enjoy a glimpse of android linux
[Mogul, XV6800 General] cornelious2:
yea, did all that too... its just not able to mount any of my sd cards, thats why I was wondering why some cards work for people and some dont
[Mogul, XV6800 General] Vinny75:
First time I copied it through the phone using the USB to my SanDisk 8GB card and it wouldn't work. I then plugged my 2GB crucial directly into the computer and did the copy then and it worked fine. I later put the 8GB back in the phone and it worked... so... not sure that it matters if you copy it through the phone or not
[Mogul, XV6800 General] dc13:
try reformating the CARD to FAT32 and a default allocation..

that might fix the prob..
[Mogul, XV6800 General] kmartburrito:
X2

...I have one card formatted one way to load custom ROMs, and then the other 512 I have is the card that came with the phone. I believe it's FAT32 that you need also, and if that doesn't work, then it might have to be formatted with a specific cluster size too. I believe I saw a load error on one of my cards that referred to a specific cluster size.

Anyway, try that like dc13 said and you should be up and running in no time.

Also, the camera key brings up the on screen keyboard. to calibrate the screen, you need to hold down the camera button while the on screen keyboard is still showing, and tap opposite corners of the screen with your stylus. I usually just go from one corner to the other, like bottom-left to top-right. But there's an issue with one of the files on there and the Titan, where it will randomly freeze every once in a while. Still, it's cool to see linux booting on the Titan :D
[Mogul, XV6800 General] cornelious2:
I want to thank you all for trying, still no luck here. I think I just hit the unlucky lottery with SD cards this time around. I have tried every option in the list on the formating program for fat 32 and no progress. Problem is that my wife would probably kill me if I bought another sd card. especially if it didnt work. haha
[Mogul, XV6800 General] dc13:
ok Reformat you 512 card with FAT32 DEFAULT cluster size

now redownload the zip file

(make sure nothing is running when doing this.)

now unzip the zip file you have just DLed into a folder on your desktop.

now plug in you memory card to your computer

now open up the memory card to the root. (C:,D:,E:,F:)

no inside the folder on ur desktop copy the 6 file to the root of the memory card.

if this doesn't work then wow something is wrong with your phone.

also make sure you have th latest rom.

3.56 on the HTC MOGUL

http://216.139.227.226/RUU_TITAN_SPRINT_WWE_3.56.651.0_RS_TITAN_3.42.02_SPCS2.04_PPST_0718_Ship.exe

hope this can work following these steps.

if this works try the exact steps with you other memory cards.
[Mogul, XV6800 General] cornelious2:
I'll try this once I get home
[Mogul, XV6800 General] wasupwithuman:
Tips

Ok... a few tips...

1. When booting haret, try to have atleast 20 megs of ram free... I dont know if it's nessessary... but it does help.

2. I normally do a soft reset right before i boot Android... Again.. helps clearing up the ram...

3. Try putting all the files in the same place... \storage Card (do not make a haret or android folder)

4. I haven't tried booting it on wm 6... but the stock sprint 6.1 rom that just came out... boots it up nicely... It takes my mogul about 23 seconds...

5. join the htc-linux chatroom on freenode... if you need some help...everyone there is really good at helping people out...

6. Take some time if you go in the chat room to thank DZO... this guy made it possible. I'd say donate some money via paypal... but i havent been able to find if he accepts donations.. (but maybe if we get enough people to donate he can buy a mogul and help us out...) :D just a thought...
[Mogul, XV6800 General] dc13:
Ok so the default value was set to 2000000 and now it has been changed

paste this in your default.txt file

delete everything

set MTYPE 1667

set KERNEL zImage

set initrd initrd.gz

#set initrd initrd-android

set cmdline "ppp.username=mobile@jamamobile ppp.password=telecom msmsdcc_fmax=32000000 msmsdcc_4bit=1

# console=ttyMSM0"

boot

this will boot with 4GB cards so far that I have tested... this also still works with smaller cards.. so it might just be safer to edit them all with this..
[Mogul, XV6800 General] FireSlash:
Boots fine on 13.

And it's still faster than win mo.:rolleyes:
[Mogul, XV6800 General] cornelious2:
still a no go, I think my sdcards may be too old or something they are all well over a year old
[Mogul, XV6800 General] dc13:
I need you to take a pic of the error that it gives you..

once the loading stops take you camera and set it to P not auto.

now there is a flower some where and press that once and it sets the camera to MACRO mode to take pics of close up things to the lens.. now take a pics and e-mail me it.

DC13@cableone.net

and ill try some thing..

What size of memory card are you using and what kind

Name, Brand, Size, Speed
[Mogul, XV6800 General] cornelious2:
okay, ill do that, im in training till the end of the week.
[Mogul, XV6800 General] cornelious2:
I dont have access to a camera besides my phone at the moment so I will type out the error. It starts with Unknown Boot Option for the pop.username and pop.password statements then it is followed by 4 mmc0: Command Timeout. After that it tried to mount /dev/block/mmcblk0p1 on /sdcard and it failed with invalid argument. the last line is can't access tty; job control turned off.

my micro sd card is a 2GB Kingston I also have the stock 512 sandisk that came with the phone.
[Mogul, XV6800 General] dc13:
try to use

24000000

or

16000000

and not the

32000000
[Mogul, XV6800 General] cornelious2:
tried both, they added one extra error

mcc0: timed out waiting for DATAEND
[Mogul, XV6800 General] dc13:
ok i send the guy that helped make this work for u a e-mail so im just going to wait till he pops in here or e-mails me back.
[Mogul, XV6800 General] cornelious2:
awesome, you rock bro.
[Mogul, XV6800 General] dzo:
Hi,

OK, try the latest zImage from http://cs-alb-pc3.massey.ac.nz/vogue and use this in your default.txt:

set cmdline "ppp.username=mobile@jamamobile ppp.password=telecom msmsdcc_fmax=48000000 quiet"

(all on one line).

This is what works for me but the msm_sdcc driver still does have issues on our hardware, I'm looking into it.
[Mogul, XV6800 General] cornelious2:
downloading now :)
[Mogul, XV6800 General] germie99:
download complete

extracted files to a freshly formated 2gb card in FAT format (not FAT32) ran haret.exe from card and boots up quick.
[Mogul, XV6800 General] cornelious2:
still a no go, dzo do you have any clue why some cards work and some don't so if I were to buy a new card I wouldn't be wasting my money on buying another one that wont work?
[Mogul, XV6800 General] dc13:
boots faster... idk hope people are doing good with this so far

EDIT-if you are going to buy a new card get a 8GB card thats what I use also i have a 4GB and a few 1GB..

all are the class 6 so the fastest ones so far...
[Mogul, XV6800 General] dzo:
Hi,

I don't know why some work and some don't, it's probably because I didn't get the clock code completely correct. Try one of these values for msmsdcc_fmax: 12000000,19000000,23000000,24000000,32000000.

You can also try adding msmsdcc_1bit to the cmdline. Also, let me know what values are printed for clk_set_rate as it boots.
[Mogul, XV6800 General] cornelious2:
Last night it said 10000 as the value, but this morning its skipping that part, and going straight to not recognizing the card. as I get time, I will be trying each combination during breaks at work.
[Mogul, XV6800 General] KitsunePaws:
Silly Question..

I changed to the 32000000 and i didn't get many timeouts!

But now it's saying

Error 438 could not load libc.so

Error failed to link /system/bin/sh

Error cannot link executeable //system/bin/sh

Did I do something wrong?

edit:

Nevermind, I'm an idiot, I left old files on there, I figured it would overwrite when I ftped in and put the new files on, didn't account for the fact the old ones were in CAPS and the new ones were in lowercase. Leaving my stupid post in case anybody else has this :)

However, Now that I fixed that, still can't boot.

I get 4 command time outs

Welcome to Vouge Linux

HOW ARE YOU GENTALMAN

reading config file

device init

ANDROID

Intit. Modem

Bunch of crap including 127.0.0.1

sh can't access tty; job control turned off

#

So it's sitting at a terminal...

:(
[Mogul, XV6800 General] cornelious2:
at least your getting farther than me :) im getting the timeouts, and cant access tty and thats about it.
[Mogul, XV6800 General] KitsunePaws:
Yeah, Mine stops at can't access tty :(

Actually, in playing around a little more, I'm starting to think this is due to how I am getting the files on mine. Using Active Sync, or using mocha ftp server, it won't boot. I copied them all over using a sd card reader in the pc (raw access) and I'm getting a bouncy red loading bar (of sorts)
[Mogul, XV6800 General] dc13:
it is safer to use a card reader and not active sync or any other way.

or try downloading the file on ur mogul and then running it that way. since it has a zip extractor and then set all the files to the root of the memory card..
[Mogul, XV6800 General] cornelious2:
"unknown boot option 'ppp.username=mobileejama"

"unkown boot option 'ppp.password=telecomm':

mount failed: invalid argument

failed

failed to mount SD Card

is my latest status
[Mogul, XV6800 General] germie99:
Google maps <sattelite view>

Map search function

Seattle
[Mogul, XV6800 General] germie99:
Sent myself an SMS

Browser homepage

Audiworld.com
[Mogul, XV6800 General] maxdamage2122:
Audi world huh? What kinda audi do you drive? I prefer audiforums.com :p
[Mogul, XV6800 General] germie99:
I like to keep it old sckool for now ;)
[Mogul, XV6800 General] germie99:
I copied the files from this zip:

http://it029000.massey.ac.nz/vogue/android.zip

to the root directory of a 512mb microsd via usb card reader, ran haret.exe.

anybody else make any titan progress with Android? I downloaded the SDK today and was going to mess around with it later.
[Mogul, XV6800 General] maxdamage2122:
There's a newer version of android which can be found here http://it029000.massey.ac.nz/vogue/android-new.zip. Buttons still don't function but "ok" button on the keyboard is the menu button, "shift" is back, and the windows logo is home.
[Mogul, XV6800 General] thetoady:
does one have to do anything special to get internet working with a mogul (i.e. sprint) or does one just drop it in place, boot and it just works?
[Mogul, XV6800 General] wasupwithuman:
i haven't managed to get it to work... Try visiting the htc-linux chat... Everyone there is extremely helpful...
[Mogul, XV6800 General] thetoady:
well, I just dropped it into the root directory of my 8GB SDHC card, and it seemed to work pretty well.

web browser and google maps worked. One phone number I tried didnt work, but might have keyed it in wrong. in google maps, my location doesn't work, places me near google's offices (probably default location).

web browser has potential (renders well), but not that usable without being able to key in web addresses (but went to espn as that was built in, and that's a relatively complicated page), though the zoom in/zoom out metaphor didnt work so well.

anyways, has potential.
[Mogul, XV6800 General] drummania:
mine stuck at the glowing robot screen. It receives calls but then a message box pops up saying "android.process.shared has stopped unexpectedly". It cannot hang up calls either.

edit: it turns out something went wrong during decompressing the .gz files. I decompressed them on my desktop and copy the .img files onto the SD card. Now it works.