[Samsung Epic 4G Touch] droidroidz:
Thanks for the excellent thread everyone. I followed the previous thread before it morphed here.

I am hoping someone can help me as im trying to use the tools here to develop on the SGSII for USCC which is very similar hardware. So far I am able to compile a stock kernel with almost everything working. I had the same issues as in the other thread with wifi and vibrate not work but since has been fixed. I still have a few minor issues with a stock compile that I cannot seem to get around. I pulled the stock initramfs from our stock zImage and am trying to compile from source with the stock iniframfs. So far from my testing most everything is working but for whatever reason WIFI Tether or AP hotspot doesn't seem to work. I get a similar message as when the modules wernt working with "make modules". Here is logcat

D/WifiApEnabler( 3086): setEnableWifiAP: true
D/WifiService( 2680): setWifiApEnabled: allowWifiAp: true
E/WifiService( 2680): setWifiApEnabledState 2
I/WifiHW ( 2680): [WIFI] Load Driver
E/WifiHW ( 2680): Cannot open "/data/.cid.info": No such file or directory
E/WifiHW ( 2680): WIFI_COUNTRY_DRIVER_ARG disable!!
I/WifiHW ( 2680): [WiFi.c] insmod() Start!!
I/WifiHW ( 2680): [WiFi.c] start init_module() Start!!
E/WifiHW ( 2680): args = firmware_path=/system/etc/wifi/bcm4330_sta.bin nvram_path=/system/etc/wifi/nvram_net.txt
D/WifiApEnabler( 3086): mReceiver: android.net.wifi.WIFI_AP_STATE_CHANGED
D/WifiApEnabler( 3086): handleWifiApStateChanged state:2
D/InputTransport( 3086): Input channel destroyed: name='408d2a78 com.android.settings/com.android.settings.wifi.WifiApSettings (client)', ashmemFd=75, receivePipeFd=76, sendPipeFd=77
I/NetworkStatusReceiver( 3086): action: android.net.wifi.WIFI_AP_STATE_CHANGED
D/NetworkStatusReceiver( 3086): EXTRA_WIFI_ENABLE_SOON: false
E/WifiAPStationStatusReceiver( 3086): WifiAPStationStatusReceiver
W/InputManagerService( 2680): Window already focused, ignoring focus gain of: com.android.internal.view.IInputMethodClient$Stub$Proxy@409fa520
W/WindowManager( 2680): Window Window{408d2a78 com.android.settings/com.android.settings.wifi.WifiApSettings paused=false} destroyed surface Surface(name=com.android.settings/com.android.settings.wifi
.WifiApSettings, identity=-1, mNativeSurface=0), session Session{40967a00 uid 1000}
D/Tethering( 2680): eth0 is not a tetherable iface, ignoring
I/WifiHW ( 2680): [WIFI] DRIVER OK
D/SoftapController( 2573): Softap driver stop: 0
D/SoftapController( 2573): Softap fwReload - Ok
D/SoftapController( 2573): Softap driver start: 0
E/SoftapController( 2573): Softap set - failed: -1
E/WifiService( 2680): Exception in startAccessPoint()
E/WifiService( 2680): setWifiApEnabledState 4
D/WifiApEnabler( 3086): mReceiver: android.net.wifi.WIFI_AP_STATE_CHANGED
D/WifiApEnabler( 3086): handleWifiApStateChanged state:4
I/NetworkStatusReceiver( 3086): action: android.net.wifi.WIFI_AP_STATE_CHANGED
D/NetworkStatusReceiver( 3086): EXTRA_WIFI_ENABLE_SOON: false
E/WifiAPStationStatusReceiver( 3086): WifiAPStationStatusReceiver

dmesg

<4>[ 226.955449] ------------------------------------------------------------------------------------------------------------------------------------------------wlan_se
<4>[ 226.955612] gpio_table = [2]
<7>[ 226.955672] WLAN: GPIO_WLAN_EN = 0
<4>[ 226.955710] gpio_table = [6]
<7>[ 226.955780] sdhci_s3c_force_presence_change : Enter
<3>[ 226.958191] mmc1: cmd 7 command crc error
<3>[ 226.958303] mmc1: cmd 7 command crc error
<3>[ 226.958408] mmc1: cmd 7 command crc error
<3>[ 226.958510] mmc1: cmd 7 command crc error
<6>[ 226.961577] mmc1: card 0001 removed
<4>[ 227.074666] ------------------------------------------------------------------------------------------------------------------------------------------------wlan_se
<4>[ 227.074709] gpio_table = [2]
<4>[ 227.074726] gpio_table = [6]
<7>[ 227.074945] WLAN: GPIO_WLAN_EN = 1
<7>[ 227.074957] sdhci_s3c_force_presence_change : Enter
<4>[ 227.075940] Dongle Host Driver, version 5.90.100.133 (WFD)
<4>[ 227.075949] Compiled in drivers/net/wireless/bcm4330/src on Apr 2 2012 at 16:10:05
<6>[ 227.134703] mmc1: new high speed SDIO card at address 0001
<4>[ 227.138181] dhd_customer_oob_irq_map: customer specific Host GPIO number is (345), flag=0x2
<4>[ 227.139145] F1 signature read @0x18000000=0x16434330
<4>[ 227.145719] DHD: dongle ram size is set to 294912(orig 294912)
<4>[ 227.145851] CHIP VER = [3]
<4>[ 227.217665] dhdsdio_download_nvram: firmware image path = /system/etc/wifi/bcm4330_sta.bin
<4>[ 227.217697] dhdsdio_download_nvram: nvram vars file path = /system/etc/wifi/nvram_net.txt
<4>[ 227.218112] PR85623WAR in place
<4>[ 227.219484] dhdsdio_write_vars: Download, Upload and compare of NVRAM succeeded.
<6>[ 227.334449] wake enabled for irq 345
<4>[ 227.403867] check_module_cid: CIS reading failed, err=-23
<4>[ 227.403942] Read MAC : [38:0A:94:47:CD:78] [1]
<4>[ 227.405828] Firmware version = wl0: Jan 3 2012 16:12:33 version 5.90.100.283 (BTAMP WFD)
<4>[ 227.405839]
<4>[ 227.407032] POWER_VAL = 1
<4>[ 227.490687] dhd_preinit_ioctls: KEEP Alive time is 45s
<4>[ 227.503426] eth0: Broadcom Dongle Host Driver MAC=38:0A:94:47:CD:78
<4>[ 227.503481] Enter wl_control_wl_start
<4>[ 227.503502] Exited wl_control_wl_start
<4>[ 227.508836] wl_iw_iscan_set_scan_broadcast_prep: First Brodcast scan was forced
<4>[ 227.512548] +++: Set Broadcast ISCAN
<4>[ 227.718740] Enter wl_iw_control_wl_off
<4>[ 227.718798] [WiFi] Deepsleep On
<4>[ 227.923286] dhd_is_p2p_if_on 625 Enter
<4>[ 227.923336] 100 0 0 0 0xffffffffffff 0x380a9447cd78
<4>[ 227.929630] 102 0 0 0 0xffffffffffff 0x3a0a94474d78
<4>[ 227.937775] dhd_set_packet_filter 654 exclude ARP from whitelist packet filtering
<4>[ 227.937835] 106 0 0 0 0xffffff 0x01005e
<4>[ 227.943434] 108 0 0 0 0xffff 0x3333
<4>[ 227.966433] Event WLC_E_SCAN_COMPLETE from specific scan 0
<4>[ 227.970854] Send IWEVCUSTOM Event as STOP
<4>[ 227.970905] Exited wl_iw_control_wl_off
<4>[ 227.975295] current firmware_path[]=/system/etc/wifi/bcm4330_sta.bin
<4>[ 227.975382] >Got FW_RELOAD cmd:info->cmd:8bfb, info->flags:0, u.data:00014f94, u.len:41, fw_path:bf0f8444, len:32
<4>[ 227.975466] 'token:FW_PATH=', len:32, written as a string:/system/etc/wifi/bcm4330_aps.bin
<4>[ 227.975546] GOT APSTA FIRMWARE
<4>[ 227.975588] SET firmware_path[]=/system/etc/wifi/bcm4330_aps.bin , str_p:bf0f8444
<4>[ 227.978578] Enter wl_iw_control_wl_on
<4>[ 227.978625] Enter wl_control_wl_start
<4>[ 227.981794] dhd_dev_reset: WLAN OFF DONE
<4>[ 228.083158] ------------------------------------------------------------------------------------------------------------------------------------------------wlan_se
<4>[ 228.083327] =========== WLAN placed in RESET ========
<6>[ 228.304583] sec-battery sec-battery: [NA_SPR]sec_bat_store: DATA CALL(0)
<7>[ 228.304888] [sec_bat_check_event_status] current batt_event_status = 0x0
<4>[ 228.388273] ------------------------------------------------------------------------------------------------------------------------------------------------wlan_se
<4>[ 228.388439] =========== WLAN going back to live ========
<4>[ 228.493162] sdio_reset_comm():
<4>[ 228.511306] F1 signature read @0x18000000=0x16434330
<4>[ 228.532119] DHD: dongle ram size is set to 294912(orig 294912)
<4>[ 228.634942] deb***: [battery] bat temper : 823, rescale : 654
<6>[ 228.635014] sec-battery sec-battery: [test] temp_radc_value : -1064841472
<6>[ 228.635095] sec_bat_get_lpcharging_state: LP charging:0
<6>[ 228.635153] sec-battery sec-battery: [SPR_NA] is_event_end_timer_running: Event timer is running(0 s)
<6>[ 228.635220] sec-battery sec-battery: [NA_SPR] Changed Put off Current
<6>[ 228.636078] sec-battery sec-battery: sec_bat_check_temper: temp=340, adc=823
<6>[ 228.636516] sec-battery sec-battery: Time past : 225 secs
<6>[ 228.636603] max8922-charger max8922-charger: max8922_is_charging: charging state = 0x0
<6>[ 228.636688] sec-battery sec-battery: soc(40), vfocv(3785), vcell(3820), temp(34), charging(1), health(1)
<4>[ 228.663710] dhdsdio_download_nvram: firmware image path = /system/etc/wifi/bcm4330_aps.bin
<4>[ 228.663740] dhdsdio_download_nvram: nvram vars file path = /system/etc/wifi/nvram_net.txt
<4>[ 228.664135] PR85623WAR in place
<4>[ 228.665159] dhdsdio_write_vars: Download, Upload and compare of NVRAM succeeded.
<4>[ 228.769020] dhd_dev_reset: WLAN OFF DONE
<4>[ 228.773489] Firmware version = wl0: Aug 19 2011 10:43:42 version 5.90.100.270 (Mobile AP)
<4>[ 228.773501]
<4>[ 228.774970] POWER_VAL = 1
<4>[ 228.858475] dhd_preinit_ioctls: KEEP Alive time is 45s
<4>[ 228.859234] dhd_preinit_ioctls: Keepalive setting failure, error=-23
<4>[ 228.859761] Exited wl_control_wl_start
<4>[ 228.859837] Send IWEVCUSTOM Event as START
<4>[ 228.859849] Exited wl_iw_control_wl_on
<4>[ 229.263450] cpu1 turning off!
<6>[ 229.283422] IRQ112 no longer affine to CPU1
<5>[ 229.284087] CPU1: shutdown
<4>[ 229.305839] cpu1 off end!
<4>[ 229.542432] > Got IWPRIV SET_AP IOCTL: info->cmd:8bef, info->flags:0, u.data:00014f94, u.len:143
<4>[ 229.542463] Got str param in iw_point:
<4>[ 229.542469] ASCII_CMD=AP_CFG,SSID=kgf,SEC=wpa2-psk,KEY=3a7a404e4ae4a485d7e74cab12343f606dc1f42581bb96f23965d5be32733295,CHANNEL=0,PREAMBLE=0,MAX_SCB=5,END
<4>[ 229.542501] 'token:ASCII_CMD=', len:6, written as a string:AP_CFG
<4>[ 229.542523] 'token:SSID=', len:3, written as a string:kgf
<4>[ 229.542540] 'token:SEC=', len:8, written as a string:wpa2-psk
<4>[ 229.542559] 'token:KEY=', len:64, written as a string:3a7a404e4ae4a485d7e74cab12343f606dc1f42581bb96f23965d5be32733295
<4>[ 229.542582] 'token:CHANNEL=', len:1, written as integer:0
<4>[ 229.542599] 'token:PREAMBLE=', len:1, written as integer:0
<4>[ 229.542616] 'token:MAX_SCB=', len:1, written as integer:5
<4>[ 229.542634]
<4>[ 229.542638] get_parameter_from_string: ERROR: can't find token:HIDE= in str:END
<4>[ 229.542654]
<4>[ 229.542658] get_parameter_from_string: ERROR: can't find token:GROUP_CIPHER= in str:END
<4>[ 229.542676]
<4>[ 229.542680] get_parameter_from_string: ERROR: can't find token:802.11_MODE= in str:END
<4>[ 229.542696]
<4>[ 229.542700] get_parameter_from_string: ERROR: can't find token:WEP_KEY_INDEX= in str:END
<4>[ 229.542716]
<4>[ 229.542720] get_parameter_from_string: ERROR: can't find token:WEP_KEY= in str:END
<4>[ 229.542736]
<4>[ 229.542740] get_parameter_from_string: ERROR: can't find token:WHITELIST_MAC_COUNT= in str:END
<4>[ 229.542758]
<4>[ 229.542762] get_parameter_from_string: ERROR: can't find token:WHITELIST_MAC_LIST= in str:END
<4>[ 229.542779]
<4>[ 229.542783] get_parameter_from_string: ERROR: can't find token:BLACKLIST_MAC_COUNT= in str:END
<4>[ 229.542801]
<4>[ 229.542805] get_parameter_from_string: ERROR: can't find token:BLACKLIST_MAC_LIST= in str:END
<4>[ 229.542822] iwpriv_set_ap_config failed to parse -1

I hope someone can point me in the right direction as I really don't want to move forward with tinkering until i can compile a 100% working full stock from source. Thanks much!