yashsingh1/xdaforums huggingface dataset:
[Galaxy S 5 Original Android Development] brees75:
Awesome! I can give you the latest boot.img from T-Mobile which is NF6 if that will help.

Everything sounds great, when you say fsync do you mean THE -fsync disable that skips cache flushing and speeds up the bandwidth so much? That is most welcome. But if you are talking about the HTC async-fsync another kernel used it but it didn't make any difference shi if you could add the fsync module that would be excellent!

---------- Post added at 01:15 PM ---------- Previous post was at 01:08 PM ----------

Here is the NF6 boot.img from T-Mobile

https://www.dropbox.com/s/y5myjbldcvlw6a9/NF6-img.zip
[Galaxy S 5 Original Android Development] PacketJ:
Hello, I would like to say thanks for this wonderful kernel. It is truly noticeable, the speed and performance boost. I would like to ask, is the fast charge for AC only? USB charging seems to be running in 450. Thanks.
[Galaxy S 5 Original Android Development] friedrich420:
Thank you :)

Yes...

However, im gonna release a version (hopefully... i need testers) that has kt's fast charge which includes usb fast charge :thumbup:
[Galaxy S 5 Original Android Development] brees75:
Sorry dude I would love to test it but I don't have any time this weekend to be messing with it in case it doesn't boot. On call and need to take pics at my kids games.

Any volunteers to test the kernel?
[Galaxy S 5 Original Android Development] friedrich420:
S5 AEL KERNEL UPDATE v2 July 11th 2014

deleted...
[Galaxy S 5 Original Android Development] TomJordens:
Bootloop at s5 screen
[Galaxy S 5 Original Android Development] xda23:
Who all is experiencing bootloop after flashing this kernel. Thanks:)
[Galaxy S 5 Original Android Development] friedrich420:
oh no!! really?? :(

ill take down the link..

i had a couple of reports of everything working fine..

crap! sorry!!

damn i think ill give up on this project.. its impossible without the phone and stuff like this happen..
[Galaxy S 5 Original Android Development] velosa:
I also have many bootloops.
[Galaxy S 5 Original Android Development] Chaitanyapatel8880:
Please don't give up... i can volunteer to provide logs... i am ready to be a tester. Your work is great... thanks...

Capt. Chaitanya Patel

If my post helped you than please click on THANKS button, it might be a little for you but VERY BIG for me... :angel:

My Contribution to XDA:

[GUIDE] [MAJOR UPDATE:5-JUL-14] Extreme Batterylife thread ADVANCE SETUP GUIDE
[Galaxy S 5 Original Android Development] Ave666:
Anyone here willing to open donation because it's for our community development itself. Tq. Donation is for developer to buy the device and to spend time to develop on it
[Galaxy S 5 Original Android Development] FileFixer:
I have a same situation. Many bootloops without system up.:crying:
[Galaxy S 5 Original Android Development] Danthemanz:
Please dont give up on this Kernel!

Even if this is the last build, im happy to test anything that is required and im sure there are others willing as well!
[Galaxy S 5 Original Android Development] Chaitanyapatel8880:
First: The one who asked for donation is NOT THE OP. So you cant just ask to close the thread. And check the background of the DEV before you post like this... Look at his profile and yours...

Second: If you dont like than avoid visiting this thread. Mods are always watching. They will close it automatically if there are any violations... :)
[Galaxy S 5 Original Android Development] ronnie498:
Mod Edit

Thread Closed

ronnie498

Forum Moderator
[Galaxy S 5 Original Android Development] friedrich420:
THANK YOU!!!! :good::good::good:
[Galaxy S 5 Original Android Development] Wuby986:
Hey there.. i just want to share with you what seems to me a great battery life compared to s4, not even to mention s3.. :D

Actually i didn' t used that much in past holidays but anyway is impressive!
[Galaxy S 5 Original Android Development] 92drls:
Flashed this yesterday, works great only thing that was weird is it deleted my S-Health progress since the beginning and S-Notes. Not a big deal, titanium backup fixed it back up but just thought I'd mention it.
[Galaxy S 5 Original Android Development] brees75:
friedrich420- Great job on the kernel, I can vouch for it working on T-Mobile as well. Smartmax and Sio running real nice so far.
[Galaxy S 5 Original Android Development] kedai:
deleted
[Galaxy S 5 Original Android Development] bjc112:
Min and Max frequencies don't stick in trickster mod.
[Galaxy S 5 Original Android Development] bjc112:
CPU usage not really dropping below 20%, once you iron out some kinks this thing will last forever when it idles at 0-3%...

Great job OP.

Working well on Tmo

---------- Post added at 11:18 AM ---------- Previous post was at 11:08 AM ----------

I'll have battery stats later, and I know that benchmarks don't matter, but everything is on the up and up with scores...

OP - one request.. Double tap to Wake?!?! ✌
[Galaxy S 5 Original Android Development] brees75:
The monitor could be the reason why your cpu isn't idling. My phone spends 30% in the lowest step (300 Mhz).
[Galaxy S 5 Original Android Development] bjc112:
Monitor... meaning trickster mod? I have used numerous phones and kernels with trickster mod never having a problem getting to 0-3% on the regular!!

I fully recognize this kernel is in the alpha stages..

Cant wait to see what is to come OP. Thanks again.
[Galaxy S 5 Original Android Development] Hellscythe:
Are the wifi drivers/modules the same as stock kernel?

because on xperia z custom kernels they are different and wifi frequently drops out and cannot be found again.
[Galaxy S 5 Original Android Development] Wuby986:
There are no modules.. it' s all in the kernel as in the stock one ;)

And no problem for wifi
[Galaxy S 5 Original Android Development] Hellscythe:
thanks, because i thought that qualcomm didnt like releasing their wifi sources and stuff so yeah haha
[Galaxy S 5 Original Android Development] GSeeker:
This kernel solved my battery drain issue!

Now percentages of draining of Android OS and Android System are much lower.:highfive:

Thanks!
[Galaxy S 5 Original Android Development] brees75:
I wouldn't know i do things the old fashioned way, with init.d and scripts. Alpha or no - nothing wrong with the kernel, i am getting better performance and battery life compared to stock kernel. I am still on stock firmware as well, that with no low level apps thrown in the mix makes my assessment more realistic.
[Galaxy S 5 Original Android Development] Offica:
Flashed on stock semi-debloated SM-G900I (working fine sofar) set min freq to 300 mhz and cpu is at 1.7. ghz. Using lionheart + zen doing a full charge and seeing what the battery difference is like.

Looking forward to seeing some updates, Haven't really used other kernels than siyah back on the old S3 never went else where - Maybe a simple aroma zip with the kernel and configure the kernel threw there without having to use the other apps, making an app would just take longer. and maybe some other battery tweaks and stuff like usb charge min/max would make it an awesome kernel (I'll report back my battery status compared to stock from full charge)
[Galaxy S 5 Original Android Development] hudjw1:
Whats the best governor + scheduler to choose for better battery life ? (Except powersave)
[Galaxy S 5 Original Android Development] Offica:
5 hours 15 minutes on battery with the previous settings posted (full charge) and 48% of battery drained with 1 app running (barely any battery usage) Back to stock kernel on the SM-G900I for now battery life is better for me anyways. Will test again when a newer version is out
[Galaxy S 5 Original Android Development] edgarf28:
Still can't get init.d support working... :(

Also the 'Universal init.d' app from the Play store does say: Kernel doesn't support init.d
[Galaxy S 5 Original Android Development] brees75:
[rant] It works just fine. Edit system/bin/sysinit and install_recovery.sh and it will work. Google is your friend. I got it working on the stock kernel. Everything I know I learned by reading and doing things myself. This generation expects everything to be served to them on a silver platter and it is quite infuriating. [/end_rant]
[Galaxy S 5 Original Android Development] Offica:
Pimp my rom from playstore init.d support works fine on S5 :)
[Galaxy S 5 Original Android Development] friedrich420:
Despite your "rant" you still gave help ? Thank you sir for all your help!! :thumbup:
[Galaxy S 5 Original Android Development] brees75:
I gave him enough info to google or search the forums, which is more than I had.
[Galaxy S 5 Original Android Development] friedrich420:
Right on!! Same here :)

There's no substitute to learning by researching and not by people just offering you the "solution"... That's the only way you can gain a real comprehension of what you are doing instead of just mechanically doing something... And the great thing is that no matter what you search, you find answers!!

There's only one thing i have found unfortunately very little if not nothing by trying to research it... Tweaking the cpu for O/C and U/C... There is one "guide" on xda-university but its not good im sorry... The only way for me to grab an understanding on how to begin to do it, was to spend endless hours and hours of studying other people's code on github... The resulting headache from doing that means one of two things probably ;) Either i kill my braincells at a much higher rate than usual or im creating new synapses between my brain-cells ;)

Sorry for the kind of meaningless OT...
[Galaxy S 5 Original Android Development] edgarf28:
I've already searched on Google before I did my previous post.

And I already did edit Sysinit, install-recovery.sh etc.

But it's still not working.

When I flash the Omega kernel (from the Omega rom, without using this rom) then init.d works right away... :confused:
[Galaxy S 5 Original Android Development] Offica:
Maybe because THE ROM has init.d support where as a stock rom will not. You got given simple advice, if you cant do that download pimp my rom from the play store simply click "enable init.d support" DONE. how hard is that haha
[Galaxy S 5 Original Android Development] edgarf28:
To be clear: I'm using exactly the same rom and sysinit & install_recovery.sh files etc.

When I flash this AEL boot.img i've NO init.d support, and when I flash Omega's boot.img (again; on the same rom and settings) I have init.d support.
[Galaxy S 5 Original Android Development] stopeject:
Thanks for your work. Does your kernel support ExFAT for 64GB SD cards? Do you have plans to add the "Fast Charge" functionality to force the AC charging mode?
[Galaxy S 5 Original Android Development] Wuby986:
Yes i have my sd hc 64 gb formatted in exfat instead of ntfs because recovery wasn't able to see it.. and it works as is supposed to :)
[Galaxy S 5 Original Android Development] brees75:
The stock ROM will support init.d but you need to edit usf_post_boot.sh instead. :p

---------- Post added at 08:04 PM ---------- Previous post was at 07:51 PM ----------

You need to use this in sysinit:

export PATH=/sbin:/system/sbin:/system/bin:/system/xbin
/system/xbin/busybox run-parts /system/etc/init.d

The logwrapper one is wrong.

You need to add the line at the end of install_recovery and leave a blank line below it to load. Permissions and ownership need to be correct on everything as well. All init.d files need to have 0755 permissions and ownership 0,2000. You also need complete busybox which needs to be installed correctly.
[Galaxy S 5 Original Android Development] Offica:
Of course you can enable on stock rom, But i was just saying the rom he was using before had it enabled by default.
[Galaxy S 5 Original Android Development] dustintinsley:
So, what settings is everyone using that is resting in good battery usage?
[Galaxy S 5 Original Android Development] Offica:
I was on SM-G900I set min freq to 300 mhz and cpu is at 1.7. ghz. Using lionheart + zen and even still then battery drain was 50% more for me had to charge twice a day so back on stock kernel for now, But others have good battery life on other models
[Galaxy S 5 Original Android Development] dustintinsley:
Were you using initd to set everything up or what?
[Galaxy S 5 Original Android Development] brees75:
Here is my experience thus far with Governors.

Dancedance should be avoided unless you know how to tune it. Out of the box it sticks at Max frequency and doesn't budge.

Lionheart seems to be the the best performing at the expense of battery but I still got a full day out of it with average use. (Average for me means a few pics, short gaming sessions, couple benchmarks, couple phone calls, and texts every half hour or so. GPS, WiFi, everything on.)

Best balance of performance and battery would have to be Smartmax, works good with Sio, Row, and Noop. I stick to these schedulers because they perform well without excessive battery drain and they are easy to tune.

Haven't played with governor tunables yet they have been on default settings.

If you like to play it safe interactive is always a good fallback for stability, battery and good performance. Although stability hasn't been an issue at all. This kernel already feels like a solid release. I greatly look forward to updates.
[Galaxy S 5 Original Android Development] dandroid13:
This also works fine on G900M! ;)

Enviado do meu Galaxy S5
[Galaxy S 5 Original Android Development] dustintinsley:
Are you using init.d to set all parameters?
[Galaxy S 5 Original Android Development] brees75:
Yes for example:

echo "smartmax" > /sys/devices/system/cpu/cpu0/cpufreq/scaling_governor

echo "sio" > /sys/block/mmcblk0/queue/scheduler

These tunables give ROW a nice boost:

echo 90 > /sys/block/mmcblk0/queue/iosched/hp_read_quantum
echo 75 > /sys/block/mmcblk0/queue/iosched/rp_read_quantum
echo 12 > /sys/block/mmcblk0/queue/iosched/hp_swrite_quantum
echo 7 > /sys/block/mmcblk0/queue/iosched/rp_swrite_quantum
echo 7 > /sys/block/mmcblk0/queue/iosched/rp_write_quantum
echo 1 > /sys/block/mmcblk0/queue/iosched/lp_read_quantum
echo 1 > /sys/block/mmcblk0/queue/iosched/lp_swrite_quantum
echo 1 > /sys/block/mmcblk0/queue/iosched/read_idle
echo 25 > /sys/block/mmcblk0/queue/iosched/read_idle_freq
echo 1 > /sys/block/mmcblk0/queue/iosched/rd_idle_data
echo 25 > /sys/block/mmcblk0/queue/iosched/rd_idle_data_freq

Once I test and adjust my Android Aggression scripts for the S5 I will share them.
[Galaxy S 5 Original Android Development] dustintinsley:
Awesome. Thanks! I have never use init.d scripts so I need to do some research.
[Galaxy S 5 Original Android Development] charlypaez:
Hi friends, is possible do OC in this kernel? Thanks! :)

S5 G900-T for Tapatalk Pro!
[Galaxy S 5 Original Android Development] puremind:
Does the Kernel enable the Trickster Gamma control?
[Galaxy S 5 Original Android Development] stopeject:
64GB SD cards are exFAT formatted from the factory. First generations of custom kernels only supported FAT32. Formatting 64GB card to FAT32 didn't work well, and the card died soon. I killed two cards this way. The latest kernel I had on SGS3 had both fast charge and exFAT support. That was the reason for my question.
[Galaxy S 5 Original Android Development] carbonize:
Wonder if something like Boeffla sound could be included on S5 kernels? I'm guessing no but here's hoping. I love my S5 but the headset volume is low and in serious need of tweaking.
[Galaxy S 5 Original Android Development] carbonize:
I'm using no frills and can't get the min speed below 1.19. Is this normal?
[Galaxy S 5 Original Android Development] tvhak:
if you slide it to 300 it wil be on 300. only the cpu apps don't show it right why that is i don.t know.

slide it to 300. put down your phone wait a couple of minutes and look again it wil be on 300.

cpuspy will show 300 and above as used
[Galaxy S 5 Original Android Development] carbonize:
Yeah it says 300 in the toast after reboot. Silly thing.
[Galaxy S 5 Original Android Development] CanadianKB:
diYing for fast charge

Any chance somebody could make a kernel that supports fast charge. I'm dieing with 1A charge max wall and .4th USB. Thanks.

BTW I think thwrestling a premix patcher in existence but I don't know how to compile kernels. Might just have to learn tho lol seriously dieng.
[Galaxy S 5 Original Android Development] brees75:
friedrich420

This is a great kernel, especially considering it is in its first ideation. Any chance of seeing more governor options like BoostedAss or SmartAss?
[Galaxy S 5 Original Android Development] charlypaez:
InteractiveX is a great option too!
[Galaxy S 5 Original Android Development] SandeepEmekar:
[MENTION=4401403]friedrich420[/MENTION]:

Today, I have tried to build kernel for G900H Exynos.

But the phone never went beyond "Samsung Galaxy S5 Powered by Android" boot logo.

Please provide a comprehensive guide to build the custom kernel for S5.
[Galaxy S 5 Original Android Development] Reidicus:
I'm looking for someone to make a kernel for G900W8 (Canadian Version) which is exactly like stock but without knox and in permissive mode rather than in enforcing mode.

THANKS!
[Galaxy S 5 Original Android Development] friedrich420:
Its not that simple...

Sounds like an ad ;) I wish it was a real ad actually ;)
[Galaxy S 5 Original Android Development] SandeepEmekar:
LOL :D :D

(For ad like reply) :P

It is not that simple then could you please spare some time on building kernel for "H" users?

That would be really good! :)
[Galaxy S 5 Original Android Development] friedrich420:
Im gonna give it a shot this weekend for both the H and W models... I need the stock boot.img for those 2 models though... ideally in a flashable zip form if it exists...
[Galaxy S 5 Original Android Development] SandeepEmekar:
I am going to PM you the "Boot.img" image right now. :D

---------- Post added at 02:42 PM ---------- Previous post was at 02:13 PM ----------

I just sent you the boot.img for "H".

You got it?
[Galaxy S 5 Original Android Development] friedrich420:
Yeah I got it my man
[Galaxy S 5 Original Android Development] friedrich420:
Compiling the G900H Kernel :)

Lets hope it compiles without errors first and then we see ;)

We will know in approx 1 hour ;)

About the G900W8 Kernel.... Im getting light speeds of 5 kb/s at opensource.samsung.com :( :(
[Galaxy S 5 Original Android Development] Wuby986:
hey!?!?! who' s gonna test?? me noo for sure :P loool
[Galaxy S 5 Original Android Development] friedrich420:
hahahaha :D

No i hope not!!! haha :)

We had a couple of requests ;)

I guess the people who requested them will be the ones testing them..

hey u think the block path for boot.img should be the same? "/dev/block/platform/msm_sdcc.1/by-name/boot" ?

nope... i should prob use "/dev/block/mmcblk0p9" but we prob need a G900H specific update binary?

EDIT: The boot.img for G900H is ready but im not sure if i have the correct zip...
[Galaxy S 5 Original Android Development] SandeepEmekar:
I'm ready to test.
[Galaxy S 5 Original Android Development] friedrich420:
WIll you be ok with just the boot.img my man? Bc im not sure if i have the correct updater-script and updater-binary for a flashable zip..

EDIT: here's boot.img for G900H: https://mega.co.nz/#!LsYCnaAZ!0ZQupEw3kohH1zd7oqSmEb1Q88kM1YUaOeLTcFIioao

Only 2 additional governors enabled (ondemand and governor) and permissive and init.d support (all that hoping it boots ok). Its way different... The G900W8 is much much more similar to the G900F...
[Galaxy S 5 Original Android Development] Fizwiz:
Im running this kernel on my W8 without issues..
[Galaxy S 5 Original Android Development] Reidicus:
So everything works fine? Any improvements? Or glitches?
[Galaxy S 5 Original Android Development] Fizwiz:
Using intellidemand governor with Row at 384 is more smooth.
[Galaxy S 5 Original Android Development] SandeepEmekar:
[MENTION=4401403]friedrich420[/MENTION]

Exynos booted up smoothly.

Used it for an hour and still good.

Please try to implement Wolfson Audio if possible. :D

You will bring life to my music player. :)
[Galaxy S 5 Original Android Development] carbonize:
Have a look at Viper Audio for now.
[Galaxy S 5 Original Android Development] SandeepEmekar:
Thanks for the suggestion.

But I don't like it.

I use PowerAmp + Wolfson Audio by Andreilux on my Note 2.

I have already boosted enough sound on my S5 but I am missing Wolfson Audio.
[Galaxy S 5 Original Android Development] friedrich420:
Thats good news!!

Im having a bit of trouble trying Adreilux's wolfson though...
[Galaxy S 5 Original Android Development] SandeepEmekar:
Yep,

Could we bring [MENTION=4167023]AndreiLux[/MENTION] attention here for little help to implement it?
[Galaxy S 5 Original Android Development] friedrich420:
I would hate to bother him my man... He is so busy with all his creations...

Did you try doing it?

Can you send me the necessary files? MY problem was not finding the 1st file in Andreilux's commit... Plus i would hate to show to a REAL kernel DEVELOPER my ignorance and amateurism ;)
[Galaxy S 5 Original Android Development] skivnit:
Where do you see the kernel going [MENTION=4401403]friedrich420[/MENTION]? Can we expect mdni and audio settings?
[Galaxy S 5 Original Android Development] AndreiLux:
https://github.com/AndreiLux/Perseu...57c49acfb6/sound/soc/codecs/arizona-control.c

Should be all. Just follow the historic.

The first commit needs adaptation, the init method needs to be inserted into the wm5110.c probe instead of wm5102.c

https://github.com/AndreiLux/Perseu...c3#diff-a6f84c15c77cd8a76a19195ad12ab34aL1596

As I've already said, the controls *should* work, but it depends on the default ALSA mixer paths of the phone. Enabling the debug at the top of the controls will give read access to the mixer registers through sysfs.
[Galaxy S 5 Original Android Development] friedrich420:
Here goes nothing my man ;) https://mega.co.nz/#!a9Z3lIbL!9W5BtimAbh6gGdWYw-Kwx2_68lLEJ9MYJTLOONHacR8

:fingers-crossed::fingers-crossed:

I cant thank you enough!!! :)

Now if only i could understand how to implement your synapse app on my s4 kernel i would be so happy ;)

Thank you!!
[Galaxy S 5 Original Android Development] SandeepEmekar:
:(

I can't seem to control audio settings through STweaks not Boeffla.
[Galaxy S 5 Original Android Development] AndreiLux:
Well DUH. The controls won't magically appear in the apps.

You have to use them manually in /sys/class/misc/wolfson_control
[Galaxy S 5 Original Android Development] SandeepEmekar:
LOL

I couldn't locate directory wolfson_control in misc. :(
[Galaxy S 5 Original Android Development] friedrich420:
I prob screwed up something...

The thing is there was no wm5110.c file.... so i applied the changes to the wm5102.c file...

Everything else was pretty straightforward....
[Galaxy S 5 Original Android Development] SandeepEmekar:
I also did not feel a bit change in music player.

I hope [MENTION=4167023]AndreiLux[/MENTION] will reply to help out.
[Galaxy S 5 Original Android Development] AndreiLux:
Use the florida driver, insert the init here https://github.com/AndreiLux/UNIVERSAL5422/blob/exynos5422/sound/soc/codecs/florida.c#L2025

Anyway, the rest is up to you, I can't help debugging as a third-person.
[Galaxy S 5 Original Android Development] friedrich420:
Thank you again! I understand completely.. Thank you again :)
[Galaxy S 5 Original Android Development] SandeepEmekar:
I'm out of 8 Thanks! :D

Thank you both Dev's. :)
[Galaxy S 5 Original Android Development] friedrich420:
last one for today my man... who knows?

https://mega.co.nz/#!r15XFIxQ!9KkdaMbwP91k36VvaHxpG3misfO7L260oKpmmkYmRtE
[Galaxy S 5 Original Android Development] SandeepEmekar:
Hurrey!

I can amplify left and right ear phone Volume from /sys/class/misc/wolfson_control.

But couldn't find file to edit Equaliser and other DAC settings.
[Galaxy S 5 Original Android Development] friedrich420:
Yayyy!!

Thats progress i guess ;) ill take a look again tomorrow my man... At least we are getting somewhere all THANKS to AndreiLux!! :good:
[Galaxy S 5 Original Android Development] SandeepEmekar:
Yeah!

Thanks to you both!

Special thanks to AndreiLux.