- Forum
- LG Android Phones
- More LG Phones
- LG Optimus Series
- Virgin Mobile Optimus V
- Optimus V Rooting, ROMs, and Hacks
Building your own ROM
- grr cant figure out why these arent getting picked up. they are added in the new kconfig for bcmdhdCode:
/home/badbrains/Downloads/cm9/android/system/kernel/lge/thunderc/arch/arm/mach-msm/lge/board-thunderc-bt.c: In function 'thunderc_bluetooth_power': /home/badbrains/Downloads/cm9/android/system/kernel/lge/thunderc/arch/arm/mach-msm/lge/board-thunderc-bt.c:81: error: 'CONFIG_BCMDHD_GPIO_WL_REGON' undeclared (first use in this function) /home/badbrains/Downloads/cm9/android/system/kernel/lge/thunderc/arch/arm/mach-msm/lge/board-thunderc-bt.c:81: error: (Each undeclared identifier is reported only once /home/badbrains/Downloads/cm9/android/system/kernel/lge/thunderc/arch/arm/mach-msm/lge/board-thunderc-bt.c:81: error: for each function it appears in.) /home/badbrains/Downloads/cm9/android/system/kernel/lge/thunderc/arch/arm/mach-msm/lge/board-thunderc-bt.c:91: error: 'CONFIG_BCMDHD_GPIO_WL_RESET' undeclared (first use in this function) /home/badbrains/Downloads/cm9/android/system/kernel/lge/thunderc/arch/arm/mach-msm/lge/board-thunderc-bt.c: In function 'bt_power_init': /home/badbrains/Downloads/cm9/android/system/kernel/lge/thunderc/arch/arm/mach-msm/lge/board-thunderc-bt.c:136: error: 'CONFIG_BCMDHD_GPIO_WL_REGON' undeclared (first use in this function)
06-28-2012 02:34 PMLike 0 - i found something that might work with some modification, compiling now with my fingers crossed
https://groups.google.com/forum/?fro...s/HlesQeGv6BYJ06-28-2012 05:25 PMLike 0 - EarthnFire78YAY!!! ME :)So I released a tool I built for building roms on Windows, and I just now realized that I have to have two IHO repo's on my build machine. One for my presonal ROM and Recovery builds and the other for when fix happen I can compile them for the Windows build system.
I am such a nerd06-28-2012 08:03 PMLike 0 - i just figured this out. here are the list of changes LG made to the bcm4325 drivers. they need to be applied to the bcmdhd drivers i think if we want them to work with wpa_supplicant 8. each change is noted as so in each section, sorry there's no diff that i can find.Code:
drivers/net/wireless/bcm4325/src/wl/sys/wl_iw.c:/* LGE_CHANGE_S [yoohoo@lge.com] 2009-08-16, Fix the getting ISCAN/SCAN results */ drivers/net/wireless/bcm4325/src/wl/sys/wl_iw.c:/* LGE_CHANGE_S [yoohoo@lge.com] 2009-04-15, fixed passive/active scan */ drivers/net/wireless/bcm4325/src/wl/sys/wl_iw.c:/* LGE_CHANGE_S [yoohoo@lge.com] 2009-04-15, fixed passive/active scan */ drivers/net/wireless/bcm4325/src/wl/sys/wl_iw.c:/* LGE_CHANGE_S [yoohoo@lge.com] 2009-04-07, showing the 5.5 Mbps */ drivers/net/wireless/bcm4325/src/wl/sys/wl_iw.c:/* LGE_CHANGE_S, [yoohoo@lge.com], 2009-05-13, drivers/net/wireless/bcm4325/src/wl/sys/wl_iw.c:/* LGE_CHANGE_S, [yoohoo@lge.com], 2009-05-13, drivers/net/wireless/bcm4325/src/wl/sys/wl_iw.c:/* LGE_CHANGE_S [yoohoo@lge.com] 2009-07-09, send wl_iw_send_priv_event only if receiving regular START command */ drivers/net/wireless/bcm4325/src/wl/sys/wl_iw.c:/* LGE_CHANGE_S [yoohoo@lge.com] 2009-08-16, fix kernel warning by timer function */ drivers/net/wireless/bcm4325/src/wl/sys/wl_iw.c:/* LGE_CHANGE_S [yoohoo@lge.com] 2009-08-16, fix the getting ISCAN/SCAN results */ drivers/net/wireless/bcm4325/src/wl/sys/wl_iw.c:/* LGE_CHANGE_S [yoohoo@lge.com] 2009-08-16, fix kernel warning by timer function */ drivers/net/wireless/bcm4325/src/wl/sys/wl_iw.c:/* LGE_CHANGE_S [yoohoo@lge.com] 2009-08-16, fix the getting ISCAN/SCAN results */ drivers/net/wireless/bcm4325/src/wl/sys/wl_iw.c:/* LGE_CHANGE_S [yoohoo@lge.com] 2009-04-29, ignore duplicated scan */ drivers/net/wireless/bcm4325/src/wl/sys/wl_iw.c:/* LGE_CHANGE_S [yoohoo@lge.com] 2009-04-29, ignore duplicated scan */ drivers/net/wireless/bcm4325/src/wl/sys/wl_iw.c:/* LGE_CHANGE_S [yoohoo@lge.com] 2009-05-08, to avoid duplicated add_timer */ drivers/net/wireless/bcm4325/src/wl/sys/wl_iw.c:/* LGE_CHANGE_S [yoohoo@lge.com] 2009-08-16, fix the getting ISCAN/SCAN results */ drivers/net/wireless/bcm4325/src/wl/sys/wl_iw.c:/* LGE_CHANGE_S [yoohoo@lge.com] 2009-08-16, fix the getting ISCAN/SCAN results */ drivers/net/wireless/bcm4325/src/wl/sys/wl_iw.c:/* LGE_CHANGE_S [yoohoo@lge.com] 2009-08-16, fix the getting ISCAN/SCAN results */ drivers/net/wireless/bcm4325/src/wl/sys/wl_iw.c:/* LGE_CHANGE_S [yoohoo@lge.com] 2009-08-16, fix the getting ISCAN/SCAN results */ drivers/net/wireless/bcm4325/src/wl/sys/wl_iw.c:/* LGE_CHANGE_S [yoohoo@lge.com] 2009-08-16, fix the getting ISCAN/SCAN results */ drivers/net/wireless/bcm4325/src/wl/sys/wl_iw.c:/* LGE_CHANGE_S [yoohoo@lge.com] 2009-08-16, fix the getting ISCAN/SCAN results */ drivers/net/wireless/bcm4325/src/wl/sys/wl_iw.c:/* LGE_CHANGE_S [yoohoo@lge.com] 2009-05-14, support private command */ drivers/net/wireless/bcm4325/src/wl/sys/wl_iw.c:/* LGE_CHANGE_S [yoohoo@lge.com] 2009-07-09, send wl_iw_send_priv_event */ drivers/net/wireless/bcm4325/src/wl/sys/wl_iw.c:/* LGE_CHANGE_S [yoohoo@lge.com] 2009-05-14, support private command */ drivers/net/wireless/bcm4325/src/dhd/sys/dhd_custom_gpio.c:/* LGE_CHANGE_S [yoohoo@lge.com] 2009-05-14, support start/stop */ drivers/net/wireless/bcm4325/src/dhd/sys/dhd_custom_gpio.c:/* LGE_CHANGE_S [yoohoo@lge.com] 2009-05-14, support start/stop */ drivers/net/wireless/bcm4325/src/dhd/sys/dhd_custom_gpio.c:/* LGE_CHANGE_S [yoohoo@lge.com] 2009-07-02, add BCM4325_GPIO_WL_REGON on /off when "DRIVER START/STOP */ drivers/net/wireless/bcm4325/src/dhd/sys/dhd_custom_gpio.c:/* LGE_CHANGE_S [yoohoo@lge.com] 2009-05-14, support start/stop */ drivers/net/wireless/bcm4325/src/dhd/sys/dhd_custom_gpio.c:/* LGE_CHANGE_S [yoohoo@lge.com] 2009-07-02, add BCM4325_GPIO_WL_REGON on /off when "DRIVER START/STOP */ drivers/net/wireless/bcm4325/src/dhd/sys/dhd_cdc.c:/* LGE_CHANGE_S [yoohoo@lge.com] 2009-04-03, configs */ drivers/net/wireless/bcm4325/src/dhd/sys/dhd_cdc.c:/* LGE_CHANGE_S [yoohoo@lge.com] 2009-04-08, roam_off */ drivers/net/wireless/bcm4325/src/dhd/sys/dhd_cdc.c:/* LGE_CHANGE_S [yoohoo@lge.com] 2009-04-03, configs */ drivers/net/wireless/bcm4325/src/dhd/sys/dhd_cdc.c:/* LGE_CHANGE_S [yoohoo@lge.com] 2009-04-08, roam_off */ drivers/net/wireless/bcm4325/src/dhd/sys/dhd.h:/* LGE_CHANGE_S [yoohoo@lge.com] 2009-04-03, configs */ drivers/net/wireless/bcm4325/src/dhd/sys/dhd_sdio.c:/* LGE_CHANGE_S [yoohoo@lge.com] 2009-06-09, to avoid deadlock */ drivers/net/wireless/bcm4325/src/dhd/sys/dhd_sdio.c:/* LGE_CHANGE_S [yoohoo@lge.com] 2009-06-09, to avoid deadlock */ drivers/net/wireless/bcm4325/src/dhd/sys/dhd_sdio.c:/* LGE_CHANGE_S [yoohoo@lge.com] 2009-06-09, to avoid deadlock */ drivers/net/wireless/bcm4325/src/dhd/sys/dhd_sdio.c:/* LGE_CHANGE_S [yoohoo@lge.com] 2009-06-09, to avoid deadlock */ drivers/net/wireless/bcm4325/src/dhd/sys/dhd_sdio.c:/* LGE_CHANGE_S [yoohoo@lge.com] 2009-06-09, to avoid deadlock */ drivers/net/wireless/bcm4325/src/dhd/sys/dhd_sdio.c:/* LGE_CHANGE_S [yoohoo@lge.com] 2009-06-09, to avoid deadlock */ drivers/net/wireless/bcm4325/src/dhd/sys/dhd_common.c:/* LGE_CHANGE_S [yoohoo@lge.com] 2009-04-03, configs */ drivers/net/wireless/bcm4325/src/dhd/sys/dhd_linux.c:/* LGE_CHANGE_S [yoohoo@lge.com] 2009-03-05, for gpio set in dhd_linux */ drivers/net/wireless/bcm4325/src/dhd/sys/dhd_linux.c:/* LGE_CHANGE_S [yoohoo@lge.com] 2009-03-30, change ifname to wlan%d */ drivers/net/wireless/bcm4325/src/dhd/sys/dhd_linux.c:/* LGE_CHANGE_S [yoohoo@lge.com] 2009-04-03, configs */ drivers/net/wireless/bcm4325/src/dhd/sys/dhd_linux.c:/* LGE_CHANGE_S [yoohoo@lge.com] 2009-06-10, txglom patch for msm android */ drivers/net/wireless/bcm4325/src/dhd/sys/dhd_linux.c:/* LGE_CHANGE_S [yoohoo@lge.com] 2009-06-10, txglom patch for msm android */ drivers/net/wireless/bcm4325/src/dhd/sys/dhd_linux.c:/* LGE_CHANGE_S [yoohoo@lge.com] 2009-03-05, for gpio set in dhd_linux */ drivers/net/wireless/bcm4325/src/dhd/sys/dhd_linux.c:/* LGE_CHANGE_S [yoohoo@lge.com] 2009-03-05, for gpio set in dhd_linux */ drivers/net/wireless/bcm4325/src/include/bcmsdh.h:/* LGE_CHANGE_S [yoohoo@lge.com] 2009-06-09, to avoid deadlock */ drivers/net/wireless/bcm4325/src/include/bcmsdh_sdmmc.h:/* LGE_CHANGE_S [yoohoo@lge.com] 2009-06-09, to avoid deadlock */ drivers/net/wireless/bcm4325/src/include/bcmsdbus.h:/* LGE_CHANGE_S [yoohoo@lge.com] 2009-06-09, to avoid deadlock */ drivers/net/wireless/bcm4325/src/bcmsdio/sys/bcmsdh.c:/* LGE_CHANGE_S [yoohoo@lge.com] 2009-06-09, to avoid deadlock */ drivers/net/wireless/bcm4325/src/bcmsdio/sys/bcmsdh_sdmmc.c:/* LGE_CHANGE_S [yoohoo@lge.com] 2009-06-09, to avoid deadlock */ drivers/net/wireless/bcm4325/src/bcmsdio/sys/bcmsdh_sdmmc.c:/* LGE_CHANGE_S [yoohoo@lge.com] 2009-06-09, to avoid deadlock */ drivers/net/wireless/bcm4325/src/bcmsdio/sys/bcmsdh_sdmmc.c:/* LGE_CHANGE_S [yoohoo@lge.com] 2009-06-09, to avoid deadlock */ drivers/net/wireless/bcm4325/src/bcmsdio/sys/bcmsdh_sdmmc.c:/* LGE_CHANGE_S [yoohoo@lge.com] 2009-06-09, to avoid deadlock */ drivers/net/wireless/bcm4325/src/bcmsdio/sys/bcmsdh_sdmmc.c:/* LGE_CHANGE_S [yoohoo@lge.com] 2009-06-09, to avoid deadlock */ drivers/net/wireless/bcm4325/src/bcmsdio/sys/bcmsdh_sdmmc.c:/* LGE_CHANGE_S [yoohoo@lge.com] 2009-06-09, to avoid deadlock */
06-28-2012 09:51 PMLike 0 -
- the bcmdhd drivers are basically the bcm4325 drivers updated and without lge's extra configs. with that being said I have no idea if adding the extra configs to bcmdhd and changing the makefile to use the 4325 firmware bins will work. Im going to try adding just the config bools without the code changes so that i dont get complaints from thunderc's bluetooth files about missing gpio configs. if it doesnt work ill start adding the lge gpio driver changes.06-30-2012 01:27 PMLike 0
- the bcmdhd drivers are basically the bcm4325 drivers updated and without lge's extra configs. with that being said I have no idea if adding the extra configs to bcmdhd and changing the makefile to use the 4325 firmware bins will work. Im going to try adding just the config bools without the code changes so that i dont get complaints from thunderc's bluetooth files about missing gpio configs. if it doesnt work ill start adding the lge gpio driver changes.06-30-2012 03:35 PMLike 0
-
Sent from my LG-VM670 using Tapatalk07-02-2012 09:55 AMLike 0 - can someone check this? id compile right now but im at work. this might solve the hotspot issue. keep in mind the hardware/libhardware_legacy/wifi/wifi.c function names have changed so they probably need updating:
https://github.com/JerryScript/andro...9283952905426c07-02-2012 11:20 AMLike 0 - can someone check this? id compile right now but im at work. this might solve the hotspot issue. keep in mind the hardware/libhardware_legacy/wifi/wifi.c function names have changed so they probably need updating:
https://github.com/JerryScript/andro...9283952905426c07-02-2012 12:00 PMLike 0 - even without omap check the way the java wifi service and tracker operate, its completely different. also has anyone tried using the normal rtecdc.bin as the AP_PATH as well? it looks like from the iho code if the ap mode fails it tries to use the normal wlan/STA interface
"There are tons of cheap Android devices on the market, but the Optimus V packs a 3.2megapixel camera, 2GB onboard memory, a 600 MHz TI OMAP 3610 processor, and 3.2-inch touchscreen. "
so, omap should be enabled, even if we dont have any of the ifdefs for it, we can add them later
also, it looks like in cm7 if there was no wireless ap path it fell back on the tiap_drv ap driver.. need to check if thats being compiled and if not add it. at the moment no fallback is set:
https://github.com/CyanogenMod/andro...ad/wifi/wifi.c07-02-2012 12:27 PMLike 0 - so I've decided to suck it up and just build my own rom. atm its very heavily based off bobzhome's and tdm's roms mixed and jarbled together. it will be cm9 and strictly for the vm670. i figured im changing too many things in too many different places from too many sources including myself.. might as well pool all my resources together. and of course once everything is sorted out all my sources will be available. its just a pain in the butt atm to organize everything ive changedHindolam likes this.07-03-2012 03:39 AMLike 1
- so I've decided to suck it up and just build my own rom. atm its very heavily based off bobzhome's and tdm's roms mixed and jarbled together. it will be cm9 and strictly for the vm670. i figured im changing too many things in too many different places from too many sources including myself.. might as well pool all my resources together. and of course once everything is sorted out all my sources will be available. its just a pain in the butt atm to organize everything ive changed07-03-2012 11:30 AMLike 0
- yeah i got it sorted last night. some of the stuff i pulled was to compare with iho to see what changes were made ;D. The most trouble I had was sorting out old cm9 ics forks with currently used ones07-03-2012 12:26 PMLike 0
- Use make -j5 bacon. It tells it how many parallel processes can be used, and it compiles faster for me.07-03-2012 02:09 PMLike 0
- Code:
Motherboard: CPU Type QuadCore Intel Core i5-2400, 3200 MHz (32 x 100) Motherboard Name Biostar TZ77B (2 PCI, 2 PCI-E x1, 2 PCI-E x16, 4 DDR3 DIMM, Audio, Video, Gigabit LAN) Motherboard Chipset Intel Panther Point Z77, Intel Sandy Bridge System Memory 16352 MB (DDR3-1333 DDR3 SDRAM) DIMM1: G Skill F3-1333C9-8GAO 8 GB DDR3-1333 DDR3 SDRAM (8-8-8-22 @ 609 MHz) (7-7-7-20 @ 533 MHz) (6-6-6-17 @ 457 MHz) (5-5-5-14 @ 380 MHz) DIMM3: G Skill F3-1333C9-8GAO 8 GB DDR3-1333 DDR3 SDRAM (8-8-8-22 @ 609 MHz) (7-7-7-20 @ 533 MHz) (6-6-6-17 @ 457 MHz) (5-5-5-14 @ 380 MHz) BIOS Type AMI (02/14/2012)
07-03-2012 02:14 PMLike 0 - I'm server:Code:
Motherboard: CPU Type QuadCore Intel Core i5-2400, 3200 MHz (32 x 100) Motherboard Name Biostar TZ77B (2 PCI, 2 PCI-E x1, 2 PCI-E x16, 4 DDR3 DIMM, Audio, Video, Gigabit LAN) Motherboard Chipset Intel Panther Point Z77, Intel Sandy Bridge System Memory 16352 MB (DDR3-1333 DDR3 SDRAM) DIMM1: G Skill F3-1333C9-8GAO 8 GB DDR3-1333 DDR3 SDRAM (8-8-8-22 @ 609 MHz) (7-7-7-20 @ 533 MHz) (6-6-6-17 @ 457 MHz) (5-5-5-14 @ 380 MHz) DIMM3: G Skill F3-1333C9-8GAO 8 GB DDR3-1333 DDR3 SDRAM (8-8-8-22 @ 609 MHz) (7-7-7-20 @ 533 MHz) (6-6-6-17 @ 457 MHz) (5-5-5-14 @ 380 MHz) BIOS Type AMI (02/14/2012)
Sent from my LG-VM670 using Tapatalk07-03-2012 02:28 PMLike 0 -
j/k
Now you need to stripe a couple drives together and the build will be done before you hit enter, lol.07-04-2012 01:04 AMLike 0
- Forum
- LG Android Phones
- More LG Phones
- LG Optimus Series
- Virgin Mobile Optimus V
- Optimus V Rooting, ROMs, and Hacks
Building your own ROM
LINK TO POST COPIED TO CLIPBOARD