yashsingh1/xdaforums huggingface dataset:
[Google Pixel 4a Questions & Answers] Tempest66:
Best way to remove clock or move the position on lock screen? Which launcher do you use? Not interested in rooting and I can't find a way with stock launcher. Thanks
[Google Pixel 4a Themes, Apps, and Mods] Tempest66:
Can't find a way in stock launcher. What launcher would you recommend? Thanks
[Google Pixel 4a Themes, Apps, and Mods] tthalheim:
The launcher has nothing to do with the Lockscreen and the position of the clock on it

Unless google adds native Lockscreen customization through the styles app, the only way is with root (via magisk mods) or a custom rom (like Resurrection Remix)
[Google Pixel 4a Themes, Apps, and Mods] Tempest66:
Thanks for clarifying. Won't be rooting as that is more of a mild annoyace than anything else
[Samsung Galaxy S9  Questions & Answers] Youdoofus:
I select this post as a candidate for the biggest TL/DR of 2020!!!!

Joking aside, the issue youre describing is explained in the first 2 paragraphs, hence why i stopped reading. Your APN that allows such access is designed for a dongle or something of the like, which is always plugged in so it doesnt care about power management. Unless you write a kernel that will observe and restrict excess draw from the radios in the phone, then its a "price you pay" situation. I had excessive draw on my OG Evo 4G back in the day because Sprint sucked here, so i used the vzw APN and i definitely noticed an increased draw from that as well. Not the same situation as youre in now, but another example of APNs messing with stuff
[Samsung Galaxy S9  Questions & Answers] kierownikk:
I know it's an old thread but here's what happened to me recently...

Using normal three.co.uk apn I was unable to live view my Ring doorbell or even my cctv. So I tried 3internet and using this APN everything worked perfectly fine. Shortly after changing the apn (couple of days) I noticed an increased battery drain. Like 4-5% an hour while the phone was just sitting on the table untouched. I tried all the troubleshooting including factory reset etc. But nothing was helping. The main mistake I was making was that after each factory reset I would instantly change the APN to 3internet. After changing back to three.co.uk my battery life seems to back to what it should be but... my ring doorbell live view doesn't work again. I guess I'll have to contact three and ask them wtf.
[Samsung Galaxy S9  Questions & Answers] tanka8:
I feel like this helps to explain this issue:

https://mybroadband.co.za/news/cellular/465529-surprising-reason-air-mobile-eats-smartphone-batteries-for-breakfast-and-how-afrihost-fixed-it.html

So it's related to the APN (nothing to do with the device)

TLDR: If you have a public IP address then external internet traffic hits your device and causes it to use more battery. If you are behind carrier NAT then this external traffic never hits your device and it can enter and remain in a lower powered state
[Android Software/Hacking General [Developers Only]] Mr.Tom_Tom:
As a follow up, the driver seems to work quite stable already. I still have issues with nl80211 private commands, as a mainline brcmfmac does not seem to accept command strings passed via a libnl control socket like this:

qcwcn/wpa_supplicant_8_lib/driver_cmd_nl80211.c

@vknecht : I've seen your backporting work for the Xperia X. How does this work for Loire with SODP? Does e.g. a "set country code request" work for you, and if so, can you give me a hint?
[Android Software/Hacking General [Developers Only]] Mr.Tom_Tom:
I need some feedback from people with a Z3/Z3c/Z3Dual to see if the new builds work in affected countries, where 5GHz wifi is not working on current custom ROMs like e.g. LineageOS 17.1. I would appreciate if you test one of the builds below and send me a full log.

WARNING: The following builds are for debugging purpose only. Do not use them as a daily driver, as they have SELinux disabled and create excessive log entries. This ROM is not stable, some features are not yet implemented.

Xperia Z3 (D6603):

lineage-17.1-20201227-UNOFFICIAL-z3.zip

drive.google.com

Xperia Z3c (D5803):

lineage-17.1-20201227-UNOFFICIAL-z3c.zip

drive.google.com

Xperia Z3Dual (D6633) Update 10Jan2021:

lineage-17.1-20210110-UNOFFICIAL-z3dual.zip

drive.google.com

Z3Dual build has SELinux enabled already

If possible, please follow these steps:

Install ROM with TWRP for Android 10 or Lineage Recovery for 17.1

If possible, factory reset the device. Be sure to get rid of all former Magisk modules which try to set country codes etc. (if applicable).

Make sure a a local SIM card is inserted.

Boot the device. Enable mobile data and enable wifi. Connect to a 5GHz capable access point or router.

Optional: Increase log buffer size. This may be required as the kernel is set to verbose logging, creating large logfiles. You can do this via settings/developer options or via adb:

adb logcat -G 8M

Get close to the access point or router, so that the device would prefer 5GHz over 2.4GHz.

Reboot the device and let wifi connect. Check if device uses a 5Ghz connection. (Ignore bandwith / speed for now.)

Create a logfile, e.g. with this command via adb:

adb shell logcat -d -b all > mylog.log

The logfile may contain private information, so I recommend not to post them public. Together with the ligfile I would like to know

a) Wifi 5GHz working?

b) The country in which you have tested this.
[Android Software/Hacking General [Developers Only]] TheShadowOfAGhost20:
nice work bro.

i live in iran and in this build my Z3 Dual detects wifi networks while the sim card is also connected.

but in 10 Jan 2021 update my phone can't detect my router's wifi unfortunately while the previous build could do it without problems.

hotspot turns on on both 2.4GHz and 5GHz.

in this new build cellular network and data are working.
[Android Software/Hacking General [Developers Only]] Mr.Tom_Tom:
Thanks @TheShadowOfAGhost20 !

Can you please run a root shell (E.g. by connecting via ADB, run adb root, then adb shell) and then

$> iw wlan0 scan → scan for networks

and then look if your access point is found?

Furthermore, can you please check which WiFi channel this particular router ist set to, and if possible the bandwidth?
[Android Software/Hacking General [Developers Only]] TheShadowOfAGhost20:
i did that but got this error: "/system/bin/sh: iw: inaccessible or not found"

but i found the cause: my wifi channel was set to 12. i changed it and then got detected!
[Android Software/Hacking General [Developers Only]] Mr.Tom_Tom:
Sorry I forgot to write that you have to do this as root, I edited the post accordingly.

Tha sounds reasonable. However, Channel 12 should be usable in IR.
[Android Software/Hacking General [Developers Only]] TheShadowOfAGhost20:
channel 13 has detection problem too. the others are OK
[Android Software/Hacking General [Developers Only]] golden7:
.sorry erroneous post
[Android Software/Hacking General [Developers Only]] Mr.Tom_Tom:
New builds​

Feedbacks have been positive so far, so here are some updated builds.

Lineage Sources* as of 20 March 2021

Kernel sources* based on Linux 3.4.113 with backported wifi from 5.8.18 plus cherry-pick of the following changes:

bluetooth: fixed #ifdef'ed PM callbacks ("BTLowPower" wakelock) 50f16d16b32871c5ce97b029e68692008c848bb2

SELinux enforcing

Build as userdebug, normal loglevels

* For links to sources see 1st post. Z3Dual does not have official Lineage17.1 sources yet, bringup is in progress.

Xperia Z3 (D6603):

HiDrive

hidrive.ionos.com

md5: d7aaf1fea120df3e2aad10b3a2d32226

Xperia Z3c (D5803):

HiDrive

hidrive.ionos.com

md5: 456ff87441c3a63e8dc8c7a8d03bdf39

Xperia Z3Dual (D6633):

HiDrive

hidrive.ionos.com

md5: 1848681c82d608f3212f1ace621327cb

As always, feedback is welcome.
[Android Software/Hacking General [Developers Only]] netwave:
Has anyone found a bug/installed this latest build yet? lineage-17.1-20210320-UNOFFICIAL-z3dual

Finding this super stable.. The only thing that does not work for me is the advanced boot recovery that goes back into system, But that's a known issue.
[Android Software/Hacking General [Developers Only]] TheShadowOfAGhost20:
hi mr.tom. it's perfect as always, found no bug except wifi signal power, it's weak compared to stock roms but there was no difference in speeds. maybe it's because of wifi icon that shows little weaker signal.

and about overheating: i didn't test this build for long but while working with it i have noticed that my device is cooler than previous builds, maybe it's because of this new kernel.

i have recorded 4k for about 7 minutes then my phone rebooted i think that was because of too much heat, then i've reinstalled stock rom, however, stock rom's camera won't let me record much and the app shuts down because of heat, so i can't find out if stock rom can record 4k at least without rebooting.

i need to test this build for more time i hope the heating is now gone :)

and one question: can you port cyberian camera mod for these roms? or is that possible?
[Android Software/Hacking General [Developers Only]] TheShadowOfAGhost20:
lineage os recoveries have these problems yet, there's no fix for that, only the developer can fix it. currently the twrp works if you flash it to FOTAKernel partition but i think the twrp is useless because it doesn't install these builds.
[Android Software/Hacking General [Developers Only]] netwave:
Surely better to do: fastboot boot recovery-20201012-TESTING-z3dual.img rather than a "flash" recovery. What would be the point in flashing a recovery if its not working.
[Android Software/Hacking General [Developers Only]] navidmafi:
Hey

Thanks @Mr.Tom_Tom for new build and @TheShadowOfAGhost20 for testing dev builds!

today i installed the new release

but i have some problems with recovery and boot

after installing Lineage i cannot boot to recovery again

i tried adb, android advanced boot options and "fastboot boot image.img"

none of them taken me to recovery mode

so i needed to install Magisk , OpenGApps , and rom itself with adb sideload and reboot to system because i can't boot to recovery again

i'm now installing my apps for daily usage testing - i need about one or two week to test and use and see if anything is wrong or not

for now WiFi problem is gone , i have full wifi access and both sims antenna

again , thanks to everyone puts effort on this project (and sorry for bad English)

i will update this post if i found anything
[Android Software/Hacking General [Developers Only]] netwave:
If your going to settings\system\developer options\advanced restart\power\restart recovery , Forget it! this method doesn't work for now, & will only boot you back into Lineage. It's an issue that hopefully get's fixed in the future.

But here's a better way of entering recovery without having to flash it...

Check all your drivers are installed correctly & make sure you have the correct recovery to hand.

Here's what I Command:

adb devices

adb reboot bootloader

fastboot devices

fastboot boot recovery-20201012-TESTING-z3dual.img

Good luck!
[Android Software/Hacking General [Developers Only]] navidmafi:
Hey again

Thanks to @netwave i can now boot to recovery without problems by going to fastboot from adb , and booting image directly by "fastboot boot"

while using devices after installing new release , i have a problem with WiFi connectivity

when i lock the screen by power button , the wifi disconnects

for example i use whatsapp a lot and when screen is locked wifi is not connected

i checked power settings - and even set the battery profile to "Quick" (and battery saver is off) but it did not help

is this a bug or a feature?
[Android Software/Hacking General [Developers Only]] netwave:
Have you tried without Magisk installed? Don't use v22.0 what ever you do as it disables WiFi
[Android Software/Hacking General [Developers Only]] navidmafi:
Ow

I'm using Magisk and it is version 22.0

and even root not works

should i reflash ?

Edit : Ok i'm flashing again now
[Android Software/Hacking General [Developers Only]] netwave:
Install the Magisk uninstall.zip from recovery

when your back in Lineage your still have a disabled WiFi as Magisk does not uninstall correctly.

So Install the original boot extracted from the Lineage.zip to get things working again.

- adb devices

- adb reboot bootloader

- fastboot devices

- fastboot flash boot boot.img

- fastboot reboot

Then your be sorted.
[Android Software/Hacking General [Developers Only]] navidmafi:
i have a question

should i flash system directly with "fastboot flash system ROM.zip"

or use adb sideload?

i used sideload last time

Edit: Thanks @netwave but i will flash it again for clean system

Edit 2 : sorry i misunderstood zip files in flashing

my question solved
[Android Software/Hacking General [Developers Only]] navidmafi:
I flashed ROM again and the problem still exists

how i flashed :

fastboot erase userdata
fastboot erase system
fastboot erase recovery
fastboot erase cache
fastboot flash boot ~/Downloads/recovery-20201012-TESTING-z3dual.img

// Formatting all partition with recovery then Apply Update - ADB sideload

adb sideload ~/Downloads/lineage-17.1-20210320-UNOFFICIAL-z3dual.zip

//result : Total xfer: 1.00x
//then reboot to system and setup lineage - turning display off with power button and turn on again , wifi was disconnected
// NOTE: i disabled "allow apps to use location" checkbox in setup
[Android Software/Hacking General [Developers Only]] netwave:
There was no need to erase any of that, Magisk only patches the boot.img & you still have the modified boot.img flashed hence no Wifi

Follow instructions from Post #20
[Android Software/Hacking General [Developers Only]] navidmafi:
Thanks for instructions, but i was ok with erasing all partitions and flashing again. the problem was not there

the problem is WiFi still disconnects on screen sleep

Edit: I tried disabling ALL APPS battery optimization ONE BY ONE but it didn't help
[Android Software/Hacking General [Developers Only]] netwave:
Screen lock & screen time out turns off WiFi by default to consume battery life I suspect.

This would make perfect sense for screen timeout ranging from 15 seconds to 30mins

I see your point regarding WiFi off for "screen lock" as users would not be able to receive messages via social media apps via WiFi

May be worth asking the Dev if Wifi On/Off option can be implemented for screen lock.
[Android Software/Hacking General [Developers Only]] navidmafi:
There was WiFi problem with previous release

to connect and see WiFi network i should put phone on airplane mode , reboot and connect to WiFi network

But when i was connected everything was fine and it did not disconnect with screen lock

i think this is something wrong in ROM or settings app : my father phone is XZ2 and there is an option to enable/disable "sleep wifi on lock screen" which i think is missing on settings app on this ROM
[Android Software/Hacking General [Developers Only]] netwave:
Got Magisk v22.0 working, Post #144 Link
[Android Software/Hacking General [Developers Only]] navidmafi:
Magisk 22 was not caused wifi problem for me (Same results with and without Magisk, wifi disconnects on lock screen)

but the root functions not worked too
[Android Software/Hacking General [Developers Only]] netwave:
This post is not related to your current issue
[Android Software/Hacking General [Developers Only]] Mr.Tom_Tom:
Thanks for reporting this @navidmafi & @netwave ! I did see myself that Wifi did not seem to be connected instantly after returning from sleep. I think that the default behavior should be something like "always connected" but did not look into that yet. Sure that you can't e.g. ping the device while it is sleeping?

If I find some time I will do some checks myself.
[Android Software/Hacking General [Developers Only]] Mr.Tom_Tom:
New build​

Warning, still experimental!

Lineage Sources* as of 31 March 2021

Kernel sources* based on Linux 3.4.113 with backported wifi from 5.8.18 plus cherry-pick of the following changes:

bluetooth: fixed #ifdef'ed PM callbacks ("BTLowPower" wakelock) 50f16d16b32871c5ce97b029e68692008c848bb2

SELinux enforcing

Build as userdebug, normal loglevels

Contains Fix for Auto Rotation bug

* For links to sources see 1st post. Z3Dual does not have official Lineage17.1 sources yet, bringup is in progress.

Xperia Z3 (D6603):

https://hidrive.ionos.com/lnk/bGAKkYP5

md5: 0833d989160f4eb7d3cb8bf88ec10d7f

Xperia Z3c (D5803):

https://hidrive.ionos.com/lnk/D8gqEb6P

md5: 8f793346144c83a7884d86783b1924bd

Xperia Z3Dual (D6633):

https://hidrive.ionos.com/lnk/QCAKEOQZ

md5: 5be222194cf4f2e5da92e0e2b2c58fe4

As always, feedback is welcome.
[Android Software/Hacking General [Developers Only]] netwave:
Tom_Tom I'm impressed with the speed your rolling out these new builds! nice one (y)
[Android Software/Hacking General [Developers Only]] TheShadowOfAGhost20:
the previous build still had problems with channel 12 and 13 detection, will they be fixed?
[Android Software/Hacking General [Developers Only]] netwave:
Getting repeated Wifi dropouts when connected to screen cast
[Android Software/Hacking General [Developers Only]] Mr.Tom_Tom:
Well, it took me ~ 2 years to understand the issue with screen rotation and priovide a fix. Therefore I feel some irony in your message :LOL:.

No changes regarding wifi. I am not convinced yet that the reported issues with channel 12/13 are related to this ROM. Would require more user feedback and logs from multiple countries.

I see myself that the wifi driver is not fully stable yet. It works, but some features are not yet enabled and regarding stability I see some crashes now and then. Will have a closer look in the future when I find some time.

Logs please
[Android Software/Hacking General [Developers Only]] navidmafi:
Thanks @Mr.Tom_Tom for new build

the *previous build* caused so many instability issues in my phone

1-the phone reboots 40 to 50 time per day

sometimes it got to bootloop and reboots and reboots and reboots

and half of the time i wanted to check my phone , i saw it was in boot logo

2-the wifi problem that you saw yourself

3-yesterday when i was sleep it seems the phone rebooted

and when it booted up again , phone Time was at 7:30

but the real time was 10:30

and i'm checking alarms and date and time of my phone every night i set the clock, nothing was wrong as always.

and i missed one of the most important exams of my school and i ran into so many problems.

(this can be my operator issue i NEVER saw that happen in any phone any time ever)

i think that older ROM (that WiFi just connects in airplane mode) did not had THIS kind of problems and was so stable

and the ping test Mr.Tom_Tom asked for:

the phone replied normally when screen was on

but instantly after turning off screen by power button , requests timed out

anyway i will try new build and report the results
[Android Software/Hacking General [Developers Only]] Mr.Tom_Tom:
Thank you @navidmafi for your feedback.

I can confirm that the current builds are not stable. Looking into the reboots. They seem to be related to wifi disconnects during standby and wifi scans starting after returning from standby. Hopefully there is an easy fix to address all these issues at once.

In the meanwhile there is some development ongoing with some changes likely being incorporated into the official Lineage builds which will bring some wifi improvements.
[Android Software/Hacking General [Developers Only]] Mahmaod Rad:
Everyone here please pay attention here

If you will shot down your sony z3 dual do not pris volume up immediately because this will hard brick your phone

It happened to me so the there is two ways to fix it

1 wait until the battery died (i don't use this(

2 Or open your phone and unplug the battery and plug it back

Thanks for your time for read and spread it out because it powerful if any one have opened phone than test it out to confirm it and thanks for your time
[Android Software/Hacking General [Developers Only]] Mahmaod Rad:
I mean on shutdown it by press power and vol up to force to shutdown and don't presed volume up immediately just wait for it
[Android Software/Hacking General [Developers Only]] Mahmaod Rad:
I flashed the dual sim build and this what i found

Root is not working (magisk) what ever i did

I can,t flash the rom on it because it say

(This rom for z3dual your device is ,) with 07 on twrp 3.1.1 that xkeita Posted on his form

And if i trid using twrp 3.3.1 that on Androidfilehost it siad (this rom for z3dual this device is z3 ) or leo and 07

So the only way to flash it is edit the script from z3dual to z3 to flash it but when it boot it give you a Signature Notice and not only that like on restart menu reboot to recovery is not working

When phone is charging and using (i was download apps ) change is stoped and phone will run on battery like xkeita build

And i wont to say the rom is so good but it need some work like

1 double check on screen while off dose not turn it on

2 Dual sim settings are need some work (plz make it like xkeita build )

3 Led settings ane not found i cant change my led cooler is always green and yellow i cant change it

So thinks for this rom because it fantastic and i was looking for it for long time even i think to flash single sim build and loes sim like make it like taplet so plz Continue for it and make it official and this is my email and my Telegram account

mah.mr2m2m2m@gmail.com

@Mahmaod_Rad
[Android Software/Hacking General [Developers Only]] Mr.Tom_Tom:
I don't think so. First, if it really was hard-bricked, disconnecting and reconnecting the battery wouldn't help. I do not think that this ROM will cause lock-ups but whenever you experience something like this: Press Power+volume-up for 5 seconds to turn off the phone. Then restart as usual.

Thank you for your feedback.

Please flash .291 Stock ROM first before you flash this ROM. Follow the original LineageOS Install guide for the Z3 to see how to do this. Then you won't have such that sthe skript does not detect the Device correctly.

Regarding Dual SIM settings - Plese send some screenshots and tell me what you expect - as I don't have a Z3Dual myself, I have never seen it.

DT2W should work fine, check your settings.

Please do NOT use the latest builds as daily driver - they are still buggy. I will build and upload some more stable versions when I find some time.
[Android Software/Hacking General [Developers Only]] Mahmaod Rad:
Thanks for reply I will upload screenshots for it and for twrp I have two build.prop first is the 3.1.1 from xkeita and the athor is from Androidfilehost 3.3.1 it default says it z3
[Android Software/Hacking General [Developers Only]] Mahmaod Rad:
This it the files
[Android Software/Hacking General [Developers Only]] Mahmaod Rad:
actually this is how I fix it power with vol up NOTHING yellow close in sim cards NOTHING and when I connect it to PC it not organiza it and it happened on stock rom and it last update .291
[Android Software/Hacking General [Developers Only]] Mr.Tom_Tom:
[/QUOTE]

Sorry, I don't understand what you mean.

[EDITED] For Z3 dual recovery, use the one provided here please:

https://xdaforums.com/z3...os-16-0-z3-t3981379/post83695003#post83695003
[Android Software/Hacking General [Developers Only]] Mahmaod Rad:
And so thiere is img

And i want to say that single sim and dual sim are sime sime at everything even on my phone i downloaded z3 single sim rom from lineageos website and i can swap between two build very easy even i don't wibe cash so i don't know if there any defence between them but what i see it very close
[Android Software/Hacking General [Developers Only]] Mahmaod Rad:
Sorry, I don't understand what you mean.

For recovery, use the one provided here in this thread please.

[/QUOTE]

Where is it can you upload on plz
[Android Software/Hacking General [Developers Only]] Mahmaod Rad:
Here i was toke about hardback My phone
[Android Software/Hacking General [Developers Only]] turbo85i:
Hello. I installed lineage 17.1 on a sony xperia z3 dual and faced wifi disconnection issue after going to standby when the display is locked. When Wi-Fi is enabled on the phone, there are many reboots. Could you help me fix this bug or tell me how to solve this problem myself?