yashsingh1/xdaforums huggingface dataset:
[Xiaomi Mi 11] zgfg:
I'm not on MI 11 but Mi 11 Lite 5G NE, but method is the same

Install the following app to download the correct FASTBOOT (tgz) ROM type for your phone - choose Global or EEA (India, etc, as you wish):

MIUI Downloader - Apps on Google Play

MIUI upgrade app for Mi users.

play.google.com

To uncompress, you first need to un-gzip and then to un-tar

Copy the uncompressed content to your adb/fastboot folder on the PC

You will see three BAT scripts (for Linux users SH scripts)

You need to use the following (to flash and FORMAT, but WITHOUT relocking Bootloader):

flash_all.bat

(read the rest before flashing)

Why not relocking BL - bcs, if anything goes wrong and you already relock BL, you will have a bricked phone that requires paid EDL support to fix (not covered by warranty)

You can relock later:

fastboot oem lock

when you make sure that stock ROM works correctly - if you really want so (not sure if relocking is required for warranty).

As long as BL is not locked, you still have chances to flash again or different ROM until you get everything ok

Hence open thar bat file in Notepad and check its last lines, that script does not relock BL (before it's last command to reboot the phone) - if the script wants to relock, delete that line

Also, in the Notepad inspect first three or four lines of the script. They are about anti-rollback. Since you are coming back from Xiaomi.eu, might be that anti-rollback will block you to proceed with flashing

Carefully inspect those first three or four first lines (you don't need to be a programmer to understand), and remove them

(I cannot give you more precise details, I would have to download again 3.5 GB tgz file, uncompress, etc - I WON'T do that again, when I needed for myself I did and then cleaned almost 20 GB from my PC)

Then run that edited BAT script. It will flash the full stock ROM (without bothering about anti-rollback), and will not relock your BL. Reboot (if script does not automatically) and configure your 'new' stock
[Xiaomi Mi 11] Gus1994:
Which is mandatory to be under warranty - Global or EEA - you said to pick as you wish but I am just making sure its all in order before going forward - I will start downloading it now and trying it out! Thanks for your help thus far.
[Xiaomi Mi 11] zgfg:
How do I know how/where did you buy your phone and what is mandatory for your warranty?

Usually, it would make sense that you put the same, Global or EEA that was on your phone when you bought. You should know what did you have
[Xiaomi Mi 11] Gus1994:
My apologies for not mentioning it, but its bought in Sweden, (Europe), and reading the warranty rules; it says no modifications allowed to the phone, but I am not reading anything about software. Xiaomi.EU did, however, mention that you should flash stock. I cant remember what was on the device originally as I did a fastboot flash.
[Xiaomi Mi 11] Unknown.Guy:
Having EU means you've unlocked your bootloader. It shouldn't be a big deal tho, you will be able to get it repaired under warranty because Xiaomi doesn't really go into details of unlocked bootloader.

Please post the error code/screenshots from MiFlash for the errors you faced.
[Xiaomi Mi 11] Unknown.Guy:
Also, it's pretty easy to figure out whether you had a Chinese or global variant. If the box and all the info on it was English, you can flash any of the Global versions (EEA, MI, IN, etc)

It doesn't matter really as long as your phone was a Global variant and not a Chinese one.
[General Questions and Answers] igogo2011:
Hi, trying to unlock from Optus Australia. What do i need to do?
[General Questions and Answers] TNSMANI:
MOD ACTION:

Thread closed.

@igogo2011

If the device has been paid off, please contact the service provider for unlocking. If not, it is illegal in most parts of the world to unlock. We do not want any legal trouble. Rule 9:
[Redmi Note 10] ibanezred16:
Do you have MIUI gallery?
[Redmi Note 10] Ham1do:
This apk worked for me:

Google Drive - Download warning

drive.google.com
[Redmi Note 10] Ham1do:
Disable Force Encryption for

Mojito / oss vendor :

Usage:

1- Comming from encrypted rom

- Flash the new encrypted ROM

- Flash ofox

- Reboot to ofox

- Flash decrypt zip

- Format data

- Reboot to system

2- Comming from decrypted rom

- Wipe data/dalvik/cache

- Flash the new encrypted ROM

- Flash ofox

- Reboot to ofox

- Flash decrypt zip

- Reboot to system

Notes:

• This zip decrypts your data.

• This zip won't decrypt data on stock vendor.

• This zip won't decrypt data on erofs ROMs.

• Flash it everytime after flashing new rom.

• Decrypted DATA = LESS SECURE device.
[Redmi Note 10] Ham1do:
Working Fm radio as magisk module:

For A12 and A13 (most latest a13 roms don't have FM radio app).

- Flash the module via magisk

- Reboot to system
[Redmi Note 10] Ham1do:
Increase sawp (ZRAM) from 2Gb to 4Gb

installation:

- Go to ofox recovery

- Flash attached zip

- Reboot to system

Ps:

Some roms have limited vendor partition size and RO, so they don't accept fstab.zram file modification or decryption.

Don't flash this zip on Roms having Neternels kernel as it has by default 4gb vbswap.
[Redmi Note 10] Ham1do:
KProfiles modes (only for neternels kernel) :

Switch between battery , balanced and performance modes (manual or auto) using KProfiles app ( settings / battery / or using qs tile ).

- Flash Kprofiles magisk module.

- Reboot.

- Tested and worked on many a12L/a13 roms.

Ps:

It won't work on Roms using non-Neternels kernel.
[Redmi Note 10] seunlayi:
This is a great achievement. Weldone Hami_do
[Redmi Note 10] Ham1do:
Unlike the classic method which decrypts data at vendor fstab level, the new method can decrypt data even on RO roms such as erofs roms.

Soon i will let you know how..

Edit:

Last time I have decrypted successfully Arrow Os A13 erofs (Read Only ROM) using dfe-neo from here :

[A/B][A-ONLY][SCRIPT][READ-ONLY][EROFS][ANDROID 10+] Disable Force Encryption Native Early Override (DFE NEO v2) | Disable encryption /data | userdata

Brief description: Disabling encryption without direct modification of system files. Mount method, i.e., RW not required. Supports EXT4(RO/RW), EROFS, F2FS(RO/RW). Description: DFE-NEO v2 is a script designed to disable forced encryption of the...

xdaforums.com
[Redmi Note 10] metmetz:
thanks for the miui camera port
[Redmi Note 10] devcon69:
All works great with both 12 and 13 beta.

Just had to disable some pixel props on magisk for the camera port to work flawlessly.

Thanks.
[Redmi Note 10] Mthw:
Has anyone tried the flashable anx camera on pixel os a12?
[Redmi Note 10] Ham1do:
Can you show which pixel props to disable?
[Redmi Note 10] Mthw:
Since PixelOS uses read only filesystem (erofs) it might not even be possible to flash stuff there.
[Redmi Note 10] Apih95:
Anyone tested anxcamera for GSI a12L with wcsf kernel on their mojito devices?
[Redmi Note 10] Samir2298:
Not with WCSF but tested on Neternels. Selfie and portrait mode crashes.
[Redmi Note 10] Apih95:
I see, thanks for the information ❤️ i think i will try anxcam with WCSF later and report it back here
[Redmi Note 10] Ham1do:
Flashing files directly in system you can't on erofs i agree, but flashing magisk modules on erofs is possible , there is no problem.

----

@pihpih95 I think same issues on neternels you will find them on WCSF..

except if you want try it on a12 , try PLC version ( prebuilt libcameraservice ), because my anx a12 module has a prebuilt libcameraservice.

And if you want try WCSF on a13 , try NPLC because there is no libcameraservice in my anx a13 module.
[Redmi Note 10] Apih95:
i found that whenever i record the video , it is not save to any of my storage , how to overcome this problem ? im using WCSF-PLC latest on AncientOS GSI,taking picture just fine , im using port v7 anxcam
[Redmi Note 10] motorboy-johnny:
Good news!

mod_glnralr_5.0.230706.0 magisk module is also working on the MIX 4 with the HyperOS stable EU ROM

Made an TWRP backup in case of emergency and flashed the zip with Magisk after that.
[Redmi Note 10] Ham1do:
TWRP/PBRP qpr2 version (28.05.2024)

- Fixed camera crash after reboots.

Download

Tested on BlissRom qpr2 and lineage 21 qpr2 by Alonso (modded erofs to ext4 rw & PBRP support).

PS: Don't try this zip on EROFS read-only ROMs.
[Redmi Note 10] alonsoj636MW:
btw, your latest leica camera module is finally working without any issues/crashes on los21

picture quality is amazing.

tested on may build which i'm testing it

Great job as always :)
[Redmi Note 10] Ham1do:
Your April lineage 21 is fantastic 😎 I'm using it as daily driver with some mods .. smooth and solid ROM 🔥

I will wait for May sp , keep the good job.
[Redmi Note 10] alonsoj636MW:
your setup looks really cool 😦

i love nox arcana!
[Redmi Note 10] alonsoj636MW:
View attachment 6107690

Night Picture
[Redmi Note 10] Ham1do:
Nice night shot 📸
[Redmi Note 10] squidbutt:
where did you find a stable hyper os rom?>
[Redmi Note 10] motorboy-johnny:
It's the HyperOS 1.0 STABLE RELEASE from xiaomi dot eu

Just google xiaomi.eu each step to flash this ROM is perfectly described on their forum
[Redmi Note 10] squidbutt:
ive been on that forum. i can never find hyper os for the mojhito
[Redmi Note 10] carlos974:
FYI: I tested for POS 14 QPR3 dev, works fine.

So on this ROM, I tested your module : LeicaCamera-v5-[Magisk KSU]-Mojito-01-05-24-qpr2.zip and surprisingly, it works great!
[Redmi Note 10] Ham1do:
Thanks for your responsiveness :-)
[Redmi Note 10] motorboy-johnny:
There isnt a HyperOS for Mojito/Sunny. Latest is Miui 14
[Redmi Note 10] Ham1do:
That's right, only HyperOS as a port is available.

This is an example -> https://t.me/ultimatepowerportsupdate/7297
[Redmi Note 10] lordblizzard6:
Any way to get Ds4 gamepads working through OTG cable? I don't know if it's a rom specific issue(Bliss), anyone having the same issue?
[Redmi Note 10] Samir2298:
Hey did you test selfie and portrait mode?
[Redmi Note 10] Apih95:
selfie no problem , portrait mode okay . but if you take portrait selfie then it will return a green picture/screen. Still waiting for someone to guide me and overcome the no-video being saved despite recording on variety of time taken 😪
[Redmi Note 10] spider1163:
It works perfectly on crDroid A12 (crDroid-8.9-arm64_bgN-Unofficial.img)

Thank you !
[Redmi Note 10] Samir2298:
GSI?
[Redmi Note 10] spider1163:
Yes coming from this thread

https://xdaforums.com/t/12-1-13-gsi-guide-support-phh-mojito-sunny.4473965/
[Redmi Note 10] Apih95:
video recorded is being saved ?
[Redmi Note 10] Ham1do:
Yes video recording saved, tested on many a12/a13 custom roms and neternels kernel.

For west coast kernel test both NPLC & PLC.

I haven't tested camera module on gsi to be honest.
[Redmi Note 10] Apih95:
i see , might be something wrong on my end. thanks for clarify it , cheers 😌
[Redmi Note 10] Ham1do:
Dirac Sound Enhancer for mojito a13 roms

(magisk module)
[Redmi Note 10] Moscha:
@Hami_Do The MIUI Camera Magisk Module works flawless in latest PixelOS Android 12 build. Thanks for the good work!! 👍👍👍

The only open whish for me is adding other languages than English for the App (German in my Case) if possible.
[Redmi Note 10] Ham1do:
Dirac Sound Enhancer for mojito a12/a12L roms

(magisk module)

View attachment 5726697
[Redmi Note 10] nierewa:
Hi,

I use cDroid 8.9 custom rom.

I flashed the MIUI Camera TWRP port this way:

Now the phone won't start. I only see the CDroid Logo and nothing happens the whole night long.

What can I do to start the phone?
[Redmi Note 10] Ham1do:
Dirty flash the ROM ,

I will look to fix bootloop issue.
[Redmi Note 10] nierewa:
Had the same problem with lineageos.

Dirty flash didn't work.

I have had to format data and flash cDroid and FlameGapps again.

That would be great :)

Where can I get magisk to test the magisk module till twrp version works?
[Redmi Note 10] spider1163:
on Magisk github

Release Magisk v27.0 · topjohnwu/Magisk

[Zygisk] Introduce new code injection mechanism [Zygisk] Support new signature introduced in U QPR2 [SEPolicy] Update libsepol to properly set some policy config bits [MagiskBoot] Support compressi...

github.com
[Redmi Note 10] nierewa:
Thanks.

So I only had to install the apk?
[Redmi Note 10] alonsoj636MW:
install apk and then flash it in recovery

rename to .zip if needed
[Redmi Note 10] spider1163:
Alonso is right, everything is explained on github :

Installation

The Magic Mask for Android

topjohnwu.github.io
[Redmi Note 10] Ham1do:
TWRP mounter for mojito:

Sometimes we need to edit/add/delete files through twrp file manager in system, system_ext, product and vendor ..

So for that, flash twrp mounter to mount virtual partitions and set them as read/write , then edit your files carefully.
[Redmi Note 10] nierewa:
I'm sorry. I don't know what you mean ☺

I flash twrp mounter with twrp recovery?

Which files should I edit and how?
[Redmi Note 10] Ham1do:
This thread is for various mods..

Twrp-mounter is a utility for anyone who wants to edit files in the system.
[Redmi Note 10] nierewa:
Ah, sorry.

I thought you looked how to fix the bootloop issue and this is this answer :giggle:
[Redmi Note 10] nierewa:
Maybe it's just a click, but...

I have installed Magisk 25.2 apk. Then I flshed it with twrp.

After that I installed Miui Magisk module but... where can I find it?

How do I open Miui cam?

And by the way, is my phone now rooted?
[Redmi Note 10] Ham1do:
Yes it is rooted.

After the installation of miui camera module reboot and enjoy the camera.
[Redmi Note 10] nierewa:
Can't find it. No icon on Homescreen or anywhere else :(

Edit:

After three restarts a new entry "camera" is shown...???!!

48M works (y)
[Redmi Note 10] nierewa:
This is something I didn't want to do. I heared this is quite dangerous.

If I deinstall Magisk root is gone? Or is root disabled if I deactivate su access in settings?

Miui cam is great and shot pictures with great quality.

So I have to wait for twrp module to work.
[Redmi Note 10] spider1163:
It is dangerous only if you grant root to an unkwown app.

If you want, you can keep Magisk and set "auto answer" to No in Magisk settings.
[Redmi Note 10] nill207:
Can't Connect to Camera in PixelOS A13 Latest Build. Gave all the permissions but still can't connect to camera.
[Redmi Note 10] spider1163:
I think it is related to libcameraservice, I have the same error with Lineage 19.1 (GSI)

No problem with AOSP (phh), crDroid and ArrowOS (all GSI)
[Redmi Note 10] Ham1do:
Have you tested v7.2 ?

I'm downloading latest POS to test.

On Los 19.1 you should try v7 0.

Edit:

And yes , "camera can't connect" in most cases it's related to libcameraservice. Then to confirm, you can delete libcameraservice inside the module zip: system/lib64/ and test it, most likely camera will work but without 48mp mode.
[Redmi Note 10] nill207:
The Version I have installed is v7.2. I have also found out that if I install this v7.2 Miui Camera then the default google camera go which is given with PixelOS A13 latest build of 20th October disappears. Then just now I have installed Gcam 8.4 by Parrot and it crashed after opening. After removing this module from magisk, Default google camera go came back and also Gcam 8.4 by parrot also started working. This modules previous build of 18.09.2022 was working in PixelOS A13 Beta. I don't really know what the problem is but that's all I found till now.
[Redmi Note 10] nill207:
I don't really know. With this modules latest update v7.2 installed other camera like gcam crashes and default given camera which is google camera go disappears. It was working in 18.09.2022 build. Only problem was 48mp camera but this problem didn't occurred. I used it on PixelOS A13 Beta that time.
[Redmi Note 10] pnplusplus:
Can you fix document option on a12l too?
[Redmi Note 10] Ham1do:
Try v7.1 + 48mpFix magisk module for a12 (attached file).
[Redmi Note 10] Ham1do:
SushiLauncher magisk module For A13 roms:

Ported from riceDroid v7.5 latest.

By: AMRGAMAL1 & Hamido

➥ The launcher and its related applications have been modified to work on most ROMs..

➥ Tested on EvoX & Cherish OS.
[Redmi Note 10] Ham1do:
DerFest Launcher magisk module for a13 roms:

Ported from 25-10-2022 derpfest os build.

Tested successfully on Cherish os.

➥ By Hamido
[Redmi Note 10] ibanezred16:
hello can i ask how do you change the icon?
[Redmi Note 10] pnplusplus:
It's not working, maybe it'll work if i extract the camera 7.2 and install it?

Update: it's still not working
[Redmi Note 10] Ham1do:
Install custom icons pack from playstore and choose it from launcher settings / icons.
[Redmi Note 10] ibanezred16:
I tried both launcher it's a bit laggy sometimes in when you switching in recent apps
[Redmi Note 10] pnplusplus:
I've tried miui camera 7.2 on los 20 but the front camera and potrait is not working. When i try miui camera 7.1, its show camera cant connect. Any solution?
[Redmi Note 10] LaMarMôt:
Hello,

I'd like to install camera 7.2 (or else) for A13, but none of the google drive links are working :(

Any mirror ?

Thanks !!
[Redmi Note 10] pnplusplus:
In my case, it's still working
[Redmi Note 10] LaMarMôt:
Thanks for your answer.

So no mirror I guess ?

In my case I always have this message, even on other devices and/or on other network...

"

Sorry, you can't view or download this file at this time.

Too many users have viewed or downloaded this file recently. Please try accessing the file again later. If the file you are trying to access is particularly large or is shared with many people, it may take up to 24 hours to be able to view or download the file. If you still can't access a file after 24 hours, contact your domain administrator.

"

Well... too bad :(
[Redmi Note 10] spider1163:
I uploaded the 3 modules there :

585.39 MB folder on MEGA

3 files

mega.nz
[Redmi Note 10] alonsoj636MW:
login to your google account
[Redmi Note 10] Ham1do:
Just for clarifying things.. After weeks of searching, there is no fix to add on the current miui camera module v7.1, it's s fully working on some a13 roms, and on other roms there are 2 bugs:

1- 48mp bug fixable on rom side by adding this commit: https://review.lineageos.org/q/topic:twelve-camera-privapp

2- Front camera & portrait freezing bug , can be fixed with some commits where @Anush02198 was able to fix them on his Spice os test build ( waiting for him to share necessary commits ).

So v7.2 module hasn't a proper fix for 48mp, it's only v7.1 module + added to it libcameraservice.so extracted from working 48mp rom (Spice os) , that's why v7.2 module worked on some roms and failed on others.
[Redmi Note 10] AsadAliKhanBaloch:
does this work on miui 13.0.10 global?
[Redmi Note 10] Ham1do:
Miui not supported.
[Redmi Note 10] vicher007:
Do we need to install miui core module inorder this to work?
[Redmi Note 10] Ham1do:
No need.
[Redmi Note 10] Ham1do:
New camera port:

https://xdaforums.com/t/useful-mods-for-custom-roms-mojito.4494371/#post-87451149
[Redmi Note 10] alonsoj636MW:
Working on LOS 20

Great Work Hamido!! Finally i can use MIUI Camera on Custom ROM !!

48MP mode works too... :)

btw , beautiful icon
[Redmi Note 10] Ham1do:
Yesterday i have tested LOS 20 and i was surprised from its stability, nice work!

Unfortunately latest mi camera port had the known issue on LOS 20 same as on other roms (front camera and portrait crash).
[Redmi Note 10] alonsoj636MW:
oops!! yeah didn't tested them

i don't use them so no problem for me... but will be a problem for the people who actually need them

but anyway is great to have native miui camera running in A13!!
[Redmi Note 10] vicher007:
I installed it and it was working alright. Now whenever I open the app it says cant connect to camera and closes. What should I do now?
[Redmi Note 10] Ham1do:
Try the new camera port

https://xdaforums.com/t/useful-mods-for-custom-roms-mojito.4494371/#post-87451149
[Redmi Note 10] pnplusplus:
Thank you for micamera 4.5 port. It's working on kscope 12.1. But there are some issue, like front potrait cam is not blur. But, it can be solved by enabling parallel processing in the experimental settings. That settings make documents option freeze though. But, i think this is fine. Great job, well done 👍

P.S. front cam palm shutter is working perfectly 😁
[Redmi Note 10] bobtear1:
Installed and bootlooped my device. I'm using PE Plus 13
[Redmi Note 10] nierewa:
Can you fix it? Can't find the Twrp Module.

My banking app find Magisk :mad: so the twrp module would be nice if fixed.
[Redmi Note 10] Ham1do:
Sorry, twrp versions were abandoned due to the limited system partition size.

=================

Update:

https://xdaforums.com/t/useful-mods-for-custom-roms-mojito.4494371/#post-87451149

New 48MP fix added for roms on December security patch.
[Redmi Note 10] nierewa:
That's too bad. Is there nothing that can be done?

I am very happy with the camera, but with Magisk my banking app no longer works.
[Redmi Note 10] spider1163:
Add banking app to Magisk deny list
[Redmi Note 10] Ham1do:
In addition to what @spider1163 said, try Shamiko & safetynet fixes (magisk modules).
[Redmi Note 10] nierewa:
Hi.

First I renamed the magisk app.

Then I activated Zygisk and add banking app to "Verweigerungsliste"

Was the procedure correct?

However, the banking app now starts normally.

Is there any security risk now? There must be a reason why the launch was denied.
[Redmi Note 10] spider1163:
Rooting is a security risk, never allow root access to an unknown app.

Adding the bank app to Deny list will deny its access to Zygisk/Magisk/Root, so no more security concern.
[Redmi Note 10] nierewa:
I never be asked for root access... !?

Would it then make sense to add all apps to the list?
[Redmi Note 10] Ham1do:
crDroid Launcher Mod v4 For A13 qpr

Build date: 25/12/2022

By: Hamido & AMRGAMAL1

➥ Changes and fixes:

• Fixed booting on different A13 qpr ROMs.

• Fixed dt2s .

• Removed taskbar feature from misc menu (was causing fc).

• Slightly moved ram usage to the top to fix overlapping on 3 buttons navigation.

• Replaced the damn eye logo with our channel's logo :)

• Blur worked on Yaap & not worked on LOS.

• Fixed weather feature support for all ROMs, but first you must enable & adjust the weather settings through OmniJaws widget after that you can delete the widget.

➥ Tested on Lineage20 & Yaap December security patch (November & previous sp not supported).

➥ Download ( Aosp based roms )

➥ Download ( LOS based roms )

Enjoy ❥
[Redmi Note 10] alonsoj636MW:
Now it looks amazing :love: !!

crDroid Launcher + PIX Icon Pack + Repainter !!

Now i want to know how to install that battery icon on status bar!!
[Redmi Note 10] Ham1do:
The battery icon & signal icons from project themer.

Btw you did nice work on lineage 20 : -)
[Redmi Note 10] lakshmish:
Finally 48 MP is working on Pixel Experience A13. Wish front cam and portrait worked too... Will use gcam for front cam until there is a fix.
[Redmi Note 10] Ham1do:
Update:

The needed commit to fix front camera & portrait mode issue on Mi camera in "some roms" has been added in post 2 .
[Redmi Note 10] alonsoj636MW:
fixed on LOS 20 :love:
[Redmi Note 10] Ham1do:
Nice to hear that 🤩
[Redmi Note 10] kergekecske:
Not working. I am on los 20230102. Flashed with magisk the new version and the december security patch (after removed old version and reboot) No working selfie,nor portrait mode.
[Redmi Note 10] Ham1do:
I guess @alonsoj636 fixed it in his latest test build not released yet.
[Redmi Note 10] lakshmish:
So this can be done by only Rom Developers right? Or can i tinker myself... I am using Pixel Experience
[Redmi Note 10] alonsoj636MW:
Yes... only by developers

and in the case of pixel experience

ROM is official so developer isn't allowed to add things to the source (until rom source add it)

As far i know.. Zidan is Core Dev so i think he can add those commits
[Redmi Note 10] alonsoj636MW:
One thing about the MiCamera port is that

For me "Experimental Feature" message spams while i'm on Settings
[Redmi Note 10] Ham1do:
No problem, maybe in the coming days I will provide new camera with experimental features relocked.