[MODULE] Wireless Firmware for Nethunter - Magisk

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

Related

Compatible cifs.ko

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

[P905M LTE and P905][KERNEL] STOCK compiled with SELinux setenfoce command enabled

I am not responsible for any possible bad effects which may result from using included software! You flash it on your own risk!
Probably it will work in the P905 version, because I flashed the a P905 kernel in my P905M without problems. But, as usual, it is your risk.
User esgie confirmed that it works on SM-P905 too!
STOCK compiled with SELinux setenforce enabled
Kernel base: compiled from Samsung sources without modifications (opensource.samsung.com)
Kernel ramdisk: extracted from stock image
Features: setenforce command working
WARNING!
FLASHING THIS WILL TRIP KNOX AVOIDING YOUR WARRANTY!
Known issues
WiFi gets a little screwy. To fix it edit /system/build.prop, change the parameter ro.securestore.support from true to false and reboot.
Installation
flash using ODIN (AP/PDA)
Image sha1sum
b85360a80f6205269b75d9dfabccac211a224d46
CREDITS
- Graeme Hill`s Dev Blog (http://graemehill.ca/compiling-permissive-android-kernel)
- osm0sis user Android Image Kitchen tool (http://forum.xda-developers.com/showthread.php?t=2073775)
- Samsung (opensource.samsung.com)
- esgie Kernel STOCK RELOADED (http://forum.xda-developers.com/showthread.php?t=2771469)
No one interested?
Thanks a lot. Will try it.
Sent from my GT-N7100 using XDA Premium 4 mobile app
rodpp said:
I am not responsible for any possible bad effects which may result from using included software! You flash it on your own risk!
Probably it will work in the P905 version, because I flashed the a P905 kernel in my P905M without problems. But, as usual, it is your risk.
STOCK compiled with SELinux setenforce enabled
Kernel base: compiled from Samsung sources without modifications (opensource.samsung.com)
Kernel ramdisk: extracted from stock image
Features: setenforce command working
WARNING!
FLASHING THIS WILL TRIP KNOX AVOIDING YOUR WARRANTY!
Known issues
WiFi gets a little screwy. To fix it edit /system/build.prop, change the parameter ro.securestore.support from true to false and reboot.
Installation
flash using ODIN (AP/PDA)
CREDITS
- Graeme Hill`s Dev Blog (http://graemehill.ca/compiling-permissive-android-kernel)
- osm0sis user Android Image Kitchen tool (http://forum.xda-developers.com/showthread.php?t=2073775)
- Samsung (opensource.samsung.com)
- esgie Kernel STOCK RELOADED (http://forum.xda-developers.com/showthread.php?t=2771469)
Click to expand...
Click to collapse
Hangs on boot before the Samsung logo.
Sent from my SM-P905M using XDA Premium HD app
gorcutt said:
Hangs on boot before the Samsung logo.
Sent from my SM-P905M using XDA Premium HD app
Click to expand...
Click to collapse
Hi,
I just downloaded the file from this post and checked the sha1sum against the original file that I uploaded and it´s ok. The sha1sum value is b85360a80f6205269b75d9dfabccac211a224d46. So there is no file corruption problem.
Please check if your file has the same sha1sum.
Tonight I´ll flash this file again in my tablet and verify if it works. It´s highly improbable that I uploaded the wrong file, but I´ll check flashing it.
As soon as possible I´ll update here the result of this test.
Regards,
Rodrigo.
Awesome!
Flashed, seems to boot ok on SM-P905
Great job.
Seems to be working fine! Boots as permissive and setenforce 0/1 working fine.
Great job. Now we are waiting for at least some basic overclocking and governors implementation
esgie said:
Awesome!
Flashed, seems to boot ok on SM-P905
Great job.
Seems to be working fine! Boots as permissive and setenforce 0/1 working fine.
Great job. Now we are waiting for at least some basic overclocking and governors implementation
Click to expand...
Click to collapse
Thank you very much for confirm that it works on SM-P905, I'll include this information on the first post.
If you find some WiFi issues don't forget to edit /system/build.prop, change the parameter ro.securestore.support from true to false and reboot.
Regards,
Rodrigo.
Already had the property changed in my build.prop, so i'm not exactly sure if the wifi works out of the box or not. Although I confirm that it DOES work with the build.prop modification
And by "does work" I meant both wifi and mobile radio working flawlessly.
gorcutt said:
Hangs on boot before the Samsung logo.
Sent from my SM-P905M using XDA Premium HD app
Click to expand...
Click to collapse
rodpp said:
Hi,
I just downloaded the file from this post and checked the sha1sum against the original file that I uploaded and it´s ok. The sha1sum value is b85360a80f6205269b75d9dfabccac211a224d46. So there is no file corruption problem.
Please check if your file has the same sha1sum.
Tonight I´ll flash this file again in my tablet and verify if it works. It´s highly improbable that I uploaded the wrong file, but I´ll check flashing it.
As soon as possible I´ll update here the result of this test.
Regards,
Rodrigo.
Click to expand...
Click to collapse
Hi there, I tested here and the image is working fine here. The user esgie just confirmed that too, in a P905. Please check the sha1sum of your downloaded image file.
Regards,
Rodrigo.
rodpp said:
Hi,
I just downloaded the file from this post and checked the sha1sum against the original file that I uploaded and it´s ok. The sha1sum value is b85360a80f6205269b75d9dfabccac211a224d46. So there is no file corruption problem.
Please check if your file has the same sha1sum.
Tonight I´ll flash this file again in my tablet and verify if it works. It´s highly improbable that I uploaded the wrong file, but I´ll check flashing it.
As soon as possible I´ll update here the result of this test.
Regards,
Rodrigo.
Click to expand...
Click to collapse
I probably did something wrong.
I've downloaded again and wiill try once more.
MD5 f39207bd4c45b1854372cd519942a6c2
SHA1 b85360a80f6205269b75d9dfabccac211a224d46
Thanks.
Sent from my GT-N7100 using XDA Premium 4 mobile app
As we all can see, our devices lacks of community support.
I wonder if you are the first person on the planet who managed to prepare an environment and compile P905(x) kernel succesfuly
May I ask you if have any plans to proceed with the kernel developement?
Please integrate fauxsound
esgie said:
As we all can see, our devices lacks of community support.
I wonder if you are the first person on the planet who managed to prepare an environment and compile P905(x) kernel succesfuly
May I ask you if have any plans to proceed with the kernel developement?
Click to expand...
Click to collapse
Unfortunately I don't have enough free time, so I don't have plans to work in kernel development. I did this because I was needing it to install some stuffs in my tablet and decided to share it here o XDA where I always found useful things.
If someone wants simple modifications and points some links explaining that I can try without problems.
And if someone have problems preparing an environment to compile the kernel, let me know, I'll be very happy to help.
Regards,
Rodrigo.
koko115 said:
Please integrate fauxsound
Click to expand...
Click to collapse
Do you have a link?
Honestly, I don't know what fauxsound is!
rodpp said:
Do you have a link?
Honestly, I don't know what fauxsound is!
Click to expand...
Click to collapse
Well, i'm not the one who asked this nor I have ever heard about it, but by curiousity I googled this. Got link for this app at Google Play. There are github links in app description to patches that needs to be added to kernel to make this work.
Just can't see Note Pro in officially supported devices -list and don't know can this device even be supported. There reads "Unofficially Supporting: Any Phones using Qualcomm Audio Chip WCD93xx chipsets." But I don't know which chipset NP12.2 got.
Spere said:
Well, i'm not the one who asked this nor I have ever heard about it, but by curiousity I googled this. Got link for this app at Google Play. There are github links in app description to patches that needs to be added to kernel to make this work.
Just can't see Note Pro in officially supported devices -list and don't know can this device even be supported. There reads "Unofficially Supporting: Any Phones using Qualcomm Audio Chip WCD93xx chipsets." But I don't know which chipset NP12.2 got.
Click to expand...
Click to collapse
Thanks, it seems simple if the audio chip is compatible. I'll try to include this in the kernel.
Thanks, Rodrigo for the great work!
Finally i was able to get Ubuntu running using linux complete installer.
Its a shame there's so little development for this great device.
I wish i had skills to do some.
Thanks, from Piracicaba-SP
js345 said:
Thanks, Rodrigo for the great work!
Finally i was able to get Ubuntu running using linux complete installer.
Its a shame there's so little development for this great device.
I wish i had skills to do some.
Thanks, from Piracicaba-SP
Click to expand...
Click to collapse
Yes, one of my motivations to compile this kernel was to boot Linux images too.
Regards,
Rodrigo.
Enviado de meu SM-P905M usando Tapatalk
rodpp said:
Thanks, it seems simple if the audio chip is compatible. I'll try to include this in the kernel.
Click to expand...
Click to collapse
I tried to compile the kernel with the patches sugested by the Fauxsound developer but, unfortunately, I have no success.
Probably it will be necessary more kernel modifications to compile it with the Fauxsound patches.
Enviado de meu SM-P905M usando Tapatalk
Hi,
I have a question about your kernel.
does it contains a root feature ?
I am running XXUANI1 firmware on P900 (wifi version), and have tried the auto root from Chainfire.
it does not work well (I think it was release for a previous firmware), and give a lot of random reboot.
I was thinking that may be I could flash a kernel accepting to work with su.bin
thanks for any information.
Olivier
orobin said:
Hi,
I have a question about your kernel.
does it contains a root feature ?
I am running XXUANI1 firmware on P900 (wifi version), and have tried the auto root from Chainfire.
it does not work well (I think it was release for a previous firmware), and give a lot of random reboot.
I was thinking that may be I could flash a kernel accepting to work with su.bin
thanks for any information.
Olivier
Click to expand...
Click to collapse
The kernel is for P905M/P905...

cifs.ko for Amazon Fire? (CM 12.1, Root)

Hey Guys,
anyone tried (sucessfully) to mount a NAS-Share on the Amazon Fire?
Im new to Folder Mounting on Android in General, but what i've learned so far (pls correct me if im wrong!) that your kernel needs to support cifs, witch is nowhere by default. So one could
- compile/patch the Kernel with cifs Components
- Use a functioning cifs.ko together with CifsManager
First one im definitly too dumb to do
Latter one i tried without success with several *.ko floating around. Maybe i found a work working, but didnt configure it properly?
So, anyone has a working solution for mounting a network folder?
dafunkydan said:
Hey Guys,
anyone tried (sucessfully) to mount a NAS-Share on the Amazon Fire?
Im new to Folder Mounting on Android in General, but what i've learned so far (pls correct me if im wrong!) that your kernel needs to support cifs, witch is nowhere by default. So one could
- compile/patch the Kernel with cifs Components
- Use a functioning cifs.ko together with CifsManager
First one im definitly too dumb to do
Latter one i tried without success with several *.ko floating around. Maybe i found a work working, but didnt configure it properly?
So, anyone has a working solution for mounting a network folder?
Click to expand...
Click to collapse
At one time Nexus ROM included support for CIFS components; not sure if that functionality made it into build for this device. Kernel can not be patched with a locked bootloader so may be a nonstarter.
Davey126 said:
At one time Nexus ROM included support for CIFS components; not sure if that functionality made it into build for this device. Kernel can not be patched with a locked bootloader so may be a nonstarter.
Click to expand...
Click to collapse
I should/might be able to build CIFS support as a kernel module. However last time I had it working due to changes in the upstream linux kernel CIFS Manager can no longer work. When I am up and running again I'll take a look.
Sounds really cool dude!
So, as the bootloader is locked, u wanna give the cifs manager a shot? Would be really awesome if its working!
ggow said:
I should/might be able to build CIFS support as a kernel module. However last time I had it working due to changes in the upstream linux kernel CIFS Manager can no longer work. When I am up and running again I'll take a look.
Click to expand...
Click to collapse
Hey ggow, did you have a chance to take a look and see if there's a possibility? Hope u dont mind me getting back to you!
dafunkydan said:
Hey ggow, did you have a chance to take a look and see if there's a possibility? Hope u dont mind me getting back to you!
Click to expand...
Click to collapse
I'll be working on a new build this week, so will definitely look into it before release.
Sent from my Fire Phone using Tapatalk
Awesome! Thankin u - im excited and crossing the fingers
dafunkydan said:
Awesome! Thankin u - im excited and crossing the fingers
Click to expand...
Click to collapse
- Good news overall
- I have compiled the required modules from the Amazon Fire Kernel sources
- Seems to be working in principle
- I can mount a network share via shell command prompt
- I can copy files to and from the share
- However I need to figure out how to let android apps see the mounted file systems
Edit:
- managed to setup a share using cifs manager [emoji3]
- Can now see the files now from a file manager
- Still needs some testing though
ggow said:
-
- managed to setup a share using cifs manager [emoji3]
- Can now see the files now from a file manager
- Still needs some testing though
Click to expand...
Click to collapse
Yieeehhhaa Wicked!!! Thats really really good news! You are the Man
When you need a Tester or whatever just let me know. Thats awesome! :good:
dafunkydan said:
Yieeehhhaa Wicked!!! Thats really really good news! You are the Man
When you need a Tester or whatever just let me know. Thats awesome! :good:
Click to expand...
Click to collapse
I'll include it in the next release, with some instructions on how to use it.
Awesome!!! Both Thumbs up! Cant wait for it!
Thank u so much, highly appreciated!!!
dafunkydan said:
Awesome!!! Both Thumbs up! Cant wait for it!
Thank u so much, highly appreciated!!!
Click to expand...
Click to collapse
- New Release is out with CIFS Support and User Guide is here

[UEFI][Bootloader]EDK II port for sagit

An explain goes first:
This may surprise a lot of people ,"Whaaaat ? Isn't UEFI a kind of BIOS on PC?"Well, it can also be on your phone too , in fact.
This is an EDK II (UEFI) port for MI 6.Currently it's incomplete,and how much it will be in the future depends on whether I have enough time.
What is this port for?
This is an UEFI port, so there are many possibilities. As a second-stage bootloader, it can boot any ARM64 OSes that support UEFI.
But at this point, only Linux is capable.Windows booting still need more efforts.
See Github README.md for more details.
Download:
Only source is provided since it's not completed.
Source: https://github.com/fxsheep/edk2-sagit
What the ****...... Dude you're awesome. I'll be glad to help in testing if you need.
Keep it up...
neXus PRIME said:
What the ****...... Dude you're awesome. I'll be glad to help in testing if you need.
Keep it up...
Click to expand...
Click to collapse
Thanks
Love this. Thanks for your work. Will test it tomorror.
wow! How amazing it is !
Thanks for the source and btw, @vantoman has built it yesterday and I tried it (fastboot boot uefi.img), it starts up and shows a grub shell just fine. But I couldn't figure out the way to input anything to there (tried usb otg keyboard but nope, not even the usb port outputs power lol). But to me, this is a proof of concept so, if we can help in any ways, please let us know ?
ccelik97 said:
Thanks for the source and btw, @vantoman has built it yesterday and I tried it (fastboot boot uefi.img), it starts up and shows a grub shell just fine. But I couldn't figure out the way to input anything to there (tried usb otg keyboard but nope, not even the usb port outputs power lol). But to me, this is a proof of concept so, if we can help in any ways, please let us know ?
Click to expand...
Click to collapse
That's right as USB OTG hasn't been implemented yet.And probably it won't be easily.Basically I use drivers extracted from the device's XBL.While the OTG isn't probably even exist in that, I just wonder if it's possible.Maybe the bios from some SD835 laptops will help though.
Anyway input isn't necessary for GRUB2 to boot a linux kernel
fxsheep said:
That's right as USB OTG hasn't been implemented yet.And probably it won't be easily.Basically I use drivers extracted from the device's XBL.While the OTG isn't probably even exist in that, I just wonder if it's possible.Maybe the bios from some SD835 laptops will help though.
Click to expand...
Click to collapse
Hmmm, right.. Tell me if I can help you in any ways then ?
---------- Post added at 12:47 PM ---------- Previous post was at 12:46 PM ----------
fxsheep said:
Anyway input isn't necessary for GRUB2 to boot a linux kernel
Click to expand...
Click to collapse
Yeah But streamlining the installation processes etc (but yeah, üt could be done after getting the more important parts to work).
ccelik97 said:
Hmmm, right.. Tell me if I can help you in any ways then ?
---------- Post added at 12:47 PM ---------- Previous post was at 12:46 PM ----------
Yeah But streamlining the installation processes etc (but yeah, üt could be done after getting the more important parts to work).
Click to expand...
Click to collapse
You can do all the installation process on your PC instead on phone.Just use a chroot environment.
Mount the phone's storage to PC using mass_storage in Android kernel.
fxsheep said:
You can do all the installation process on your PC instead on phone.Just use a chroot environment.
Mount the phone's storage to PC using mass_storage in Android kernel.
Click to expand...
Click to collapse
Hmmm I didn't know about that. Thanks for letting me know, I'll look for it.
@fxsheep Could you please port EDK II to Xiaomi mi 5 (MSM8996)?
zengxianxi said:
@fxsheep Could you please port EDK II to Xiaomi mi 5 (MSM8996)?
Click to expand...
Click to collapse
In theory 8996 already uses UEFI as a part of the boot chain, thus porting is not difficult(at least bring up emmc).But you know, this port isn't complete either:
fxsheep said:
In theory 8996 already uses UEFI as a part of the boot chain, thus porting is not difficult(at least bring up emmc).But you know, this port isn't complete either:
Click to expand...
Click to collapse
And how to extract UEFI DXE efi files from the original XBL of msm8996 and port it?
zengxianxi said:
And how to extract UEFI DXE efi files from the original XBL of msm8996 and port it?
Click to expand...
Click to collapse
dump XBL from your device, unpack it with 7zip,or uefi-firmware-parser on github
can we run windows 10 core someday on sagit ?
Just to know about the possibilities and implications:
Could it be possible to multiboot some day?
And something like the efidroid project?
leo.sfsm said:
Just to know about the possibilities and implications:
Could it be possible to multiboot some day?
And something like the efidroid project?
Click to expand...
Click to collapse
If you are asking about 'possibilities', then of course, it is possible,by porting EFIDroid multiboot components to ARM64.
(Yeah nothing is impossible, even Windows 10 Desktop.There's already working SoC drivers available and touchscreen driver is probably also available ,since MI6 has synaptics_dsx ,the same as Lumia950XL)
But again, it needs countless efforts, especially UEFI part, and that's currently out of my reach.
leo.sfsm said:
Just to know about the possibilities and implications:
Could it be possible to multiboot some day?
And something like the efidroid project?
Click to expand...
Click to collapse
actually there is a project named multirom for modified twrp:crying:
Thanks for the source bro , but , anyone know how to debug ? Cas there's no input avalaible on the shell , no usb output or input ...? Anyone help
edit: i can boot the last manline ubuntu kernel 5.4-arm64 to the initeamfs no kernel panic
usin a startup.nsh script uder the root of firmware partition
the txt file attatched rename it to startup.nsh and place it to /vendor/firmware_mnt/startup.nsh
and place your initrd to /vendor/firmware_mnt/initrd.img
copy your vmlinuz to /vendor/firmware_mnt/efi/boot/vmlinuz.efi
reboot to fastboot than fastboot boot uefi.img

[DRIVER] Adreno OpenGL Drivers V415 for MiMax2

First of all, I'm not responsible for any damage to your device.
I've extracted v385 drivers from Syberia OS and I'm using it with SuperiorOS without any problems so far. Performance and battery increase are notable even after the V331 update.
This should work for Snapdragon 625, but you can try with other phones following this instructions, but only if their use adreno 5xx gpu.
You can check your OpenGL version with AIDA64 on Display and you can also check your Vulkan version with Hardware CapsViewer for Vulkan.
Added lastest android Q drivers (v415). It was tested on SuperiorOS and AICP but should work with other Pie roms.
Working on Android 9.0 Pie.
OpenGL V385
OpenGL V415
Optional. Flash it if you face a black screen with vulkan apps.
Vulkan 1.0.66
Instructions:
Wipe dalvik, system, vendor, data and cache.
Flash lastest firmware
Flash your rom
Mount system and vendor (not needed for v415)
Flash the drivers
and then flash your other addons.
You can dirty flash vulkan drivers.
Thanks to:
heindrix and his topic
Syberia OS
NATO66613
GiaSen
ThatisJigen
LoveSick55 said:
First of all, I'm not responsible for any damage to your device.
I've extracted this drivers from Syberia OS and I'm using it with SuperiorOS without any problems so far. Performance and battery increase are notable even after the [email protected] update.
This should work for Snapdragon 625, but you can try with other phones following this instructions, but only if their use adreno 5xx gpu.
You can check your OpenGL version with AIDA64 on Display and you can also check your Vulkan version with Hardware CapsViewer for Vulkan.
This zip will also upgrade vulkan to 1.1.87 version.
Download
Instructions:
Wipe dalvik, system, vendor, data and cache.
Flash lastest firmware
Flash your rom
Mount system and vendor
Flash the drivers
and then flash your other addons.
Thanks to:
heindrix and his topic
Syberia OS
Click to expand...
Click to collapse
is it for mm2?
What does this specifically do?
[email protected] said:
is it for mm2?
Click to expand...
Click to collapse
Yes, I'm using it on Mi Max 2 with SuperiorOS.
Does it works with Oreo and nougat also ROMs and miui ROMs?
fgaurano said:
What does this specifically do?
Click to expand...
Click to collapse
It's a newer version of gpu drivers for MiMax2
hakuizanami said:
Does it works with Oreo and nougat also ROMs and miui ROMs?
Click to expand...
Click to collapse
You can try on oreo but I don't think it will work. This version works on Pie and OpenGL V313 works on Oreo.
heindrix's topic had v313 drivers, but the link is off right now. I can try to get them, are you looking for it?
can this be flashed with being tejas driver?
Nope either flash this or mine
vadistar said:
can this be flashed with being tejas driver?
Click to expand...
Click to collapse
It's your choice.. v5 of mine have same drivers..
vadistar said:
can this be flashed with being tejas driver?
Click to expand...
Click to collapse
It's the same thing, but his driver was outdated (v331). I've extracted a newer version and posted here (v385) and the performance and battery increase is notable better over the v331 version. But today he has updated his drivers, so now both should be on the same version.
I also felt in need to link and give the thanks for the original op (heindrix), but somehow my comments wasn't appearing on beingtejas topic.
I already updated it 7 days back,
LoveSick55 said:
It's the same thing, but his driver was outdated (v331). I've extracted a newer version and posted here (v385) and the performance and battery increase is notable better over the v331 version. But today he has updated his drivers, so now both should be on the same version.
I also felt in need to link and give the thanks for the original op (heindrix), but somehow my comments wasn't appearing on beingtejas topic.
Click to expand...
Click to collapse
But since am not home and busy in my work , it's pending , since i not post anything without testing , and am using k20 pro at present..
I updated my k20 pro drivers too and with that i updated max 2, but you posted it just before me..what ever your source is now.. it was not working that time when i first included my drivers with hardrock bro's rom.
Hardrock know better about all those things we did that time to make the best we can give.. let it be.. since i was looking to stop my work for max 2 for long time now i got the reason..
I still add one thing i don't used anything from your sources , even i asked him to help but he didn't answered.. it all by me and it will be..
beingtejas said:
But since am not home and busy in my work , it's pending , since i not post anything without testing , and am using k20 pro at present..
I updated my k20 pro drivers too and with that i updated max 2, but you posted it just before me..what ever your source is now.. it was not working that time when i first included my drivers with hardrock bro's rom.
Hardrock know better about all those things we did that time to make the best we can give.. let it be.. since i was looking to stop my work for max 2 for long time now i got the reason..
I still add one thing i don't used anything from your sources , even i asked him to help but he didn't answered.. it all by me and it will be..
Click to expand...
Click to collapse
The drivers from heindrix's topic was working perfectly as many people with many devices said so and I've tested it too. I saw you there and your comment that v331 wasn't working but his v313 version worked, then you made a topic sharing v313. I posted not only on heindrix's topic but also in yours that v331 was working and the instructions to make it work, but for a reason my comment didn't appear (neither you reply for that comment) on your topic and a very few time later you updated your drivers to v331. Now I've extracted v385 drivers and one day later you update your drivers to v385.
I felt in need to give heindrix his proper thanks. It's done now and people also got v385 that feels way better.
May be you are unable to read properly what I wrote there..
LoveSick55 said:
The drivers from heindrix's topic was working perfectly as many people with many devices said so and I've tested it too. I saw you there and your comment that v331 wasn't working but his v313 version worked, then you made a topic sharing v313. I posted not only on heindrix's topic but also in yours that v331 was working and the instructions to make it work, but for a reason my comment didn't appear (neither you reply for that comment) on your topic and a very few time later you updated your drivers to v331. Now I've extracted v385 drivers and one day later you update your drivers to v385.
I felt in need to give heindrix his proper thanks. It's done now and people also got v385 that feels way better.
Click to expand...
Click to collapse
By the way let it be.. what I did is known to everyone even to the Dev who made this all possible , even I don't even want to waste my time here.. arguing on useless talks.. lol.
beingtejas said:
By the way let it be.. what I did is known to everyone even to the Dev who made this all possible , even I don't even want to waste my time here.. arguing on useless talks.. lol.
Click to expand...
Click to collapse
if you dont mind me asking, where did you compile drivers foem? like the source? i use to think every driver came from same source
I've installed BeingTejas drivers and Kernel V5 combined ZIP file before this thread was created. Can I dirty flash this video driver over my existing one?
I installed it and it boot to black screen, how to uninstall it please
---------- Post added at 07:31 PM ---------- Previous post was at 06:50 PM ----------
s4zw said:
I installed it and it boot to black screen, how to uninstall it please
Click to expand...
Click to collapse
Edit: I installed ROM again and it's booting up normally now, how can I use the driver . I really need it
EyeBalos said:
I've installed BeingTejas drivers and Kernel V5 combined ZIP file before this thread was created. Can I dirty flash this video driver over my existing one?
Click to expand...
Click to collapse
No, you need to reinstall the rom.
s4zw said:
I installed it and it boot to black screen, how to uninstall it please
---------- Post added at 07:31 PM ---------- Previous post was at 06:50 PM ----------
Edit: I installed ROM again and it's booting up normally now, how can I use the driver . I really need it
Click to expand...
Click to collapse
Follow the instructions, otherwise it will give you a black screen.
Added lastest android Q drivers (v415). Tested on MiMax 2 running SuperiorOS.
Just a side note: give the credits when you copy other people work, don't just copy and call your own.
It's not nice to do so, you can even make harm to the community as the original creator can stop his work and in the end you will get caught.
Great Work sir thankyou for updating driver
it's great that i find someone who do the work for Mi Max 2.
and unfortunately i read some argument on the top replies too.
what i've done on the past was just finding the latest version blobs for related adreno gpu. extract it from a rom, check the version, flash-test it, run the benchmark and test the vulkan features.
after that i analyze the logcat to see if there's something related to the graphics problem causing by the new drivers.
other than that, it's require reverse-engineering the blobs to fix the error (like blackscreen) which until today i haven't been advanced it because i didn't really dive into it.
Every time i install thise drivers Google camera on.mi max 2, turns black.. and Gg

Categories

Resources