[JDCTeam] Resurrection Remix 5.8.5 FINAL Rel 40 [23 Mar] [7.1.2_r36] [EOL]

Search This thread

g3nozz

Member
Feb 17, 2017
12
2
0
i alrleady hit thanks to the people who answered my questions about the kernet thingy. now i'm asking again on how to prevent my battery from draining so fast? i only installed DU Battery Saver (only app i installed) on my phone but every 2 or so minutes, my battery is draining by 1%. last night i charged it to 100% (without apps running in the background), and when i woke up in the morning its already 90%. what should i do?
 

Kippy51

Senior Member
Mar 11, 2015
1,347
722
143
Haren (Ems)
i alrleady hit thanks to the people who answered my questions about the kernet thingy. now i'm asking again on how to prevent my battery from draining so fast? i only installed DU Battery Saver (only app i installed) on my phone but every 2 or so minutes, my battery is draining by 1%. last night i charged it to 100% (without apps running in the background), and when i woke up in the morning its already 90%. what should i do?
First you'll have to find out WHAT's draining your battery .. Remove DU Battery Saver as it's probably what causes your drain .. Install an app called 'Better Battery Stats' and go here to learn what to do with it.
 
  • Like
Reactions: g3nozz

63ck0

Senior Member
Jan 13, 2017
257
209
0
i alrleady hit thanks to the people who answered my questions about the kernet thingy. now i'm asking again on how to prevent my battery from draining so fast? i only installed DU Battery Saver (only app i installed) on my phone but every 2 or so minutes, my battery is draining by 1%. last night i charged it to 100% (without apps running in the background), and when i woke up in the morning its already 90%. what should i do?
As Kippy51 already suggested, I would try to NOT use any battery optimizing app like DU Battery Saver or Greenify. This ROM has a feature called 'doze' (which was introduced together with Marshmallow) that will do the battery optimization. It might interfere with other battery optimizing apps causing huge battery drain. I do not use any battery optimization app and I have a great battery live with this ROM, so doze seems to do its job well.
 

FRANQ_23_PL

Senior Member
Mar 14, 2010
228
6
0
Gorzów Wielkopolski
Can someone extract kernel from newest build? I flashed Side's kernel and I have fixed charge current (1900mAh) info on lock screen, where in original kernel it shows real-time current. I enabled this feature in settings.
 

Attachments

  • Screenshot_20170219-134727.jpg
    Screenshot_20170219-134727.jpg
    134.6 KB · Views: 372

63ck0

Senior Member
Jan 13, 2017
257
209
0
I have download Doze from play store , so i dont need them?

Enviado do meu GT-I9505 através de Tapatalk
As already said, doze is built in (since Marshmallow), you do not need any additional app(s) to activate it. I would recommend to NOT use any battery optimizing app or additional doze modification. The built in doze will do the battery optimization, and it might interfere with other battery optimizing apps.
 
  • Like
Reactions: faria1110

Relay85

Member
Feb 3, 2017
28
5
3
Pretoria
Hi buff99 and everyone.
How you all doing? I just wanted to report on my situation .The rom still runs great but I have a pThanks though. My cpu is underclocked to 1.1ghz and undervolted on all frequencies, but my phone gets hot as hell when playing games or even just when I use uc browser to browse the net.The screen becomes so hot that it burns my finger.
1.Do anyone have some advice to give me please I am at a loss atm?
2.What is the difference between enforcing and permissive in selinux? 3.Which is the best setting enforcing or permissive?
4.What is the default setting for selinux in this rom?
I flashed the kernel which you recommended me @Buff99 but it doesnt seem to have zram or any virtual ram settings, or I am just 2 blind to see it.
I am still waiting for side to reply to my post. I just want to know why my phone gets hot like this, I have adjusted the thermal setting to 60 degrees but it doesnt seem to throttle the cpu to cool down.
Please @Buff99 or someone experienced can you advise me on what I can do.
Thanks

Is there no one that can give me advice on this post? Really.....
 

Rhoban

Senior Member
Jan 8, 2015
4,739
1,567
253
Dobra
Is there no one that can give me advice on this post? Really.....

There's nothing you can do about the heat. The S4 was simply designed badly.
So you either live with it or don't use the phone (this is pretty much the most effective way to keep it cool).
You can lower frequencies all you want, but it will only make your phone slower and it will feel more like an S2.
 

Buff99

Senior Member
Apr 16, 2009
1,945
5,864
153
Hi buff99 and everyone.
How you all doing? I just wanted to report on my situation .The rom still runs great but I have a pThanks though. My cpu is underclocked to 1.1ghz and undervolted on all frequencies, but my phone gets hot as hell when playing games or even just when I use uc browser to browse the net.The screen becomes so hot that it burns my finger.
1.Do anyone have some advice to give me please I am at a loss atm?
2.What is the difference between enforcing and permissive in selinux? 3.Which is the best setting enforcing or permissive?
4.What is the default setting for selinux in this rom?
I flashed the kernel which you recommended me @Buff99 but it doesnt seem to have zram or any virtual ram settings, or I am just 2 blind to see it.
I am still waiting for side to reply to my post. I just want to know why my phone gets hot like this, I have adjusted the thermal setting to 60 degrees but it doesnt seem to throttle the cpu to cool down.
Please @Buff99 or someone experienced can you advise me on what I can do.
Thanks

Hi Relay, sorry was a bit busy.

I'm really not sure why your phone would be so hot while under clocked / volted. Generally when the phone gets very hot it's all processors stuck on that causes it. This could get caused by a bug that causes the processors to continually run at maximum power (a race condition). I don't know whether this would occur in your case. Install an app like kernel adiutor to see what is happening with processors running when this happens. UC browser has been pointed to in the past as being quite memory intensive.

Selinux is a set of rules that dictate what apps, processes, drivers etc. are permitted to do to a very fine level of detail. You want the SE Linux rules as strict as you can to stop security problems, but relaxed enough to enable you to do what you need. Enforcing strictly applies the rules. Permissive does not apply the rules but does log any instances where a rule would / should have applied. You can find things that don't work under enforcing that will work with permissive. When setting up a rom initially a dev will run in permissive to get a log of areas to apply rules to. As a user you want to be enforcing UNLESS you have something that specifically needs to run under permissive. SElinux in all roms defaults to enforcing, even stock non-rooted ones.

There are few / no options currently for alternative kernels with nougat, I thought that Side's would have Zram enabled but am obviously wrong. Have you asked him if it something that he would consider, even if he put it in place disabled, so you could switch it on with a kernel app?

are you even sure that kernel settings for clock / voltage / throttle temp you are changing are applying?
 
  • Like
Reactions: TheWooky

Top Liked Posts

  • There are no posts matching your filters.
  • 221
    56593d8991.png
    Resurrection Remix 5.8.5
    Samsung Galaxy S4 i9505 (jfltexx)
    Release 40 - 23rd March 2018
    Code:
    #include 
    /*
     * Your warranty is now void.
     * And other random stuff no-one reads.
     */
    Intro

    This is a straight port of Resurrection Remix with a tweaked kernel for Galaxy S4 i9505.
    It is based on Nougat 7.1.2_r36 and nightlies of LineageOS 14.1 and Resurrection Remix from 20th March.
    Security updates up to 20th March are applied, including Kernel.
    OMS / Substratum is the integrated theme engine since Release 12.
    Magisk is the integrated root and system modification hiding solution since Release 18.
    Since Release 37 only the Rootless build is distributed.​
    Features
    Code:
    ● navigation bar ▼
    - enable/disable navbar
    - navbar colour tint
    - navbar button customisation smart bar
    - navbar pulse 
    - navbar fling            
    - double tap to sleep navbar
    
    ● status bar ▼
    - brightness slider
    - enable / disable show notification count
    - superuser indicator switch
    - double tap to sleep status bar
    - carrier label  
    - carrier label switch
    - carrier label colour
    - carrier label size
    - clock customisation's
    - time & date
    - day & date toggle
    - centre / right / left clock choice
    - date format
    - clock font styles
    
    ● battery ▼
    - battery bar customisation
    - battery icon customisation (circle / landscape / portrait and more)
    - battery % text
    
    ● network traffic indicator ▼
    - network traffic arrows switch
    - incoming / outgoing traffic
    - network traffic colour
    
    ● status bar RR logo ▼
    - RR logo colour
    - position
    
    ● custom logos ▼
    - logo colour
    - position
    - style
    
    ● status bar weather ▼
    - weather colour
    - weather position (left / right)
    - weather font style
    - weather size
    
    ● status bar ticker ▼
    - ticker text colour
    - ticker icon colour
    
    ● animations ▼
    - toast animations
    - list view animations
    - system animations
    - qs tile animations
    - power menu animations
    - misc animations
    
    ● gestures ▼
    - gestures anywhere feature
    - 3 finger swipe screenshot gesture
    
    ● app circle bar ▼
    - choose apps in app sidebar
    - trigger width
    - trigger height
    - trigger position
    
    ● app sidebar ▼
    - choose apps in app circle
    - trigger width
    - trigger height
    - trigger position
    
    ● pie control ▼
    - pie trigger (left / right / bottom)
    - pie targets
    - pie colours
    - more pie features
    
    ● recents panel ▼
    - clear all button switch
    - clear all tasks switch
    - clear all button location (top right / top left / top centre / bottom left / bottom right / bottom centre)
    - full screen recents
    - recents styles
    - omniswitch
    
    ● cclock widget ▼
    - clock and alarm customisation's
    - weather panel customisation's
    - calender events
    
    ● lockscreen ▼
    - lock screen bottom shortcuts
    - lock screen general shortcuts
    - 100+ icons for shortcuts
    - double tap to sleep lock screen
    - lock screen media art / enable disable
    - quick pin / patter unlock
    - lockscreen wallpaper
    - lock screen weather widget
    - lock screen icons colour
    
    ● quick settings draggable tiles ▼
    - customisable tiles
    - dynamic tiles adjustment
    - number of columns / rows
    - tile animations
    
    ● notification drawer ▼
    - task manager
    - custom headers
    - long press toggles to enter settings
    - disable immersive mode messages
    - force expand notification
    - quick pull-down
    - smart pull-down
    - notification panel transparency
    - volume dialog transparency
    - notification panel stroke
    - volume dialog stroke
    
    ● buttons ▼
    - back-light timer
    - back-light strength
    
    ● advanced reboot menu ▼
    - power off
    - reboot (recovery / boot-loader / hot reboot)
    - screen-shot
    - power menu end calls switch
    - restart systemui
    - aeroplane mode
    - screen record
    - on the go mode
    - sound panel
    
    ● home button (for devices with hw keys only) ▼
    - home button answer call
    - long press actions
    - double tap actions
    
    ● menu button (for devices with hw keys only) ▼
    - short press actions
    - long press actions
    
    ● search button (if device supports) ▼
    - short press action
    - long press action
    
    ● volume buttons ▼
    - wake up device
    - playback control
    - ringtone volume control
    - keyboard cursor control
    - swap buttons on landscape mode
    - volume key answer
    
    ● miscellaneous ▼
    - selinux switch (switch between permissive and enforcing selinux if device has selinux enabled)
    - clock shortcut
    - disable battery saver warning colour
    - ota updates
    - camera shutter sound enable / disable
    
    ● systemui tuner ▼
    - enabled by default
    - removed demo mode and tweaked systemui tuner as compared to aosp
    - status bar icons customisation's
    - quick settings customisation's
    
    ● other features ▼
    - performance profiles
    - lcd density
    - expanded desktop mode
    - heads up switch and customisation's
    - live display
    - configurable 0/90 / 180 / 270 degree rotation
    - lock screen auto-rotate switch
    - double tap power button to enable camera gesture
    - prevent accidental wake-up
    - wake phone on charging plug
    - battery light customisation's
    - notification light customisation's
    - font size
    - CM privacy guard
    - RR ota
    - CM root inbuilt
    - new RR configurations 
    - overall smoothness improvements
    - optimisation's to improve battery
    - includes all android nougat features
    - includes all CM14.1 features
    - and much much more ...

    Download

    Available releases:
    OLD:
    • Release 17 - 7.1.1, last CM root version.
    • Release 28 - 7.1.2, Magisk 12 root, July security updates.
    • Release 29 - 7.1.2, Magisk 13.3 root, July security updates.
    • Release 30 - 7.1.2, Magisk 13.3 root, August security updates.
    • Release 32 - 7.1.2, Magisk 14.0 root, September security updates.
    • Release 33 - 7.1.2, Magisk 14.2 root, September security updates.
    • Release 34 - 7.1.2, Magisk 14.3 root, October security updates.
    • Release 35 - 7.1.2, Magisk 14.3 root, October security updates, WPA_supplicant fixes.
    • Release 36 - 7.1.2, Magisk 14.3 root, October security updates, WPA_supplicant fixes.
    • Release 37 - 7.1.2 Rootless, November security updates, Krack fixes.
    • Release 38 - 7.1.2 Rootless, December security updates.
    • Release 39 - 7.1.2 Rootless, January security updates.
    CURRENT: Release 40 - New builds only from AFH going forward.

    Source code

    BuffCore kernel: here
    Buffs' common device tree: here
    RR code: here LOS code: here

    Build instructions (use old method) here

    All code in this rom is correctly forked / cherry picked / credited where not authored by Buff99.
    Anyone can use my repos if they do the polite thing and ASK PERMISSION FIRST - no use outwith this please.


    What does / doesn't work

    All hardware support issues will be the same as LOS / CM 14.1.

    DOES
    • GPS, orientation and acceleration work. GPS Status gets a good fix indoors.
    • Camera.
    • MHL video output.
    • OMS support integrated.
    • Magisk integrated.
    • You tell me.

    DOESN'T

    • GLONASS.
    • You tell me.

    Thanks / Credits

    Code:
    * Resurrection Remix core team, The extended team of RR maintainers 
    * CM team, LOS team, Omni team, Slim team.
    * XDA developers, AndroidFileHost, Sourceforge, Github.
    * Everyone who has contributed to LOS / CM on S4.
    * The [COLOR=Red]Buff99_RR_test_team[/COLOR] for help and support: 
    * [URL="https://forum.xda-developers.com/member.php?u=4204995"]Sjamie[/URL], [URL="https://forum.xda-developers.com/member.php?u=7995577"]63ck0[/URL], [URL="https://forum.xda-developers.com/member.php?u=4669592"]Rabbit48[/URL], 
    * [URL="https://forum.xda-developers.com/member.php?u=5978751"]-Sohail[/URL], [URL="https://forum.xda-developers.com/member.php?u=3750366"]Andy Hall[/URL], [URL="https://forum.xda-developers.com/member.php?u=7868788"]Frankv723[/URL]
    * Many thanks to [URL="https://forum.xda-developers.com/member.php?u=5968293"]Side[/URL]
    * The [COLOR=Red]OptLos_test_team[/COLOR] and JDCTeam.
    * Did I already thank [URL="https://forum.xda-developers.com/member.php?u=5968293"]Side[/URL]? Yes [URL="https://forum.xda-developers.com/member.php?u=5968293"]Side[/URL]. [URL="https://forum.xda-developers.com/member.php?u=5968293"]Side[/URL] MUST be thanked more than once.
    * TJsteveMX and Srisurya95 for their previous work.
    * DaveJimson, ReubenBrown13, Elv1503, Nxss4 - initial beta testing.

    XDA:DevDB Information
    Resurrection Remix Nougat for S4 i9505 (jfltexx), ROM for the Samsung Galaxy S4

    Contributors
    Buff99, side
    Source Code: https://github.com/ResurrectionRemix

    ROM OS Version: 7.x Nougat
    ROM Kernel: Linux 3.4.x
    ROM Firmware Required: Lollipop supporting bootloader and modem / non-hlos
    Based On: LineageOS

    Version Information
    Status: No Longer Updated
    Current Stable Version: Release 2
    Stable Release Date: 2016-11-27

    Created 2016-11-26
    Last Updated 2018-12-02
    94
    rR.png
    Installation

    Required for installation:
    Recovery - Latest version of TWRP - TWRP 3.1.1-0
    Firmware - Lollipop supporting bootloader and modem / non-hlos. Look in _Bon_Bon's great MODEMS and BOOTLOADERS collection
    Gapps - a latest version of Open Gapps 7.1. Either Pico / Nano or see Addons post #7 below about how to use a Config-Gapps file to customise a Super Gapps install​
    1st install - " clean install "
    • Make a full nandroid backup <always backup!>.
    • Properly remove previous root solution i.e. flash Magisk uninstaller and / or UnSU.
    • Fully wipe device.
    • Install Rom.
    • Install desired root solution if using Rootless.
    • Install Gapps.
    • Wipe Cache and Art / Dalvik.
    • Reboot.
    • Wait for 1st boot.
    • Enjoy.

    2nd and subsequent installs - " dirty flash "

    If you do not follow these instructions you will get install / boot problems.
    • Uninstall all Substratum overlays.
    • Make a full nandroid backup <always backup!>.
    • Properly remove previous root solution i.e. flash Magisk uninstaller and / or UnSU.
    • Wipe System, Cache and Art / Dalvik <wiping System is ESSENTIAL for Magisk>.
    • Install Rom.
    • Install desired root solution if using Rootless.
    • Install latest Gapps (Updating with latest Gapps for every dirty flash is A Good Thing).
    • Wipe Cache and Art / Dalvik.
    • Reboot.
    • Wait for App optimization.
    • Enjoy.

    Swapping between Magisk and Rootless builds
    Changing build types is as simple as following the full dirty install procedure, changing the root solution in the appropriate place.

    While dirty flashing may be possible for some updates, be prepared that progress sometimes means you will need to clean install updates!
    Nandroid backups are your friend!
    56
    Donators

    rR.png
    Donators
    - Hall of Fame -​

    Никита Перерослый
    Matthias Behr
    Bruno Mercier
    Quentin Vanduele
    Scott Dill
    Sean Higgins
    Jeremy Watts
    Andrew Swanson
    Kristopher Kolessar
    Andre Kuehne
    Jose Angel Palenque Plaza



    Many thanks for your generous donations !

    All donators are welcome to join the Buff99_RR_test_team and / or get access to beta versions built every couple of days, PM me for details.
    53
    rR.png
    Reporting bugs

    Proper reporting of issues will help me spend time productively fixing bugs rather than tail chasing vague issues.
    Please follow these guidelines.

    Reporting bugs
    If you wish to report an issue, then the onus is on you to prove the issue.
    • If you provide exact replication instructions, an idea of how often the issue occurs and logs that enable me to replicate the issue then a fix will be possible ("if you do action 1 then action 2 then action 3 you will find that bug X occurs 100% of the time").
    • If you give a vague complaint about an issue then I will not look at it without explicit replication instructions and preferably logs ("phone overheats when using CallOfDirty") .
    • Issues about overheating, battery life or performance should be backed up with information from relevant monitoring apps.
    • One-off issues generally do not get investigated unless they are well documented and have provided logs.
    • Issues that are specific to one piece of software will generally not get investigated without logs. I am not very keen on installing software to investigate bugs, especially if I need to create user accounts. If you can replicate the issue on more than one piece of software it will increase the chance of being fixed.
    • Issues to do with speaker or microphone related issues need to be explicit about which speaker and mic is in use (internal, head phones, earphones, bluetooth headset, Bluetooth speakers), whether normal earpiece or hands free mode is in use, Audio mods that have been installed. Logs may be helpful too.
    • Issues with media / streaming / playback should be provided with examples.
    • A picture is worth a thousand words; a movie is thousands of pictures. If you cannot describe your problem in words, post pictures or movies to help show your issue. The rom has in-built screen capture and screen recording tools, so please use them.
    • It can often be difficult to tell what is going on with logs from a fully loaded system. It can help a lot if you make a nandroid of your current system, format and then make a clean install, with gapps only if needed, and only the app that causes the issue - as minimal a system for replication as possible - then replicate the bug and capture logs. If I then have to replicate the issue I can easily replicate your system.

    If you want to send a full set of logs for a bug, I recommend using Syslog.
    • Perform some of the functionality that is bugged and then capture logs in the app.
    • If you have had a reboot then capture a set of logs immediately when the system reboots. If the last-kmsg file is empty then the logs are useless.
    • Type a brief description of the problem in the notes field and your XDA username .
    • Select to scrub personal information.
    • Upload it to a web based host (gdrive, dropbox, etc.) and PM the link to me.
    And remember:
    The Drill .... settings > configurations > about > the drill > logcat or GTFO
    LOGCATorGTFO.jpg
    41
    rR.png
    Latest changelist

    - Release 40 -
    Release-40-changelog.txt
    md5sum - a365b7177dc31c0b91e7dd85a4395d6d



    • Fixes to APN's and sensitive numbers.
    • Fix SELinux policy for MAX88920 calibration file
    • Updated translations.
    • Bump security patch level to 2018-03-05.
    Kernel: Buffcore 1.8.
    • Simple GPU governor added. Don't think it's any better than ondemand though, so not enabled by default.
    • Security fixes, bug fixes, crypto fixes.
    • March 2018 security updates applied for RR, LOS and kernel.
    • RR and LOS code grabbed at 12:00 GMT Tuesday 20th March.
    Please view the attachment for further details.

    Thanks to Buff99_RR_test_team for help and support: Sjamie, 63ck0, Rabbit48, -Sohail, Andy Hall, Frankv723
    Thanks to OptLos_test_team & Side
Our Apps
Get our official app!
The best way to access XDA on your phone
Nav Gestures
Add swipe gestures to any Android
One Handed Mode
Eases uses one hand with your phone