yashsingh1/xdaforums huggingface dataset:
[Xiaomi Redmi Note 4 [Snapdragon] ROMs, Kernels, Re] Ferminuno:
So then what dual boot or thing like this should i use?
[Xiaomi Redmi Note 4 [Snapdragon] ROMs, Kernels, Re] Sivakanthsharma:
App sharing in Oreo fixed?
[Xiaomi Redmi Note 4 [Snapdragon] ROMs, Kernels, Re] prantokp:
I have Miui 9.5 as primary Rom and if I flash any Rom as secondary Rom (like RR, Mokee, Viper etc.) in Data slot the 'Android/obb' is mounted as Read Only. No application can write data there (on both roms). Did anyone face this problem here?
[Xiaomi Redmi Note 4 [Snapdragon] ROMs, Kernels, Re] anur@g:
It's daily updated
[Xiaomi Redmi Note 4 [Snapdragon] ROMs, Kernels, Re] Kevin Saiza:
Yes. I face it. I fixed it by full format of internal storage in twrp
[Xiaomi Redmi Note 4 [Snapdragon] ROMs, Kernels, Re] David_#27:
How could you dual-boot custom ROM on secondary slot?
[Xiaomi Redmi Note 4 [Snapdragon] ROMs, Kernels, Re] imepv7:
Basic instructions are provided on the first post
[Xiaomi Redmi Note 4 [Snapdragon] ROMs, Kernels, Re] prantokp:
Yeah, I did the same thing. But it is not the actual solution, I think. That way I have two options: 1. Use Dual Boot without Access Obb. OR 2. Don't use Dual Boot, isn't it?
[Xiaomi Redmi Note 4 [Snapdragon] ROMs, Kernels, Re] t.uday shankar:
can you make it for treble roms..8.1 oreo
[Xiaomi Redmi Note 4 [Snapdragon] ROMs, Kernels, Re] eko_epe:
Have anyome tried dualbooted miui10 closed global beta? Succeed patch zip file. But cant install the patched file.

Sorry for bad english

And i dont know howto attach screenshot :crying:
[Xiaomi Redmi Note 4 [Snapdragon] ROMs, Kernels, Re] cidxtc:
If you could read English a little better you would see that you should not use stock MIUI (any version) in dual boot. Wait for custom builds and it will work better.
[Xiaomi Redmi Note 4 [Snapdragon] ROMs, Kernels, Re] skyleet:
Or see the op for instructions how to use official miui as I am using dbp with miui 9.5.11.0 official.
[Xiaomi Redmi Note 4 [Snapdragon] ROMs, Kernels, Re] Sivakanthsharma:
Is app sharing fixed for Oreo ROMs? I'm waiting just for that [emoji28]
[Xiaomi Redmi Note 4 [Snapdragon] ROMs, Kernels, Re] skyleet:
How did you boot Oreo rom? Which rom?
[Xiaomi Redmi Note 4 [Snapdragon] ROMs, Kernels, Re] Raptor3G:
cannot instal miui custom rom.. dual boot patcher r806
[Xiaomi Redmi Note 4 [Snapdragon] ROMs, Kernels, Re] Sivakanthsharma:
I had aex on primary and miui on the other. I dunno what exactly I did, but it works for me. It was a while ago though. Had to reset and then didn't reinstall cuz there's no app sharing
[Xiaomi Redmi Note 4 [Snapdragon] ROMs, Kernels, Re] skyleet:
You can't because miui need cust partition. Keep miui as primary.
[Xiaomi Redmi Note 4 [Snapdragon] ROMs, Kernels, Re] Sivakanthsharma:
Plus it was back when it was non treble. Didn't try after treble was introduced
[Xiaomi Redmi Note 4 [Snapdragon] ROMs, Kernels, Re] Raptor3G:
ok, btw do you know how to play obb games on secondary rom? i cek it file show 0 bytes & cannot copy paste to obb folder on secondary rom.. :confused: primary rom oreo secondary miui official.
[Xiaomi Redmi Note 4 [Snapdragon] ROMs, Kernels, Re] skyleet:
Go to /storage/emulated/

There u will see secondry storage (some folder like 1,2,10...) simlinked to internal storage. Paste your obb there. Directly pasting obb to Internal won't work.
[Xiaomi Redmi Note 4 [Snapdragon] ROMs, Kernels, Re] Raptor3G:
thanks it work only on miui 8.. I try aosp nougat & miui official 9 + 10 not work.. :confused: game tested GTA SA,bully,pubg
[Xiaomi Redmi Note 4 [Snapdragon] ROMs, Kernels, Re] skyleet:
It worked for me on miui 9 (9.5.11.0). Paste the obb in /storage/emulated/obb/
[Xiaomi Redmi Note 4 [Snapdragon] ROMs, Kernels, Re] dishantpandya777:
Help...!

I am currently on masik p... (Nougat based)... If... I want to install Resurrection Remix Oreo Based...then... I am finding error to flash the patched zip...! Am I doing something wrong...?
[Xiaomi Redmi Note 4 [Snapdragon] ROMs, Kernels, Re] SnZ:
Hi,

does anybody have same problem that he is unable to flash roms internally/externally?

I always see same errors, whatever I do (images here: https://imgur.com/a/UTOtHvy)

Error code:

Warning: No file_contexts E3004: This package is for device: mido; this device is .

Recovery:

OrangeFox-R6-Beta-mido

Prop check:

➜ getprop | grep -E 'ro.product.device|ro.build.product'
[ro.build.product]: [mido]
[ro.product.device]: [mido]

Example line from some rom updater-script which should be related to that but I don't get it why it's failing:

assert(getprop("ro.product.device") == "mido" || getprop("ro.build.product") == "mido" || abort("E3004: This package is for device: mido; this device is " + getprop("ro.product.device") + "."););

CC: [MENTION=7056723]bad_request[/MENTION]
[Xiaomi Redmi Note 4 [Snapdragon] ROMs, Kernels, Re] okde:
Hi! :)

I have the same problem, i.e, I'm unable to flash any roms/zips internally :confused: :crying:

"Warning: No file_contextsscript aborted: E3004: This package is for device: mido; this device is .

E3004: This package is for device: mido; this device is .error: 3004 ." :confused:

......

[MultiBoot] Failed to run real update-binary

.........

[MultiBoot] Failed to flash zip file.

Recovery= twrp-3.2.1-0-mido.img

Everything was OK earlier when I used an older DualBootPatcher version, I think it was 9.2.x (something)

Please help!
[Xiaomi Redmi Note 4 [Snapdragon] ROMs, Kernels, Re] elhattak7:
same problem

i succeed to install epic rom miui 10 android as primary rom with lineage 14.1 android 7.1.

i think the problem is due to flash android 7 primary rom with oreo roms.

recovery twrp 3.2.2

dualboot patcher last release
[Xiaomi Redmi Note 4 [Snapdragon] ROMs, Kernels, Re] drmuruga:
Is dual Boot patcher support Oreo ROMs ?
[Xiaomi Redmi Note 4 [Snapdragon] ROMs, Kernels, Re] elhattak7:
i tkink thats wright . dual boot patcher do not support oreo roms.
[Xiaomi Redmi Note 4 [Snapdragon] ROMs, Kernels, Re] elhattak7:
is there a solution to use dual boot with oreo rom?
[Xiaomi Redmi Note 4 [Snapdragon] ROMs, Kernels, Re] elhattak7:
oreo roms and pie roms aren't supported yet by dual boot patcher ?
[Xiaomi Redmi Note 4 [Snapdragon] ROMs, Kernels, Re] mounirouazzi8:
dual boot patcher apk

the dual boot patcher apk doesent work in my sm-j120f when you tap on roms boton the the aplication wille stop :confused::confused::confused:

I need some hellp me:o:o:o:o:o:o:o:o:o:o:o:o:o:o:o:o:o:o:o:o:o:o:o:o:o:o:o:o
[Xiaomi Redmi Note 4 [Snapdragon] ROMs, Kernels, Re] cidxtc:
Try asking in the j120f forum i doubt many redmi note 4 users will be much help
[Xiaomi Redmi Note 4 [Snapdragon] ROMs, Kernels, Re] boilerman92:
Magisk can't mount saying resource bussy in second rom,and unable flash with app,

But supersu its fine, i hope next update full support for magisk
[Xiaomi Redmi Note 4 [Snapdragon] ROMs, Kernels, Re] mickaelmendes50:
Very Usefull :D
[Xiaomi Redmi Note 4 [Snapdragon] ROMs, Kernels, Re] elhattak7:
is there support for oreo or pie roms?
[Xiaomi Redmi Note 4 [Snapdragon] ROMs, Kernels, Re] GiaSen:
Nope
[Xiaomi Redmi Note 4 [Snapdragon] ROMs, Kernels, Re] cneeli78:
Can I use it for Redmi 4x ?
[Xiaomi Redmi Note 4 [Snapdragon] ROMs, Kernels, Re] elhattak7:
yes this is for redmi note 4 mido .
[Xiaomi Redmi Note 4 [Snapdragon] ROMs, Kernels, Re] GiaSen:
No only mido
[Xiaomi Redmi Note 4 [Snapdragon] ROMs, Kernels, Re] patil_amol:
Have we got the support to dual boot Oreo or pie ROMs?
[Xiaomi Redmi Note 4 [Snapdragon] ROMs, Kernels, Re] David_#27:
Unfortunately we haven't yet and as far as I can see the project seems to be a little bit abandoned... So don't expect anything for the time being.
[Xiaomi Redmi Note 4 [Snapdragon] ROMs, Kernels, Re] CaptainChrom:
does this work with treble roms too?
[Xiaomi Redmi Note 4 [Snapdragon] ROMs, Kernels, Re] himanshuhnaamdev:
No 8.0+ support
[Xiaomi Redmi Note 4 [Snapdragon] ROMs, Kernels, Re] ozzyboy:
How can we backup and restore roms 2nd or 3rd installed with this app?
[Xiaomi Redmi Note 4 [Snapdragon] ROMs, Kernels, Re] himanshuhnaamdev:
Try migrate app search for Google for more information
[Xiaomi Redmi Note 4 [Snapdragon] ROMs, Kernels, Re] josedlopez:
can i flash xiaomi.eu (Nougat) like second rom, using Android PIE like primary rom?
[Xiaomi Redmi Note 4 [Snapdragon] ROMs, Kernels, Re] :
Amazing tool, please add support for Oreo and Pie ROMs. Great job developer!!
[Xiaomi Redmi Note 4 [Snapdragon] ROMs, Kernels, Re] 5fusion:
Yep that would be great :fingers-crossed:
[Xiaomi Redmi Note 4 [Snapdragon] ROMs, Kernels, Re] Hamid88:
Is Still Alive

is Support Oreo ?
[Xiaomi Redmi Note 4 [Snapdragon] ROMs, Kernels, Re] knreddy:
Experience sharing of Redmi Note 4x mido

Dual Boot MIUI miui mido 8.2.10.0, Marhmallow 6.0 (at primary) and Lineage OS 15.0 Unofficila Oreo 8.0 (at Data) on Redmi Note 4 Indian version , Snapdragon 4GB , 64MB (=Redmi Note 4x Mido)

1) installed fastboot miui mido 8.2.4.10 through Mi flash 2017 while phone is at bootloader

(downloaded from http://bigota.d.miui.com/V8.2.4.0.M...DL_20170407.0000.00_6.0_global_08ba89f464.tgz)

(i was facing boot recovery problem even after farmatting data)

2) Flashed twrp-3.1.1-0-mido.img ( downloaded from https://qc1.androidfilehost.com/dl/...61840155545567358/FLASHER+TOOLKIT+MidoV2.rar? )... from here on phone at fastboot from pc

3) Booted above twrp recovery >wipe> format data > yes (it will erase all of your data including photos, music etc on internal storage. So make sure you moved them or made their backup)

Installed 8.2.10.0.zip

( http://bigota.d.miui.com/V8.2.10.0.MCFMIDL/miui_HMNote4XGlobal_V8.2.10.0.MCFMIDL_ee189ea231_6.0.zip )

4) Installed mazisk 16.7 bundle.zip

Installed lazyflasher-no-verity-opt-encrypt.zip

5) Rebootted to os

6) Installed Dual boot patch at phone (down loaded DualBootPatcherAndroid-9.3.0.r866.g9227f348-snapshot.apk from https://dbp.noobdev.io/files/9.3.0....cherAndroid-9.3.0.r866.g9227f348-snapshot.apk)

Opened Dual boot patch > +>Add flashable zip >ok> slect as Data slot and enter any ID (e.g LOS15) and patched los 15.0 (oreo 8.0) zip file

Opened Dual boot patch > ROMs>touhed floating button at right lower corner >add >add patched file > selected the above patched LOS15.0 zip

Rebooted to LOS

But the above is not easy with miui_HMNote4XGlobal_V8.2.4.0.MCFMIDL_b340f1c79f_6.0

or mido_global_images_V10.1.1.0.NCFMIFI_20181029.0000.00_7.0_global possibility under exploration

Note:

1) xiaomi.eu_8.11.15_by_olegpolisan1.zip from

https://doc-0o-6s-docs.googleuserco...0617599&hash=j9rhjht1sf1rjfaajbgvetgaf9ocq4t0

and xiaomi.eu_multi_HM4X_V8.2.16.0.MAMCNEA_v8-6.0 from MEGA

are not mido not useful for Redmi Note 4x Snapdragon (it is santoni for redmi note 4 MTK)
[Xiaomi Redmi Note 4 [Snapdragon] ROMs, Kernels, Re] cruiz24:
Why not use official MIUI ?

It's given in the instructions that OFFICIAL MIUI ROM SHOULDN'T BE MADE as PRIMARY.

Can you explain why?

What should I do if I want it to be primary and a RR to be dual booted with it?
[Xiaomi Redmi Note 4 [Snapdragon] ROMs, Kernels, Re] UsPdSr:
Very informative and helpful tutorial.

Kudos!

---------- Post added at 09:25 AM ---------- Previous post was at 09:12 AM ----------

PS

I've never seen these builds, but this is most likely not that surprising by all the roms which are out there. ^^

Is the addition 'MOD' just related to this procedure or has it any customization?

Do you perhaps know if there are any other Oreo roms available other then Lineage, suitable for a Dual boot?
[Xiaomi Redmi Note 4 [Snapdragon] ROMs, Kernels, Re] knreddy:
I have observed that all sensors and hardware are working this version of LOS and it has modified boot animation which can be restored with DBP patched flashable LOS 15 boot animation. Further LOS 15.0 unofficial is available but bluetooth , led of capacitive button of back , menu etc are not working. For android 8.1 and above need manual editing of boot image file, until DBP achieves the capability.

Regards
[Xiaomi Redmi Note 4 [Snapdragon] ROMs, Kernels, Re] ervinakoc x:
My question its can i have stable miui 10 as primary rom and android 9 roms as secondary rom installed in sd card ????thank you!
[Xiaomi Redmi Note 4 [Snapdragon] ROMs, Kernels, Re] David_#27:
Of course not... Please read the OP thread and identify which versions and in which order can you install...
[Xiaomi Redmi Note 4 [Snapdragon] ROMs, Kernels, Re] mcgragor:
After spending all day taking a beating ...

I managed to reach my goal ...

MIUI stock stable last version (HMNote4XGlobal_V10.2.3.0.NCFMIXM) as primary

SailfishOS as Secundary.

Use twrp-3.2.2-0-mido

1- First do a full wipe in all partitions

2- Format Data

3- Flash lazyflasher-no-verity-opt-encrypt

4- Flash HMNote4XGlobal_V10.2.3.0.NCFMIXM

5- Flash lazyflasher-no-verity-opt-encrypt

6- Reboot

7- In initial config, dont set any pin or fingerprint, only google account

8- Install latest magisk manager and build patched_boot.img

9- Reboot recovery and flash patched_boot.img and reboot

10- Install latest DualBoot Patcher (i use 9.3.0.r959), go to menu>>ROMs and give root permissions and update kernel.

11- Patch zip files for use data partition, but do not flash in app.

(for sailfish i used same files of original rom tread, cm-14.1-mido-firmware-20170430, lineage-14.1-20170921-nightly-mido-signed, sailfishos-mido-release-2.1.3.7-pgz27)

12- Reboot to recovery and install zip files in order and reboot, 1st Firmware, 2nd Build, 3rd SailfishOS

13- Config your Sailfish as you like

14- Reboot recovery and use DualBootUtilities to back to MIUI, set your pin and Fingerprint

This is it, MIUI and SailfishOS run like a grape!

Next goal = Putting Alien-Dalvik to work on Sailfish
[Xiaomi Redmi Note 4 [Snapdragon] ROMs, Kernels, Re] pragyan52yadav:
Error While Booting to other roms

I have Redmi note 4 (mido) with root via magisk

Current ROM is MIUI 10.2.3.0 Stable

Custom recovery is Red Wolf TWRP Recovery

I installed AOSP pie rom to data slot with miui as primary ROM

After reboot it booted into fastboot mode

Same happened with Pixel experience pie rom.

Please help me

Procedure I followed (primary ROM is MIUI)

1. Installed dualbootpatcher.apk

2. Set kernel for primary ROM from popup

3. Update ramdisk of primary ROM

4. Install bootui

5. Patched AOSP and pixel experience

6. Flashed AOSP zip via app and updated its ramdisk

7. Switched ROM

8. Reboot . Booted into fastboot

9. Went to recovery deleted ramdisk.img from AOSP folder from multiboot

10. Reboot to system

11. Switched ROM to primary from bootui TWRP

Wiped AOSP ROM from app

12. Flashed pixel patch zip from app

13. Reboot. Booted to fastboot

14. Went to recovery -> reboot to system

15. Switched ROM from bootui

Wiped pixel ROM app

Please help me

One more thing if it helps

Earlier I flashed pixel experience ROM but faced battery issues so switched to RR ROM. Didn't liked RR ROM so switched to AOSP (rooted it via magisk). Then I found out that I couldn't install mi app Store so switched back to miui ROM

Somehow miui China ROM was flashed and I couldn't change region. So followed region fix from here

https://rsmtipstricks.blogspot.com/2017/08/how-to-fix-region-issue.html

After switching back to primary ROM from bootui

That region fix files were deleted from cust folder.

Please help me.

---------- Post added at 05:08 PM ---------- Previous post was at 05:04 PM ----------

Can I follow same steps but instead of sailfish os use AOSP extended pie rom?

I have MIUI 10.2.3.0 stable rom

---------- Post added at 05:12 PM ---------- Previous post was at 05:08 PM ----------

Error 1 shown because your data is not mounted and encrypted

To do so you have to wipe data (internal storage) from TWRP

After reboot data will be mounted.

Now flash zip you will be able to flash successfully.
[Xiaomi Redmi Note 4 [Snapdragon] ROMs, Kernels, Re] cidxtc:
There are limitations to the mido dualbootpatcher your primary rom can only be certain android versions and/or miui and same for secondary. I have not used this for some time now so cant give specifics (but they are in this thread). I am pretty sure newer android versions have to be primary. Also think that treble roms wont work. If you flashed a treble rom then /cust will be deleted because that is used as /vendor for treble roms to work. To restore /cust then you either need to have a backup of use a fastboot rom and fastboot to restore /cust.
[Xiaomi Redmi Note 4 [Snapdragon] ROMs, Kernels, Re] akshay3262:
Dual boot patcher only works with non treble ROMs keep in that in mind
[Xiaomi Redmi Note 4 [Snapdragon] ROMs, Kernels, Re] pragyan52yadav:
How to root dual boot rom?

Rom is installed in data slot.

Please help
[Xiaomi Redmi Note 4 [Snapdragon] ROMs, Kernels, Re] bad_request:
have you tried formating from twrp?
[Xiaomi Redmi Note 4 [Snapdragon] ROMs, Kernels, Re] zenjedi:
Could be a little more explicit? Are you suggesting that I should try formatting data? or formatting the partition that I am flashing to? either ways, how will it help?
[Xiaomi Redmi Note 4 [Snapdragon] ROMs, Kernels, Re] bad_request:
I'm not expert at it but i think its not the problem with dualbootpatcher....

If you are doing whole procedure correctly, then the problem is your device, something related to data partition or may be its somthing different , so if you try to clean start everything, then I think it should help in some way.

Boot to twrp wipe>formate data> type 'yes' and tap enter.

This will reset everything.

I'm using Multirom as primay and everything is working fine...

So after formating you can also flash Multirom and then at first boot try dualbootpatcher.
[Xiaomi Redmi Note 4 [Snapdragon] ROMs, Kernels, Re] Kronos_4:
It works ! My phone was encrypted , and then I format data by twrp and it works now. My primary ROM is resurrection remix 5.8.3 and secondary ROM is aosp extended . It works , but if I switch back to primary ROM , the pattern doesn't work and I have to delete the files in system to remove the pattern , any solutions for this ? I want to have pattern in primary ROM and its not working if I switch . Any help is appreciated .
[Xiaomi Redmi Note 4 [Snapdragon] ROMs, Kernels, Re] bad_request:
try one more time pattern on primary rom after flashing and booting into secondary rom...
[Xiaomi Redmi Note 4 [Snapdragon] ROMs, Kernels, Re] zenjedi:
Well sir, you are damn right. The data partition was encrypted and after formatting it, dual boot is now set up beautifully between xiaomi eu latest and multirom cn stable. Thank you

One suggestion, do mention this point in OP, if its not covered already. Also, is app sharing working? I have tried to share WhatsApp but it is force closing now?
[Xiaomi Redmi Note 4 [Snapdragon] ROMs, Kernels, Re] bad_request:
Glad to know bro:o...

I also tried app sharing and the result were same as yours:crying:.
[Xiaomi Redmi Note 4 [Snapdragon] ROMs, Kernels, Re] PrayerInc:
have you set password and fingerprint in all the roms???if l set, when i change a rom ,it will told me that the passord was wrong.

do you have this problem??
[Xiaomi Redmi Note 4 [Snapdragon] ROMs, Kernels, Re] dragneelfps:
Its a bug. You shouldnt put any lock on primary ROM. Search rn3 forum for more info.
[Xiaomi Redmi Note 4 [Snapdragon] ROMs, Kernels, Re] PrayerInc:
what is "rn3 forum", the only problem is the primary rom?

so if i dont set password in the primary rom ,the other roms will be no problem
[Xiaomi Redmi Note 4 [Snapdragon] ROMs, Kernels, Re] dragneelfps:
Yes. Rn3 is redmi note 3 ... Go to its forum and search there.
[Xiaomi Redmi Note 4 [Snapdragon] ROMs, Kernels, Re] mike13ftw:
Well I guess my storage was encrypted after all. Formatted data and now everything works fine
[Xiaomi Redmi Note 4 [Snapdragon] ROMs, Kernels, Re] addy692:
Yes

Its the same problem in all xiaomi phone

For using this patcher

U have to goto twrp and format data to decrypt internal only then

Dualboot rom will work
[Xiaomi Redmi Note 4 [Snapdragon] ROMs, Kernels, Re] Joad:
must i be on miui rom for patching ? cause i get error code 211 on RR when patching multirom miui . tested other versions of app all give me same error also i choose data . what u think ?
[Xiaomi Redmi Note 4 [Snapdragon] ROMs, Kernels, Re] addy692:
Try another slot

It doesn't matter on which rom you are
[Xiaomi Redmi Note 4 [Snapdragon] ROMs, Kernels, Re] Joad:
no chance on patching it . tried all slot , some other version , some other roms . all time give error code 211 .
[Xiaomi Redmi Note 4 [Snapdragon] ROMs, Kernels, Re] addy692:
Attach ur logs
[Xiaomi Redmi Note 4 [Snapdragon] ROMs, Kernels, Re] Joad:
tnx for help got it worked . seems the problem was with files i remote to my storage , archive get corrupt so DualBootPatcher couldnt unzip archive
[Xiaomi Redmi Note 4 [Snapdragon] ROMs, Kernels, Re] thp@1997:
Wow. Working totally fine with Miui global beta as primary....

Let's see if App Sharing gets fixed in future. It'll be really awesome then. :)
[Xiaomi Redmi Note 4 [Snapdragon] ROMs, Kernels, Re] Borisfen:
Guys, anyone have answer why on stable global miui rom Duaboot Patcher not work?
[Xiaomi Redmi Note 4 [Snapdragon] ROMs, Kernels, Re] zenjedi:
So I have run into some trouble with dual boot patcher and it is not specific to the app. I installed multirom china stable 8.2.20 on data partition along with super su, xposed, magisk and arise sound mod. Everything installs perfectly fine but on booting up, the rom gets stuck on mi logo. I have redone the process without either of the above and the rom boots except when arise is flashed. Anybody with the experience of working rom with arise?

It works fine with primary rom.
[Xiaomi Redmi Note 4 [Snapdragon] ROMs, Kernels, Re] addy692:
Dualbpot patcher will work on every rom

Its not dependent upon rom
[Xiaomi Redmi Note 4 [Snapdragon] ROMs, Kernels, Re] Borisfen:
Depends. On all other ROM's, like Multirom, Xiaomi.eu (localized ROM's, based on MiUi DEV), LineageOS, RessurectionRemix DualBoot Patcher works very fine. On Global Stable MIUI, such as 8.2.4.0, 8.2.5.0 and etc., after installing ROM in data slot and try to boot into it, phone on Mi logo vibrating 3-5 times and go to recovery.
[Xiaomi Redmi Note 4 [Snapdragon] ROMs, Kernels, Re] addy692:
Its because

I think u r installing rom through fastboot so it encrypts the internal storage

And other roms doesn't
[Xiaomi Redmi Note 4 [Snapdragon] ROMs, Kernels, Re] Borisfen:
I'm installed ROM through DualBoot Patcher and through TWRP. All not work.
[Xiaomi Redmi Note 4 [Snapdragon] ROMs, Kernels, Re] addy692:
Just follow this simple

Install stable rom

Goto twrp and format internal storage format not wipe

And then use dualboot patcher it will worked

I am using stable rom and dualboot patcher no issues
[Xiaomi Redmi Note 4 [Snapdragon] ROMs, Kernels, Re] iamtushr:
Bro guide me I am a noob
[Xiaomi Redmi Note 4 [Snapdragon] ROMs, Kernels, Re] addy692:
Hehe that's the prob faced in all xiaomi phones
[Xiaomi Redmi Note 4 [Snapdragon] ROMs, Kernels, Re] addy692:
There´s an easy solution:

Just go to twrp -> filemanager and delete the following files in user/system:

gatekeeper.password.key

gakekeeper.pattern.key

locksettings.db

locksettings.db-shm

locksettings.db-wal

That´s it!
[Xiaomi Redmi Note 4 [Snapdragon] ROMs, Kernels, Re] lineoxkun:
um.. if i want to install a secondary rom to sdcard, what should i do?

ps. i'm encrypted, i'd like to decrypt it by wiping data, what will i loss?
[Xiaomi Redmi Note 4 [Snapdragon] ROMs, Kernels, Re] addy692:
Whole internal storage
[Xiaomi Redmi Note 4 [Snapdragon] ROMs, Kernels, Re] lineoxkun:
well, i still can flash a rom via sdcard then. right?
[Xiaomi Redmi Note 4 [Snapdragon] ROMs, Kernels, Re] addy692:
Yes always

Just make backup first and then format and then restore ur backup

And then use dualboot
[Xiaomi Redmi Note 4 [Snapdragon] ROMs, Kernels, Re] lineoxkun:
backup all the partitions from TWRP, right?
[Xiaomi Redmi Note 4 [Snapdragon] ROMs, Kernels, Re] iamtushr:
I lost everything in internal storage

---------- Post added at 02:19 PM ---------- Previous post was at 02:16 PM ----------

Best thing I have tried in a smartphone...helped in comparing different ROMs side by side, using 4 ROMs now on Redmi note 4
[Xiaomi Redmi Note 4 [Snapdragon] ROMs, Kernels, Re] PrayerInc:
i have no idea too and it havent been solved also