yashsingh1/xdaforums huggingface dataset:
[Xiaomi Redmi 7 ROMs, Kernels, Recoveries, & Other ] r6680jc:
Thanks.

Any reason why the stock camera app (snap cam) doesn't have as many options as other (older and lower specs) devices running LOS 17.1 (e.g. Redmi 5A, Redmi 2)?
[Xiaomi Redmi 7 ROMs, Kernels, Recoveries, & Other ] ansrahul:
Possible serious bug

MOD EDIT: Quote of the first post removed due to readability.

TLDR: Phone not charging

Hi,

i updated the device yesterday to this os from lineage pie build. i faced some bootloop at first, also a minor microphone bug wherein it did not activate for some reason while using apps, restart fixed it. Except that 1 bug i faced 1 time it was smooth sailing everything was working fine, i charged it many times yesterday.

today I was watching some video and accidently let it run till it shutdown automatically due to low battery after which i quickly connected the charger and switched it on after couple minutes it was at 1% and was displaying charging. i continued watching that video after few minutes i noticed the battery dropped to 0%. This got me worried so i turned on airplane mode and left it 10 mins. when i returned It was still showing 0%.

now i started troubleshooting did the usual checked the connection disconnected reconnected the cable checked with different cable, I noticed tho it was displaying 0% it was not switching off on its own, then i rebooted it , Switched it off then tried to charge while it was off gave it 5 mins then booted it still it was at 0%, when the phone was turned on still it showed charging when it wasn't connected to the wall.

All this was done when phone was at 0%. It ran a unusually long time at 0% with intermittent charging after which it finally died.

No response when connecting it to charger . its completely Also i noticed that led light kept blinking when i disconnected the phone while it was switched off.

I am pretty sure that battery got drained beyond the safeguard maybe i will have to replace the charging board now. i Dont know just speculating. anywho i am gonna take it to repair center tomorrow will update then.

i dont know if it was caused by the os or just a coincidence that my ic decided to die today. Just dont let battery get below 5% to be on safe side.

Any suggestion what i should do, Any recommendations for a reasonable repair shop in mumbai?

Thanks,
[Xiaomi Redmi 7 ROMs, Kernels, Recoveries, & Other ] HafidzRadhival:
nice rom sir ..
[Xiaomi Redmi 7 ROMs, Kernels, Recoveries, & Other ] motorko:
sounds like water damage to me
[Xiaomi Redmi 7 ROMs, Kernels, Recoveries, & Other ] Dhina17:
Sometimes I was charging my phone after letting it to 0 percent shutdown. Your device side issue i think..
[Xiaomi Redmi 7 ROMs, Kernels, Recoveries, & Other ] r6680jc:
I know magisk isn't supported in this thread, and I don't use magisk, but I just want to ask:

Can this device still pass safetynet (at least for now) using magisk?
[Xiaomi Redmi 7 ROMs, Kernels, Recoveries, & Other ] smskycs:
Internal speaker sound quality too dull issue

everything is working but sound quality seems like 32kbps. thanks
[Xiaomi Redmi 7 ROMs, Kernels, Recoveries, & Other ] HafidzRadhival:
how to your check sir?
[Xiaomi Redmi 7 ROMs, Kernels, Recoveries, & Other ] ansrahul:
fixed charging

Hi,

Some key details I forgot last time my recovery is twrp 3.3.0 -0524 by wzsx150 (LR team).

So I read somewhere that issue is due to some fault of the charging ic and the author suggested that before replacing the ic I left the device alone for atleast 48 hrs to let the charge dissipate. I tried the same thing and after 48 hrs I tried charging and it worked. i let it charge for about 15 min in off position then I turned it on and from then on for all intents and purposes my device was working normally no charging issue whatsoever.

Although I didn't let it get down to 0% again. i was unwilling to take the risk as this is kind of my daily driver at this time.NC one devs it is an awesome Rom thanks for all your hard work.

I did notice some bugs tho

Mic issue- I don't know if I was triggering it somehow or it was random but at times mic was not working on calls and on apps but wierdly it was working on Whatsapp call specifically, It was not working on Whatsapp voice memo, normal call or even recorder app. Reboot fixed it.

Some network related bug- Sometimes when I tried to place a call it got disconnected as soon as i dialled and it showed call ended screen sometimes with error message that unable to call when another is active, Which was not the case. When i tried calling form some other number at this time i got a busy tone even tho it was not. reboot fixed it. i was on 4g(jio) network.

Both of these were quite random and happened plenty of times, I had to restart atleast 2-3 times everyday.

I was unable to grab the logcat from phones terminal app is was gonna try it today with adb. But sadly I received an update in the morning after installing it its stuck on bootlooop since then.

I am gonna switch to a stable from for now because as I said it is my daily driver for now.

p.s I know my recovery is a little old. but at that time i tried with twrp for onclite but it wasn't working correctly i think it was unable to decrypt (i dont remember it well). Anywho after searching a lot and help of one awesome xda member (who searched on Baidu and Chinese internet) i was able to find this one. therefore i am reluctant to switch. IF YOU KNOW A LATEST STABLE TWRP BUILD DO TELL ME.

Thanks,
[Xiaomi Redmi 7 ROMs, Kernels, Recoveries, & Other ] NoxBergolts:
Since the latest update, GApps are able to install even with errors, but I still get no mobile data on Orange PL. Is there any way to fix that? Calls work, only mobile data does not.
[Xiaomi Redmi 7 ROMs, Kernels, Recoveries, & Other ] Chocozell:
The same here. I canno use voice memo anywhere but strangely I can call normally with the very same apps

However, I want to thank you for your work!
[Xiaomi Redmi 7 ROMs, Kernels, Recoveries, & Other ] Dhina17:
Gapps variant? I can't reproduce that issue.. Let me check and fix
[Xiaomi Redmi 7 ROMs, Kernels, Recoveries, & Other ] Chocozell:
After the yesterday update of lineage os now it seems to work properly.

However, gapps mini

Inviato dal mio Redmi 7 utilizzando Tapatalk
[Xiaomi Redmi 7 ROMs, Kernels, Recoveries, & Other ] Dhina17:
Ok ok i will try gapps mini and check anyways
[Xiaomi Redmi 7 ROMs, Kernels, Recoveries, & Other ] r6680jc:
Just asking, have you updated your device tree to use android Q blobs from china MIUI 11 Android Q?
[Xiaomi Redmi 7 ROMs, Kernels, Recoveries, & Other ] Dhina17:
No point to use redmi 7 android 10 beta blobs.. Based on old caf tag
[Xiaomi Redmi 7 ROMs, Kernels, Recoveries, & Other ] r6680jc:
Oh, if you want to tell me, blobs from what device you are using in your device tree?
[Xiaomi Redmi 7 ROMs, Kernels, Recoveries, & Other ] r6680jc:
Doesn't official LineageOS now only recommend OpenGapps Pico or Nano due to the current state of OpenGapps packages above Nano often causing issues?
[Xiaomi Redmi 7 ROMs, Kernels, Recoveries, & Other ] motorko:
i think its fair to say that battery is now equal to if not better than stock miui
[Xiaomi Redmi 7 ROMs, Kernels, Recoveries, & Other ] r6680jc:
from:

https://review.lineageos.org/c/LineageOS/android_device_xiaomi_onclite/+/284496/2

I've restored audio_output_policy.conf, audio_platform_info.xml, and mixer_paths_mtp.xml from extracted vendor image (20200809 build).

But, how can I change AUDIO_FEATURE_ENABLED_COMPRESS_VOIP := from false to true from user side (without building the ROM)?

I'm asking this because it seems that Lineage automated build hasn't been fixed, so even if you merge the changes before tomorrow, the build won't be available tomorrow (20200823).
[Xiaomi Redmi 7 ROMs, Kernels, Recoveries, & Other ] Dhina17:
you can do that change from your side. For now, revert back to old build if you are facing mic issues
[Xiaomi Redmi 7 ROMs, Kernels, Recoveries, & Other ] r6680jc:
Did you mean I can't ?

Ah okay, thanks.
[Xiaomi Redmi 7 ROMs, Kernels, Recoveries, & Other ] r6680jc:
Just tested today's build (20200823) for onclite.

It flashed Okay, booted fine, so far everything works.

But it seems that the merged changes listed here: https://download.lineageos.org/onclite/changes/ weren't actually merged into 20200823 build.

Checked :

https://review.lineageos.org/c/LineageOS/android_vendor_lineage/+/284075/

and

https://review.lineageos.org/c/LineageOS/android_packages_apps_Settings/+/284498/

Both aren't in the 20200823 build.
[Xiaomi Redmi 7 ROMs, Kernels, Recoveries, & Other ] Dhina17:
Lol typo. Yes you can't.
[Xiaomi Redmi 7 ROMs, Kernels, Recoveries, & Other ] KoLt-Real:
Random reboots after upgrade

Hi,

I just upgraded from 16 to 17.1. I made a clean install, I'm not using any custom kernel. Just OpenGapps Pico and Magisk came on top of the LOS build.

Since the upgrade I'm facing random reboots (happened three times in about a day).

Anyone got an idea?
[Xiaomi Redmi 7 ROMs, Kernels, Recoveries, & Other ] r6680jc:
I have no such issue here, but I don't have magisk installed.
[Xiaomi Redmi 7 ROMs, Kernels, Recoveries, & Other ] KoLt-Real:
I figured out my SD card was causing that. I used it as en extension of the internal storage and it apparently caused some lags and other failures I did not mention.

I set it back to external storage and rebooted.

Everything looks good now.
[Xiaomi Redmi 7 ROMs, Kernels, Recoveries, & Other ] motorko:
Latest (30th of August) OS has weird issue, on max brightness, the screen randomly dimms itself, then goes back up to max. Auto brightness is disabled.

EDIT: It may have been an overheat protection, was happening while phone was quite hot...
[Xiaomi Redmi 7 ROMs, Kernels, Recoveries, & Other ] Dhina17:
Ye it will be fixed in next update
[Xiaomi Redmi 7 ROMs, Kernels, Recoveries, & Other ] r6680jc:
What's causing it?

It's weird, I don't have that issue (build 20200830).
[Xiaomi Redmi 7 ROMs, Kernels, Recoveries, & Other ] r6680jc:
Oh, these changes in this overlay:

https://review.lineageos.org/c/LineageOS/android_device_xiaomi_onclite/+/285289

One question:

The overlays in the /vendor/overlay are signed using Lineage keys, if I replace the above overlay in there with my own build with the new changes included, but signed with my own keys (or even test keys), will there be a problem?

Edit:

I'll change the package name to something different, so there will be no issue.
[Xiaomi Redmi 7 ROMs, Kernels, Recoveries, & Other ] r6680jc:
Okay, I've compiled an overlay based on https://review.lineageos.org/c/LineageOS/android_device_xiaomi_onclite/+/285289 just to test.

Just in case someone asking me if I missed something:

There's something not quite right with the brightness when booting:

in the middle of Lineage boot animation, the screen brightness goes to max (or close to max) until the lockscreen appears, and stays at that level for a few seconds regardless of ambient light (quite uncomfortable to the eyes when booting/rebooting in the dark room).

with the previous overlay, the brightness stayed low for the entire Lineage boot animation, and only went to max (or close to max) for less than a second when the lockscreen appeared, then went to low again.

Also, there are some comment lines for this array:

But in the config, it's still defined (with values):

Is that okay?

Edit:

While at it:

Isn't 1072 too high?

The max is 255.
[Xiaomi Redmi 7 ROMs, Kernels, Recoveries, & Other ] kastriot.hoxha@gmail.com:
One question, i have pixelexperience rom but i don't have 4K video recording anymore like in original miui rom with gcam, does this rom have same issue?
[Xiaomi Redmi 7 ROMs, Kernels, Recoveries, & Other ] motorko:
(correct me if im wrong, but) :

Thats an unanswerable question. As you are using i dont know what gcam mod, it could be caused by the gcam mod itself etc.. Also, for video recording I would recommend open camera. For your information, 4K works even in the default stock app of lineage os
[Xiaomi Redmi 7 ROMs, Kernels, Recoveries, & Other ] kastriot.hoxha@gmail.com:
I tried open camera too, it says 4K not available on this device, so it seems it's something about missing system libraries, kernel or god knows what, i tried 100 versions of Gcam no 4K or 1080p 60fps like in stock rom so something is missing in custiom roms.
[Xiaomi Redmi 7 ROMs, Kernels, Recoveries, & Other ] r6680jc:
Snap camera (stock/built-in camera app from LineageOS) has 4K video recording option, and it works.

/vendor/etc/media_profiles_v1_0.xml has settings/profiles for 4K video recording too.

(Only for rear camera)

---------- Post added at 09:36 ---------- Previous post was at 09:28 ----------

It also could be the pixel experience ROM he is using doen't support 4K video recording.
[Xiaomi Redmi 7 ROMs, Kernels, Recoveries, & Other ] kastriot.hoxha@gmail.com:
Can you provide me media_profiles.xml files and i will use them to see if that helps.
[Xiaomi Redmi 7 ROMs, Kernels, Recoveries, & Other ] r6680jc:
Attached.
[Xiaomi Redmi 7 ROMs, Kernels, Recoveries, & Other ] kastriot.hoxha@gmail.com:
Thanks, it works now i have all resolutions, now i only need to see how to enable 1080p 60fps :)
[Xiaomi Redmi 7 ROMs, Kernels, Recoveries, & Other ] r6680jc:
You need to edit the media_profiles to add hfr profiles, be careful about the parameters you're going to add (like don't add 240fps parameter, don't set bitrate too high, etc), it may makes the camera apps crash.

---------- Post added at 13:33 ---------- Previous post was at 13:26 ----------

[MENTION=9001136]Dhina_17[/MENTION]

Okay, just tested again:

Removing the config_autoBrightnessLcdBacklightValues arrays and changing config_screenBrightnessSettingDefault value to 127 made the auto brightness much better.
[Xiaomi Redmi 7 ROMs, Kernels, Recoveries, & Other ] Dhina17:
Thats my initial PS 1. I haven't checked that well.. For now can't do anything. No linux machine to work.. I will check when i can
[Xiaomi Redmi 7 ROMs, Kernels, Recoveries, & Other ] aftergr:
60fps on redmi 7 is useless cause the video quality drops s lot, is like supersoftening the image
[Xiaomi Redmi 7 ROMs, Kernels, Recoveries, & Other ] r6680jc:
Oh, sorry to bother you about it.

---------- Post added at 13:48 ---------- Previous post was at 13:39 ----------

Unless you edit the cam hal source code to limit the iso value in hfr mode (the softening is because of noise reduction: with hfr mode, the iso is higher to compensate faster exposure per frame, thus more noise and the noise reduction algoritm becomes more aggresive), with the cost of darker videos, like how hfr behaves in iPhones, but it's hard to get the sweet spot.
[Xiaomi Redmi 7 ROMs, Kernels, Recoveries, & Other ] aftergr:
Nice thought, didn't know that it was from the high iso

It would be nice to hack it
[Xiaomi Redmi 7 ROMs, Kernels, Recoveries, & Other ] r6680jc:
What I forgot to write (also haven't checked about it) the bitrate also needs to be increased as linearly as possible compared to the fps (from media_profiles).
[Xiaomi Redmi 7 ROMs, Kernels, Recoveries, & Other ] kastriot.hoxha@gmail.com:
I guess it's ok even without 60fps, i added more profiles for highspeed but no luck so i give up, thanks anyway for efforts.
[Xiaomi Redmi 7 ROMs, Kernels, Recoveries, & Other ] r6680jc:
[MENTION=9001136]Dhina_17[/MENTION]

The manual white balance options in the stock snap camera app don't work, changing white balance to other than auto doesn't affect the white balance at all.

There's also something quite weird with the white balance; when taking photos indoor from the morning until the mid day and the flash is on, the white balance always shift toward cold (blueish), both stock camera app and nokia camera app behave the same, so I'm quite sure it's not from the camera app (it seems like from the camera hal).

Is this a known issue?
[Xiaomi Redmi 7 ROMs, Kernels, Recoveries, & Other ] Darth Bidder:
I need help with flashing this ROM.

I'm trying to flash the Sept 6 build but it always say Error 7. My device is Redmi 7 but with the 3/32GB variant.

I use the Orange Fox Recovery 11.1 and I've already unticked the "Unmount System before installing a ZIP" but it didn't solve it.

Before this, I was on MIUI 11.0.6 (Global).

Also, I tried doing the sideloading from ADB and same issue with Error 7.

[IMG="pic"]https://i.imgur.com/9bH1FJ9.png[/IMG]
[Xiaomi Redmi 7 ROMs, Kernels, Recoveries, & Other ] shuaixr:
In 9.06, the screen still darkens sometimes
[Xiaomi Redmi 7 ROMs, Kernels, Recoveries, & Other ] r6680jc:
What was exactly the error message?

There should be an error message telling you what was wrong (under the error 7 line).

Try changing the recovery with TWRP 3.4.0-0, you can either use this:

https://xdaforums.com/redmi-7/development/recovery-twrp-3-3-1-t4076221

Or this:

https://twrp.me/xiaomi/xiaomiredmi7.html

Both work, I've tried them.

---------- Post added at 20:51 ---------- Previous post was at 20:49 ----------

There wasn't any merged change related to screen brightness, so no brightness behavior change.
[Xiaomi Redmi 7 ROMs, Kernels, Recoveries, & Other ] r6680jc:
You can try flashing the attached file, it has the overlay I compiled with the changes in brightness behavior I mentioned some posts back.
[Xiaomi Redmi 7 ROMs, Kernels, Recoveries, & Other ] Darth Bidder:
Here's the recovery log and a screenshot of the error.

https://drive.google.com/file/d/1BpRPaCMrxAJqUBfeMlbqoNgB0c-MPp2Q/view?usp=sharing

https://i.imgur.com/44T6ZQe.png

EDIT 1: Already changed to the unofficial TWRP 3.4.0 and still having Error 7.

EDIT 2: I was able to install AOSPExtended made by the same dev with his unofficial TWRP 3.4.0. I might as well try this for the meantime then try redownloading the latest LOS again later to see it's not just a corrupted zip.
[Xiaomi Redmi 7 ROMs, Kernels, Recoveries, & Other ] r6680jc:
From the log, when patching system image:

It looks like a corrupted content (system image) of the zip.

There's also a small possibility of some bad blocks in the eMMC, but I don't think it's the case, since you could flash another ROM without issue.
[Xiaomi Redmi 7 ROMs, Kernels, Recoveries, & Other ] Darth Bidder:
I tried re-downloading the same file and it worked now. It's just the first one was corrupted, I tested it WinRAR before I transferred and never found any errors so I dismissed that reason immediately.

But it's fine now.

Also, the brightness fix that you linked on the other post. Do I need to re-flash that everytime I install a new build of LOS?
[Xiaomi Redmi 7 ROMs, Kernels, Recoveries, & Other ] r6680jc:
Something like that sometimes happens.

Yes, because it will be flashed into vendor partition.

It's not really a fix, just different configs for screen brightness behavior based on pending change by Dhina_17 (I just removed unused/conflicting arrays and changed the default brightness value to 50%).
[Xiaomi Redmi 7 ROMs, Kernels, Recoveries, & Other ] Darth Bidder:
I have another question regarding the "Preferred Network Type", there are so many options but I don't which is 2G Only and 3G Preferred. Which one should I choose? LTE signal is low here so I don't want to use that.
[Xiaomi Redmi 7 ROMs, Kernels, Recoveries, & Other ] r6680jc:
What do you mean?
[Xiaomi Redmi 7 ROMs, Kernels, Recoveries, & Other ] Darth Bidder:
In the past, other LOS ROMs only had options of 2G Only, 3G Preferred, and 4G Preferred. for network types.

Now, it's GSM, WCDMA, LTE, and more.

I'm talking about network types for my SIM cards.

For 2G, it was GSM only. I don't know which one to pick for 3G network only. We don't have a strong signal for LTE so I don't want my network to keep on switching to LTE.
[Xiaomi Redmi 7 ROMs, Kernels, Recoveries, & Other ] r6680jc:
3G only is the same as WCDMA only.
[Xiaomi Redmi 7 ROMs, Kernels, Recoveries, & Other ] Darth Bidder:
I cannot connect to my hidden WIFI connection, it just says Network Not In Range.

Please add the feature to connect to a WIFI network that has a hidden SSID.

FM Radio doesn't seem to work, when I connect an earphone it just stays on the same screen.
[Xiaomi Redmi 7 ROMs, Kernels, Recoveries, & Other ] Gueztar:
Hello.. Im facing an issue here, my screen started to dim itself after one day of usage. The brightness dim for sec and lights up again. Its happen quite frequently now.

It is a known bugs right? I hope it fixed soon. Its anoyed me sometimes when gaming. Fyi, auto brightness disabled.

Edit : it fixed now.
[Xiaomi Redmi 7 ROMs, Kernels, Recoveries, & Other ] r6680jc:
I don't have a hidden SSID wifi network to test, so I can't confirm.

FM radio works for me.
[Xiaomi Redmi 7 ROMs, Kernels, Recoveries, & Other ] niko3132:
Can't believe you finally made this to be an Official Lineage ROM. Congrats.
[Xiaomi Redmi 7 ROMs, Kernels, Recoveries, & Other ] TetraTera:
Hi.I've been using this ROM and it really works great, congratulations on this great development. It's a big change in the speed of the system, everything is much better, thanks.

The only problem I have had has been the front camera. With the app by default an error occurs when taking the photo and with GCAM the image is frozen. None of this happens with the main camera (works fine with any app)

I come from MIUI 11, where the front camera worked normally, I don't know if it happens to someone else?

Edit: The volume of the speaker on YouTube is much lower than on MIUI 11, although it is set at the highest.
[Xiaomi Redmi 7 ROMs, Kernels, Recoveries, & Other ] r6680jc:
Just checked, my front camera works fine.
[Xiaomi Redmi 7 ROMs, Kernels, Recoveries, & Other ] Kori_UA:
Microphone does not work in Telegram (x)

Hello. In last builds (month or more), not sound through the microphone when making a voice call at Telegram and TelegramX. But the microphone works to record a message at same app.

Please correct the config.
[Xiaomi Redmi 7 ROMs, Kernels, Recoveries, & Other ] beingsubas:
Microphone does not work in facebook Messenger and Messenger Lite

Hello developer, thanks for this awesome ROM. I flashed this rom on my dad's phone, everything works fine but when I call through messenger I hear opposite participants voice on phone but they won't able to listen from our side. This happens only on messenger app, whatsapp video calling has no any mic issues. I also updated ROM weekly basis but this problem is not solved till now for me. I also cleaned f;ash this rom.
[Xiaomi Redmi 7 ROMs, Kernels, Recoveries, & Other ] r6680jc:
Strange, I don't have mic issue with the latest build (20200913) and the previous build (20200906).

To make sure, I've just tested making voice calls multiple times from Telegram and Whatsapp, everytime mic worked fine.

[MENTION=9001136]Dhina_17[/MENTION]

Is this related to the installed firmware version?

I'm on 11.0.6.0 firmware, no brightness issue even since before you pushed the dtsi change, and no mic issue with latest and prev builds too.
[Xiaomi Redmi 7 ROMs, Kernels, Recoveries, & Other ] beingsubas:
But my point is, mic is working fine on WhatsApp (for my case), but not in fb messenger app. Please anyone facing this issue or it's just my dad's mobile.
[Xiaomi Redmi 7 ROMs, Kernels, Recoveries, & Other ] r6680jc:
Sorry, I was quoting both your post and the post above yours, but then again, you mentioned whatsapp video call, which could behave differently than voice call (maybe using the secondary mic vs primary mic?).

btw, what's your firmware version?
[Xiaomi Redmi 7 ROMs, Kernels, Recoveries, & Other ] NoxBergolts:
Everything seems to be working just fine except I still don't have cellular data on Orange PL network. Calls and SMS work but no network connection.
[Xiaomi Redmi 7 ROMs, Kernels, Recoveries, & Other ] r6680jc:
Do you mean no internet/data connection?

Have you checked the APN settings?
[Xiaomi Redmi 7 ROMs, Kernels, Recoveries, & Other ] Kori_UA:
Last good worked (on my phone) with microphone build : lineage_onclite-userdebug 10 QQ3A.200705.002 716c9cd040 (lineage-17.1-20200726-nightly-onclite-signed.zip)
[Xiaomi Redmi 7 ROMs, Kernels, Recoveries, & Other ] NoxBergolts:
Yes, I mean that I don't get any mobile data whatsoever, even the 3G/4G/LTE icons doesn't show up at any moment.

APN settings are correct.

+ just checked the LineageOS 17.1 offical build for Moto E 2015 and same issue. Calls, SMS work - no mobile data.