yashsingh1/xdaforums huggingface dataset:
[Xiaomi Mi Mix 2 ROMs, Kernels, Recoveries, & Other] AndyYan:
June patch should be here shortly, but before that I'd like to do a little survey: https://www.strawpoll.me/18107115

"Navbar stays on the right side of the screen under 270° rotation" has been in my builds since the beginning of Oreo, and I've personally enjoyed it, but now that I own some notched devices, I found out that this change doesn't work well with them, and I'd have to shell out more building time just to build variants with/without this change for unnotched/notched devices. Come to think of it, I rarely use 270° rotation anyway, so maybe it's time to let it go, but at the same time I want to know if there's anyone out there who genuinely like this change. If that number is overwhelming then I'll keep it and try to figure out what I can do to fix it for my notched devices instead, otherwise we'll just return to AOSP behaviour.
[Xiaomi Mi Mix 2 ROMs, Kernels, Recoveries, & Other] blinkycan:
idk for others but i never use 270°and barely 90°, most of time portrait mode
[Xiaomi Mi Mix 2 ROMs, Kernels, Recoveries, & Other] gsser:
Even if it is not compatible with notched devices, they can simply disable the option and other users could be happy, keeping both sides happy is the best... Notch users can just toggle it off to solve it easily, people with no notch may need it tho
[Xiaomi Mi Mix 2 ROMs, Kernels, Recoveries, & Other] AndyYan:
It's not an "option", at least not as of now. As I said I'll need to further work on it to either fix how it looks for notched devices or add a toggle/prop for it.
[Xiaomi Mi Mix 2 ROMs, Kernels, Recoveries, & Other] salahmed:
[MENTION=4467696]AndyYan[/MENTION] sorry for the off-topic post, but have you tried the MIUI stable V10.3.5.0.ODEMIXM, and is it possible to test then going back to Pixel Experience without wiping internal data?
[Xiaomi Mi Mix 2 ROMs, Kernels, Recoveries, & Other] AndyYan:
Regarding the navbar, thanks to all who voted for your opinions. I've looked into it and it seems that controlling the behaviour via a self-defined prop is quite easy (so easy I wonder why I didn't do it originally *facepalm*), and I'm building it for testing right now. If this goes well, you'll have AOSP behaviour as default, but can enable the alternative behaviour by simply setting a prop in build.prop or via console.

You're asking the wrong guy, I never headed back to MIUI...
[Xiaomi Mi Mix 2 ROMs, Kernels, Recoveries, & Other] salahmed:
Thanks, I expected that, I love PE and been running on my phone since six months (I guess), no complaint and really appreciate your hard work. It is just that itch to try something new but I guess I am not missing that much :P
[Xiaomi Mi Mix 2 ROMs, Kernels, Recoveries, & Other] AndyYan:
The navbar control works splendidly (doesn't even need a reboot) - will be in the next update.

I also have some other to-dos (e.g. removing WiFi polling limit, [MENTION=9772207]blinkycan[/MENTION] ) queued up, which I'll be taking caring of and testing one by one.

EDIT: [MENTION=9772207]blinkycan[/MENTION] - please grab the test build in SF's Testing folder and test WiFi polling stuff on it.
[Xiaomi Mi Mix 2 ROMs, Kernels, Recoveries, & Other] blinkycan:
ho ok thanks i will try but what's the correct way to backup the whole phone in twrp (i'm on aex rom)? there is many tickboxs when you want to backup from recovery
[Xiaomi Mi Mix 2 ROMs, Kernels, Recoveries, & Other] AndyYan:
Everything except internal storage? That's how I test these builds before uploading.

EDIT: Sorry, thought you meant wipe. As for backup, I'd do boot+system+data+vendor.
[Xiaomi Mi Mix 2 ROMs, Kernels, Recoveries, & Other] woofwoof75:
I hide navbar on my phone now. I use Fluid NG.
[Xiaomi Mi Mix 2 ROMs, Kernels, Recoveries, & Other] edwardsmark99:
Has anyone installed the latest PE ROM? Thoughts? I'm currently running a build from back in Feb with no issues. V4A working fine. Fortnite running rock solid too. ?
[Xiaomi Mi Mix 2 ROMs, Kernels, Recoveries, & Other] blinkycan:
thanks i have tried to do a backup but the twrp do not longer recognize my password, it was working fine previously. i'm using the recommend pie fw and Wight twrp from the first post
[Xiaomi Mi Mix 2 ROMs, Kernels, Recoveries, & Other] Alexyerga:
Hi, it doesn't appear the bluetooth icon in the status bar while active on latest AEX.
[Xiaomi Mi Mix 2 ROMs, Kernels, Recoveries, & Other] lyvidium:
Thanks for the builds. Just got the phone the other day, flashed PE, i had it before on xiaomi redmi note 4x. Everything works like a charm.
[Xiaomi Mi Mix 2 ROMs, Kernels, Recoveries, & Other] Mollic:
Has anyone had any problem with latest RR ? can't update [MENTION=4467696]AndyYan[/MENTION]

check quote for error
[Xiaomi Mi Mix 2 ROMs, Kernels, Recoveries, & Other] candiduslynx:
wipe vendor, system, flash recommended fw, flash ROM
[Xiaomi Mi Mix 2 ROMs, Kernels, Recoveries, & Other] Mollic:
well that sucks, i was hoping for a normal update as usual lol
[Xiaomi Mi Mix 2 ROMs, Kernels, Recoveries, & Other] AndyYan:
Your quote is empty, but I'm assuming you forgot to flash Pie FW like many did.
[Xiaomi Mi Mix 2 ROMs, Kernels, Recoveries, & Other] Mollic:
Really? im pretty sure there should be a photo with the error, i can still see it,. also im pretty sure i already have pie FW cause im already running pie RR just some other version ( havent updates in few months so i was looking to update to last month build today ) here is pic link : https://img.xda-cdn.com/xuyiQWNTZTyR7_KGj2IMW0TUWw8=/http://i.epvpimg.com/En70eab.jpg
[Xiaomi Mi Mix 2 ROMs, Kernels, Recoveries, & Other] AndyYan:
That's precisely the error I'm expecting. The May update post stated explicitly that we've switched to Pie FW (terminology: FW based on MIUI Pie, as opposed to MIUI Oreo).
[Xiaomi Mi Mix 2 ROMs, Kernels, Recoveries, & Other] thrl:
Me to, I love it!
[Xiaomi Mi Mix 2 ROMs, Kernels, Recoveries, & Other] lyvidium:
Fluid NG is great i use it too but would like to see some sort of gestures navigation implementation like that built into rom.
[Xiaomi Mi Mix 2 ROMs, Kernels, Recoveries, & Other] AndyYan:
New builds.

Synced with Wight and upstream.

- "Navbar stays on the right side of the screen under 270° rotation" is now optional, set the behaviour with "setprop persist.ui.seascape.disable <true|false>" in a rooted shell

- New version of Placeholder kernel, with support for changing TTL ( [MENTION=6764592]Reuta[/MENTION] )

- Relaxed WiFi polling limit ( [MENTION=9772207]blinkycan[/MENTION] )

- LOS: signature spoofing support (courtesy of MicroG project)

- LOS: upstream features such as battery styles (finally fixed), expandable volume panel, advanced tiles

- Other features that I didn't bother tracking/verifying?

As some of you might already know, I've got a Redmi K20 Pro as my new primary device; Mix 2 will stay in my arsenal, though I might not be able to test builds on it as extensively as before.
[Xiaomi Mi Mix 2 ROMs, Kernels, Recoveries, & Other] salahmed:
Congratulations on the new phone, it is a great one.

I was thinking of getting the Mi 9T Pro (the rebranded K20 Pro global version), do you think there will a possibility for the ROMs to be cross compatible between the two? I am not sure if the two phones are exactly identical in hardware!!
[Xiaomi Mi Mix 2 ROMs, Kernels, Recoveries, & Other] kurtextrem:
I'm still curious behind the thoughts on having all clusters on around 1800 (?) mhz all the time. Doesn't sound too energy saving for me?
[Xiaomi Mi Mix 2 ROMs, Kernels, Recoveries, & Other] gsser:
On placeholder, idle drain is between -150 and -250mA.

While on skizo latest, it is between -70 and -150mA which is more efficent and less powrr consuming. I still dont get why clusters are at 1800mhz
[Xiaomi Mi Mix 2 ROMs, Kernels, Recoveries, & Other] kurtextrem:
Same experience, although skizo makes the UI lag. I'm simply using an older placeholder kernel, where Sultans commits were not in yet. I still have no idea why Sultan would come to the conclusion these are the most efficient frequencies. Different frequency steps adjusted according to workload to save energy might be one of the best features modern CPUs have.
[Xiaomi Mi Mix 2 ROMs, Kernels, Recoveries, & Other] gsser:
It is like low mhz cores running at 500mv while at higher mhz cores running at 1000mv
[Xiaomi Mi Mix 2 ROMs, Kernels, Recoveries, & Other] AndyYan:
Official LOS 16.0 seems to be ready (you can see that Mike just opened a thread for it).

Friendly reminder that 1) official uses Oreo FW, and 2) you'll need some steps to migrate between official/unofficial without wiping /data (refer to LOS wiki).

Hmm, I switched to the new version of PK without knowing this, and I only tested battery performance in-use (which seems better than before). Is the governor schedutil as it should be?
[Xiaomi Mi Mix 2 ROMs, Kernels, Recoveries, & Other] woofwoof75:
We have now new battery icon?
[Xiaomi Mi Mix 2 ROMs, Kernels, Recoveries, & Other] blinkycan:
wifi is working well thanks
[Xiaomi Mi Mix 2 ROMs, Kernels, Recoveries, & Other] AndyYan:
Too early to tell, but given Xiaomi's track history I'd say yes.

I've picked that topic early on, but up till last month it had a bug where the icon would stay black when the phone's charging. This has now been fixed and the feature is now officially merged.
[Xiaomi Mi Mix 2 ROMs, Kernels, Recoveries, & Other] gsser:
Governor is fine, it is just the clocks. You can test skizo aosp and sar asop. Idle drain is significantly more with placeholder. Deepsleep battery drain is same though but on placeholder, it really doesnt want to deepsleep a lot
[Xiaomi Mi Mix 2 ROMs, Kernels, Recoveries, & Other] kurtextrem:
I stopped using the latest builds since 03-05, because of the following commits:

"- 600dd49bc360c arm64: configs: Remove zRAM [Sultan Alsawaf] "

zRAM is useful even on devices with a lot of RAM, as it drastically reduced need for read/writes on the ssd (-> pagefile)

"- 48962cd021b41 msm: mdss: Reduce display commit latency caused by deep CPU idle [Sultan Alsawaf]"

Lead to increased battery usage. I'm not sure if Sultan is testing for battery consumption. I guess he wants performance (No hate, just observation!). Commit got reverted later.

And later on, Sultan "found out" that 1800 Mhz are "better" in terms of battery consumption/performance for the 835, so since then it frequencies have been set as fixed basically. All lower min frequencies have been removed. How he benchmarked it is unknown, and I haven't found where he said that anyway. Schedutil is still the default scheduler (or was, in one commit I saw Sultan changed the scheduler of the little cluster to performance. Yes, to performance. Nothing changed on big - as I said, min freqs got removed)

This was the biggest reason why I stopped using it. No one can tell a computer science student frequency switching leads to increased battery usage.

When we're at it: I think deadline is better than cfq -> https://wiki.ubuntu.com/Kernel/Reference/IOSchedulers. The Ubuntu Kernel Team benchmarks it every here and then (results here: https://kernel.ubuntu.com/~cking/fs-tests/jan-2019/)
[Xiaomi Mi Mix 2 ROMs, Kernels, Recoveries, & Other] AndyYan:
Since I've moved away from Mix 2 as a primary, I can't test/compare standby drain... Thanks for the input.

Please check PM.
[Xiaomi Mi Mix 2 ROMs, Kernels, Recoveries, & Other] AndyYan:
Think I need more feedback, especially from daily usage... If you do experience increased battery drain and/or heating up, please state it loud and clear. We can always return to the older PK if the new one hurts more than it benefits, eh?
[Xiaomi Mi Mix 2 ROMs, Kernels, Recoveries, & Other] AndyYan:
For those few like me who are using unencrypted storage, you might notice that DecScript doesn't work if you've updated your TWRP recently. I just looked into it and found out it's because I hardcoded it to use busybox (which is now gone), and so I rewrote it from scratch. Meet the new DecScript-Universal-v2, less than 1% of the original in size but achieves 100% the same target. Currently in Testing folder, but if confirmed working I'll replace the original with it. Moved out of Testing.
[Xiaomi Mi Mix 2 ROMs, Kernels, Recoveries, & Other] rastalord:
Hi [MENTION=4467696]AndyYan[/MENTION]. Thanks for the work you put on the ROMs. I have been using Pixel Experience ROM on a daily basis in the last couple of months. I have been getting a random reboots in different scenarios such as browsing, eBay app, WhatsApp etc. I am not sure what is causing the random reboots. It was the same on the version from May and the issue persists in the most recent one, from few days ago. I am using the recommended firmware and I did a fresh install, with wiping data, cache, system, vendor (everything except internal). I am using the ROM as it is. The only thing I have done is adding a DNS server from adguard to block ads.

The battery drain is around 1% per hour in idle. I think this is abnormal too. I am not sure if the fact that I use dual sim and low network coverage (I am in the UK) has something to do with. I have not had few charge cycles but seems like Google Play Store is draining a lot of battery (30% and 16hrs running in background) . I am willing to test things out for you if you need some testing.
[Xiaomi Mi Mix 2 ROMs, Kernels, Recoveries, & Other] dairinin:
Mr. AndyYan. I installed the latest version of AEX , saw that little cluster is locked at top freq, saw a big cluster locked at 1900, and reinstalled the previous one. There is no single evidence that a CPU locked at top speed and voltage will consume less than switching one. The big question is, when one comes in and states such an astonishing theory, the community MUST demand for very serious numbers, I mean there must have been lots of testing in different scenarios to advocate for such a revolutionary statement. I even believe such a discovery would change the whole IT industry, so we even should see at least an article in IEEE or some doctorate thesis in a short time. Until then I believe there is no need to switch from a good old practice of lowering CPU frequency and voltage when possible. At least this is how upstream kennel development goods on. Btw, mine little cluster's most used frequency is not 1900, it's 600

Отправлено с моего Mi MIX 2 через Tapatalk
[Xiaomi Mi Mix 2 ROMs, Kernels, Recoveries, & Other] AndyYan:
Not sure about reboot either, and not something I've heard of from others in a while.

Not sure if you already know, but now the cores are switched on/off instead of freqs scaling high/low.

I agree that serious proof would be needed to truly persuade everyone; however, based on currently collected feedback (over the past 2 days), about half of the respondents actually are reporting better battery life (in-use and/or standby) than before. Real-life data is the "evidence" I'll take until Sultan himself explains it better.

You should probably go ahead and use it, give it a comparison in your own use case, then come back and tell everyone your actual experience.

Tell you guys what, I feel torn and somewhat frustrated right now. I'm receiving conflicting feedback, and the negative ones (like yours) are mostly attacking Sultan's tactics, which I can't agree or deny (I'm not a kernel expert). I don't want to ignore your opinions, but this is a technical debate that should be taken to Sultan himself.

Also, yes it's possible to go back to the old PK, but since Wight is set on using the new one, we'll either use the Lineage kernel (HMP instead of EAS), or be stuck with the old unmaintained PK... or someone here on the negative side can join the fray and maintain a kernel of his own?

Feel free to stay on an older build until this is sorted out.
[Xiaomi Mi Mix 2 ROMs, Kernels, Recoveries, & Other] AndyYan:
I've asked Wight and he doesn't mind me mirroring his PK builds (which are only released in Telegram channel), so I've mirrored a build that's near identical to what we've been using up till last month.

https://sourceforge.net/projects/an...aceholder-kernel-chiron-20190319.zip/download

This should serve as an intermediate solution for those who aren't satisfied with the current behaviour, and also a base for fair comparison.
[Xiaomi Mi Mix 2 ROMs, Kernels, Recoveries, & Other] dairinin:
Mr. AndyYan, here is the original commit by Sultan with his explanation. Could you please take a look?

https://github.com/kerneltoast/andr...mmit/0c177d1591ca26b9e5157e390089babf34307efd

Отправлено с моего Mi MIX 2 через Tapatalk
[Xiaomi Mi Mix 2 ROMs, Kernels, Recoveries, & Other] justinlee999:
On the latest build with the changes made by Sultan, I left my phone overnight from 99%, and it drained to 91% when I woke up. This doesn't seem out of the ordinary to me, so I'd say the changes to battery life efficiency is minimal either way at least when the phone is idling.

I'll flash Wight's kernel to see what happens though.
[Xiaomi Mi Mix 2 ROMs, Kernels, Recoveries, & Other] Jellyfish Gun:
I'm using the latest RR with latest kernel.So far The battery performance is not bad. But I have also been getting random reboot,Does anyone have this problem like me?
[Xiaomi Mi Mix 2 ROMs, Kernels, Recoveries, & Other] gsser:
Whichone is wight's kernel
[Xiaomi Mi Mix 2 ROMs, Kernels, Recoveries, & Other] kurtextrem:
Both are. The old one AndyYan linked is from March (with the old frequency scaling), the one in the latest builds is from June (I think), with the new frequency scaling inspired by Sultan.
[Xiaomi Mi Mix 2 ROMs, Kernels, Recoveries, & Other] rastalord:
Seems that the DNS was the problem. After a bit of reading, it seems to be an issue that is also found in Pixel Phones running Android 9.0 Pie. After full discharge and charge, no more Play Store drain. I have been using the phone in the last 24 hours and with the built-in kernel (the one coming with the ROM) I lost about 5% battery overnight (8hrs) with location, wi-fi etc all switched off. I might test the ROM with the Placeholder Kernel from 19 of March (the one you provided). I would report the findings.
[Xiaomi Mi Mix 2 ROMs, Kernels, Recoveries, & Other] Freddy915:
Thank you, this kernel is more battery friendly.

Not my case, but I'm using latest AEX, though.
[Xiaomi Mi Mix 2 ROMs, Kernels, Recoveries, & Other] lyvidium:
I have only experienced some heating up, not too much but enough to notice the difference. other than that is battery seem to be fine as does the performance.
[Xiaomi Mi Mix 2 ROMs, Kernels, Recoveries, & Other] justinlee999:
Yeah, overnight the battery went from 99% to 92% with the older kernel, so not much difference when the phone is not being used, at least.
[Xiaomi Mi Mix 2 ROMs, Kernels, Recoveries, & Other] csoki0619:
Battery life is actually a little bit worse than before, my phone drains very fast even in idle mode.
[Xiaomi Mi Mix 2 ROMs, Kernels, Recoveries, & Other] Alexyerga:
Location does not work with battery saving. High accuracy gets location passed various minutes, by GPS. Latest AEX with native kernel and 20190319.
[Xiaomi Mi Mix 2 ROMs, Kernels, Recoveries, & Other] bearlify:
PixelExperience installs fine using the provided instructions, but sadly gets stuck at the Google logo when booting :(
[Xiaomi Mi Mix 2 ROMs, Kernels, Recoveries, & Other] yashar013:
Same here, the phone discharges very quickly in idle mode too
[Xiaomi Mi Mix 2 ROMs, Kernels, Recoveries, & Other] AndyYan:
Regarding battery life, it's been more than 2 weeks since the last release, and you already have your own verdict based on personal use cases. My observation stays the same - battery consumption when idle and in use didn't change much on my side.

According to Wight, the current kernel has another unrelated issue, and thus he's already rebasing it - with that we're back to using a CPU freq table with lower minfreqs (not exactly the same as before, but still low enough). I've tested it on my own device for a day and it seems to behave alright. Not sure if this alone could justify an update in the middle of the month though, if you're interested I might just do a single test build.
[Xiaomi Mi Mix 2 ROMs, Kernels, Recoveries, & Other] yashar013:
I can wait for the next month but if it's not too much trouble for you I would like to try this new test build

BTW I am using AEX
[Xiaomi Mi Mix 2 ROMs, Kernels, Recoveries, & Other] kurtextrem:
I've an idea instead: Can you release a zip of the latest PH that isn't SAR only? Then we could test and report back.
[Xiaomi Mi Mix 2 ROMs, Kernels, Recoveries, & Other] AndyYan:
Sorry guys, kinda busy with lab stuff recently...

Google should be pushing July patch later today, and LOS will have it by this weekend - if you've been waiting for it you shouldn't have to wait for much longer.
[Xiaomi Mi Mix 2 ROMs, Kernels, Recoveries, & Other] yashar013:
Don't worry, keep up the good work ??
[Xiaomi Mi Mix 2 ROMs, Kernels, Recoveries, & Other] kael thornton:
Wipe all without leaving anything? Even data?..
[Xiaomi Mi Mix 2 ROMs, Kernels, Recoveries, & Other] jedduff:
On the last PE build, the battery was awful for my phone. I installed the Placeholder kernel from March and now I have a pretty decent battery life! :)
[Xiaomi Mi Mix 2 ROMs, Kernels, Recoveries, & Other] AndyYan:
Getting some last-minute issues with building, might have to postpone this month's update for a lil. Hang tight.
[Xiaomi Mi Mix 2 ROMs, Kernels, Recoveries, & Other] salahmed:
Thanks for continuing your support, always appreciated your great work

Off-topic: how do you like your K20 Pro, and how the progress is going on custom ROMs for it?
[Xiaomi Mi Mix 2 ROMs, Kernels, Recoveries, & Other] AndyYan:
Still loving the high screen-to-body ratio, though its weight/size is starting to feel a little unwieldy.

No public progress on non-GSI ROMs yet. As for GSI, I implemented front cam auto popup/takeback yesterday which to many would be a huge plus.
[Xiaomi Mi Mix 2 ROMs, Kernels, Recoveries, & Other] AndyYan:
New builds.

Synced with Wight and upstream.

- New version of Placeholder kernel with less aggressive freq table

- Offline charging works again

- Other features that I didn't bother tracking/verifying?
[Xiaomi Mi Mix 2 ROMs, Kernels, Recoveries, & Other] salahmed:
Just asking to be sure! The latest PE still on June Security Patch?
[Xiaomi Mi Mix 2 ROMs, Kernels, Recoveries, & Other] AndyYan:
Just checked, you're right, they didn't merge. Usually PE would be the first among all to merge the sec patches so I don't think twice about it. Something's definitely wrong on their side this time...
[Xiaomi Mi Mix 2 ROMs, Kernels, Recoveries, & Other] Alexyerga:
Location by mobile networks doesn't work, only with GPS and Wi-Fi, at least on AEX, including latest.

Thanks for all, good ROM!
[Xiaomi Mi Mix 2 ROMs, Kernels, Recoveries, & Other] jaidoe:
Lineage OS: The stock clock / alarm doesn't work! Never had a problem until today so I'm assuming something is broken in the last release?!
[Xiaomi Mi Mix 2 ROMs, Kernels, Recoveries, & Other] sebad:
Cannot install latest build (PixelExperience 20190708). It says assert failed xiaomi.verify_trustzone("TZ.BF.4.0.6-00163") == "1".

Tried with latest TRWP/OrangeFox and 2 different firmwares.

[SOLVED] Used firmware version 9.5.8 and it works !
[Xiaomi Mi Mix 2 ROMs, Kernels, Recoveries, & Other] salahmed:
On latest PE the standby battery usage took a big hit for me, lost 6% in two hours!
[Xiaomi Mi Mix 2 ROMs, Kernels, Recoveries, & Other] AndyYan:
You're probably right, even I am seeing slightly steeper battery curve as well. I'll examine a new build with a cleaned-up kernel.

This brings us to a serious question - do you guys still want me to go for the latest, bleeding-edge from Wight (which I've been doing all this time) or do I stay on something tried-and-true for the releases and maybe do occasional testing builds to select the next candidate? The problem with testing builds is that people are using different ROMs and can't provide reliable testing result on a testing build that's not of their daily ROM (or simply won't flash one at all)...
[Xiaomi Mi Mix 2 ROMs, Kernels, Recoveries, & Other] jaidoe:
[MENTION=4467696]AndyYan[/MENTION] can you check the alarm clock!?