yashsingh1/xdaforums huggingface dataset:
[Xiaomi Mi 8 Questions & Answers] lahirumadu:
Hello guys, I flashed stock rom back my MI 8 and try to relock bootloader but unfortunately its stuck in recovery and written "This miui version cant be installed". i tried everything but doesnt work. after all start to flash edl method but keep getting sahara flash error on qfil. tried few other qualcom flashing apps aswell but nothing. let me know if there is a anyone who can help me fix it. Thanks and Have good day...
[Xiaomi Mi 8 Questions & Answers] memsrq:
Hi! I'm in the same situation. Did you found a solution?
[Xiaomi Mi 8 Questions & Answers] The War Profiteer:
Probably it's FRP.
[General Questions and Answers] lahirumadu:
Hello guys, I flashed stock rom back to my MI 8 and try to relock bootloader but unfortunately its stuck in recovery and written "This miui version cant be installed". i tried everything but doesnt work. after all start to flash edl method but keep getting sahara flash error on qfil. tried few other qualcom flashing apps aswell but nothing. let me know if there is a anyone who can help me fix it. Thanks and Have good day...
[General Questions and Answers] simplepinoi177:
MOD ANNOUNCEMENT​

THREAD CLOSED​

@lahirumadu , As you have posted this in another (more correct, appropriately placed) thread, per Forum Rule 5 (quoted below), this thread is closed as it is a duplicate post. As it states in the rule, "As a large forum, we don't need unnecessary clutter. You're free to edit your message as you like, so if you do not receive an answer, revisit your message and see if you can describe your problem better. Not everyone is online at the same time so it might take a while before you receive an answer." "You can bump your unanswered question once every 24 hours" and thus "Duplicate threads and posts will be removed", as this post/thread is.

I hope you understand and are amenable to this,

simplepinoi177 FSM

XDA Developers Forum Rules said​

5. Create a thread topic or post a message only once, this includes external links & streaming media.​

As a large forum, we don't need unnecessary clutter. You're free to edit your message as you like, so if you do not receive an answer, revisit your message and see if you can describe your problem better. Not everyone is online at the same time so it might take a while before you receive an answer.​

You can bump your unanswered question once every 24 hours

Duplicate threads and posts will be removed
[General Questions and Answers] FireEagle420:
What I want to do is:

-get boot.img by using mtk-client

-patching it with magisk

-reflashing the patched boot.img to mtk-client

Is this possible? Will my device get bricked or are there any additional steps to this (that don't involve TWRP?) Thanks in advance
[General Questions and Answers] xXx yYy:
Yes, you can root a Redmi Note 8 Pro without installing TWRP. This is because Magisk, the most popular rooting method for Android, can be installed directly to the system partition without the need for a custom recovery like TWRP.
[General Questions and Answers] anotherphonker:
Its just looping the boot logo. No fastboot, no recovery mode. Help me just how to flash the stock rom with sp flash tool. It the phone says ''Red State''.
[General Questions and Answers] xXx yYy:
What device is mentioned?
[Redmi Note 12 4G] zenTR01:
Even though I tried to send this config file to the gcam site many times, the system does not accept it. So I will tell you from here; A config file that will solve the green photo and 2.8 mp problem for Redmi Note 12 4G

Hasli: LMC8.4_R18

Download LMC8.4_R18 by Hasli.

www.celsoazevedo.com

Özellikler ;

Changing megapixels again; You can increase it to any megapixel you want via settings - Upscale, but when you increase it to 5x and above, the photo takes a long time.

note (I was not aware that it was in Turkish. I apologize for that, I was translating the site into Turkish for control purposes and made the subject entirely in Turkish :D)
[Redmi Note 12 4G] K.Hatake:
Thanks for sharing the config file. I'll try it out and provide feedback.
[Redmi Note 12 4G] zenTR01:
I hope it meets your wishes
[Redmi Note 12 4G] aftergr:
Thanks too my friend
[Redmi Note 12 4G] zenTR01:
You're welcome :) I will add a different config again soon, it will be a config focused on the main camera. retro, black and white effects and etc.
[Redmi Note 12 4G] UniNick:
Thanks a lot for the excellent work on the config!

If you don't mind, how to change the labels for the 3 lenses selection in the main view, from turkish to english?
[Redmi Note 12 4G] zentr00:
I'm sorry for getting back to you late.

Settings > additional cameras > AUX button names

View attachment 6042977

From here you can translate only the main lenses in the language you want.
[Redmi Note 12 4G] UniNick:
That was quick, perfect & thanks again!
[Redmi Note 12 4G] zenTR01:
In the config file I published before, I prepared a different config to prevent you from having to go to the settings for tasks other than photography.I added a separate button for this config so you can shoot at 100 MP (you have to go to the settings to change it).I modified the other options to remain the phone's own MP shots (for example, the phone's main camera is 12 MP).In this way, I created a config that would provide a better experience by preventing unnecessary photos taking up a lot of space.

Hasli: LMC8.4_R18

Download LMC8.4_R18 by Hasli.

www.celsoazevedo.com
[Android Q&A, Help & Troubleshooting] LukasVenom:
Hi,

I need to migrate GbWhatsup chat to new phone GWwhatsup (NOte20Ultra(root) to Motorola 40 Edge Neo (noroot). How do it easly?

Thank for answer.

Regards Luke
[Android Q&A, Help & Troubleshooting] mobius11:
Hi everyone,

I want to broadcast with a virtual camera on an Android emulator, but most emulators have low camera resolution. For example, bluestacks's camera resolution is 720p. I researched and found that memuplay's camera resolution is fullHD. In Memuplay settings, I can choose between the virtual camera and the physical camera. But the virtual camera is not working. I used many programs such as OBS or manycam. I just get a black screen. I did not encounter this problem in other emulators. I just want to broadcast on mobile with a high resolution virtual camera. I will be glad if you help me.

Edit: I apologize if I didn't put this topic in the correct category. This is my first time using this site.
[Touch Diamond, MDA Compact IV ROM Development] ricky119:
i need the transparent one.

thanks
[Touch Diamond, MDA Compact IV ROM Development] roma_pop:
Here you are

View attachment 140697
[Touch Diamond, MDA Compact IV ROM Development] wkmok004@yahoo.com.hk:
May I know which program can provide this phone lock?

thx
[Touch Diamond, MDA Compact IV ROM Development] a-math:
Here you are

View attachment 140767

View attachment 140769
[Touch Diamond, MDA Compact IV ROM Development] band27:
I've been looking for this for a week now......finally!!

Thanks God! Oh and thank you ! ;)
[Touch Diamond, MDA Compact IV ROM Development] xavierdemon:
Excellent, loving the transparent one :)
[Touch Diamond, MDA Compact IV ROM Development] maxx1nsane:
What does it do?

10x
[Touch Diamond, MDA Compact IV ROM Development] band27:
When u make out calls, it basically blocks out buttons that can be accidently pressed by your face. The transparent one is cool in that it simple allows u to see the buttons in a faded way. Not only does it look cool but it reminds you of the options u have beneath the transparent blocker.

Hehe, its the simple things that make us smile !:)
[Touch Diamond, MDA Compact IV ROM Development] pistonripper:
Its not really transparent....just looks as if it is....far better than the original concrete slab ! :)
[Touch Diamond, MDA Compact IV ROM Development] band27:
Yes, I agree.........!!

Also liking the slide to talk/ignore phone canvas.

http://xdaforums.com/showthread.php?t=464286
[Touch Diamond, MDA Compact IV ROM Development] band27:
If you want the Slide to answer Phone canvas from the above picture then use this one as it removes the text that is unnecessary.

This is for folks who already have a phone canvas in there rom. Installing this cab will then replace your old one automatically.

We can all thank BlockbusterF for this.:)
[Touch Diamond, MDA Compact IV ROM Development] mkucuksari:
Thanks for "PhoneLock Shade(transparent).cab". I installed it. But somehow it is always ON. I can not turn it OFF when it is necessary during a phone call. Could you please help ? I am using official ROM ver 1.35
[Touch Diamond, MDA Compact IV ROM Development] rondol1:
Same here... I just exchanged the two picture files in the cab and made sure the regsetting was 1. Everything did work before with the solid version.
[Touch Diamond, MDA Compact IV ROM Development] ayl:
Installed both CABs posted here. Everything works fine. Using bElite 0.97.
[Touch Diamond, MDA Compact IV ROM Development] mkucuksari:
Hi Ayl, Thanks for your answer. As you mentioned, I installed both CABS. But nothing is changed. It is still not working properly. Waiting your valuable comments for this problem
[Touch Diamond, MDA Compact IV ROM Development] rondol1:
My problem disappeared by doing a soft reset after installation.

BTW, it doesn't make sense to install bth cabs, as one is solid and the otherone is transparent. The files installed are named exactly the same, so only the last cab will "hold".
[Touch Diamond, MDA Compact IV ROM Development] ayl:
It seems there is misunderstanding here - I installed transparent phone lock and slider CAB for answer/ignore (not both transparent and non-transparent phone lock cabs). After nearly one day usage and over 20 calls everything is OK - no problems with both new options.
[Touch Diamond, MDA Compact IV ROM Development] rondol1:
AHA! Well, that make sense. I did the same, and after the softreset I don't find any problems at all. I'm thankfull to all who made this happen! :D
[Touch Diamond, MDA Compact IV ROM Development] Matthy_47:
german version

thanks for the great idea - here is the german version....
[Touch Diamond, MDA Compact IV ROM Development] NLS:
possible to have the transparent for the black version?
[Touch Diamond, MDA Compact IV ROM Development] xboxhaxorz:
Is there a blk in call curtain dialer? Could you direct me to that, as im using this http://xdaforums.com/showthread.php?t=432031 :)
[Touch Diamond, MDA Compact IV ROM Development] NLS:
I don't think there is. It should be simple to make with photoshop (overlaying the two pictures). I think this is how they do it.
[Touch Diamond, MDA Compact IV ROM Development] Daalgo:
how to include ?
[Touch Diamond, MDA Compact IV ROM Development] Matthy_47:
Hi Daalgo,

just copy it to \windows and softreset.

M.
[Touch Diamond, MDA Compact IV ROM Development] Matthy_47:
Hi NLS,

right, I took a screenshot of the dialer and made the overlay...

M.
[Touch Diamond, MDA Compact IV ROM Development] rjmjr69:
Will this work on the Touch Pro CDMA?
[Touch Diamond, MDA Compact IV ROM Development] gadgetuk437:
Has no effect on my Touch HD.

Any tweaks you might recommend to get it to show up?

(soft reset didn't do it)
[Touch Diamond, MDA Compact IV ROM Development] MrRalphMan:
This also has no affect on my Touch HD.

Drat!
[Touch Diamond, MDA Compact IV ROM Development] kille9:
Can sombody of you hackers solve this for HD.
[Touch Diamond, MDA Compact IV ROM Development] Shockwavetr:
how can I enable this ? Installed and not workin
[Touch Diamond, MDA Compact IV ROM Development] padvou:
Phone Lock Transparent works like a charm on my device
[General Questions and Answers] xXx yYy:
To fix the bootloop you can try using ADB commands to clear the cache partition and data partition.

Here is how:

Enable USB debugging on your phone. Go to Settings > System > Developer options. If "Developer options" is not visible, tap on "Build number" 7 times to enable it. Then go back and enable USB debugging.

Connect your phone to your PC using a USB cable.

Open a command prompt or terminal window on your PC.

Type the following command and press Enter:

adb devices

This will list all connected devices. Make sure your Nokia 5.3 is listed.

If your device is listed, type the following commands and press Enter after each one:

adb reboot bootloader
fastboot erase cache
fastboot erase data
fastboot reboot
[General Questions and Answers] TangyApple:
Thanks for sharing this, but how do I get to the settings when I can’t get past the boot screen?
[Redmi Note 12 5G / Xiaomi Poco X5] Ricfil:
Hello all.

I´m having dificulties flashing a permanent TWRP on my device.

Following the "correct method to boot up twrp and continue the process (fastboot boot.img) brings back an error and TWRP does not boot up on my phone to continue the process. The error is in the print attached.

It seems TWRP is permanent with the method from a user "Ei Nino" but it does not detect the internal storage. So I can´t make backups or restores because I can´t reach the internal system from it. It did alow me to root the device though, so it can see partitions, just not the internal storage.

I´m at a lost to what I should do to flash TWRP on this device, make it permanent AND make it detect my internal storage. Others have had the same error occur and I could not yet find a solution.

I installe drivers, used platform tools adb folder, used 3 diferent usb cables connected to diferent usb ports and tried testing it in 3 different computers and still the same occurs.

Also, if I check the oem unlock it brings back an erro (attached) for token verification error, although the phone is detected on fastboot devices, the phone fastboot driver on the PC devices tab is not showing any error and the Xiaomi unlock tool shows the device unlocked...

I wonder why they went with this double slot and ram disk thing. My previous Redmi 5 Plus had a proper recovery partition and the process pretty straigh forward and simple. Never failed. and also quick.

Anyone have any idea I may try to get this going?

Appreciate any idea/help. Thank you.
[Redmi Note 12 5G / Xiaomi Poco X5] Marko055:
You need to follow instructions. Those are:

Download TWRP from this post https://xdaforums.com/t/twrp-v3-7-mod-unofficial-redmi-note-12-5g-poco-x5-5g-stone.4639694/

1. Unlock Bootloader

2. Go into FASTBOOT mode

3. Run this command, which is actually two commands combined in one, and viola, there you go the TWRP

fastboot flash boot_a Twrp.img & fastboot flash boot_b Twrp.img
[Redmi Note 12 5G / Xiaomi Poco X5] Ricfil:
Nope.

I just tried the instructions above. TWRP does boot up after flashing, but as soon as I reboot the device boots only to twrp. I can´t boot to the system.

Does your Redmi Note 12 5G boot to the system after completing only the command above? Following the above "to the letter" only gives me twrp, no chance to boot to the system afterwords...

Also, does twrp detect the internal memory on your device? On here, only the external SD card and OTG devices are detected (which contradicts using a custom recovery to begin with I guess - for nandroid backups and the likes.

Lots of doubts here.
[Redmi Note 12 5G / Xiaomi Poco X5] Marko055:
If you want to flash new ROM you need to:

1. Go into Recovery/TWRP

2. Select WIPE

3. Format DATA

4. Reboot into Recovery

5. Advanced -> ADB Sideload

6. RUN adb sideload rom-image from PC
[Redmi Note 12 5G / Xiaomi Poco X5] martxyz:
Hello everyone, after many days of trials an errors I found how to flash recovery on sunstone. This works.

The text is translated from another forum

1. Download the recovery.

2. From the firmware that is currently installed on the device, extract boot.img

3. Place both of these files in the folder on the phone being flashed: boot.img, recovery.img

4. On your computer, create a file with text:

fastboot devices

fastboot flash boot recovery.img

5. Launch the file. It flashes recovery.img to boot a partition

6. Reboot. The phone will go into recovery. At this point, loading into the system is NO LONGER POSSIBLE.

7. Enter the password for your phone, decryption will occur and you will be taken to recovery.

8. Go to the installation tab, turn on "Install img"

9. Flash the boot.img file into the boot section, check the box to flash in both sections.

10. Without rebooting, go to the additional tab and click “Install recovery in ramdisk”, we get to the tab where we select the image of our recovery.

11. Reboot.

12. Enjoy!
[Redmi Note 12 5G / Xiaomi Poco X5] Ricfil:
Appreciate the answer.

So one can´t access internal storage with twrp? My main goal using twrp was to use nandroid backups and restores . I used to do it all the time very easily on my older redmi 5 plus. If I need to install a rom, I use the batch files wich usually come on custom roms - straight from the PC. No need to use twrp for that. I loose twrp with that install format but I did want to use it for backups/restores as mencioned - if that can´t be done I don´t see much use for twrp at all.

The data you mencion above is the data partition which used to be encrypted on other phones? if so, even that is not possible to wipe on my phone, even using twrp. I´ve tried that. It says it can´access partition. A mess.

Thank you.
[Redmi Note 12 5G / Xiaomi Poco X5] Ricfil:
Thanks for the info. But I seem to see some contradictions there. As soon as I flashed twrp rebooting did not gave me any option to put a password to decrypt data. Also, I´ve tried to force data wipe on twrp and it said it couldn´t be done. Also, is decrypting not erasing everything on the phone? If so, it would also delete the files boot.img and recovery.img from it right?

Finally, do one have access to the phone internal storage after that process? I need twrp mainly to backup and restore data (nandroid backups - which I used to do all the time on older phones). If we can´t do that on this phone I see no use for twrp at all.

Thank you for the help.
[Redmi Note 12 5G / Xiaomi Poco X5] joe-fossup:
Hi.

I may not be a professional, but from reading you message.

My suggestion is: do you try flashing twrp in your non-main slot?

That way twrp won't interference with your main slot's recovery. But you can switch slot manaully when you want to use it, and switch back to main slot when you done.
[Redmi Note 12 5G / Xiaomi Poco X5] Ricfil:
Thank you for the reply.

How does one go about knowing what is the "main slot" on these devices? The "oficial" method does not mencion flashing to either slot.

A mess this new device partitioning scheme...

Appreciate the help.
[Redmi Note 12 5G / Xiaomi Poco X5] joe-fossup:
My meaning of my word "main" slot is: which ever slot you can boot to os normally.

As for about the "official" doesn't mentions flashing, I don't knows which are "official" but I assume similar to [RECOVERY] [12] [Moonstone][Sunstone] TeamWin Recovery Project ??

My intention for my original reply is, to suggest you another way of installing TWRP to maybe solve some of user problems (not detect internal storage, can't make/restore backup).

So, my method involving those step:

identify you "main" slot by:

boot phone into fastboot and connect to pc, and make sure that device connected.

fastboot getvar current-slot

Then you can flash your TWRP into your "non-main" slot

For example, my main slot currently is B, so I would flash into A. using

fastboot flash boot_a twrp.img

((This way you are now leaving you "main" slot untouch, but your twrp is now on your "non_main" slot.))

Then from this: you can switch from your main to non-main, or vise-varsa.

Note: This is alternative method when you want to install twrp. It does may not produce the same result/intent when you install twrp for/after install custom ROMs.
[Redmi Note 12 5G / Xiaomi Poco X5] Ricfil:
That´s it.

Thank you.

What a great answer. I fell like XDA is geting less and less useful as the help provided lack more and more each time I come here. I always tried to help others with issues I have read which I knew how to help. And I appreciate who does the same.

And I´m not a stranger to smartphones and Android, but I never had a device with A/B partitions. So your explanation helps guiding me into not only some troubleshooting for my issue but also for learning more about this new partitioning scheme manufacturers are implementing more and more.

I just did not get how one goes about changing "slots" after flashing TWRP and why would one need to do so. :unsure:

Appreciate the help. Of to some testing.
[Redmi Note 12 5G / Xiaomi Poco X5] Ricfil:
I´ve just tried your method. My active slot was a. I flashed TWRP to the b slot. I can change slots (I did get how to do that using Google) but the issue remains: TWRP does not "see" my internal memory. Only SDCard and OTG devices. What use is TWRP for if it can´t access the internal memory?...
[Redmi Note 12 5G / Xiaomi Poco X5] martxyz:
go on the crdoid page and download the crdroid recovery for stone https://sourceforge.net/projects/crdroid/files/stone/10.x/recovery/. then flash it using "fastboot flash boot recovery.img". It's working well, I just tested it. Crdroid recovery is similar to lineage recovery, less features compared to twrp but still does the job
[Redmi Note 12 5G / Xiaomi Poco X5] DenzoWasTaken:
I'm in the same boat as you, can only flash twrp temporarily. Try this link https://sourceforge.net/projects/recovery-for-xiaomi-devices/files/sunstone/ the top one by erwin worked for me but temporarily, I still haven't found a way to make it permanent yet :(
[Redmi Note 12 5G / Xiaomi Poco X5] Ricfil:
Have you checked the last version? I just posted in his thread that the last version is working for me. New method to flash and it can access the internal storage.

I still have to test taking a nandroid backup and restoring it though.

I have tested booting to recovery and to the system a few times and it is working for now.
[Redmi Note 12 5G / Xiaomi Poco X5] Ricfil:
Update

After flashing Magisk patched file TWRP does not boot anymore. Only stock recovery.

I can't understand what the yeck am I doing wrong here. 🤔
[Redmi Note 12 5G / Xiaomi Poco X5] DenzoWasTaken:
So, I somehow got my phone to flash Evo X, here's what I did.

I changed my active slot to b and I flashed twrp to b slot then I proceed to flash Evo X to slot a and it just worked. I did wipe the data and stuff and I didn't bother to flash it permanently anymore since it was such a drag to get it flashed on the phone. I just flashed the OS through the temporary twrp. I don't know about nandroid though since I never used that feature.

PS. device rebooted and required a factory wipe.
[Redmi Note 12 5G / Xiaomi Poco X5] Ricfil:
Appreciate the reply.

I can do what you mencion and I´ve tried changing slots, but as soon as I reboot or flash magisk, puff, stock recovery.

I´ll have to further check the issue.

Appreciate the insight.
[Redmi Note 12 5G / Xiaomi Poco X5] Saif77:
Guys, I have very good news for you, I figured out a very easy way, easy as water - as we in my country - to install magisk and root redmi note 12 5g.

I tried this way and it worked without any problems thanks for Allah.

Unfortunately you will not install twrp. This way is to root your device only. Here is the instructions:

1- You must have the stock boot.img, backup it or install the rom and extract it.

2- Download magisk apk

https://github.com/topjohnwu/Magisk/releases/download/v26.4/Magisk-v26.4.apk

3- Download adb fastboot platform-tools (from google or from the previous xda posts)

4- Copy boot.img to your internal storage, install magisk.

5- Follow the instructions in this link

How to Root Redmi Note 12 Pro/Pro+ 5G via Magisk

In this comprehensive guide, we will show you the detailed steps to root your Redmi Note 12 Pro/Pro+ 5G via Magisk.

droidwin.com

6- If the previous step didn't work, then you only have to write in the fastboot command "fastboot flash boot magisk_patched_boot.img" instead of "fastboot boot magisk_patched_boot.img". And then reboot to system.

After that, magisk apk will sent you a notification to complete installation and will ask you to reboot. (If it doesn't send you a notification, just open the apk and you will find it)

7- Congratulations.

In conclusion, I genuinely thank xda and every xda member for helping me for the past six years until now..