yashsingh1/xdaforums huggingface dataset:
[Xperia Z3 Compact Original Android Development] nokian95ita:
Now it work, i deleted all data from android auto and restarted all. yes it continue to be a little slow but it can be used. thanks a lot, i like it

I have a new question: i want to remove the black bar under the keyboard, it appear beacause i have more keyboard installed

I reverted to Gapps like as say @tomKater but it doen't work good. I need to delete all data whenever i link the smartphone to the head unit. I don't have a stand alone head unit bit i use head unit reloaded. when i link the smarphone it launch android auto but after few second android auto close it self so if delete all data it work but at next connection i need to delete al data.
[Xperia Z3 Compact Original Android Development] J_C_D:
Is there any news about that? I have the same problem. No deep sleep with this ROM and this is a no-go for me.
[Xperia Z3 Compact Original Android Development] tomKater:
I confirm too. I missed the post by @pawloland and it's been several days that I investigate my battery drain (it empties almost completely during the night when there is not use at all). However, my impression was that it was worse since the last updates (or maybe it's not the rom but one of my app ...).
[Xperia Z3 Compact Original Android Development] oscardu13:
Hi everyone,

i'm a LOS enthousiast since a couple of years, mostly on Samsung, but let say i'm still a noob !

I've been working for the last two days on a Sony Xperia Z3 Compact.

I managed to install TWRP with fastboot, and the installation of lineage 17.1 seems to work fine, finishing with "script succeeded". The next screen asks if if want to install the TWRP app, ok, why not, then i swipe right to reboot the system and then... black screen. Not event the smal led is on. The phone is not dead, there is a vibration when i press the power button.

The only thing i can from there is connect back to fastboot, and restart twrp from there.

I had the same result with different versions of TWRP (3.0.2, 3.2.1, 3.3.0) and different roms.

Lineage 14.1 installs fine and run.

Any fast help or suggestion is very welcome !

thanks in advance
[Xperia Z3 Compact Original Android Development] J_C_D:
I just learned something new: the problem does not occur, when BT is switched off right from system startup!

The wakelock ("BTLowPower") then only occurs when BT becomes switched on (this may be ok, I don't know), but when BT is then switched off again, the wakelock persists!

For me, that seems like a simple driver bug.

I'm curently looking up the code of bcm4339 and as far as I understand, the wakelock is only used to ensure that IRQ requests of the BT hardware are handled by the CPU instead of going to deep sleep. Seems pretty simple, but how is it possible that this wakelock persists after BT is deactivated???

EDIT: I was wrong: It is intended to prevent the device from deep sleep for 10 seconds after BT activity.

EDIT: Ok, for me the Low Power handling of this driver seems completely broken: The culprit seems to be that host_wake_isr() activates the wakelock but cancels the enter_lpm_timer which is in turn responsible to clear the wakelock. I believe that it should restart the timer instead.

But this seems not the only bug: imho, bcm_bt_lpm_exit_lpm() should re-lock the wakelock when restarting the enter_lpm_timer, which it doesn't do.

Can someone help debugging / looking through that stuff?
[Xperia Z3 Compact Original Android Development] tblr0ne:
This BT problem started around a kernel rebase in august 2019.

https://xdaforums.com/t/9-lineageos-16-0-for-z3c.3886777/post-80034602

Here's another log:

https://xdaforums.com/t/official-lineageos-16-0-for-xperia-z3-compact.3999455/post-81043353
[Xperia Z3 Compact Original Android Development] J_C_D:
@NeoArian could you please point me to the correct toolchain and kernel sources of this fw to allow me to test modifications of the BT driver?

I'm currently using the kernel sources from branch lineage-17.1 of this Repo and this cross-build toolchain, manually down-dated to a pre-clang state (my head is now at commit a4d56615040a9a42f8345c65d4877ca9b934808e).

Curiously, I had to slightly modify the kernel config (based on shinano_aries_defconfig), otherwise the kernel didn't link because of some missing netfilter module.

Now, when I flash that kernel, the device does not boot anymore, so something seems to be completely wrong here.

EDIT: My own kernel build boots now! :)

And this is what I had to do:

- use lineageos_shinano_aries_defconfig instead of shinano_aries_defconfig

- repack boot.img using zImage-dtb instead of zImage
[Xperia Z3 Compact Original Android Development] J_C_D:
GOOD NEWS EVERYBODY!!!

I managed to finally fix the persistent "BTLowPower" wakelock which caused the CPU to no longer enter Deep Sleep state and thus resulted in high battery drain once Bluetooth had been enabled! 🍻

UPDATE: I just found a much simpler solution that does the trick! The real culprit was a #ifdef in BT Power Management that was introduced by a commit in July 2019 and then has fallen into oblivion :ROFLMAO:.

Fixed! -> Version 3.

@tblr0ne , @L.Lmar : can you please also test this version?

*** TESTERS NEEDED! ***

Find attached the modified boot.img. USE AT OWN RISK!

Installation:

- reboot Z3C into Bootloader (Vol+)

- flash new boot image over current LineageOS17.1 installation using fastboot

fastboot flash boot boot-BTLowPower-fix-3.img

- reboot

fastboot reboot

NOTE for Magisk users:

After flashing the new boot image, it is required to re-install Magisk. Do this by immediately booting into TWRP after the new boot image is flashed.

Also note that you need Magisk v20.4 for this! Later versions won't work.

Anyway, you will be able to upgrade Magisk to up-to-date versions using Magisk Manager after the system has booted.

@NeoArian when everything seems ok, I will create a merge request in LineageOS/android_kernel_sony_msm8974. Is this the correct place / way to go?
[Xperia Z3 Compact Original Android Development] tblr0ne:
Deepsleep is working again after toggling BT on/off and whilst BT is activated. Thanks.
[Xperia Z3 Compact Original Android Development] versus2165897:
Some bugs appeared on the last 3 updates. Reflashing did not fix the problems. I have no gaps installed, root.

The problem appears when I enable Safe Start, when the device is encrypted.

1. Accelerometer sensor, autoprotect, proximity does not work.

2. When turning on the phone, a long startup before the screen where you must enter the password is displayed. Usually the first startup should be faster, asking for the password.

The problem lies somewhere in the encryption of the device, in the option Safe start.
[Xperia Z3 Compact Original Android Development] L.Lmar:
BTLowPower wakelocks are gone, good job!
[Xperia Z3 Compact Original Android Development] tblr0ne:
Version 3 seems to work as well under both circumstances.
[Xperia Z3 Compact Original Android Development] J_C_D:
Thank you!

Fortunately, in contrast to Version 2, where I had to fully re-implement some parts of the power management, this fix now only requires 3 lines of source code change in total (y)
[Xperia Z3 Compact Original Android Development] tomKater:
Hi,

Good job ! Thank you for you efforts. Now looking forward to having the correction by OTA.

I investigate my battery drain for a while now and there is another wakelock that often appears : "mmc0:0001:2".

I could not determine what this was due to. It appears during the night, without action from my part. Only one post on xda found, and no solution.

Does anyone have the same ?
[Xperia Z3 Compact Original Android Development] L.Lmar:
This version is good too
[Xperia Z3 Compact Original Android Development] Spaceoid:
When I still used the Z3C I had the same wakelock, back on LOS 16. Another user told me this:

https://xdaforums.com/t/9-lineageos-16-0-for-z3c.3886777/post-79782864
[Xperia Z3 Compact Original Android Development] tomKater:
Thank you for this information. I'm a little suprised by the answer, since this wakelock has the consequence of keeping the phone in "awake" status, but I will pay attention to the possible battery drain or not.
[Xperia Z3 Compact Original Android Development] NeoArian:
Am I understanding the issue correctly, that only when your device is encrypted and when booting to safe mode the sensors are not working correctly for you?

At the end of December we have indeed merged a patch to stat the sensors service on late_start in order to fix some issues with encrypted devices (encrypted devices without an actual password/pin set did not boot previously).
[Xperia Z3 Compact Original Android Development] versus2165897:
Yes, that's right.

When Safe Start is turned on, the accelerometer does not work. Therefore, screen rotation, light sensor does not work.
[Xperia Z3 Compact Original Android Development] Zwulfulfsn:
Hello @NeoArian , hello community. I'am very happy to see that the "BTLowPower" wakelock issue was fixed by @J_C_D and that it was merged into the android_kernel_sony_msm8974 repository last week. Thanks to all of you that spend your time supporting the Z3C and other older devices until now.
[Xperia Z3 Compact Original Android Development] NeoArian:
Thanks for the report. We were able to reproduce it and have fixed it. We will merge the fix within some days so that it will be fixed in the upcoming releases.

Greetings, arian.
[Xperia Z3 Compact Original Android Development] crpdvv:
Will it be possible to apply this kernel patch to official LineageOS 17.1 z3c build:

VPN mode not working due to missing kernel patches (#2193) · Issues · LineageOS / issues / android · GitLab

Expected Behavior Application that provide a VPN mode to work such as the Orbot app....

gitlab.com

To fix this problem with orbot:

Fails to bootstrap with VPN mode enabled (oreo?) · Issue #151 · guardianproject/orbot

Recently installed android 8(.1) on a device. Orbot works fine, until VPN mode is enabled - then, it never bootstraps at all. Disabling VPN mode makes bootstraping work again, and connectivity is t...

github.com

Or was the patch already applied?

I still have this problem with orbot with latest 17.1 build:

lineage-17.1-20210223-nightly-z3c-signed.zip
[Xperia Z3 Compact Original Android Development] mindyabiznis:
Hey @NeoArian is there any possibility at all of adding dualshock4 Bluetooth compatibility to this?

Thee ps4 remote play app is telling me that it's not compatible but I thought android 10 supported it natively.
[Xperia Z3 Compact Original Android Development] NeoArian:
I have just tried to connect a dualshock 4 controller via bluetooth to my phone and it worked just fine. On my newer devices it's possible to use the trackpad as mouse input, that was not possible but apart from this it works good for me. Is it not connecting at all for you or is your issue that the trackpad is not working?
[Xperia Z3 Compact Original Android Development] mindyabiznis:
Edit double post
[Xperia Z3 Compact Original Android Development] mindyabiznis:
It tells me my device is not dualshock 4 compatible when I go into the remote play app.

The controller pairs with the phone and it seems to work on the phones UI but not in the remote play app.

Do you have a ps4 and the remote play app works?
[Xperia Z3 Compact Original Android Development] NeoArian:
My brother has a ps4 but i do not use google services on my z3c and hence the remote play app doesn't start for me. What do you need the app for? Don't you intend to use the controller for games on your phone?
[Xperia Z3 Compact Original Android Development] mhanbury:
Hi, Can someone please confirm if Ant+ sensors are supported on this ROM and if the Ant service hal is installed as a system app?
[Xperia Z3 Compact Original Android Development] J_C_D:
Just a note on the LineageOS for MicroG build variant that I want to share here:

AFAIK, MicroG Core versions 0.2.16 and 0.2.17 are having a bug related to Google / Firebase Cloud Messaging (GCM/FCM) which prevents Apps from initially registering for Cloud Messaging.

So, if you install this ROM for the first time, you should use an older release that has MicroG core version 0.2.15 bundled.

Then, install your Apps, allowing them to register for Cloud Messaging. If that succeeded, you can upgrade the ROM to the latest release of LineageOS for MicroG. Cloud Messaging registration will stay intact in this case.
[Xperia Z3 Compact Original Android Development] steve8x8:
Can someone provide a translation to NanoDroid versions? I.e., is 23.1.2.20210117 affected by this, and which version isn't?
[Xperia Z3 Compact Original Android Development] armorgeddon:
Hi guys,

before opening the bootloader on my newly bought Z3 Compact in order to run LOS 17.1 then I'd like to ask the following question: Is it still even possible to backup the device's DRM keys from the TA partition? In case it's still possible is there an up-to-date how-to available somewhere? All I found seemed outdated to me. In case DRM key backup is still possible I wonder if it's still needed at all since reading across this forum and a German one I got the impression that at least in the past LineageOS had implemented something which basically out of the box gives near Stock-ROM-camera-quality which is all I care about in regards to the DRM issue. So is that still the case or did Sony intervene in the meantime and prevent that?

Thanks very much for reading!
[Xperia Z3 Compact Original Android Development] pawloland:
DRM keys are still on your phone if previous owner didn't tinker with it before, or if he backed them up, and restored them properly. These keys are only functional on stock ROM, they will do nothing on custom rom, or they will even break things on custom rom, because they aren't meant to be there (I am not sure about that, never tried it). You can follow old guides, this phone is old, so the guides are also old, but not outdated - there wasn't any new stock updata since android MM. Wether it is needed or not, I would say it is not needed if you plan to use only custom roms and never come back to stock, but if you want to go back to stock at some point for wathever reason, you would need TA backup, to have the exact same experience as before unlocking bootloader. If you don't do TA backup, you will lose your unique DRM keys forever. Personally I would back them up, because it doesn't cost anything and can come in handy in the future.
[Xperia Z3 Compact Original Android Development] armorgeddon:
@pawloland Thanks for answering! I successfully backed up my DRM keys using "Universal (Dirtycow-based) TA Backup v2" which was very easy to do and didn't even need rooting the device prior.

*EDIT* I successfully installed this ROM now, all looking good so far. What's the recommended method to root this LineageOS ROM?

*EDIT2* Well, the enjoyment with the device only lasted for a very short while since I now discovered that SD-cards won't click-in into the Z3Cs reader. Appalling quality control at Sony, attention to detail traditionally only to their DRM systems :-( I'll try to get a replacement device from the seller, so my question above regarding how to root best is still valid.
[Xiaomi Poco F2 Pro (Redmi K30 Pro) Themes, Apps, a] fayzrus:
Module for Magisk.

More about fashion;

1. 4 Weather widget with clock.

2. Phone: Geo-detection, maximum brightness, actions to end the call, adjusting the size of the avatar, the position of the text and avatar, buttons in one row, selection of the window for incoming, square cropping of the avatar, full-screen photo (you need to reassign the photo) no avatar for incoming and outgoing in the absence of a photo for contact.

3. Soundbar, extended and vibro to unlock.

4. Desktop: automatically closing open folders, shadows on the desktop (only for non-animated icons, the number of icons in an open folder is 3x3 4x4, icon signature in one line, with a smooth fading, creeping line, gestures and double tap with the ability to customize.

5. Status bar and shutter: adjusting the number of toggles, notification icons, clock styles in the status bar, vertical network icons, adjusting the size of the clock, battery, network speed, extended battery icon selection.

Other, added hosts to remove ads in applications

Download mega: https://mega.nz/file/2jwGTZ7b#xnwSnwCHlBAFVJT4JQzvNy6zJDEt6FstN9LqI0nW700

Final mod: 12.0.8

Download mega: https://mega.nz/file/T6hwkAQK#AUTPnMqX4pjPWR59GRrQzAaPrU1vSEu5b2ksobk2KmE

Added: download to mega screen recording: https://mega.nz/file/juwCUQZA#hncid3_Fa38YLqWwZujK2yj_Llap7_pbBVXv5ol5-aI

12.1.3 mega https://mega.nz/file/Wno3iAbL#3Qujta5uYqh8M7uDLsmql0BlblOoC9QfFkz_sW8DQ-M

Connection telegram [MENTION=5067289]frust[/MENTION]79
[Xiaomi Poco F2 Pro (Redmi K30 Pro) Themes, Apps, a] pakom8:
Interesting! very good and waiting ;)
[Xiaomi Poco F2 Pro (Redmi K30 Pro) Themes, Apps, a] shadowstep:
THREAD CLOSED

[MENTION=6411521]fayzrus[/MENTION] Placeholder threads are not allowed. Kindly PM me when you have your mod ready to post, I'll open your thread then.

Regards,

shadowstep

Forum Moderator

EDIT: Thread re-opened.
[Xiaomi Poco F2 Pro (Redmi K30 Pro) Themes, Apps, a] :
hello,

I flash it with twrp and I get an error.
[Xiaomi Poco F2 Pro (Redmi K30 Pro) Themes, Apps, a] fayzrus:
This is for Magisk
[Xiaomi Poco F2 Pro (Redmi K30 Pro) Themes, Apps, a] :
Ok thanks.
[Xiaomi Poco F2 Pro (Redmi K30 Pro) Themes, Apps, a] grt67DFqyu:
Please change the "castom" in your 1st screenshot to "custom".
[Xiaomi Poco F2 Pro (Redmi K30 Pro) Themes, Apps, a] fayzrus:
Ok, tomorrow
[Xiaomi Poco F2 Pro (Redmi K30 Pro) Themes, Apps, a] fayzrus:
Reloaded, corrected the custom inscription, added a modified installer for installing third-party applications
[Xiaomi Poco F2 Pro (Redmi K30 Pro) Themes, Apps, a] aftnoon2:
Can this mod work on a MIUI 12 global rooted? (12.0.3 QJKMIXM)
[Xiaomi Poco F2 Pro (Redmi K30 Pro) Themes, Apps, a] fayzrus:
should not be doing that
[Xiaomi Poco F2 Pro (Redmi K30 Pro) Themes, Apps, a] khntgamer_aguas:
Issue/Bug

When I use this module when i go to settings and click the "Always on display & Lockscreen" the settings will crash everytime i click on that

I hope this issue will be fix. :D
[Xiaomi Poco F2 Pro (Redmi K30 Pro) Themes, Apps, a] krilok:
Same here... Hoping for a fix.
[Xiaomi Poco F2 Pro (Redmi K30 Pro) Themes, Apps, a] fayzrus:
you need a log, the error is most likely when choosing English, try choosing another system language and setting up AOD. Without a log and a test, I can't fix the error, I'm on a different firmware.
[Xiaomi Poco F2 Pro (Redmi K30 Pro) Themes, Apps, a] fayzrus:
Fixed and re-uploaded AOD for English
[Xiaomi Poco F2 Pro (Redmi K30 Pro) Themes, Apps, a] MaXAiRO:
I'm on 12.0.8 Xiaomi.eu and got into bootloop when I rebooted (after I flashed it through Magisk Manager).

I had to delete the module folder (XNM14) from data/adb/modules through TWRP file manager to be able to boot.

Maybe it's the fault of some conflict with an Xposed module I use? e.g. CustoMIUIzer?
[Xiaomi Poco F2 Pro (Redmi K30 Pro) Themes, Apps, a] hoshos2006:
So we had redownload it again from 1st post ( mega link ) or still u upload it ?
[Xiaomi Poco F2 Pro (Redmi K30 Pro) Themes, Apps, a] fayzrus:
Probably yes. But I can only say more specifically if you give me error logs.
[Xiaomi Poco F2 Pro (Redmi K30 Pro) Themes, Apps, a] fayzrus:
I uploaded it to the file sharing service again
[Xiaomi Poco F2 Pro (Redmi K30 Pro) Themes, Apps, a] hoshos2006:
Ok:good:. Downloading
[Xiaomi Poco F2 Pro (Redmi K30 Pro) Themes, Apps, a] fayzrus:
No
[Xiaomi Poco F2 Pro (Redmi K30 Pro) Themes, Apps, a] anon1135:
Great mod especially since miui 12 now has an icon limit in the status bar for some reason when miui 11 didn't. Any plans to make one for eu android 11 as well?
[Xiaomi Poco F2 Pro (Redmi K30 Pro) Themes, Apps, a] fayzrus:
mod 12.1.2 has been ready for a long time, but due to low activity there is no desire to translate it into English
[Xiaomi Poco F2 Pro (Redmi K30 Pro) Themes, Apps, a] fayzrus:
Mod update MiniMod Xiaomi.eu 12.1.3

Removed the vibration setting when unlocking due to the lack of need, and so it works, added instead the ability to mute the notification sound when the screen is on, removed the advanced soundbar settings, and increased the desktop grid capability.

2.10 Reload, added disabling animation when unlocking

mega https://mega.nz/file/Wno3iAbL#3Qujta5uYqh8M7uDLsmql0BlblOoC9QfFkz_sW8DQ-M
[Xiaomi Poco F2 Pro (Redmi K30 Pro) Themes, Apps, a] garfi:
Where can I download it for 12.0.8 ? Link is not working anymore...
[Xiaomi Poco F2 Pro (Redmi K30 Pro) Themes, Apps, a] fayzrus:
corrected, put and try, if there is no English write, a bunch of mods in Mega are already confused))
[Xiaomi Poco F2 Pro (Redmi K30 Pro) Themes, Apps, a] tze_vitamin:
not working on Xiaomi.eu weekly 20.9.24 , I try , flash it through MAgisk canary that I have ,it shows in Settings ,that extra features but when I try to open it it crash...
[Xiaomi Poco F2 Pro (Redmi K30 Pro) Themes, Apps, a] garfi:
I am at 12.0.8 Xiaomi.eu

it works in English very well. Thank you

POCO F2 Pro cihazımdan Tapatalk kullanılarak gönderildi
[Xiaomi Poco F2 Pro (Redmi K30 Pro) Themes, Apps, a] tze_vitamin:
not working on Xiaomi.eu weekly 20.9.24 and try to install both of those file and phone wont boot up... its not working..
[Xiaomi Poco F2 Pro (Redmi K30 Pro) Themes, Apps, a] hoshos2006:
Does it work in xiaomi.eu miui 11. Latest stable build ?
[Xiaomi Poco F2 Pro (Redmi K30 Pro) Themes, Apps, a] luisfelipe1113:
will this work on any device with that version of miui? or is it specifically for the F2 pro?
[Xiaomi Poco F2 Pro (Redmi K30 Pro) Themes, Apps, a] garfi:
Dis you try to flash directly from twrp?

I did it and it worked. (12.0.8 .eu)

POCO F2 Pro cihazımdan Tapatalk kullanılarak gönderildi
[Xiaomi Poco F2 Pro (Redmi K30 Pro) Themes, Apps, a] fayzrus:
If you look at the title, it says 12.0.8 and 12.1.3 are not weekly but stable, so it shouldn't work on it.

UPD: if you want a mod for weekly write in a personal, there will be many applications I will make
[Xiaomi Poco F2 Pro (Redmi K30 Pro) Themes, Apps, a] fayzrus:
Poco F2 Pro/Redmi K30 Pro 2 mod-module for rom Xiaomi.eu stab 12.0.8 & 12.1.3
[Xiaomi Poco F2 Pro (Redmi K30 Pro) Themes, Apps, a] mrnannu:
Very useful features. Appreciate it if you could make a magisk module and make supported on weekly xiaomi.eu ROMs.

Thank you so much for your effort.
[Xiaomi Poco F2 Pro (Redmi K30 Pro) Themes, Apps, a] fayzrus:
https://mega.nz/file/u3YFgKyB#54dLbfHxLrATdTf2R6TDd95NPObolNTdoSLMOT_6Owk

Check it out, I myself am on a different firmware, it works exactly, but if there is a translation I do not remember.
[Xiaomi Poco F2 Pro (Redmi K30 Pro) Themes, Apps, a] mrnannu:
Thank a million, will try and let you know [emoji4]
[Xiaomi Poco F2 Pro (Redmi K30 Pro) Themes, Apps, a] sampei:
Unfortunately, it doesn't work on the weekly 20.9.24.

And even though my phone is English but the "custom setting" label is written in Cyrill characters.
[Xiaomi Poco F2 Pro (Redmi K30 Pro) Themes, Apps, a] fayzrus:
except for the Cyrillic name of the setting, does the rest work?
[Xiaomi Poco F2 Pro (Redmi K30 Pro) Themes, Apps, a] sampei:
Unfortunately menu doesn't open....setting is immediately crash after tap custom setting.
[Xiaomi Poco F2 Pro (Redmi K30 Pro) Themes, Apps, a] mrnannu:
Same for me.. Settings is getting crushed once I click on the custom settings which is in a different language.
[Xiaomi Poco F2 Pro (Redmi K30 Pro) Themes, Apps, a] fayzrus:
Final mod: 12.0.8

Download mega: https://mega.nz/file/T6hwkAQK#AUTPnMqX4pjPWR59GRrQzAaPrU1vSEu5b2ksobk2KmE

Added: download to mega screen recording: https://mega.nz/file/juwCUQZA#hncid3_Fa38YLqWwZujK2yj_Llap7_pbBVXv5ol5-aI

If anyone needs files and instructions for installing this mod via TWRP, write in a personal.
[Xiaomi Poco F2 Pro (Redmi K30 Pro) Themes, Apps, a] fayzrus:
Write in a personal, who needs it, I'll try to do it, you can also add old gestures, hiding alarm clock icons and bluetooth.
[Xiaomi Poco F2 Pro (Redmi K30 Pro) Themes, Apps, a] efx7n:
Ty bro for all effort. Can you add dual network meter on the statusbar next build?
[Xiaomi Poco F2 Pro (Redmi K30 Pro) Themes, Apps, a] anon1135:
Ty for your work. The best mod