yashsingh1/xdaforums huggingface dataset:
[Redmi Note 8 Pro Questions & Answers] wang1chung:
1. There is no difficulty in unlocking your phone, it takes 168hrs and that's it, be patient. Installing custom recoveries will NOT brick your phone whatsoever, but not following instructions will. The issue with the CFW ROMs is due to MTK processor and lack of monetary motivation for developers that own this phone.

2. My Netflix and banking apps work fine, safety net passes while rooted on a Android 10 GSI ROM.

3. The camera does work, I can record video with EIS (amazing!), shoot 16mb photos, use HDR, astrophotography, and a bunch of other features I don't use. While the camera is a work in progress and did require a lot of testing/comparing, I have everything working, feature wise, that I had on MIUI.

4. Bricking only happens if you don't fully read. MTK processor phones have a lot more "traps" than Qualcomm. Are you going to avoid a classic car because of all the required maintenance on it versus a new car? No. I only ever bricked my phone when working with CFW ROMs. What does that tell you?

5. OTA? Are you're referring to keeping up to date with security updates? The ROM I'm running now has the latest security patch? Or are you saying flashing ROMs is too involved and you rather just tap a button and be done, which is nice too. Xiaomi publicly said they're not issuing updates for this phone next year, so where is your OTA then?

You're comparing apples to oranges here. A refrigerator is not a smart device, and while a TV can be considered smart, there's nothing to upgrade or remove. Do you run stock Windows on your home computer or do you replace the OS with something better with less bugs? And in fact, I do swap engines from different cars into my car. Upgrading parts and wiring and software for the same car.

At the end of the day, if you want to flash ROMs and have ZERO chance of bricking, go with a GSI ROM. Zero bloatware/spyware, no notification issues, no battery drain, and infinite customizability. Start with Quack and go from there. If you want something that works with zero effort, stay stock.
[Redmi Note 8 Pro Questions & Answers] donkyshot:
You can never be sure, on any rom.

Bloatware is not all about safety or privacy, it's more about removing unnecessary files to save memory and disk space.

For instance, my root storage on miui 12 is just over 70%, where it used to be somewhere over 90%.

Ram optimised is 3 GB out of 6.

Besides removing, freezing apps is helping too.
[Redmi Note 8 Pro Questions & Answers] jshames:
OK, I understand you have dealt with the negative side of the equation, in terms of overcoming the obstacles. But what are the actual benefits?

In the past stock ROMs are stock android were fairly restrictive. This is no longer the case. Can you give a few examples of things you can do with a CFW that are exclusive?
[Redmi Note 8 Pro Questions & Answers] wang1chung:
To clarify, you don't need to be rooted to use non-stock ROMs, and CFW ROMs are not GSI ROMs. Also, using root with the stock ROM works just fine, but then you don't know what else is going on behind the scenes, no matter how much you disable.

I guess I mainly use root for backing up apps/OS/partitions in the event of a brick or data loss. Certain stock apps you can't remove without root, should you choose to remain on the stock ROM. Have you ever spent hours setting up your phone/apps and then lost your data? Doesn't happen with a rooted phone as you can backup both apps (with data) and even the entire ROM with settings. This allows you to test new ROMs, new tweaks, all while easily returning to your previous save state with no ill effects and within minutes. Click a button, get a coffee and it's done. I tested 6 different ROMs and then returned to my current, all within an hour. While I don't necessarily keep the tweaks and ROMs I test, they do shed light on features that I never knew I wanted or even just inspire me to go down new rabbit holes.

On multiple occasions I have been locked out of my phone after an OS update or tweak . Without root, only option is a factory reset and loss of your OS settings. With root, fixed within minutes. Forgot your password on your back up phone, no problem with root.

I think with data harvesting being so popular/rampant, more and more people will leave spyware infested ROMs for vanilla AOSP ROMs.
[Redmi Note 8 Pro Questions & Answers] samuuurai:
I get your point, this is an MTK device, technical difficulties are obvious, but now its easy to switch to custom ROM without downgrading from Android 10, moreover steps are pretty simple if you get it right, not too different than other devices, bricking was already solved with the leaked Preloader and LK, moreover if it weren't for Xiaomi putting Authentication in EDL the device was unbrickable without any hassle, though I get what you want to say, the device gets hard-bricked on most stupid things.

I guess you haven't tried out the CFW 2 and newer builds, they've fixed offline charging, Netflix 1080p and other things, and I personally never had problems with camera, ANX works fine and GCam too, photo quality is obviously better on GCam but 4k video recording is amazing too.

Every device's Custom firmware and ROMs comes with specific difficulties, if you're willing to look beyond this and appreciate how you're going to get Android version updates even after official support ends, the stock, beautiful feel, better performance and battery then I think you're gonna understand why Custom ROMs for this device is so important!

Peace :o

And by the way I love tinkering with anything that has an processor and runs Linux hehe :silly:
[Redmi Note 8 Pro Questions & Answers] tze_vitamin:
did you know what you talking about , did you try by your self some of Custom Roms ,spend some time modifying it, tweaks..

every single stuff that you have on MIUI that working, from first rom that come out with 80% we are now on 99 % of stuff that is working, especially NFC, that for me working on My Bootleggers ROM , with Gcam Bural 8 and 64mp working, Astrophotography that is better than MIUI pro mode that you need to searching for best ISO and SEC to get the best star pic, Gcam do that by self,set congif and make amazing photo.. then, XML modules.. thats another long story..

also , full customization of system , Customization of UI , so many options, so many ideas that developers with hard work and great work modify it..

Some of the features that are included on this ROM are:

Code:

* QS Rows and Colums

* Volume Keys: Wake up, skip tracks and switch according to rotation

* Show song album cover, visualizer and battery info on Lockscreen

* Power Menu Items

* Battery LED light settings

* Suspend Actions: Make your device disable GPS and switch to 2G when you're not using it

* AppOps: Manage your apps permissions in an advanced way

* Recent Styles: Dig the new Pie Quickstep recents, go back to the classic layout or use the Android Go layout

* Network icons: Show or hide the cross, switch between 4G or LTE

and the most import thing is NO BLOATWARE !

No Xiaomi application that you force you too use and the second most import thing is NO GOOGLE SERVICES that drain your battery..

you have,smooth ,fast , stable ROM and free hands to make you to look like you want to ,to make it like you want..

this is mine, one week without single crash of any app or random reboot, that is one of thing that blown my mind.. unofficial ROM that is amazing ..

https://youtu.be/Nc7eHRUYGkI
[Redmi Note 8 Pro Questions & Answers] jshames:
I get it guys.

There are many technical advantages which allow useful tweaks.

All I am saying is that for the typical user, who uses his device for internet, phone, email and Play Store apps, the ability to use these tweaks are not worth the trouble (unlike in the past, when the gap between stock Roms and customs Roms was HUGE).

You cannot tell me that it's easy-- there are scattered threads with advice all over the place, for all kinds of different setups (like what version of MIUI and phone you have, that require searching and putting together multiple posts and threads, figuring out what is up to date, in to figure out what to do, to avoid bricking and other bugs.

This is not criticism of anybody here or the developers. This is just the situation.

I think that some of the highly advanced users here, who perhaps spend hours a day on these forums or in development, have an easier time technically. I must admit that besides Xiaomi's 168 hr wait, the process looks daunting and risky. On this forum, is there a single unified guide that is up to date and reliably takes you through the whole process, even if I already have MIUI 12 installed?
[Redmi Note 8 Pro Questions & Answers] Crescendo Xenomorph:
The only point for me is Android update + security patch update in custom ROM.
[Redmi Note 8 Pro Questions & Answers] SirSeanM10Pro:
I'll try and directly answer + add my own stuff.

1. Endless technical difficulties with the process of unlocking, installing custom recoveries and ROMs, downgrading and bricking.

With CFW (Custom Firmware) you can be even safer on custom ROMs, as unbricking will no longer need a Mi Authorised Account. Some users have reported their devices bricking just from updating from MIUI to MIUI, which gave me another reason.

2. Various features of the RN8P not working properly with Rooted/unlocked/ customs ROMs, such as camera, Netflix, bank apps etc.

Camera works even better on custom ROMs, thanks to buffer fix module (can be applied to rooted MIUI). Magisk hide + magisk props will mostly have you covered in terms of banking apps. Netflix is a weird issue, as you either have it crash or Widevine L3 but it works so :P

3. Endless tinkering with GCam with ambiguous results at best, regarding performance and quality of output.

Nope, not at all. Stock cam was absolutely trash (80% of scenarios) and speaking from an XML creator's point of view, it's just us that has to do the tinkering. You just have to update and pick which XML you prefer. I haven't even bothered to download ANX cam, as GCAM already works well enough for me.

4. Bricking, etc

CFW has you covered here, even when going from A10. Just flash LR TWRP 3.1.1 or 3.3.1 and flash CFW + CFW ROM via recovery and safe.

5. Loss of OTA ability.

Honestly, I don't trust OTAs on MIUI after hearing people were bricked by doing that.

I went to custom ROMs for a peace of mind solution to...

- Better battery.

- Better support.

- Freedom with magisk.

- Trying out new features.

- Less bloatware with NikGapps Omni.

- Sometimes better performance.

So far, I've never felt the need to go back to MIUI.
[Redmi Note 8 Pro Questions & Answers] yossidme:
Stock (global) ROM on my RN8P did not support (or allow) call recording. flashed Indonesia ROM to get that.

I still want to root the phone in order to:

* Backup apps including data with Super Backup

* Add folder shortcuts (for call recordings) to home screen

If there is a way to accomplish these without rooting, I'd love to know how.
[General Topics] kfunck1:
I was trying to pair a Moto Q 9c to a different computer, and it ended up erasing the contacts on the phone. I copied the pim.vol to the computer, and I noticed that there is a section labeled "PC," for which the contacts section is blank, and a second section labeled "PC2," which contains all of the original contacts and other pim information. Is there a way to erase the "PC" portion and have WM 6.1 reload the pim information from the original sync? Thanks for any help! :)
[Huawei P9 ROMs, Kernels, Recoveries, & Other Devel] Wattsensi:
Duplicate thread. Mods please delete this, sorry.
[Huawei P9 ROMs, Kernels, Recoveries, & Other Devel] Wattsensi:
DISCLAIMER

#include <std/disclaimer.h>

/*
* Your warranty is now void...if you still have one.
*
* I am not responsible for bricked devices, dead SD
* cards, thermonuclear war, global machine revolution
* or you getting fired because the alarm app failed.
* Please do some research if you have any concerns
* about features included in this kernel 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.
* VERY HARD.
*/

Unlocking EVA's hidden, full power.

This kernel is my own research and experimentation with Android customization.

It focuses on sane defaults, extreme customization and high performance.

For casual beginners and gearhead pros, this kernel is very smooth and is great for

gaming without being a scorching hot battery guzzler. High performance and low

idle drain, it is also efficient at just scrolling through an ebook or a webpage. No more

stuttering, no more lag.

Compatibility

This kernel is expected to work with any HiSilicon Kirin 950/955-based device

However, any device other than Huawei P9, EVA, is totally UNSUPPORTED.

Requires unlocked bootloader, and firmware 8.0.0.540 or newer. Firmwares below

B540_patch02 are unsupported.

This kernel works with most EMUI 8.0, OpenKirin AOSP and phh-based GSI ROMs.

Features

- Upstreamed to linux-stable 4.4.53

- Built with UberTC 4.9

- SELinux Developer Mode has been enabled, avoid permissive mode and consider fixing your sepolicy instead.

- KCFLAGS "-O3 -mtune=cortex-a53"

- Energy Aware Scheduling

- KSM (Kernel Samepage Merging) for further memory savings

- AutoSMP CPU hotplugging for battery savings.

- Option to disable CRC checksum on MMC SPI code for extra performance

- Disabled invasive features (DUBAI analytics, livepatching, OASES)

- Disabled Huawei root detection

- Added CPU governors: schedutil blu_schedutil blu_active

- Added I/O schedulers: bfq maple sio zen fiops anxiety tripndroid

- Added TCP congestion algorithms: htcp bbr veno vegas yeah hybla and more

- Changed default TCP congestion algorithm to bbr

- Changed default IO scheduler to deadline

- New default CPU settings for max smoothness, performance and power savings

- Added Boeffla Wakelock Blocker 1.1.0

- Enabled NTFS file system support

Installation

- Download the latest installer flashable ZIP

- Flash in TWRP

- Reboot

Download

Get your new kernel here!

Note: This installer makes changes to your vendor image. Backup your vendor image first!!!

XDA:DevDB Information

Insane Kernel, Kernel for the Huawei P9

Contributors

Wattsensi, hackslash

Source Code: https://gitlab.com/_xenharmony/android_kernel_huawei_hi3650

Kernel Special Features: CONFIG_EAS, CONFIG_SECURITY_SELINUX_DEVELOP

Version Information

Status: Stable

Current Stable Version: 1.0.2

Stable Release Date: 2020-10-04

Current Beta Version: 0.0.2

Beta Release Date: 2020-09-08

Created 2020-09-04

Last Updated 2020-10-07
[Huawei P9 ROMs, Kernels, Recoveries, & Other Devel] Wattsensi:
Reserved

Changelog

1.0.2
- Enable SELinux development mode for users who require permissive mode (requested by lo_ol)

1.0.1
- Actually enabled KSM
- Set mali_ondemand as default GPU governor

1.0.0
- Upstreamed to 4.4.53
- New CFLAGS: -O3 -mtune=cortex-a53
- Brand new installer, no need to pick an image anymore!
- Changed defaults on boot, flash and forget
- Small kernel code fixes
- Lots of small improvements under the hood
- Disabled Huawei root detection
- Defused DUBAI core for good, it is no longer a threat now
- Added CPU governors: blu_schedutil blu_active
- Added I/O schedulers: bfq maple sio zen fiops anxiety tripndroid
- Added TCP congestion algorithms: htcp bbr veno vegas yeah hybla and more
- Changed default TCP congestion algorithm to bbr
- Changed default IO scheduler to deadline
- New default CPU settings for max smoothness, performance and power savings
- Added Boeffla Wakelock Blocker 1.1.0
- Enabled NTFS file system support
- Enabled KSM

0.0.2
- Upstreamed to 4.4.37
- Re-enabled SPI CRC checksum by default
- Exposed a toggle to disable SPI CRC checksum in /sys/kernel/mmc/use_spi_crc
- Added 8.0.0.550 support

0.0.1
- Initial release
[Huawei P9 ROMs, Kernels, Recoveries, & Other Devel] zgfg:
Supposedly also ok for b550?

Recently 8.0.0.540 was OTA upgraded to 550 (Sec. Patch Jul 2020)
[Huawei P9 ROMs, Kernels, Recoveries, & Other Devel] ivan13x:
Glad to see new developments on my beloved P9.

Will this work in a TL00 with OpenKirin Lineage OS 16?

Thank you for your work!
[Huawei P9 ROMs, Kernels, Recoveries, & Other Devel] Wattsensi:
Yeah, it should work as long as you are on B540 and choose your right patch.

And I thought this device was abandoned! :laugh:

If it hasn't changed anything major like AVB features I don't see why it shouldn't. Otherwise just send me a stock B550 kernel image and I'll package a kernel for B550.
[Huawei P9 ROMs, Kernels, Recoveries, & Other Devel] NervReaper:
Here it's B550 stock kernel ;) https://mega.nz/file/10h3QKQB#9XWuK6f-2nNl4MLjkjiktMLM-UdN6gRj6hMULdQGmIg
[Huawei P9 ROMs, Kernels, Recoveries, & Other Devel] Wattsensi:
Try this one and report results.

https://drive.google.com/file/d/1vl2Um5ShdYYDCN201m5zust3mk8sD_l2/view?usp=sharing
[Huawei P9 ROMs, Kernels, Recoveries, & Other Devel] NervReaper:
does boot and everything seems ok, ty :good:
[Huawei P9 ROMs, Kernels, Recoveries, & Other Devel] Wattsensi:
Perfect. Don't forget to change your CPU governors to schedutil to see the effects. Officializing B550 support now.
[Huawei P9 ROMs, Kernels, Recoveries, & Other Devel] ivan13x:
Tested the B550 in a TL00 with OpenKirin Lineage OS 16. Everything good so far! Thank you!

Do you have any other project in mind aimed to the P9 development?
[Huawei P9 ROMs, Kernels, Recoveries, & Other Devel] Wattsensi:
Yeah, several. I just finished a device overlay for GSI ROMs and am investigating a way to get AOSP 10 to boot.

EDIT: Did some git dancing to upstream the kernel, now compiling upstreamed 4.4.23, crossing fingers so it doesn't crash and burn...if I get it to compile and boot I will be able to git merge newer patch versions into it.
[Huawei P9 ROMs, Kernels, Recoveries, & Other Devel] ivan13x:
Nice! I'll be looking forward for those projects.

If in the meantime you find a way of reimplementing the Miracast support to Android 9 / 10, I'll be specially thankful. :p
[Huawei P9 ROMs, Kernels, Recoveries, & Other Devel] kaderkhan:
Brother I have tried Andyans LOS17 based on Android 10, Booted fine for me, Rill Worked for me. Had camera issue. Didnt test that much. Im not expert in this field.
[Huawei P9 ROMs, Kernels, Recoveries, & Other Devel] Wattsensi:
Model and firmware?
[Huawei P9 ROMs, Kernels, Recoveries, & Other Devel] kaderkhan:
Its EVA-L19 re branded to EVA-AL10 B540 Firmware
[Huawei P9 ROMs, Kernels, Recoveries, & Other Devel] Wattsensi:
Hmm, strange. Which AndyYan build? Phh-Treble 220 doesn't work for me.
[Huawei P9 ROMs, Kernels, Recoveries, & Other Devel] kaderkhan:
https://xdaforums.com/project-trebl...nt/gsi-lineageos-17-0-gsi-archs-t4004673/amp/

This one.

Download This one https://sourceforge.net/projects/an...8-UNOFFICIAL-treble_arm64_avN.img.xz/download

As our Device is A only.
[Huawei P9 ROMs, Kernels, Recoveries, & Other Devel] Wattsensi:
Rebased kernel booted successfully. Upstreaming process will begin.
[Huawei P9 ROMs, Kernels, Recoveries, & Other Devel] Wattsensi:
0.0.2 has been released.
[Huawei P9 ROMs, Kernels, Recoveries, & Other Devel] md sabuj:
Brother this one booted for me. see attached file.
[Huawei P9 ROMs, Kernels, Recoveries, & Other Devel] md sabuj:
How to get best performance of the Kerne? How to customize Kernel properties value?
[Huawei P9 ROMs, Kernels, Recoveries, & Other Devel] ivan13x:
Tested b550 on TL00, working fine.
[Huawei P9 ROMs, Kernels, Recoveries, & Other Devel] Wattsensi:
Doesn't work. Which patches did you apply afterwards? Can you do an About Phone screenshot?
[Huawei P9 ROMs, Kernels, Recoveries, & Other Devel] Wattsensi:
Download a kernel manager. You need to be rooted. SmartPack Kernel Manager or EX Kernel Manager (paid) work well.

Change your CPU governor to schedutil in both clusters.

Change your TCP congestion algorithm to westwood.

Write 0 to /sys/kernel/mmc/use_spi_crc, you can do it with a script in your kernel manager.

echo 0 > /sys/kernel/mmc/use_spi_crc

Next kernel version will add more things that can speed up your phone.
[Huawei P9 ROMs, Kernels, Recoveries, & Other Devel] md sabuj:
Currently I'm In LOS16 build 5 by Openkirin Team.

But I can remember I Was in Los16 by openkirin before flashing Andyan's LOS17. and before flashing Los16 I was in B540 firmware with Patch 2.

I didn’t apply any patch after flashing, I just flashed the image file to system partition by command "fastboot flash system xxx.img" and it’s booted fine for me. RILL worked fine for me.

I wasn’t able to test that much as I'm a noob in this field I tried to root but didn’t work then I just simply gave up😥

---------- Post added at 06:05 AM ---------- Previous post was at 06:01 AM ----------

I will flash the image again to give you screenshot.
[Huawei P9 ROMs, Kernels, Recoveries, & Other Devel] Wattsensi:
tried a handful of Q ROMs, either bootloop, hang in load screen or boot logo over and over. You can root with Magisk, on Huawei Kirin devices it needs to be flashed to ramdisk instead of kernel. You also need to use the preserve dm-verity and keep force encrypt options or you will bootloop.

Thanks for your collaboration, our original maintainers kinda left and we are working to have an up to date usable OS
[Huawei P9 ROMs, Kernels, Recoveries, & Other Devel] md sabuj:
After reverting to LOS16 I saw one thing in Andyan's post that a special magisk is required for rooting A only devices.

Do you want me to upload for you the one booted for me?
[Huawei P9 ROMs, Kernels, Recoveries, & Other Devel] Wattsensi:
Don't worry, Magisk is not the problem. If you're talking about the ROM, please do.
[Huawei P9 ROMs, Kernels, Recoveries, & Other Devel] NervReaper:
after testing schedutil for a few days i can say that performance it's a lot better than before, but battery it's a bit worst, but not terrible. Looking at the cpu frequencies it seems that the scaling it's a bit aggresive and jump to the highest frequencie frequently, especially on little cluster. This behaviour it's ok for my daily usage, but i think that there is still room for improvement.

On the other hand, i tried Andy Yan LOS 17.1 a year ago or so and does boot perfectly. I just revert to stock because i couldn't find any huawei camera for Android 10 GSI and my safety net was false even with magisk. I was thinking to try Phh-Treble AOSP 9.0 with your patch now.

thanks for your work bro