yashsingh1/xdaforums huggingface dataset:
[Honor 5X ROMs, Kernels, Recoveries, & Other Develo] joelh:
5/6 CI build is up:

Download

- May security patch

- SELinux Enforcing

- I haven't tested it

Includes the following gerrit topics:

q-clock-v2 sysserv-pie customdoze padding theme telephony recents-switch network-traffic uptime heads-up battery qs-count vendor-fixes q-aod
[Honor 5X ROMs, Kernels, Recoveries, & Other Develo] 50UND2 3NG1N33R:
Just installed and confirmed that it's enforcing. will update on performance after a days use.

Thank you Coldhans. Superb job.:good:
[Honor 5X ROMs, Kernels, Recoveries, & Other Develo] joelh:
5/7 Official and 5/8 Beta builds are up:

Official OTA

Download | Mirror

Beta

Download | Mirror

Official is still permissive, Beta is enforcing. No other differences.

Changelog:

Merged in May 2019 Security Patches
Add custom doze, it includes (may vary with device, don't complain if some are missing):
- Always On Display
- Wake on new notifications
- Wake on hand wave over device
- Wake when removing phone from pocket
- Wake when device is lifted
- Custom ambient brightness sliders for different sunlight levels
Power menu icons will follow custom accent on light theme
Allow choosing AOSP webview for those not using GApps
Fix clear all fab theming on Oreo recents when user is using white accent
Fix some statusbar icon padding
Add less boring/annoying heads-up option
Fix autohiding in network traffic and fix padding
Add big circle battery
Fix kernel modules going to right path
Disable oreo recents if quickstep is enabled
Add 5 Quick-Quick Settings option (collapsed quick settings)
Translation import and fixes
Set proper colour for battery text in statusbar
Do not animate expandable volume panel
Fix for TD-SCDMA bar
Q style lockscreen clock updates:
- Use Google Sans for clock font
- Align date/time/weather/alarm correctly on Q Clock style
- Set "It's" color to match system accent color
- Reduce top margin
[Honor 5X ROMs, Kernels, Recoveries, & Other Develo] mohamadrezai:
very very good
[Honor 5X ROMs, Kernels, Recoveries, & Other Develo] ElBerretin:
Excellent work as always ColdHands, very fluid ROM! I'm having problems rooting it after a clean flash though... Whenever I try to flash a Magisk .zip on recovery, the phone auto-reboots without finishing the process. Any workarounds?
[Honor 5X ROMs, Kernels, Recoveries, & Other Develo] sheryar rao:
hey Coldhans. can u build addonsu for this rom. ?
[Honor 5X ROMs, Kernels, Recoveries, & Other Develo] Vcadnza:
I've logs in case it helps interpreting the issue, taken with the latest official build, clean flash, no magisk, no xposed not even gapps or any other app installed; fresh as a daisy: https://pastebin.com/kVJpGiup

To ensure there's no hardware defect in my KIW-L21 device I ran some benchmarks. In Geekbench 4 my device achieved 609 SC and 2326 MC, in PCMark work 2.0 test I got 2996 points. Believe that's within normal range so I doubt my device's processor is somehow damaged as mentioned by one user.
[Honor 5X ROMs, Kernels, Recoveries, & Other Develo] joelh:
5/14 Official build is up:

Download | Mirror

Changelog:

SELinux is enforcing
Track AOSP Webview from LineageOS
Reduce top margin in Text lockscreen clock
Expose QS Panel statusbar background for themers
Pocket mode bugfixes
- The lock UI should no longer show when device is unlocked
- The device shouldn't randomly lock while being used
Add back lift to wake and show on charge options for ambient display
Add Android Q accents Green and Purple
Implement enhanced battery estimates in QS as seen on Android Q
Change QS layout to match Android Q but with some Kronic flavor
Use Google Sans in several parts of the UI as done on Q, added elements are:
- Notification headers
- VPN and carrier label text in QS
- Lockscreen charging info
- QS Tile labels
- Collapsed QS items
Add Android Q style music ticker in ambient display
Use Q Battery icon in Battery usage screen in Settings
Expose Q battery icon paths so substratum themers can now theme the battery icon too
Expose regular portrait style too and unify with Q style
Fix Ambient Music Ticker double tap detection
Add seekbar to Music Notifications as seen on Android Q
Fix weird artifact in Q battery icon
Add a toggle for Pixel navbar animation for regular navbar and Pill gestures
Modernize look of smartbar icons, old ones felt dated
Increase blur on lockscreen albumart blur to max possible
Fix some permissions for Google apps
Option to hide Google searchbar in inbuilt launcher
Optimizations for Smartnav and set colour based on system theme
Fix scrolling when using three finger screenshot gesture
[Honor 5X ROMs, Kernels, Recoveries, & Other Develo] mohamadrezai:
bug build number2019/5/14

1-mostly application not open. Example:chrome

2-killer battary:D
[Honor 5X ROMs, Kernels, Recoveries, & Other Develo] ankkit_kr:
Chrome and Gmail app is crashing instantly after opening
[Honor 5X ROMs, Kernels, Recoveries, & Other Develo] nourpon:
[MENTION=7660770]coldhans[/MENTION] exactly the same here, also some magisk modules vanished i had to reinstall them.

get back to 5/7 build
[Honor 5X ROMs, Kernels, Recoveries, & Other Develo] Darrian:
I think this is because selinux is enforcing. Had the same problem with the 5/8 beta. I assumed more testing would occur and it would be fixed before bringing selinux to official builds, or I would have said something sooner.
[Honor 5X ROMs, Kernels, Recoveries, & Other Develo] ankkit_kr:
I downgraded to the 07/05 official build in which selinux is permissive but still the apps are crashing

Now I think I'll have to do a clean install of the 07/05 build
[Honor 5X ROMs, Kernels, Recoveries, & Other Develo] joelh:
send logs
[Honor 5X ROMs, Kernels, Recoveries, & Other Develo] nourpon:
I Just flash back the kernel from 07/05 after installing the 14/05 and all working fine now.

Like [MENTION=3720075]Darrian[/MENTION] said it's link to enforcing selinux, now with permissive all is fine.
[Honor 5X ROMs, Kernels, Recoveries, & Other Develo] Darrian:
I get where you're coming from, but I'm happy with the 5/7 build until this is confirmed sorted. Do you not use this device yourself? I mean, that would explain how you didn't know something was wrong, but then I wonder what motivates you to develop for this device?
[Honor 5X ROMs, Kernels, Recoveries, & Other Develo] joelh:
I use the device and I've used this build with no errors. I can't see what's causing problems for anyone else if they don't send me logs, so this will not be "confirmed sorted" at the rate that users are responding "nvm I'll wait" when I ask for logs to fix their issues.

As an example, I use Netflix daily while one person can't even open the app. I can't help them open the app until I see their errors. In the meantime, I'll be watching Bojack
[Honor 5X ROMs, Kernels, Recoveries, & Other Develo] astutobob80:
Actually, I have the same issues... Gmail and some other apps crash immediately. No bug report or something come up automatically after the crash.

How can I recover and send you logs?!

p.s. Bojack is great :D!!!
[Honor 5X ROMs, Kernels, Recoveries, & Other Develo] Darrian:
I just can't afford to have these issues since I use my phone for work, and I'm no longer invested since I desperately need to replace my phone asap.

For anybody who wants to provide logs, you need to Google how to use Logcat. There are several apps in the play store that will generate logs for you.
[Honor 5X ROMs, Kernels, Recoveries, & Other Develo] mohamadrezai:
go back to 5/7 build
[Honor 5X ROMs, Kernels, Recoveries, & Other Develo] joelh:
5/16 CI build is up:

Download on MEGA | AFH

- Address some more selinux denials

I'll put this here again:

Be sure to include a log : check how to

DO NOT Report bugs if you're running a custom kernel or you installed Xposed

Grab a logcat right after the problem has occurred. (Please include at least a few pages of the log, not just the last few lines, unless you know what you're doing.)

If it is a random reboot, grab /sys/fs/pstore/console-ramoops and /sys/fs/pstore/dmesg-ramoops-0. (Do not bother getting a logcat unless you can get it just before the reboot. A logcat after a reboot is useless)

If the problem disappears after running "setenforce 0" from a root shell, grab /data/misc/audit/audit.log

If you're not willing to provide a log, please don't bother reporting.
[Honor 5X ROMs, Kernels, Recoveries, & Other Develo] nourpon:
Still the same and I will not provide a log, for 2 reasons :

1 - you play with official version with selinux enforced without making it "official" because it's not in the AOSiP changelog and plans.

2 - who care about selinux enforced ?
[Honor 5X ROMs, Kernels, Recoveries, & Other Develo] joelh:
SELinux status is not dependent on the ROM once Android bringup is completed. Every device has its own unique sepolicy connected to the greater shared policy, and it's entirely up to the device maintainers to implement changes specific to the device. Your hostility exists because you don't understand what you're talking about.

Since no one ever told me of issues or showed me logs, how was I supposed to assume that there will be so many problems? I gave everyone months to report information back and when I didn't hear any more complaints, it seemed like the time to move to enforcing. I use it myself without any problems.

Also, you should care.
[Honor 5X ROMs, Kernels, Recoveries, & Other Develo] Darrian:
I don't know about selinux. As it is, running a custom ROM leaves my phone pretty vulnerable. I don't install apps I don't trust, generally, and when I do take that risk and something goes wrong I wipe my phone and start over, usually using Swift Backup to restore critical stuff. As it is, my bootloader is unlocked. Anybody can reset my phone into recovery if they know how. The filesystem isn't encrypted. Pretty much the only security there is at all is the pin/fingerprint lock. Otherwise, if I lose my phone, there's a good chance that my data can be pulled, or the phone wiped and resold/reused. I'm trading security for customization and ease of use, and I'm well aware of it. Whether or not selinux is enforcing is so far down on my list of concerns I don't even think about it. But if you can get it working without issues then it certainly isn't going to hurt, either. I remember there was the same behavior when they first turned on enforcing in Nougat builds, too. I'm confident that it will be resolved sooner rather than later.

---------- Post added at 01:06 AM ---------- Previous post was at 12:59 AM ----------

You have a valid point there, so sorry. I assumed there was no way that you could possibly be using the ROM with selinux and not encounter the issues yourself. Maybe a lot of other users made the same assumption, or they didn't want to post logs because they didn't know how. Or they figured someone else would post about it, which is what did eventually happen. I don't know about "months"; 5/7 wasn't that long ago, and that was the first enforcing build I tried. It is surprising you didn't suddenly get a ton of complaints, though; I've noticed a trend for users to report the most minor bugs, and more often than not they are somehow caused by the user not reading a post and following its instructions.
[Honor 5X ROMs, Kernels, Recoveries, & Other Develo] xdalass:
Hey, that's not the spirit here. If you can't appreciate the devs hard work, I think you should move on and/or do it yourself.

Sorry to be blunt but, yeah....
[Honor 5X ROMs, Kernels, Recoveries, & Other Develo] nourpon:
[MENTION=7660770]coldhans[/MENTION] Fisrt I'm sorry but I was drunk and totaly unfair because I know what you did, do and will do for kiwi, but I don't have money to have another phone and my kiwi is my baby ;)

second, maybe you can make 2 versions, one enforced and second permissive

sorry once again
[Honor 5X ROMs, Kernels, Recoveries, & Other Develo] astutobob80:
I've created a log with Logcat... Hope it helps ;)

(first time I use Logcat... I don't know if I used it correctly. Please tell me)
[Honor 5X ROMs, Kernels, Recoveries, & Other Develo] joelh:
I've asked the admins to pull the 5/14 build. Next week's will be permissive. I don't think that's going to change for this ROM if I can't get enough feedback.

Not to get bogged down in semantics, but yes, I would say months. Any logcat will include selinux denials whether running enforcing or permissive. I'm counting from the day this thread was opened :cowboy:

You should already know that I've been doing this for weeks with Beta and CI builds.

Not quite, but I thank you for trying! Please read over the guide linked in the OP.
[Honor 5X ROMs, Kernels, Recoveries, & Other Develo] astutobob80:
OK... now I followed the second way... the result is very different.

Hope it helps.. now... :fingers-crossed:
[Honor 5X ROMs, Kernels, Recoveries, & Other Develo] stuffinthesky:
I have had zero issues with enforcing. In fact, the only time I have an issue with AOSiP is when I experiment with low level files and those are issues I cause myself.
[Honor 5X ROMs, Kernels, Recoveries, & Other Develo] joelh:
5/19 Beta build is up:

Download

- SEPolicy updates (thanks to [MENTION=2482634]astutobob80[/MENTION] for logs)

Please don't bother reporting bugs if you aren't willing to provide logs, and please stop spamming about known issues.
[Honor 5X ROMs, Kernels, Recoveries, & Other Develo] mohamadrezai:
I downgraded to the 07/05 official build in which selinux is permissive but still the apps are crashing
[Honor 5X ROMs, Kernels, Recoveries, & Other Develo] astutobob80:
You're welcome :D
[Honor 5X ROMs, Kernels, Recoveries, & Other Develo] ankkit_kr:
Clear the app data or reinstall the apps which are crashing.

Worked for me
[Honor 5X ROMs, Kernels, Recoveries, & Other Develo] Hshakil11:
is fast charging working on the latest build???
[Honor 5X ROMs, Kernels, Recoveries, & Other Develo] joelh:
5/20 Official build is up:

Download | Mirror

Changelog:

20th May 2019 Official build

Use GSans for vpn and carrier label text in QS
Allow Pixel Live Wallpapers to work on AOD/Ambient
Fix saved autofill dialog colour
Disable old assistant animation
Whitelist AliPay and Qualcomm bootjars
Fix ambient display not pulsing when song changes with ambient music ticker
Translation import and fixes
Add Quickspace to inbuilt launcher (Widget that shows date and weather on Pixel Launcher)
Move battery percent in ambient display back to bottom-center
Make Q Style Clock completely translatable
[Honor 5X ROMs, Kernels, Recoveries, & Other Develo] kay07-:
Runs perfectly
[Honor 5X ROMs, Kernels, Recoveries, & Other Develo] xdalass:
Coming from another pie ROM, dirty flash or clean install? :D:D
[Honor 5X ROMs, Kernels, Recoveries, & Other Develo] mohamadrezai:
Most of the time hangs programs(build number5/19)
[Honor 5X ROMs, Kernels, Recoveries, & Other Develo] omid_shirzad:
great
[Honor 5X ROMs, Kernels, Recoveries, & Other Develo] CYoung234:
Sounds like a problem with the GAPPS you used. What GAPPS did you use?
[Honor 5X ROMs, Kernels, Recoveries, & Other Develo] joelh:
Please capture a logcat when trying to do this (adb logcat will work). This is perfectly fixable, but I don't get the same errors here, so I can't use my own logs.
[Honor 5X ROMs, Kernels, Recoveries, & Other Develo] MultiLayer:
Been running the ROM and with gapps for a day. Works great!!!
[Honor 5X ROMs, Kernels, Recoveries, & Other Develo] Vcadnza:
To anyone who is actively using this ROM, do you experience noticeable ux slowdowns when you turn on night light? or Google's wind down? or occasional jitters with animations? [MENTION=7660770]coldhans[/MENTION] I'm incredibly indebted to you for bringing and maintaining new ROMs here and there, but would you please say your input about this issue I have? Do you experience it yourself?

For a time I switched back to Lineage N and, lo and behold, no slowdowns with Live Display on, and animations and overall experience is considerably smoother.

Now I know from Cyanogen time that you're a security first, performance second kind of person, but the gap between 7 to 9 is huge, at least for me. Is it normal? Or something's wrong with my device?

P.S. I've posted logs previously and have nothing new to add, so indulge me reporting issues with no logs attached.
[Honor 5X ROMs, Kernels, Recoveries, & Other Develo] MultiLayer:
I got two 5x phones.

One running Lineage 15.1 with gapps full and the other with AOSiP 9.0 Pie with gapps full.

There are pros and cons for both, but keep in mind that the ROMS are not the issue, usually it is the hardware on the phones. The phones are over 3 years old and the hardware in these budget phones are even previous gen.
[Honor 5X ROMs, Kernels, Recoveries, & Other Develo] Vcadnza:
That's what I thought, I knew it couldn't be butter-smooth and were happy to trade some performance for a richer, more enduring more secure experience, but if you check the previous related posts, one user said he's not experiencing such things, and Joel didn't comment on that, which got me thinking...

What I want to know is that is it common or not? amendable or not?
[Honor 5X ROMs, Kernels, Recoveries, & Other Develo] MultiLayer:
Too many confounding variables. Don't know what apps you are using or others are using, if you are using recommended charging cable (honor phones have specific requirements), proper wipe and format, clean or dirty rom install, superuser or root might cause issues, etc... Too many variables so if one says it works another one will say it doesn't, Just be happy that it works.
[Honor 5X ROMs, Kernels, Recoveries, & Other Develo] mohamadrezai:
29th May Beta

changelog:

Translation import and fixes
Fix auto enable for Aggressive Battery on battery saver
Import translations from Google's Beta 3 SystemUI for Q (Text) Clock
Tint "It's" text on Q Clock based on wallpaper primary color, incase the system cannot determine it, it will fallback to System Accent
Pulse fixes and improvements
- Option to use system accent for pulse
- Fix pulse opacity on automatic colour and system accent colour
- Add pulse lava lamp start and end colours
- Add bar animation smoothing
- Fix defaulting to user colour when no albumart colour is available

link downolad:http://get.aosip.dev/kiwi/AOSiP-9.0-Beta-kiwi-20190529.zip
[Honor 5X ROMs, Kernels, Recoveries, & Other Develo] Aliremo33:
Hi plz any body say otg does support?
[Honor 5X ROMs, Kernels, Recoveries, & Other Develo] kaxan2000:
It doesn't support OTG. I really need otg and I tested all android 9 custom roms for Honor 5x. None of them support OTG.
[Honor 5X ROMs, Kernels, Recoveries, & Other Develo] MultiLayer:
This worked for me.... TWRP..... Wipe....Now tap Format Data and continue with the formatting process. This will remove encryption as well as delete all files stored on the internal storage. Return to the previous menu and tap Advanced Wipe. Select the Cache and System partitions to be wiped and then Swipe to Wipe.... install ROM.... and installed gapps pico minimal version.... The google and assistant app was slowing down the 5x with all the news feed updates etc... A lot of bloat ware running in the background....installed YT and chrome from playstore and use chrome for searches etc...
[Honor 5X ROMs, Kernels, Recoveries, & Other Develo] 50UND2 3NG1N33R:
Sorry, this is out of topic, I have trying to do a clean installation of the official update. During the initial boot up, I can't connect to google to set up my account. Is this a result of Google's ban on Huawei Phones?
[Honor 5X ROMs, Kernels, Recoveries, & Other Develo] reggjoo:
Not that I know of but, things are in a confusing state now. I always reinstall my rom (go too far eventually), after 4~5 months usage. I did that 3 days ago, and had no problems. I hate Google's shell games with Huawei.
[Honor 5X ROMs, Kernels, Recoveries, & Other Develo] joelh:
USB OTG test build

5/31 CI build is up:

Download on AFH | MEGA

Please test for USB OTG functionality (because I can't). SELinux is permissive. All credits to [MENTION=6292011]TheOTO[/MENTION]
[Honor 5X ROMs, Kernels, Recoveries, & Other Develo] drFuchs:
It works, thanks.
[Honor 5X ROMs, Kernels, Recoveries, & Other Develo] Vcadnza:
Finally! I've tested USB OTG functionality with flash drive and it's working fine, thanks a bunch.
[Honor 5X ROMs, Kernels, Recoveries, & Other Develo] mohamadrezai:
the best Rom.very good otg support
[Honor 5X ROMs, Kernels, Recoveries, & Other Develo] Poolam:
rom and OTG is very good

thaks
[Honor 5X ROMs, Kernels, Recoveries, & Other Develo] stuffinthesky:
OTG working.
[Honor 5X ROMs, Kernels, Recoveries, & Other Develo] Deathpact231:
How is the performance in terms of gaming? im planning to play mobile legends im currently on lineage 15.1 but it lags alot
[Honor 5X ROMs, Kernels, Recoveries, & Other Develo] Darrian:
This is definitely not a gaming phone. It's suitable for playing like puzzle games and not much else. A lot of games will run well enough to be tolerable, but barely. With that said, most games will run a lot better if you install Kernel Adiutor and add around 1GB of virtual memory. It probably won't increase your fps much, but it should speed up load times and stop it from hanging indefinitely when it is trying to load a game that requires more memory.
[Honor 5X ROMs, Kernels, Recoveries, & Other Develo] Deathpact231:
Does FP work? I'm currently on arrow pie but FP doesn't work .
[Honor 5X ROMs, Kernels, Recoveries, & Other Develo] Darrian:
I'm having no issue with FP.

Edit: Substratum doesn't seem to work properly with the latest build, if that is important to you. It seems to be a recurring issue with the "CI" builds and I expect it will probably be fine again when the next beta or official build is released.
[Honor 5X ROMs, Kernels, Recoveries, & Other Develo] 50UND2 3NG1N33R:
I got to solve this issue, I was using the 14th May official update, but after flashing the 20th May official update then the beta update finally the CL update. I was able to log in to google on first boot up. I dont understand what is the issue with 14th update, but its solved.

Thanks for help reggjoo.
[Honor 5X ROMs, Kernels, Recoveries, & Other Develo] mohamadrezai:
Latest Official Build: AOSiP-9.0-Official-kiwi-20190604

change loge:

Merged in June 2019 Security Patches
Fix auto enable for Aggressive Battery on battery saver
Import translations from Google's Beta 3 SystemUI for Q (Text) Clock
Tint "It's" text on Q Clock based on wallpaper primary color, incase the system cannot determine it, it will fallback to System Accent
Translation import and fixes
Update Singapore and Iran APNs
Remove the 0 from hours in Digital Bold option for lockscreen clock
Stop USB debugging window from being dismissed when tapping outside the dialog
Disable abolute volume control for AirPods 2
Reset Update Channel to default when custom updater channel is set blank
Telephony fixes and chnge telephony actionbar and text colour
Enable and fix QS detail view (can view available WiFis and BT devices from QS for example)
Add battery saving mode to location
Pulse fixes and improvements
- Option to use system accent for pulse
- Fix pulse opacity on automatic colour and system accent colour
- Add pulse lava lamp start and end colours
- Add bar animation smoothing
- Fix defaulting to user colour when no albumart colour is available
support OTG

Link downoload:http://get.aosip.dev/kiwi/AOSiP-9.0-Official-kiwi-20190604.zip
[Huawei P Smart Questions & Answers] droid99999:
I wanna root my phone, but with no luck . I have installed the adb drivers .. enable usb debug ..

I stick here

C:\Users\win7\Downloads\fastboot>adb reboot bootloader

C:\Users\win7\Downloads\fastboot>fastboot oem unlock
FAILED (remote: 'check password failed!')
Finished. Total time: 0.021s

C:\Users\win7\Downloads\fastboot>fastboot flashing unlock
FAILED (remote: 'check password failed!')
Finished. Total time: 0.013s

is there any website for this password ?
[Huawei P Smart Questions & Answers] Marvin.the.Martian:
Have you enabled OEM unlocking option under developer options? Btw i believe unlocking bootloader is not possible anymore the official way on Huawei phones.
[Huawei P Smart Questions & Answers] droid99999:
Yes