[CLOSED][KERNEL][j2lte][5.1.1] KudKernel for Samsung Galaxy J2 LTE [ABANDONED]

Status
Not open for further replies.
Search This thread

krasCGQ

Inactive Recognized Contributor
Apr 13, 2015
5,436
4,954
23
Kendari
kud.my.id
Xiaomi Mi 9 SE
Sorry to tell this, but KudKernel development on j2lte family has been abandoned due to fact that I couldn't give make any of my current builds to boot and I don't have any device to test. Thanks for your support all. Hope we could meet again on another device development. :fingers-crossed:

Introduction
KudKernel is a custom kernel that built straight from the official sources with slight modifications to keep it as stable as stock, but with some additional features that won't impact the stability overall.

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.
*/

Kernel features
  • Compiled from J200FXXU1AOI6 kernel sources
  • Compiled using UberTC 4.9.4 with -Ofast and -fgraphite flag for fast and smooth experience
  • Using AnyKernel2 script for unified and easy installation (@osm0sis)
  • Kernel.org version 3.10.22
  • Kernel is compressed using LZMA
  • SELinux is set to permissive by default
  • ADB full root access
  • Enabled all CPU governors
  • Disabled root restrictions (enjoy fully rooted experience!)
  • And more features to come soon...

Supported devices
Thanks to AnyKernel2 script, all devices on j2lte family running TouchWiz 5.1.1 are able to run KudKernel. :)

Downloads
All downloads are located in multiple providers, so in case there is a problem on one provider, you could download KudKernel from the other one.

Installation instructions
Make sure you've unlocked your bootloader via this simple instruction and have your stock boot.img backed up (so you could revert back to stock kernel at any time) before proceeding.
  1. Make sure you've the latest version of TWRP.
  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 button to install. (you could enable zip signature verification if needed)
  6. Finally wipe cache and dalvik.
  7. Reboot to system.

Kernel source
You could use my source for studying purposes before you develop your own kernel project. Rebuilding any kernel with my sources is strictly prohibited. Kernel source is here.

Special thanks
  • Samsung Open Source Resource Center Team
  • UBER TOOLCHAINS - Their powerful toolchain!
  • @osm0sis - AnyKernel2 script - XDA thread
  • @5mohsen5 - Testing my first undocumented test build and J200F stock kernel
  • @zephy09 - J200GU stock kernel
  • @Rachav2 - J200M stock kernel
 
Last edited:

krasCGQ

Inactive Recognized Contributor
Apr 13, 2015
5,436
4,954
23
Kendari
kud.my.id
Xiaomi Mi 9 SE
Update logs
Last release:
r6 [17-05-2016]
  • Reworked from original Samsung's source
  • Source bring up to GitHub
  • Switched kernel compression to LZMA
  • Enabled all CPU governors
  • Disabled root restrictions
  • Revert all AnyKernel2 script changes

Older releases:
r5 [05-05-2016]
  • I announced that KudTW is renamed to KudKernel! Why? Because I don't want everyone misspell this kernel name as KudTV (this isn't a television channel lol)
  • Unified support for all j2lte variants using AnyKernel2 script by osm0sis
  • Compiled using J200FXXU1AOI6 kernel sources
  • Kernel is compressed with xz compression
  • Added all flags from the original unmodified sources
  • Added -fgraphite optimization flag
  • Added back ondemand CPU governor (no guarantee that it would work) (@zephy09's request)
  • Added default.prop patch to disable Secure Storage support (not tested)

Older releases (KudTW):
r4 [08-04-2016]
  • Kernel.org version 3.10.22
  • Compiled using UberTC 4.9.4
  • Added support for SM-J200M
  • Added some gcc optimizations from Intel's official documentation

r3.1 [27-03-2016]
  • Now comes only via .img file. It's easier than ever!
  • Added and set interactive governor as default
  • Removed ondemand governor (deprecated)
  • Added missing compilation flag

r3 [21-03-2016]
  • Kernel.org version 3.10.20
  • Added support for SM-J200GU
  • Revert back ramdisk compression to gzip
  • ondemand is now the default CPU governor (please check it via CPU-Z)

r2 [18-03-2016]
  • Compiled using UberTC 4.8 with -Ofast flag
  • Added support for SM-J200G
  • Ramdisk is compressed with xz compression
  • ADB full root access
  • Removed all CPU governors except performance and ondemand

r1 [12-03-2016]
  • First stable release.
  • Nothing changed from test release, only changed version tag.

test [11-03-2016] - Non-public release
  • Initial bringup for j2lte, only tested on J200F; thanks to @5mohsen5 for testing the test release!
 
Last edited:

krasCGQ

Inactive Recognized Contributor
Apr 13, 2015
5,436
4,954
23
Kendari
kud.my.id
Xiaomi Mi 9 SE
First test build is up! :cowboy:

Update log:
  • Kernel.org version 3.10.20
  • Compiled using UberTC 4.8

Enjoy the first test build~~

Edit: J200G/GU/Y users, anyone? :cowboy:

Sent from my ASUS_Z00AD
 
Last edited:
  • Like
Reactions: NeverDeadTR
R

RaKesh

Guest
slowly slowly we greeting Development support for our Device,
thanks master,

will this kernel work on J200G?

my j2lte status

full rooted (SuperSU)
Bootloader OEM (Unlocked)
latest Recovery Installed (TWRP v3)
 

krasCGQ

Inactive Recognized Contributor
Apr 13, 2015
5,436
4,954
23
Kendari
kud.my.id
Xiaomi Mi 9 SE
slowly slowly we greeting Development support for our Device,
thanks master,

will this kernel work on J200G?

my j2lte status

full rooted (SuperSU)
Bootloader OEM (Unlocked)
latest Recovery Installed (TWRP v3)
I don't know. Just test it and report. If it's not working, give me your stock boot.img and I will make one for you. :)

Edit: And also, extend support to all J2 LTE families!

Edit #2:
Okay, so he sent me a PM with a Google Drive link (that unfortunately also contains latest Odin and stock recovery altogether!). I'll compile a J200G test build tommorow morning UTC+8. Stay tuned.

Sent from my ASUS_Z00AD
 
Last edited:
R

RaKesh

Guest
Hi_Shoot_20160315_120754_1.png


Flashed Successfully using TWRP :)
Terima kasih bro :highfive:​
 

5mohsen5

Senior Member
Jan 28, 2015
88
19
I 'm a little worried about the warnings Knox

Is this a safe file ?? [emoji29] [emoji18]

Sent from my SM-J200F using Tapatalk
 

5mohsen5

Senior Member
Jan 28, 2015
88
19
The kernel has a bug
when I restart my phone
All wifi saved pass will be removed

Sent from my SM-J200F using Tapatalk
 

krasCGQ

Inactive Recognized Contributor
Apr 13, 2015
5,436
4,954
23
Kendari
kud.my.id
Xiaomi Mi 9 SE
The kernel has a bug
when I restart my phone
All wifi saved pass will be removed

Sent from my SM-J200F using Tapatalk
i think found a problem about wi-fi. if you restart the phone (or close the wi-fi) you need to login wi-fi again. thanks again:good:
Could you both try t1 test build and report back?

I'm thinking that toolchain caused this issue (I compiled r1 with GCC 4.7 instead of 4.8 ). I compiled t1 with UberTC 4.8.

Sent from my ASUS_Z00AD
 
Last edited:
  • Like
Reactions: NeverDeadTR

5mohsen5

Senior Member
Jan 28, 2015
88
19
Could you both try t1 test build and report back?

I'm thinking that toolchain caused this issue (I compiled r1 with GCC 4.7 instead of 4.8 ). I compiled t1 with UberTC 4.8.

Sent from my ASUS_Z00AD

In the test version, my phone was turned off every few minutes. :eek:

---------- Post added at 02:13 AM ---------- Previous post was at 02:06 AM ----------

I do not understand Samsung policies .
Why a low-end phone should be at this level of security ?
 

krasCGQ

Inactive Recognized Contributor
Apr 13, 2015
5,436
4,954
23
Kendari
kud.my.id
Xiaomi Mi 9 SE
im tested but it doesnt work. still same.:confused:
In the test version, my phone was turned off every few minutes. :eek:

---------- Post added at 02:13 AM ---------- Previous post was at 02:06 AM ----------

I do not understand Samsung policies .
Why a low-end phone should be at this level of security ?
Damn, I'd stop patching this stupid sources...
I've upgraded to 3.10.24, but I faced building errors on ipv4 and ipv6 -_-

I'll keep on releasing test builds with updated kernel patches, but stable release will keep the sources as it should.

Is this build.prop editing method work?
Code:
ro.securestorage.support=true -> ro.securestorage.support=false

Edit: This is why I never want to produce a kernel from Samsung sources directly...

Sent from my ASUS_Z00AD
 

5mohsen5

Senior Member
Jan 28, 2015
88
19
I think it would be better just delete the selinux option .
but this kernel has another changes .
 
Status
Not open for further replies.

Top Liked Posts

  • There are no posts matching your filters.
  • 4
    Sorry to tell this, but KudKernel development on j2lte family has been abandoned due to fact that I couldn't give make any of my current builds to boot and I don't have any device to test. Thanks for your support all. Hope we could meet again on another device development. :fingers-crossed:

    Introduction
    KudKernel is a custom kernel that built straight from the official sources with slight modifications to keep it as stable as stock, but with some additional features that won't impact the stability overall.

    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.
    */

    Kernel features
    • Compiled from J200FXXU1AOI6 kernel sources
    • Compiled using UberTC 4.9.4 with -Ofast and -fgraphite flag for fast and smooth experience
    • Using AnyKernel2 script for unified and easy installation (@osm0sis)
    • Kernel.org version 3.10.22
    • Kernel is compressed using LZMA
    • SELinux is set to permissive by default
    • ADB full root access
    • Enabled all CPU governors
    • Disabled root restrictions (enjoy fully rooted experience!)
    • And more features to come soon...

    Supported devices
    Thanks to AnyKernel2 script, all devices on j2lte family running TouchWiz 5.1.1 are able to run KudKernel. :)

    Downloads
    All downloads are located in multiple providers, so in case there is a problem on one provider, you could download KudKernel from the other one.

    Installation instructions
    Make sure you've unlocked your bootloader via this simple instruction and have your stock boot.img backed up (so you could revert back to stock kernel at any time) before proceeding.
    1. Make sure you've the latest version of TWRP.
    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 button to install. (you could enable zip signature verification if needed)
    6. Finally wipe cache and dalvik.
    7. Reboot to system.

    Kernel source
    You could use my source for studying purposes before you develop your own kernel project. Rebuilding any kernel with my sources is strictly prohibited. Kernel source is here.

    Special thanks
    • Samsung Open Source Resource Center Team
    • UBER TOOLCHAINS - Their powerful toolchain!
    • @osm0sis - AnyKernel2 script - XDA thread
    • @5mohsen5 - Testing my first undocumented test build and J200F stock kernel
    • @zephy09 - J200GU stock kernel
    • @Rachav2 - J200M stock kernel
    3
    Update logs
    Last release:
    r6 [17-05-2016]
    • Reworked from original Samsung's source
    • Source bring up to GitHub
    • Switched kernel compression to LZMA
    • Enabled all CPU governors
    • Disabled root restrictions
    • Revert all AnyKernel2 script changes

    Older releases:
    r5 [05-05-2016]
    • I announced that KudTW is renamed to KudKernel! Why? Because I don't want everyone misspell this kernel name as KudTV (this isn't a television channel lol)
    • Unified support for all j2lte variants using AnyKernel2 script by osm0sis
    • Compiled using J200FXXU1AOI6 kernel sources
    • Kernel is compressed with xz compression
    • Added all flags from the original unmodified sources
    • Added -fgraphite optimization flag
    • Added back ondemand CPU governor (no guarantee that it would work) (@zephy09's request)
    • Added default.prop patch to disable Secure Storage support (not tested)

    Older releases (KudTW):
    r4 [08-04-2016]
    • Kernel.org version 3.10.22
    • Compiled using UberTC 4.9.4
    • Added support for SM-J200M
    • Added some gcc optimizations from Intel's official documentation

    r3.1 [27-03-2016]
    • Now comes only via .img file. It's easier than ever!
    • Added and set interactive governor as default
    • Removed ondemand governor (deprecated)
    • Added missing compilation flag

    r3 [21-03-2016]
    • Kernel.org version 3.10.20
    • Added support for SM-J200GU
    • Revert back ramdisk compression to gzip
    • ondemand is now the default CPU governor (please check it via CPU-Z)

    r2 [18-03-2016]
    • Compiled using UberTC 4.8 with -Ofast flag
    • Added support for SM-J200G
    • Ramdisk is compressed with xz compression
    • ADB full root access
    • Removed all CPU governors except performance and ondemand

    r1 [12-03-2016]
    • First stable release.
    • Nothing changed from test release, only changed version tag.

    test [11-03-2016] - Non-public release
    • Initial bringup for j2lte, only tested on J200F; thanks to @5mohsen5 for testing the test release!
    3
    r3 is almost ready guys...
    Kernel version is now properly patched to 3.10.20 xD

    J200G build is ready, J200GU/F are building. I'll upload all builds at once when they are finished.

    Update log:
    • Kernel.org version 3.10.20
    • Added support for SM-J200GU
    • Revert back ramdisk compression to gzip
    • ondemand is now the default CPU governor (please check it via CPU-Z)

    Edit:
    All builds uploaded. OP will be updated.

    Sent from my ASUS_Z00A using XDA Labs
    3
    Hi,
    Development roadmap for next version is updated a little. I couldn't update the kernel until this weekend due to too many things to be done here during this week.

    I'm thinking also to change the kernel name, but my mind is conflicting between yes or no...

    Anyway, I also updated tags for better search indexing.