FORUMS
Remove All Ads from XDA

[Tools][windows][Pie]Auto System Image Exctractor

614 posts
Thanks Meter: 521
 
Post Reply Email Thread
==============================================
Auto System Image Exctractor
==============================================

==============================================
Supports
1) system.new.dat
2) system.new.dat.br
3) payload.bin
==============================================


==============================================
Requiremnets
==============================================
1. python v3.x
2. 7-Zip
Note 1: make sure your environment variables path is correctly set for python and 7-Zip(set it in system properties-->advance-->environment variable-->path)
Note2: while installing python, set the environment variables in installer itself

==============================================
How To
==============================================
1) extract system_new_dat_extractor.zip into a folder and open extractor.cmd
2) select your rom zip file for which you want to extract system.new.dat
3) wait for few seconds
4) folder named system will open, once it has finished extracting
5) have fun tweaking


==============================================
Credits
==============================================
1) And_pda for imgextractor
2) xpirt for sdat2img.py
3) google
4) cyxx
5) ius




==============================================
Change-log
==============================================


Code:
* initial release

-----------------------------

V2 supports Nougat
converts file_contexts.bin to file_contexts

-----------------------------

V3
Now Supports
1) system.new.dat
2) system.new.dat.br
3) payload.bin








source
The Following 10 Users Say Thank You to chiragkrishna For This Useful Post: [ View ] Gift chiragkrishna Ad-Free
 
 
17th January 2017, 07:54 AM |#2  
Account currently disabled
Thanks Meter: 141
 
More
Im testing m8
20th January 2017, 02:31 AM |#3  
Senior Member
Thanks Meter: 207
 
More
Note: make sure your environment variables path is correctly set for python and 7-Zip(set it in system properties-->advance-->environment variable-->path) @chiragkrishna, pls explain me or help me clear instructions. tks so much
21st January 2017, 05:54 AM |#4  
chiragkrishna's Avatar
OP Senior Member
Flag bangalore
Thanks Meter: 521
 
More
Quote:
Originally Posted by romano19

Note: make sure your environment variables path is correctly set for python and 7-Zip(set it in system properties-->advance-->environment variable-->path) @chiragkrishna, pls explain me or help me clear instructions. tks so much


add the location of your python(C:\Program Files (x86)\Python27) and 7-Zip(C:\Program Files\7-Zip) to the path!!!
The Following 3 Users Say Thank You to chiragkrishna For This Useful Post: [ View ] Gift chiragkrishna Ad-Free
28th February 2017, 06:09 PM |#5  
svandasek's Avatar
Senior Member
Flag Czech Republic
Thanks Meter: 797
 
Donate to Me
More
Hello, nicie you made it, but how to repack it back to system.new.dat? Thanks for answering
28th March 2017, 04:47 PM |#6  
Member
Flag Petrer
Thanks Meter: 21
 
Donate to Me
More
supports system.new.dat from nougat?
17th June 2017, 04:03 PM |#7  
Jalava's Avatar
Member
Flag Parma
Thanks Meter: 3
 
Donate to Me
More
Hi, I receive the following error:
Quote:

WARNING
file_contexts not found!!

6th July 2017, 09:28 PM |#8  
Neo3D's Avatar
Senior Member
Thanks Meter: 528
 
More
Quote:
Originally Posted by Jancar 52 mcpe

supports system.new.dat from nougat?

Wondering the same thing, will this work on Nougat, LineageOS 14.1 ROMs?
10th July 2017, 07:05 PM |#9  
Member
Flag Petrer
Thanks Meter: 21
 
Donate to Me
More
Quote:
Originally Posted by Neo3D

Wondering the same thing, will this work on Nougat, LineageOS 14.1 ROMs?

I asked this because it doesn't support the file_contexts.bin, if it does not detect it or it does not support it I can not recompress it again, and at the time of installing that compressed package with the other files gives error
27th July 2017, 08:46 PM |#10  
chiragkrishna's Avatar
OP Senior Member
Flag bangalore
Thanks Meter: 521
 
More
Quote:
Originally Posted by Jancar 52 mcpe

supports system.new.dat from nougat?

Quote:
Originally Posted by Neo3D

Wondering the same thing, will this work on Nougat, LineageOS 14.1 ROMs?

Quote:
Originally Posted by Jancar 52 mcpe

I asked this because it doesn't support the file_contexts.bin, if it does not detect it or it does not support it I can not recompress it again, and at the time of installing that compressed package with the other files gives error

updated with Nougat support
converts file_contexts.bin to file_contexts text file
27th September 2017, 08:17 PM |#11  
minibraun's Avatar
Member
Thanks Meter: 34
 
More
My simple script - Python not needed
Hi chiragkrishna, thank you for the tool.
Unfortunately it doesn't work for me, it gets stuck on the file_contexts.bin

In light of this I made my own super simple bat file, that extracted the whole system folder successfully.
Then I went a step further and created a EXE from the provided python script, so there would be no python requirement.
But you do have to manually unzip the system.transfer.list and system.new.dat files from your rom (turns out, no other files required for Nougat).

My simple script:
  • works on Nougat (tested on 7.1.2 NitrogenOS)
  • no Python needed
  • just unzip system.transfer.list and system.new.dat files, and place them in rom folder
  • run start.bat
Attached Files
File Type: zip Newdat_Extract_WIN.zip - [Click for QR Code] (3.88 MB, 3532 views)
The Following 22 Users Say Thank You to minibraun For This Useful Post: [ View ] Gift minibraun Ad-Free
Post Reply Subscribe to Thread

Tags
extract, payload.bin, system image, system.new.dat, windows

Guest Quick Reply (no urls or BBcode)
Message:
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes