[Galaxy Note5 Android Development] DarioRetr:
- T R E B L E Y -

Android Partition Treblerizer

A tool able to seamlessly create / remove the vendor partition from within TWRP​

INTRODUCTION

The creation of a tool able to create and remove the supplier partition from TWRP, so a computer was not required. So I created this flaming TWRP ZIP which can create and remove the vendor partition from the userdata system or partitions without a computer and without deleting the files in the mother partition in the recommended configuration.

Trebley, finally, also expands on our much loved Galaxy Note 5, bringing with it Project Treble on the much loved device.

The tool will try to resize the mother partition without deleting it, either during the creation and removal of the supplier partition. However, this can only be done when the mother partition is ext4, only when the supplier partition is at the end of the mother partition and when the mother partition is not encrypted. The recommended configuration is the one that is obtained by selecting the first option in each option: subdividing 512 MB from the end of the system partition. A reboot is required after applying the patch to the partition table because the kernel needs to reload it before doing anything else.

REQUIREMENTS

Due to the use of a key detection binary, it is compatible only with ARM and ARM64 devices running TWRP. So far I have tested it in the Samsung Galaxy Note 5 but It should work in any compatible device. I made it this way so other legacy devices could transition to Treble ROMs + GSI, and Android Pie. Please let me know about other devices using this tool!!!!!

INSTALLATION

WARNING, THIS SOFTWARE COULD WIPE ALL THE DATA IN YOUR DEVICE, INCLUDING THE INTERNAL STORAGE.

IT REQUIRES TWRP CUSTOM RECOVERY IN AN UNLOCKED DEVICE, OTHERWISE YOUR DEVICE COULD BE BRICKED AND IF YOU FOLLOW MY STEPS BELOW, YOU WILL LOSE YOUR WARRANTY, KNOX WILL DISPLAY 0x1! I'M NOT RESPONSIBLE FOR ANY DAMAGED DEVICE!.

!!! Whatever you do, it is at your own risk !!!

Either for creating or removing a vendor partition, follow these steps:

1. Download the TWRP ZIP tool to your External SD card.

2. Boot to TWRP recovery, under Install, flash the ZIP file as any other ROM or MOD file to execute the tool.

3. Reboot to recovery again to ensure the changes are applied properly.

4. In some cases you will need to format the mother partition after adding or removing the vendor partition next to it.

CREATE A VENDOR PARTITION:

So far these are the available options:

Mother partition selection: system / userdata

Split position: Splitting from the end / start of the mother partition.

Vendor partition size: 512 / 915 MB

REMOVE THE VENDOR PARTITION:

Should a Vendor module already exists, Trebley offers to remove it, returning to a Non-Treble partition table. It will return the space to the mother partition, system or userdata. So, older non Treble ROMs could be flashed after the mandatory reboot.

DOWNLOAD

Trebley_APT_v1.0_ARM_20190215-signed.zip

SOURCES

All rights reserved to the project: Party and its creator(@Oki).

CAUTION

Currently, we recommend the use of Trebley, exclusively to developers, as until now there has been no development of material related to the project treble, this project lays the foundations creating the partition vendor, for the support treble.

CREDITS

@someone755 for the keycheck binary

@Zackptg5 for the V4A install script that inspired my version.

@Oki for the base script.

XDA:DevDB Information

[PARTITION][TREBLE] Project Treble for Samsung Galaxy Note 5 [SM-N920F][15.02.2019], Tool/Utility for the Samsung Galaxy Note 5

Contributors

DarioRetr

Source Code: https://xdaforums.com/axon-7/development/tool-party-v0-1-vendor-partition-t3831517

Version Information

Status: Alpha

Current Stable Version: V1.0

Stable Release Date: 2019-02-26

Current Beta Version: V0.5

Beta Release Date: 2019-02-15

Created 2019-02-19

Last Updated 2019-02-19