[Android General] heineken78:
03.06.18 Unified treble rom v3. for Sharp Aquos S2 (SS2/SAT)

NOTES BEFORE YOU GO:

This ROM pack is based for flashing via OST. After flashing you will be not able to flash anytning via OST. Only way to return to OST is to flash included zip with old bootloader from TWRP.

ROM pack is intended for Sharp Aquos S2 (model SS2 and SAT) with UNLOCKED BOOTLADER in case of using with LOCKED BOOTLOADER I warn you- if you damage boot partition or flash it with non working twrp -phone will stuck in Download mode- only way to unbrick is to open phone cover to disconnect battery.

READ FIRST PAGE HOW TO UNLOCK BOOTLOADER

Everything you do you do on own risk.

you can unlock bootloader after flashing of trebled by this instruction (SS2 now only)

Pay attention to filenames: "SS2"- 4gb/64 model, "SAT"-6gb/128"

ROM's and updates for trebled v3

Updates, recovery and other files on next post :

https://xdaforums.com/showpost.php?p=76412381&postcount=288

Inluded recovery gives to you ability:

-to install treble system images;

-install vendor images updates;

-switch a/b systems ( you can have two different OS's preinstalled)

-install further updates without OST;

V3

Base:

-Android Oreo update S3 1320WW with gapps.

-Vendor and kernel SS2-2100CN, SAT-2120;

-modem SS2-135EWW, SAT-2120;

Build specifics and modifications:

- TWRP with a patched kernel for magisk;

- Encryption of data is enabled;

- Enhanced stock camera;'

- Modifications to SystemUI;

- Fix microphone mixer_path.xml (Vendor SS2 / SAT)

- Custom size of the status bar (see values in build.prop)

- Double tap to turn on / off the sensor button (SS2 / SAT kernel)

- Increased max. current for fast charging (kernel SS2 / SAT);

- Stepping for fast charging (SS2 / SAT kernel) is included (which gives an unknown);

- thermalconfig (vendor (SS2) - finally opened a big cluster (clamped completely by the manufacturer) - now the device absolutely does not lag. corrections in the configuration of charging;

- Disable fingerprint gestures in the soft key mode;

- Fingerprint navigation file moved to vendor/usr/keylayout to work with treble;

- Fix selinux associated with a bug of long camera loading when using magic and with third-party cameras (vendor SS2 / SAT);

- Disable signature verification of system applications;

- Fix selinux rights for modified applications with uid: 1000 (vendor SS2 / SAT);

- Other bug fixes siui and add functionality from s2 firmware.

- 100% firmware is ready to use treble images. Extremely not recommended with locked bootloader!

- Boot-complete fixes when using system treble image (vendor SS2 / SAT) previously encountered bug with reboot in Download Mode and wiping boot; (so far tried everything works)

To make Android Pay working (getting the "green" status safety.net):

-install Magisks.apk > press - Installation button> The 3rd (recommended method.) (it is necessary to do every time after the wipe date)

Specially for the Android Pay, the name of the model, model and fingerprint version are from s3, necessary for checking safety.net

s2 with Oreo were not certified in Google, which explains the absence of ww firmware- explains why treble images wont work with Android Pay too

Bugs:

Only treble roms with pin or pattern enabled, will be asked for unknown pincode in twrp recovery.

How to downgrade of update this rom after v1, v2 to use OST:

Flash this old bootloader file SAT-Bootloader_old_service.zip for SAT and SS2-Bootloader_old_service.zip from twrp

OBNLY AFTER -flash for example 135E for OST for SS2 or 127N for OST for SAT, so after you will be fully on stock Android 7.1

How to install:

1. Unlock bootloader (if you not able to unlock -read warning above)

2. Download OST portable and run launch.exe. It will install all needed drivers. https://drive.google.com/open?id=1X9sihCc_RzTfSe6PhW9saZbnRsMLK4j7

3. Download V3.1 nb0 for SS2 https://drive.google.com/open?id=1n4lAZDlgjiEigyWSH5IKBMXxdK6wweFS

3. Download V3.1 nb0 for SAT https://drive.google.com/open?id=1akaE0FATlN18glFQI5P06Oa5-h4flPNO

4. Enter "Download mode" (Hold Vol down + power at reboot while connected via usb OR "adb reboot bootloader" via usb debugging

5. Install from OST with options : Normal Download, Erase data