For example I want to use GingerDX + FXP028 OC Kernel, but Wi-Fi is not working! As I understand we need to replace wifi driver, that is located in /system/lib/modules/tiwlan_drv.ko If you have FXP028, please post this module.
But I don't know if sdio.ko is needed to. This can be usefull to many people.
Here is all three files from /system/lib/modules
dbts25 said:
Here is all three files from /system/lib/modules
Click to expand...
Click to collapse
Thank you very much, but can you give me FXP028 OC Kernel? The HotFile link is broken.
dbts25 said:
Here is all three files from /system/lib/modules
Click to expand...
Click to collapse
I paste the files in system/llb/modules but i still get wifi error
FXP have wifi drivers inside kernel AFIK, I`m not sure that placing modules can give us anything.
rav3n_pl said:
FXP have wifi drivers inside kernel AFIK, I`m not sure that placing modules can give us anything.
Click to expand...
Click to collapse
You got it wrong... Example I use GingerDX and I WANT to use FXP kernel, but wifi is not working. That's the only reason, I don't use FXP kernel with GingerDX. You can easily fix wifi by replacing modules that are in ROM not kernel.
FXP ROM
velnens123 said:
You got it wrong... Example I use GingerDX and I WANT to use FXP kernel, but wifi is not working. That's the only reason, I don't use FXP kernel with GingerDX. You can easily fix wifi by replacing modules that are in ROM not kernel.
Click to expand...
Click to collapse
Actually, on FXP init.d there's a cpmodules which load the three wi-fi files from the kernel to the system/lib/modules from the rom. Also, there's a modules folder with the exact same files, and two other init.d config files related to wi-fi.
I've tried to copy files from inside the kernel to their correct location within the ROM, set all the permissions, but I was not able to have wi-fi on FXP/GDX combo, which is really a shame.
if you can fix it, please share.
Also, if I made an incorrect statement here, please forgive me as I am a noob.
ok I have to enter at least 10 characters....
edit: decided to wright something anyway I think the "things" in modules folder are libraries not drivers (btw the image is from developer.android.com) and all the drivers are in the kernel (according to...) and all the problems come from kernel...FXP said that they figured out what the problem was in their kernel but didn't share it...I guess it's in the gutlib account...anyway I ain't no dev so don't mind me
Related
Is there a tun.ko file available for the Eris? And if so, is it something that just need to compile against a specific kernel (ie, CFSv4 vs BFSv4) or just the kernel version (ie 2.6.29)?
Basically, I'm trying to get VPN Connections connections to work so I can connect to Penn State's wifi (which uses "pure" ipsec authentication). Any time I try to connect, the app force closes, which seems to be a result of the missing tun.ko file.
(If there isn't one currently available, would one of you super awesome devs compile one? I'd be super appreciative.)
FunkyFender said:
Is there a tun.ko file available for the Eris? And if so, is it something that just need to compile against a specific kernel (ie, CFSv4 vs BFSv4) or just the kernel version (ie 2.6.29)?
Basically, I'm trying to get VPN Connections connections to work so I can connect to Penn State's wifi (which uses "pure" ipsec authentication). Any time I try to connect, the app force closes, which seems to be a result of the missing tun.ko file.
(If there isn't one currently available, would one of you super awesome devs compile one? I'd be super appreciative.)
Click to expand...
Click to collapse
I believe it needs to be compiled against the specific kernel source but i'm not sure.....I went ahead and compiled one for you but I had some changes to my source since CFSv4 so I compiled a new kernel with the tun.ko file. I'm assuming it needs to be in the system/lib/modules/ folder so that where I put it in the update script. This script will flash the CFSv5 kernel and put the tun.ko file in system/lib/modules. If you just want the tun.ko file you can pull it out of the update script.....I really don't know alot about vpn's so haven't done any testing on it but you can try it and let me know how it goes...I have been running this kernel for a little while and it is stable.
Edit post: I guess a link would be helpful....CFS Kernel with tun.ko
Haha, awesome! Flashing now. I'll update with my results.
Edit: Works fantastic! Thanks so much Conap!
Conap said:
I believe it needs to be compiled against the specific kernel source but i'm not sure.....I went ahead and compiled one for you but I had some changes to my source since CFSv4 so I compiled a new kernel with the tun.ko file. I'm assuming it needs to be in the system/lib/modules/ folder so that where I put it in the update script. This script will flash the CFSv5 kernel and put the tun.ko file in system/lib/modules. If you just want the tun.ko file you can pull it out of the update script.....I really don't know alot about vpn's so haven't done any testing on it but you can try it and let me know how it goes...I have been running this kernel for a little while and it is stable.
Edit post: I guess a link would be helpful....CFS Kernel with tun.ko
Click to expand...
Click to collapse
Conap, you and Deca are Super Devs! Like in capes and tights lol ok, maybe not the tights!
I'm sneakin' that CFSv5 on my phone... shhh, don't look!
workshed said:
Conap, you and Deca are Super Devs! Like in capes and tights lol ok, maybe not the tights!
I'm sneakin' that CFSv5 on my phone... shhh, don't look!
Click to expand...
Click to collapse
lol yeah i figured i'd post it over on the cfs thread too lol....
Conap said:
lol yeah i figured i'd post it over on the cfs thread too lol....
Click to expand...
Click to collapse
I seen that lol, thanks for answering that question too, even though I was comfortable in assuming it was the same... but that gets me in trouble sometimes, had to ask.
cifs.ko and tun.ko for Eris
Hi
I was looking for a tun.ko for my Eris as well, and was excited to see this thread... unfortunately it appears the link above is now broken.
Conap, I'm running Condemned CM7 on my Eris and I was looking for a tun.ko and cifs.ko. I looked at your kernel thread here
http://forum.xda-developers.com/showthread.php?t=774211
and downloaded DecufuctCFSV9, where I found a tun.ko in /system/lib/modules. However when I tried installing this on my phone via insmod, I got a "failed (exec format error)" so I presume it is not compatible.
Does anyone know where or how I can get the correct cifs and tun kernel modules? Thanks!
Wow, Resurrection lol. All the way from September 2010!
http://forum.xda-developers.com/showpost.php?p=19787703&postcount=6887
tun.ko, but no cifs.ko unless I built it into the kernel and don't remember
i begged for that back in june, it was mongoosehelix who compiled it. it only took me 5 months to check my private messages.
sirblacknite said:
i begged for that back in june, it was mongoosehelix who compiled it. it only took me 5 months to check my private messages.
Click to expand...
Click to collapse
? I was talking about this thread.
Mongoose didn't compile the one I linked you to, this is the .29 kernel I compiled with a tun.ko module and will be in my next eris rom.
... you don't have to use it.
yeah, your kernel is what im running now. i was saying that i sent out a quesiton in june asking the same thing, and he had actually compiled a tun.ko that worked in june, but it wasnt until the message i sent to you that i actually checked the messages to see if it worked.
at any rate, i find it easier to use your kernel than have to pump in a driver for tunneling. keep up the great work!
sirblacknite said:
yeah, your kernel is what im running now. i was saying that i sent out a quesiton in june asking the same thing, and he had actually compiled a tun.ko that worked in june, but it wasnt until the message i sent to you that i actually checked the messages to see if it worked.
at any rate, i find it easier to use your kernel than have to pump in a driver for tunneling. keep up the great work!
Click to expand...
Click to collapse
Sorry, not enough coffee today for me, I understand now.
Could you please give this a test, nand first of course, or just have the other kernel zip ready to flash again if problems.
This has a freshly compiled cifs.ko which is quite large in file size. I think I may have added to many options for it. Let me know how it goes (PM me if you can)
I tried
workshed said:
Sorry, not enough coffee today for me, I understand now.
Could you please give this a test, nand first of course, or just have the other kernel zip ready to flash again if problems.
This has a freshly compiled cifs.ko which is quite large in file size. I think I may have added to many options for it. Let me know how it goes (PM me if you can)
Click to expand...
Click to collapse
Thread resurrection FTW! Well hey I'm still rockin the eris and it's good to see there still so much support. Thanks so much for being responsive.
First I tried insmod-ing the tun.ko from the original link you send, then I tried the tun.ko in this recent zip; both failed on insmod. Then I tried flashing this zip with cifs and tun in it; boot took a long time, when it came up I still got the same error trying to connect to the vpn. Any tips to help analyzing what's failing?
If it ends up working on your ROM I may switch.
Thanks again.
---------- Post added at 06:12 PM ---------- Previous post was at 05:55 PM ----------
workshed said:
Sorry, not enough coffee today for me, I understand now.
Could you please give this a test, nand first of course, or just have the other kernel zip ready to flash again if problems.
This has a freshly compiled cifs.ko which is quite large in file size. I think I may have added to many options for it. Let me know how it goes (PM me if you can)
Click to expand...
Click to collapse
workshed,
I just made some progress on these kernel modules... I tried cifs via CifsManager and it works! I also tried insmod-ing tun.ko *after* flashing this zip and it worked without error; however I still got an error when trying to connect to the VPN. If there's any other ideas you have let me know; perhaps it could be a problem with my VPN settings but they seem ok....
Thanks so much
EasyVictor said:
Thread resurrection FTW! Well hey I'm still rockin the eris and it's good to see there still so much support. Thanks so much for being responsive.
First I tried insmod-ing the tun.ko from the original link you send, then I tried the tun.ko in this recent zip; both failed on insmod. Then I tried flashing this zip with cifs and tun in it; boot took a long time, when it came up I still got the same error trying to connect to the vpn. Any tips to help analyzing what's failing?
If it ends up working on your ROM I may switch.
Thanks again.
---------- Post added at 06:12 PM ---------- Previous post was at 05:55 PM ----------
workshed,
I just made some progress on these kernel modules... I tried cifs via CifsManager and it works! I also tried insmod-ing tun.ko *after* flashing this zip and it worked without error; however I still got an error when trying to connect to the VPN. If there's any other ideas you have let me know; perhaps it could be a problem with my VPN settings but they seem ok....
Thanks so much
Click to expand...
Click to collapse
Hmm, this user comfirmed the tun.ko working, so it may be your settings. http://forum.xda-developers.com/showpost.php?p=19810279&postcount=6890
Yeah basically you should be able to flash that zip and have everything working, maybe needing a reboot after the flash is all. That is, I'm still not sure if the cifs.ko is working correctly or not.
Working!
workshed said:
Hmm, this user comfirmed the tun.ko working, so it may be your settings. http://forum.xda-developers.com/showpost.php?p=19810279&postcount=6890
Yeah basically you should be able to flash that zip and have everything working, maybe needing a reboot after the flash is all. That is, I'm still not sure if the cifs.ko is working correctly or not.
Click to expand...
Click to collapse
I spoke too soon... so I still haven't got vpn working via the CM7 built-in interface, I think it has something to do with the certificates. However then I tried the app "OpenVPN Settings" and set that up with my certs and .ovpn file. Hit a few bumps but I have it working now! The CIFS is also working. I'm actually using both together right now... I'm VPN'd to my home network and have mounted one of my local shares via CIFS over the VPN. Pure magic; thanks so much for your help. Will donate!
EasyVictor said:
I spoke too soon... so I still haven't got vpn working via the CM7 built-in interface, I think it has something to do with the certificates. However then I tried the app "OpenVPN Settings" and set that up with my certs and .ovpn file. Hit a few bumps but I have it working now! The CIFS is also working. I'm actually using both together right now... I'm VPN'd to my home network and have mounted one of my local shares via CIFS over the VPN. Pure magic; thanks so much for your help. Will donate!
Click to expand...
Click to collapse
Glad you got it working, congrats!
Thank you for testing and sharing your findings, always helpful. Let me know if you run into any weird problems with it, and thank YOU for the contribution!
Hello guys. I know this is for Android development while what im posting should be in general section but i want to point out that on certain custom ROM like Darky ROM, when i apply Voodoo lag fix, my wifi connection on the galaxy S stopped working on WPA/WPA2 EAP.
According to a few sites, this is normal in 2.2.1 as the software itself is buggy. I dont experience this on my Motorola Droid running 2.2.1 but on galaxy s, it doesnt work.
I search in this forum but ive found no ans, so i google it. and apparently theres a bug fix for the wpa_supplicant
http://www.dead-end.info/wp-content/uploads/2010/12/wpa_supplicant_froyo_eap.gz
Download this in replace your current one in system/bin/wpa_supplicant.
Credit goes to Cova at http://www.dead-end.info/2010/12/13/samsung-galaxy-s-froyo-wpa_supplicant-fix.
All developers should replace their WPA_supplicant with these in all the 2.2.1 rom and perhaps 2.3 rom too.
Cheers! Now my galaxy S is able to connect to my home network on wpa2!
Hi,
me run Darky v.7 Rom too, and guess what ... no wifi wpa/wpa2 problems here!
so no need to install stuff like this
Yeah. Only for those who have these problem. i have the problem after i enabled voodoo. I tried reflashing clean and then apply darky rom, i dont have tht problem too. but once i enabled voodoo, the problem came. Ures has voodoo on?
yep voodoo enabled! even on /system
Just for Info:
On 2.6.35 / gingerbread the kernel module bcm43XX.ko at /system/modules/ must match the kernel.
It means when you compile a kernel, you've to use the bcm kernel module which will be compiled with these kernel. Otherwise Wifi won't work at all.
It's not possible to flash another kernel without replacing the module.
Hi
Running darkys 8.0 rom and it's not working on the WPA/WPA2 EAP at work. Tried your file change but it did nothing ..
codeworkx said:
Just for Info:
On 2.6.35 / gingerbread the kernel module bcm43XX.ko at /system/modules/ must match the kernel.
It means when you compile a kernel, you've to use the bcm kernel module which will be compiled with these kernel. Otherwise Wifi won't work at all.
It's not possible to flash another kernel without replacing the module.
Click to expand...
Click to collapse
Good info to know.
Thanks codeworkx
Your File is Not Working Here is Working file with how to do it
http://www.emoiz.com/how-to-connect-samsung-galaxy-s-to-ad-hoc-wifi-network
this worked 100%
you neet to root the phone and use root explorer to acces it, replace the file with the new one, good as new
but this files still doesn't work with WPA-EAP access points
On xwjv1, no need this, as I can connect to most wifi network...
Sent from my GT-I9000 using XDA App
Hello,
Could anybody provide tun.ko for this kernel or place where is it stored in rom?
I am using version[ GINGERBREAD (2.3.4/5/6) Kernel 2.6.32.50] 1,30Ghz
I looked for this file in /system/lib and not found it.
Adam
greenwitch said:
Hello,
Could anybody provide tun.ko for this kernel or place where is it stored in rom?
I am using version[ GINGERBREAD (2.3.4/5/6) Kernel 2.6.32.50] 1,30Ghz
I looked for this file in /system/lib and not found it.
Adam
Click to expand...
Click to collapse
I think that since it is compiled into his kernel there won't be a file available. You would either have to unpack the boot.img and extract the module from the zImage, or compile just the the module against the kernel source. You may want to ask over in his thread.
I cannot, ecause of the post limit. I have this rom on my Atrix so I can see all files but the module is not there in typical place like /system/lib/modules and in other /system/lib folders...
If you could ask the question for me i would be grateful
Adam
I think faux's kernel has TUN built in, you don't need any modules. It's already there, waiting to be used
greenwitch said:
Hello,
Could anybody provide tun.ko for this kernel or place where is it stored in rom?
I am using version[ GINGERBREAD (2.3.4/5/6) Kernel 2.6.32.50] 1,30Ghz
I looked for this file in /system/lib and not found it.
Adam
Click to expand...
Click to collapse
Try his github...but idk,I think I saw it there once
Could you provide link. Google results do not show anything interesting.
Adam
Description:Hi everyone.As a result of long researches,i found those kernels.They have got 2.2 Atmel drivers so If you install those kernels ,you will not have the problem of Atmel
for CM7 - LeWaOs - MooKeOS - Lezo ROM
It can overclock up to 1.8 Ghz,but this kernel doesn't have smartassv2
Link:http://www.mediafire.com/?k2b28rdu01paa65for MIUIv3 ROM
Current ROMs are used;the new unless kernel. It can overclock up to 1.8 Ghz,and this kernel has smartassv2
Link:http://www.mediafire.com/download.php?uah96r1pcoplhj3B5xx - B8xx (Honor Port) ROM
It can overclock up to 1.4 Ghz,and this kernel has smartassv2
Link:http://www.mediafire.com/download.php?zfo74y25s5tox1r
Install
install zips via CWM, like install a ROM.No need to wipe process.
forumber2 said:
Hi everyone.As a result of long researches,i found this kernel.It has got 2.2 Atmel drivers so If you install this kernel ,you will not have the problem of Atmel It can overclock up to 1.8 Ghz.It tested on cm7 and b528.
Link:http://www.mediafire.com/?k2b28rdu01paa65
Install: (very difficult )
Install zip via CWM.
Note:This kernel isn't created by me
Click to expand...
Click to collapse
Almost works with .35 MIUI too. Phone boots & runs ok but automatic screen rotation has to be set off (it mixes horizontal & vertical "layouts" --> the screen is always 90 degrees off). Can't say if it fixes Atmel problems cause I have a Synaptics screen.
sbasil said:
Almost works with .35 MIUI too. Phone boots & runs ok but automatic screen rotation has to be set off (it mixes horizontal & vertical "layouts" --> the screen is always 90 degrees off). Can't say if it fixes Atmel problems cause I have a Synaptics screen.
Click to expand...
Click to collapse
can you fix it sbasil? because i using your rom actually
sbasil said:
Almost works with .35 MIUI too. Phone boots & runs ok but automatic screen rotation has to be set off (it mixes horizontal & vertical "layouts" --> the screen is always 90 degrees off). Can't say if it fixes Atmel problems cause I have a Synaptics screen.
Click to expand...
Click to collapse
Hmm,this bug is only in MIUI.thank you for reporting bug
exxxplorer said:
can you fix it sbasil? because i using your rom actually
Click to expand...
Click to collapse
Nope, sorry, I don't do the kernel stuff. I guess someone could come up with a workaround though.
lets try
is franco can do something ins this kernel will be perfect!
Kernel by itself is no good for development. You need sources. Best idea I have had was to pull the relevant commits and fixes from DZO's 3.08 ICS kernel and Buckingtons ICS .35 kernel and put them into the proper .35 source, but it takes more time than I have to do. Plus, I am not sure we really have any need for a gingerbread kernel now, ICS is where it is at dev wise sad though that is. We have skipped a kernel iteration due to Huawei mucking up the sources and official gingerbread so much.
https://github.com/dzo/kernel_huawei
https://github.com/franciscofranco/kernel_huawei
https://github.com/TomGiordano/kernel_huawei/tree/2.6.35-ics
This one might be a good base:
https://github.com/TomGiordano/kernel_huawei
It is just about pulling the best bits from the kernel trees and testing, testing testing. FJSferreria? had a guide to compiling the 3.08 kernel source from DZO which should work fine for the .35 kernel too.
http://forum.xda-developers.com/showthread.php?t=1577876
Where this kernel could work is in extracting the relevant defconfig from it to build a working .35 kernel from. instead of 'make u8800_defconfig', we would pull the config from the phone, back it up, copy it into the build directory and rename it to '.config' and just run the 'make' command.
Can anyone pull /proc/config.gz and upload it for me?
Cheers
Works perfectly with B526 :thumbup:
Sent from my U8800 using xda premium
spatjoe said:
Works perfectly with B526 :thumbup:
Sent from my U8800 using xda premium
Click to expand...
Click to collapse
can this work with B528 official rom also?
as i do not have CMW, is there a way to extract the boot.img?
so that to put it at /.cust_backup/image/ folder by using root explorer...
hk_aquarius said:
can this work with B528 official rom also?
as i do not have CMW, is there a way to extract the boot.img?
so that to put it at /.cust_backup/image/ folder by using root explorer...
Click to expand...
Click to collapse
Read first post. Boot image is in zip so you can just extract it.
Sent from my GT-P1000 using Tapatalk 2
hk_aquarius said:
can this work with B528 official rom also?
as i do not have CMW, is there a way to extract the boot.img?
so that to put it at /.cust_backup/image/ folder by using root explorer...
Click to expand...
Click to collapse
You must install a CWM to install this package.
forumber2 said:
You must install a CWM to install this package.
Click to expand...
Click to collapse
Not necessarily, he can extract the boot.img that's inside of the package and copy it to the image folder, with root explorer.
Sent from my U8800
fjsferreira said:
Not necessarily, he can extract the boot.img that's inside of the package and copy it to the image folder, with root explorer.
Sent from my U8800
Click to expand...
Click to collapse
yes,he can.I want to say, he must install CWM for install zip package. He can do your method :good:
Does this kernal have the wifi related reboot problem? Where if you leave wifi on and turn of the screen, sometimes it will crash and reboot.
typci said:
Does this kernal have the wifi related reboot problem? Where if you leave wifi on and turn of the screen, sometimes it will crash and reboot.
Click to expand...
Click to collapse
No,i think it hasnt got any reboot problem.I used this on b528, CM7.2, B866, B876, MooKeOS and i have not encountered any problems. Which ROM are you using?
forumber2 said:
No,i think it hasnt got any reboot problem.I used this on b528, CM7.2, B866, B876, MooKeOS and i have not encountered any problems. Which ROM are you using?
Click to expand...
Click to collapse
I'm currently on 2.2, because B526 had reboots related to wifi being on and the screen turning off. I'm looking to go back to 2.3.5, but I need a 100% stable system. I was hoping this kernal might have fixed the wifi/reboot problem. I want to try B528, but I can't root it because the drivers required won't install on Win 7 64bit.
typci said:
I'm currently on 2.2, because B526 had reboots related to wifi being on and the screen turning off. I'm looking to go back to 2.3.5, but I need a 100% stable system. I was hoping this kernal might have fixed the wifi/reboot problem. I want to try B528, but I can't root it because the drivers required won't install on Win 7 64bit.
Click to expand...
Click to collapse
Which guide do you use to root B528? I could root B528 with Win7 64bit. This kernel should work on B526 and other versions.
forumber2 said:
Which guide do you use to root B528? I could root B528 with Win7 64bit. This kernel should work on B526 and other versions.
Click to expand...
Click to collapse
I tried all kinds of guides. I got a folder with all the stuff I tried to root B528 with, it includes: DooMLoRD_v4, rooted boot image, some Chinese rooting tools, and about 4 different set of drivers. Th problem I have is the drivers won't install, I get an error: "Driver not intended for this platform." If I could get the drivers working, then I could root.
Excuse my bad English.
With the Kernel DorimanX b11.0 b012 now BLN have brought to works again.
I use CM12.1 official, while I proceeded as follows:
- Create a backup from the rom first.
- Under "/system/lib/hw" I have the "lights.exynos4.so" swapped from CM11.
- Because the lights.xxxx.so under CM11 have a different file name "lights.msm7x27.so" so it must be renamed in "lights.exynos4.so".
- set file permissions to 644
- reboot the rom
- Install STweaks and activate BLN. Now BLN should be work.
-------------------------------edit 19.10.15
I have the file from my second mobile phone Samsung GTS5830.
On it the phone is the rom "cm-11-20150912-UNOFFICIAL-cooper.zip; CyanogenMod 11 [Linaro]" installed.
http://forum.xda-developers.com/galaxy-ace/s5830-develop/rom-cyanogenmod-11-t3194339
The need file called under CM11 "lights.msm7x27.so"
But I can not upload the file. I don’t have the permission here.
With this file BLN and BLNWW works for me.
--------------------------------edit 20.10.15
With the changed file, the screen brightness can not be changed, unfortunately.
-------------------------------edit 20.10.15
I have found a *.so with the BLN works and the brightness control of the display functions.
The file is from image "decuro_GALAXYS2_4.8.8_4.1.zip Jelly Bean"
I uploaded the file under http://filehorst.de/d/bfwjFnoe
Delete under "/system/ lib/hw" the original file and add the new "lights.exynos4.so".
Set file permissions to 644
So far, I could not detect any error with the file.
charlie8104 said:
Excuse my bad English.
With the Kernel DorimanX b11.0 b012 now BLN have brought to works again.
I use CM12.1 official, while I proceeded as follows:
- Create a backup from the rom first.
- Under "/system/lib/hw" I have the "lights.exynos4.so" swapped from CM11.
- Because the lights.xxxx.so under CM11 have a different file name "lights.msm7x27.so" so it must be renamed in "lights.exynos4.so".
- set file permissions to 644
- reboot the rom
- Install STweaks and activate BLN. Now BLN should be work.
Click to expand...
Click to collapse
@charlie8104 Which "lights.msm7x27.so" you are talking about i just downloaded the cm11 snapshot12 and the file name you specified is same as the file name in cm12.1
If you have that file plz upload here
Have u tested this??
If this is the cause of the problem, it shouldn't be too hard to implement to the kernel. :good:
Thanks, gsstudios
Thanks for edit i will try it out
EDIT: BLN worked but m not able to control screen brightness it always stay high
EDIT: It works now..Thanks Man
charlie8104 said:
Excuse my bad English.
With the Kernel DorimanX b11.0 b012 now BLN have brought to works again.
I use CM12.1 official, ...
-------------------------------edit 20.10.15
I have found a *.so with the BLN works and the brightness control of the display functions.
The file is from image "decuro_GALAXYS2_4.8.8_4.1.zip Jelly Bean"
I uploaded the file under http://filehorst.de/d/bfwjFnoe
Delete under "/system/ lib/hw" the original file and add the new "lights.exynos4.so".
Set file permissions to 644
So far, I could not detect any error with the file.
Click to expand...
Click to collapse
Don't worry about your English!
Thank you for not only providing your solution here once, but for even keeping your OP up to date with improved versions after issues got reported. @gsstudios might cherry-pick here to implement BLN in his DorimanX kernel again, if it proves to work without further issues.
So once more, thank you for investigating on that.
Hi Guys,
I have the two lights.exynos4.so compared. In the * .so that I use an entry for BLN is included.
Line 5 in the lights.exynos4.so with BLN function.
------------------------------
#####################################[############################################################################################################################################################__aeabi_unwind_cpp_pr0#strcmp#pthread_once#malloc#memset#init_globals#free#open#sprintf#write#close#__android_log_print#__errno#__stack_chk_fail#__stack_chk_guard#pthread_mutex_lock#pthread_mutex_unlock#load_settings#fopen#fgetc#fclose#load_module_type#fread#pthread_mutex_init#NOTIFICATION_FILE_BLN#NOTIFICATION_FILE_CM#PANEL_FILE#BUTTON_FILE#HMI#__cxa_finalize#__dso_handle#__INIT_ARRAY__#__FINI_ARRAY__#__exidx_end#__exidx_start#__data_start#_edata#__bss_start#__bss_start__#_bss_end__#__bss_end__#__end__#_end#_stack#liblog.so#libc.so#libstdc++.so#libm.so#lights.exynos4###################################################### #######
------------------------------
The entry "NOTIFICATION_FILE_BLN" is completely missing in the original CM12.1 File.
The BLN entry would probably take place before the decompiled File Android Image is constructed.
Hi all, can't get this to work, is it that I need DorimanX kernel to do it? I thought you could do it with the stock CM12.1 kernel.
You need DorimanX.
Stock doesn't support BLN at all.
can someone attach the .so file? i can't seem to properly access the uploader's site...
:good:
souler456 said:
can someone attach the .so file? i can't seem to properly access the uploader's site...
:good:
Click to expand...
Click to collapse
@souler456
Hope this will help
EDIT: Check if it's working for you or not? Don't know why it's not working for me
sonupm said:
@souler456
Hope this will help
EDIT: Check if it's working for you or not? Don't know why it's not working for me
Click to expand...
Click to collapse
Yep. Working on my side. You changed permissions?
:good:
souler456 said:
Yep. Working on my side. You changed permissions?
:good:
Click to expand...
Click to collapse
Yes It work 1st time then I disabled capacitive buttons light and enabled it again after that BLN stopped working
sonupm said:
Yes It work 1st time then I disabled capacitive buttons light and enabled it again after that BLN stopped working
Click to expand...
Click to collapse
Try deactivate/active your BLN settings in Stweaks/Synapse...
:good:
souler456 said:
Try deactivate/active your BLN settings in Stweaks/Synapse...
:good:
Click to expand...
Click to collapse
Leave it. I don't use it anyways just wanted to help you and its working for you then no probs here:good:
You are on DU 9.8 Right ?? and I am on cm12.1 with Dorimanx by gsstudios. So I think this problem is kernel specific
I can make the updater script for dorimanx kernel to automate this process so we all have working BLN. Although I don't see it as a final solution, it works.
gsstudios
Edit: Got BLN working on kernel install. BLN will be fixed in next build
Edit 2: Now it isn't working
Edit 3: Now it works Seems like kernel reflash did the trick
@gsstudios
Same procedure like back then, when I tested successfully and your tests failed. So nothing much changed.
the.gangster said:
@gsstudios
Same procedure like back then, when I tested successfully and your tests failed. So nothing much changed.
Click to expand...
Click to collapse
Did you mean this method or last time when I 'attempted' to fix it? Because I'm now using this method to make BLN work on DorimanX. Last time I did the wrong thing and nothing would have happened.
gsstudios
Here is my commit which does pretty much the same thing as what the OP said but automated in the script: https://github.com/gsstudios/Dorima...mmit/d9432c3d87e26c09d6bad03ecdc22015ea4a9638
gsstudios said:
Did you mean this method or last time when I 'attempted' to fix it? Because I'm now using this method to make BLN work on DorimanX. Last time I did the wrong thing and nothing would have happened
Click to expand...
Click to collapse
I was referring to post #5 in here followed by these in the DorimanX-thread:
http://forum.xda-developers.com/showthread.php?p=63379702
http://forum.xda-developers.com/showthread.php?p=63438826
http://forum.xda-developers.com/showthread.php?p=63715347
and below. All in October.
the.gangster said:
I was referring to post #5 in here followed by these in the DorimanX-thread:
http://forum.xda-developers.com/showthread.php?p=63379702
http://forum.xda-developers.com/showthread.php?p=63438826
http://forum.xda-developers.com/showthread.php?p=63715347
and below. All in October.
Click to expand...
Click to collapse
Oh, that was my silly mistake. Wasn't clear enough I wasn't trying to use the fix back then, instead I was being a noob and replacing the file included in the kernel when I should have updated the script to replace the original file on the ROM. TL;DR, I replaced the Kernel lights.exynos4.so instead of ROM lights.exynos4.so :laugh: I am certain next build will have BLN fix
LoL
now I finally understand why our tests led to completely different results.