yashsingh1/xdaforums huggingface dataset:
[General Questions and Answers] said1219:
A few things to clarify:

I did not have TWRP on the device; everything is stock (bootloader, recovery, ROM, etc.)

The device is not rooted.

When I say 'Recovery', I mean Realme UI Recovery (stock)

Bootloader is locked

The update is a regular OTA update, albeit a major one (upgrading Android 10 to Android 11)

The update was installed successfully.

However, the updated system tries to display weather on the lock screen; hence the lock screen won't launch unless com.coloros.weather.service is enabled. This does not only happen to me but apparently to most (if not all) Realme users upgrading to Android 11 while disabling the said package. Hence a simple fix if you have adb available is to ask the package manager to re-enable said package.

Responding to your ideas:

Find My Device did not function

whether to locate, ring, and/or lock the device.

If the device is successfully unlocked, I am confident that I will authorize adb and run the command needed to fix it.

My device did have MediaTek SoC. Will read up upon using SP Flash Tool for recovering data. In this case, I assume only Internal Storage could be dumped, not including the app data?

Regarding

the BROM exploit,

I assume it means it is

totally not usable

in my case? (either enabling a package or writing a public key file in adb folder)

Another glimmer of hope is that somehow Realme realizes this and release an OTA update that fixes the issue. However, I'm not sure how long it would take to develop, how long it would then take to propagate, whether they've known this issue, or whether they even consider this issue need fixing. Any ideas on how to bring this issue to Realme's attention?
[General Questions and Answers] SubwayChamp:
I saw that it allows update online without wiping data, maybe you can reapply the latter...

You can back up almost any partition from your device if you have the right scatter.txt file from your stock ROM. This is one of the guides you could take as reference, but not totally https://forum.hovatek.com/thread-526.html

In the above-mentioned circumstance is where the BROM exploit can play a role here, you'd need that SP Flash tool can communicate with your device and if Realme needs an authorized account to operate with only bypassing this restriction you could use the tool for:

- Backup the partition you need and restore it later when you solve this or...

- Flashing userdata partition (only) through Download option (not Firmware Upgrade nor Format All) would be a way to restore the stock data apps debloated without overwrite the user ones, be warned that there are some points you have to check in the tool prior to proceed.

Realme has a gateway here to report bugs and an active community https://c.realme.com/in/bug-report but to be honest I don't think that this is a bug specially when an app considered as essential was gone, update through OTA some times don't include all the apps but they can add some functionalities to them and/or add some functions for other apps that could rely on them.
[General Questions and Answers] said1219:
Correct, the realme UI Recovery can check for OTA, and if an OTA is available, apply it without wiping data. Usually, the updates are released once a month. Let's hope the August or September update fixes this issue (WhatsApp will auto-delete your account within 45 days of not connecting to their servers).

Thank you for the idea. The link you provide points to another tool named Wwr MTK that tries to create a scatter file from the preloader dump. However, it appears that my SoC (MediaTek Helio G95) is not supported by the said tool. Options currently available are to manually input the SoC or find a scatter file for Realme RMX2151.

Another hurdle remains after successfully extracting userdata partition: apparently, not only the device password is needed to decrypt it, but also some salt stored on the SoC itself; hence this thread highly suggests swapping SoC and eMMC to another working exact same phone (cannibalize another phone), which is above my current skill level.

I have tried exploring there, albeit not directly filing a bug report. I found many, many users experiencing a similar issue as myself. Most of it was responded to by Realme representatives in this fashion: "enter recovery mode by pressing this and this, and then choose to wipe data. This will reset your phone to its working state." This is not acceptable for me since a functioning phone is lower on my priority than keeping my data (albeit in limbo).

I need to talk to someone with technical understanding (and not just reading from a prepared response). Hopefully, Realme might put a simple one-line on the after-flash script of the next OTA/ozip to enable the weather services package (the command pm enable would do nothing if a package is already enabled).
[General Questions and Answers] JFMugen:
Hey there, I need help about my phone's battery life. This is my battery usage according to my phone

View attachment 5384789

Shouldn't their sum reach %100 or something close?

I don't use my phone much, only for some calls. But it only lasts a day.

Actually, a while ago it was lasting up to 3 days, but now it only lasts a day. I am trying to find the cause and fix it. Any suggestions?

The phone is S3 Mini with custom ROM.
[General Questions and Answers] SubwayChamp:
If you find some update, you can sideload it.

You can find the scatter text file inside your stock ROM and if you do the things carefully probably you won't need to back up nothing.

Here's a guide (once you bypass the DA restriction) you can "update" this way to preserve your data, use the Download option only https://www.gizbeat.com/7260/flash-rom-upgrade-firmware-without-losing-user-data-cache/

In case the app you erased (Weather app) was previously in the system partition once it is restored there the app itself will recreate what in the /data/app, in this case flashing only the system image not ticking other partition this will reinstall it.

To get device successfully connected to the Sp Flash tool, you would need more things to do.
[General Questions and Answers] SimRhinox:
I have the latest LineageOS installed and know I can record calls when I manually activate it during call, but is there any way to permanently turn call recording on?

I tried some recording apps, none of them worked. Built-in call recording works, but sometimes I forget to activate it...
[General Questions and Answers] Fytdyh:
if you turn on the recording for permanent and don't inform your caller about it, might land you in some hot water.
[General Questions and Answers] Droidriven:
Battery percentage usage is tracked by adding up how much battery power has been used compared to the total power in the battery. Each percentage shown in your screenshot is a value representing how much of your total battery was used by each software/hardware process, it is not a matter of dividing the total 100% into each process.

As for any inconsistencies between what you know you have used and how much it is showing that it has used or how long your battery lasts now compared to 3 years ago, that is because devices degrade over time. Cell phone batteries lose efficiency over time and solid state storage devices such as your phone's internal storage and RAM become slower over time which increases battery usage due to the extended processing times. Also, each time your apps update, especially system apps such as your Google related apps and or social media apps, they become heavier pieces of software requiring more demand on your hardware and its related software services. These are all reasons why phones can't keep up after 2-3 years and why most people buy new devices or replace the battery if it is removable.
[General Questions and Answers] Warlockguitarman:
I rooted the alcatel 7 6062W just like I did the lg k51 k30 and stylo 6
[General Questions and Answers] said1219:
Currently, there is no update available from Realme.

I have been exploring this all day; here's what I found:

The scatter file to be used in SP Flash Tool can be extracted from either the rollback ROM or the current ROM ozip file. Ozip files can be decrypted using this tool. The SoC is listed as MT6785 (MT6785_Android_scatter.txt), although the correct terminology is MT6785V/CC.

To get the SP Flash Tool to detect the phone, the process is very finicky. You had to try multiple USB drivers and disable Windows driver signature verification.

Dump the phone's ROM and eMMC content immediately using readback mode for your backup. Do not skip this step.

You can flash the current version ozip, choosing to only flash the partitions explained in the GizBeat link above. The phone will boot back right to the current blinking state.

You can also flash the official rollback ozip, choosing to only flash partition explained in the GizBeat link above. The phone enters a boot loop state (white Realme logo appears, yellow Realme logo appears, turns off, white Realme logo appears, yellow, turn off, etc.).

Flashing back the current version ozip after flashing the official rollback ozip also results in a boot loop with the same symptom.

(!)

In both boot loop states, the recovery fails to display the content of Internal Storage (userdata partition); even when you entered the correct password, recovery claims it is incorrect.

Flashing back the ROM and eMMC from the obtained image file using readback mode, the phone returns to its previous state:

Boot successfully completes, albeit the phone fails to launch the lock screen.

Recovery mode once again can display the content of Internal Storage.

Some tips for other users trying this method:

USB driver selection process is harder on Windows than on Linux. Try Ubuntu.

Immediately upon successful connection, choose your phone's scatter file and dump your entire ROM and eMMC to your PC using readback mode. This will take a long time and take up a lot of space, but it's worth it if you're after your data (if you're not, just wipe your phone in recovery mode and don't bother with this). Please note that you can't just take your data from this image. I run the file through PhotoRec and userdata is fully encrypted.

Flashing/"downloading" with SP Flash Tool takes a long time, and sometimes the progress bar seems like it didn't move. Don't panic, and don't try to interrupt this process. Just give it time. In my case, writing back my backup (including userdata partition, more than 100GB)

takes more than 8 hours.

Just wait; interrupting this process will likely brick the device.

It seems that something important is overwritten when the official rollback ozip is flashed; hence the boot fails, and even recovery cannot decrypt the userdata partition. I initially hoped that flashing back Realme UI 1.0 will return the phone to a working state, but something is a bit amiss. Any more ideas?
[General Questions and Answers] JFMugen:
Thanks for the explanation.

Actually I wasn't talking about 3 years ago. The battery is brand new and I am not using any google services or installed any games etc. Just a few small fdroid apps. The weird thing is, it used to last up to 3 days, and one day I restart it by mistake and it dropped to a one day.

Actually the same thing happened 2-3 times before, but only now I am really interested to see whats the issue.
[General Questions and Answers] Fytdyh:
you could try factory reseting your device now and then. after a factory reset mine is acting better. this way you eliminate bugs, calibrate the battery again, overall improve the health of your device.
[General Questions and Answers] mstrnemo:
I was wondering why do u think dont all custom roms just come standard with microg/aurora store seems like a no brainer to me opensource,private energie effecient...
[General Questions and Answers] DiamondJohn:
because some people want a full google phone, with the full playstore.
[General Questions and Answers] SubwayChamp:
If I didn't read bad, you could back up finally the userdata partition (no matter actually is encrypted) then you actually can format data and from there re-flash/re-apply completely with all partitions included (just to avoid errors) the latest release that is for the Realme Download tool (you could not need an update) or even through SP Flash tool (second chance) but in any case the update from recovery (it could not contain the files you need) nor a downgrade because a roll-back won't be admitted for the bootloader, if all is fine then you can restore the userdata partition after that.
[General Questions and Answers] Fytdyh:
Well, microg doesn't pair that well with paid apps. I ve got around 200+ of paid apps in Google play. not being able to use them, I rather not use microg
[General Questions and Answers] winox:
hi, i changed my phone screen lock yesterday. Unfortunately I forgot the password afterwards.

The phone's power button and volume down buttons are broken.

twrp is installed on the phone.

I can ROM with odin (DATA ON THE DEVICE MUST NOT BE DELETED)

If i can enter twrp mode with odin, I will actually solve the problem, do not I have a chance to enter twrp with odin?

i can put the phone in download mode with a program, so I can do whatever I want with odin.

i could not find recovery mode, that is, twrp mode, I could not find it in such a program.
[General Questions and Answers] Fytdyh:
Well, either you go through a very challenging and frustrating way of fixing your phone or you go and fix those buttons. how are you planning to use a phone without those buttons? just fix them, they aren't that expensive.
[General Questions and Answers] Droidriven:
Is your device rooted as well as having TWRP installed?

Have you tried using adb to boot into recovery? Connect your device to PC and open adb terminal then type:

adb devices (press enter)

If it returns a serial number, you're connected, then type:

adb reboot recovery (press enter)

If that doesn't work, you can try using a terminal emulator app, open the terminal emulator and type:

su (press enter, grant superuser permission if needed)

Then type:

reboot recovery (press enter)

If that doesn't work, try using something like the TWRP Manager app or Flashify app or Rashr app, they have an option that allows booting directly into recovery.

Or you can try using adb shell to delete your password/PIN. Where your password/PIN is stored in your internal memory can be different for different devices/android versions so make sure you do some searching certain to verify exactly where it is stored on your specific device, then use that location in your adb command. You could also use terminal emulator app in the same manner, as it is the same thing as adb shell you just need to remove "adb shell" from the commands and type them without that.

Flashing via Odin probably won't help because if you flash the CSC that saves data, the password/PIN will still be there and if you flash the CSC that wipes data, it will remove the password/PIN but it will also wipe all of your other data as well.
[General Questions and Answers] Feenix0:
If I install an app in the system with adb that needs root permissions, such as Battery Charge Limit, will that app inherit root permissions by virtue of being a system app? (This is assuming I can install anything through adb on my S10.....)
[General Questions and Answers] Fytdyh:
if it was that simple, would have been great.
[General Questions and Answers] DiamondJohn:
By that, he means NO. It would also mean that every system app has root, which is obviously not true or needed. And with read-only system partitions, it would not be so beneficial these days anyway.
[General Questions and Answers] Feenix0:
Ok, thanks!
[General Questions and Answers] Feenix0:
Are there certain brands of phones that always have unlockable bootloaders and good options for rooting and custom ROMs? I'm pretty much done with Samsung.
[General Questions and Answers] DiamondJohn:
more-so the opposite, in that google nexus/pixel etc phones (ie google devices) are normally shipped with unlockable bootloaders.They have to at least look like they are promoting the dev of android.
[General Questions and Answers] Fytdyh:
I can also add the fact that xiaomi is giving phones to xda devs in order to grow a developing community for their phones. and unlocking the bootloader is easy and painless.
[General Questions and Answers] SimRhinox:
LOS 18.1:

Can I somehow add shortcuts to lock-screen? My lock-screen is empty, with just clock widget. I'd like to add at least camera to it...
[General Questions and Answers] der-Alpi:
How to select Number requesting a Phone call with the assitant?

A contact hast lets say three Phone Numbers. When i say "OK Google call contact" for the First time the assitant asks me something Like "mobil, private, or Office". I confirm "Office" and do the call.

Next time i say "OK Google call contact" the assitant directly calls the Office Number without any Option.

How can i have Back the Options Dialog every time?
[General Questions and Answers] PussiSlayer3000:
Is there any guide and/or reference for the MIUI Theme variables? I.E. something that either provides illustrations showing what element each variable refers to or lists the variables along with the purpose of each variable. To be specific, I am looking for a reference for MIUI 10.2
[General Questions and Answers] said1219:
You are correct. I am becoming more daring in my attempt to rescue the phone as I am sure that I can restore it to a working state by flashing/"downloading" all partitions in the SP flash tool.

It is just very tiring that flashing an entire eMMC like this take about 9 hours. Flashing an ozip or wiping data only takes 15 minutes.

I have not been able to find files for Realme Flash Tool to flash, but I have been a little bit more confident in using the SP Flash Tool.

I have tried a lot of things:

Flashing Android 10 (success, set up screen appears) and then flashing userdata only (immediate bootloop)

Flashing Android 10 (success, set up screen appears) and then flashing the reverse of the partition in GizBeat tutorial (preloader, MBR, EBR1, EBR2, cache, userdata, FAT) (immediate bootloop)

Flashing Android 10 (success, set up screen appears), completing setup, setting the exact same password (phone still works), and then flashing userdata only (immediate bootloop)

Flashing Android 10 (success, set up screen appears), completing setup, setting the exact same password (phone still works), and then flashing the reverse of the partition in GizBeat tutorial (preloader, MBR, EBR1, EBR2, cache, userdata, FAT) (immediate bootloop)

Flashing Android 11 (success, set up screen appears) and then flashing userdata only (immediate bootloop)

Flashing Android 11 (success, set up screen appears) and then flashing the reverse of the partition in GizBeat tutorial (preloader, MBR, EBR1, EBR2, cache, userdata, FAT) (immediate bootloop)

Flashing Android 11 (success, set up screen appears), completing setup, setting the exact same password (phone still works), and then flashing userdata only (immediate bootloop)

Flashing Android 11 (success, set up screen appears), completing setup, setting the exact same password (phone still works), and then flashing the reverse of the partition in GizBeat tutorial (preloader, MBR, EBR1, EBR2, cache, userdata, FAT) (immediate bootloop)

Flashing Android 10 (success, set up screen appears), completing setup, setting the exact same password, upgrading to Android 11 (phone still works), and then flashing userdata only (immediate bootloop)

Flashing Android 10 (success, set up screen appears), completing setup, setting the exact same password, upgrading to Android 11 (phone still works), and then flashing the reverse of the partition in GizBeat tutorial (preloader, MBR, EBR1, EBR2, cache, userdata, FAT) (immediate bootloop)

In all cases, recovery will fail to read internal storage if the userdata is overwritten using the SP Flash Tool .img file. It seems that there is something in my userdata that will trigger a bootloop if I did not flash the entire eMMC. Something encryption-related, maybe? Recovery claims the entered password is incorrect, even if the current phone password is the same as it is in its bricked state.

Other ideas are appreciated.
[General Questions and Answers] Droidriven:
No, you will have to also enable system app permissions via adb.

Or, there are root apps in the Playstore that can convert user apps into system apps and enable proper permissions for you.
[General Questions and Answers] DiamondJohn:
Root permission is not the same as app permissions. or even higher privileged app permissions. Even if you grant root to an app, it will not be used unless the dev has specifically coded the app to perform a task, using root permission. It is not a magical silver bullet that enables app permissions. Even if you grant privileged app permissions, the app still had to be coded to utilise these permissions in the actions it does. However, it is more common for devs to try/expect and use permissions that have not been granted, and hence people succeed in getting apps to work by systemizing them (but not get root).

If you are using Magisk, that would be the better/supported approach to systemise an app.

EDIT:If the app uses root permissions, systemizing it wont get you any more rooted.
[General Questions and Answers] Feenix0:
Thank you, that makes sense. I wouldn't try it except with apps that are intended to run with root permissions. I just wondered if if was possible to make some modifications to a system then unroot it but retain the changes.
[General Questions and Answers] kelue:
So I'm trying to determine the reason for frequent crashes/forced restarts on my new moto g power 2020 running stock Android 10. I review the logcat after every crash (used adp to allow an app to read them). There's so many entries at the time of the crash that it's really hard to parse what exactly caused the issue, because there's no consistency to when the crashes happen and the logs are showing different errors every time. The only pattern I've noticed is a lot of Java related errors but I have no idea if that's indictive of the issue or the result of it.

What exactly should I be looking for each time?

And to be clear I'm not just trying to fix the phone I want to diagnose whats going on first before I do any resets.
[General Questions and Answers] Feenix0:
I'm not sure that your logs can catch the cause. If there's a kernel panic, there won't be time to write anything to the logs, but something less severe might leave some clues before everything goes down. If you're having a lot of Java errors, if may be because of a misbehaving app? I'm no expert, so I could be wrong.
[General Questions and Answers] Fytdyh:
beside Android Kitchen is there another way to edit files from a decompiled app? got a gallery app, just need to fix a pink text bug. in a modded version of the same app, this bug been fixed. tried using android kitchen some years ago, had a lot of problems just setting it up, plus I would like to have to work with a program with a GUI.