Trying to Create Flashable Zip from TWRP Backup - HTC U11 Questions & Answers

Hello I have two HTCu11's one is completely untouched the other has been customized. On the untouched I have loaded TWRP and the disable encrypt with magisk. I did a factory reset on the untouched to where it was literally sitting at the Welcome screen. I then took a backup which obviously I should be able to use on any U11 with the right signature. I want to now create a flashable zip so I moved the files to my pc. The guide I was reading says:
You’ll see a file named system.ext4.win which is the System partition backup of your device. Rename it to system.ext4.tar (Changing its extension from .win to .tar)
However in my backup there are three files named:
system.ext4.win000
system.ext4.win001
system.ext4.win002
Logic would just say that this is a split archive and I need to rename all of them to .tar and then do the unzip. Is this correct?
If there is a better guide for creating a flashable zip from TWRP I would gladly look at it. The guide I was using is:
Create Flashable Zip From CWM/TWRP Backup
Create Flashable Zip from a Nandroid backup and flash them using any of the recovery. Follow this step-by-step guide to make a flashable Zip by yourself.
www.droidviews.com
Thanks

So I got an answer on renaming files which was to just rename them to win000.tar, win001.tar, and win002.tar. Next opened the archive with 7-Zip and extracted to a completely different folder called NewHTCU11. A lot of the stuff extracted however there were supposedly according to 7-zip 15 errors. All were the same where it stated:
Can not open output file. The system cannot find the path specified. S:\(specified directory\specified filename

Related

[GUIDE] How to extract Clockworkmod Images

As it seems to be a fairly common question, here is a guide on how to extract your clockworkmod recovery images.
This can come handy if you only want to extract certain apps, or files.
Put your Clockworkmod images in a folder on your computer.
Download this and put it in there, too.
Extract it in there.
Open a cmd-prompt in this folder.
Use this command to extract your data:
Code:
unyaffs.exe img_name_to_extract.img
Wait. the tool will display "end of image" when it is done.
Done. The data should be in the same directory as the tool is.
If you want to restore your contacts:
Extract the data.img
Your contacts will be in:
Code:
\data\com.android.providers.contacts\databases
I have not written the program used in this guide, just found it on my harddrive.
thanks much. so helpful
helped me to pull out contacts
I first had to download and install cgwin1.dll from here http://www.dll-files.com/dllindex/dll-files.shtml?cygwin1 and place it in the windows directory to get this to work. But after proceeding I get a "broken image file" when trying this on recovery.img and same thing with boot.img.
I am simply trying to recover some data from this nandroid backup specifically pictures in the sdcard/DCIM directory but I have no idea where it is. Is it located somewhere in the data.ext4.rar or system.ext4.rar files? If so I have looked through those and could not find a DCIM directory of any kind. Would anyone be kind enough to direct me?
Thanks
JDubbed said:
I first had to download and install cgwin1.dll from here http://www.dll-files.com/dllindex/dll-files.shtml?cygwin1 and place it in the windows directory to get this to work. But after proceeding I get a "broken image file" when trying this on recovery.img and same thing with boot.img.
I am simply trying to recover some data from this nandroid backup specifically pictures in the sdcard/DCIM directory but I have no idea where it is. Is it located somewhere in the data.ext4.rar or system.ext4.rar files? If so I have looked through those and could not find a DCIM directory of any kind. Would anyone be kind enough to direct me?
Thanks
Click to expand...
Click to collapse
You won't be able to do that. The recovery does not backup the sdcard.
Thank you very much ,it help me much
Cheers buddy! Needed this to extract my data backup

[Q] XXKG5 files for ODIN

Hi,
I need help from kind heart people in this forum if they can help to re-packaged the XXKG5 files from xda-developer into ODIN flashable files like example
CODE_I9100XXKG5_xxxxxx.tar.m d5
MODEM_I9100XXKG5_xxxxxx.tar.md5
GT-I9100-CSC-xxxxxx.tar.md5
I have downloaded the XXKG5 files from xda-developer BUT the package contains files like boot, cache, factoryfs, hidden, modem, param.lfs, sbl and zImage of which I cannot flash with ODIN.
Any help would be greatly appreciated as I would like to have XXKG5 on my SGS2.
Thanks.
i guess you extract the .tar file don't you? just double click 7e file that you originally download and use the extracted file as it is. do not need to extract once again.
prydoxs said:
i guess you extract the .tar file don't you? just double click 7e file that you originally download and use the extracted file as it is. do not need to extract once again.
Click to expand...
Click to collapse
I didn't. Yes I extracted the first compressed file dowloaded. Then all I get are the files like in Image 1. Since Odin cannot flash the compressed file in Image 1....IF I extracted the compressed file in Image 1 then all I get are the files like in Image 2...
As you can see, either way I can't flash with Odin.
If you downloaded from xda it shouldntt look like that.You only need to double click on the file and it extracts.if you didn't download from here then here it is
http://forum.xda-developers.com/showthread.php?t=1075278
Read the first notice part about extracting the file to make sure you understand clearly.

[Modify BOOT LOGO!] Samsung Galaxy S6

Welcome. Today I am going to teach you how to modify your android boot logo!
Modify at your own risk! I strongly recommend that you do not try this. But if your going to attempt this, make a BACKUP! I will explain the backup process down the page!
This method has been tested on the Galaxy S6. I RECOMMEND you do NOT attempt this method on any other smartphone other than the S6!
I own a Samsung Galaxy S6 [SDK21 ARM64] and my carrier is Straighttalk. This method might possibly work with the newer Android smartphones. In other words, attempting to do my method will probably not work with androids running 4.4.2 or lower. I will first explain why.
According to what I researched, there is a file in the root directory of the Android system that contains a file called "initlogo.rle". That is your boot logo. Older Android phones had this. The .rle is a bitmap extension and cannot be edited with Android. Actually, let me rephrase that, the .rle COULD MAYBE possibly be edited if you were to download the right tools off of the Play Store but computers can identify .rle as a bitmap very easily and can be opened. Windows computers can open .rle according to what I researched.
The initlogo.rle is also part of the boot.img. The boot.img contains the kernel and the boot files (like init.rc), that are necessary for the phone to boot up. Modifying your boot.img requires a computer. You can't just replace the initlogo.rle with another one. To make changes to a boot.img, you need to unpack the ramdisk, replace or modify the files, repack, and THEN flash the modified boot.img to make the changes.
Newer Android smartphones don't have initlogo.rle. Or at least MINE doesn't. Instead, I had to search for my boot logo which took my quite a while. After searching deep into the android system and messing around with the files, I came accross PARAM.
If you were to go in the /dev/block/platform directory, you would come accross a file called PARAM. Mine was in the directory /dev/block/platform/15577000.ufs/by-name. Inside that directory is basically the whole system. You will find files like BOOT, EFS, OTA and all that. You will also notice that all those files look empty. They all show 0.00B. I don't know exactly why that is, but they aren't really empty files.
My official boot logo was in the file "PARAM". What I did was copied it to my internal directory and attempted to extract it. After trying different extensions, I founded out that .tar is the correct extension. So to extract it, I renamed "PARAM", to "PARAM.tar". After doing that, you will be able to actually extracted it and be left with files with .jpg. Basically pictures inside it. I used root browser. :good:
Inside, you should find "logo.jpg". And whatta ya know! It's your boot logo!
I used PicArt to create a custom boot logo. It is a really great app! You can get it off the Play Store. Then I renamed it to logo.jpg and replaced the original logo.jpg with my newer one. Make sure it is named "logo.jpg" or there will be errors!
Now the last step is to archive the files through .tar format. I used root browser to do that. To correctly archive the files, multi-select the .jpg files. In other words, DON'T SELECT THE "PARAM" FOLDER!!!
When archiving the files, use LZMA compression option along with tar.(Look for that with root browser). This will not compress the files as much which will reduce the risk of errors.
Once it's archived, rename the new archive file to just "PARAM".
LAST STEP! Before overwriting your PARAM, copy your modified PARAM into the /system folder and set the correct attributes (PERMISSIONS) to -rwxrwxrwx. Now you are ready. Copy "PARAM" to the same director where you originally got your unmodified PARAM file. It will ask you if you want to overwrite. Say yes.
I was now introduced with a different boot logo. My phone never got bricked during the process. However, with Android, ANYTHING can happen, so I will give you some advice. If you have a custom recovery, you can easily restore PARAM. Make a copy of your original PARAM and put it in your internal directory. If something ever goes wrong, you can use the file manager (like with TeamWin) and replace the currupt PARAM with your backup PARAM. Then set the permissions to -rwxrwxrwx or 0777
I strongly recommend that you do not try this. Yes, I took the risk and was able to safely change my boot logo. However, not all Android devices are the same so be very careful if you are attempting to do this one an Android device OTHER than the Galaxy S6.
Leave comments if you have any questions!

[Completed] Need an update to my RK3066 that isn't in RAR type but rather ZIP.

i need an update to my RK3066 to 4.4.4 kitkat that isn't in RAR type but rather zip. I've downloaded a couple different ones from the Malaysk profile on XDA and then converted to zip only to have my device recognize it as a bad file. any options?
Hi !
What did you use to convert it ? The zip or rar are the same
You maybe want a zip file in order to flash it in recovery but you have downloaded a rar which isn`t recognized
Open the rar archive and use the files from inside of it , it may contain an image an you have to use that one
Good luck !
xanthrax said:
Hi !
What did you use to convert it ? The zip or rar are the same
You maybe want a zip file in order to flash it in recovery but you have downloaded a rar which isn`t recognized
Open the rar archive and use the files from inside of it , it may contain an image an you have to use that one
Good luck !
Click to expand...
Click to collapse
i did try and flash update w/ the rar but the tablet didn't recognize a rar ext. So i converted to a zip and the tablet stopped because it stated it was a bad file. I thought something may have messed up during the conversion and did it again but same result. I've looked everywhere for updates to 4.4.4 for this tablet but no luck. the ones that i did try and flash would open update and then abort the install.
As I said, I understand what you have tried, now please listen to me, the rar file is not a flashable zip and you cannot just convert it to zip in order to flash it, the flashable zip file results from building the ROM not converting rar to zip
Rar and zip are indeed both archives but the zip you need is a flashable zip as I mentioned above
Open that rar and tell me what you have inside
As for roms, if here on xda aren't available then contact the manufacturer's website or go deeper into Google, as far as I can see there is no ROM for your device here on xda
Sent from my Darkside of Oneplus 3T

TWRP install files for Fairphone 3

Hello,
First post here though in the past I have read discussions on many occasions in search for information and it was always to my benefit, thank you.
My question revolves around the TWRP installation files for Fairphone 3.
On the TWRP website (https://twrp.me/fairphone/fairphone3.html#) are given 2 files, a twrp-installer-.......zip and a matching version of a twrp- ........img, and from the instruction given it is not clear to me what is the purpose of the .img file - are both used concomitantly during the installation, or not.
At one early and critical stage the TWRP instduction reads:
"...Download the correct image file and copy the file into the same folder as your platform-tools as well as device's storage. Rename the image to twrp.img."
Since the file needs to be renamed to .img apparently it is the original installer.zip.
The entire instruction afterwards refers to this downloaded and renamed file.
What then is the the purpose of the matching .img file? Is it used at all? The TWRP installation instruction doesn't even mention it.
Sorry for asking if this is common knowledge, but I did several searches all to no avail.
Thank you

Categories

Resources