[Project Treble][UNOFFICIAL] for Wileyfox Swift 2/Plus/X

istweiter

Member
May 30, 2015
20
13
0
/*
* Your warranty is... still valid?
*
* I am 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 ROM
* before flashing it! YOU are choosing to make these modifications, and if
* you point the finger at me for messing up your device, I will laugh at you.
*
*/
Project Treble

Important!
Recommended for installation only for advanced users
***What is Project Treble? ***

Project Treble allows to install - Generic System Images on our device with a minimum number of bugs.
Vendor - this is partition where proprietary files and drivers are stored, which are separate from the system.

***Userful Information***
***Development and bugs***
Development has been started about 3 months. backwards During this time, dozens of errors were corrected and millions of nerve cells were lost.
Vendor is based on the stock firmware UOS273C with a large number of edits.
The kernel is used from vm03 with driver edits for working on Project Treble.

Bugs in Generic System Images:Bugs in Vendor:
  • SELinux Permissive
  • For the fingerprint scanner to work correctly before being added to Settings, it is necessary to “poke” 5-6 times into it, for the driver to load correctly.
***Preparing device for support Project Treble***
  1. Download TWRP Treble
  2. Repartition script 16GB or 32GB
  3. Download Treble Vendor
  4. Download Treble Boot

You need to copy all the necessary information to an external memory card or PC, since the internal memory will be formatted and devided into special partitions for Project Treble can work.
  1. Install TWRP Treble in a convenient way for you.
  2. Install Repartition script in TWRP. Depending on your internal memory size.
  3. After installing repartition script, device will automatically reboot into Recovery, where you must do:
    1. Format Data (Wipe > Format Data)
    2. Wipe Vendor (Wipe > Advanced Wipe > Vendor)
    3. After that necessarily to reboot the Recovery (Reboot > Recovery)
  4. Flashing Treble Vendor (Just install zip archive)
  5. Flashing Treble Boot (Select the option in the lower right corner Install Image, select Boot_Treble_new.img and flash it as Boot Image)
  6. Install your favorite firmware (about this below). (Select the option in the lower right cornerInstall Image, than flash it as System Image)

***Installing Android Oreo or Android Pie GSIs***

* If camera don't working on Pie flash:
Camera Pie GSI patch
* If the NFC item in the settings hangs, or the NFC does not turn on (this is usually the case in the old October GSI), flash:
NFC all GSI Patch
* Patch for fix fingerprint scanner on some Pie GSIs
Folder with patches
For ArrowOS GSI, HavocOS 2.0, AEX 6.1 fix not needed.

***Google Apps***
Install GApps only before the first launch of the ROM!
Open GApps Project

***Thanks***
Testing and moral support:Help in bug fixes and kernel sources:
Mirrors for download files:
Fingerprint overlay:

XDA:DevDB Information
[Project Treble][UNOFFICIAL] for Wileyfox Swift 2/Plus/X, ROM for the Wileyfox Swift 2

Kernel Sourses
DevelopedInside

Contributors
fx-mod
ROM OS Version: Android 8.1.x and Android 9.x

Version Information
Status: Beta

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

fred0r

Senior Member
Nov 23, 2011
108
25
28
Hamburg
Never heard of 'Project Treble' before, but it sounds very interesting to be able to use 'Generic System Images'.
Before playing around with it - can you please also provide a 'Repartition Script' to get back to the default Partitioning ?
 

fred0r

Senior Member
Nov 23, 2011
108
25
28
Hamburg
i installed treble according to your instruction and flashed a AOSP 8.1 image (system-arm64-aonly-gapps-su.img.xz) which should include gapps and su.
unfortunately the su-part wasnt available, so i tried to boot into the recovery by selecting it during the start of the phone - but i instantly came back to the 'boot-screen' without starting twrp.
for now the only way to get back on the 'treble-twrp' i need to boot it via fastboot (fastboot boot TWRP_Treble_marmite.img)
i this a bug or am i doing something wrong ?
[edit]
installed another rom which had the option in developers to reboot directly into the recovery - that worked.

---------- Post added 5th October 2018 at 12:12 AM ---------- Previous post was 4th October 2018 at 11:43 PM ----------

Now i installed the latest Oreo Resurrection-Remix from https://downloads.resurrectionremix.com/arm64aonly/ and during startup:

Another thing is, that on all GSI-Images i installed so far the system-fonts are very tiny - like it's using a too high screen-resolution.
 
Last edited:

fred0r

Senior Member
Nov 23, 2011
108
25
28
Hamburg
......so i tried to boot into the recovery by selecting it during the start of the phone - but i instantly came back to the 'boot-screen' without starting twrp.
for now the only way to get back on the 'treble-twrp' i need to boot it via fastboot (fastboot boot TWRP_Treble_marmite.img)
i this a bug or am i doing something wrong ?
Nevermind - it works also to boot from the start. i needed first to select 'boot recovery' and then press on 'start' to boot into it.

Just installed the GSI from PixelExperience from pixelexperience.org and also get that 'vendor mismatch' message.
 
Last edited:

TedSamol

Member
Jun 5, 2016
18
5
13
Nevermind - it works also to boot from the start. i needed first to select 'boot recovery' and then press on 'start' to boot into it.

Just installed the GSI from PixelExperience from pixelexperience.org and also get that 'vendor mismatch' message.
I had this issue too and I believe flashing the vendor zip again did the job for me, not completely sure though.
 

Buxbaum666

Member
May 13, 2017
39
9
8
I'd like to try out Android P. Has anyone tried this with a Swift 2 device and can recommend a GSI to use?

Edit: I couldn't get Pixel Experience (9.0) to boot succesfully but phhusson's AOSP 9.0 works. It's very barebones indeed. Someone made an overlay that makes adaptive brightness possible but I still can't adjust the LED for notifications. Not being able to turn off the charging/low-battery LED is a bummer. Otherwise it runs fine but I'll try a different GSI today.
 
Last edited:

puszekkk

Senior Member
Aug 26, 2014
81
58
0
/home
Is it possible to patch at least one of Pie GSI's to work almost perfectly? Right now it is not possible to use any of GSI's for more than a week because every one have some annoying bugs :(