yashsingh1/xdaforums huggingface dataset:
[Xperia Z5 Compact Android Development] Berni-0815:
Ok, I have to ask more precise:

You can't deinstall FakeStore the "normal" way. Have you used my self-written deinstaller? Or have you deinstalled FakeStore manually (via adb)?

What have you installed? GmsCore? GsfProxy? DroidGuard?

I'm asking, because at los19.1 I can't get any localisation informations from (f.e.) pictures... It always says, there are no localisation data available. But they are there! I can see them at my dektop computer.
[Xperia Z5 Compact Android Development] DaZZZl1:
I have not deinstalled your FakeStore. I updated with Fdroid and the microG repo. As far as I know, it will be installed in the data partition and the newest version will be used...

with Fdroid, I installed only the FakeStore ...

If you need it, I can look on my phone where are all the stuff...
[Xperia Z5 Compact Android Development] Berni-0815:
Yes, please.
[Xperia Z5 Compact Android Development] DaZZZl1:
wait ... I made before the following experiment.... I uninstalled microg as you mentioned with adb and rm and installed microg services core, microg droid helper, unifiednlp (GAPPS), fake store, and microg service framework proxy from the microg repo with Fdroid... It had no effect, so I installed the system partition again. Later on, I udated fakestore and now it is working...

I have to check what version of microg is used now...
[Xperia Z5 Compact Android Development] DaZZZl1:
What is the easiest way to get this information?
[Xperia Z5 Compact Android Development] DaZZZl1:
Correction ... I have not installed unifiednlp (GAPPS), It was fake store instead ... however, he installed the 0.0.2 version... later on I updated to 0.1.0
[Xperia Z5 Compact Android Development] DaZZZl1:
Ok, I checked it... the Fdroid versions are used ... I checked it by looking at the apps settings menu

microg service core: 0.2.26.223616

droid helper: 0.1.0

proxy : 0.1.0
[Xperia Z5 Compact Android Development] Berni-0815:
At my los20.0 device it looks like this:

./system/priv-app/FakeStore
./system/priv-app/FakeStore/FakeStore.apk
./dev/6ikN0Sy/.magisk/mirror/data/system/package_cache/eng.bernha.20221229.155219/FakeStore-16
./data/system/package_cache/eng.bernha.20221229.155219/FakeStore-16

As you can see, at los 20.0 I'm using FakeStore 0.0.2 (aka com.android.vending-16.apk) in system/priv-app and the location data are displayed correctly for my pictures.
[Xperia Z5 Compact Android Development] DaZZZl1:
But here, you can not see it it is Fakestore 0.0.2 or 0.1.0, or?

I have also

/data/system/package_cache/e22f109594fbe2ee0ee285839cf2d916176373e8/FakeStore-16
[Xperia Z5 Compact Android Development] Berni-0815:
Version 0.0.2 has a file size of 13.133 Bytes and 0.1.0 has a file size of 17.774 Bytes.
[Xperia Z5 Compact Android Development] bricked.:
Thank you for the image!

Full disk encryption worked for me (at least it seems like).
[Xperia Z5 Compact Android Development] ruicunh79:
Seems that i cannot connect any device through OTG.. have tried diferent cables and they're working well on other phones..

On Lineage 17.1 i could do this (had to boot with the device already connected)

Also realized that on TWRP 3.7.0_9-0 i can't mount USB OTG also. Box doesnt check at all..
[Xperia Z5 Compact Android Development] slouse1:
Great image and instructions, thank you! I just have an issue that I cannot log into many apps, as I always get "The web page at ...app://signin-... could not be loaded because: net::ERR_UNKNOWN_URL_SCHEME". Basically, the web browser does not recognise the app intent in the address (...app://). I have read that these intents are interpreted by the Android System WebView, but before trying to install it from the Aurora store, I wanted to find out if anyone else had similar problems and found a solution. Thanks!
[Xperia Z5 Compact Android Development] xtc14:
Thanks for this custom ROM.

I just installed it and tried some apps, installed Mixcloud app from Aurora Store but the app doesn't open on my phone, is this related to the rom or maybe it's missing some dependency packages in order to make it work?
[Xperia Z5 Compact Android Development] Berni-0815:
LOG! I need a LOG! :rolleyes: My crystal ball is still in maintenance and without that I can't see what's going wrong at your side... :cool:
[Xperia Z5 Compact Android Development] xtc14:
Sure I will, what's the path of the logs?
[Xperia Z5 Compact Android Development] Berni-0815:
Have you seen the 1st post of this thread? Especially the part "

Troubleshooting

"? ;)
[Xperia Z5 Compact Android Development] xtc14:
Sorry, didn't see that part, anyways I did sent you the logfile via PM.

Regards
[Xperia Z5 Compact Android Development] slouse1:
This is so strange, I've been fighting with this for a week, and now after installing Firefox, it just works. Thanks again for this amazing ROM!
[Xperia Z5 Compact Android Development] Berni-0815:
New version out; see 1st post.

Android security patch level: 5 January 2023
[Xperia Z5 Compact Android Development] ruicunh79:
Can anyone confirm that OTG is working with this rom?

Thanks
[Xperia Z5 Compact Android Development] slouse1:
I installed the version from December, and if I open the Updater, it does not find any updates. How can I update without having to flash a new rom and re-install all apps?
[Xperia Z5 Compact Android Development] slouse1:
For those that are still struggling with the camera, I installed Open Camera v1.51.1 and actiated the Camera2 API, which enables switching to manual focus among other features. With manual focus, I can take relative focused images at close range, but whatever focus I set, the images are much more fuzzy than images of the same objects taken with my son's phone, which is the same phone but still with the stock ROM. This is the case for both close and long range images. Turning on DRO makes the images somehow nicer, but still a long way from the quality with the stock ROM. Just fuzzy, with little details and dull colours.
[Xperia Z5 Compact Android Development] Berni-0815:
There is no update server. So there is no way to update this ROM without flashing a new version.
[Xperia Z5 Compact Android Development] Berni-0815:
That's well known... ;)
[Xperia Z5 Compact Android Development] heinz0r:
I flashed from stock rom to LOS 18.1 and have to say, great stuff, thanks for your work.

I just have a little problem, tried the search, but had no luck:

When "Networktyp" is set to LTE or 3G and I dial a number, it takes 20 seconds, then the mobile network is disconnecting and than reconnecting. After that it starts dialing.

Setting the Networktyp to 2G, phone is dialing immediately.

I checked LOS 17.1 and 19 and that issue doesn't occur (but a few other problems ;).

Is there something I can try or do about it?
[Xperia Z5 Compact Android Development] Berni-0815:
Yes. I need a full LOG (see 1st post, part Troubleshooting), where the error occurs.

Additinally, I need your policy file:

adb pull /sys/fs/selinux/policy

Upload these two files (as an archive) to a filehoster of your choice and send the link to me exclusively via PM, because they may contain personal data.
[Xperia Z5 Compact Android Development] slwn:
Hi, maybe yet another stupid question, but... how do I build this ROM myself? Are the sources in the official LineageOS repo (https://github.com/LineageOS/android/tree/lineage-18.1)?
[Xperia Z5 Compact Android Development] petefoth:
No they are in the Kernel and Device tree repos linked in the first post in this thread

You will also need some more of Berni's repos, specifically

- Manifests

- Init scripts

- Vendor blobs

https://github.com/Professor-Berni/proprietary_vendor_sony

https://github.com/Professor-Berni/proprietary_vendor_sony_extras

plus, if you want to include the MicroG stuff

https://github.com/Professor-Berni/android_vendor_fdroid

https://github.com/Professor-Berni/android_vendor_microG

https://github.com/Professor-Berni/android_vendor_AuroraServices
[Xperia Z5 Compact Android Development] Berni-0815:
You need them too. But if you're using my init- and build-scripts and local_manifests, everything will be downloaded automatically.
[Xperia Z5 Compact Android Development] slwn:
Thanks @petefoth and @Berni-0815, I followed your instruction and the build is now running!
[Xperia Z5 Compact Android Development] Legofan:
so, i flashed this rom onto my phone (in hopes to main it again) but the phone does not read my sim card. can i fix that somehow? the last time i tried it on another rom the card worked.
[Xperia Z5 Compact Android Development] Berni-0815:
First you should flash the latest stock ROM 32.4.A.1.54, fully set it up and then reflash LineageOS.
[Xperia Z5 Compact Android Development] Legofan:
idk why but i don't have that one available in flash tool, do i have to try another tool or am i screwed
[Xperia Z5 Compact Android Development] glubzor:
Try to use THIS flashtool
[Xperia Z5 Compact Android Development] Berni-0815:
And then click on the XPeriFirm Button. Then select E5832, choose your region and download the firmware. The FlashTool then creates the flashable ROM.
[Xperia Z5 Compact Android Development] steve8x8:
which comes straight from the future, btw (check https://flashtool.net/news.html) ;-)
[Xperia Z5 Compact Android Development] Legofan:
so how would i flash this then, flashing with flash mode doesn't see it (and the button inside the app does nothing for me, had to download xperifirm manualy to get it)
[Xperia Z5 Compact Android Development] Berni-0815:
I understand! That's a bug in newer versions of the FlashTool. The XperiFirm execution file is missing! Dunno why...

You have to copy XperiFirm(32/64).exe from your downloaded XperiFirm archive (depending on your Windows Version) as XperiFirm.exe (without 32 or 64) to:

/windows/C/Users/<username>/.flashTool/XperiFirm.exe

or the equivalent in microsoft naming conventions:

C:\Users\<username>\.flashTool\XperiFirm.exe
[Xperia Z5 Compact Android Development] Berni-0815:
New version out; see 1st post.

Android security patch level: 5 February 2023
[Xperia Z5 Compact Android Development] Berni-0815:
New version out; see 1st post.

Android security patch level: 5 March 2023
[Xperia Z5 Compact Android Development] Berni-0815:
New version out; see 1st post.

Android security patch level: 5 April 2023
[Xperia Z5 Compact Android Development] Berni-0815:
Unfortunately bootloop too. I've given up!
[Xperia Z5 Compact Android Development] p-o-w:
Hi Berni,

first i have to say your Roms are awesom!

i installed the version from 2021-01-07 and have to say it paniced once. It happened after fresh install. And setting up the device. Next step was the login to google playstore. Befor playstore was able to show the login mask the device paniced and rebooted.

After reboot everything (also login into google account) was fine.

The device was handwarm, not hot.

The device is rooted, google apps are installed including adblocker.

Best wishes and a delicious new year.
[Xperia Z5 Compact Android Development] baristurunc:
@Berni-0815 , can you please disable livedisplay for now? Or please tell me where can I disable it before building.

This should work as a workaround to mm-pp-daemon issue.

Regards
[Xperia Z5 Compact Android Development] baristurunc:
I've followed the steps here to disable LiveDisplay. And the issue is gone :)

here

In addition to instructions above, do not forget to rename/delete mm-pp-daemon so it doesn't start.
[Xperia Z5 Compact Android Development] baristurunc:
Is there any information on hardware audio codecs? It seems they're not included in media_codecs.xml but our SoC supports some of them.

Software decoding needs more energy than hardware decoding and enabling hw decoders will probably fix audio crackling too, as cpu will get freed from the burden of decoding.
[Xperia Z5 Compact Android Development] litelinux:
Can you post the instructions here? The post you linked is a bit confusing for end users like me😅
[Xperia Z5 Compact Android Development] p-o-w:
I'm able to reproduce a kernel panic. As i wrote earlier i use a clean installation.

and have installed Magisk Root 21.2, NikGapps-core-arm64, NikGapps-Addon-R-AdAway.

After first boot i also installed the Magisk App, Fennec-F-Droid and primitiveFTPd.

... don't know how important the details are?

When i try to start the browser which is delivered with the ROM-File (not Fennec) the screen turns black and the well known red light is blinking a few times until the device reboots.

By the way: disabling LiveDisplay within androids setup menu doesn't prevent the kernel from panic-ing.

Best wishes
[Xperia Z5 Compact Android Development] Berni-0815:
I've just built a ROM without LiveDisplay and therefore without mm-pp-daemon. But the four little cores are still at full speed all the time...
[Xperia Z5 Compact Android Development] baristurunc:
Are you sure that mm-pp-daemon does not start?

The reason we're disabling live display is that it needs a graphics post processing daemon, which is mm-pp-daemon in our case.

Live display looks for a service named ppd, init.qcom.rc provides ppd via mm-pp-daemon.

Thus, Live display and mm-pp-daemon are decoupled. I.e. disabling live display does not automatically disable mm-pp-daemon.

Just to be sure, can you rename/delete the mm-pp binary or delete the ppd entry from the aforimented rc file?

Check ps -e for mm-pp status.

If that is irrelevant to you, then you probably haven't waited enough for the system to settle. The system settles ~3 minutes after booting while not charging.

Regards
[Xperia Z5 Compact Android Development] baristurunc:
@litelinux use x-plore. I'll edit this comment later.
[Xperia Z5 Compact Android Development] Berni-0815:
That's it! Now the four litte core speed is at 384 MHz
[Xperia Z5 Compact Android Development] baristurunc:
Why are you measuring the effectiveness of the workaround with this? The cpu might even be thermal throttling (there may be another serious issue). The important thing is that none of the cores are 100% used by a single process any more.

If lower frequencies and power saving(marginal) are desired, I would recommend cpu governor ondemand with ignore_nice_load enabled.
[Xperia Z5 Compact Android Development] Berni-0815:
With what else? The four little cores have been working at full speed before I've removed LiveDisplay and now they aren't doing that any more. Isn't it an important fact that this is really working?

Ok, in my eyes LiveDisplay is a very nice feature and I really like it. But if it causes problems, it should be removed.

On the other hand, if you have (or someone else has) an idea how to let LiveDisplay exist and remove this issue, it will be highly appreciated!

I've experimented with similar things and always running into a bootloop...
[Xperia Z5 Compact Android Development] baristurunc:
Not on build time. With a kernel configuration app like smartpack kernel manager or manually scripting.

I do not have the time to fix it myself anytime soon. But, one can begin with searching for other ppd service providers. Few years earlier, there was kppd, marketed as the open source alternative for mm-pp-daemon by its developer. We can try that, or any other alternative; maybe even another mm-pp-daemon binary written for msm8994 but not bugged like ours.

ps: Thank you for your effort, and all other developers that have contributed to this project. It's amazing to see the latest android version running on a nearly 6 year old phone that smooth.
[Xperia Z5 Compact Android Development] Berni-0815:
New version out; see 1st post.

Removed LiveDisplay and postprocessing daemon, because they are causing the little cores to operate at full speed as soon as the display is active
[Xperia Z5 Compact Android Development] Hichem2006:
Hey !

I've been using this ROM for 2 weeks from now, and I gotta say, it's SMOOTH !

But ONE problem, when I try to cast my screen to my Samsung Smart TV, the phone restarts by itself without any kernel panic(no blinking red LED).

Also, the device was getting very warm when charging even when doing nothing, is it the battery or the CPU/Motheboard ?

I have my CPU governor scale set to Interactive but the battey life wasn't any better, I think I should get it replaced.

(From the screenshot): Is it normal that all core operate at high load even when not many apps are open or should I set a background process limit ?
[Xperia Z5 Compact Android Development] Berni-0815:
Please grab a LOG and send it to me via PM (it may contain private data).

What do you mean with "very warm"? Are you able to measure it (by app)? Around 40° are normal.

Please use the latest version of my ROM.
[Xperia Z5 Compact Android Development] Hichem2006:
Where is the Logfile located ?

I mean that it feels hot, temperatures are around 45, but some sensors report 70 !

Do I have to erase /data partition ? And will my tweaks made with rooted apps be gone ?
[Xperia Z5 Compact Android Development] Berni-0815:
You have to create it by entering these commands line by line:

adb root
adb shell logcat -b all > logcat

Then try to reproduce the error. If the device restarts, the logging will stop.

45 is still ok, at 70 your battery will be destroyed immediately. I don't believe this value...

If you're not facing any weird issues, there is no need to make a clean install.
[Xperia Z5 Compact Android Development] Berni-0815:
New version out; see 1st post.

Restored LiveDisplay without using postprocessing daemon (mm-pp-daemon)

Please report any issue.
[Xperia Z5 Compact Android Development] Berni-0815:
New version out; see 1st post.

Android security patch level: 5 May 2023
[Xperia Z5 Compact Android Development] Berni-0815:
New version out; see 1st post.

Android security patch level: 5 June 2023
[Xperia Z5 Compact Android Development] steve8x8:
This release turns out to be a lifesaver - it provides Android 11 for an app (Minimed Mobile, interface to insulin pump / glucose sensor combo) that still didn't make it to Android 12 or 13 but requests 9.0+. With a fair amount of spoofing it's "just working". (Previous tests with Samsung S4mini and Z3c were also successful but those are getting to their hardware limits now.) Many thanks!

One remark: The complaint (by xDrip, used for "nice graphs" and smartwatch integration) looks a bit different (and more warning / unhappy) than what I got with 19.1 before - are there serious differences in the microG part? (I had to go back to 18.1 = 11 because the app refused to work with 19.1. Looking at the calendar, it's 2023, isn't it?)

Re the complaint: xDrip seems to make use of some Google services; it's not particularly helpful in identifying which functionality it finds missing. I'll have to screenshot both versions...
[Xperia Z5 Compact Android Development] Berni-0815:
I don't know which... :unsure:
[Xperia Z5 Compact Android Development] Berni-0815:
New version out; see 1st post.

Android security patch level: 5 July 2023
[Xperia Z5 Compact Android Development] Pavel Redi:
Have anyone an issue with microphone in WhatsApp video call? Only upper microphone works. Regular GSM calls work fine with loudspeaker.
[Xperia Z5 Compact Android Development] Berni-0815:
Well known issue; no fix in sight: Klick
[Xperia Z5 Compact Android Development] steve8x8:
I just discovered the hard way that attempting to charge the device while off would actually (1) heat the phone more than usual while (2) the total charge of the battery would decrease.

Charging when booted into LOS works (but I'm currently keeping the phone as a backup, i.e. switched off).

This is with TWRP 3.7.0 (from Berni's TWRP thread) and LOS 18.1 (from here, of course, maybe a bit older).

What should I try to identify the culprit?
[Xperia Z5 Compact Android Development] Berni-0815:
Use the supplied charger. This works as intended; offline and online. This is how I charge my z5c for a long time without the slightest problems!
[Xperia Z5 Compact Android Development] steve8x8:
Okay - since I purchased this phone in used (almost broken) state, there is no supplied charger that I can use. Got to experiment with those I have ... maybe I've got one that's about to break (and I certainly got some talent to use such a thing without knowing and noticing).
[Xperia Z5 Compact Android Development] Berni-0815:
New version out; see 1st post.

Android security patch level: 5 August 2023
[Xperia Z5 Compact Android Development] Sikz_1218:
Hi, I really like this ROM. One small problem, when I set the image as the lock screen wallpaper, I found that the lock screen wallpaper resolution became very low, the image was enlarged a little, and there was a gray mask. I want the wallpaper not to be magnified and to keep the original clarity. I've tried a lot of things, and it's not working. Can you solve this problem?
[Xperia Z5 Compact Android Development] Berni-0815:
I think, this is an "upstream" issue and the guys at LineageOS team are the appropriate addressees.
[Xperia Z5 Compact Android Development] Berni-0815:
New version out; see 1st post.

Android security patch level: 5 September 2023
[Xperia Z5 Compact Android Development] Berni-0815:
New version out; see 1st post.

Android security patch level: 6 October 2023
[Xperia Z5 Compact Android Development] steve8x8:
I'm back on 18.1, and the message reads "xDrip won't run without Google Play services, which are not supported by your device". xDrip (from jamorham.github.io, not in PlayStore) has some functionality to share data via cloud services (which I'm not planning to use), but otherwise seems to work.

I'm willing to provide some logcat to identify the source - and a possible remedy - of the periodic complaint (it shows up every few minutes).

This is currently my only handset running microG, and I'd like to keep it like this...
[Xperia Z5 Compact Android Development] steve8x8:
Here are the last 500 lines from a "adb logcat" run, until the warning was shown again.

Do I really have to flash the microG remover and some GApps to overcome this, or are there other means to silence the warning from the OS side?
[Xperia Z5 Compact Android Development] Berni-0815:
It really looks like it; I'm sorry I can't help you any further.
[Xperia Z5 Compact Android Development] Berni-0815:
I am very sorry to inform you all that I can no longer maintain this version of my ROM.

The reason is very simple: There is no more space on my hard disk to keep a larger number of versions at the same time.

And I have no plans to buy a larger hard disk (currently one terabyte) for this hobby.

Currently I am maintaining LineageOS 19.1, 20.0; and 21.0 will come sooner or later.
[Xperia Z5 Compact Android Development] plusminus_:
:cry::ROFLMAO: I just flashed 18.1 this weekend (from 14.1), it took me several attempts to get everything working too lol

Thanks so much Berni, what you have done for this phone is simply amazing.

I am not familiar with Android 12/12L but I may try LOS 19.1 soon. Would I need to wipe /data if flashing over 18.1?

e: I'll try dirty flashing
[Xperia Z5 Compact Android Development] steve8x8:
No need to be sorry - I found that to run my smartwatch (a Sony SWR50 that's happy with old AndroidWear which doesn't need a G account) microG wouldn't be suited anyway, so I'm going for MindTheGApps which have served me well on other hardware before. Thanks anyway!
[Xperia Z5 Compact Android Development] Berni-0815:
That's always a good idea.
[Xperia Z5 Compact Android Development] Ben-de:
Hi Berni,

i was so happy to find a supported custom rom for my lovley old phone.

Thank you so much for your work.

I installed your TWRP, wiped the phone except the internal storage and moved the zip file to the internal storage.

Unfortunately, I can't find the file on TWRP, either as a zip or as an image.

When I select the storage via Win Explorer, I can see the file.

I can't see it under "Install" or "File Manager".

I also try it on a sd card and in an new folder, Ican see the newe folder, (sdcard\new folder) but not the zip....

Can you or someone else please help me or give me a link to another forum?

Best regards

Ben
[Xperia Z5 Compact Android Development] Berni-0815:
Are you trying to flash my LineageOS 18.1 ROM?

The download contains a 7Z file, which is an archive and contains the flashable ZIP file and the so called "digest" MD5SUM file. Copy both of them to your internal storage and it should work as intended..