[KERNEL][PIE/TEN]LuisKERNEL Linux 4.9.215 for GTS4LVWIFI & GTS4LVLTE devices

Search This thread

8224Freak

Senior Member
May 6, 2017
712
3,118
Berlin
My LuisKERNEL (PIE/TEN) for Samsung Galaxy Tab S5e (gts4lvwifi/gts4lvlte)
device.png

Code:
*** Disclamer
/*
 * Your warranty is now void.
 *
 * We are 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 ROM
 * before flashing it! YOU are choosing to make these modifications, and if
 * you point the finger at us for messing up your device, we will laugh at you.
 *
 */

Notice
I like to share my work for my Samsung Galaxy Tab S5e (LTE). I have compiled this kernel so that my Galaxy Tab performs better and rooting with Magisk works better.
I'm testing this kernel on my Samsung Galaxy Tab S5e (gts4lvwifi) device and I think it should work on the Samsung Galaxy Tab S5e LTE (gts4lvlte) too.
The kernel I use on the latest Samsung Stock ROM with Magisk 20.3 and Magisk Manager App + Ex Kernel Manager.
The source code is a fork from the official LineageOS 17.1 sources.

The kernel runs for me with LineageOS and Stock Samsung ROM.

Sometimes I get a lot of help or feature requests from users of my LuisROMs and LuisKERNELs. My dog Luis and I try to fulfill most of the wishes, but that is not always possible. I do that as a little hobby and Luis does not always want to build ROMs :). Please understand if I can not always answer directly.

Kernel: I have pached up the Kernel to Linux 4.9.217 with many mods other devs (thanks to @LuK1337 for the base an incredible work!)
  • Pached from 4.9.112 up to 4.9.217 from caf
  • Removed lots of excessive bloat (improves security and performance)
  • Improved stability (several bugs not listed here have been fixed)
  • Boeffla Wakelock blocker driver V1.1.0
  • More I/O-Schedulers (fiops, sio, zen, maple)
  • Added fsync on/off support.
  • Disabled crc check
  • Optimized for performance and battery life
  • Compatible with EX Kernel Manager
  • Compatible with systemless root (recommend Magisk 20.x or higher !!!)
  • Wireguard kernel support
  • Many other misc. improvements not listed here

First time installation:

Update:

Downlads:

Kernel source:

Enjoy!
Frank
 

Attachments

  • Screenshot_20191003-134355_Settings.jpg
    Screenshot_20191003-134355_Settings.jpg
    159.1 KB · Views: 2,451
Last edited:
Just got the device today, Happy to see a kernel is available for the device.

Shall try it once I confirm device is working fine ( to void warranty). Feel the device is pretty sluggish with default kernel.

Does this kernel have kcal support?

Thanks a lot for the kernel.
 
Last edited:

AlexCano

New member
Jun 3, 2013
3
1
Bryan
I bought a used tab s5e from a local electronics store for less than half of the msrp. I then discovered that it wouldnt charge past 70%. Later I peeled off the sticker on the back and the tablet said 'not for sale'. It turns out that this was a display unit and these are configured to not charge past 70% to protect the battery. I didn't want to return it because it was a really good deal even if it doesn't fully charge. My question is will flashing this kernel allow my tablet to charge to 100%? Or this kernel will not be compatible with it? Thanks in advance.
 

granets

Senior Member
Oct 14, 2011
658
193
Vratsa
I bought a used tab s5e from a local electronics store for less than half of the msrp. I then discovered that it wouldnt charge past 70%. Later I peeled off the sticker on the back and the tablet said 'not for sale'. It turns out that this was a display unit and these are configured to not charge past 70% to protect the battery. I didn't want to return it because it was a really good deal even if it doesn't fully charge. My question is will flashing this kernel allow my tablet to charge to 100%? Or this kernel will not be compatible with it? Thanks in advance.

There's an option in the battery settings that limits the tablet from charging beyond 85% to extend the battery life, you can take a look at that first. If that doesn't help, you can try a custom ROM and Kernel. Start with the kernel, as it is less intrusive. but to be honest, I have no idea if that would help. You can also try a factory reset.
If I was a betting man, I'd bet on Samsung limiting that device's charging capacity though the ROM.
 

mingkee

Senior Member
Thanks for your method
Magisk V20 and V21 (Canary) have problem with T720 and gives vbmeta error.
Your method makes V21 (Canary) successfully installed as well as ROM up to date.

(omitted. See first post)
Frank


---------- Post added at 05:59 PM ---------- Previous post was at 05:56 PM ----------

I bought a used tab s5e from a local electronics store for less than half of the msrp. I then discovered that it wouldnt charge past 70%. Later I peeled off the sticker on the back and the tablet said 'not for sale'. It turns out that this was a display unit and these are configured to not charge past 70% to protect the battery. I didn't want to return it because it was a really good deal even if it doesn't fully charge. My question is will flashing this kernel allow my tablet to charge to 100%? Or this kernel will not be compatible with it? Thanks in advance.

Try to install official full ROM (use Frita to grab ROM) and flash with Odin (CSC to wipe everything) and see first.
If everything works as it's supposed to, do everything at first post (flash kernel as boot)
You may need to install Magisk Manager and you may need to run few setup for it.
 

rbns

Member
Mar 31, 2010
30
9
[kernel] [pie] [9]

After installing [KERNEL] [PIE] [9] LuisKERNEL GTS4LVLT, the tablet appeared in the device manager. But it is not visible in the conductor and nothing can be copied to the micros. Is everything visible in the conductor with the stock carnel. Is this a problem?
 
  • Like
Reactions: xXMenaXx

xXMenaXx

Member
Sep 11, 2016
5
0
After installing [KERNEL] [PIE] [9] LuisKERNEL GTS4LVLT, the tablet appeared in the device manager. But it is not visible in the conductor and nothing can be copied to the micros. Is everything visible in the conductor with the stock carnel. Is this a problem?

I have the same problem. I get the error "The connected device is unable to access data on this device." That seems to be the only problem. I can't move files between the tablet and the PC. I have the 128GB Wifi version. I'm on stock Pie firmware with this kernel and rooted with Magisk v20.0.
 
Last edited:

rbns

Member
Mar 31, 2010
30
9
Results of yesterday's experiments: 1.Installed stock Rom (tablet launched and it can be seen in the Explorer) 2.Installed TWRP (tablet launched and it can be seen in the Explorer).3.Installed Magisk (the tablet did not start.Constant restart).Installed LuisKERNEL (tablet launched and it is not visible in the Explorer).
 
  • Like
Reactions: Clandaries

flyignwood

New member
Oct 20, 2019
2
1
Results of yesterday's experiments: 1.Installed stock Rom (tablet launched and it can be seen in the Explorer) 2.Installed TWRP (tablet launched and it can be seen in the Explorer).3.Installed Magisk (the tablet did not start.Constant restart).Installed LuisKERNEL (tablet launched and it is not visible in the Explorer).

I've got the same problem at the end as well. My computer wasn't able to identify the tablet.
 

Top Liked Posts

  • There are no posts matching your filters.
  • 18
    My LuisKERNEL (PIE/TEN) for Samsung Galaxy Tab S5e (gts4lvwifi/gts4lvlte)
    device.png

    Code:
    *** Disclamer
    /*
     * Your warranty is now void.
     *
     * We are 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 ROM
     * before flashing it! YOU are choosing to make these modifications, and if
     * you point the finger at us for messing up your device, we will laugh at you.
     *
     */

    Notice
    I like to share my work for my Samsung Galaxy Tab S5e (LTE). I have compiled this kernel so that my Galaxy Tab performs better and rooting with Magisk works better.
    I'm testing this kernel on my Samsung Galaxy Tab S5e (gts4lvwifi) device and I think it should work on the Samsung Galaxy Tab S5e LTE (gts4lvlte) too.
    The kernel I use on the latest Samsung Stock ROM with Magisk 20.3 and Magisk Manager App + Ex Kernel Manager.
    The source code is a fork from the official LineageOS 17.1 sources.

    The kernel runs for me with LineageOS and Stock Samsung ROM.

    Sometimes I get a lot of help or feature requests from users of my LuisROMs and LuisKERNELs. My dog Luis and I try to fulfill most of the wishes, but that is not always possible. I do that as a little hobby and Luis does not always want to build ROMs :). Please understand if I can not always answer directly.

    Kernel: I have pached up the Kernel to Linux 4.9.217 with many mods other devs (thanks to @LuK1337 for the base an incredible work!)
    • Pached from 4.9.112 up to 4.9.217 from caf
    • Removed lots of excessive bloat (improves security and performance)
    • Improved stability (several bugs not listed here have been fixed)
    • Boeffla Wakelock blocker driver V1.1.0
    • More I/O-Schedulers (fiops, sio, zen, maple)
    • Added fsync on/off support.
    • Disabled crc check
    • Optimized for performance and battery life
    • Compatible with EX Kernel Manager
    • Compatible with systemless root (recommend Magisk 20.x or higher !!!)
    • Wireguard kernel support
    • Many other misc. improvements not listed here

    First time installation:

    Update:

    Downlads:

    Kernel source:

    Enjoy!
    Frank
    7
    LuisKERNEL Update to Linux 4.9.217 + Wireguard 0.0.20200318 kernel driver

    Hello Friends,

    i have updated my LuisKERNEL up to Linux 4.9.217 from caf sources and wireguard kernel driver up to 0.0.20200318.

    Downloads:
    TWRP: http://luis-builds.de/downloads/lin...s4lvlte)/LuisKERNEL-4.9.217-twrp-20200322.img
    Odin: http://luis-builds.de/downloads/lin...s4lvlte)/LuisKERNEL-4.9.217-odin-20200322.tar

    if you have a rooted device then after flash my kernel reflash magisk or other SU for root your device!

    Cu Frank

    Changelog:
    * kernel/samsung/sdm670/
    0923934ff053 Merge branch 'upstream-korg-linux-4.9.y' into 10.0-luis-los
    11254e5c2d36 net: update wireguard 0.0.20200318
    10a20903d7ac Linux 4.9.217
    0bde22da659c ipv4: ensure rcu_read_lock() in cipso_v4_error()
    ff58bb340c43 mm: slub: add missing TID bump in kmem_cache_alloc_bulk()
    ed14ef08c55a ARM: 8958/1: rename missed uaccess .fixup section
    3a4c51d02e70 ARM: 8957/1: VDSO: Match ARMv8 timer in cntvct_functional()
    e06aeb9f3da6 jbd2: fix data races at struct journal_head
    4306259ff6b8 signal: avoid double atomic counter increments for user accounting
    d2a49017c249 mac80211: rx: avoid RCU list traversal under mutex
    4f1547a774dd net: ks8851-ml: Fix IRQ handling and locking
    c0d470e3ec3b cfg80211: check reg_rule for NULL in handle_channel_custom()
    5e953295a8d9 HID: i2c-hid: add Trekstor Surfbook E11B to descriptor override
    479912f78ffc HID: apple: Add support for recent firmware on Magic Keyboards
    f2a18533a69e ACPI: watchdog: Allow disabling WDAT at boot
    22333af249bc perf/amd/uncore: Replace manual sampling check with CAP_NO_INTERRUPT flag
    135075ae4eaf batman-adv: Use explicit tvlv padding for ELP packets
    34673c28f43d batman-adv: Avoid probe ELP information leak
    3c6ed319b82f batman-adv: update data pointers after skb_cow()
    baed34edb061 batman-adv: Don't schedule OGM for disabled interface
    1f9fd18c2025 batman-adv: Avoid free/alloc race when handling OGM buffer
    5841c1bb484f batman-adv: Avoid free/alloc race when handling OGM2 buffer
    5f6dd57c7b50 batman-adv: Fix duplicated OGMs on NETDEV_UP
    3c3e542a40ad batman-adv: Prevent duplicated gateway_node entry
    b081203732b8 batman-adv: Fix multicast TT issues with bogus ROAM flags
    292ddcd9d68e batman-adv: Avoid storing non-TT-sync flags on singular entries too
    9bcfdf4f8fa1 batman-adv: Fix debugfs path for renamed softif
    f7e13c96077a batman-adv: Fix debugfs path for renamed hardif
    0b81edc88189 batman-adv: prevent TT request storms by not sending inconsistent TT TLVLs
    24443bf39b9b batman-adv: Fix TT sync flags for intermediate TT responses
    f4d59337e0b8 batman-adv: Avoid race in TT TVLV allocator helper
    8142ea6bab53 batman-adv: Fix internal interface indices types
    13e6a853099e batman-adv: Fix lock for ogm cnt access in batadv_iv_ogm_calc_tq
    8c69c09f5ede batman-adv: Fix check of retrieved orig_gw in batadv_v_gw_is_eligible
    ea40bc532c52 batman-adv: Always initialize fragment header priority
    0478b59311ab batman-adv: Avoid spurious warnings from bat_v neigh_cmp implementation
    805596e6a807 batman-adv: fix TT sync flag inconsistencies
    f357813e20ff batman-adv: Accept only filled wifi station info
    1c5a456ac64a batman-adv: Use default throughput value on cfg80211 error
    65927b335012 batman-adv: Fix rx packet/bytes stats on local ARP reply
    4ae2c0625ecb batman-adv: Initialize gw sel_class via batadv_algo
    e1244b876d77 batman-adv: Fix transmission of final, 16th fragment
    351f7cbfff97 batman-adv: Fix double free during fragment merge error
    af83aa2e1f27 efi: Add a sanity check to efivar_store_raw()
    11ac2ba035f4 ipv6: restrict IPV6_ADDRFORM operation
    159ba99817a8 iommu/vt-d: Ignore devices with out-of-spec domain number
    1d66a5502feb iommu/vt-d: Fix the wrong printing in RHSA parsing
    cb87b895f146 mwifiex: Fix heap overflow in mmwifiex_process_tdls_action_frame()
    a2ecb2d17b70 netfilter: cthelper: add missing attribute validation for cthelper
    85a7e73aacda nl80211: add missing attribute validation for channel switch
    0a626cd0438c nl80211: add missing attribute validation for beacon report scanning
    d4ffeafda724 nl80211: add missing attribute validation for critical protocol indication
    045bf0978374 iommu/vt-d: Fix a bug in intel_iommu_iova_to_phys() for huge page
    5145afc851ad iommu/vt-d: dmar: replace WARN_TAINT with pr_warn + add_taint
    16d8f5dec5a6 efi: Fix a race and a buffer overflow while reading efivars via sysfs
    b5badebc9e3c ARC: define __ALIGN_STR and __ALIGN symbols for ARC
    3a91d55c921d KVM: x86: clear stale x86_emulate_ctxt->intercept value
    c919b9a14829 gfs2_atomic_open(): fix O_EXCL|O_CREAT handling on cold dcache
    ca9a513b0110 cifs_atomic_open(): fix double-put on late allocation failure
    346ff2f614e5 drm/amd/display: remove duplicated assignment to grph_obj_type
    3772b93dc3bc workqueue: don't use wq_select_unbound_cpu() for bound works
    412c17e2ddd7 iommu/vt-d: quirk_ioat_snb_local_iommu: replace WARN_TAINT with pr_warn + add_taint
    64007a74ac01 virtio-blk: fix hw_queue stopped on arbitrary error
    e9ed467f390d net: phy: fix MDIO bus PM PHY resuming
    529f4b7ad397 cgroup: memcg: net: do not associate sock with unrelated cgroup
    9fc9ba073f67 bonding/alb: make sure arp header is pulled before accessing it
    7a7c8ba58283 slip: make slhc_compress() more robust against malicious packets
    a01b5e507c99 net: fec: validate the new settings in fec_enet_set_coalesce()
    3bd2095b8058 macvlan: add cond_resched() during multicast processing
    2ad8246c4dbe ipvlan: don't deref eth hdr before checking it's set
    8621153cb6c8 ipvlan: do not use cond_resched_rcu() in ipvlan_process_multicast()
    276a875f7124 ipvlan: egress mcast packets are not exceptional
    96ce4520f395 ipvlan: do not add hardware address of master to its unicast filter list
    8079db5d729a ipvlan: add cond_resched_rcu() while processing muticast backlog
    65ff45dfdc63 nfc: add missing attribute validation for vendor subcommand
    0ba5c3ddb59c nfc: add missing attribute validation for SE API
    26623ec1fcd6 team: add missing attribute validation for array index
    c8571e0c2b68 team: add missing attribute validation for port ifindex
    65c9a7a213e4 net: fq: add missing attribute validation for orphan mask
    1abae2c50c67 macsec: add missing attribute validation for port
    76de44ee4d7b nl802154: add missing attribute validation for dev_type
    5869a748587a nl802154: add missing attribute validation
    0b21c9cbf647 fib: add missing attribute validation for tun_id
    285112d5a481 bnxt_en: reinitialize IRQs when MTU is modified
    f120a4000223 r8152: check disconnect status after long sleep
    e5660ee1a35b net: nfc: fix bounds checking bugs on "pipe"
    fc094dab7eb9 net: macsec: update SCI upon MAC address change.
    6d80c781790e ipv6/addrconf: call ipv6_mc_up() for non-Ethernet interface
    6f1aea70c1f8 gre: fix uninit-value in __iptunnel_pull_header
    78604444fb87 cgroup, netclassid: periodically release file_lock on classid updating
    da933d989ff5 net: phy: Avoid multiple suspends
    4ffa65aa2bc5 phy: Revert toggling reset changes.
    dbfc9e987856 NFS: Remove superfluous kmap in nfs_readdir_xdr_to_array
    5
    LuisKERNEL Update

    Hi Friends,

    new kernel update is out :)

    Download:
    LuisKERNEL-4.9.112-191208-twrp-boot.img
    LuisKERNEL-4.9.112-191208-odin.tar

    Link: http://luis-builds.de/downloads/lineageos/rr/Samsung_Galaxy_Tab_S5e_(gts4lvwifi)(gts4lvlte)/LuisKERNEL/

    Flash with odin (.tar) or twrp (.img) to boot partition.

    Changelog:
    • Merge branch 'upstream-los-lineage-17.0' into pie-luis-los
    • msm: vidc: Add NV12_512 support for encoder
    • uapi: Add COLOR_FMT_NV12_512
    • Revert "Android.bp: Initial header export bp for Android (qseecom only)"
    • msm: kgsl: run kgsl-workqueue as a high prio wq
    Cu Frank
    3
    update - Tried the kernel on sm-T720 , worked without issues. No kcal support.
    - please consider adding kcal/color/saturation options if possible.

    Thanks
    Kcal will merged in the next days if stable ;) Testing today ;)))

    Cu Frank
    2
    I bought a used tab s5e from a local electronics store for less than half of the msrp. I then discovered that it wouldnt charge past 70%. Later I peeled off the sticker on the back and the tablet said 'not for sale'. It turns out that this was a display unit and these are configured to not charge past 70% to protect the battery. I didn't want to return it because it was a really good deal even if it doesn't fully charge. My question is will flashing this kernel allow my tablet to charge to 100%? Or this kernel will not be compatible with it? Thanks in advance.

    There's an option in the battery settings that limits the tablet from charging beyond 85% to extend the battery life, you can take a look at that first. If that doesn't help, you can try a custom ROM and Kernel. Start with the kernel, as it is less intrusive. but to be honest, I have no idea if that would help. You can also try a factory reset.
    If I was a betting man, I'd bet on Samsung limiting that device's charging capacity though the ROM.