yashsingh1/xdaforums huggingface dataset:
[Galaxy S6 Edge Original Android Development] mythos234:
So, I've been pretty silent lately.. Sorry for that. Thanks to [MENTION=3505755]strikerdj2011[/MENTION] and [MENTION=4696636]nvict[/MENTION] I should have my very own GS6 Edge as early as tomorrow, if everything goes allright!

Giant thanks guys, I don't know what to say. :)

With that I should be able to get MDNIE fully running soon and also some other improved drivers I've been cooking the past few days. A bunch of neat I/O schedulers will be in the next build as well and I also have some of my own crazy ideas ;)

One of them is my own governor which I still need to give a giant overhaul. It should increase batterylife unless I screw everything up.

And yet again thanks for the amazing support from everyone, it's really what keeps me going! :)
[Galaxy S6 Edge Original Android Development] janjan:
I had some permission error and it was not working. I build another version but still considering as a test build. I am working in new slim build with SimplTeam kernel.
[Galaxy S6 Edge Original Android Development] ksekhar:
Awesome, thanks. Do you think there's a way to put unused cores to sleep as now it seems default is 400mhz for primary and 800mhz for secondary even when there's no load. I'm sure it'll be a massive battery saver when using on light load :)
[Galaxy S6 Edge Original Android Development] xadidas4lifex:
hey send me a message and ill test for the sprint build.
[Galaxy S6 Edge Original Android Development] mythos234:
Hmm, they should that either way, but let me see what can be done, Hotplugging is an interesting thing to work on :)

Hi, thanks a lot! Can you send me a PM with your phone number? I'll add you to our test group on whatsapp :)
[Galaxy S6 Edge Original Android Development] janjan:
I am out right now. The new build is working with FlashFire. Remember to wipe and cache. I will play later tonight with another version.
[Galaxy S6 Edge Original Android Development] TweakerL:
G925T here, 78% Deep Sleep. If it's not working for you, then you probably have apps causing wake locks.
[Galaxy S6 Edge Original Android Development] oranttge:
nice battery life.. thx :)
[Galaxy S6 Edge Original Android Development] mythos234:
Hi, as far as I know the DeepSleep problem should be patched. As suggested in the reply below yours, it might be a different wakelock at work here. At least I'm not aware of any other problems with DS :(

Just getting started, it will be even better ;)
[Galaxy S6 Edge Original Android Development] xadidas4lifex:
Just sent a message.
[Galaxy S6 Edge Original Android Development] TweakerL:
Go to Settings > Privacy and Safety > Location and check if any apps show high GPS usage. When I first rooted my device, for some reason the T-Mobile My Account app decided to start using the GPS all the time. I found out about this using betterbatterystats. If you have that app or don't mind buying it, run it and look for kernel wakelock from the GPSD process. Anyway, if you find that the case is the same, you can either disable the app, or use App Ops to deny the app GPS permission.
[Galaxy S6 Edge Original Android Development] leoaudio13:
Guys, would u mind sharing settings with Synapse that save battery and snappy overall ? Cant seem to get good battery thru-out the day.
[Galaxy S6 Edge Original Android Development] prking07:
I dont have this kernel, running stock but for some reason the securitylog app was causin deepsleep for me not to be at its fullest. Went to tibu and froze it and instantly without even rebooting deepsleep is at max. I can reset timers in cpu spy, turn screen off for 5 min and it will have like %95 deepsleep. So for me securitylog was causing deepsleep not to work %100.
[Galaxy S6 Edge Original Android Development] Galactic2:
Finally got deep sleeping working. Regardless of the gorvernot used mostly stays at1300mhz but seems completely unable to go below 1000mhz. Is this normal?
[Galaxy S6 Edge Original Android Development] Highspeed123:
I had this problem too, not 100% sure what fixed it but I uninstalled Synapse, flashed the kernel again via TWRP instead of Flashify and wiped cache and dalvik cache. After a reboot I noticed it was using the lower frequencies again.
[Galaxy S6 Edge Original Android Development] mythos234:
That is strange indeed, try to reboot. Something might have been causin the governor to stay at high frequencies, might have been a high workload, reboot should usually solve that :)

Seeking help is never wasted time ;)
[Galaxy S6 Edge Original Android Development] Highspeed123:
That was the first thing I tried, I noticed my phone warming up a bit more than usual so checked CPU Spy and Synapse and it confirmed I was stuck at the highest frequencies. I had no processor intensive services or apps running and I'm quite proficient at optimising my phones for good battery life. Not really sure what happened, bad flash?

Thanks for your reply and for this fantastic and early S6 Edge kernel. Although I have been browsing XDA for years I have never posted anything until now lol. Keep up the good work. :)
[Galaxy S6 Edge Original Android Development] silvercat:
Any plans of Enabling Wolfson Audio Support ? :D
[Galaxy S6 Edge Original Android Development] Remen95:
I can add that I have had the same problem. My phone almost never goes below the 1200mhz...it goes from deep sleep to the highest frequencies. I flashed the kernel with TWRP and wiped cache. Im using a T-mobile variant.

Apart from that... The kernel worked perfectly fine. Battery life has been 3-4 hrs SOT with about 9-10 hours usage. I suspect the high frequencies are to blame.
[Galaxy S6 Edge Original Android Development] Remen95:
Same here.. This post made me finally become a commenter on Xda.. And I have gone through a Galaxy S2, Htc One m7, and LG G2...all running multiple custom Roms, and kernels

So :thumbup::thumbup::thumbup::thumbup::thumbup::thumbup::beer::thumbup::thumbup: to the creator!

Sent from my favorite burden, currently a Samsung Galaxy edge.
[Galaxy S6 Edge Original Android Development] Galactic2:
so I ended up uninstalling synapse, restarted, using a different Kernel app. (Kernel Adjuster). I played around with setting and even manually change the Max and Min and that seemed to do it for me.
[Galaxy S6 Edge Original Android Development] skivnit:
So I wanna know how much I can UV is there a table with the CPU bins? Also how to get the ASV?

Sent from my SM-G925F
[Galaxy S6 Edge Original Android Development] mythos234:
Yes, there is a voltage table, is that what you mean?

At this time I haven't built in VoltageControl, because - and I want to be open this time - I was too lazy to do it just know. Once my ordered shiny new Edge arrives in 2-3 days, I'll be able to tell you more.

Messing with Voltages is always a crazy thing to do and I can't recommend future settings before no one tried them yet ;)

Either way, what do you need the asv for? :eek:

Strange, I'll take a look when I have my S6 this week :)
[Galaxy S6 Edge Original Android Development] Remen95:
I couldn't find the kernel adjuster app you used
[Galaxy S6 Edge Original Android Development] skivnit:
Yes I need the voltage table, the asv is to check my bin see how low I can UV

Got the table from Anand now just need to find the path to check for the ASV

Sent from my SM-G925F
[Galaxy S6 Edge Original Android Development] mythos234:
I don't really believe in bad flashes, but something may have been running in background after all, hard to tell.

Yes, I'm working at it already actually.

Did you read my mind? ;)

Enabling the asv readout is possible, but its easier if you just try for yourself when I build it in. Testing is more reliable anyways. And if you don't overblow it, nothing should go permanently wrong. Just gradually go lower should do the trick. But I'll enable the readout anyways when I enable VoltageControl ;)
[Galaxy S6 Edge Original Android Development] skivnit:
[MENTION=6398395]mythos234[/MENTION] can't wait for your next update

Sent from my SM-G925F
[Galaxy S6 Edge Original Android Development] mythos234:
Thanks, me neither :D First build which I will be able to install on an own Edge, thats always extra exciting ;)
[Galaxy S6 Edge Original Android Development] Highspeed123:
I have tested and confirmed that the problem is indeed Synapse related, once you uninstall and reboot the frequencies are back to normal.

I'm now using Kernel Adiutor instead, that was very popular for the Oneplus One and it's a really nice free app! Try it out. Can't change much yet but the dev is obviously just getting started. I'm excited for the next update. :good:
[Galaxy S6 Edge Original Android Development] mythos234:
Okay, so I just took this all apart and found something very interesting. Whats new in the S6 code is, is that it's governors seem to use a Multi Cluster, which is heavily rooted into everything. I've seen the framework for this being there for some time, but here it's really used consequently.

It will take me some time to solve the puzzle completely, but so far I see one problem.. It might be the case that the Synapse script confuses the Cluster values for regular tunable variables and wrongly sets minimal frequencies, since I see very peculiar cluster minimals set. Now, this is a far far shot and a hypothesis at best. I'll need a few days and my Edge to figure out what exactly is causing this issue, but those Cluster prints from Synapse have me worried. And also the fact that they are the only tunable values displayed. :eek:

I can also think of several ways of adressing this, either rewrite the governor to clear out one potential confusion it creates, or analyze it and adapt the Synapse script for it. I'm probably opting for the latter.. Right now I need to sleep over this though and can only advise everyone to temporarily uninstall Synapse until I can eradicate this problem. Maybe I'll post a quick build with the CPU tab disabled tomorrow as well :angel:
[Galaxy S6 Edge Original Android Development] iGordy101:
The kernel is awesome but the TW ram management is bugging me!!!
[Galaxy S6 Edge Original Android Development] mythos234:
Don't worry, unless you actually run out of RAM, it's fine ;) That memory is built to be used, not to be empty anyways, so there is no harm with it. Sure, it could probably be better, but it's still not a problem :) And since you don't run out of RAM, the management is actually quite good :p
[Galaxy S6 Edge Original Android Development] iGordy101:
[MENTION=316530]mythos[/MENTION]

U r probably right but I think that's what causes my apps to reload EVERYTIME I switch apps.. only 5 to 10 sec if I'm not wrong :/
[Galaxy S6 Edge Original Android Development] mythos234:
Indirectly, yes. The high usage may have worried Samsung to the degree that they opted for aggresive management, to prevent depletion. Considering the importance of the S6, they probably didn't want to take any chances. And it was acknowledged and will be adapted by a future update. For the kernel I"ll need to make it myself, since the sources are released far after the official updates..
[Galaxy S6 Edge Original Android Development] skivnit:
When are you getting your edge? [emoji6]

Sent from my SM-G925F
[Galaxy S6 Edge Original Android Development] iGordy101:
[MENTION=316530]mythos[/MENTION]

I see.. but there's no rush Wath so ever :) I'm really liking your kerner! Great job ma man all this looks like magic to me and I witch I could help with the coding stuff but I know nothing lol! :)
[Galaxy S6 Edge Original Android Development] mythos234:
Probably on Wednesday, but I hope for it to arrive even earlier. Ordered it in a vodafone shop on Saturday noon, so my hopes are up high :)
[Galaxy S6 Edge Original Android Development] iGordy101:
[MENTION=316530]mythos[/MENTION]

What model r u getting the "F" ?
[Galaxy S6 Edge Original Android Development] silvercat:
Thats great to know :) thanks.. Reading your mind let me put that to a test.. U will be releasing your next update by tomorrow ;)
[Galaxy S6 Edge Original Android Development] mythos234:
Yes, at least I don't know any other variant our carriers could possibly distribute - They always ship unlocked International variants :o

Well, time is relative ;) Taking earthly time however, tomorrow is rather unlikely. I really want to get Synapse fully running first and for that I will probably need the phone. Same thing goes for ColorControl. And since the current builds are doing just fine, I don't really want to publish half-baked stuff.. But don't worry - I have loads of free time and new toys this week, so the next version probably isn't far away :angel:

I'm also having a bit of a culture shock.

tunables->multi_enter_load = DEFAULT_TARGET_LOAD * num_possible_cpus() / 2;

Thats Samsung code in the interactive governor. Normally, it isn't there. And on Quadcore and less phones it isn't needed, but on Octacore handsets it's actually not a bad idea to have.

It appears that Sammy added the multi_enter_load to replace / work together with the targetload. In short: The lower the targetload on the CPU is, the faster it scales through frequencies. So, if you add the number of available cores and divide by two, you get a higher than actually existing load, which slows scaling. If you look at the math, 1 core actually increases speed, while full 8 cores slow it down a lot.

So basically, the more cores are up, the slower will the frequency be increased. This is actually pretty good thinking there, especially if you have 8 cores. The reason for me blabbering about it is a different one though. At that point we can manipulate the "/ 2" and replace it with different numbers, which will have a hit on performance or batterylife. I can also imagine more settings added for this little feature, to save some more battery without sacrificing too much power ;)

Going to test this one :cool:
[Galaxy S6 Edge Original Android Development] skivnit:
Nice find :) i was actually looking at some governors, do you think the standard interactive one included in most kernels is replicating the behavior of the stock one? Cause my battery is draining a bit faster even though I'm heavily UV and UC with interactive governor

Sent from my SM-G925F
[Galaxy S6 Edge Original Android Development] boostermbkking:
I have g925f with AOCV stock rom, rooted with cf autoroot, twrp recovery 2.8.6.0, and simplkernel 1.2.1, when I switch to upsm the phone will reboot, and when I return to normal mode, the phone go in to bootloops

there are any solution???
[Galaxy S6 Edge Original Android Development] mythos234:
Theres no way to be sure of that, in the Note4 for example the sourcecode differed from the actual governor used for the phone. But since we can't open binaries and check, there is no evidence for manipulation. I will include a Nexus6-Interactive in the next build, which is untouched basically.

And once I got my phone, I'm going to see if I notice a difference. But batterydrain can be related to many other things, and UV doesn't really have such a big impact on it.

Did it start when using my kernel? If yes, how bad is it?

Always? :eek: Can you send me a dmesg and last_kmsg? I have a little suspicion, but I'll let my testers try if they can replicate it. Can you try it on a fully stock rom?

Edit:

My bad, I forgot: Wolfson drivers were implemented a few minutes ago and they seem to work just fine and apparently improve sound quality :)
[Galaxy S6 Edge Original Android Development] boostermbkking:
I can't because the phone goes bootloop, and I have to take wipe and restore the nandroid backup, otherwise would not power on !!!
[Galaxy S6 Edge Original Android Development] mythos234:
Please check this out:

http://xdaforums.com/showthread.php?t=1520508

I really need the logs, if I don't see them, I can't fix anything
[Galaxy S6 Edge Original Android Development] skivnit:
Oh great news on the Wolfson controls hehe I'm eager to flash the next version

Sent from my SM-G925F
[Galaxy S6 Edge Original Android Development] mythos234:
So I had a *genius* idea to get rid of the not-going-below 1Ghz problem, or at least a solution to my hypothesis.. Since it's really not all that useful and needed, I'll just remove the bits that control some tunable values, like the Sampletime. At least until I got around to do proper fixing. At the moment I'm improving the WolfsonControls and also cherry-picked VoltageControl from [MENTION=4325945]ktoonsez[/MENTION], thanks :o

As for OC, for the moment I don't really see any use for it, but if anyone wants to have it, I'll make a power-build with it ;)

Standard build will receive UC, as the minimum of 400mhz is.. Interesting? Weird? You name it.. Prime focus is however MDNIE and Wolfson for the moment. I just think that improved Audio and ColorControl are more useful than higher frequencies for a phone which is already powerful enough. Yep, I was never a huge fan of Overclocking :angel:
[Galaxy S6 Edge Original Android Development] skivnit:
How come the minimum is 400 and not 200?

Sent from my SM-G925F
[Galaxy S6 Edge Original Android Development] mythos234:
I have no idea, but if 200mhz work stable and fine, then thats definately a bonus when compared stock
[Galaxy S6 Edge Original Android Development] skivnit:
I tried on ktoonsez kernel, even when I set min [MENTION=5657303]200[/MENTION] it doesn't go below 400

Fixed, 200 definitely sticks

Sent from my SM-G925F
[Galaxy S6 Edge Original Android Development] mythos234:
That you'll need to discuss with him, I haven't implemented, yet alone tried it. Maybe I can tell you something about it tomorrow, maybe not :( At the moment I'm still looking through his code for UC
[Galaxy S6 Edge Original Android Development] skivnit:
All good it was on my end. Waiting for Wolfson hack and UV/UC CPU /GPU

Sent from my SM-G925F
[Galaxy S6 Edge Original Android Development] ksekhar:
Yes, 200 works and stable :)

But hotplugging doesn't work with Ktoonz kernel either :(

[/QUOTE]
[Galaxy S6 Edge Original Android Development] mythos234:


Please report bugs with KT in his thread, I can hardly help with that ;)
[Galaxy S6 Edge Original Android Development] jarwintee:
is samsung G925L supported?
[Galaxy S6 Edge Original Android Development] mythos234:
Nope, only the variants in the OP are.

I only support a variant if someone tests for me. If you'd like to, please drop me a PM with your number and I'll add you to the testing group ;)
[Galaxy S6 Edge Original Android Development] osmosizzz:
Great job on the implementations! I want to Run the kernel but I'm running the leaked version of 5.1.1 since it fixed the creek issue I was having and battery life is much imporved. Hopefully the code for it goes up soon. Patiently waiting to go back to your kernel. Also, any audio hacks (Wolfson DAC) mods? :D
[Galaxy S6 Edge Original Android Development] rjwdon:
wrong thread, delete post please :)
[Galaxy S6 Edge Original Android Development] shawn718:
Will this work with sm g925p...
[Galaxy S6 Edge Original Android Development] charlypaez:
Check this:

http://xdaforums.com/showthread.php?p=60533999
[Galaxy S6 Edge Original Android Development] mythos234:
Please check the OP, supported versions are listed there
[Galaxy S6 Edge Original Android Development] mythos234:
Implemented Wolfson yesterday and it seems to work fine :D

I doubt that the 5.1.1 code will be up soon though. Usually Samsung only delivers the sourcecode for older versions, but never the code for the currently newest versions :/
[Galaxy S6 Edge Original Android Development] osmosizzz:
awesome sauce! back on 5.0.2 to get back on your kernel! :)
[Galaxy S6 Edge Original Android Development] shawn718:
Well can I be sprint tester...

---------- Post added at 02:08 AM ---------- Previous post was at 02:07 AM ----------

Can I be sprint tester...
[Galaxy S6 Edge Original Android Development] arz:
s-health not working?

i don't know if i missed anything....but with your kernel my s-health starts bugging out....especially the cooffee and water intake log...i shows 0 and when clicked on + nothing happens...maybe you guys already knew and i missed something...

anyway cheers for your work....i will install again once i/ we have a fix for that!
[Galaxy S6 Edge Original Android Development] harfot:
Working well, thank you
[Galaxy S6 Edge Original Android Development] mythos234:
Probably the Permissive kernel that does that. As far as I remember the fix for the problem lies with the Rom or even the app itself
[Galaxy S6 Edge Original Android Development] androidvergen:
I pulled a super noob move and forgot to make a backup before flashing this:eek:. If I were to replace the boot.img from a stock FW for my device would I be ok or should I flash the entire FW:confused:. Thanks.
[Galaxy S6 Edge Original Android Development] silvercat:
Replacing the boot.img should be fine.
[Galaxy S6 Edge Original Android Development] mythos234:
Yep, that should do the job :)
[Galaxy S6 Edge Original Android Development] jaythenut:
[MENTION=6398395]mythos234[/MENTION] look at you recognised developer

congratulations mate:good:
[Galaxy S6 Edge Original Android Development] mythos234:
Thanks :D Now I only hope that my phone arrived too :angel: Next version is coming soon, VoltageControl, UC (OC only in a special power version release), WolfsonDAC, *hopefully* more MDNIE stuff etc.. Latter one only after I can get a look at how this amazing phone works and how the panel color control can be hijacked by me. And I "fixed" Synapse, added an older Interactive governor for those who want to try it. And my own governor will debut soon ;)

And a grand surprise: A Sprint build is coming! Oh, I also experiment with Dynamic Mememory Allocation a little bit - just toggling it on is dull - So, lets use it to benefit something :)

Edit: I dub the next version: "Feature Bombardment"
[Galaxy S6 Edge Original Android Development] skivnit:
I think it would be great the kernel OC and UV according to the phones CPU bin /AVS.

Sent from my SM-G925F
[Galaxy S6 Edge Original Android Development] osmosizzz:
Looking forward to it!! [emoji2]
[Galaxy S6 Edge Original Android Development] mythos234:
Hopefully soon, I'm in disputes with Vodafone.. They accidentally ordered me a second phone while checking the order status :eek:

At least I'm 100% sure that Wolfson works. But until I finally receive this phantom phone, I can't properly port MDNIE. Anyways, voluntaries to test a new P-Build, please PM me your number, and I'll add you to the WhatsApp tester group :)
[Galaxy S6 Edge Original Android Development] skivnit:
Done.

Sent from my SM-G925F
[Galaxy S6 Edge Original Android Development] leoaudio13:
Already PMed you Mythos234
[Galaxy S6 Edge Original Android Development] mythos234:
My reallife got in the way, will add the both of you shortly ;)
[Galaxy S6 Edge Original Android Development] tzitzos:
thx mythos234 for your work.

Have your kernel to my 925F from yerstaday and all is working fine.No issue at all until now.

The only problem is the Knox Warnings.

Like other users here i don't have the app "Security Log" to remove.

Seems that some 925F don't have it.

Can you pls tell how to solve this?

Thx
[Galaxy S6 Edge Original Android Development] mythos234:
Hi, I can't recommend which KnoxServices are safe to remove, because I don't have the phone to test if any of my statements actually works or perhaps even creates some problems. :(

But I should have my Edge within 24 hours, then I'll be able to help you with that. Otherwise there should be many users here who already know the answer :)
[Galaxy S6 Edge Original Android Development] skivnit:
Security log that's what you should freeze

Sent from my SM-G925F
[Galaxy S6 Edge Original Android Development] tzitzos:
thx you mythos234

---------- Post added at 20:16 ---------- Previous post was at 20:15 ----------

as i write before there is no Security log to my phone

thx
[Galaxy S6 Edge Original Android Development] mythos234:
Can you PM me your number? The more testers, the better ;)

Thanks for testing, I'll add the version to the OP :)

Powered by SimplRom and SimplKernel.
[Galaxy S6 Edge Original Android Development] strikerdj2011:
All seems good here deep sleeping like a baby during the night defo be better when we get a fully working twrp need any thing more tested just what's app me :)