yashsingh1/xdaforums huggingface dataset:
[Xiaomi Mi Mix 2 ROMs, Kernels, Recoveries, & Other] Dado11:
Thank you for the answer. I think you are right for the encryption problem. Now I have reinstalled the fastboot rom. In these days I'll try your solution. I don't think is phone problem because I could reinstall miui ROM and TWRP without problem . And the problem appeared after the update of omnirom official (if I remember well 22-04-2018), anyway the old system started. When I tried to install manually the update as new system nothing worked anymore.
[Xiaomi Mi Mix 2 ROMs, Kernels, Recoveries, & Other] donatod87:
Help: TWRP 3.2.1-0 backup (operation failed)

The backup starts correctly, then arrive at 39% and pops up the message "operation failed" I wonder why this?

Smartphone: Mi MIx 2 (Rom Global Stable Miui last 9.5.8.0 )

Usb clean, fat32, usb 3.0, 32gb

Thanks
[Xiaomi Mi Mix 2 ROMs, Kernels, Recoveries, & Other] raupe:
Do you backup to USB-OTG device?

Maybe your USB stick has write errors to its flash storage or does not get enough power from phone.

Please try to backup to internal storage first and verify this operation could finished successful.
[Xiaomi Mi Mix 2 ROMs, Kernels, Recoveries, & Other] donatod87:
Yes Otg. (Model SanDisk 3.0"new Pen drive'')

However, the backup at the root of the phone works.

Inviato dal mio Mi MIX 2 utilizzando Tapatalk
[Xiaomi Mi Mix 2 ROMs, Kernels, Recoveries, & Other] BenPreston:
Hi - Any idea why TWRP will only download as a .txt file for me? Should it not be in a different format? Thanks
[Xiaomi Mi Mix 2 ROMs, Kernels, Recoveries, & Other] Mackay53:
Rename the file .img
[Xiaomi Mi Mix 2 ROMs, Kernels, Recoveries, & Other] kancrutt:
I just experimented flashing ROM from MIUI 10 Alpha to Dirty Unicorn without formatting the data (type "yes"), only "Wipe All". Booting the system and then set the lockscreen password & fingerprint. After that reboot to recovery mode and viola "password failed..."

So i just reboot to system and installed Flashify and flash TWRP recovery. it works!
[Xiaomi Mi Mix 2 ROMs, Kernels, Recoveries, & Other] DICKO1984:
Hi [MENTION=6635012]blankaf[/MENTION]. Found little bug : backup date on twrp shows years 1970. Cheers
[Xiaomi Mi Mix 2 ROMs, Kernels, Recoveries, & Other] sergtot:
Old and well known bug.
[Xiaomi Mi Mix 2 ROMs, Kernels, Recoveries, & Other] SEngine:
Help me!

I trying install twrp with "fastboot flash recovery twrp.img". the installation is always done but every time I try to start in recovery I find always the stock recovery. No twrp.

Where I wrong?
[Xiaomi Mi Mix 2 ROMs, Kernels, Recoveries, & Other] Mackay53:
Try fastboot boot twrp.img and see if it loads twrp up
[Xiaomi Mi Mix 2 ROMs, Kernels, Recoveries, & Other] SEngine:
Thank You for your quick reply,

Yes!!! it works. Now how I can install permanently twrp?
[Xiaomi Mi Mix 2 ROMs, Kernels, Recoveries, & Other] Mackay53:
Only if you are using a custom ROM.

Miui stock rom will always overwrite twrp with stock recovery.

There's an additional zip you can flash in twrp to keep twrp with miui. Maybe Someone can link it.
[Xiaomi Mi Mix 2 ROMs, Kernels, Recoveries, & Other] Robot12:
https://xdaforums.com/showpost.php?p=75075737&postcount=1

Look in Info. There is a link to the Zip.
[Xiaomi Mi Mix 2 ROMs, Kernels, Recoveries, & Other] blankaf:
As treble will be available in today's LOS build I have gone ahead and enabled support for the vendor partition in the latest official TWRP.

twrp-3.2.2-1-chiron.img
[Xiaomi Mi Mix 2 ROMs, Kernels, Recoveries, & Other] maNiaoH:
Work great with treble rom :p
[Xiaomi Mi Mix 2 ROMs, Kernels, Recoveries, & Other] taotechad:
Some reason backup file not showing up. Successful backup but still old files in backup folder. Any suggestions? Running latest img.
[Xiaomi Mi Mix 2 ROMs, Kernels, Recoveries, & Other] trapntan:
So with Raupe's TWRP, and now with the offical 3.2.2-1, I make a backup of the global developer rom, flash something else (like ABC rom) with no problem, but when I go to restore the backup, the OS loads but system just sits there thinking, homescreen never loads, it's like no apps are installed, system or otherwise. I wipe before flashing and restoring, am I missing something? Each time I'm stuck formatting data in TWRP and then using fastboot to reflash global developer rom.
[Xiaomi Mi Mix 2 ROMs, Kernels, Recoveries, & Other] Saswata Chakraborty:
You are giving instruction for rooted device. What if someone wants to flash twrp on a non-rooted device? Where is the instruction for that?

---------- Post added at 04:53 ---------- Previous post was at 04:51 ----------

Can I just boot into twrp (temporarily) by typing fastboot boot recovery.img and then just flash Magisk to gain root access? Or am I missing any step??
[Xiaomi Mi Mix 2 ROMs, Kernels, Recoveries, & Other] udo 240:
I own first day a Mi Mix 2 and just installed TWRP 3.2.3.0 and Omni... Two probs: First I need the password to decrypt my data-partition and I can not backup my partitions like Boot, System and Data.... It always end in: Can not create ´/data/media/0/TWRP7BACKUPS/..... Failed to make backup folder.´ What is the problem? Thx for your help in beforehand ;)
[Xiaomi Mi Mix 2 ROMs, Kernels, Recoveries, & Other] Mackay53:
Yeah that will work
[Xiaomi Mi Mix 2 ROMs, Kernels, Recoveries, & Other] rastalord:
When trying to restore I get createTarFork() process ended with ERROR=255 for the data partition. I am using the latest TWRP 3.2.3.0. Any ideas how to solve this?
[Xiaomi Mi Mix 2 ROMs, Kernels, Recoveries, & Other] mysterysauce:
I've been having the same issue since I bought my phone 4 months ago. Everything I've tried doesn't work.
[Xiaomi Mi Mix 2 ROMs, Kernels, Recoveries, & Other] rastalord:
I have been having it as well. Not sure what is the problem. If I find any solution I would let you know. I am not that upset regarding this as I always restore from Google's servers but still I would prefer to have it working so I can switch ROMs more easily
[Xiaomi Mi Mix 2 ROMs, Kernels, Recoveries, & Other] Zafrkant:
Hi, TWRP is showing incorrect date and time.

I've couldn't take screenshot in TWRP, but backup time will show.

Any solution?
[Xiaomi Mi Mix 2 ROMs, Kernels, Recoveries, & Other] sergtot:
Hello!

Could you please build new 3.2.3-1 version with Pie encryption support?
[Xiaomi Mi Mix 2 ROMs, Kernels, Recoveries, & Other] seancheng:
Auto update faild since 20181029, anyone?

EDIT:

I have figured it out, The latest framework is not compatible, so I flash the old version 8.10.11, Its ok.
[Xiaomi Mi Mix 2 ROMs, Kernels, Recoveries, & Other] tennyleaz:
Seems this TWRP does not support Pie ROM encryption.

Need to remove screen password before using TWRP.

Please fix?
[Xiaomi Mi Mix 2 ROMs, Kernels, Recoveries, & Other] duckbloke:
Can't flash anything using fastboot

I've unlocked the bootloader and am trying to flash TWRP onto the phone with fastboot (on Ubuntu 18.04 on a Macbook). It shows up on the device list in fastboot (also adb, when it's not in fastboot mode).

However, when I enter

sudo fastboot flash recovery twrp.img

, it simply hangs--i.e., nothing happens. Sometimes I can get it to the state where it says "sending 'recovery' (21964 KB)..." but nothing happens after that, either. I've enabled USB debugging and authorized this computer with adb as well, if that helps.

I've tried booting into the TWRP image instead with:

sudo fastboot boot twrp.img

But it has a similar problem where it'll hang, either saying nothing, or saying "Downloading 'boot.img'.

This is super frustrating. Any ideas?
[Xiaomi Mi Mix 2 ROMs, Kernels, Recoveries, & Other] rtoussaint:
I was recommended to use a different TWRP:

https://xdaforums.com/showpost.php?p=78757262&postcount=253
[Xiaomi Mi Mix 2 ROMs, Kernels, Recoveries, & Other] xdasith:
Mi inbuilt recovery prevents Twrp recovery to boot up

Twrp installation : success

I can boot to twrp with adb fastboot command :-

fastboot boot twrp.img.

However if I go with pressing buttons (vol+power key) it will boot in Mi inbuilt recovery only.

Mi inbuilt recovery prevents Twrp recovery to boot up normally. please help
[Xiaomi Mi Mix 2 ROMs, Kernels, Recoveries, & Other] andr68rus:
For me it work fine before, but now its same **** ... 2-nd time. Do u make format internal storage? Only one idea - mb thats because miui tail in data...
[Xiaomi Mi Mix 2 ROMs, Kernels, Recoveries, & Other] rastalord:
No idea to be honest with you. Do you think formatting internal storage would help?
[Xiaomi Mi Mix 2 ROMs, Kernels, Recoveries, & Other] inigoml:
Hi Mates.

After Android 9 upgrade in MIUI10 (at this moment only available for closed beta users) data partition decryption does not work anymore. Any plan for launching a quick fix for solve this issue?

Thanks in advance!
[Xiaomi Mi Mix 2 ROMs, Kernels, Recoveries, & Other] raupe:
Android 9 Update is brought to all XIAOMI.eu users starting today ...

... this said the issue may emerge ...

This moment I'm installing the Pie ROM and take a look to decryption - maybe a script i had developed for private use may of help - I'll keep you updated!
[Xiaomi Mi Mix 2 ROMs, Kernels, Recoveries, & Other] inigoml:
Thank you, mate. My problems started after trying to mount partition. Something went very wrong and I lost access to data partition and phone entered into a boot loop. So, I had to recover via fastboot (wipe didn't worked) but since Xiaomi has not pushed fastboot packages for Android 9 yet, I had to perform a full restore with previous beta (9.4.25) that has some kind of incompatibility at partition level.

So, currently, I've a pretty Mi Mix 2 half bricked (I can boot, but UI fails constantly due to some problems in order to write in vendor partition). That's the problem when you are the first to test! :D

Good to see that xiaomi.eu has been released a new version. If I install this ROM I will be probably able to recover phone until Xiaomi launches official fastboot packages with Android 9 support....
[Xiaomi Mi Mix 2 ROMs, Kernels, Recoveries, & Other] raupe:
Attached to that post you'll find a TWRP installable script that adds encryption to xiaomi.eu ROMs that are Android 8 based.

It may worth a shot if you have a backup in place that contains the system partition (because the script I've posted changes the partition decryption values).

I've successfully used this script for Android 8.0 based xiaomi.eu ROMs to preserve my encrypted volumes (xiaomi.eu did not support them out of the box).

UPDATE1

ATTENTION: Attachment removed because ist uses old folder/link layout - new !working! version will be posted after mirgation test (fresh, crypted install is possible - I'm testing a migration from unencrypted to encrypted this moment)

UPDATE2

Migration test was not successful :-/

Therefore backup all your Apps & Data with your preferred backup Tool within running Android and restore them after fresh install.

I'll write a short tutorial in a new post after restore test is completed
[Xiaomi Mi Mix 2 ROMs, Kernels, Recoveries, & Other] raupe:
Xiaomi Mi MIX2 working encryption with latest Android 9 (Pie) ROM

Tutorial and files/download moved to a single thread to ease maintaining that ...

LINK: https://xdaforums.com/mi-mix-2/how-to/xiaomi-mi-mix2-encryption-android-9-pie-t3929322
[Xiaomi Mi Mix 2 ROMs, Kernels, Recoveries, & Other] inigoml:
Sorry for my delay responding. But I've not time to test it. I had to recover with Xiaomi.eu because MIUI Global had not released official fastboot packages and I could not recover with Android 8 due to changes in "persist" partition behavior. As soon as I restore MIUI Global I will test.

Following you in new thread.
[Xiaomi Mi Mix 2 ROMs, Kernels, Recoveries, & Other] inigoml:
Hi [MENTION=496297]raupe[/MENTION]. I've read your new post but it's intended in order to enable encryption in Xiaomi.eu.

However, what I found is that trying to decrypt storage from TWRP in official MIUI global (and also I assume the same will happen with MIUI China) led to data corruption and so phone unusable. In fact, hard reset from recovery didn't work also.

For this, should not be necessary some kind of fix at TWRP level in order to properly decrypt data partition without having to touch the installed ROM? Xiaomi.eu and global ROM have a different problem...

Usually I would not need to use TWRP, but due to Xiaomi does not certify with Google their beta ROMs I cannot use Google Pay and other SafetyNet dependant apps and I have no other option that rooting and apply MagiskHide in other to make it work.

As workaround I could storage magisk recovery script in an external OTG storage and apply it from there instead to use internal storage although I would have to go everywhere with a USB/OTG dongle... ;)
[Xiaomi Mi Mix 2 ROMs, Kernels, Recoveries, & Other] raupe:
[MENTION=2030171]inigoml[/MENTION]:

As for now I've no real solution for that behavior. It's caused by the recovery itself.

I assume it is an limitation of the prebuild kernel that both recoveries use.

In that probuild kernel may some modules missing that are required for the specific decryption MIUI global/china are using.

The second possible source of the problem could be the encryption process by MIUI itself.

If the encryption is not set up properly by the OS (MIUI) that could lead to soft bricked device.

Played last nigt a litte with most recent TWRP 3.3.1-0 and some live kernel builds.

Everything went well as long as TWRP crypto modules have been left off the build.

As soon as they where activated TWRP tired to boot but keep stuck on the TWRP-Startup screen :(

Much mure fuzzing is needed here but I'm very limited with time these days.

Would be an idea to get all the other recovery and kernel devs informed maybe together we can have a solution for that creepy crypto (again).

That said: [MENTION=8859092]AleD219[/MENTION] [MENTION=6635012]blankaf[/MENTION] [MENTION=5857684]TheStrix[/MENTION] [MENTION=6723604]wight554[/MENTION] - any idea how to get MIUI crypto up and running in TWRP based recoveries? (... and for peronal interest: How to get a live kernel+crypto working with latest TWRP 3.3.1-0? ;) )
[Xiaomi Mi Mix 2 ROMs, Kernels, Recoveries, & Other] inigoml:
Don't worry, [MENTION=496297]raupe[/MENTION]. Nobody is gonna pay you for it and we know this kind of projects are started by personal interest. We can live with a USB+OTG dongle and not enabling encryption at TWRP level. ;)

Anyway, I don't rely on MIUI developers to colaborate in order to add support for decryption at TWRP level.

Next week I will come back to MIUI 10 global from Xiaomi.eu (I'm betatester) althought I'm a bit lazy and don't wanna have to reinstall all apps. :)
[Xiaomi Mi Mix 2 ROMs, Kernels, Recoveries, & Other] BitingChaos:
What is the best way to report bugs for this? The clock is always way off when I boot to TWRP.
[Xiaomi Mi Mix 2 ROMs, Kernels, Recoveries, & Other] raupe:
Hey BitingChaos,

check for existing issue and if not existent - report bug here: https://github.com/omnirom/android_bootable_recovery/issues
[Xiaomi Mi Mix 2 ROMs, Kernels, Recoveries, & Other] MrRubik20:
Has anyone made any progress on the problem of TWRP not accepting the pattern/password on Mi MIx 2?
[Xiaomi Mi Mix 2 ROMs, Kernels, Recoveries, & Other] GigahurtzUK:
I found best solution is not to use a pattern but choose passcode instead. Much easier
[Xiaomi Mi Mix 2 ROMs, Kernels, Recoveries, & Other] BitingChaos:
Is that link to the "OmniROM" build of TWRP?

I found one mention of the time issue from 2017, and I commented before realizing it may be OmniROM specific.

https://github.com/omnirom/android_bootable_recovery/issues/143

There is a "Team Win" repo with tzdata issue open since 2016:

https://github.com/TeamWin/Team-Win-Recovery-Project/issues/640

https://github.com/TeamWin/Team-Win-Recovery-Project/issues/1346

https://github.com/TeamWin/Team-Win-Recovery-Project/issues/974

One of the comments from 2016 says the issue has to do with lack of tzdata in the recovery ramdisk.

So, incorrect time has been reported a few times. I don't think it would do any good for me to report it, again.

Where does TWRP look for tzdata at?
[Xiaomi Mi Mix 2 ROMs, Kernels, Recoveries, & Other] MrRubik20:
Ever since MIUI for Mi Mix 2 went to Pie, I can't get my TWRP to accept my pattern password, pin password, or regular password to decrypt the file system. I am on the Ominrom official weekly ROM and every week when I update, I have to remove my pattern password, then update, then add my password again. I know I have read of a few other people having this issue, but does anyone know if there is a fix for this yet? If so, can you please share? Also [MENTION=3713165]GigahurtzUK[/MENTION], it won't work for me using a passcode.
[Xiaomi Mi Mix 2 ROMs, Kernels, Recoveries, & Other] KevinLuong:
twrp-3.3.1-1-chiron.img works for me

Has anyone got a copy of the pie stock recovery?
[Xiaomi Mi Mix 2 ROMs, Kernels, Recoveries, & Other] MrRubik20:
Go here to download the latest Mi Mix 2 Developer Fastboot ROM (9.6.27 is a Pie ROM) then extract it and the recovery .img file will be in there. Hope this helps.

http://en.miui.com/a-234.html
[Xiaomi Mi Mix 2 ROMs, Kernels, Recoveries, & Other] VirgilChen:
3rd party replacement screen

Hi,everyone. My Mi Mix2 has a third party replacement screen. The newest version or TWRP seams have no driver support for the screen. Every time i boot into TWRP, all i get is a grayish screen. But i can tell that TWRP is running because the device vibrates and my computer can detect the massive storage. This problem occurs after TWRP 3.2.1. All previous version working with no similar issue. Does any one have the same problem with me?
[Xiaomi Mi Mix 2 ROMs, Kernels, Recoveries, & Other] iMesutOzil:
Rooting Issue

Hi guys :o

i cannot root via TWRP. Tried with Orangefox and lastest twrp-3.3.1-1 . installing Magisk showing some errors... also flashed SuperSU after rebooted i cant find the SU app and didnt rooted my phone..

please help me guys to resolve this issue :confused:

Thanks :good:
[Xiaomi Mi Mix 2 ROMs, Kernels, Recoveries, & Other] Morcean:
I suggest to you try the magisk.
[Xiaomi Mi Mix 2 ROMs, Kernels, Recoveries, & Other] iMesutOzil:
Found Solution Myself... I think the issue has been fixed with latest Magisk ?
[Xiaomi Mi Mix 2 ROMs, Kernels, Recoveries, & Other] candiduslynx:
Have you tried performing operations using client side commands?

https://twrp.me/faq/openrecoveryscript.html
[Xiaomi Mi Mix 2 ROMs, Kernels, Recoveries, & Other] CrisRH1:
Hello, this twrp doesnt have the drivers for replacement screen, is there any workaround besides the command options?
[Xiaomi Mi Mix 2 ROMs, Kernels, Recoveries, & Other] Yszty:
Me, xD

https://xdaforums.com/t/recovery-unofficial-chiron-twrp-3-5-2_9-0-for-xiaomi-mi-mix-2.4319681/
[Xiaomi Mi Mix 2 ROMs, Kernels, Recoveries, & Other] darkness4every1:
Hi, did you find a solution?
[Xiaomi Mi Mix 2 ROMs, Kernels, Recoveries, & Other] Scatto85:
Hi everyone, I recently got a Mi mix 2 thinking that I would have no problems installing a custom rom and instead I can't even install the twrp. When I restart the phone it goes back to the original recovery. Can someone help me?
[Xiaomi Mi Mix 2 ROMs, Kernels, Recoveries, & Other] Scatto85:
Let me start by saying that I have the latest global Miui version, Android 9.
[Xiaomi Mi Mix 2 ROMs, Kernels, Recoveries, & Other] Scatto85:
I discovered that the display has been replaced, it is of poor quality, I can't change the tones from cold to warm. Is it possible that this causes problems on twrp? If I return the phone to the Chinese version, could I be able to install the twrp and then install personalized custom roms?
[OnePlus 6 Guides, News, & Discussion] Gramzz:
Hello,

Last time we have new leaks about release date.

We have poster that suggested 5 may in China .

Some people think that can be with Avengers premiere on 27 April.

In last week we had leak about 18 May.

What we know for sure that 22nd April at 00:00 start ''Notify me'' on Amazon India.

And 2nd May start '' Lab'' program.

When do you expect premiere?

I doubt about 18 May. In my opinion it's too long for Oneplus to keep this Hype in media one month longer so I except it sonner. On the beginning of May.

We had premiere Honor 10 and Huawei P20 Pro. LG preparing G7. I think these are strong competitors for oneplus 6.

So they don't should wait so long with release.

P. S. I expect that Oneplus 6 will be phone of the year. High top hardware with very good optimized Android and things that was lack in 5t: water resistance, wireless charging, better camera.

To perfection I need only OIS but I doubt in it. Maybe in 6t.

Interesting thing is price. But Honor 10 is strong competitor with very good hardware and great price.
[OnePlus 6 Guides, News, & Discussion] _MartyMan_:
6 May imo :D
[OnePlus 6 Guides, News, & Discussion] the Doctor:
May 18th?

OnePlus 6 may be officially revealed on May 18 | phonearena.com
[OnePlus 6 Guides, News, & Discussion] =dave=:
nope: https://www.gizmochina.com/2018/04/...may-18-likely-to-cost-rs-39999-claims-report/

--> "UPDATE: OnePlus reached out to us to confirm that the May 18 release date of the OnePlus 6 mentioned in the report is FALSE. So, we still don’t have an official date."
[OnePlus 6 Guides, News, & Discussion] t2jbird:
Global launch will be May 15th.
[OnePlus 6 Guides, News, & Discussion] Gramzz:
Source please
[OnePlus 6 Guides, News, & Discussion] Gramzz:
Official!

Tweet from Pete Lau:

'' Your #OnePlus6 is coming soon! [emoji16] Hope to see you at our launch event in London (May 16), Mumbai (May 17) or Beijing (May 17)!''

Source:

https://twitter.com/petelau2007/status/989037077911277568?s=19

https://www.oneplus.com/cn/launch-6
[Android Apps and Games] Hedgehog Studio:
[IMG="Just genius"]https://imgur.com/W7UCool.png[/IMG]

Hey guys,

We developed a very simple and convenient game for the development of children. It will help kids to learn about the world in which they grow, to get though and usual, but primary knowledge faster than their peers and even older children.

Our team continues to work on improving the localization of the application, if you have any wishes or recommendations, please write to us about them. We want to help develop all children.

The game system is built on a bonus basis with elements of the arcade, which makes it possible for every child to become a winner motivated by new achievements and gaining new knowledge.

The main methods for the development of children in our game is the use of familiar and understandable images that form the right associative thinking. It is this aspect of development that is considered fundamental to success in adulthood. Stylized images make the game very attractive and kind, allowing children to relax and have fun.

Benefits:

1. The game process starts right after the application starts.:)

2. There is no direct access to the control buttons, so you do not have to worry about the child's actions.:confused:

3. More than 200 pictures.:cool:

4. Periodically replenishing the base of images.:good:

5. The game with large buttons and pictures will suit even the smallest children.:victory:

6. There are English and German versions.:cowboy:

Play on Google

Play on XDA

[IMG="Just genius"]https://imgur.com/ARgpHC0.png[/IMG]

[IMG="Just genius"]https://imgur.com/sQmLQud.png[/IMG]

[IMG="Just genius"]https://imgur.com/h0nWFZJ.png[/IMG]

[IMG="Just genius"]https://imgur.com/alANrTb.png[/IMG]

[IMG="Just genius"]https://imgur.com/Oh0DpF4.png[/IMG]
[Huawei P10 Lite Questions & Answers] AlgoJerViA:
Hi

I accidentally broke the antenna port on the charging board even lifting some of the traces from the board itself. However I have since then not noticed any problem with the reception at all. Does anyone know what the antenna connected by the internal antenna cable is used for? Is is a specific band or is it a MIMO think or something like that?

//Andreas