[Droid Eris Android Development] gnarlyc:
Thanks everyone for jumping in. I actually attempted to use this as my daily ROM, but since fancy things like ringtones and notification tones don't work (no audio)... Well, I can't keep that close of a watch on the phone all day! So, back to wireless.

But, before wireless... :)

changed/added several lines in build.prop because I think they need changing

ro.product.model=Eris

ro.product.brand=Verizon

ro.product.name=htc_desirec

ro.product.device=desirec

ro.product.board=desirec

ro.product.manufacturer=HTC

ro.board.platform=msm7k

ro.build.product=desirec

ro.sf.lcd_density=160

# Disable HTC checkin service.

ro.config.htc.nocheckin=1

ro.ril.htcmaskw1.bitmask = 4294967295

ro.ril.htcmaskw1 = 268449905

ro.com.android.dataroaming = true

ro.com.google.locationfeatures = 1

ro.cdma.data_retry_config = max_retries=infinite,0,0,60000,120000,480000,900000​

Obviously, the ROM has basic functionality without these settings, so maybe some of these don't need to be changed/added. I believe some are informational as much as anything, especially the first several. Which brings up another project that would be kind of nice for someone to tackle, but would take a good bit of time... A listing of all of the files and settings from a stock/AOSP/CM/whatever ROM and what they do/mean/are related to.

created init.desirec.rc in ramdisk inside boot.img and added -

on boot

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

on property:init.svc.wpa_supplicant=stopped

start dhcp-release

on property:init.svc.dhcp-release=stopped

stop dhcpcd

service wlan_loader /system/bin/wlan_loader \

-f /system/etc/wifi/Fw1251r1c.bin -e /proc/calibration \

-i /system/etc/wifi/tiwlan.ini

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 -ABKL -d tiwlan0

disabled

oneshot

service dhcp-release /system/bin/dhcpcd -k tiwlan0

disabled

oneshot

service modem /system/xbin/wireless_modem

user system

group system

disabled

on property:service.modem.enable=1

start modem

on property:service.modem.enable=0

stop modem​

Now, this is right from init.desirec.rc in Plain Jane v1. It appears to be pretty standard though. It launches several files which were not in the base AOSP build, so I copied them over.

/system/bin/wpa_supplicant

/system/bin/wlan_loader

/system/xbin/wireless_modem

I also did this -

added 'set_perm 1014 2000 0550 SYSTEM:etc/dhcpcd/dhcpcd-run-hooks' & 'set_perm 1002 1002 0440 SYSTEM:etc/dbus.conf' to update-script

added 'wifi.interface = tiwlan0' & 'wifi.supplicant_scan_interval = 15' to build.prop

copied '/system/etc/permissions/required_hardware.xml' from Plain Jane v1

copied '/sysyem/etc/dhcpd/dhcpd.conf' from Plain Jane v1

copied '/system/bin/wifi_tools' from Plain Jane v1

copied /etc/wifi folder from Plain Jane v1​

Wifi starts now, but will not connect. The logcat gives -

07-18 10:05:49.663: ERROR/wpa_supplicant(550): Set_key: Wrong Key

07-18 10:05:49.663: ERROR/wpa_supplicant(550): Set_key: Wrong Key

07-18 10:05:49.663: ERROR/wpa_supplicant(550): Set_key: Wrong Key

07-18 10:05:49.663: ERROR/wpa_supplicant(550): Set_key: Wrong Key

07-18 10:05:49.683: WARN/wpa_supplicant(550): Failed to initiate AP scan.

07-18 10:05:49.723: ERROR/wpa_supplicant(550): prepare_filter_struct: type=0

07-18 10:05:49.853: ERROR/HierarchicalStateMachine(85): TetherMaster - unhandledMessage: msg.what=3

07-18 10:05:49.933: ERROR/HierarchicalStateMachine(85): TetherMaster - unhandledMessage: msg.what=3
​

So, this is v.4. Nothing really fixed yet, but some progress. If anyone thinks that I changed/added something that is not needed, feel free to chime in. Honestly, I probably have and it would be nice to have the steps needed without the extra fluff.