yashsingh1/xdaforums huggingface dataset:
[OnePlus Nord N10 5G Questions & Answers] lowrck:
anyone know of a usb sim unlock method? just putting this thread out there for when someone who gets there hands on one finds a way they can add the response to this thread.
[OnePlus Nord N10 5G Questions & Answers] cellphones12345:
Do you find a usb unlock method?
[General Questions and Answers] updroid:
It only recharges the phone, there's no option to transfer anything.

It works fine with Windows 10.

Is it possible to make it work with Windows 7? I didn't find anything useful on the web.

Edit: it wasn't Windows, it was the cable that coincidentally stopped working while I installed the Windows. Ignore this.
[General Questions and Answers] Macusercom:
Closed upon OP request.
[X 2014 Q&A, Help & Troubleshooting] leo_97:
Hi guys, I'm doing this tutorial because I didn't find a complete tutorial on how to restore our Moto X 2014 to stock 6.0 marshmallow.

As I asked here for help, I tried encrypting the phone when using LineageOS but it failed and then bootlooped, so I needed to reflash the stock ROM because the formating though TWRP failed too.

I used a Linux distro to do the job. For windows I think there are scripts out there which do the job, and of course you can adapt the commands given here to work with Windows (i.e. changing "sudo fastboot" to "fastboot.exe").

Note: My device is a XT1097 variant and the boot loader was already unlocked. There's also a Zip file for those who have a working TWRP recovery already.

Download the ROM files here: EU variant // RET LA + NIIMX variants

The file I used for this tutorial was: Motorola_Moto_X_XT1097_VICTARA_RETLA_6.0_MPES24.49-18-3_cid12_6.0.zip

Setup of the computer:

1- Install androidtools-fastboot & androidtools-adb

[Optional] 2- Install libmtp package too

Setup of the phone:

1- Reboot your phone into fastboot mode (press power and vol down toghether)

2- Connect the phone to PC

3- Extract the content of the Zip file & enter the folder

4- Open a new terminal inside the folder called "Firmware"

5- Execute these commands below (one command per line)

sudo fastboot flash partition gpt.bin
sudo fastboot flash motoboot motoboot.img
sudo fastboot flash boot boot.img
sudo fastboot flash recovery recovery.img
sudo fastboot flash system system.img_sparsechunk.0
sudo fastboot flash system system.img_sparsechunk.1
sudo fastboot flash system system.img_sparsechunk.2
sudo fastboot flash system system.img_sparsechunk.3
sudo fastboot flash system system.img_sparsechunk.4
sudo fastboot flash system system.img_sparsechunk.5
sudo fastboot flash system system.img_sparsechunk.6
sudo fastboot flash system system.img_sparsechunk.7
sudo fastboot flash system system.img_sparsechunk.8
sudo fastboot flash system system.img_sparsechunk.9
sudo fastboot flash modem NON-HLOS.bin
sudo fastboot erase modemst1
sudo fastboot erase modemst2
sudo fastboot flash fsg fsg.mbn
sudo fastboot erase cache
sudo fastboot erase userdata
sudo fastboot erase customize
sudo fastboot erase clogo

[Optional] Tip: If you want to reset the Motorola logo too (it will display again the warning regarding the bootloader unlock, this is why I skipped it), execute the command below just before entering boot.img command

sudo fastboot flash logo logo.bin

6- Reboot the phone just in case

sudo fastboot reboot-bootloader

7- Reboot the phone into the system

sudo fastboot reboot

8- Wait several minutes on the animation booting screen

9- Done, the phone should now show the "Welcome" greenish screen

10- After the initial setup, go to the PlayStore and update your Google Play Services app before updating/installing other apps

I based my tutorial on this post here by @seco2004 and in this post forum here by Junior Gomes. Thanks for all the devs for the hard work with this amazing (besides the battery duration) phone and for that website for hosting all Motorola's stock ROMs at GDrive.
[General Questions and Answers] Yuli Serrato:
norteme deja entrar le doy no root y me dice que descargue tal cosa y lo hago y me sale error
[General Questions and Answers] sd_shadow:
English only on XDA Please

Which device, root method?

You can help yourself by updating the title to include key info like your device, type of problem...

[Guide] How and Where to Ask a Question
[Sony Xperia XZ1  ROMs, Kernels, Recoveries, & Othe] derf elot:
LineageOS 18.1 for Sony Xperia XZ1

RELEASE

This is an alternative ROM for the Sony Xperia XZ1, offering several privacy features.

Please report any issues you observe apart from the ones listed below. Logs are needed for me to fix anything (preferably dmesg and logcat). I can't test NFC very thoroughly, to please report your findings.

FEATURES

Signed with dev keys

Up-to-date kernel

WireGuard kernel support

DOWNLOAD

You can download the latest releases here:

poplar (G8341):

twrp-3.5.0-0-20210117-poplar

lineage-18.1-20210117-UNOFFICIAL-1.0-poplar

poplar_dsds (G8342):

twrp-3.5.0-0-20210117-poplar_dsds

lineage-18.1-20210117-UNOFFICIAL-1.0-poplar_dsds

poplar_canada (G8343):

twrp-3.5.0-0-20210117-poplar_canada

lineage-18.1-20210117-UNOFFICIAL-1.0-poplar_canada

Check the ChangeLog below for firmware requirements!

INSTALLATION

Put the zip file of the ROM on your sdcard or internal storage, boot into recovery and flash. When coming from stock: boot into TWRP,

format

data, reboot to recovery and wipe all internal partitions. Then flash the ROM, GApps (if needed) and root (if needed).

Note: There is not going to be a LOS su addon anymore. If you need root, flash a root manager of your choice. No guaranteed support from LOS for this.

When updating from builds, simply dirty flash the ROM.

If coming from 17.1, please see advice below in second post ("UPGRADE LINEAGEOS").

KNOWN ISSUES

WFD is not working yet (waiting for new non-BSP blobs)

Stock camera is not working anymore due to incompatibility of stock library (libimageprocessorjni.so) with new libgui

You tell me...

Contributors

derf elot, modpunk, Rooted_Ansh

Thanks to the testers

coin3x, feduss, GiaSen, Gizanagi, hsheemi, kaancaliskan, sohrab1985

Source Code

poplar: https://github.com/whatawurst/android_device_sony_poplar

poplar_dsds: https://github.com/whatawurst/android_device_sony_poplar_dsds

poplar_canada: https://github.com/whatawurst/android_device_sony_poplar_canada

kernel: https://github.com/whatawurst/android_kernel_sony_msm8998

Rom Information

ROM OS Version: Android 11

ROM Kernel: Linux 4.4

Version Information

Status: Stable

Current Stable Version: 1.0

Stable Release Date: 2021-01-17

Thread Information

Created 2021-01-17

Last Updated 2021-01-17
[Sony Xperia XZ1  ROMs, Kernels, Recoveries, & Othe] derf elot:
SECURITY ADVICE

Don't flash ROMs or Magisk modules which set SELinux to permissive or you welcome malware on your device!

UPGRADE LINEAGEOS

I have not tried upgrading the device from 17.1 and cannot guarantee that it will work - you should do a backup just in case. If things go wrong, flash it as if coming from stock (see instructions in OP).

The following steps should work though:

Flash new twrp and boot into it

Flash new rom, opengapps and any updated root solution you use

Optional: Clear cache

Reboot

Note: When updating form Lineage 17.1, you maybe have to

once

change your preferred network type from 3g back to 4g/LTE.

UPGRADE FIRMWARE

Grab the Sony Stock firmware using e.g. XPeriFrim. You should always flash the firmware matching the LOS build.

Grab newflasher and put it in the same folder as the firmware files.

Read the newflasher original post on XDA for general instructions!

Remove the following from the folder so they won't get flashed:

all *.ta files (keep the one in the boot/ directory)

cache*.sin

fotakernel*.sin

kernel*.sin

system*.sin

userdata*.sin

vendor*.sin

Turn off your phone

Hold the volume down button and attach it via USB to your system till you see LED turning green

Run newflasher from within this directory to flash the remaining files

You can say yes to the first optional step, in case you don't have working drivers installed.

Skip the second optional step (dumping of trim area), it's useless if your bootloader is unlocked already and takes a long time.

How to get root?

As mentioned before, there will not be an official su addon from LOS anymore. If you need root, flash an unofficial solution.

Google Apps

You can download and install the Google Apps from opengapps.org. You need ARM64 and 11.x. I suggest to *always* use the pico or nano package. If you need additional apps you find them in the Play Store.

Open GApps for Android 11 is still in beta. You can download those releases here

MicroG

This ROM doesn't support Signature Spoofing. However we are watching MicroG and check if they provide newer builds e.g. for Android 11.
[Sony Xperia XZ1  ROMs, Kernels, Recoveries, & Othe] derf elot:
REQUIRED FIRMWARE: 47.2.A.11.228

CHANGELOG

2021-01-17 | 1.0| 47.2.A.11.228

Initial release
[Sony Xperia XZ1  ROMs, Kernels, Recoveries, & Othe] ZombieLinux:
Thanks @derf elot ! For all your and the rest of the Dev team's efforts.

What can we (the community) do to help get the camera back up and running?
[Sony Xperia XZ1  ROMs, Kernels, Recoveries, & Othe] JimKatsanos:
Ok THIS WAS THE BEST BIRTHDAY PRESENT EVER... I'll test it asap:)
[Sony Xperia XZ1  ROMs, Kernels, Recoveries, & Othe] derf elot:
Unfortunately, I am not sure there is much that we can do. The stock library that we need for the stock camera app to work properly (libimageprocessorjni.so) is not liking the new Android 11 libgui. We (also with the help of @j4nn ) tried to fix these issues in various ways, including shimming and forcing the use of the 10 libgui but haven't managed to get it working properly yet. Maybe we'll have a crack at it again at some point, but I wouldnt get my hopes up too much. It also doesn't help that the XZ2/3 series is not getting an official Android 11 update. Opencamera is a decent alternative, although it does lack some of the stock camera options.

Happy birthday. I hope you enjoy :)
[Sony Xperia XZ1  ROMs, Kernels, Recoveries, & Othe] DigitalDreamer:
Oh nice, and I just got the device today (new and unopened) but for some reason I can't flash it to a different or use even the official tool from Xperia to "repair" my software.

First thing I'll do after upgrading will be checking this rom.

Thank you a lot!
[Sony Xperia XZ1  ROMs, Kernels, Recoveries, & Othe] dzenius:
Hello, nice job.

Smooth fresh install rom+Nikgapps, everyhing works nice,

but time to time phone call was inposible - calling stops in a 0 seconds.But i still was able receive phone calls. After receiving call - i can make a call for few times.Sorry can't provide any logs - use this phone as my main daily device, so quickly return to my previous rom (resurrection remix 8.6.4), where everything running well.
[Sony Xperia XZ1  ROMs, Kernels, Recoveries, & Othe] kaancaliskan:
It's just working fine here with opengapps beta. Mostly likely nikgapps broke dialer app.
[Sony Xperia XZ1  ROMs, Kernels, Recoveries, & Othe] dzenius:
Can You tell me, where can i get opengapps for android 11?
[Sony Xperia XZ1  ROMs, Kernels, Recoveries, & Othe] derf elot:
Please read the OP's. There is a link in the 2nd post.
[Sony Xperia XZ1  ROMs, Kernels, Recoveries, & Othe] dzenius:
Thanks.Will download, flash and report on weekend.
[Sony Xperia XZ1  ROMs, Kernels, Recoveries, & Othe] sohrab1985:
I also tried Nikgaaps (full version from 12/30/2020) and I don't have this issue. Maybe you used a different version or build.
[Sony Xperia XZ1  ROMs, Kernels, Recoveries, & Othe] Tux111:
NOICE
[Sony Xperia XZ1  ROMs, Kernels, Recoveries, & Othe] J.M.Siyath:
Rom really smooth & gaming as same or maybe better than stock.

Thank You for the great work. :love:(y)
[Sony Xperia XZ1  ROMs, Kernels, Recoveries, & Othe] vanokurilov@gmail.com:
everything works fine, nfs too
[Sony Xperia XZ1  ROMs, Kernels, Recoveries, & Othe] LYSZY6:
The carrier profile can use the files from XZ3(oem.sin).XZ1 stop updating very early,XZ3 is constantly being updated.

The carrier which are China Unicom and China Telecom used is from XZ3(oem.sin).

This file is modified according to XZ3.(by iovf and 沙河新基金啊)
[Sony Xperia XZ1  ROMs, Kernels, Recoveries, & Othe] derf elot:
I have added support for both of these internally, so a custom OEM should not be needed anymore. I know at least of one person where it's working on maple. is it not working for you?
[Sony Xperia XZ1  ROMs, Kernels, Recoveries, & Othe] LYSZY6:
I'm sorry. I just found this option in Settings. It seems to work.

Thank you again for your reply.

By the way，are there any plans to add volte video calling?（This is not a requirement.）
[Sony Xperia XZ1  ROMs, Kernels, Recoveries, & Othe] J.M.Siyath:
Gesture Navigation (1st option) seems buggy sometimes especially while playing game bottom bar appears in center & (in landscape) bottom screen touch not response.
[Sony Xperia XZ1  ROMs, Kernels, Recoveries, & Othe] derf elot:
I can't test video calling at all. my carrier used to support it but dropped it since then. would need logs and description of what the problem is - assuming your carrier does support it. We can't add anything unless it is enabled carrier-side and the used .mbn supports it for this carrier. These are signed modem modification which we don't have the source to and cannot modify in any way.

I don't really use gesture navigation at all so cant comment on this, but sounds more like an upstream los problem rather than device-specific. I'll have a look when i get the chance.
[Sony Xperia XZ1  ROMs, Kernels, Recoveries, & Othe] gigitheyen:
Hi, @derf elot thank you for your awsome work, the release seems really solid overall. The only thing I noticed so far is that the brightness sensor looks little bit slow, don't know if someone else has this issue, just wanted to report it.
[Sony Xperia XZ1  ROMs, Kernels, Recoveries, & Othe] J.M.Siyath:
Wifi drops continuously. restart not help.
[Sony Xperia XZ1  ROMs, Kernels, Recoveries, & Othe] dzenius:
Install lineage 18.1 again. Without gapps everything works well, but after installed any gapps (open gapps pico, nano and nickgaps), phone calling stops again -maybe google dialer framework couse this ?
[Sony Xperia XZ1  ROMs, Kernels, Recoveries, & Othe] kaancaliskan:
Logs?
[Sony Xperia XZ1  ROMs, Kernels, Recoveries, & Othe] dzenius:
huray, just install google dialer framework magisk module and now i can make a call .
[Sony Xperia XZ1  ROMs, Kernels, Recoveries, & Othe] sohrab1985:
Weird, using LOS 18.1 for some time now and never had this issue. Which WIFI band your router supports, 2.4 GHz or 5?
[Sony Xperia XZ1  ROMs, Kernels, Recoveries, & Othe] dzenius:
My joy was too early, after few sucsessfull calls it stops again. Ataching logcat. Never have made logs, so if it is not corect file, don't judge me too hard :)
[Sony Xperia XZ1  ROMs, Kernels, Recoveries, & Othe] dzenius:
New solution (not very good for me) - changing from volte to 3g, enable calling.
[Sony Xperia XZ1  ROMs, Kernels, Recoveries, & Othe] Cristianpleniceanu:
Micro SD is not being properly recognised and managed. It sees the SD and all folders of file and music but not the Android files from SD, it shows 0 bytes.

My problem is that I had Spotify downloads which can be downloaded only as an app file and after reinstalling a Rom the links to music are broken so I have to delete Spotify music folder in order to download music again. In order to do that I have to see the files, but they are not there although the memory of sd card is almost full. I also don't have the option to format the sd card.

At some point I did formatted the sd in another phone, I reinstalled Spotify and downloaded de music. But for some reason the links to music folder is broken again although I didn't uninstalled Spotify and now I have to find a way to format sd again, without loosing the other files and download the music again. I probably removed the SD at some time, maybe this is the reason links are broken but never happened before
[Sony Xperia XZ1  ROMs, Kernels, Recoveries, & Othe] derf elot:
is it just wifi or also the radio that is dropping? there can be several reasons for that. for one, in xperia settings make sure that the customizationselector has selected the right modem for your operator. if that is the case, we have a workaround for these situations with the "networkswitcher" which can also be enabled in these settings. this ensures that the radio will switch to 3g upon shutdown and back to lte when booted up, this can in some rare cases fix some modem weirdness when volte/4g calling is enabled. if that doesn't help either and as a last resort, try switching to the default modem (amss_fsg_poplar_tar.mbn) and see if everything is fine then.

You could try the above steps as well and see if it helps.
[Sony Xperia XZ1  ROMs, Kernels, Recoveries, & Othe] derf elot:
see if you have access to the files from twrp. if not, maybe from adb with root. then you could at least transfer the files and format again.
[Sony Xperia XZ1  ROMs, Kernels, Recoveries, & Othe] dzenius:
yes, that is a solution - swithed from amss_fsg_telia_lithuania_ims_tar.mbn to amss_fsg_poplar_tar.mbn - and everything runs well.
[Sony Xperia XZ1  ROMs, Kernels, Recoveries, & Othe] NextGeneration9501:
wow. i wish the xz1 will stay "updated" til android 13 🤣. don't have enough money to upgrade to xz2/3 😅
[Sony Xperia XZ1  ROMs, Kernels, Recoveries, & Othe] Cristianpleniceanu:
Well, it happened again, and this time I haven't taken out the SD. Last night Spotify finished the download of music in sd, this morning it was downloading them again, although the memory of the card is 40% full with the files downloaded last night. Now is downloading exactly the same number of files from 0 and the micro SD folder of Android shows 0 files and error loading. Although I see all the other files likes music and pictures
[Sony Xperia XZ1  ROMs, Kernels, Recoveries, & Othe] SEARCHER8206:
Update: I tried to acces files from twrp but I cannot enter twrp anymoreand no boot anymore . Back to stock
[Sony Xperia XZ1  ROMs, Kernels, Recoveries, & Othe] reclen:
I love the last version of this rom and I wish I could update to this, however because of the issues with distortion and noise on the cameras which pretty much requires the stock camera app, this rom is severly lacking as of right now.
[Sony Xperia XZ1  ROMs, Kernels, Recoveries, & Othe] LYSZY6:
I don't know how video calling works,but the difference is between these two files.

The apk which is called com.android.carrierconfig-res-305-m.apk does not support it,it has been supported since it was modified.

I found two problems.

The first is about file manager,when I copy large files from internal storage or through MTP to Micro sdcard, it may cause the system to crash and restart, the sd card needs to be formatted again to be recognized by the phone, but the computer is properly recognized.Later,I installed Root Explorer,it's no problem.

The other is about SMS,when I install the Google Apps from opengapps, SMS does not notify,I don't know SMS without opening it.Later,I install Google messaging,it's no problem.
[Sony Xperia XZ1  ROMs, Kernels, Recoveries, & Othe] Tarch1:
I've the same problem, reboot to recovery from boot menu isn't possible, after sony boot logo appear a black screen and nothing else; if I try to reboot, system doesn't start and go in the previous black screen.

I have the latest twrp-3.5.0-0-20210117-poplar.img
[Sony Xperia XZ1  ROMs, Kernels, Recoveries, & Othe] derf elot:
have you tried just reflashing the recovery?
[Sony Xperia XZ1  ROMs, Kernels, Recoveries, & Othe] Cristianpleniceanu:
What's that to do with not booting anymore? Two phones, same problem
[Sony Xperia XZ1  ROMs, Kernels, Recoveries, & Othe] derf elot:
i was referring to the issue of not being able to boot into recovery.

as for why the system isn't booting, obviously something during the flash was not done right, seeing as I myself upgraded 2 different devices from los17.1 without a problem and a clean flash also works without issues both for me and at least 10+ people that have tested before I posted the rom here
[Sony Xperia XZ1  ROMs, Kernels, Recoveries, & Othe] Tarch1:
Okay now it seems to work, but is a strange thing that appear sometimes, because I had this also on 3.4 version more than one time
[Sony Xperia XZ1  ROMs, Kernels, Recoveries, & Othe] derf elot:
did you by any chance select the option to update the built-in recovery with system updates? it might be tgatbwhat you are seeing there is the LOS recovery, which is currently broken, that replaced twrp.

i have also fixed los recovery since then, so that black screen at least shouldn't happen anymore with newer builds.
[Sony Xperia XZ1  ROMs, Kernels, Recoveries, & Othe] Tarch1:
yes first time with you rom I without thinking select that option, and I sincerly think that was the problem, but I've already hit on it in lineage 17, and I don't remember there was this option... Maybe is the installation process, even if it goes well without any error
[Sony Xperia XZ1  ROMs, Kernels, Recoveries, & Othe] TEK023:
i'm getting sound bleed speaker when ever facebook notify while wearing earphones this is annoying
[Sony Xperia XZ1  ROMs, Kernels, Recoveries, & Othe] MWSTE:
Can i flash it without wipes over los17?
[Sony Xperia XZ1  ROMs, Kernels, Recoveries, & Othe] Swaziboy:
I dirty flashed over LOS 17 with a cache and Dalvik wipe and don't seem to be having any issues.
[Sony Xperia XZ1  ROMs, Kernels, Recoveries, & Othe] Riqitch:
How are people coping without the stock Sony camera? I'm looking to migrate from PixelExperience to something else (this rom, most likely), but I'm sceptical about the camera issues and other issues with this rom.
[Sony Xperia XZ1  ROMs, Kernels, Recoveries, & Othe] binbin-hungry:
Do you need to add Telecom APN manually
[Sony Xperia XZ1  ROMs, Kernels, Recoveries, & Othe] binbin-hungry:
My g8342 has a telecommunication signal, but I can't access the network
[Sony Xperia XZ1  ROMs, Kernels, Recoveries, & Othe] Corias:
Tried dirty-flash over 17.1 with dalvik/cache wipe - looks like it's crashing on boot, 2-3 mins of showing LOS logo, and then reboots into TWRP.

Upd: it's caused by Magisk 21.4, patched bootimage is unbootable. Any other rooting solution?

Upd2: tried Magisk 21.2, 21.3 - also breaking boot image

Upd3, final: looks like it's something in how recovery processes Magisk installer zip, I've managed to extract boot, manually patch and flash via fastboot.

Debug info: dsds twrp version from top post.
[Sony Xperia XZ1  ROMs, Kernels, Recoveries, & Othe] moeed69:
How to unlock bootloader??

need help

sony xz1 tried my firmware

Thanks in Advance!!!
[Sony Xperia XZ1  ROMs, Kernels, Recoveries, & Othe] Corias:
I beleive that's the wrong thread, Q&A General is the proper place for this question
[Sony Xperia XZ1  ROMs, Kernels, Recoveries, & Othe] hihiman1:
why don't you use google search ? click
[Sony Xperia XZ1  ROMs, Kernels, Recoveries, & Othe] Corias:
Btw, the first post contains incorrect info on bugs: WFD works at least for purposes of screen mirroring - checked via miracast to Samsung TV
[Sony Xperia XZ1  ROMs, Kernels, Recoveries, & Othe] basstbone:
Working in my XZ1. It seems to work perfectly. Nothing strange except....

It's normal in those ROM that the google play doesn't work with my credit card? I tried also putting magisk and some changes but I can't solve it. Sorry if it's not the place. Someone knows a solution for XZ1? I use a lot NFC payment.
[Sony Xperia XZ1  ROMs, Kernels, Recoveries, & Othe] Corias:
You have to use HideProps module on this ROM (choose Xperia 5 props) in addition to common steps
[Sony Xperia XZ1  ROMs, Kernels, Recoveries, & Othe] basstbone:
Thanks. I've installed the magisk hide props, but i don't know the next to choose Xperia 5. What do you mean?
[Sony Xperia XZ1  ROMs, Kernels, Recoveries, & Othe] basstbone:
Oh, I think I found the way. I forget SU before props command. Now I have Xperia 5 profile. I think it works now! VERY THANK YOU!
[Sony Xperia XZ1  ROMs, Kernels, Recoveries, & Othe] Corias:
Read the manual - this module has a CLI to set device props/fingerprint. In the CLI, choose Set device fingerprint - Pick certified - Sony - Xperia 5

Maybe other fingerprints do also work. I've tested this one only.