Code:
Your warranty is now void.
Should anything happen to your device, I will be there to help you,
but I won't be responsible for any damage on your device.
before flashing it! YOU are choosing to make these modifications
This is a flasheable zip that makes the Galaxy A5 and A7 (2017 Series) Treble capable
What does the zip do?
if you flash it once it deletes the system partition and creates 2 new partitions:
system ~4.1Gb
vendor 600Mb
and installs modified TWRP for Treble
if flashed again, it will erase vendor and system partitions and create a single system partition ~4.7Gb (stock) plus reinstall TWRP stock version.
What doesn't the zip do?
this zip does not add the necessary files for Project Treble, it only creates the necessary partitions
Notes:
repartitioning is an extremely dangerous process, I have personally tested it on an A720F and the Muhamet User has confirmed its operation on an A520F.
for now the zip is only useful for developers because we do not have a vendor partition usable so far
Special thanks to:
Corsicanu for stock TWRP
CosmicDan for the repartitioning guide
Muhamet for Trying it on his A5
Downloads
Repartition_Tool_A5-A7_2017.zip - TWRP 3.3.1-0
A7_TDKernel.img - Treble Debug Kernel (Based on HadesKernel 1.7)
XDA:DevDB Information
Treble Repartition Tool for A5 - A7 (2017), Tool/Utility for the Samsung Galaxy A Series 2017 A3, A5, A7
Contributors
Reverant
Version Information
Status: Testing
Created 2019-06-15
Last Updated 2019-09-01
What does this zip?
Repartition all partitions?
A bit more information in OP thread would be nice
Wher is the zip??
Simon1511 said:
What does this zip?
Repartition all partitions?
A bit more information in OP thread would be nice
Click to expand...
Click to collapse
I assume so. You can also do this with parted.
Simon1511 said:
What does this zip?
Repartition all partitions?
A bit more information in OP thread would be nice
Click to expand...
Click to collapse
no at all, only modifies the system partition, your other partitions like "data" will be untouched
Honestly, this seems promising.
But, does the vendor partition remain empty, or does this copy the vendor files to there, so we can install treble ROMs?
Or we should flash a treble ROM that's made for our device specifically so it fills that hole? Or maybe some other way? That part is a bit unclear. In short, how does the vendor partition get filled?
Also, you mentioned treble TWRP. Where did you get it? Did you make it? What version is it?
Thanks for your patience about this
sheepkill15 said:
Honestly, this seems promising.
But, does the vendor partition remain empty, or does this copy the vendor files to there, so we can install treble ROMs?
Or we should flash a treble ROM that's made for our device specifically so it fills that hole? Or maybe some other way? That part is a bit unclear. In short, how does the vendor partition get filled?
Also, you mentioned treble TWRP. Where did you get it? Did you make it? What version is it?
Thanks for your patience about this
Click to expand...
Click to collapse
Yes, you need a treble rom or vendor files and a different boot image. Then it's ready for gsi's. Treble twrp can be compiled similar to "normal" twrp. So someone needs to build a treble rom. You?
SnowFuhrer said:
Yes, you need a treble rom or vendor files and a different boot image. Then it's ready for gsi's. Treble twrp can be compiled similar to "normal" twrp. So someone needs to build a treble rom. You?
Click to expand...
Click to collapse
Thought that was the case
Hehe, maybe I could, but I don't think I will
But well, we'll see what happens in the future.
I was trying to make a usable vendor partition, but I don know how exactly, and now I am studing, I am on a "walted 1 second for power, watling another", pelease be patient
the twrp was modified by me, its v3.2.3-1 , my conection intenet drops when I try to upload the zip
Soon I will edit the thread ading some of info
Reverant said:
I was trying to make a usable vendor partition, but I don know how exactly, and now I am studing, I am on a "walted 1 second for power, watling another", pelease be patient
the twrp was modified by me, its v3.2.3-1 , my conection intenet drops when I try to upload the zip
Soon I will edit the thread ading some of info
Click to expand...
Click to collapse
Any news??
We need this on your device please. Come to our rescue.
Thanks and looking forward
treble A5
tested on A5 2017 work fine but vendor partition can be mounted
soltan82 said:
tested on A5 2017 work fine but vendor partition can be mounted
Click to expand...
Click to collapse
yes, you need a moded kernel to mount it, i have one, but for A7.
Reverant said:
yes, you need a moded kernel to mount it, i have one, but for A7.
Click to expand...
Click to collapse
Do for A5 please
Please update
Moddingexpert1988 said:
Please update
Click to expand...
Click to collapse
Why? Theres no need for an update.
Also, stop asking for updates everywhere, thats against the XDA rules.
Simon1511 said:
Why? Theres no need for an update.
Also, stop asking for updates everywhere, thats against the XDA rules.
Click to expand...
Click to collapse
Gsi not working,because don't have treble vendor
Moddingexpert1988 said:
Gsi not working,because don't have treble vendor
Click to expand...
Click to collapse
You mean you have no vendor partition?
You have TWRP that came with it installed and you can see/mount the vendor partition in the recovery? If so, theres nothing wrong with this script.
Simon1511 said:
You mean you have no vendor partition?
You have TWRP that came with it installed and you can see/mount the vendor partition in the recovery? If so, theres nothing wrong with this script.
Click to expand...
Click to collapse
No what I'm trying to say is that the vendor partition is empty and I would like you to update it for that
Moddingexpert1988 said:
No what I'm trying to say is that the vendor partition is empty and I would like you to update it for that
Click to expand...
Click to collapse
Dude, did you even read the OP post?
It clearly says "...Does not add the neccessary files for Project Treble...".
This script only adds an empty partition, not the files needed for treble.
Related
Hi all,
I'm happy to share with you my new TWRP recovery 3.1.1-0 built from sources. It works for all XA Ultra on Nougat.
As before decryption of /data doesn't work so if you want a full backup or explore files use an unencrypted data partition.
Download link:
https://mega.nz/#!o1AiVBLI!IPuqtBZff6QlUgZYihmVZSvUDod0ys0XhUaxA9SXB-0
Flash it with fastboot.
Have a nice day
Only Nougat rom ?
rhabhab said:
Only Nougat rom ?
Click to expand...
Click to collapse
Yes
rrvuhpg said:
Hi all,
I'm happy to share with you my new TWRP recovery 3.1.1-0 built from sources. It works for all XA Ultra on Nougat.
As before decryption of /data doesn't work so if you want a full backup or explore files use an unencrypted data partition.
Download link:
https://mega.nz/#!o1AiVBLI!IPuqtBZff6QlUgZYihmVZSvUDod0ys0XhUaxA9SXB-0
Flash it with fastboot.
Have a nice day
Click to expand...
Click to collapse
Awesome
Root and install twrp in xperia xa ultra
youtu.be/WP6S9uBJPuU[/url]
Solution for all Xperia XA ULTRA FLASHTOOL ERRORS
Fsc script error solution
Clambake
Flash script not found error solution
Hi, i am interested to start development for devices, i've done app development in the past but i've never dabbled in ROM and Custom Recovery development. I've been reading on how to create ROMs and Kernels from source but it seems that a device/vendor tree is required. How did you build this recovery without the device tree? Thanks in advance.
DebugJammer said:
Hi, i am interested to start development for devices, i've done app development in the past but i've never dabbled in ROM and Custom Recovery development. I've been reading on how to create ROMs and Kernels from source but it seems that a device/vendor tree is required. How did you build this recovery without the device tree? Thanks in advance.
Click to expand...
Click to collapse
Hi, I created device and vendor trees from scratch. I used some parts of the Elephone P9000 trees and other devices with similar hardware.
rrvuhpg said:
Hi, I created device and vendor trees from scratch. I used some parts of the Elephone P9000 trees and other devices with similar hardware.
Click to expand...
Click to collapse
That's pretty cool that you can do that, I'm going to look into that, just installed a fresh install of Ubuntu on my PC and I hope to mess about with it for a bit :good::good::good:
hello,
Any update for twrp 3.1.1 ? others phone are on 3.2.3
THANK YOU FOR YOUR WORK ?
merci
Any update ? Thanks for this!
rhabhab said:
hello,
Any update for twrp 3.1.1 ? others phone are on 3.2.3
THANK YOU FOR YOUR WORK ?
merci
Click to expand...
Click to collapse
Hi, there is nothing more for our devices on 3.2.3 . The only thing is that the /Cache error when wiping is fixed.
Does this twrp work on 6.0?
Is there any way to root Xperia XA ultra without volume keys?
Our rosy had android N out of the box I wonder will it have treble support or not..?
There is a /cust partition that could be used to move vendor files but it needs work
I'm going to try to copy the files and flash a GSI image to see if it boots
Manosdocpap said:
There is a /cust partition that could be used to move vendor files but it needs work
I'm going to try to copy the files and flash a GSI image to see if it boots
Click to expand...
Click to collapse
Hi, what is a GSI image, if you don't mind answering...
iamboredatwork said:
Hi, what is a GSI image, if you don't mind answering...
Click to expand...
Click to collapse
GSI stands for Generic System Image, its an image made for treble supported devices
Manosdocpap said:
There is a /cust partition that could be used to move vendor files but it needs work
I'm going to try to copy the files and flash a GSI image to see if it boots
Click to expand...
Click to collapse
Tell us if it works
It works, but firmware is faulty.
Juanan and another dev have fixed mostly this faulty firmware
Manosdocpap said:
It works, but firmware is faulty.
Juanan and another dev have fixed mostly this faulty firmware
Click to expand...
Click to collapse
When will it be open for all to try the new GSIs..
When will the developers bring treble support to our device?
Thanks for your response
Android P treble also boots.
When you find some Oreo firmware blobs then you have your answer.
So can I flash the developer preview treble ROM of android p on my rosy ?
yeah, does the treble rom android p work for redmi 5, and is it buggy please? if someone can test and tell us what bugs it has or whether it works that would be great please
Manosdocpap said:
It works, but firmware is faulty.
Juanan and another dev have fixed mostly this faulty firmware
Click to expand...
Click to collapse
*Please* make a small tutorial explaining how to get treble working on Rosy.
Thank you.
Manosdocpap said:
It works, but firmware is faulty.
Juanan and another dev have fixed mostly this faulty firmware
Click to expand...
Click to collapse
How did you seperate vendor files? Did u copy them directly from system/vendor? Which files did u copy? Shed some light on the situation. Thanks in Advance. Keep up the good work
it would be great if someone could test it and tell us whether it works fine on our ROSY
Update 20180806:
There are many device-related bugs as we can see.
Different hardwares/softwares will cause different bugs on different devices, and there's probably no way to fix all of them just by modifying this port, but by porting it to devices respectively.
Anyone feel free to do it on your device and distribute your patches and ports based on this one.
Look into the P semi-GSI and system/vendor images from other P preview to get some idea.
WARNING:I‘m not responsible for any consequences at all.This is an OEM rom ported from Vivo X21 so it may cause wrong behaviors including partition overwritting and may brick your phone or break hardwares.I strongly recommend you take a completely full backup of your device and know how to recovery firmwares in case of any problems.
This is still in early stage and should be normal if some features are broken.
Only working on Qualcomm fully-Trebled deivces.[/B]
Known Bugs:
Keymaster not fully working on some platforms.(Lockscreen password may broken)
Features likely broken:
Advanced settings,fingerprint,SMS sending,ime
Almost Working in all deivces:
Boot
VoLTE
WLAN
BT
...
Install for A-only:
1.enable Treble ,flash a fully-trebled 8.1 rom
2.Extract FuntouchOS_P_port.7z to your TWRP backup folder (/.../TWRP/BACKUPS/$(yourserialnumber)/
3.Restore Funtouch OS /system with TWRP
4.flash patch zip
5.wipe data,flash fbe_disabler and Permissiver (from semiGSI thread) if needed for your device.
6.Reboot.
Normally it will boot to bootanimation.If it doessn't pass bootanim then take logs with
adb logcat > logcat.txt via PC.
NOTE: If you're stuck at logo , please make sure you can boot sGSI
Telegram Group:
https://t.me/funtouchosp
Credits:
Special thanks to @erfanoabdi
Vivo for ROM
Xiaomi for device
ChangeLog:
v3(20180729):IME Keyboard fixed.
Keymaster improved.
v2(20180727)ebloated /system to 2.8g
Major fixes about UI and vivo system services.
v1(20180727): Initial release.
Download
GDrive: https://drive.google.com/drive/folders/14RLFFu3mHDCdtOIzvH0IEDjZRZ_iZK_K?usp=sharing
BaiduNetdisk: https://pan.baidu.com/s/1KyzS0k_464BQSqOhQBjOQw pass: 8s5w
Older version:
v1:
ROM
https://drive.google.com/file/d/1WfcsihieEbFoypWxqW1K5DC-TOEFKDuk/view?usp=sharing
Patch
https://drive.google.com/file/d/1U58Cb42K0RgxoV9RXSC2boYqke6yPgm6/view?usp=sharing
ROM link is not working.
Hyapatia said:
ROM link is not working.
Click to expand...
Click to collapse
Me too
Download link updated!
fxsheep said:
Download link updated!
Click to expand...
Click to collapse
Ok I will try it,nice job:good:
SADLY MY SYSTEM 2.9GB
Redmi Note 4x
Lol which phone has more than 3Gb for system? Android only uses 1.x gb...
Hyapatia said:
Lol which phone has more than 3Gb for system? Android only uses 1.x gb...
Click to expand...
Click to collapse
My Xiaomi MI 6 ...
Okay...I'll release a debloated one later,need at least 3gb /system
fxsheep said:
My Xiaomi MI 6 ...
Click to expand...
Click to collapse
Yeah an exception cuz almost every device has 2.8-9-3gb system partition.
so big?
omarilzz said:
SADLY MY SYSTEM 2.9GB
Redmi Note 4x
Click to expand...
Click to collapse
me too:crying:
Hyapatia said:
Lol which phone has more than 3Gb for system? Android only uses 1.x gb...
Click to expand...
Click to collapse
My LG V30 with 6.x GB before i took 512MB off for a vendor partition xD
AB ???
……
system 3.4g and my device is huawei……
Sent from my Honor V9 using XDA Labs
SGCMarkus said:
My LG V30 with 6.x GB before i took 512MB off for a vendor partition xD
Click to expand...
Click to collapse
Have tested lol
Damn, that shows how ridiculously bloated some of OEM Roms are...
(my 5t has 2.9gb system, and it's rather clean out of the box)
NOT working on devices with /system smaller than 3.7G.
Slim-down Brother! so, everyone can use, remove all app which is available in playstore.
Thanks
where is selinux_disabler??
onism said:
where is selinux_disabler??
Click to expand...
Click to collapse
Permissiver.zip from semi-GSI thread
Download:
https://github.com/JarlPenguin/releases/releases/download/twrp3.3.1-3-cedric/twrp-3.3.1-3-cedric.img
Known issues:
Encrypted backups don't work
You tell me
Special thanks to:
@squid2 and @Akipe for their hard work on the montana & msm8937-common device tree
OmniROM and TWRP team
All other open source devs/teams I may have missed!
Sources:
Device Tree:
https://github.com/JarlPenguin/android_device_motorola_cedric-soham/tree/twrp-9.0
Kernel: https://github.com/Sohamlad7/android_kernel_motorola_msm8937/tree/twrp-treble
TWRP (Treble) for the Moto G5 (cedric).
XDA:DevDB Information
Unofficial TeamWin Recovery Project for Moto G5, Tool/Utility for the Moto G5
Contributors
JarlPenguin, Akipe, squid2
Source Code: [url]https://github.com/TeamWin[/URL]
Version Information
Status: Stable
Current Stable Version: 3.3.1-3
Stable Release Date: 2019-07-28
Created 2019-07-28
Last Updated 2019-07-28
Is this version of treble recovery allows us to flash Android Q treble version without any problems or not ?
basem bebarse said:
Is this version of treble recovery allows us to flash Android Q treble version without any problems or not ?
Click to expand...
Click to collapse
I haven't tested it. It should work fine
These are the commits I made for encryption on the official twrp
I haven't gone through your source in detail but you may find it useful for comparison of files
Github TWRP Encryption Commits
TheFixItMan said:
These are the commits I made for encryption on the official twrp
I haven't gone through your source in detail but you may find it useful for comparison of files
Github TWRP Encryption Commits
Click to expand...
Click to collapse
Yes, this TWRP is based off of squid2's trees (will fix history soon) with Nougat arm64 crypto blobs
one small question: is this the version for future LOS 16 builds? for 64bit builds?
kare_meesner said:
one small question: is this the version for future LOS 16 builds? for 64bit builds?
Click to expand...
Click to collapse
It's for both 32 and 64 bit builds.
what trebel rom we can install ?
If you try please share
Does this also work in Stock Rom?
TheBlob11 said:
Does this also work in Stock Rom?
Click to expand...
Click to collapse
This is a recovery image so you can flash it regardless of what rom you are using (you can flash 32 or 64bit roms with it)
However as you are on stock rom I would recommend sticking with my official twrp recovery especially if you use encryption due to encryption bug in this recovery
I wanted to use this to Switch to a 64bit Rom Rom for the first time. I have always been afraid, because i wouldn't be able to restore my stock backup. Would this be possible With this Recovery?
TheBlob11 said:
I wanted to use this to Switch to a 64bit Rom Rom for the first time. I have always been afraid, because i wouldn't be able to restore my stock backup. Would this be possible With this Recovery?
Click to expand...
Click to collapse
If you want to restore stock flash stock firmware via fastboot and then restore your backup using the twrp which created the backup
You can probably just restore the backup using the twrp that created it without flashing stock firmware first but just in case the custom rom alters anything that isn't restored with the backup
Make sure you backup efs partition just in case of a loss of imei
TheBlob11 said:
Does this also work in Stock Rom?
Click to expand...
Click to collapse
you need to unlock your bootloader and flash this TWRP for treble to work. i believe you then need to flash a rom which supports treble before you can flash your desired GSI
walidham said:
what trebel rom we can install ?
Click to expand...
Click to collapse
You need to install a treble-enabled ROM. Currently it seems like there are none on XDA.
@JarlPenguin It's cool to have an updated TWRP for 64 bit but please fix encryption.
Sent from my cedric using XDA Labs
nift4 said:
@JarlPenguin It's cool to have an updated TWRP for 64 bit but please fix encryption.
Sent from my cedric using XDA Labs
Click to expand...
Click to collapse
Encryption doesn't work on which ROMs?
No idea, I only read the OP + Thread history. The OP says that backup with encryption does not work and the thread history has no fixed or somewhat.
Sent from my cedric using XDA Labs
P.S.: This isn't meant as a "INSTANTLY DO THAT I WANT IT!", I can try to help but I have zero experience at Android internals (and Android recoverys).
I have currently no encryption, is it save to use it for backups?
@JarlPenguin ?
How can I port for the with the same processor? in vendor.img which files do i need to change? which lib? etc. thx
0
Seppppx said:
There isn't a specific guide for this. You will have to use your creative thinking to create solutions for problems. But you can follow these steps.
1. If you want to port your vendor to a new android version. See what was changed with phones with the same SoC.
2. Replace old files with new files from the other device vendor.
3. Be careful. You can mess up your phone.
Click to expand...
Click to collapse
I want to try this for gsi roms. Because current GSI roms send me to the recovery part. can't boot.
As you said number 2 I don't know which old files to replace
if it's easy for you maybe one day help with teamviewer
You'd build a GSI system image and change that. You don't need to use /vendor as it contains blobs for the device and doesn't need to be changed.
0
Seppppx said:
You won't need to port a vendor partition if you want to try GSIs.
Unless your phone is not treble. Have you checked if your phone is treble? You can do that by installing treble check from the Google Play store.
Which GSIs have you tried?
What device do you have?
What Android version do you have.
Devices that ship with Android 8 must be treble because of requirements by Google. (Unless your phone isn't google certified or VTS certified, I'm not sure)
You can see which files to add and delete (this won't be the same for your phone) by looking at the diff between treble and non treble proprietary-files.txt, proprietary-files-qc.txt, proprietary-files-qc-perf.txt.
https://github.com/ArrowOS-Devices/android_device_asus_zenfone3/compare/arrow-9.x...9.x-non-treble
Click to expand...
Click to collapse
Again hi. Phh gsi roms work fine. I want to try Ertan gsi. erfan gsi does not boot. That's why I thought maybe porting would be the solution. I have gm9 pro. Sp660 SoC. I want try a2 vendor port but ı cant
aykutfb93 said:
Again hi. Phh gsi roms work fine. I want to try Ertan gsi. erfan gsi does not boot. That's why I thought maybe porting would be the solution. I have gm9 pro. Sp660 SoC. I want try a2 vendor port but ı cant
Click to expand...
Click to collapse
No it's with how the system.img is built. Sometimes takes a bit more work to get things booting
TheExploitedOne said:
No it's with how the system.img is built. Sometimes takes a bit more work to get things booting
Click to expand...
Click to collapse
oh okey understand. I think there is no any solution :/
aykutfb93 said:
How can I port for the with the same processor? in vendor.img which files do i need to change? which lib? etc. thx
Click to expand...
Click to collapse
Ihave The Same Question but with different processor