[ROM][TREBLE] Project Treble for Wileyfox Swift

G

GuestK00368

Guest

Code:
#include <std_disclaimer.h>
/*
 * Your warranty is now void.
 *
 * We're 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 TREBLE
 * SUPPORT before flashing it! YOU are choosing to make these modifications, and if
 * you point the finger at us for messing up your device, we will laugh at you.
 *
 */
What is Project Treble:
Project Treble basically partitions your device into two separate partitions, a system and a vendor: system contains your generic system image, while vendor partition has your device specific files required for booting and running your phone. This way we can easily change the system image and be able to run our device on different system images with the same kernel and vendor partition
Read more about Project Treble

What's a GSI?:
A GSI literally means Generic System Image. It is a general system image meant for no specific device. Treble enabled devices have the capability to run a GSI. You can find a GSI here: Phh-Treble

Wileyfox Swift hardware vs Treble implementation:
Our Wileyfox Swift is an A-only device. This means that regarding the GSI images (GSI = Generic System Image) to be used, you need to get ARM64 and A-Only system images​

How to report bugs:
Logcat, a simple description of the bug, kmsg or dmseg depending on the bug​

What's Packaged in the zip:
A boot image (kernel)
A compressed vendor image (real vendor partition)
A treblized LineageOS 15.1 system image​


Credits & collaborations:
This work is due to efforts from echelon team founding members that did the full device bring-up. Huge thanks to @mkfssion , @EnesSastim and @beroid for foxy binder for all the help during that bring-up.
Finally, would like to thank everyone involved in helping with testing, coding, debugging & documenting! Enjoy!
And I would give a special thanks to Doop for providing his device for developing!​

XDA:DevDB Information
Project Treble - Wileyfox Swift, ROM for the Wileyfox Swift

Contributors
Dev4Perf, EnesSastim
Source Code: https://github.com/LineageOS/android_kernel_cyanogen_msm8916

ROM OS Version: 8.x Oreo
ROM Kernel: Linux 3.10.x

Version Information
Status: Stable

Created 2018-09-11
Last Updated 2018-09-11
 
Last edited:

vhick

Senior Member
Feb 13, 2012
625
123
63
Antipolo City
I must also thank you @beroid. Without him, our device cannot go this far.

He can also do new gsi roms or compatible gsi custom kernel :good:

---------- Post added at 10:23 PM ---------- Previous post was at 10:20 PM ----------

Hi guys, may I know if need to wipe system, data, cache, dalvik Everytime we flash new gsi?

Thank you
 
Last edited by a moderator:
  • Like
Reactions: RusWF

hgunduz295

Senior Member
Jul 31, 2017
267
336
73
www.devotag.com
I must also thank you @beroid. Without him, our device cannot go this far.

He can also do new gsi roms or compatible gsi custom kernel :good:

---------- Post added at 10:23 PM ---------- Previous post was at 10:20 PM ----------

Hi guys, may I know if need to wipe system, data, cache, dalvik Everytime we flash new gsi?

Thank you
This project has nothing to do with beroid.
Beroid does not support this treble project
This project was created entirely by Dev4perf
 
  • Like
Reactions: vhick

vhick

Senior Member
Feb 13, 2012
625
123
63
Antipolo City
This project has nothing to do with beroid.
Beroid does not support this treble project
This project was created entirely by Dev4perf
But doesn't mean that other members will be mean to beroid.

Move on and stick with the thread. Enjoy all of us :)

---------- Post added at 01:11 PM ---------- Previous post was at 01:10 PM ----------

I having problem when using aosp based gsi. It so slow. Los bases, no problem.
 

xanthrax

Senior Moderator / Moderator Committee / RC-RT Com
Staff member
Apr 12, 2011
23,817
23,607
253
Darkside
Members !
flaming stops here !
XDA is not place for "you`re bad / I`m good" nonsense chat , be reasonable, respectful and most important, constructive
Forum Rules
2. Member conduct.

2.1 Language: XDA is a worldwide community. As a result, what may be OK to say in your part of the world, may not be OK elsewhere. Please don't direct profanity, sexually explicit language or other offensive content toward Members or their work. Conversely, while reading posts from other members, remember that the word you find offensive may not be offensive to the writer. Tolerance is a two-way street.

2.2 Nudity: XDA is used by people of all ages, including minors. It is unacceptable to post nude or pornographic imagery, which includes the exposure of male or female genitalia and / or female breasts.

2.3 Flaming / Lack of respect: XDA is about sharing and this does not involve virtual yelling (flaming) or rudeness. Flaming or posting with a lack of respect is unacceptable. Treat new members in the manner in which you would like to have been treated when you were a new member. When dealing with any member, provide them with guidance, advice and instructions when you can, showing them respect and courtesy. Never post in a demanding, argumentative, disrespectful or self-righteous manner.

2.4 Personal attacks, racial, political and / or religious discussions: XDA is a discussion forum about certain mobile phones. Mobile phones are not racial, political, religious or personally offensive and therefore, none of these types of discussions are permitted on XDA.

2.5 All members are expected to read and adhere to the XDA rules.
thread cleaned
 

typecastx

Member
Jul 25, 2017
41
12
0
Hi @Dev4Perf

The new treble flashable los zip resolve the issues when using aosp based gsi? So slow when using aosp based rom like DotOS or AOSP Extended. But LOS bases like RR and Havoc, no problem.
Perhaps because the kernel is los based? Maybe we need an aosp based kernel for aosp custom roms? Im not sure since im a noob lol

I have a question @vhick @Dev4Perf. What if i flashed this treble convertion. Will i still be able to flashed any beroids rom such as crdroid w/out flashing the undo-cracklitreble.zip?

I also have a full /system /data /boot backup of @beroid crdroid 4.6, is it possible to restore the full backup without flashing the undo-cracklitreble.zip?

Excellent job dude :highfive: @Dev4Perf
 

vhick

Senior Member
Feb 13, 2012
625
123
63
Antipolo City
Perhaps because the kernel is los based? Maybe we need an aosp based kernel for aosp custom roms? Im not sure since im a noob lol

I have a question @vhick @Dev4Perf. What if i flashed this treble convertion. Will i still be able to flashed any beroids rom such as crdroid w/out flashing the undo-cracklitreble.zip?

I also have a full /system /data /boot backup of @beroid crdroid 4.6, is it possible to restore the full backup without flashing the undo-cracklitreble.zip?

Excellent job dude :highfive: @Dev4Perf
Obviously no. The rom develop by beroid is non-treble one. You will end up a brick or unmounted partitions.
 
  • Like
Reactions: typecastx