yashsingh1/xdaforums huggingface dataset:
[Xiaomi Redmi 5A ROMs, Kernels, Recoveries, & Other] pavankumar14:
Hello there!

Thank you for this ROM. I'm currently running on LOS 14.1 unofficial with minor issues. Was just wondering if the following are working on this ROM

-IR Blaster

-SE linux enforcing

-Banking apps(without magisk hide)

-Intune company portal app(this is an app that my company uses to enforce policies on outlook - I'm using with Magisk hide and a module to make outlook work)

-double tap to wake up.

-Device not certified(i'm aware of the GSF ID registration)

I'm a fan of LOS 14.1/15.1/16.0 stable & would love to use it everyday. But its just that i'm heavily dependent on my phone for office use which would prevent me from testing/switching OS on frequent basis. I've used official 14.1 on Redmi note 3 and it used to work full fledged without any addons, would this ROM head in that direction ? just a question. if it does, i'd be darn happy & i bet you would find a sizeable members in this community, who would be happy too.

Appreciate your efforts and help.:good:
[Xiaomi Redmi 5A ROMs, Kernels, Recoveries, & Other] Growtopia Jaw:
In the list that you've mentioned, currently only double tap to wake works. This is mostly not the ROMs fault but it depends on the treble implementation for the device.

- IR Blaster - doesn't work

- SE Linux enforcing - if you try to set it with setenforce 1, your phone will freeze and display a black screen

- Banking app, Intune company portal app - yea, because this is a custom ROM and mostly it doesn't pass safety net's test. you need magisk hide for it to work sadly

- Device not certified - you can make it certified but you need to use Magisk module - MagiskHide Props Config and Magisk itself of course. There's a drawback, you can't install Xposed or else the device will not pass safety net and device will not be certified
[Xiaomi Redmi 5A ROMs, Kernels, Recoveries, & Other] pavankumar14:
Thank you for the quick response. I sort of understand what you have told, but i'm not an advanced android user for now. just started with custom ROMs from 4 months. Not too keen on IR blaster for now. I did not understand the setenforce 1 issue. is it a ROM issue ? i'm using SE linux switcher and seems to be working on unofficial LOS 14.1 without crashing the phone.

As noted, When I was using LOS 14.1 official on Redmi NOte 3, device was certified and banking apps worked without magisk. this is what I was referring to. Would the "device certification" depend on the LOS being OFficial vs unofficial ? if so, i can understand.

Not too keen on installing Xposed!, not sure what it does. i havent used it till date, so probably wont use it until there are compelling reasons :)
[Xiaomi Redmi 5A ROMs, Kernels, Recoveries, & Other] Growtopia Jaw:
About the setenforce 1, it's the same as selinux switcher. The only difference is you have to type it manually in a command line prompt such as "Terminal Emulator" in Play Store.

The answer to the question "Would the "device certification" depend on the LOS being OFficial vs unofficial ?" is that Treble based ROMs and normal ROM is only different in 1 way.

- Treble supports almost every device with a single flashing zip.

- Normal ROM only supports one phone per flashing zip. It means that if you want to have it on another phone, you have to make another "flashing zip" for that phone.

Because Treble based ROM aims to support as many device as possible, the ROM is built with a flavour called "userdebug". The main reason Treble ROMs doesn't pass " device certification" is because of that "userdebug" flag.

The short answer would simply be "no"
[Xiaomi Redmi 5A ROMs, Kernels, Recoveries, & Other] askara1994:
Looks Great！

Unofficial, is there an opportunity to officially?

Can update to latest security patch？（November security patch）

Can update the latest 3.18.x kernel？（kernel 3.18.125，Can update 4.x better）

Can update compiler to compile kernel？（GCC 8.2）

thanks！
[Xiaomi Redmi 5A ROMs, Kernels, Recoveries, & Other] Growtopia Jaw:
Updating kernel to v4.x is impossible (for now). Current upstream CAF (Code Aurora Forum) release for Qualcomm msm8917 is only at v3.18.125. It's up to Qualcomm if they want to upstream to v4

x. Not every phone can jump to v4.x as different phone has different SoCs and age on market. I'll try to update the kernel ASAP and FYI, the higher the kernel compiler, the more errors it will blurt out during compilation.

I'm trying to compile Dirty Unicorns first. Too bad they have a lot of errors during compilation and I'm trying to figure out how to solve them all.

About official, there is already an official Treble LineageOS maintainer [MENTION=1915408]phhusson[/MENTION]. So, obtaining an official maintainer status might not be possible. phhusson is currently working on fixing bugs and stuff. This thread is just to update arm64 & aonly phones.
[Xiaomi Redmi 5A ROMs, Kernels, Recoveries, & Other] Growtopia Jaw:
Duplicate post of #11. Deleted
[Xiaomi Redmi 5A ROMs, Kernels, Recoveries, & Other] Growtopia Jaw:
Compiling LineageOS 15.1 & kernel now!
[Xiaomi Redmi 5A ROMs, Kernels, Recoveries, & Other] askara1994:
Goodjob，can your kernel absorb Inferno Kernel and DireWolf Unified kernel patches?
[Xiaomi Redmi 5A ROMs, Kernels, Recoveries, & Other] Growtopia Jaw:
Hmm.. Maybe.. But that'll require some time
[Xiaomi Redmi 5A ROMs, Kernels, Recoveries, & Other] Matheusrs:
I can not download LineageOs
[Xiaomi Redmi 5A ROMs, Kernels, Recoveries, & Other] Growtopia Jaw:
What do you mean? Link to download is in the download section.

Anyways,

This is the link:

1. LineageOS 15.1

https://github.com/GrowtopiaJaw/tre...ad/v3/lineage151-arm64-aonly-vanilla-nosu.img

2. treble-riva-v4.zip

https://www.androidfilehost.com/?fid=11410932744536995622

3. sound_treble_fix.zip

https://www.mediafire.com/file/k8xc48o65rpb613/sound_treble_fix.zip/file

4. GApps (pico)

http://opengapps.org/?download=true&arch=arm64&api=8.1&variant=pico

5. Magisk (stable)

https://xdaforums.com/apps/magisk/official-magisk-v7-universal-systemless-t3473445
[Xiaomi Redmi 5A ROMs, Kernels, Recoveries, & Other] halinh12344520:
What custom recovery should I use? I tried OrangeFox Recovery but lost my cellular network signal

I'm not good at English, sorry...
[Xiaomi Redmi 5A ROMs, Kernels, Recoveries, & Other] Growtopia Jaw:
Any recovery should work. You can even use the original TWRP. Just to be on the safe side, use the lastest TWRP recovery version available.

This will work: https://dl.twrp.me/riva/twrp-3.2.3-0-riva.img.html
[Xiaomi Redmi 5A ROMs, Kernels, Recoveries, & Other] askara1994:
I want to know what progress you have made on Kernel.
[Xiaomi Redmi 5A ROMs, Kernels, Recoveries, & Other] Growtopia Jaw:
Not much yet. I have trouble compiling Dirty Unicorns. I finally managed to solve it just today. Maybe I could resume the kernel project starting tomorrow.
[Xiaomi Redmi 5A ROMs, Kernels, Recoveries, & Other] pavankumar14:
Thank you for the response. Was caught up with some office work. Will install this ROM on my phone in the coming weeks.

--Is VOLTE working? can someone please confirm ?

--Can i save .VCF file contacts on the local phone ?

--battery life comparable to LOS 14.1 ?
[Xiaomi Redmi 5A ROMs, Kernels, Recoveries, & Other] Growtopia Jaw:
No problem. Okay sure.

- VoLTE should work. It's confirmed to be working by [MENTION=7853983]sunnyraj84348[/MENTION], the Treble Zip maintainer himself.

- Yes you can. Just go to Contacts --> Settings --> Import/ Export contacts.

- About battery life.. Hmm it should be fine. I'm using this ROM for weeks now. Had no fast battery draining issues.
[Xiaomi Redmi 5A ROMs, Kernels, Recoveries, & Other] Dennydap:
Hi, I just want to say great ROM so far!

Is it me or every time I restarted my device, the SIM Card is alway need to setup? Even though I didn't change any SIM Card, used only one SIM Card, and never ejected the SIM slot
[Xiaomi Redmi 5A ROMs, Kernels, Recoveries, & Other] Growtopia Jaw:
Actually, that prompt is a workaround to make VoLTE work. If you don't use VoLTE, you can download this zip: . I will update link soon!
[Xiaomi Redmi 5A ROMs, Kernels, Recoveries, & Other] askara1994:
I think you need to update treble.zip yourself, sunnyraj84348's treble.zip is out of date.
[Xiaomi Redmi 5A ROMs, Kernels, Recoveries, & Other] Dennydap:
Great. I'll be waiting :D

Also, have you tried connecting to bluetooth speakers? I am trying to connect to my speakers and it didn't work. Tried another bluetooth speakers from my friend, didn't work too.
[Xiaomi Redmi 5A ROMs, Kernels, Recoveries, & Other] Plawan21nov:
How's battery life? Give a ss of SOT
[Xiaomi Redmi 5A ROMs, Kernels, Recoveries, & Other] Growtopia Jaw:
Yea.. I'm currently testing out the new vendor image before I release it to the public. Just to make sure that everything is working just the way it is.
[Xiaomi Redmi 5A ROMs, Kernels, Recoveries, & Other] askara1994:
I saw that can upgrade the kernel to 4.9.

https://github.com/redmidevs/androi...mmit/1266c5ad4cbb31ce9f9aee3cc02601a044e0e4d0
[Xiaomi Redmi 5A ROMs, Kernels, Recoveries, & Other] Growtopia Jaw:
Hmm.. We never used Bluetooth speakers though. I expect it to be working fine as Bluetooth is working normally. Can you please get logcat and post it here? Thanks.

To get logcat:

1. Download MatLog from Play Store.

2. Open up MatLog and grant SuperUser access.

3. Press the 3 dot menu --> File --> Record --> Allow --> Ok

3. Connect your speakers to Bluetooth.

4. Play some audio

5. Pull down your notification menu, press the "Touch to stop recording" notification

6. Go to your file manager, and upload the log located in matlog/saved_logs/2018-11-xx-xx-xx-xx.txt
[Xiaomi Redmi 5A ROMs, Kernels, Recoveries, & Other] Growtopia Jaw:
Hate to break it to you but, that's for pie. :p
[Xiaomi Redmi 5A ROMs, Kernels, Recoveries, & Other] askara1994:
Can't transplant to Oero?

I feel you can consider making Lineage16
[Xiaomi Redmi 5A ROMs, Kernels, Recoveries, & Other] Growtopia Jaw:
It might be possible to adapt changes to Oreo but that would mess up the aim to provide compatible GSI image on every Treble supported ROM. I have to add additional changes to the ROM and it may break compatibility on other phones.

I have a 500GB hard disk and I currently maintain 2 custom ROM projects. Both of them took up almost 450GB on my hard disk. If I maintain LineageOS 16.0, I would need another 100GB of space. I'm still a student and I depend on my parent's income.

By the way, [MENTION=7853983]sunnyraj84348[/MENTION] is already maintaining LineageOS 16.0

Hope you would understand. Thank you.
[Xiaomi Redmi 5A ROMs, Kernels, Recoveries, & Other] askara1994:
Sorry, I didn't expect the hard disk space to be insufficient.

Now, I am looking forward to your treble.zip update soon.

Cheer up!
[Xiaomi Redmi 5A ROMs, Kernels, Recoveries, & Other] Plawan21nov:
There is no update in los 16

---------- Post added at 06:29 PM ---------- Previous post was at 06:27 PM ----------

Plzzz fix notification led. That's important to me
[Xiaomi Redmi 5A ROMs, Kernels, Recoveries, & Other] Dennydap:
Logs attached. I filtered the messages to error, checked out Bluetooth related errors and still understand nothing lmao
[Xiaomi Redmi 5A ROMs, Kernels, Recoveries, & Other] pavankumar14:
Helllo, can someone please confirm if Magisk is working on this ROM ?

also, any hints on fixing LED light ?
[Xiaomi Redmi 5A ROMs, Kernels, Recoveries, & Other] Growtopia Jaw:
Magisk is working fine. About LED, it should be fixed on the next release.
[Xiaomi Redmi 5A ROMs, Kernels, Recoveries, & Other] Plawan21nov:
When is the next release?
[Xiaomi Redmi 5A ROMs, Kernels, Recoveries, & Other] Growtopia Jaw:
When LineageOS updates it's manifest
[Xiaomi Redmi 5A ROMs, Kernels, Recoveries, & Other] Plawan21nov:
NEXT UPDATE MEANS THE DEC SECURITY PATCH UPDATE? OR ANY OTHER UPDATE? ( i am new to this stuff so, i don't know much about it) :p
[Xiaomi Redmi 5A ROMs, Kernels, Recoveries, & Other] Growtopia Jaw:
You can say it as December Security Patch update.

If you go to this link https://github.com/LineageOS/android/commits/lineage-15.1, you can see that the lastest commit is "Build Exchange". If there is a new commit and is "update security patch" or "merge manifest", it means manifest is updated (or new update). So, I will build it and release it as a new update.
[Xiaomi Redmi 5A ROMs, Kernels, Recoveries, & Other] Plawan21nov:
Oh!! now I understand. Thanks for explaining. BTW can you tell me what manifest means or its work/importance?
[Xiaomi Redmi 5A ROMs, Kernels, Recoveries, & Other] Growtopia Jaw:
In simple terms, manifest means the main repository where it lists all the files required to download for the ROM to build. So, for LineageOS, it's manifest is this https://github.com/LineageOS/android.
[Xiaomi Redmi 5A ROMs, Kernels, Recoveries, & Other] pavankumar14:
Help!!

I'm using TWRP official - 3230. When i try to flash the .img file, i only see these options :

-Boot

-Recovery

There is no "System" option. is this a recovery issue ?
[Xiaomi Redmi 5A ROMs, Kernels, Recoveries, & Other] Plawan21nov:
Manifest updated https://github.com/LineageOS/android/commits/lineage-15.1, waiting for new build to flash :) :)
[Xiaomi Redmi 5A ROMs, Kernels, Recoveries, & Other] pavankumar14:
Okay, so I got this treble ROM working with Vendor support TWRP in place.

There is no call recorder inbuilt. kind of important for me. can this be added in next build please ?

Also, as a suggestion : Please edit original post and mention Vendor support enabled TWRP or something. would be helpful
[Xiaomi Redmi 5A ROMs, Kernels, Recoveries, & Other] Dennydap:
Hi, looking great. Now that the replies stated that the December security patch is updated, will you check on the Bluetooth speakers bug? I attached the log in my previous replies :laugh:
[Xiaomi Redmi 5A ROMs, Kernels, Recoveries, & Other] Growtopia Jaw:
It might be possible to add in-call recorder though. But I can't guarantee it will be available in the next build. If that feature isn't available, I'm afraid you'll have to use third-party in-call recording app from Play Store.

I guess LineageOS's dialer is somehow replaced by OpenGApps's dialer or something. Will try to figure it out and reply soon.

Thanks for the suggestion. I'll add that to OP soon.

This is part of the changelog taken from LineageOS Changelog 20:

Source: https://www.xda-developers.com/lineageos-changelog-20/
[Xiaomi Redmi 5A ROMs, Kernels, Recoveries, & Other] pavankumar14:
Great news, cant wait to have it.

My Magisk 18.0 isnt working. Magisk hide fails to protect apps from detecting root. any suggestions ? factory reset and reconfigure from scratch ? i did a fresh install while moving over from 14.1 to 15.1, no migration package flashed.
[Xiaomi Redmi 5A ROMs, Kernels, Recoveries, & Other] Growtopia Jaw:
Can you try using this previous stable https://github.com/topjohnwu/Magisk/releases/tag/v17.3 version? Maybe Magisk v18.0 has a bug or something.
[Xiaomi Redmi 5A ROMs, Kernels, Recoveries, & Other] pavankumar14:
Uninstalled MAgisk 18.0, installed 17.3, no Go.

Will do a factory reset and install Magisk 17.3. lets see.
[Xiaomi Redmi 5A ROMs, Kernels, Recoveries, & Other] askara1994:
Lastest commit is "manifest: android-8.1.0_r50 -> android-8.1.0_r52".

Now,can build new update?
[Xiaomi Redmi 5A ROMs, Kernels, Recoveries, & Other] Growtopia Jaw:
I might need a few days as I'm currently busy and need some time to prepare everything for the update. My Redmi 5A currently has problems, can't turn on and I don't have a PC now. It'll be difficult for me. I'll have to do everything on a phone.
[Xiaomi Redmi 5A ROMs, Kernels, Recoveries, & Other] pavankumar14:
Roadblock with 15.1, fell back to 14.1 for now. Magisk is unable to hide root from banking app. After wiping multiple times, root hide for a banking app is failing on 14.1 too(used to work fine). Intune hide module for Magisk works for now, on 14.1.

Some observations :

--Wi-Fi disconnects on rare occasions(i was next to the router), while playing "War robots" game

--War Robots Game stutters at times, did not have this issue with LOS 14.1

--LED does not work only while charging.

--Double tap to wake up works.

--Didnt test IR.

--Will give another go by this weekend, or maybe with your next build.

--Battery backup is the same , compared to 14.1

--Network connectivity is good (Single SIM - VoLTE)

--Safteynet check via magisk fails on LOS 15.1, passes in 14.1

--Device gets detected as Redmi 4A, with some apps on LOS 15.1 ??

--Chrome cast had difficulties connecting to my phone on LOS 15.1, works fine on 14.1.

Rest of the functions works as expected.
[Xiaomi Redmi 5A ROMs, Kernels, Recoveries, & Other] askara1994:
Oh I see the update.

I flashed

I can't boot the system, it's stuck in the lineage animation.
[Xiaomi Redmi 5A ROMs, Kernels, Recoveries, & Other] Growtopia Jaw:
Thanks for the response and the observation. I really appreciate your time.
[Xiaomi Redmi 5A ROMs, Kernels, Recoveries, & Other] Growtopia Jaw:
It was supposed to be a test build. I guess updating vendor blobs didn't work. There were a lot of missing files in vendor tree. I guess I can't fix LED then. We would need to wait until for [MENTION=7853983]sunnyraj84348[/MENTION] to update treble.
[Xiaomi Redmi 5A ROMs, Kernels, Recoveries, & Other] Growtopia Jaw:
How to Install MagiskHide Props Config Module

Requirements

Magisk (MANDATORY!)

Installation

1. Open up "Magisk", go to "Downloads" and search for "MagiskHide Props Config" and "Busybox for Android NDK"

2. Press "Download" and select "Install" for "MagiskHide Props Config" and "Busybox for Android NDK"

3. Wait for the download to complete and remember to install BOTH of the modules. Reboot your device after installing.

4. Open up "Terminal Emulator", "Termux" or any terminal emulator app. Install from "Play Store" if you don't have any.

5. Type "su" and hit "ENTER"

6. Type "props" and hit "ENTER"

7. Type 1 --> f --> 16 --> 19 --> y --> n --> b --> b --> b

(Make sure "Xiaomi Redmi 5A (7.1.2)" is selected)

8. Type 2 --> y --> y

9. Done!

How to check if SafetyNet PASS?

Solution 1

1. Open up "Magisk"

2. Hit "Tap to start SafetyNet check."

3. If the result looks like the image above, it means... PASS! If not, today is not your day buddy. Repeat the "Installation" step. If it still doesn't work, idk.. idk man..

Solution 2

1. Open up your favorite app, "Play Store"! (If that's not your favorite app, then don't use it :D) (If you say you're a MicroG/ FLOSS user, then GET THE HELL OUTTA HERE)

2. Hit Menu --> Settings

3. Scroll to the bottom and find the "About" section

4. If the result looks like the image above, it means... do I still have to tell you? PASS! of course.. Facepalm. If it shows "Device is not certified", then today is not your day buddy. Repeat the "Installation" step. If it still doesn't work, idk.. idk man..

NOTE: In some cases, it might not show the "Play Protect certification" info. You might need to enable "Play Protect" for this info to show up.
[Xiaomi Redmi 5A ROMs, Kernels, Recoveries, & Other] pavankumar14:
Thanks for all the effort that you have put into this project, appreciate it. Downloading your latest release now. will do a clean install and try to jump from 14.1 to 15.1. do i need to flash treble.zip only once or do I need to do it again ?

i suppose i need to do it again for a clean install ? i suppose i'll do it again after doing complete wipe on data/internal.

Also, please note that downloading uncompressed files from Github is failing(1Gb+). good thing that you included a compressed file in there. i remember last time that it failed at least 10 times. HTTP 503 pops up after downloading 1GB of data. it was very painful.

I see that you have changed main post. pls do mention "TWRP with vendor support" for newcomers.
[Xiaomi Redmi 5A ROMs, Kernels, Recoveries, & Other] Growtopia Jaw:
Thanks. If you wiped vendor partition or changed kernel, you will have to flash it again. If you didn't wipe vendor or change kernel, flashing the zip only once will work. You can skip wiping Internal Storage.
[Xiaomi Redmi 5A ROMs, Kernels, Recoveries, & Other] pavankumar14:
Your latest build has some serious issues ?

--Playing music via Bluetooth doesnt work

--When call is in progress, its always on loudspeaker, no matter what i choose - Bluetooth, phone / speaker

--I disconnected the bluetooth device and initiated a call with same results. Call is always on speakerphone.

--Bluetooth crashes on the Device setup screen(first screen after flashing ROM).

--When i insert headset, its not being detected. Audio is played on Headset & loudspeaker. I used the stock music player.

I've installed your previous build(r50?) and Calling doesnt have any issues.

--Bluetooth is broken though
[Xiaomi Redmi 5A ROMs, Kernels, Recoveries, & Other] Dennydap:
Playing music via bluetooth is buggy, I mentioned about it earlier in this thread but got no responses. But I never experienced call is always on speakerphone
[Xiaomi Redmi 5A ROMs, Kernels, Recoveries, & Other] pavankumar14:
Yes, i noticed your earlier post on bluetooth. thanks for reminding.

-Also, as noted earlier - Wifi issues are with my router and possibly not the ROM issue. will summarize full usage at later date [MENTION=7826540]Growtopia Jaw[/MENTION]
[Xiaomi Redmi 5A ROMs, Kernels, Recoveries, & Other] Growtopia Jaw:
Weird though.. My phone works fine with Bluetooth and it's able to play normally with Bluetooth speakers (tested with r52) using stock Music player.

About the headphone playing through speaker bug, I encountered this before. I was able to fix this by wiping everything (except Internal Storage) and reflash System Image + Vendor Zip.

Since playing Music via Bluetooth speakers are working normally, there shouldn't (maybe) have any problems with in-car calling.
[Xiaomi Redmi 5A ROMs, Kernels, Recoveries, & Other] Growtopia Jaw:
My Wi-Fi connection is connected throughout the day and I didn't experience any disconnected issue. I tested this in many places. Like public Wi-Fi, Mobile Hotspot and Home Wi-Fi.
[Xiaomi Redmi 5A ROMs, Kernels, Recoveries, & Other] Growtopia Jaw:
Bluetooth crashing during Device Setup is normal. It needs to restart (the Bluetooth app) to configure Bluetooth. Bluetooth is working normally after Device Setup although it needs some time to start as it needs to configure the Bluetooth address and more.
[Xiaomi Redmi 5A ROMs, Kernels, Recoveries, & Other] Growtopia Jaw:
You might want to try wiping everything (except Internal Storage) and reflash Syatem Image or Vendor Image.

But before you do that, there is a handful of Bluetooth settings in Settings --> System --> Developer options then scroll down to Networking menu.

You will find a list of settings like this:

Try each settings and see if it works.

You can try changing Bluetooth Audio Codec to either AAC or SBC

But... I don't see any Developer options in System. How do I enable it? you might ask

1. Go to Settings --> System --> About phone

2. Scroll down until you see Build number

3. Spam hit the Build number about 7 times until there is a toast notification that says something like Developer options is enabled

4. Done!