yashsingh1/xdaforums huggingface dataset:
[Galaxy S 4 i9500 Android Development] :
Update!

New version 1.8 is out guys :D Enjoy!

Changelogs

v1.8

- Enabled all gpu freqs, default min=177 and max=480

- Increase charge current to 1900, using scripts solution for now while synapse is unavailable

- Disabled l2_hsic wakelock

- Wolfson sound control is pretuned

- Small voltage adjustment for gpu

- Add init.d script for controlling gpu freqs, hotplug and charge current ( details on how to tweak on first post )
[Galaxy S 4 i9500 Android Development] :
Reuploaded v1.8 since I didnt make change to install script so the old zip doesn't install the init.d script, reinstall to get the init.d script guys :D or you guys can just extract the nevermore script in kernel zip and put in /system/etc/init.d and set 0755 permission
[Galaxy S 4 i9500 Android Development] robsonsilva:
Continue with your good work. Your kernel is becoming the best for aosp roms. The synapse does not work on android mm for now because of busybox.
[Galaxy S 4 i9500 Android Development] :
thanks for your kind words :D it cant be best without existing kernels that allow me to learn from them :p i saw synapse support on virus kernel by vishal tho, i havent try the kernel myself but it might be possible somehow
[Galaxy S 4 i9500 Android Development] robsonsilva:
Look wiki synapse it might help: https://github.com/AndreiLux/Synapse/wiki.

It would be nice also add some tweaks to ext4. Even though support f2fs many people still use ext4.
[Galaxy S 4 i9500 Android Development] mash20:
[MENTION=5963088]jwchen17[/MENTION]

In this version too I cant find fiops IO Scheduler

Thanks for update :D

and can you unlock all cpu frequencies ?
[Galaxy S 4 i9500 Android Development] :
Ok ill try unlock them :D and so sorry I forgot again haha, totally forgot :p
[Galaxy S 4 i9500 Android Development] :
yup im already looking at that :D i will also take a look at ext4 tweaks :good:
[Galaxy S 4 i9500 Android Development] mash20:
[MENTION=908881]jwe[/MENTION]chen17

Can you make init.d script for wolfson control ?
[Galaxy S 4 i9500 Android Development] :
ok ill add, the value on the script will be default with the kernel then u can change the number
[Galaxy S 4 i9500 Android Development] ktouy:
Im getting serious lags playing games like PkGo, unplayable.. But beside that, blazing fast the kernel.. Good job [emoji1] [emoji1] [emoji1]

Edit:

Yeah... Lack of info...[emoji19]

GearCM last build

Clean Flash also...

Kernel as is and tweked (same lag both ways)
[Galaxy S 4 i9500 Android Development] :
Ok ill try to play it and see
[Galaxy S 4 i9500 Android Development] andreluizbarbieri:
Other kernel, LWK, also have lags in this game but it haven't synapse UCI support then I will try this Kernel.

-- Tested -- good performance and with battery saving.

[MENTION=5963088]jwchen17[/MENTION] , no Full synapse support? because in every tab show "SLiveLabel has failed" but at least it open (UCI support)!

Sorry. I installed SuperSu (https://download.chainfire.eu/969/SuperSU/) and everything Works Now!
[Galaxy S 4 i9500 Android Development] :
Ok glad to hear its working :D [MENTION=4657154]ktouy[/MENTION] i dont have much lags in pokemon go tho, even tho my max freq is 1.2ghz with gpu 350mhz the game is still playable
[Galaxy S 4 i9500 Android Development] ktouy:
Yeah i dont know i didnt face any lag on LWK but overall i feel that this kernel its smooth...

https://drive.google.com/file/d/0BxJr1xri-uwpQUo3V2toa2tHMzQ/view?usp=drivesdk

There you have a screencast..

Thanks anyway! [emoji1] [emoji1] [emoji1]
[Galaxy S 4 i9500 Android Development] :
Thanks for the info ill try to improve performance next build :D
[Galaxy S 4 i9500 Android Development] andreluizbarbieri:
UnderVolt

[MENTION=5963088]jwchen17[/MENTION] , Can you post a table the with lowest voltages for A7 cluster? I want undervolt and use only A7 because this Game overHeat my phone!

I verified that this table for A7 is stable:

200 MHz -> 900mV (my min freq.)

300 MHz -> 900mV

400 MHz -> 900mV

500 MHz -> 900mV

600 MHz -> 900mV

700 MHz -> 925mV

800 MHz -> 950mV

900 MHz -> 975mV

1000 MHz -> 981.25mV (my max freq.)
[Galaxy S 4 i9500 Android Development] jabia:
I did! It worked great. I see V6.0 is up. Would give it a spin and let you know how it goes.
[Galaxy S 4 i9500 Android Development] :
I do -100mV for all A7 and -75mv for A15 ( a bit extreme lol ), have been using this profile for one year in most kernel, but our phones can be different so u should try -75mv first if its stable then start to decrease more

Gpu also 177, 266, 350 freq are all at 850mv, 480 at 937mv ( took this value from volt battery profile lol, very stable ) and my min gpu is 350 and max is 480
[Galaxy S 4 i9500 Android Development] tosunkaya:
hi, i loved all of your ui. how can i do the theme on gearcm, what xposed modules? please can you share?
[Galaxy S 4 i9500 Android Development] ktouy:
Thanks! Im not using any xposed module...

You can apply theme and icon under Settings>Theme after you install the theme from the prozt dashboard

- Nova Luncher

https://play.google.com/store/apps/details?id=com.teslacoilsw.launcher

- Prozt Teal (w/Arcus)

https://play.google.com/store/apps/details?id=pixkart.cm.proztdashboard

https://play.google.com/store/apps/details?id=pixkart.arcus

- PHIX icon pack

https://play.google.com/store/apps/details?id=com.smophix.phix

- Zooper pro (Made by me)

https://play.google.com/store/apps/details?id=org.zooper.zwpro

And Xperia X Wallpaper

Edit:

Yeah im using xposed N-ify ... [emoji1]
[Galaxy S 4 i9500 Android Development] tosunkaya:
You are the man! Thanks!!!!!! ??
[Galaxy S 4 i9500 Android Development] jabia:
v6.0 looking really good. I'm getting 3h:30m SOT (for the first time in 5 months). Good work jwchen!
[Galaxy S 4 i9500 Android Development] esbatulembek:
Sometime it shows slow charging on the lockscreen despite in ampere state 1600 constantly

It took 2 hours or more to do full charge

I'm on aosp
[Galaxy S 4 i9500 Android Development] :
I think thats the correct charge time of the s4 so dont worry, the lockscreen is not so accurate according to my experience
[Galaxy S 4 i9500 Android Development] :
Small update!

v6.1 - 08092016

- Reduced latency at some places

- Further decreased thermal throttling

- Increased default charging input current

- Optimized memory and I/O performance

- Increased overall performance :)

Enjoy guys :D Some synapse features are coming in next versions ;)
[Galaxy S 4 i9500 Android Development] jabia:
Thanks for the update. V6.0 is so good I'm really tempetd not to update. I will anyways, and let you know my thoughts.

Cheers!
[Galaxy S 4 i9500 Android Development] 34xda34:
Great Job

I like your kernel and waiting synapse features impatiently :good:
[Galaxy S 4 i9500 Android Development] andreluizbarbieri:
But this kernel have synapse support and much features.
[Galaxy S 4 i9500 Android Development] Yeison93:
I have many restarts with this kernel and Ressurrection rom M. Remix

anyone knows that reason be?
[Galaxy S 4 i9500 Android Development] :
What are u using for governors? Ur max and min freq?

Also guys, software crc is disabled by default, this can improve performance but cause data loss and reboot, enable it if u guys want stability over speed
[Galaxy S 4 i9500 Android Development] :
v6.2 - 09092016

- Implemented CortexBrain, Crontab services from [MENTION=5592093]VoLTaqe[/MENTION]

- Added backup & restore feature in synapse, thanks to Volt again

- Added android logging control and save logs feature in misc tab

- Some more minor optimizations
[Galaxy S 4 i9500 Android Development] esbatulembek:
wow backup & restore

this is what i've been looking for :D

definitely the best kernel ever
[Galaxy S 4 i9500 Android Development] andreluizbarbieri:
6.1 is already good. How is the battery saving in 6.2? Early version is very good!
[Galaxy S 4 i9500 Android Development] andreluizbarbieri:
I installed the new kernel but it was hard work with Synapse. Then I did work clearing data of synapse apk and rebooting phone then open it and accept config then reboot again for show "synapse boot sucess" then open it and 'no accept' config for you can reboot without any problem....
[Galaxy S 4 i9500 Android Development] AzizbekN1:
200 mhz 300 , 400 mhz are not working also cortaxbrain & corntab are always offline , logcat not working too
[Galaxy S 4 i9500 Android Development] esbatulembek:
i think is good

you can see my dump. i only lost 2% in 7 hours more or 0.3%/hour with wifi and mobile data on

still trying to get 0.0%/hour though
[Galaxy S 4 i9500 Android Development] esbatulembek:
200 mhz is unused state

300 & 400 are working

so CortexBrain

corntab might be online when needed cmiiw
[Galaxy S 4 i9500 Android Development] :
Mine is working, logs feature work too so i dont know :/ for cortexbrain try disable masterswitch then re-enable it
[Galaxy S 4 i9500 Android Development] esbatulembek:
how about corntab?

mine is offline
[Galaxy S 4 i9500 Android Development] :
are u using gearcm or rremix?
[Galaxy S 4 i9500 Android Development] esbatulembek:
remix
[Galaxy S 4 i9500 Android Development] :
Ill look into it, i also use rremix 5.7.3 and everythings seem to work on my phone
[Galaxy S 4 i9500 Android Development] andreluizbarbieri:
Me too (GearCM). But kernel is Great!
[Galaxy S 4 i9500 Android Development] utvic99:
Nevermind
[Galaxy S 4 i9500 Android Development] :
For people who have problems with crontab & cortexbrain please try and see if manual script execute works

Find and run these scripts then check for online status in synapse

/res/crontab_service/service.sh

/sbin/cortexbrain-tune.sh
[Galaxy S 4 i9500 Android Development] esbatulembek:
is it suppose to be like this?

it didn't work btw
[Galaxy S 4 i9500 Android Development] :
thanks, i think i know why now :D
[Galaxy S 4 i9500 Android Development] :
Update!

v6.3

- Added Doze control in synapse ( experimental )

- Added screen off max freq control in synapse ( experimental )

- Attempted to fix crontab & added a check jobs for crontab

- Added fstrim, optimize database and battery calibration tools in misc tab

- Added control for virtual address randomisation in misc tab

I found some of these nice features on [MENTION=5592093]VoLTaqe[/MENTION] 's kernel on my S7E so I decided to bring it to our S4 :D credits to Volt for his scripts again. To check crontab is working or not just let the phone run for a day or so and then use the check jobs button, if there is data then it is working. Enjoy guys!

Edit: If cortex is offline, disable and enable it again. Fstrim and optimize database are not working as well
[Galaxy S 4 i9500 Android Development] andreluizbarbieri:
For me (GearCM + philz touch recovery) the versions 6.2 and 6.3 boot in black screen. Then I was using the 6.1 because is very good kernel. But I want know the why...
[Galaxy S 4 i9500 Android Development] zozoz13:
PhilzTouch is outdated. It doesn't fully support MM ROMs & kernels.

Update to GearRecovery that have better compatibility.

Sent from my Galaxy S4
[Galaxy S 4 i9500 Android Development] andreluizbarbieri:
I try again with GearRecovery and I get synapse boot sucess but again one black screen (only force restart work) ! But now I think that after some boots everything go back work. Then the problem was the recovery...
[Galaxy S 4 i9500 Android Development] braulio_holtz:
Fsstrim and optimize database not working
[Galaxy S 4 i9500 Android Development] :
Known bugs, I edited my update post :D
[Galaxy S 4 i9500 Android Development] jabia:
V6.2 worked superb. I get 3 - 4 hours SOT.

NOTE:

My location is always set to battery saving mode

I do not use google now

I do not use social media apps (except facebook messenger & whatsapp), I use the websites instead when needed

I undervolt my CPU by 75mA, and my GPU by 50mA

GPU clock 177/532MHz (min/max), CPU 350/1400MHz (min/max)

I do not play games with my device
[Galaxy S 4 i9500 Android Development] andreluizbarbieri:
This kernel is really Great! The version 6.3 save more battery that the early version.
[Galaxy S 4 i9500 Android Development] Aakrep:
I use to v6.3 but it uses to battery so much...
[Galaxy S 4 i9500 Android Development] esbatulembek:
i show you mine

i don't think this picture reliable though in term judging your battery

=========

okay here's a feedback

after all day crontab still not working, no data showed up

neither backup/restore

when i restarted synapse, i encountered these issue as you can see at screenshots

Other than that everything working so far
[Galaxy S 4 i9500 Android Development] Aakrep:
I try to flashed v6.2 now... V6.2 has a stabil battery performance but v6.3 using so much battery... After full charge and screen off, v6.3 used to battery %10, from 20 minutes.
[Galaxy S 4 i9500 Android Development] Ngadhnjim:
plz add kernel for tw roms...
[Galaxy S 4 i9500 Android Development] :
I think i'll make version v6.2 the stable version for now whille upcoming versions will be beta since new features in synapse are still experimental, so if you want a daily driver kernel just use v6.2 and if you want to help me :D to provide suggestions/feedbacks then use the later versions that I put up :)

sorry to say but i dont think ill make a version touchwiz for now since i dont have much time to put together a touchwiz version, to make my source now to be compatible with touchwiz will take a lot of time :D ill consider when im free, which is unlikely until next year since I have many works to do this school semester :/
[Galaxy S 4 i9500 Android Development] Ngadhnjim:
ok man thenks and success at school :good:
[Galaxy S 4 i9500 Android Development] :
v6.4 - 14092016

- Improvements to I/O, network and memory

- Tuned tweak value in init script for battery

- Added sd-card governor and governor tunables control

- Removed some unused and not working synapse files

- Hybrid powersuspend as default

Enjoy :D I attempted to fix crontab again but I was running the build for a while now and it doesnt seem to work. Doze is set to auto as default so if you want stock behavior select stock, system tweaks in cortexbrain tab is enable as default also but it might drain battery so if you want more battery life then disable it ( this might be why v6.3 drain battery faster too as it is enabled as default )
[Galaxy S 4 i9500 Android Development] esbatulembek:
wow man when you said soon that literally means soon

i don't expect that :laugh:

downloading btw

edit: adfh under maintenance :silly:
[Galaxy S 4 i9500 Android Development] andreluizbarbieri:
The 6.4 version was the one that work for me. The old version 6.2 and 6.3 was black screen after reboot.
[Galaxy S 4 i9500 Android Development] jabia:
Hi,

What actions do system tweaks execute? I noticed that in V6.2 and 6.3, the CPU rams up (1200GHz) with the screen on and the phone idle (just scrolling through synapse). I recall having similar issues in V6.0, which you resolved by keeping the CPU at lower frequencies (you disabled hotplugging due to the CPU ramping up). Have a look at this, I believe we can get even better battery life.

Cheers
[Galaxy S 4 i9500 Android Development] braulio_holtz:
Someone tried to run Magisk? I installed here but does not work signal the cellular network, appears Mode (-1) Ignore.

I do not know if it would be problem kernel, rom or something wrong I may have done
[Galaxy S 4 i9500 Android Development] :
yes i do noticed that, are you using ondemand? ondemand is not running properly for now, try other governor like darkness :) good battery for me

i dont think this is related to kernel
[Galaxy S 4 i9500 Android Development] andreluizbarbieri:
I return to 6.1 because my phone get black screen with others versions... I installed GearCM recovery and I cleared cache and Dalvik but after some reboots I get black screen. I clear data of synapse but nothing resolve this big problem for me...
[Galaxy S 4 i9500 Android Development] lamhoang:
this is kind of a workaround for that problem, when the phone boot up dont let the screen turn off because it will go to sleep mode, go to synapse and press the tick mark so the value are applied ( for first time boot after install the kernel ), after this you should be able to wake the phone after you turn off the screen later, it works for me so it might worth a try :D
[Galaxy S 4 i9500 Android Development] :
v6.5 - 15092016

- Added back old governors: alucard, conservative, interactive, performance, powersave

- Attempted to fix crontab and backup-restore again

- Attempted to fix freqency stuck at high freq for ondemand

- Some more minor changes in source and synapse scripts

Enjoy! Even though I tried to fix ondemand but it seems like it is still broken, use other governors for now guys :D
[Galaxy S 4 i9500 Android Development] andreluizbarbieri:
6.5 fixed the BS

I think that the 6.5 version fix the problem of black screen in reboot... Thanks!
[Galaxy S 4 i9500 Android Development] asad007:
Hey, you have coding errors in exynos5410 cpufreq file.

you have set invalid values for min/max freqs that's why you are having frequency issues.

Also you can not use 700mhz(A7) with 700mhz(A15) , it will create further problems.

it is not probably just ondemand, but your every governor will cause problems.
[Galaxy S 4 i9500 Android Development] :
i was testing yesterday and this might be why every governors wont go over 1200mhz/a7 600mhz also, much thanks again asad xD
[Galaxy S 4 i9500 Android Development] jabia:
Thanks [MENTION=4296690]asad007[/MENTION]

I noticed all the CPU governors have frequency instabilities. I've had to roll back to V6.1, as it seems not to have the frequency instabilities I've observed from V6.2

Over to you [MENTION=5963088]jwchen17[/MENTION]
[Galaxy S 4 i9500 Android Development] :
v6.6 - 16092016

- Enabled devfreq ondemand

- Added master switch button to control crontab

- Fixed some synapse codes

- Fixed cpu frequencies issues

Thanks [MENTION=4296690]asad007[/MENTION] again for reminding me about the exynos file :D Tell me if crontab is working or not after using the master switch function guys! Enjoy :fingers-crossed:

EDIT: backup & restore are now working I forgot to mention :P
[Galaxy S 4 i9500 Android Development] Aakrep:
[MENTION=5963088]jwchen17[/MENTION]

I wondering, why a7 (little) core voltage on 600 mhz 1187 mV stock voltage but a15 (big) core voltage on 800 mhz 900 mv stock voltage... Little core

spends more energy than big core... Why?
[Galaxy S 4 i9500 Android Development] :
Power = current x volt, current on a15 can be higher ;)
[Galaxy S 4 i9500 Android Development] Aakrep:
Hmmmm, I understand... Thanks bro ;)

BTW. A7 core view 1200 mhz on synapse but view 600 mhz on Kernel Toolkit.
[Galaxy S 4 i9500 Android Development] :
thats how a7 exynos 5410 cores appear in other kernel apps, from a7 in other kernel apps will be a half of the real a7 freq, for example, other kernel apps will also display 350mhz when in synapse, it shows the real freq as 700mhz
[Galaxy S 4 i9500 Android Development] Aakrep:
Thank you very much bro.

So, which now is the right frequency a7 cores? shown in Synapse? 1200 mhz?
[Galaxy S 4 i9500 Android Development] :
What i mean is that the slider for min max freq which show u where the a7 freq is, but the freq display will display like other lernel apps so from 600 down its a7, from 800 up its a15, so 1200mhz in ur case is a15

p/s: sorry if i confuse u im notvery good at explaining ;)
[Galaxy S 4 i9500 Android Development] :
Small update!

v6.7 - 19092016

- Used the same ramdisk for both GearCM & RRemix

- Optimized kernel with new build flags

- Removed Link Time Optimization as it is not proper implemented

- Some more minor changes in source and init scripts

One zip for both GearCM and RRemix now :D Enjoy!
[Galaxy S 4 i9500 Android Development] Aakrep:
No, you explained me just fine bro, thank you ;) :svetius:
[Galaxy S 4 i9500 Android Development] Parthalucky:
Link for 6 7?

M having black screens in 6.6

Clean flashed on GearCM....

Edit: Sorry... Was not able to find it.... It was between some files

Thanks dev
[Galaxy S 4 i9500 Android Development] :
Yeh the new naming is different, ill create a new folder for v7 later
[Galaxy S 4 i9500 Android Development] Vicky_666:
I'm in touchwiz rom guys,can you help me to choice the kernel can download?sorry for my bad english.i' from indonesia.
[Galaxy S 4 i9500 Android Development] Aakrep:
That kernel is not supports stock based touchwiz rom.

That kernel supports CM/AOSP roms from 4.4 to 6.0 and Marshmallow GearCM-based ROM
[Galaxy S 4 i9500 Android Development] todays4:
wifi is auto enable no work correctly. service online wifi is auto in contexbraine but then the screen is on work 3g
[Galaxy S 4 i9500 Android Development] esbatulembek:
am i the only one who encountered random reboot here?

but rare not very often btw
[Galaxy S 4 i9500 Android Development] andreluizbarbieri:
I had problems when I used other recovery but with gearRecovery and right wipes everything works!
[Galaxy S 4 i9500 Android Development] :
I'm gonna release a touchwiz version but I cannot test it, anyone want to test ?
[Galaxy S 4 i9500 Android Development] bhuvan9111:
I'm here when the word touchwiz kernel development word is mentioned.
[Galaxy S 4 i9500 Android Development] :
haha im merging some of voltaqe's file to enable touchwiz support, ill pm you a link to download test build
[Galaxy S 4 i9500 Android Development] bhuvan9111:
I have been refreshing my pm inbox from almost 15mins (????????????)

Why dont you create a telegram group or allo group for your touchwiz kernel development since so many ppl are waiting for some kernel development in tw side.
[Galaxy S 4 i9500 Android Development] :
v6.8 Touchwiz test build

- Merged some parts with voltage's source

- All governors & schedulers from CM ver + some new ones ;)

- Added some more compiling tweaks

https://drive.google.com/open?id=0B4Mn7J1xXUWXR1FfSlhiWUEyRnc

Hope that it will boot lol

I was editing some synapse scripts but then i decide to remove it for this version, ill add back support for synapse when everything works, ill put link here for ppl to test as well
[Galaxy S 4 i9500 Android Development] bhuvan9111:
Downloaded will flash in few mins and inform if it boots and what works and what doesnt.

---------- Post added at 02:17 PM ---------- Previous post was at 02:06 PM ----------

Would you like me to post the status and bugs here or just pm you bro!

Booted just fine ( in fact faster than normal time )

Device stuck after 1 min of usage. Will wait for device to cool down and power on again and inform you.

So far everything was good.

No lags

No fc's.
[Galaxy S 4 i9500 Android Development] :
im fine both ways, i used interactive as default governor, maybe try changing other governors, anyw glad that it boot now :D i might go back to tw lol since i cant contact my fam with voip apps :silly:
[Galaxy S 4 i9500 Android Development] bhuvan9111:
Awesome AF, the kernel seems to be stable until i change the clock speed to 1.7ghz and lionhead then it froze. Let me test all of them. Never seen so many governors on a tw kernel so far.

For all who are unable to boot and stuck at galaxy s4 boot logo just take out your battery and wait till the device cools down and inset that again.

Other than that kernel is pretty stable until you try to tweak.

Lets make already great touchwiz even more great.
[Galaxy S 4 i9500 Android Development] nikulbhatiya:
Wow looks awesome!!!

TOUCHWIZ PLEASE :(

- Sent from my friend's JIO 4G :D
[Galaxy S 4 i9500 Android Development] andreluizbarbieri:
6.8 version no boot. I returno to 6.7
[Galaxy S 4 i9500 Android Development] krasCGQ:
Why don't you test it?

6.8 is for TW ROMs. -right now-