yashsingh1/xdaforums huggingface dataset:
[Xiaomi Poco F1 Guides, News, & Discussion] ipdev:
Hi. :)

I do not use the eu roms but, I was curious when the shift to forceencrypt started.

I did not see anything on their forum so, I did some flashing and looking.

It appears that Xiaomi eu roms for Pocophone F1 were switched to forceencrypt starting with the Android 10 based versions. (Miui 11 v11.0.4.0)

Miui v11.0.5.0 is Android 9 and not forceencrypt.

It also appears the xiaomieu script might not be executing properly (on a clean install).

So this could be the issue some have with bluetooth/WiFi.

Once encrypted, the only way to remove it is to format data.

The Xiaomi eu team apparently decided it was safe to run encrypted now so, unless you have a reason to run not encrypted, it should be alright.

Last time I tested the eu builds, a while back and at that time, encryption gave problems.

xdaPost 4850 - Link

About a month ago, I cleaned up my PocoF1 scripts and pushed some to to GitHub and SourceForge.

PocoF1 GitHub - Link - SourceForge - Link

Including a minimal dfe script that only replaces forceencrypt with encryptable.

Looks like I also uploaded pre-made flashable zip versions to SourceForge.

SourceForge - Link

Just added a README to the download section to explain the zip files.

Feel free to use them if you (anyone) wants.

Cheers all. :cowboy:
[Xiaomi Poco F1 Guides, News, & Discussion] oniemjan:
I tried to flash your fde right after installing eu-update 11.0.8.0 but i still ended up encrypted :crying:

What did i do wrong? Is decrypting possible?
[Xiaomi Poco F1 Guides, News, & Discussion] TheHappyBuddhist:
Do you have all necessary drivers properly installed from the OP?

Make sure you use USB 2.0 port to connect your device. Also, it won't work with AMD based systems, so use Intel.
[Xiaomi Poco F1 Guides, News, & Discussion] ipdev:
Hi.

Once data is encrypted, the only way to run non encrypted is to format data.

Remember to backup and save what you want somewhere safe. Computer, USB, external sdcard, along as it's not the internal storage.

Forced encryption is a flag set in the fstab.qcom file.

On boot, forceencrypt will check for encryption, if encrypted it will continue to boot into system. If not encrypted it will trigger the encryption to start and once done, it will either reboot or continue to boot into system. (Depending on the device/rom)

On boot, encryptable will see encryption as optional and boot into system regardless if data is encrypted or not.

If you are not encrypted, you will have to change this flag every time a vendor image is flashed.

Unless the new vendor image is already encryptable.

To check, read the /vendor/etc/fstab.qcom file.

After some notes you will see the line that shows the mount for data.

/dev/block/bootdevice/by-name/userdata at the end of that line you will see if it's forceencrypt or encryptable.

forceencrypt=footer,quota or encryptable=footer,quota

If you are in TWRP you can check by mounting vendor and then;

Use a computer and adb pull /vendor/etc/fstab.qcom then open the file on your computer with a text editor.

Use a computer and run adb shell cat /vendor/etc/fstab.qcom | grep userdata

In TWRP Advanced->Terminal and run cat /vendor/etc/fstab.qcom | grep userdata

Did some testing and the flag was changed every time I flashed the dfe_POCOF1Global.zip

Checked with miuiGlobal, xiaomi.eu_multi and Lineage 17 nightly roms.

If you were not encrypted before updating, then something went wrong and the recovery.log file would be needed to see what happened.

Make sure you did not accidentally use the efe_POCOF1Global.zip file.

That one will set it to forceencrypt and was only really made for testing the difference of how encryption is handled.

Hope it helps explain.

Cheers. :cowboy:
[Xiaomi Poco F1 Guides, News, & Discussion] oniemjan:
Thx for clarifying

Luckily i saved everything on my pc, so i can retry

Would you care to take a look to the logs?

Could my mistake be that i flashed other things like magisk at the same time i flashed the update and the fde?

https://drive.google.com/file/d/10BsAotMYKajIMMzJkn8rFawLkxceTnne/view?usp=drivesdk

https://drive.google.com/file/d/10JJ92ZfZZ-OdZMcbDyoRB9qOCybi5RoF/view?usp=drivesdk

Thx in advance
[Xiaomi Poco F1 Guides, News, & Discussion] daddygamergold:
How do I do the mi unlock status without mobile data?
[Xiaomi Poco F1 Guides, News, & Discussion] t-driver:
on another thread, someone suggested to flash another recovery image. after that it booted without password......... (i still try to verify this.)

.
[Xiaomi Poco F1 Guides, News, & Discussion] ipdev:
Backup/Save is a very good habit to git into. :)

My problem is I never go back and delete unnecessary backups. ;)

The recovery.log is recreated every time you boot into twrp.

So you would need to save the log after you are done installing and before you reboot.

The one you linked to only shows TWRP starting up and saving the log file, nothing being installed.

As for the order of flashing, it is consecutive so, if you are flashing something that changes/modifies something else. The something else has to be installed first.

Example:

Magisk patches the boot image and Gapps modifies system, you would not be able to install (flash) them before installing (flashing) the ROM, since boot and system will be overridden when the ROM is install.

Since Magisk and Gapps do not effect each other, they can be installed in any order after ROM is installed.

If you use a custom kernel, flash it after Magisk. (This went back and forth in the Magisk threads but, the recommendation was to flash kernel after Magisk.)

As for DFE, the fstab is in vendor and that is part of this ROM package.

So it just needs to be modified sometime after the ROM is installed and before you boot into system. So you could flash it right after ROM or at the end.

Cheers. :cowboy:
[Xiaomi Poco F1 Guides, News, & Discussion] Damoedge:
Is there any change log for firmware or vendor or where can I find it online?
[Xiaomi Poco F1 Guides, News, & Discussion] fubo73:
What about all_regions.zip? Did regions location changed as fstab for DFE when moving from Android 9 to 10 (I noticed this in latest script)?
[Xiaomi Poco F1 Guides, News, & Discussion] ipdev:
Hi.

You got me curious so, I did a little checking and flashing tonight.

It gave me an excuse to not get a GSI build running properly on a different device. ;)

Never looked too close into the region settings since I normally use miuiGlobal for base/firmware and custom roms based on lineage or aosp.

Just double checked and region is set in the cust partition for miui Global.

/dev/block/sda18

Xiaomi.eu removes all files and directories in the cust partition.

You would have to ask them why?

Not sure if anyone from Xiaomi.eu is in this thread or an xda member.

I pretty sure a miui moderator is with the rest of us in this thread. :highfive:

At the moment I have more questions than answers. :confused:

I'm not sure how xiaomi.eu handles region.

The default clock is set to Poland so, maybe they set it for the default region?

Does not seem to change if /cust is erased or not.

Why does the miui Global for Poco F1 default to China when cust partition is erased?

Since there is no miui China rom for Poco, why not default to India? or Iceland since it's GMT0?

Let you know what I find..

Cheers. :cowboy:

PS.

If any one needs to restore the cust partition..

The miui fastboot images include cust.img so, you can just fastboot flash it.

fastboot flash cust cust.img

or [Just looked at..]

ALL_REGION+(1).zip [Link in third Post]

Will clear cust and add /cust/cust back to support region.
[Xiaomi Poco F1 Guides, News, & Discussion] fubo73:
From what I understood, the cust partition contains only customizations for each region, while languages and regional settings are part of OS. So typically you can find bloatware there, that's why I presume Xiaomi.eu removes everything. One typical case is the use of Theme app: I am in Italy and I need to switch to another region where themes are supported (like India or Switzerland) before applying a new theme. When switching, all bloatware associated to that region appears in launcher. When cust partition is completely cleared, nothing new appears and switching is seamless.
[Xiaomi Poco F1 Guides, News, & Discussion] voetbalremco:
Xiaomi locks some features behind specific regions (face unlock, themes, additional installed apps) by default. Xiaomi.eu removes this bloatware. This seems quite explainable by removing /cust altogether.
[Xiaomi Poco F1 Guides, News, & Discussion] pritos:
Does anyone have the stock recovery image for MIUI 11.0.40? I'm unable to find it in the zip file of the ROM. I cannot find recovery.img inside the zip.
[Xiaomi Poco F1 Guides, News, & Discussion] ipdev:
Hi.

It would be in the fastboot version, not the recovery flashable versions.

Here is the recovery.img from beryllium_global_images_V11.0.4.0.QEJMIXM_20200118.0000.00_10.0_global_39f9f635af.tgz

GoogleDrive - Download - md5sum

MediaFire - Download - md5sum

Hope it helps.

Cheers. :cowboy:
[Xiaomi Poco F1 Guides, News, & Discussion] pritos:
Thank you.
[Xiaomi Poco F1 Guides, News, & Discussion] arvinchugh:
Guys, I flashed EU rom to try but didn't find it as worthy as normal one so I switched back to global rom and I've rooted it. I've 2 issues one junk apps can't be removed using link2sd app as I was able to do previously on PIE it has something to do with Q version. Anyone has a fix for this perhaps? Also, Faceunlock option was not available anymore, I flashed a zip to make region option available again but it keeps resetting, again and again, I've to manually go and select India after every few hours which is annoying. Anyway to this permanently?
[Xiaomi Poco F1 Guides, News, & Discussion] darkerm:
I'm on 11.0.4.0 (QEJMIXM) Global with TWRP, Root, Magisk.

Waht I need to do so I can retain everything and get this v11.0.8.0.qejmixm update? which file should I flash?
[Xiaomi Poco F1 Guides, News, & Discussion] vrolok:
If I were you, I would first do a backup in TWRP. Then, uninstall fingerprint(s) and Magisk module(s), then back to TWRP to wipe dalvik cache, flash ROM, Magisk and DFE, reboot.
[Xiaomi Poco F1 Guides, News, & Discussion] darkerm:
if anyone want to update to latest Muiu v11.0.8.0 just go here. YES you can keep root and exposed too. I have updated successfully.

https://c.mi.com/thread-3086050-2-1.html

Use the Recovery ROM.

1. Boot into TWRP

2. Flash Recovery ROM

3. Wipe cache and dalvik cache after flashing

4. Flash FED (Force Encryption Disabler) zip file http://s000.tinyupload.com/index.php?file_id=38543197095308737431

" You may download the latest FED zip from here. I've hosted the latest version with Magisk 20.4, so you don't have to flash Magisk again (until a new Magisk comes out, ofcourse). So you can skip step 5 and 6 from the above instructions and wipe cache and dalvik cache after flashing this zip file. You may reboot back to recovery once just yo check if TWRP is still intact and then reboot to system from there."

5. Reboot back to recovery from the reboot menu in TWRP

6. Flash latest Magisk

7. Wipe cache and dalvik cache

8. Reboot system

Note that if your FED zip contains the latest Magisk 20.4, then you can skip that additional step of flashing Magisk, else follow these steps. This way you won't lose your root or custom recovery and can still update. Do NOT reboot to system before step 7 as the system will replace TWRP with stock recovery and encrypt your device.
[Xiaomi Poco F1 Guides, News, & Discussion] zorak20:
Hi all!! I wanted to install the latest build but when I reboot to TWRP in order to make the backup I'm getting asked to enter the pass (which I never set) to decrypt the data.

I've been googleing but I don't find anything that can help so, this are my concerns :

1. If I do the backup this way, is the backup done properly? Meaning That if I later need to restore it, I would be able to do it without losing anything (I know that it doesn't backups data, I need to do that separately)

2. If I follow the steps above provided by darkem, would I have any issues?

3. If I replace TWRP with pitchblack, would that fix this issue?

Thanks!
[Xiaomi Poco F1 Guides, News, & Discussion] thomas140:
With Magisk, no issue.

With Magisk+Edexposed, both ctsprofile and basic integrity will become false. Some government apps will be forced stopped. Tried with hidden core, same issue. Tried by blacklisting Google play service under edxposed manager, same issue too.
[Xiaomi Poco F1 Guides, News, & Discussion] tiennhu89:
I read it before. As my opinion, u would never have ctsprofile pass if xposed is installed (untill now at least). U can search and confirm. Now maybe it can help. First, install all app/module (exp: bank app...) u wanna, set every options u want (hide root/magisk...) Now reboot and try use ur app. If it work normal then install xposed last. Thats a trick to help me use my banking app. :)).
[Xiaomi Poco F1 Guides, News, & Discussion] tiennhu89:
Hey u, which twrp did u flash to fix that?

Edit: Nevermind, i got it :d

Edit2: My fauls, i think that i can save my internal storage but not. I istalled pitch recovery then wipe (not format) data and i could boot into system but all my data is gone. Very nice. So can u answer my question above? Which twrp did u flash to fix that (for maybe next time )?
[Xiaomi Poco F1 Guides, News, & Discussion] jenere:
adb pull /vendor/etc/fstab.qcom how to do this method to decrypt my poco f1? i just flashed the twrp but im confused with this one
[Xiaomi Poco F1 Guides, News, & Discussion] zorak20:
Same question here!! Twrp is saying that I need to decrypt and I hace no idea
[Xiaomi Poco F1 Guides, News, & Discussion] lamjanus:
Latest official twrp
[Xiaomi Poco F1 Guides, News, & Discussion] thomas140:
Ya, the magisk hide and Hide magisk manager somehow works but there is only one government app that is tricky.

The app was forced closed after installed edxposed.

Same issue when use the magisk hide and hide magisk manager. So, I have no choice but to uninstall the edxposed to make the app worked.
[Xiaomi Poco F1 Guides, News, & Discussion] tiennhu89:
Try flash lastest twrp. I didnt try. I had lost all my data before i got the answer for my question. Sadly.
[Xiaomi Poco F1 Guides, News, & Discussion] ahmadpower:
Hello Guys, I need help please...

My friend is trying to enable mi messages (for sim activation reasons)...

But when he try to enable it, it isn't enabled and appear like the screenshot below...

Any help would be really appreciated.
[Xiaomi Poco F1 Guides, News, & Discussion] zorak20:
I'm afraid of losing my data too, is it safe to do that?
[Xiaomi Poco F1 Guides, News, & Discussion] tiennhu89:
I have no idea. I have a couple format data in a day :)). :laugh: So be careful. As my exp, just use twrp (officer) and when flash rom, flash dfe too AND never change rom from aosp base (lineage, havoc, pixell...) to miui stock. I had format data 2 times because of it. Its my exp. Now, i would stick with mi room 9 forever. Go anywhere then u still come back to ur home. :)
[Xiaomi Poco F1 Guides, News, & Discussion] zorak20:
I always use the DFE TWRP so I have no idea why now I see the "decrypt" message. I don't want to take the risk of losing all my data so I'll wait to see if someone has an answer before installing another TWRP.

Thanks for helping!
[Xiaomi Poco F1 Guides, News, & Discussion] t-driver:
to be safe, use latest official twrp.

afaik, older twrp versions lock up data and format is needed..... someone explained it a few pages back.

.

.
[Xiaomi Poco F1 Guides, News, & Discussion] c.t2019:
Hi, recently I just rooted my Poco F1. currently it auto-installed the update for Xiaomi Poco F1 and prompting me to restart. Can I proceed to do a restart, will it cause any bootloop or the will be back to unroot status? i did not make any backup previously. I don't have any files to backup on the phone. Do I have to backup an image of the phone?

Please advise.
[Xiaomi Poco F1 Guides, News, & Discussion] t-driver:
since you already upgraded, not restarting won't change anything. it will probably be un-rooted, but it is impossible to tell if it will bootloop. (if you have done everything correctly ,it should be ok.

you don't "need" to backup anything, it's optional.

if you don't have any files on the phone, whatever happens doesn't really matter, you won't loose anything... ( some time to re-configure your phone maybe).

on another note:

it's possible the recovery is back to stock and you would need to install twrp again.

if it kept your recovery, and if it is an older version it will ask to format data. (storage) since you don't have any files, just format when asked, but to fix this "bug" use latest official twrp or an UPDATED unofficial one. (before the upgrade would be better, but i read it is possible to do it after as well, haven't tried it "after" though.)

.
[Xiaomi Poco F1 Guides, News, & Discussion] zorak20:
I read it but I didn't understand if installing a new version solves the issue or if once encrypted I need to format the data to install the new version.
[Xiaomi Poco F1 Guides, News, & Discussion] t-driver:
installing a new version solves the issue.

.
[Xiaomi Poco F1 Guides, News, & Discussion] xpto32:
This guide (which is under Poco F1 forums) says that unlocking the bootloader happens without losing data. But I installed Mi Unlock tool and it says that "unlock will erase user data". So..... do I lose data or not when unlocking Poco F1?

Thanks..
[Xiaomi Poco F1 Guides, News, & Discussion] tapunger:
Hello,

I don't know for method, which keep the data after unlocking bootloader.
[Xiaomi Poco F1 Guides, News, & Discussion] t-driver:
after unlocking pocophone F1 bootloader , it will erase user data.

.
[Xiaomi Poco F1 Guides, News, & Discussion] mecoromeo:
Not sure about that, but when I originally unlocked my phone a few years ago, unlocking wiped data. This link is 2019 and states that data will be erased:

https://xdaforums.com/poco-f1/how-to/aio-t3909060

Either way, it's best to always backup your phone anyway whether by xiaomi cloud, backing up already installed files via apk (since you likely aren't unlocked yet and likely not rooted, you can't use titanium backup, but All in one toolbox is a nonrooted app that can help you back up apps as apk files. Note that apk only, for those apps or games with OBB like NBA 2K20, you need to copy the Obb files into an sd card or your pc alongside the APKs that will serve as your backup).
[Xiaomi Poco F1 Guides, News, & Discussion] poolmaker:
Force Encryption Disabler V4 for Magisk 18, any recent version or this one working fine for Magisk 20.4?
[Xiaomi Poco F1 Guides, News, & Discussion] tiennhu89:
Which do u e need? Only DFE or DFE + Magisk? I have DFE+Magisk 20.4. Just flash it.
[Xiaomi Poco F1 Guides, News, & Discussion] TheDayWalker:
I have updated to firmware 11.0.9.0 today but it shows rooted in some apps I have check for root using root checker app it say not properly rooted I have updated using miui updater I have never rooted my device before
[Xiaomi Poco F1 Guides, News, & Discussion] TheDayWalker:
Screenshot
[Xiaomi Poco F1 Guides, News, & Discussion] Jetteroh:
Root checker says: not rooted.

The other app fails in showing it is rooted. You should check there.

Sent by my POCOPHONE F1
[Xiaomi Poco F1 Guides, News, & Discussion] tapunger:
News about MIUI 12

https://piunikaweb.com/2020/07/15/xiaomi-miui-12-update-tracker/
[Xiaomi Poco F1 Guides, News, & Discussion] Kakipa:
I have done everything but the "phone is not connected" is shown on the mi unlock tool(ver 4.5.514.47). I have also tried checking for the drivers from the gear icon on top right of the miunlock tool but nothing changed. Then i asked some of my friends and youtube videos they suggested to install adb drivers, i have done that also but the problem remains same.

What else to do now as my issue related query isn't mentioned above?
[Xiaomi Poco F1 Guides, News, & Discussion] Rajeshrajkhaju:
Bro anybody help me please iam trying to unlock bootloader my poco f1 not adding account it shows always "couldn't verify.try adding your account and device" iam confused to unlock bootloader how to fix this error
[Xiaomi Poco F1 Guides, News, & Discussion] fubo73:
Are you using USB 2.0 ports?

Note: avoid to quote very large posts.
[Xiaomi Poco F1 Guides, News, & Discussion] t-driver:
are you using amd cpu? try a intel computer. i have read this happening in earlier days.....

.
[Xiaomi Poco F1 Guides, News, & Discussion] WaLLy7557:
Just received 11.0.9.0 OTA. Security Fix June 2020
[Xiaomi Poco F1 Guides, News, & Discussion] peermohdd:
Miui 12 when we will get
[Xiaomi Poco F1 Guides, News, & Discussion] Peixeiro:
Me too, in Portugal.
[Xiaomi Poco F1 Guides, News, & Discussion] zorak20:
For anyone having this issue, flashing the latest TWRP solves the problem.

Thanks all for the help
[Xiaomi Poco F1 Guides, News, & Discussion] rasput1n380:
Fastboot driver issue

Hello. I am trying to unlock my poco's bootloader but I keep running into this issue.

Miui version - 11.0.9

When in fastboot mode, fastboot devices does not show any device but adb devices when not in fastboot shows me the phone. I see an unrecognized android device in device manager and try to update its driver to google usb drivers but the driver installer says no driver found in the folder. I have tried USB 2.0 as well as USB 3.0 ports. When I try to install 'Android ADB Interface' driver manually by picking, my phone screen turns to 'Press any button to shutdown'. Is there any solution to this?

PS: I have enabled USB debugging, 'find my device' feature, my account is synced to device.
[Xiaomi Poco F1 Guides, News, & Discussion] ayush4261:
Same thing happened with me, I tried almost all solutions but nothing worked. Finally I read a coment about trying different pc. I used my old Intel 5 lappy and i easily got it unlocked in few clicks.

I strongly recommend to try some other pc.
[Xiaomi Poco F1 Guides, News, & Discussion] rasput1n380:
Unfortunately, I have only 1 pc available with me and with this whole coronavirus lockdown situation, its hard to go to someone's place and use their system. I will try to give this a shot though. If anyone else has any other solution, I'd love to hear it. Thanks!
[Xiaomi Poco F1 Guides, News, & Discussion] mecoromeo:
Miui 12 is out.

http://bigota.d.miui.com/V12.0.0.3.QEJMIXM/miui_POCOF1Global_V12.0.0.3.QEJMIXM_717b8159c6_10.0.zip

Downloading now
[Xiaomi Poco F1 Guides, News, & Discussion] Oyee:
Anyone checked if we can root the latest MIUI12 release? Had no issues rooting from both MIUI10 and 11.
[Xiaomi Poco F1 Guides, News, & Discussion] philipped346:
Root without problem with magisk 20.4
[Xiaomi Poco F1 Guides, News, & Discussion] Oyee:
Thanks! Will also do it once it rolls out via OTA.
[Xiaomi Poco F1 Guides, News, & Discussion] thomas140:
Miui Eu Rom 12.0.0.3 is out.
[Xiaomi Poco F1 Guides, News, & Discussion] tapunger:
Is this global beta, or global stable ?
[Xiaomi Poco F1 Guides, News, & Discussion] Daruwalla:
As per Xiaomi, it's Global beta stable lol

I already tried just to check what's so craze about MIUI 12, havnt come across any bugs. Used it for a day and moved back to custom rom.
[Xiaomi Poco F1 Guides, News, & Discussion] thomas140:
Global Beta is already called off long ago. Now all roms are Stable version. I just found that the battery consumption seems higher, also, temparature range is around 37 to 41 celsius. I believe it's due to the super wallpaper feature.
[Xiaomi Poco F1 Guides, News, & Discussion] OsGhaly:
It is global stable but in beta testing stage.. As Xiaomi pushes these stable ROMs first for beta testers then after few days they decide either pushing it to public or withdraw it if it has serious bugs.. So, it's beta global stable until Xiaomi decide to push it to the rest of devices' owners.