[ROM][NIGHTLIES][8.1.0] LineageOS 15.1 for Xperia ZR

Search This thread

Daedroza

Inactive Recognized Developer
Jun 16, 2014
591
1,086
github.com
Code:
#include <std_disclaimer.h>
/*
 * 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.
 */


About LineageOS
LineageOS is a free, community built, aftermarket firmware distribution of Android 7.x (Nougat),
which is designed to increase performance and reliability over stock Android for your device.

All the source code for LineageOS is available in the LineageOS GitHub repo.
And if you would like to contribute to LineageOS, please visit our Gerrit Code Review.

Official LineageOS website : http://lineageos.org


Downloads Links
LineageOS 15.x (Unlocked Bootloader) :
Nightlies : https://download.lineageos.org/dogo

Google Applications (optional) :
OpenGapps : http://opengapps.org/ (Use packages for ARM, Android 8.1, Nano or Pico)
Information : Flash the GApps before the first boot. If not, a clean flash is recommended.

Flashing and updating
LineageOS clean install :
- (Optional) Flash the boot.img kernel from the ROM zip with Fastboot or Flashtool
- (Optional) Wipe the data & cache (Backup to make sure not to loose data)
- Flash the LineageOS ROM zip from the Recovery
- (Optional) Flash the GApps to have the Google Applications
- (Optional) Every additional zip you want to flash
- Reboot

LineageOS update / upgrade :
- (Information) Don't wipe anything unless you want to
- (CM / UNOFFICIAL) Nothing to wipe when switching
- (FUTURE RELEASES) Might need clean, informations will be updated
- Flash the latest LineageOS ROM zip from the Recovery
- (Optional) Flash the GApps on first install / upgrade. Not required later, but do update sometimes
- (Optional) Every additional zip you want to flash
- Reboot

LineageOS addonsu for root access :
- (Information) Read the Root section of the Q&A thread
- (Download) Download the addonsu for arm : LineageOS Downloads / Extras
- (Optional) Flash the zip on a working Lineage installation (once)
- (Information) Upon ROM updates, the addonsu is preserved
- Reboot

Issues and reports
- Report issues only if you are using the ROM kernel
- If an additional mod is installed, make sure it's unrelated, and mention it
- Make sure the issue wasn't discussed earlier in the threads
- Share a log of the error with CatLog for example

About LineageOS Legal : http://lineageos.org/legal/

The LineageOS team would like to thank everyone involved
in helping with testing, coding, debugging & documenting! Enjoy!


Also thanks to :
- The LineageOS Team
- The CyanogenMod Team
- Everyone involved in working and testing​

XDA:DevDB Information
[ROM][NIGHTLIES][8.1.0] LineageOS 15.1 for Xperia ZR, ROM for the Sony Xperia ZR

Contributors
Daedroza, Chippa_a, CyberWalkMaN, AdrianDC
Source Code: https://github.com/fusion3-common

ROM OS Version: 8.x Oreo

Version Information
Status: Stable

Created 2017-12-19
Last Updated 2018-12-22
 

Daedroza

Inactive Recognized Developer
Jun 16, 2014
591
1,086
github.com
Reserved

FEATURES AND ISSUES
Code:
- Boot : Ok
- GApps : OpenGApps Micro Ok
- FOTA Recovery : Ok (see below)
- WiFi : Ok (real SONY MAC address)
- Bluetooth : Ok (real SONY MAC address)
- WiFi Hotspot : Ok (2.4GHz and 5GHz)
- RIL - Phone - Data : Ok
- GPS : Ok
- Camera : Ok
- Camcorder : Work in Progress
- MicroSD : Ok
- Accelerometer : Ok
- Compass : Ok
- Gyroscope : Ok
- AOSP sensors : Ok
- FM Radio : Ok
- Vibrator : Ok
- Microphone : Ok
- Audio & external audio : Ok
- Bluetooth audio : Ok
- NFC : Ok
- Kernel : Ok, Updating frequently
- Graphics : Ok
- 3D Rendering : Ok
- Clock : Ok
- Offline Charging : Work in progress
- SEPolicies : Work in progress
 
Last edited:

taman89

Senior Member
Apr 14, 2017
88
25
Upgrade from Lineage 14.1 to lineage 15

Hey...once again I thank you for keeping live this device.. I just want to know that flashing lineage 15 over lineage 14.1 through TWRP 3.2.0.0 is possible or do I need to do clean flash? Also "suaddon" of 14.1 is recommended or do I need to manually flash SuperSU?
 

Daedroza

Inactive Recognized Developer
Jun 16, 2014
591
1,086
github.com
Hey...once again I thank you for keeping live this device.. I just want to know that flashing lineage 15 over lineage 14.1 through TWRP 3.2.0.0 is possible or do I need to do clean flash? Also "suaddon" of 14.1 is recommended or do I need to manually flash SuperSU?

Development builds are for generating feedback from users. To narrow down any problems, clean flash is recommended.
Also, 14.1 -> 15.0 is not supported at the moment (haven't kept track of it, to be honest).

Thanks.
 
  • Like
Reactions: Røbin

taman89

Senior Member
Apr 14, 2017
88
25
Hey daedroza, I installed this build... No root detected even availability of option in developer option. Could you mod kernel for twep recovery coz I am facing error issue in installing zips with all version of twrp due to which i failed to gapps installation. I had use resurrection remix nougat which had default inbuilt twrp..ROM has many repairs like cam recorder not connect to camera, no audiofx, file explorer crash, no default package installer and counting... Pl do rectify and modify some problems..

Available to do test for future build..
 

Daedroza

Inactive Recognized Developer
Jun 16, 2014
591
1,086
github.com
Hey daedroza, I installed this build... No root detected even availability of option in developer option. Could you mod kernel for twep recovery coz I am facing error issue in installing zips with all version of twrp due to which i failed to gapps installation. I had use resurrection remix nougat which had default inbuilt twrp..ROM has many repairs like cam recorder not connect to camera, no audiofx, file explorer crash, no default package installer and counting... Pl do rectify and modify some problems..

Available to do test for future build..

That's not really device specific (AudioFX / File App crashes).
Camcorder is being worked upon (not by me though), so waiting is the best option.
The initial quality is not up to the mark, agreed. But that's the reason I've been reluctant to release Android 8.x in the first place.
This is purely for testing / feedback (probably not seeing any log still), you can switch back to 14.1 if that's really important for you.
 
  • Like
Reactions: Røbin

Daedroza

Inactive Recognized Developer
Jun 16, 2014
591
1,086
github.com
Updated build.
Newer sources, fixes most of the application crashes (specifically Files android app).
Nothing special at the moment to test (other than rotation sensors and GPS). Please give it a try.
 
  • Like
Reactions: Røbin

taman89

Senior Member
Apr 14, 2017
88
25
Lineage 15 (26/12/2017) Feedback

Hey daedroza, as I said you about future testing. I flash latest build of lineage 15 and found some major & minor issues..
1) Device switch off charging works but screen backlight doesn't turn off.
2) Sim not detect.
3) Sensor and GPS works fine. Screen rotates as it tends to.
4) Battery works ok.
5) Heating issue is more without playing games and apps. In idle state it's btw 50-60 degrees.
6) Camcorder error and no audio fx.
7) Os optimise app well in background.
8) Performance low in high end game GPU demanding games like mc5/mc verses.

I will send some more details..
 

Daedroza

Inactive Recognized Developer
Jun 16, 2014
591
1,086
github.com
Hey daedroza, as I said you about future testing. I flash latest build of lineage 15 and found some major & minor issues..
1) Device switch off charging works but screen backlight doesn't turn off.
2) Sim not detect.
3) Sensor and GPS works fine. Screen rotates as it tends to.
4) Battery works ok.
5) Heating issue is more without playing games and apps. In idle state it's btw 50-60 degrees.
6) Camcorder error and no audio fx.
7) Os optimise app well in background.
8) Performance low in high end game GPU demanding games like mc5/mc verses.

I will send some more details..

I've uploaded a newer build (20171227). Fixed SIM Card issue. I've no problems with screen backlight at the moment.
 
  • Like
Reactions: Røbin

taman89

Senior Member
Apr 14, 2017
88
25
Some problems address below...
WiFi works great without being turn off. Videos capture from other sources has highly stretched aspect ratio and screen doesn't rotate in default or third party player. Google camera show camcorder error. Battery charging speed is slow on Sony turbo charger.
Will address some problems in future
 

Daedroza

Inactive Recognized Developer
Jun 16, 2014
591
1,086
github.com
Some problems address below...
WiFi works great without being turn off. Videos capture from other sources has highly stretched aspect ratio and screen doesn't rotate in default or third party player. Google camera show camcorder error. Battery charging speed is slow on Sony turbo charger.
Will address some problems in future
Sony Z series (2012-13) doesn't support turbo charging.
Camcorder is a known problem at the moment, hence no comments on it until some progress is made.

Regarding Screen Rotate, try rotating on second time? It should work, it's something known to me and well, no idea how to fix it. Will brainstorm on it later.

Also to all,
Uploaded a new build (20171231_184033). Fixed governor change on boot, now it correctly sets to Interactive instead of Performance.
There should be a noticeable improvement in battery life.

NOTE: We've switched on boot and system dex-preopt, so, "Wipe Dalvik + Cache" is necessary step. Still, if the device doesn't boot, please do a clean flash.

EDIT: Also, please look "Ambient Display Gestures" (located under System > Languages & Input > Ambient Display Gestures).
They contain wake device on Hand wave / Pick-up / Pocket feature.

Thank you and Happy New Year 2018 all!
 
Last edited:

pratik.chabria

Senior Member
Dec 28, 2014
125
14
I am loving this rom by far the smoothest experience and battery is also good in the latest build ! Thanks ! And yeah supersu works fine !
 

taman89

Senior Member
Apr 14, 2017
88
25
One more problem detected related to google setup wizard after fresh ROM and gapps aroma flash. The wizard got crash in presence of sim which shows error of various services of google stopped working. But I manage to setup without sim on basis of WiFi. So focus on this problem too..
 

pratik.chabria

Senior Member
Dec 28, 2014
125
14
The same happened while i was on setting up but in my case all google has stopped errors came without a simcard.
 

taman89

Senior Member
Apr 14, 2017
88
25
Bug Report

Hey daedroza..here is bug report..
 

Attachments

  • bugreport-C5503-OPR3.170623.013-2018-01-06-13-27-12.zip
    2.5 MB · Views: 30

Daedroza

Inactive Recognized Developer
Jun 16, 2014
591
1,086
github.com
Hey daedroza..here is bug report..

I've no crashes with SetupWizard. However, if you encounter any crashes, update the GApps. Also, you could simply delete the SetupWizard and type this in Shell
Code:
adb shell settings put global setup_wizard_has_run 1
adb shell settings put secure user_setup_complete 1
adb shell settings put global device_provisioned 1

Updated builds to Android 8.1.0.
Z thread contains the change-log if you're interested.

Thanks!
 
  • Like
Reactions: pratik.chabria

taman89

Senior Member
Apr 14, 2017
88
25
I've no crashes with SetupWizard. However, if you encounter any crashes, update the GApps. Also, you could simply delete the SetupWizard and type this in Shell
Code:
adb shell settings put global setup_wizard_has_run 1
adb shell settings put secure user_setup_complete 1
adb shell settings put global device_provisioned 1

Updated builds to Android 8.1.0.
Z thread contains the change-log if you're interested.

Thanks!
Where is 8.1 build. I m interested but have gapps 8.1 non availability issue..
 

pratik.chabria

Senior Member
Dec 28, 2014
125
14
Hi i tested the latest build 8.1.0 by dirty flashing , too many google app crashes and play store went missing.
Gapps from opengapps v8.0 didn't get flashed giving error to use gapps 8.1.
I clean flashed the rom with unoffical gapps 8.1 arm, still gave me fc on setup wizard and system ui kept stopping, i couldn't move past setup screen back to 8.0 31/12
 
  • Like
Reactions: Daedroza

Top Liked Posts

  • There are no posts matching your filters.
  • 14
    Code:
    #include <std_disclaimer.h>
    /*
     * 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.
     */


    About LineageOS
    LineageOS is a free, community built, aftermarket firmware distribution of Android 7.x (Nougat),
    which is designed to increase performance and reliability over stock Android for your device.

    All the source code for LineageOS is available in the LineageOS GitHub repo.
    And if you would like to contribute to LineageOS, please visit our Gerrit Code Review.

    Official LineageOS website : http://lineageos.org


    Downloads Links
    LineageOS 15.x (Unlocked Bootloader) :
    Nightlies : https://download.lineageos.org/dogo

    Google Applications (optional) :
    OpenGapps : http://opengapps.org/ (Use packages for ARM, Android 8.1, Nano or Pico)
    Information : Flash the GApps before the first boot. If not, a clean flash is recommended.

    Flashing and updating
    LineageOS clean install :
    - (Optional) Flash the boot.img kernel from the ROM zip with Fastboot or Flashtool
    - (Optional) Wipe the data & cache (Backup to make sure not to loose data)
    - Flash the LineageOS ROM zip from the Recovery
    - (Optional) Flash the GApps to have the Google Applications
    - (Optional) Every additional zip you want to flash
    - Reboot

    LineageOS update / upgrade :
    - (Information) Don't wipe anything unless you want to
    - (CM / UNOFFICIAL) Nothing to wipe when switching
    - (FUTURE RELEASES) Might need clean, informations will be updated
    - Flash the latest LineageOS ROM zip from the Recovery
    - (Optional) Flash the GApps on first install / upgrade. Not required later, but do update sometimes
    - (Optional) Every additional zip you want to flash
    - Reboot

    LineageOS addonsu for root access :
    - (Information) Read the Root section of the Q&A thread
    - (Download) Download the addonsu for arm : LineageOS Downloads / Extras
    - (Optional) Flash the zip on a working Lineage installation (once)
    - (Information) Upon ROM updates, the addonsu is preserved
    - Reboot

    Issues and reports
    - Report issues only if you are using the ROM kernel
    - If an additional mod is installed, make sure it's unrelated, and mention it
    - Make sure the issue wasn't discussed earlier in the threads
    - Share a log of the error with CatLog for example

    About LineageOS Legal : http://lineageos.org/legal/

    The LineageOS team would like to thank everyone involved
    in helping with testing, coding, debugging & documenting! Enjoy!


    Also thanks to :
    - The LineageOS Team
    - The CyanogenMod Team
    - Everyone involved in working and testing​

    XDA:DevDB Information
    [ROM][NIGHTLIES][8.1.0] LineageOS 15.1 for Xperia ZR, ROM for the Sony Xperia ZR

    Contributors
    Daedroza, Chippa_a, CyberWalkMaN, AdrianDC
    Source Code: https://github.com/fusion3-common

    ROM OS Version: 8.x Oreo

    Version Information
    Status: Stable

    Created 2017-12-19
    Last Updated 2018-12-22
    6
    New build uploaded.
    Addresses a situation where low memory killer kills a already killed app which causes a reboot.
    5
    Reserved

    FEATURES AND ISSUES
    Code:
    - Boot : Ok
    - GApps : OpenGApps Micro Ok
    - FOTA Recovery : Ok (see below)
    - WiFi : Ok (real SONY MAC address)
    - Bluetooth : Ok (real SONY MAC address)
    - WiFi Hotspot : Ok (2.4GHz and 5GHz)
    - RIL - Phone - Data : Ok
    - GPS : Ok
    - Camera : Ok
    - Camcorder : Work in Progress
    - MicroSD : Ok
    - Accelerometer : Ok
    - Compass : Ok
    - Gyroscope : Ok
    - AOSP sensors : Ok
    - FM Radio : Ok
    - Vibrator : Ok
    - Microphone : Ok
    - Audio & external audio : Ok
    - Bluetooth audio : Ok
    - NFC : Ok
    - Kernel : Ok, Updating frequently
    - Graphics : Ok
    - 3D Rendering : Ok
    - Clock : Ok
    - Offline Charging : Work in progress
    - SEPolicies : Work in progress
    5
    Good news: now all fusion3 devices will receive official LineageOS 15.1 builds - https://review.lineageos.org/c/LineageOS/hudson/+/224409 . The first build for Xperia ZR can be downloaded tomorrow at https://download.lineageos.org/dogo :)
    4
    Video Recording issue fixed. Check newest build.

    Thanks for all the efforts & hard work put into by: Miloš Ratković & @AdrianDC