Related
Can some one compile or point me to a cifs.ko that is compatible with the incredible. The ones I can find do not seem to be. Thanks in advance.
Interesting
http://linux.die.net/man/8/mount.cifs Not that I can help but if anyone wanted a quick reference.
Alot of the roms for other phones have it but its not compatible with out kernel. Is there a guide how to compile kernels? I made a couple in linux that worked. long ago..
here ya go...what app are you using to browse CIFS shares? I haven't tested this module, but just compiled it now.
Forgive me as I haven't actually tried this, but here is the 10,000 foot view:
At a minimum, you will need a linux system, with a gcc-arm cross compiler set up. I believe the android-sdk provides one. The version used by current kernels is gcc-4.4.4.
Then you will need the sources of the kernel you are running. The hydra kernel git tree is here: http://github.com/ejhart/Hydra-kernels.git , and the stock kernel sources are here: http://member.america.htc.com/download/RomCode/Source_and_Binaries/incrediblec_cc1c2268.tar.bz2
The hydra git tree doesn't seem to have a a working .config included, but this isn't so important if you are only building and installing kernel modules. From there, you'll need to configure the kernel in cross compiler mode, add the modules you want, and you will need to make sure the version magic string is identical to the kernel you are using. From there run make, and once the compile is finished, find the .ko 's you want, and push them to the /system/modules folder where you can insmod them.
Edit: You can use the .config from /proc/config.gz, didn't see it in there before.
mattwood2000 said:
here ya go...what app are you using to browse CIFS shares? I haven't tested this module, but just compiled it now.
Click to expand...
Click to collapse
I got one from another user but thanks do you still want me to try it? I mounted my share in a directory on the SDCARD so i can browse it with any file manager. I think any app that scans the sd card will also scan my server with about 8TB so that is a minor issue.
kernel compile guide
A guide for compiling kernels can be found here :
http://code.google.com/p/android-serialport-api/wiki/Htc
I not a techie and a newbie at any android development.
Since the guide is more or less a a set of instructions with no theory.
Got it to run, but not sure what I was doing.
Any assistance in provide either cifs.ko for the HTC Aria w/ kernel version :
liberty-2.6.29-21f066a6 or instructions on how to compile the module would be greatly
appreciated.
BTW - there an app on the store for automating the CIFS mount (CIFSManager
Regards,
-d
veli69 said:
I got one from another user but thanks do you still want me to try it? I mounted my share in a directory on the SDCARD so i can browse it with any file manager. I think any app that scans the sd card will also scan my server with about 8TB so that is a minor issue.
Click to expand...
Click to collapse
Could you please post the cifs.ko file that you have that works. Thanks.
OOMatter said:
Could you please post the cifs.ko file that you have that works.
Click to expand...
Click to collapse
Note that the post you quote was from before the 2.2 OTA, and hence that cifs.ko would be incompatible with the current kernel.
elborak said:
Note that the post you quote was from before the 2.2 OTA, and hence that cifs.ko would be incompatible with the current kernel.
Click to expand...
Click to collapse
Thanks for pointing that out. So does anyone have a compatible cifs.ko for the current DINC kernel?
OOMatter said:
Thanks for pointing that out. So does anyone have a compatible cifs.ko for the current DINC kernel?
Click to expand...
Click to collapse
I do. Check my blog. http://adrynalyne.us
Sent from my ADR6300 using XDA App
veli69 said:
Alot of the roms for other phones have it but its not compatible with out kernel. Is there a guide how to compile kernels? I made a couple in linux that worked. long ago..
Click to expand...
Click to collapse
http://marakana.com/forums/android/examples/111.html
GOOOOOOOOOOOOOOOOOOOOOOOOOOOGLE!!!!!!!!! YEAH!
Thats all fine and dandy except our source isn't on any git.
developer.htc.com
philips w732 vermagic '3.0.13 preempt mod_unload armv7' working cifs.ko and md4.ko modules
narod.ru/disk/63766749001.47b679339538b050028c3c7d87506dd2/md4.ko.html
narod.ru/disk/63743140001.693272f3661d5aac547ecc760f04db05/cifs.ko.html
What file is the wifi kernel module for our legends?
Quanny2000 said:
What file is the wifi kernel module for our legends?
Click to expand...
Click to collapse
I expected it to be tiwlan_drv.ko, but I can't find it after compiling the kernel.
kugel. said:
I expected it to be tiwlan_drv.ko, but I can't find it after compiling the kernel.
Click to expand...
Click to collapse
You may have to recompile the wifi module, and link it to the new kernel
HpX said:
You may have to recompile the wifi module, and link it to the new kernel
Click to expand...
Click to collapse
figured out its definately tiwlan_drv.ko, but apparently sdio is linked to it, inwhich i had disabled in config, find out shortly if it fixes my broken wifi
No, that's not how it works. Modules sdio.ko and tiwlan_drv.ko are both from TI driver and not available in kernel source so they can not be compiled for your favorite kernel version. You will have to adapt and use the same kernel version as those two were compiled against...
THIS THREAD IS WIP & FOR DEVELOPERS ONLY !
Technical information with sources & binaries is in post #2. It includes kernel building, kexec-module, kexec-tools, hijack script, required patches & current problems with logs.
Click to expand...
Click to collapse
What is kexec?--------------------------------------------------------------------------------------------------------
kexec or kernel execution is a module/mechanism of the kernel that allows live/hot booting of a new/custom kernel "over" the currently running kernel. For more info, read the useful threads/links bellow.
kexec could be used to load a custom kernel into memory & yes, we'll then be able to install AOSP ROMs or in general run a custom kernel compatible with our device.
Click to expand...
Click to collapse
Click to expand...
Click to collapse
Updates:--------------------------------------------------------------------------------------------------------
[09/01/2014]:
kexec module has been successfully patched & loaded/inserted into both NC2 & NC4 stock kernels. Now, I'm working on compiling/loading a guest kernel & fixing possible problems/bugs.
Click to expand...
Click to collapse
[08/31/2014]:
Two versions of HLTEVZW KK kernel have been compiled from source: one uses the default configurations & the 2nd adds custom capabilities & kexec boot options. Moreover, kexec-tools & module have been cross-compiled. Now, I'm working on patches for kexec module & guest kernel (the hardest part).
Click to expand...
Click to collapse
[08/01/2014]:
I've successfully flashed a custom kernel on my device. This trips knox flag & isn't 100% related to kexec, but it has the same objective (loading custom kernel on the locked-bootloader devices). However, the bootloader makes security check & blocks the installed kernel with the "unauthorized software by VZW" warning. Then, I tried to patch the bootloader to remove this security check, but my device was HARD BRICKED. Now, I've created a General thread for how to recover from a HARD BRICK. This is promising info for testing bootloader exploits.
Click to expand...
Click to collapse
Click to expand...
Click to collapse
Status
--------------------------------------------------------------------------------------------------------
Supported NC2 & NC4 kernels
Working kexec-tools
Loaded kexec module
WIP kexec/guest kernel
Click to expand...
Click to collapse
Thanks to / Credits:
--------------------------------------------------------------------------------------------------------
@sextape - for the leaked NC2 firmware
@Hashcode - for his great work on kernel/recovery
...
Please PM me if I forgot to add proper credits for your work!
Click to expand...
Click to collapse
XDA:DevDB Information
KEXEC, Kernel for the Verizon Samsung Galaxy Note 3
Contributors
hsbadr, CalcProgrammer1, ryanbg
Kernel Special Features:
Version Information
Status: Testing
Created 2014-07-11
Last Updated 2015-02-15
Technical Information
This post is reserved for technical information with sources & binaries. This includes kernel building, kexec-module, kexec-tools, hijack script, required patches & current problems.
Kernel Building:
--------------------------------------------------------------------------------------------------------
The first step for building working kexec-module & tools is to cross-compile the kernel from source with the correct configurations. I won't describe how to build a kernel from source, but you may find this thread very useful.
I've used two different sources for the NC4/NC2 HLTE_VZW KK kernels. The 1st one is a part of SM-N900V_NA_KK_Opensource.zip released by Samsung for N900V NC4 kernel while the 2nd is available on @Hashcode's Github profile with 3 branches: hltevzw-kk-nc2 branch is modified for N900V NC2 kernel + 15 commits for compiling kexec as a module & other kexec patches.
The instructions provided by Samsung to build the NC4 kernel are to update CROSS_COMPILE toolchain environment variable in the Makefile & build with the default configurations as follows:
Code:
export ARCH=arm
make VARIANT_DEFCONFIG=msm8974_sec_hlte_vzw_defconfig msm8974_sec_defconfig SELINUX_DEFCONFIG=selinux_defconfig
make
However, I've patched the sources & used menuconfig interface to customize kernel configurations as follows:
Code:
export ARCH=arm
make VARIANT_DEFCONFIG=msm8974_sec_hlte_vzw_defconfig msm8974_sec_defconfig SELINUX_DEFCONFIG=selinux_defconfig menuconfig
make
(menuconfig is added in the second line)
The default output is the kernel image (arch/arm/boot/zImage) & modules (drivers/*/*.ko). The kexec-module(s) will be built if you patched the sources & configured it as a module.
You may then use dtbTool to generate device tree dt.img & mkbootimg to pack the kernel in boot.img.
Click to expand...
Click to collapse
Click to expand...
Click to collapse
Kexec Module:
--------------------------------------------------------------------------------------------------------
There're many different flavors of kexec-mod sources. @delewer in this thread uses a standalone kexec-mod source MOD'd for Sony Xperia Z1 to be cross-compiled against the precompiled kernel source while @Hashcode in his sources on Github patches the kernel source to cross-compile kexec-mod with the kernel. Some modules may or may not use/port the hardboot patches. The output for kexec module/drivers have different names (the standalone kexec-mod source generates kexec_load.ko & procfs_rw.ko while the kernel source patched by @Hashcode generates 3 modules: arm_kexec.ko, msm_kexec.ko & kexec.ko).
To test if the cross-compiled modules are loadable & have the correct kernel headers, use insmod in terminal emulator (or a safe point with terminal like Safestrap) to insert the module into the kernel (assuming you've kexec.ko in /system/lib/modules/):
Code:
insmod /system/lib/modules/kexec.ko
Then, use lsmod to list & show the status of loaded modules:
Code:
lsmod
Alternatively, you may check if system call of the kernel includes kexec functions using:
Code:
cat /proc/kallsyms | grep kexec
The kexec-modules I've compiled are loadable & have been successfully inserted into both NC4 & NC2 kernels.
I'm using my own sources for kexec-module based on others & I'll share the sources with binaries & modules after making some required tests.
Click to expand...
Click to collapse
Click to expand...
Click to collapse
Kexec Tools:
--------------------------------------------------------------------------------------------------------
I'm using the latest version of kexec-tools from here (currently, kexec-tools-2.0.8.tar.gz) cross-compiled for arm with custom configurations. Three binaries are generated including kexec (directly boot into a new kernel) & kdump (display kernel trace data). For more info, check the manpage of each binary & kexec/kexec-tools manuals/guides.
To test your kexec-tools cross-compiled binaries for arm,
Code:
kexec --help
assuming that they're in your PATH (e.g., /system/xbin) with executable permissions (e.g., 755).
Click to expand...
Click to collapse
Click to expand...
Click to collapse
Hijack Script:
--------------------------------------------------------------------------------------------------------
will be updated soon...
Click to expand...
Click to collapse
Required Patches:
--------------------------------------------------------------------------------------------------------
will be updated soon...
Click to expand...
Click to collapse
Current Problems/Logs:
--------------------------------------------------------------------------------------------------------
will be updated soon...
Click to expand...
Click to collapse
Sent from my SM-G900V using Tapatalk
jr_718 said:
Sent from my SM-G900V using Tapatalk
Click to expand...
Click to collapse
My eyes about popped out the side of my head when I saw this! It says your in testing have you had any luck at all? Thank you thank you thank you BTW!
amebiasis said:
My eyes about popped out the side of my head when I saw this! It says your in testing have you had any luck at all? Thank you thank you thank you BTW!
Click to expand...
Click to collapse
I've tested several binaries for the same kernel version, but none works for now. I'll compile from source & see. However, please keep this this thread for devs discussions only until we release working kexec & guest kernel.
Trying to keep the n3 alive before the n4 arrives? Lol seriously though congrats and thank you. Hope you and the devs here the best of luck. We, the re owners, appreciate all you have done already for us.
bmwh0r3 said:
Trying to keep the n3 alive before the n4 arrives? Lol seriously though congrats and thank you. Hope you and the devs here the best of luck. We, the re owners, appreciate all you have done already for us.
Click to expand...
Click to collapse
Note 4 is useless until it gets root & custom ROMs. For me, it'll be better ONLY IF we can break its security & unlock bootloader!
What about surge & ryanbg and e.v.a. I been following them and they both have a good idea on how things work well I think they are good for the job
Just a thought I had when unlocking my spare RAZR hd, but the kernels on the Razr and my note 3 are 3.4.97 and 3.4.0. Is the exploit part of the kernel or is there a reason I'm a user and not a Dev? If it is, motopacalypse.apk is what unlocked my RAZR. I'm just trying to learn so please don't think I'm a moron. I just don't know the coding aspect of android at all.
Have you got an irc or hangout open for discussion?
Thanks for your efforts! !
tpike said:
Have you got an irc or hangout open for discussion?
Thanks for your efforts! !
Click to expand...
Click to collapse
There is #Galaxy-Note-3 on Freenode but it's really quiet in there most of the time.
Many forum lurkers like me have been anxiously waiting for this breakthrough! Don't give up! I also believe in donating to hardworking devs like you guys! Good luck...
I was an owner of a Motorola Defy and the day that it got KEXEC I was so exited.. so good luck for you guys! Nothing is impossible. :victory:
Feche said:
I was an owner of a Motorola Defy and the day that it got KEXEC I was so exited.. so good luck for you guys! Nothing is impossible. :victory:
Click to expand...
Click to collapse
Who was devs on kexec on defy?
ironfisted said:
Who was devs on kexec on defy?
Click to expand...
Click to collapse
Not sure
I've been working on kexec for a little while now with limited success. My biggest problem is the getting the 4 byte CRCs for the kernel symbols used by the kexec module. Same with a few other projects I'm working on. They compiled the NC2 kernel with MOD VERSION and CRC. I've compiled it from source, but there's so much work to be done my head is spinning.
ryanbg said:
I've been working on kexec for a little while now with limited success. My biggest problem is the getting the 4 byte CRCs for the kernel symbols used by the kexec module. Same with a few other projects I'm working on. They compiled the NC2 kernel with MOD VERSION and CRC. I've compiled it from source, but there's so much work to be done my head is spinning.
Click to expand...
Click to collapse
Good luck! Lots of us are waiting for this!
ryanbg said:
I've been working on kexec for a little while now with limited success. My biggest problem is the getting the 4 byte CRCs for the kernel symbols used by the kexec module. Same with a few other projects I'm working on. They compiled the NC2 kernel with MOD VERSION and CRC. I've compiled it from source, but there's so much work to be done my head is spinning.
Click to expand...
Click to collapse
Keep it up man, I understand the hard work involved in doing something like this, but it will definitely pay of in the end!!! Thank you for your hard work and dedication, you got a lot of people counting on you
Sent from my BajaRom "L" Themed Note 3
ryanbg said:
I've been working on kexec for a little while now with limited success. My biggest problem is the getting the 4 byte CRCs for the kernel symbols used by the kexec module. Same with a few other projects I'm working on. They compiled the NC2 kernel with MOD VERSION and CRC. I've compiled it from source, but there's so much work to be done my head is spinning.
Click to expand...
Click to collapse
I see. Let me know if you'd like to contribute to this thread. I'll update it soon with more details about the required patches & the preliminary results of my tests ––after releasing a new version of JasmineROM.
ryanbg said:
I've been working on kexec for a little while now with limited success. My biggest problem is the getting the 4 byte CRCs for the kernel symbols used by the kexec module. Same with a few other projects I'm working on. They compiled the NC2 kernel with MOD VERSION and CRC. I've compiled it from source, but there's so much work to be done my head is spinning.
Click to expand...
Click to collapse
I was told by a defy dev that we would have better luck contacting hp touch pad kernel devs. I guess their kernel is more like ours I guess. Idk. I never tried contacting dev from their yet
This Magisk module adds the required firmware for external wireless adapters to be used with Nethunter.
NOTE: Your kernel still needs to support external network adapters. This module only provides missing firmware, if any.
The list of included firmware is given below. For other devices, create a new issue on GitHub here.
This module should work with any variant of Nethunter, but it was created to work with Nali Kethunter (https://forum.xda-developers.com/an...li-kethunter-modded-kernel-supported-t3770455) - another Magisk module by @LazerL0rd which systemlessly installs Kali Nethunter.
Supported chipsets:
htc_7010 (used by TL-WN722N)
htc_9271
RT2870 (used by AWUS036NEH)
RT3070, RT3071 (used by TE-W322U)
RTL8188EU (used by TL-WN722N-V2)
RTL8192* (CU, EU, DE, SE)
MT7601u
Downloads
Available in Magisk Manager, also flashable zip attachment.
Changelog
Code:
v2.0.3
Added files for bcm43xx (meant for bcm4358)
v2.0.2
Added all Ralink files
Check chipset list above
v2.0.1
Added files for AR7010 and RTL8821
v2.0.0
Migrated to new Magisk Installer template
Added upater-script for zip flashing
v1.0.5
Added files for AR9170
v1.0.4
Added files for RTL8192
v1.0.3
Added files for RTL8188EU
v1.0.2
Added files for RT3070 and RT3071
v1.0.1
Added files for RT2870 and MT7601u
v1.0
Initial release
Source: https://github.com/rithvikvibhu/nh-magisk-wifi-firmware
Issues / Request other firmware: https://github.com/rithvikvibhu/nh-magisk-wifi-firmware/issues
any chance of adding in RT 8187?
thirtythr33 said:
any chance of adding in RT 8187?
Click to expand...
Click to collapse
Hm. I only seem to find drivers for RTL8187. Is that what you're looking for?
rithvikvibhu said:
Hm. I only seem to find drivers for RTL8187. Is that what you're looking for?
Click to expand...
Click to collapse
yes that is it! that would be perfect!
thirtythr33 said:
yes that is it! that would be perfect!
Click to expand...
Click to collapse
From what I can find, this should already be present by default. There are very old drivers which can be installed separately, but I don't have a lot of hope for that. Can you send a dmesg log right after plugging the adapter in? The problem might be something else.
rithvikvibhu said:
From what I can find, this should already be present by default. There are very old drivers which can be installed separately, but I don't have a lot of hope for that. Can you send a dmesg log right after plugging the adapter in? The problem might be something else.
Click to expand...
Click to collapse
yes I will definitely do that. I'm glad you said they may already be present because I am working on getting my kernel patched to enable external adapter support. so it may not even be an issue with the module I just didn't see it listed in the supported chipsets. antsy I'll respond once I get the kernel patched. thank you for responding!
not find for antheros AR9271L or AR9002U chipset
I do not find support about Atheros chipset AR9271L OR Atheros AR9002U in his description whether you can add the driver for wifi adapter card TP-Link tl-wn722n v1.
Please Help me..!!
---------- Post added at 04:47 AM ---------- Previous post was at 04:17 AM ----------
rithvikvibhu said:
From what I can find, this should already be present by default. There are very old drivers which can be installed separately, but I don't have a lot of hope for that. Can you send a dmesg log right after plugging the adapter in? The problem might be something else.
Click to expand...
Click to collapse
can you help me please to add driver for Atheros AR9271L on tl-wn722n v1
Tarra Ista said:
I do not find support about Atheros chipset AR9271L OR Atheros AR9002U in his description whether you can add the driver for wifi adapter card TP-Link tl-wn722n v1.
Please Help me..!!
---------- Post added at 04:47 AM ---------- Previous post was at 04:17 AM ----------
can you help me please to add driver for Atheros AR9271L on tl-wn722n v1
Click to expand...
Click to collapse
Both AR9271L (same as AR9271) and AR9002U are supported right from V1. Must've missed it while updating the README.
Thanks for letting me know, I'll add it to the list. Btw did you try the module? Did it work? If there are any issues, feel free to create a new issue at https://github.com/rithvikvibhu/nh-magisk-wifi-firmware/issues
rithvikvibhu said:
This Magisk module adds the required firmware for external wireless adapters to be used with Nethunter.
Supported chipsets:
htc_7010 (used by TL-WN722N)
Click to expand...
Click to collapse
What about ath9k_htc driver ?
Its better than htc_7010
bezpieka said:
What about ath9k_htc driver ?
Its better than htc_7010
Click to expand...
Click to collapse
I haven't given it much thought really. This has been working for me for years without issues.
Zip flashable thru TWRP?
Sent from my POCOPHONE F1 using Tapatalk
help please
i was searching for the MT7612U driver, can you add it or tell me how i can add by myself plz?
thanks
ellednarb666 said:
Zip flashable thru TWRP?
Sent from my POCOPHONE F1 using Tapatalk
Click to expand...
Click to collapse
Yes. Both via Magisk Manager and TWRP.
SPIKELORD said:
i was searching for the MT7612U driver, can you add it or tell me how i can add by myself plz?
thanks
Click to expand...
Click to collapse
You basically have to find the correct firmware files for that chipset. I'll try to look for it and add it.
I already flashed thru magisk (repo) but still my external adapter is undetected.
My device is Poco F1 and my question is, should I just flash the zip or extract the firmware and place to the right path?
Sent from my POCOPHONE F1 using Tapatalk
ellednarb666 said:
I already flashed thru magisk (repo) but still my external adapter is undetected.
My device is Poco F1 and my question is, should I just flash the zip or extract the firmware and place to the right path?
Sent from my POCOPHONE F1 using Tapatalk
Click to expand...
Click to collapse
Just flash it. No need to extract anything.
Get the latest copy from the GitHub repo. I haven't updated the files on XDA or even GitHub releases in a long time.
Flashing didnt work.
Btw, my phone is Poco and my Ext Wifi is Tenda W311M v2
Sent from my POCOPHONE F1 using Tapatalk
ellednarb666 said:
Flashing didnt work.
Btw, my phone is Poco and my Ext Wifi is Tenda W311M v2
Sent from my POCOPHONE F1 using Tapatalk
Click to expand...
Click to collapse
Check out GitHub issues, feel free to create one with dmesg right after plugging the adapter.
Also, some people miss it:
If it does not work, then make sure you have the correct drivers installed, kernel built with support, etc. This module only adds some firmware files required, systemless-ly.
What that means?
NOTE:*Your kernel still needs to support external network adapters.*
I need custom kernel with rtl8812au drivers inside? So why i need this firmware if i need kernel? Or just kernel with enabled modules?
unknown1818 said:
What that means?
NOTE:*Your kernel still needs to support external network adapters.*
I need custom kernel with rtl8812au drivers inside? So why i need this firmware if i need kernel? Or just kernel with enabled modules?
Click to expand...
Click to collapse
This module only provides firmware files that some devices need (located at /etc/firmware/). It isn't a replacement for kernels with support for the adapters.
Will try it, i found files for rtl8188eu in the kernel source of NetHunter for OnePlus7
Link for Redmi Y2 / YSL lineageOS16.0 Kernel source code :-
https://drive.google.com/file/d/1-IPzQEfUkl6Lhkv8hXJVb-MT5IQA7yMH/view?usp=drivesdk
It's 32bit or 64bit?
Uh, What the heck?
Checkout Xiaomi Github not just downloading as zip.
Anthonz said:
It's 32bit or 64bit?
Click to expand...
Click to collapse
64 bit.
sumit17 said:
64 bit.
Click to expand...
Click to collapse
Thanks
peaktogoo said:
Uh, What the heck?
Checkout Xiaomi Github not just downloading as zip.
Click to expand...
Click to collapse
Why dont you try to post this with commit history?
sumit17 said:
Why dont you try to post this with commit history?
Click to expand...
Click to collapse
Soon, sure. Stuff almost ready. Will make everything opensource once it's the time. (In about a month).
I'm not using this 4.9 kernel anyway~
Hi. I want to ask two things.
1. Is it a stable kernel?
2. Can I use this kernel for GSI ROMs other than Lineage?
If yes, then it's a kind request to you that I am a beginner in Kernel like things and don't know how to compile this kernel. I have searched on internet and found the method a little complex and I hear that I compiling this kernel myself will Hard Brick my phone. So, can you please upload a flashable kernel file for it that I can flash through TWRP?