General :: Any Way To Add Advanced Routing Via Module To Kernel?
Nov 5, 2012
If a kernel does not have the Advanced Routing feature (which is needed for VPNC widget - Cisco VPN) is it possible to add this via module like tun.ko module? The Adv. Routing is not needed for connecting but the connection is soon lost.
I'm tinkering with building and installing Android from source. Basically I've got it down fairly well, but I seem to have run into a bit of a problem with the wlan module, probably from HTC.
Having pulled the 2.6.27 kernel sources and built that with a .config pulled from the phone, and using that as the kernel image instead of the prebuilt one, I get the following wifi failure message in dmesg:
wlan: version magic '2.6.27-00205-gf2dabc0 preempt mod_unload ARMv6 ' should be '2.6.27-00392-g8312baf preempt mod_unload ARMv6 '
probably because the .config I pulled from the phone has:
So I rebuilt with the '00205' localversion and now I get in dmesg:
[61.122497] wlan: Unknown symbol trout_pwrsink_set
but trout_pwrsink_set was changed to htc_pwrsave_set way back in February:
[ARM]: trout: Switch from trout_pwrsink -> htc_pwrsink 33/8933/1 http://android.git.kernel.org/?p=kernel/msm.git;a=commitdiff;h=44a01f...
I'm clearly getting an obsolete wlan module somehow, Any ideas for how I can get a wlan module that goes with the '00392' kernel would be appreciated.
<3>[ 154.264768] bcm4329: version magic '188.8.131.52-cyanogenmod-g1ad182f preempt mod_unload ARMv7 ' should be '184.108.40.206-cyanogenmod-g704f542 preempt mod_unload ARMv7 '
I've successfully built the samsung-kernel-crespo kernel from the cyanogenmod git. I unpacked a working ramdisk from a nightly and repacked it with my kernel, when i try to load the module i get the above error, The "extraversion" info that in the "about phone" tab in sittings is 220.127.116.11-cyanogenmod-g704f542, as well as the version of the modules. but for some reason the kernel is looking for that 'g1ad182f ' instead.
I loaded the module via fastboot boot boot.img and i didnt full on flash it to the phone. I backed up the working kernel module and put the new one in /system/lib/modules, rebooted the kernel and the wifi is still giving me an error.
If i try to manually insmod the module and it hangs, if i use modprobe then lsmod it says its "loading" but never loads.
the phone im working on is a nexus s if that matters.
CC [M] drivers/net/wireless/bcmdhd/wl_cfgp2p.o drivers/net/wireless/bcmdhd/wl_cfgp2p.c: In function 'wl_cfgp2p_act_frm_search': drivers/net/wireless/bcmdhd/wl_cfgp2p.c:769:31: error: array subscript is above array bounds [-Werror=array-bounds][code].....
Any app for GPS navigation which has voice routing possible in pedestrian mode? I sometimes need to go to some destination in a part of the city which is not familiar for me.
However, the navigations I tried, have voice routing only in car mode, so it has to take in account things like driving directions etc. which the pedestrian does not have to respect and thus the track is much shorter.
It would be nice if I, for example, just could get off the bus, switch my GPS on, select destination, activate the voice routing and put my phone in a pocket and let the navigation voice guide me to the target place. It would be more comfortable as I sometimes see the map very poorly and also have to keep an eye on other pedestrians, cars etc.
Unable to install MODULE, I have a problem regarding my A13 android tablet device. It doesn't matter if I will post the brand name of my tablet or whatever because what I only wanted to fix is this. When I follow every instruction written at this link, and following instructions 1-7, after reaching step 5 execute run.bat. It displays the following image I screen captured. (And my tablet doesn't reboot, it's the sign that the computer can't access my tablet.
Obviously, my tablet is connected to the computer via USB cable after running the run.bat as administrator.But what is the problem why it is happening to me. (Additional information: I already installed and followed this instruction on this same device with no error at all. But why does it happened to me even I installed this with success before. I don't change any system file on my tablet before, and I don't know because,I didn't change any file or modify file neither on my tablet nor from my PC.)
I have a rooted Iocean G7. I wanted to install the framework module with the Xposed installer app. This was no success, I got a bootloop. After this I contacted Iocean, and I have flashed my phone with the computer. It works fine now, as it should.
how can I install the framework module without getting a bootloop or other problems?
I have a device labelled Superpad VI. everything was okay but when i tried firmware update, its wifi stopped working and started giving "error" when i try to turn it on. Now I have just figured out that the original superpad VI has ralink wifi chipset whereas this device has realtek rtl8188cus chipset. so when i try to install superpad VI firmware, everything else works but wifi doesn't. Now how do I need to install the drivers for wifi? I have found the Linux/Android drivers from Realtek website but they need to be compiled. I know nothing about compiling/programming and Linux itself.
The un-compiled drivers can be found here (under rtl8188cus) [URL] ....
I'm not technically inclined to develop a xposed module, but was using the 8sms app. I loved it since it mixes stock sms with cyanogenmod, but doesn't display FB contact pictures , only googles or contacts on your phone who you've added a picture for. Is there any way a xposed module could be developed to enable 8sms to pull contact pictures from fb? Not necessarily a request as far as throwing it out there and gauging community feedback (although, yeah, this would free many of us from samsungs sms app and make 8sms more appealing). What do you think? Is this possible to do?
I should probably add I'm on android 4.2.2, stock Galaxy s4 for t-mobile and rooted. And yes, I'd flash cyanogenmod but I do need t-mobiles wifi calling do to zero coverage at home.
I am trying to compile a WiFi driver (ath6kl) for my Sony Xperia E (Android version: 4.1.1, compilation: 11.3.A.0.47). I have downloaded the source code for compilation 11.3.A.0.47 from here: developer.sonymobile.com/downloads/xperia-open-source-archives/open-source-archive-for-build-11-3-a-0-47
I have compiled required kernel modules (cfg80211 and ath6kl_sdio), but I have encountered some problems during this proccess. I don't understand why on my android device (in /system/lib/modules/ath6kl) there are two modules: ath6kl_sdio.ko and cfg80211.ko (first one depends on the second one). But when I look at my sources, I see the following module dependencies for ath6kl: ath6kl_sdio -> ath6kl_core -> cfg80211. So there are 3 modules instead of 2. Anyway, after some modification (I merged ath6kl_core and ath6kl_sdio into one module) I managed to compile ath6kl.
I have replaced compiled modules in /system/lib/modules/ath6kl on my android device, then rebooted and I got the following error:
<4>[ 23.055226] ath6kl_sdio: disagrees about version of symbol cfg80211_sched_scan_results <4>[ 23.055251] ath6kl_sdio: Unknown symbol cfg80211_sched_scan_results (err -22)
I am very desperate cause I want to modify this driver (to be able to calculate some network statistics) but I cannot load modules at all so I am stuck.
There have been various images of Android devices that have been greatly customized that look nothing like the original stock Android. How do people make such advanced customization. How can I try to do this on my Motorola Defy with CM9? What apps on Android and programs on the computer can work with this? I personally have a Ubuntu computer but can access a Windows one if needed.
I've been messing around with Tasker for the last several days, and it's raised a concern I've had with android itself. Is there a definitive answer to how audio is routed? I see that there are at least 6 audio stream types: call, system, ringer, media, alarm, notification. I also see (using Smart Volume or Quick Settings, etc.) that there are corresponding audio volume controls for each of the above.
My question is, which speaker do each of the audio streams get routed to? Obviously, there are different setups for when the headphones are plugged in and not. Here's what I see empirically so far: When the physical headphones are unplugged, the system, ringer, media, alarm and notification streams get routed to the external speaker. The call stream is routed to the earpiece.
When the headphones are plugged in, the alarm and notification streams seem to be routed to the external speaker (speakerphone, I guess). The call, system and media streams get routed to the headphones. The ringer stream has been behaving oddly. Sometimes it comes through the headphones, and sometimes through the ext. speaker.
I have just upgraded to Android 2.1 on Orange(UK). When I connect to WiFi (home WEP and open), it says I am connected - shows IP address etc., but nothing actually works through the WiFi - can't sync Exchange email, can't download from market, won't even update location on Google Maps. If I switch WiFi off everything works fine over mobile network, but that is unsustainable due to data charges.
After I flashed the latest firmware with ODIN my phone doesn't read sd cards anymore and when I go to "SD card and phone storage" in settings I see "unavailable" in total space and free space for both sdcard and USB storage.