• Introducing XDA Computing: Discussion zones for Hardware, Software, and more!    Check it out!

[KERNEL][i9500][TW] KudKernel [DISCONTINUED]

Status
Not open for further replies.
Search This thread

asad007

Senior Member
Oct 14, 2011
1,957
1,960
Which ROM?

EDIT:
This is what I actually hate.
When I push test builds, everyone just download, download, flash, and no one give feedback (even a little). When a final build is released 'blindly' due to no feedback over previous test build, everyone would complain blah blah...
I would definitely remove v4.1 if this issue affect both TW and CM.

EDIT #2:
I actually have @zuziemanis as my unexpected tester (? LMAO), but having only a tester doesn't mean anything since he use his own stock deodexed ROM, while most of TW users here are using ported ROM. I need more and more testers since I don't have control over my phone anymore.

If I get headache of all sudden because this, I would discontinue my kernel development on i9500 using the same way as j2lte (eliminating all links).

Sent from my ASUS_Z00A using XDA Labs
hey i flashed your CM version, but it didn't boot.
Did not make it to boot animation.

edit : I'm talking about test 2. but did not have time to post.

Sent From S4 Powered By LWK
 

zuziemanis

Senior Member
Jan 27, 2013
1,035
1,287
pwt
Which ROM?

EDIT:
This is what I actually hate.
When I push test builds, everyone just download, download, flash, and no one give feedback (even a little). When a final build is released 'blindly' due to no feedback over previous test build, everyone would complain blah blah...
I would definitely remove v4.1 if this issue affect both TW and CM.

EDIT #2:
I actually have @zuziemanis as my unexpected tester (? LMAO), but having only a tester doesn't mean anything since he use his own stock deodexed ROM, while most of TW users here are using ported ROM. I need more and more testers since I don't have control over my phone anymore.

If I get headache of all sudden because this, I would discontinue my kernel development on i9500 using the same way as j2lte (eliminating all links).

Sent from my ASUS_Z00A using XDA Labs

Im Sorry have sometime deley to test becouse still consentration to end month in my real work. Will try again after that.

Yes..im only consentration in stock tw becouse that is my focus now, other user must test in tw port rom mybe will give other feedback.

Sent from my SM-N910C using XDA Free mobile app
 

hansonchen

Senior Member
Jun 14, 2012
578
307
Yeah sorry krasCGQ, I'm struggling with my phone weird behavior lately & the need to use phone. Couldn't test & feedback to your kernel. For some reason I'm having random residue of stock bloated Sammy apps, after Odin, in mbokarna or vova debloated roms. Every flash i formatted the /system /cache&dalvik but apps like wallet, TripAdvisor, Google newsstand, books, etc remains.

Countless of apps restoring from tb & testing is giving me sleepless nights.
 

kongacute

Senior Member
Jul 10, 2015
1,000
622
22
Ha Noi
Which ROM?

EDIT:
This is what I actually hate.
When I push test builds, everyone just download, download, flash, and no one give feedback (even a little). When a final build is released 'blindly' due to no feedback over previous test build, everyone would complain blah blah...
I would definitely remove v4.1 if this issue affect both TW and CM.

EDIT #2:
I actually have @zuziemanis as my unexpected tester (? LMAO), but having only a tester doesn't mean anything since he use his own stock deodexed ROM, while most of TW users here are using ported ROM. I need more and more testers since I don't have control over my phone anymore.

If I get headache of all sudden because this, I would discontinue my kernel development on i9500 using the same way as j2lte (eliminating all links).

Sorry. Because i dont have device usually (mean 3 day usage/ 2month) so i cant be tester. Hope u dont discontinued this kernel. And i waiting for synapse support test build. Can u tell me which test build and which stable build for now?
 

krasCGQ

Recognized Contributor
Apr 13, 2015
5,436
4,952
21
Kendari
kud.my.id
Xiaomi Mi 9 SE
Yeah sorry krasCGQ, I'm struggling with my phone weird behavior lately & the need to use phone. Couldn't test & feedback to your kernel. For some reason I'm having random residue of stock bloated Sammy apps, after Odin, in mbokarna or vova debloated roms. Every flash i formatted the /system /cache&dalvik but apps like wallet, TripAdvisor, Google newsstand, books, etc remains.

Countless of apps restoring from tb & testing is giving me sleepless nights.
You need to wipe /preload and somewhere else on a hidden partition. I debloated my father's Y6 by deleting manually some useless apps some weeks ago.

Sorry. Because i dont have device usually (mean 3 day usage/ 2month) so i cant be tester. Hope u dont discontinued this kernel. And i waiting for synapse support test build. Can u tell me which test build and which stable build for now?
Starting from some builds ago, I'm uploading test builds as attachments on this thread; not as a flashable zip, but a boot.img file.

~~~~~~~~~~~~~~~~~~~~~~
Pardon me for my previous posts. Because yeah, no one supports me on building this kernel. My brother doesn't want me to develop kernel, and none of my friends understand what I'm doing, even said that it's useless -_-"
I'll push test builds tonight. I don't have enough battery power to do two compiles (both TW and CM). Mostly to enable most things that I've disabled during my defconfig syncs (Netfilter stuffs, etc, except everything debugging related), and if it still broken, I'd revert some commits...
 

kongacute

Senior Member
Jul 10, 2015
1,000
622
22
Ha Noi
You need to wipe /preload and somewhere else on a hidden partition. I debloated my father's Y6 by deleting manually some useless apps some weeks ago.

Starting from some builds ago, I'm uploading test builds as attachments on this thread; not as a flashable zip, but a boot.img file.

~~~~~~~~~~~~~~~~~~~~~~
Pardon me for my previous posts. Because yeah, no one supports me on building this kernel. My brother doesn't want me to develop kernel, and none of my friends understand what I'm doing, even said that it's useless -_-"
I'll push test builds tonight. I don't have enough battery power to do two compiles (both TW and CM). Mostly to enable most things that I've disabled during my defconfig syncs (Netfilter stuffs, etc, except everything debugging related), and if it still broken, I'd revert some commits...
Ok. Will test ur kernel when full synapse support ver release, because i like to control kernel like volt do (very easy, and have UV in his battery profile). And v4.1 make every app fc, hope u fix soon.
Ps: im using FirstFlight v4.5 with RC.
 

krasCGQ

Recognized Contributor
Apr 13, 2015
5,436
4,952
21
Kendari
kud.my.id
Xiaomi Mi 9 SE
Sorry guys,
I hope that I could do compile tonight;
Yesterday, I was asked by one of my juniors to 'reinstall' OS on her PC from Windows 7 to Windows 10 in the night (I'm using the OEM key during installation lol), so I don't have time to compile and push test builds.

I've some jobs at Reinstallation Comitee on my club's Installation Bazaar after school until 5.30 PM (UTC+8).

Sent from my ASUS_Z00A using XDA Labs
 

forzajuve005

Member
Oct 17, 2013
13
2
Hi
I have cm12.1 on UOAH7 . can I flash this kernel ?
Thnx2u

---------- Post added at 02:22 PM ---------- Previous post was at 02:22 PM ----------

Hi
I have cm12.1 on UOAH7 . can I flash this kernel ?
Thnx2u
 

krasCGQ

Recognized Contributor
Apr 13, 2015
5,436
4,952
21
Kendari
kud.my.id
Xiaomi Mi 9 SE
So @krasCGQ bro...u got ur device i9500 back? ;)
No. However, my beta build is ready :p

v5.0_b1 - Beta Release
Warning: TouchWiz ROMs only.

This isn't a final release, since I need to test things out with global users :p

For changes, track my new repo.

There's many more to-do lists before final build.

Edit: Now compiled with Linaro GCC 6.1.1 instead of Hyper 6.1.x SMxU which I used from v1.0 to v4.1.

Sent from my ASUS_Z00AD using XDA Labs
 
Last edited:
  • Like
Reactions: The Joker
Status
Not open for further replies.

Top Liked Posts

  • There are no posts matching your filters.
  • 22
    kud_logo.png

    Join KudKernel's Hangouts group for tests builds and previews before every new release.
    Click here to join.


    NOTE: Thread as per v4.1 and may or may not available on last build.

    Code:
    /*
     * Your warranty is now void.
     *
     * I am not responsible for bricked devices, dead SD cards,
     * thermonuclear war, or you getting fired because the alarm app failed. Please
     * do some research if you have any concerns about features included in this KERNEL
     * before flashing it! YOU are choosing to make these modifications, and if
     * you point your finger at me for messing up your device, I will laugh at you.
     */

    Features
    Main features
    • Built using I9500XXUHPB3 kernel source
    • [TW] Built using modified I9500UBUHPG1 ramdisk
    • [CM] Using AnyKernel2 template for unified support
    • Compiled using Hyper Toolchain 6.1.x, SaberMod with Uber dependencies
    • Using -Ofast flag for speed
    • Full ARM and VFPv4 optimizations
    • Updated OSRC to version 3.4.5 (proper implementation)
    • XZ kernel compression
    • [TW] GZIP ramdisk compression
    • Included Stericson's latest BusyBox 1.24.2
    • [TW] SELinux is forced permissive
    • [CM] SELinux disabled
    • A7 frequencies unlocked
    • Kernel debloated from useless features
    • Optimized and patched kernel source

    Key features
    • Ultra Kernel Samepage Merging (UKSM) support (default: Disabled)
    • mDNIe screen, CPU voltage, and Wolfson sound control support
    • Synapse support for screen and audio
    • Using ARM-optimized SHA-1 and AES crypto routines
    • HTC's Asynchronous File Sync (Async Fsync)
    • Init.d support
    • USB-OTG support
    • CIFS, NFS support
    • [CM] F2FS support
    • L2TP, PPP support
    • Selectable CPU governors:
      ondemand (default), interactive, conservative, performance, alucard, darkness, intelliactive, lionheart, zzmoove
    • Selectable I/O schedulers:
      noop (default), row, cfq, deadline, bfq, fiops, sioplus, tripndroid, zen
    • Selectable TCP congestion algorithms:
      westwood (default), cubic, bic, reno, htcp, highspeed, hybla, vegas, scalable, lp, veno, yeah, illinois

    Downloads

    Installation instructions
    1. Make sure you've the latest version of TWRP or GearCM Recovery.
    2. Reboot to Recovery mode by combination of Power+Home+Vol(+) buttons.
    3. Select Install from TWRP screen.
    4. Select KudKernel .zip file.
    5. Swipe Flash button.
    6. Finally wipe cache and dalvik. (optional)
    7. Reboot to system.

    Known issues
    Don't report issues that are already listed here.
    • Kernel status changed from beta to experimental due to some unexpected behavior (continuous FCs, random reboots, etc.). Testers required to test every changes into kernel.
    • Sometimes, CPU will only bump itself up to 1200-1400 MHz. A normal reboot would fix this.
    • This kernel will negate any benchmarking app, since most debugging features have been disabled for best user experience.

    More to know...
    • Bug reports without good explanation or logs are ignored.
    • Request for feature(s) that could break stability aren't accepted.
    • You're not allowed to include my kernel as your work's default kernel. Instead, please include KudKernel Lite. (coming soon)

    Special thanks
    • Samsung OSRC Team
    • UBER TOOLCHAINS, SaberMod Team
    • Linaro Team
    • CodeAurora Team
    • @frap129 - Hyper Toolchains
    • @osm0sis - AnyKernel2 template
    • @VoLTaqe - Some help
    • @AndreiLux
    • @maxfu
    • @Alberto96
    • @asad007

    XDA:DevDB Information
    KudKernel [i9500], Kernel for the Samsung Galaxy S4

    Contributors
    krasCGQ, asad007
    Source Code: https://github.com/krasCGQ/KudKernel-universal5410

    Kernel Special Features: See above.

    Version Information
    Status: No Longer Updated
    Current Stable Version: v3.3
    Stable Release Date: 2016-07-07
    Current Beta Version: v5.0_b2
    Beta Release Date: 2016-10-11

    Created 2016-06-03
    Last Updated 2016-11-07
    8
    Status & known issues
    • Totally rebased from a clean source.
    • Compiled using Linaro GCC 6.1.1 instead of Hyper 6.1.x SMxU which I used before on my v1.0-v4.1 kernel releases.
    • Synapse support is removed from the kernel. Use this script by @vishal thakar from now and so on. All bugs and issues regarding Synapse (except for errors due to unimplemented features) should be reported on that thread.
    • Negative Toggle seems do nothing when triggered. (probably won't be fixed)
    • [SRTIKE]Kernel booted, but would freeze in a minute or so, probably something went wrong with my new commits...[/STRIKE] | Fixed in v5.0_b2

    Update logs
    Last release:
    v5.0_b2 (see some latest pages)

    Older releases:
    v4.1 [29-08-2016]
    • Would be written later. (couldn't remember...)

    v4.0 [25-08-2016]
    • Rebased using I9500XXUHPB3 kernel sources
    • Using full ARM, VFPv4, and NEON optimizations
    • Included Stericson's latest BusyBox 1.24.2
    • Reverted kernel version to 3.4.5
    • Added new CPU governors: darkness, lionheart, zzmoove
    • Added new I/O schedulers: bfq, row
    • Added I/O read ahead and swappiness tweaks (might be overridden by kernel tuning app)
    • Added Wolfson sound control
    • Fixed init.d again
    • (Finally) Fixed Private Mode again
    • Disabled Android Logger
    • Disabled WiFi scanning on boot
    • Disabled UKSM by default
    • Disabled useless stuffs
    • Disabled some more debugging stuffs
    • Removed sio I/O scheduler
    • Tweaked UKSM to be more quiet
    • Optimized kernel, check GitHub repo for changes.

    v3.3 [07-07-2016]
    • Re-enable all TCP congestion algorhythms

    v3.2 [07-07-2016]
    • Patch again the kernel to 3.4.10
    • Compiled with NEON optimization
    • Added tripndroid I/O scheduler (a bit unstable)
    • Added Async Fsync from HTC

    v3.1 [06-07-2016]
    • Reverted kernel patch to 3.4.5
    • Added sioplus I/O scheduler
    • Set noop as default I/O scheduler
    • Some ramdisk tweaks:
      - Threw away Knox related commands
      - Deleted 'force-set' cfq as default I/O scheduler
      - Put KudScripts execution command into init.rc instead of init.extra.rc (but KudScripts.sh itself is on /sbin)

    v3.0 [05-07-2016]
    • Added mDNIe screen control support
    • Added CPU Voltage control support
    • Fixed ext4 issues
    • Fixed init.d support (it was broken on all versions before)
    • Disabled "Add Random" and "I/O Stats"
    • Disabled almost all debugging stuffs to improve performance
    • Disabled powersave and userspace CPU governors (useless)
    • Tweaked UKSM (using init script inside ramdisk) to use lower CPU resources (20%)
    • Changed ramdisk compression to LZO

    v2.1m [27-06-2016]
    • Kernel compiled using Hyper Toolchain 6.1.x, SaberMod with Uber dependencies
    • Enforce the permissive SELinux (unchangeable anymore!)
    • Removed -fgraphite flag (it's useless I think)

    v2.0 [19-06-2016]
    • Unlocked all lower A7 frequencies
    • Added UKSM support (using version 0.1.2.3)
    • Added alucard and intelliactive CPU governors
    • Added fiops, sio, and zen I/O schedulers

    v1.1 [05-06-2016]
    • Fixed Private Mode
    • Enabled USB-OTG support

    v1.0 [03-06-2016]
    • Initial release.
    8
    Hi everyone...
    I've read all suggestions and here's the currently workmap for the next version:
    Note: It would be potential for me to jump over to v2.0 due to upcoming major changes I've done.
    • Implemented UKSM v0.1.2.3
    • Unlocked all A7 frequencies
    • Set A7 frequency limit between 250-1200 MHz and A15 frequency limit between 1300-1600 MHz.
    • Porting Samsung codes to fully support GCC 6.0 (WIP; approx. 40% done); also need to tweak Makefile so it would skip some warnings because nothing could be done...

    It's all done on my very own PC now. It would be signed with a new RSA 4096 bit key and will available only on a .zip file based on download counts.

    And yet, I need to take a rest. It's late night here.
    Oyasumi~~
    If you need a spoiler about what word is this:
    Oyasumi is a Japanese word that means good night.
    A bit off-topic, is it?


    Sent from my ASUS_Z00A using XDA Labs
    8
    Change init.container.rc from my ramdisk and it will fix your private mode problem. About default governor do not change from default governor parameter .defconfig change with .sh and it will set some needed parameter with ondemand and change with interactive. Good luck
    7
    I'm trying to implement Synapse support into the kernel, plus Indonesian localization :D

    Hope it's going well guys!

    A spoiler attached :p

    Sent from my ASUS_Z00A using XDA Labs