yashsingh1/xdaforums huggingface dataset:
[Xperia Z5 Compact Android Development] Berni-0815:
As you can see in your own screenshot, it is a 7Z archive! Please follow the installation instructions in my 1st post!
[Xperia Z5 Compact Android Development] Ben-de:
Sometimes it ia better to laugh than to cry.....

Of course it's a package. I thought so too for a second.

.... and then the thought popped away..... 😵

Thank you for your patience and help.

And especially for the ROM, everything seems to be working great.
[Xperia Z5 Compact Android Development] Ben-de:
Hi Berni,

it looks that evrything works fine.

And then my Display crushes....

Does the ROM work exclusively om the E5823 or also on E5803 and SO-02H? (I don't know the Difference)

I notice the stock version 32.4.A.1.54

Thanks again
[Xperia Z5 Compact Android Development] Berni-0815:
The ROM is designed for E5823 and E5803; klick. I know nothing about whether it also works on an SO-02H.
[Xperia Z5 Compact Android Development] Hichem2006:
OK ! How can I get camera2 or GCam working on this device ?
[Xperia Z5 Compact Android Development] Berni-0815:
Camera2 has been replaced by Snap (LineageOS camera app). For me there is no known way to let them coexistent.

GCam is not my business.... ;)
[Xperia Z5 Compact Android Development] Hichem2006:
Now that I've created the logfile and reproduced the issue, there's no visible .log file anywhere on my Linux PC or the phone.
[Xperia Z5 Compact Android Development] Berni-0815:
Have you created the LOG file at your device or at your PC with an USB cable connected? Then the file is at the location where you opened the terminal window.

USB-debugging must be enabled in developer options.
[Xperia Z5 Compact Android Development] Hichem2006:
Sorry, I was stupid because I didn't understand the command.

But bizzarely, the phone rebooted after it rebooted after the crash and it gave me a kernel panic
[Xperia Z5 Compact Android Development] Hichem2006:
I just sent you the logfile in a ZIP archive in another conversation.
[Xperia Z5 Compact Android Development] Hichem2006:
Just flashed your latest ROM and Wow!

It's noticeably smoother and I have no issues with CPU.
[Xperia Z5 Compact Android Development] Hichem2006:
No, unfortunately.

I sent a logfile which may help to diagnose the problem.
[Xperia Z5 Compact Android Development] Berni-0815:
Unfortunately not until now. I can see that the error happens but I can't see why.

Edit:

If you're able to set SELinux to permissive mode (search the web for a how-to), try this next.
[Xperia Z5 Compact Android Development] Hichem2006:
I don't find a good how-to on the web, please link someone
[Xperia Z5 Compact Android Development] Hichem2006:
Update

: I changed SELinux mode to Permissive, and unfortunately, it still doesn't work.
[Xperia Z5 Compact Android Development] Berni-0815:
Ok. Then I have to search at another place. Thanks.
[Xperia Z5 Compact Android Development] Hichem2006:
Your welcome.Always here to help !

PS: It kernel panicked when SELinux is set to Permissive.
[Xperia Z5 Compact Android Development] Berni-0815:
Really? Always? That should never happen!

Or does this only happen when you're trying to get access to your TV?
[Xperia Z5 Compact Android Development] Hichem2006:
When I try to get access to the TV, it reboots without the Sony logo showing, just the animation.Then, the LED turns red and blinks for a few seconds. After that, it reboots but this time with the Sony logo showing.
[Xperia Z5 Compact Android Development] Berni-0815:
Lucky! That's good, because a kernel panic without any reason should never happen! ;)

I have to investigate it much more. First I have to set my own TV up for p2p access...
[Xperia Z5 Compact Android Development] Hichem2006:
What OS have you running on your computer?

I use Arch with Cinnamon.
[Xperia Z5 Compact Android Development] Hichem2006:
It never kernel panicked outside of Cast problems and performance is really nice.
[Xperia Z5 Compact Android Development] Berni-0815:
Xubuntu 20.04.

Back to screen mirroring. I'm a little bit confused. At which basis is that working? WIFI? NFC? Bluetooth?

My TV has WIFI (but deactivated) and no NFC at all (as far as I know). But he has Bluetooth, but that's deactivated too. (I don't trust the very outdated TV-OS [Firefox OS], so it has no connection at all, not even LAN.)

Nevertheless, I can connect to my TV but my z5c crashes too with no usable LOG information.

My first try comes with a "com.android.nfc" crash, but I can't believe, that that's the reason for the crashing connection to a TV.
[Xperia Z5 Compact Android Development] Hichem2006:
It doesn't work with Wifi, my TV only has WiFi.
[Xperia Z5 Compact Android Development] Berni-0815:
Hmmm. As I wrote, I can connect with my TV even with every connection deactivated. But it must use a type of connection. This should be our first trace...

I'm really confused...
[Xperia Z5 Compact Android Development] Hichem2006:
Do you have the source for the stock ROM?

You can compare it.
[Xperia Z5 Compact Android Development] Berni-0815:
LOL! Do you have an idea how much lines of code that are? Tons over tons over tons. If someone would compare them, he should live more than a thousand of years! Sorry, but that's not a usable way!

In my eyes the only way is to know which kind of connection "screen mirroring" is using.
[Xperia Z5 Compact Android Development] Berni-0815:
Before that every effort is useless.
[Xperia Z5 Compact Android Development] Hichem2006:
I think the logfile contains info about the connection type.
[Xperia Z5 Compact Android Development] Hichem2006:
Any help is welcome !
[Xperia Z5 Compact Android Development] Berni-0815:
It's WiDi (WiFi Direct) made available by wpa_supplicant. And that's still a huge construction site. I've made some changes to wpa_supplicant to prevent him crashing. Maybe that has not been enough?
[Xperia Z5 Compact Android Development] Hichem2006:
Here to try.

EDIT: To experiment
[Xperia Z5 Compact Android Development] Hichem2006:
Anyone got GCam running ?
[Xperia Z5 Compact Android Development] Berni-0815:
I've read in the web that "native" screen cast/mirroring obviously has been dropped in Pie... :confused:

I'm not sure if that's the truth, but I've read about several issues with screen cast/mirroring.

So, we're not alone and no solution has been found, as far as I can see.
[Xperia Z5 Compact Android Development] Hichem2006:
A person I know has Android 10 on his phone and it works flawlessly.

So.....I don't know where is the problem.
[Xperia Z5 Compact Android Development] Berni-0815:
Speculations won't help us. And if a feature is working at some device or not doesn't help us either. ;)
[Xperia Z5 Compact Android Development] Hichem2006:
Yes, I know but it does also mean that Cast isn't gone with Pie.

BTW

: When I try to cast, I can see a message on the TV saying: Connecting to android_cs7....

So it tries and almost succeds but it just crashes.Have you been able to reproduce this issue ?
[Xperia Z5 Compact Android Development] Berni-0815:
Yes. I can reproduce the issue too. But all I can say is this error-message (from logcat):

E: MediaPlayerService: listenForRemoteDisplay is no longer supported!

It says "no longer supported!"; not "not working" or "crashed" or so.

In my eyes this message says enough to give up!
[Xperia Z5 Compact Android Development] Hichem2006:
Can you please tell me the lines in the logfile where the error occurs ?
[Xperia Z5 Compact Android Development] Hichem2006:
https://android.googlesource.com/pl.../libmediaplayerservice/MediaPlayerService.cpp

(I think) This may help.
[Xperia Z5 Compact Android Development] Berni-0815:
This points to the place where the error is logged. But it does not help fixing it.

I've tried a different wifi HAL, I've tried a (slightly) newer driver. Nothing helped.

For today I'm giving up! I've sitten long enough before my monitor. It's enough!
[Xperia Z5 Compact Android Development] Hichem2006:
Yep! But I'm always gonna be trying different versions, apps, or just give up in this issue.
[Xperia Z5 Compact Android Development] Hichem2006:
I found something !

Cast uses RTSP connection.

01-14 17:23:28.842 1104 1122 I WifiDisplayController: Listening for RTSP connection on 192.ADRESS from Wifi display: [TV] Samsung 5 Series (43)
[Xperia Z5 Compact Android Development] Hichem2006:
(I know, I know, that's stupid)I'll be trying the Google Home app to cast :)
[Xperia Z5 Compact Android Development] 1ggn3:
Miracast/WiFi Display uses RTSP for the media part, yeah. And I also know other phones with Android > 8 where Miracast works flawlessly. I don't have a Miracast display right now, but maybe you could look in the dmesg for wpa_supplicant and P2P info?

You could, of course, try to use Chromecast, which is a completely different protocol.
[Xperia Z5 Compact Android Development] Hichem2006:
I'll try it tomorrow.

9:11PM here in Algeria (Africa).
[Xperia Z5 Compact Android Development] 1ggn3:
I found a rather serious problem with this ROM: On my phone, the battery charging current won't be limited, even if the temperature gets too high. I wrote a bit about that in the 17.1 thread, but there everything worked (as soon as Android was running).

I noticed this when charging with a solid 2A charger. Battery temperatures even reached 48°C, but I was too busy with getting my phone to a cool place to make a screenshot right then ;)

This bug feels pretty dangerous to me, in the very worst case this could not only damage the battery, but also cause a fire. To clarify, this did not happen with 15.1 and 17.1.
[Xperia Z5 Compact Android Development] uncle-sam:
Is this error reproduceable by someone else? Because if this is not a problem of your device but the rom this seems dangerous to me as well... I will try as soon this rom runs on my device.

I would also be interested in what the old sony camera could do with the gcam algorithms. Theoretically it should be possible, because the z5c supports all camera2api-features. I've tried to use some builds for other snapdragon 810 devices without any success. But i really do not know on what the gcam builds depend.
[Xperia Z5 Compact Android Development] Hichem2006:
Hi, can you link the builds of GCam for Snapdragon 810 ?
[Xperia Z5 Compact Android Development] uncle-sam:
This is a link for the version of the Nexus 6P. I've also tried some others but did not save the links.

Is someone else having trouble with kernel panicking after fresh install (red LED blinks and reboot)? Directly after first boot while moving through the LOS setup. No, i have no logs for now but i am sure it depends to the temperature, it's getting really hot (no measured values there). The phone was not charging.

EDIT: version is

Download 2021-01-14

EDIT2: with nik-gapps core installed. I can't remove it, because the fresh install is always backing up nik-gapps.
[Xperia Z5 Compact Android Development] Berni-0815:
"I" stands for Information. No error, no warning.
[Xperia Z5 Compact Android Development] Berni-0815:
No

Too bad...

From their website:

Uninstall the addons/gapps packages with -1 config (mode=uninstall is optional now)
[Xperia Z5 Compact Android Development] uncle-sam:
Okay, this is really weird. I tried it again from scratch without nik gapps. It worked without a crash.

Then i wiped data and reinstalled lineage again, installed nikgapps and while booting again a kernel panic crash. Next try, crash while LOS setup again. This time without heating.

I'm not able to edit the nikgapps config, because i'm only available to work out of the recovery.

EDIT: if i try to reproduce the error (it somehow works for a short amount of time without wifi and no SIM), i am not able to use:

adb root

adb shell logcat -b all > logcat

root is working, for the second command i get "permission denied"
[Xperia Z5 Compact Android Development] 1ggn3:
I tried this with the 17.1 ROM and my Win 10 work laptop, and WiFi Display / Miracast worked perfectly (phone -> "Connect" app on laptop). I had to disable the pin on the laptop, because the phone never asked for it and it timed out.

I can provide the logcat, if you tell me what to search for.
[Xperia Z5 Compact Android Development] Bloody bk:
Hey guys

I just wanna ask is this rom good for daily usage ?

And how to install it i mean which gapps and which twrp

I wanna install it on my mom phone so thats why im askin cuz i want it to be stable u know my mom cant format her phone everyday

Ik that stock rom is the most stable but sound is fked up there nd theres alot of bugs bb is bad also

Any help would be appreciated

Thanks...
[Xperia Z5 Compact Android Development] Hichem2006:
Yes! It's been my daily driver since I discovered it.

For TWRP, use the version 3.2.1 and pick the 2018-02-23(Or just see the first post)

For GApps, use NikGapps ARM64 Core version for Android 11

If you want step-by-step instructions, just ask me.
[Xperia Z5 Compact Android Development] Bloody bk:
Yes please tell me step by step cuz bootloader is still locked

Also thanks for help iv been installing roms since 2016 but not on sony devices

Like i dont know where to get stock ftf rom or anything

In xiaomi its so ez but idk bout sony
[Xperia Z5 Compact Android Development] Hichem2006:
Sorry, I'm a little busy for now.

I'll write a full tutorial when I'll be back.
[Xperia Z5 Compact Android Development] Hichem2006:
Unlocking the bootloader is a but different from other manufacturers
[Xperia Z5 Compact Android Development] Berni-0815:
wpa_supplicant:
[Xperia Z5 Compact Android Development] Berni-0815:
Please don't use this thread for such things. This thread is for LineageOS 18.1 development and their issues only!
[Xperia Z5 Compact Android Development] Hichem2006:
I'll create a Private Conversation to tell him ;)
[Xperia Z5 Compact Android Development] Bloody bk:
Ok sry

Thx for the rom n keep it up bro
[Xperia Z5 Compact Android Development] Hichem2006:
It's fascinating to see Android 11 running THIS smooth on a 6 year old device.

Manufacturers should be shameful about not updating their devices constantly
[Xperia Z5 Compact Android Development] Berni-0815:
You can't grep a LOG of a kernel panic in the "normal way"!

To grep a kernel panic LOG please follow this instruction:

At the moment when the kernel panic occurs...

...press power and volume up buttons together, hold the power button and release the volume up button when the device shuts down (vibration)

Immediately after releasing the volume up button press the volume down button while still holding the power button

TWRP should start

Release all buttons.

Go to "Advanced/Terminal" and enter these commands line by line:

cd sys/fs/pstore
ls (this is to see if any LOG is written; if not, repeat the whole procedure)
cp * /sdcard

Now you have copied the LOG file(s) to the internal memory

Send me this file(s) via PM
[Xperia Z5 Compact Android Development] udaemon:
hi, you'll find a guide here and further important information here. take your time to go through the procedure - this will do. good luck!
[Xperia Z5 Compact Android Development] Berni-0815:
From another source: "Seems to be a common bug on R for now"
[Xperia Z5 Compact Android Development] Berni-0815:
New version out; see 1st post.

Hotspot and WiFi Tethering should work now
[Xperia Z5 Compact Android Development] 1ggn3:
Alright, this should be the relevant part, LOS 17.1 -> Win 10:

01-17 21:04:16.281 30333 30333 I wpa_supplicant: rfkill: Cannot open RFKILL cont - Pastebin.com

Pastebin.com is the number one paste tool since 2002. Pastebin is a website where you can store text online for a set period of time.

pastebin.com

But if it's a common bug, it probably won't be useful until it gets fixed in general.
[Xperia Z5 Compact Android Development] Berni-0815:
Yes. Indeed. Have you been able to connect to your win10 device? What has happened?

It seems to be a common bug in R (Android 11; los 18). Los 17 should not been affected.
[Xperia Z5 Compact Android Development] Berni-0815:
I'm using the shipped charger and; see attached screenshot...
[Xperia Z5 Compact Android Development] Hichem2006:
@Bloody bk What operating system have you running on your computer ?
[Xperia Z5 Compact Android Development] itpk:
Can you record some video demonsration about the UI please?

Is it completely stock Android or else?

I'm following the post and when it is stable I'm thinking about to flash to my device.
[Xperia Z5 Compact Android Development] :
You can check by watching any youtube video about lineageos 18.1, it's the same across devices.

Technically it's not completely stock but it's 99% like stock android.
[Xperia Z5 Compact Android Development] Berni-0815:
It's more like original Google Android than the misconfigured and bloated stock Android versions that are shipped with OEM devices.
[Xperia Z5 Compact Android Development] Hichem2006:
Like Sony's lol
[Xperia Z5 Compact Android Development] Berni-0815:
Yes! (y)
[Xperia Z5 Compact Android Development] litelinux:
Hello,

Tested out the newest version;

Hotspot still isn't working, unfortunately :(

After toggling hotspot, the device gets warm, but then nothing happens. 2.4GHz and 5GHz bands have the same result.

Is there any logs I can capture?
[Xperia Z5 Compact Android Development] mlleemiles:
There are very audible noises and static whenever sound plays with earphone/headset, is there anything I can do to improve it?

Edit: found a mixer_paths.xml in your 17.1 thread and it seems have fixed the issue.. strange
[Xperia Z5 Compact Android Development] Berni-0815:
Yes, please! And tell me step by step what you've done, so that I can reproduce it in the LOG file.
[Xperia Z5 Compact Android Development] Berni-0815:
Which file have you chosen?
[Xperia Z5 Compact Android Development] mlleemiles:
https://xdaforums.com/t/rom-unoffic...for-z5c-suzuran.4052973/page-16#post-83839253

This one, I can confirm that static noises are gone with it
[Xiaomi Mi A2 / 6X Questions & Answers] Thaenor:
Here's the problem... I've had the A2 for some time (2 years?) and never had this issue... why? Because my household lived in the Stone Age, and we didn't have 5G...(Hz). What with the whole lockdown thing going on, the folks decided to spring for better internet, which also meant a new router.

EVERYTHING single device, laptops, iPhones, Samsungs.... you name it... everything seems to play ball with the new router...... except the absolute chonker that is the A2... he. just. Doesn't. Like it.

Whenever it connects... it stays on until ANY type of data is transmitted... when it does *poof* the Wi-Fi signal is completely gone... it's impossible to watch a single YouTube video.... it takes a wrist cutting backbreaking amount of time to get the front page to load and select a video... but when it does.... the video will eventually stutter its way to the end (if you're patient enough, which I'm not).

And before you say it... I've tried almost everything - to no effect. I think the only thing left is the right solution (even if it is to throw it in the bin). I've reset the phone, nuked the network settings, reset the router, separate normal and 5G networks, flashed a new ROM, you name it..... AND IT STILL DOESN'T WORK.

I'm all out of ideas (aside from smashing this thing with a rock) please help me out!

PS: yeah, even picking up SPECIFICALLY 2.4GHz from the new router, it still doesn't work.

EDIT: forgot the specs

* Mi A2

* Android 10

* lineage jasmine sprout 17.1 200805.001

* router is a TP Link archer XR500v

* (also tested on another 5GHz router which I don't know the name)
[Xiaomi Mi A2 / 6X Questions & Answers] DinIslamJoy:
Try flashing newer firmware, worked for me
[Xiaomi Mi A2 / 6X Questions & Answers] Thaenor:
I've tried flashing Lineage OS but the problem was still the same.
[Xiaomi Mi A2 / 6X Questions & Answers] TechnoSparks:
In this context, "firmware" does not refer to OS/ROM. Assuming you have TWRP, flash this firmware zip as attached in TWRP. This is taken from 4PDA forums, and yes it is safe (per to my personal audit at least).
[Xiaomi Mi A2 / 6X Questions & Answers] Thaenor:
thanks for uploading this, is this the official firmware update from Xiaomi?

I'll give it a try tomorrow and let you know the results
[Xiaomi Mi A2 / 6X Questions & Answers] irikimozz:
Had this issue since Oreo, it's just "personality" i guess. I also prefer the battery savings when on 2.4GHz.
[Xiaomi Mi A2 / 6X Questions & Answers] TechnoSparks:
Yes the files inside are pulled from the official OTA from Xiaomi With the exception of the boot splash. The Android One logo on startup has a dark background instead of light. If this is undesired, do tell as i can repackage with the original white boot splash
[Xiaomi Mi A2 / 6X Questions & Answers] Thaenor:
Here with some updates. I followed along this tutorial - https://www.thecustomdroid.com/install-twrp-recovery-root-xiaomi-mi-a2-a2-lite/ to the letter .... and I managed to brick my phone ... now it only boots into TWRP :(

EDIT: I've managed to use "fix recovery boot loop" and it does let me boot android again. Has you've mentioned the logo on startup has a dark background - which seems to be a good indication that I've flashed things as expected. However, unfortunately, the problem still persists. Whenever the phone tries to reach outside (WiFi) it completely shuts down (the WiFi), after a while the connection is reset, but the process repeats itself whenever a connection is required for anything.
[Motorola Razr 5G Questions & Answers] jaime4272:
It was just me headphones. thanks
[Touch Pro, Fuze General] aquasesh:
I received my Touch Pro yesterday...

i had so many HTCs, but this one is the first to show this problem.

When in standby (screen off) i cannot receive emails. When

I turn it back on, all the emails are coming in, which is annoying,

considering that i might not be aware of important emails for hours.

Any ideas how to solve that???

Thanks

UPDATE : If someone else has this problem, just set your 3G/GPRS connection "HKLM\Comm\ConnMgr\Providers\[GUID]\Connections\[Connection Name]\Always on" to 1.
[Touch Pro, Fuze General] mrvanx:
How do you receive your emails? push mail or just polling from the server?
[Touch Pro, Fuze General] johnk1973:
Same here, happens to POP3 and RSS feeds too. Data connecton is always on so that's not the prroblem.
[Touch Pro, Fuze General] aquasesh:
Any kind of email service...and MMS as well...

now i am pretty sure, MMS should always push through
[Touch Pro, Fuze General] johnk1973:
I half suspect touch pro 'tries' to download messages while 'asleep' and just keeps trying and trying using battery power along the way. I'm shocked how quickly my battery is going down on this device.
[Touch Pro, Fuze General] aquasesh:
yes, this behaviour is very suspect. On my Tytn and Shift, everything seems alright. No problem receiving mail and MMS while sleeping.

The biggest problem is, it doesnt notify me of an incoming message, simply because, there is no message incoming while asleep.

I will try to see if there is anything in the registry about this.
[Touch Pro, Fuze General] aquasesh:
I still have no luck.

When the Touch Pro is in stand by, it wont retreive any MMS or emails.

No matter what I try. I sent so many test mails from the web and other phones...

i always have to turn the phone back on to receive the mails
[Touch Pro, Fuze General] DeepDay:
It is because the Touch Pro shuts down the wifi connection in standby mode, and when you turn the phone back on, it reconnects to the acces point. This is what we should prevent, I mean the suspending of wifi connection.
[Touch Pro, Fuze General] twisted-pixel:
odd, I have push email and mine receives email al the time..on or in stand-by mode.

I do remember a setting where it allowed me to set the hours for receiving email..but I can't find it now at all!!
[Touch Pro, Fuze General] DeepDay:
It doesn't depend on push-mail, or imaps, or etc.... It depends on your connection settings. So if you have a phone connection (eg. gprs, edge, 3g, h....) than it'll receive emails because in standby mode it does not shutdown the phone(gsm, wcdma), only the wifi connection. So if you turn off your phone(gsm, wcdma), and set a wifi connection up, I'm pretty sure that it won't receive your mails in standby mode.