yashsingh1/xdaforums huggingface dataset:
[Xperia Z5 Compact Android Development] Berni-0815:
Or nothing has been changed that day.

Go to this page (for example) and click on "commits". There you can see these things. Sometimes you can see more infos by clicking on the three dots in the right of the commit. By clicking on the commit itself you can see the changed file(s).

Me not.

/data partition is not affected when you're flashing a new rom. You can "dirty flash" this rom. But maybe some strange things could happen...

In this case you should make a clean install by using the "delete" button in TWRP. This will delete /system, /data (without /data/media [your stored files]) and dalvik/cache.
[Xperia Z5 Compact Android Development] Root97:
I discovered a bug/issue (currently using 20 nov.)

Out of the blue, the mic stops working = (no recording, no phone calls, no google Assistant)

I have to reboot the device to get the mic to work again

It happens to me every two or three days (even on the previous build)

Is anyone having the same issue ?
[Xperia Z5 Compact Android Development] Blu3ye:
Which previous build?
[Xperia Z5 Compact Android Development] Root97:
Nov. 1st
[Xperia Z5 Compact Android Development] Blu3ye:
Didn't have that yet with version Nov. 13.

Any other customization done maybe?
[Xperia Z5 Compact Android Development] Root97:
I don't know, my Rom is pretty much straight forward
[Xperia Z5 Compact Android Development] Berni-0815:
Added some older versions to first post
[Xperia Z5 Compact Android Development] D-e-v-i-l:
Hi Berni,

if you want, I can send you my mobile number per p. m. so we can test VOLTE.

EDIT:

Check the IMS status. => all not available or not registered

I found out we need a special ims apn. But I don't know the settings yet. info
[Xperia Z5 Compact Android Development] Berni-0815:
Just restored stock 32.4.A.1.54 and pulled the file mixer_paths.xml (from /system/etc/). It's the same as my stored stock version and in a lot of values different to the version used in LineageOS 14.1, as shown in my post #977

Confused? Me too... :confused:
[Xperia Z5 Compact Android Development] TrulloF:
I made a clean reflash of your rom wiping system, data etc. too when I flashed your previous version (from March), so it must be bundled with your rom or doesn't get overwritten or maybe the rom settings app replaced it, that's the only plausible explanation to me.
[Xperia Z5 Compact Android Development] Berni-0815:
I can do whatever I want *); I'm always getting the same result; file mixer_paths.xml IS the modified version... :angel:

*)

flashing clean

flashing dirty over an existing version

using older version
[Xperia Z5 Compact Android Development] bbb555:
Since I don't have time to flash clean (or to flash stock), I replaced the values in my current mixer_paths.xml with your values from post #977. I'm guessing that will take care of the issue (in the future) if the file is not being overwritten during a dirty flash.
[Xperia Z5 Compact Android Development] Berni-0815:
The file will be overwritten by a dirty flash! ;)
[Xperia Z5 Compact Android Development] Kaquartus:
Hello,

i start with the last official stock release, 32.4.A.1.60 and not 32.4.A.1.54 ; is it a problem ?

I there a way to have the last "official Lineage release" for Suzuran also ? The one from 2019/02/07 ? We can't find it anymore on Lineage download portal...
[Xperia Z5 Compact Android Development] Berni-0815:
There is a 32.4.A.1.60? Never seen that. But, should not be a problem at all...

You're late! Yesterday I've seen it, today it's gone...
[Xperia Z5 Compact Android Development] trisolaris:
Are you still interested on the last official Lineage Rom? Here it is :) https://we.tl/t-bmlkvjn4Lb

[MENTION=7749536]Berni-0815[/MENTION]: It is ok for you?

Cheers
[Xperia Z5 Compact Android Development] Berni-0815:
Yes! Thank you! :good:
[Xperia Z5 Compact Android Development] brodo:
Is there some kind of pocket detection in this ROM? Or am I just blind and don't find it?

I faintly remeber that when I used cm/los years back on a Motorola razr i there was a feature that enabled the proximity sensor to prevent the screen from turning on while being in the pocket. This was espacially useful when "double-tap-to-wake" was enabled since this feature turned on the screen all the time (because the skin of my leg "tapped" the screen through the tissue) and made the phone do weird random things.

It is possible to get this feature through GravityBox (an xposed module). But I'd like to keep my phone clean from xposed (SafetyNet...).

edit: the razr i didn't have double-tap-to-wake, so it's unlikely that I had this feature on this device. Maybe it was on some stock Sony-ROM from z3c? Anyhow... this guy said that this feature exists in lineage but has to be enabled by the maintainer. Maybe this is just not the case with this ROM...
[Xperia Z5 Compact Android Development] spacegod:
Green kernel won't work on this rom correct? Is Los kernel better overall than Green? Thank you
[Xperia Z5 Compact Android Development] Berni-0815:
Yes.

Don't know. Never tested green kernel at all...
[Xperia Z5 Compact Android Development] the-essay:
Two little problems

Off Topic:

The file isn't there anymore - could you please share it again? Thank you in advance :)

On Topic:

First of all - thank you very much for this great ROM.

I only got two problems:

- If I pick up a call and put the phone on my head, the screen will turn off - as expected - but it won't turn on again. I can't do anything while havin a call and have to wait that the collocutor hangs up (I have tested all the physical buttons too).

- If I send a WhatsApp voicemail, the people told me, that my volume is very low (while on phone calls there is no such problem).

Thank you very much for your effort :)

[Hoffe du verstehst was ich meine :-p]
[Xperia Z5 Compact Android Development] xenofact:
After 12h of compilation, following by a ninja subcommand error, I would like to thank you for your sharing, Nice ROM :)
[Xperia Z5 Compact Android Development] Stefan.xda:
youtube vanced. cant install microG :(( unifiednlp conflict

cant get youtube vanced to work, because i cant get microg to install.

BEACUSE there is a conflict, of unifiedNLP already pre-installed. And it is NOT even compatible with the rom version.

According to the settings menu of unifiednlp.

so can it be totally removed, or am i crap out of luck??
[Xperia Z5 Compact Android Development] TrulloF:
Screen remains dark, when alarm is ringing.

When I use the default lineage alarm clock in your latest Rom, the screen remains dark and it can't be activated. It doesn't turn on, no matter what I do. To silence the alarm I have to hard reboot the phone.

Anybody else with such problems?

Thank you for looking into it.
[Xperia Z5 Compact Android Development] Berni-0815:
Here it is

Never seen this....

The volume is indeed a big problem. If I change it for this app, another app won't work any longer.

The volume is set in the file /system/etc/mixer_paths.xml. You can change it to fit your needs...
[Xperia Z5 Compact Android Development] Berni-0815:
MicroG is not compatible with GApps, so I don't include microG in my ROM. Additionally there are a lot of changes necessary in the basic framework, that conflict with GApps too.

Try to remove whatever you want and try to install microG; don't know what will happen... :angel:
[Xperia Z5 Compact Android Development] Berni-0815:
Tested it a few minutes ago; works as expected! ;)
[Xperia Z5 Compact Android Development] scjorge:
hello Berni's-alternative-community!

I've been using this ROM since about three weeks and I am super happy about how it has been resurrecting and awakiening all the abilities of my z5c suzuran!!

Most of it's functionality - as far as I have gone - pleases me thoroughly! (Thank you, guys!! high fives, applause)

But today I am having an issue: I can't send files over Bluetooth from my computer to my device and my Settings-App can't start, app keeps closing.

These last days I was playing arround with Orbot and it's vpn function. turning it on and off gor several apps and services including google system services... could this be related? I noticed two automatic background updates today while trying to get an app that is not available in my country over PlayStore with the Orbot VPN-function, but failed... right now, the app is closed and the its vpn service deactivated for all apps. I restsrted my device a couple of times, but the issue persists.

I have not yet managed to go thorough all the posts yet (I am on page 25 of 100) so if this is a double post: sorry and link me there!

p.s. my device id rooted and I have a Terminal
[Xperia Z5 Compact Android Development] TrulloF:
Thanks for checking. Could Greenify be responsible for such behavior or maybe amplify? I'll go and test, when I find the time.
[Xperia Z5 Compact Android Development] Specjalista:
How i can install Services Core for this rom ? How can i deinstall UnfieldNlp in this rom ? I dont see deinstal option.
[Xperia Z5 Compact Android Development] Berni-0815:
Hmmm, never used it. Have to take a look into it. Please be patient.

The normal settings app? This app should work, for sure! Used it very often without any problems!

Please make a clean install and try again.

I really don't know what side-effect may occur. Try a clean install and see if all works as expected.
[Xperia Z5 Compact Android Development] Berni-0815:
Since I never used these stuff I don't know what side-effects may occur; sorry...
[Xperia Z5 Compact Android Development] Berni-0815:
Don't know what you're talking about... :confused:

I'm using the app "Root App Deleter" for that, the link is in german... :angel:
[Xperia Z5 Compact Android Development] Specjalista:
Berni do you use GAPPS or micro G ? I want use micro G but on your Rom and latest Rom from Lineagos micro G dont work for me. I dont recive notification so Google Cloud Messaging dont work.

I dont know why. I have a good installed.
[Xperia Z5 Compact Android Development] scjorge:
Thank you! Bluetooth filezransfer and headset-audio were working perfectly before.

Yes, the normal setting app. It was working well before, it stopped today. I get an super fast on screen message that the app closes and.that I should try to open it again. unfortunately it is too fast for a screenshot...

A clean install would for sure solve the issue, but I would also loose my configurations and I spent day on them, so that is my last, last, last resort.. I will uninstall Orbot and report...

schöne Grüße!

----- Edit -----

1. Uninstalling Orbot didnt solve the problem with the settings-app and the bluetooth-file-transfer still fails.

2. Using Link2SD I "cleaned up dalvik-cache" and "cleaned up all aps cache". The 2 problems are still there.

---- Edit2 ----

I can do a workarround to reach all settings: Longpress on the WLAN-symbol to enter the WiFi-Setting and then either (a) click the menu button on the upper left corner or (b) swipe from left edge to right to get all the setting options.

---- Edit3 ----

I reinstalled Orbot and I can't use its VPN. When I try to activate it, I can't tap on the "OK"-button of an information/confirmation pop-up. The "Cancel"-button works.

--- Edit3.1 ---

I downgraded Orbot to version 15.5.0-RC-1-multi-SDK16 (which I beleive to be the last nougat-realease) and Orbot-VPN is working. YES!
[Xperia Z5 Compact Android Development] TrulloF:
OK, just deactivated greenify and amplify and you know what? Systems uses even less power now :)

Nice.

Clock alarm seems to work too, but I need to check.
[Xperia Z5 Compact Android Development] Berni-0815:
GApps.

MicroG needs a lot of modifications in the basic framework, so it's possible that you can't get it to work!!
[Xperia Z5 Compact Android Development] brordavid:
I recalled a place for this.

Don't know if it's working though, I've never tried them, but I think it might be worth a try.

download.lineage.microg.org/suzuran
[Xperia Z5 Compact Android Development] scjorge:
No. The default alarm app works fine for me - it just doesn't play *.m4a files.

BUT i have another issue.

I also have SleepBot installed because of it movement-tracking-feature which wakes you up on a light-sleep-phase // non-REM-phase. When sleepbot's alarm fires off, as programmed, it does so for only one or two seconds, and then the default alarm takes over at maximum volume!
[Xperia Z5 Compact Android Development] Rhino42:
hey all,

which magisk version do you guys use? Is magisk 19.1 working corectly or do I have to take 18.1?

Thx in advance
[Xperia Z5 Compact Android Development] TrulloF:
I'm using 19.1 without any problems so far.

Additionally I'm using nanodroid patcher for microg and the system runs just fine without Google Play Services. Never used any banking or mobile pay apps, so can't tell, if these would work in this setup.
[Xperia Z5 Compact Android Development] Berni-0815:
...and is still working here as expected! ;)
[Xperia Z5 Compact Android Development] scjorge:
yes, the ROM is fine. (Thank You!!)

something happened in **my** device that broke the things I described. I wish to find out how to track them down and solve them. any hints?
[Xperia Z5 Compact Android Development] Berni-0815:
Clean install.... :angel:
[Xperia Z5 Compact Android Development] scjorge:
what are the chances of getting a Linux-4.x.x-kernel in this OS? :cowboy:
[Xperia Z5 Compact Android Development] Berni-0815:
I'm not a kernel dev; so I can't! If you can, feel free to try it... :angel:
[Xperia Z5 Compact Android Development] hromanse:
Hi. Any way how to record 60fps video or import sony camera app??
[Xperia Z5 Compact Android Development] skysurfer1111:
Forget sony cam. I use snap camera hdr since almost 5 years.

For only two bucks it's perfect. You can record 4k uhd up to 120fps and use your phone as a heater.:fingers-crossed:
[Xperia Z5 Compact Android Development] hromanse:
skysurfer1111: Really 60fps? I tried this app on the stock ROM and there are only FHD, HD, SD choices without fps.
[Xperia Z5 Compact Android Development] pled:
Hi,

I just installed that ROM yesterday, and I am very happy, thank you a lot for it. It is good to still be able to run Lineageos 14 with recent security patches on the Sony Z5C.

I installed SatStat from F-Droid and noticed that North is almost at the opposite of where it should be. Is it only on my Z5C or something with the ROM ? Thank you.
[Xperia Z5 Compact Android Development] wirdSchoon:
Interesting question, because the position sensor (Gyrsokop?) does not work with me any more. The compass doesn't show anything anymore and the display doesn't rotate 90° when tilted from the phone.

So far I assumed that the position sensor is defective, because a switch to another ROM (LOS 14.1 with mircoG) did not change anything. Now I have the hope that perhaps only the function is deactivated.
[Xperia Z5 Compact Android Development] Giblet-dono:
Might be something wrong with my phone, or my method of flashing, but I cant seem to get the rom to work

My methode:

Install latest TWRP for Z5C (3.2.3-0)

Boot TWRP and do a factory reset

Install Rom and GAPPS

Reboot

After this I get into the first time setup menu

It asks for language, date, wifi

After wifi the screen goed dark (does not turn of, just nothing shows)

After this it shows the navigation buttons and the notification bar

Then the phone just seems to freeze..

I can't use any buttons, the notification pulldown doesnt work, nothing.

I have done 5 reinstalls, tried with and without gapps, with and without logging onto wifi, and with and without magisk

All with the same issue.

I also tried the last official LineageOS build, with the same result.

I'm honestly out of ideas, is this a hardware problem?

Am I overlooking something? forgetting something?+
[Xperia Z5 Compact Android Development] Berni-0815:
Try 3.2.1 from 2018-02-23 Klick

Try to wipe /system too
[Xperia Z5 Compact Android Development] Giblet-dono:
Thanks, I will try using the mentioned recovery.

I have already tried wiping system.

I flashed the latest TFT to see if everything would work, and it seems to be the case.

So must be something between the device and rom that's not going well.

It seems to be going sideways the moment the SIM or Wifi gets connected, so maybe .. something with an update or google play services?

Its before logging into the play store, so...
[Xperia Z5 Compact Android Development] antonio.galea:
I've had a quite different problem, which also looked hardware related (sensors stopped working) but in the end was related to ROM testing.

The fix (documented here on XDA) was to clean wipe the phone (userdata included) and reinstall a stock ROM, via flashtool + Xperifirm.

This means that stock installs something that is not correctly backed up by TWRP - which might be part of the problem you are facing, too.

Try to clean flash your phone with a stock ROM, and then start again.

HTH,

Antonio

PS: shameless self-promotion - you could also try my newer TWRP
[Xperia Z5 Compact Android Development] Giblet-dono:
Tried it with the mentioned recovery and a system wipe, same issue.

It boots but seems to crash, or freeze, or black screen..

No idea whats wrong

For some reason only the stock rom seems to work properly

---------- Post added at 07:46 PM ---------- Previous post was at 07:45 PM ----------

Thanks for your advice.

I have tried your recovery, with the same result.

I also tried flashtool + ftf with a clean stock flash (Wiped all from flashtool), which did work properly.

When I flashed a lineageos rom the problem returned again :<
[Xperia Z5 Compact Android Development] antonio.galea:
Enable adb debugging from recovery, as shown here. What does a logcat of the failing system show?

Antonio
[Xperia Z5 Compact Android Development] Giblet-dono:
Since the phone is the daily driver of my SO, I had to reflash to stock.

Will let you know when I get some more time with the device, but it won't be soon..

Thanks anyway for your suggestion!
[Xperia Z5 Compact Android Development] Berni-0815:
In which cases does you get a logcat? Must the system be able to boot? Or is it possible to grep a logcat of a non-booting system? :confused:
[Xperia Z5 Compact Android Development] antonio.galea:
While you do need a booting device, the logs are available quite early - so are useful when the full system UI is crashing and you can't see why.

This presentation is well done, even if a bit outdated:

https://elinux.org/Android_Logging_System

On my Z5C the logging system now uses /dev/socket/log* instead of /dev/log/* - but the main ideas are still relevant.

Antonio
[Xperia Z5 Compact Android Development] Berni-0815:
My idea was to grab a log of my not booting LineageOS 16.0 to see what's going wrong...
[Xperia Z5 Compact Android Development] antonio.galea:
Well, if /init is started then there are chances to see something.

If the culprit is the kernel, though, then you would need the serial console to see a debug. Software wise, the kernel initializes it as ttyHSL0, as you can see from the kernel command line. Physically, the console will be an UART interface - it should have pads available on the Z5C mainboard somewhere.

Sony documentation about UARTS is here, but unluckily it does not say anything about Z5C:

https://developer.sony.com/develop/open-devices/guides/access-uart-ports

Antonio
[Xperia Z5 Compact Android Development] Berni-0815:
I think so...

Ok. Why the hell have I forgotten this idea just in this moment? :angel:
[Xperia Z5 Compact Android Development] scjorge:
I nly want to report that the Settings App is working now. *Magically* hehe

I am about to check bluetooth file transfer now and will report.

UPDATE: Bluetooth file transfer still not working. Bluetooth headset is working.
[Xperia Z5 Compact Android Development] antonio.galea:
You could simply use Bernie's version as is, and add microG onto it with NanoDroid.

HTH,

Antonio
[Xperia Z5 Compact Android Development] downtimeguy:
Thank you. I did see NanoDroid project somewhere but am not certain how does it overcome the signature spoofing problem? Does NanoDroid attempt to patch the existing ROM that is already installed?
[Xperia Z5 Compact Android Development] antonio.galea:
Yes, precisely. Have a look at the full docs.

Antonio
[Xperia Z5 Compact Android Development] :
Any chance of getting an OMS build?

I would happly go back to Lineage, but that's keeping me away from it

you can find a guide to add oms here: https://xdaforums.com/apps/substratum/reference-lineageos-substratum-support-t3580276/
[Xperia Z5 Compact Android Development] downtimeguy:
Success! NanoDroid signature spoofing and microG modules are installed and appear to be functioning as expected on Berni's Alternative LOS 14.1 build!

It took a few reads to fully grasp that NanoDroid consists of a set of modules, available as either combined package or individual components. This guide provided a helpful summary of NanoDroid installation steps:

https://xdaforums.com/galaxy-j5/how-to/microg-installation-guide-lineageos-t3750031

Decided to start by flashing only the NanoDroid-patcher and NanoDroid-microG modules via TWRP. Note that it required about 20 minutes to complete the patching services.jar portion of the installation. microG is now installed and the self-test shows all green. I don't know whether there is any advantage in also using the NanoDroid-fdroid module since Berni's build already includes it with the privileged extension.

So NanoDroid has 100% resolved my desire to get microG onto Berni's current LOS 14.1 build. I am sure the relevant info was already covered in many other threads but thank you for pointing me in the right direction Antonio.
[Xperia Z5 Compact Android Development] gonzo gonzales:
Hello Berni,

I just want to say "Thank you very much!" for your cool work! My device now runs really stable and all I need works fine.

gonzo gonzales
[Xperia Z5 Compact Android Development] paulquappe:
Thanks a lot! Didn't noticed yet that there a no more security updates... And I really like my z5c.

Can I simply flash this berni-ROM over the old official lineageos? And in best case keep my user data and settings? Or would this make any problems?
[Xperia Z5 Compact Android Development] Berni-0815:
No! AFAIK there is no simple way to flash my version over the so called "official" and vice versa. :crying:

You have to save all your data with a backup tool (i.e. titanium backup) and restore them after flashing.

I recommend to perform a clean install with wiping /data via TWRP (without data/media; this is compatible)
[Xperia Z5 Compact Android Development] humptydump:
Thank you!

Berni, you are wonderful! My z5c works a charm, and I am very grateful to you (and those whose shoulders you stand on).

Thank you so much!
[Xperia Z5 Compact Android Development] Berni-0815:
New version out! See 1st post...
[Xperia Z5 Compact Android Development] Manzo111:
Nice work!!!
[Xperia Z5 Compact Android Development] Berni-0815:
What has been going wrong at first time you tried to install this rom? Maybe others are running into the same problems... :angel:

Wrong TWRP?
[Xperia Z5 Compact Android Development] Manzo111:
Now work super great! i must use Magisk for root because the addon..dont work in mine. First time I had problem because i didn't clean..Then when my sd card and phone was very clean, work all perfect. THANK YOU VERY MUCH FOR YOUR WORK!!! Now i have my z5c wok good with root permission!! I'm happy :good::good:
[Xperia Z5 Compact Android Development] iMessa:
ROM is amazing! Except one thing... Doesn't recognize proximity sensor which causes problems during call.. Pleeeease fix proximity sensor to work because there is no better ROM. My phone finally works completely. Test app says there are no sensors at all. They worked on stock before few days and on lineage os official. Thank you for this ROM!
[Xperia Z5 Compact Android Development] Berni-0815:
Something is going wrong with your device! On my device every sensor is working as expected... :angel:
[Xperia Z5 Compact Android Development] iMessa:
Not sure what I've done wrong since all sensors work on other ROMs... I did clean install :(