yashsingh1/xdaforums huggingface dataset:
[Magisk] delanvital:
I hope this is the right place to ask, pardon me if not:

Issue: After upgrading to Android 11, the patched boot image causes bootloop, when patched using Magisk Canary

Phone/setup: Pixel 4 XL, updated today to Android 11 using OTA, which strangely enough worked just fine. Previously used the usual Magisk build, but grabbed Canary for this stuff. I'm flashing using latest ADB tools via download straight from Google + using original Pixel cable which so far has worked great with fastboot. Fastboot devices -l reports the phone.

Approach:

Flash-all.bat without -w, boots fine, all in order = boots fine, all in order

Extract boot.img, move to phone

Download latest Canary build straight from github front page, moditfy boot.img, transfer image to pc

ADB reboot bootloader, fastboot flash boot modified-image

Outcome: Stuck in boot - makes it to the "G" logo with the spinning line below. Left like that for 20 minutes, no change.

Approach two:

Flash-all.bat without -w, boots fine, all in order = boots fine, all in order

Extract boot.img, move to phone

Moditfy boot.img, transfer image to pc

ADB reboot bootloader, fastboot flash boot_a modified-image, fastboot flash boot_b modified-image

Outcome: Stuck in boot - makes it to the "G" logo with the spinning line below. Left like that for 20 minutes, no change.

Any idea what I'm doing wrong?

EDIT: Solution here! https://xdaforums.com/showpost.php?p=83499831&postcount=23
[Magisk] ReservedName:
Pixel 4a here, just tried to follow OTA instructions and ended up bootlooped until I paused it. After resuming it rebooted but the update didn't take and magisk was uninstalled. I did have the safetynet fingerprint module installed so probably this caused an issue? Not sure it relates exactly to your problem but thought I'd chime in with a similar problem and model.

EDIT:

After this reboot where I lost magisk I retried the OTA and it succeeded. I then tried to flash the patched boot.img in fastboot but it failed now I'm endlessly bootlooping.

EDIT 2:

tried a couple things but couldn't get 11 to boot so I flashed back to 10 but wiped my userdata so I'm done messing around for awhile I think 11 just is a no go for now.
[Magisk] delanvital:
On Android 10, when booting Magisk in the core only mode, I would still fail the ctsProfile. I would never complete safetynet 100%. I am not sure what should be possible, but it seems some ppl can make it pass safetynet on Android 10 by running Magisk in core only mode. When upgrading to Android 11, and before flashing any boot.img, but after installing Canary build, I would still fail the ctsProfile part of the satefy net. I wonder if that somehow impacts.

If wonder if the issue is linked to the fingerprint. I also have the fingerprint module (where it allows apps to believe it's using a fingerprint, but in fact it's my face). I will try and remove all the modules, then uninstall Magisk, then reinstall Canary build. Cheers mate.
[Magisk] cgo72123:
Same here, and after the Glogo, if I restart I get ""no valid slot to boot". Flashing unpatched boot.img gets me back in, but there doesn't seem to be a way to root 11 release build?
[Magisk] badhabit_wb:
Works fine on my Pixel 4 xl. I'm using a patched boot img. Make sure you use the correct boot img
[Magisk] MichRT:
Google Store Pixel 4a here. I have the exact same experience. Tried:

2. Uninstall Magisk -> Install OTA -> Install Inactive Slot -> bootloops 3 times and settles on previous boot slot, Android 10, no Magisk

3. Patch Boot.img -> flash-all.bat -> fastboot flash boot magisk_patched.img -> fastboot bootloop with the message "no valid slot to boot"

Can confirm re-flashing stock boot.img or running the full update script successfully boots Android 11, no root of course
[Magisk] ChocoboX:
Pixel 4 XL user here. I updated to Android 11 last night. Same thing happened to me. Waiting for an update to Magisk for Android 11
[Magisk] delanvital:
I noticed a new buildof Magisk available in the manager. New modified boot image has a slightly different filesize. Tried fastboot boot magisk_patched.img but still stuck on G and the moving line below. I wonder what is different compared to the 4xl users who has no problems...
[Magisk] Didgeridoohan:
Just want to point out that a common cause for issues when updating from one Android version to another is incompatible mods.

Make sure that no Magisk modules are installed that could be causing issues. Uninstalling the modules before updating, uninstalling Magisk, manually deleting the module directories in /data/adb/modules (or the whole modules directory) or wiping /data would all be ways of accomplishing this...

This might not be true for everyone, but it's quite likely.

Edit: Oh yeah... And don't install TWRP. Only booting it seems to be fine though.
[Magisk] ChocoboX:
I got it to work !!! Pixel 4 XL user. Might work on other Pixel phones / non-Pixel phones as well.

You need to download Magisk Canary apk first.

Try this post https://www.xda-developers.com/latest-magisk-canary-release-adds-support-for-android-11/

Here is the trick, you need to set the update channel in the settings to Canary Debug. Just Canary won't work and won't show any updates!

Then you will see immediately that a new version is available for manager and Magisk. Update the manager first. Then install Magisk to boot.img. Flash and there you go. I even got modules working and GPay works and even the CTS profile works! previously that failed on me (despite trying the settings recommended and Terminus commands with Busybox)
[Magisk] chaim:
does not work

i have the same versions but do not see the Canary Debug.

currently it is not working
[Magisk] Didgeridoohan:
There's only been one Canary channel for some time (and it's the debug release, even though it doesn't say so in the Manager). If anyone is using a Manager that has both a "Canary" and a "Canary Debug" channel they're using an old build of the Manager. And on such a build, the regular "Canary" channel won't work since it no longer exists.
[Magisk] ChocoboX:
Ok, I found the correct link to download Magisk Canary apk

https://xdaforums.com/pixel-4-xl/how-to/android-11-beta-1-jun-2020-t4113249

It's an older version but once you switch to Canary Debug it should show correct updates. For there things worked for me.

Also, I'm attaching a link to download the Magisk boot image for Android 11 directly, in case you want to skip this whole process. Just flash it with Fast Boot :)

https://1drv.ms/u/s!Ark6wHh1kVRCg9NyWPCCeqtpfT4XUA?e=oRse0J
[Magisk] rester555:
Does Soli work or do you need to download that module too?
[Magisk] ChocoboX:
What is Soli? Sorry for the dumb question. I can try and see.
[Magisk] rester555:
It's the RF based motion sensor in the front of the phone that turns on active display and swipes in front of the display to control the phone.
[Magisk] ChocoboX:
I'm in the US already so it works without a problem for me. I also tried to install Enable Soli from GitHub and it installed and phone booted. Not sure how to test it further for you.
[Magisk] Didgeridoohan:
Just so that there's no confusion...

The correct (and only) place to get the Magisk installation zips and Manager apks is always going to be on John's GitHub.

Here's the (current) link to the up-to-date Canary Manager:

https://raw.githubusercontent.com/topjohnwu/magisk_files/canary/app-debug.apk

But, if in doubt, always go to the above linked GitHub to get the latest downloads.

Downloading from anywhere else might mean that you are installing an altered (possibly maliciously) root Manager. Don't take the risk...
[Magisk] chaim:
magisk_patched.img

what command do you use to flash it

i use:

./fastboot flash boot magisk_patched.img

and i gets stuck in bootloop
[Magisk] Badger50:
While I don't mind sharing my patched.img, just remember that TJW always recommends that users should patch their own boot.img so as to avoid any potential problems. Having said that, here you go :good:

https://drive.google.com/file/d/15fWU492AQ3eBJCgMGWe2wgc5J2b4MSPu/view?usp=drivesdk
[Samsung Galaxy M31 Questions & Answers] maofthun:
Which bluetooth audio codecs does this phone support? Does it have LDAC or APTX-HD (or any of the other APTX variants)? Thanks.
[Samsung Galaxy M31 Questions & Answers] enezzolation:
It supports AAC, SBC, aptX, LDAC and Scalable Codec.
[Samsung Galaxy Watch] tero2012:
Hello,

I recently bought a Galaxy actice 2 LTE version in the US but currently using it in southamerica. I am not connected to any mobile network in my country, just using it as if it was a BT version.

Will I get firmware updates at all?

Current software version shows:

R825USQU1ATF2

Thanks
[Samsung Galaxy Watch] adfree:
R825USQU1[B]ATF2[/B]

ATF2 is latest I know...

Oh... ATH1 is latest for ATT for instance...

https://doc.samsungmobile.com/SM-R825U/ATT/doc.html

Best Regards
[Samsung Galaxy Watch] tero2012:
Thanks for your reply! Any way I can manually install that update?

Not sure either how I can check if I should be receiving updates from ATT or any other carrier.

Thanks
[Samsung Galaxy Watch] adfree:
Please check this thread:

https://xdaforums.com/smartwatch/galaxy-watch/firmware-release-galaxy-watch-active2-t4139389

:o

It was never 100 % clear to me... if they force you to use Activation process of eSIM to get update... :eek:

At the moment you have the "second" latest Firmware. :D

So if you have no problems... then maybe no need to hunt the ATH1 "Patch"...

Best Regards
[Samsung Galaxy Watch] tero2012:
Yeah, no problems. I was reading the posts about enabling ECG feature and all of them mention that Tizen version 4.0.0.8 is needed. So I was afraid I would never get updates hence not being able to use ECG.

Thanks again
[Xperia Z3 Compact Original Android Development] NeoArian:
Introduction

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.

Features

Individuality

Security

Longevity

Installation:

If you are on stock OS, you need a custom recovery first. You can get the recommended recovery in the official installation instructions link below.

If you are coming from stock or other ROMs, you need to make a factory reset.

As always, make sure to backup before installing this ROM.

More detailed instructions at:

Install LineageOS on z3c

Downloads

Download LineageOS 17.1 for Xperia Z3 Compact.

If you prefer TWRP over Lineage recovery, you can get it here.

Recommended Google Apps package: Open GApps (choose ARM as Platform and 10.0 as Android, use the Variant you want. Recommended nano package)

Source code

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.

The device specific source code can be found in the LineageOS Github repo.

Z3 Compact device tree

Sony Shinano common device tree

Sony MSM8974 common device tree

Sony MSM8974 kernel

The used defconfig is lineageos_shinano_aries_defconfig.

Changelog:

Changes for z3c

Bug reports:

How to submit a bug report

LineageOS GitLab

Donate to support development:

Donate via PayPal to NeoArian

Donate via PayPal to LineageOS

XDA:DevDB Information

LineageOS 17.1 for z3c, ROM for the Sony Xperia Z3 Compact

Contributors

NeoArian

ROM OS Version: Android 10

ROM Kernel: Linux 3.4.x

Version Information

Status: Stable

Created 2020-09-08

Last Updated 2020-09-12
[Xperia Z3 Compact Original Android Development] pawloland:
On this remarkable day, on the 9th of September, when android 11 has official release, z3c was given official build of android 10 with Lineage OS 17.1:laugh:. I am not complaining thought, great work, keep it up man.
[Xperia Z3 Compact Original Android Development] shadowstep:
[MENTION=8746471]NeoArian[/MENTION] There already exists a LOS 17.1 thread created by you. Can you please confirm which one out of the two do you wish to keep? Duplicate threads are not permitted as per the Forum Rules.

Link to the existing thread: https://xdaforums.com/z3-compact/orig-development/10-lineageos-17-0-z3c-t3976529

Additionally, the first post doesn't contain a link to the Kernel source. Kindly add the same as well, as that's mandatory under GPL.

Regards,

shadowstep

Forum Moderator
[Xperia Z3 Compact Original Android Development] NeoArian:
This thread is for the Official builds, I will close the unofficial thread. The first post lists the lineageos GitHub for the sources where the kernel source code can be found, I will add some more details regarding that in first post.

Greetings, Arian.
[Xperia Z3 Compact Original Android Development] tomKater:
Hi everybody,

First, thank you NeoArian and other contributors for your great work. Just a question : I have no experience with Lineage recovery. What is the differences between Lineage recovery and TWRP ? What are the pros and cons ? If I try Lineage recovery, is it easy to go back to TWRP ? Without a full install ?

Thank you for your reply.
[Xperia Z3 Compact Original Android Development] shadowstep:
Thank you for the confirmation, Arian. Please close the old unofficial thread at your earliest convenience and we will be good to do on that front. Regarding the sources, yes, I see the link to the LOS GitHub, but I'll appreciate if you link the kernel repository (and if possible the device tree and vendor tree, if applicable) instead of the single LOS GitHub link.

Thanks for your work!

Regards,

shadowstep

Forum Moderator
[Xperia Z3 Compact Original Android Development] john_matrix:
Thank you very much NeoArian for your official build of LineageOS 17.1

I have installed it this morning and have only noticed that the rear camera is not working (the front one is working normally).

I have tested it with the bundled camera app and with Footej camera.

Maybe my z3c is dying so is this happen to someone else?
[Xperia Z3 Compact Original Android Development] bigandyb:
I just flashed this over the last 17.1 unofficial build, and the cameras are working.
[Xperia Z3 Compact Original Android Development] Mr.Tom_Tom:
I can confirm rear camera is working fine, too.
[Xperia Z3 Compact Original Android Development] Alizad00:
Hello NeoArian

at first id like to thank you for keeping this device alive

second i wanted to ask how can i use this method again to use wifi in middle east

the error says : wifi-service.odex has no dex files

I really appreciate your hard work

Thanks a lot

Edit : Nevermind

Thanks for rom Again
[Xperia Z3 Compact Original Android Development] chillma:
Upgrade from 16.0 via TWRP.

For my case: Camera (front/back), Mic, NFC, Bluetooth and GPS works without any issues so far. I wish I could help with some logs but it feels already so stable. I'm so baffled that devices like the Z3C with 2GB is running so fast and reliable with the latest Android.... except their 3.5 jacks of course :)

Abandoned from the company and kept alive by the community.

Thanks to all involved and especially thanks for maintaining [MENTION=8746471]NeoArian[/MENTION]

Best regards
[Xperia Z3 Compact Original Android Development] damiank94:
Hey,

Could someone tell me how to revert back to stock ROM? Cause LOS changes partitions structure and I can't restore my backup.

BTW. Snap 801 isn't ARM64 SoC. Well, at least I couldn't install ARM64 GApps
[Xperia Z3 Compact Original Android Development] pawloland:
Hey [MENTION=8746471]NeoArian[/MENTION]. A little typo here, that can cause serious problems for some newbies here. We should use ARM GApps, NOT ARM64. You probably forgot to modify accordingly your post template while creating new thread, since on the lineage's device wiki it correctly specifies ARM Gapps.

If you don't mind, I would also like to ask about updating from official LOS 16 to 17.1 WITHOUT LOSING DATA. So I read here about the procedure but I am not familiar with adb side loading - I am more of TWRP guy myself ;). Are these steps correct for updating through TWRP :confused: :

Have official LOS 16 + your TWRP recommended for android 9 + GApps nano 9 ARM + Magisk 20.4 installed

Download a new TWRP from here

Download latest LOS 17.1 from here and copy it to device

Download GApps from here and copy it to device

Reboot to fastboot and flash new recovery

Boot to recovery

Flash latest LOS 17.1 on top of old LOS 16

Flash new GApps for android 10 (on top of GApps from android 9?)

Flash magisk (on top of old android 9's magisk installation ?)

Reboot to system

Hopefully everything works xD

Have I missed something, or not? Will it preserve my installed apps, their data and system setting, without crashes on new LOS 17? Thanks in advanced.
[Xperia Z3 Compact Original Android Development] hubert-bangol:
Fresh install from a stock ROM 6.0.1 => everything seems to be working very well including rear/front camera and GPS fix very quickly.

Nice work, thanks very much, unbelievable to have android 10 on this device.

Questions :

- Cannot install Magisk. I have last TWRP, installed openGapps without problem. But for Magisk (tried 201. to 20.4) it says "unsupported file format"? The same with Magisk Canary version. Even with the Manager it cannot be installed.

- Is it possible to implement the ANC (Active Noise Cancellation)? It worked with unlocked bootloader under stock 6.0.1 when plugging the Sony MDR-NC31E earphones just before flashing LOS 17.1.

Thanks
[Xperia Z3 Compact Original Android Development] NeoArian:
Oopsie, fixed it.

The steps you mentioned seem fine and the apps and your data should persist, ideally without crashes :D

Good luck!

Glad to hear that it is working good for you! I didn't use magisk since a while now, unfortunately can't guard you with that. Was that ANC implemented system side?
[Xperia Z3 Compact Original Android Development] KoMaSo:
Hi, big thanks to NeoArian,

all works fine. I come from Stock 291 (German Telekom Brand). I had some trouble after flashing Recovery because I can´t start recovery with "fastboot reboot recovery". In my case always an system reboot appears. After some trys I use the keys (Vol- + Power) to boot in Recovery and all works fine. Please tell this in the install LineageOs on Z3c ( https://wiki.lineageos.org/devices/z3c/install )
[Xperia Z3 Compact Original Android Development] hubert-bangol:
In fact I change TWRP, I should have installed the wrong one, Magisk is installed now.

About ANC, it is this functionnality, implemented on Z2 and Z3 series only:

https://www.ibtimes.co.uk/sony-xper...ancelling-technology-how-does-it-work-1439906

https://www.youtube.com/watch?v=i-w9vYV3cT8&t=5m
[Xperia Z3 Compact Original Android Development] tonz87:
Just a humble question, do the Sony STM10 stereo microphone works with this rom? Now I'm on Lineage 16 and it doesn't work very well with it (lots of stuttering during the recording)
[Xperia Z3 Compact Original Android Development] KoMaSo:
Hi my device is since 3 days in this rom. The battery dranis fast. The device got no deep sleep. I have checked this with "AccuBattery" App. There are no special apps installed. Has anyone other see the same ?
[Xperia Z3 Compact Original Android Development] pawloland:
Deep sleep is probably not working because of bt wakelock or something like that. It is a known bug for ages with z3c.
[Xperia Z3 Compact Original Android Development] chillma:
I use Magisk 20.3 because everyhting works fine :-)

No warranty that the latest version works and there is no other way since LOS 17, AFAIK....
[Xperia Z3 Compact Original Android Development] L.Lmar:
Magisk 20.4 flashable zip, can be updated to the latest via the app, but it seems versions after 20.4 do not survive LOS updates. Magisk app v.22 is fine

p.s. Need to push sdcard quite deep so that it snaps into place
[Xperia Z3 Compact Original Android Development] julianh14796:
Heyho, i have just installed LOS+Magisk 20.4 and the Navigationbar wont work.

It is Displayed but dont has any Function. Any tips?
[Xperia Z3 Compact Original Android Development] armorgeddon:
Thank you chillma & L.Lmar for your useful answers! I read into Magisk before and I found differing information, but thanks to you I now know which version I should install and how.
[Xperia Z3 Compact Original Android Development] MxUltra:
Hi, it might be a bit off topic.

I just tried 17.1 on my z3c and noticed that some of my apps for work do not work on Android 10, so I wanted to go back to 16.0 but i don't have the zip file anymore. As I could not find a recent download for 16.0 I wanted to ask if someone still had recent version?

I think I had lineage-16.0-20200901-nightly-z3c-signed.zip (I think it was the last 16.0 Version) so if someone could upload it or point me to a download link it would be very appreciated.

regards
[Xperia Z3 Compact Original Android Development] steve8x8:
You have a PM... For all others: there's still a microG version (only a bit older) on https://download.lineage.microg.org/z3c/
[Xperia Z3 Compact Original Android Development] Samare:
Just as with other Android 9 and 10 roms, I had heavy battery drain because of the media.extractor process.

https://xdaforums.com/t/10-official-carbonrom-cr-8-0-z3c.4047649/post-84715425

I worked around it by killing it at boot with a simple Tasker profile (Edit: I added a two minutes delay to make sure the process is already started) :

Spoiler content hidden.

Like mentioned, we currently have to use Magisk 20.4 to root it.

The best way is to install LineageOS then Magisk 20.4 and finally Magisk 22 all through recovery.

Edit: I finally identified the problematic file, a 70 MB opus file.
[Xperia Z3 Compact Original Android Development] mcsly100:
Hey guys,

Does anyone have cell service issues - no service in spite of the phone recognizing the SIM card and even the network?

Thanks.
[Xperia Z3 Compact Original Android Development] Samare:
No problem here.

It may be obvious, but do you have enough credit?

Did it work just before flashing this rom?

You could make a nandroid backup

on the micro sdcard

and try the original Android 6 one.
[Xperia Z3 Compact Original Android Development] mcsly100:
Yes, everything worked fine on the stock rom, but unfortunately I have no backup of that, so I installed CM 12.1 and it seems to have no such problem either (I wouldn't mind having 17.1 though)...
[Xperia Z3 Compact Original Android Development] Samare:
Did it work on Android 6 with the latest 23.5.A.1.291 kernel?
[Xperia Z3 Compact Original Android Development] mcsly100:
Yep.
[Xperia Z3 Compact Original Android Development] NeoArian:
Good Evening!

It's the time again, you might have already noticed that lineage 18.1 is official for some devices now. We, the sony shinano maintainers, were not sleeping and have also prepared our device for 18.1. I have uploaded a test build here: https://sourceforge.net/projects/ep...18.1/lineage-18.1-20210406-UNOFFICIAL-z3c.zip

I would appreciate some testing/feedback on this build. There shouldn't be major issues on the test build, from my own testing it should be on-par with 17.1.

I am optimistic that we can also achieve an official release of 18.1 for the z3c.

All source codes can be found on the lineageos github in lineage-18.1 branches + additional patches for sony msm8974 are up on gerrit: https://review.lineageos.org/q/status:open+-is:wip

Happy flashing!
[Xperia Z3 Compact Original Android Development] rucksackse:
Hello everyone,

when I'm doing system updates after the installation process is completed the file is not deleting automaticly.

Then I need to manually boot into trwp and delete the system update file there.

My Phone is not rooted.

What can I do that the update file where deleted automaticly?

Best regards

Sepp
[Xperia Z3 Compact Original Android Development] Daedalus1979:
Do we expect all to work?
[Xperia Z3 Compact Original Android Development] NeoArian:
You can enable that updates should be deleted after installation in the Updater. You can find it in settings -> system ( -> advanced ) -> Updater -> three dots -> preferences -> Delete updates when installed.