yashsingh1/xdaforums huggingface dataset:
[Redmi Note 2 General] jajk:
TWRP3.2.30-Universal version uploaded

https://drive.google.com/open?id=16BueY8230PzL-5ngkMiNZGxpIYBoK4EL

TWRP3.2.20-Universal version uploaded

https://drive.google.com/open?id=1Qr35EfIy76c6lkQZaKBzRS_PuBhUfjMX

TWRP3.2.10-Universal version uploaded

Rebased on TWRP3.2.1-0

https://drive.google.com/open?id=1Tcc5pk-7MOz5IRwqgH-zfKj-t7pnSMi5

TWRP3.2.0-0-Universal version uploaded

Changelog:

Backup / Restore every possible partition

Supports both Android 5.x and 6.0+ partitioning schemes

Oreo ready..........

https://drive.google.com/open?id=1uJAc84Qgw4k1NW3W3BjcVtwc37y--xz8

TWRP3.1.1-0-Universal version uploaded

Changelog:

Uses 7.5.11 Android 5.02 kernel

Backup / Restore every possible partition

Supports both Android 5.x and 6.0+ partitioning schemes

https://drive.google.com/open?id=0BwdRTuyj12_yVWZqUnd6MEN0QVk

Note: This version saves to a folder named as the serial number of the device which is different to the previous version. Old backups will not work unless they are copied into the new folder.

TWRP3.0.2-2 has had a makeover also:

Rebased on 7.3.16 Kernel

Removed F2FS support to prevent "mishaps"

Added ability to backup & restore Preloader partition

https://drive.google.com/open?id=0BwdRTuyj12_yU19qQWNra1o3alk
[Redmi Note 2 General] Lovetz:
Hi, great work. Can you make twrp 3.0 for our beloved xrmn2? It's has been released: http://www.xda-developers.com/twrp-3-0-0-has-arrived/
[Redmi Note 2 General] jajk:
If you don't like the extensive partition listings in the original, I have altered the fstab files and repacked so you see only the necessary partitions for each function. Other than that, it is the same.

Now only one version with all the partitions you need and none that will get you into trouble:)
[Redmi Note 2 General] dravida:
Thank you for sharing! :)
[Redmi Note 2 General] Adam Hui:
Hi, great work...thanks alot, just keep peaking !

Can we get informed by you what kind of malware plant in this, does it method by flashing any zip using it or by restore/backup process?

Anyway, u're whispering somethin' th

at we cant wait ur MM builds desperately...
[Redmi Note 2 General] jajk:
[MENTION=4666525]Adam Hui[/MENTION] Maybe you misunderstood, I checked that there is no malware in the original by unpacking it and looking at the code. I also tested every function does not break the phone and works correctly. I am assuring other users that maybe cannot examine the contents that it is clean.

My modified version only rationalizes how partitions are presented in Recovery. Try the original and you will understand the need to alter the partitions displayed.

MIUI based on MM is in beta testing for ReNo2 already (I am not one of the beta testers):(

Be careful what you wish for as MM brings everyone one step closer to a closed platform like Apple. I would be happy on 5.1.1:p
[Redmi Note 2 General] Adam Hui:
Hey man, pls washout that greyed info.

Do u mean there'll be a locked bootloader in miui MM ?

U should inform us if u knew it at first time !
[Redmi Note 2 General] MiSteven:
Hi, Is there a MultiROM / dualboot feature included in this release?

Thank you to jemimi for the dev work and thank you in advance for any reply.
[Redmi Note 2 General] jajk:
[MENTION=7275338]MiSteven[/MENTION] No dualboot in this one and I haven't seen one for our phone (not that I have been looking)
[Redmi Note 2 General] jajk:
New version 3.0.0-3
[Redmi Note 2 General] sanceliken2000:
Is this update of jemmini's TWRP_3_ReNo2.zip from 4pda.ru?
[Redmi Note 2 General] jajk:
[MENTION=5380706]sanceliken2000[/MENTION] No it is original.
[Redmi Note 2 General] sanceliken2000:
Thanks for the answer. Could you please tell me if i could flash it directly with twrp 3 jemminis' in order not to do the procedure with fastboot?
[Redmi Note 2 General] jajk:
[MENTION=5380706]sanceliken2000[/MENTION] Just flash it in your existing TWRP (it is a flashable zip)
[Redmi Note 2 General] addro:
Interface look good, old backups need to be re-backup! Thx~ :D
[Redmi Note 2 General] faorekh:
If you have backup made by jemmini's TWRP3 it is not necessary to re-back. The new one understands that backup.
[Redmi Note 2 General] jajk:
[MENTION=5876331]faorekh[/MENTION] It surely is. I look for compatible donors since we have no official build for our device.

The only thing that changes from previous TWRP backups is the folder name where it is stored. If needed, rename the old folder to /TWRP/BACKUPS/Redmi_Note_2 and TWRP will see it or just move the old backups into the new folder when it is created on first new backup.
[Redmi Note 2 General] faorekh:
There is the signature "Lenovo/full_aio_otfp/aio_otfp" inside recovery. Is this recovery port from recovery-twrp-3.0.0-3-k3.img of Lenovo K3 Note?
[Redmi Note 2 General] timberwolf60:
This version works great for my rmn2 prime.
[Redmi Note 2 General] BloodyScreen:
I flashed this recovery yesterday through my twrp 2.8.7.

After updating to TWRP 3.0.0-3 I got messages like this:

This package is for "hermes" devices; this is a "".
[COLOR="Red"]Updater process ended with ERROR: 7
Error installing zip file '/external_sd/!Flash/twrp287.zip'[/COLOR]

After that I used the fix in this thread to make my old recovery flashable again. Now everything works fine again, but you may want to look into that, so others won't have to get similar headaches as me.

Little note: I spent 3 hours trying to make this work under OSX El Capitan, but it seems like OSX can't create flashable zips. I used a windows partition to zip the files and everything worked fine.
[Redmi Note 2 General] Adam Hui:
What is the latest best rom for hermes?
[Redmi Note 2 General] jajk:
[MENTION=5495241]BloodyScreen[/MENTION] You must have had a ROM that was not specifying "Hermes" in the correct place in build.prop. That is what the error was telling you as you discovered.

This is a protection to stop people flashing this TWRP onto a wrong device but I am aware that if you flash something like MR 7.2.30, you will end up with the device reporting as Hennessy (reno3) if you do not correct the build.prop. The fault lies with the port from reno3 not being thorough enough and the person installing for not fixing it up after the fact.

I will leave the protection in place.
[Redmi Note 2 General] gandrigoes:
On mine, when closing to finish on backup data (full backup) it began freeze.

This problem doesnt found on 2.8.7.
[Redmi Note 2 General] jajk:
[MENTION=5463777]gandrigoes[/MENTION] Try running repair file system on cache, then data and finally system from the Wipe menu of TWRP. I have seen filesystem corruption on this model phone. There is no fault with this version of TWRP.
[Redmi Note 2 General] AhmadNaim93:
i got error 7 when flashing? all file are working with previous twrp. i think you need to fix the buildprop stuff. because it check the device ("ro.product.device") == "" instead of ("ro.product.device") == "hermes"
[Redmi Note 2 General] jajk:
Where are you downloading my TWRP from?

My updater-script file is as follows and has always been:

show_progress(0.200000, 10);

package_extract_file("recovery.img", "/dev/block/platform/mtk-msdc.0/by-name/recovery");

Can you see any line checking ro.product.device?
[Redmi Note 2 General] jajk:
TWRP 3.0.1-0 uploaded. See first post.
[Redmi Note 2 General] spoof123:
Jemmini at 4pda forum already built twrp 3.0.2. [MENTION=5952980]jajk[/MENTION],;please upload twrp 3.0.2 to google drive. Thanks. Link : http://4pda.ru/forum/index.php?showtopic=684153&st=7660#entry46920511
[Redmi Note 2 General] jajk:
[MENTION=7180732]spoof123[/MENTION] I can't download from that link but it will spread very quickly so I will grab it when it does.

TWRP3.0.1 removed in anticipation that Jemmini version will be better. It seems that 3.0.1 was full of bugs that are hopefully fixed in 3.02.
[Redmi Note 2 General] jajk:
TWRP 3.0.2-1 added - Ported by me from donor device (not Jemmini version)
[Redmi Note 2 General] andusatria:
may i know the donor device you are using as base, sir?
[Redmi Note 2 General] jajk:
[MENTION=5993614]andusatria[/MENTION] Why would you want to know that? Are you using it? Any issues? Any thanks?
[Redmi Note 2 General] andusatria:
hello..

just wanted to learn to port from another devices sir..

it is okay if you dont want to tell me, :)

not yet, still use 3.0.0 version, and planned to update and test yours sir and will post if there are any issues found..

thanks clicked.. thanks a lot for your efforts..
[Redmi Note 2 General] jajk:
[MENTION=5993614]andusatria[/MENTION] Previous version 3.0.0.3-0 ported from Lenovo K3 Note, the latest 3.0.2-1 ported from Umi X3. What do these phone have in common to each other and to the ReNo2 to them a suitable donor?

Answer that and you are half-way there:)
[Redmi Note 2 General] sanceliken2000:
Cant see micro sd card on 3.0.2
[Redmi Note 2 General] jajk:
[MENTION=5380706]sanceliken2000[/MENTION] You are talking about the internally fitted SDcard - not the external OTG I presume and you can't see it in Recovery?

I will look into it and correct if it is the case.

Rev2 of TWRP 3.0.2-1 posted. This version adds missing files for handling NTFS partitions likely to be encountered on some removable SDCards.

[MENTION=5380706]sanceliken2000[/MENTION] Maybe this was the issue you had with an NTFS formatted card? I can't find any other issue.
[Redmi Note 2 General] sanceliken2000:
About external sd card i will test it now, about otg will test it on the afternoon, yes i was talking about recognizing ext sd on recovery.

---------- Post added at 12:47 PM ---------- Previous post was at 12:37 PM ----------

My external sd card is on an exfat file system..also my usb stick and they are recognizable on 3.0.0-3 both but nor on 3.0.2-1 version, also not on rev2.. :(
[Redmi Note 2 General] jajk:
[MENTION=5380706]sanceliken2000[/MENTION] O.K will see if I can fix.
[Redmi Note 2 General] jajk:
Rev 3 of TWRP 3.0.2-1 posted - fixes problems of not mounting external sdcard and OTG in recovery.
[Redmi Note 2 General] sanceliken2000:
Unfortunately problem still exists

Im about to upload pictures in 3.0.2-1 rev3 as you see same as elder revisions cant recognize sd card and otg and shows 0mb.. Besides thanks for your support.
[Redmi Note 2 General] jajk:
[MENTION=5380706]sanceliken2000[/MENTION] I tested with exfat, ntfs and fat partitions and all mounted correctly. Can read and write to all supported partition types on OTG and external sdcard.

Can you try reformatting your USB OTG device with a different filesystem or just reformat with exfat?
[Redmi Note 2 General] sanceliken2000:
Problem

Check photos, the difference between 3.0.0 and 3.0.2.Unfortunately i cant read write on 3.0.2 for ext sd and OTG too. Tried to reformat OTG, but cant recognize it again on 3.0.2. Is there any possibility that these automatically created temp files of OTG or ext sd cause the problem?
[Redmi Note 2 General] jajk:
[MENTION=5380706]sanceliken2000[/MENTION] Can you format a USB drive to FAT on a PC and try that as OTG device? It is all working fine for me.
[Redmi Note 2 General] sanceliken2000:
ok i tried it, it worked! thank you very much
[Redmi Note 2 General] DarthJabba9:
[MENTION=5952980]jajk[/MENTION] Your recovery image could not be unpacked with standard linux tools. AndroidMasterChef was required to unpack it.
[Redmi Note 2 General] Lewime:
Thank you:good:
[Redmi Note 2 General] wasd-:
We got official support by TWRP!

https://twrp.me/devices/xiaomiredminote2.html
[Redmi Note 2 General] jajk:
[MENTION=5658698]wasd-[/MENTION] Excellent news. We are moving up in the world. I will link to that also in 1st post.

[MENTION=5850987]DarthJabba9[/MENTION] The image was built with standard bootimg.exe tool so no idea why you have a problem with unpacking it???

Edit: The "Official" TWRP has a few features missing like being able to mount OTG and External sdcard, handling NTFS partitions etc. Hopefully these will get added along the way if the dev is made aware of them (whoever that is???)

Edit: juliusssssmiui is the owner of the github repo and it is a first release so give it time...
[Redmi Note 2 General] spoof123:
How to tell juliusssssmiui about his twrp bugs ? Is there any forum ?
[Redmi Note 2 General] DarthJabba9:
Don't know. Every gzip tool complains that the embedded ..cpio.gz file is not a proper gzipped file.
[Redmi Note 2 General] jajk:
[MENTION=7180732]spoof123[/MENTION] The only contact method I can see is via his Github site. It appears that almost all builds of 3.0.2-0 are missing the same functionalities. Stick with 3.0.0.3 until we get 6.0;)
[MENTION=5850987]DarthJabba9[/MENTION] What is inside that you want to get at? It is only you that cannot unpack these.

Slightly updated functionality for both versions of TWRP posted in OP;)
[Redmi Note 2 General] DarthJabba9:
I can unpack it - with AndroidMasterChef. I was just reporting that the standard Linux tools could not unpack it. Remember we had this same problem with your original boot images?
[Redmi Note 2 General] jajk:
[MENTION=5850987]DarthJabba9[/MENTION] These images were not packed using AndroidMasterChef so I have no idea why you have this problem again.

I have never used gz as a command line tool to unpack images since I have tools to stop me having to think about the correct syntax.

While it is good exercise to use commands directly, it causes excessive write cycles to your grey matter, reducing its lifespan:silly:
[Redmi Note 2 General] DarthJabba9:
When you are part of the development team of a GNU compiler and the lead developer of GPLed embedded firmwares for ADSL routers, command lines are second nature. :angel: However, I don't use the command line directly to unpack these images. I have scripts that call the command line tools with the required arguments (pretty much like what AndroidMasterChef does with Windows batch files - except that there are clearly other arguments being used that are not in the batch files). Indeed, you will have seen from my interactions on the Skinny mods that I tend to write scripts for everything. The unpack script should work, but it clearly doesn't in this case. It doesn't bother me too much, because I can get at the files in another way - but I prefer to have full control over (and understanding of) whatever I am doing, and I prefer to be able to do it with standard GPLed tools. To me, this is what "Freedom" is about.

When I have the time, I will look further into it, and try to find out what arguments AndroidMasterChef is sending that I am not sending in my script; but it is obviously not a priority.
[Redmi Note 2 General] jajk:
[MENTION=5850987]DarthJabba9[/MENTION] I think the problem is that the kernel is (wrongly) given a .gz extension when it is not a compressed archive. It should really be named kernel instead of kernel.gz in the image. I don't know why some tools put the extension on - it is not an intentional action on my part.
[Redmi Note 2 General] DarthJabba9:
It isn't the kernel. It is the ramdisk that can't be extracted. However, the sizes of both files are all wrong, which means that they weren't extracted properly (probably because the wrong offsets were being used). I have been unable to extract it manually using the tools that come with AndroidMasterChef. The secret was to use "bootunpackmk" in the first instance, rather than "bootunpack". After that, what I got was a standard cpio.gz file that can be extracted by standard tools (gzip | cpio). So I just need to find the source code for bootunpackmk or learn which offsets it is using.
[Redmi Note 2 General] DarthJabba9:
[MENTION=5952980]jajk[/MENTION] I have written my own program to extract ramdisks and kernels from boot and recovery images. It wasn't actually difficult to do, and the program code itself is quite short - I just studied the standard Android and MTK header structures, and then ran some tests.

I don't have the nerve to test the extracted kernels, but the ramdisks unpack correctly with standard gzip+cpio. So far, it seems to work correctly with images that have the MTK header (which your recovery image does) and also with those that don't have the MTK header (eg, your skinny boot images). My program can't recreate the boot and recovery images, and will not be extended to do so. It just means that I can easily extract ramdisks and see what is going on inside them, and I can do this from Linux. Curiosity satisfied, and freedom secured. :victory:

If I every get to tidy up the quick and dirty code, I might release it so others may benefit.
[Redmi Note 2 General] cml.snc:
hello;;

need your help here... flashed the official Twrp and this error

-E:unable to find partition size for '/persist'- besides that everything is OK...

any ideas ..???
[Redmi Note 2 General] jajk:
[MENTION=7166137]cml.snc[/MENTION] The "persist" partition does not exist on your phone but is specified in a file within TWRP therefore you get the error. The "official" version is faulty at this time.

Use one of my versions and the problem will go away. 3.0.0-3 version is best until we get Android 6.0.
[Redmi Note 2 General] cml.snc:
ok.. thanks...
[Redmi Note 2 General] DarthJabba9:
Are you referring to the one from 20th March? I just downloaded it, and the size is different from the 3.0.0-3 that I downloaded on 20th March. :confused:
[Redmi Note 2 General] jajk:
[MENTION=5850987]DarthJabba9[/MENTION] Both were updated recently. The change being to enable wiping / partitioning / formatting of USB OTG and reshuffle of the partition listings to make it easier to select the most common backup partitions. You can just edit the existing etc/recovery.fstab file to add wipeingui to that entry as is already the case for external sdcard now that you can unpack the images;)

The 3.0.0-3 version is best because it handles all the formats you are likely to use whereas 3.0.2-1 is missing some aspects of exfat handling - that is all.
[Redmi Note 2 General] DarthJabba9:
[MENTION=5952980]jajk[/MENTION] I can unpack with my app, but not repack. First, I am not too confident that the extracted kernel is correct (my focus has been on the ramdisk). Secondly, my repack scripts use standard tools that will not add the MTK header, and I'm not sure whether recovery images will work without the MTK header (not too keen to find out by testing it myself). I am tool lazy to test the kernel that I extract, or extend my app to add the ability to repack. Knowing myself, I will probably do it one day, just to tackle the challenge - but not now.

So, for now, I will just install your latest 3.0.0-3. ;)
[Redmi Note 2 General] aadat:
Hi, great work...thanks alot, just keep peaking !
[Redmi Note 2 General] jajk:
Update.......read first post:good:
[Redmi Note 2 General] jajk:
[MENTION=5484928]iceman1966[/MENTION] I did not previously find you on Xda so now I can thank you directly for the donor TWRP code:good:
[Redmi Note 2 General] pian31:
works great for my reno2 prime using rom cm12.1.

thanks
[Redmi Note 2 General] Harasan:
Thanx
[Redmi Note 2 General] 00giou00:
You're a god
[Redmi Note 2 General] Lakum:
Thank you!
[Redmi Note 2 General] jajk:
Beta Android 6.0 version added to O.P
[Redmi Note 2 General] digezter:
Hello, i need ur help. My Phone still cant Root after install this TWRP and also SuperSU V.2.78, does anyone have same issue ?? Can anyone help me ?

My Phone : Redmi Note 2 Prime

OS : MIUI 8.0.1 Stable Global Version
[Redmi Note 2 General] DeltaAlien:
When i Install beta recovery for 6.0 it wont open it just reboot in system again.
[Redmi Note 2 General] qwerzxx:
Install twrp 3.0.2-2 and decrypt data, password pls. Help me!
[Redmi Note 2 General] jajk:
[MENTION=7719623]qwerzxx[/MENTION] I am not responsible for you encrypting your data partition so have no idea what the password might be. If you play with early alpha and beta AOSP 6.0 firmware, expect some glitches or stay away until it is a stable release. Format the data partition to ext4 in TWRP to recover from the situation.

[MENTION=6291759]DeltaAlien[/MENTION] How did you install it? If coming from stock recovery, you must install TWRP then reboot into recovery straight afterwards (do not let phone boot into system) otherwise old stock recovery will reappear.

[MENTION=2388676]digezter[/MENTION] The question is related to 8.0.1 not TWRP. Always install the zip version of SuperSU while in TWRP. Do not install as an app or via Playstore as this does not replace existing su binaries - there is a difference.
[Redmi Note 2 General] DeltaAlien:
I flashed it via twrp and i tried also fastboot method.
[Redmi Note 2 General] FroZine:
Same for me....

Was on vovas aosp
[Redmi Note 2 General] jajk:
Version 3 of AOSP 6.0 compatible version is up.

Kernel is updated to 10.09 version and older versions removed to stop NOOBs encrypting their data partition and then crying:crying:

All problems are due to

what you do

and what the AOSP 6.0 ROM does to your phone. AOSP 6.0 is an early BETA intended for skilled users, why it attracts NOOBs I do not know:confused:
[Redmi Note 2 General] slumslayer:
I'm having trouble installing 5.x roms with this one, it doesn't find the system device (it's looking for it under /dev/block/platform/mtk-msdc.0/by-name/, which is moved to /dev/block/platform/mtk-msdc.0/11230000.MSDC0/by-name/). Even reverting to 5.x version of twrp did not fix it. Did I miss something ? (I didn't install AOSP 6.0, but I was planning to try it in a couple of releases ;) )

Anyway, thanks to the terminal available in the advanced options of TWRP, I was able to create a symbolic link so that by-name was available under /dev/block/platform/mtk-msdc.0/.
[Redmi Note 2 General] sayedibnmasud:
Same problem. :(

Also I can't flash GApps pico either. Facing error 70. (Insufficient storage in /system).

Is there any way to revert back to previous twrp 2.8.7?

Redmi Note 2 with 6.9.29 Chinese dev rom
[Redmi Note 2 General] jajk:
Turbo version out in O.P only for 5.02 and 5.1 based ROMs
[Redmi Note 2 General] ufonek:
All right, I installed. But the frequency of the processor is still 1,95MHz.
[Redmi Note 2 General] jajk:
[MENTION=5719128]ufonek[/MENTION] The cpu is only "unlocked" for higher frequencies while in TWRP. If you boot up to system, you are using the stock kernel, not the one that TWRP is using.
[Redmi Note 2 General] vipkokata:
Turbo TWRP work on MIUI 8 last dev ?
[Redmi Note 2 General] jajk:
[MENTION=4581926]vipkokata[/MENTION] Turbo works for everything that is

not

AOSP 6.0. The difference you will see is faster backups and restores, everything else will appear the same as the non-turbo version.
[Redmi Note 2 General] blltzs:
can i use this twrp for both 5.1.1 roms and the mm one from nofearnohappy?
[Redmi Note 2 General] Alptraum90:
It makes sense for there to put RNPrime this
[Redmi Note 2 General] Brkge:
The normal one is for both. But the Turbo one is lollipop only.
[Redmi Note 2 General] blltzs:
Ok thank you. But i think im gonna wait till camera works in nofearnohappy's cm13
[Redmi Note 2 General] Brkge:
Camera isn't the only problem. UI is si buggy that you can't even switch between apps in recents menu or scroll down in apps well.
[Redmi Note 2 General] blltzs:
I didn't know about the ui bugs. Why isn't it mentioned in the rom's OP already?
[Redmi Note 2 General] Brkge:
It is mentioned as "Interface freezes" and was mentioned as "sticking interface" before.
[Redmi Note 2 General] plesit:
cannot use Aroma FM

i cannot use aromafm in 3.0.2-2 Turbo..

did anyone use aromafm on Turbo Edition?

sorry for my english..
[Redmi Note 2 General] Brkge:
I am on your normal TWRP (nonTurbo one) with RR6.0 from 4pda. When I boot into TWRP my battery percentage seem to be less then normal. It jump 20 or 30 percantage mostly. And If I boot back to my System, It stays with wrong one written by TWRP. It was 32 before I booted TWRP. It changed to 3 and stayed on 1 for an hour at least. Weird thing is: If I flash any zip to System the percentage changes to normal I guess (Can't confirm but what I see is when I first boot TWRP, the percentage is less than the one I see when I finish my job in TWRP.