View Single Post
  #920 (permalink)  
Old 03-04-2010, 08:49 PM
ravishi's Avatar
ravishi
Lurker
Offline
 
Join Date: Nov 2009
Posts: 17
Reputation: 20
ravishi is just getting started
Mentioned: 0 Post(s)
Tagged: 0 Thread(s)
Re: [2/27/2010] Google Android for TP2 CDMA [In Dev]

Quote:
Originally Posted by MrPippy View Post
For anyone who has had trouble starting WiFi, the latest rootfs has a bugfix from phh that was causing the wrong WiFi calibration to be extracted for CDMA phones.
I just deleted my data.img, tried out the latest rootfs and latest xdandroid system.sqsh, and WiFi works (at least for WPA). If I have time later I might take a look at WEP, right now I'm working on CDMA data and the RIL.

Also, if your WiFi currently doesn't work, the wifi-nvram in your /data partition is corrupted and you'll need to delete it. The file is called wifi-nvram.txt, in the root of data.img. The easiest way to get rid of it is to delete data.img, but that would wipe out all of your settings. To delete just the file, you either need to: a) with Android running on your phone, connect it to usb and use 'adb shell' to delete /data/wifi-nvram.txt, or b) mount your internal storage on a Linux machine, mount data.img loopback, and delete the file.

Option a) is pretty easy, you just need to download the Android SDK starter package, run 'adb shell', and do 'rm /data/wifi-nvram.txt'. PM me if you need help with this.
This sounds very promising to me since I can't get wifi to work. I'm gonna try it out and post my results. Thanks!

Just to be clear though since I'm not familiar with all of this, you are suggesting to:
1) Download the latest rootfs at this site
2) Rename it to rootfs and replace the existing file in the packaged android folder uploaded by civic
3) Download system.sqsh or system.sqsh.phh and replace/rename the existing system.sqsh? from this site?

I don't know the difference between the two .sqsh files although system.sqsh.phh is more recent. And the instructions for deleting the wifi-nvram.txt is for people who had wifi working and now don't? My wifi says it is on but can't find any networks. Should I still delete this file?