How to flash or patch custom kernel in Remix OS? - Remix OS for PC

Hi, I just got everything working nicely on my Dell Inspiron 580. I am running rooted Remix OS 3.0 MM 64-bit and I am trying to use a TP-Link usb Wireless Adapter RTL8188EUS which I am assuming is a Realtek Chipset. So I am wondering, is there a kernel or patch that will get it working? How do we flash or compile kernels in Remix OS? The wireless is my only stumbling block to make this into a Media PC. Any suggestions seriously appreciated

You can look at this:
https://github.com/JideTechnology/remixos-kernel/issues/4#issuecomment-261435959
After you have a ready custom kernel file, you can just replace the old one in ISO or in already installed location.

Vioner said:
You can look at this:
https://github.com/JideTechnology/remixos-kernel/issues/4#issuecomment-261435959
After you have a ready custom kernel file, you can just replace the old one in ISO or in already installed location.
Click to expand...
Click to collapse
Excellent. I appreciate the response i have helped with development in other projects i would like to help with Remix OS if possible. I will likely do what i can with my linux box this weekend. Do i need to change permissions on the new kernel? i am going to backup the kernel i have now before i start changing too much ? Thank you @Vioner ill let you know if i can get it working

Related

[Q]Sort of copy pasting operating system

Is it possible to backup/save the drivers and other sensors lib files so that when a new OS is flashed, the drivers/libs on that OS can be replaced by the one you've backed up so that you can get your sensors/drivers working just on a new OS?
I'm thinking of porting a fast gingerbread rom to I9001 (yes we haven't got a single talented dev so that i'm giving it a try) but i was confused about this ¨!
Thanks in advance !
lol why do i have to bump my questions everytime...are they too hard to answer? or is xda too lazy to answer a noob question?
I have been playing with Rom Kitchen, you can port the OS off of other similar phones.And uses you currant OS drivers etc. But have to have Mac or Linux.
shad0wboss said:
Is it possible to backup/save the drivers and other sensors lib files so that when a new OS is flashed, the drivers/libs on that OS can be replaced by the one you've backed up so that you can get your sensors/drivers working just on a new OS?
I'm thinking of porting a fast gingerbread rom to I9001 (yes we haven't got a single talented dev so that i'm giving it a try) but i was confused about this ¨!
Thanks in advance !
Click to expand...
Click to collapse
Yes it is possible (but they have to correspond with with the type of rom). See here: http://forum.xda-developers.com/showthread.php?t=1222746 .

Linux drivers for Remix OS 2.0

Hello,
I'm just wondering if there is a way to install linux drivers on Remix OS. I really doubt that *.deb or *.rpm files are installable, but is it possible to build and install the needed driver ?
In my case, I would like to have my TV PCI Card (TBS 6281 dual TNT Tuner) working on Remix OS. The drivers are available here (http://www.tbsdtv.com/download/document/common/tbs-linux-drivers_v160405.zip)
On Ubuntu, I'm used to build thous drivers and then install them. But is it possible on Remix OS (it needs some buidings libraries and compilers...)
Thank you for your help.
@mathojojo I'd suggest asking this question on Android-x86 group Devs look in there much more often and Remix OS bases off Android-x86 project. These guys may help you port the drivers to Android.
@Ventricle Ok, I will take a look there. Thx

EHCI controller - XHCI patch ?

Hi Guys,
Not sure where to ask this but would it be possible to patch the following in one of the kernels for RN3 Kate?
Im trying to use NXLoader,but apparently it doesn't support it because it has an EHCI controller, not XHCI.
Apparently this can be done,but i have no idea how to do it
"not patch to xhci, simply patch ehci to behave the way we want it to.
https://github.com/fail0verflow/shofel2/blob/master/linux-ehci-enable-large-ctl-xfers.patch"
Thanks for all the help
Even I am trying to use NXLoader to send payload to my Switch. I even tried Rekado (another app) and it has the same issue. Here's what the creator of the app had to say...
@aKMTR not patch to xhci, simply patch ehci to behave the way we want it to.
https://github.com/fail0verflow/shofel2/blob/master/linux-ehci-enable-large-ctl-xfers.patch
You will need to recompile your kernel to do this most likely, although I did write a "hotpatch" script for desktop linux systems: https://gist.github.com/DavidBuchanan314/41b12362cc4d8c539dc441d75155f2e9
I can't really help you from here. but if you do figure it out please document what you did so others can follow along.
Click to expand...
Click to collapse
Current, I am on latest global stable stock MIUI on RN3. I can upgrade to any rom if it supports this modification.
Thanx a lot in advance. Desperately waiting for a reply.
I've been told that installing a custom kernel and then adding a script to it can help. Can some devs of a kernel help us with this, please.
Edit: I just tried out Rekado on my wife's Honor 7X phone (which also has Micro USB port) and it just worked. It's a brand new phone and has no root, etc.

[Kernel] [7.1.2] [HID Attacks] Nethunter

Kali Nethunter Kernel for Android Nougat (7.1.2)​
Disclaimer:
Use this kernel at your own risk. Flashing it may brick your device. I'm not responsible for any software/hardware damage.
I did not do any significant development or building of this kernel. (I was simply a guy looking for a kernel that supported HID attacks on Nougat for Kali Nethunter and such I dug through the interwebs gathering all information/software required) All serious development credit goes to RoatanDave and Binkybear on Github, I simply built with Linux using the Nethunter-installer.
Having said that there is nothing special about this Kernel with regards to battery life and performance, expect the same as stock Lineage OS 14.1, it's just stable and works with the added benefit of using external wifi cards for packet injection and monitoring as well as enabling the use of HID attacks using Duckhunter.
Tested on:
As of now, the kernel has been tested and is working fine on the following ROM(s). If you decide to try the kernel on a different ROM, let me know if it works and I will add it to the list.
TugaPower N63
Lineage OS 14.1 (2018-06-13)
I'm pretty sure it should work for other Nougat based roms, just create a backup before trying.
How to install
1. Create a backup
2. Clear all caches.
3. Flash the attached file.
4. Reboot
5. Pwn the world
Troubleshooting
You must enable Android Debugging in the Developer Settings and the USB mode must be set to MTP. If you don't enable these options the HID attacks won't work.
Thanks to:
Rotandave https://github.com/Roatandave
BinkyBear https://github.com/binkybear
Tuga Power Rom
LineageOS
Kernel Special Features:
Enables the use of HID attacks
I'm just beginning this journey so take it easy on me, I may not be able to help with adding features etc to the Kernel or going through source code but I'm willing to learn, I hope that I will be able to create a 8.1 Oreo version as well if it is possible. I am open to input and help from anyone who knows about the subject.
Created 2018-10-24
For the future
Maybe one more to be safe.
Thanks man, that's great work! Good to know that running a fully functional NetHunter on our bacon is an option!
Tplink wn722n working?
Бахрам Байрамза said:
Tplink wn722n working?
Click to expand...
Click to collapse
Yes, that is the adapter I am using, see the screenshot of it in monitor mode using airodump-ng.
amd-dude said:
Yes, that is the adapter I am using, see the screenshot of it in monitor mode using airodump-ng.
Click to expand...
Click to collapse
OH, thanks!
Friend, can you make the kernel work on LineageOS 14.1 Sultanxda firmware? The fact is that this is a CAF firmware (maybe you know).
I'll try, I'm currently setting up a new 12core workstation at home and loading up ubuntu with all the tools needed for proper kernel development and learning a bit more everyday.

Making an own android image?

Hello everybody. I love this community and I have been lurking for a long time.
I have noticed on a foreign language forum that some people were offering a custom rom for my android 9 TV box.
The chinese box is based on a s905x3 CPU and has a mediatek wifi chip for which it is hard (if not impossible to find the wifi drivers).
The site claims that the image was made by modifying the stock rom that came with the box. Is this possible or do all custom roms need to be build from the source?
The custom rom I want to make is going to replace the launcher with kodi.
I am prepared to build the whole rom from source but I do have a couple of questions.
Since the mediatek wifi drivers cannot be found how would I go about including the binary for the wifi?
I have noticed that the box that I have uses a .ko (kernel object) module to drive the wifi chip.
Can I include these kernel objects in build? It is a shame that the kernel is built as a 32bit system. Would that mean that I can only compile a 32bit kernel if I were to reuse those kernel modules and binaries?
Another idea is to perhaps use the kernel from coreelec in my build since it seems to include a lot of drivers.
Is it possible to use a kernel from something like coreelec but use the source from AOSP for the rest of my build?
Is there anything else that I should be aware of?
Thank you all!!!!
Can anyone give me any hints to any of the questions?
Essentially I want to swap out the stock launcher for Kodi. What is the easiest way to do so?

Categories

Resources