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

[JDCTeam] Optimized LineageOS17.1 v9.0 [10Dec]

Search This thread

tarantules

Member
Nov 3, 2009
25
4
I upgrade a i9505 from a stock 4.4.2 to stock 5.0.1 and then this custom ROM and I have battery drain issues.The battery is drainig way too fast compared to the stock 4.4.2.What should I do?
Is there any way to downgrade to stock 4.4.2?
 

pocketrule

Senior Member
Sep 23, 2016
340
448
Battery drain is always difficult to solve. There are many different reasons for it: your specific device model, combination of rom, kernel, gapps, installed apps, usage of gps and wireless connection etc. There's always a chance a custom rom has higher battery consumption due to incompatibilities between this mentioned combination.

First, you should check the steps @Retrial described in his tutorial to flash the latest rom (eg make sure, you've installed latest bootloader and modem)

You can always go back and flash a stock rom with odin.

If you want to know what exactly is the cause for the higher battery drain, you should install a battery monitoring app, e.g. BetterBatteryStats and GSam Battery Monitor.


They are not very easy to use, installing requires root or granting special access to system logs with adb commands. But all required steps to install and to read the results are described in detailed descriptions.
 

pocketrule

Senior Member
Sep 23, 2016
340
448

therob2

Member
Jun 17, 2020
24
6
Two short questions:
1) Although I know that a clean install including wiping is the recommend way - is there any chance that I have also success with a dirty flash of 17.1-optimized if I am coming from 17.1-official/nightly-ROM without completely messing up settings and with keeping data and apps? Or do you think chances tend versus zero? (No Gapps installed)
Background is that my GT-I9505 has random reboots once-twice a day with official 17.1 and I have no clue where it comes from (4 other devices running well). I hoped just to dirty-flash the optimized ROM over the official one could be the less-work-variant with preserving all data - and if I have no random reboots afterwards I would be happy to use it further without re-install all apps / settings.... I just want to give it a try to get rid of the reboot-problem, before a wipe

2) Does the optimized version also provides a working internal updater? Or updates only manually possible?
Thanks for short answer.
 
  • Like
Reactions: maanteel

platypoid

Senior Member
May 13, 2013
263
76
I have a question - I have two Galaxy S4 . Can I install and backup rom on one and then use the backup to install on the second S4 ? Or do I have to do both separately from the beginning ?
Thanks
 

Billy Bons

New member
Jul 31, 2020
4
4
48
Odessa
Xiaomi Mi 9 SE
I installed the last assembly, but the GSM mode does not turn on in any way. Device version L720 with communication module L720VPUAMDC. The device is trying to connect to the local network operator CDMA and does not want to turn on the GSM SIM card in any way.
 

pocketrule

Senior Member
Sep 23, 2016
340
448
I have a question - I have two Galaxy S4 . Can I install and backup rom on one and then use the backup to install on the second S4 ? Or do I have to do both separately from the beginning ?
It SHOULD work. I've done it once - with TWRP - about 2 years ago. So I don't remember the details.

As TWRP creates a device specific folder containing the serial number you'll have to rename the backup folder so that TWRP shows the backup at all on the other device. You can check how the backup folder has to be named when you do a backup first on the device where you want to restore the backup from the other device.

Good luck 👍️ If you try, let us know if you succeeded.
 

dfw123

Member
Jun 6, 2013
44
1
Hello! It can not use twrp to install error 7 phone not support. I have samsung s4 sphL720T. Modem is MK5. I see it support sphL720T why it can not install? thanks.
 

droydr

Senior Member
Feb 25, 2014
156
45
Hello and thank you for version 9, I was on version 6 prior.

I have a question - Where can I find the gesture options to 'Double Tap to Wake' screen and 'Wave to Wake' screen? I had those activated in version 6 but can't seem to find them now.

Thank you.
 
Last edited:

Solway

Senior Member
May 20, 2011
89
33
Cornwall, UK
I've yet to move to the new version due to no stable gapps.

I've got some apps saying the device isn't secure and therfore won't run. It passes the safetynet test.
Could this be due to selinux is not enforcing? If so.. How do I enforce it?

Another issue I'm Having. Is WiFi seems to be disconnecting when screen turns off. It's so annoying. Can't find the stay awake setting anywhere
 

bersem

Senior Member
Jan 19, 2014
357
163
I've yet to move to the new version due to no stable gapps.

I've got some apps saying the device isn't secure and therfore won't run. It passes the safetynet test.
Could this be due to selinux is not enforcing? If so.. How do I enforce it?

Another issue I'm Having. Is WiFi seems to be disconnecting when screen turns off. It's so annoying. Can't find the stay awake setting anywhere
Code:
echo 1 > /sys/fs/selinux/enforce

U have to repeat this step after each reboot. Use terminal emulator.

Regards !
 

mrabcx

Senior Member
Feb 18, 2011
129
28
"install apps from unknown sources" seems to be permanently disabled for all apps and I can not turn the switches on, any fix for that ?
 

hunkdorlian

Member
Sep 23, 2021
22
7
I can't make my bank apps work, besides I installed magisk 23 stable with all the safetynet modules, hiding the app even using magisk hide, is there a solution for this? I could hide it using the android 6.0 optimized lineageOS. with Magisk 23 stable.
 
Last edited:

hunkdorlian

Member
Sep 23, 2021
22
7
My phone works fine and all but I get the same issue like the other users, when my mobile screen turns off, the wifi is gone as well. Any solution for this please?
 

Top Liked Posts

  • There are no posts matching your filters.
  • 3
    cut888b.png


    Optimized LineageOS 17.1 for the Samsung Galaxy S4 (Qualcomm variants)
    Brought to you by the Jflte DevConnection Team


    DISCLAIMER
    Code:
    * Your warranty is now void.
            < Well lets face it, your warranty has been void for 3+ years now.. Samsung don't care about you. Who do? JDC TEAM. >
    
    * 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!
    * 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.

    FEATURES
    • Based on Official LineageOS 17.1 - Android 10_r41
    • Latest Security Updates integrated
    • Improved Speed, Stability, RAM usage & Battery drain
    • Powered by Buffcore Kernel - some / most / all of the following may or may not be hooked up yet.
    Code:
    [B][COLOR="DarkOrange"]Buffcore 10[/COLOR][/B]:
    set config_hz to 300
    add intelliplug
    tweak our touch boost
    add color control tweak
    stop lowclocks from defconfig
    build with gzip
    quickwakeup - the kernel can semi-wakeup and decide if needs to end suspend or return to suspend with losing doze
    fully optimized toolchain flags
    reduced sleep timeout
    dynamic file syncing - early_suspend and dyn_fsync by default
    print to dmesg log when a suspend gets broken
    sdfat enabled
    fastcharge implemented (up to 1900 ac / 1600 usb)
    bcmhd wakelocks for rx and tx halved
    libmemcopy and libstring sped up
    io readahead to 1024k
    power efficient work queues
    voltage tweaking user interface
    faster vmstat
    autosmp hotplugging replacement
    mmc crc disabled
    allow for lower cpu voltage
    reduce swapiness
    optimize divide / multiply by power of 2
    added tcp optimization options
    set westwood default
    optimize cbfillrect function
    reduce wifi wakelock times
    nohz: reduce overhead under high-freq idling patterns
    • Many, many more - install and see for yourself!;)

    SUPPORTED DEVICES

    • GT-I9505 (jfltexx)
    • GT-I9505G (jgedlte)
    • GT-i9507 (jtfddxx)
    • GT-i9508 (jfltezm)
    • SCH-I545 (jfltevzw) VERIZON USERS: since your Bootloader is locked, you must be on the VRUAMDK
    • SCH-I545L (jfltelra)
    • SCH-R970 (jflteusc)
    • SCH-R970C (jfltecri)
    • SCH-R970X (jfltecsp)
    • SGH-I337 (jflteatt) AT&T USERS: since your Bootloader is locked, you must be on the UCUAMDB or UCUAMDL
    • SGH-I337M (jftlecan)
    • SGH-l337Z (jfltecri)
    • SGH-M919 (jfltemo)
    • SGH-S970G (TracFone / Straight Talk)
    • SM-S975L (TracFone / Straight Talk)
    • SPH-L720 (jfltespr)
    • SPH-l720T (jflterefreshspr)
    • jfltezm - China Mobile
    • jfltetfnatt
    • jfltetfntmo
    Do 'getprop ro.bootloader' in Terminal Emulator or through ADB shell to find out which Bootloader you have.

    DOWNLOADS


    GAPPS

    You can use Pico or Nano Open GApps or BiTGApps

    TWRP

    You can use either the latest and recommended JDCTeam Recovery or the latest Unified Official TWRP Recovery to flash the ROM.
    If you have a variant with a locked but exploitable Bootloader like AT&T and Verizon then use the TWRP Recovery Locki Patched by mattgyver.


    AROMA ADDON

    You can multiple times flash the Addon Aroma to add or remove apps-mods, change bootanimations and contain debug tools.
    You can find it HERE.


    INSTALLATION GUIDES - COLLECTION LATEST BOOTLOADERS & MODEMS - AND A LOT MORE

    You can follow the well-explained steps, find and download the latest Bootloader & Modem for your variant from the S4 Unified Guides/Collection thread by Retrial which contains:
    • COMPLETE GUIDE FOR THE BEST CLEAN INSTALL OF STOCK OR CUSTOM ROM FROM SCRATCH
    • COMPLETE GUIDE TO CLEAN INSTALL A CUSTOM ROM NOT FROM SCRATCH
    • COMPLETE GUIDE TO DIRTY INSTALL OVER YOUR CUSTOM ROM
    • COLLECTION FOR ALL VARIANTS WITH THE LATEST FIRMWARE - BOOTLOADERS & MODEMS - TWRP - GAPPS - ROOT SOLUTION - PIT FILES - SAMSUNG USB DRIVER - ODIN - USEFUL APPS - RECOMMENDED ROMS

    YOUTUBE

    Click HERE to watch a video review of Optimized LineageOS 17.1 Thanks to MikeTheTechSavvy

    JDCTEAM UNIVERSE

    You can find the total work of JDCTeam over the years HERE.


    SOURCE CODE
    Avaible at JDCTeam GitHub

    CREDITS
    • Side - Lead Developer / The Boss
    • Buff99 - Minor Developer / Major Meddler
    • JDC Team
    • LineageOS
    • OpenGapps

    JDCTeam

    You are welcome to join the Official JDC Team chat/test group in Slack

    XDA:DevDB Information
    [JDCTeam] &#128287; Optimized LineageOS17.1 &#128287; v8.0 [12Oct], ROM for the Samsung Galaxy S4

    Contributors
    side, buff99, Retrial
    ROM OS Version: Android 10
    ROM Kernel: Linux 3.4.x
    ROM Firmware Required: Lollipop compatible
    Based On: LineageOS

    Version Information
    Status:
    Stable

    Created 2019-12-16
    Last Updated 2020-10-24
    Side Buff and the complete Development "Gang" Thanks again for the amazing works you brought to our devices , and I want to wish you all the best for this new year to come. I read somewhere that You Side started a Ubuntu project for the S4 , and I will gladly soon review it , Also that you got bored with Android , I hope you and Buff will as the first bring Los 19 to the phone , but that's just hoping.. Stay well my friends and don't let the situation in the world darken your thoughts.. Stay strong , One love from Puck
    2
    Hi, I installed the ROM, it looks fine and is fast. I kinda don't like that it is not as stock to Android 10 as possible (it have unusuall power off butons, icons, orange browser address bar(!), no weather and clock widget and I think stock android have it but maybe wrong - not a big deal though, I will get something like weawow app and also that you have to swipe up to unlock the screen - I am used to my other phone with swipe left or right gestures to unlock).

    All is fine as long as I can give a little longer life to this old device with more recent Adroid OS!

    BUT it seems like the SEARCH BAR under the dock icons is permanently STUCK and cannot be removed, either by swiping it out or by settings (couldn't find any). Looks like it is stuck in the app drawer because when I swipe up for apps it moves along. Plus, it have ridiculous bug I am surprised it was not seen before realase. When you tap on search bar, keyboard opens up and completely covers search bar because it shares the same position so you are typing in kinda blind...

    The weird thing is that in the youtube video I cannot see the search bar at all!
    Is it possible to remove it as it takes precious space on the home screen and I don't use it daily?

    Thanks! :)

    P.s. that lineage os custom recovery is quite useless. Gapps cannot be installed because of error (cannot find valid system layout), cannot do custom wipes, mount storage etc. Flashed back to twrp via odin and what a day and night difference, feeling like at home again...

    P.p.s. why not Lineage 18 with Android 11? I tried but it feeled not as snapy and it had same gapps errors in recovery so I was experimenting with older versions (that didn't help) and now when I have it, I like how it feels.
    Read carefully my S4 Unified Collection & Guides. You will find everything you need there. Recommend ROMs/GApps/latest TWRP for your device, follow the clean installation guide.
    1
    To avoid installing custom launcher etc., I got back to Lineage 18.x, all is fine now, no silly integrated search bar in home screen like there was in optimized lineage 17.x version :)

    Still I will install other browser as default because i don't kinda like the integrated browser's orange address bar and I wish power off buttons were as stock Android (they look much more asthetic) but otherwise I am impressed, everything is smooth so far!!!
  • 65
    cut888b.png


    Optimized LineageOS 17.1 for the Samsung Galaxy S4 (Qualcomm variants)
    Brought to you by the Jflte DevConnection Team


    DISCLAIMER
    Code:
    * Your warranty is now void. 
            < Well lets face it, your warranty has been void for 3+ years now.. Samsung don't care about you. Who do? JDC TEAM. >
    
    * 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! 
    * 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.

    FEATURES
    • Based on Official LineageOS 17.1 - Android 10_r41
    • Latest Security Updates integrated
    • Improved Speed, Stability, RAM usage & Battery drain
    • Powered by Buffcore Kernel - some / most / all of the following may or may not be hooked up yet.
    Code:
    [B][COLOR="DarkOrange"]Buffcore 10[/COLOR][/B]:
    set config_hz to 300
    add intelliplug
    tweak our touch boost
    add color control tweak
    stop lowclocks from defconfig
    build with gzip
    quickwakeup - the kernel can semi-wakeup and decide if needs to end suspend or return to suspend with losing doze
    fully optimized toolchain flags
    reduced sleep timeout
    dynamic file syncing - early_suspend and dyn_fsync by default
    print to dmesg log when a suspend gets broken
    sdfat enabled
    fastcharge implemented (up to 1900 ac / 1600 usb)
    bcmhd wakelocks for rx and tx halved
    libmemcopy and libstring sped up
    io readahead to 1024k
    power efficient work queues
    voltage tweaking user interface
    faster vmstat
    autosmp hotplugging replacement
    mmc crc disabled
    allow for lower cpu voltage
    reduce swapiness
    optimize divide / multiply by power of 2
    added tcp optimization options
    set westwood default
    optimize cbfillrect function
    reduce wifi wakelock times
    nohz: reduce overhead under high-freq idling patterns
    • Many, many more - install and see for yourself!;)

    SUPPORTED DEVICES

    • GT-I9505 (jfltexx)
    • GT-I9505G (jgedlte)
    • GT-i9507 (jtfddxx)
    • GT-i9508 (jfltezm)
    • SCH-I545 (jfltevzw) VERIZON USERS: since your Bootloader is locked, you must be on the VRUAMDK
    • SCH-I545L (jfltelra)
    • SCH-R970 (jflteusc)
    • SCH-R970C (jfltecri)
    • SCH-R970X (jfltecsp)
    • SGH-I337 (jflteatt) AT&T USERS: since your Bootloader is locked, you must be on the UCUAMDB or UCUAMDL
    • SGH-I337M (jftlecan)
    • SGH-l337Z (jfltecri)
    • SGH-M919 (jfltemo)
    • SGH-S970G (TracFone / Straight Talk)
    • SM-S975L (TracFone / Straight Talk)
    • SPH-L720 (jfltespr)
    • SPH-l720T (jflterefreshspr)
    • jfltezm - China Mobile
    • jfltetfnatt
    • jfltetfntmo
    Do 'getprop ro.bootloader' in Terminal Emulator or through ADB shell to find out which Bootloader you have.

    DOWNLOADS


    GAPPS

    You can use Pico or Nano Open GApps or BiTGApps

    TWRP

    You can use either the latest and recommended JDCTeam Recovery or the latest Unified Official TWRP Recovery to flash the ROM.
    If you have a variant with a locked but exploitable Bootloader like AT&T and Verizon then use the TWRP Recovery Locki Patched by mattgyver .

    AROMA ADDON

    You can multiple times flash the Addon Aroma to add or remove apps-mods, change bootanimations and contain debug tools.
    You can find it HERE.


    INSTALLATION GUIDES - COLLECTION LATEST BOOTLOADERS & MODEMS - AND A LOT MORE

    You can follow the well-explained steps, find and download the latest Bootloader & Modem for your variant from the S4 Unified Guides/Collection thread by Retrial which contains:
    • COMPLETE GUIDE FOR THE BEST CLEAN INSTALL OF STOCK OR CUSTOM ROM FROM SCRATCH
    • COMPLETE GUIDE TO CLEAN INSTALL A CUSTOM ROM NOT FROM SCRATCH
    • COMPLETE GUIDE TO DIRTY INSTALL OVER YOUR CUSTOM ROM
    • COLLECTION FOR ALL VARIANTS WITH THE LATEST FIRMWARE - BOOTLOADERS & MODEMS - TWRP - GAPPS - ROOT SOLUTION - PIT FILES - SAMSUNG USB DRIVER - ODIN - USEFUL APPS - RECOMMENDED ROMS

    YOUTUBE

    Click HERE to watch a video review of Optimized LineageOS 17.1 Thanks to MikeTheTechSavvy

    JDCTEAM UNIVERSE

    You can find the total work of JDCTeam over the years HERE.


    SOURCE CODE
    Avaible at JDCTeam GitHub

    CREDITS
    • Side - Lead Developer / The Boss
    • Buff99 - Minor Developer / Major Meddler
    • JDC Team
    • LineageOS
    • OpenGapps

    JDCTeam

    You are welcome to join the Official JDC Team chat/test group in Slack

    XDA:DevDB Information
    [JDCTeam] &#128287; Optimized LineageOS17.1 &#128287; v8.0 [12Oct], ROM for the Samsung Galaxy S4

    Contributors
    side, buff99, Retrial
    ROM OS Version: Android 10
    ROM Kernel: Linux 3.4.x
    ROM Firmware Required: Lollipop compatible
    Based On: LineageOS

    Version Information
    Status: Stable

    Created 2019-12-16
    Last Updated 2020-10-24
    31
    Version 4 at G.Drive link people.
    md5:2894244ab97f9e4cf38088a9294f8eb3

    Changes:
    • Upstream merge until 20-april-2020
    • Update with latest ASBs
    • Update to r33
    • Camera edits
    • 1080p playback works fine (Youtube etc)
    • Bluetooth calls seems better than ever
    • Remove lockscreen lock icon.
    • Huge kernel updates
    • Display edits. Chinese LCDs should work too
    • Support more jflte variants
    • Rebase the rom
    • Turned-off charging animation
    • Build is not signed
    • Fully working magisk flash
    • Fast charge re-enabled with a better approach
    • Deep sleep tweaks
    • Encryption works
    • Fix some random RIL crashes
    • New Low-Memory-Killer implementation
    • Tweaks here and there

    small bug: When you save photos/videos to external SD card, you cant see them at gallery until your reboot the device. Its a global AOSP bug. not lineage specific. Saving to internal works perfect
    25
    new build guys with HUGE changes!

    kisses !!

    md5: a045953be706a499fefdecfae05e0676
    Changelog:
    • Upstream merge until 16 February 2020
    • Update our wallpaper
    • Merge latest ASB
    • Update to r28
    • Fix Magisk flashing and make root work
    • Encryption should work
    • GPS updates
    • Networking updates
    • Trebuchet: Fix clock widget on first boot
    • CPU: A better tuning
    • Fix loudspeaker switching when in call
    • Build is now Signed ( AKA DONT DIRTY INSTALL AND FORMAT YOUR DATA )
    25
    Good evening and sorry for the delay!

    Version 6 is uploaded !

    Due to my real-life stuff, i messed up with the changelog so i will post the most important stuff....Sorry

    • Update to r40
    • Update our wallpaper
    • Huge kernel updates on LMK, wifi and bt
    • Enable Always On Display
    • Enable Smart pixels
    • Better battery life
    • GPS updates
    24
    Version 8 released

    Changelog:

    • Kernel updates
    • Merge with AOSP and lineage upstream
    • Fix CDMA (jfltespr) telephony issues
    • New launcher with 'swipe down to clear all' and round recents
    • Fixed DAC USB audio


    Old changelogs

    Due to my real-life stuff, i messed up with the changelog so i will post the most important stuff....Sorry
    version 7
    • Edit row/cols of QS panel
    • charging values on lockscreen
    • latest lineage source
    • August security patches
    • r41
    • Kernel updates
    • Bring back 'blue led when camera is on' from optlos16

    version 6
    • Update to r40
    • Update our wallpaper
    • Huge kernel updates on LMK, wifi and bt
    • Enable Always On Display
    • Enable Smart pixels
    • Better battery life
    • GPS updates
    Version 5 changes:

    • Update our wallpaper
    • Upgrade to r35
    • Huge kernel changes
    • Fix some random issues where device would reboot itself
    • Merge with upstream (LineageOS and AOSP)
    • Add option to switch icon 4G/LTE
    • Add Smart Pixels feature and make it work with battery saver too.
    • SettingsProvider: Stop haptic feedback by default
    • SettingsProvider: Disable UI and DTMF sounds by default
    • SystemUI: Stop StatusBar logcat spam
    • Disable double-tap-2-wake feature. we dont have that hardware anyways
    • Cleaning up sensors sources


    Changes v4:
    • Upstream merge until 20-april-2020
    • Update with latest ASBs
    • Update to r33
    • Camera edits
    • 1080p playback works fine (Youtube etc)
    • Bluetooth calls seems better than ever
    • Remove lockscreen lock icon.
    • Huge kernel updates
    • Display edits. Chinese LCDs should work too
    • Support more jflte variants
    • Rebase the rom
    • Turned-off charging animation
    • Build is not signed
    • Fully working magisk flash
    • Fast charge re-enabled with a better approach
    • Deep sleep tweaks
    • Encryption works
    • Fix some random RIL crashes
    • New Low-Memory-Killer implementation
    • Tweaks here and there

    Version 3
    md5: a045953be706a499fefdecfae05e0676
    Changelog:
    • Upstream merge until 16 February 2020
    • Update our wallpaper
    • Merge latest ASB
    • Update to r28
    • Fix Magisk flashing and make root work
    • Encryption should work
    • GPS updates
    • Networking updates
    • Trebuchet: Fix clock widget on first boot
    • CPU: A better tuning
    • Fix loudspeaker switching when in call
    • Build is now Signed