yashsingh1/xdaforums huggingface dataset:
[Xiaomi Mi A2 Lite Guides, News, & Discussion] RFD80M-75679:
Not all have the same experience, as my Mi A2 Lite was very laggy with Oreo out from the box, even dialer app is very laggy. Until 10.0.3.0 came and it was snappy (not as I wanted to, but at least not as bad as Oreo on my phone). Then the June update came and it was more laggy than Oreo and I called it SD card eater as it also literalky destroyed my 2 SD cards. The jump on custom ROMs did the fix on me and I don't mind the Xiaomeme updates afterwards.
[Xiaomi Mi A2 Lite Guides, News, & Discussion] schrickz:
I prefer Pie over Oreo, with every security patches, I feels the phone become more smoother and snappier. I've disabled some system apps that I really don't use too much like Google, chrome and YouTube. Never tested tough with those apps enabled.
[Xiaomi Mi A2 Lite Guides, News, & Discussion] RFD80M-75679:
With those apps enabled, it never affected with its performance when I was on stock. Its just the June (and I think July) updates were just buggy here.
[Xiaomi Mi A2 Lite Guides, News, & Discussion] schrickz:
It does affected the performance, especially when playing games like PUBGM, you'll noticed the difference. Some apps (system nor user apps) do a background check, some of them always on standby state. 4 gb of RAM is large enough for multitasking but Daisy CPU not too high for handling multiple foreground and background activities. Just set your choice through the Developer Option.
[Xiaomi Mi A2 Lite Guides, News, & Discussion] RFD80M-75679:
I usually don't play games on my phone, and I have 3GB version.
[Asus ZenFone Max Pro M1  Guides, News, & Discussio] nguyenhung9x2018:
/*
* I'm not responsible for bricked devices, dead SD cards, thermonuclear war, or you getting fired because the alarm app failed (like it did for me...).
* Please do some research if you have any concerns about features included in the products you find here before flashing it!
* YOU are choosing to make these modifications, and if you point the finger at me for messing up your device, I will laugh at you.
* Your warranty will be void if you tamper with any part of your device / software.
* Same statement for XDA.
*/

About LineageOS

LineageOS is a free and open-source operating system for set-top boxes, smartphones and tablet computers, based on the Android mobile platform. It is the successor to the custom ROM CyanogenMod, from which it was forked in December 2016 when Cyanogen Inc. announced it was discontinuing development and shut down the infrastructure behind the project. Since Cyanogen Inc. retained the rights to the Cyanogen name, the project rebranded its fork as LineageOS.

LineageOS was officially launched on December 24, 2016, with the source code available on GitHub. Since that time, LineageOS development builds now cover more than 185 phone models with over 1.9 million active installs,having doubled its user base in the month February–March 2017 And if you would like to contribute to LineageOS, please visit out Gerrit Code Review.​

What's working :

Boots

RIL (Calls, SMS, Data)

Fingerprint

Wi-Fi

Bluetooth

Camera

Audio

Sensors

Flash

LED

GPS

Known issues :

selinux permissive

Installation procedure

1. Boot in to twrp

2. Format data by typing yes

3. Reboot to twrp & wipe everything

4. Now flash Rom.zip & Gapps.zip

5. wipe all except system & vendor again

6. Reboot system​

XDA:DevDB Information

LineageOS, ROM for the Asus ZenFone Max Pro M1

Contributors

SagarMakhar , Nguyenhung9x (Viet Nam - TP.HCM)

Source Code: https://github.com/sagarmakhar/andro...el_asus_sdm660

ROM OS Version: Android 10

ROM Kernel: Linux 4.x

ROM Firmware Required: latest available

Based On: AOSP

Download Rom​
[Asus ZenFone Max Pro M1  Guides, News, & Discussio] nguyenhung9x2018:
CHANGELOG

18/02/2020
Initial build
[Asus ZenFone Max Pro M1  Guides, News, & Discussio] RedGreenBlue123:
Why are you creating this thread in discussion section instead development???
[Asus ZenFone Max Pro M1  Guides, News, & Discussio] nguyenhung9x2018:
I can't create this thread in discussion
[Asus ZenFone Max Pro M1  Guides, News, & Discussio] RedGreenBlue123:
so you must ask a moderator for help. If you keep your thread in the discussion section, no one will know and try your rom.
[Asus ZenFone Max Pro M1  Guides, News, & Discussio] nguyenhung9x2018:
THREAD CLOSE AND I MOVE TO https://xdaforums.com/asus-zenfone-...neageos-17-1-asus-zenfone-max-pro-m1-t4053327

{Mod edit: THREAD CLOSED on request of OP}
[Xiaomi Redmi Note 3 Questions & Answers] iwingmusic:
i'm using latest oreo RR on my kenzo for years because it has very good signal. sadly now the security patch is out of date.

so the question :

is it possible to update security patch manually e.g. flashing custom kernel?

because i don't want to switch rom since i've tried many pie and Q roms without suffering from poor signal and bugs while i work with internet based job everyday.

thank you.
[Xiaomi Redmi Note 3 Questions & Answers] n0b0dy666:
No.
[Xiaomi Redmi Note 3 Questions & Answers] iwingmusic:
okay thx for your reply.

so i wonder where the security patch exactly is placed on the android partitions? how come it could not be updated manually? i just want to know it for educational purpose.
[Xiaomi Redmi Note 3 Questions & Answers] n0b0dy666:
Android Security Bulletins (ASB) are released each month and it's up to developers to merge those changes with their code. Theoretically you can do it yourself, but it requires some knowledge on Android development, especially with backporting it all the way back to Oreo.
[Xiaomi Redmi Note 3 Questions & Answers] iwingmusic:
many thanks.
[Samsung Galaxy Tab S4 Questions & Answers] DarkDvr:
Non rooted, fully stock ROM.

Strange bug - quite often after tab was sleeping for a long time, I cannot unlock it, screen just goes to sleep right after unlocking it. And if I switch to my second profile, it unlocks, but apps do not launch, at all. I see the "tap" animation on the icon, but nothing happens. Launcher works just fine, but no apps launch.

Clearing cache from stock recovery didn't help. Only restart fixes it.

Anybody encountered this issue before?
[Touch Diamond, MDA Compact IV General] bdormael:
My autolock is set for 2 minutes.

When I'm receiving a call, I can answer, so no problem here.

When calling for more than 2 minutes, the phone goes into autolock.

Then it switches back to the home screen so I cannot see my caller screen anymore.

Ofcourse I can disable autolock or make it longer than 2 minutes, but that's not what I wanna do.

Anyone knows a registry tweak or something else that the autolock doesn't activate during a phonecall ?
[Touch Diamond, MDA Compact IV General] bdormael:
nobody has a clue ?
[Galaxy S III Q&A, Help & Troubleshooting] Ismail_mobile:
Some one please help me i have important data in my phone and i have forgotten my mobile pattern please show me some method to recover my data by knowing my pattern thanks soo much
[Xperia Z5 Compact Android Development] Ryu--X:
Hi Bernie,

First things first : Thank you so much for your amazing work on this device.:highfive:

So hard to find a good, compact and up to date smartphone.

So i tried your Los17.1 and i just noticed another issue : ram usage.

Without nor the gapps neither other apps installed, the system is using 1.6go ram (even the keyboard can take time to appear once you launch an app)

On your Los14.1 (i tried with the last one you created, a few days ago) : it would be something like 0.8go ram (so everything run smoother) still without gapps and other apps / settings.

Maybe, now our days, 3go ram is mandatory for android + gapps + 3rd party ...
[Xperia Z5 Compact Android Development] Berni-0815:
I know about that. I've tried with gapps and I can confirm that ram is running out of free space. Sometimes the system is not responding any more (screen is flickering and it seems that nothing happens) and I have to restart it (press power button quite a long time until power menu appears).

It is indeed far away from being a daily driver... :angel:

Another issue: It seems that location services (gps) are not working.

Does anybody confirm that?
[Xperia Z5 Compact Android Development] casouzaj:
Although Bernard warmed us that this ROM is not precisely ready yet, I tried to give it a go, Twice, already. At each time, some variations: with and without gapps (Pico and Nano), via the recommended TWRP and the 3.3.1 one. The result is always the same: after the language selection, my phone reboots on the 'Just a sec', endlessly. I have to restore a nandroid backup, on order to have a working phone again.
[Xperia Z5 Compact Android Development] Ryu--X:
I can confirm that unfortunately GPS isn't working.

By the way, i saw many other good roms on many devices ... that had an alpha rom far worse than this one ;)

i didn't have this behavior on my tests, but i usually let the system start and wait for few minutes before using it (especially on 1st boot).

Also, i always reboot once after the 1st boot.

Hope it will help :)
[Xperia Z5 Compact Android Development] Berni-0815:
Clean install?

That should not happen... :confused:
[Xperia Z5 Compact Android Development] Berni-0815:
You have to enable google's location service in location settings. With that, maps is working with correct location; but I don't know if the location comes from gps, wlan or network. It's raining since many days and I don't want to stand outside in the rain and wait for gps connection... :angel:

I've tried to install f-droid and their location services; no better results...

Yes, I know. The problems are always the closed-source binaries from qualcom and sony that are not properly working on LineageOS versions > 14.1 :(

We're working on it but I'm not able to say if we can fix these issues.
[Xperia Z5 Compact Android Development] Berni-0815:
BTW:

Is anyone able to make an outgoing call successfully?
[Xperia Z5 Compact Android Development] casouzaj:
Yup,, every single time!
[Xperia Z5 Compact Android Development] Berni-0815:
As I said, that should not happen...
[Xperia Z5 Compact Android Development] Ryu--X:
i tried both calling and receiving a call without issue.

Just a pop up saying mobile network is unavailable ,at the end ,when i hang up (but it's wrong, network is still available)
[Xperia Z5 Compact Android Development] Berni-0815:
Weird! At my device this popup comes in the moment when trying to make an outgoing call. And this call is not started! The other end does not ring!

Could you please tell us, which preferred network type is set in *#*#info#*#* "Phone info" and in "Mobile network settings" (see screenshots)?
[Xperia Z5 Compact Android Development] Jelliol:
I'm not on any aspect a Dev but I give you all my energy on continuing the developpment of this ROM.

Any other support available ?
[Xperia Z5 Compact Android Development] Ryu--X:
Here it is !
[Xperia Z5 Compact Android Development] Berni-0815:
And you can make an outgoing call sucessfully? The other end rings and you can make a call?
[Xperia Z5 Compact Android Development] Ryu--X:
Yes exactly , both ways are ok (incoming and outgoing).
[Xperia Z5 Compact Android Development] Berni-0815:
Hmmm. Then is must be a problem with my german providers (with their apn I think); I've tested two: T-Mobile and O2. With both I can't make outgoing calls... :eek:
[Xperia Z5 Compact Android Development] Ryu--X:
Pretty strange, indeed.

The phone i tested with is on another provider than my z5c.

I got to say that i checked the apn before making my tests, and they were good.

I will retry with the new version tonight .

Thanks :)
[Xperia Z5 Compact Android Development] weasal:
The APN shouldn't matter for regular calls unless you're using Wifi calling or VoLTE, maybe disable both and see if it works.
[Xperia Z5 Compact Android Development] Berni-0815:
Oh, I'm working more on los15.1 than on 17.1, because los15.1 is way more stable than 17.1!

And since they are using nearly the same sources it will be easy to transfer any progess.

Please have a look at older posts in this thread.

Hardware and closed source software. Both of them cannot be changed by us.
[Xperia Z5 Compact Android Development] Andro-n00b:
Cheers for the reply, mate. = )

So, I've finally had time to look a bit into this, and I'm digging up and collecting information on the issues described in this thread, as well as other info about the actual phone.

I have collated what I've got so far, in this google drive:

https://drive.google.com/drive/folders/1zhUvLh-Ab6F-k7T9wV4xrFt2g2oeK4ot?usp=sharing

The main thing I've been pondering, is the Hardware Abstraction Layer - and specifically, the shift from the Legacy-HAL used in Android 7, and the new one, used in Android 8 and onwards. Could this be the issue? Also, the HAL you tried using, for the Nexus 6P - that one is written for the Snapdragon 810 v2.1 - I'm going to guess this is a much later revision of the chip.

In case none of you knew it, the original 810 was rushed out to market, as the first 64-bit Snapdragon CPU, and featured a rushed, barely altered implementation of the basic ARM Cortex A57 and A53 cores - the results were severe issues in power-management, among others - BUT...! There are references online to the fact that some of the issues were fixed in CPU silicon-changes later in the CPU's life-span.

Hence, I'm wondering... what kind of version of the 810 does the E5823 use? And could the alterations to the CPU/SoC be causing the incompatibilities you're experiencing while adapting the HAL?

Have a look at my Word-document when you have the chance - I try to list all my queries in there, and I postulate a bit on what potential solutions there could be.
[Xperia Z5 Compact Android Development] Berni-0815:
I don't get access to it.

I don't know. But since the legacy HAL is no longer usable and other devices are using the new HIDL, it must be possible to use it too.

I think the main blocker are the blobs.
[Xperia Z5 Compact Android Development] Berni-0815:
New version out; see 1st post.

Android security patch level: 5 July 2020

Memory issues finally fixed! :fingers-crossed:
[Xperia Z5 Compact Android Development] Berni-0815:
Information for german users:

The App "AusweisApp2" is still not working! There is still this well-known "extended length" error.

It's not easy to fix because los17.1 is using other variables than every los version before.

Please be patient.
[Xperia Z5 Compact Android Development] &(*):
What was the solution for the RAM usage, changing the repo path for the build to GO?
[Xperia Z5 Compact Android Development] Ryu--X:
+1 ! i really would like to know on this one !

Anyway, great news : you rule, Berni ! :good:
[Xperia Z5 Compact Android Development] Berni-0815:
I can't tell you en detail, because that hasn't been my own work. If I understand it right, some "closing" function calls in kernel had been missing so that the memory consumption had been growing on and on.

Plus a number of minor fixes.

Please take a look into the kernel sources I mentioned in my 1st post.
[Xperia Z5 Compact Android Development] casouzaj:
There's an error in (all?) LineageOS 17.1 builds (I've already reported it in the corresponding Moto G4 Play thread) regarding wrong locking screen mechanism. If a PIN, password or pattern is set to unlock the screen, in a way that 'Lock after screen timeout' for the is set to any value (e.g. 10min), if 'Power button instantly locks' is turned on, as soon the phone goes to sleep it is immediately locked. That should happen only if the power button had been pressed. Otherwise, it should be locked only after the defined timeout.
[Xperia Z5 Compact Android Development] Berni-0815:
If this is really a global LineageOS 17.1 error, you should report it at lineageos.org's bug tracker.
[Xperia Z5 Compact Android Development] Berni-0815:
Fixed! Will be available in my next published version.
[Xperia Z5 Compact Android Development] Feinliebe:
Has anyone managed how to enable google pay with nfc on this rom?
[Xperia Z5 Compact Android Development] Berni-0815:
I don't think that google pay will work on a custom rom without many changes. There have been many tries to manage it to work; for example using magisk and their root hiding tool.

But I'm working on a solution. Due to not havong google pay I can't test it. In my next published version (when the Android security patch level has been updated) there will be my solution included.

Please be patient.
[Xperia Z5 Compact Android Development] litelinux:
First of all, thanks for the rom! Never thought my z5c would receive updates after nougat.

However there's a super annoying problem: The "Network standby" is draining the battery. Tried most of the methods online, including

Turning off VoLTE

Disabling "Mobile Data Always Active" in developer settings

Setting mode to 3G only

Tinkering with carrier settings

Wiping data and cache from recovery

None of them worked. I'm assuming it's a kernel problem.

Can't post screenshot for some reason tho(didn't see the button)

Hope this gets fixed soon! Thanks in advance.
[Xperia Z5 Compact Android Development] Berni-0815:
High battery consumption is a known problem! And you're right, it's a kernel problem. But we have found a solution.

I am currently building a new ROM. Although there are no innovations regarding the camera, I will post this ROM here as soon as possible.
[Xperia Z5 Compact Android Development] Berni-0815:
In the meantime you can decrease battery consumption by deleting unneeded apps.

Connect the device via USB cable, wait for connection and enter these lines (one line after the other):

adb root
adb shell

mount -o remount,rw /

rm -rf /system/product/app/Email
rm -rf /system/product/app/Exchange2
rm -rf /system/product/app/Jelly
rm -rf /system/product/app/Recorder
rm /system/product/priv-app/Eleven/Eleven.apk
rm /system/product/priv-app/Gallery2/Gallery2.apk

Reboot!

The device MUST be rooted! Otherwise you can't make these changes.

All the apps mentioned above are known as battery killers. You can easily replace them with other apps.

k-9 mail for e-mail

firefox for browser (jelly)

simple gallery for gallery
[Xperia Z5 Compact Android Development] litelinux:
[MENTION=7749536]Berni-0815[/MENTION] Wow thanks for the quick reply. Will definitely do so. Cheers
[Xperia Z5 Compact Android Development] Berni-0815:
New version out; see 1st post.

Battery consumption significantly reduced! For further reduction, please follow these instructions.

Google Pay does not give an error when starting the app. This does not mean, that payment is working. I can't test it, because I don't use this feature at all. Please report if it's working or not.
[Xperia Z5 Compact Android Development] Feinliebe:
Thank u 4 keeping our device updated.

Google pay issue is still there. I fond a way to pass google pay with magisk modules but phone just doesnt react to payment Terminal. It doesnt give any error, vibration or sound just like there is no nfc contact. However nfc works fine with my ble speaker.

Also when my phone is turned off and i connect charger, sony logo appears and it stays there until i disconnect charger and physically reboot my phone (power + volume up). Am i the only one facing this issue?

Btw is there any development related to camera fix?
[Xperia Z5 Compact Android Development] casouzaj:
Wow, out of the blue, I could make a WhatsApp video call. Right afterwards, I launched the camera app and Cameringo+ (see attached pic) and they both worked! However, some minutes later, camera showed black screen (but no popup error message). I rebooted and camera is working again (don't know for how long). What???
[Xperia Z5 Compact Android Development] casouzaj:
I haven't noticed any battery consuption improvements in the latest build, even after having deleted the suggested apps and directories, but what annoys me most is that system management throws apps from memory, even the one left open. E.g. I'm listening to YT music throgh BT headsets. Minutes after the screen goes out, music stops. I wake the phone up again, and YT music is no longer running.. Even worse: I'm reading e-mail messages through Gmail and, suddently, it is thrown out. I was not facing these issues on the previous build. Anyone else facing this?
[Xperia Z5 Compact Android Development] litelinux:
[MENTION=7749536]Berni-0815[/MENTION] Thanks for the update! Battery consumption is solved on my unit, giving me up to 23 hours of moderate usage.

[MENTION=346743]casouzaj[/MENTION] Have you tried disabling battery restriction on the YT music app? (As for the gmail app, I have no idea)
[Xperia Z5 Compact Android Development] casouzaj:
Thanks for the reply, but both Gmail and YT Music apps were already not optimized. I guess memory management is too aggressive in this build.
[Xperia Z5 Compact Android Development] Berni-0815:
Then I have no more ideas!

No. I've noticed this yesterday too; weird!

Unfortunately no.
[Xperia Z5 Compact Android Development] Berni-0815:
I'm using an alternative kernel. That kernel seems to make more problems than expected. I'll try our own kernel again asap.
[Xperia Z5 Compact Android Development] casouzaj:
I hope this alternative kernel is not responsible for the camera to be working, because in an attempt to test memory management in the 0722 build, I flashed it for some time, but there, camera throws the popup error message, whereas it works in the 0805 build.
[Xperia Z5 Compact Android Development] Berni-0815:
No. This kernel allows much lower battery consumption. But offline charging and LED notification doesn't work in this kernel.

You (as user) have to decide what you need more:

Offline charging and LED notification

OR

Much lower battery consumption

We fixed memory management issues around july 23th: Klick

The camera is really working in all circumstances? I can't believe it because no one of us managed the camera to work.
[Xperia Z5 Compact Android Development] casouzaj:
No, camera doesn't work in the 20200722 build (popup error message thrown when camera app is launched). Camera fully working (including flashlight) in the 20200805 build. I'm keeping this build. My point is that memory manager often throws away the app currently running!
[Xperia Z5 Compact Android Development] Berni-0815:
In which version?
[Xperia Z5 Compact Android Development] casouzaj:
In the latest one, 20200805.
[Xperia Z5 Compact Android Development] &(*):
ffmpeg, ffprobe

Berni, please compile and include with the next version ffmpeg & ffprobe. The two CLI's will help debug other camera apps that do not work correctly. Do other camera apps work now, I wonder?

The battery charging splash issue may be due to modifications of the kernel or a simple fix somewhere in /system. Ask tarkzim, he is the one who patched the kernel last, right?
[Xperia Z5 Compact Android Development] Berni-0815:
That's not good! :(
[Xperia Z5 Compact Android Development] Berni-0815:
I don't know how and I see no sense in doing that!

I'm working on every issue discovered in last version.

The kernel is fixed by another guy; we're only using these changes.
[Xperia Z5 Compact Android Development] threader:
Can you try 'Open Camera'? (https://play.google.com/store/apps/details?id=net.sourceforge.opencamera&hl=en)
[Xperia Z5 Compact Android Development] casouzaj:
When I started it, after required permissions were granted, just black screen showed up, but after setting it up to Camera 2 API, it worked as well, from both back and front cameras.
[Xperia Z5 Compact Android Development] Berni-0815:
I've tried that too; without any success.
[Xperia Z5 Compact Android Development] snorlex:
Bluetooth is drive me crazy...
[Xperia Z5 Compact Android Development] Berni-0815:
I can't see any of your pictures! What's going wrong?
[Xperia Z5 Compact Android Development] snorlex:
is reconecting forever
[Xperia Z5 Compact Android Development] Berni-0815:
Once again; I can't see any of your pictures! Don't know why... There are problems with this website:

"404 Not Found

nginx/1.17.7"

BTT: Is BT reconnecting with every device? Or only with one device?

Any times? Or only after screen has gone out?

I have tested it with a BT headset; that's working as expected.