Guest fonix232 Posted May 15, 2011 Report Share Posted May 15, 2011 (edited) FOR EXPERIENCED USERS ONLY! With a lot of help from my friend CodeNeos and based on cpg's research, I present you, the easy-to-use, informative, Gen2 TPT extractor/generator! This simple tool makes life easy - not just extract and repack on the blind, see all the information you need! Everything ordered on a nice UI, easy to use, yet effective, fast, and powerful! Features: - Extract any BIN file - Create a BIN file from MBN and IMG files (partition and partition_zte mbn's are required, tool checks for that) - See a content of a BIN TPT update without extracting it - Extract only selected files Coming: - Partition editor for Gen2 firmwares - YAFFS2 browser to go deeper! - A nice all-in-one GUI To work, these tools require .Net4! Your look may differ from the seen - although should be almost the same as on the pictures. Changelog: 2011.05.15 - V1.1 - Extractor: Extract selected function 2011.05.15 - V1.0 - Initial release WARNING This tool is NOT for beginners, or intermediates. This is to help the life of the developers, so, if you DON'T KNOW what you're doing, STOP NOW. Do NOT even download it. Also, do NOT mix Gen1 and Gen2 TPT files, only if you know what you're doing! It is EXTREMELY DANGEROUS! I do not take any warranty if your phone bricks, burns, explodes, barkes from using this tool. You've been warned. Gen2_TPT.zip -- MD5: 1e4bd2d4e1bec3cc144c8e32943ef34c Edited May 15, 2011 by fonix232 Link to comment Share on other sites More sharing options...
Guest wbaw Posted May 15, 2011 Report Share Posted May 15, 2011 But cpg's tool is much easier to use & will compile for any system. I don't see the point in this at all. http://android.modaco.com/index.php?s=&...t&p=1693458 Link to comment Share on other sites More sharing options...
Guest fonix232 Posted May 15, 2011 Report Share Posted May 15, 2011 But cpg's tool is much easier to use & will compile for any system. I don't see the point in this at all. http://android.modaco.com/index.php?s=&...t&p=1693458 cpg's tool has no security checks (this one has, and more coming, take a look at the upcoming features), and it's not GUI based. With this, you can see everything about the BIN file, without even extracting it! Link to comment Share on other sites More sharing options...
Guest hedgepigdaniel Posted May 15, 2011 Report Share Posted May 15, 2011 I think this is an excellent idea. Being able to edit the contents of .img files and editing the partition layout with a GUI would be awesome I tried it with the China Unicom update. taking the original image.bin, and using this tool to go to TPT files and then back to another image.bin, the two image.bin's are not identical. If i take the TPT files I extracted and then go TPT>image.bin>TPT then the TPT fiels are identical. If i convert the Comviq TPT files to image.bin and back they are identical, but cefs.mbn is missing. Is this intended/why? Link to comment Share on other sites More sharing options...
Guest fonix232 Posted May 15, 2011 Report Share Posted May 15, 2011 I think this is an excellent idea. Being able to edit the contents of .img files and editing the partition layout with a GUI would be awesome I tried it with the China Unicom update. taking the original image.bin, and using this tool to go to TPT files and then back to another image.bin, the two image.bin's are not identical. If i take the TPT files I extracted and then go TPT>image.bin>TPT then the TPT fiels are identical. If i convert the Comviq TPT files to image.bin and back they are identical, but cefs.mbn is missing. Is this intended/why? The bin files won't be identical as the file order isn't hardcoded (except for partition.mbn and partition_zte.mbn). But the files in the BIN are identical, just in another order (check cpg's layout, and do a diff on the header, you'll see what I mean!) Cefs.mbn is missing because a, it isn't flashed by TPT b, it caused the IMEI problem with the EXE downgrade. Link to comment Share on other sites More sharing options...
Guest hedgepigdaniel Posted May 15, 2011 Report Share Posted May 15, 2011 The bin files won't be identical as the file order isn't hardcoded (except for partition.mbn and partition_zte.mbn). But the files in the BIN are identical, just in another order (check cpg's layout, and do a diff on the header, you'll see what I mean!) Cefs.mbn is missing because a, it isn't flashed by TPT b, it caused the IMEI problem with the EXE downgrade. OK, makes sense. is cefs.mbn not flashed by an image.bin either? Link to comment Share on other sites More sharing options...
Guest fonix232 Posted May 15, 2011 Report Share Posted May 15, 2011 OK, makes sense. is cefs.mbn not flashed by an image.bin either? Nope, it is only flashed by the ZTE flashing tool (any EXE installer). Link to comment Share on other sites More sharing options...
Guest anglergab Posted May 15, 2011 Report Share Posted May 15, 2011 Hi! 1. Are the firmware updates distributed in some countries in the form of image.bin files? In Hungary, I haven't heard about image.bin files. You are from Hungary as well, so could you explain a bit about this image.bin format and its usage? 2. Do you think that the amss.mbn from the Hungarian T-Mobile Froyo update exe (sysdy\files) can be put into wbaw's Gen1 -> Gen2 TPT without bricking the phone? (in wbaw's TPT one can find the Swedish radio mbn, I'd like to have the Hungarian one on my Blade). Link to comment Share on other sites More sharing options...
Guest fonix232 Posted May 15, 2011 Report Share Posted May 15, 2011 Hi! 1. Are the firmware updates distributed in some countries in the form of image.bin files? In Hungary, I haven't heard about image.bin files. You are from Hungary as well, so could you explain a bit about this image.bin format and its usage? 2. Do you think that the amss.mbn from the Hungarian T-Mobile Froyo update exe (sysdy\files) can be put into wbaw's Gen1 -> Gen2 TPT without bricking the phone? (in wbaw's TPT one can find the Swedish radio mbn, I'd like to have the Hungarian one on my Blade). 1. The image.bin format is used on already-Gen2 phones (like the chinese Blade, it got an update, that's where from we know the file format). The Gen1-Gen2 transition was an exe as it needed to repartition the modem areas too - that's why it could not be done via a simple TPT. This is basically the same as the normal TPT, just in one file. Usage is same, put into /sdcard/image, pull battery, switch on with holding Menu, VolUp, and Power, a bar will appear, and when finished it'll reboot. Done :unsure: 2. I guess you can but you should ask wbaw about it, if it was changed or not! Link to comment Share on other sites More sharing options...
Guest hecatae Posted May 15, 2011 Report Share Posted May 15, 2011 thank you for this, running official froyo for t-mobile hungary at present, perfect for testing this with Link to comment Share on other sites More sharing options...
Guest ThrashMan Posted May 15, 2011 Report Share Posted May 15, 2011 I have no idea what any of the above means, but I thank you for your (and CodeNeos') work. Link to comment Share on other sites More sharing options...
Guest Jekle Posted May 15, 2011 Report Share Posted May 15, 2011 Hi! 1. Are the firmware updates distributed in some countries in the form of image.bin files? In Hungary, I haven't heard about image.bin files. You are from Hungary as well, so could you explain a bit about this image.bin format and its usage? 2. Do you think that the amss.mbn from the Hungarian T-Mobile Froyo update exe (sysdy\files) can be put into wbaw's Gen1 -> Gen2 TPT without bricking the phone? (in wbaw's TPT one can find the Swedish radio mbn, I'd like to have the Hungarian one on my Blade). I replaced the amss.mbn and amsshd.mbn yesterday but make sure you keep them together, I think the Hungarian amss gives me 1-2 bars in a dead spot (before) I had the Swedish one and I got no signal, it's well worth doing. Link to comment Share on other sites More sharing options...
Guest t0mm13b Posted May 15, 2011 Report Share Posted May 15, 2011 Just like to voice my input into this: I think you should revert back to using Windows 2 Forms instead of WPF which is a disgusting code bloat and slow and a hog. Not alone that - targetting .NET 4 is overkill - should realistically target .NET 2 at the minimum for those who may not have the horsepower to run WPF apps. Thing is, personally, I would not download the .NET 4 runtime just to run your app. Always aim for the minimum spec for the wider audience and not just for you and your own machine which has more horsepower than the average blade hacker, a good chance that the average blade hacker runs on a Linux platform :unsure: Just my 2cents :) Link to comment Share on other sites More sharing options...
Guest wbaw Posted May 15, 2011 Report Share Posted May 15, 2011 (edited) Just like to voice my input into this: I think you should revert back to using Windows 2 Forms instead of WPF which is a disgusting code bloat and slow and a hog. Not alone that - targetting .NET 4 is overkill - should realistically target .NET 2 at the minimum for those who may not have the horsepower to run WPF apps. Thing is, personally, I would not download the .NET 4 runtime just to run your app. Always aim for the minimum spec for the wider audience and not just for you and your own machine which has more horsepower than the average blade hacker, a good chance that the average blade hacker runs on a Linux platform :unsure: Just my 2cents :) I agree, cpg's tool was much better. It just needs a simple android gui frontend really. The code he posted compiles easily for any platform, you just need gcc. There's a good chance that somebody that wants to run this has a zte blade, so something that runs on the zte blade would be the obvious choice. Edited May 15, 2011 by wbaw Link to comment Share on other sites More sharing options...
Guest hedgepigdaniel Posted May 15, 2011 Report Share Posted May 15, 2011 Ok, this program has much steeper and more specific requirements than cpg's code. But its requirements are hardly out of this world - I would say most people's computers run windows and wouldn't have a problem with this. I find that getting all the .net runtimes becomes inevitable after a while anyway. This program is distributed in compiled form, which makes life much easier for alot of people who don't have a compiler handy, and it has a GUI, which makes it much more convenient to use. If it supports automatic partition layout editing (and potentially automatic manipulation of anything else that can be done by editing a .mbn) then it has a lot of capabilities that cpg's tool doesn't. A simple GUI based tool could replace compiling your own program, running it from the command line, learning about the structure of .mbn files, and hex editing them. Besides all that, cpg's tool is still there for anyone to use, if they prefer it. Link to comment Share on other sites More sharing options...
Guest fonix232 Posted May 16, 2011 Report Share Posted May 16, 2011 Ok, this program has much steeper and more specific requirements than cpg's code. But its requirements are hardly out of this world - I would say most people's computers run windows and wouldn't have a problem with this. I find that getting all the .net runtimes becomes inevitable after a while anyway. This program is distributed in compiled form, which makes life much easier for alot of people who don't have a compiler handy, and it has a GUI, which makes it much more convenient to use. If it supports automatic partition layout editing (and potentially automatic manipulation of anything else that can be done by editing a .mbn) then it has a lot of capabilities that cpg's tool doesn't. A simple GUI based tool could replace compiling your own program, running it from the command line, learning about the structure of .mbn files, and hex editing them. Besides all that, cpg's tool is still there for anyone to use, if they prefer it. I'm working on the partition editor, and a YAFFS2 image manager too (I would need a C# version of it though). And yes you're right, most of the peole use Win7 now (and who doesn't, they don't have a PC powerful enough to extract a firmware fast, and repack it too). And on Win7, .Net4 is already available. The UI isn't that slow or a hog, as you said, wbaw, it is actually pretty fast, and works better than my first initial WinForms one. Faster, too, and has easier control (like, in WinForms, I can not make that nice message pop up, or disable the whole screen easily while extracting. WPF is also a lot more versatile, I've added the extract selected part without a hassle, while with WinForms I would have had to work for hours to get it properly working. So, it stays as-is. When the whole code is ready, I will publish the sources, and then you can make any UI for it - but with some limitation. The code will be published in GPL - with some appendix of mine, including the licensing of the apps based on this code: everything related must be GPL licensed too (or atleast open source). So wbaw if you do not like the UI, do better, noone will stop you. Link to comment Share on other sites More sharing options...
Guest tcpaulh Posted May 16, 2011 Report Share Posted May 16, 2011 Hmm, now I like wbaw and I like fonix232 as well, but which one is better? There's only one way to find out... Link to comment Share on other sites More sharing options...
Guest hecatae Posted May 16, 2011 Report Share Posted May 16, 2011 anyone made an image.bin yet? Link to comment Share on other sites More sharing options...
Guest fonix232 Posted May 16, 2011 Report Share Posted May 16, 2011 anyone made an image.bin yet? Yep, me, flashed it, without problem. Link to comment Share on other sites More sharing options...
Guest Jekle Posted May 29, 2011 Report Share Posted May 29, 2011 Is a new version coming? Link to comment Share on other sites More sharing options...
Guest fonix232 Posted May 29, 2011 Report Share Posted May 29, 2011 Is a new version coming? What new you want in it? :D I'm a bit busy with school stuffs (oral exams etc coming) and my new tablet will arrive probably tomorrow, so... not too much work on it. But I'm still planning the one big unified TPT editor! Link to comment Share on other sites More sharing options...
Guest hecatae Posted November 2, 2011 Report Share Posted November 2, 2011 What new you want in it? :D I'm a bit busy with school stuffs (oral exams etc coming) and my new tablet will arrive probably tomorrow, so... not too much work on it. But I'm still planning the one big unified TPT editor! any news on the new version? Link to comment Share on other sites More sharing options...
Guest cryoglobe Posted May 15, 2012 Report Share Posted May 15, 2012 I wanted to use it to create a TPT image base on the nandroid backup I took of my skate ( just after installing the CWM ) ... as I need to send it back to the support ( GPS issue , i think ) But the software crashes just after I start the build ( and have choosen a target ) is this a known bug ? Link to comment Share on other sites More sharing options...
Guest shmizan Posted May 15, 2012 Report Share Posted May 15, 2012 (edited) the bug is you trying to operate a blade specific on a skate edit: and making such a shameless bump Edited May 15, 2012 by shmizan Link to comment Share on other sites More sharing options...
Guest cryoglobe Posted May 16, 2012 Report Share Posted May 16, 2012 (edited) Strange , because I only followed a explanation that explains how to reinstall a Skate to its original states .... and they were asking to use that tool And at that level , there is not yet any interraction with a blade .. As you can use a MicroSD reader , have the rom on your hardisk and build the stuffs on the MicroSD or hardisk directly ... Edited May 16, 2012 by cryoglobe Link to comment Share on other sites More sharing options...
Recommended Posts
Please sign in to comment
You will be able to leave a comment after signing in
Sign In Now