yashsingh1/xdaforums huggingface dataset:
[Xiaomi Mi 5 ROMs, Kernels, Recoveries, & Other Dev] reb00tz:
Fair enough, I missed that somehow. Any ideas (on work-arounds)? Otherwise, the ability to do nandroid backup is useless since there is nowhere to write to on encrypted /data partitions (as I know that the password is salted by Xiaomi).

Actually, I am wondering if, setting the same password on a wiped handset, we can simply restore a bit-complete backup of the encrypted /data and it still works (i.e. does the salted password contain a date-time stamp)?
[Xiaomi Mi 5 ROMs, Kernels, Recoveries, & Other Dev] bgcngm:
Unfortunately, I don't have a USB type C disk to test OTG. I can build a test TWRP if you are willing to try with a potential fix.
[Xiaomi Mi 5 ROMs, Kernels, Recoveries, & Other Dev] azazello22:
I can try if you wish.

Sent from my Mi5
[Xiaomi Mi 5 ROMs, Kernels, Recoveries, & Other Dev] veimus:
yes, I will be happy to test this as well :]
[Xiaomi Mi 5 ROMs, Kernels, Recoveries, & Other Dev] bgcngm:
Okay, OTG is fixed. Next TWRP release for gemini will include the fix.

EDIT: Updated build (3.0.2-1) is out: https://dl.twrp.me/gemini/.
[Xiaomi Mi 5 ROMs, Kernels, Recoveries, & Other Dev] detomato:
Flashed TWRP (3.0.2-1) but unable to get into it, stuck at the TWRP flash screen. Any idea?
[Xiaomi Mi 5 ROMs, Kernels, Recoveries, & Other Dev] bgcngm:
Was the previous release working? Make sure you have the latest bootloader.
[Xiaomi Mi 5 ROMs, Kernels, Recoveries, & Other Dev] shashank957:
i think the OTG is not working, shove my flash drive and click on OTG, nothing happens, the radio button doesn't get checked.
[Xiaomi Mi 5 ROMs, Kernels, Recoveries, & Other Dev] detomato:
I am not sure, as this is my first time flashing it, only got my MI5 few days ago.

Sorry, what mean by 'latest bootloader'? How do I do it? Using MIUI 7.5.7.0 Stable.
[Xiaomi Mi 5 ROMs, Kernels, Recoveries, & Other Dev] bgcngm:
I have a confirmation it is working fine. I couldn't test myself as I don't have a OTG type C drive.

Then please try the previous release. By latest bootloader I mean those being shipped on MIUI 8 ROMs.
[Xiaomi Mi 5 ROMs, Kernels, Recoveries, & Other Dev] detomato:
Yeah.. tried with the previous version, no problem. Perhaps it was MIUI 8 that causing the problem?
[Xiaomi Mi 5 ROMs, Kernels, Recoveries, & Other Dev] veimus:
for me 3.0.2-1 works fine, try to re-download and re-flash.

---------- Post added at 08:14 PM ---------- Previous post was at 08:11 PM ----------

i had this same on old TWRP (3.0.2-0) release with NO OTG support are you sure you are on 3.0.2-1 ?

https://www.youtube.com/watch?v=_eH26incgd4
[Xiaomi Mi 5 ROMs, Kernels, Recoveries, & Other Dev] pakistanish:
I cannot update my MIUI 8 ROM after flashing recovery ... I received a notification that the update is available and after downloading, the phone rebooted into TWRP and nothing happened. I restarted from the recovery and it said update failed, please download the full ROM.
[Xiaomi Mi 5 ROMs, Kernels, Recoveries, & Other Dev] Gruchi:
I have freeze on 3.0.2-1 in TWRP i don't know why
[Xiaomi Mi 5 ROMs, Kernels, Recoveries, & Other Dev] PanNet:
Me too. It does not matter 7 or 8. My Mi5 is brand new and I can not install any zip file (bootloader is unlocked). TWRP3 is freezes and older ones need password. When you press cancel storage or usb count 0MB. The only way I can install something is by fastboot. Frankly I am very disappointed this mobile. There is no access to factory recovery either. All zip install after verification only.

Regards
[Xiaomi Mi 5 ROMs, Kernels, Recoveries, & Other Dev] SavageDamage:
If it shows 0MB then that means your device is encrypted. I had the same and had to flash the partitions to make them show up.
[Xiaomi Mi 5 ROMs, Kernels, Recoveries, & Other Dev] prince10t:
Hi [MENTION=455439]bgcngm[/MENTION], would you happen to know if this is the same TWRP that is used by EU Rom MIUI community? if it is, will this work for your CM13 rom?

Thanks in advance. Would gladly appreciate any help that answers my question.
[Xiaomi Mi 5 ROMs, Kernels, Recoveries, & Other Dev] smeroni68:
It is a kernel issue... we are investigating to fix latest sources.

Xiaomi Mi5 Pro on AOSP 6.0.1 (JDC)
[Xiaomi Mi 5 ROMs, Kernels, Recoveries, & Other Dev] kylemd:
Ah OK, misunderstood your post. Good to hear :good:

---------- Post added at 08:41 PM ---------- Previous post was at 08:09 PM ----------

Hey [MENTION=455439]bgcngm[/MENTION],

Having an issue installing SuperSU and thought I'd check whether or not it's recovery related or not. File attachments aren't working so here's the recovery log.

Log tells all but SuperSU can't seem to mount anything as anything other than read-only. CM13 etc installs work fine.

Note that this was while Falcon kernel was installed, but the exact same behaviour was exhibited with a clean-wiped install of the latest CM13 nightly.
[Xiaomi Mi 5 ROMs, Kernels, Recoveries, & Other Dev] chandgokul1:
I tried to replace twrp by cyanogenmod recovery.... but my all recovery gone.... stuck in mi logo
[Xiaomi Mi 5 ROMs, Kernels, Recoveries, & Other Dev] andy356:
Did you try flashing TWRP through fastboot?
[Xiaomi Mi 5 ROMs, Kernels, Recoveries, & Other Dev] Schnedi:
I think it's the same.

I'm using that one and it works perfectly with CM13.
[Xiaomi Mi 5 ROMs, Kernels, Recoveries, & Other Dev] chandgokul1:
i tried cm recovery from twrp image flashing
[Xiaomi Mi 5 ROMs, Kernels, Recoveries, & Other Dev] prince10t:
THANKS man. So is it the ver 3.0.2.0? nice to hear it is working.

was playing just a few hours ago from EU rom to global rom, and it went stuck on MI logo for an hour...lol.. and now Im back to latest stable EU rom.
[Xiaomi Mi 5 ROMs, Kernels, Recoveries, & Other Dev] Schnedi:
Yes, i tried v3.0.2.1 but it doesn't work, don't know why tho.

with v3.0.2.0 i haven't had any issue.
[Xiaomi Mi 5 ROMs, Kernels, Recoveries, & Other Dev] bgcngm:
No issues here, running universal TWRP test release.
[Xiaomi Mi 5 ROMs, Kernels, Recoveries, & Other Dev] kylemd:
Now that's intriguing. The hell am I doing wrong then :laugh: you running F2FS as well?

EDIT - Not sure if the log made it clear but I'm using the universal release in post 2.
[Xiaomi Mi 5 ROMs, Kernels, Recoveries, & Other Dev] kylemd:
OK, so did a bit more mucking around trying to figure out what was wrong.

Here are two logs; installing SuperSU when all partitions are formatted as EXT4, and installing SuperSU when all possible partitions are formatted as F2FS.

Installation succeeds on EXT4 but fails on F2FS :eek:
[Xiaomi Mi 5 ROMs, Kernels, Recoveries, & Other Dev] bgcngm:
That's not good. I will take a look when I find some time.
[Xiaomi Mi 5 ROMs, Kernels, Recoveries, & Other Dev] azazello22:
Why the hell should you use cm recovery?

sent from my MI5
[Xiaomi Mi 5 ROMs, Kernels, Recoveries, & Other Dev] marcoly:
Maybe he wanted to test it because he didn't hear about it anymore :confused: I guess CM Recovery needs to be flashed via fastboot, not TWRP's .img install :)
[Xiaomi Mi 5 ROMs, Kernels, Recoveries, & Other Dev] nicpas:
For me the touchscreen on MIUI Global Dev. 6.10.20 does not work, and that with every twrp version i tryed.

Is ther any solution?
[Xiaomi Mi 5 ROMs, Kernels, Recoveries, & Other Dev] bgcngm:
None of the test releases work for you? Which panel do you have?
[Xiaomi Mi 5 ROMs, Kernels, Recoveries, & Other Dev] nicpas:
Hi,

do you mean the test relaeses from post #2?

Where could i see wich panel i had?

Thanksfor your help!
[Xiaomi Mi 5 ROMs, Kernels, Recoveries, & Other Dev] andy356:
[MENTION=455439]bgcngm[/MENTION] Hopeful ping. Is the vibration removable?
[Xiaomi Mi 5 ROMs, Kernels, Recoveries, & Other Dev] marcoly:
adb shell
cat /proc/cmdline

It should be visible in the last line, JDI or LGD or Sharp
[Xiaomi Mi 5 ROMs, Kernels, Recoveries, & Other Dev] Gjole86:
I have Mi5 Pro, confirming that the LGD test2 recovery works with touch.

Just now flashed xiaomi.eu version of 8.1.1.0 MIUI 8.1.

Got sick of using their version of twrp without touch screen ... had the use the twrp over adb shell ... fun times.

Cheers!
[Xiaomi Mi 5 ROMs, Kernels, Recoveries, & Other Dev] prince10t:
this is worth noting. But you sure xiaomi.eu sites TWRP is different from [MENTION=455439]bgcngm[/MENTION] TWRP? its just that I followed their link and it takes me to OP's same download site/link.

Or could be, this is also their DL link for TWRP and this maybe what you are referring to which is different to what I posted above.

well, willing to be enlightened, please do correct me if I am wrong because I'll be flashing OP's CM13 and I do not want to have my Mi5 bricked because of incorrect TWRP version. THANKS.
[Xiaomi Mi 5 ROMs, Kernels, Recoveries, & Other Dev] Gjole86:
The difference is only by touch screen panel, one uses JDI the other LGD.

go with the one supplied from them, if touch screen not working properly, find the panel manufacturer and switch to the twrp accordingly

wish you all the best.
[Xiaomi Mi 5 ROMs, Kernels, Recoveries, & Other Dev] SpinoRex:
Sorry, I was talking gibberish. Please delete :)
[Xiaomi Mi 5 ROMs, Kernels, Recoveries, & Other Dev] zpmarcos:
My phone doesnt boot with twrp-3.0.2-1-gemini.img . Why?

I have a Mi5 32GB and twrp-3.0.2-0-gemini.img seems to work fine!

Why cant I update to the latest?
[Xiaomi Mi 5 ROMs, Kernels, Recoveries, & Other Dev] bgcngm:
Temporarily use one of the test versions from second post or wait a few days. Now that I have managed to rebase the kernel to enabled compatibility with newer firmware, I can finally release a new official TWRP with all bugs fixed.
[Xiaomi Mi 5 ROMs, Kernels, Recoveries, & Other Dev] smeroni68:
Perfect! Thanks a lot.

Xiaomi Mi5 Pro on AOSP 6.0.1 (JDC)
[Xiaomi Mi 5 ROMs, Kernels, Recoveries, & Other Dev] sas_sas:
Hi folks,

Is that the correct TWRP which may be flashed of stock and custom roms both?

Can support OTA update too?

I heard that Cofface TWRP has such feature which can flash of both type roms. But I did not find correct Cofface TWRP.
[Xiaomi Mi 5 ROMs, Kernels, Recoveries, & Other Dev] marcoly:
Do you mean TWRP with MIUI? If yes, then of course it's possible - that's how Xiaomi.eu ROMs works.
[Xiaomi Mi 5 ROMs, Kernels, Recoveries, & Other Dev] bgcngm:
For those with LGD and Sharp panels, can you please check if this test release works for you as well? Confirm if touch works right after init.
[Xiaomi Mi 5 ROMs, Kernels, Recoveries, & Other Dev] vcx77:
eliminado por mandato del autor del post
[Xiaomi Mi 5 ROMs, Kernels, Recoveries, & Other Dev] sas_sas:
My Mi5/64gb w/ miui 8 worked with "-test3". It means that my screen is JDİ and its version is 3.0.2-0.

I intended and tried to find and to install cofface TWRP. I hope this is CoffaceTWRP which can work for flashing the both stock and custom roms and as well as OTA from stock...
[Xiaomi Mi 5 ROMs, Kernels, Recoveries, & Other Dev] bgcngm:
Do you mind testing the version I just released two posts back?
[Xiaomi Mi 5 ROMs, Kernels, Recoveries, & Other Dev] sas_sas:
I tested the both test-2 and test-3. Test-2 did not worked meaning no touch screen..

I did not test "universal..." it was after I termnated my trouble...
[Xiaomi Mi 5 ROMs, Kernels, Recoveries, & Other Dev] smeroni68:
Dev asked if you can test the universal test version he posted (asked you because you have one of the devices that this version must have fixed touch problems)... there is a reason for that request... i flashed it and with my JDI display no problem... need testing with LGD and Sharp ones.
[Xiaomi Mi 5 ROMs, Kernels, Recoveries, & Other Dev] Ramabi77:
Universal works fine with LGD
[Xiaomi Mi 5 ROMs, Kernels, Recoveries, & Other Dev] francyesco:
Working on Sharp on official MIUI 8.0.5.0 :good:

Just no vibration during start, and a little slower when booting (recovery)
[Xiaomi Mi 5 ROMs, Kernels, Recoveries, & Other Dev] Ramshu97:
Mine also working fine with "MIUI 8 Global Beta ROM 6.10.13 "

Thanks
[Xiaomi Mi 5 ROMs, Kernels, Recoveries, & Other Dev] graw2:
I noticed it is named as universal, so it is already compatible with JDI, LGD, SHARD panel Mi5 devices? Can I test it on JDI Mi5 device + Latest MIUI8 dev release?
[Xiaomi Mi 5 ROMs, Kernels, Recoveries, & Other Dev] smeroni68:
The answer you are searching for is in the last 5 post over here!!
[Xiaomi Mi 5 ROMs, Kernels, Recoveries, & Other Dev] bgcngm:
So, it's finally here: TWRP 3.0.2-2 for Mi 5 is out, compatible with all panels and every firmware. Head over to the download site to get it: https://dl.twrp.me/gemini/.

I will now delete all the temporary test versions. Thanks to all testers and no thanks to Xiaomi. :cowboy:
[Xiaomi Mi 5 ROMs, Kernels, Recoveries, & Other Dev] sydeu:
Downloaded and erverything working fine, thanks! :)
[Xiaomi Mi 5 ROMs, Kernels, Recoveries, & Other Dev] andy356:
Installed the latest one. Thanks for removing the vibration! And the way it fades into view is surprisingly thoughtful and easier on the eyes.
[Xiaomi Mi 5 ROMs, Kernels, Recoveries, & Other Dev] fuxmen:
Man thaks a lot, a little donation is comming 1EK54302P7405634D :) now just wait for cm 14.1 and our device is the best in whole world in power/speed/price
[Xiaomi Mi 5 ROMs, Kernels, Recoveries, & Other Dev] francyesco:
just a little note:

No changelog in 1st post about CHANGELOG for 3.0.2-1 and CHANGELOG for 3.0.2-2
[Xiaomi Mi 5 ROMs, Kernels, Recoveries, & Other Dev] bgcngm:
Okay then... Post #2 has been updated to reflect maintenance releases changelog.
[Xiaomi Mi 5 ROMs, Kernels, Recoveries, & Other Dev] SN22:
EFS backup dont work properly. restore problems.

lost IMEI and Baseband on my mi5 64gb. after trying to convert to F2FS failed and backup isnt working.

only EFS seems to be the problem everything else is working (F2FS also dont work for me)

cm13 8.11.16

twrp 3.0.0.2-2
[Xiaomi Mi 5 ROMs, Kernels, Recoveries, & Other Dev] Schnedi:
Latest version working perfectly here.

If anyone is interested, these themes http://xdaforums.com/showthread.php?t=2915584 are working.
[Xiaomi Mi 5 ROMs, Kernels, Recoveries, & Other Dev] dkmsn8:
Yeah happened with me too
[Xiaomi Mi 5 ROMs, Kernels, Recoveries, & Other Dev] SN22:
[MENTION=5923355]dkmsn8[/MENTION] did you manage to restore imei?
[Xiaomi Mi 5 ROMs, Kernels, Recoveries, & Other Dev] dkmsn8:
I had backup from other build of twrp (unofficial) as well so that save my device from no signal baseband problem
[Xiaomi Mi 5 ROMs, Kernels, Recoveries, & Other Dev] neodante:
How install it ? Is easy ?
[Xiaomi Mi 5 ROMs, Kernels, Recoveries, & Other Dev] dkmsn8:
Using cmd command while device is booted into fastboot mode with adb driver installed on pc
[Xiaomi Mi 5 ROMs, Kernels, Recoveries, & Other Dev] Schnedi:
Yes, just download the theme you want (i use "light_play-signed") from here https://www.androidfilehost.com/?w=files&flid=106710

and flash it with TWRP.
[Xiaomi Mi 5 ROMs, Kernels, Recoveries, & Other Dev] Bimalhort:
I have installed the latest version.

I cannot copy the backup files to my PC, it shows error.

Please help
[Xiaomi Mi 5 ROMs, Kernels, Recoveries, & Other Dev] dpdp73:
What error? (Screenshoot?)
[Xiaomi Mi 5 ROMs, Kernels, Recoveries, & Other Dev] dkmsn8:
Same happened to me as well
[Xiaomi Mi 5 ROMs, Kernels, Recoveries, & Other Dev] chan200606:
The unable to read problem affects only the boot and efs backup files; there's no problem copying the system and data backup files.

Interesting when I revert to 3.0.2.0, the boot backup files can be copied (there's no efs obviously). Maybe a difference in file permissions set for these files between the versions?
[Xiaomi Mi 5 ROMs, Kernels, Recoveries, & Other Dev] bgcngm:
That's really strange. I will check it later.
[Xiaomi Mi 5 ROMs, Kernels, Recoveries, & Other Dev] :
I installed the latest version 2-2 week a go, today I backed up to try knew ROM then when I was done with it and tried to restore my back up it ruined my phone, now I lost my IMEI. Tried to flash the official MIUI via flash-tool but still! tried to just install the newest CM nightly but still no IMEI and more strangely the phone freezes every 5 seconds! I saw a guy on the MIUI forum having the same problem from the version 2-2: http://en.miui.com/thread-407773-1-1.html
[Xiaomi Mi 5 ROMs, Kernels, Recoveries, & Other Dev] Vihru:
Latest official version of twrp.

When opening twrp, look left top in screenshot.

Somekind of bug or something.

Doesnt matter me but just info for you.
[Xiaomi Mi 5 ROMs, Kernels, Recoveries, & Other Dev] runtime@xda:
The temperature gets normal values in a couple of seconds, but battery charge has a value 50% much longer time.
[Xiaomi Mi 5 ROMs, Kernels, Recoveries, & Other Dev] SN22:
Same problem few posts ago.

The problem is when you press backup on EFS it makes only one file instead of the 2 needed(efs1,efs2).

That the difference between your version of twrp that's not working

And an unofficial version that did work.

Hope i helped.
[Xiaomi Mi 5 ROMs, Kernels, Recoveries, & Other Dev] bgcngm:
Indeed, that's something I noticed from the moment I started using the source-built kernel, but honestly I didn't look further for any solution. It's just a minor bug and I really have more important things to work on.
[Xiaomi Mi 5 ROMs, Kernels, Recoveries, & Other Dev] sas_sas:
I wonder if TWRP backups EFS?
[Xiaomi Mi 5 ROMs, Kernels, Recoveries, & Other Dev] runtime@xda:
[MENTION=455439]bgcngm[/MENTION] yes it surely is a minor bug and i don't realy care about it, i wrote about it just in case you didn't know
[Xiaomi Mi 5 ROMs, Kernels, Recoveries, & Other Dev] dkmsn8:
Did you restore efs partitions as well?

---------- Post added at 01:39 PM ---------- Previous post was at 01:38 PM ----------

It does but people are having some problems

---------- Post added at 01:41 PM ---------- Previous post was at 01:39 PM ----------

I told bruno about that [MENTION=455439]bgcngm[/MENTION] but he said that twrp back up efs the way it mean to be ..

---------- Post added at 01:47 PM ---------- Previous post was at 01:41 PM ----------

Yes i am able to copy data file to internal sd card but can't copy efs file as you said (latest twrp)
[Xiaomi Mi 5 ROMs, Kernels, Recoveries, & Other Dev] frenzyboi:
Can anyone ELI5 to me about the backup/restore part about efs? Will it affect me if I were to use this to backup my current ROM and restore this backup some other time?

Also, why will the IMEI be gone when restoring?

Is this version safe, or should I stick to Cofface's?

Thanks!
[Xiaomi Mi 5 ROMs, Kernels, Recoveries, & Other Dev] dkmsn8:
Don't restore (efs Only) now, as of now efs restoring can damage efs partitions, and baseband will be gone even imei will be too so don't use efs back up and restore now , it will be fixed soon..

---------- Post added at 10:39 AM ---------- Previous post was at 10:38 AM ----------

Otherwise ite safe for all other functions as far as i know
[Xiaomi Mi 5 ROMs, Kernels, Recoveries, & Other Dev] serrj:
Fix for ones with EFS problems (turns out there is a bug in TWRP):

http://xdaforums.com/oneplus-3/how-to/fix-empty-imei-unknown-baseband-sim-t3480781

I just fixed my phone after unsuccessful EFS restore!:victory:
[Xiaomi Mi 5 ROMs, Kernels, Recoveries, & Other Dev] bgcngm:
New maintenance release is up. It basically fixes EFS backup/restore.
[Xiaomi Mi 5 ROMs, Kernels, Recoveries, & Other Dev] SN22:
thank you !

F2FS supported? (lost my imei after fail to convert from ex4)
[Xiaomi Mi 5 ROMs, Kernels, Recoveries, & Other Dev] bgcngm:
F2FS was already supported. And IMEI is not stored in userdata partition.
[Xiaomi Mi 5 ROMs, Kernels, Recoveries, & Other Dev] SN22:
My backup (made with twrp) was corrupted that's why i lost imei...

Tnx again
[Xiaomi Mi 5 ROMs, Kernels, Recoveries, & Other Dev] dkmsn8:
Yeah i know the feeling , same was happened to me so forget that , now that twrp is fully working with efs backup .. Enjoy flashing rom.. Thanks
[Xiaomi Mi 5 ROMs, Kernels, Recoveries, & Other Dev] neodante:
Where is the link for 3.0.3 ¿?
[Xiaomi Mi 5 ROMs, Kernels, Recoveries, & Other Dev] smeroni68:
You are in the future... do not exist!

Xiaomi Mi5 Pro on AOSP 7.1.0 (JDC)
[Xiaomi Mi 5 ROMs, Kernels, Recoveries, & Other Dev] TeHashX:
If you mean v3.0.2.3 is here https://dl.twrp.me/gemini/
[Xiaomi Mi 5 ROMs, Kernels, Recoveries, & Other Dev] graw2:
[MENTION=455439]bgcngm[/MENTION] do you have Android 7.0 compatible TWRP version for official alpha MIUI8 release based on Android 7.0 ?
[Xiaomi Mi 5 ROMs, Kernels, Recoveries, & Other Dev] bgcngm:
No, if I had I would have shared it. But the latest build is compatible anyway.
[Xiaomi Mi 5 ROMs, Kernels, Recoveries, & Other Dev] graw2:
Cool thanks a lot!
[Xiaomi Mi 5 ROMs, Kernels, Recoveries, & Other Dev] neodante:
Yes, I referred to that.

Guys, with the last version of recovery can't restore the twrp backup ! When I restore keep on bootloop on miui logo... ?
[Xiaomi Mi 5 ROMs, Kernels, Recoveries, & Other Dev] bgcngm:
Are you sure that your backup is good? Maybe some file become corrupt or maybe you're trying to restore a ROM that is not compatible with the currently installed firmware.
[Xiaomi Mi 5 ROMs, Kernels, Recoveries, & Other Dev] neodante:
Don't know... Now I'm confused but on previous recovery I made more backups and restored without problems.

¿ When I make a mi5 nandroid backup what partitions must to select ? Data,system and boot ? Or maybe "firmware" too ¿
[Xiaomi Mi 5 ROMs, Kernels, Recoveries, & Other Dev] francyesco:
Depends and what you need... You should be okay also selecting all partitions
[Xiaomi Mi 5 ROMs, Kernels, Recoveries, & Other Dev] dkmsn8:
Generally data+boot+recovery+system
[Xiaomi Mi 5 ROMs, Kernels, Recoveries, & Other Dev] neodante:
I usually selected these :

Should to be mount system, no ? To me it automatically deselects after check on.
[Xiaomi Mi 5 ROMs, Kernels, Recoveries, & Other Dev] andy356:
What's system image? How is it different from system?
[Xiaomi Mi 5 ROMs, Kernels, Recoveries, & Other Dev] bgcngm:
It creates a system.img, instead of a .tar backup.
[Xiaomi Mi 5 ROMs, Kernels, Recoveries, & Other Dev] andy356:
Thanks. So it can be used to flash a modified image on one's own or someone else's phone? What exactly is its purpose?
[Xiaomi Mi 5 ROMs, Kernels, Recoveries, & Other Dev] bgcngm:
Just as an example, you can then use it to flash system via fastboot.
[Xiaomi Mi 5 ROMs, Kernels, Recoveries, & Other Dev] FcukBloat:
nice... system images can also be flashed via "install img" feature of twrp? or that is only for boot/recovery partitions? thanks!
[Xiaomi Mi 5 ROMs, Kernels, Recoveries, & Other Dev] bgcngm:
That's only for boot and recovery. If you have a system backup in the .img format and you want to "flash it" you should use restore functionality.
[Xiaomi Mi 5 ROMs, Kernels, Recoveries, & Other Dev] graw2:
In TWRP 3.0.2-3 there are two options for system backup, system and system image. What is the difference and what is recommended to choose on latest MIUI8 system?
[Xiaomi Mi 5 ROMs, Kernels, Recoveries, & Other Dev] bgcngm:
Please read the last few posts.
[Xiaomi Mi 5 ROMs, Kernels, Recoveries, & Other Dev] graw2:
ok thanks so based on this system image is better because we can restore our phones via fastboot mode and ADB commands. But why data and recovery not included in it? All users want to restore everything not just the system....
[Xiaomi Mi 5 ROMs, Kernels, Recoveries, & Other Dev] bgcngm:
It's not better or worse, it just depends on what you want to do. I think you are confusing things.
[Xiaomi Mi 5 ROMs, Kernels, Recoveries, & Other Dev] graw2:
ok I understand. I just tested with full backup excluding EFS. I experienced regarding restore via TWRP both system and system image are selectable to restore. If both selected the restore process will be done. I think only one option system or system image restore should be selected, but both are possible. What is the point of this?
[Xiaomi Mi 5 ROMs, Kernels, Recoveries, & Other Dev] azazello22:
Just read the last page, he's already explained that.

If it doesn't satisfy you, a quick search on Google is much appreciated.

sent from my MI5
[Xiaomi Mi 5 ROMs, Kernels, Recoveries, & Other Dev] graw2:
I have read it and I have googled it whole day but still no answer for my question. So, if I have both system and system img backup then which one should I choose in TWRP restore options?

1. System?

2. System img?

3. Both?