[10] LineageOS 17.1 for z3

ronnay ryukay

Senior Member
Dec 28, 2018
120
101
0

Code:
/*
 * 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.
 */
Introduction
LineageOS, an open-source Android distribution, is available for several devices,
with more being continuously added thanks to the biggest, yet ever growing, Android open-source community.
Join us and breathe new life in your device, be it old or new.
If you don't know LineageOS and would like to read about it before installing it you can take a look at the official Website.

Images
Here are some Screenshots of this ROM.
Ask me

Features
Individuality
Customization is paramount to productivity.
That’s why LineageOS promises to push for user personalization and preference.
Everyone is unique and your device should be too.
Security
Your data, your rules. With powerful tools such as Privacy Guard, you are in control of what your apps can do whenever you want.
Trust will help you understand the security of your device and warn you about possible threats.
We take security very seriously: that’s why we deliver security updates every month to all our supported devices.
And to make your device more secure, lock everything behind an enhanced lock screen.
Longevity
LineageOS extends the functionality and lifespan of mobile devices from more than 20 different manufacturers thanks to our open-source community of contributors from all around the world.
Installation instructions
Prerequisites:
  • Unlocked Sony Xperia Z3
  • Latest firmware .291
  • Fastboot drivers to install TWRP
  • Micro-USB Cable to connect your phone to your computer
Install:
  1. Reboot to TWRP. *
  2. Wipe cache, dalvik cache, data and system.
  3. Format data to get rid of encryption.
  4. Install ROM.
  5. Install 10.0 Gapps for ARM. **
* recommended TWRP: Download TWRP
** optional

Update:
  • Get the latest build
  • Boot into TWRP
  • Flash the downloaded build
  • Reboot, if you don't wipe system backuptool will handle to reapply your modifications, for example: GApps.

Downloads
Download ROM
MD5: 78a54bc2c55ce935a97b4c16cebe3c69

Addons
OpenGapps
BiTGApps
microGISG (Alternative GApps microG based)
Magisk
SU-Addon

Thanks
Whole LineageOS Team for this amazing ROM
@rcstar6696
@Myself5
@drakonizer
@tomascus
@koron393
@nailyk
@SpiritCroc
I hope I haven't forgot anyone

Bugs
WHAT'S BROKEN
Tell me

XDA:DevDB Information
LineageOS 17.1 z3, ROM for the Sony Xperia Z3

Contributors
NeoArian & Mr.Tom_Tom

Donate to support development:
Donate via PayPal to NeoArian *** Our main contributor for LineageOS 16 & 17 for Z3 and Z3 Compact ***
Donate via PayPal to LineageOS

ROM OS Version: 10.x
ROM Kernel: Linux 3.4.x
Based On: AOSP

Version Information
Status: Stable
Current Stable Version: 2020-08-18
Stable Release Date: 2020-05-01
Current Beta Version: 2020-02-23
Beta Release Date: 2020-02-08

Created 2019-10-17
Last Updated 2020-08-18
 
Last edited:

Mr.Tom_Tom

Senior Member
Feb 16, 2008
131
151
83
Munich
Working LOS17 build achieved

Yep, here it is: LineageOS 17 with Android 10 for our good old Z3. Shinano's not dead (yet)!

Thanks to @NeoArian for sharing repos, manifests and some hints. Behavior seems to be similar to the Z3c build.

The following links are provided for testing purposes only and may be deleted in a few days, please refer to the "official" download links of the thread owner (thanks @ronidianpatisa).

Warning: the links below are now outdated, use the download links in post #1 please
Download: LOS 17 ROM for Z3, compiled as userdebug for TESTING ONLY (alternate hoster here)
Download: Related MD5 checksum file
Download: TWRP for Z3, compatible with Android 10 ROMs for TESTING ONLY
Download: GAPPS BETA

What I have tested so far: checklist working/not working (again, thanks to @NeoArian for this idea and the initial list)
 

Attachments

Last edited:

dhacke

Senior Member
Nov 4, 2018
737
306
0
Thanks @ MrTom_Tom for the sharing of the early LOS 17 build. Very nice from you.
One question: For what stands tbd in the linked checklist?

Nevetheless i will wait for the builds from NeoArian with working encryption.
 
Last edited:

elmxx

Member
Sep 19, 2019
24
5
0
I have tested your Android 10 rom for z3! Here it is some issues that I have found!

1. when device is power off, if that time you charge your phone until you unplug usb charge cable you cant turn on your phone.
2. when you flash android 10 test rom zip and gapps zip , your sony xperia z3 logo will start and reset itself "loop" until you hold power button and volume up key hold together to power off your phone. Solution that I find is " after you power off phone, Hold power button and volume down key 5 sec , twrp recovery windows will pop up, then Wipe cache, dalvik cache, data and system. 1. first, install android 10 zip rom ,reboot phone then power off the phone, reboot in twrp recovery and flash gapps- pico or micro.
3. Battery percentage icon doesn't show on status bar.
4. some google sound cant be saved.
5. Pixel launcher crashes all the times.
6. power off charge doesn't show battery percentage.. .. during the charge screen doesn't turn off. I guess, these are common lineageOS kernel issue .
7. There is no sony xperia z3 FM radio app..
8. Digital wellbeing apps keep stoping.

.
.
.
 
Last edited:

Mr.Tom_Tom

Senior Member
Feb 16, 2008
131
151
83
Munich
[...] i will wait for the builds from NeoArian with working encryption.
Yes, please do not use this build as a daily driver yet! But we are happy for every feedback on the test build.

For what stands tbd in the linked checklist?
tbd = to be determined = not yet tested

1. when device is power off, if that time you charge your phone until you unplug usb charge cable you cant turn on your phone.
2. when you flash android 10 test rom zip and gapps zip , your sony xperia z3 logo will start and reset itself "loop" until you hold power button and volume up key hold together to power off your phone. Solution that I find is " after you power off phone, Hold power button and volume down key 5 sec , twrp recovery windows will pop up, then Wipe cache, dalvik cache, data and system. 1. first, install android 10 zip rom ,reboot phone then power off the phone, reboot in twrp recovery and flash gapps- pico or micro.
3. Battery percentage icon doesn't show on status bar.
4. some google sound cant be saved.
5. Pixel launcher crashes all the times.
6. power off charge doesn't show battery percentage.. .. during the charge screen doesn't turn off. I guess, these are common lineageOS kernel issue .
7. There is no sony xperia z3 FM radio app..
8. Digital wellbeing apps keep stoping.
First of all, thanks for testing and providing feedback!

Regarding your comments:
1. Confirm, known issue: checklist working/not working
2. Are you sure you wiped DATA during your first flash? I do not think it is necessary to wipe SYSTEM.
3. Cannot confirm that issue. Icon is present, and when you swipe down, a percentage value is shown next to the icon.
4. Not sure what you mean by that
5. This is by design since Android P, unfortunately. Please see this explanation.
6. I guess You're right
7. Confirm, known issue. (Honestly speaking I was not expecting that someone will miss that FM radio.)
8. I would expect that there are some dependencies to other google stuff. Can someone confirm that?
 
Last edited:
  • Like
Reactions: CedArctic and elmxx

elmxx

Member
Sep 19, 2019
24
5
0
Thanks you for your concern and your hard work along with your dedication.

Yes, please do not use this build as a daily driver yet! But we are happy for every feedback on the test build.


tbd = to be determined = not yet tested


First of all, thanks for testing and providing feedback!

Regarding your comments:
1. Confirm, known issue: checklist working/not working
2. Are you sure you wiped DATA during your first flash? I do not think it is necessary to wipe SYSTEM.
3. Cannot confirm that issue. Icon is present, and when you swipe down, a percentage value is shown next to the icon.
4. Not sure what you mean by that
5. This is by design since Android P, unfortunately. Please see this explanation.
6. I guess You're right
7. Confirm, known issue. (Honestly speaking I was not expecting that someone will miss that FM radio.)
8. I would expect that there are some dependencies to other google stuff. Can someone confirm that?
----------------------------------------------------------------------
Yes, I wiped cache, dalvik cache, data but I did wipe system either. May be wipe the SYSTEM wasn't such a good idea!
ignore " 4. some google sound cant be saved."
Offline FM radio my favorite apps :) as you know you don't need internet to listen stations.
You are right , when you swipe down, a percentage value is shown next to the icon but without swipe down you wont able to see percentage value even if you enable it.
I think this rom will be better then pie rom.... Thanks for your time.
 
Last edited:

Maxine76

Member
Jan 25, 2019
9
1
0
Yes, please do not use this build as a daily driver yet! But we are happy for every feedback on the test build.


tbd = to be determined = not yet tested


First of all, thanks for testing and providing feedback!

Regarding your comments:
1. Confirm, known issue: checklist working/not working
2. Are you sure you wiped DATA during your first flash? I do not think it is necessary to wipe SYSTEM.
3. Cannot confirm that issue. Icon is present, and when you swipe down, a percentage value is shown next to the icon.
4. Not sure what you mean by that
5. This is by design since Android P, unfortunately. Please see this explanation.
6. I guess You're right
7. Confirm, known issue. (Honestly speaking I was not expecting that someone will miss that FM radio.)
8. I would expect that there are some dependencies to other google stuff. Can someone confirm that?
On Android pie, digital wellbeing is not working unless gapps is installed. After installing gapps, digital wellbeing works like a charm. At least on android pie, I can confirm that.
 

Mr.Tom_Tom

Senior Member
Feb 16, 2008
131
151
83
Munich
Today I took a look at the issue with Digital Wellbeing as reported by @elmxx.

I can confirm the issue - when trying to access Digital Wellbeing through Settings, the app force closes.

Log Cat excerpt:
Code:
10-19 21:47:20.091 19366 19366 D AndroidRuntime: Shutting down VM
10-19 21:47:20.092 19366 19366 E AndroidRuntime: FATAL EXCEPTION: main
10-19 21:47:20.092 19366 19366 E AndroidRuntime: Process: com.google.android.apps.wellbeing, PID: 19366
10-19 21:47:20.092 19366 19366 E AndroidRuntime: java.lang.RuntimeException: java.lang.SecurityException: getUnsuspendablePackagesForUser: Neither user 10100 nor current process has android.permission.SUSPEND_APPS.
10-19 21:47:20.092 19366 19366 E AndroidRuntime:        at jex.run(PG:3)
10-19 21:47:20.092 19366 19366 E AndroidRuntime:        at android.os.Handler.handleCallback(Handler.java:883)
10-19 21:47:20.092 19366 19366 E AndroidRuntime:        at android.os.Handler.dispatchMessage(Handler.java:100)
10-19 21:47:20.092 19366 19366 E AndroidRuntime:        at android.os.Looper.loop(Looper.java:214)
10-19 21:47:20.092 19366 19366 E AndroidRuntime:        at android.app.ActivityThread.main(ActivityThread.java:7356)
10-19 21:47:20.092 19366 19366 E AndroidRuntime:        at java.lang.reflect.Method.invoke(Native Method)
10-19 21:47:20.092 19366 19366 E AndroidRuntime:        at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:492)
10-19 21:47:20.092 19366 19366 E AndroidRuntime:        at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:930)
10-19 21:47:20.092 19366 19366 E AndroidRuntime: Caused by: java.lang.SecurityException: getUnsuspendablePackagesForUser: Neither user 10100 nor current process has android.permission.SUSPEND_APPS.
10-19 21:47:20.092 19366 19366 E AndroidRuntime:        at android.os.Parcel.createException(Parcel.java:2071)
10-19 21:47:20.092 19366 19366 E AndroidRuntime:        at android.os.Parcel.readException(Parcel.java:2039)
10-19 21:47:20.092 19366 19366 E AndroidRuntime:        at android.os.Parcel.readException(Parcel.java:1987)
10-19 21:47:20.092 19366 19366 E AndroidRuntime:        at android.content.pm.IPackageManager$Stub$Proxy.getUnsuspendablePackagesForUser(IPackageManager.java:7072)
10-19 21:47:20.092 19366 19366 E AndroidRuntime:        at android.app.ApplicationPackageManager.getUnsuspendablePackages(ApplicationPackageManager.java:2368)
10-19 21:47:20.092 19366 19366 E AndroidRuntime:        at bzd.get(PG:1)
10-19 21:47:20.092 19366 19366 E AndroidRuntime:        at doj.get(PG:10)
10-19 21:47:20.092 19366 19366 E AndroidRuntime:        at bzb.a(PG:2)
10-19 21:47:20.092 19366 19366 E AndroidRuntime:        at kik.a(PG:3)
10-19 21:47:20.092 19366 19366 E AndroidRuntime:        at kxx.a(PG:3)
10-19 21:47:20.092 19366 19366 E AndroidRuntime:        at kxy.run(PG:27)
10-19 21:47:20.092 19366 19366 E AndroidRuntime:        at laq.run(PG:3)
10-19 21:47:20.092 19366 19366 E AndroidRuntime:        at jgl.run(PG:3)
10-19 21:47:20.092 19366 19366 E AndroidRuntime:        at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1167)
10-19 21:47:20.092 19366 19366 E AndroidRuntime:        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:641)
10-19 21:47:20.092 19366 19366 E AndroidRuntime:        at jen.run(PG:4)
10-19 21:47:20.092 19366 19366 E AndroidRuntime:        at java.lang.Thread.run(Thread.java:919)
10-19 21:47:20.092 19366 19366 E AndroidRuntime: Caused by: android.os.RemoteException: Remote stack trace:
10-19 21:47:20.092 19366 19366 E AndroidRuntime:        at android.app.ContextImpl.enforce(ContextImpl.java:1896)
10-19 21:47:20.092 19366 19366 E AndroidRuntime:        at android.app.ContextImpl.enforceCallingOrSelfPermission(ContextImpl.java:1924)
10-19 21:47:20.092 19366 19366 E AndroidRuntime:        at com.android.server.pm.PackageManagerService.getUnsuspendablePackagesForUser(PackageManagerService.java:13936)
10-19 21:47:20.092 19366 19366 E AndroidRuntime:        at android.content.pm.IPackageManager$Stub.onTransact(IPackageManager.java:3326)
10-19 21:47:20.092 19366 19366 E AndroidRuntime:        at com.android.server.pm.PackageManagerService.onTransact(PackageManagerService.java:4028)
10-19 21:47:20.092 19366 19366 E AndroidRuntime:
I think the key info here is:
Code:
Neither user 10100 nor current process has android.permission.SUSPEND_APPS
I will look into that in more detail later, but it might be not that simple that there are some GAPPS missing.

Update:
I guess I found a solution, test was successful and submitted a patch already. Problem should be fixed in future builds.
 
Last edited:

Mr.Tom_Tom

Senior Member
Feb 16, 2008
131
151
83
Munich
Offline FM radio my favorite apps :) as you know you don't need internet to listen stations.
As you @elmxx have been the first to provide a detailed feedback I took some time to look after your FM Radio request;), see updated post #2. It isn't working perfect as explained here by @NeoArian.

What about Z3 Dual support ? Can D6633 users test the rom safely ?
Sorry, I have zero experience with the Dual Sim variant, I do not hink it will currently work.
 

Attachments

elmxx

Member
Sep 19, 2019
24
5
0
FM Radio

Thanks adding FM Radio app. it works well.
E-mail app. keeps closed. The one "e-mail app" which it comes with lineageos. I just want to let you know.

Thanks for your time.
 
Last edited:
  • Like
Reactions: ronnay ryukay

elmxx

Member
Sep 19, 2019
24
5
0
Flashing LineageOS rom without Gapps!

I just did flash lineageos rom without flashing Gapps! Here is what I found.......
Every lineageos apps work fine except message app. not getting Text Message Notifications. ------> " google message app works fine".

By the way, May be Gapps beta caused E-mail "keep closed" issue! I am not sure.
 
Last edited:

Technoolli

Senior Member
Oct 2, 2017
79
5
0
C:\adb>fastboot flash recovery TWRP-Z3-recovery-Android10-2019-10-11-TESTING.img
sending 'recovery' (13310 KB)...
OKAY [ 0.687s]
writing 'recovery'...
OKAY [ 0.906s]
finished. total time: 1.594s

fastboot reboot-bootloader

I can not boot in to recovery ?????
 

nikapos

Senior Member
Apr 17, 2014
133
25
48
C:\adb>fastboot flash recovery TWRP-Z3-recovery-Android10-2019-10-11-TESTING.img
sending 'recovery' (13310 KB)...
OKAY [ 0.687s]
writing 'recovery'...
OKAY [ 0.906s]
finished. total time: 1.594s

fastboot reboot-bootloader

I can not boot in to recovery ?????
try "fastboot flash FOTAKernel TWRP-Z3-recovery-Android10-2019-10-11-TESTING.img"
(hopefully its twrp 3.3.1 - otherwise download it https://downloads.sourceforge.net/p...-t3981381&ts=1571749352&use_mirror=netcologne )


enter recovery by pressing vol down + power.

---------- Post added at 01:28 PM ---------- Previous post was at 01:25 PM ----------

---------- Post added at 01:25 PM ---------- Previous post was at 01:17 PM ----------

Thanks adding FM Radio app. it works well.
E-mail app. keeps closed. The one "e-mail app" which it comes with lineageos. I just want to let you know.

Thanks for your time.
aaahhhh.. the fm radio... the one least appreciated feature of modern phones.
have you found a way to change stations with the headset button? :)
 
Last edited:

Technoolli

Senior Member
Oct 2, 2017
79
5
0
try "fastboot flash FOTAKernel TWRP-Z3-recovery-Android10-2019-10-11-TESTING.img"
(hopefully its twrp 3.3.1 - otherwise download it https://downloads.sourceforge.net/p...-t3981381&ts=1571749352&use_mirror=netcologne )


enter recovery by pressing vol down + power.

---------- Post added at 01:28 PM ---------- Previous post was at 01:25 PM ----------

---------- Post added at 01:25 PM ---------- Previous post was at 01:17 PM ----------



aaahhhh.. the fm radio... the one least appreciated feature of modern phones.
have you found a way to change stations with the headset button? :)
I do not get into recovery like that, fastboot flashing does not work anymore ...
 

nikapos

Senior Member
Apr 17, 2014
133
25
48
I do not get into recovery like that, fastboot flashing does not work anymore ...
ok then, start over.

1. flash original .291 rom with flashtool
2. make sure your bootloader is unlocked
3. enter fastboot to flash 3.3.1 twrp recovery to FOTAPartition
4. press power button holding down volume button until you feel one short vibration.

hope this does the trick. however this is not the proper thread to discuss unbricking or installing recoveries.
 

Technoolli

Senior Member
Oct 2, 2017
79
5
0
Thank you, but with the Flashtool I can not select the firmware ... Can I flash it somehow different? I just can not do more in the gas pedal, also I do not come in the recovery or Android system ... help