yashsingh1/xdaforums huggingface dataset:
[Touch Cruise Android Development] reiteravi:
1.cant find the irc channel

2.dont know if already mentioned/possible

how about project PolaRoid ?
[Touch Cruise Android Development] bally3:
lol..! I like it.. though we may get sued by Kodak ;)

its POLARIS_DEV apparently I had a typo in my signature. :rolleyes:
[Touch Cruise Android Development] idreadful:
Have no adb or usb connection

I am really interested in testing wifi stuff within adb shell and also have working internet connection through usb, but unfortunately was unable to establish usb connection with phone. Charge works fine. Tried on Ubuntu and Windows. Both cant detect phone as usb device, so there is no usb0 interface or any unknown device. Should I use specific kernel, or do something else?

By the way is there a Mac OS port of ADB shell?
[Touch Cruise Android Development] freddycs:
Try to connect ur Polaris to PC first in WinMo before booting Haret. :)
[Touch Cruise Android Development] imfloflo:
@idreadful this is the kernel thread so keep close to the subject 'kernel'.

you can speak about problem here http://xdaforums.com/showthread.php?t=473102&page=33

BTW for mac osx you can download a package and type your adb command directly in terminal use search button on Dream forum ;)

BTW2: hope to have some news from last night progress ( @bally3 @newbie16 )
[Touch Cruise Android Development] bally3:
This the differencea between the tiwlan.ini we are using and the one in the Dream:
[Touch Cruise Android Development] imfloflo:
A little bit too small for read for me @bally3
[Touch Cruise Android Development] bally3:
Logcat with my new tiwlan.ini:

http://pastebin.com/d58262d68

dmesg:

http://pastebin.com/d3bafa1de
[Touch Cruise Android Development] bally3:
ok these are the only settings that I havent checked yet which are enabled but different values:

[B]Dream:[/B]

dot11FragmentationThreshold = 4096
dot11RTSThreshold = 4096
AutoPowerModeActiveTh = 15 # packets per second
AutoPowerModeDozeTh = 8 # packets per seconds - threshold for entering ELP in Auto mode

[B]Polaris:[/B]

dot11FragmentationThreshold = 256
dot11RTSThreshold = 256
AutoPowerModeActiveTh = 5 # packets per second
AutoPowerModeDozeTh = 2 # packets per seconds - threshold for entering ELP in Auto mode
[Touch Cruise Android Development] bally3:
D/wlan_loader( 392): Adapter tiwlan0 configuration rc = 0
D/wlan_loader( 392): Starting configMge
D/wlan_loader( 392): ConfigMge start rc = 0
D/wlan_loader( 392): Driver configured
D/wlan_loader( 392): Firmware loaded and running OK
D/wlan_loader( 392): Set property wlan.driver.status = ok - Ok
V/WifiMonitor( 131): Event [CTRL-EVENT-STATE-CHANGE id=-1 state=2]
[B]V/WifiStateTracker( 131): Connection to supplicant established, state=DISCONNEC
TED
[/B]V/WifiMonitor( 131): Event [CTRL-EVENT-STATE-CHANGE id=-1 state=1]
V/WifiStateTracker( 131): Changing supplicant state: DISCONNECTED ==> SCANNING
V/WifiStateTracker( 131): Changing supplicant state: SCANNING ==> INACTIVE
D/dalvikvm( 311): GC freed 8503 objects / 485032 bytes in 159ms
V/WifiMonitor( 131): Event [CTRL-EVENT-STATE-CHANGE id=-1 state=2]
D/SettingsWifiEnabler( 381): Received wifi state changed from Enabling to Enabl
ed
V/WifiStateTracker( 131): Changing supplicant state: INACTIVE ==> SCANNING
D/WifiHW ( 131): 'DRIVER RSSI' command timed out.
V/WifiMonitor( 131): Event [CTRL-EVENT-STATE-CHANGE id=-1 state=1]
V/WifiMonitor( 131): Event [CTRL-EVENT-STATE-CHANGE id=-1 state=2]
V/WifiStateTracker( 131): Changing supplicant state: SCANNING ==> INACTIVE
V/WifiStateTracker( 131): Changing supplicant state: INACTIVE ==> SCANNING

you can see from the logcat, it all starts going south on this line:

V/WifiStateTracker( 131): Connection to supplicant established, state=DISCONNECTED

Meknb was looking at the wpa_supplicant and unless Newbie16 has found something else, this is the file to look at next.
[Touch Cruise Android Development] bally3:
ok scrap that.. had a look at the wpa_supplicant,conf file - it doesnt have more than several lines of code in it and the rest of it is all hashed comments and instructions.

Newbie16 is in irc at the moment doing some more stuff so we'll wait and see what he finds.
[Touch Cruise Android Development] iseeka:
is unreadable
[Touch Cruise Android Development] bally3:
Try this, dont know why but xdevs shrunk it:
[Touch Cruise Android Development] bally3:
Everything you wanted to know about finding GPIO's but were afraid to ask:

http://handhelds.org/moin/moin.cgi/HaRET_20Documentation

http://www.pedersen-web.com/linuxhandheld/index.php?h=2&p=11

For dev reference only.

http://git.linuxtogo.org/?p=groups/mobile-linux/kernel.git;a=shortlog;h=refs/heads/htc-vogue
[Touch Cruise Android Development] bally3:
For devs use only

http://pastebin.com/m483fb500http://pastebin.com/m6a2ba789

GPIO pastebin by imfloflo
[Touch Cruise Android Development] life02:
Taking a break for a while to pack and move.... laters.
[Touch Cruise Android Development] iseeka:
tried 24-08 wlan.ko . scannig, no mac ,didnt make a dsmeg though
[Touch Cruise Android Development] imfloflo:
Seems everybody is on vacation this days :s

To bad just when we spoke with news devs to help us with the wifi in #HTC-LINUX channel.

In vogue thread :
[Touch Cruise Android Development] djsb:
I don't have sound in my htc with this zImage. Not on calls or even playing music files.
[Touch Cruise Android Development] imfloflo:
Why using a zImage from page 162 (1 month ago) instead of just

read the first post

and go find the lastest zImage avalaible in the link of bally3 or life02 signs.

BTW for a first post a Welcome would be nice!
[Touch Cruise Android Development] mikfaina:
Hi, There is a way to connect to google code repository ? I found the connection string (https://vogue-android.googlecode.com) but ask for a user e password. is not possible to connect in read-only?

There is a branch for polaris right?

Mik
[Touch Cruise Android Development] imfloflo:
@mikfaina all you need is on the forom / wiki search the actual git for polaris is here http://git.linuxtogo.org/?p=groups/mobile-linux/kernel.git;a=shortlog;h=refs/heads/htc-vogue

and the method to connect to and compil your kernel is explain in the wiki.

BTW this is kernel thread.

edit : everyone is on vacation ?

on twitter @htc says
[Touch Cruise Android Development] bally3:
First version of working wifi in the works. Connection made (typing.this from hotspot in town!) But crashes when turned off.

Well done to newbie16 for all his hard work and effort, still a lot to do until we have a stable release version (so dont ask for one) but i'm confident we'll get there very soon.

Oh happy days! :)
[Touch Cruise Android Development] Leryan:
YEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEES!!!!

Bally3 - thats the best this week news.
[Touch Cruise Android Development] Mormy:
:o

I saw no news and I thought that all of you are in vacation...shame on me!

Always good job!!
[Touch Cruise Android Development] iseeka:
GREAT!

once more thanks for your HARD work.

I have followed you a bit these days and i want everybody to know it is a lot of work
[Touch Cruise Android Development] bally3:
Second version of wifi fixes shutdown issue. getting there, thanks to Newbie16 :)
[Touch Cruise Android Development] imfloflo:
Nice job bally3 and Newbie16 can you axplain what was the issue and how can you make wifi working for my information :)

GPIO error, another files , firmware?
[Touch Cruise Android Development] meknb:
Great work newbie and bally it's great to finally see wifi working.

imfloflo all the file's need are on http://drop.io/polarkaiser system,rootfs,initrd,alpha(has the kernel and wlan.ko)
[Touch Cruise Android Development] radem205:
Great job guys!! When I use these files (with alpha5.zip) I get the message "Unable to start wifi" when I click on the Wi-Fi button. What's wrong?
[Touch Cruise Android Development] Leryan:
Writing from Polaris :)

​

I have copied also tiwlan.ini, WPA_suplificant.conf, and Fw1251r1c.bin. And its working: ))))) No problems yet, configured to connect to wpa2 secured network.
[Touch Cruise Android Development] bally3:
imfloflo can you explain haretconsole and what info you got and how you got it to newbie16 please?

also mek, you might be able help with irq finding.
[Touch Cruise Android Development] Lisko:
Please can someone write a simple step2step howto on how to get wifi working under Android?
[Touch Cruise Android Development] rparslow:
bally3, running the haretconsole involves running a telenet on the port 9999 which can allow you to watch the boot process.

An easier method is to use the "Early logging" feature of HaRET

from http://handhelds.org/moin/moin.cgi/HaRET_20Documentation

The easiest way to enable logging in HaRET is to create a file "earlyharetlog.txt" in the same directory as the haret.exe program. The next time one runs HaRET, it will create a file "haretlog.txt" with logging information.

The resulting "haretlog.txt" file contains information on the device and the actions that HaRET performs during startup. It will also record all commands executed by HaRET. "

My Polaris charging at the moment as soon as it ready I try this method.
[Touch Cruise Android Development] whashnez:
Congratulations you guys!!!

It's working swimmingly dudes congrats!Thanks to all of you.
[Touch Cruise Android Development] imfloflo:
Format SD , Try to download all file from drop.io, android boot but impossible to start wifi for me :s
[Touch Cruise Android Development] rparslow:
Strange I can see my WEP AP but had to use a static IP.

Plus Browser & Market no go :(

Will try later.
[Touch Cruise Android Development] zy2zyy:
@bally3: i find a way shutting down wifi without phone crashing. turn off the network notification and then turn on and turn off, then the switch of wifi can be off normally. wish it helping.
[Touch Cruise Android Development] bally3:
Thanks for that explanation rparslow :)

IF you've got some time can you help out with this bit of the development since you seem to know about his more than I do.

We need to find out the correct irq for wifi for the Polaris. The Kaiser irq for this is "93" but we believe Polaris is different which is why it wouldnt work for us out of the box. We fixed this by disabling interrupts to get the wifi working but of course this isnt the most efficient or expedient way to run it.

We need to find the irq then get dzo to make the mods and add "if" statements to the kernel to choose the right irq for the corresponding device then we SHOULD be able to use wifi out of the box for that device. I know its not as simplistic as that and other coding work was and will be involved, but thats the general gist of it from my understanding.

Come to think of it this doesnt need to be done together, anyone with some knowledge of haretconsole can do find the irq that corresponds to the wifi (not "93" as its already set at that) and post it either on here or the polaris dev room in my signature below.
[Touch Cruise Android Development] bally3:
With the Alpha5 files wifi should not be crashing when turned on and off.

If its doing it for you, try a fresh install and if it still does it post the system image name and what other files you are using on here.
[Touch Cruise Android Development] bally3:
the issue is with your calibration file I think, same as for the other users. dont use the calibration file thats on the site, let it create one itself, boot try wifi and try rebooting if it doesnt work. make sure you use the system image on drop io.

can someone download all those files minus the calibration file but unzip the alpha5 files and rezip into one the upload them on a zshare or or similar please.
[Touch Cruise Android Development] bally3:
wifi does NOT work with hero and zenulator builds as these images have the old wifi driver built in.

To make wifi work, you need to mount the image in linux, unpack it and replace the driver then repack it again (You will have to make it readable first and then unreadable afterwards of course).

Anyone willing to have a go please let me know if this works for you. :)
[Touch Cruise Android Development] bally3:
even though it probably says connected it wont have.

please read my earlier post about removing the calibration file.
[Touch Cruise Android Development] bally3:
Instructions to edit and update system images for Polaris wifi:

>	mkdir stock-system

>	sudo mount -o loop system.img stock-system

>	sudo genext2fs -d stock-system -b 100000 system.ext2

>	mkdir temp

>	sudo mount system.ext2 temp -o loop

>	then go into temp and make the changes

>	when you're done you can create a new system.img

>	sudo mkfs.cramfs temp/ system.1.5.img

Thanks to Newbie16 for those instructions.. now there's no excuses for not doing it yourself :)
[Touch Cruise Android Development] reiteravi:
can it b used to replace system fonts as well?
[Touch Cruise Android Development] bally3:
it sure can.. :)

just to be clear this needs to be done in a linux environment either a full install or a vm one.. I use virtual box in win 7 and it works great.
[Touch Cruise Android Development] bally3:
I compile my first kernel tonight thanks to a LOT of help from my friend Newbie16 (thanks mate! :) )

I found when I booted with it that it was much faster than the one we're using.. good news indeed.

Can someone try it and tell me what you think and if wifi still works well for you?

Thanks

WIFI DOESNT WORK WITH THIS ZIMAGE - YOU HAVE BEEN WARNED.
[Touch Cruise Android Development] imfloflo:
Try to download all files from drop.io minus calibration one but wifi don't start for me "unable to turn on"
[Touch Cruise Android Development] zy2zyy:
wifi in winmo must be turned off first. maybe you have missed this step?
[Touch Cruise Android Development] imfloflo:
Thanks but i haven't missed this step :)

I will try again tonight + tchat on IRC to see if we can fix my problem, I think i'm not the only one to have error.

But good work to see this working on some device
[Touch Cruise Android Development] reiteravi:
it worked fine here

btw bally - recompiling system after changing fonts worked great - thanks

to Newbie16 and u :)

except calls are dead silent now - i'll make another try

i needed to boot to linux though
[Touch Cruise Android Development] meknb:
imfloflo

Have you tried deleting your data file?

Post your dmesg output and logcat to drop.io try dmesg > /sdcard/dmesg.txt logcat > /sdcard/logcat.txt from the terminal or adb.

Wifi turned on in winmo shouldn't make any difference still can start it in android with it turned on,when you start android wifi might say unable to start wifi under wifi settings but click it anyway should start it.
[Touch Cruise Android Development] radem205:
Wifi is working great with the new JacManXrom1.4r3 (http://code.google.com/p/vogue-hero...acmanxrom143_KaiserWifi_08-29-09.img&can=2&q=).

Note: This is without the zimage of bally.

Great work guys!!
[Touch Cruise Android Development] iseeka:
DOESN´T find network on my polaris... can´t add manually either.... hangs turning off (rootfs-26-08-09 zImage-26-08-09 )

was yours a fresh install? wich roots,zimage and init used?
[Touch Cruise Android Development] luzbel_es:
I have same problems
[Touch Cruise Android Development] imfloflo:
Guys remember this is the KERNEL thread there is another topic to speak about problems ;)
[Touch Cruise Android Development] radem205:
I have uploaded the files I'm using now (with your default.txt and haret.exe). Try this setup (with fresh data.img).

Files: http://www.scriptfreakz.com/android.rar

@imfloflo: I think problems are closely related to the development progress. These Wifi problems may contribute to a faster development progress I think.
[Touch Cruise Android Development] bally3:
I had little luck last night doing this but I am using a virtual environment.

If you have more luck with this, can you grab one of the hero builds and replace the wlan.ko with ours please?

the wlan.ko is in /lib/modules

if wifi works after this can you post it up somewhere please? it will mean we can use the same files as everyone else but with our zimage and should be easier for users to get up and going.

Thanks. :)
[Touch Cruise Android Development] reiteravi:
i would but the heroes i tried cycled the logo endlessly

which hero build works 4 u ?
[Touch Cruise Android Development] bally3:
try the rogers then:

http://vogue-android.googlecode.com/files/mssmisonrogers.img

much more stable.
[Touch Cruise Android Development] bally3:
Instructions for connecting Android adb in linux:

Login as root and create this file: /etc/udev/rules.d/50-android.rules. For Gusty/Hardy, edit the file to read:

SUBSYSTEM=="usb", SYSFS{idVendor}=="0bb4", MODE="0666"

For Dapper, edit the file to read:

SUBSYSTEM=="usb_device", SYSFS{idVendor}=="0bb4", MODE="0666"

Now execute:

chmod a+rx /etc/udev/rules.d/50-android.rules

You can verify that your device is connected by executing adb devices from your SDK tools/ directory. If connected, you'll see the device name listed as a "device."

Courtesy of androidcommunity.com
[Touch Cruise Android Development] bally3:
Newbie16's idiots guide to mounting and editing system images

updated instructions for updating system image.

Disclaimer: Neither Newbie16 or myself take any responsibilities for any problems caused by the instructions below, they are for development support only. To be done on a linux installation only.

Make a new directory, ours is called newimage

$mkdir newimage
$ cd newimage

Copy your system image into this folder using copy comand eg: >cp ../system.img. (whilst you're doing this also copy our new wlan.ko driver there as well).

Check that the image is there:

$ls
system.img

Create a system image directory named stock-system to mount your image into:

$ mkdir stock-system

if you "ls" You should now have see:

Now mount the image into the stock-system directory:

$sudo mount system.img stock-system/ -o loop

If you $ ls stock-system/ you should see:

Do this to create a 100mb system.ext2 file from the contents of stock-system which can be mounted and written to:

$ sudo genext2fs -d stock-system -b 100000 system.ext2

Do "ls" to list the current directory and their should be a system.ext2 there:

Create a temp directory:

$ mkdir temp

Mount the ext2 into the temp directory so we can update it:

$ sudo mount system.ext2 temp/ -o loop

so If you "ls" you should see:

and if you "ls temp/" you should see:

Make your changes in the temp directory which in our case is copying and replacing the wlan.ko driver to the /lib/modules directory:

$cp wlan.ko temp/lib/modules

Once you've finished, we need to create a new system image so:

$ sudo mkfs.cramfs temp/ system.1.5.img

if you "ls" you should now see your new image:
[Touch Cruise Android Development] Mormy:
Maybe is an old news, but I finally tried the alpha5.

I can turn on/off wifi without problems and I manage to connect and surf on a free wifi aswell than wifi an encrypted one :)

Simply wonderfull....

Now I'll try to update system image with my virtualbox ubuntu ;)
[Touch Cruise Android Development] bally3:
latest rogers build from Google code with wifi:

Working Wifi System Image

you should be able to use all the normal files but will need the zimage from Alpha5 (need to find out whats in there that may need pushing from Newbie16).

Try it with your working set up and if you want to avoid grief, KEEP A BACKUP OF YOUR WORKING CALIBRATION FILE somewhere safe.

You should be able to use it with all builds.

Enjoy! :)

ps. I want to see more builds upgraded by other users.. come on..its all step-by-step!
[Touch Cruise Android Development] bally3:
..and before some bright spark tells me it wont load.. please rename it to system.img and start with a fresh data image (delete old one, let it create its own).

I've now been running it for over half and hour and managed to get everything up and running.. so should you.

:)
[Touch Cruise Android Development] reiteravi:
took me sometime to boot the rogers hero

injected wlan.ko - no wifi

should i use the other files as well (Fw1251r1c, wpa_supplicant, tiwlan)?

btw the command sudo genext2fs -d stock-system -b 100000 ... should br changed to bigger number to mount the bigger image of hero.

and is the root privilliges enabled through adb?
[Touch Cruise Android Development] bally3:
it works with the new rootfs with compache on google code. you dont need the other files in the root anymore so delete them. I'm testing it with other zimages but for now use the one from alpha5.zip.

..thanks for the tip for hero.. will need it..though I'm going to let other people have a go with the other builds. :)
[Touch Cruise Android Development] whashnez:
Market

Bally, market is not working for me in the system.img from rogers you gave....Anyone else with the same problem?
[Touch Cruise Android Development] reiteravi:
indeed

rootfs(compcache)+injected rogers-hero+zimge-alpha5 wifi works
[Touch Cruise Android Development] bally3:
works fine here.. did you use a fresh data image?
[Touch Cruise Android Development] whashnez:
Fresh data image

Yes I did...I also noticed that the media process is crashing all the time when someone tries to call me and as a consequence I cannot answer the call...Everything else work fine so far.
[Touch Cruise Android Development] bally3:
Try formatting your card again then..it always does it for me when everything else fails. Market and everything works fine here.. theres also a market enabler but I didnt have to use it. Other than that you can go back to the old image and wait for another updated one to be posted up from hero or jacx.
[Touch Cruise Android Development] bally3:
converted cyanogens latest build..works well.

Will upload tomorrow as having issues uploading tonight.
[Touch Cruise Android Development] salvmason:
WOWOWOW!!!

Wifi works like a charme with latest rogers build and Alpha5 zImage file,

still don't works BT and camera, market and browsing also works in wifi or GSM/EDGE/UMTS connection, a dream is coming true!
[Touch Cruise Android Development] Kiiv:
Good news! I will try this tonight for sure :)

But I begin to be lost in the different version of each file I need to use... :/

Maybe it should be better to create a google code section dedicated to polaris, with a complete bundle?
[Touch Cruise Android Development] bally3:
No need. .theres only a system image and a zimage thats different now.

I propose that everyone that loads up a system image should add the zimage to the bundle for the time being.

Easy peasy :)
[Touch Cruise Android Development] whashnez:
Problems problems problems...

Bally, could you upload the cyanogens latest build you mentioned yesterday? I'm trying all other system.img's such as rogers and JacManXrom1.4r3 with no luck. In JacManXrom1.4r3's system.img when it comes to adjust Date&Time settings on the welcome screen the application settings crashes and it takes me back to Sign up to Google account all the time...I've just yesterday formated my SD card so that's not the problem I guess...Thanks for your effort!
[Touch Cruise Android Development] bally3:
As promised, Cyanogen's new image now with Polaris wifi: (zimage included)

http://drop.io/hidden/tg7amvgvv7kext/asset/Y3lhbm9nZW4td2lmaS16aXA=

Have fun! :)
[Touch Cruise Android Development] whashnez:
You' re quick!

Thanks man, that was very quick! I'm impressed! Trying it now...
[Touch Cruise Android Development] pt-1:
Try this Version of the Linkas it seems to miss out the = at the end

http://drop.io/hidden/tg7amvgvv7kext/asset/Y3lhbm9nZW4td2lmaS16aXA=

PT-1
[Touch Cruise Android Development] bally3:
My new 4shared site with both images:

http://www.4shared.com/dir/19593527/3cb53c3a/sharing.html
[Touch Cruise Android Development] whashnez:
Same problem!

Bally the cryogen img crashes this way: The process android.process.acore has stopped unexpectedly...
[Touch Cruise Android Development] pt-1:
Bally,

could you be so kind and just point quickly out for all us newbies how to test this latest Image with Wifi ..?

I only added the zImage and system.img and deleted my original data.img but left my prevoius default.txt but left an older initrd.gz and have no rootfs.img ...
[Touch Cruise Android Development] whashnez:
:(

I tried the 4shared files with mssmissionrogers and I get an upside down HTC logo that goes nowhere...