yashsingh1/xdaforums huggingface dataset:
[Galaxy S 4 i9500 Original Android Development] sunilpaulmathew:
Thanks for testing... I think, I did some stupid mistakes in the beginning and will be difficult to find out. So, as an alternative, I shall re-base the kernel soon and hopefully it will fix those issue. Btw, just for a clarification, is hotspot working in stock kernel?
[Galaxy S 4 i9500 Original Android Development] Saiful98:
Yeah... working fine...

Just some suggestion

NevermoreX kernel by jwchen already fixed the issue

I said so bc the previous version have the same issue

I don't know maybe share the commit:confused:
[Galaxy S 4 i9500 Original Android Development] sunilpaulmathew:
Thanks for the information. Since the stock kernel doesn't has that bug, I prefer to re-base my kernel (so that we will get a fresh build). Further, I can't find any new commits in the nevermore kernel repo. Probably, jwchen is too lazy to push the commits to online :p

Btw, anyone willing to test my new builds (tomorrow or early next week). If so, plz contact me in telegram (my id: sunilpaulmathew). Thanks in advance...
[Galaxy S 4 i9500 Original Android Development] Erag0n:
Hi, bro.

I tried SmartPack in Mokee, but it stick in bootloop.

Is it can't use Lineage OS source SmartPack?
[Galaxy S 4 i9500 Original Android Development] sunilpaulmathew:
I guess you used a wrong branch (probably cm-14.1? is it?). The correct and up-to-date branch is ja3g (last published build is from ja3g) and aosp (recently re-based branch). If you decided to try again, plz use aosp branch of my source which is located here.

For testing, you may simply replace the boot.img (prefereably zImage) from my latest build to Mokee and flash... and it should boot... :p
[Galaxy S 4 i9500 Original Android Development] Erag0n:
I used your latest lineage os kernel in post?, but can't boot up...

Weired, maybe I need build a kernel when I build a ROM?
[Galaxy S 4 i9500 Original Android Development] krasCGQ:
In addition:

MoKee uses it's own init.<rom-name>.rc same as AICP, so I guess replacing the ramdisk with MoKee's will make the kernel boot on MoKee.
[Galaxy S 4 i9500 Original Android Development] sunilpaulmathew:
Yes, as [MENTION=6589753]krasCGQ[/MENTION] said, the issue will be on ramdisk (That's why I said "preferably zImage" :p ). Btw, I did the job for you. If you flash this "boot.img" over MK, it should boot :) ...
[Galaxy S 4 i9500 Original Android Development] Erag0n:
Oh,thanks.:)

I really like SmartPack because its battery drain and system fluency.

Can I recommend SmartPack in mokee post?
[Galaxy S 4 i9500 Original Android Development] sunilpaulmathew:
Thanks... you can recommend SmartPack on anywhere :) I'll be happy. Btw, if you really like SmartPack, you can even include in your ROM. I even removed my name from the latest re-based source (aosp). So, you can use its as your own ;)
[Galaxy S 4 i9500 Original Android Development] sunilpaulmathew:
New builds...

The source is fully re-based. Hotspot issue is now fixed. A lot of commits from the mainstream Linux is added (check my source for more details). The Linux kernel version is presently 3.4.104 (will be updated to latest).

/* Downloads */

Removed temporarily due to some issues in the code. New builds are coming...

PS: Newly released MoKee (MoKee Open Source Project) ROM by [MENTION=8197963]Erag0n[/MENTION] includes in-built SmartPack kernel... Thanks to its dev...
[Galaxy S 4 i9500 Original Android Development] sunilpaulmathew:
New builds...

All the commits in the mainstream Linux till 3.4.113 (latest for this device) is added. Two separate builds (overclocked/non-overclocked) for both LOS and RR are available. Not tested since I don't have the device anymore. So, waiting for the comments. The links are below... Enjoy...

/* Downloads */

Removed temporarily due to some issues in the code. New builds are coming...
[Galaxy S 4 i9500 Original Android Development] tekpun:
I flashed latest build of this kernel but device can't boot it coming back to recovery without boot
[Galaxy S 4 i9500 Original Android Development] sunilpaulmathew:
Directly going to recovery? Strange? Can you try the previous build released yesterday?
[Galaxy S 4 i9500 Original Android Development] tekpun:
i did try yesterday builld 20170726

I did try previous build and got those issue i have to reflash los latest release just after i post the text sow your new build will try it and report
[Galaxy S 4 i9500 Original Android Development] sunilpaulmathew:
Ok. if you still got the issue, kindly give more details (like which ROM, overclocked or not etc?). Thanks...

Anyone else tried?

Edit: as per [MENTION=8197963]Erag0n[/MENTION], latest SmartPack is fine in his MoKee...

See screenshot...
[Galaxy S 4 i9500 Original Android Development] tekpun:
no luck

Tried today's build still the same result i am in los latest and i tried non overclocked . is it because of philztouch recovery ? Or magisk root ? Or somthing else if every one else is fine with the kernel then may be something wrong with my device
[Galaxy S 4 i9500 Original Android Development] atakan33:
my s4 shows max cpu frequency is 1600 mhz not 2000 .Why ? (on kernel adiutor )
[Galaxy S 4 i9500 Original Android Development] e30power:
All 2 new Kernel 20170727 oc and normal Los dont boot at, go after flash every pack to recovery.

thy
[Galaxy S 4 i9500 Original Android Development] sunilpaulmathew:
May be, but not sure... Ca you try using the latest TWRP? Or send me your stock boot.img with Magisk.... I'll give you back with SmartPack zImage.

So, it booted. Are you on LOS o RR? Anyway, I'm happy to know that it booted :p

Btw, by default, the max freq is still 1600 unless you changed manually. Some users previously reported that issue in KernelAuditor and don't know how they fixed. However, you may try synapse which don't have that issue.

Are you on ja3g + latest build of LOS + latest twrp recovery.

PS: Phone go to recovery mode instead of booting means the flashing was unsuccessful. So, the problem will be either to the recovery or my installer script. Since there are reports about bootloops, I'll check my source and build script again for bugs.
[Galaxy S 4 i9500 Original Android Development] sunilpaulmathew:
Guys... I think I found the issue. I accidentally removed some files from Ramdisk. So, I'm gonna remove these builds for now and upload new builds asap. Sorry for the inconvenience.
[Galaxy S 4 i9500 Original Android Development] sunilpaulmathew:
New builds which hopefully works...

As I said in my previous post, here I'm uploading new builds. Hopefully it will work. Waiting for your comments... Thanks in advance and sorry for the inconvenience...

/* Downloads */

GT-I9500

OC: Overclocked

LOS: Lineage-OS

RR: Resurrection Remix-OS
[Galaxy S 4 i9500 Original Android Development] vahillah:
need to login to AFH
[Galaxy S 4 i9500 Original Android Development] sunilpaulmathew:
Sorry, my mistake... now it is fixed...

https://www.androidfilehost.com/?w=files&flid=202221
[Galaxy S 4 i9500 Original Android Development] Adolo:
Hi, new kernel oc, work good, when young fix theSynapse Problem that it does not save the cpu Frequenz and voltage, and the ui problem, its perfect.

Thy
[Galaxy S 4 i9500 Original Android Development] f.a.tonmoy:
No update for E300 devices??
[Galaxy S 4 i9500 Original Android Development] sunilpaulmathew:
Hi, I will update tomorrow night or saturday morning so that you guys can try with alberto's latest build. Btw, which device (SHV-E300S/K/L)?
[Galaxy S 4 i9500 Original Android Development] f.a.tonmoy:
E300S (SK telecom)
[Galaxy S 4 i9500 Original Android Development] Huezildo:
Working fine, nice job :D

issues

Kernel Adiutor: the only issue is CPU clock not standing at 2,0ghz, it returns to 1,4ghz. And if try to lock min. 1,9ghz to max. 2,0ghz it freezes and reboot system, returning to default configs.

Now testing stability to Synapse last version.
[Galaxy S 4 i9500 Original Android Development] sunilpaulmathew:
New builds for SHV-E300S/K/L...

Any updates after testing Synapse? I hope it will work. However, it will be also annoying since I wasn't able to add profile support :(

[MENTION=7639749]f.a.tonmoy[/MENTION], new build, which are common for SHV-E300S/K (both overclocked and normal) are added to the download folder. Builds for SHV-E300L will be added within an hour... Download links are here.. .enjoy...

/* Downloads */

SHV-E300
[Galaxy S 4 i9500 Original Android Development] f.a.tonmoy:
thnx man! ✌?
[Galaxy S 4 i9500 Original Android Development] Bubibubibibi:
nice
[Galaxy S 4 i9500 Original Android Development] vuut:
my phone E300K choice which one thanks

SmartPack_kernel-LOS_jalteskt-oc_beta_20170804.zip

SmartPack_kernel-LOS_jalteskt_beta_20170804.zip
[Galaxy S 4 i9500 Original Android Development] sunilpaulmathew:
:p

Both will wok on your device. The only difference is that "oc" version is overclocked and the other one is not over clocked...
[Galaxy S 4 i9500 Original Android Development] f.a.tonmoy:
since a RR rom is available for SKT devices

i request you to add support for that rom ✌
[Galaxy S 4 i9500 Original Android Development] sunilpaulmathew:
OK. plz send me the latest boot.img of RR ROM?
[Galaxy S 4 i9500 Original Android Development] vuut:
Can i flash your kenel with all Rom LineageOS???
[Galaxy S 4 i9500 Original Android Development] sunilpaulmathew:
Not sure. Some ROMs uses modified ramdisk. So, my LOS build may not work on those ROMs. Btw, I saw your post on MoKee ROM. Mokee ROM has in-built SmartPack kernel unless [MENTION=8197963]Erag0n[/MENTION] changed very recently. Let's wait for his reply...
[Galaxy S 4 i9500 Original Android Development] f.a.tonmoy:
Here it is

another thing I forgot to mention that i had random reboots while using this kernel

everything else works fine

got both performance and better battery life. ?
[Galaxy S 4 i9500 Original Android Development] sunilpaulmathew:
Hi, Thanks for the review... How abt random reboots in the stock kernel?

Btw, I added RR builds (both normal and overclocked) for jalteskt (should work on both SHV-E300S/K). Can you try and give comments? The download links are here...

/* Downloads */

jalteskt-RR

jalteskt-oc-RR
[Galaxy S 4 i9500 Original Android Development] vuut:
Can i try them???
[Galaxy S 4 i9500 Original Android Development] sunilpaulmathew:
Why not.. But only with RR rom... and only on SHV-E300S/K....
[Galaxy S 4 i9500 Original Android Development] f.a.tonmoy:
i flashed ur kernel just after flashing the rom so i haven't got any chance to
[Galaxy S 4 i9500 Original Android Development] f.a.tonmoy:
Kernel for RR works pretty well?

the problem i faced is, the device doesn't boot up sometimes after reboot

what i see is just a black screen and doesn't go untill i manually force restart the device or go into recovery
[Galaxy S 4 i9500 Original Android Development] mikajx:
How did you go about this?
[Galaxy S 4 i9500 Original Android Development] f.a.tonmoy:
Can anyone suggest some kernel settings for performance?

even though i'm happy with my current performance

but let's see if i can get even more!! ?
[Galaxy S 4 i9500 Original Android Development] kongacute:
Interactive governor. 1600mhz max. Fiops i/o schedule, 533mhz gpu.
[Galaxy S 4 i9500 Original Android Development] f.a.tonmoy:
already using this?

gpu control isn't available ?
[Galaxy S 4 i9500 Original Android Development] LINEAGE OS FAN:
CPU can't go down to less than 250

Hi, thanks for this great kernel but I do have a problem. CPU doesn't go to less than 250 MHz no matter what I choose the governor . I am on RR OC latest build and using kernel aduitor to control the kernel. Also I remember that there was a governor named "darkness" but it seems like you have deleted it . Could you please put it back in the kernel and find a solution to my problem? Thank you.
[Galaxy S 4 i9500 Original Android Development] f.a.tonmoy:
can anyone suggest me some settings for extended battery life?!

using RR currently
[Galaxy S 4 i9500 Original Android Development] Erag0n:
Hi，I find an issue which origin kernel don't have.

../../../../../../../../../home/duke/Mokee/kernel/samsung/exynos5410/drivers/devfreq/exynos5410_bus_mif.c: In function 'exynos5_mif_busfreq_target':

../../../../../../../../../home/duke/Mokee/kernel/samsung/exynos5410/drivers/devfreq/exynos5410_bus_mif.c:576:6: error: 'set_mif_freq' undeclared (first use in this function)

if (set_mif_freq > 0)

^

../../../../../../../../../home/duke/Mokee/kernel/samsung/exynos5410/drivers/devfreq/exynos5410_bus_mif.c:576:6: note: each undeclared identifier is reported only once for each function it appears in

/home/duke/Mokee/kernel/samsung/exynos5410/scripts/Makefile.build:307: recipe for target 'drivers/devfreq/exynos5410_bus_mif.o' failed

make[3]: *** [drivers/devfreq/exynos5410_bus_mif.o] Error 1

/home/duke/Mokee/kernel/samsung/exynos5410/scripts/Makefile.build:443: recipe for target 'drivers/devfreq' failed

When I build ja3gduosctc,it shows error like that.
[Galaxy S 4 i9500 Original Android Development] sunilpaulmathew:
Okay.. .the issue is fixed for now... You can either cherry pick my last commit or do the following

open drivers/devfreq/exynos5410_bus_mif.c and remove the following stuff (from line# 575)... and try again...

#ifdef CONFIG_ASV_MARGIN_TEST
if (set_mif_freq > 0)
*_freq = set_mif_freq;
#endif

also use this new defconfig...
[Galaxy S 4 i9500 Original Android Development] Erag0n:
Thank you!Good work!
[Galaxy S 4 i9500 Original Android Development] sunilpaulmathew:
Guys, can someone send me the stock 'boot.img' of LOS and RR (preferably without magisk and other mods which modifies ramdisk), I shall update the kernel on or before Monday evening (Since there are some new commits in Alberto's source). I only have limited internet access atm and hence difficult to download all the ROMs...
[Galaxy S 4 i9500 Original Android Development] Saiful98:
Lineage 14.1 20171014
[Galaxy S 4 i9500 Original Android Development] sunilpaulmathew:
New builds for ja3g (only Lineage-OS)...

Guys, new builds for ja3g (only Lineage-OS), which includes both overclocked and non-overclocked, are added.

Changes: up-to-date with LOS kernel source.

Special thanks to [MENTION=7240824]Saiful98[/MENTION] for sending me stock LOS "boot.img"... Download links are here... enjoy...

/* Downloads */

LOS_ja3g

LOS_ja3g-oc

Old builds
[Galaxy S 4 i9500 Original Android Development] kongacute:
Here for RR lastest build:D
[Galaxy S 4 i9500 Original Android Development] sunilpaulmathew:
New builds for RR (ja3g & jalteskt)

New builds for ja3g and jalteskt (only RR), which includes both overclocked and non-overclocked, are added.

Changes: up-to-date with LOS kernel source.

Special thanks to [MENTION=6816287]kongacute[/MENTION] for sending stock RR "boot.img"... Download links are here... enjoy...

/* Downloads */

ja3g

jaltexxx

Old builds
[Galaxy S 4 i9500 Original Android Development] f.a.tonmoy:
Can u add darkness, badass governors?!
[Galaxy S 4 i9500 Original Android Development] sunilpaulmathew:
May be no, because I removed those govs from the kernel long back by considering the user opinion as well as to make the kernel "liter"... and I sure that I already included enough govs to play with...
[Galaxy S 4 i9500 Original Android Development] f.a.tonmoy:
boot from latest LOS build for SKT
[Galaxy S 4 i9500 Original Android Development] kongacute:
Bro. Here is boot.img from new build RR. I will upload boot.img for jalteskt variant later.

EDIT: Done. Uploaded 2 boot.img for 2 variants:D
[Galaxy S 4 i9500 Original Android Development] sunilpaulmathew:
Thanks...

I'll build new kernel on Monday... I don't have access to my build PC till tomorrow night...
[Galaxy S 4 i9500 Original Android Development] sunilpaulmathew:
New builds...

New builds for ja3g and jalteskt (both LOS & RR), which includes both overclocked and non-overclocked, are added.

Changes: up-to-date with LOS kernel source as well as incorporated all the changes from the latest ramdisks..

Special thanks to [MENTION=6816287]kongacute[/MENTION] [MENTION=7240824]Saiful98[/MENTION] and [MENTION=7639749]f.a.tonmoy[/MENTION] for sending stock RR "boot.img"... Download links can be found in the below links... enjoy...

/* Downloads */

ja3g

jaltexxx

Old builds
[Galaxy S 4 i9500 Original Android Development] f.a.tonmoy:
interactive, interactivex governor need some improvement in media streaming department

my device hangs and reboots whenever i stream videos, especially on YouTube...

apart from that i found this governor the most efficient one...
[Galaxy S 4 i9500 Original Android Development] sunilpaulmathew:
Guys, a new version of SmartPack-Kernel will be uploaded along with the release of new LOS builds by Alberto.

Please note: it will be the final version of my kernel as I'm not using this device anymore as well as not expecting any new development on this device by Alberto or any other dev.

Thank you all for the support till now.

Regards...
[Galaxy S 4 i9500 Original Android Development] sunilpaulmathew:
***Final builds***

Final builds for ja3g and jalteskt (both LOS & RR), which includes both overclocked and non-overclocked, are now uploaded.

Changes: up-to-date with LOS kernel source as well as incorporated all the changes from the latest ramdisks..

Please note: This will be the last and final build of SmartPack-Kernel for this platform. The kernel is now "End-of-Life" (EOL) and do not expect any further updates from me. You guys can still use the thread for discussions and all the builds (new and old) will be available for anyone interested for a long time. Thank you very much for testing, suggestions, and helping me for improving (and for over-all support)

Download links can be found below...

Enjoy...

/* Downloads */

ja3g

jaltexxx

Old builds
[Galaxy S 4 i9500 Original Android Development] f.a.tonmoy:
Thanks for the support...
[Galaxy S 4 i9500 Original Android Development] -Hypnose:
What kernel version can I flash for the latest RR build? (5.8.5) for i9505. And if possible, also the installation procedure. For safety.
[Galaxy S 4 i9500 Original Android Development] f.a.tonmoy:
it's not for i9505
[Galaxy S 4 i9500 Original Android Development] -Hypnose:
Yes, I realized that it is not for my model. So which custom kernel can I put for the latest rr build? Always to use the Tweaks. On the other hand, I thank you for the answer. :)
[Galaxy S 4 i9500 Original Android Development] tebasah:
After flash from recovery my phone will stock on boot... please Amy help... I am using ja3gxx... and my battery on lineageos 14.1.2 is very bad ... both of the files will stock on boot
[Galaxy S 4 i9500 Original Android Development] f.a.tonmoy:
Latest boots
[Galaxy S 4 i9500 Original Android Development] myidealcut:
after kernel? tia
[Galaxy S 4 i9500 Original Android Development] sunilpaulmathew:
One more *final* build

Added one more *final* build for jalteskt is now added as a response to the request of [MENTION=7639749]f.a.tonmoy[/MENTION] (as well as I'm convinced that there are some important kernel patches to fix data in that device). It includes both overclocked and non-over-clocked build for LOS and RR. Download links can be found here... enjoy...

Changes: up-to-date with LOS source code.

/* Download */

jalteskt

PS: make sure to download the latest build dated 20180109
[Galaxy S 4 i9500 Original Android Development] myidealcut:
i think data broken latest kernel update: RR oc 20180109
[Galaxy S 4 i9500 Original Android Development] sensenku:
Will this help me to stop drain of battery in GT-I9500? I do not need a lot of things was active in my phone and make my phone to save battery more instead of bluetooth, NFC and etc. Please help me
[Galaxy S 4 i9500 Original Android Development] George_Almp:
swap support?

Is there any possibility to make this kernel to have swap support? Asking for the ja3g
[Galaxy S 4 i9500 Original Android Development] sunilpaulmathew:
Hi friends

Thank you very much for supporting this project.

Since the last kernel is released nearly a year ago and the thread is already declared as "EOL", I am taking the liberty to close this thread for good reasons. All the kernels are still available to download for anyone interested.

It was fun to work for this device and to provide some good stuff for you guys. Hope to see you all again, one day, somewhere...

Sunil
[Galaxy S 4 i9500 Original Android Development] shivam429:
but even after setting the current to 1600mA its charging at 1900.
[Galaxy S 4 i9500 Original Android Development] sunilpaulmathew:
You need to replug adapter to get the changes...
[Galaxy S 4 i9500 Original Android Development] shivam429:
Opz Sorry,

Worked. Also no issues with synapse now.

Thanks a lot.
[Galaxy S 4 i9500 Original Android Development] sunilpaulmathew:
Thanks for the clarification. Btw, can you test the audio once again with this new build... RR / LOS . Waiting for the screenshots from you :p
[Galaxy S 4 i9500 Original Android Development] shivam429:
:D no problem mate. Checking.
[Galaxy S 4 i9500 Original Android Development] shivam429:
Not working.
[Galaxy S 4 i9500 Original Android Development] Aki_9982:
Hey anybody how to flash Alberto's lineage os 14.1 kernel....could u give me the links
[Galaxy S 4 i9500 Original Android Development] sunilpaulmathew:
New builds are uploaded. Separate builds for LOS and RR are included. New features includes UKSM and Frandom. Sadly, sound control is still broken. The links are here...

LineageOS

[URL="https://xdaforums.com/devdb/project/dl/?id=24347"]GT-I9500[/URL]
[URL="https://xdaforums.com/devdb/project/dl/?id=24345"]SHV-E300[/URL]

Resurrection Remix

[URL="https://xdaforums.com/devdb/project/dl/?id=24346"]GT-I9500[/URL]
[URL="https://xdaforums.com/devdb/project/dl/?id=24344"]SHV-E300[/URL]
[Galaxy S 4 i9500 Original Android Development] :
in the screenshots, it said cannot cast string to integer here so it can be that in the synapse code, u set the value with the quotation mark "" where it should be without the quotation mark, im just guessing from the screenshot havent look at ur synapse

sth like if u do echo "1" > somepath instead of echo 1 > somepath
[Galaxy S 4 i9500 Original Android Development] shivam429:
Thank you for the update. Stable as rock.

Although, i am getting this error while using profile 4 on zzmoove governor

Please take a look
[Galaxy S 4 i9500 Original Android Development] sunilpaulmathew:
Thanks for the tips. I'll send you the details as a personal message in with in 3 hrs (once I access my pc) for your reference.
[Galaxy S 4 i9500 Original Android Development] sunilpaulmathew:
Thanks... I'll check. Btw, make sure that mako hotplug is disabled while using zzmove...
[Galaxy S 4 i9500 Original Android Development] shivam429:
Yes it is. Thank you.
[Galaxy S 4 i9500 Original Android Development] litvcom:
[MENTION=7060205]sunilpaulmathew[/MENTION]

Can you add support for Kernel Toolkit/Pro? Pro version also support Sound control.
[Galaxy S 4 i9500 Original Android Development] sunilpaulmathew:
A lot of features are already accessible in Kernel toolkit except charger control (confirmed) and sound control (not sure since I'm using Korean variant). How about in your case. Is sound control accessible? Can you send me a screenshot of that page? Thanks in advance.
[Galaxy S 4 i9500 Original Android Development] sunilpaulmathew:
New builds...

New builds are up...

Many new govs are added. I removed sound engine temporarily since it is not working at this moment. Further, I found that you guys already bypass the low sound issue by mixer_path editing. Download links are here...

/* Downloads */

LineageOS

[URL="https://xdaforums.com/devdb/project/dl/?id=24379"]GT-I9500[/URL]
[URL="https://xdaforums.com/devdb/project/dl/?id=24377"]SHV-E300[/URL]

Resurrection Remix

[URL="https://xdaforums.com/devdb/project/dl/?id=24378"]GT-I9500[/URL]
[URL="https://xdaforums.com/devdb/project/dl/?id=24376"]SHV-E300[/URL]
[Galaxy S 4 i9500 Original Android Development] RAZR-93:
Are these with gzip compression or lzma?
[Galaxy S 4 i9500 Original Android Development] sunilpaulmathew:
Its still lzma. It may not boot if I changed it into gzip (not sure though... and haven't get a chance to test). So, I'm afraid to change...