yashsingh1/xdaforums huggingface dataset:
[Xiaomi Redmi 4X ROMs, Kernels, Recoveries, & Other] leakcim90:
[MENTION=5814867]jaboneros[/MENTION] I have GCam, but witch version u have? Because when I shoot a photo with flash, it doesn't shoot as same time as it flash. Does your Gcam version take well with the flash?

I didn't found the arthur's version but I'm using 5.1.018 - 3.4.17

EDIT: err... I installed now 3.4.16 lol.. and now it take well with the flash lol...
[Xiaomi Redmi 4X ROMs, Kernels, Recoveries, & Other] jaboneros:
I'm using 3.4.17 from dev Arthur, who ports GCam to Redmi 4X.

link: https://www.celsoazevedo.com/files/android/google-camera/dev-arthur/#apk661
[Xiaomi Redmi 4X ROMs, Kernels, Recoveries, & Other] hollol:
Short update: I managed to get it working using LOS for microG in combination with Magisk and Nanodroid. Now all (including Playstore) is working superb so far ... Thank you very much for this fantastic ROM :o
[Xiaomi Redmi 4X ROMs, Kernels, Recoveries, & Other] leakcim90:
And you haven't bug with flash? I had when I try to take photo with flash, it doesn't show any photo with flash, and I was using 3.4.17, but 3.4.16 work fine. this is so weird :eek:
[Xiaomi Redmi 4X ROMs, Kernels, Recoveries, & Other] brcr:
When i'm using flash the pictures are blue. I tried stock, open camera and gcam.
[Xiaomi Redmi 4X ROMs, Kernels, Recoveries, & Other] jaboneros:
No my flash works fine on 3.4.17 (see attached picture)

My LOS is 15.1-20190120-NIGHTLY.
[Xiaomi Redmi 4X ROMs, Kernels, Recoveries, & Other] hollol:
Battery drain after airplane mode

So far Lineage is working really great on my phone. But I am observing one strange thing. Normally, the battery drain in standby (on mobile data) is really low with this rom (far below 0.5% per hour). When turning on airplane mode (which I normally do over night) the drain is even much lower. But when I switch airplane mode off, their is quite a high battery drain of around 1% or even more per hour. When I reboot the phone, this increased drain is gone and the phone behaves normal again.

Is somebody else also experiencing this behavior?
[Xiaomi Redmi 4X ROMs, Kernels, Recoveries, & Other] Xiaomi Warrior:
If you go back in the past posts you will see me bringing up this battery drain issue.

What do you mean by "Normally" ? Are you comparing your current experience with the standard device using MIUI ?

Keep in mind that Google Play Services is vicious with battery use, but I find that my phone for some reason does not switch to idle when not in use. System always has high usage.
[Xiaomi Redmi 4X ROMs, Kernels, Recoveries, & Other] hollol:
So actually my battery backup is (except from this "after airplane bug") definitely better compared to MIUI. Google Play Services are no concern since I am using microG (LOS 15.1 for microG) instead. In contrast to your experience my phone nicely switches to idle/sleep most of the time (except for the time, between airplane mode is disabled and the phone is restarted).
[Xiaomi Redmi 4X ROMs, Kernels, Recoveries, & Other] dedycx:
review Lineage OS 15.1

I use 20190124

good for daily usage.

but, I'm find minor bug 'Prevent Accidental Wake-up' not work from unofficial to official, not fixed until now.

I'm report to [MENTION=7500669]TingyiChen[/MENTION] again and again, but not give response. in AEX 5.8 same dev build. this feature work well.

f2fs, only work in /data & /cache

I'm change /system to f2fs before flash. but after I'm install this ROM, /system partition change back to ext4.

View attachment 4693846View attachment 4693845View attachment 4693844View attachment 4693843View attachment 4693842
[Xiaomi Redmi 4X ROMs, Kernels, Recoveries, & Other] k23m:
Why bother with ugly Play Store which forcefully updates itself with several megabytes of data many times per month, and spies on you

every day

? Here is a list of alternatives:

https://github.com/yeriomin/YalpStore (open source)

https://f-droid.org/ (open source)

https://apkpure.com/ (direct download, sideload)

https://www.apkmirror.com/ (direct download, sideload)

Yes, absolutely!

:good:
[Xiaomi Redmi 4X ROMs, Kernels, Recoveries, & Other] Slent:
Thank you, mate! As checked from the previous posts there a bug in updating this rom Over-the-air, is still problem still around?
[Xiaomi Redmi 4X ROMs, Kernels, Recoveries, & Other] saintjimmy1984:
anyone managed to make gmail work with microg ? how ?
[Xiaomi Redmi 4X ROMs, Kernels, Recoveries, & Other] k23m:
I use microG and K-9 Mail for my Gmail accounts. It works flawlessly.

:good:
[Xiaomi Redmi 4X ROMs, Kernels, Recoveries, & Other] brcr:
Hi, i'm using microg too but lately, i 'm constantly getting the message "micro g services core has stopped". Do you have any idea why?
[Xiaomi Redmi 4X ROMs, Kernels, Recoveries, & Other] saintjimmy1984:
It doesn't sync. Anyway managed to get gmail working by installing an older version apk ( 2016 ). Now it's all good.
[Xiaomi Redmi 4X ROMs, Kernels, Recoveries, & Other] rehe96:
Help flash this rom..

can someone guide me on how to use this rom.right now im using MIUI Global 10.1 stable 10.1.1.0(NAMMIFI)

I have install twrp and it seems it can only be launch once through adb. next time i try without adb no luck, so i flash again with adb to enter twrp.then when i flash this rom, it failed said that my phone is not santoni. the message sound like this "warning no file_contents this package is for devices santoni updater process ended with error" how can i flash it.first time flashing on redmi 4x.
[Xiaomi Redmi 4X ROMs, Kernels, Recoveries, & Other] saintjimmy1984:
download https://sourceforge.net/projects/orangefox/files/santoni/

go to twrp, flash it ( it will then reboot to recovery )

wipe all + format data

install rom
[Xiaomi Redmi 4X ROMs, Kernels, Recoveries, & Other] rehe96:
can i know what is this for?thank you.. This is my phone look like.
[Xiaomi Redmi 4X ROMs, Kernels, Recoveries, & Other] saintjimmy1984:
It's OrangeFox recovery, it will replace TWRP.
[Xiaomi Redmi 4X ROMs, Kernels, Recoveries, & Other] jaboneros:
Follow the official instructions: https://wiki.lineageos.org/devices/santoni/install
[Xiaomi Redmi 4X ROMs, Kernels, Recoveries, & Other] CMiRedmi4:
No GApps after OTA

I installed lineageOS 15.1 (20190122) and MindTheGapps-8.1.0-arm64-20180808.

After upgrading to nightly 20190126 the google services do not work any more.

During upgrade I saw messages:

"Failed to umount /system: Device or resource busy"

I tried to figure out which process keeps system busy. I think it is:/sbin/android.hardware.gatekeeper

And due to the failing umount -- update -- mount sequence the gapps-script in addon.d cannot restore the files from the GApps.

Is it an issue in:

- LineageOS?

- TWRP (TWRP 3.2.3-1-32aef7a2)?

Or did I something wrong during the first installation?

Installing GApps via recovery does work. But I have to reinstall the apps from Playstore again.
[Xiaomi Redmi 4X ROMs, Kernels, Recoveries, & Other] jaboneros:
I use OpenGApps Pico and no issues: https://opengapps.org/?api=8.1&variant=pico
[Xiaomi Redmi 4X ROMs, Kernels, Recoveries, & Other] alex_cc:
Hi! Has anyone succeed to install GCam on LineageOS? I tried to use arthur's version, but it raises an error when I open it. I tried to install Magisk, but it hasn't helped. Should I also install gapps? The life is so cool without gapps...
[Xiaomi Redmi 4X ROMs, Kernels, Recoveries, & Other] CMiRedmi4:
I tried OpenGApps micro and nano already and now pico as well.

With all versions the same result -- They do not solve the problem that system is mounted while image is written. The result with OpenGApps is even worse than with MindTheGApps: The system partition is corrupted and phone boots into fastboot after OTA. I think that is a problem described by several users in this thread already.

So any suggestions, where to fix that android.hardware.gatekeeper keeps system busy and therefore it cannot be unmounted before flashing?

Update:

It's working now.

Additional addon.d-script with:

post-backup)

# Stub

sh -c "umount -rl /system ; kill `ps | grep gatekeeper | grep -v grep | sed "s/[^0-9]*\([0-9]*\).*/\1/"`; sleep 1; mount /system"

exit 0

;;

Any ideas for a solution instead of this workaround?
[Xiaomi Redmi 4X ROMs, Kernels, Recoveries, & Other] brunozod:
use wolf kernel, work perfect.
[Xiaomi Redmi 4X ROMs, Kernels, Recoveries, & Other] aman.dwivedi:
This rom has encryption , yout device is encrypted ,

So go to rwcovery , wipe, format. Data,

---------- Post added at 05:53 AM ---------- Previous post was at 05:53 AM ----------

Then reflash your rom,
[Xiaomi Redmi 4X ROMs, Kernels, Recoveries, & Other] Technical Guide:
Questions before flashing this ROM

Hello,

I want to try out this ROM, but have few questions in mind before flashing. So, let me tell what happened with me so you can tell me correctly. I was using the Pixel Experience ROM for santoni and i can recall that VoLTE was working fine. But After flashing Magisk v18 and modules such as Dolby Digital Plus and Sony Bravia Engine, i realised after a few days that my VoLTE has stopped working and i could not make any calls to anyone and cannot recieve calls/sms, On Jio Network, only i could use is Internet. Then I tried fixes like Changing the APN ( done several times ) , using volte fix zip file, using the magisk Hide, dirty flashing the rom etc which did not helped.

I checked in engineering mode that IMS is not registered.

after trying everything, i decided to change the ROM. I flashed Arrow OS 9.0 Pie and then the same problem VOLTE not working and then i tried changing the APNs but it didn't helped.

Now i am searching for ROMs and found this one to be good. But before proceeding further, I want to ask few question ?

1. Is VoLTE working on Jio Network

2. The latest build on the official website is based on which Android 8 or 9

3. The ROM is mentioned as nightly on the website, there is no stable and why so many builds are present for each day what does that mean?

4. Is there anyone who faced VoLTE issue on this ROM on the latest build and fixed it?

5. Some precautions while flashing such as no SIM Tray should be there as it may result in network error etc?

I need help on it ASAP , Please reply ASAP, Thank You
[Xiaomi Redmi 4X ROMs, Kernels, Recoveries, & Other] lochNESSIE:
Try flashing the latest xiaomi firmware. If that doesn't work, flash miui, wipe, and reflash this rom. That should fix your volte issue afaik

Rom is based on Android 8.1, nightly versions don't bring much changes so you don't need to update everyday except for times when security patches are pushed out.
[Xiaomi Redmi 4X ROMs, Kernels, Recoveries, & Other] CMiRedmi4:
I did it more than a dozen times before digging a bit deeper into it, posting on reddit and here. I tried OpenGApps micro, nano, pico and MindTheGApps.

And today the result is nearly the same:

- During first boot after installing LOS and GApps the device is encrypted again.

- Today worse: After OTA the system partition is corrupted now

Workaround:
[Xiaomi Redmi 4X ROMs, Kernels, Recoveries, & Other] Technical Guide:
I have downloaded the Firmware but have a doubt. I have to flash the firmware and then simply reboot the device into system. Or do i have to do something else also after flashing the firmware file like dirty flashing the ROM.

Sorry but this is the first time i am flashing any firmware file so dont have any idea. Just want to be safe.
[Xiaomi Redmi 4X ROMs, Kernels, Recoveries, & Other] lochNESSIE:
This is the way I did it : flashed miui 10, signed in and stuff, used it for about half a day, and then went back to LOS 15.1, which was unofficial at the time. Volte was working again. I had flashed a los 13 rom which broke my volte and none of the fixes had worked. You may try method too, although I can't guarantee it will work.
[Xiaomi Redmi 4X ROMs, Kernels, Recoveries, & Other] Technical Guide:
Thanks for the help ! But is there any thing like VoLTE doesn't work in most of the pie roms as i have read that many have tried different pie roms but none of them enabled VoLTE.

What is the root cause of VoLTE getting broken ? And is it that hard for the developers that VoLTE is not stable ? And wanted to know does roms package have the modems or they make use of the MIUI ones and if those get broken we have to flash miui again and come back to the custom rom ? why so much frustration !!!!!
[Xiaomi Redmi 4X ROMs, Kernels, Recoveries, & Other] Anup1:
Charging Bug (Power off mode)

Hello brother [MENTION=7500669]TingyiChen[/MENTION]

First of all thanks for making such an awesome rom.

I ditched miui and using this rom for quit a few days and it feels buttery smooth. However I am facing a major bug with the rom!.. the problem is that, the phone does not charge on power off mode but no problem when charging in switched on! Sometimes if it does then it only shows charging animation with no battery percentage sign (%) because of that I dont get to know if it's charging or not.

So, I am Hoping for a solution for this bug!.. Thanks in advance and have a great day! :fingers-crossed:
[Xiaomi Redmi 4X ROMs, Kernels, Recoveries, & Other] rehe96:
why when i update at setting..its loading too long at bootanimation after updating..for 15 to 30 minutes im waiting but no success..then i restore back from my backup..
[Xiaomi Redmi 4X ROMs, Kernels, Recoveries, & Other] CMiRedmi4:
Do you see messages like

"Failed to umount /system: Device or resource busy"

before "Patching system image unconditionally" when the updater-script runs?
[Xiaomi Redmi 4X ROMs, Kernels, Recoveries, & Other] Xiaomi Warrior:
I experienced this very problem during a few updates where I had to manually update and reinstall gapps every time.

I wiped Dalvik and Cache and it seemed to fix the problem for me.
[Xiaomi Redmi 4X ROMs, Kernels, Recoveries, & Other] genocide90:
Problem After Every Update

All of my apps forced close after every updates and I have to reinstall them to get it to work without any problem. Is that supposed to happen?
[Xiaomi Redmi 4X ROMs, Kernels, Recoveries, & Other] rehe96:
There is no message about failing, but when its done flash,the phone will auto reboot..then it will stuck at bootanimation.. luckily i do a backup first before updating..
[Xiaomi Redmi 4X ROMs, Kernels, Recoveries, & Other] CMiRedmi4:
But you see the message "Patching system image unconditionally"?

Or do you see no messages at all?

This was my 1st workaround. But then I had also to reinstall the apps I downloaded from google play. And sometimes the result was as described by rehe96 because system partition was corrupted.

The workaround with a script in addon.d works for me.

And there is no additional manual step needed after OTA.
[Xiaomi Redmi 4X ROMs, Kernels, Recoveries, & Other] diaconu.silviu:
Wake up whit fingerprint senzor

Hi,

I can't wake up my phone whit fingerprint senzor on LOS 15.1 20190130(I do not want to use the power button also no fingerprint setup). Has anyone ever encountered this problem?
[Xiaomi Redmi 4X ROMs, Kernels, Recoveries, & Other] dedycx:
I'm not facing that problem, I can wake up and unlock my phone use fingerprint
[Xiaomi Redmi 4X ROMs, Kernels, Recoveries, & Other] jaboneros:
you need to setup your fingerprint first.
[Xiaomi Redmi 4X ROMs, Kernels, Recoveries, & Other] diaconu.silviu:
I do not want to set my fingerprint just to use FP senzor as power button. After some unsuccessful attempts to solve this problem, i switched to another version of rom :( . I never understood if that "option" (FP senzor as power button) it is really something that i can fix or not. On my current rom everything is OK. I always wanted to try LOS especially the microG version!

Thank you all!
[Xiaomi Redmi 4X ROMs, Kernels, Recoveries, & Other] LOllO2313:
Bug:

If there is something active in settings>accessibility>downloaded service, the "swipe down to open notification panel" option doesn't work. I've encounter this issue and I've read about it here: google.com/amp/s/amp.reddit.com/r/LineageOS/comments/91g5w9/trebuchet_setting_swipe_down_to_show_notifications/#ampf=undefined

(sorry for my English)
[Xiaomi Redmi 4X ROMs, Kernels, Recoveries, & Other] leakcim90:
It cant be real, If I take pictures in the dark, it turn the flash on for like 3 seconds to checking image and after take the photo but I get the photo without flash lol.. But if u take pick with light , it take in 1 sec with flash...
[Xiaomi Redmi 4X ROMs, Kernels, Recoveries, & Other] Slent:
Hi! Just wanted to ask if the bug on OTA (bootloop) is still around.
[Xiaomi Redmi 4X ROMs, Kernels, Recoveries, & Other] tommy_hawk:
Still is. I tried it with the last 2 nightly updates, still causes boot animation loop. Using latest santoni twrp from Lineage site. OTA is still broken.
[Xiaomi Redmi 4X ROMs, Kernels, Recoveries, & Other] CMiRedmi4:
Do you have this issue when you install LOS without GApps or something else?

I have no issue since I use the workaround so that system is unmounted before writing the image.
[Xiaomi Redmi 4X ROMs, Kernels, Recoveries, & Other] Slent:
How do you exactly use this workaround? Are we going to input this to terminal?
[Xiaomi Redmi 4X ROMs, Kernels, Recoveries, & Other] tommy_hawk:
I use the Lineage's built in OTA manager. Select the latest build, the manager downloads the ROM and proceeds to reboot to TWRP. It flashes, exits TWRP and gets stuck at animation. No Gapps downloaded during the process.

Yeah, how do you run this workaround, type it at the TWRP terminal?
[Xiaomi Redmi 4X ROMs, Kernels, Recoveries, & Other] leakcim90:
Hey,

I searched all mod for audio, so I installed the Magisk to install ViPER4Android, enable the master power on speaker, but when I go to about the driver, it say "Processing: No". I don't know if it work or If I made wrong settings.

driver is v2.5.0.4 and ViPER4Android is v2.5.0.5.

And yes I am using Los 15.1

Can anyone help me?

I didn't found the solution :\
[Xiaomi Redmi 4X ROMs, Kernels, Recoveries, & Other] CMiRedmi4:
1. boot into recovery

$ adb reboot recovery

2. copy tar archive

$ adb push workaround.tar /tmp

3. mount system

$ adb shell mount /system

The scripts I talked about are in /system/addon.d

$ adb shell ls /system/addon.d

(Is there really no *gapps.sh? If you see blacklist and 50-lineage.sh only, you probably have another problem)

4. extract tar archive

$ adb shell tar vxf /tmp/workaround.tar -C /

Now there is an additional script in /system/addon.d

$ adb shell ls /system/addon.d

You should see "... 99-umount.sh ..."

5. start system

$ adb reboot system

6. Go to system ... and run the normal OTA update

Steps 1 to 5 are required only once. After that the script is in addon.d and does its job during OTA update. It survives the update so that it is available for the next OTA update.

The script is a patchwork out of the commands from my investigations.

It can be done easier, it can be done better.

And in priciple it has the same bug as the LineageOS updater -- it does not verify if the umount was succesful.

It works as long as android.hardware.gatekeeper is the only process preventing the umount.
[Xiaomi Redmi 4X ROMs, Kernels, Recoveries, & Other] lochNESSIE:
LOS has selinux enforcing and v4a doesn't work on enforcing
[Xiaomi Redmi 4X ROMs, Kernels, Recoveries, & Other] tommy_hawk:
Thanks for the steps. But looks like a hassle every time the ROM needs to be updated. Although there has been nightly updates almost every day I've stopped updating to the latest. I think the ROM originators should patch it, or just disable OTA and inform users that every update requires a clean flash as per original post.
[Xiaomi Redmi 4X ROMs, Kernels, Recoveries, & Other] CMiRedmi4:
The script survives the update. So you have to do it only once. After that you can run OTA updates without additional effort.
[Xiaomi Redmi 4X ROMs, Kernels, Recoveries, & Other] _mishgun:
Hello!

How can I configure on my phone access to nfs resources on the local network? I understand that there are no required modules?
[Xiaomi Redmi 4X ROMs, Kernels, Recoveries, & Other] hollol:
Thanks for this great Rom! Standby time of my Redmi 4X with very light usage, but 3G always on is incredible (in 8 days from 80% to 30%) ...

View attachment 4703571
[Xiaomi Redmi 4X ROMs, Kernels, Recoveries, & Other] underskyzx:
Unrealistic... Your phone just sits all day you don't use it
[Xiaomi Redmi 4X ROMs, Kernels, Recoveries, & Other] hollol:
... as it often did before in my (maybe special) use-case with MIUI, but there the battery only lasts for maximum 2 to 3 days.
[Xiaomi Redmi 4X ROMs, Kernels, Recoveries, & Other] hemant0508:
Everything is working fine so far. However, the vibrate on fingerprint unlocking needs and option to be turned off. And option to customize inbuilt drawer would be great.
[Xiaomi Redmi 4X ROMs, Kernels, Recoveries, & Other] lokesh ganesh:
Vendor is out of update

I recently installed lineage os 15.1 (11/02/2019) build when i checked the trust it says vendor is out of date

How to install latest vendor image
[Xiaomi Redmi 4X ROMs, Kernels, Recoveries, & Other] jccz:
I'm waiting for tomorrow:

Changes to be included in next build:

Bump Security String to 2019-02-05

...

https://download.lineageos.org/santoni/changes/

https://source.android.com/security/bulletin/2019-02-01

Thx all devs.
[Xiaomi Redmi 4X ROMs, Kernels, Recoveries, & Other] user180928:
Once again update has failed and left me with broken system, OS never gets past the boot logo.

I use latest official twrp 3.2.3.1 and unmodified LOS (no root, custom kernels etc)

LineageOS update boots to recovery and then displays error "unable to mount /system" error 7

This has happened already numerous times and I'm about to give up.

How can those builds retain official status if something as basic as system update systematically fails? Am I doing something wrong here?

Or is it expected that user wipes system after each update and starts from scratch.
[Xiaomi Redmi 4X ROMs, Kernels, Recoveries, & Other] amandeep0007:
That error 7 is due to encryption.
[Xiaomi Redmi 4X ROMs, Kernels, Recoveries, & Other] jaboneros:
here's a sample taking a picture in the dark. same 3.4.17 gcam arthur, on LOS nightly Feb. 5. try a clean flash.
[Xiaomi Redmi 4X ROMs, Kernels, Recoveries, & Other] CMiRedmi4:
In my case it was a corrupted system partition due flashing while system was mounted.

Unfortunately install script continues although umount failed.

This workaround solves the issue for me.
[Xiaomi Redmi 4X ROMs, Kernels, Recoveries, & Other] user180928:
Really would like to know is it twrp or LOS issue.

Every update so far is lottery and you never know if you are gonna end up with broken system or not.
[Xiaomi Redmi 4X ROMs, Kernels, Recoveries, & Other] CMiRedmi4:
The installer script is part of LOS updater. In my opinion it should not flash when system is still mounted. So this part is an issue of LOS.

The result: Update is aborted but it should be possible to boot old version of LOS. Not what you expected but better than a broken system.

Who is responsible for the gatekeeper? I don't know...

But it doesn't matter for the workaround.
[Xiaomi Redmi 4X ROMs, Kernels, Recoveries, & Other] jaboneros:
if only without the OTA update problem/bug/issue, this ROM would be really awesome. super awesome if they fix OTA AND release LOS official Pie.

that said, I live with this great ROM since December, manage dirty flashes without script addons. i first disable pin and fingerprint, boot to twrp and dirty flash. if i see errors (in red text), i reboot to recovery again and repeat flashing. until i don't get red text anymore. then i proceed flashing ogapps.

on first boot success, i go magisk to reinstall.
[Xiaomi Redmi 4X ROMs, Kernels, Recoveries, & Other] lokesh ganesh:
Please update vendor blobs

Vendor is out of date

please include update for vendor blobs in your next update
[Xiaomi Redmi 4X ROMs, Kernels, Recoveries, & Other] alex_cc:
Can you please share with us how have you installed gcam? It throws an error when i open it.

Have you installed google stuff before cam?
[Xiaomi Redmi 4X ROMs, Kernels, Recoveries, & Other] user180928:
You need gapps installed or gcam will crash.
[Xiaomi Redmi 4X ROMs, Kernels, Recoveries, & Other] user180928:
After some extensive testing I found that TWRP is the problem.

I installed Orangefox Recovery 8.3 and now OTA updates work 100% reliable.