yashsingh1/xdaforums huggingface dataset:
[Redmi Note 8 Pro ROMs, Kernels, Recoveries, & Othe] testUser69:
Hello there,

currently a bit torn between the note 8 pro and the note 7 (which has official lineage support). Would you say that this unofficial lineage build is stable enough as a daily driver? :)
[Redmi Note 8 Pro ROMs, Kernels, Recoveries, & Othe] bertalanp99:
Yes, everything according to the steps here and on the megathread. First custom rom on this phone.

Actually, I had like 5 crashes today, mostly while using c:geo (-> gps related?)
[Redmi Note 8 Pro ROMs, Kernels, Recoveries, & Othe] Paipou:
Is It possible that this could become an official version?

What other bugs still prevent that other than permissive selinux?
[Redmi Note 8 Pro ROMs, Kernels, Recoveries, & Othe] Fabulas_magic:
Is nfc fixed?

Last time I looked nfc was broken on all custom roms.

But today I saw that custom roms like pixel experience and cesium os have nfc so does lineage os have nfc or is it still broken?
[Redmi Note 8 Pro ROMs, Kernels, Recoveries, & Othe] Raresh T:
New also to the forum? Search your inquiry in this subforum using the search function. You think you are the only one that uses nfc?
[Redmi Note 8 Pro ROMs, Kernels, Recoveries, & Othe] franziskaner.fan:
Good morningn,

First of all, thanks for your work porting lineage to begonia.

I've a little question, I've just installed lineage and I can't get the front camera working, in no-one of the app's I've tested it appears as available. I've tried: lineage default camera app, open camera, freedcam and simple camera (all f-droid app's).

No-one of them connect with the front camera.

There's a known bug about that??

Thanks!
[Redmi Note 8 Pro ROMs, Kernels, Recoveries, & Othe] theimpulson:
Which build? Also logs and dmesg would be appreciated.
[Redmi Note 8 Pro ROMs, Kernels, Recoveries, & Othe] franziskaner.fan:
Hi again,

I've restore the nandroid backup I did with the original MIUI and the front camera works.

Android info:

version MIUI GLobal 11.0.5 Stable (PGGEUXM).

Android version 9 PPR1.180610.011.

Android security patch level: 2020-04-01.

Mobile info:

model: M1906G7G

OFFtopic comment: I think that Miui11 is the worst android I've seen in my life (and I use android beginning at version 1)...
[Redmi Note 8 Pro ROMs, Kernels, Recoveries, & Othe] montechristos1:
Suggestion to OP: Why don't you add [CFW] to the thread title?
[Redmi Note 8 Pro ROMs, Kernels, Recoveries, & Othe] theimpulson:
No benefit. Considering all ROMs are CFW, it should be implied that this ROM is also CFW. Not to mention, steps list to follow CFW thread first.
[Redmi Note 8 Pro ROMs, Kernels, Recoveries, & Othe] Shred00:
It would nice if this thread's first post had a list of working/not working like many other ROM threads do.

It's unclear to me for example if NFC is working on the global variant or not.

Can somebody confirm NFC working or not?
[Redmi Note 8 Pro ROMs, Kernels, Recoveries, & Othe] ironhook6:
Question, do I need to flash the LOS recovery in order for the OTA to work?
[Redmi Note 8 Pro ROMs, Kernels, Recoveries, & Othe] theimpulson:
No, OTA won't work anyway
[Redmi Note 8 Pro ROMs, Kernels, Recoveries, & Othe] ironhook6:
I hope that you can make this ROM Official. Cheers!
[Redmi Note 8 Pro ROMs, Kernels, Recoveries, & Othe] Shred00:
Is there nobody that's using this ROM that can report what doesn't work, if anything.

Specifically, is anyone successfully using NFC? Google Pay?

That one is a show-stopper for me and this thread has hinted that NFC doesn't and will never work. Is that true?
[Redmi Note 8 Pro ROMs, Kernels, Recoveries, & Othe] maxman1695:
Problems with ROM

I had many problems with the rom - i can't install it... endless loop and bug in Google Assistant Wizard at beginning...

I switched to Resurection Remix OS...
[Redmi Note 8 Pro ROMs, Kernels, Recoveries, & Othe] theimpulson:
Try yourself and let everyone know. That would be appreciated. Not everyone has an NFC model to test. It should work just fine IMO.
[Redmi Note 8 Pro ROMs, Kernels, Recoveries, & Othe] Shred00:
I don't have a Redmi Note 8 Pro to test with. Knowing if NFC and Lineage works is part of the decision process in buying one. Or not.

That's at least a bit more encouraging than some of the messages I read in this thread.
[Redmi Note 8 Pro ROMs, Kernels, Recoveries, & Othe] bertalanp99:
I am just a random person, but NFC does not work for me. I didn’t bother with it as it’s not really important for me. I am not saying it is broken, but I remember reading things about NFC not working too, and, well, I didn’t touch anything related as far as I know and it does not work—trying to enable the toggle just resets it to disabled immediately.
[Redmi Note 8 Pro ROMs, Kernels, Recoveries, & Othe] Shred00:
[MENTION=6042178]theimpulson[/MENTION] Looks like you have your tester. Anything you can work out with him/her to get NFC functional?
[Redmi Note 8 Pro ROMs, Kernels, Recoveries, & Othe] ironhook6:
NFC is not working. I didn't install GAPPS, hence I can't tell whether GPay is working. I can have this ROM as my daily driver based on my needs. I just want a ROM that respects my privacy. I do hope that OP can push this to official.

---------- Post added at 01:37 AM ---------- Previous post was at 01:29 AM ----------

May I know how to flash the new build then? Is it always clean flash via TWRP?
[Redmi Note 8 Pro ROMs, Kernels, Recoveries, & Othe] ajw470:
same inquiry for me. can anyone attest to either?
[Redmi Note 8 Pro ROMs, Kernels, Recoveries, & Othe] Yashrajsingh8299:
Can i use install this rom on redmi note 9 merlin?
[Redmi Note 8 Pro ROMs, Kernels, Recoveries, & Othe] tahercool1:
No
[Redmi Note 8 Pro ROMs, Kernels, Recoveries, & Othe] theimpulson:
Pushed new update today. Changelog is in download page itself. Sources have been moved to official LineageOS GitHub organization if you are interested in them.

and yeah NFC is still broken and SELinux is permissive. I will try to fix them in next coming updates. Sorry for the delay this month, was busy.
[Redmi Note 8 Pro ROMs, Kernels, Recoveries, & Othe] xdaillum:
Hey, I've been following this project on and off for around the last 4 months. Firstly, thank you for your work.

When I first noticed this project, I decided not to try because I recall previously that the first page specifically said NFC is not supported, but it seems that is no longer stated?

When you say "NFC is still broken" - I take it you mean that in one of the recent updates was supposed to support this?

If so, I'll keep my eyes on this more closely in the coming weeks and hopefully jump on to use this once NFC is confirmed to be working because I'd like to use Google Pay!

edit: Also from looking at page 21, it seems like NFC is now supposed to work :) So that's looking good! But as per your post that I've replied to, I'll wait until NFC is confirmed to work!
[Redmi Note 8 Pro ROMs, Kernels, Recoveries, & Othe] SirSeanM10Pro:
DTBO

With previous LOS builds, people were saying LineageOS removed the ability to use custom dtbo image makefile, which could lead to bricked devices. Was that fixed in this new update?
[Redmi Note 8 Pro ROMs, Kernels, Recoveries, & Othe] theimpulson:
Yes
[Redmi Note 8 Pro ROMs, Kernels, Recoveries, & Othe] lovesetcpu:
Does that mean, that Redmi Note 8 Pro is going to become "officialy" supported by LineageOS in (near) future?

Regards
[Redmi Note 8 Pro ROMs, Kernels, Recoveries, & Othe] montechristos1:
I wonder if a CFW ROM can become official...?
[Redmi Note 8 Pro ROMs, Kernels, Recoveries, & Othe] xobust:
LineageOS devices are all maintained by volunteer, given that the code is now under

the official LinageOS organization I think it's possible that the Note 8 pro will be added to the list of supported devices.

I'm not sure how that would work though given that this ROM requires you to install CFW first maybe the wiki will have some extra instructions.
[Redmi Note 8 Pro ROMs, Kernels, Recoveries, & Othe] Tin_Man_0:
If I recall, LOS is also developing their own recovery, which would make it possible to tuck the cfw flashing right into the installation process if they can make a recovery that supports the old non cfw boot along with a post cfw flash boot.

But I do wonder why LOS has opted to no long include support for root. They aren't going to lock things down as far as I know, but you'll have to go third party like Magisk or something to get your phone rooted.
[Redmi Note 8 Pro ROMs, Kernels, Recoveries, & Othe] livinx:
How is the current camera support in this lineage version?

I would love to be able to take maximum advantage of 64mbit cam on this phone.

If not supportet atm, is there an ETA for full support, or a guide to force support?
[Redmi Note 8 Pro ROMs, Kernels, Recoveries, & Othe] guiguid66:
Hi all, [MENTION=6042178]theimpulson[/MENTION], is someone steel working on lineageos version ? As there isn't any commits on github.

Thanks a lot for all the works you've already done.
[Redmi Note 8 Pro ROMs, Kernels, Recoveries, & Othe] theimpulson:
I am. See there are no commits as the source is already stable enough for Q. Almost everyone else has started work on R (except me). There was no update last month as ASB for last month was pushed by Google a month before already in September. Novemeber ASB got merged last week, and so I have started work on sepolicy as that's one of the biggest shipping blocker right now. Once that's done, I hope I can make atleasr Indian model official (as NFC is still broken).
[Redmi Note 8 Pro ROMs, Kernels, Recoveries, & Othe] guiguid66:
Happy to read you.

Exited to see our phone on official build.

I hope you could also make NFC works, for other models.

Thanks for your works.
[Redmi Note 8 Pro ROMs, Kernels, Recoveries, & Othe] JesusMcCloud:
FYI, I'm currently running POSP on a European RN8P and NFC works perfectly fine.

Naively I'd assume LOS and POSP share the same device tree?

Cheers!
[Redmi Note 8 Pro ROMs, Kernels, Recoveries, & Othe] icarus1391:
I'm looking to install this Rom later today but I'm wondering if there's any specific bug beside the sepolicy thing. Is the Rom smooth and stable? Can I root and flash a GCam without issues? Is everything working?

Thanks in advance. This is my first time flashing a custom Rom on this device and I'd like to make sure I'm doing the right thing.
[Redmi Note 8 Pro ROMs, Kernels, Recoveries, & Othe] polfrank:
Hey! The rom feels smooth and stable. SEPolicy disabled. Root possible with magisk. Buggy night light as in all custom Roms. GCam works OK(I use microg instead of gapps). Rom update 22/09.

But my question is... Is this rom discontinued? Is there any update coming? Either los 17.1 or 18. This is not an eta question. Just wondering if I should wait or try some other rom. Personally, I prefer Los, though. [MENTION=6042178]theimpulson[/MENTION] ?

EDIT:

I'm sorry, I missed it. Thanks!
[Redmi Note 8 Pro ROMs, Kernels, Recoveries, & Othe] guiguid66:
Have you realy read the answer 5 post above ?
[Redmi Note 8 Pro ROMs, Kernels, Recoveries, & Othe] AGCaesar:
I have disconnects from the WLAN and it does not reconnect. I have to disable wlan and enable it again to get functionality back. Anyone with similar problems?
[Redmi Note 8 Pro ROMs, Kernels, Recoveries, & Othe] ranvirsuph:
Yes it's known issue
[Redmi Note 8 Pro ROMs, Kernels, Recoveries, & Othe] AGCaesar:
And is there a solution for it? :)
[Redmi Note 8 Pro ROMs, Kernels, Recoveries, & Othe] montechristos1:
And is it a lineage issue or CFW's?
[Redmi Note 8 Pro ROMs, Kernels, Recoveries, & Othe] tamplan:
Hello everybody.

My firt post here, first of all, i would like to say thanks you very much to you for your work, the rom works just fine.

I would like to compile the rom source like you do but i can't manage to success.

I have done theses steps:

- repo init -u git://github.com/ForkLineageOS/android.git -b lineage-17.1

- repo sync -c -j$(nproc --all) --force-sync --no-clone-bundle --no-tags

- source build/envsetup.sh

- breakfast begonia

Now i have a roomservice.xml file that containts:

<?xml version="1.0" encoding="UTF-8"?>
<manifest>
<project path="hardware/mediatek" remote="github" name="LineageOS/android_hardware_mediatek" />
<project path="device/mediatek/sepolicy" remote="github" name="LineageOS/android_device_mediatek_sepolicy" />
<project path="kernel/xiaomi/mt6785" remote="github" name="LineageOS/android_kernel_xiaomi_mt6785" />
<project path="device/xiaomi/begonia" remote="github" name="LineageOS/android_device_xiaomi_begonia" />
<project path="device/xiaomi/mt6785-common" remote="github" name="LineageOS/android_device_xiaomi_mt6785-common" />
</manifest>

I try to change the file by:

<?xml version="1.0" encoding="UTF-8"?>
<manifest>
<project path="device/redmi/begonia" remote="github" name="HyperTeam/android_device_redmi_begonia" />
<project path="kernel/redmi/mt6785" remote="github" name="HyperTeam/android_kernel_redmi_mt6785" />
<project path="vendor/redmi" remote="github" name="HyperTeam/proprietary_vendor_redmi" />
</manifest>

With no results, the rom is copiled but the phone keeps on boot loop.

Can some one please helps me then i can compile the rom?

Thanks by advance.

Regards
[Redmi Note 8 Pro ROMs, Kernels, Recoveries, & Othe] theimpulson:
Official sources are currently WIP to start official builds. Better wait for me to announce it then try.
[Redmi Note 8 Pro ROMs, Kernels, Recoveries, & Othe] tamplan:
Ok thank for your reply.

Regards
[Redmi Note 8 Pro ROMs, Kernels, Recoveries, & Othe] hanzn:
Are videos in social media apps like instagram or whatsapp working with the latest build?

And which one should be used?

HyperTeam: https://github.com/HyperTeam/android_device_redmi_begonia/releases/tag/20201129

Is it save to install the latest release or which one should be used?

Official repo (no releases?): https://github.com/LineageOS/android_device_xiaomi_begonia

Looks like this one is the same code just without releases.

Also not listed here yet: https://download.lineageos.org

Sorry, I'm not up-to-date with the latest informations maybe.

Happy for any tips.
[Redmi Note 8 Pro ROMs, Kernels, Recoveries, & Othe] theimpulson:
https://github.com/HyperTeam/android_device_redmi_begonia/releases/tag/20201129 is the latest one. Builds will be listed on the website once official builds starts rolling out.
[Redmi Note 8 Pro ROMs, Kernels, Recoveries, & Othe] montechristos1:
I will also try this build and report back.

Question: do we need to also change the recovery to the one provided with the buid?

I am currently using TWRP 3.3.1.0 (from the Megathread)
[Redmi Note 8 Pro ROMs, Kernels, Recoveries, & Othe] theimpulson:
You won't be able to use the linked recovery as it has no backlight. Use the TWRP you are on. I will announce here once LineageOS recovery is working fine.
[Redmi Note 8 Pro ROMs, Kernels, Recoveries, & Othe] ABC999CBA:
Hi to all,

The first thing a lot of thanks for your great work

I have just installed this rom and when I test the camera I can see that I don't have the front camera option. I tried to use some app from playstore but it doesn't work.

I always use this rom with several devices but I never see this issue.

I have installed this rom with opengapps stock pack.

I read this threat but I can't see anything.

Someone could help me?

A lot of thanks again.
[Redmi Note 8 Pro ROMs, Kernels, Recoveries, & Othe] theimpulson:
New builds are up. Thanks to @Sahil_Sonar for his help with fixing various bugs and testing builds.

Changelog:

- December ASB

- Enabled VNDK runtime isolation

- Fixed WiFi connection drops

- Dropped netd hack

- Fixed backlight on recovery

- Packed firmware into the build as well

- Built with https://github.com/HyperTeam/android_device_mediatek_sepolicy

WARNING:

- There is no need to flash CFW separately anymore. It is now packed into the lineage builds.

- LinegaeOS recovery given in the download link now works fine and is recommended for use.

- Clean Flash is recommended if you are coming from unified builds.

This is the final build with permissive SELinux. Future builds will have SELinux enforced.

In case you are a developer who uses my trees to build his ROMs, contact me to obtain links to private firmware repository that you will need to compile now.
[Redmi Note 8 Pro ROMs, Kernels, Recoveries, & Othe] ABC999CBA:
Thank you again for your great work.

I was installed the new version but the frontal camera doesn't work too. This camera works in this ROM?

Thank you in advance.

Best regards.
[Redmi Note 8 Pro ROMs, Kernels, Recoveries, & Othe] ABC999CBA:
Hello,

Answer myself, maybe can I help to someone.

It seems the new hardware of the sub cam is not compatible with the CFW Roms. Only it works with Roms based on MIUI.

Best regards.
[Redmi Note 8 Pro ROMs, Kernels, Recoveries, & Othe] Babalouman:
Great rom.

My only concern was the occasional wifi drop, which has been fixed in the last release.

Thank you for you work.
[Redmi Note 8 Pro ROMs, Kernels, Recoveries, & Othe] guiguid66:
Thanks a lot for this update.

Perfect upgrade form latest release.

Flashing new recovery from twrp

Falshing this build from the new recovery.

No problem with entreprise profile.

Wifi is fixed

NFC is working

The only remaining problem i have with all bulid : fingerprint is lagging, and make LOS reboot after 10 times scanning finger.

Thanks again.
[Redmi Note 8 Pro ROMs, Kernels, Recoveries, & Othe] dedalumine:
Hello,

Thanks for the work, which i would like to try ! :)

However, despite my reading of the megathread, i don't feel confident yet on flashing.

Therefore, i would like to kindly ask for confirmation on the procedure, i also have some questions for my understanding and perhaps to learn a little :)

What i have: begonia model M1906G7G, with os "MIUI global 11.0.5.0 (PGGEUXM). AIDA 64 indicates for the front facing camera Samsung ISOCell S5K3T1

So i think i am ok, (with Android 9 if my understanding is correct) and don't need to downgrade.

I also have:

both files retrieved from the Git : lineage-17.1-20201221-UNOFFICIAL-begonia.zip and recovery.img

IK.img and preloader_begonia.bin from megathread (get before the forum change, i am not able to find the files anymore :$ )

What i plan to do (on unlocked bootloader i.e. started volume down + power)

1) flash preloader and IK (as indicated in the megathread):

fastboot flash preloader preloader_begonia.bin

fastboot flash lk lk.img

fastboot flash lk2 lk.img

2) flash recovery (retrieved from github)

fastboot flash recovery recovery.img

3) reboot to recovery ( volume up + power) or

fastboot reboot recovery (but perhaps it not work, the alternative is

fastboot boot recovery.img

4) after reboot into lineage recovery :

tap Factory Reset, then Format data / factory reset (as for wiki for ginkgo)

5) finaly

sideload lineage-17.1-20201221-UNOFFICIAL-begonia.zip

sideload open_gapps-arm64-10.0-nano-20201223.zip

Am i safe doing it that way ? Sorry for the dumb question, but i prefer to kindly ask for confirmation :oops:

Now some questions, assuming that the process above is correct:

step 1) (after loading IK and preloader), if needed (i don't plan to) can i still restart MIUI and bootloader ?

step 2) on megathread, it seems that there is a need to first flash a non CFW recovery , reboot in "that recovery" flash CFW and the ROM, and ... flash a CFW recovery. From the question https://xdaforums.com/t/guide-info-psa-redmi-note-8-pro-megathread-cfw.4056527/page-25#post-84086357 and the kind answer provided, i assume that the vendor partition is common to the recovery and system and is mostly writen by the CFW (all bunch of img .

However, in the process that i understood from post #246 here, the recovery work in both "modes". Is my understanding right ? I also notice that twrp-non_CFW_3.3.1-0-begonia_UNOFFICIAL_3012 is much more smaller than twrp-CFW-3.3.1-0-begonia_UNOFFICIAL_0506... I guess that in the CFW one (the bigger one) is 'self contained with vendor' (but not sure, it is just an assumption). Any comment confirmation / explanation would be welcome :)

Another last question in the lineage zip file, i found IK1.img and IK2.img (identical) but no preloader.bin. Additionnaly these IK1/2.img are not identical to the "ik.img" of "anti brick" provided in the megathread... If possible, i would like to know why and what is the difference...

Many thanks to have read all until there :)

D.
[Redmi Note 8 Pro ROMs, Kernels, Recoveries, & Othe] montechristos1:
I installed this version and it seems very smooth so far. Thanks for your efforts.

My recovery did not manage to uninstall the zip, so I used the recovery you provided and all went smooth.

Q: Which GCam would you recommend?
[Redmi Note 8 Pro ROMs, Kernels, Recoveries, & Othe] nxt518:
You need to flash some compatible recovery with the stock MIUI first, lineage recovery wont start with stock MIUI, so:

1)

fastboot flash preloader preloader_begonia.bin

fastboot flash lk lk.img

fastboot flash lk2 lk.img

2)

fastboot --disable-verity --disable-verification flash vbmeta vbmeta.img

fastboot flash recovery twrp-3.4.0-0-begonia.img

3) begonia fastboot does not support "fastboot reboot recovery" or "fastboot boot recovery.img", you have to use the buttons to get into twrp recovery.

4) Wipe System Cache Dalvik

adb sideload lineage-17.1-20201221-UNOFFICIAL-begonia.zip

adb sideload open_gapps-arm64-10.0-nano-20201223.zip

5) reboot to fastboot and flash lineage recovery
[Redmi Note 8 Pro ROMs, Kernels, Recoveries, & Othe] dedalumine:
Hello!

First many thanks for your explanations! 🙏

I think i get the point: the lineage recovery is a "CFW recovery", and its why it can't work with stock ROM....

Additionnaly, I realized that my step "flash recovery" was not as easy as i expected.

From your explanations in understand in step 2) that :

The recovery is a "non CFW" (to work with stock rom) and therefore, i assume that you refer to the last official TWRP (at this time) which is https://eu.dl.twrp.me/begonia/twrp-3.4.0-0-begonia.img.html​

I

discover

(i didn't flash from 5 years, so i need to catch up :) ) the android verify boot mechanism, illustrated in your step wit hthe second command (i search what was this vbmeta.img).​

​

Many (many) Thanks!!! 👍 i would have completely missed that point, just assuming that "flashing a recovery" was only done with one command !!!

(if i may, this step with vbmeta.img is not indicated in the first post of https://xdaforums.com/t/recovery-cf...l-twrp-recovery-for-begonia-in-05-06.4002397/ but is indicated in the official website)

So i check (and finaly) found in https://xiaomifirmwareupdater.com/firmware/begonia/stable/V10.4.5.0.PGGEUXM/

the firmware which seems to be the stock on ( "MIUI global 11.0.5.0 (PGGEUXM)" according to the display in the settings ) were i can extract the famouns vbmeta.img.

Could i kindly ask for confirmation of my understanding of step 2 😨 ?

Still not clear 👌 why the ik.img and ik2.img (the names has changed in lineage-17.1-20201227-UNOFFICIAL-begonia) are not identical with the one provided in the megathread, and why the "preloader.bin" is not present. Other black magic 🤔

Again, many thanks for your time, i hope this will help others unexperimented (like me) 🙏

D.
[Redmi Note 8 Pro ROMs, Kernels, Recoveries, & Othe] theimpulson:
@dedalumine If you are coming from Stock ROM (MIUI), here is how you do it:

- Unlock your bootloader

- Disable AVB by flashing stock vbmeta.img with the following command fastboot --disable-verity --disable-verification flash vbmeta vbmeta.img

- Find a decent working TWRP, flash, and boot it using the manual key combo (official TWRP on Android 9, LR.TWRP on Android 10)

- If you have begoniain run this command adb shell resetprop ro.product.device begoniain

- Format data

- Flash latest LineageOS build

- Flash GAPPS if you want otherwise skip this step

- Reboot back to fastboot and flash LineageOS recovery

- Reboot to system

Done

If you are coming from another custom ROM, here is how you do it:

- Flash LineageOS recovery, and boot it using the manual key combo

- Format data

- Flash latest LineageOS build

- Flash GAPPS if you want otherwise skip this step

- Reboot to system

Done

I recommend using builds I released today otherwise you might brick. begonia | begoniain