hello everyone, i'm trying to use tl-wn722n in my samsung gt-i9100. i downloaded the cm-10.2 source code, and modified the kernel config (add mac80211 and ath9k, kernel version 3.0.64).
during the compile, there are a lot of errors. i compared the kernel with original linux-3.0.64, made some changes, and succeeded getting the boot.img.
after flashing the kernel to my phone, i plug in the tl-wn722n, checked the kernel log, and it said: htc_9271.fw not found.
then i put the htc_9271.fw into /system/etc/firmware, and plug in tl-wn722n again, the phone rebooted. i tried many times, and the phone kept rebooting, and i couldn't even get the kernel log information.
i guess the ath9k driver didn't work correctly, but i don't know what to do, any one can help ?
Related
Hi,
S2 suddenly stopped picking up USB. "USB Device Not Recognised".
I've checked all guides and i cant get it to work. Its not my USB ports my S4 works fine.
I have replaced USB pcb many months ago no problem until now, it charges fine makes standard noise when i plug it in.
I assumed it may be due to custom rom, i tried to flash stock in Odin download mode but it does not recognise any USB device.
I'm kind of stuck and don't know what to do next hope someone can help.
Update: I'm going to try Mobile Odin, see if flashing original Stock firmware fixes it.
You can try to reinstall samsung drivers (http://forum.xda-developers.com/showthread.php?t=961956), see if that fixes it.
It's unlikely that a custom rom is causing it, unless the problem happened as soon as you flashed it, rather than suddenly not working.
Thanks, tired it no luck, I may have to replace USB PCB. flashed stock firmware with mobileOdin I hoped it would fix it.
:good:
Thanks for that outstanding contribution to the thread
The Story started when i wanted to install Drivers for USB OTG on my Droid, And now im ended up by a black hole, im completely lost
What i've Researched/Understand:
1.Kernel is a Bridge between Software and Hardware
2.Drivers must be included in Kernel
3.To Load Drivers, We Need to Extends The Functionality of the Kernel using Some *KO Files Through some Command-Line Commands
What i Have:
1.Source Code for my Phone Kernel
2.Driver for the Device that will be connected Over USB OTG
3.A Rooted Phone
4."Tenda W541U" Is the Device will be connected Through USB OTG and it's chipset is "RT2070L"
What I'm not understanding/Asking for:
1.How can i make these *KO Files?
2.Do i need to make them from Scratch?
3.How to Load them?
4.Will this modify My Kernel Permanently?
5.Do i need Unlocked bootloader?
Hi,
I decided to have a whack at the Galaxy S2, mainly moving what i've already tried to do with a different device to the s2. To do this i need a "sane" kernel. After much pondering i landed on Arigih ( https://github.com/arighi/ ), it seems fairly well maintained to the point where it is now, no funky whack patches that i can spot immediately and to the point, just how i like it. It's also the same kernel version i worked with previously, so much of what i did can be directly applied, whee!
What troubles me though, after compiling and deploying the kernel, USB mouse doesnt work, nor does bluetooth. Im wondering if im missing something crucial with regards to configuring the kernel for gingerbread ( yes im stuck on GB because the touchscreen or controller has died due to saltwater ingestion and i need to use a USB mouse to unlock and use the thing) . And i spot some OOPS's in the dmesg, I suspect that the whole of android needs to be recompiled around the changes to this kernel though.... Any tips moving forth would be much appreciated. How can safely move to a newer version, and keep ADB and USB HIDD functional so i can use the device after upgrading for instance....
Cheers
Mike
Hi guys i'm building LineageOS for the Razer Forge TV.
The rom build and run fine but with several bugs. For example, the led driver. This is the custom driver writen by Razer: Led Kernel Driver, works perfect on stock rom, but doesn't seems to work at all on Lineage.
The glow led has two instances, on and off nothing else. Is controlled by an proprietary app. The only job for this app it's write in the proc file system when the device sleep or wake up. When the device sleeps the app do this work "echo 1 > /proc/led_device" and when wake up this "echo 255 > /proc/led_device".
This command doesn't work in my custom rom (the led is always on), at all, even if i put manually via adb. No errors/selinux denials on logcat or dmesg.
Any clue or idea? Thanks
EDIT:
I just found out something. All Razer drivers included in the kernel, doen't work properly on LineageOS. So, the led doesnt shutdown the usb port doesnt switch into debug mode and hdmi edid doesn't collect the right information
https://github.com/gabrielgagz/android_kernel_pearlyn/tree/cm-14.1/drivers/misc
Another clue is that the kernel apearently comes from CAF. Razer publish the kernel in a compressed tgz instead some git repo.
So as far i see the sources comes from Code Aurora. I still canĀ“t indentify the branch or tree...
BTW, the only things wich doesn't work properly are the drivers pushed by the vendor...
i have samsung tab A (SM-T580) with lineageOS installed and today i wanted to update TWRP after a long time and i run in to the "invalid kernel length" error, i had this error once and i was able to fix it with ODIN but now i have the problem that my PC does not recognize my tablet at all in the download mode... I installed the latest samsung drivers..changed usb ports and cable to check if this was the problem and nothing helped.
I hope someone can help me <3
sry for my english