• If you are experiencing issues logging in, we moved to a new and more secure software and older account passwords were not able to be migrated. We recommend trying to reset your password, then contacting us if there are issues.
  • Nearly done! Migration cleanup is mostly done. There are a small number of issues left that we continue to work on, but all the heavy lifting is done. We still would love to hear feedback over at this thread and also check out the new XDA app! Thanks and we hope you enjoy the new forums, and thanks for your support of XDA <3

[ROM][NIGHTLIES][7.1] LineageOS 14.1 for Xperia ZR

Daedroza

Inactive Recognized Developer
Jun 16, 2014
562
1,030
0
daedroza.github.io
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 14.x (Unlocked Bootloader) :
Nightlies : https://download.lineageos.org/dogo

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

Informations and references :
About LineageOS updates : ChangeLog available on http://www.cmxlog.com/14.1/dogo/
About LineageOS device side : See my GitHub trees linked below


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


About the builds


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, cDogog, debugging & documenting! Enjoy!

[/INDENT]



LineageOS available for Dogo also thanks to :
- The LineageOS Team
- The CyanogenMod Team
- Everyone involved in working and testing​

XDA:DevDB Information
[ROM][NIGHTLIES][7.1] LineageOS 14.1 for Xperia ZR, ROM for the Sony Xperia ZR

Contributors
Daedroza, AdrianDC, Chippa_a, Olivier, Namelos, CyberwalkmaN, sigprof
ROM OS Version: 7.x Nougat

Version Information
Status: Testing

Created 2017-07-17
Last Updated 2017-11-10
 
Last edited:

Daedroza

Inactive Recognized Developer
Jun 16, 2014
562
1,030
0
daedroza.github.io
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 : Ok
- Lights : Ok
- 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 : Ok
- SEPolicies : Fully enforced
 
Last edited:

ra1n25

Senior Member
Apr 5, 2012
51
6
0
Kuressaare

Daedroza

Inactive Recognized Developer
Jun 16, 2014
562
1,030
0
daedroza.github.io
Folks asking, this is a development thread.
- No custom mods
- No Substratum Support
- Nothing that will create unwanted noise in developing / stabilizing this ROM.

Thanks, use only if you're willing to test and are ready to go outside your comfort zone at the time being.
 

rabe3ab

Senior Member
Aug 26, 2011
131
39
0
Dubai
whenever I have vioce call using facebook messenger, whatsapp, viber I can't use the speaker because the mic doesn't work anymore, strangely I can use speaker in regular phone calls with mic working and everything
 
  • Like
Reactions: Daedroza

Daedroza

Inactive Recognized Developer
Jun 16, 2014
562
1,030
0
daedroza.github.io
Uploading a new build as we speak. The changelog since 2016 is (I'm just being vague here, I don't remember all the issues, but I do have all the logs with me, if someone is interested):
1. Fix ancient F2FS bug (Specific to Fusion3)
2. Fix https://forum.xda-developers.com/showpost.php?p=69849473&postcount=1243
3. Fix https://forum.xda-developers.com/showpost.php?p=68245138&postcount=1130
4. Fix for input_evdev specific to us
5. Fix for SWAP
6. Fix for C5502 Double Tap to Wake Screen Freeze.
7. Many other improvements like ZRAM / Process Reclaim / Perf / mmc / Anon Reclaim etc
8. Changes from Chippa_a for XML audio configuration is also picked, I don't know maybe you will see a improvement @gorillanobka?

I haven't gone much into detail, but please send logs (dmesg / last_kmsg / logcat) wherever possible if you face something. At the moment, I only have C5502 (Fusion3 Dogo) with me. Yuga / Odin has hardware specific to them (other than chipset), so I won't be able to reproduce them on my device if you get some event changes / sensors changes.

I've also included a minor hack for auto-brightness. Let me know how you feel about it.
@rabe3ab : Please give it a go? Thanks :)
 

Lλmdα

Member
Jan 12, 2017
25
10
0
Testing and letting you know.

1) USB not getting detected, cleared cache, dalvik twice to see if it's detecting
***It worked after third attempt - might be my ***mistake
2) Sorting in launcher do not sort applications properly (have screen shot)
3) upon screen unlock, infrequently it gets stuck with opaque screen with only back button visible and the it stops responding for 30 seconds then it works
4) reboots infrequently logs attached. It crashes on chrome, SwiftKey etc apps
5) WiFi - shows connected but no packets are sent / received after 1-2 hours, need to either tap to disconnect and then reconnect or needs reboot to get connected to same wifi.
 

Attachments

Last edited:
  • Like
Reactions: Daedroza

Daedroza

Inactive Recognized Developer
Jun 16, 2014
562
1,030
0
daedroza.github.io
Testing and letting you know.

1) USB not getting detected, cleared cache, dalvik twice to see if it's detecting
***It worked after third attempt - might be my ***mistake
2) Sorting in launcher do not sort applications properly (have screen shot)
3) upon screen unlock, infrequently it gets stuck with opaque screen with only back button visible and the it stops responding for 30 seconds then it works
4) reboots infrequently logs attached. It crashes on chrome, SwiftKey etc apps
5) WiFi - shows connected but no packets are sent / received after 1-2 hours, need to either tap to disconnect and then reconnect or needs reboot to get connected to same wifi.
Can you please test the attached zip and tell me? Thanks.
 

Attachments

Daedroza

Inactive Recognized Developer
Jun 16, 2014
562
1,030
0
daedroza.github.io
New build is up folks.
- Security patches till July 2017.
- Clean build, inclusive of all changes by LineageOS till yesterday.
- Includes DRM libraries.
- All other standard bugfixes from cm-13.0 thread, all of them. YES, all of them.
- Attempt to fix a problem as told here (https://forum.xda-developers.com/showpost.php?p=73250499&postcount=16)

Folks, this has been a year long journey for me, let's face it, I am learner, so I need your feedback here. Even a smallest problem (like force closes) will seen as long as you provide logs. Regarding stability, we're not pushing devices that reboot or mess up after some time. A lot of people are involved in completing this and I would like to thank all of them. And good feedbacks are welcome too, if it works for you :)
 

Lλmdα

Member
Jan 12, 2017
25
10
0
Robust!!!

New build is up folks.
- Security patches till July 2017.
- Clean build, inclusive of all changes by LineageOS till yesterday.
- Includes DRM libraries.
- All other standard bugfixes from cm-13.0 thread, all of them. YES, all of them.
- Attempt to fix a problem as told here (https://forum.xda-developers.com/showpost.php?p=73250499&postcount=16)

Folks, this has been a year long journey for me, let's face it, I am learner, so I need your feedback here. Even a smallest problem (like force closes) will seen as long as you provide logs. Regarding stability, we're not pushing devices that reboot or mess up after some time. A lot of people are involved in completing this and I would like to thank all of them. And good feedbacks are welcome too, if it works for you :)
Stunning, robust and healthy build!
Thanks for that excellent build!

-Lamda
 
  • Like
Reactions: Daedroza

ra1n25

Senior Member
Apr 5, 2012
51
6
0
Kuressaare
I' ve decided to give it a go. Thank you @Daedroza. But to be sure that everything goes well, I need little help. Right now i'm on stock 5.1.1 locked bootloader(C5503). Rooted, Xposed and using XZDualRecovery 2.8.26 RELEASE by [NUT]. And my question is: do i NEED to clear my fotakernel before or after unlocking bootloader?( checked from the menu,yes i'm allowed to unlock it). What version TWRP is recommended? Thanks in advance!
 
Last edited: