yashsingh1/xdaforums huggingface dataset:
[Galaxy S Plus I9001 Android Development] educk:
Kernel Update

Hello everyone!

I'm back again with Phenom Kernel v1.2.7. I didn't update until now because I was waiting for arco and ivendor to successfully implement the new bcmhd WiFi driver. Well, ivendor is busy and will not update so I switched back to dhd driver. I added some great features to this version, check the changelog for more info :).

About kernels for 4.2.2 ... I'm currently waiting for Xistance to revert to the old WiFi drivers, and than I'll publish my kernels.

About the 3.4 kernel from CAF, I'm constantly working on it, (check my git page for info) and there are still some things to fix, I don't know when it will be ready but I wont give up on it.

Regards,

Erik
[Galaxy S Plus I9001 Android Development] jimsiv:
Απ: [Kernel][JB][3.0.68]PhenomKernel by Erik-OC-UV/exUV v1.2.7 [03.07.2013]

Fast'n'smooth!! No problems so far...I'm waiting to see the improvement of the battery!!

Send from my GT-I9001
[Galaxy S Plus I9001 Android Development] abhimukesh25:
Re: [Kernel][JB][3.0.68]PhenomKernel by Erik-OC-UV/exUV v1.2.7 [03.07.2013]

Bro please add otg in your kernel..? ;)
[Galaxy S Plus I9001 Android Development] educk:
OTG works, bro ;)
[Galaxy S Plus I9001 Android Development] davidteri91:
R: [Kernel][JB][3.0.68]PhenomKernel by Erik-OC-UV/exUV v1.2.7 [03.07.2013]

Works on 4.2.2??

Inviato dal mio GT-I9001 con Tapatalk 2
[Galaxy S Plus I9001 Android Development] glava34:
I had 3 shut downs while screen was off on ExUV..i switched to UV version, but it happened again :/ I never had any reboots on stock or Castagna kernel...
[Galaxy S Plus I9001 Android Development] villemann:
This kernel is not for 4.2.2
[Galaxy S Plus I9001 Android Development] edpo1976:
Same issue here. And battery level has suffered a huge decrease with every shut down, after rebooting (90-66-30%). I've used every release of EXUv Phenom Kernel without problems before.

Thanks Educk for your work.
[Galaxy S Plus I9001 Android Development] Laurentyu1995:
maybe the new kernel power management causes this problems :-?? ... any ideas ??
[Galaxy S Plus I9001 Android Development] genericmann:
Re: [Kernel][JB][3.0.68]PhenomKernel by Erik-OC-UV/exUV v1.2.7 [03.07.2013]

No shutdowns here. Works smoothly. ExUV 1.2.7
[Galaxy S Plus I9001 Android Development] educk:
Alright guys, I'll investigate this problem. I always test the kernel build before the release, and now I'm using the uploaded version and I didn't have any shutdown at all, also, battery management is better... But, if I'll get a shutdown I'll try to find the source of it and fix it.
[Galaxy S Plus I9001 Android Development] edpo1976:
I think that problem happens only with the screen off for a while, probably in deep sleep. But it seems that shut down is inevitable if you don't use the device for a while.
[Galaxy S Plus I9001 Android Development] jimsiv:
Απ: [Kernel][JB][3.0.68]PhenomKernel by Erik-OC-UV/exUV v1.2.7 [03.07.2013]

I have about 4 hours using this kernel and I didn't have any shutdowns...works perfect!!

Send from my GT-I9001
[Galaxy S Plus I9001 Android Development] edpo1976:
But, have you tried to left the device without use, with the screen off for a while?. Others report in our spanish android forum the same issue, the device shuts down when the screen is off for a while.

Anyway, are the 1.2.7 EXUv voltages different from 1.2.6 levels?. I don't know if these problems could be related with new voltages of screen and wifi.
[Galaxy S Plus I9001 Android Development] jimsiv:
Yes, I have left it with the screen off for a while and I didn't face any problems....also deep sleep is working great! Maybe it's from the voltages (some phones don't work properly with lower voltage) because I have experienced same problem with other exUV kernels, but not any (until now) with this one.
[Galaxy S Plus I9001 Android Development] edpo1976:
Could be, but others have faced the shut down problem with both versions, ExUv and UV too, so I assume there must be some other cause.

Thanks
[Galaxy S Plus I9001 Android Development] RobyRc:
I have shutdowns too..f**k..it was so smooth:(..

exUV (my phone supports exUV:) )
[Galaxy S Plus I9001 Android Development] edpo1976:
Yes, it seems an usual issue of this release, even with phones that usually support eXUV (mine too)º. Anyway, as I said, it doesn't seems to me that this problem is voltages related, due to some users have faced it even with UV version.

I'm sure Educk will solve it. And, actually, this release seems very smooth. Amazing work!
[Galaxy S Plus I9001 Android Development] educk:
Re: [Kernel][JB][3.0.68]PhenomKernel by Erik-OC-UV/exUV v1.2.7 [03.07.2013]

Alright then, although I have no ideea what the problem is, because the kernel works fine on my device, I'll release test builds tomorrow for users who experienced shutdowns. It might come from: display panel voltage or dpram adjustments from arco. I really don't see other reason.

Sorry for inconvenience.

Regards.

Erik
[Galaxy S Plus I9001 Android Development] edpo1976:
No inconvenience, We all thank you your hard work and support.

I'll stay tuned for test releases and I'll report then.

Thanks again,
[Galaxy S Plus I9001 Android Development] jcah73:
I had 2 shut downs while screen was off and wifi on too, just turn on wifi and off the screen. otherwise very smooth and fast

Thanks for your work
[Galaxy S Plus I9001 Android Development] Schur1k:
AW: [Kernel][JB][3.0.68]PhenomKernel by Erik-OC-UV/exUV v1.2.7 [03.07.2013]

For me ,too :/
[Galaxy S Plus I9001 Android Development] educk:
Hello everyone!

Alright, as some users reported random shutdowns, I compiled version 1.2.8 for testing. If in this version, the bug is fixed and random shutdowns don't appear anymore, I'll make the other versions too :).

Download link in the OP.
[Galaxy S Plus I9001 Android Development] edpo1976:
Testing now. I will report in a while.

Thanks, Educk, for your great work, 'til now, 1.2.6 of your kernel is the best I've ever tested.

EDIT 1. Half an hour with screen off, 93% in deep sleep, no SOD by now. So far so good. Keep testing.

EDIT 2. Two hours, almost all time with screen off, 91% in deep sleep, still no SOD. It seems you made it, Educk, well done!
[Galaxy S Plus I9001 Android Development] hepterci:
help

phone freezes when opening and closing.

help please..
[Galaxy S Plus I9001 Android Development] educk:
great! I looks like it's fixed. It was related to some commits arco made not to the display panel voltage. I'll build other versions and update the OP soon :). Thank you!

wut ?? :eek:

I see you posted this on Nexus Kernel thread too... which kernel are you using? And what do you mean by opening and closing? Opening what? ... :confused:
[Galaxy S Plus I9001 Android Development] hepterci:
I flashed the kernel to phone and reboot system.

phone is first opening freezes for 2-3 minutes and closing. strange sounds coming from the phone

I do not know english translation used.

sorry for spelling
[Galaxy S Plus I9001 Android Development] anuseb89:
Re: [Kernel][JB][3.0.68]PhenomKernel by Erik-OC-UV/exUV v1.2.8 [03.08.2013]

Clear cache and dalvik..and on which rom did u flash this kernel? It will work only on jelly bean 4.1.2 roms..
[Galaxy S Plus I9001 Android Development] hepterci:
I m using CM 10

I bought my phone at a cheaper price in the spot.

Do you think the phone might be a fake? I think this is causing the problem.

How can I tell if it is original?
[Galaxy S Plus I9001 Android Development] ktulu84:
is original... otherwise it won't boot anymore with a custom rom
[Galaxy S Plus I9001 Android Development] educk:
Well, if it's fake, it would not have it's orignial hardware. So, you won't be able to flash anything on it since it has diferent hardware. If you managed to flash CM10 and a custom kernel, it's original. Now, I don't exactly understand what your problem is, and which kernel are you using becasue you posted in the Nexus Kernel thread too. So, the phone freezes at screen unlock? Try a simple reboot and wipe the caches, see if that solves anything.
[Galaxy S Plus I9001 Android Development] XeLLaR*:
AW: [Kernel][JB][3.0.68]PhenomKernel by Erik-OC-UV/exUV v1.2.8 [03.08.2013]

Educk he is suffering from the same problems i had with eXUV. He has to use the JaggyKernel OC Table.
[Galaxy S Plus I9001 Android Development] edpo1976:
After 13 hours of moderate use,everything is OK and no SOD until now. Really smooth, by now even better than 1.2.6.

Thanks Educk, your work is really awesome!
[Galaxy S Plus I9001 Android Development] educk:
Alright! Thank you very much for testing and reporting :good:

UV and stock PMEM versions availabile on the OP.

Enjoy :)
[Galaxy S Plus I9001 Android Development] genericmann:
Re: [Kernel][JB][3.0.68]PhenomKernel by Erik-OC-UV/exUV v1.2.8 [03.09.2013]

Hey, thx for your kernel! Does it have BLN support?
[Galaxy S Plus I9001 Android Development] educk:
no, my kernels don't provide BLN support. :)
[Galaxy S Plus I9001 Android Development] ngagenokia:
My phone support exUV or UV

Please, someone can talk to me, where I can find support exUV or only support UV for my phone. I have baseband KPL.thank
[Galaxy S Plus I9001 Android Development] alexisguitarra:
Re: [Kernel][JB][3.0.68]PhenomKernel by Erik-OC-UV/exUV v1.2.8 [03.09.2013]

I think you mean how could you know which version support your phone?

The answer is that you have to test both version, so if using exUv your phone doesn't turn off or has random reboots you're OK.

PD: exUv saves a little bit of battery due to lower voltages.
[Galaxy S Plus I9001 Android Development] educk:
Phenom Kernel v3 for JB 4.2.2

Hello everyone!

As Xistance updated to a new, better WiFi driver, I decided to publish my kernel build. It works only on 4.2.2 by Xistance (I didn't test it on doomsday's build but it should work). Here are some features:

*Governors: conservative,interactive(x), ondemand(x),lulzactive,powersave,smartassv2,performance,lionheart)

*I/O Schedulers: bfq,cfq,tweaked deadline,noop,row,sio,vr.

*Deadline I/O scheduler tweaks

*Advaced O3 optimization

*Optimized AES and SHA1 routines (castagnaIT)

*Low WiFi and Display Panel voltage (castagnaIT)

*Lower Swappiness (Christopher83)

*CPU Voltage Control VDD sysfs interface (Christopher83 and Doomlord)

*Extreme Undervolt

*and more I can't remember :)

Source: GitHub

I'll try to implement the new Qualcomm Drivers by changing to ION memory allocation and making some adaptions inside kgsl drivers, if I succeed, I'll release a new build.

Enjoy!

EDIT: WiFi is not working on doomsday's build.
[Galaxy S Plus I9001 Android Development] Xistance:
Re: [Kernel][JB][3.0.68]PhenomKernel v3 for JB 4.2.2 [03.10.2013]

Great job erik! You have a typo though :p
[Galaxy S Plus I9001 Android Development] educk:
Thank you! I fixed it (I hope there are no others lol).
[Galaxy S Plus I9001 Android Development] sassarolo:
R: [Kernel][JB][3.0.68]PhenomKernel v3 for JB 4.2.2 [03.10.2013]

For me WiFi doesn't work on v3 >_>

I'm on doom build (i have read that this should work on it so i have tested)

Inviato dal mio GT-I9001
[Galaxy S Plus I9001 Android Development] educk:
This is from the changelog. It looks like doom is using bcmdhd, and yes, WiFi won't work on his build as I adapted my kernel for Xistance build which uses dhd module. Christopher's kernel and stock by doomsday are the only options if you want working WiFi.
[Galaxy S Plus I9001 Android Development] Xistance:
Re: [Kernel][JB][3.0.68]PhenomKernel v3 for JB 4.2.2 [03.10.2013]

Doomsday and I are going to implement ION today. Im doing any device changes and Doomsday will help out with kernel. If you want lets work together.
[Galaxy S Plus I9001 Android Development] educk:
Alright, thanks for the offer, I'll send you a PM.
[Galaxy S Plus I9001 Android Development] XeLLaR*:
AW: [Kernel][JB][3.0.68]PhenomKernel v3 for JB 4.2.2 [03.10.2013]

Jaggyjags OC table or the one from Diablo?
[Galaxy S Plus I9001 Android Development] magicw:
+1 However I ran Xistance's CyanogenMod 10.1 Alpha 5
[Galaxy S Plus I9001 Android Development] educk:
Sorry Xellar, I used Diablo's table, I might make another version, but I don't have time now.

Guys.... WiFi works correctly on Alpha 5 by Xistance. On doomsday's build it doesn't work...
[Galaxy S Plus I9001 Android Development] magicw:
ok, will reflash the whole bulk again. But the WLAN switch in the settings menu was grey, could not be moved at all. Maybe because I did it as triple flash in TWRP (CM10.1 Alpha5 + Gapps + Phenomkernel in one flashsession)?
[Galaxy S Plus I9001 Android Development] educk:
ok, I'll tell you what I did, I was comming from CM10. Full Wipe (data + cache + dalvik cache) flash CM10.1 Alpha 5, flash gapps, flash my kernel. Fix permissions, reboot. That's it, and WiFi works great.
[Galaxy S Plus I9001 Android Development] iGunslinger:
WiFi works, deepsleep too:good: but why overclocked to 1824 at start:confused:
[Galaxy S Plus I9001 Android Development] XeLLaR*:
AW: [Kernel][JB][3.0.68]PhenomKernel v3 for JB 4.2.2 [03.10.2013]

No Problem ill wait for it :thumbup::)
[Galaxy S Plus I9001 Android Development] muhammadnajmi96:
Xellar, may I know what's the different between these tables? :confused:
[Galaxy S Plus I9001 Android Development] XeLLaR*:
AW: [Kernel][JB][3.0.68]PhenomKernel v3 for JB 4.2.2 [03.10.2013]

Voltages. Some devices ( linke mine ) cant handle the Voltages of Diablos OC table as example, with diablos i cant OC up to 1700mhz, with Jaggys i can OC up to 1804 without any problem. This differs from device to device.

My CPU rev is 0x02.
[Galaxy S Plus I9001 Android Development] luckana:
it works awesome on xistance build.. 10x man
[Galaxy S Plus I9001 Android Development] educk:
are you sure it is the voltages? If so, you can customize them using an app like Antutu CPU Master, or IncrediControl.

Here is a Voltage Table for refernece: XDA Link.
[Galaxy S Plus I9001 Android Development] mertee:
AW: [Kernel][JB][3.0.68]PhenomKernel v3 for JB 4.2.2 [03.10.2013]

For me its exactly the same prob. Nice to now im not alone :) castagnaITs tables are also working fine.
[Galaxy S Plus I9001 Android Development] XeLLaR*:
AW: [Kernel][JB][3.0.68]PhenomKernel v3 for JB 4.2.2 [03.10.2013]

Jup, i edited them and now everything is fine! But i took the voltages from jaggyjags git.

Edit: Yes, the one from castagnait works too.
[Galaxy S Plus I9001 Android Development] davidteri91:
R: [Kernel][JB][3.0.68]PhenomKernel v3 for JB 4.2.2 [03.10.2013]

Erik I have a problem with cristopher's kernel with his kernel I can't see 720p videos in gallery but on YouTube I can.

Now with your kernel I have the same problem I can't see 720p videos in gallery.

Inviato dal mio GT-I9001 con Tapatalk 2
[Galaxy S Plus I9001 Android Development] Xistance:
Can you on my stock kernel?

I can see 720p perfectly in gallery. Preview doesn't work though. Most likely another adreno lib problem.
[Galaxy S Plus I9001 Android Development] XeLLaR*:
AW: [Kernel][JB][3.0.68]PhenomKernel v3 for JB 4.2.2 [03.10.2013]

Use MXPlayer, its better anyways.
[Galaxy S Plus I9001 Android Development] edpo1976:
I can't find the reason, but I couldn't make my WIFI work with that procedure (in CM 10.1 by Xistance). I made a complete wipe install (even with format system), and I tried with stock, Phenom and Christopher kernel, with same result: wifi is on, but I can`t connect.

Any idea?. I'm gonna try now with Dooms version, with his kernel.

Thanks for your amazing work, as always.
[Galaxy S Plus I9001 Android Development] educk:
Even on stock?? There must be a problem with your router than or WiFi configuration of your phone... open up WiFi Settings, press the menu buttom and check the advanced tab, see if you have the right WiFi region code, see if you have a MAC adress there and so...

Don't try my kernel on Doomsday's build, try Christopher's, version 1.3 I guess. My kernel is adapted for Xistance's CM10.1.
[Galaxy S Plus I9001 Android Development] edpo1976:
Thanks for your help, Educk.

I've flashed back cm10 beta 2, just to check if I was still able to connect to my WIFI, and WIFI works without problem. So, I'm gonna retry with CM 10.1 and see if WIFI configuration is correct (I've already checked region code and there were no option marked, I selected Europe, but WIFI still didn't work). I didn't check MAC adress.

I will report later

---------- Post added at 03:31 PM ---------- Previous post was at 03:24 PM ----------

Ok, I've reflashed CM10.1 by Xistance+Phenom kernel (wipe cache and dalvik, wipe data and wipe system, flash CM10.1+gapps+Phenom kernel, then fix permissiosm that only took a second, I don't know if this is normal).

Well, I've checked that region code is correct and that i have Mac Adress, Although, I have IP Adress Not available (in CM10 I've 192.128.1.35). Could this be the cause of my problems to connect?. It seems that my device cannot get an IP Adress with this CM 10.1.

Thanks
[Galaxy S Plus I9001 Android Development] educk:
mmm..strange, You'r router is secured with WPA, right? and please have a look inside /system/lib/modules and tell me the files from there.
[Galaxy S Plus I9001 Android Development] Xistance:
You will get an IP address the second it connects to any wifi. That isn't the problem.
[Galaxy S Plus I9001 Android Development] edpo1976:
It is secured with WAP

Well, I am now testing Dooms release and wifi works well. Really strange. The only difference I can verify in Wifi settings is regard IP Adress, in Xistance release indicates Not Available, in Domms' one indicates 192.128.1.35. Xistance, are you sure I am getting an IP adress?. The issue is that I can't connect to my WIFI, so I assumed I wasn't been able to get IP adress.

Anyway, once I've verified I can connect wifi with Dooms' CM10.1, I'm gonna reflash Xistance release and verify what is inside /system/lib/modules.

I'll keep trying, because I would really like to use the combo Xistance+phenom.

Thanks both for your kind responses.

EDIT. Educk, this is the content of /system/lib/modules, in Dooms CM 10.1, with WIFI working. I'm gonna reflash Xistance and your kernel and verify again.
[Galaxy S Plus I9001 Android Development] Xistance:
Doom's current release uses bcmdhd.ko, mine uses the SGS3's dhd.ko. The IP address has NO relation to your problem. You don't have to worry about that. When you aren't connected to any network it will show Not available, when you are, it will show an ip address.
[Galaxy S Plus I9001 Android Development] edpo1976:
So, in Xistance CM10.1+Phenom, this is the content of /system/lib/modules

Really strange to me, I can't make WIFI works here. Do you see any important difference between both screens?
[Galaxy S Plus I9001 Android Development] Xistance:
Do you mind getting a logcat? Just turn wifi on then off and give me the logcat.
[Galaxy S Plus I9001 Android Development] edpo1976:
So, it seems my problem is related to that change between your CM10.1 and Dooms' one. Anything I can do?. As you can see in my last screen, I've got cifs.ko, istead of bcmdhd.ko (that I've got in Dooms CM10.1).

Sorry for asking so much, I am completley noob in these cuestion.

---------- Post added at 04:27 PM ---------- Previous post was at 04:26 PM ----------

I would really like to do it, but I never did it before,. How can I?. Sorry again, I wouldn't like to bother you.
[Galaxy S Plus I9001 Android Development] educk:
Re: [Kernel][JB][3.0.68]PhenomKernel v3 for JB 4.2.2 [03.10.2013]

No, the content of /system/lib/modules is ok. Just provide a logcat, as Xistance said. So far you are the only one with these problems but we'll fix it don't worry.
[Galaxy S Plus I9001 Android Development] TwinHeadedEagle:
With this kernel, phone wake from the deep sleep alone? I turn off the screen, and it wakes alone...and then won't lock again?
[Galaxy S Plus I9001 Android Development] krislibaeer:
look at this http://xdaforums.com/showthread.php?t=2141817&nocache=1&z=2392727172614224

but the main part is type in terminal

adb logcat -v long > logcat.txt

and be sure in developer settings usb debuggin on
[Galaxy S Plus I9001 Android Development] edpo1976:
Ok, i will try to learn how to make a logcat, because I never did before. I will google it an see if I'am able to do it.

Thanks.
[Galaxy S Plus I9001 Android Development] edpo1976:
Sorry, this is my first try. I don't know if I made it correctly.

I've installed SDK and followed the instructions to make a logcat, after turn on and off wifi. Please, take a look at the attaced file and tell me if it is correct.

Thanks for your patience (and thanks krislibaeer for the link)
[Galaxy S Plus I9001 Android Development] krislibaeer:
[ 03-10 17:15:32.737 437: 503 E/WifiStateMachine ]

Failed to disable IPv6: java.lang.IllegalStateException: command '1 interface ipv6 wlan0 disable' failed with '400 1 Failed to change IPv6 state (No such file or directory)'

yes here is the problem
[Galaxy S Plus I9001 Android Development] edpo1976:
Well, for a beginner like me, making a logcat is already a great step!!

Do you think my issue has a fix?. I never have problems to connectt any wifi (in CM10, or CM10.1 by Dooms), only with CM 10.1 by Xistance.

Thanks
[Galaxy S Plus I9001 Android Development] krislibaeer:
did you do a full wipe when you switched between xistance and doomdays release

--> ups sorry read it just you did a full wipe

usually this should be fixed we had the same problem yesterday

--> what recovery do you use
[Galaxy S Plus I9001 Android Development] Bedi_:
R: [Kernel][JB][3.0.68]PhenomKernel v3 for JB 4.2.2 [03.10.2013]

Please Erik, make an UV version for jb 4.2.2

I always have freezes with exUV :(
[Galaxy S Plus I9001 Android Development] edpo1976:
Thanks for your answer. I think I don' get your point. Do you mean it is a recovery problem? How did you fix the issue? I used TWRP 2.2.1.

Thanks again
[Galaxy S Plus I9001 Android Development] krislibaeer:
it was a test rom which i flashed

try to factory reset wipe system wipe cache /dalvik cache wipe data maybe twice

flash the rom again let it boot look if it is working then flash this kernel and hopefully it work

yes i know you flashed the rom several times try xistance alpha 5 or tomorrow doomsdays build

i do not know but sometimes i thought that twrp 2.2.1 (really stable) do not clean right that is my opinion

edit: try my rom ?!
[Galaxy S Plus I9001 Android Development] magicw:
it's weird somehow.

I don't get Phenom v3 running with WIFI on CM10.1 Alpha 5. Its the first time having such big problems applying a Kernelchange via ADB. I did it on a regular base on CM10 Kernels recently.

If you look at the screenshots I copy the three /system/lib/modules files extracted from Phenom-v3-zip to the fone using

./adb remount
./adb push [COLOR="Red"]file[/COLOR] /system/lib/modules

you can see a difference in the time codes in the pictures so exchanging these files does work and permissions also are ok.

The Kernel-file boot.img will be pushed to the root dir of the internal sdcard.

Then I flash the Kernel per Kernelflasher from Alireza:

then reboot.

I prefer acting like this because then I can use a proper keyboard on my computer having the fone connected and controlled via USB rather than breaking my fingers on the small screen of the device. ;)

Following this process, which is my typical process for exchanging Kernel, it won't work.

It's reproducable.

If I copy back the files from /system/lib/modules and Kernel extracted from Alpha5 ZIP-File WIFI is back and active.

But extracting the files from your v3 ZIP-file always end up in a fone without active WIFI.

Honestly, I do not want to wipe or do a factory reset because I have a configuration which is working. Maybe only if nothing else will help to get further updates running on the system.

But I'd rather would like to know whats going wrong here or what dependencies exist which I did oversee. Well I do not wipe Cache/Dalvik in this process - but I did not need to do this with previous Kernelchanges. And if I flash this Kernel via Recovery I did wipe cache/dalvik but WIFI still didn't work.
[Galaxy S Plus I9001 Android Development] ktulu84:
are you sure permissions are ok? they are different in the 2 screenshot.... only one can be correct if they are different...