yashsingh1/xdaforums huggingface dataset:
[Sony Xperia XZ1 Compact ROMs, Kernels, Recoveries,] GOrMHATRe:
Started from clean sony rom, backed up Ta partition using renoroot, unlocked bootloader, installed recovery and flashed LOS 17.1 Rom. Rom booted successfully. Then I realized that I had forgotten to restore TA partition. So, I reflashed older sony firmware, restored TA partition, flashed recovery and flashed Los rom with magisk and Gapps. The rom booted up to Los lockscreen. But when I swiped the lockscreen it showed phone is starting for some time and then phone went to bootloop.

When I had not restored ta partition the phone booted up properly and I did not face any problem, I coud get into app menu. but unfortunately without checking camera, I went back to restoring TA partition and messed something up, cause since then I am facing this problem.

This is the post and instructions I used to backup TA and unblock bootloader:

https://xdaforums.com/xperia-xz1-compact/development/devonly-exploits-temp-root-to-backup-t3795510

I have installed stock rom using multiple sources newflasher, flashtool, sony emma. Removing and not removing those TA files in stock rom, tried firmware from US & UK regions. Tried various custome roms too. LOS 16, 17.1, Pixel exp with old img files and new zip files and now havoc rom. But they always reboot from phone is starting screen. Most reboots I have observed were 9-10 times I think . But I always give many reboots to every rom I have installed.

There is some problem in boot process. But it only seems to affect custom roms while everything works fine on stock rom. There must be something that custom ROMs use but stock ROM doesn't. The recovery doe not throw any error regarding this. Errors thrown by twrp are different and ROM does not get installed. But this error comes after ROM has been installed and tries to boot.
[Sony Xperia XZ1 Compact ROMs, Kernels, Recoveries,] AlexKarimov:
When you remove the TA files, are you removing Lilac_XBootConfig_MiscTA.ta in the Boot folder? That file should

not

be deleted. I made that mistake on my first ever flash and it was endless bootloops too.

This is what I think but I hope someone with more knowledge can confirm:

Use newflasher from now on. Flash back to Oreo and restore your TA partition(from before the unlock).

Then grab the latest Pie FW and extract it to the newflasher folder(after clearing out the Oreo files).

Delete all .ta files in the main folder but

do not

delete Lilac_XBootConfig_MiscTA.ta in the Boot folder.

Run newflasher. Also, never mess with this folder again unless you want to go back to oreo. This will be your first step to clean flash stock when switching to other ROMs.

Boot phone and skip through set up. Enter fastboot mode and flash TWRP.

Reboot to system and then power off.

Get all your files in order and follow steps for ROM of choice.

Hopefully this helps.
[Sony Xperia XZ1 Compact ROMs, Kernels, Recoveries,] Rooted_Ansh:
Don't delete cust-reset.ta too
[Sony Xperia XZ1 Compact ROMs, Kernels, Recoveries,] GOrMHATRe:
[MENTION=10207763]AlexKarimov[/MENTION] I never remove boot folder or anything inside it. I have flashed stock ROMs multiple times with boot folder intact so I no doubt that this file is present inside the phone.

Still I will try the steps you have suggested.
[Sony Xperia XZ1 Compact ROMs, Kernels, Recoveries,] GOrMHATRe:
[MENTION=10207763]AlexKarimov[/MENTION] [MENTION=8526938]Rooted_Ansh[/MENTION] I tried the suggestions both of you gave and it has pretty much given the same result as before. I even allowed the phone to reboot countless times. It is actually stuck on a reboot loop now. Even if I shut it down completely the phone boots up again by itself.

1 progress was that I can access the quick settings, go to settings app and can operate some functions from there. I tried to factory reset but that just shut down the phone for 5 minutes and nothing else happened. I am not able to go into recovery or fastboot even since the phone is not stable clearly. I am pretty tired of this experimenting with my phone. It is supposed to be my daily driver. So, I cannot keep resetting it over and over again. Thanks for your suggestions but I think it is time for me to move on.
[Sony Xperia XZ1 Compact ROMs, Kernels, Recoveries,] firoze.mehta:
Just removed LOS and gave this one a shot since I couldn't get MicroG working on LOS.

All looks good with MicroG (so far), but now I can't even log into Aurora store Anonymously. Says successfully logged in, then nothing happens and I can't get to the screen where I search for apps to download. Any ideas?

Edit: I found the fix. You have to go to Aurora Store Settings > Network > Enable custom tokenizer
[Sony Xperia XZ1 Compact ROMs, Kernels, Recoveries,] firoze.mehta:
GPS not working

Okay got most everything tested and work except for GPS. Waze constantly says searching network. Other location based apps not working as well. Anything I did wrong? Did a fresh install after format/wiping everything and flashed microG before first boot.

Firmware: G8441_Customized US_47.2.A.11.228-R7C

Edit: Did GPS Test, 20 satellites in view, 12 in use. 35ft accuracy. 3d Fix. Seems like GPS is working fine on the phone, just not about to send the information to apps (waze, weather, etc.). I saw that you wrote from now on anyone with GPS issues that you would say it's a hardware/carrier/location issue.. but I'm not so sure? It worked perfect on both Stock and Lineage. Perhaps something I did wrong in the install?

Any more troubleshooting tips you have would be greatly appreciated!
[Sony Xperia XZ1 Compact ROMs, Kernels, Recoveries,] Rooted_Ansh:
If you flash non-gapps build, waze will not work.
[Sony Xperia XZ1 Compact ROMs, Kernels, Recoveries,] firoze.mehta:
I did. Okay thanks for the tip. I think I'm battle google a little too much then. I'll stick with the pico GAPPS version and just deal with however much they are spying on me.
[Sony Xperia XZ1 Compact ROMs, Kernels, Recoveries,] Rooted_Ansh:
You don't even know that you can see and turn off the things you don't want to share.

And why on earth would you be the one they spying on ?

Also the idea of "google spying" came from the thing where google collects the data to provide you with features. Those data are processed on server. Do you have enough money to afford a server ? Do you have enough knowledge to integrate app and server and handle the features being provided to you ? .. you don't. No normal person has. Hence google does this.

Just that one random person started some "idea" and everyone following it.

Best way is to turn off whatever you don't want to share and keep low profile on social media then why the hell would anyone wanna spy you ?

Get my point ?
[Sony Xperia XZ1 Compact ROMs, Kernels, Recoveries,] firoze.mehta:
Oh I can appreciate your viewpoint, we're all entitled to them.. but I disagree. I'm not saying I'm anyone special, but the whole privacy thing has gone way too far. Snowden revealed all of this to us, and now we are just normalized and accepting of the way things are. If you have nothing to hide then you have nothing to worry about, right?

Just because they give you an option to choose what they know and don't know about you, doesn't mean there are other ways of knowing what they want to know.

Why does this matter? What's happening in the world today is a good example. COVID-19.. contact tracing.. did you get the vaccine or did you not? Our personal freedom to merely exist, unharassed, is now deemed a national security matter. I am a danger to others if I don't comply. You think they (Google/Government) are just going to give us an option to "turn off" knowing what we choose to do with our own bodies? Maybe for now, sure. But what's happening is a slippery slope. Some love it.. others like me see it as a bad sign for society. You perhaps feel differently and that's perfectly okay.

Thanks again for responding, I appreciate it. ?
[Sony Xperia XZ1 Compact ROMs, Kernels, Recoveries,] Rooted_Ansh:
Your pov is not wrong too but here's the thing .. the covid tracking, the vaccination check, is it bad ? How would a human society manage without internet (but with computers) handling the people and their health ?

You can see that without internet and without tracking, it wouldn't be possible. Unless of course we humans had focused more on our brains to handle way more effectively.

Everything has something bad and good, just like this covid tracking stuffs. But my point is not how good is to steal someone's privacy, my point is to stop focussing on negative side of a gift when it isn't harming anyone.

Because shouting bad about someone/something continuously doesn't make it bad UNTIL is does something bad :)

Peace out and enjoy the ROM :)

I'll release an update that has a surprise regarding this ROM (it's not android 11, don't get your hopes too high )
[Sony Xperia XZ1 Compact ROMs, Kernels, Recoveries,] lars85destroyer:
Hey,

I'm having a big issue with my notifications : all my instant messaging apps notifications get delayed (which is kind of problematic for instant messaging ^^).

Unless I open Instagram / Snapchat / Messenger, I don't get notifications, or sometimes they all appear at once out of nowhere.

They're not blacklisted in the battery settings and I don't remember installing / tweaking anything regarding background apps.

There's only the sensor block setting on.

What could I try to get these notifications back ?
[Sony Xperia XZ1 Compact ROMs, Kernels, Recoveries,] Rooted_Ansh:
I have no idea how to help you on this. Because even when I tweak background apps to restrict, notifications still don't delay.

You must have done something not mentioned in your post. Any module ? Any tweaks ? Because suddenly it won't start delaying notifications

(Sensor tweaks won't matter in this)

Sorry for late reply, was busy with new release (not android 11 yet)
[Sony Xperia XZ1 Compact ROMs, Kernels, Recoveries,] Rooted_Ansh:
Hello Guys !

New update is out !

Yeah I know, previous build was last build, but I managed to get camera button working ! :D

So here is the update

November (v3.11):

• Links : No-GApps | GApps

• Merged November security patch

• Fixed camera button support ! :)

• Added Glove mode BETA

• Fix IMS bugs and remove network switcher

NOTE: You will get a reboot prompt after flashing this new update. After reboot, just set your network to LTE and enjoy forever :)

If you like my work, don't forget to buy me a juice :)

https://paypal.me/Shank03
[Sony Xperia XZ1 Compact ROMs, Kernels, Recoveries,] lars85destroyer:
I've switched from opengapps on Android 9 to Bitgapps on Android 10, could it be the cause ?

I've doublechecked everything, no restrictions, no special magisk modules (quickswitch, V4A).

I will try to reinstall concerned apps.

Thanks for the update ! Can we still change the network between 2G/3G/4G after the removal of network switcher ?

And is there any other place where I could send you money ? PayPal is taking a big fee here :(
[Sony Xperia XZ1 Compact ROMs, Kernels, Recoveries,] Bestiole222:
install from android 9

Hello, is it possible to install this rom directly from android 9 build 47.2.A.8.24 with kernel developped by Jeanjean, or do I have to install a more recent one?

Thanks in advance for your answers.
[Sony Xperia XZ1 Compact ROMs, Kernels, Recoveries,] :
Hi, i just stumbled across this thread and although I m quite happy with los17 this here sounds that interesting, I m seriously thinking about changing!

I've a few questions though:

- Do I have to flash stock if I use the newest LOS17? If yes, I should wait (sounds like its already really close) for android 11 right?

- Do I have to wipe data as well?

- Maybe a stupid question but anyhow: is face unlock as well as fingerprint unlock really working without the use of any google services whatsoever, so is the alogirith actually processing it locally on my phone or are there any hidden google services in this ROM to achieve that? I ask out of privacy concerns against anything from or with google...

Thanks a lot for making such a good looking, feature-packed CustomRom
[Sony Xperia XZ1 Compact ROMs, Kernels, Recoveries,] Rooted_Ansh:
You do have to wipe data before flashing this ROM, otherwise you may get lots of bugs.

You don't have to flash any other extra ROM.

Yes, face unlock and fingerprint works without google service and even app lock too.

If you are not willing to factory reset (wipe data) then rather wait for android 11 :)

Thanks !
[Sony Xperia XZ1 Compact ROMs, Kernels, Recoveries,] Rooted_Ansh:
I am not sure about gapps though, because I use in built version of havoc gapps.

Yes you can switch to any network you want. You can go to modem switcher activity (if you know about it) and select your carrier specific modem if ims isn't working (only if you had ims before).

I don't have any other place except paypal sorry :(

But thanks ! :)
[Sony Xperia XZ1 Compact ROMs, Kernels, Recoveries,] lars85destroyer:
Had to tick a checkbox and fees are gone :)

Sent you some well-deserved coffees, thanks for you work !
[Sony Xperia XZ1 Compact ROMs, Kernels, Recoveries,] Rooted_Ansh:
Wow thank you ! :D
[Sony Xperia XZ1 Compact ROMs, Kernels, Recoveries,] AlexKarimov:
Clean flashed from stock and update is very nice, especially a working camera button:)

Only issue I've found so far is my phone will not connect to mobile network unless the phone is restarted with 3G as preferred network, after which it can be swapped to LTE with no issues. If restarted on LTE as preferred, it will never find it or it'll take too long that's it's not a viable option(longest I waited was 5 min). I've tried with stock modem and carrier specific modem. Any ideas?

Other than that, thank you again for your excellent work:good:

AK

EDIT: Non-Gapps version with pico10gapps and magisk flashed
[Sony Xperia XZ1 Compact ROMs, Kernels, Recoveries,] :
Sounds promising!

Good to know I don't need to flash the stock ROM first (maybe this should be mentioned in the how-to?!]...

I don't really get what you mean with the last answer regarding android 11: I have to wipe data anyway (which is not that big of a problem I have titanium backup was just asking to be sure) if I change to android 11 havoc os right? you just mean if I wait I don't have to do it twice?
[Sony Xperia XZ1 Compact ROMs, Kernels, Recoveries,] Rooted_Ansh:
Is the correct modem flashed ? Also can you turn off roaming in case if it's on ? And then turn off mobile data and reboot then turn on
[Sony Xperia XZ1 Compact ROMs, Kernels, Recoveries,] Rooted_Ansh:
Yeah that's what I meant, if you wait you don't have to do it twice :)
[Sony Xperia XZ1 Compact ROMs, Kernels, Recoveries,] PeppeBove:
Is it possible to moove some apps to system folder to free memory?

If yes, how? Without freeze or bootloop.

Is there some other ways to free internal memory?

(I already have all my datas on 300GB SD, but internal memory is always full)

Inviato dal mio G8441 utilizzando Tapatalk
[Sony Xperia XZ1 Compact ROMs, Kernels, Recoveries,] AlexKarimov:
I didn't flash a modem, I just changed the one in the Xperia Parts Settings. I turned off roaming then mobile data and rebooted. No change. If I restart the phone with data on and LTE as preferred network, I can't get data back unless I switch the preferred to 3G and connect to WIFI. If I have 3G as preferred and restart with mobile data on, then it will connect within a few seconds of booting up. Do I need to flash a specific modem? Thanks
[Sony Xperia XZ1 Compact ROMs, Kernels, Recoveries,] Rooted_Ansh:
What did you change in xperia parts modem switcher ?

Did you have ims ? Do you remember what modem you had ?

Can you clear customization selector data and reboot ?
[Sony Xperia XZ1 Compact ROMs, Kernels, Recoveries,] AlexKarimov:
I changed modem switcher from amss_fsg_lilac_tar.mbn (which was how it was default) to amss_fsg_lilac_att_us_tar.mbn since I'm on Cricket Wireless(it uses ATT network.

Both times there was no change in my phone's performance. I have a fully functioning phone and everything works, including IMS(unless I misunderstand what that is). I can make and answer calls, send and receive texts and pictures, access WIFI and Mobile Data use GPS. Everything is like it was on the 3.9 version except for the changes and the issue I mentioned with LTE as preferred network.
[Sony Xperia XZ1 Compact ROMs, Kernels, Recoveries,] Rooted_Ansh:
Okay so what I can understand is you have special service provider :P

Because you are the first one yet to report such case. I'll look into what I can do. Anyway next release let's hope android 11 works good enough for daily driver. Till then just go to settings > xperia parts > status and send me the screenshot.

Sorry for any inconveniences cause
[Sony Xperia XZ1 Compact ROMs, Kernels, Recoveries,] AlexKarimov:
Thank you for your help. It's the only issue but really, don't lose sleep over it. I was just reporting what was happening. I forgot to mention that clearing data on customization selector didn't change anything. The two screenshots our of 3G and 4G as preferred network(after rebooting with 3G as preferred).

https://imagizer.imageshack.com/img922/6734/gtKrIu.jpg

https://imagizer.imageshack.com/img924/3888/S8inas.jpg
[Sony Xperia XZ1 Compact ROMs, Kernels, Recoveries,] Ephesus:
Initially was not able to get any cellular connection.

I was able to get a cell signal after switching to 2g and after a couple minutes switching back to LTE.

But still my connection sometimes drops, I have very weak reception, and my SMS messages can take anywhere between 1 minute to an hour to be received from other people.

I've tried the stock ROM, PE 10, the newest LOS 17.1 and AEX based on android 10 and it seems to only be an issue with the ROMs based on the new kernel as it works in the stock ROM and older versions of LOS 17.1

Is there anything that I could try to fix the issue or any more info that I should provide?
[Sony Xperia XZ1 Compact ROMs, Kernels, Recoveries,] Rooted_Ansh:
I really don't understand why it's happening.. whereas here for me, I can get working signal as quick as 10 sec, switching to LTE is the same (normal) for me. Less drops in signal than before..

I really have no idea why is this happening.. I'll try to look into it :(
[Sony Xperia XZ1 Compact ROMs, Kernels, Recoveries,] arnaubvendrell:
OMG, THANK YOU!! I thought I was the only one having that issue... I can't get Mobile Data working on any Android 10 ROM too! Some times, on some versions of AEX 10 from [MENTION=4688377]russel5[/MENTION] it worked, but in others (and maybe newers) versions didn't. I had to go back to Stock Pie... I would looooove to have a ROM based on A10, because Sony Stock ROM is so ****, but obviously I can't go without 4G... I live in Spain, using Movistar network, but I bought my XZ1C from Germany (CDA 1310-4373), if it serves as help. It is not that I can't get any signal, but the signal is SOOOOO weak I can barely send/recive WhatsApps. Any other thing is impossible...

By the way, thanks you so much for keeping this phone alive [MENTION=8526938]Rooted_Ansh[/MENTION] and [MENTION=4688377]russel5[/MENTION] with your ROMs!! (even if they have some bugs XDD)
[Sony Xperia XZ1 Compact ROMs, Kernels, Recoveries,] Ephesus:
I flashed the VoLTE magisk module and it seems to help. After I got signal by switching to 2g then back to 4g once now even if I switch airplane mode on and off I can get cell signal back in a couple minutes and I have better reception.
[Sony Xperia XZ1 Compact ROMs, Kernels, Recoveries,] Cadabena:
Strange issue with Android Auto. First of all, it works (hooray!). But after a second or two the whole right part of the screen goes black. Changing app fixes this for the main display, but not the nav bar, meaning you have to guess which button to press (seen on photo). Don't think it's an Android 10 issue as my partners Moto X4 running Android 10 works perfectly through Android Auto.

View attachment 5042433

Other than this, no issues at all - mobile data works perfectly (gettng 4G+/LTE+ here in UK). Thanks so much for keeping the last pocketable flagship alive!
[Sony Xperia XZ1 Compact ROMs, Kernels, Recoveries,] AlexKarimov:
The settings seems to be crashing on my every time I try to open it. I'm not sure why. The only thing I've done is update a few google apps but I saved the crash log url if it helps. Any thing is appreciated, thanks.

https://del.dog/aweralycul
[Sony Xperia XZ1 Compact ROMs, Kernels, Recoveries,] Rooted_Ansh:
I see you dirty flashed this ROM over some other ROM ?

Otherwise.. just factory reset
[Sony Xperia XZ1 Compact ROMs, Kernels, Recoveries,] Cadabena:
As a workaround, if anyone else has this issue I've since discovered that if after opening Android Auto you return to the homescreen of your car and then reopen Android Auto while the connection is still open, it will redraw the whole screen including the black box and displays correctly. So you just need to do this every time you get in the car.
[Sony Xperia XZ1 Compact ROMs, Kernels, Recoveries,] AlexKarimov:
Thank you, I got sloppy:)
[Sony Xperia XZ1 Compact ROMs, Kernels, Recoveries,] brodo:
Hey, the rom works pretty great so far. My only issue: The camera button doesn't do anything. Camera app won't start on long press and when camera app is active I can take pictures only with the software button. What works though is focus when touching the button lightly (first stage of the button).

I bought this phone used a few days ago and can't remember to ever have tested the camera button. Can anyone confirm this behaviour (before I flash another rom to exclude a hardware fault)?

P. S.: Pocket detection doesn't seem to work either. I had it several times now that my phone went rogue inside the pocket.
[Sony Xperia XZ1 Compact ROMs, Kernels, Recoveries,] txkoi@mail.ru:
Mobile data can't be used after power on, but when WLAN hotspot is turned on, mobile data can be used
[Sony Xperia XZ1 Compact ROMs, Kernels, Recoveries,] Rooted_Ansh:
Yes.. camera button is broken in havoc... The problem is in havoc source code..

I have gotten busy with my life.. so not getting enough time to add code for fix.
[Sony Xperia XZ1 Compact ROMs, Kernels, Recoveries,] cxantia:
Hello members!

Do GPS work for your devices?

I have two Xperia XZ1 Compact with this custom rom - but on both devices GPS works very bad - i can't use it. "GPS Test" find only some sattelits with very small signal.

Many thanks in advance.
[Sony Xperia XZ1 Compact ROMs, Kernels, Recoveries,] Rooted_Ansh:
GPS doesn't work properly yet.. but Google maps works perfectly as I had tested before releasing this ROM ...

I'm not getting enough time to fix.. due to "life"
[Sony Xperia XZ1 Compact ROMs, Kernels, Recoveries,] csy_x:
why charging is so slow.. only 600ma+
[Sony Xperia XZ1 Compact ROMs, Kernels, Recoveries,] Cadabena:
Must be an issue with your charger, I'm getting 2000mA+ with this rom.
[Sony Xperia XZ1 Compact ROMs, Kernels, Recoveries,] csy_x:
I dont know, it worked better now at about 1400mA+ but not very stable. Maybe i should try another charger for faster charging speed
[Sony Xperia XZ1 Compact ROMs, Kernels, Recoveries,] Rooted_Ansh:
July Update:

GApps

Non-GApps
[Sony Xperia XZ1 Compact ROMs, Kernels, Recoveries,] Maflo:
Thank. Do you have the changelog for July's update?
[Sony Xperia XZ1 Compact ROMs, Kernels, Recoveries,] Rooted_Ansh:
I am really not getting time to add more fixes and stuffs..

Busy with uni and exams are coming..

But I do remember that I increased thermal tolerance for charging

The ROM changelog is in screenshot attached..
[Sony Xperia XZ1 Compact ROMs, Kernels, Recoveries,] Rooted_Ansh:
It seems in images you forgot to switch to att modem ?

Also when you say that mobile data isn't connected until you switch to 3G, is the sim in service at least ?

And your wifi behaves good when mobile data not connected ?