yashsingh1/xdaforums huggingface dataset:
[Tilt, TyTN II, MDA Vario III Windows Mobile ROM De] toasty_:
Had somebody tested to run wlan with a calibration file that isn't from his own phone (maybe from newbie16 or my)

maybe its enough just to change the MAC-Adress

I've made diff with the calibration file of newbie and my and found out, that there are only a few differences (3 Offsets):

Offset 0x001C - 0x0021: MAC-Adress

Offset 0x0072 - 0x0076:

newbie16: [COLOR="Red"]3e[/COLOR] 00 [COLOR="Red"]7b[/COLOR] 00 [COLOR="Red"]b4[/COLOR]
my: [COLOR="Red"]3d[/COLOR] 00 [COLOR="Red"]79[/COLOR] 00 [COLOR="Red"]b3[/COLOR]

Offset 0x00D0 - 0x00D8:

newbie16: [COLOR="Red"]42[/COLOR] 00 24 00 70 04 5a 00 [COLOR="Red"]78[/COLOR]
my: [COLOR="Red"]43[/COLOR] 00 24 00 70 04 5a 00 [COLOR="Red"]68[/COLOR]

Offset 0x01C0 - 0x01C3:

newbie16: [COLOR="Red"]d4 3a 5d f8[/COLOR]
my: [COLOR="Red"]70 ff b4 0e[/COLOR]

Maybe some body can confirm this.

If i'm home, I'll test the 'calibration' from newbie16 with my phone. If it works, its maybe not needed to extract this file from mtd...
[Tilt, TyTN II, MDA Vario III Windows Mobile ROM De] Newbie16:
I've added a hero build here:

but for me it cannot connect to my gsm provider, doesn't see the sim or the sd card, its very strange.

But i love the boot screen

http://drop.io/calibrationfiles
[Tilt, TyTN II, MDA Vario III Windows Mobile ROM De] Newbie16:
The driver supports it, but the android UI does not, hopefully it works if you add it to:

/data/misc/wpa_supplicant.conf
[Tilt, TyTN II, MDA Vario III Windows Mobile ROM De] Newbie16:
I think its just ID info, i've tried firmware and eeprom data from a polaris and its worked as well as the kaiser's firmware and eeprom data, considering how close the kaiser and polaris are, the only difference that i've noticed is that the router no longer lists the name of my phone in the wifi status screen, which is a good thing as far as i'm concerned.
[Tilt, TyTN II, MDA Vario III Windows Mobile ROM De] battikh:
instead of doing (which was not working for me):

i did:

it's much faster than the 1st method which can take up to 20-30 minutes and it's working for me... (it just took 1min 30sec for me).

got the calibration file and wifi is now working with this method.

i'll test it again to see how long exactly it takes. if it's really not much, maybe it can be scripted to run at boot time if the calibration file is not found to automate the process instead of doing it manually though the terminal.
[Tilt, TyTN II, MDA Vario III Windows Mobile ROM De] toasty_:
OK, so it's no longer needed to extract /dev/mtd/mtd0 and eeprom ('calibration') can be inserted in system.img

Btw. now nearly all devices with TNETW1251 chipset should work with the driver... has somebody tested it?
[Tilt, TyTN II, MDA Vario III Windows Mobile ROM De] enatefox:
Can you tell me where you got the build from? Is it from:

http://code.google.com/p/vogue-hero/

by any chance? That's the best one I've tried. I want to make that one have wifi (so close...) but if it's the same one then that would save me a lot of face-to-desk anger.

Also, do we need the calibration file anymore or is that now being put in the system.img?
[Tilt, TyTN II, MDA Vario III Windows Mobile ROM De] Newbie16:
That is the build i used
[Tilt, TyTN II, MDA Vario III Windows Mobile ROM De] enatefox:
And I can confirm it's working. Thanks for getting that done so quick, now I can get Ubuntu running in it and actually use apt-get.
[Tilt, TyTN II, MDA Vario III Windows Mobile ROM De] BePower:
working fine here too.
[Tilt, TyTN II, MDA Vario III Windows Mobile ROM De] ibanezbass:
Wifi working fine here, and i can save networks. idk if thats still a problem?

Does anyone know if the themed hero/ION img is wifi capable? bc i would rather use it than the nonthemed img
[Tilt, TyTN II, MDA Vario III Windows Mobile ROM De] xhanay:
Calling on Android

Can't make any calls, is that normal?

Using latest Hero build with Wifi working.

Phone: ATT Tilt Unlocked with T-mobile
[Tilt, TyTN II, MDA Vario III Windows Mobile ROM De] enatefox:
ibanezbass: Hero download

Wifi is good but had a few crashes when sleeping with it enabled. SD card reads fine, phone service dropped a couple of times when wifi first connected but then restored again. Wifi would show connected but wasn't after making it "think" as Hero is prone to do with menial tasks like wallpaper selection. My guess is HTC didn't expect to poll the connection enough to update the status bar.

Overall, very good
[Tilt, TyTN II, MDA Vario III Windows Mobile ROM De] Newbie16:
I've automated the rom creation process, i'll add it to the boot sequence, it takes very little time and only reads about 45mb of the data, very fast, and it only occurs if you have a new data.img so it seems to be a good solution.
[Tilt, TyTN II, MDA Vario III Windows Mobile ROM De] enatefox:
Although not needed for me anymore, that's good to hear/read. Any idea on when and where it will be uploaded? We're kind of getting scattered with places to get the builds and most are for ION.

With some hanging and crashing and mentioning of it through this thread, is there any reason to suspect wifi is to blame or is it just 'normal crashiness' some are experiencing?
[Tilt, TyTN II, MDA Vario III Windows Mobile ROM De] :
Im testing this out right now and Ill report back asap. ;)
[Tilt, TyTN II, MDA Vario III Windows Mobile ROM De] soulbandaid:
When i go into terminal emulator with the android-1.5-2009-08-04 package I get an error when i try to su

It says "su: uid 10033 not allowed to su"

then i tried the other commands but it couldn't find getrom.

Help please!
[Tilt, TyTN II, MDA Vario III Windows Mobile ROM De] Newbie16:
I also had the same error, i'm moving to an older build. Where is the command for starting wifi set in this build? its not in the init file of the initrd.gz. Looks like many things have been moved around.

I have a 2G sim and this build keeps trying to use 3G and ends up disconnecting, so either way i can't use it
[Tilt, TyTN II, MDA Vario III Windows Mobile ROM De] enatefox:
soulbandaid, one quick way to bypass that is to go into TE, with the keyboard open, press Fn + Left Softkey (on the keypad not on the faceplate) and you will be in the root console. There will most likely be a bunch of crap ("@#/") so backspace or clear the line out (D-pad + C) then type "su." Press Fn + Right Softkey to return to TE. You probably will see "not allowed to..." but there should still be "#: " meaning you are good to go.

Newbie16, where did you get the ION build from? Vilord put one up yesterday with wifi-- are they the same? Personally, I just care that Hero is getting updated which brings me to my next point, can you tell me what you did to get wifi working on it? Zenulator's going to release a better one probably tomorrow so in anticipation... Thanks
[Tilt, TyTN II, MDA Vario III Windows Mobile ROM De] soulbandaid:
im not quite sure what you mean by d-pad c i tried the dpad on the face and c and the arrows and c and they both just made more crap symbols. I was able to execute su and the the # on the balck screen, but it was still $ when i get back.

i also tried executing the commands in the black screen but it couldn't find getrom when i ./getrom

i tried putting su without executing and going back to the terminal, but it pops up a menu when i come back, and i still have the $
[Tilt, TyTN II, MDA Vario III Windows Mobile ROM De] enatefox:
I'm not using that build so maybe something's different. You really only need su for getrom so when you're on the black screen (root console) you still need to cd into the sdcard since it's a different session:

(you're already root)

cd /sdcard

./getrom
[Tilt, TyTN II, MDA Vario III Windows Mobile ROM De] soulbandaid:
so in the root it blinks a bunch of bull!@#$ every few seconds. Do i need to execute both commands before it blinks the garbage? i can execute cd /sdcard and it blinks the crap, but then when i try to ./getrom it says it can't find it.

is there a way to make the rap stop blinking

edit: with quick fingers i managed to execute both commands before the crap blinked. It still can't find getrom...
[Tilt, TyTN II, MDA Vario III Windows Mobile ROM De] enatefox:
That's a negative on the output. The majority are power related and I'm convinced they indicate why things get all stabby especially when sleeping (wake_locks with wifi/data for example).

can you "sh ./getrom"

The build works for me-- could be a random fluke. Might want to start anew.
[Tilt, TyTN II, MDA Vario III Windows Mobile ROM De] jcarrz1:
Is there a way to make wifi work on a regular android build? can I just use the files addisu provided on drop.io and add a haret.exe and it'll work?
[Tilt, TyTN II, MDA Vario III Windows Mobile ROM De] :
I do not think so.

*Does Market work for anyone? It just says "starting download" when I try to get apps and it stays like that.*

*Someone said Google Maps does not work. I can confirm that IT DOES WORK*
[Tilt, TyTN II, MDA Vario III Windows Mobile ROM De] :
You use the terminal emulator in the developer tools. lol. :rolleyes: Did you have fun trying to type all that during boot? :eek::rolleyes:
[Tilt, TyTN II, MDA Vario III Windows Mobile ROM De] soulbandaid:
I just tried again and had the same problems. get rom is supposed to be in the root directory of the sd card with all the other files right?

anyone got any ideas about why this isn't working
[Tilt, TyTN II, MDA Vario III Windows Mobile ROM De] battikh:
wifi is working fine, at least, i can connect to the ssid (wep key). but after that, way too many drops, and when packets are not dropped, there's a lot of lag (like 800ms to ping my gateway). internet is not usable, but it does connect to the ssid :P

i'll try to change some settings on the access point to see if it solves the problem. anyone else facing this problem?
[Tilt, TyTN II, MDA Vario III Windows Mobile ROM De] acera:
I`m also having the same problem. Also sometimes ( usually during the lags in connection) I`m unable to open wireless controls menu in Settings. It just won`t respond.
[Tilt, TyTN II, MDA Vario III Windows Mobile ROM De] ajclai08:
Im getting the same problems as you are...it will say "wifi cant be shut off" but it isnt connected..and the wifi settings crash when u try to enter it when it starts to act up.
[Tilt, TyTN II, MDA Vario III Windows Mobile ROM De] Pandemic187:
Wi-fi is working for me. Slow, but it's fully functional.
[Tilt, TyTN II, MDA Vario III Windows Mobile ROM De] ljinsane:
google maps working as in what....did you actually try to use my location...get directions...ect.

or did you just open it?
[Tilt, TyTN II, MDA Vario III Windows Mobile ROM De] :
It works as in I can can stream the maps. I have not tried the other features. Instead of saying "Google maps does not work" say "Its not fully functional some features are not working properly, and list what does not work." If we could be more professional things would be much faster and smoother.

*I will release the working packing complete with everything. You will just copy and paste and it will work.*
[Tilt, TyTN II, MDA Vario III Windows Mobile ROM De] :
Working Complete Android Build With Wifi

As easy as copy and pasting to SD card

Download: Click Here!

Enjoy!​
[Tilt, TyTN II, MDA Vario III Windows Mobile ROM De] vilord:
thanks for the bold... what is different? what does it do?

And what is in it? Did you make it? Who's stuff did you use?
[Tilt, TyTN II, MDA Vario III Windows Mobile ROM De] :
Its android with all the stuff needed and you just copy and paste and it works. Its just a simple way to get it for the people who don't like to mess around with it a lot. I didn't make the build, I only repacked it for ease of use.
[Tilt, TyTN II, MDA Vario III Windows Mobile ROM De] noodlesgc:
In response to the Market not working. I can confirm that it *is* working. I downloaded a solitaire game.

It took a while for it to start.

It does seem a bit flaky, but my internet is over satellite, so my internet is not very impressive.

Google maps worked. I did not try directions, but I zoomed around a bit. (It was slow, but that is my internet).

P.S. Who do I donate my pledge to? The thread title says Addisu. Where are the donate links?

PP.S THANKS!!
[Tilt, TyTN II, MDA Vario III Windows Mobile ROM De] :
I know it works. Just had to reboot. :D
[Tilt, TyTN II, MDA Vario III Windows Mobile ROM De] jmonseur:
Thxx

It works like a charm thank you all for your hard work
[Tilt, TyTN II, MDA Vario III Windows Mobile ROM De] archongtv:
I get terrible lags (WPA2 Personal network 3 meters from access point) - 1024ms. It's impossible to use it normally.
[Tilt, TyTN II, MDA Vario III Windows Mobile ROM De] addisu:
Yes the speed is horrible right now. I am working on getting a fix for that. If anyone wants to help, please have a look at getting DMA to work. The interesting files I think are:

/system/wlan/ti/sta_dk_4_0_4_32/pform/linux/src/tnetw_sdio.c (in wifi driver)

drivers/mmc/host/msm_sdcc.c (in kernel).

At the moment we cannot use dma because the system hangs when using either of sdio_memcpy_fromio or sdio_memcpy_toio
[Tilt, TyTN II, MDA Vario III Windows Mobile ROM De] acera:
I thought that I done something wrong. But seems like quite a few (everyone?) people have lags and crashes of wirelles controls.

Will definitely help in any way I can. :)

Congrats once again for bringing wi-fi functionality to Android.

EDIT: Oh, and everything works for me, google maps, gmail, market, browser... It`s just that lags are abnormal, you need to be patient, very patient, to log into one of the mentioned services.
[Tilt, TyTN II, MDA Vario III Windows Mobile ROM De] enatefox:
Newbie16, can you tell me what you did to get wifi on the Hero build? I only tested the ION build to see if wifi worked but I assume the same. The wifi stack is incredibly buggy in its current state. Going to the root console (Fn + Left softkey) shows endless errors about it even with wifi off. This is probably causing the majority of the lag. Also, su is disabled.
[Tilt, TyTN II, MDA Vario III Windows Mobile ROM De] Magister2k7:
Can someone tell me, how you discovered WIFI GPIOS and place where calibration data stored?

I want to do the same thing for Titan (chips are the same, as I know).
[Tilt, TyTN II, MDA Vario III Windows Mobile ROM De] vilord:
could someone who has wifi working do me a favour and try loading up the latest rootfs from my google code site with one of the nand-enabled kernels?

I added a command /bin/getcal which I *think* should be able to create the calibration file without downloading the whole of NAND first... only grabs about 8K from nand, then grabs the 700 or so bytes that are needed...
[Tilt, TyTN II, MDA Vario III Windows Mobile ROM De] enatefox:
Wifi not working on the 8-6 build for me "unable to start wifi." Keylayout is wrong as well for ATT Tilt. Couldn't poweroff, went to sleep and never came back. I like that su is fixed correctly.
[Tilt, TyTN II, MDA Vario III Windows Mobile ROM De] enatefox:
whoops, disregard this post.
[Tilt, TyTN II, MDA Vario III Windows Mobile ROM De] ljinsane:
I'll give it a shot
[Tilt, TyTN II, MDA Vario III Windows Mobile ROM De] Newbie16:
When does /dev/ get populated? i'm trying to create an auto-generating script, it works in userspace but not when added to init in rootfs, can you tell me where i can add it so that its run early in the boot process?

Also it checks if its a kaiser or a polaris and if the kernel has support for reading the rom so it can be added to the standard startup script
[Tilt, TyTN II, MDA Vario III Windows Mobile ROM De] vilord:
/dev gets populated by the kernel when the kernel is initialized....

you should be able to use my getcal script on bootup if you use addisu's kernel... i think... i would be able to make much better progress on this if i had a kaiser :)
[Tilt, TyTN II, MDA Vario III Windows Mobile ROM De] Newbie16:
Su doesn't work, i thought it was fixed. Why does it say permission denied?

Also i can't get a stable gsm connection, it connects for a few seconds, shows good signal and then disconnects and shows no signal at the top. Windows behaves the same way if HSPDA is enabled, the sim isn't a 3G sim and i think its trying to use 3G and failing
[Tilt, TyTN II, MDA Vario III Windows Mobile ROM De] enatefox:
That's what I was saying. The very newest does request permission but it's not full fledged access. I've been trying to chroot and getting permission denied. The last few have had su-related issues although not the same on each.

With wifi enabled things can get real unstable. Especially with your Hero mod newbie16. I should have some time to look it over and hopefully figure something out.

Can these changes being done be posted like here or on the wiki? Doesn't seem to make a lot of sense to reinvent fixes and independently learn the same things.
[Tilt, TyTN II, MDA Vario III Windows Mobile ROM De] Newbie16:
there is some very strange mojo going in the kernel, /dev/mtd/mtd0ro doesn't exist at boot time, i ran identical scripts from the init file and as a separate file in as a user (su broken) running as the user said permission denied, so it exists, running in init said not found, so its either taking a very long time to show up or something else is starting it or something very strange and unexplainable is happening.

Well i didn't make many changes, changed /proc/calibration to /sdcard/calibration and made sure wifi.interface was defined. I also make sure the firmware, tiwlan.ini and wpa_supplicant.conf were the same. The kernel and matching wlan.ko were copied too, those were the only changes i made.
[Tilt, TyTN II, MDA Vario III Windows Mobile ROM De] Newbie16:
Oh, the commands i'm using are here, i used the `ls /dev/mtd/mtd0ro` because no matter how hard i've tried it refused to show itself at boot time, even with a good kernel, but mysteriously appears later when you use the terminal emulator.

I added vilord's method of getting the calibration file, its better than the one i was using

calibrationrequired=false

if `grep -q Kaiser /proc/cpuinfo` ; then
echo "Wifi Enabled Handset Found: Kasier"
calibrationrequired=true
fi

if `grep -q Polaris /proc/cpuinfo` ; then
echo "Wifi Enabled Handset Found: Polaris"
calibrationrequired=true
fi

if [ $calibrationrequired = true ]; then
if [ -e "/sdcard/calibration" ]; then
echo "Using existing /sdcard/calibration"
else
if [ -d "/sdcard/" ]; then
if [ `ls /dev/mtd/mtd0ro` ]; then
echo 'Dumping Rom...'
dd if=/dev/mtd/mtd0ro of=/sdcard/tempcal bs=8192 count=1 skip=4736
dd if=/sdcard/tempcal of=/sdcard/calibration bs=1 count=752 skip=64
rm /sdcard/tempcal
echo "Calibration File Created"
else
echo "Kernel does not support eeprom grabbing"
fi
else
echo "SD Card not found"
fi
fi
fi
[Tilt, TyTN II, MDA Vario III Windows Mobile ROM De] enatefox:
At least on Hero (don't know if this is applicable to ION since I don't see it) going to the root console shows endless tiwlan related errors. Does someone know a way to log these (logcat -f /sdcard/log.log or something) because at the least, the output could be slowing the process down causing instability and data drops I believe. ION may be redirecting that info from stdout.

Given that I don't know a good way to get the log, it's kind of speculation but should help.

Newbie16, I did just what you said to enable wifi but couldn't scan or save APs on 8-2 Hero. I made data.img's wpa_supplicant 777 world-writable and hard-coded the AP but same issue then it shuts wifi off. Any idea what to look at? Thanks
[Tilt, TyTN II, MDA Vario III Windows Mobile ROM De] Newbie16:
Which build is this?

I'm still sticking with my first working wifi build, i'm trying to switch to a 600mb ext2 file

Edit: The hero build has the debug wlan.ko i'll update it and upload a new one
[Tilt, TyTN II, MDA Vario III Windows Mobile ROM De] enatefox:
8-2-9 that you made although I don't think it's specific to the build. It's been the most reliable for wifi although the su issue is a hurdle. At least I'll have some time to get those logs made to check it out soon
[Tilt, TyTN II, MDA Vario III Windows Mobile ROM De] ljinsane:
I tried and it did not work...I still had to enter the following commands to get wifi to work:

su [return]

cd sdcard [return]

sh getrom.txt [return]

However, i have a question for you.

I was playing around with the latest hero build on my kaiser..and it booted up fine. Now how can I get data to work (i tried setting up the APN to no avail) if possible or better yet can we somehow get a hero build for the kaiser...the interface is 10 times better than what we have now
[Tilt, TyTN II, MDA Vario III Windows Mobile ROM De] natalic:
Unable to run

I could not get /bin/getcal to run. Just said what it was looking for could not be found. I will just try the old method and hope for the best:). But once it works, i'll be happy to test it.
[Tilt, TyTN II, MDA Vario III Windows Mobile ROM De] MOUSEY:
Do we have to generate the calibration file everytime we boot onto a new build ? I tried generating the calibration file and applied onto the hero build compiled with WIFI and it works.

However, the latest bundle in the repository does not seems so...

EDIT: Sorry, I overlooked. It seems like the directory /dev/mtd is not available in the latest bundle (http://vogue-android.googlecode.com/files/android-1.5-2009-08-06.zip). I wonder why "kaiser wifi" is stated as part of the description though...
[Tilt, TyTN II, MDA Vario III Windows Mobile ROM De] addisu:
If anybody downloaded kaiser-wifi.zip from page 4, it used to have the debug version of wlan.ko. Please download it again and replace your wlan.ko. The file (wlan.ko) is also at http://drop.io/wifikaiser
[Tilt, TyTN II, MDA Vario III Windows Mobile ROM De] Homeryz:
3G Data working?

I really like the build from (http://drop.io/calibrationfiles) and I got the wifi working, but I could never get 3G data working.

Has anyone gotten this to work?

If you did how?

Thanks Homer
[Tilt, TyTN II, MDA Vario III Windows Mobile ROM De] Newbie16:
New build on the front page, no more debug output making the os unstable, it should be a lot smoother. (this build is also old, might have 3G issues)

Hi, i have a 2G sim and the newer builds try to use 3G and fail, this sim looked like a good one since it worked fine for me, i didn't know it had broken 3G. Vilord made a fix but the fix broke the dialer for so i can't call anyone. Once i get a working build i can test i'll set one up.
[Tilt, TyTN II, MDA Vario III Windows Mobile ROM De] natalic:
The wifi package newbie made worked better but it really wasn't stable. Probably due to PIO instead of DMA (direct memory access). This like a DVD burning using PIO instead of DMA -- Slow and painful. I am a guinea pig so Newbie, please hit me up :) I'll be more than willing to test new developments and report back.
[Tilt, TyTN II, MDA Vario III Windows Mobile ROM De] alim274:
the boot loader gets stuck at "job control turned off"
[Tilt, TyTN II, MDA Vario III Windows Mobile ROM De] Newbie16:
What was the error just before the job control turned off?

Do other builds work for you? i usually get this error if the sdcard hasn't been cleanly unmounted. If other builds also do not work then you might have to reformat it, backup your stuff, reformat the sdcard and try again.
[Tilt, TyTN II, MDA Vario III Windows Mobile ROM De] HTCPack:
Newbie16, it works perfectly! Only problem i have is getting calls. You can't end the call or hear people.