How To Make a System Dump Flashable? - General Questions and Answers

How would you be able to make a system dump into a flashable .zip?
I read that it's in the META-INF folder and files but I have no seen any guides on how to create that.
Any help would be appreciated.

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

I need help! I can not open the system.img

I want to modify the Saihon X6 ROM, but the system.img is different from I've ever met, they put the system.img into 8 img, now do not know how to load, don't know how to modify it, I need help, need a detailed tutorial. Thank you
ht tp://pan.baidu.com/s/1pJAvLer
if u wanna extract system.img then use dsixda kitchen.
put the img file in update original update folder then go to cygwin and choose make a working folder from rom.
it will identify your img file and then give an opt to extract it.

Edit .sin file

Hello everyone,
I am tying to make a "light" official rom of the Z3 by removing some *.apk of an *.ftf file.
I have extracted all the folders from the *.ftf (ftf - system.sin - system.ext4 - files...) and removed all the apk I don't want, but I don't know how to make a new "system.sin" from all the files I have extracted. I looked from the internet, but I am a little noob.
Can someone help me to build a new *.ftf file to flash it with Flashtool ? :crying:
Dracow said:
Hello everyone,
I am tying to make a "light" official rom of the Z3 by removing some *.apk of an *.ftf file.
I have extracted all the folders from the *.ftf (ftf - system.sin - system.ext4 - files...) and removed all the apk I don't want, but I don't know how to make a new "system.sin" from all the files I have extracted. I looked from the internet, but I am a little noob.
Can someone help me to build a new *.ftf file to flash it with Flashtool ? :crying:
Click to expand...
Click to collapse
As far as i known you can't edit .sin / .ftf files as they are signed using sony private key that no one has...
Technical info here:
https://gist.github.com/dosomder/8ed79b26a5e063efa5ef
"And that is the reason why we can not create custom firmwares for Xperia. If you still don't understand, RSA is an asymmetric function.
This means it's using a private key to create the signature and a public key to read it. So even if we find the public key
(which is somewhere on the device), we can never find or guess the private key. Therefore we can not create a valid signature."
But you can create a .zip firmware to be flashed via recovery
I used Flashtool-sin editor on "system.sin" that give me "system. ext4".
With ext2explore I opened " system.ext4" and extracts all files and folders (app, privateapp, etc, build.prop...).
From folders "app" and "privateapp", I removed the *.apk I don't want, but I don't know if I can build a new " system.sin".
There is really no way to reverse ? Make a "system. ext4" from the folders I modified, and convert it in "system.sin" ?
If we can do something in a way, can't we do it on "reverse way" ?
Dracow said:
I used Flashtool-sin editor on "system.sin" that give me "system. ext4".
With ext2explore I opened " system.ext4" and extracts all files and folders (app, privateapp, etc, build.prop...).
From folders "app" and "privateapp", I removed the *.apk I don't want, but I don't know if I can build a new " system.sin".
There is really no way to reverse ? Make a "system. ext4" from the folders I modified, and convert it in "system.sin" ?
If we can do something in a way, can't we do it on "reverse way" ?
Click to expand...
Click to collapse
It cannot be done. 100% impossible.
If you want to make your own rom Google [NUT]'s method to create your own rom.
There is also a tool to create your own prerooted flashable zip, but if course, all of this requires root
Thanks a lot for all your answers...
I won't try to make it in zip...

How repack system folder in system.new.dat?

Hi,
I am trying to port a rom, it had the file system.new.dat, I managed to extract the system folder from it, now I have made the changes I wanted, but I need to return the system folder to be system.new.dat
Or if there is any flash without having to go back to .new.dat
someone help me please!!

Trying to Create Flashable Zip from TWRP Backup

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

Categories

Resources