[TREBLE][ROM][LINEAGE] Project Treble for Cedric - Moto G5 ROMs, Kernels, Recoveries, & Other Develop

Code:
/* 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.
*
*/
Install Instruction:
Flash this TWRP with treble support (thx to @CodeZero)
Format /system, /data and /cache
Install this Lineage treble build from Google Drive or from Transfer.sh
Install any GSI system image using TWRP (Install image -> choose your system.img -> select system partition)
Reboot
Known issues:
VoLTE is disabled
Camera is buggy
You tell me
How to report bugs:
REGISTER IT ON GITHUB WITH LOGS, OTHERWISE IT WILL BE IGNORED AND CLOSED.
The GitHub for registering the issues is This
Steps to do it:
Check if it was already posted (duplicates will be closed)
Logs should be attached (posted on gist, otherwise the issue will be closed)
The title format should be: LineageTrebleBuildDate: ROMYouAreUsing: issue you are having
The description should be the full log on gist (https://gist.github.com), and steps to reproduce the issue.
Each issue should be posted individually
DONT TAG ME HERE, OR ON TELEGRAM. I use github bot which sends me notifications when someone posts or replies to an issue
IF YOU DIRTYFLASHED, MENTION IT
Requirements for taking logs:
A PC with adb and the drivers installed
A phone
How to take logs:
Connect your phone to the PC
Enable Android debug bridge on the developer settings
Run $
Code:
adb devices
on your PC shell, and if it shows your device proceed, otherwise tag an admin to help you
Run $
Code:
adb reboot
this will reboot your phone
While it's still on the Motorola logo, run $
Code:
adb logcat > log
Once the device boots, replicate the issue
After the issue is replicated, press the CTRL and C keys simultaneously
Once this is done the file log will appear in the folder you ran adb.
This file contains the log.
Where can i find GSI's ?
https://forum.xda-developers.com/project-treble/trebleenabled-device-development
https://github.com/phhusson/treble_experimentations/wiki/Generic-System-Image-%28GSI%29-list
Wiki/FAQ
Thanks @vache for the xda thread and contributions for treble on potter

Source: Motorola-Common repos

Does this mean that after flashing TWRP (and Lineage) I can use the GSI which suits me best? Or am I limited to the Lineage build mentioned in OP? Anyways, great work!

After installing Treble supported ROM along with Treble supported TWRP (in first post), how to get back to non-treble ROM later? Just flash standard (non-treble) TWRP and standard (non-treble) ROM?

Just restore or flash ROM of your choice. Nougat, Oreo.. it don't matter use the same twrp

jason13v8 said:
Just restore or flash ROM of your choice. Nougat, Oreo.. it don't matter use the same twrp
Click to expand...
Click to collapse
"same" - treble or non-treble one?

mrfrantastic said:
Does this mean that after flashing TWRP (and Lineage) I can use the GSI which suits me best? Or am I limited to the Lineage build mentioned in OP? Anyways, great work!
Click to expand...
Click to collapse
you can flash an GSI after you flash lineage

Andrej_SK said:
After installing Treble supported ROM along with Treble supported TWRP (in first post), how to get back to non-treble ROM later? Just flash standard (non-treble) TWRP and standard (non-treble) ROM?
Click to expand...
Click to collapse
you can use the treble TWRP for non treble roms, but not the other way around. if you want to install a nontreble rom with the treble TWRP just flash the rom and you are good to go

Thanks for this! Just wondering when looking at GSIs if I need the A-only or A/B partition version? I assume A-only since that is what the G5plus has? Sorry if I am missing something obvious here!

RaddingtonBear said:
Thanks for this! Just wondering when looking at GSIs if I need the A-only or A/B partition version? I assume A-only since that is what the G5plus has? Sorry if I am missing something obvious here!
Click to expand...
Click to collapse
Should be A-only!

Have u joined Cedric chat telegram group there's more up to date info there. A only I believe!? Unless someone can correct me. I've only ran A only. Hopefully someone will correct me if I'm wrong

jason13v8 said:
Have u joined Cedric chat telegram group there's more up to date info there. A only I believe!? Unless someone can correct me. I've only ran A only. Hopefully someone will correct me if I'm wrong
Click to expand...
Click to collapse
A only! ?

P preview can installable?
---------- Post added at 05:20 PM ---------- Previous post was at 05:20 PM ----------
jason13v8 said:
Have u joined Cedric chat telegram group there's more up to date info there. A only I believe!? Unless someone can correct me. I've only ran A only. Hopefully someone will correct me if I'm wrong
Click to expand...
Click to collapse
Can you give telegram link

You don't know how excited I was when I saw "treble" in the title, it's what our cedric needs the most right now! Will try very soon.

I've just been using the LOS build from the OP and am wondering if there is there any way currently to get the fingerprint gestures in Moto Actions to work? There seems to be built in gestures for navigation enabled separately by default, but there doesn't seem to be any way to change them?
Also there doesn't seem to be any way that I have found to disable the navigation bar. The option that is present in the settings for the non-treble LOS 15.1 to disable it is missing from the settings, and adding "qemu.hw.mainkeys=1" to the build.prop doesn't seem to have any effect. Is there some way to disable it that I am missing?
Either way I appreciate all the hard work that has gone into getting this up and running for our device, many thanks!

I need to fix Moto actions. Because of my testers not reporting stuff to me the public build has broken Moto actions

kutlay1653 said:
P preview can installable?
Click to expand...
Click to collapse
I've tried to install it, but it never started to boot and always threw me back into bootloader. Maybe I'm doing some mistake.

Andrej_SK said:
I've tried to install it, but it never started to boot and always threw me back into bootloader. Maybe I'm doing some mistake.
Click to expand...
Click to collapse
Did you try other time?
---------- Post added at 10:37 AM ---------- Previous post was at 10:37 AM ----------
Andrej_SK said:
I've tried to install it, but it never started to boot and always threw me back into bootloader. Maybe I'm doing some mistake.
Click to expand...
Click to collapse
Did you try other roms?

kutlay1653 said:
Did you try other time?
Click to expand...
Click to collapse
Yeah, installed it twice but unfortunately, with no result.
kutlay1653 said:
Did you try other roms?
Click to expand...
Click to collapse
Yeah, LineageOS for Treble in first thread. It booted into OS, but it doesn't seem to be as a daily driver for me.

Hello, currently I am using the unofficial LOS15.1 kindly developed by CodeZero with the associated underlying TWRP 64bit. I am not technical enough to understand the reach of this Treble, so could a reader of this message advise on the following:
could I replace that LOS version with this treble LOS one (only need/want plain vanilla LOS woth Moto gestures). Is the "cook-book"in the header also applicable to my situation? Anything to absolute note (bit afraid to hard brick) outside of that. Thanks in advance for advise.
I noted already that Moto gestures in the current version still needs some enhancement.

Related

[ROM][X720|X727][6.0.1][OFFICIAL] LineageOS 13.0 for LeEco Le Pro3

LineageOS is based on the Android Open Source Project with extra contributions from many people within the Android community. It can be used without any need to have any Google application installed. Linked below is a package that has come from another Android project that restore the Google parts. LineageOS does still include various hardware-specific code, which is also slowly being open-sourced anyway.
All the source code for LineageOS is available in the LineageOS Github repo. And if you would like to contribute to LineageOS, please visit out Gerrit Code Review.
Code:
#include
/*
* 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.
*
* Submitting bug reports on nightly builds is the leading
* cause of male impotence.
*/
BUG REPORTS / KNOWN ISSUES
https://jira.lineageos.org
- IR: not supported
GOT QUESTIONS?
http://wiki.lineageos.org/zl1_info.html
3rd PARTY ADDONS/MODS
While we have no issues with people using supersu/magisk/xposed/custom kernels/etc, we can't provide support for users who have them installed.
HOW TO INSTALL LINEAGEOS
- Make sure your phone is running 19S bootloader or higher
- Download the LineageOS zip(s). (see Downloads)
- Copy the LineageOS zip to internal sdcard.
- Unlock bootloader and install TWRP. (see Downloads)
- Boot into TWRP.
- Perform a backup of your current ROM. (Optional)
- IMPORTANT: Do a Factory Reset. (Wipe data & cache)
- Flash LineageOS.
- Optional: Install the Google Apps addon package. (see Downloads)
- Reboot
Click to expand...
Click to collapse
HOW TO INSTALL TWRP
- Enable developer options
- Allow oem unlock
- Power off
- Hold Volume down + Power for Fastboot mode
- fastboot oem unlock-go
- fastboot flash recovery twrp.img
- fastboot boot twrp.img
Click to expand...
Click to collapse
DOWNLOADS
LineageOS:
https://download.lineageos.org/zl1
Google Apps:
http://opengapps.org/ (recommended: ARM64, 6.0, nano)
SU-Addon:
https://download.lineageos.org/extras
TWRP-Recovery:
https://drive.google.com/open?id=0B7uXK7jfW17nZGRCWmFmZU9NVWs
SOURCECODE
Device tree: https://github.com/LineageOS/android_device_leeco_zl1
Kernel: https://github.com/LineageOS/android_kernel_leeco_msm8996
HOW TO CONTRIBUTE
Use our code review system to send patches: https://review.lineageos.org
Welcome to the crew!
I was waiting for you somehow... good to see you here!
codeworkx said:
LineageOS is based on the Android Open Source Project with extra contributions from many people within the Android community. It can be used without any need to have any Google application installed. Linked below is a package that has come from another Android project that restore the Google parts. LineageOS does still include various hardware-specific code, which is also slowly being open-sourced anyway.
All the source code for LineageOS is available in the LineageOS Github repo. And if you would like to contribute to LineageOS, please visit out Gerrit Code Review.
SOURCECODE
Device tree: https://github.com/LineageOS/android_device_leeco_zl1
Kernel: https://github.com/LineageOS/android_kernel_leeco_msm8996
I'm currently working on "cm-13.0" branch.
HOW TO CONTRIBUTE
Use our code review system to send patches: https://review.lineageos.org
TODO
- IR support
- Multi-SIM support
- Selinux rules
and much more
DOWNLOADS
TWRP-Recovery
twrp-3.0.3-20170208-zl1-codeworkx.img
Click to expand...
Click to collapse
GalaticStryder said:
I was waiting for you somehow... good to see you here!
Click to expand...
Click to collapse
Two big developpers for our Le Pro 3
I'm sooooooo happy !!! :laugh:
Welcome!! Hope the other guys working on the cm13 roms jump onboard as well. I think some of the problems you called out have already been solved by team superluminal: https://github.com/ekkilm/Slim6_device_le_le_zl1. I believe ir, cdla headphones work on that device tree.
What's new with twrp 3.0.3? I think most of us are using the Chinese modified 3.0.2, only problem i noticed was the intermittent flicker.
Things are about to go down. Seriously glad I sold off the Honor 8 in favor of this beast.
robertzas said:
Welcome!! Hope the other guys working on the cm13 roms jump onboard as well. I think some of the problems you called out have already been solved by team superluminal: https://github.com/ekkilm/Slim6_device_le_le_zl1. I believe ir, cdla headphones work on that device tree.
What's new with twrp 3.0.3? I think most of us are using the Chinese modified 3.0.2, only problem i noticed was the intermittent flicker.
Click to expand...
Click to collapse
I:m using this twrp v5 of time navigator
https://yadi.sk/d/eMOywuZY37Cc8t
What's the difference?
robertzas said:
Welcome!! Hope the other guys working on the cm13 roms jump onboard as well. I think some of the problems you called out have already been solved by team superluminal: https://github.com/ekkilm/Slim6_device_le_le_zl1. I believe ir, cdla headphones work on that device tree.
What's new with twrp 3.0.3? I think most of us are using the Chinese modified 3.0.2, only problem i noticed was the intermittent flicker.
Click to expand...
Click to collapse
Avoid modified recoveries, it's a fundamental part of the device that needs to stay as close as possible to upstream TWRP, modifications on it just sh** it up.
bayad said:
Two big developpers for our Le Pro 3
I'm sooooooo happy !!! :laugh:
Click to expand...
Click to collapse
Avoid quoting the whole O.P. - it's not a smart move. Hope we can consolidate our work soon, thanks for the "big" adjective - lol.
Yikes are you hosting the twrp img off your home computer? I'm getting like 10k, reminds me of the 14.4 baud days . If you don't mind I'll post a link to mega or something when I get it downloaded, about an hour from now at this pace
robertzas said:
Yikes are you hosting the twrp img off your home computer? I'm getting like 10k, reminds me of the 14.4 baud days . If you don't mind I'll post a link to mega or something when I get it downloaded, about an hour from now at this pace
Click to expand...
Click to collapse
There u go!
TWRP 3.0.3 by @codeworkx
https://drive.google.com/file/d/0B7mfpHgpxbtFVjdIcGttWUtaa3c/view?usp=drivesdk
Thanks for the TWRP version 3.0.3-0, finally solved the problem of the display flicker. Thank you for giving life to our Le Pro3
Gynlemon said:
Thanks for the TWRP version 3.0.3-0, finally solved the problem of the display flicker. Thank you for giving life to our Le Pro3
Click to expand...
Click to collapse
Are you having any issues with encryption on this one? Might need to format and restore my internal storage.
Ascertion said:
Are you having any issues with encryption on this one? Might need to format and restore my internal storage.
Click to expand...
Click to collapse
i just installed it, currently running darkobas's 7.1.1, didn't have any issues, just rebooted into system.
@Ascertion
robertzas said:
i just installed it, currently running darkobas's 7.1.1, didn't have any issues, just rebooted into system.
Click to expand...
Click to collapse
The same, I was on BB72, didn't have any issues.
There are many errors.
CPU Snap. 821
Battery is 4070mah
Display is 5.5 inch and the resolution of this is 1080p
And I think that the camera is 16mp
Ascertion said:
Are you having any issues with encryption on this one? Might need to format and restore my internal storage.
Click to expand...
Click to collapse
Same here with my TARS USA version.
I think that X727 USA version are encrypted by default.
Am having issues with this Twrp, it can see the sdcard, am on stock X727
bayad said:
Two big developpers for our Le Pro 3
I'm sooooooo happy !!! :laugh:
Click to expand...
Click to collapse
:fingers-crossed::fingers-crossed::good::good::good::laugh::laugh:
We should make this thread as sticky
seffmono said:
Am having issues with this Twrp, it can see the sdcard, am on stock X727
Click to expand...
Click to collapse
What do you mean? I just flashed it from fastboot (fastboot flash recovery twrpimage.img) and it seems to work fine. No more flicker, and seems solid!
I haven't backed up or restored anything yet.
slgooding said:
What do you mean? I just flashed it from fastboot (fastboot flash recovery twrpimage.img) and it seems to work fine. No more flicker, and seems solid!
I haven't backed up or restored anything yet.
Click to expand...
Click to collapse
Yes no flicker, try to install and see if you can locate the files on your sdcard and each time I reboot to TWRP it always asking to swipe to modify system even that has already been done. By the way are on stock X727? Cos am on stock ROM.
---------- Post added at 03:11 PM ---------- Previous post was at 03:07 PM ----------
Ascertion said:
Are you having any issues with encryption on this one? Might need to format and restore my internal storage.
Click to expand...
Click to collapse
Were you able to get passed the encryption issue?

[ROM][A5010 | dumpling][8.1.X][OFFICIAL] LineageOS 15.1 (Oreo) for Oneplus 5T

LineageOS is based on the Android Open Source Project with extra contributions from many people within the Android community. It can be used without any need to have any Google application installed. Linked below is a package that has come from another Android project that restore the Google parts. LineageOS does still include various hardware-specific code, which is also slowly being open-sourced anyway.
All the source code for LineageOS is available in the LineageOS Github repo. And if you would like to contribute to LineageOS, please visit out Gerrit Code Review.
Code:
#include
/*
* 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.
*
*/
3rd PARTY ADDONS/MODS
While we have no issues with people using supersu/magisk/xposed/custom kernels/etc, we can't provide support for users who have them installed.
This thread is not the right place to discuss about mods/addons.
HOW TO INSTALL LINEAGEOS
- Make sure your phone is running Oreo firmware (from OxygenOS 5.0)
- Remove custom encryption pins/passwords else decryption will fail!
- Download the LineageOS zip(s). (see Downloads)
- Copy the LineageOS zip to internal sdcard.
- Unlock bootloader and install TWRP.
- Boot into TWRP.
- Perform a backup of your current ROM. (Optional)
- RECOMMENDED: Do a factory reset! No support if you didn't!
- Flash LineageOS.
- Optional: Install the Google Apps addon package. (see Downloads)
- Reboot
HOW TO UPDATE LINEAGEOS (15.1 -> 15.1)
- Download the LineageOS zip(s). (see Downloads)
- Copy the LineageOS zip to internal sdcard.
- Flash LineageOS.
- Reboot
DOWNLOADS
Lineage 15.1: https://download.lineageos.org/dumpling
Firmware: https://sourceforge.net/projects/cheeseburgerdumplings/files/15.1/dumpling/firmware/
Vendor images: https://sourceforge.net/projects/cheeseburgerdumplings/files/15.1/dumpling/vendor/
Unofficial: SourceForge
SU-Addon: https://download.lineageos.org/extras
Google Apps: https://sourceforge.net/projects/unofficial-opengapps-8-1/files/arm64/ | http://opengapps.org/
TWRP: XDA | twrp.me
DEVELOPER RESOURCES
https://github.com/LineageOS/android_device_oneplus_dumpling
https://github.com/LineageOS/android_device_oneplus_msm8998-common
https://github.com/LineageOS/android_kernel_oneplus_msm8998
HOW TO CONTRIBUTE?
Send your patches up for review: https://review.lineageos.org/
At SourceForge (found at downloads link above) we also occasionally provide firmware zips or custom built TWRPs.
We use them when developing and also make them available to others, but please note they are unsupported.
They are good enough for us developing but might not be good enough for everyone's usecases.
@codeworkx is trying to upstream the changes we did to TWRP and created a thread for that, if you need some more help.
https://forum.xda-developers.com/oneplus-5t/development/recovery-twrp-3-2-1-0-oreo-8-0-8-1-t3729673
bronderb said:
Is this pre-official?
Click to expand...
Click to collapse
Yes, i am one of the Lineage OnePlus5(T) maintainers and this is what you will get, when official nightlies are starting.
Only difference though is, that i am building with "sdclang", official build servers build using the default toolchain.
// edit
to clear up confustion, previously my github and general username was "Evisceration", nowadays it is "amartinz".
Bit off topic, will Lineage get exchange support in the future?, as now its missing in all oreo roms (not gmail with addons)
Thanks for new rom and your hard work. It is nice to see on op5t forum great devs
btw, until official builds, there will be few more builds ? Thanks
DocRambone said:
Bit off topic, will Lineage get exchange support in the future?, as now its missing in all oreo roms (not gmail with addons)
Click to expand...
Click to collapse
Forwarded that question, will let you know once i get some answers
marko94 said:
Thanks for new rom and your hard work. It is nice to see on op5t forum great devs
btw, until official builds, there will be few more builds ? Thanks
Click to expand...
Click to collapse
Yes, there will be more builds.
we put up builds whenever we see fit, means if there are new features or things to test or if more fixes are in.
We do not want to waste people's time with flashing roms when there are no changes at all
Super glad to see you here! I also see codeworkx has already uploaded the TWRP for 15.1 (8.1) and can't wait to try this when I have an off day to mess around with it!
@Evisceration What is yours suggestion for root ?
DocRambone said:
Bit off topic, will Lineage get exchange support in the future?, as now its missing in all oreo roms (not gmail with addons)
Click to expand...
Click to collapse
Alright, so it seems that it is not on the bringup item list.
It seems CAF did a single commit regarding exchange in 2017 so seems not a high priority for them as well.
And the people who usually worked on exchange are not active since some time, so it does not look promising.
Seems everyone is shifting focus to gmail or other third party apps.
MrIndieJ said:
Super glad to see you here! I also see codeworkx has already uploaded the TWRP for 15.1 (8.1) and can't wait to try this when I have an off day to mess around with it!
Click to expand...
Click to collapse
Thanks for your warm welcome
I hope you do not run into troubles that you need the whole day and can actually also enjoy it the rest of the day
marko94 said:
@Evisceration What is yours suggestion for root ?
Click to expand...
Click to collapse
I personally use the built in root via adb.
Magisk should be fine but it annoys me when i have to reflash it everytime when i flash a new kernel.
That Kingoroot thingy from china seems really suspicious to me and i would not even touch it with a pole.
Though, use whatever you see fit, I provide some limited support helping out to get stuff running if someone runs into troubles but my support time is not infinite
Evisceration said:
Alright, so it seems that it is not on the bringup item list.
It seems CAF did a single commit regarding exchange in 2017 so seems not a high priority for them as well.
And the people who usually worked on exchange are not active since some time, so it does not look promising.
Seems everyone is shifting focus to gmail or other third party apps.
I personally use the built in root via adb.
Magisk should be fine but it annoys me when i have to reflash it everytime when i flash a new kernel.
That Kingoroot thingy from china seems really suspicious to me and i would not even touch it with a pole.
Though, use whatever you see fit, I provide some limited support helping out to get stuff running if someone runs into troubles but my support time is not infinite
Click to expand...
Click to collapse
Ok, thanks for letting me know, i use the exchange/email package from CM/Lineage 14 and its still fully functional.
As for root: SuperSU-v2.82-201705271822 still the best.
Do you know when the migration from 14.1 to 15.1 will start? Tom is running beautifully but I'm missing so many features.
Ok, tried flash clean with magisk, without no verity ( I am decrypted) , got bootlop.
New try : clean , rom, gapps, magisk 15.2, no verity booted fine
Everything seems fine, fingerprint working, camera also.
Some pictures
adame09 said:
Do you know when the migration from 14.1 to 15.1 will start? Tom is running beautifully but I'm missing so many features.
Click to expand...
Click to collapse
You can best follow the current development state by having a look at the Code Review.
Many features are in work, listing some below as example
Deskclock - https://review.lineageos.org/#/q/topic:deskclock-o
Live Display - https://review.lineageos.org/#/q/topic:oreo-mr1-livedisplay
Download speed and manual pause/resume support - https://review.lineageos.org/#/q/topic:oreo-mr1-download-provider
Button lights (not interesting for the 5T though) - https://review.lineageos.org/#/q/topic:oreo-buttons-lights
Even more button settings - https://review.lineageos.org/#/q/topic:oreo-mr1-buttons-redux
Long press to kill app - https://review.lineageos.org/#/q/topic:oreo-mr1-kill-app
Advanced reboot menu - https://review.lineageos.org/#/q/topic:oreo-mr1-rebootmenu
bfqio (will have a look at adding it to our kernel as well) - https://review.lineageos.org/#/q/topic:oreo-mr1-bfqio
CDMA - https://review.lineageos.org/#/q/topic:cdma
so these i found with just having a quick look at the review pages, took me 20 times longer to write this than actually find it
Things simply take time, but are processing good.
marko94 said:
Ok, tried flash clean with magisk, without no verity ( I am decrypted) , got bootlop.
New try : clean , rom, gapps, magisk 15.2, no verity booted fine
Everything seems fine, fingerprint working, camera also.
Click to expand...
Click to collapse
glad to hear!
i am encrypted though, modifications like removing encryption etc are not tested by us.
I did a clean wipe, format data, then flashed rom with 8.1 unofficial pico gapps and 15.2 magisk. When i boot up, the phone boots back into the recovery. Using the 8.1 recovery from the OP.
Any ideas?
Great work! I'm very happy to see this! Downloading...
Evisceration said:
ROM might be unified with Oneplus 5T in future (not sure yet).
Click to expand...
Click to collapse
Is this supposed to say "OnePlus 5"?
Questions:
What's the status of Privacy Guard?
I assuming we're currently encrypted with keymaster1. Will be be migrating to keymaster3 at any point in the future?
Thanks!
alienwolf426 said:
I did a clean wipe, format data, then flashed rom with 8.1 unofficial pico gapps and 15.2 magisk. When i boot up, the phone boots back into the recovery. Using the 8.1 recovery from the OP.
Any ideas?
Click to expand...
Click to collapse
Did you flashed the no verity zip?
This is great news!
Will try this rom tomorrow. Great work!
inzaghi75 said:
Did you flashed the no verity zip?
Click to expand...
Click to collapse
No. I assumed that was required if one wanted the rom decrypted or something.
alienwolf426 said:
I did a clean wipe, format data, then flashed rom with 8.1 unofficial pico gapps and 15.2 magisk. When i boot up, the phone boots back into the recovery. Using the 8.1 recovery from the OP.
Any ideas?
Click to expand...
Click to collapse
Just flash rom and gapps, reboot and setup device. Then reboot to recovery and flash root.

[DEV] Project Treble for potter

Code:
/*
* 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.
*
*/
Install Instruction:
Flash this TWRP with treble support (thx to @GtrCraft)
Format /system, /data and /cache
Install this Lineage treble build
Install any GSI system image using TWRP (Install image -> choose your system.img -> select system partition)
Reboot
Known issues:
VoLTE stops to work after some reboots
You tell me
Bug report:
All bug reports without any logs will just be ignored.
Where can i find GSI's ?
https://forum.xda-developers.com/project-treble/trebleenabled-device-development
https://github.com/phhusson/treble_experimentations/wiki/Generic-System-Image-(GSI)-list
Wiki/FAQ
Witch image vendor should I flash there's different files??
Will try this when I get home
ayad.phonex said:
Witch image vendor should I flash there's different files??
Click to expand...
Click to collapse
Just flashed that Los rom that given in op
dayask said:
Just flashed that Los rom that given in op
Click to expand...
Click to collapse
No need to flash image vendor only the ROM you mean?
ayad.phonex said:
No need to flash image vendor only the ROM you mean?
Click to expand...
Click to collapse
Yes that Los build.. that'll do
ayad.phonex said:
Witch image vendor should I flash there's different files??
Click to expand...
Click to collapse
You can flash LOS which is given in the link. But you can also install other GSI images of A partition.
Thank you guys ?
Great work as always @vache . Appreciation and congratulations at the same time. potter development is on fire. wew.
Please note: we are using oem partition as vendor. So if you want to go back to stock ROM make sure to flash OEM via fastboot.
I swear vache is a God
Do treble ROMs pass safetynet?
kishorv06 said:
Please note: we are using oem partition as vendor. So if you want to go back to stock ROM make sure to flash OEM via fastboot.
Click to expand...
Click to collapse
If u downgrade from Oreo to stock u face lots of problems
So my advice is don't go to stock still official Oreo release
---------- Post added at 02:12 PM ---------- Previous post was at 02:11 PM ----------
eemgee said:
Do treble ROMs pass safetynet?
Click to expand...
Click to collapse
I think noo
eemgee said:
Do treble ROMs pass safetynet?
Click to expand...
Click to collapse
for what it's worth, there's a treble-ready Magisk v16.4 zip on vache's server. not sure if it passes SafetyNet though.
---------- Post added at 04:22 PM ---------- Previous post was at 04:00 PM ----------
Does a specific boot.img need to be flashed on the device, or can this be done with any typical ROM's boot.img? (stock ROM is currently x32 7.0, as opposed to our nice shiny x64 8.1, so this is why I ask - not that I'd be using the stock boot.img anyway)
monster1612 said:
Does a specific boot.img need to be flashed on the device, or can this be done with any typical ROM's boot.img? (stock ROM is currently x32 7.0, as opposed to our nice shiny x64 8.1, so this is why I ask - not that I'd be using the stock boot.img anyway)
Click to expand...
Click to collapse
I think the lineage treble zip takes care of everything.
thedr34m13 said:
I think the lineage treble zip takes care of everything.
Click to expand...
Click to collapse
Didn't get it? Why do we need a Potter version. I thought it's a gsi, so every system image is the same? Could someone explain this treble thing to me?
kehne said:
Didn't get it? Why do we need a Potter version. I thought it's a gsi, so every system image is the same? Could someone explain this treble thing to me?
Click to expand...
Click to collapse
My understanding is that the GSIs work on Potter, but the lineage zip has a boot image and other stuff that needs to be flashed first in order to use /oem as the "vendor" partition for the GSIs. Once that image is flashed, the GSIs should work as normal. (anyone with more knowledge, feel free to correct me if I'm wrong.)
Which Partition Style does the Moto G5 Plus has in order to install [Lineage] [Unofficial] [2018-05-19] Phh-Treble ? A only or A - A/B?
ichmyselfandi said:
Which Partition Style does the Moto G5 Plus has in order to install [Lineage] [Unofficial] [2018-05-19] Phh-Treble ? A only or A - A/B?
Click to expand...
Click to collapse
A device
ichmyselfandi said:
Which Partition Style does the Moto G5 Plus has in order to install [Lineage] [Unofficial] [2018-05-19] Phh-Treble ? A only or A - A/B?
Click to expand...
Click to collapse
A only

[ROM][MONTANA] LineageOS 16.0 for GSIs [UNOFFICIAL]

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.
*/
Known working GSIs:
See here
Known issues on GSIs:
You tell me
Installation instructions:
See here
Join our Project Treble Telegram group for support: https://t.me/G5Treble
Report bugs here: https://github.com/montanadevelopment/Issue-Tracker
Always include logcats!
Downloads:
https://github.com/montanadevelopment/releases/releases/tag/LOS16M-1
Please leave a rating here: https://forum.xda-developers.com/devdb/project/?id=32858#reviews
Along with some constructive criticism
Changelogs:
Code:
2019-07-13:
Switched to Pixel fingerprint.
Force enabled navigation bar.
Fixed Moto Actions.
2019-06-28:
We now boot lots of more GSIs.
Fixed VoLTE.
2019-05-25:
Switched to BOARD_VNDK_VERSION=current.
2019-05-23:
Fixed some GSI-related bugs.
2019-05-22:
Initial release.
Special thanks to:
@vache for his hard work on Potter Treble, therootlord for his hard work on Sanders Treble.
@KalilDev, @AsD Monio, @GoldeneyeS2, @Steve Mathew Joy for their hard work on the montana device & vendor tree
@rajatgupta1998 for his work on the MSM8937 kernel
LineageOS team
All other open source devs/teams I may have missed!
Sources
Device Tree: https://github.com/montanadevelopment/android_device_motorola_montana/tree/lineage-16.0
Vendor: https://github.com/montanadevelopment/proprietary_vendor_motorola_montana/tree/lineage-16.0
Kernel: https://github.com/montanadevelopment/android_kernel_motorola_msm8937/tree/oreopie-treble
XDA:DevDB Information
GSI-friendly LineageOS 16 for Moto G5S, ROM for the Moto G5S
Contributors
JarlPenguin, AsD Monio
Source Code: https://github.com/montanadevelopment
ROM OS Version: 9.x Pie
ROM Kernel: Linux 3.x
ROM Firmware Required: Oreo
Based On: CyanogenMod/AOSP
Version Information
Status: Beta
Current Beta Version: 0.1
Beta Release Date: 2019-06-28
Created 2019-05-21
Last Updated 2019-07-29
Is it mandatory to format/wipe and do a clean install if I'm coming from regular LOS16?
shrmp said:
Is it mandatory to format/wipe and do a clean install if I'm coming from regular LOS16?
Click to expand...
Click to collapse
No, I don't think so, but don't blame me if anything goes wrong
E1001: Failed to update system image. Updater script ended with ERROR:7
Surely it's in alpha phase
newinnov said:
E1001: Failed to update system image. Updater script ended with ERROR:7
Surely it's in alpha phase
Click to expand...
Click to collapse
Redownload the zip and use the latest Treble TWRP. Most likely you have a corrupted zip or you're using the wrong TWRP. It flashed fine here.
which gsi can i use? arm64 a only or ab?
Aritmancia said:
which gsi can i use? arm64 a only or ab?
Click to expand...
Click to collapse
ARM64 A-only. If a GSI doesn't boot get logs, or else I cannot and will not help boot it. I also do not support Erfan's ported GSIs as of right now.
Hi,
Thanks for the pointer. It was corrupt download file. Re-download file is flashing fine.
But on boot it's asking for password. I have never set any boot time password. Anyway to fix that?
how i flash this rom, like a system image or just normal rom? and after, i need to flash GSI's roms like a system image or normal rom? Sorry i'm noob xD
Bug:
1. After boot msg displayed: There's an internal problem with your device. Contact manufacturer. ( Don't know if it's cosmetic or real)
2. VoLTE is dead in Treble implementation too.
---------- Post added at 03:05 PM ---------- Previous post was at 02:59 PM ----------
KniveAndPens said:
how i flash this rom, like a system image or just normal rom? and after, i need to flash GSI's roms like a system image or normal rom? Sorry i'm noob xD
Click to expand...
Click to collapse
Hi, Just like a normal rom. Later on you can switch to RR GSI - A if you want to but thats totally optional.
New build. If someone can test the ArrowOS GSI, I'd appreciate it.
Edit: It boots. I'm assuming AOSiP does as well.
newinnov said:
Hi,
Thanks for the pointer. It was corrupt download file. Re-download file is flashing fine.
But on boot it's asking for password. I have never set any boot time password. Anyway to fix that?
Click to expand...
Click to collapse
Format data again.
newinnov said:
Bug:
1. After boot msg displayed: There's an internal problem with your device. Contact manufacturer. ( Don't know if it's cosmetic or real)
2. VoLTE is dead in Treble implementation too.
---------- Post added at 03:05 PM ---------- Previous post was at 02:59 PM ----------
Hi, Just like a normal rom. Later on you can switch to RR GSI - A if you want to but thats totally optional.
Click to expand...
Click to collapse
Thanks for the bugs list. VoLTE is a known bug, same with the internal problem. See if the latest build fixes the internal error.
Mirrors have been updated. If you're coming from an older build than today's, please clean flash.
Hi, Bug is written as: VoLTE (doesn't persist over reboot).
But for me it never worked, even initially on a clean flash. It's completely offline since flash.
newinnov said:
Hi, Bug is written as: VoLTE (doesn't persist over reboot).
But for me it never worked, even initially on a clean flash. It's completely offline since flash.
Click to expand...
Click to collapse
Huh. I'll update that
After i installed Gsi (Resurrection Remix), i installed gapps and i was not paying much attention but i had seen an error message in twrp "error 20", then i try boot in system and my moto g5s was stuck 10 minutes in unlocked bootloader advise and not show any progress. After this, i reinstalled Lineage OS Project Treble when boot to system show an message like "enter your password" but i dont have this password, so i flashed stock rom in twrp and now everything its okay. Sorry bad english im just sharing my experience, i think i made a mistake.
Aritmancia said:
After i installed Gsi (Resurrection Remix), i installed gapps and i was not paying much attention but i had seen an error message in twrp "error 20", then i try boot in system and my moto g5s was stuck 10 minutes in unlocked bootloader advise and not show any progress. After this, i reinstalled Lineage OS Project Treble when boot to system show an message like "enter your password" but i dont have this password, so i flashed stock rom in twrp and now everything its okay. Sorry bad english im just sharing my experience, i think i made a mistake.
Click to expand...
Click to collapse
You must format data when the password prompt appears.
V2 released. Look at OP for changelog.
MIUI added to list of GSIs that boot.
Aritmancia said:
After i installed Gsi (Resurrection Remix), i installed gapps and i was not paying much attention but i had seen an error message in twrp "error 20", then i try boot in system and my moto g5s was stuck 10 minutes in unlocked bootloader advise and not show any progress. After this, i reinstalled Lineage OS Project Treble when boot to system show an message like "enter your password" but i dont have this password, so i flashed stock rom in twrp and now everything its okay. Sorry bad english im just sharing my experience, i think i made a mistake.
Click to expand...
Click to collapse
I also had this problem "error 20", i cant install gapps in gsi's, i tested nano and pico (arm64 9.0)

[RECOVERY][UNOFFICIAL] TWRP Xperia 1/5 Android 11

TWRP Xperia 1 & 5
By Ferdian™
Hello everyone.
I'm trying to build TWRP for Xperia 1 on based android 11.
which one this device does not have TWRP support for android 11.
I've tried several TWRP and unfortunately
can't Install zip or for backup anything.
even I can't booting into system.
so I tried to build it and booted successfully,
I've tried it on my own device (Xperia 1 DoCoMo) and it worked fine.
so, if you want try to Install it,
don't forget to prepare your original boot.img,
just in case if it can't booting into the system.
Code:
/*
* 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 recovery
* 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.
*
*/
Please, if you are successful in installing it on your device,
leave a comment with the device you are using, so I can confirm and help other users not to hesitate
Tested on Xperia 1 Docomo, AU, GLOBAL
and Softbank (Cross Flash Softbank to AU)
and also in any Custom Roms 12.1/13​
How to flash :
1. Unlock your bootloader
2. Open your CMD and run on fastboot
then type this command :
Code:
fastboot flash boot twrp-11.img
3. if you done, remove USB from Phone
4. then press and hold Power (only up to vibrate) and Vol down (-) button. (don't release it for the first time before logging into splash TWRP, to make sure that it's installed properly.)
5. and you will enter into TWRP
TWRP X1 & X5 :
(FOR STOCK A11)
&
(FOR CUSTOM ROM / GSI A12+)
* I think not support for android 14 yet
(Because twrp 11 can't decrypt Rom 12+.
so I separate the builds)
No need format data to decrypt
but maybe in some roms even stock there are experience
Android Rescue Party triggers! Possible solutions?
or still encrypted. usually due to different keys or dirty data partitions.
the only way is to format the data first ​
Bugs:
* you tell me
source code : my github
current status : stable
If you want to support me, you can buy me coffee.
Paypal
BTC (BEP20) = 0xfb95d126c83e064e928d599132109bba7b772568
USDT (TRC20) = TXix2DiZrnBWqC4JgjJ8TaVjWzr1TnMRBi
For the Indonesian Region
Dana
Screenshots ​
NEW UPDATE !!
V.2
Fix MTP mode
Fix Double Internal Storage
Fix mount Vendor and OEM partitions
use new theme
Faster booting Into TWRP
Many added Features I forgot
V.3
Fix Reboot slot A/B
add OTG support
add some partitions (dtbo, fsg, etc.)
Remove my build.prop (this should be a universal build for all xperia 1, because it directly get from your system)
V.4 (Stable Version)
Update to TWRP 3.7.0_11
Re-Fixed MTP Issue
Fixed all errors and missing files (more stable)
add some tweaks
add support flash much Img file
support multiuser decrypt
V.5
add Support Vibration
add Extra Language
add support EXFAT
Revert back to /system path (v1)
V.6 *Finally decrypt work
Decrypt Internal storage
add support NTFS
Combine X1 & X5 device
add health hal
add Ramdisk Installer script
much more
re-fix touch for X5
se.developers said:
NEW UPDATE !!
V. 2
Fix MTP mode
Fix Double Internal Storage
Fix mount Vendor and OEM partitions
use new theme
Faster booting Into TWRP
Many added Features I forgot
and btw this to be my last update,
because it seems that there are very few Xperia 1 users here.
Click to expand...
Click to collapse
2. Internal storage still encryption what will this actually affect?
se.developers said:
NEW UPDATE !!
V. 2
Fix MTP mode
Fix Double Internal Storage
Fix mount Vendor and OEM partitions
use new theme
Faster booting Into TWRP
Many added Features I forgot
and btw this to be my last update,
because it seems that there are very few Xperia 1 users here.
Click to expand...
Click to collapse
Just because we there few developer and ROM for us :.(
ryo2456 said:
2. Internal storage still encryption what will this actually affect?
Click to expand...
Click to collapse
nothing, only can't read your file in internal storage from twrp. it's like a data protection.
no effect at all after booting
ryo2456 said:
Just because we there few developer and ROM for us :.(
Click to expand...
Click to collapse
yep, I think very few interested people like this device. especially the Japanese variant, it's quite expensive to change UBL no to yes
se.developers said:
nothing, only can't read your file in internal storage from twrp. it's like a data protection.
no effect at all after booting
yep, I think very few interested people like this device. especially the Japanese variant, it's quite expensive to change UBL no to yes
Click to expand...
Click to collapse
Still hope for a full functional custom ROM for our Xperia 1
but at least we got a twrp for it. may open new opportunities.
also. the drm keys seem to be a big issue for most
Thanks a lot for this. I left this phone last year because a relative lack of development. Plus my model, Softbank, didn't get the upgrade to 11. But with this I might make it my dedicated emulation device . Thanks a lot!
ryo2456 said:
Still hope for a full functional custom ROM for our Xperia 1
Click to expand...
Click to collapse
Isn't there already a discussion in another thread about Rom which is quite stable, such as evox etc.
KONR4D said:
but at least we got a twrp for it. may open new opportunities.
also. the drm keys seem to be a big issue for most
Click to expand...
Click to collapse
yep, I hope so.
and btw I think the a11 is not too heavy for the drm keys. not like in android 9 and below, which there will be a lot of trouble
TrustAugustus said:
Thanks a lot for this. I left this phone last year because a relative lack of development. Plus my model, Softbank, didn't get the upgrade to 11. But with this I might make it my dedicated emulation device . Thanks a lot!
Click to expand...
Click to collapse
Yep anytime, I think this phone is pretty good too. unfortunately very few developers are interested. and isn't there android 10 can use Sjll's twrp?
se.developers said:
Isn't there already a discussion in another thread about Rom which is quite stable, such as evox etc.
yep, I hope so.
and btw I think the a11 is not too heavy for the drm keys. not like in android 9 and below, which there will be a lot of trouble
Yep anytime, I think this phone is pretty good too. unfortunately very few developers are interested. and isn't there android 10 can use Sjll's twrp?
Click to expand...
Click to collapse
I have to test the evox when I got holiday cause Xperia 1 is my daily phone. So I need some times to deal with it.
ryo2456 said:
I have to test the evox when I got holiday cause Xperia 1 is my daily phone. So I need some times to deal with it.
Click to expand...
Click to collapse
yep, me too. and what I hear evox 12 is quite stable, only bugs on the sdcard. maybe I also will try it later
Nice! Wanna give it a try late
se.developers said:
Isn't there already a discussion in another thread about Rom which is quite stable, such as evox etc.
Click to expand...
Click to collapse
if you are talking about the MARS-SOM thats only GSI. I havent found any other rom that was made with this device in mind
KONR4D said:
if you are talking about the MARS-SOM thats only GSI. I havent found any other rom that was made with this device in mind
Click to expand...
Click to collapse
Oh, I guest they are referring to my post https://forum.xda-developers.com/t/...i-existed-in-a-chinese-forum-coolapk.4493181/
May I ask if how did you unlock your bootloader on a docomo unit? Because I have a Xperia 1 Docomo unit also. Thanks in advance
Tufyr said:
May I ask if how did you unlock your bootloader on a docomo unit? Because I have a Xperia 1 Docomo unit also. Thanks in advance
Click to expand...
Click to collapse
here
[CLOSED] Bootloader Unlock Allowed "No" to "Yes" is now finally possible.
Bootloader Unlock Allowed No to Yes is now finally possible Discovered by MrCooper95 QUICK STORY OF HOW IT HAPPENED For years, members of Xperia users thought that if you had a SIM locked Xperia phone, you would never able to unlock the...
forum.xda-developers.com
but, the thread get closed.
JaneValley said:
Nice! Wanna give it a try late
Click to expand...
Click to collapse
does it work well too on your device? (global)
KONR4D said:
if you are talking about the MARS-SOM thats only GSI. I havent found any other rom that was made with this device in mind
Click to expand...
Click to collapse
already answered below
Tufyr said:
May I ask if how did you unlock your bootloader on a docomo unit? Because I have a Xperia 1 Docomo unit also. Thanks in advance
Click to expand...
Click to collapse
already answered too.
btw I unlocked it from someone in the group, maybe if you're interested you can join too
deleted
The SD card (fat32) works.
Tried flash Magisk, works.
Didn't try anything else, but it looks legitimately great
EvoX 12.1 on J9110 (Global ver)
JaneValley said:
The SD card (fat32) works.
Tried flash Magisk, works.
Didn't try anything else, but it looks legitimately great
EvoX 12.1 on J9110 (Global ver)
Click to expand...
Click to collapse
OK, thanks for the report. I've fix some partitions and upgraded to TWRP 3.7.0_11. still working on internal decrypiton.

Categories

Resources