[Q] RemPuzzle_2.83, Kernel 2.6.32.39-nFinity tun.ko - Wildfire Q&A, Help & Troubleshooting

If i try to load the tun.ko module shiped with the ROM i get error:
tun: version magic '2.6.32.21 preempt mod_unload ARMv6 ' should be '2.6.32.39-nFinity preempt mod_unload ARMv6 '
i tried modbrobe -f but also no succes.
Where can i find the right modul?
thanks for help...

Related

[DEV] tun.ko for openvpn using on HTC genuine ROM

Since the European genuine HTC ROM
Code:
# uname -a
Linux localhost 2.6.35.10-g60b2609 #1 PREEMPT Sun Apr 17 01:15:33 CST 2011 armv6l GNU/Linux
has tun support disabled according to the /proc/config.gz I got with scp from my marvel,
Code:
# CONFIG_TUN is not set
I just build one
using the wildfire S kernel source code from htcdev
and
http://marakana.com/forums/android/examples/111.html
http://wiki.cyanogenmod.com/wiki/Building_Kernel_from_source
but with arm toolchain from http://www.emdebian.org/crosstools.html
Code:
$ gunzip config.gz
$ cp -vp config .config
$ make xconfig -> enable tun, set CONFIG_CROSS_COMPILE="arm-linux-gnueabi-"
or use the patch in zipfile.
Code:
$ make modules_prepare
$ make modules
$ make modules_install INSTALL_MOD_PATH='../install'
Module Binary is attached, please test. Copyright is GPL >= V. 2,
md5sum
10fd212186ee8506d72d14b00aa15bf5 tun.ko.zip
a8f6e2bd1f7bab19f02371955b9eda0d tun.ko
I got problems dependency checking without building the whole kernel:
Code:
$ /sbin/depmod -ae -b ../install/modules -E ./Module.symvers 2.6.35.10
WARNING: ../install/modules/lib/modules/2.6.35.10/kernel/drivers/net/tun.ko needs unknown symbol register_netdevice
... dozens more...
$ /sbin/depmod -n /usr/local/src/htc-kernel/install/modules/lib/modules/2.6.35.10/kernel/drivers/net/tun.ko
/usr/local/src/htc-kernel/install/modules/lib/modules/2.6.35.10/kernel/drivers/net/tun.ko:
# Aliases extracted from modules themselves.
alias devname:net/tun tun
alias char-major-10-200 tun
# Soft dependencies extracted from modules themselves.
# Copy, with a .conf extension, to /etc/modprobe.d to use it with modprobe.
# Aliases for symbols, used by symbol_request().
alias symbol:tun_get_socket tun
# Device nodes to trigger on-demand module loading.
tun net/tun c10:200
No questions or Support par PM or E-Mail. Report and ask here, pls.
Or tell me an IRC channel where android devs meet.
Thanks, but I suggest preference of stability and integrity before performance at experimental state kernels
Well, I start my Android world with smaller steps.
And as a conservative engineer I wouldn't overclock.
Ok, thanks.
BTW: Noone has been chasing me with an axe yet, so I assume the tun.ko module works?
Thank you for your work.
I try to load this tun.ko on Wildfire S, but module don't load.
Code:
insmod: init_module '/system/lib/modules/tun.ko' failed (Exec format error)
When I check magic number of module, here is only '2.6.35.10', but maybe right is '2.6.35.10-g60b2609'.
Please, is it possible to fix it?
(I need tun.ko because openvpn...)
Thx
Hmm, thx, I've expected the emdebian gcc is not compatible with armv6l.
You need to use the toolchain from the android sdk or the one from the CM guys site.

[Q] help with compiling a module USB OTG

anyones knows how to compile a module.ko?
i need a new usb-storage.ko for xperia play running on cm7.2 with kernel 2.6.32.9-FXP, i've tried to insmod the usb-storage from doom but failed.. it says that " invalid module.
upon looking on the dmesg, i've notice an error saying " <3> version magic '2.6.32.9-perf preempt mod_unload ARMv7 ' should be '2.6.32.9-FXP preempt mod_unload ARMv7 ' "
need to change the perf to FXP
+1

[Q] Webcam and side-loading Skype?

A couple of questions:
1 . Has anyone had any success hooking up a webcam? If so what model? So far I have tried an HP webcam 3100 and a Logitech C270 and neither seems to be detected.
2. Any success in side-loading Skype? The apk installed however since my webcams were not detected there was no mic/cam picked up. Doesn't look like I'll be doing much in its current state.
I ran "adb bugreport" in case it contains anything useful. Attaching to the post 7zipped.
Pertinent info:
Build: bueller-user 4.2.2 JDQ39 51.1.5.0_user_515030720 test-keys
Build fingerprint: 'qcom/bueller/bueller:4.2.2/JDQ39/51.1.5.0_user_515030720:user/release-keys'
Bootloader: unknown
Radio: apq
Network: (unknown)
Kernel: Linux version 3.4.0-perf-gf191309 ([email protected]) (gcc version 4.6.x-google 20120106 (prerelease) (GCC) ) #1 SMP PREEMPT Thu Apr 2 18:55:49 PDT 2015
Command line: androidboot.hardware=qcom user_debug=31 msm_rtb.filter=0x3F ehci-hcd.park=3 maxcpus=2 androidboot.emmc=true androidboot.serialno=70900114511706N2 androidboot.baseband=apq
Didn't find anything useful doing a google search. No mention of using webcams at all with Fire TV.
Thanks all.
Wow your post is from today!
Todo for today was to check that out.
I am on root with the 51.1.5.0_515020820.
I try later this day Skype app from amazon store, from gp-store and perhaps the xda-mod version. But of course at first my Microsoft Studio HD Webcam should work
Greetings by I_did_it_just_tmrrow
I tried once mine, I think it is a Microsoft one, the model that is sold for Sony TVs, but I am on an older firetv firmware and Skype didn't even recognised the camera. So, out of the box, in the past it didn't work. Let us know how it is now.
Did I just understand that right:
The FireTV OS (FireOS) is based on the linux kernel Monolithic.
Does the kernel Monolithic support webcams?
Did I just understand that right that under linux there where no driver-files like in win-os, so if the kernel does not suport the device you have to update/change the kernel?
Code:
[email protected]:/ # cat /proc/version
cat /proc/version
Linux version 3.4.0-perf-gf191309 ([email protected]) (gcc version 4.6.x-g
oogle 20120106 (prerelease) (GCC) ) #1 SMP PREEMPT Thu Mar 12 21:58:15 PDT 2015
[email protected]:/ #
the same output with or without connected MS Studio HD Wecam , see here:
Code:
lsmod
adsprpc 6735 0 - Live 0x00000000
wlan 450113 0 - Live 0x00000000 (O
eth 66936 0 - Live 0x00000000 (O)
Greetings by I_did_it_just_tmrrow
EDIT:
SUCCESS!
Got a picture with this app called "
Externe USB SnapExWebcam" and enabled super-User request.
Hi
Could you explain how you got this to work? Just sideload Skype & Externe USB SnapExWebcam and it will work? or is there more to do? I am rooted.
Thanks
I_did_it_just_tmrrow said:
Did I just understand that right:
The FireTV OS (FireOS) is based on the linux kernel Monolithic.
Does the kernel Monolithic support webcams?
Did I just understand that right that under linux there where no driver-files like in win-os, so if the kernel does not suport the device you have to update/change the kernel?
Code:
[email protected]:/ # cat /proc/version
cat /proc/version
Linux version 3.4.0-perf-gf191309 ([email protected]) (gcc version 4.6.x-g
oogle 20120106 (prerelease) (GCC) ) #1 SMP PREEMPT Thu Mar 12 21:58:15 PDT 2015
[email protected]:/ #
the same output with or without connected MS Studio HD Wecam , see here:
Code:
lsmod
adsprpc 6735 0 - Live 0x00000000
wlan 450113 0 - Live 0x00000000 (O
eth 66936 0 - Live 0x00000000 (O)
Greetings by I_did_it_just_tmrrow
EDIT:
SUCCESS!
Got a picture with this app called "
Externe USB SnapExWebcam" and enabled super-User request.
Click to expand...
Click to collapse
Hill16 said:
Hi
Could you explain how you got this to work? Just sideload Skype & Externe USB SnapExWebcam and it will work? or is there more to do? I am rooted.
Thanks
Click to expand...
Click to collapse
At first: Skype did not work correctly. Perhaps because he had no mic&video but I think there is more to do then enable the webcam for skype.
At the moment I use the mod version v4.7, here from xda. But when I open the exdended menu he told me that there is no webcam device found. I think it has something todo with the rights (chmod) of /dev/video0 because SnapExWebcam bring it to work and change it to 666 with chmod.
Anybody knows a solution?
Is there a way to give the Skype app More rights if they dont ask for More rights?
Greetings by Idijt
The new 4k Fire TV with OS 5 - anything change that we can now get Skype and USB webcam to work?
thanks
usb web camera app and dashcam connected at fire tv.works.but not with sk
I_did_it_just_tmrrow said:
At first: Skype did not work correctly. Perhaps because he had no mic&video but I think there is more to do then enable the webcam for skype.
At the moment I use the mod version v4.7, here from xda. But when I open the exdended menu he told me that there is no webcam device found. I think it has something todo with the rights (chmod) of /dev/video0 because SnapExWebcam bring it to work and change it to 666 with chmod.
Anybody knows a solution?
Is there a way to give the Skype app More rights if they dont ask for More rights?
Greetings by Idijt
Click to expand...
Click to collapse
usb web camera app and dashcam connected at the usb of fire tv..works.but not with skipe.
any app video chat can works.now that you can use a usb cam?

[Q] help with compiling kernel modules for the SM-T315

Hi!
Has anyone managed to compile a kernel module for the SM-T315? I am having some problems...
I have downloaded the Samsung kernel source (SM-T315-JB_Opensource) and the toolchain they recommend (arm-eabi-4.4.3). I have edited the Makefile and have set the correct EXTRAVERSION (-2453351). I run
make arch=arm tab3_lte8_01_defconfig
make menuconfig
make modules
The selected modules compile without error but I can't insmod them. I get the "no symbol version for module_layout" message in dmesg.
# strings drivers/usb/serial/ftdi_sio.ko | grep vermagic
vermagic=3.0.31-2453351 SMP preempt mod_unload modversions ARMv7 p2v8
# uname -a
Linux localhost 3.0.31-2453351 #1 SMP PREEMPT Mon Jan 20 17:14:51 KST 2014 armv7l GNU/Linux
Any ideas?

Problem with TP-LINK TL-WN722N v3 in Nexus 5x

So, i got nethunter for my Nexus 5x Oreo 8.1 all good, i bought an TL-WN722N and I can't install the drivers RTL8188EU because when I type 'make' it's say:
/lib/modules/3.10.73-Re4son-3.5/build: No such file or directory
And I googled about it, and i found that i need to install linux-headers, but when i type 'apt install linux-headers-$(uname -r) it's say:
E:Unable to locate package
Anyone can help me?
My uname -a:
Linux kali 3.10.73-Re4son-3.5 #1 SMP PREEMPT Fri Apr 10 12:20:30 AEST 2020 aarch64 GNU/Linux
Up?

Categories

Resources