yashsingh1/xdaforums huggingface dataset:
[Xiaomi Redmi 4a ROMs, Kernels, Recoveries, & Other] @sur:
Working fine on rolex.

But, Unable to Unpack "boot.img"

wanna modify "init.rc"

but only getting 'init" file and few empty folders

" Unpacking the ramdisk....

../boot.img-ramdisk.gz: 57.4%

3625 blocks "
[Xiaomi Redmi 4a ROMs, Kernels, Recoveries, & Other] yyyxda:
Is this ROM still maintained? Are there going to be any more updates?
[Xiaomi Redmi 4a ROMs, Kernels, Recoveries, & Other] jakf:
LineageOS 17.1 unofficial update 20200215 on SourceForge / Dandyfarid by kurumitokisaki

https://sourceforge.net/projects/dandyfarid/files/LineageOS/Treble/lineage-17.1-20200215-UNOFFICIAL-rolex.zip/download

All is ok for me...
[Xiaomi Redmi 4a ROMs, Kernels, Recoveries, & Other] yyyxda:
Yes, but this one is from a different developer. And I cannot find anything here at xda.
[Xiaomi Redmi 4a ROMs, Kernels, Recoveries, & Other] wasay.65:
That's because maybe its only for test (there are many roms for rolex in sourceforge but not on xda) and also, its developer (dandyfaird) said that there was a problem in his rolex, so he hasn't published roms on xda.
[Xiaomi Redmi 4a ROMs, Kernels, Recoveries, & Other] toto6976:
Works fine for me. Thanks a lot
[Xiaomi Redmi 4a ROMs, Kernels, Recoveries, & Other] lucasfpaixao:
Ow, thanks wasay.65 for the information about the hardware problem of dandyfaird (the OP/developer of this ROM/thread). Without a working device no one can develop/test the codes.

I wish he can fix the hardware or get another rolex. If not, I think this thread should be discontinued or closed.

Edit: the thread here is created by nick00007 (the OP) and mention itself and sunnyraj84348 as contribuitors. I'm not sure if dandyfaird develops the ROM of this thread.

If not, sorry about the misinformation.
[Xiaomi Redmi 4a ROMs, Kernels, Recoveries, & Other] Udaba47:
Works fine .

I experienced some bugs , at Display/Style/Dark mode with Black mode .

Another bug is Battery style status bar ( i can set it to text for battery but wont work)

Thanks for you job mate .
[Xiaomi Redmi 4a ROMs, Kernels, Recoveries, & Other] KOntol Panjang:
Which Lineage nick rom or Lineage treble dandyfarid ?
[Xiaomi Redmi 4a ROMs, Kernels, Recoveries, & Other] Udaba47:
i tried nick's ROM and i think its pretty fine .

Did you tried dandyfarid?

edit : i just saw nick has update the ROM on January : https://sourceforge.net/projects/rolex1/files/Nicks-roms/lineageos/

Has anyone tried it out?
[Xiaomi Redmi 4a ROMs, Kernels, Recoveries, & Other] nick00007:
New update is here

Lineage OS 17.1 | 03/08/2020 |

Changelog :

- Feburary patch

- Some Source fixes

- Updated most blobs to Q

- Upstreamed kernel to 'LA.UM.8.6.r1-04000-89xx.0'

Instructions:

-> Go to recovery

-> Wipe system, data, cache & vendor

-> Flash the rom

-> Flash Gapps

-> Reboot

* Recommended Gapps : OpenGapps pico

DOWNLOAD : https://sourceforge.net/projects/rolex1/files/Nicks-roms/lineageos/
[Xiaomi Redmi 4a ROMs, Kernels, Recoveries, & Other] lucasfpaixao:
Good news! Thank you!
[Xiaomi Redmi 4a ROMs, Kernels, Recoveries, & Other] Udaba47:
thank you for this . any plannings to do this Official ?

i also recommend you to update the link at the 1st post .
[Xiaomi Redmi 4a ROMs, Kernels, Recoveries, & Other] suzver:
after a reboot, the settings for choosing a SIM card for a call are not saved if two are installed
[Xiaomi Redmi 4a ROMs, Kernels, Recoveries, & Other] lucasfpaixao:
some bug report

Installed version from 03/08/2020

Bug report:

- Camera app not working, some camera apps works

- SELinux still permissive

- Still cannot access data partition in TWRP

Fix:

- Battery percentage on notification bar fixed (thanks!)

- Sightly better overall performance
[Xiaomi Redmi 4a ROMs, Kernels, Recoveries, & Other] nick00007:
Camera will be fixed in new builds

seLunix permissive isn't a bug

With the recommend twrp, it will be fixed, Head to first page and flash the twrp that I suggested
[Xiaomi Redmi 4a ROMs, Kernels, Recoveries, & Other] Udaba47:
Camera apps works after restart for me at least . (i cleared storage & cache)

edit:I cant encrypt . is this common problem?
[Xiaomi Redmi 4a ROMs, Kernels, Recoveries, & Other] lucasfpaixao:
Thoughts on the Partition table

Thank you Udaba47.

Right before I write this post I went to TWRP to check this. I'm able to see this partitions:

System (1456MB)

Data (excl. storage) 0MB)

Cache (0MB)

Cust (332MB)

Recovery (64MB)

Boot (64MB)

EFS (3MB)

Persist (0MB)

Notice that the Data, Cache and Persist partitions are listed as 0MB. I'm not sure if this is supposed to happen or this is a bug in the partition table of my phone.

At this point I think I should mention that the reason I got a custom ROM (this Lineage OS 17) was I lost the original chinese MIUI after trying to change some parameters as root (dpi settings, not sure), and this attempt broke the system somehow and I was not able to boot to the system anymore.

So, I went to xda-developers to find help and I decided to try this ROM.

When I first install TWRP I noticed that I cannot mount any partitons! Every partiton was listed as 0MB.

I tried some distint versions of TWRP without success. To solve this, I followed information on forums and converted/formatted the /system and /data partitions to ext2 and again to ext4. After that, I was able to see the available storage and flash this ROM. It boots.

When I tried to upgrade the ROM I went to TWRP for backup and saw the same problem: not able to see the contents of the partitions. And, somehow, I think this could be related to the fact I had installed a custom ROM over a broken original firmware. Could the partition table corrupted?

If it is corrupted, I think I should fix the partition table to solve related bugs. I don't know how to diagnose and how to fix this.

Maybe a factory restore (reinstall the factory chinese ROM of the phone) will recreate the partition table.

Does anyone get some idea about this?
[Xiaomi Redmi 4a ROMs, Kernels, Recoveries, & Other] Redmi 4A abdal:
flash this recovery https://drive.google.com/file/d/1YA8Z6vSH5gYo1wMR4Ut-QCF2KBFKbGEY/view
[Xiaomi Redmi 4a ROMs, Kernels, Recoveries, & Other] lucasfpaixao:
Thank you!

I did it and it worked!

Update:

Wiped cache and native camera app works!
[Xiaomi Redmi 4a ROMs, Kernels, Recoveries, & Other] Radeit2012:
Bluetooth

Bluetooth is not working. I can pair my headphones but it crashes to connect every time. Other things great. Smooth, fast, but very quiet speaker volume.
[Xiaomi Redmi 4a ROMs, Kernels, Recoveries, & Other] lucasfpaixao:
I'm using Bluetooth to sync a mi Band 4 with no issues. I didn't tried audio over Bluetooth yet.

On normal telephone calls with the phone on the ear I see the screen turning on, it's annoying.

I set the option to turn the flash light on holding power button when the screen is off, but sometimes it soft reboot the system.
[Xiaomi Redmi 4a ROMs, Kernels, Recoveries, & Other] Udaba47:
Sorry for letting the whole quote , i had the same issue . Before this rom , i was running AOSP Extended but got droped out . Before flashing the latest update of this rom , cause i tried the link on the 1st page on 1st try , i couldnt flash the latest update of this rom , cause of the Data (excl. storage) 0MB) . Well im running Batik Recovery , i wasnt able to mount data as well . After several restarts to recovery , try mounting,wiping and again restarts finally worked . still The Internal storage recognised as (0MB) at recovery .
[Xiaomi Redmi 4a ROMs, Kernels, Recoveries, & Other] Redmi 4A abdal:
flash this https://drive.google.com/file/d/1YA8Z6vSH5gYo1wMR4Ut-QCF2KBFKbGEY/view
[Xiaomi Redmi 4a ROMs, Kernels, Recoveries, & Other] Udaba47:
Whats this?
[Xiaomi Redmi 4a ROMs, Kernels, Recoveries, & Other] lucasfpaixao:
This is the same TWRP I use to fix the same problem you said.

BTW, the flash light is not working in this ROM
[Xiaomi Redmi 4a ROMs, Kernels, Recoveries, & Other] sabitmaulanaa:
Kudos to nick for maintaining this rom. The experience are smooth and great so far. Love this. One question though. I found two strange app on app drawer (see attachment). I can't open or find information about that apps. Does anybody know this? [IMG="unknown-apps"]https://i.postimg.cc/pXtbjDBh/IMG-20200320-224227.jpg[/IMG]

---------- Post added at 04:19 PM ---------- Previous post was at 04:13 PM ----------

I use the latest LOS and flashlight is working fine. Do you still using the older ones?
[Xiaomi Redmi 4a ROMs, Kernels, Recoveries, & Other] Udaba47:
this seems to be 2 new apps installing or downloading . check your playstore or clear cache&storage .

flash is working fine for me too .
[Xiaomi Redmi 4a ROMs, Kernels, Recoveries, & Other] sabitmaulanaa:
Thanks for your suggestion. I tried checking and clearing storage for google play store. But the problem still persist. I see nothing on google play store. Are you not encountering this problem? I've done flashing this rom twice and this problem didn't disappear.

[IMG="play-store"]https://i.postimg.cc/P536NPYC/Screenshot-20200321-093025-Google-Play-Store.png[/IMG]
[Xiaomi Redmi 4a ROMs, Kernels, Recoveries, & Other] Udaba47:
maybe magisk apps? fdroid's? i dont have encounter this bug before .
[Xiaomi Redmi 4a ROMs, Kernels, Recoveries, & Other] sabitmaulanaa:
i find out that two strange apps are caused by installation of chrome from play store. i'm using opengapps pico that didn't include chrome web browser. when chrome installation done, that two strange apps appear. i already posting on opengapps thread asking about this problem. it has to do with trichromelibrary i think. when i try to open one of those strange apps, it redirect me to this link "market.android.com/details?id=com.google.android.trichromelibrary%3A398714933"

by the way, thanks for your help
[Xiaomi Redmi 4a ROMs, Kernels, Recoveries, & Other] n4p1:
Thank you for latest LOS for rolex, i'm big fan.

Anyway I've found two bugs while preparing this one for my daughter.

1. Encryption dosent work - its just restart phone

2. Family Link for kids cannot be activated - at the end application crashed and start from beggining, here is a logcat from the most importart part:

Any ideas?
[Xiaomi Redmi 4a ROMs, Kernels, Recoveries, & Other] Udaba47:
phone encryption wont work for me either :/
[Xiaomi Redmi 4a ROMs, Kernels, Recoveries, & Other] lucasfpaixao:
I double checked the version

Sun Mar 8 15:33:48 UTC 2020

It's the latest until now.

I had to re flash the TWRP to fix the partition problem, maybe this cause the flashlight problem.

I can't turn the flashlight on with the button inside the notification bar, can't turn it on with camera app.

But I'm able to turn it on using a simple (and old) play store app

https://play.google.com/store/apps/details?id=com.vladlee.flashlight

This software asks for camera access to work and it does turn the flashlight on.

Edit: I forgot to mention, I also installed Magisk

---------- Post added at 04:04 AM ---------- Previous post was at 03:35 AM ----------

I think you can solve this icons wiping cache and dalvik/ART on TWRP
[Xiaomi Redmi 4a ROMs, Kernels, Recoveries, & Other] sabitmaulanaa:
i'm using twrp from pixel experience 10 first page link. and it works great for me not only for PE rom, but for other roms too (aex, havoc) including this rom. and i didn't have any problem so far.

thanks. but i've already tried that and the problem still persist.
[Xiaomi Redmi 4a ROMs, Kernels, Recoveries, & Other] hollol:
At first I want to thank you for maintaining this Rom.

I am planning to put LOS to my wife's 4A which is still on MIUI and has become incredible lagging. My hope is to revitalize it.

At the same time I want to de-google the smartphone and use MicroG instead as well. I did the same with my 4X and gained incredible battery life from that step.

In order to be able to use MicroG signature-spoofing has to be enabled in the rom. As to my knowledge LOS is not supporting signature spoofing in their official releases. Nonetheless, for officially supported devices there is a fork named "LOS for MicroG" where signature spoofing is enabled.

Does this LOS rom support signature spoofing? And if not, would it be possible to implement it or offer an additional version with signature spoofing enabled?

And another question: Is this a classical or a treble rom?

Thanks,

Lars
[Xiaomi Redmi 4a ROMs, Kernels, Recoveries, & Other] nick00007:
New update is here ✌?

lineage-17.1-20200327-UNOFFICIAL-rolex

Changelog :

- March security patch

- Update all blobs from Daisy Q

- Updated init scripts From LA.UM.8.6.2.r2-01600-89xx.0

- Updated brightness overlays

- Updated Carrierconfig overlays

- Fixed Bluetooth Audio issue

- More cleanup and fixes here and there

* Recommended Gapps : OpenGapps pico
[Xiaomi Redmi 4a ROMs, Kernels, Recoveries, & Other] hollol:
Thanks for all your work.

Does your LOS rom support signature spoofing? And if not, would it be possible to implement it in the future or offer an additional version with signature spoofing enabled?

Thanks,

Lars
[Xiaomi Redmi 4a ROMs, Kernels, Recoveries, & Other] nick00007:
It doesn't support..!
[Xiaomi Redmi 4a ROMs, Kernels, Recoveries, & Other] Udaba47:
any chance for phone encryption on next update?
[Xiaomi Redmi 4a ROMs, Kernels, Recoveries, & Other] NaviComputer:
Can we update from previous Version without wiping everything?

Thanks
[Xiaomi Redmi 4a ROMs, Kernels, Recoveries, & Other] Naresh Rawat:
Flash light not working ?
[Xiaomi Redmi 4a ROMs, Kernels, Recoveries, & Other] nick00007:
Yes you can, but if you face any issues...

Do clean flash
[Xiaomi Redmi 4a ROMs, Kernels, Recoveries, & Other] nick00007:
Will be fixed
[Xiaomi Redmi 4a ROMs, Kernels, Recoveries, & Other] nick00007:
Update : 29/03/2020

Lineageos 17.1

Changelog :

- Fixed flash light not working

- Fixed camera
[Xiaomi Redmi 4a ROMs, Kernels, Recoveries, & Other] hollol:
Thanks for you reply.

Any chance that you include it in your ROM in the future? Or alternatively, will it become official so that it will be also supported by the fork "LineageOS for MicroG"?

Thanks and stay healthy,

Lars
[Xiaomi Redmi 4a ROMs, Kernels, Recoveries, & Other] Nathard12:
Media doesn't play through Bluetooth..., Clean flash Any fix?
[Xiaomi Redmi 4a ROMs, Kernels, Recoveries, & Other] Nathard12:
Otherwise the smoothest android 10 rom I tried so far. Please provide fix so we enjoy it
[Xiaomi Redmi 4a ROMs, Kernels, Recoveries, & Other] Paul T:
If it's a bluetooth speaker you're connected too and it's not playing audio, the fix that worked for me was to go to settings > connected devices then pair your bluetooth speaker/device, when it shows up in the list of devices tap the gear wheel/settings icon and for me there was a list of 3 things, phone calls, media audio and contact sharing, by default phone calls and media audio were enabled. If you toggle off phone calls and just leave media audio enabled this should allow audio to come through your BT speaker. This worked for me.
[Xiaomi Redmi 4a ROMs, Kernels, Recoveries, & Other] Nathard12:
I've tried this without success, I was playing with changing codecs in developers options as well. During calls it works but media don't go through the speaker
[Xiaomi Redmi 4a ROMs, Kernels, Recoveries, & Other] lucasfpaixao:
Thoughts Flashlight bug causes

If you don't want to read everything, please, skip to UPDATE section ;)

Ok, precise information could be important for bug track.

I had throuble with flashlight bug in two versions of this ROM under develepment: 03/08/2020 and 03/27/2020

There was a common thing in this two: I've installed Magisk and flashlight stopped to work (as well some camera and another apps possible related to this).

In the first case (03/08/2020) I thought that the flashlight stopped to work after I re-flash TWRP (to solve the partitions case). In that days I read messages from another users saying the flashlight has working normally.

Flashlight always work on fresh ROM installs with gapps and without magisk but I cannot say yet that the flashlight stopped to work immediatly after magisk was installed.

I'm now using the latest version (20200329) without magisk and the flashlight is working normally (as well camera and another apps related).

I'm thinking in test this without magisk for a while to check if the flashlight will stop to work.

-----------------------------------------

UPDATE/BUG TRACKED: While I was writting this I tried a simple thing. I rebooted the phone (task needed to flash magisk after the install) and I confirm that the flashlight problem occours.

So, the problem of the flashlight happens after rebooting. Or, in another words, flashlight only works immediatly after a fresh ROM install and stops after any normal reboot.

[MENTION=9143744]nick00007[/MENTION] something on the reboot process causes flashlight to stop to work. The whole process could be described as

- wiped system, data, cache & vendor

- flashed lineage-17.1-20200329-UNOFFICIAL-rolex

- flashed open_gapps-arm64-10.0-pico-20200325

- Did not flashed magisk.

- flashlight works normally

- Reboot

- flashlight did not work anymore

-----------------------------------------
[Xiaomi Redmi 4a ROMs, Kernels, Recoveries, & Other] caghandemir:
Camera in normal apps are broken/distorted for me but OpenCamera with camera2api works (I haven't seen this mentioned, it may be a regional hardware difference like I used to deal with screens with Infinity Kernel, maybe check previous kernel sources to see which drivers are enabled or do a poll on Telegram channels?)

Torch works on fresh ROM install but breaks after reboot, works in camera or torch apps.

Sometimes freezes and black screens entirely after days of uptime (don't know if this is is a hardware problem though, only take this one into account if others are having it too)

Wired headset volume controls and binded incorrectly

Sorry for not being able to provide any logcats, I use this as my daily.

EDIT: I've seen some people mention a cache wipe, wiping both dalvik/ART and the normal cache didn't help with either torch or native camera.
[Xiaomi Redmi 4a ROMs, Kernels, Recoveries, & Other] badcloud:
Background fetch doesn't work properly (i.e. with whatsapp, k-9 mail). People can call me on whatsapp and most times I don't get notifications (so I miss the calls)

---------- Post added at 05:54 PM ---------- Previous post was at 05:18 PM ----------

Also, sometimes video output in video chat (i.e. in whatsapo or skype) gets stuck in non-selfie mode, making video chat impossible. Restart solves this in most cases
[Xiaomi Redmi 4a ROMs, Kernels, Recoveries, & Other] wasay.65:
I have used different roms (crdroid, revengeos, linegaeos, superior etc) and all have the same problems. Fortunately, it have a fix. Just keep restarting your phone and at some point, flashlight will work. (works for me at the 7th or 8th time)
[Xiaomi Redmi 4a ROMs, Kernels, Recoveries, & Other] lucasfpaixao:
I had tried this and it worked. Thanks [MENTION=9071415]wasay.65[/MENTION]

It seems like sometimes reboot process causes problems and sometimes it just works.
[Xiaomi Redmi 4a ROMs, Kernels, Recoveries, & Other] lucasfpaixao:
Assuming this is a problem with all this custom ROMs I may think this could be caused by the bootloader, kernel or TWRP. Maybe all this custom ROMs share the same bootloader code?

The original chinese MIUI ROM doesn't have this kind of issue.
[Xiaomi Redmi 4a ROMs, Kernels, Recoveries, & Other] gsak3l:
bluetooth headphones not working

This rom works great, but there seems to be an issue with the bluetooth connectivity in my case. My device connects without any problems, but the audio output still comes from the phone and not from the headphones even tho the output device is set to my headphones. I've tried disabling phone calls, clearing the cache of bluetooth, I've reseted the WiFi, mobile and Bluetooth, and I even re-installed the entire rom. Any other suggestions?
[Xiaomi Redmi 4a ROMs, Kernels, Recoveries, & Other] wasay.65:
As far as i know, this is a known bug ( i also had it in crdroid 6.4) and i believe it would be solved in the next few updates.
[Xiaomi Redmi 4a ROMs, Kernels, Recoveries, & Other] wasay.65:
I think this is android 10 kernel issue. After flashing teamlion pie kernel, camera will always work.
[Xiaomi Redmi 4a ROMs, Kernels, Recoveries, & Other] nick00007:
New update :

Changelog :

- April security patch

- Added face unlock (not by los)

- Upstreamed los sources

Device changelog :

- Updated graphic egl to Q from asus Q00RD (yes Q egl booted and working fine)

- Updated gps to Q from Q00RD

- Updated most blobs from Nokia pan

- Brought back/ readded Wfd service

- Fixed bluetooth audio and calls

- Tried to fix high ram usage ( thanks to [MENTION=9770731]Thago[/MENTION]oo)

- More clean-up/fixes here and there
[Xiaomi Redmi 4a ROMs, Kernels, Recoveries, & Other] nick00007:
New update :

Changelog :

- April security patch

- Added face unlock (not by los)

- Upstreamed los sources

Device changelog :

- Updated graphic egl to Q from asus Q00RD (yes Q egl booted and working fine)

- Updated gps to Q from Q00RD

- Updated most blobs from Nokia pan

- Brought back/ readded Wfd service

- Fixed bluetooth audio and calls

- Tried to fix high ram usage

- More clean-up/fixes here and there
[Xiaomi Redmi 4a ROMs, Kernels, Recoveries, & Other] Udaba47:
link ? and please update the link on homepage for latest update if you want . thanks .
[Xiaomi Redmi 4a ROMs, Kernels, Recoveries, & Other] suzver:
Last update 13.04.2020. Autobright dont work after clean flash.
[Xiaomi Redmi 4a ROMs, Kernels, Recoveries, & Other] FelixDemon:
very nice, thank you!
[Xiaomi Redmi 4a ROMs, Kernels, Recoveries, & Other] FelixDemon:
last update 2020.04.14. Face unlock removed.
[Xiaomi Redmi 4a ROMs, Kernels, Recoveries, & Other] Rolexdfndr:
I cant connect to wi fi aftar install this rom,can u help?
[Xiaomi Redmi 4a ROMs, Kernels, Recoveries, & Other] suzver:
If used 2 simcard dont selected card for use to call.14.04 clean flash
[Xiaomi Redmi 4a ROMs, Kernels, Recoveries, & Other] Radeit2012:
The microphone doesn't work in Duolingo app. I have granted all of the permissions.
[Xiaomi Redmi 4a ROMs, Kernels, Recoveries, & Other] nick00007:
Yes..

I've fixed that Autobrightness issue with build date 14 but forgot to mention here...

Also face unlock has been removed (I may add that in future builds)

If you face any issues, mention it along with logcat

So I can look into it and try to fix it..
[Xiaomi Redmi 4a ROMs, Kernels, Recoveries, & Other] chraso:
Just installed this rom after so much of hectic reboots(Mi recovery/rom is **** hard to remove).

Thanks nick.

I want to help with building rom if I can. I have compiled/configured android 2.3 to 4.4 builds.

I'm using custom rom after almost 10years. So rusty at building new things.

Thanks again.
[Xiaomi Redmi 4a ROMs, Kernels, Recoveries, & Other] ALTracer:
Currently my device is running lineage-16.0-20190719-UNOFFICIAL-rolex with lineagesu and I'm just updating OpenGapps every two weeks. The only things bugging me are low Wi-Fi 2.4GHz speed when display is on (as soon as it goes off -- both uploads and downloads become fast), lack of current security patches (July 2019!), lagging call volume control and overall mediocre operational speed due to accumulated installed apps' services fighting for RAM and zram. It used to run faster on clean flash.

Should I upgrade to 16.0-20200128 for the sake of creating a decently fresh backup without wiping data? Or is 17.1-20200414 already stable enough?

I use a Bluetooth headset, autobrightness and flashlight.
[Xiaomi Redmi 4a ROMs, Kernels, Recoveries, & Other] nick00007:
Yes, you can go for 17.1-20200414

It's quite stable.
[Xiaomi Redmi 4a ROMs, Kernels, Recoveries, & Other] zacox123:
Hi [MENTION=9143744]nick00007[/MENTION],

I would kindly ask you if you can provide a guide on how to build this ROM from source? Because I need it in eng not in userdebug

I need to enable some features in the kernel (namespacing) as well as add some binaries and given that this ROM is quite stable I would like to use this as basis for my experiments.