yashsingh1/xdaforums huggingface dataset:
[Upgrading, Modifying and Unlocking] rolfey:
The tool I'm now using is different to what Hellmuth started out with, and I now have a more reliable looking dump, the I've not dealt with this before, but if what I'm seeing is correct then we are well on the way to cracking this problem.

we started off using isnbtool to unpack Ciphone.bin (the image) and then pull out xip, imgfs from the flash partition but what I pulled out seemed to have missing bits, this time the tool used for extracting the partitions in the first place is called Idt, when I pull out XIP and IMGFS both the dump folders generated appear to have more of what I would expect to see, but I need confirmation really, so those of you that come under the heading of qualified head chef :)

please take a look at the tool and see what you think!

oh the small script that I'm using for now is only unpacking, I've not tried to pack it back up yet - that's today's job.

anyways here is the script that I'm using,

echo on

@echo ***************************************************************************

@echo *****************ROLFEYS SIMPLE CIPHONE kITCHEN V 1.00*********************

@ECHO ***************************************************************************

@echo ****************************30.1.2010**************************************

@echo ***************************************************************************

@Echo off

PING 2.2.2.2 -n 1 -w 6000 >NUL

@Echo on

cls

@echo ***************************************************************************

@echo make sure the bin file in folder is called Ciphone.bin or else it wont work

@echo ***************************************************************************

pause

.\Tools\viva Ciphone.bin

.\Tools\IDT.exe

@echo ****************************Step 1*****************************************

@rem Opening up the flash to give the OS.bin and the Pre files.

osnbtool -sp flash.NB0

pause

@echo ****************************step 2*****************************************

@rem dumping XIP and IMGFS

xidump -build flash.NB0.OS.NB

pause

@echo ****************************step 3*****************************************

md NewRom

let me know where you all get to.

Mike
[Upgrading, Modifying and Unlocking] Hellmuth:
Hi Mike,

very nice :D :cool: :D

What is the meaning of this ping

Where can I get those two tools

Today I have to go to birthday of my father but may be in the evening or tomorrow. I will test your Kitchen.

Grüße Hellmuth
[Upgrading, Modifying and Unlocking] NeuronNetwork:
im also asking the same thing :( you are the only one post it to the thread as of now :)

Happy Birthday to your father :)
[Upgrading, Modifying and Unlocking] rolfey:
Neuron, just give me your email address, and I'll send it straight away.

Mike
[Upgrading, Modifying and Unlocking] rolfey:
@Hellmuth,

The ping is just a simple delay for a few seconds, not required really :)

what I'm working on is to get the extracted XIP dumped data, and the imgfs dumped data, both listed in folders, and merge them back into the flash.nb0

If we can do that we should be able to compare the overall size of the Rom to the original.

Mike
[Upgrading, Modifying and Unlocking] needle2k:
Hi rolfey,

I send you a PM with....

thx
[Upgrading, Modifying and Unlocking] Nik--1:
!

The archive IDT, xidump and VIVA.

http://ifolder.ru/16176905
[Upgrading, Modifying and Unlocking] asger-shah:
idt tool and tortorial

here is the download link for the idt tool to unpack and reback rom

http://www.megaupload.com/?d=0YTKDMXW

and here is the tortorial video which i just made

http://www.youtube.com/watch?v=77bpmMUrI1c

Thanks

Asger shah
[Upgrading, Modifying and Unlocking] NeuronNetwork:
Welcome and Thank You Nik--1.. your first post with info to share, really helpful :) have you met hellmuth before somewhere? :o
[Upgrading, Modifying and Unlocking] MobileXT:
Thansk Asger shah,

:)

I know a lot of people is happy now with this tools because most of the ciphone owner they hated the CIFANS logo and now with this tools, we can bring it back the APPLE logo that was we waiting for a longtime. Excellent keep up the good work.:D
[Upgrading, Modifying and Unlocking] Nik--1:
kitchen for the C5/6

Hi!

Looking at the work hellmuth, asger-shah and others ...

I'm not familiar enough with the kitchens, but very impressed by the difference between making and the similarity of their results!

Look what I did:

Then I used the following files:

imgfstodump.exe

PKGTool.exe

G'Reloc. Exe

BuildOS.exe

ImgfsFromDump.exe

nbwork.exe

asger-shah and rolfey suggested a different path and a greater likelihood that it is correct. I hope soon we get the kitchen for the C5/6.
[Upgrading, Modifying and Unlocking] rolfey:
Hi Nik,

This way forward also appears to show promise :) maybe you can now dump xip.bin into a workable state using xipdump, if that works I guess you would have to see if you can find the tools to put it all back together - and then compare the size to the original rom :)

Mike
[Upgrading, Modifying and Unlocking] Hellmuth:
Hallo Nik,

:) Nice to have one more in the boat

I'm not familiar with the tools you are using

when understand right try this:

Do no Hexedit instead of This use asger-shah's tutorial.

There is created a File named Flash.nb0

Use your tools on that file

At the end you have to create a new file.

May be called Flash_new.nb0 with your tools

And the again put the Files together to CiPhone.bin or CiPhoneImage again as in asger-shah's tutorial

I'm now sure asger-shah's tools are the missing link.
[Upgrading, Modifying and Unlocking] rolfey:
Hellmuth,

have you tried out the tools in the script I was using yet, the output seems to look more promising don't you think?

Mike
[Upgrading, Modifying and Unlocking] Hellmuth:
**** my kitchen doesn't work any more.

BuildOS.exe always answer with

There is a Problem and the Program is closing.(see attached Picture)

I have an Old XP-Computer I used for this work but I Think I made a Microsoft update to much.

On my W7 Computer I doesn't work from the beginning

@Mike do you have the same problem ? (it should open by Double-click Buildos.exe)

@all does someone know what to do
[Upgrading, Modifying and Unlocking] Hellmuth:
No I didin't but I think you are on the Right way

Use XIDUMP to rebuild IMGFS.Bin again and then OSNBtool to rebuild the flash.nb0 I think that should work

I'm going to try this now

do you have ICQ ore soemthing else? If yes send me PM or Mail please I will contact you then if it is ok for you.

Grüße Hellmuth
[Upgrading, Modifying and Unlocking] Nik--1:
Step by step ...

Step by step ...

http://xdaforums.com/showpost.php?p=5496171&postcount=110

Rolfey, have you tried after osnbtool-sp flash.NB0 do the opposite transformation from flash.NB0.OS.NB in flash.NB0? This is also with osnbtool? If yes, what command to use? I'd like to know the process is reversible at this stage ...
[Upgrading, Modifying and Unlocking] rolfey:
Hi Nik,

Well this is the problem, I'm not a Rom Chef, this is my first venture, but the Rom is broken down into partitions, the inportant partition is the Flash.nb0 right! when that is broken down using osnbtools -sp osnbtool detects to composition of the partition and extracts flash.NBO.OS.bin and Flash.NBO.pre.

My understanding is to cook a Rom, we don't really need to touch the Pre file as this is logo's stuff. but we can further break down the OS, kernal and driver portion of the flash partiton but using xidump -build flash.NB0.OS.NB.

This will further extract the parts we need in workable folders, so at this point we could make changes to what we want without a problem :) - I think :rolleyes: but we need to know what tools we can use to put it all back together again, like you say reverse the process, this is where i'm struggling at the moment.

Mike
[Upgrading, Modifying and Unlocking] asger-shah:
amazing news but with a twist

hi i have been in contact with a person who develops roms basically hes a master chef for the ciphone and he has all the tools to develop the rom is very easy steps and he is the person who has created the wm6.5 rom in chinese but he will not share it with me because he is asking for $110 for the tools and the guide to do the whole process and i think that this is kind a ridicilous that he won't share and then asking for $110 is kind a ridicilous but at leaste i found out from him that we are extracting the .bin corectly to get the partition with my tool that i told rolfey about so it just getting further we need to learn so i will carry on asking my friend who lives in china to find someone eles who will give the tools for free but at least we are getting closer.

hopefully my friend will find someone soon!!!!

Thanks

Asger shah
[Upgrading, Modifying and Unlocking] MobileXT:
Please take a look on ROMMaster I don't know if this will help you guys the expert.

http://rapidshare.com/files/343556395/ROMMasterCE5_ver.1.9.3.zip.html
[Upgrading, Modifying and Unlocking] MobileXT:
ROMMaster V2

here is the link of the ROMMaster V2

http://xdaforums.com/showthread.php?t=249015
[Upgrading, Modifying and Unlocking] rolfey:
Hey, $110!!!

You have to be ****ting me!! well as far as I'm concered he can take that money and stick it up his arse!!

Sorry for the anger, but that really is a joke, no thanks I'm sure we can work it out for ourselves.

Mike
[Upgrading, Modifying and Unlocking] rolfey:
The big question for me is, whats the opposite of xidump? I am going to try and see if I can run xidump a different way.

Mike
[Upgrading, Modifying and Unlocking] rolfey:
Ok, I've hunted hight and low for a solution to this problem, we are going to need a seasoned cook in the house for this part, as I've said before we started with a flash.nb0, busted that down to flash.nb0.OS.nb, they have been busted down to 2 folders xip and imgfs! if anyone know the process to go back after changes have to been made to the OS, so we end up with a Flash.nb0 then please either post on here or pm me.

My eyes have gone square now :(

Mike
[Upgrading, Modifying and Unlocking] secc123:
Maybe useless but.......

Hey Mike, not sure if any of these tools are of any use to you guys - you may have already tried them.

http://www.eten-users.eu/index.php?showtopic=13131

1 of the devices i cook for is an ETEN and the tools work fine with them but unsure if they're any addition to the CiPhone.

Secc

Oh, i forgot to comment on the money grabbing chef - Tell him to shove it where the sun don't shine! The whole idea of cooking is sharing and helping - this guy needs to learn that, i would go on but i think the words i want to type to describe his attitude would be frowned upon by the mods LOL!!!!
[Upgrading, Modifying and Unlocking] asger-shah:
i feel the same way he is really is takeing the mick but no worries i will find those tools sooner or later.

Thanks
[Upgrading, Modifying and Unlocking] rolfey:
oh by the way, just in case any of you haven't got this script yet, here it is.

http://www.freedrive.com/file/1099927

obviously you'll have to add the ciphonel.bin, hey Secc, I would be interested to see what you make of the output of this, as you've seen this sort of thing before, what are you conclusions?

MIke
[Upgrading, Modifying and Unlocking] MobileXT:
NB0 tools

this tool should be able to unpack nb0 file.

http://rapidshare.com/files/343612121/NbfUtils-0.02-src.tar.gz.html
[Upgrading, Modifying and Unlocking] rolfey:
Mobile,

I can unpack the nbo files fine, the problem is after i've dumped the entire Flash partition in folder format, is how to get it back again - download my simple kitchen and run it against a Ciphone.bin, you'll see what I mean :)

Mike
[Upgrading, Modifying and Unlocking] MobileXT:
I see what you mean.
[Upgrading, Modifying and Unlocking] NeuronNetwork:
there is XIPPort in your uploaded idt zip file.. try that one against dumped xip..
[Upgrading, Modifying and Unlocking] Hellmuth:
Short analyse of oure situation

Hallo to all of you,

It seems to me we made the biggest step. We are now able to extract flash.nb0 from the CiPhoneImage (CiPhone.bin) and bring it back again.

This was really the missing link in the complete Process.

Now it become much easier to go on. There are different ways and a lot of tutorials here in XDA-Dev Forum.

Now I will share what I know about the Structure I think should be inside Flash.nb0

There should be two parts inside who are necessary for extract we can may be use OSNBtool or the Tool MobileXT suggested or...

1 IMGFS

(extract with IMGFStoDump or directly with IMGFSfromNB or with XIDUMP or....)

Inside are the programms like i.e. Fileexplorer Opera, Iphone UI, Outlook... all the programms that are installed.

And all the MUI-Files with the different languages we like to change (407German or 804 Chinese or....)

And different fond with different DPIs

And all the drivers needed to communicate with our C6

(And something more)

Some of the files belong together .exe with .dll and .mui files and .reg and...

This is called a Package.

But after the dump process we have a lot of unsorted Files in the Dump Directory we don't know witch file belongs to another.

Now we have to create Packages (In my Kitchen with Packagebuilder.exe)

Then we have two folders SYS with all the Packages and a OEM Folder with all the drivers.

SYS

Here we can delete complete Packages (may be Opera if you don't like it)

Or add New Packages you can find a lot of packages here inside the forum.

And we can change the Language MUI files here aswell

OEM

Here we should change nothing but the MUI-files

May be there are tools here in the forum to create packages directly from the flash.nb0 file or imgfs.bin or the files have other names (not sys or imgfs) I dont now I have only experience with the kitchen based on my old ETEN kitchen.

2 XIP

This is the actual OS WM6.1 or in future better WM6.5 (or WM7 :) )

I never made a change her but here are a lot of Tutorials inside the Forum.

This is only a gross incomplete overview.

I thought we could manage all these with the 0.2 kitchen I released before. But we have to use it against flash.nbo0 not against CiPhone.bin

But now my Kitchen isn't running any more properly I/we have to go on searching for working tools.

I think we can manage it without spending :eek: 110$ :mad:

Grüße Hellmuth
[Upgrading, Modifying and Unlocking] Hellmuth:
Hallo Asger

May be you can ask your Chinese friend

what is the meaning of the different pentameters when you start VIVA

On German PCs it makes no sense and even GoogleTranslater isn't accepting this

N:\>viva

************************************************************
*╗ÂË¡─·╩╣Ë├í░╣·▓·VIVA ROM 'BIN 2 NB0'╣ñ¥▀í▒V1.5 > 592cx.com*
************************************************************
---------------------------------------------------------------------
VIVA.EXE í¥╬─╝■├¹í┐ |╠ß╚íÃ░5©÷ÀÍÃ°
VIVA.EXE -n í¥╬─╝■├¹í┐ |▓Ú┐┤ROMÀÍÃ°¢ß╣╣ú¼┼õ║¤ -sp ╩╣Ë├
VIVA.EXE -sp í¥╬─╝■├¹í┐ |ÀÍ¢ÔROMú¼─¼╚¤ÀÍ└Ù│÷╚½▓┐ÀÍÃ°
VIVA.EXE -sp í¥╬─╝■├¹í┐ x |Ë├└┤ÀÍ└Ù│÷Á┌xÀÍÃ°ú¿╩²ÎÍ 1íó2Á╚ú®
---------------------------------------------------------------------
│╠ð‗╝┤¢½═╦│÷úí

─·Drücken Sie eine beliebige Taste . . .

Show goes on :D

Grüße Hellmuth
[Upgrading, Modifying and Unlocking] Hellmuth:
So

I was trying for 3 h just to extract IMGFS and rebuild it with OSNBtool from/to Flash.nb0

It seems it doesn't work :confused:

Now I go out to shovel snow :)

I hope you got more luck than me

Grüße Hellmuth
[Upgrading, Modifying and Unlocking] Nik--1:
Hi!

Hello everyone!

Rolfey, I think should be corrected in the way IDTCfg.ini more correct, straight path.

For example like Asger-shah.

And yet, here's what I think ...

Asger-shah said that after the operation ImageMerge he receives the modified file CiPhoneImage (NewCiphone.bin) with a new logo. The new firmware file to several megabytes less than the original file! For example, using the tools Asger-shah, that's what I came up with the firmware c5_ip3.4.1.0_eng:

CiPhone.bin (initial CiPhoneImage) = 110 071 020 b

CiPhone.new.bin (with a changed logo 240 * 320) = 107 671 008 b

Amazing! Where did the "extra megabytes?

And most importantly - change (and logo and size) firmware works! I can not find the changes in the new firmware - it is exactly like the old (except the new logo:)).

I have a question:

What was in excess megabytes, whether they should have, and without them, if everything works fine (for the time trials I have found no errors)?

Now let's try to understand the tools Asger-shah new file CiPhone.new.bin (107 671 008 b) and after the operation ImageMerge we get an identical file CiPhone.new2.bin = 107 671 008 b!

Already there are no "extra megabytes. Both files are the same ...

Hellmuth remember how we did not get the size of the new imgfs.bin, zde the same ... almost the same thing)))

I have very little experience in using the kitchen when I look in the kitchen or Hellmuth IliaV a dizzy))) and I think I never see what's what in the whole set of special programs that they use.

But intuition tells me that we are on the right track. Main idea is as follows - if not change the boot files RAMInit.nb0, USBLoad.nb0, XLDR.nb0 and IPL.nb0, the greater the likelihood that the firmware on the basis of the new FLASH.nb0 will work. It remains only to learn it :)

If you can not change FLASH.nb0, ie the same file Customer.nb0.

Interestingly, as the overlap FLASH.nb0 and Customer.nb0?

There is replacement of the same files or just the addition?

When folding firmware with VIVA-sp does not work Customer.nb0. And the Chinese comrades have:

Those files that I obtained winimage not open. See link to mobileuncle.com and understand what I mean.

P.S.

Who watched this a kitchen?

http://xdaforums.com/showpost.php?p=5389203&postcount=2

Our standards are very similar!
[Upgrading, Modifying and Unlocking] NeuronNetwork:
it's from the same manufacturer :p

it's not the same. Customer usually used to store settings, additional application during first soft-reset. it will be loaded up during firsttime soft-reset so all settings and application install properly :)

you lost something because the tool unable to identify the other partitions.

this is what im still analyze.

you extract the new created (without correct partitions) and combine the same thing it will result in the same size.
[Upgrading, Modifying and Unlocking] Nik--1:
But in this case what was in the lost section?

All software is left, all the phone functions are working ...

If you start with a key VIVA-sp, it helps you have 3 files. Perhaps this is the lost partitions.
[Upgrading, Modifying and Unlocking] NeuronNetwork:
the tool did not recognize that area and it treat that area as unknown partitions(resulting in 0 Byte). but ciphone flashing tool recognize this area and does looking into these area for something which i dont know yet. you guys concentrate on the kitchen while im analyze these missing thing..
[Upgrading, Modifying and Unlocking] NeuronNetwork:
found out VIVA -sp are these:

part6.nb0 : CPLoad type file

part7.nb0 : CP type file

part8.nb0 : seems to be the Customer which is not exist
[Upgrading, Modifying and Unlocking] Nik--1:
Viva -sp

Why? Maybe so?:

part6.nb0 (C5's PART.nb0): Customer type file

part7.nb0: CPLoad type file

part8.nb0: CP type file
[Upgrading, Modifying and Unlocking] NeuronNetwork:
im dont know about c5.. but c6a flashing tool identified those files as these:

and since c6a is GSM device, there's no part9.nb0
[Upgrading, Modifying and Unlocking] Hellmuth:
Hi Neuron

I remember your post long ago. Did this mean you have a self made Version of WM6.5 on your C6 ?
[Upgrading, Modifying and Unlocking] MobileXT:
In the IDT.exe there is a configuration to add this 3 missing file but there is a password. If we can hack the password maybe that will solve the problem.
[Upgrading, Modifying and Unlocking] Hellmuth:
Hi Nik

Are you able to change the Firmware again?

If yes I think we should ignore the missing bytes

I don't know why but Google Translator doesn't work any more on MOBILEUNCLE so I can't understand anything.

I watched it but It is only a kitchen where you can build the Rom but first we have to extract C6 flash.bin

But may be It gives some hints. I think I try to analyse it

Grüße Hellmuth
[Upgrading, Modifying and Unlocking] Hellmuth:
Nothing easier than this :cool:

open the IDTCfg.ini

[IDT]
User=2
Level=1
Password=****If here are some characters del 'em****
Platform=-1
[ImageMerge]

If you are asked for Password let it free and press OK

Grüße Hellmuth
[Upgrading, Modifying and Unlocking] MobileXT:
I did delete the pass character but still asking for the password
[Upgrading, Modifying and Unlocking] Hellmuth:
press ok if he ask
[Upgrading, Modifying and Unlocking] MobileXT:
I did but says incorrect password
[Upgrading, Modifying and Unlocking] Hellmuth:
take a look again if there is a Password again del it (even the blanks)

I made this two times before it was gone.
[Upgrading, Modifying and Unlocking] NeuronNetwork:
not fully self made especially on xip part.. but so-call mixture of chinese new xip with 6.5 available in this forum.. im still trying to understand all the relation to one another from extract to combine process in detail and that's the reason i dont have time to build a kitchen.. at the moment im learning to port xip and extract the logo manually..

you're rocks! :D

yes Nik--1 able to change it and make it flashable :)

the site block proxy server including coming from google translator.. maybe they have noticed this thread :o
[Upgrading, Modifying and Unlocking] NeuronNetwork:
try hisilicon :)
[Upgrading, Modifying and Unlocking] NeuronNetwork:
Porting to new os by

Ameet

(Thank You :)):

[Tutorial] XIP Porting http://xdaforums.com/showthread.php?t=438676

[Tutorial] SYS Porting http://xdaforums.com/showthread.php?t=379598
[Upgrading, Modifying and Unlocking] rolfey:
oh I've been out all day, I'll take a look :) looks like I've missed a few posts lol!
[Upgrading, Modifying and Unlocking] Nik--1:
>>>>>>>>>>>
[Upgrading, Modifying and Unlocking] Nik--1:
Hi all!

to MobileXT

Change in IDTCfg.ini

and now uses a password zzz

to All

Yesterday ran into the Chinese site http://www.592cx.com.

It looks like the guys on this site have done or almost done the kitchen to the C5. And I think utility VIVA also from there. But today I can not get to the site! Writes Bad Request (Invalid Hostname).

If someone can open the following links:

http://www.592cx.com/viewthread.php?tid=2799&extra=&ordertype=1

http://www.592cx.com/index.php?gid=1&styleid=4

http://www.592cx.com/thread-2638-23-2.html

http://592cx.com/archiver/?tid-3986.html

Perhaps it is the machinations of the Chinese communists :)

eager to get their $ 110 :D

P.S.

Our phone copy (rom) HTC TOUTH VIVA?
[Upgrading, Modifying and Unlocking] MobileXT:
I was this website to yesterday, the whole day I was browsing try to find out where the software is but no lucky because you need a total of 2000 points in order to get the tools. But today I can't go inside already they block me up.
[Upgrading, Modifying and Unlocking] rolfey:
Ok , I've away a few days now, it's been hard to get back to this, but I'll be trooping on this evening to see if we can again push this forward.

Mike