yashsingh1/xdaforums huggingface dataset:
[Xiaomi Redmi Note 5 Pro ROMs, Kernels, Recoveries,] Subhrajyoti Sen:
New build is up!

https://dl.subhrajyoti.me/lineage/pie-firmware-builds/lineage-16.0-20190616-UNOFFICIAL-whyred.zip

Changelog

Upstream kernel to 4.4.181

Enable to KCal in kernel

f2fs updates

Upstream from LOS

Replaced MiUI Camera with GCam (not patch needed).

Fix a few error messages in logs.

Possibly fixed the issue where Updater showed update even after updating

This is a trial build to see how GCam performs for you all. If the majority like it, it stays. Else it goes.

This has nothing to do with official submission. I am working on that separately
[Xiaomi Redmi Note 5 Pro ROMs, Kernels, Recoveries,] Skyfire1:
Updater does not show Updates anymore!
[Xiaomi Redmi Note 5 Pro ROMs, Kernels, Recoveries,] dngray:
I kind of noobed up.

I was running MIUI V9.5.17.0.OEIMIFA_20180629.0000.00_8.1 (last version on ARB 3).

I flashed LineageOS lineage-15.1-20181125-nightly-whyred-signed to my phone last year.

I rebooted into twrp-3.3.1 and wiped the partitions like described in the first post without copying lineage-16.0-20190616-UNOFFICIAL-whyred.zip to my phone first.

When I tried to adb sideload I got the error

Starting ADB sideload feature..
Installing zip file '/sideload/package.zip'
Modem firmware from MIUI V10.3.1.0.PEIMIXM or newer stock ROMs is prerequisite to be compatible with this build

Do I have to flash MIUI first? Should I use the stable or developer ROM?

---------- Post added at 06:55 PM ---------- Previous post was at 06:30 PM ----------

After reading I don't think there's any reason to stay on ARB3.

It's not like I want to go back to an android 8.1 version of MIUI.

And if I were to flash MIUI should I do it through TWRP or MiFlash? (sorry if these sound like noob questions, it's been a while since I've done this).
[Xiaomi Redmi Note 5 Pro ROMs, Kernels, Recoveries,] MyCats:
Try to flash PEIMIXM Global Stable firmware from Xiaomi Firmware Updater OSDN.
[Xiaomi Redmi Note 5 Pro ROMs, Kernels, Recoveries,] dngray:
From Xiaomi Firmware Updater (Redmi Note 5 Pro) I downloaded the latest one.

Firmware without ARB > OSDN: Stable ROMs Firmware > fw-non-arb_whyred_miui_HMNote5HMNote5ProGlobal_V10.3.1.0.OEIMIXM_a823482d8d_8.1.zip

To flash that in fastboot what's the correct command?

I tried adb sideload arb_whyred_miui_HMNote5HMNote5ProGlobal_V10.3.1.0.OEIMIXM_a823482d8d_8.1.zip

and it seemed to work, however I'm still facing the same error when trying to sideload LineageOS.
[Xiaomi Redmi Note 5 Pro ROMs, Kernels, Recoveries,] Subhrajyoti Sen:
Please flash the full firmware zip instead of non-arb. I had metioned a few posts earlier too. I will update the Main Post as well. You can get the firmware here https://osdn.net/projects/xiaomifir...5Global_V10.3.1.0.PEIMIXM_d4d2c9f2aa_9.0.zip/
[Xiaomi Redmi Note 5 Pro ROMs, Kernels, Recoveries,] niyas90:
Non-arb file won't work anymore since the new pie update. Flash the normal firmware file.
[Xiaomi Redmi Note 5 Pro ROMs, Kernels, Recoveries,] dngray:
Hmm that worked, however it seems that TWRP is unable to perform decryption now. If I remember to fix that the only way was to flash full MIUI and then enable encryption. (There was no data of value on the phone as I backed all that up).
[Xiaomi Redmi Note 5 Pro ROMs, Kernels, Recoveries,] Uniqueheart:
Hello dev, I'm kinda new to whyr3d, want to ask, is it possible to have second space on this rom, or maybe something like the Samsung secured folder, where everything installed can't be seen on app settings.
[Xiaomi Redmi Note 5 Pro ROMs, Kernels, Recoveries,] home@fussi.net:
how can I decrypt my whyred?

Hello,

I have a problem:

after encrypting my phone this morning, I found out that a password is also needed for booting in TWRP. Unfortunately it says 'wrong password' although I type in the same password as on regular boot.

So I decided to decrypt my phone again, but I cannot find where to do so.

In the adjustments I only find 'encryption' and there it says 'encrypted', no possibility found for decryption...

Can anybody please tell me, how I either find the correct password for TWRP or decrypt my phone again?

Thank you very much,

Stefan
[Xiaomi Redmi Note 5 Pro ROMs, Kernels, Recoveries,] ammarabbasi:
Does this ROM support substratum?

TIA
[Xiaomi Redmi Note 5 Pro ROMs, Kernels, Recoveries,] 0lorenzo:
Thanks a lot man. Gcam works great for me, super thumbs up for me! Keep it installed!:svetius::highfive:

Just a little problem (always had that problem from first build). I have random signal drop, i just take 2 screenshot in a range of 10sec and sitting in the same place. See below. How can i check if it is only a visual bug or a "real" bug with a real loose of signal and data connection? Thanks.
[Xiaomi Redmi Note 5 Pro ROMs, Kernels, Recoveries,] dngray:
The password is the one you set as your passcode when you enabled encryption. I did this in MIUI.

What I did notice though was when flashing the 9.0 firmware as suggested by Subhrajyoti Sen I lost the ability to decrypt my partitions in TWRP.

Fortunately I was sensible and I backed up everything before doing this.

I fixed this by downloading the latest MIUI ROM whyred_global_images_V10.3.1.0.PEIMIXM_20190522.0000.00_9.0_global_8201319a7e.tgz

I downloaded MiFlashTool and flashed all (not lock).

That has now allowed me to boot MIUI. If your password isn't long you won't have to enter one on boot, apparently

So I made sure to set "Encrypt device using lock screen password"

This time I made sure to adb push addonsu-16.0-arm64-signed.zip and lineage-16.0-20190616-UNOFFICIAL-whyred.zip to my /sdcard/

cp twrp-3.3.1-0-whyred.img twrp.img

fastboot boot twrp.img

The weird thing is TWRP seemed to think I wanted to decrypt with a pattern, when it was actually set to PIN. I also observed when the phone booted it said "use pattern" in the top left hand corner even though a keyboard was presented. When putting in the pre-boot decryption password.

So I set the PIN to a password. TWRP then did show a password, but it was always incorrect even when I know I typed the right one in.

If I set a pattern, then it expected a password. When putting in the decryption password during boot I observed a pattern came up but in the top left hand corner it said "use pin".

If I disabled "Encrypt device using lock screen password", TWRP expected a decryption password and would not accept my PIN.

If I set no PIN, Password or Pattern then TWRP seemed to still expect a password.

Any idea what might be causing this? I need to be able to boot TWRP in order to flash LineageOS.
[Xiaomi Redmi Note 5 Pro ROMs, Kernels, Recoveries,] Subhrajyoti Sen:
I am not aware of such a feature on Lineage and I don't think it will be happening from my side.

I don't think such a decryption method exists. You will have format the storage to decrypt (as far as I am aware of). I haven't encrypted my phone much.

Yes. I am using Pitch Black on it right now.

I don't think it's just cosmetic. It's on my TO-DO list.

I am not sure why this is happening. I haven't played around much with encryption/decryption. I can investigate possibly later this week when I have another device to use as primary.
[Xiaomi Redmi Note 5 Pro ROMs, Kernels, Recoveries,] dngray:
I'm at a loss of what to try next. MIUI makes me want to tear my eyeballs out with all the bloat.

If anyone has any suggestions (that would reveal more information), I'll go ahead and try it.
[Xiaomi Redmi Note 5 Pro ROMs, Kernels, Recoveries,] alison.rm:
How do you install it?
[Xiaomi Redmi Note 5 Pro ROMs, Kernels, Recoveries,] :
You should install F-Droid. Sideload the APK. It is a "app store" for free open source software only. It used to be in google play under com.github.axet.callrecorder but has since been removed.

You should note that there are many call recorder apps in google play, most of which are unlikely to work in Android 9.

Google is considering adding Call Recording APIs in a future Android version

Android Pie blocks non-root call recording apps from working
[Xiaomi Redmi Note 5 Pro ROMs, Kernels, Recoveries,] Subhrajyoti Sen:
Are you using any camera patch? Because camera is working for me and other users as well
[Xiaomi Redmi Note 5 Pro ROMs, Kernels, Recoveries,] dngray:
Awesome. I was able to get this working.

The most important thing is to boot into TWRP and wipe all the partitions, that will remove the encryption placed by MIUI.

Then simply flash the lineageOS rom, from a sdcard or usb otg.

Once that is done you can enable encryption in security. LineageOS will ask you for your identification when it boots.

You will then be able to decrypt with TWRP. So I'm not sure what MIUI does, but i think it is the problem, especially as during the boot phase for MIUI it says "pattern" in the corner when it's actually a PIN, that must be a bug from them. That is irrespective of TWRP or LineageOS.

In regards to the camera, yes that's crashing for me too, and no I haven't applied anything but your rom

I see this in logcat

06-17 17:20:49.147 6255 6255 E AndroidRuntime: FATAL EXCEPTION: main

06-17 17:20:49.147 6255 6255 E AndroidRuntime: Process: com.google.android.GoogleCamera, PID: 6255

06-17 17:20:49.147 6255 6255 E AndroidRuntime: java.lang.RuntimeException: Unable to create application com.google.android.apps.camera.legacy.app.app.CameraApp: java.lang.SecurityException: Failed to find provider com.google.android.gsf.gservices for user 0; expected to find a valid ContentProvider for this authority

Everything I need is in F-Droid.

The actual camera hardware works, as I was able to verify with OpenCamera f-droid.org/en/packages/net.sourceforge.opencamera/

If this is indeed the issue, then I'd just supply a separate flashable zip for the Google Camera and not include it in your ROM. That way if people want it they can add it like they would su when flashing in TWRP, or just stay with the AOSP one.

You'll probably find using the AOSP camera is a requirement for becoming official on lineageos.org, which I will be happy to use when available. I will throw a donation your way when that happens. Automated OTA updates ftw.

A lot of people install LineageOS because specifically want a low-bloat operating system without google's spyware.
[Xiaomi Redmi Note 5 Pro ROMs, Kernels, Recoveries,] vipsks:
no camera patch.

I have two identical phones and the camera still can't start. The factory settings are restored and the camera problem is still present.

But the front camera on the phone was taken down。

No camera issues in the history version。

抱歉，英文水平有限.
[Xiaomi Redmi Note 5 Pro ROMs, Kernels, Recoveries,] dngray:
Can you run adb logcat and then open the camera app?

Do you have Google Apps? If you do not, the Google Camera app will crash as it does a check for Google Services Framework.

Personally I don't use Google Apps, because it does a tonne of calling home to Google and I don't need it.

All my contacts are synced from DAVx⁵ and I use K-9 for email. I also don't have any need for ****ty social media apps that spy on me either.
[Xiaomi Redmi Note 5 Pro ROMs, Kernels, Recoveries,] niyas90:
I think you used the wrong twrp. Official twrp can't decrypt the miui pie firmware. Use this one.

https://androidfilehost.com/?fid=6006931924117884758

Perform a fastboot flashing by flash all command on mi flashtool. And let it boot once. You dont need to enter the miui device setup. Then reboot to fastboot and boot to twrp using fastboot boot twrp.img command.

Then copy the twrp.img file to your device and flash the img to recovery partition. Reboot to recovery , wipe all(dont format) and flash your rom. You can also use adb sideload.

Encryption will work automatically if you perform these steps.
[Xiaomi Redmi Note 5 Pro ROMs, Kernels, Recoveries,] dngray:
I did try the one in that post that you linked as well and it didn't work either.

What I found interesting was when booting MIUI V10.3.1.0.PEIMIXM after I had enabled "Encrypt device using lock screen password" the top right corner would say what type of credential should be provided (ie PIN, Pattern etc).

For some reason even though I had it set to PIN, it would say Pattern in the top corner. Weirdly enough that is also what would come up in TWRP (a pattern unlock dialog).

If I changed my authentication credential to a pattern unlock, then it would say that the authentication should be a PIN. The correct keyboard would come up while booting MIUI though.

When booting TWRP in this case, a PIN dialog now came up. Meaning whatever I chose, the wrong kind of keyboard would come up in TWRP. I don't think it was TWRPs fault though, because as I said when booting MIUI it shows in the top corner something like "PIN unlock" or "pattern unlock" in the status bar.
[Xiaomi Redmi Note 5 Pro ROMs, Kernels, Recoveries,] vipsks:
Do you have Google Apps?

Google Apps not installed

Is there an alternative camera app?

bug:

Password correct, cannot enter“Home settings----Hidden & protected apps"

The historical version also has this problem, the factory reset is normal.
[Xiaomi Redmi Note 5 Pro ROMs, Kernels, Recoveries,] dngray:
Yes there is. Normally Android ROMs use the AOSP camera app where the source code is available and built as a part of the ROM.

It may very well be the above poll people think that's what OP is talking about.

Google also have a "Google Camera App" that is proprietary, I think it has some other features (not that I've used any of them). Unfortunately it also depends on the whole google services framework.

There is an open source camera app written by someone in the community you can install from F-Droid. Obviously if you don't have the GAPPS (Google Apps), you're not going to be able to install it from Google Play.

Alternatively wait for this ROM to hopefully get approved at lineageos.org as an official rom OP won't be able to include the Google Camera and will have to use the AOSP one to get it approved.
[Xiaomi Redmi Note 5 Pro ROMs, Kernels, Recoveries,] mrmtsuruya26:
I came from ArrowOS for a year but which was already abandoned recently by the dev.

This ROM works perfectly fine, no issues so far. GCAM works fine after flashing gapps pico my own preference.

Thanks dev for keeping this rom updated and hoping to keep it coming.
[Xiaomi Redmi Note 5 Pro ROMs, Kernels, Recoveries,] niyas90:
Anyway you got the workaroud now. I missed your last post while replying. So i assume the problem arise when you set an additional device encryption password on miui. I didn't configured anything in miui earlier.

I have the device encryption without entering any futher encryption steps in Los. My lock screen pattern automatically set to encryption password after the first reboot on lineage os.
[Xiaomi Redmi Note 5 Pro ROMs, Kernels, Recoveries,] vipsks:
Thank you, I see.

I voted the wrong time.
[Xiaomi Redmi Note 5 Pro ROMs, Kernels, Recoveries,] niyas90:
I dont think the people voted it wrongly. Op clearly mentioned google camera on polls. This rom previously have miui camera. Now most of the people voted for google camera. So the dev changed it. Since this is an unofficial build the dev has the freedom to do so. The default snapdragon cemera comes with los not performaing well on our device. Picture quality is so poor. You are right about the official build. Op already said about it on previous post.
[Xiaomi Redmi Note 5 Pro ROMs, Kernels, Recoveries,] dngray:
Actually what happened was:

I was using encryption with lineage-15.1-20181125-nightly-whyred-signed.

I was getting an error when trying to flash lineage-16.0-20190616-UNOFFICIAL-whyred.zip:

I flashed the Pie firmware fw_whyred_miui_HMNote5Global_V10.3.1.0.PEIMIXM_d4d2c9f2aa_9.0.zip from here via TWRP. After rebooting I wasn't able to decrypt my partitions at all.

I then flashed whyred_global_images_V10.3.1.0.PEIMIXM_20190522.00 00.00_9.0_global_8201319a7e.tgz via MiFlash Fastboot method

That's when I noticed the weirdness in TWRP giving me the wrong decryption keyboard.

I then tried Encrypt device using lock screen password to see if that would fix it and it didn't.

I made the mistake of only doing an Advanced Wipe on the partitions mentioned in the first post (ie cache, dalvic cache, system, vendor, data).

What fixed it for me was choosing a Format Data wipe, flashing lineage-16.0-20190616-UNOFFICIAL-whyred.zip and then enabling encryption again on the newly flashed LineageOS.

Note, put here as a conclusion in case someone else has this problem :) also thanks [MENTION=6623671]Subhrajyoti Sen[/MENTION] and others, for all the hard work on this ROM!

I know I voted that way. I saw "google camera" and thought of the AOSP one, forgetting momentarily about the proprietary one as I never had it on lineage-15.1-20181125-nightly-whyred-signed.

I read about that here Is camera THAT bad on LineageOS?. The people said the Google Camera is a fair bit better on some phones. They also said Open Camera was pretty good too. My guess would be that the Google Camera uses some patent encumbered code and hence they won't release the source. Open Camera looks to have a lot of the same features.

My suggestion would have been to have no camera, and then just provide a supplementary zip file using Android Flashable Zip Creator. I guess that's still an option that would keep everyone happy regardless of the outcome of the vote :)

That way people can choose which one they want when they flash OpenGapps, su or Magisk of their choice.
[Xiaomi Redmi Note 5 Pro ROMs, Kernels, Recoveries,] Mkfermam:
Greetings!

After 7 days waiting unlock bootloader time, I finnaly fix wifi problem.

Firstly, I needed win another 3 days additional Mi unlock time. I installed a Mi unlock downgraded version.

Lineage-recovery.img didin't work. So, I flashed official TWRP. After flash this rom, magisk and gapps (I used nano gapps) I entered in Lineageage configuration and wifi gets work! Thanks for you all for assistance!

I will follow this thread! Good Job, OP!
[Xiaomi Redmi Note 5 Pro ROMs, Kernels, Recoveries,] dngray:
[MENTION=9946067]vipsks[/MENTION]

I found that Camera periodically tries to start in the background, without GAPPs it crashes. I fixed that by removing the app:

adb shell
whyred:/ $ su
:/ # mount -o rw,remount /system
:/ # rm -rf /system/app/GoogleCameraMod06042019-whyred
reboot
[Xiaomi Redmi Note 5 Pro ROMs, Kernels, Recoveries,] Subhrajyoti Sen:
Okay. Since the Google Camera Mod seems to have a dependency on GApps, it doesn't make sense to provide it with the ROM. The next builds will revert to MiUI Camera.
[Xiaomi Redmi Note 5 Pro ROMs, Kernels, Recoveries,] snCk:
I have problem with AudioFX, it don't work. Any mode doesn't work, bass boost and virtualization too. Only reverberation works. Viper module for magisk was solution, but I can't have root because of some apps.

EDIT. Ok nevermind, my second app that is equalizer too caused the problem
[Xiaomi Redmi Note 5 Pro ROMs, Kernels, Recoveries,] 0lorenzo:
Ok, can you please provide link of the GCam version you tested in case someone want to install it later? Thanks
[Xiaomi Redmi Note 5 Pro ROMs, Kernels, Recoveries,] MyCats:
But what about official status? (Snap camera only)
[Xiaomi Redmi Note 5 Pro ROMs, Kernels, Recoveries,] Subhrajyoti Sen:
Here is the APK link https://gitlab.com/PixelExperience/packages_apps_GoogleCameraMod/raw/pie/whyred/GoogleCamera_6.2.030.244457635_06042019_mod_pe_whyred.apk?inline=false

Yes. I am quite aware that official required Snap only. I am not making any claim of official with GCam/MiUI Camera. It's quite obviously meant for unofficial builds only. And the trees with which I will apply using will also have Snap instead of GCam/MiUI camera. Not sure why that is a repeated confusion
[Xiaomi Redmi Note 5 Pro ROMs, Kernels, Recoveries,] Skyfire1:
Is there a specific reason why there is a swap partition in your rom ? :)
[Xiaomi Redmi Note 5 Pro ROMs, Kernels, Recoveries,] Ashish Banka:
Does los has three finger swipe to screenshot feature?
[Xiaomi Redmi Note 5 Pro ROMs, Kernels, Recoveries,] dngray:
Did you see my reply there:
[Xiaomi Redmi Note 5 Pro ROMs, Kernels, Recoveries,] ammarabbasi:
Hi guys,

I am unable to apply any overlays using substratum theme engine, it says that the overlays are compiled successfully and enabled but I don't see any changes.

Anyone else experiencing the same?

Edit: After updating magisk manager and disabling/enabling substratum magisk module, I am now able to apply overlays successfully.
[Xiaomi Redmi Note 5 Pro ROMs, Kernels, Recoveries,] mankokoma:
As far as I remember Substratum never has been working with LOS or Cyanogenmod.
[Xiaomi Redmi Note 5 Pro ROMs, Kernels, Recoveries,] Subhrajyoti Sen:
I was experimenting with adding a swap partition. I mentioned in the changelog for that build.

Can't really ship without no camera. Currenly shipping with MiUI camera since it's better than Snap.
[Xiaomi Redmi Note 5 Pro ROMs, Kernels, Recoveries,] Subhrajyoti Sen:
I have been really sick for about a week now. That's why no activity. I will resume stuff once I am okay again.
[Xiaomi Redmi Note 5 Pro ROMs, Kernels, Recoveries,] Jehonan:
I wish You well and to stand on Your feet as soon as possible!

Watch on yourself, nothing is more important then your health, family and loved ones!

I hope that we will talk soon when you feel better.

God bless!

---------- Post added at 12:02 PM ---------- Previous post was at 11:49 AM ----------

Honestly I don't see big use from so much experimenting with camera app. If there is no possibility that google camera app works in this ROM without some big tweaks then is so much better to use and stay on Xiaomi camera app.

As i have said, i would like this ROM to be my daily driver, which is al pari to stock ROM in functions and stability but without Xiaomi bloatware and spyware!

Nothing more and nothing less!

I don't wish just another ROM experiment full of tweaks, useless apps, flashy menus and half working options!!!
[Xiaomi Redmi Note 5 Pro ROMs, Kernels, Recoveries,] pratick Singh:
Please take care of yourself and health is more important, we will love to see you again when you feel better.

May god bless you with good health.:highfive::o
[Xiaomi Redmi Note 5 Pro ROMs, Kernels, Recoveries,] Skyfire1:
I wish you a speedy recovery! Health and family is paramount so only commence on working on the rom when you are fully recovered!

We can always wait another day ! No problem ! :)
[Xiaomi Redmi Note 5 Pro ROMs, Kernels, Recoveries,] SunilSuni:
Get well soon :)
[Xiaomi Redmi Note 5 Pro ROMs, Kernels, Recoveries,] niyas90:
Can anyone confirm carrier video calling is working or not for jio india.
[Xiaomi Redmi Note 5 Pro ROMs, Kernels, Recoveries,] Jehonan:
I can't confirm, I'm not in India, sorry.

I also have few questions to ask but I don't wish to be rude to our precocious developer in his illness so ....:angel:

What I can say is that when I dial *#*#4636#*#* I enter in some kind of engineering menu but there is only menu for SIM1 and WLAN, there is no SIM2 in there.

Also when the battery is full notification LED is still ON, it's not turning OFF like in stock ROM.

And yes, i believe that I'm almost famous in this thread about constantly nagging for native Call recording not showing up, at least in my case.

So there it is, something to read in time of sickness :D

I'm kidding, i wish him well :fingers-crossed:!
[Xiaomi Redmi Note 5 Pro ROMs, Kernels, Recoveries,] Skyfire1:
Small bug with GPS Test Plus...

GPS itself works perfectly!
[Xiaomi Redmi Note 5 Pro ROMs, Kernels, Recoveries,] Subhrajyoti Sen:
Is the bug that the app did not show a 'GPS fix"?
[Xiaomi Redmi Note 5 Pro ROMs, Kernels, Recoveries,] Subhrajyoti Sen:
So I have applied for LOS official with my cleaned up trees. I am awaiting a response. After I get the response, I will continue with the builds whatever be the result. Meanwhile, can you all help me by compiling a list of known bugs? I will give them a go. Thanks :)
[Xiaomi Redmi Note 5 Pro ROMs, Kernels, Recoveries,] Jehonan:
It's a live, it's a live :laugh::laugh::laugh:

Are You feeling better now? :fingers-crossed:
[Xiaomi Redmi Note 5 Pro ROMs, Kernels, Recoveries,] Subhrajyoti Sen:
Much better now :) . Started going to work as well. Should be back to speed in a few days