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

v7.7

- Improved codes related to cpu and cpu stats

- Improved performance & stability

- Added script for some default values in TW ver

- Disabled debugging

- Disabled many unnecessary options and configs

Long time no update :D Enjoy!

EDIT: Please redownload if you downloaded v7.7 AIO, CM or RR. I uploaded the wrong files so they won't boot if you installed them. I mean if u installed and it boots then you are good, else redownload.
[Galaxy S 4 i9500 Android Development] andreluizbarbieri:
All can just checksum your files. I had download right version.
[Galaxy S 4 i9500 Android Development] shingz96:
phone app will not working in tw?
[Galaxy S 4 i9500 Android Development] :
it works now, im using it
[Galaxy S 4 i9500 Android Development] Ngadhnjim:
When i restart my phone my synapse setings cant loading unti i pres cross 'x' ,i disable stability check but same ...im on TW rom
[Galaxy S 4 i9500 Android Development] MostaphaHida:
Charging slow in latest version
[Galaxy S 4 i9500 Android Development] andreluizbarbieri:
Charging is 1800 mA then it should charge fast!
[Galaxy S 4 i9500 Android Development] MostaphaHida:
It's always showing 1800 even i edit it to 1900 but it is slow...
[Galaxy S 4 i9500 Android Development] andreluizbarbieri:
Change your cable to an 2A cable. My original s4 cable has problem then I changed to new cable and fast charge go back.
[Galaxy S 4 i9500 Android Development] MostaphaHida:
I already have a new cable and it's fast charging cable.. it's something related to kernel i have just changed kernel and charging is fine
[Galaxy S 4 i9500 Android Development] :
Update!

hm i will check that out tomorrow, cuz some ppl has problems with charging and some dont

anyway here is the changelog for v7.8 :D

v7.8

- Increased performance on ondemand

- Improved I/O and memory performance

- Improved network

- Re-added Doze in CM/RR versions

- Reduce swappiness

- Some more fixes and optimizations to source

p/s: forgot to edit the version number so it will show v7.7 but its actually v7.8 :D
[Galaxy S 4 i9500 Android Development] Ngadhnjim:
did you fix apply changes on boot ,cause i disable stability check and do changes via synapse and when i restart phone need to pres ''x'' to apply my changes ...everyrestart need to pres

TW kernel show no uci

its voltaqe stock only 3 governors have and kernel name is voltaqe
[Galaxy S 4 i9500 Android Development] andreluizbarbieri:
I can't reboot after config synapse because I get black screen in boot. I return to 7.7 (very good version)
[Galaxy S 4 i9500 Android Development] :
so sorry guys i included the wrong boot.img file, its the boot.img stock from ff rom and not nevermore, new v7.8 for tw re-uploaded to AFH folder here

https://www.androidfilehost.com/?fid=312968873555004587

i also had that issue on first boot, when its blackscreen a temporary fix now is hold power button to hard restart and it will work again, only happen on first boot i think
[Galaxy S 4 i9500 Android Development] andreluizbarbieri:
How can we fix microphone? I can't use with google search, and when I try record sound I have a delay (3 seconds) to start microphone.
[Galaxy S 4 i9500 Android Development] Aakrep:
Yes, I as well have that problem.. that is a big CM13 problem.:(
[Galaxy S 4 i9500 Android Development] :
CM13 source related :D not because of kernel
[Galaxy S 4 i9500 Android Development] Aakrep:
Yes bro I know, that is a cm13 problem but I wish though a cure
[Galaxy S 4 i9500 Android Development] :
Small update!

v7.9

- Attempted to improve overall performance

- Improved overall network, wireless and bluetooth codes

- Updated source with some more upstream changes from GearCM source

Just a small update with some commits from GearCM source. Enjoy :D First boot it might show black screen or graphics glitches so just hold power button to restart and it will be ok, just a temporary workaround until I fix it.
[Galaxy S 4 i9500 Android Development] andreluizbarbieri:
Very very hot and with graphic gliche. But I'm using this version.

Edited: I think so that phone was very hot only in boot time (after wipe dalvik/cache) because now it is normal. 7.9 drain fast battery then I return to 7.7.
[Galaxy S 4 i9500 Android Development] :
Update!

v8.0

- Updated source with commits from GearCM to increase compatibility

- Optimized ARM RWSEM algorithm

- Improved network performance

- Improved I/O and memort

- Fixed some memory leaks

- Fixed battery capacity

Source is now updated with many commits from GearCM regarding bug fixes and improvements here and there. Enjoy :D Some graphic glitches on first boot are still there tho but no major issue :)
[Galaxy S 4 i9500 Android Development] Ngadhnjim:
its ok ,i ask if fix startup loading setings via synapse
[Galaxy S 4 i9500 Android Development] :
Hopefully it will work, but im running rrremix now so cant test. I will install tw and test it fully when i have time
[Galaxy S 4 i9500 Android Development] Ngadhnjim:
now i will test this ver. but on ver. before need to press ''x'' at every startup and if i disable stability check
[Galaxy S 4 i9500 Android Development] :
At boot before you press x can you scroll thru synapse and see waht changed, maybe its because the default value that i set by script
[Galaxy S 4 i9500 Android Development] Ngadhnjim:
all setings set by default
[Galaxy S 4 i9500 Android Development] :
but did you wait for synapse to apply it ? it take time you know, it doesnt apply right away after finish boot because toucwiz has many services so if after boot u open synapse right away its not gonna work, can you reboot then wait for 1 min to see if its applied or not then report back for me? thanks
[Galaxy S 4 i9500 Android Development] Ngadhnjim:
yeah man i try like you say i wait about 5 or more min ,but my setings restored allways by default ,after every restart ...
[Galaxy S 4 i9500 Android Development] :
hm thanks, ill install and test touchwiz today, btw what rom are you using bro?
[Galaxy S 4 i9500 Android Development] Ngadhnjim:
thenks man ,im using firstflight v6
[Galaxy S 4 i9500 Android Development] lamhoang:
I just installed ff v6 to test, synapse works fine for me, i dont need to press x to restore value so i dont know what happen on yours :/ did u follow the dev instructions, on first boot after install u need to press the tick mark to set default values and then adjust valuesafter
[Galaxy S 4 i9500 Android Development] andreluizbarbieri:
[MENTION=5963088]jwchen17[/MENTION] Can I install the firstFlight ROM if I'm using your 11gb pit?
[Galaxy S 4 i9500 Android Development] Ngadhnjim:
:good: because i try to many times...i use synapse and kernel autditor (not same time those installed) and no app. load my settings automaticly but its ok now im out to lwk wich before have same problem ,now workin ok...thenks bro
[Galaxy S 4 i9500 Android Development] :
yes you can :)
[Galaxy S 4 i9500 Android Development] :
v8.1

- Fixed hotplug and re-added

- Used O2 flag for smaller and more stable kernel

- Used some new optimization flags

- Replace busybox with Dorimanx's busybox 1.24.1

- Added scripts to fstrim & stop Google services at boot

- Added new tabs in synapse, sysctl controls

- Removed some default values in init script to avoid reverting values in synapse

CM and RR are untested but should work fine. I don't have any reverting values in synapse for now ( using FirstFlight v6 ), only sometimes the numbers in Kernel Sysctl changes ( can't do anything about that lol ) just press the tick mark to apply them :D Also if you want to use hotplug when screen on then Hotplug CPU UP Load has to be either Balanced or Economy because Normal only hotplugs core during screen off.
[Galaxy S 4 i9500 Android Development] Ngadhnjim:
Thenks man ,im going to try any new for TW

This v. is stable im using on ff rom
[Galaxy S 4 i9500 Android Development] Aakrep:
Gpu setting changes itself and cpu only work on A7 cores with cpu hotplug :confused: BTW I use MBP V5 Tw based rom
[Galaxy S 4 i9500 Android Development] andreluizbarbieri:
[MENTION=5963088]jwchen17[/MENTION] in "using FirstFlight v6" you are really with a version stable, or you are using 7.5 rc + update? I installed the stable + rc + rc update, is it like the version that you are using?
[Galaxy S 4 i9500 Android Development] :
Thats weird hotplug working fine here, no problem with gpu as well, maybe u can try install wanam xposed then in advanced, disable samsumg dvfs to see if it works

Im using ff v6 with my kernel and xposed, no RC
[Galaxy S 4 i9500 Android Development] :
Do you guys have random reboots on latest version? I had like 5 now and its so frustrating. I think hotplug is still bad and I'm going to disable it again next ver for the sake of stability :(
[Galaxy S 4 i9500 Android Development] andreluizbarbieri:
v8.1 in TW is very very stable! I'm using low min freq and economy hotplug without issues. Thanks for it wonderful kernel.
[Galaxy S 4 i9500 Android Development] :
Oh weird actually, i might did something wrong, clean install ff v6 again with kernel and works fine no more reboot :D
[Galaxy S 4 i9500 Android Development] andreluizbarbieri:
In TW the v8.1 reach 150mhz (very low freq) with only one core On and the others off-line, it is beautiful!

In CM or RR some times, with this config, it freeze or reboot but in TW is like a Rock.
[Galaxy S 4 i9500 Android Development] sahin_811:
does not complete the process of copying files from your computer
[Galaxy S 4 i9500 Android Development] MostaphaHida:
Front camera isnt working TW v using FFv6
[Galaxy S 4 i9500 Android Development] krasCGQ:
150 MHz with hotplug is gotta be a joke. To prevent severe UI lags, limit min freq to 250 MHz or greater.
[Galaxy S 4 i9500 Android Development] lamhoang:
I'm still experiencing UI lags even with 350mhz min freq in touchwiz :/

And guys, anyone having the front camera problems also? My front can is broken so I can't check that out myself
[Galaxy S 4 i9500 Android Development] krasCGQ:
Do you use sound mod? If yes, you may need to limit it to a higher value (when I was using Infernus and Volt kernel -I don't know exactly the version- + ViPERAtmos on my i9500 I need to limit it to 350 MHz with normal hotplug settings)
[Galaxy S 4 i9500 Android Development] :
hm i see, and yes im using arise sound system at the moment, planning to do a clean install without sound mods since it caused some random reboots lately only after i installed it
[Galaxy S 4 i9500 Android Development] robsonsilv4:
I am using the latest version cm with the mod arise and have no problem.
[Galaxy S 4 i9500 Android Development] andreluizbarbieri:
You can see in attach... I haven't lags with TW and I using this ROM daily. Battery saving is perfect because of low frequency and hotplug.
[Galaxy S 4 i9500 Android Development] Cirola:
Great kernel! But it has a bug that shows a high percentage of battery. The number corresponds to the voltage. Any idea to fix it? Attach screenshots. Thank you! Sorry for my English.
[Galaxy S 4 i9500 Android Development] krasCGQ:
1. Try to reset your battery stats, do a cache wipe.

2. It's your battery current voltage. It'll show the same if you look at Battery info on KA.
[Galaxy S 4 i9500 Android Development] Cirola:
I did the wipe and battery stats reset, but the error persists :(
[Galaxy S 4 i9500 Android Development] krasCGQ:
Try to reflash kernel.
[Galaxy S 4 i9500 Android Development] Cirola:
Didn't work
[Galaxy S 4 i9500 Android Development] krasCGQ:
Weird. Try to clean flash your ROM, do a setup, and reflash kernel.
[Galaxy S 4 i9500 Android Development] gylee:
It happens to me too. It will be too much at the moment to clean install the ROM.
[Galaxy S 4 i9500 Android Development] :
just went back to rr :/ i confirmed the bug with battery, ill try to fix it today
[Galaxy S 4 i9500 Android Development] :
Small update!

v8.2

- Fixed wrong battery percentage in CM/RR

- Fixed graphics glitches during boot splash

- Reverted many commits for now until I sorted things out

- Restored an older ondemand to works better with hotplug

- Added more controls in VM Sysctl like dirty writeback centisecs, etc.

- Some small changes to BFQ, ROW schedulers
[Galaxy S 4 i9500 Android Development] Ngadhnjim:
Cant wait too install ..

you fixed graphic in bootloader

but 8.1 is more stable than new v,

this 8.2 got problem to load my configuration like before

edited

after 3 time rebot my phone and everything work ok ..thenks man
[Galaxy S 4 i9500 Android Development] polishoak:
This Kernel - works on GT-9505 ?

I look for kernels AOSP 6.0.1 - 9505 :((
[Galaxy S 4 i9500 Android Development] :
You should only look for kernels in the i9505 Android Development forum and not here :D Here is the i9500 Android Development forum, if you flash kernels from this forum you might ended up in boot loops or bricked since i9505 is Snapdragon, i9500 is Exynos
[Galaxy S 4 i9500 Android Development] polishoak:
thx for fast reply :)

i cant find any AOSP 6.0.1 for 9505 ;/

support 9505 is su... :))
[Galaxy S 4 i9500 Android Development] Cirola:
Thanks man! :) works fine for me
[Galaxy S 4 i9500 Android Development] krasCGQ:
OT: JDCTeam's AOSP has it's own custom kernel bundled with the ROM.
[Galaxy S 4 i9500 Android Development] polishoak:
Thx! i check this
[Galaxy S 4 i9500 Android Development] mumuni:
I have some kind of colours at the top of my screen any time is been turn on. Is it a usual thing.
[Galaxy S 4 i9500 Android Development] andreluizbarbieri:
I have the last version and everything was very well until the battery reach ~20% while I was using Google Maps and the phone reboot in infinite boot loop.... I don't understand why a kernel so stable can randomly reboot and no more start...
[Galaxy S 4 i9500 Android Development] :
are u using any mods? xposed?
[Galaxy S 4 i9500 Android Development] andreluizbarbieri:
No mods, ff v6 rc 7.6. I just set some thing in synapse like max freq to 1.2ghz and hotplug economy and touchboost to 800mhz.

Edited

Probably the configs 'cpu hotplug freq' and 'cpu up boost' in CPU Hotplug section interfere negatively to random boot but I can't understand why the boot loop occurs if synapse config apply only after of boot completed.
[Galaxy S 4 i9500 Android Development] igoa:
Clear flash 8.2 + FF v6. Ondemand and many other govenors can't switch even single core to offline in idle conditions. All cores running at selected minimum (250 for me). Then using synapse i switch Hotplug from normal to balaced or economy. Some cores go offline for a short moment and then go online again but they running now an 1200-1400. Switch Hotplug to normal again and select abyssplug as govenor - that setup can switch only Core 1 to offline. Core 0-2-3 running at minimum (250 for me). Any Other options left untouched.
[Galaxy S 4 i9500 Android Development] Aakrep:
TW v8.2 sometimes (usually under the work) has random reboot and cpu is not use up to 600 (1200) mhz with hotplug
[Galaxy S 4 i9500 Android Development] lamhoang:
if u enabled hotplug higher freqs is normal since it need the same amount of processing power, like few cores higher freq or more cores but lower freqs. Also normal is stock hotplug, only hotplug when screen off so if u want on screen hotplug set it to balanced or eco.
[Galaxy S 4 i9500 Android Development] :
yup, and for touchwiz i understand that it is not stable but ill try to improve :D kinda busy lately so cant release any new build :(
[Galaxy S 4 i9500 Android Development] thegoko:
Screen on charging

when I turn screen off it good as normal but when I turn the screen on the current now is zero !!?? normally it has 1400 mA as I setting when charging while screen on, what happen ? :confused:

edit I use nvm 8.2 with ff v.6 and RC 7.6
[Galaxy S 4 i9500 Android Development] andreluizbarbieri:
Did you have some boot loop after random reboot? For me always that I get random reboot result in boot loop...
[Galaxy S 4 i9500 Android Development] :
Update!

v8.3

- Re-added many reverted commits in v8.2

- Added arch power & gentle fair sleepers control in synapse

- Changed some values in ramdisk script

I added many of the commits that I removed in v8.2 except the ones that caused graphics glitches :D so basically kinda similar to v8.1 but fixed graphics glitches during bootsplash. I compiled it a few days ago and it works fine on RRemix so far ( not sure about other versions ) so today I made some small changes to ramdisk to upload :) Enjoy!
[Galaxy S 4 i9500 Android Development] Ngadhnjim:
for what is arch power ?
[Galaxy S 4 i9500 Android Development] :
it will help in improving battery :D
[Galaxy S 4 i9500 Android Development] andreluizbarbieri:
OK. But where is it in synapse?
[Galaxy S 4 i9500 Android Development] :
misc tab i think :)
[Galaxy S 4 i9500 Android Development] Toggie:
I'm find why phone can't wake up with some governor. It's happens, if I enabled agrresive doze at greenify xposed.

And what about support MIUI 8(based at android 6.0)? What version of kernel can flash for this rom?
[Galaxy S 4 i9500 Android Development] Aakrep:
No... I didn't have bootloop after random reboot
[Galaxy S 4 i9500 Android Development] krasCGQ:
Try AIO version.
[Galaxy S 4 i9500 Android Development] :
yup try AIO like kras said :D maybe ill make a miui version later
[Galaxy S 4 i9500 Android Development] ** A - R **:
Even If it Succeed, How will it Entirely Benefit the device ?
[Galaxy S 4 i9500 Android Development] krasCGQ:
It's basically kernel updates.

From what I know from AOSP, devices shipped with Android 4.4.x-5.x.x use 3.10.x kernel. 4.0.x-4.3.x using 3.4.x, and 6.0.x using 3.18.x (except J5 2016 still 3.10.x).

Edited
[Galaxy S 4 i9500 Android Development] ** A - R **:
Whats for Android 7.0 & 7.1 ?

Is it Kernel v4.xx ?

As I see Huge list of Changelogs on every version ?

e.g. Bug Fixes, Performance Improvements etc.

If it is so, Then Why some of the Popular Devs ( [MENTION=947981]Lord Boeffla[/MENTION], [MENTION=4800121]Sultanxda[/MENTION]) do not Upstream with the latest versions ?

I've noticed [MENTION=2199706]Alucard24[/MENTION] giving his Full Potential to this & keeping The Kernels (for 9505) in Sync with the Latest versions from https://kernel.org/
[Galaxy S 4 i9500 Android Development] krasCGQ:
As you know, [MENTION=5963088]jwchen17[/MENTION] also keeps the kernel up-to-date with latest changes from Kernel.org.

For 7.0/7.1, I think Google is only focusing on enhancing the kernel's security.

Another edit, just to simplify my post.
[Galaxy S 4 i9500 Android Development] andip71:
Simple: I avoid upstreaming as it has non-noticeable effect while chances of breaking things are quite high.

I did upstreaming myself for my kernels for 3 years and decided after it - not worth the effort and risk to break functionalities. Not worth to do that for not gaining anything.

This is my very personal opinion of course, but I am convinced of it.

If some real bad error would be in the stock kernel sources, it would have been discovered and fixed by the vendor already.

Andi
[Galaxy S 4 i9500 Android Development] :
Yup so just like lord boeffla said, starting from v7 or something i reverted from the kernel 3.4.112 back to 3.4.5 cuz i think it works better for this device ( also cuz i dont have much time now to deal with all the fixing stuff ). In my changelog i want to experimental things and so not necessarily all are improvements, most of my changes are more about tweaking the default values and improve synapse anyw since its based on volt's kernel so most features are already there
[Galaxy S 4 i9500 Android Development] ** A - R **:
[MENTION=2199706]Alucard24[/MENTION] [MENTION=5464206]AntaresOne[/MENTION] [MENTION=5968293]side[/MENTION]

Please Help Me in Understanding This.

As Our OPT CM13 is Blazing Fast without Any Issues & Upstreamed with 3.4.113 from 3.4.112, Recently.
[Galaxy S 4 i9500 Android Development] andreluizbarbieri:
I have a Dream... That my i9500 can run the Android 7 (with new kernels...)
[Galaxy S 4 i9500 Android Development] krasCGQ:
Don't do it...

Or your wish won't come true :laugh:
[Galaxy S 4 i9500 Android Development] rickyrock:
Hey everyone , just flashed this kernel and everything's smooth but why is the max running freq 1600 MHz even when I set the max freq to 2000 Mhz ? How can I make it run on 2 GHz ? Thanks in advance...
[Galaxy S 4 i9500 Android Development] :
Because I use gear recovery to test so if it best to use the same recovery, if i dont have any problem when install u should not and if there is a problem we will both have it. Other recovery should be fine tho, I recommended gear recovery because it can format data and cache to f2fs :highfive:
[Galaxy S 4 i9500 Android Development] anurag549:
i flashed v2.1 over 2.0 nevermore Kernel and wiped cache and dalvik cache... after flashing sd card stopped working and I got the notification format sd card which didn't fix the sdcard and it was undetectable... back on v2.0 now and after formatting the sd card everything works fine now..
[Galaxy S 4 i9500 Android Development] Toggie:
When I flash kernel with twrp, sometimes alI my sensors didn't work. It's problem I saw also at virus kernel.
[Galaxy S 4 i9500 Android Development] daogiahieu:
I have some backup using twrp.

If i use gear recovery, can i restore them using gear ?
[Galaxy S 4 i9500 Android Development] :
i think you can, you can always go back to twrp if you need too :D
[Galaxy S 4 i9500 Android Development] :
flash the new v2.1 file i just reuploaded couple of hours ago, i put the wrong link to my test build v2.1 that sdcard and network dont work
[Galaxy S 4 i9500 Android Development] anurag549:
Can i flash a new build without wiping cache / dalvik cache?
[Galaxy S 4 i9500 Android Development] :
small changes so it should be fine but just wipe since it will help avoid problems later on, like FCs and stuff
[Galaxy S 4 i9500 Android Development] robsonsilva:
Unofficial version 2.1 with the ramdisk of rr 5.7.0. Enjoy!

Download:

https://drive.google.com/open?id=0BxJNlnOU5y2mVFVyNmRDZXRidzQ
[Galaxy S 4 i9500 Android Development] blaas4875:
you can add fast charger usb? please would be great
[Galaxy S 4 i9500 Android Development] :
I was thinking about creating a RR version since I just install RR too haha, do you mind if I put your link on first post for easy access? credit to you of course
[Galaxy S 4 i9500 Android Development] robsonsilva:
Excuse me. The asad uses the ramdisk the rr because the gearcm gives bootloop. Just used the new ramdisk rr because like your kernel and want to use. Shared for those who want to use until you build a new version or release add support rr so the unofficial name. I do not want credit is your kernel just wanted to help. No need to be rude this is a community where everyone just wants to help. I no created topic or asked for anything.
[Galaxy S 4 i9500 Android Development] :
yes i understand, dont get me wrong tho i didnt mean to be rude, what i mean is that i will link ur post on first post as an unofficial version cuz it is easier for ppl to see ur post and i think ur post is very helpful since i dont have a version for rr yet, i didnt say that because u are asking for anything but to help make it easier for other ppl to see ur post, even im currently using ur unofficial version because i dont have the time to create it yet haha
[Galaxy S 4 i9500 Android Development] :
Small update!

Another small update :laugh: happy flashing!

v2.2

- Use -Ofast build flag

- Tune governor and cpu to fix some lags

- Added support for Resurrection Remix
[Galaxy S 4 i9500 Android Development] kongacute:
bro. cant boot to rr rom. even clean flash with gear recovery
[Galaxy S 4 i9500 Android Development] :
sorry ramdisk problem, fixed please redownload new link in first post
[Galaxy S 4 i9500 Android Development] kongacute:
ok. clean flash again.
[Galaxy S 4 i9500 Android Development] robsonsilva:
No problems and sorry for the confusion. Glad you are using sabermod now I'm a big fan of this toolchain. Now you have the ramdisk the rr. I hope to always support.
[Galaxy S 4 i9500 Android Development] Skrillex2911:
I made a GearCM 12.1 Version using Nevermore zImage. Credits to [MENTION=5963088]jwchen17[/MENTION] for compiling and his good work. I made it because im using CM12.1