yashsingh1/xdaforums huggingface dataset:
[Tilt, TyTN II, MDA Vario III Android Development] loserskater:
I'm glad somebody else is looking at this. I dont really have much knowledge with how it all works, but I've been learning and trying many different things.

If anybody wants to help out this is what I've done/tried. Not sure if it's anywhere near the right direction but maybe somebody will find it useful.

So far I've modified the init to include the following code which was removed with the removal of the rootfs

/bin/cp /system/build.prop /tmp/build.prop
KAISER=0
if [ "`/bin/cat /proc/cpuinfo|/bin/grep -o Kaiser`" = "Kaiser" ]; then
KAISER=1
/bin/sed -i s/^#wifi/wifi/ /tmp/build.prop
if [ "`/bin/grep -c ^wifi /tmp/build.prop`" != "2" ]; then
/bin/echo "wifi.interface = tiwlan0" >> /tmp/build.prop
/bin/echo "wifi.supplicant_scan_interval = 45" >> /tmp/build.prop
fi
/bin/mount --bind system/etc/wifi /system/lib/modules
/bin/mount --bind /tmp/build.prop /system/build.prop

I've also tried modifying and adding a kaiser sysinit.rc and the wifi files to different folders with no luck. I don't have a calibration file so I've been trying to use others with no luck.

How exactly is the calibration file created?

I haven't looked through the kernel yet to see if it's something in there.
[Tilt, TyTN II, MDA Vario III Android Development] MrPaveL:
Oh Man... you're the best. Thanks for hint, I've got working wifi with norootfs nand. All i was missing were those two lines in build.prop

"wifi.interface = tiwlan0"
"wifi.supplicant_scan_interval = 45"

However the connection is a bit wacky and it generates lot of DUP packets when pinging, but this could be caused by mine AP (i have troubles with it all the time) ;) , i'll try it on some other networks later and WPA works too.

Sorry, but I'll post some instructions later ... (it's a bit late for me, go to go sleep :o)

ps. As i posted earlier the dmesg output, the mmc module still does crash when unloading wlan module. Dunno if it will cause any problems for kernel.
[Tilt, TyTN II, MDA Vario III Android Development] rishie:
Thanks guys, I too got working wifi by uncommenting these two lines in build.prop and by loading the wifi module manually.

Can anyone point me where to add auto loading of the wifi module?? (insmod wlan.ko)
[Tilt, TyTN II, MDA Vario III Android Development] loserskater:
Do you guys have calibration files from previous haret boots?
[Tilt, TyTN II, MDA Vario III Android Development] zenity:
Not certain when or how the calibration and gps files are generated, what I do know is that the calibration file is usually stored in /proc/calibration or /lib/firmware

Also since it's used to store the wifi MAC address among other machine specific information, using a calibration file from another device shouldn't work.
[Tilt, TyTN II, MDA Vario III Android Development] MrPaveL:
This make sense :o

Fortunately I have.

So... to make wifi work, you have to do several things:

1. add into sysinit.rc

mkdir /data/misc/wifi 0770 wifi wifi
mkdir /data/misc/wifi/sockets 0770 wifi wifi
mkdir /data/misc/dhcp 0770 dhcp dhcp
chown dhcp dhcp /data/misc/dhcp
chmod 0660 /data/misc/wifi/wpa_supplicant.conf

and

service wlan_loader /etc/wifi/loadit
disabled
oneshot

service wpa_supplicant /system/bin/wpa_supplicant \
-Dtiwlan0 -itiwlan0 -c/data/misc/wifi/wpa_supplicant.conf
user wifi
group wifi inet
socket wpa_tiwlan0 dgram 660 wifi wifi
disabled
oneshot

service dhcpcd /system/bin/dhcpcd -BKL tiwlan0
disabled
oneshot

2. make sure that

/system/etc/wifi/loadit
/system/etc/wifi/wlan_loader

are set with executable permissions

3. somehow push /system/etc/wifi/wlan.ko into /system/lib/modules/ ;)

4. have those two lines in build.prop

"wifi.interface = tiwlan0"
"wifi.supplicant_scan_interval = 45"

and 5. have correct calibration file on your sdcard.

i hope it will work for you guys

Pavel

loserskater: you can check into /system/etc/wifi/loadit how calibration file is created.
[Tilt, TyTN II, MDA Vario III Android Development] DmK75:
How verify this?
[Tilt, TyTN II, MDA Vario III Android Development] toasty_:
You cant run this files if you don't make them executable - that means 'chmod 755' 'wlan_loader' and 'loadit'

If you are using system on NAND you've to remount the system (as 'su'):

# mount /dev/block/mtdblock2 /system -o rw,remount
# chmod 755 ./loadit
# chmod 755 ./wlan_loader

on my phone it tries to start but stops after a few seconds
[Tilt, TyTN II, MDA Vario III Android Development] MrPaveL:
Are you enabling wifi through Android menu or shell?

Did you also checked if correct calibration file is on sdcard? Size should be around (752B)

Pavel
[Tilt, TyTN II, MDA Vario III Android Development] zenity:
Ok, I'm sure someone has asked this question already, but why are we still using squashfs for system? Is it necessary for the system partition to be set ro?

The reason I ask is that i'm used to freely hacking my linux system for wifi issues, I use an acx100 wifi card on my laptop and have done a bit of kernel/module/script and setup work to get this working, it'd be easier to have free rw access to all the system files for this purpose.

I probably missed something obvious in our present android thread spaghetti, but since we can remount /system as rw, then surely we should be able to leave it this way?
[Tilt, TyTN II, MDA Vario III Android Development] toasty_:
Yepp - checked this. WiFi is now running for me. Problem was that 'wpa_supplicant' couldnt access '/data'. Also Permission... I changed them to 0777 and also for the folders 'data/misc' and 'data/misc/wifi'. Now 'wpa_supplicant' doesn't fail and I can also start wifi from Settingsmenu
[Tilt, TyTN II, MDA Vario III Android Development] toasty_:
Ok wifi is working for me but i still lose connection after few minutes or get bad pings.

After playing around with the 'tiwlan.ini' it seems to be better - but its still not perfect. Actually i've changed these two values

dot11FragmentationThreshold = 255 #2048
dot11RTSThreshold = 255 #2048

has somebody made good experiences with the other values...
[Tilt, TyTN II, MDA Vario III Android Development] loserskater:
I looked at it more and I think I might be able to get wifi working for everybody... hopefully by the end of the night... no promises but I think I found the kink
[Tilt, TyTN II, MDA Vario III Android Development] toasty_:
Ok now my workaround for NAND with norootfs (System and Data on Nand)

EDIT: YOU NEED A calibration FILE. AND ONLY THE CALIBRATION-FILE OF YOUR PHONE WILL WORK

1. mount system with read and write permissions

# su
# mount /dev/block/mtdblock2 /system -o rw,remount

2. make 'loadit' and 'wlan_loader' executeable

# cd /etc/wifi
# chmod 755 ./loadit
# chmod 755 ./wlan_loader

3. copy kernelmodul 'wlan.ko' to '/system/lib/modules'

# cp /etc/wifi/wlan.ko /system/lib/modules

4. Set Permissions for '/Data'.

# chmod 0777 /data
# chmod 0777 /data/misc
# chmod 0777 /data/misc/wifi
# chmod 0777 /data/misc/wifi/sockets

5. copy 'wpa_supplicant.conf' from '/etc/wifi' to '/data/misc/wifi'

# cp /etc/wifi/wpa_supplicant.conf /data/misc/wifi

6. change rights of this file

# chmod 666 /data/misc/wifi/wpa_supplicant.conf

setup sysinit.rc and build.prop

1. best is to copy 'sysinit.rc' and 'build.prop' SD-Card so you can use Astro for editing (and don't need 'vi')

# cp /system/sysinit.rc /sdcard
# cp /system/build.prop /sdcard

2. make the settings MrPavel described in his post

EDIT you should change the line:

chmod 0660 /data/misc/wifi/wpa_supplicant.conf

to

chmod 0666 /data/misc/wifi/wpa_supplicant.conf

3. same for build.prop

4. After editing both files can be copied back to system

# su
# cp /sdcard/build.prop /system
# cp /sdcard/sysinit.rc /system

5. Now test if it works
[Tilt, TyTN II, MDA Vario III Android Development] loserskater:
and this is without a calibration file?
[Tilt, TyTN II, MDA Vario III Android Development] toasty_:
no! you still need the 'calibration' file of your phone (!!!) on the root of your sdcard

to get this file you need a working winmo with working wifi on your phone. Then you take an old system.sqsh (best ION), rootfs.img (with wifi from enatefox or newbee16), initrd.gz, zImage (maybe from october or november 2009) and haret. Then you run haret.exe from mobile.

If you've bootet Android you start Wlan, then the data (made by winmo) are extracted from Rom to the calibration file, which is stored to the root of your sdcard.
[Tilt, TyTN II, MDA Vario III Android Development] seancojr:
When flashing an image to NAND from a storage card, would it still be necessary to keep three partitions set up (fat32, ext2, ext2), or does flashing to NAND make any of those partitions obselete? From what I comprehend in this, the second and third (system + data) ext2 partitions are swapped for NAND storage. And if this is correct, then one would only need to have a single fat32 partition (I think?).
[Tilt, TyTN II, MDA Vario III Android Development] loserskater:
ok, i'm trying to figure out how to get a calibration file without reverting to winmo...
[Tilt, TyTN II, MDA Vario III Android Development] toasty_:
i don't think that this is the easiest way. As I know the so called 'calibration' file is generatet for your hardware at startup (or after installing) of winmo.

But you are right, that would make things easier...
[Tilt, TyTN II, MDA Vario III Android Development] loserskater:
ya, i've been looking through the wifi thread but haven't come up with anything...
[Tilt, TyTN II, MDA Vario III Android Development] toasty_:
you can make a trace from the outputs with logcat

befor you stop wlan you run following commands in shell:

# su
# logcat -f /sdcard/wifi.txt &

then turn off wifi in settings

with cat you can watch the outputs

# su
# killall logcat
#cat /sdcard/wifi.txt | grep -i 'wifi'
#cat /sdcard/wifi.txt | grep -i 'wlan'
[Tilt, TyTN II, MDA Vario III Android Development] rishie:
Thanks for the info...

I will be verifying this after getting home...
[MDA II, XDA II, 2060 Windows Mobile 6 Upgrading] skinart:
hi all... any wm 6.5.3 rom for himalaya?

:)
[MDA II, XDA II, 2060 Windows Mobile 6 Upgrading] ahmad_1:
http://www.x2b.ru/get/71214
[MDA II, XDA II, 2060 Windows Mobile 6 Upgrading] skinart:
13.01.10Hima28205RUS.rar

any wwe version?;)
[Hero, G2 Touch Themes and Apps] Firestyler:
Is it possible to get a wallpaper of get the screen clear of this unlock screen?
[Hero, G2 Touch Themes and Apps] saf100792:
fresh's cdma ROM allows it but im not sure how
[HD2 Windows Mobile 6.5 Themes and Apps] Gurgulio:
here its a new app for windows mobile to identify who is calling you

http://translate.google.de/translate?hl=de&sl=de&tl=en&u=http://yellix.com

I use the HD2 with this rom from Itje http://xdaforums.com/showthread.php?t=617492

This app didn´t work with this rom

Can anybody test this app with another rom

the website is in german but with the link you can read all in english
[HD2 Windows Mobile 6.5 Themes and Apps] atzebauer:
laut FAQ kann man es auch von der Website laden, ich finde aber nichts. Ich will es nicht mit dem Handy laden.

Beim Aufruf m.yellix.com vom HD2 kommt das mein Gerät nicht unterstützt wird.
[Windows Mobile Software Development] arabcine:
hi all

can you help me to find programs to send and receive the fax for mobile htc hd2 ?
[Windows Mobile Software Development] BenGman:
Did you find any software to fax from the HD2?
[Windows Mobile Software Development] addicus:
I have an account at fax.com. One of the great free options is the ability to fax through email. Basically you attach your file to the email and send it to a designated number. I also get alerted when I receive a fax and the actual fax is attached. All for less than $10 per month.
[Windows Mobile Software Development] BenGman:
Thanks, but that doesn't really solve my issue.

I am testing a fax server I set up with Windows Server 2008 R2, and I needed to actually send a fax from a connected workstation to an outside fax line (hopefully my phone/laptop) and send a fax from my phone/laptop to the fax server to test manual receive at a remote workstation (physically different from the fax server).

I don't have any other person with fax to call/test with, but I did/do have my phone so I was hoping to use that.

I still have not been able to test correctly and this is something that I will have to configure/test with in the future so I really would like to still send/receive fax directly on the phone or using the phone on a laptop.

I have a Touch Pro 2 and an HD2 so I can run Ubuntu and Android... if there is an app for those other OSes that can do fax as well that will be great.
[Nexus One Themes and Apps] technogecko6:
Hi guys,

So I was hunting around to figure out what the wallpaper size is for the Nexus One... most people seem to state it is 960x800, or 2 times wider than the standard 480 resolution.

I did a test to see how it would look on the device by creating a 960x800 image with red vertical lines every 192 pixels (which will divide it horizontally 5 times to match with the 5 home screens on the N1). Much to my dismay, it actually renders it differently (showing almost 3 of the 192px blocks on the center screen).

When swiping back and forth, it seems like there is some sort of parallax scrolling going on. You can see a full screen of apps/widgets (480px wide) scroll to the side, but you will see the background move some other amount of pixels. It's almost as though the background is scaled in some fashion horizontally. I was assuming it would somehow work like the home screens on the N900, where each screen has 1 block of 800x480 wallpaper space...

Anyone have some insight into what is going on here?
[Nexus One Themes and Apps] TaFFeR:
I'm not exactly sure what resolution the backgrounds are, but the "parallax scrolling" has been used in Android since the G1.

If you pick an off-sized background, the OS will tell you to crop it, and the height width ratio is almost square. Anyway, each panel of the home screen will share a bit of the background with the adjacent home screens.
[Nexus One Themes and Apps] diversificationied:
Yup, each homscreens background overlaps with the ones on either side of it.
[Nexus One Themes and Apps] jacksonj51:
I believe the correct resolution for the N1 is 960x854
[Nexus One Themes and Apps] sinbonders:
The resolution should be 960x800, because the Nexus is not the droid, it's 800 pixels not 854.

And for there to be 5 home screens on 960 wide, it's only going to scroll 1/5th of the image on each home screen. The parallax scrolling is a cool feature.

Of course it's going to show almost 3 of the 192px blocks on the center screen, because the center screen is 480px wide.
[Nexus One Themes and Apps] Mi|enko:
960x800 is correct. Additionally, you could've sorted this quickly by pulling the Launcher2.apk from /system/app, then extracting it and checking the size of the default wallpapers.
[Nexus One Themes and Apps] technogecko6:
So here is another question. Does anyone think its possible to change the scrolling of the background (and size) such that it would be 1 480x800 size block PER home screen?
[Nexus One Themes and Apps] jmotyka:
When I had my g1 the Photoshop app would set wallpapers without asking for cropping even 480x800 so I would use iPhone wallpapers cause we allow know most Mac useres are have some skill in graphics design. Anywho when I tried to use this work around on my nexus it did not work, I'm looking further into this!
[Nexus One Themes and Apps] RayKinStL:
Came across this. I want to disable scrolling on the background wallpaper too and have a static image. Any updates?
[Nexus One Themes and Apps] djmcnz:
Wallpaper Set & Save is a basic free app from the market that works wonders with hi-res and off-sized images...
[Nexus One Themes and Apps] MarkM83:
Me too

Also having issues with this :(

Only using one homescreen...and the settings either zooms or stretches the HOMEMADE wallpapers
[Nexus One Themes and Apps] BlueScreenJunky:
Yes, you absolutely need this app if you want to change your wallpaper, the built-in gallery just doesn't work.
[Nexus One Themes and Apps] MarkM83:
Wallpaper Set & Save

downloaded, tried...no luck :(
[Nexus One Themes and Apps] RayKinStL:
Yea, it didnt work for me either. I formated some images to 480x800, but it just zooms in on them. Cant believe something so damn simple is so tough.
[Nexus One Themes and Apps] RayKinStL:
Guys, I found a solution. It is called Wallpaper Plus. Yes it is $1.99, but it is worth it. Not only can you do 1 static image with no scrolling, it will also let you pick images and "sew them together such that each screen is a different image! So right now I have 5 pictures that I choose, that the program formatted for the size of my screen and stitched together. Now when I scroll through my screens, I see a different image on each one, rather than one large image. But like I said, it can do just one static image as well! I highly recommend. I know the cost sucks, but at some time we need to support these developers making the things we want for our phones if they are gonna stay on the platform and develop more things!
[Hero CDMA General] lostnfound53:
I was wondering if any Fresh 1.1 users have been having problems updating to the new PRL. I've tried several times throughout the day but it fails with a message to try again and to contact Sprint CS if it doesn't get resolved.
[Hero CDMA General] bud1i9ht:
running Fresh 1.1 and just finished updating the PRL without any problems
[Hero CDMA General] gomorrah:
+1. Just updated it with no problems.
[Hero CDMA General] lostnfound53:
Thanks for the response. I guess the problem is specific to my phone - don't think I've made any modifications outside out rooting, istalling amonra and fresh 1.0>1.1 though.
[Hero CDMA General] thedudejdog:
My prl update went without a hitch, fresh 1.1
[Hero CDMA General] tango22203:
Updated 4 hero np here.
[Hero CDMA General] ejqr5:
Worked for me.
[Hero CDMA General] crunchybutternut:
On AOSP 1.6, so not an option to update. Used my Fresh 1.1 Nandroid and updated from that, then reloaded my AOSP 1.6 backup and viola! 60659 on AOSP 1.6 :D
[Hero CDMA General] Noan21:
I'm on fresh 1.1 getting an error 1062.
[Hero CDMA General] durhamite:
what is a PRL and how do you update it on Fresh 1.1?
[Hero CDMA General] Is_907:
Just updated mine no problem on Fresh 1.1 ;)

@durhamite: PRL stands for Preferred Roaming List (http://en.wikipedia.org/wiki/Preferred_Roaming_List)

You update it by going to Settings > About Phone > System Updates > Update PRL

Basically it's a list of towers and how to connect to them when not on a Sprint tower. (Basically.)
[Hero CDMA General] myke66:
I had to call sprint and have them refresh my PRL and profile from thier side to get it to work. Might want to give them a call.
[Hero CDMA General] mrinehart93:
I just got an error running Fresh 1.1. "PRL could not be updated. Please try again later. If the problem persists, you may need to contact Customer SErvice. Error code:1012."
[Hero CDMA General] animal7296:
Just got off chat with C.S. at Sprint and this update is only to correct Manual Roaming Issues. Apparently they do not like forced roaming LOLOL.
[Hero CDMA General] mrinehart93:
Interesting... I wonder if there is a correlation between the PRL update failing for me, and my phone force roaming once. Do you think there is anything possible with that? Oh, and I do want this update... so how can I update it? I saw that I should call Sprint... but what should I say/ask them?
[Hero CDMA General] animal7296:
Mine updated without a problem. If it is not working for you just tell them that you know of the update and need to know how to perform it since your phone wont do it.
[Hero CDMA General] wtphoto:
updated with no probems here
[Hero CDMA General] mrinehart93:
Quick question, what number should I call to get the update from Sprint?
[Hero CDMA General] thedudejdog:
Speed dial 2
[Hero CDMA General] JoeyRev:
i tried to update PRL and it said said "PRL was updated but will not install??" wtf is that?? lol..

UPDATE.. after 4 times trying it, updated and was applied.
[Hero CDMA General] durhamite:
Thanks, updated mine without any issues!
[Hero CDMA General] mrinehart93:
Thanks! I didn't know there were Sprint numbers built-in after a ROM flash.
[Hero CDMA General] adelaney:
All working here.
[Hero CDMA General] srb7215:
I haven't been able to update the PRL either. And running Fresh 1.1
[Hero CDMA General] abcdfv:
To my understanding, it's basically a list of towers that you can roam off of.

You update it on ALL ROMs by going into "Settings>About Phone> System Updates"
[Nexus One General] risterdid:
Recently I started to notice there's a few glitches in the Gallery App. Things i've noticed were:

- Putting in landscape mode, there's a screen glitch (black square) and same going back to the regular view.

- "There are no items in your collection" seems to change font size at times, and sometimes goes from really clear readable font to blurry.

I've done a hard reset and even a soft reset.

Google gave me an option to do a swap but i'd have to $580 in my account which i don't have.

Anyone experience these problems?
[Nexus One General] bofslime:
reset meaning, reboot?.. or factory defaults reset? Try the latter if you haven't.
[Nexus One General] vas41:
Yes, when moving from landscap to portrait and back I sometimes get a flash of black rectangular shape.

WHat is worse about the gallery app is that anything you view there is downsampled (reduced resolution) from the original image. So when you double tap on a picture to view at original 100% zoom, the picture has noticeably lost resolution and is no longer sharp. The same picture viewd through the camera app at 100% zoom shows a sharp picture in original resolution. This makes the gallery app absolutely useless for looking at photos unless you only want to look at them shrunk down to the size of the screen.
[Nexus One General] risterdid:
factory reset basically to defaults. sorry but what do you mean by latter?
[Nexus One General] Driskol:
Sorry but i can't replicate any error :)

Bye!
[Nexus One General] peliROJO:
me either!
[General Questions and Answers] arabcine:
hi all

can you help me to find programs to send and receive the fax for mobile htc hd2 ?
[Nexus One General] vas41:
Confirms what many (including myself) already knew - bravo is a different phone from nexus one altogther running sense ui.

http://mobilenews.omio.com/mobile-p...-sony-ericsson-xperia-x10-due-for-q1-release/
[Nexus One General] xManMythLegend:
Very nice.

Still prefer the nexus one though. Optical trackpad is definitely better ((especially since the n1 trackball light is currently unsotimizable thus useless)). But the button layout I dont like. Sense UI slows down updates too much.

Knowing I can always have it as an option if rooted it comes down to hardware.

Question.... if the Bravo does HD recording is that something that can be ported ot N1. Or is the actual hardware limited ?
[Nexus One General] lbcoder:
Sense? We don't need bloated skins. We need openness! And a KEYBOARD! And that nipplepointer looks like it'll be a pain to use.
[Nexus One General] djnutz:
Other than the optical track pad I like everything about the Nexus more. When the sense Tom comes out I'll flash it until Froyo is released.
[Nexus One General] bfspider:
some HTC sense loving would be nice on the N1... missing a few of the little things here and there.
[Nexus One General] imfloflo:
Sorry this is a Nexus One§ Thread close.
[HTC Cavalier] reezakhan:
can any one help me to unlock my htc cavalier( X02HT)please...
[HD2 General] Clivectmob:
Hi, have tried to search for this, but to no avail. Does anyone know of a way to extend the warning in manila of upcoming calendar events from 1 day as it stands to say 3 days? The standard windows homescreen shows events for the upcoming week but its only one day in manila. Anyone any idea?
[HD2 General] NickR:
I would like this as well, I have an appointment Wednesday but won't be able to see it on HOME TODAY screen till tomorrow, ideally I would like to see the next appointment.