[OREO][MI5s]Project Treble for capricorn - Xiaomi Mi 5s ROMs, Kernels, Recoveries, & Other De

Hello guys! You know I've been out of development for capricorn for a bit! I've been working on this port for a bit, this is for all xiaomi/msm8996-common devices. Project Treble for our phone is here!
Before anything, let's get into it!
/* *** Disclaimer
* 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/KERNEL
* before flashing it! YOU are choosing to make these modifications, and if
* you point your finger at me for messing up your device, I will laugh at you.
* BOOM! goes the dynamite
*/
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]
HOW TO:
Download the zip provided here: AndroidFileHost
Extract the zip on your system
Run the script based on your system (sh for linux, bat for windows)
Flash the GSI system image you wish to use
What's Working:
RIL (both SIMs)
Data
Camera
Video
Text
Audio
Bluetooth
Torch
WiFi
Hotspot
Vibrator
Fingerprint
240fps slowmo
GPS
Calls (Mic and Sound)
Camcorder
Fingerprint to wake
Double tap to wake
Display color calibration (KCAL)
Hardware buttons lights
What's NOT Working:
I've tried my best to ensure that everything is working (been testing for about a week)
SELinux status is permissive
Let me know
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 vendor image (cust partition)
What's a GSI?
A GSI literally means Generic System Image. It is the 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
Our device's config:
Treble-aonly system image. Our phone only has one system image so it is A-only
Source Code:
Kernel
Vendor blobs
MSM8996-COMMON configuration
capricorn configuration
XDA:DevDB Information
Treble, Tool/Utility for the Xiaomi Mi 5s
Contributors
MZO, LineageOS Maintainers (for Oreo)
Source Code: https://github.com/MZO9400
Version Information
Status: Stable
Current Stable Version: 1.0
Stable Release Date: 2018-03-12
Current Beta Version: 1.5 Beta
Beta Release Date: 2018-02-28
Created 2018-02-27
Last Updated 2018-03-12

Screenshots!
Hey guys, humble request. Please don't bug lineage maintainers over Treble. As our HALs are built for non treble device, and treble requires a different structure of HALs which must connect to system only through hwbinder, I bypassed this right now by putting the system on permissive selinux and removing those policies. But LineageOS doesn't allow that. So unless we get binderized HALs from Xiaomi! Don't complain on Lineage thread. And don't ask them to merge in my changes lol.
As for unofficial guys who want treble. Yes you can use my device and vendor trees on any msm8996-common device (natrium, gemini, capricorn, etc etc) and boot full treble builds on it with ease. Thanks!

What works on Treble?
Any GSI
My AOSiP builds (since I build vendor images on that build)
Any builds using my source code. (yes their system.img will work)
Why doesn't MIUI work on Treble?
Because it wasn't shipped on a treble enabled device
Will custom kernels work on Treble?
Yes, as long as they are updated with source code on my github
LineageOS? No it won't work, explained in the post above.
How does Treble affect custom ROMs?
Peeps over XDA portal summed it up perfectly: Read here
How to fix Google Camera FC?
Flash PHH-TREBLE Vanilla build (latest)
Flash GApps zip
//Currently build with su and gapps causes gcam crash//
GApps won't flash? Not enough space in system
Flash this zip https://goo.gl/MSbGK5

Finally Mi5s has treble. Thanks for your hard work and appreciate your support.

good news, thank you for your hardwork

???

Try to flash IMG from TWRP and it's work:laugh:
Thank you for your greeeeeat work:good:

Amazing job man! Well done!

Never thought that Mi 5s would ever get treble support!! Thank you so much for your work!!!

I've fixed in call systems! Now calls are perfect. Uploading new zip

MZO said:
What works on Treble?
Any GSI
My AOSiP builds (since I build vendor images on that build)
Any builds using my source code. (yes their system.img will work)
Why doesn't MIUI work on Treble?
Because it wasn't shipped on a treble enabled device
Will custom kernels work on Treble?
Yes, as long as they are updated with source code on my github
LineageOS? No it won't work, explained in the post above.
How does Treble affect custom ROMs?
Peeps over XDA portal summed it up perfectly: Read here
Click to expand...
Click to collapse
Did you build AOSiP for Mi5s? Where can i get it? I look at your AFH folder and found nothing.

BajinganTengik said:
Did you build AOSiP for Mi5s? Where can i get it? I look at your AFH folder and found nothing.
Click to expand...
Click to collapse
I've been too lazy to upload and maintain it, but yea will upload it on afh anyways.

fim5646 said:
Try to flash IMG from TWRP and it's work:laugh:
Thank you for your greeeeeat work:good:
Click to expand...
Click to collapse
How did you do it ?? And which image did you use ??

Dark Stranger said:
How did you do it ?? And which image did you use ??
Click to expand...
Click to collapse
You can extract the zip and flash .img files through TWRP. But I wouldn't recommend.

MZO will Luke's Lineage work on this or not?....

MZO said:
You can extract the zip and flash .img files through TWRP. But I wouldn't recommend.
Click to expand...
Click to collapse
Then clarify some things.
I just need to run the script contained in the file to have the basic system or need to install anything else?
And then flash the system GSI image?
I am currently using the Lineage 15.1 rom, is there any problem in running this script on top of it ??

Nice.
Faster ROM than LOS. IMHO.
But I have a bug to ask the manufacturer. But it does not affect the further functioning. Also I need a double tap to sleep, because I have problems with the power button. And also the point of swap buttons is necessary for me.
Standart apps are very ugly eg music and SMS.
My phone have strange name.
In connection with these problems, I will return to LOS.
It would be good if smb told me where I can find some information how I can change img system as I want...
Thank you for work.

James Blode said:
MZO will Luke's Lineage work on this or not?....
Click to expand...
Click to collapse
Maybe if you read OP's 3rd post you can find the answer.

James Blode said:
MZO will Luke's Lineage work on this or not?....
Click to expand...
Click to collapse
Please read the initial posts

Dark Stranger said:
Then clarify some things.
I just need to run the script contained in the file to have the basic system or need to install anything else?
And then flash the system GSI image?
I am currently using the Lineage 15.1 rom, is there any problem in running this script on top of it ??
Click to expand...
Click to collapse
You're correct. You can flash the script but not sure if it will boot.

Related

[EXPERIMENTAL] [AOSP] Phh-Treble for Tissot [8.0] [PORT]

EDIT:
We have now achieved proper Treble implementation. We no longer need this method of trying to port a GSI to our device. This thread is now absolute. Please refer to newer threads to get Treble support on your Tissot devices.
UPDATE:
This ROM is currently not booting. So use this thread only to provide useful logs.
Interested developers can help me to try to port Treble :
https://github.com/ghpranav/android_device_xiaomi_tissot/tree/Trebelizer
https://github.com/ghpranav/proprietary_vendor_xiaomi/tree/lineage-15.0/
Code:
/*
* Your warranty is now void.
*
* We are 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 us for messing up your device, we will laugh at you.
*
*/
WARNING: You'll most probably loose ALL your data, and might break your phone, because our phone doesn't support Treble officially. Please use with extreme caution, because this hasn't been tested yet!
The goal of this ROM is to provide full Treble-compatible hardware support, and nothing else.
This means that hardware which DON'T have Treble API won't be supported, like Essential's external camera.
No feature will be added. This will ease forward porting to new Android versions, which is the very goal of Project Treble
My hope is that other ROM developers will use this ROM as a basis to construct more advanced ROM.
Devices will be marked as supported, unless known otherwise.
Click to expand...
Click to collapse
I have tried to port a Treble based rom to our Mi A1 device based on my knowledge of Treble. If this works properly, then we might be able to use almost any Project Treble rom on our device.
How to flash:
- First, you MUST be running on stock Android 8.0 ROM (OPR1.170623.026.7.12.29)
- Obviously, unlock your bootloader
- Download the zip file, & extract it.
- Flash the system.img to the correct active slot [A/B]
- Do a Factory reset
- Reboot
Downloads:
V1:
https://www.androidfilehost.com/?fid=962157660013069216
Changelog:
v1: (02/01/2018)
- Initial port based on Phh-Treble v7 (inc. gapps & su).
SuperSU and Magisk screws with SELinux policy. DO NOT USE SuperSU OR Magisk WITH THIS ROM.
XDA:DevDB Information
Phh-Treble Tissot, ROM for the Xiaomi Mi A1
Contributors
ghpranav, phhusson
Source Code: https://github.com/ghpranav/android_device_xiaomi_tissot/tree/Trebelizer
ROM OS Version: 8.x Oreo
ROM Firmware Required: OPR1.170623.026.7.12.29
Based On: AOSP
Version Information
Status: Testing
Current Beta Version: V1
Beta Release Date: 2018-01-02
Created 2018-01-02
Last Updated 2018-08-31
Reserved
Our device does not support Treble.
Looks sweet! Hope it'll work!
Once you upload it I will try it because I really want Mi A1 to have treble support
ghpranav said:
WARNING: You'll most probably loose ALL your data, and might break your phone. Please use with extreme caution, because this hasn't been tested yet!
I have tried to port a Treble based rom to our Mi A1 device based on my knowledge of Treble. If this works properly, then we might be able to use almost any Project Treble rom on our device.
How to flash:
- First, you MUST be running on stock Android 8.0 ROM (OPR1.170623.026.7.12.29)
- Obviously, unlock your bootloader
- Download the zip file, & extract it.
- Flash the system.img to the correct active slot [A/B]
- Do a Factory reset
- Reboot
Changelog:
v1: (02/01/2018)
- Initial port based on Phh-Treble v7.
Downloads:
V1:
Uploading in progress
XDA:DevDB Information
Phh-Treble Tissot, ROM for the Xiaomi Mi A1
Contributors
ghpranav, phhusson
ROM OS Version: 8.x Oreo
ROM Firmware Required: OPR1.170623.026.7.12.29
Based On: AOSP
Version Information
Status: Testing
Current Beta Version: V1
Beta Release Date: 2018-01-02
Created 2018-01-02
Last Updated 2018-01-02
Click to expand...
Click to collapse
What ....... Is exactly treble ! Noob ! .......
Ayush061 said:
What ....... Is exactly treble ! Noob ! .......
Click to expand...
Click to collapse
U calling urself a noob or the OP ? :laugh:
Ayush061 said:
What ....... Is exactly treble ! Noob ! .......
Click to expand...
Click to collapse
https://www.androidauthority.com/project-treble-818225/
Kamefrede said:
Once you upload it I will try it because I really want Mi A1 to have treble support
Click to expand...
Click to collapse
Have you tried bro
Wow, will try that asap
Rajeev said:
U calling urself a noob or the OP ? :laugh:
Click to expand...
Click to collapse
Wat is OP ?
OP = Opening Post
ghpranav said:
UPDATE:
This ROM is currently not booting. So use this thread only to provide useful logs.
Click to expand...
Click to collapse
Useful logs?
Our device does not support treble
This ROM will never boot,I bet it doesn't even include any device related HAL.
Do you even know what treble is?
Konstantinosj77 said:
Useful logs?
Our device does not support treble
This ROM will never boot,I bet it doesn't even include any device related HAL.
Do you even know what treble is?
Click to expand...
Click to collapse
I know what Treble is. I tried to port ROM, instead of porting Treble support. But I failed. So now I'll wait for Xiaomi to release kernel source, so that I can try to create a separate vendor image partition, & try to implement HALs, so that we can actually port Treble itself. And yes, Treble support can be ported, for instance Mi5 devs are working on it, & it'll be released soon...
ghpranav said:
I know what Treble is. I tried to port ROM, instead of porting Treble support. But I failed. So now I'll wait for Xiaomi to release kernel source, so that I can try to create a separate vendor image partition, & try to implement HALs, so that we can actually port Treble itself. And yes, Treble support can be ported, for instance Mi5 devs are working on it, & it'll be released soon...
Click to expand...
Click to collapse
So mi5 devs are gonna create a new odm/vendor partition and push every hidl hal there?!
Interesting,can you share a link about that?
Konstantinosj77 said:
So mi5 devs are gonna create a new odm/vendor partition and push every hidl hal there?!
Interesting,can you share a link about that?
Click to expand...
Click to collapse
It's not yet hosted on XDA. But you can check their commits here:
https://github.com/sirmordred/platform_device_xiaomi_gemini
ghpranav said:
It's not yet hosted on XDA. But you can check their commits here:
https://github.com/sirmordred/platform_device_xiaomi_gemini
Click to expand...
Click to collapse
They are actually using another partition as /vendor.
https://github.com/sirmordred/platf...facc#diff-ada958ac3a6662f731884325169992e4R13
Still is not that simple for us. We don't got a spare partition to mark as /vendor.
Anyway,this ROM won't boot and trying to fix it is just a waste of time.
Thanks for sharing tho'.
Konstantinosj77 said:
They are actually using another partition as /vendor.
https://github.com/sirmordred/platf...facc#diff-ada958ac3a6662f731884325169992e4R13
Still is not that simple for us. We don't got a spare partition to mark as /vendor.
Anyway,this ROM won't boot and trying to fix it is just a waste of time.
Thanks for sharing tho'.
Click to expand...
Click to collapse
That guy started using cust as vendor partition. So I was wondering, cannot we destroy A/B thingy, & start using system_b as vendor?
Edit: /cust wasn't a spare partition I guess, cuz look at these ss
So we can use /cust partition as /vendor and make our device treble compatible? Are there any problems in theory?
ddaggebi said:
So we can use /cust partition as /vendor and make our device treble compatible? Are there any problems in theory?
Click to expand...
Click to collapse
In theory, as long as we don't return to stock rom, & if group of devs actually make that possible for a device, there shouldn't be any major problems. But unfortunately Tissot doesn't have any cust partition. So we'll have to look for something else...

[DEV][TREBLE] P-based vendor implementation

I guess that's going to be helpful for both developers and users.
Info:
P-based vendor up to date with Lineage 16.0 device trees and kernel
Full and proper support of the versioned VNDK and linker namespace isolation
Instructions:
I'm not going to provide them, just head here instead: https://forum.xda-developers.com/mi-a1/how-to/treble-stock-to-treble-everything-to-t3793734
As usual, it requires repartitioning.
Downloads:
Treble-enabled unofficial Lineage 16.0 build (already includes vendor) not updated since 05.04.2019
vendor.img and boot.img (01.05.2019)
Source code:
Common tree
Device tree
Kernel patch
Vendor blobs
Notes:
I did it for pure fun and I'm not going to provide any extensive support. So don't expect me to update it daily and fix every bug you'll cry about.
Just like any other proper Treble implementation, this doesn't include IMS blobs on the vendor partition. So no out-of-the-box VoLTE on your fancy GSIs.
Basic functionality is verified with AOSP P GSIs
Amazing! Thanks Flex!
And before anyone actually asks that: yes, it works with official Q GSI without any modifications, but has Wi-Fi issues just like everyone else.
Awesome news and great work!
Thank you so much for this.
Amazing work Bra but you already know that xD
Another great work from you. Kudos.
MASTER!
Awesome stuff, thanks for this.
can i ask . i want to flash android Q so i just need the vendor only right?
Your on on this device is amazing, than you so much!
Great job man! Thanks
flex1911 said:
And before anyone actually asks that: yes, it works with official Q GSI without any modifications, but has Wi-Fi issues just like everyone else.
Click to expand...
Click to collapse
What issues? Wifi completely not working or..?
Hi @flex1911
I tried everything, but your vendor and your LineageOS gives me black screen on Tissot.
Also it corrupts my recovery, I can't boot into it :/
I have this issue after flashing the "boot.img"
Iv4n99 said:
Hi @flex1911
I tried everything, but your vendor and your LineageOS gives me black screen on Tissot.
Also it corrupts my recovery, I can't boot into it :/
I have this issue after flashing the "boot.img"
Click to expand...
Click to collapse
This vendor is for Treble roms, you don't need it if youre using Flex' LOS16
Yunikari said:
This vendor is for Treble roms, you don't need it if youre using Flex' LOS16
Click to expand...
Click to collapse
I'm trying to flash the official Q gsi
But It gives me black screen
The vendor isn't compatible with my phone
Iv4n99 said:
Hi @flex1911
I tried everything, but your vendor and your LineageOS gives me black screen on Tissot.
Also it corrupts my recovery, I can't boot into it :/
I have this issue after flashing the "boot.img"
Click to expand...
Click to collapse
Try to update your firmware.
flex1911 said:
Try to update your firmware.
Click to expand...
Click to collapse
Artem u are on fire. I bought this device after Asus. And glad you are here ?... Thanks buddy.
great work!
Nice.
Is boot.img the kernel? Sorry if it's a stupid question, and does it work with 4.9 kernels?

[OFFICIAL][9] LineageOS 16.0 for Mi 6

Code:
[COLOR="Purple"]#include <std_disclaimer.h>[/COLOR]
[COLOR="Navy"]/*
* Your warranty is now void.
*
* 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.
*/[/COLOR]
Installation:
If you are on stock OS, you need a custom recovery first. You can get the recommended TWRP recovery in the official installation instructions link below.
If you are coming from stock or other ROMs, you need to make a factory reset.
As always, make sure to backup before installing this ROM.
More detailed instructions at:
Install LineageOS on sagit
Read Post #2 before asking a question.
Download link:
LineageOS Downloads
Recommended Google Apps package:
Open GApps (choose ARM64 as Platform and 9.0 as Android, use the Variant you want. Recommended nano package)
Required TWRP recovery
twrp-3.3.1-sagit-20190608.img
Official root addon
LineageOS Extras
Changelog:
Changes for sagit
Bug reports:
How to submit a bug report
LineageOS GitLab
Donate to support development:
Donate via PayPal to NeoArian
Donate via PayPal to Elektroschmock
Donate via PayPal to LineageOS
XDA:DevDB Information
LineageOS 16.0 for sagit, ROM for the Xiaomi Mi 6
Contributors
NeoArian, elektroschmock, mikeioannina, wight554
Source Code: https://github.com/LineageOS
ROM OS Version: 9.x Pie
ROM Kernel: Linux 4.x
ROM Firmware Required: MIUI Stable V10.4.1.0
Version Information
Status: Nightly
Created 2019-06-09
Last Updated 2019-08-05
MiuiCamera
I have created a flashable ZIP to get MiuiCamera on LineageOS 16.0 for Xiaomi Mi 6 with the new android 9.0 blobs.
The file is attached to this post. Note that it will overwrite the default Snap Camera app so that you don't have two apps. Because of the included addon.d script the Snap Camera will automatically get overwritten and MiuiCamera will get installed over upcoming OTA's. If you want to get rid of this Module just remove /system/addon.d/69-MiuiCamera.sh and reflash the build of your choice, MiuiCamera will get removed and Snap will be added back.
Changelog for MiuiCamera-20190817_MI6Global_V10.4.1.0.PCAMIXM.zip
* Fixed backuptool, won't bootloop after updating the ROM
* Cleaned backuptool
Frequently asked Questions
Which firmware should i use?
Since the 4th of August 2019 You need the firmware of any 9.0 miui. Download the Global Stable firmware here: https://osdn.net/projects/xiaomifir...I6Global_V10.4.1.0.PCAMIXM_38edd1584c_9.0.zip
You have to use an firmware older then 8.10.25 but at least 8.4.19. Download the 8.4.19 firmware here: https://basketbuild.com/filedl/devs...st 2019 You need the firmware of any 9.0 miui
Click to expand...
Click to collapse
[*]Which recovery should i use?
You should use this TWRP: https://androidfilehost.com/?fid=6006931924117891801 because the official one is not up to date with this ROM and can't decrypt your data. Don't use a recovery for System as Root because this official LineageOS does not use System as Root.
Click to expand...
Click to collapse
Thanks boss
Great news!
Indeed good news!! ?
Maybe a stupid questionar, but where is the download link?
felipefda said:
Maybe a stupid questionar, but where is the download link?
Click to expand...
Click to collapse
Yeah there is a small typo in the OP, but it's at:
https://download.lineageos.org/sagit
Thorst1 said:
Yeah there is a small typo on the OP, but it's at:
https://download.lineageos.org/sagit
Click to expand...
Click to collapse
The link only show 15.1 version.
---------- Post added at 01:21 AM ---------- Previous post was at 01:20 AM ----------
The link only show 15.1 version.
felipefda said:
The link only show 15.1 version.
Click to expand...
Click to collapse
Then it'll be on its way, next build cycle ?
Thank you so much :good:
amazing thank you! still see 15.1 , will wait official build upload
Thanks!!! What's the difference between this ROM and the other?
Looks like server storage is full and all builds that are compiling today are failing with same error message.
https://gitlab.com/LineageOS/builder/android/-/jobs/228136752
Code:
#### build completed successfully (01:21:13 (hh:mm:ss)) ####
mkdir: cannot create directory ‘/home/jenkins/incoming/sagit/65452191/’: No space left on device
ERROR: Job failed: exit status 1
Whats the difference from your build on the other thread (beside different twrp and firmware)?
Should I stay with your build or move to official?
rtk217 said:
Whats the difference from your build on the other thread (beside different twrp and firmware)?
Should I stay with your build or move to official?
Click to expand...
Click to collapse
https://forum.xda-developers.com/showpost.php?p=79702231&postcount=630 I would recommend you to read this post.
nightly its uploaded
Anyone flash it?
I Will try in evening.
Some might have noticed, the first build is up!
Get it from the download Portal: https://download.lineageos.org/sagit
thank you a lot
in order to have eas and f2fs can we flash kernel like vantom?
Alessandro999 said:
thank you a lot
in order to have eas and f2fs can we flash kernel like vantom?
Click to expand...
Click to collapse
Perhaps you should ask the person who maintains this kernel.
LineageOS is like an OEM ... we don't care about/support aftermarket modifications.
Edit:
Haha I didn't realize Arian maintains this kernel.
Nevertheless you should ask in the apropriate kernel thread

[ROM][9.0.0_r46][A2017X][OFFICIAL] Resurrection Remix 7.0.2

https://postimages.org/
Code:
/*
* Your warranty is now void.
*
* 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.
*/
​
Resurrection Remix the ROM has been based on LineageOS, SlimRoms, Omni and original Remix ROM builds, this creates an awesome
combination of performance, customization, power and the most new features, brought directly to your Device.
Many things that in previous versions were tweaked with mods, are now included by default in the ROM so, please enjoy!
Special thanks to, the LineageOS team, Omni team, SlimRoms and of course to all the supporters.​
​
see below​
​
see below​
​
see below​
https://postimages.org/
@DahakePL XDA Developers LineageOs Team Omni Team And Of Course To All The Supporters, Donators And Users​
Installation:
0. unlocked, O bootloader (universal v2 to start with or the one you prefer), suited twrp (I used the twrp3218), correct modem ...you know the drill
1. Copy RR zip, 9.0.0 gapps zip and Magisk 19.3 to your device
2. Boot into twrp recovery
3. Wipe cache, system, vendor & data
4. Flash ROM
5. Flash gapps
5a Reboot and setup phone ( if not booted first time, force reboot...and wait )
6. Flash Magisk 19.3
7. Reboot and enjoy !
Build :
A2017X RR 9.0.0 r46 v7.0.2 2019.08.12
A2017X RR 9.0.0_r46 v7.0.2 2019.08.23
RR-P-v7.0.2-20190920-axon7-Official.zip
RR-P-v7.0.2-20190922-axon7-Official.zip
RR-P-v7.0.2-20191027-axon7-Official.zip
RR-P-v7.0.2-20200112-axon7-Official.zip
Gapps : https://opengapps.org/
Magisk : https://forum.xda-developers.com/apps/magisk/official-magisk-v7-universal-systemless-t3473445
Contributors
@raystef66
Source Code: https://github.com/ResurrectionRemix/platform_manifest
KERNEL SOURCE: https://github.com/OrdenKrieger/android_kernel_zte_msm8996 thnx @OrdenKrieger
ROM OS Version: 9.x PIE
ROM Kernel: Linux 3.18.x
ROM Firmware Required: Unlocked Bootloader, Latest TWRP Recovery
Based On: LineageOS device, vendor, kernel
Version Information : 9.0.0 v7.0.2
Status: Pure & Stable...afaik
Sec. Patches : 2020.01.01
Created : 2019.08.03
Last Updated : 2020.01.12
nice
thank you bro
Gonna try this one as well. Devs have flooded some great roms recently. thanks to all.
Thank you for this rom, I think is the best rom posted recently.
Just one thing, and sorry for the noob question and my english, I feel that GSI roms are more faster than this device specific roms, I have the vendor partition, so, should I flash treble zip in vendor first?
Sent from my Phh-Treble vanilla using Tapatalk
Any trip reports on battery standby drain and screen on time?
Phone Call Audio
I installed this ROM and loved it (I've used RR in the past).
Everything worked fine but for one major thing: while I can place and receive calls I cannot hear or be heard on said calls.
From what I've read this is likely because I have the wrong modem installed, but I cannot for the life of me determine which I should be using, so:
if I have U variant, what bootstack and modem should I flash? Any help truly appreciated!
BarbbasKid said:
I installed this ROM and loved it (I've used RR in the past).
Everything worked fine but for one major thing: while I can place and receive calls I cannot hear or be heard on said calls.
From what I've read this is likely because I have the wrong modem installed, but I cannot for the life of me determine which I should be using, so:
if I have U variant, what bootstack and modem should I flash? Any help truly appreciated!
Click to expand...
Click to collapse
If you have the U model, you need the universal bootstack and the U modem
Sent from my ZTE A2017X using Tapatalk
BarbbasKid said:
if I have U variant, what bootstack and modem should I flash? Any help truly appreciated!
Click to expand...
Click to collapse
I have a U variant and I used
A2017U_OreoModem.zip
and
A2017x_LineageOS15.1_UniversalBootstack_v2_by_DrakenFX.zip
from https://androidfilehost.com/?w=files&flid=270519
I am able to hear and be heard on calls with those and this rom.
Thanks for your work, raystef66!
eeyan said:
I have a U variant and I used
A2017U_OreoModem.zip
and
A2017x_LineageOS15.1_UniversalBootstack_v2_by_DrakenFX.zip
from https://androidfilehost.com/?w=files&flid=270519
I am able to hear and be heard on calls with those and this rom.
Thanks for your work, raystef66!
Click to expand...
Click to collapse
I appreciate you help identifying those files.
Now, however, I am getting an error when flashing RR everything flashes like normal, but at the end I get a red error:
"e2001: failed to update vendor image"
and then (obviously) a #7 error as result.
The only thing I can see that may be the cause is my device does not have a "Vendor" partition (though it didn't the first time I installed RR, either).
I'm in 3.2.1-8 by NFound then:
Flash A2017x_LineageOS15.1_UniversalBootstack_v2
Flash Modem
Flash RR
Then the error.
Any idea on how to fix this issue? I appreciate your help.
BarbbasKid said:
I appreciate you help identifying those files.
Now, however, I am getting an error when flashing RR everything flashes like normal, but at the end I get a red error:
"e2001: failed to update vendor image"
and then (obviously) a #7 error as result.
The only thing I can see that may be the cause is my device does not have a "Vendor" partition (though it didn't the first time I installed RR, either).
I'm in 3.2.1-8 by NFound then:
Flash A2017x_LineageOS15.1_UniversalBootstack_v2
Flash Modem
Flash RR
Then the error.
Any idea on how to fix this issue? I appreciate your help.
Click to expand...
Click to collapse
Use the PARTY vendor creation tool and take 500Mb from your System
Sent from my ZTE A2017X using Tapatalk
@raystef66 what's your preference between this boy and sl!m 8? I just saw this now so I'm a bit late to the party
Mazupicua said:
@raystef66 what's your preference between this boy and sl!m 8? I just saw this now so I'm a bit late to the party
Click to expand...
Click to collapse
:cyclops: you're not late to the party at all. The rom development has got a huge boast now since we can rely on Orden's sources.
I'm on Pie ofc and not on Oreo anymore since this all is happening. Slim would be ok but get a taste of this all going from PE over RR, VIPER, Havoc, LOS16....and more in the pipeline
Choices enough. My preference till now is ViperOS PIE
So enjoy the ride
raystef66 said:
:cyclops: you're not late to the party at all. The rom development has got a huge boast now since we can rely on Orden's sources.
I'm on Pie ofc and not on Oreo anymore since this all is happening. Slim would be ok but get a taste of this all going from PE over RR, VIPER, Havoc, LOS16....and more in the pipeline
Choices enough. My preference till now is ViperOS PIE
So enjoy the ride
Click to expand...
Click to collapse
ViperOS is really great,hope for Long-term support
​
NEW BUILD 2019.08.12
RR-P-v7.0.2-20190812-axon7-Unofficial
changelog :
*android-9.0.0_r46
*latest sec. patches 2019.08.01
*fixed MAC
*key reverse on boot (recent/home/back)
*SELinux enforcing
* ...
E N J O Y
raystef66 said:
​
NEW BUILD 2019.08.12
RR-P-v7.0.2-20190812-axon7-Unofficial
changelog :
*android-9.0.0_r46
*latest sec. patches 2019.08.01
*fixed MAC
*key reverse on boot (recent/home/back)
*SELinux enforcing
* ...
E N J O Y
Click to expand...
Click to collapse
Great work. Please do not be deterred by the low interest in your pie roms thus far. I believe in time the interest will pick up. Please keep at it.
@raystef66
Thx for the ROM it's really nice. Booted on the first try. For now I have one issue though. Can't get VoLTE to work. On the lastest Liquid Remix with VoLTE MOD and Speedy vendor I have working VoLTE. I can call and receive calls. On latest Resurrection Remix, ViperOS, DotOS when I select LTE only I can't get any signal. I've tried flashing Oreo modem but that didn't help either. Without selecting this opition I can't get working VoLTE. What could be the problem here?
squicky said:
@raystef66
Thx for the ROM it's really nice. Booted on the first try. For now I have one issue though. Can't get VoLTE to work. On the lastest Liquid Remix with VoLTE MOD and Speedy vendor I have working VoLTE. I can call and receive calls. On latest Resurrection Remix, ViperOS, DotOS when I select LTE only I can't get any signal. I've tried flashing Oreo modem but that didn't help either. Without selecting this opition I can't get working VoLTE. What could be the problem here?
Click to expand...
Click to collapse
Thnx ! Afaik VoLTE works out-of-the-box on ViperOS. @Masterjuggler confirmed that to me.
On RR, DotOS I cannot confirm this. I cannot check this myself since my carrier doesn't provide this.
Also, the Volte Mod isn't suited for device specific roms like the ones mentioned above.
So try ViperOS first and see if you can get VoLTE working
EDIT : updating Viper to latest august sec patches now. So perhaps wait a little bit to flash again
raystef66 said:
Thnx ! Afaik VoLTE works out-of-the-box on ViperOS. @Masterjuggler confirmed that to me.
On RR, DotOS I cannot confirm this. I cannot check this myself since my carrier doesn't provide this.
Also, the Volte Mod isn't suited for device specific roms like the ones mentioned above.
So try ViperOS first and see if you can get VoLTE working
EDIT : updating Viper to latest august sec patches now. So perhaps wait a little bit to flash again
Click to expand...
Click to collapse
First I tried all these ROMs without VoLTE Mod and then I tried with the Mod. When I choose LTE in IMS app I simply lose signal (No Service). It doesn't matter if it's RR, ViperOS or DotOS. Apart from this on ViperOS somehow Pixel Launcher was force closing.
squicky said:
@raystef66Can't get VoLTE to work.
Click to expand...
Click to collapse
Like ray said, I had it working fine for me. I even confirmed I had the ims LTE service registration in the phone hidden settings. Didn't have to change anything in the settings, worked on the first boot out of the box. I'm on a t-mobile based carrier for what it's worth.

[ROM][10.0][A2017x][UNOFFICIAL] LineageOS 17.1

​
First off wanted to thank ALL friends who were involved creating this Q for our beloved axon7. It took us a long time but we made it :highfive:​About Lineage OS:
Lin·e·age
/ˈlinēij/
noun
lineal descent from an ancestor; ancestry or pedigree.
a sequence of species each of which is considered to have evolved from its predecessor.
Disclaimer:
LineageOS (Lineage Android Distribution) members or anyone else on this website is 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 the products you find here 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. Your warranty will be void if you tamper with any part of your device / software.
Instructions:
Attention! The bootloader needs to be unlocked!
0. unlocked, suited twrp ( i'm using twrp3218), oreo bootstack (i'm using universal one) of your choice...you know the drill, preferable already on a custom Pie rom
1. Copy LineageOS zip, optional gapps 10.0 ( i'm using nano) and magisk 20.4 to your device
2. Boot into twrp recovery (first backup your existing stuff)
3. Wipe cache, system, vendor & data
4. Flash ROM
5. Flash gapps (optional)
6. Flash Magisk 20.4 (optional)
7. Reboot and enjoy !
BUGS :
* camera may not be working on first boot, if so reboot a couple of times and it will
What is CAF?
Code Aurora, a Linux Foundation Collaborative Project, hosts tested open source software code needed to provide upstream enablement for innovative, performance optimized, network connectivity and related ecosystems to support system on a chip (SoC) products. It also serves as a staging area for open source code that is submitted to various upstream projects such as the Linux kernel and Android. CAF also mirrors key upstream projects for use by the community.
Sources, Changes, & Wiki:
Source | Changes | Axon 7 Wiki | Lineage OS
Credits:
@king1990
@runninghamster
@lightvortex
@raystef66
and all testers
Download : LATEST 17.06.2020 LineageOS 17.1 for axon7
Source Code: https://github.com/LineageOS/android
Kernel Source: https://github.com/OrdenKrieger/android_kernel_zte_msm8996
ROM OS Version: 10.x
ROM Kernel: Linux 3.x
ROM Firmware Required: O bootloader + region modem
Based On: LineageOS
Sec. Patch : 2020-05-05
Version Information
Status: pre-stable
Created: 2020-05-31
Last Updated: 2020-09-17
:good: good job
lightvortex said:
:good: good job
Click to expand...
Click to collapse
Thank you ! It's you who made the final touch after we booted
Good work?
Made a new module for reverting buttons : A2017X_Q_softkey_reverse_module
You can do it manually though too : https://forum.xda-developers.com/axon-7/themes/mod-soft-key-reverse-using-synapticsdsx-t3827574
somebody still cares axon 7... that's incredible
Guys, this is amazing! Thanks so much to everyone involved.
wow, that's amazing! Thank you guys so much for keeping our beloved Axon 7 alive. ?
Yea buddy!
Awesome work guys! I know you worked hard on this, and have been very kind and patient to those who kept asking about Q. Most of them anyways.
Wow! Thank you ray and king1990, runninghamster and lightvortex!!! I'll be trying this soon! (Even though this says pre stable, can anyone comment how close it is for a daily driver? I do need stability so I need to know what little bugs they're might be)
Thank you for the awesome job! You guys are amazing.
Thanks @raystef66 for keeping this awesome device alive.
I am still on SL!M8 B04 but as soon as Android 10 runs stable, I am going to change.
Holy [email protected] My axon is invincible!! Great job guys[emoji106]
Sent from my ZTE A2017X using Tapatalk
great.. thank for awesome work guys
@raystef66
can we have access to device tree source code.
Thanks for the great work. Pretty stable rom but I couldn't get 24Bit 192kHz Hi-Res audio output. Tried different players and their DSP engines, disabled LOS AudioFX from start but device keeps downmixing audio to 16 bit 48Khz.
Hey folks, I could use some help. Trying to install but having some issues. I'm coming from Lineage 16.0(treble). Already on O bootloader, have vendor partition and TWRP 3.2.3. I perform the recommended wipes.
The install goes well, I then install GApps Arm64 nano, then magisk v20.4.
Now, when I try to reboot, the normal screen appear but then the screen goes black and the red error light comes on. I can't get it past this.
Any ideas what I need to do different?
Thanks in advance.
A great Rom to be in Axon 7. Thanks and big salute for the hard work to developers. However, the navigation gestures are not working in Chinese version of Axon 7. Also, nav bar modules are not working either. Hope this is reported in future builds. Thank you once again. Great ROM.
Battery on Lock-screen
Great build so far. Seems to be good on the battery use too. For some reason my lock screen wasn't showing battery charge and i had to go into the "battery percentage" settings to get it to show.

Categories

Resources