[HTC One X+] explorer2612:
how to copy twrp restore files to htc one x+

:o :cool: :victory: Yes, I did solved my problem on my own after googling right here at XDA Forum. The solution is quite simple, if you know the basics of what you are doing.

If you had the same problem as mine I would assume you already unlocked your hox+ and upgraded the firmware to a higher version, right?

First, download the files you will need-

a. HTC One X+ Toolkit v3.0 (you can get the download link from here - http://xdaforums.com/showthread.php?t=2430358)

b. miniadb_inc.zip (you can get the download link from here - http://xdaforums.com/showthread.php?t=1600904)

c. TWRP recovery files you want to install. Note I used TWRP backup 2.18.401.2 files (you can get the downlink from here - http://xdaforums.com/showthread.php?t=2414238). It's a 681.5MB zip file.

Please note, I have an international version of HOX+ and may not be the same as yours. Anyhow, these are the steps.

1. Connect phone to PC.

2. Extract miniadb_inc.zip into a folder in the root drive C:\.

3. Go to HTC One X+ root drive (1) create new folder "data" (if it doesn't exist) and (2) create new folder "media" inside "data" folder (if it doesn't exist)

4. Extract the 681.5MB zip file to a folder inside the miniadb_inc folder. Rename the folder in the format YYYY-YY-YY--YY-YY and then place it inside C:\miniadb_inc folder. NOTE: Do not use spaces when you rename the folder).

5. Run HTC One X+ Toolkit v3.0 and flash recovery TWRP International (after successful flash, unplug phone from pc and reboot phone, it should normally).

6. Boot phone to recovery mode (power off, hold volume down while pressing power button switch on)

7. Hightlight or scroll down to "fastboot" and press power.

8. Connect to phone again to pc.

9. On the pc, go to folder C:\miniadb_inc, right-click anywhere while pressing shift key to run a command window prompt.

10. On the command prompt (while the phone connected), type "adb devices" (without quotes) and it should return the value "XXXXXXXXXXXX recovery" which is the serial number of your device, if phone is detected it means all should work well.

11. On the command prompt, type -

"adb push /data/media/TWRP/BACKUPS/XXXXXXXXXX/YYYY-YY-YY--YY-YY" (without quotes)

where 'XXXXXXXXXXXXX' is the serial number of your device and 'YYYY-YY-YY--YY-YY' is the folder of TWRP backup files copied inside C:\miniadb_inc.

12. If the everything is alright, the files will be copied to your phone one by one, after that you can run TWRP to flash the backup rom to your phone. Be patient, the copying process will take about 20 mins or so.

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

IMPORTANT NOTE ON COPYING TWRP BACKUP FILES:

Initially, I do not know where to copy the files to my phone where TWRP restore can recognize or read the backup files. What happened to me was, after the backup folder were copied to the phone, I ran TWRP to restore, but the "YYYY-YY-YY--YY-YY" backup wasn't shown on the list. So, what I did was I ran TWRP in recovery mode and made a test backup. This is to know where the location of the backup folder should be copied. Using File Manager when in TWRP recovery mode, locate the test backup folder "YYYY-YY-YY--YY-YY" and rename it to "MY-TEST-BACKUP" (this is only for easy identification of the folder).

1. I restarted my phone, explored HTC One X+ media drive on my PC and I found that the test backup files are located in this location - /data/media/TWRP/BACKUPS/XXXXXXXXXXXX/MY-TEST-BACKUP (where XXXXXXXXXXXX is the serial number of the device and MY-TEST-BACKUP is the folder of the test backup made earlier).

but -

2. On my phone, when I ran TWRP in recovery mode, explore Advanced-File Manager, I found out that the test backup folder I created was located here - /data/media/0/TWRP/BACKUPS/XXXXXXXXXXXX/MY-TEST-BACKUP.

I do not exactly how it will turn out on your case, but the important thing you need to do here is to move the backup folder "YYYY-YY-YY--YY-YY" to the location where the same "MY-TEST-BACKUP" is located, so TWRP restore can read the backup file. I did this using File Manager when in TWRP recovery mode (doing this using pc connection will obviously not work because of very same reason why this issue was posted).

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

Hope helps you in anyway.

Cheers !!! :cowboy: :fingers-crossed: :victory:

Disclaimer: This post is only a guide, do it at your own risk, I will not be responsible if you brick your device following this guide. Good luck.