[KERNEL][V7.0|13-June-2020]ResurrectedKernel

SUPERUSER

Senior Member
Jan 23, 2013
1,575
537
133
still not working. Here what i did:
1. copy file "qca_cld3_wlan.ko" from WiFi_fix.zip
2. I didn't know where the file should excatly be,so I paste the file in 2 places:
- vendor/lib/
- vendor/lib/modules/
3. set permission 644 for the file in both places - vendor/lib/ and - vendor/lib/modules/
4. reboot
any ideas?
That is not correct, the file should be placed where specified.
Inside the folder "qca_cld3" so the total path to the file being /vendor/lib/modules/qca_cld3/qca_cld3_wlan.ko
If the folder does not exist create the folder with permission 755 and set the file permission on 644 and reboot

See image and notice the path at the top: This is how my phone looks
 

SUPERUSER

Senior Member
Jan 23, 2013
1,575
537
133
Yes sorry i wrote that folders from my memory....I got file placed same like you with permissions set 755 for folder and 644 for file :)
Well did it work?
Does wifi work now?

Edit:
I am not using the kernel, leme just be clear on that but I am noticing in your image that the file is half the size of the original file?
On my phone its 6,9MB big.
I dunno why that is if the file is modified to make it work with the kernel?
 
Last edited:

SUPERUSER

Senior Member
Jan 23, 2013
1,575
537
133
Opening the zip file it seems like its a repack process.
I wonder if it would be possible to make an uninstall zip file to revert to the old kernel if something goes wrong?
Similar to what magisk does, placing the original kernel in a folder if needed in the future so its being flashed back when flashing the uninstall zip

---------- Post added at 20:09 ---------- Previous post was at 20:08 ----------

Uv some mv please. Redmi N5 kernel also UVable about 20-50mv ( by dev, no UI for user )
Undervolting just a little bit would be preferable to decrease risks with the rom being unstable and avoid overheating issues
 

Zanr Zij

Senior Member
Nov 28, 2010
2,168
913
0
41
Halong Bay
www.maychuchuyendung.vn
Opening the zip file it seems like its a repack process.
I wonder if it would be possible to make an uninstall zip file to revert to the old kernel if something goes wrong?
Similar to what magisk does, placing the original kernel in a folder if needed in the future so its being flashed back when flashing the uninstall zip

---------- Post added at 20:09 ---------- Previous post was at 20:08 ----------



Undervolting just a little bit would be preferable to decrease risks with the rom being unstable and avoid overheating issues
If you flash Magisk before kernel, when something go wrong you just flash Magisk Uninstaller to restore stock kernel only :)
 

SUPERUSER

Senior Member
Jan 23, 2013
1,575
537
133
If you flash Magisk before kernel, when something go wrong you just flash Magisk Uninstaller to restore stock kernel only :)
hmm good idea.
There is no other files being written to any other partitions that will need to be restored to default state?
Other then the qca_cld3_wlan.ko?
 

SUPERUSER

Senior Member
Jan 23, 2013
1,575
537
133
Magisk Uninstaller is all you need :)
Thanks it worked.
I backed up the backup archive in /data and restored it to run the uninstall magisk.

I do confirm.
Wifi does not work.
And it does not work with restoring the original rom file.
I successfully restored the original kernel and wifi work again.
 

mario_R

Senior Member
Mar 28, 2014
399
477
103
25
Well did it work?
Does wifi work now?

Edit:
I am not using the kernel, leme just be clear on that but I am noticing in your image that the file is half the size of the original file?
On my phone its 6,9MB big.
I dunno why that is if the file is modified to make it work with the kernel?
It's half the size because I've used "strip" command so the size is smaller. I can compile test version without stripping the module. I don't know why AnyKernel2 can't push wifi module for some users to /vendor partiton. For my testers on telegram group WiFi_fix.zip worked. For another tester there were'nt any problem with wifi after flashing just kernel zip. :confused:
 

SUPERUSER

Senior Member
Jan 23, 2013
1,575
537
133
It's half the size because I've used "strip" command so the size is smaller. I can compile test version without stripping the module. I don't know why AnyKernel2 can't push wifi module for some users to /vendor partiton. For my testers on telegram group WiFi_fix.zip worked. For another tester there were'nt any problem with wifi after flashing just kernel zip. :confused:
For me the qca_cld3_wlan.ko file was replaced no issues on my end but the wifi did not work, the switch went back to off when I turned it on.
Tomorrow I might be able to give you some logs if that would help
 

mario_R

Senior Member
Mar 28, 2014
399
477
103
25
For me the qca_cld3_wlan.ko file was replaced no issues on my end but the wifi did not work, the switch went back to off when I turned it on.
Tomorrow I might be able to give you some logs if that would help
Are You on MIUI ROM or AOSP based ROM (some GSI ROM maybe)?
 

mario_R

Senior Member
Mar 28, 2014
399
477
103
25
Miui - xiaomi.eu 8.9.20
Hmm, okay tomorrow will compile test version with not stripped WiFi module

As above, and as you said, could you make some logs when you're free? For example with MatLog app and send screenshots here

EDIT:
Nevermind, compiled it just now. Test it please, also keep in mind the size is big without strip command
https://drive.google.com/open?id=11B0016iGzRUe9vMPW5i_deWEN3kRPhZl
Also don't flash WiFi_fix.zip and check in /vendor/lib/modules/qcacld3/ if there is a big module file
 
Last edited:
  • Like
Reactions: Shlyify