[MOD] Low-RAM Property Patcher for Android

AdrianDC

Recognized Developer
Dec 22, 2009
2,206
12,943
208
Île-de-France
adriandc.github.io
Code:
#include <std_disclaimer.h>
/*
 * 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 ROM
 * before flashing it! YOU are choosing to make these modifications, and if
 * you point the finger at me for messing up your device, I will laugh at you.
 */


About the project
Low-RAM Property Patcher is made to give Android Oreo users an easy control
over the low-ram property from the Go configuration, responsible for the UI changes of Go.

Its purpose is to simply enable or disable the low-ram property from the build.prop,
but also to retain this user decision through the ROM upgrades (new releases, OTA)...

Users just need to flash the patcher to enable or disable the low-ram property on their system,
and to ensure the future ROM upgrades will retain this choice, just like GApps thanks to backuptool.

Developers should get less requests to compile with or without Go just because one user
wants to have a feature (multitasking for example) re-enabled or to force low-ram changes.

The target system is Oreo, but the low-ram property was introduced since Android KitKat 4.4,
therefore it should work on other versions, unless the ROM developers (official Stock OEM, custom ROMs, ...)
did not validate the low-RAM UI changes (recent apps UI mostly) against the additions they made.

Features affected by the low-ram property: Flat recent / multitasking UI,
multi-users disabled, high-end graphics disabled, less recent apps cache,
multi-windows disabled, minor notification icons changes, less logger buffer sizes (devs),
no apps notifications access / zen access / VR listeners / picture in picture (PIP) accesses.​


Downloads (Custom / patched ROMs only)
android_lowram_[enabler/disabler].zip : Download from MEGA



Other related useful projects
Android Bootimage ADB Unsecure Patcher - http://forum.xda-developers.com/-/-t3618558


Source code
Project sources: Standalone scripts built around backuptool​



Low-RAM Property Patcher created also thanks to :
- Everyone involved in testing it​


XDA:DevDB Information
Low-RAM Property Patcher, Tool/Utility for the Android General

Contributors
AdrianDC

Version Information
Status: No Longer Updated

Created 2018-01-18
Last Updated 2020-08-15
 

AdrianDC

Recognized Developer
Dec 22, 2009
2,206
12,943
208
Île-de-France
adriandc.github.io
Reserved

Changelog
Code:
Low-RAM Property Patcher - 18/01/2018
======================================
* Initial public release on XDA

Related Low-RAM UI differences
 

Attachments

Last edited:

Velogr1992

Senior Member
Mar 20, 2013
225
142
0
Athens
Aosp extended Nougat?

---------- Post added at 11:13 PM ---------- Previous post was at 11:13 PM ----------

Working on Nexus 5X Android Oreo 8.1
Its Only for 8.1 Oreo i think. so AospExtended 8.1 (Oreo)

edit: apparently it works to many android versions
 
Last edited:

AdrianDC

Recognized Developer
Dec 22, 2009
2,206
12,943
208
Île-de-France
adriandc.github.io
This only works for Oreo ROMs as SystemUI crashed when tried in Nougat ROMs.
It will work on Nougat or 4.4+ regardless, only if the ROM officials developers or the custom ROM maintainers ever tested the low-ram property UI changes or if it's barebone AOSP.

Sony for instance did not test it on their brand new Stock Oreo (tested on Xperia X Performance) and the recent apps UI crashes SystemUI as the specific UI was not adapted / tested with their additions. Clearly such devices were never meant to see the light of that property but it's an interesting fact.
 

joeyhuab

Recognized Developer
Nov 5, 2012
2,981
12,283
203
26
Antipolo
evolution-x.org
It will work on Nougat or 4.4+ regardless, only if the ROM officials developers or the custom ROM maintainers ever tested the low-ram property UI changes or if it's barebone AOSP.

Sony for instance did not test it on their brand new Stock Oreo (tested on Xperia X Performance) and the recent apps UI crashes SystemUI as the specific UI was not adapted / tested with their additions. Clearly such devices were never meant to see the light of that property but it's an interesting fact.
Thanks for the clarification. I guess the newer built custom ROMs have the UI changes available.

Sent from my Wileyfox Swift using XDA Labs