Treblization - Moto G4 Plus Questions & Answers

Can we treble G4 plus by using the /oem folder as /vendor or use the below tool?
https://forum.xda-developers.com/pr...-t3774629/post76602056?nocache=1#post76602056
of course we have to wait till moto release Oreo first
@Jleeblanch

Related

request for android p gsi

request for android p gsi image build on android p dp4 or which ever dp sources are available for non pixel phones.
hope some developer start to work on this project soon.
Closed in 3, 2, 1...
Any update related to android p gsi...??
It is not possible since android P source code is not public yet.
cf: https://android.googlesource.com/platform/manifest/+refs
@sharky172 Thanks for posting it that way and with a link. I was actually wondering why I couldn't find any GSI info for P. Not asking for ETA, just curious on average when do the next release's sources show up online, when they officially announce the version or a little before?
Not yet, Android P sources aren't public, so we need to wait little more.
Good news for us, i found chat on telegram group. Mr. Erfan Abdi (who invented capire le treble/CLT) said that android p gsi is under development. For additional info, he had been release android p port developer preview 4 for motorola moto z.
He said p gsi is coming soon
Here's the proof
https://forum.xda-developers.com/moto-z/development/rom-android-p-developer-preview-t3786645
And i also screenshot his statement
yogasetyaadi said:
Good news for us, i found chat on telegram group. Mr. Erfan Abdi
Click to expand...
Click to collapse
can you share a link to the group?
Android-p-preview-4 manifest https://android.googlesource.com/platform/manifest/+/android-p-preview-4
DarkRisen said:
can you share a link to the group?
Click to expand...
Click to collapse
https://t.me/phhtreble
Aosp phusson group
ya i posted this thread after reading post on xda that a dev has tested android p gsi on some motorola phone.
if there is any gsi to test please post it in this thread. i mean for all phones
GSI ANDROID P PREVIEW DP3 ??
https://androidfilehost.com/?w=files&flid=275999
is this for arm 64 a only device
and what are instructions to flash as i see post gsi zips.
gello0 said:
GSI ANDROID P PREVIEW DP3 ??
https://androidfilehost.com/?w=files&flid=275999
Click to expand...
Click to collapse
gello0 said:
GSI ANDROID P PREVIEW DP3 ??
https://androidfilehost.com/?w=files&flid=275999
Click to expand...
Click to collapse
Where you get that link??
P DP3 semi-GSI - EXPERIMENTAL AND MOST LIKELY BROKEN
https://androidfilehost.com/?w=files&flid=275999
Requirements :
1) Qcom fully treblized device with 8.1 vendor
How to flash :
1) extract and flash P-DP3-sGSI.img.zip to system
2) mount vendor in TWRP
3) flash POST-sGSI zips from 1 to 3 in priority
4) reboot
if didn't worked post your logs(logcat and console-ramoops) here i'll come for help : @psemiGSI
Enable adb using this command in TWRP :
Linux/mac : cd ~/.android && adb push adbkey.pub /data/misc/adb/adb_keys
Win :
cd C:\Users\<userName>\.android\
adb push adbkey.pub /data/misc/adb/adb_keys
And take logs
godraxe said:
P DP3 semi-GSI - EXPERIMENTAL AND MOST LIKELY BROKEN
https://androidfilehost.com/?w=files&flid=275999
Requirements :
1) Qcom fully treblized device with 8.1 vendor
How to flash :
1) extract and flash P-DP3-sGSI.img.zip to system
2) mount vendor in TWRP
3) flash POST-sGSI zips from 1 to 3 in priority
4) reboot
if didn't worked post your logs(logcat and console-ramoops) here i'll come for help : @psemiGSI
Enable adb using this command in TWRP :
Linux/mac : cd ~/.android && adb push adbkey.pub /data/misc/adb/adb_keys
Win :
cd C:\Users\<userName>\.android\
adb push adbkey.pub /data/misc/adb/adb_keys
And take logs
Click to expand...
Click to collapse
You think this will work coming from open beta 13 in oneplus 5? And I have to flash all zips in twrp?
what is the partition type. is it a or a/b or ab
Is it working on redmi note 5 pro?
godraxe said:
P DP3 semi-GSI - EXPERIMENTAL AND MOST LIKELY BROKEN
https://androidfilehost.com/?w=files&flid=275999
Requirements :
1) Qcom fully treblized device with 8.1 vendor
How to flash :
1) extract and flash P-DP3-sGSI.img.zip to system
2) mount vendor in TWRP
3) flash POST-sGSI zips from 1 to 3 in priority
4) reboot
if didn't worked post your logs(logcat and console-ramoops) here i'll come for help : @psemiGSI
Enable adb using this command in TWRP :
Linux/mac : cd ~/.android && adb push adbkey.pub /data/misc/adb/adb_keys
Win :
cd C:\Users\<userName>\.android\
adb push adbkey.pub /data/misc/adb/adb_keys
And take logs
Click to expand...
Click to collapse
I flashed the image, then the 3 zips and when I reboot system it goes to fastboot mode.
Oneplus 5

My concept for guide of port treble

What do you think about my concept for porting guide treble to non treble devices ???? That was only sample , and I don't do test's on other devices than my . http://80.211.218.7/index.php/rom-porting-guide-for-no-treble-devices/?fbclid=IwAR0qi_JDP0i9tcvBGAcp7lRtNu9QwKWQEGNXm5TG5W9NfeFx1pcIcmxOmZ8 Who want to test ???? I'm waiting for your opinion
I am interested if anyone knows how to create Treble Support for Non-Treble Devices.
zombie_ryushu said:
I am interested if anyone knows how to create Treble Support for Non-Treble Devices.
Click to expand...
Click to collapse
I know . I say how in other than my thread . This method is universal for other devices too .
https://forum.xda-developers.com/xa1-ultra/development/g3221-built-sources-t3622886/page91#post79523146
MAREK10747 said:
I know . I say how in other than my thread . This method is universal for other devices too .
https://forum.xda-developers.com/xa1-ultra/development/g3221-built-sources-t3622886/page91#post79523146
Click to expand...
Click to collapse
Do you think you can try and see if its possible for the Blu Vivo 5?
zombie_ryushu said:
Do you think you can try and see if its possible for the Blu Vivo 5?
Click to expand...
Click to collapse
I don't know
what are you saying ..porting treble to non-treble already exist ...but you need to repartition the phone ..you need to make a repartition script ..you also need to create a vendor.img
KevMetal said:
what are you saying ..porting treble to non-treble already exist ...but you need to repartition the phone ..you need to make a repartition script ..you also need to create a vendor.img
Click to expand...
Click to collapse
who would I go too that has experience doing that?
I'd be interested, but unfortunately your webserver is no more available
Can you upload your stub guide somewhere?
No I cant reupload because I delete all data from my pc . Re partition ZIP is avalaible to download from XDA and my threads . This ZIP make vendor partition . Image of vendor you must make manually with permissions .
MAREK10747 said:
No I cant reupload because I delete all data from my pc . Re partition ZIP is avalaible to download from XDA and my threads . This ZIP make vendor partition . Image of vendor you must make manually with permissions .
Click to expand...
Click to collapse
Do you have any tutorial to point me on how to move the contents of /system/vendor to the vendor partition and any other necessary modifications (such in boot.img ramdisk/dtb) for GSIs to boot successfully?
KaMyKaSii said:
Do you have any tutorial to point me on how to move the contents of /system/vendor to the vendor partition and any other necessary modifications (such in boot.img ramdisk/dtb) for GSIs to boot successfully?
Click to expand...
Click to collapse
Tutorial don't exist. You need to use zip for create vendor , next step is mount new vendor , next step is mount system and copy files from /system/vendor to /vendor partition . If you device found bugs look for lib's in system . After prepare vendor partition , you need flash GSI and prepare kernel supporting and mounting /vendor as partition . Tables of partitions in kernel too .
link deead
MAREK10747 said:
Tutorial don't exist. You need to use zip for create vendor , next step is mount new vendor , next step is mount system and copy files from /system/vendor to /vendor partition . If you device found bugs look for lib's in system . After prepare vendor partition , you need flash GSI and prepare kernel supporting and mounting /vendor as partition . Tables of partitions in kernel too .
Click to expand...
Click to collapse
Gonna try this on a Huawei P8 Lite. Wish me luck as the USB port has its data pin ripped clean off
I know . I say how in other 8rental.com than my thread

[Development] ZTE Avid Plus System Dump Z828WV1.0.0B03

This is a /system dump for the ZTE Avid Plus z828 which contains all of the apps to vendor files etc...
I wanted to share this so someone who wants to build for this device, somebody who need some proprietary files or to find vulnerabilities to gain root for this device.
I am working on Lineage 14.1 and the vendor files are necessary to build for this device...
NOTE: This is NOT a stock ROM, but rather theese are all of the /system partition files.
Folders:
app/
bin/
etc/
fonts/
framework/
lib/
lib64/
media/
priv-app/
tts/
usr/
vendor/
xbin/
Download here: https://drive.google.com/file/d/1G7CabXBjCM5VNUB2pIrFhV5Ba6Xws5Rp/view?usp=sharing
)))))) Lineage ROM!: https://forum.xda-developers.com/android/software/rom-lineage-os-14-1-unofficial-zte-avid-t4079489

[TOOL][SCRIPT][A520X|A720X] Repartition tool for treble support

Repartition tool for A5 and A7 2017
Disclaimer
Code:
I am NOT responsible for bricked devices or any damage that may happen to your device.
Repartitioning is a dangerous process and may brick your device in the worst case.
Features
This script will set 64MB for your /cache partition and ~4.6GB for your /system partition (The size of /system may be smaller or bigger depending on which variation of A5 and A7 is used)
The script will create a new partition called "vendor" with a size of 300MB
Only /system and /cache will be deleted during the flashing process, your /data partition keeps untouched
Flashing the script for a second time after already having it flashed will delete the /vendor partition and restore your stock partitions
You will still be able to install any recent ROM (Note that A720S may be unable to install any recent ROM. Contact me if you have problems)
TWRP, SHRP and Orangefox are supported
Installation
Make a backup of all your partitions first in case something goes wrong. Repartitioning is a dangerous process!
Make sure to have the latest version of TWRP/SHRP/Orangefox installed before installing this script.
Download the Repartitioner from post #2
If you only want to patch your recovery but already have the /vendor partition, download the RecoveryPatch from post #2
Flash the installer zip and wait until it is finished. It will add the necessary partition, patch your recovery and automatically reboot you to recovery if the installation is successful.
After reboot, make sure that /system, /cache and /vendor are mountable. If not, format them. (See a How-To in FAQ in post #3)
Congratulations, your device now supports treble!
Downloads
Find them in post #2
Support and FAQ
Telegram Group
FAQ (Frequently asked questions)
Credits
Me for the time I spent on this
@corsicanu for his template script
@Reverant for the original repartition script
@osm0sis for AnyKernel
Telegram users for testing
XDA:DevDB Information
[TOOL][SCRIPT][A520X|A720X] Repartition tool for treble support, Tool/Utility for the Samsung Galaxy A Series 2017 A3, A5, A7
Contributors
Simon1511
Version Information
Status: Stable
Created 2020-09-08
Last Updated 2020-09-09
Downloads
v1.2
Repartitioner: Google Drive | Androidfilehost (Will resize your partitions AND patch recovery)
RecoveryPatcher: Google Drive | Androidfilehost(Will ONLY patch your recovery for treble support. Flash this if you upgrade from an older version.)
Changelog
Spoiler
v1.2
Spoiler
Removed TWRP version check
Added support for SHRP and Orangefox
v1.1
Spoiler
Fixed a typo that prevented the script from creating new partitions on A720F and korean A5 variants
v1.0
Spoiler
Initial release
Reserved
FAQ (Frequently asked questions)
I cant mount /system, /cache or/and /vendor. What do I do?
->In recovery, go to Wipe, Advanced Wipe, select the partition you have problems with and tap "Repair or Change File System". Choose "Change File System", choose EXT4 and confirm the process. Reboot to recovery again to complete the process.This may be slightly different depending on which recovery you are using.
Restoring my /system backup always fails! What do I do?
->This seems to be a general TWRP problem. To fix, wipe /system, reboot to recovery, install the ROMs zip you had installed before, reboot to recovery again and restore your backup.
I have an A720S and cant install any recent ROM! Why?
->A720S has the smallest /system partition of all A5 and A7 variants and Lineage and every other ROM currently has its stock partition sizes set. Just flash the repartition ZIP again to revert the changes and contact me so we can resolve this problem.
How do I upgrade from an older version to the latest?
->The latest version doesn't change anything in terms of partition size. Therefore, you don't need to upgrade unless you have any issues.
How do I patch my recovery to support treble?
->Download the "RecoveryPatch" ZIP from the download section above and flash it in recovery. It will patch your recovery to support treble. If you want to switch to non-treble recovery, flash the recovery IMG/ZIP or the RecoveryPatch ZIP again.
reserved
in a720f can't format or mount /system, /cache or/and /vendor
says unable to wipe them
error changing file system
After second time installing "repartitioner-v1.0-a57y17lte.zip" reverse process fails to restore /cache partition to first /cache
matkali said:
in a720f can't format or mount /system, /cache or/and /vendor
says unable to wipe them
error changing file system
After second time installing "repartitioner-v1.0-a57y17lte.zip" reverse process fails to restore /cache partition to first /cache
Click to expand...
Click to collapse
Did you have TWRP 3.4 installed before installing the repartition script?
If not, thats likely to be the cause.
Also, dont forget to format /system, /vendor and /cache after installation.
Simon1511 said:
Did you have TWRP 3.4 installed before installing the repartition script?
If not, thats likely to be the cause.
Also, dont forget to format /system, /vendor and /cache after installation.
Click to expand...
Click to collapse
yes I do all of them
matkali said:
in a720f can't format or mount /system, /cache or/and /vendor
says unable to wipe them
error changing file system
After second time installing "repartitioner-v1.0-a57y17lte.zip" reverse process fails to restore /cache partition to first /cache
Click to expand...
Click to collapse
Yeah same issue here,. A720F
deleted
Updated the script to fix A720F and korean A5 support.
Sorry for the circumstances.
Downloads can be found in post #2
UPDATE
repartitioner v1.2: Google Drive | Androidfilehost (Will resize your partitions and patch recovery)
RecoveryPatcher: Google Drive | Androidfilehost (Will ONLY patch your recovery for treble support)
Changelog
Removed TWRP version check
Added support for SHRP and Orangefox

Treble

As you may know, Android 8 introduced a lot of new features
Including a new feature called "Treble" which is supposed to reduce the time taken to do updates. But how?
Now let me explain a little bit
Every Android version ever made has a folder called Vendor which has all the things needed to be able to let Android communicate to your phone's hardware.
Now after android 8 that same Vendor underwent a few changes.
First being: Now it is a partition in root not a folder in /system
Second: All phones launching with oreo should support treble.
And finally: Now android will always look for /vendor not /system/vendor
So what does this mean for us well this means that because LG and other manufacturers that don't support treble are using a symlink to /system/vendor so we can move /vendor (Copy in this case as if it dosent work I can revert back to normal). But it isn't as simple as that. As of now, I don't know how to make new partitions in the android root. So what other treble porters have done is to make /oem which is mainly empty and free as the vendor and we do have a /oem that is empty and free.
Step three(Doing the hard things)
So I made a flashable zip with only a META-INF and with a shell script to copy and the updater-script to set permissions and make the needed symlink.
Step 3.5 (flashing it)
Does it boot now?
Yes, but with a twist android undo's all my changes and proceeds to boot meaning it is like i did absolutely nothing.
And the old symlink is still there can someone please help me with these problems
In short please help in bringing unofficial treble to the LG V20 on stock oreo or any rom. I will be fine with testing it on my device no problems with that
[email protected] said:
As you may know, Android 8 introduced a lot of new features
Including a new feature called "Treble" which is supposed to reduce the time taken to do updates. But how?
Now let me explain a little bit
Every Android version ever made has a folder called Vendor which has all the things needed to be able to let Android communicate to your phone's hardware.
Now after android 8 that same Vendor underwent a few changes.
First being: Now it is a partition in root not a folder in /system
Second: All phones launching with oreo should support treble.
And finally: Now android will always look for /vendor not /system/vendor
So what does this mean for us well this means that because LG and other manufacturers that don't support treble are using a symlink to /system/vendor so we can move /vendor (Copy in this case as if it dosent work I can revert back to normal). But it isn't as simple as that. As of now, I don't know how to make new partitions in the android root. So what other treble porters have done is to make /oem which is mainly empty and free as the vendor and we do have a /oem that is empty and free.
Step three(Doing the hard things)
So I made a flashable zip with only a META-INF and with a shell script to copy and the updater-script to set permissions and make the needed symlink.
Step 3.5 (flashing it)
Does it boot now?
Yes, but with a twist android undo's all my changes and proceeds to boot meaning it is like i did absolutely nothing.
And the old symlink is still there can someone please help me with these problems
In short please help in bringing unofficial treble to the LG V20 on stock oreo or any rom. I will be fine with testing it on my device no problems with that
Click to expand...
Click to collapse
There was a thread on here awhile back about treble and as I recall it was eventually determined that treble wouldn't work on our phones
Sent from my LG-H910 using XDA Labs
cnjax said:
There was a thread on here awhile back about treble and as I recall it was eventually determined that treble wouldn't work on our phones
Sent from my LG-H910 using XDA Labs
Click to expand...
Click to collapse
Well that is really sad

Categories

Resources