yashsingh1/xdaforums huggingface dataset:
[Xperia Z5 Compact Android Development] beflythis:
Berni! After much research, I've found this link (https://xdaforums.com/showpost.php?p=74159245&postcount=105) to an ZX Compact thread where ppl are talking specifically about issues with T-mobile in the US and Sony devices... apparently TMobile kicks phones not on Band 12 LTE from their network and these guys have identified the right files/lines within the firmware that enables Band 12 LTE with the correct APN settings within the firmware.

That link is to the exact post that has the info... if I had the knowledge I'd rip and replace myself... (not sure if if's that easy?) I am sure you have a personal life and are already super busy.. but if possible... for us US Tmobile users on this forum who are having phone connection issues (getting kicked from T mobile bands and having phone calls go directly to voice mail as a result) - could you make a flashable .zip that would replace the right modem files with the ones that have the correct US T mobile Band 12 LTE settings?

I would actually pay for this. No joke. Because right now this entirely new device is a steaming POS (with T mobile) as I can't snap to their band 12 and effectively can't receive phone calls. What a mission.

Would love any help. (even just instructions on how to rip and replace the right modem files should get me there)...
[Xperia Z5 Compact Android Development] Berni-0815:
Feel free to use your own file. For my needs my version is perfect...
[Xperia Z5 Compact Android Development] Berni-0815:
I'm sorry, but this is not applicable to LineageOS...
[Xperia Z5 Compact Android Development] beflythis:
can you help me understand why?
[Xperia Z5 Compact Android Development] Berni-0815:
Sure! There are no such files. So, I can't make any changes as described. :(
[Xperia Z5 Compact Android Development] beflythis:
fair - the files listed on that thread don't match 1:1 with the z5c, but can't we find the modem files from the US firmware and effectively follow the same steps to flash them into a version of LOS?

i don't have as much exp as yourself, but even looking at the raw .ftf folder i can see a few files that have 'modem' in the filename. is that accurate?
[Xperia Z5 Compact Android Development] Berni-0815:
I don't think so, because I don't know where to place these files and how to point to them (call them).

The inner structure of LineageOS is very different from stock.

I really don't know how LineageOS is handling these things.
[Xperia Z5 Compact Android Development] Cuculuz:
hi dev and other people !.

how do I enable superuser for this rom ?

flashed the superuser zip from the first page then enabled it from the dev menu on the phone but still no superuser , any help please
[Xperia Z5 Compact Android Development] Berni-0815:
Tested with which tool?
[Xperia Z5 Compact Android Development] Cuculuz:
Hi just noticed you replied.

Got it finally working ! Turned out I flashed the wrong ver. :) 15.1 after flashed the correct version 14.1 all is working now.

Flashed also the foc thermal fix to see if it will make my device cooler also ,I was previously on the ressurection remix ROM and it was hot as hell
[Xperia Z5 Compact Android Development] Berni-0815:
:good:

Also changed 1st post to download the right file directly.
[Xperia Z5 Compact Android Development] zapti0x:
Hi! Is there any fix for Google Pay not registering on POS-terminals on this ROM. Can't get it to work on official.
[Xperia Z5 Compact Android Development] Berni-0815:
Use magisk. Then google pay should work...
[Xperia Z5 Compact Android Development] zapti0x:
That's the problem: safety net passed, the app is working, but when I actually try to pay, no reaction from phone or Pos terminal
[Xperia Z5 Compact Android Development] Berni-0815:
This is a problem in the implementation of nfc that I can't fix; sorry.
[Xperia Z5 Compact Android Development] Berni-0815:
Here you can download my rom with bundled microG and F-Droid and unifiedNLP!

You can dirty flash it over an existing version, but if you have gapps installed previously, you can't use microG. So it's better to make a clean install with wiping /system!

Please report if this version is working or not.

For me it makes no sense because I'm using gapps and I haven't figured out how to load my apps without it. Maybe I'm blind? :eek:

P.S.:

Don't forget to enable signature spoofing (Settings>Apps>Advanced(gear icon)>App Permissions>Spoof package signature)
[Xperia Z5 Compact Android Development] der-seemann:
I'm not sure if with sony it works the same way as with Samsung, but maybe this will help :

with Samsung the modem (aka baseband) part of the firmware runs on an separate processor and is more or less independent from the recovery and the main system (stock or LOS) that runs on the main processor.

The modem part is the subsystem that actually operates the transmitter and communicates with the network and thus need to be approved by the network authorities. The Android system uses an interface to communicate with the modem system and don't operate the transmitter itself, thus don't need to be approved by anyone if changed (updated).

To get the correct modem firmware., you need to find the latest full stock firmware for your region and provider and either just flash the modem part or flash all and then flash custom recovery and custom system (aka LOS).

There are hundredths of different modem versions for just one Samsung phone. And it can take some trying to find the best one for your region and provider.

It also affects wifi and maybe Bluetooth and nfc.

The current modem / baseband version is displayed in the menu "about the phone".

Maybe this will help you find a solution!
[Xperia Z5 Compact Android Development] Berni-0815:
This will not be killed by flashing a new system? :confused:
[Xperia Z5 Compact Android Development] trax7:
No, baseband is an isolated environment, like the guy said the system talks to it via an interface.

What could happen is the ROM might not have settings for those operators so he would need to DL them manually. As long as the interface to the baseband chip (the HAL) is working fine and there isn't any kernel weirdness then it should be fine for any frequency mode.

Ofc, something could always happen, so let him try it and the guy can keep us posted. :)
[Xperia Z5 Compact Android Development] der-seemann:
It depends.

With some Samsung flash tools you can selectively flash parts of the firmware or all.

These different parts are stored in different partitions of the ROM. As you know, the recovery system will not be changed when flashing a new version of lineageos. Nor will the bootloader be changed.

And the modem (aka baseband) part is an own operating system running on a separate processor.

So with a full firmware set from Sony you should get: a new recovery system, a new android system, a new modem system and maybe a new bootloader. And maybe more positions with some more data.

Now when you flash twrp you just replaced the recovery. (And parts of the boot partition, this is special with this Sony device).

Now when you go into twrp and flash a lineage image, you just replace the system partition (and maybe the data, I'm not familiar with this).

The modem system will stay the original Sony modem system.

Changing the baseband version can improve your connectivity for mobile and WiFi. But it can also mess it up.
[Xperia Z5 Compact Android Development] Berni-0815:
System only. And you don't replace the whole /system partition. Thats the reason why sometimes a dirty flash causes problems...
[Xperia Z5 Compact Android Development] Berni-0815:
No one's testing it? :confused:
[Xperia Z5 Compact Android Development] der-seemann:
IMHO when flashing a zip file you just replace or add files to the system partition. When flashing an img you replace the whole partition.

---------- Post added at 09:19 PM ---------- Previous post was at 09:17 PM ----------

Berni, thanks for the ROM. It is working better than the original LOS. Why isn't your build the official LOS?
[Xperia Z5 Compact Android Development] Berni-0815:
That's right!

<Laughing loud!>

I really don't know. :angel:
[Xperia Z5 Compact Android Development] classicoldster:
Custom Rom

I have a tab pro 10.1 T520. I did root the device and flash the tab with Lineage Nougat 7.? after completion, the tablet was not rooted. I already had in issue in that the memory card was not recognized and now find that the tablet is in a reboot loop. since I am not able to load files to the tablet thru a storage device, how do I get the files onto the tablet to flash using Odin? I need a custom rom with an *.md5 extension it seems. Is there such a rom for my tablet. Thank you for all that you have done for the community.
[Xperia Z5 Compact Android Development] Berni-0815:
This is a thread for Sony's XPeria Z5 compact!! :p
[Xperia Z5 Compact Android Development] beflythis:
so if i am following the convo properly... I can safely keep my ROM and data by doing a TWRP backup, flashing a new .ftf fully and then "restoring" via TWRP?

That should enable me to change the modem baseband via the .ftf and the restore the ROM (keeping the changed modem/baseband) while still also keeping apps and data - is that right?
[Xperia Z5 Compact Android Development] Berni-0815:
That's the idea, indeed! :good:

But, keep in mind that TWRP does NOT backup your internal data like pictures, downloads etc. So, be careful with the "wipe" options when flashing a ftf!
[Xperia Z5 Compact Android Development] Slagathor:
I'm very interested in this ROM, excellent job of maintaining this Bernie! I have a question though about MicroG. If I want to get rid of Google and the way it is profiling me, is MicroG the way to go?
[Xperia Z5 Compact Android Development] Berni-0815:
Yes! MicroG (and F-Droid) is the right way!

In my latest version these apps are included and I will include them in further versions!

In addition you can use the app "yalp store" for apps hosted in google's play store.

For those who are using gapps: You have to make your /system partition writable by typing

mount -o remount,rw /system

in the terminal.

Then move to /system/priv-app and delete

GmsCore

GoogleBackupTransport

GoogleFeedback

GoogleLoginService

GoogleOneTimeInitializer

GooglePartnerSetup

GoogleServicesFramework

Phonesky

SetupWizard

Then reboot your phone and microG is working. For further help visit their website.
[Xperia Z5 Compact Android Development] brordavid:
For us who still are using your Los with gapps, we don't have to do anything right? Everything works just as it should?

/Bror David
[Xperia Z5 Compact Android Development] Berni-0815:
Right! MicroG is simply not working and will not appear in the launcher (but in the list of installed apps [settings/apps]; feel free to de-install it if you don't want it).

F-Droid is working!

I'm using this version with gapps and it works as expected. If not, please report...
[Xperia Z5 Compact Android Development] brordavid:
That's what I wanted to hear!

I'm very pleased with the rom as it is and don't want to change to official Los. Great work as always! :) :good:
[Xperia Z5 Compact Android Development] rommo_911:
Hello friends . One question !

Have anyone noticed weird response for the headset ? My device is only identifying the headset as headphones , yes no mic and no button is working , i remember when u first installed lineage os it was working perfectly , maybe not .

(I tried the headset on other Sony z3 running lineages os and they response perfectly)
[Xperia Z5 Compact Android Development] Cuculuz:
I'm having weird issues as well, but regarding incoming calls. People are telling me they have called but have gotten an automated answer that the phone number doesn't exist or is wrong and the call won't come through.

I've held the device in my hand waiting for a important call and it hasn't rang.

And I don't know what is wrong, I've used to test it myself to see if works or not and it has always started calling.

Also sometimes the phone menu had lags and will take 1,2 sec to come responsive again.
[Xperia Z5 Compact Android Development] Knoose:
Hello Berni,

First of, long time fan of your rom :)

Thought I would give MicroG a go and tried to follow your instructions from a couple of posts earlier as I was using gapps.

Unfortunately this does not seem to be working. I might be doing something wrong though.

After flashing an booting into the rom I go to the terminal and input your command (after going into su)

when I try to delete the folders via terminal I get device or resource busy.

I go to mixplorer -> root -> system -> priv-app and delete the folders/files you mention.

After reboot I still cannot see microg or enable spoofing.

I also tried flashing your rom while wiping system with the same results.

Any idea what I am doing wrong here?
[Xperia Z5 Compact Android Development] qwerty123123kk:
Seeing this as well. I think it has to do with how quickly the switch from 4G to 2G takes (this is a necessary step to take a call if not using VoIP).
[Xperia Z5 Compact Android Development] Yverson:
Hey [MENTION=7749536]Berni-0815[/MENTION] i want to say thank you for your work and your support in this thread.

I am following it since your first versions in nzzane's Thread but until this weekend i never got the motivation to finally switch from old lollipop with root (Dany_Wilde's Guide).

My Z5C was really damn slow and my battery needed charging 2 times a day.

Maybe it was good to wait because it feels like a pretty new phone :)

But well, the overheating from the previous old ROM seems to have affected my battery nonetheless.

I am not done testing the battery but the speed of the phone is back and thats just great.

Now i get that LOS is not your work but your support here as well at android-hilfe.de got me all the information i needed to get rdy to flash.

The only thing i regret is not switching earlier.

No problems so far but one strange behavior. I was in france and for one day the phone would not accept the foreign net. I tried any setting with roaming etc but it would not work. The next mourning strangely it did and it continues to work now as well in swizerland :)

(strange because after testing various settings and rebooting many times i just set the previous settings so in the end i did not change anything)
[Xperia Z5 Compact Android Development] Berni-0815:
Maybe you have to delete all *google* in <internal-memory/Android/data>; and in sd-card too...
[Xperia Z5 Compact Android Development] up2dateneurosis:
After some months of using and always switching to the newest available version, I still have issues with my mic. Mostly the recordings are to quiet but sometimes it doesn't records at all. The only thing that than helps is a reboot. Another thing is, that the phone still doesn't connects to offline wireless routers. Or lets say it connects, but doesn't uses the connection. In flightmode with w-lan activated it works. At least I have the feeling, that the phone gets unnecessarily hot. Even with underclocking settings in kernel adiutor. And I noticed some battery drain over night. But this could be a faulty battery.
[Xperia Z5 Compact Android Development] Knoose:
thank you for your reply. I ended up doing a factory reset and microg is working now. Had some issues getting blankstore to work so i had to install playstore standalone app which is working quite well. Now to get different location services to work :)
[Xperia Z5 Compact Android Development] Berni-0815:
That can't be a problem of the rom! Try a clean install...
[Xperia Z5 Compact Android Development] maciek12:
Hey Berni, are you going to release the may update soon :confused:
[Xperia Z5 Compact Android Development] Berni-0815:
There is actually no may update available. "They" (whoever "they" may be) are late... :D

And unfortunately I've updated my build pc from xubuntu 17.04. to xubuntu 18.04. And with that I can't build a rom successfully! :eek:

So, please be patient.
[Xperia Z5 Compact Android Development] rommo_911:
hello berni ! can you help over here ?

i am trying to use my bt headset, and they are just perfect, but on whataspp, the mic almost dont catch sound at all unless i shout, in the same time, the same mic on normal voice call is just perfect !

i tried to edit the mixer_path , but i really have no clue how to set the values !

i looked up for a guide to explain the values and the refrences but i didn;t find a clue,

i need to locate the lines :

mic gain for Whatsapp call , voice record on Bluetooth mic.

mic gain for voice calls as well on BT mic

they should be following the "voip" section ?

other thing , what's with the voice compression on voip ? i noticed that many of voip calls i receive since i switched to Lineage OS , have difficulties in receiving all of the sound from the other party(i get lot of silence while they speak util i start hearing them),,, does this have some values as well over here ? or its just the sender who compress the voice (mute TX)

EDIT: i think the problem is my headset, for a reason (sony SBH-50), i tried anothers , and they yet have a good voice - rather not quit loud enough,

i think what i am going to do is to flash your mixer after i reduce gain for the camcorder (because i found this one by my own)
[Xperia Z5 Compact Android Development] brordavid:
I think xubuntu is telling you that you should only compile oreo roms. :silly:

Joking aside, the latest los you buildt is rock stable, just take your time. :good:
[Xperia Z5 Compact Android Development] Berni-0815:
I've never used voip. Are you using a sip connection? Which app?
[Xperia Z5 Compact Android Development] Cuculuz:
Beni, can you investigate why the calls won't come trough on my device, or are you at least aware of this issue is in the rom.

I really like the rom and don't want to flash anything else.

Id say that 75% if the time the call comes trough the other 25%it gets lost somewhere.
[Xperia Z5 Compact Android Development] YamiYukiSenpai:
I believe I asked this before, but will there be an update to Oreo?

Edit:

Yup I did, and you replied, too.

BTW, I don't know if you're aware, but 3.2.1 is availble for Xperia Z5 Compact. I just installed it today, and it seems to be working great. Hope that would allow LineageOS 15 to be made available for Xperia Z5 Compact. I'd love to see my favorite phone get Oreo.
[Xperia Z5 Compact Android Development] der-seemann:
Hi berni, I have to issues:

My phone is charging way to slow. Is there a option for overriding / force fast charge?

And some times while driving, listening to music over headphone out and navigating with gmaps the tts really lacks, missing halv the sentences and killing my music app. Why?
[Xperia Z5 Compact Android Development] rommo_911:
My phone even respond to the QC 2.0 charger , and charges like crazy speed ...

Normal 2.1A charger do the work perfectly , I guess its problem with your cable/plug ... Or internal malfunction
[Xperia Z5 Compact Android Development] qwerty123123kk:
I also have this problem; I believe it's tied to the fact that the phone isn't switching from 4G to 2/3g fast enough to pick up a regular (non-VoIP) call.

I have the idea to try flashing different basebands, but still looking in to exactly how to do that. Thanks as usual to Berni and everyone else for the great community and advice!
[Xperia Z5 Compact Android Development] Cuculuz:
But i have switched off 4g and put 3g mode only.
[Xperia Z5 Compact Android Development] Berni-0815:
New version out; see 1st post
[Xperia Z5 Compact Android Development] Cuculuz:
Issue installing the new version. Had to revert back to previous build.

After installing the latest update ( fresh install) and when the phone boots and loads in to the OS and you start setting it up after you entered the wifi password it will not go past that screen and is just loading infinite.

Tried 3 times to install the new update. 2 times as a clean install 1 time installing over previous build.
[Xperia Z5 Compact Android Development] lochstar:
Thanks, Berni. You're a legend. Last month's build was my first one, do you recommend wiping cache between upgrades?
[Xperia Z5 Compact Android Development] Yverson:
Since i have started with your previous build and i want to flash your current version i have a question about dirty flashing.

Is this the way for dirty flashing:

1. full TWRP backup

2. flash current version via TWRP

3. (optional) flash gapps

4. (optional) flash Magisk / XPosed

5. clear cache & dalvik

6. reboot to system

I don't understand a specific part of the quoted explanation: "(after a full restore with TWRP)"

Does this mean "your" step 5 would be a restore of the previous backup? :confused:
[Xperia Z5 Compact Android Development] Cuculuz:
Anyone managed to install the latest release?

Now I tried with trwp 3.2 and 3.1 both fail at setting up the device after entering wifi pswrd.

Just to be sure my devices isn't broken I flashed sum older builds and it succeeded. .

Any advice?

Edit....

I got the new system update installed by dirty flashing over the previous release.
[Xperia Z5 Compact Android Development] Berni-0815:
I don't do so...
[Xperia Z5 Compact Android Development] Berni-0815:
That's what I'm doing. Only if this fails, I went back to my previous version by restoring everything with TWRP.

They should not been gone, because you're not wiping /system

I never do that. If it's useful? Don't know...
[Xperia Z5 Compact Android Development] Berni-0815:
Is this a clean install? What has been wiped? Are you using gapps? Please explain.

That's the way I'm allways doing it.

Hmmm, I'll try a clean install asap to confirm your problems. :confused:
[Xperia Z5 Compact Android Development] up2dateneurosis:
I did my installation as usal and had no problems. I will look out for noticeable changes for common problems (sound, mic, heat) and post my experience here. But first thanks again Berni :)
[Xperia Z5 Compact Android Development] Cuculuz:
Hi beni

Yes it was a clean installation, I whipe the whole system like I always do apart from my Sdcard where my rom collection is

Yes I was using gapps and also installed the supersu fix.

It's actually quite wierd it just hanged after the password was put in I've put the phone down for 50 min at least and it still was looping the message getting acc info
[Xperia Z5 Compact Android Development] Berni-0815:
New version out! (see 1st post). Minor bugfixes; nothin serious; only added missing soundfiles and their attachments.

Important:

I can confirm a bug when making a clean install (wiping /system and /data [without /data/media]) and flashing gapps in one step! The setup hangs in an infinite loop after entering wifi password, while searching for updates...

:(

Workaround:

First flash rom, set it up, then flash gapps.

The issue will be reported to the community.

Thanks!
[Xperia Z5 Compact Android Development] Cuculuz:
Hi Bernie!

I'm also having trouble installing gapps .

1 . installed ROM

2. Installed su fix

3. Reset and setup device.

4. enter recovery

5. Flash gapps ( tried now full to nano edition of it)

6.boot back to system.

It show's a lot of google apps are installed now, but nowhere on sight I can find play store itself.

Gave it a good 3 goes to make sure I haven't done something wrongly myself. The result was the same can't see play store app or launch it.

:crying:

The same result is when I dirty flash over a previous build all other gapps are on the system and Gplay is no where to be found on the system.

Also if I try to launch YouTube etc. It tells me you need google play service to use this service app despite I flashed it clean and dirty.
[Xperia Z5 Compact Android Development] kahitano313:
Hi Bernie, the ram management on this Lineage OS is not great unlike the stock one provided by Sony.
[Xperia Z5 Compact Android Development] Berni-0815:
That' not good! :( Can you download it somewhere in the web and install it then?

That's working on my device. :good: