yashsingh1/xdaforums huggingface dataset:
[Upgrading, Modifying and Unlocking] rolfey:
Neuron, I must have been really tired when I posted, sorry misinformation!

but you can shorten the process and get a different outcome, you will have to use osnbtool -sp to get the flash.bb0.os.nb, but then you can use xidump -b flash.nb0.os.nb to dump both imgfs and xip in one go, and there does appear to be more there.

Try that!

Mike

I
[Upgrading, Modifying and Unlocking] rolfey:
this is how I'm going to start off Neuron!

@echo on

cls

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

@echo *****************ROLFEYS SIMPLE CIPHONE KITCHEN V 1.01*********************

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

@echo ****************************27.2.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 ***************************************************************************

@Echo off

PING 2.2.2.2 -n 1 -w 2000 >NUL

@Echo on

cls

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

@echo ******** Opening up the Ciphone.bin to give .nb0 partitions ***************

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

.\Tools\viva.exe ciphone.bin

rem .\Tools\IDT.exe

@Echo off

PING 2.2.2.2 -n 1 -w 2000 >NUL

@Echo on

cls

@echo ****************************Step 2*****************************************

@echo ************ Opening up the flash.nb0 to give the OS.NB *******************

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

osnbtool -sp flash.nb0

@Echo off

PING 2.2.2.2 -n 1 -w 2000 >NUL

@Echo on

cls

@echo ****************************Step 3*****************************************

@echo **********Opening up the flash.nb0.os.nb to give Folder dump **************

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

xidump -b flash.nb0.os.nb

@Echo off

PING 2.2.2.2 -n 1 -w 2000 >NUL

@Echo on

Mike
[Upgrading, Modifying and Unlocking] NeuronNetwork:
About the same as Customer partition here
[Upgrading, Modifying and Unlocking] rolfey:
phworr Neuron, that looks quite a lot to do the same thing, what are the benifits?

Neuron, do you have any ideas on how to rebuild an xip from a folder dump? I now there are other ways to do it, but I would like to be able to dump a 6.5 xip, and then dump a 6.1 move over the oemxipkernel to the newer 6.5 and then recompress to bin, do you know a way of doing that.

I've used that xipkitchen to do what I think is the same thing, but I would like to be able to really choose what's going in the xip :)

Mike
[Upgrading, Modifying and Unlocking] :
Here is the tools that I was using, they might come in handy.

First take the CIPhone.bin and copy it to this folder.

Take CIPhone.bin then, and drag it unto nbImageTool.exe and let go. This will break the file down.

Take the IMGFS.bin and drag it to the way you want to split it down on the .BAT files. This will break the file down and dump everything out for you.

So you would now have a dump, and way to break the files down.

Your next thing you will need to look into is cooking it all together, but it sounds like you have that much figured out.

Please note that you will need a HVGA screen resoultion, and it will need to be 128DPI, Try and find a SYS from the HTC Photon Device and this will be the right size for you to use when cooking.
[Upgrading, Modifying and Unlocking] MobileXT:
I got error after I drag the bin file into the nbimagetool.
[Upgrading, Modifying and Unlocking] :
ignore that error, the IMGFS.bin is fully intact. I have sent the issue to the creator of that tool. he had never seen that error and so he is looking into it.
[Upgrading, Modifying and Unlocking] NeuronNetwork:
if this is the error you're getting:

run it as administrator, it will extract it.. it will still fails at fat partition because it's special ;) the output is the same as osnbtool except it didnt extract/handle the compressed partition and other important partitions :D osnbtool handle the fat and compressed partition much better ;)
[Upgrading, Modifying and Unlocking] NeuronNetwork:
yes it's about the same as the chinese language posted here before, but this one is in english and it might help if anyone else would like to try to customize Customer partition..

afaik you'll still able to dump 6.5 xip, except for the imgfs, correct? or maybe im wrong.. im still working on both with concentration on imgfs at the moment because this is the one is being protected ;)..
[Upgrading, Modifying and Unlocking] MobileXT:
Yes Neuron that's exactly the error show but Still fails at writing msdos16bitfat.bin. I think it's better to stick on OSNBTOOlS.
[Upgrading, Modifying and Unlocking] Hellmuth:
@Conflipper Thank you for sharing and bringing up new ideas :)

@Neuron

I found the nbImageTool.ini inside confliper's tools.

[ROMINFO]
extraChunk=8
dataChunk=2048
TotalROMSize=500428800
[PARTINFO]
bIsLastPartitionEmpty=1
Partition3FS=4
Partition3=msdos16bitfat
Partition2FS=37
Partition2=imgfs
Partition1FS=35
Partition1=xip
Partition0FS=32
Partition0=uldr

May be you can change this parameters with that what you figured out about the construction of the CiPhone ROM to get a better result in downbraking.

And may be we should use Viva for the first step (it seems to work fine so far)

And just try to break down Flash.nb0

What do you think it that a possible option ? :)

Grüße Hellmuth
[Upgrading, Modifying and Unlocking] NeuronNetwork:
the tool only recognize part of Flash partition.. i dont really know these parameters but it's self-describe.. all parameters are correct, except i dont know about TotalROMSize.. extraChunk is the padding that i mentioned before, 0x8 bytes.. dataChunk is the sector size, 0x800 bytes per sector.. Partition*FS are the file system type based on what has been documented..
[Upgrading, Modifying and Unlocking] rolfey:
I seem to have missed a few posts :) err good to see that we're still moving forward.

Mike
[Upgrading, Modifying and Unlocking] rolfey:
I'll soon get back into this people, but I've had to throttle back a little lately because I've had so much on, I have to go to the hospital tomorrow to have an ECG - I think I have imminent heart failure brought on by tying to create this ROM, he-he.

I'll update soon.

Mike
[Upgrading, Modifying and Unlocking] NeuronNetwork:
Take care and get well soon rolfey ;)
[Upgrading, Modifying and Unlocking] porto72:
C5 C6

Good evening in all subject which interests me because I have C5 and I would like to translate him(it) into French, (because I believe that the procedure is the same) following your advice(councils) I managed to extract files stays in me more than has to translate.

Thanks to all those which(who) gives of their time(weather) and to know them.

Sorry from my English but I am French and I pass by an on-line translator
[Upgrading, Modifying and Unlocking] NeuronNetwork:
needle2k, please no more private message cause it wont help the community in anyway and i cant entertain people one by one in private.. use the idt, change DownloadMode to COM+USB.. make sure the phone's battery is totally drained.. connect your COM+USB modified cable and idt will start sending special boot signal via rs232 cable during phone startup(switch it on and charge it at the same time, that's why you need battery to completely drained) and start downloading rom via usb cable.. all these happens automatically you only just have to initiate the flashing the normal way.. dont ask me any question about bricked phone anymore as i have stated earlier i really dont like exclamation mark in question and you never credit me in your posts at cifans regarding the info i've told you before although i have given you the direction regarding tx/rx in this thread.. im so sick when people cannot appreciate developer's hard work and time spent to understand the whole thing and simply request something with exclamation mark.. i'll ignore all bricked phone requests and questions from now on..
[Upgrading, Modifying and Unlocking] needle2k:
wtf ?

Hi Neuron,

here in germany we used to write like that, "?!" doesn´t mean u wan´t the info , or you have to give it to me ....... i think u missunderstood that !

This is my POST @ cifans

http://cifans.com/forum/index.php?f=31&t=2110&rb_v=viewtopic

and if u read it u see i always credit the ppl who figured out or build it,

and since u wrote "again, this is out of the scope of this thread"

i thought using the priv. msg would be better....

thx for your help !
[Upgrading, Modifying and Unlocking] NeuronNetwork:
i dont think you appreciate my help anymore..

yes i maybe wrong because i didnt understand on how germany used to wrote that way.. but we're expecting english here..

An exclamation mark or exclamation point (!) is a punctuation mark usually used after an interjection or exclamation to indicate strong feelings or high volume, and often marks the end of a sentence.

quoted from http://en.wikipedia.org/wiki/Exclamation_mark

yes you credit them, but you didnt credit me.. im the one who told and give you direction about tx/rx but it's seems it has not been appreciated.. if they're the one who told you about it, then ask them, dont ask me.. private message is not the right way to discuss something that make huge interest to the community..
[Upgrading, Modifying and Unlocking] rolfey:
Hi everyone!

so, where did I get up to, ahh yes!

if you use osnbtool to unpack the Rom, you can do, but when you repack the Rom it's read only - we arent sure why that is yet.

If you use imgfstools to unpack the Rom, (imgfstodump) you get a slightly different structure of dump, but you can't run packagebuilder against it because some of the imageinfo.bin files are missing.

If you use imgfstools to unpack the Rom, don't package but run imgfsfromdump against it, it all comes back together, but the size differs from the original imgfs.bin.

You can't use OSkitchen to deal with the job as platformbuilder pukes during the process.

all these processes are flawed for some reason, and at the moment I can't see how to move forward, I don't know if there is a way to edit an imgfsdump without packaging it, and then running imgfsfromdump right off, and I don't know if even then it would be still read only.

At the moment, we seen to be running out of options, maybe we would be better off using a hex editor to extract the partitions that we need, but then I don't know how to merge them again.

I'll be hitting my friends at IRC again shortly with these questions in order to try to find the light at the end of a very long tunnel :)

Mike
[Upgrading, Modifying and Unlocking] rolfey:
Neuron, I think you are prolly the best person to help out here,

I believe that one of our biggest problems is with XIP and porting as I've said before, I think we need the ability to fully edit a 6.5 XIP and modify it with the components taken from our 6.1 XIP.

Now I may have found a tool to do just this, but I don't fully understand how it works as you have to have some understanding of how the xip addressing works, I think on this thread you will have the best idea in this department, could you please take a look at http://xdaforums.com/showthread.php?t=390222

when you have a chance!

Mike
[Upgrading, Modifying and Unlocking] rolfey:
I think I may have found the answer to what I was looking for, here are the instructions on how to port the XIP, but this time step by step.

- Extract xip.bin from donor ROM

- Run XIPPort.exe

- Press "dump xip.bin" this will create an OUT folder

- Press "make pkgs"

- Rename OUT folder to donor

- Extract xip.bin from your ROM

- Run XIPPort.exe

- Press "dump xip.bin" this will create an OUT folder

- Press "make pkgs"

- Rename your xip.bin to xip_out.bin

- Open both donor and out folders you will have two folders named Files and Modules, in each folder you will find MSXIPKernel and MSXIPKernelLTK folders

- Replace the files and modules of MSXIPKernel and MSXIPKernelLTK folders with the new modules from the donor xip

- Close folders

- Run XIPPort.exe

- Press "undo"

- Open the out folder Modules you can delete hd.dll, hd.dll.txt, osaxst0.dll, osaxst0.dll.txt to create more room in the xip if necessary

- Copy all modules except nk.exe to "xip\SYS\Dump"

- Run doit.bat

- A dump folder will be created in place where the SYS folder lies

- Copy all modules from the new Dump folder back to the out folder Modules

- Run XIPPort.exe

- Press "realloc P"

- Press "write maps" check MAP.txt for "!!!!!!" errors

- Press "build xip_out.bin" this will replace your old xip_out.bin with the new xip_out.bin

Don't use XIPPort.exe to insert the xip_out.bin to your ROM

Either use insert.exe or XIPTools.exe (xip2 section) to insert the xip_out.bin

Mike

(I just keep bashing away :) )
[Upgrading, Modifying and Unlocking] rolfey:
I'm going to script this up and add it to my kitchen, then I'll try again with the 6.5 Rom.

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

I'm happy you still find the time to do something.

I hope your ECG was OK.:)

@everyone

At the moment I'm running out of ideas and and time as well (Tax has to be made).

I tried to contact a Chinese speaking Girl, a friend of a member in Chinamobiles.org but we didn't had success in searching for another tool.

I also tried to contact someone of the French but I get no answer until now.

May be I'm going to become a better member at mobileuncle.cn. That means to write a lot of miniposts Like "great work" "well done" "juuuuhuuuuu" and something like this. Because if you have enough posts you can even download something (stupid concept, long threads with nothing inside than warm air).

I also tried to contact Bepe form XDA-devs but he did not answer until now.

May be we only have to be patient and a solution will come to us:)

@ Asger, MobileXT, Neuron and all the silent readers.;)

Did one of you has a new idea or may be link ?

Just tell us about your Ideas may be that cause an other new idea.:)

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

I am still awaiting for a friends from PHIL. to find the tools to cook the ciphone phone. I Have a big feelings that they have the tools out there becuase it's close to china and since the phil will lay the product of china. Don't worry, I will send you the link ASAP if I got one working tools.
[Upgrading, Modifying and Unlocking] rolfey:
@Hellmuth

yeah mate the ECG was fine, I have a blood test to find out about yet, but I hope that's going to be fine as well.

I still think the solution is in the xip, I'll keep bashing away.

Mike
[Upgrading, Modifying and Unlocking] NeuronNetwork:
@Rolfey, Hellmuth and everyone

im currently busy with other things and i'll come back to this when im available..

@Rolfey

yes 6.5 requires changes on xip.. nothing much on imgfs.. welcome back ;)

@Hellmuth

6.5 requires new model of xip, so it has to be ported from 6.1 to 6.5 xip model.. the donor has to come from original rom unless we able to compile new one.. or simply swap china's xip with yours since it's already made for 6.5 :rolleyes: i'll try to update frequently but not for the time being since other things are very high priority for me..
[Upgrading, Modifying and Unlocking] MAD_Agent:
I feel like a fool for asking but I'm new, I recieved my ciphone C6 yesterday and I tried upgrading the firmware with c6a_ip3.5.3.0_eng_installer. It said it was 100% done and when i went to power it on its still black. None of the buttons respond. I'm guessing the firmware was not the correct one for my phone. I'm in desperate need of assistance, if there is a guide or tutorial around to help me fix the phone or someone who has experience can help I'd greatly appreciate it. Thank you in advance
[Upgrading, Modifying and Unlocking] Hellmuth:
Hi Mad,

You are right ;)

Please ask this question on cifan forum http://xdaforums.com/www.cifans.comhttp://www.cifans.com

Grüße Hellmuth
[Upgrading, Modifying and Unlocking] MAD_Agent:
I tried the cifans before asking and its very difficult to navigate because its in chinese and google isn't translating it either.
[Upgrading, Modifying and Unlocking] NeuronNetwork:
yes for other than ciphone.. no you have to use

both

for ciphone.. so it's not OSNBtool

or

IMFGSTODUMP but OSNBtool

and

IMFGSTODUMP

yes there are 2 extraction process.. first for the partitions, second for the images inside the partition.. but please dont use BIN extension on any files from now on, you really get me confuse.. there is no BIN structure at all in any partitions

and

images inside the rom file..

use osnbtool first on the FLASH file.. then use imgfstodump on the new NB file to get XIP and IMGFS file.. again, please dont use BIN extension..

yes there's no NB0 because you're using a tool (osnbtool) that compatible with the FLASH file.. of course you cant split it twice.. this is not the same as the rest.. they implement they're own method.. just extract it once.. you'll end up in PRE and OS.NB files..

i dont have batch files for ciphone.. i made the executable to process these files.. it also support XPRS compression and extraction method.. im still analyze the correlation between the info of the partitions and images inside of it.. it retain some boot sequence process.. and this is important part..

especially the BIN extension that you use all these days with ciphone partitions

and

images are not really BIN structure at all.. osnbtool

tries

to look for BIN structure but it didnt found any of them because there is no such thing inside

any

of the files.. please dont use that extension anymore for any of ciphone extracted files.. dont assume they use the same method as other, remember this is ciphone..
[Upgrading, Modifying and Unlocking] MobileXT:
Ciphone C6 windows 6.1 build 20954.1.5.0

Can somebody help me out how to change the startup logo on my ciphone c6.
[Upgrading, Modifying and Unlocking] Hellmuth:
Hi MobileXT

I don't know for shure

But use Pictureviewer in your Windows Path and search for the Bootpicture I think it should be 2 or three.

Then change them all with a picture of your Choice

At best I think you should use Total Commander I think explorer would not work.

If you want further information look at http://chinamobiles.org It's almost German but I think they will answer English posts too.

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

So o.k. thank you for your detailed and extensive answers.

If you have the time and and I do not get on your nerves

I would be happy you can tell me more about

My knowledge about bin files are very rudimentary

:) And I swear I will never write Bin if it isn't a .bin ( I think I will never not use the word Bin in future)

Some times it is difficult for me because English is not my native language and I am not a Programmer (I just made a few experiences with Basic a few years ago)

Some meanings of English words are a bit vague for me

(i.e. I always thought Flashfile means a file you can flash directly to the Phone. To flash means the procedure of bringing the Rom file to the Phone right ?)

You wrote something about an executable file. I think I saw one in a Kitchen for the OMNIA-Phone.

I think it was used for the first step of extracting and the last step of Building.

Are you going to make such an executable? Did I understand that right ??

Grüße Hellmuth:)
[Upgrading, Modifying and Unlocking] MobileXT:
Thanks Hellmuth,

Do you how to use the OSNBtool I would like to try cook my Ciphone c6 but i dont what tools needed.

MobileXt
[Upgrading, Modifying and Unlocking] Hellmuth:
No I don't know :confused: Did you read the Title of the thread ?
[Upgrading, Modifying and Unlocking] rolfey:
Hi, I'm in the same situation as you, but not as far on, I've been looking for a way to just change the language of the Chinese cooked Roms that have appeared on Cifans, and I think this means pulling the Rom apeart and changing the mui.

I don't have a clue how to do this yet, but hopefully will do soon. can someone please confirm the structure of the entire Rom image ( what sits inside what )

Rom > Flash file > ect?????

Mike
[Upgrading, Modifying and Unlocking] rolfey:
I think to fully understand what it is we need to do, we first need to understand how the process actually works (the concept)

If we don't understand the concept then we will always be in the dark.

so, the process, I work in IT and as far as I know a flash file is the piece of software used to transfer the data to the Rom (Read Only memory) on the device itself so I am assuming reading the posts in this thread that you would have to extract a working flash file to enable you flash the new data to the Rom. What I am unsure of is quite how this happens with a Ciphone rom! does the Ciphone when in download mode look for the flash file in the Ciphone package and then use that to flash the data over?

Is the flash file in this case contained within the Rom itself? or the Ciphone installation package?

Once you have extracted the data from the phone Rom (Rom dump) how would you go about making changes to it as I would think it would be just raw data, not files and folders?

the understanding of the process is just as important as the actual process, I look forward to some answers to these questions.

Mike
[Upgrading, Modifying and Unlocking] NeuronNetwork:
english is not my native language too, dont worry :) ..and yes i do have programming knowledge ;) sorry for being away, i was accident and im still trying to get back on my feet :rolleyes:

literally yes

which one are you mention about?
[Upgrading, Modifying and Unlocking] NeuronNetwork:
if you just want to change language of the rom to english without flashing, there is something call multi language for windows mobile and it works on all wm platform. several people have tested this package and it works on ciphone chinese rom too tested by english user. i cant remember the exact name at the moment.

CiPhoneImage consist of a header and several partitions(different type) with the maximum limit of 10 partitions per rom file (CiPhoneImage). one of these partitions is known as FLASH file. this file is what you will use to cook your custom wm ciphone :D. these are partitions which may exist (not in sequence): IPL, RAMInit, CP, CPLoad, FLASH, XLDR, USBLoad. :rolleyes:
[Upgrading, Modifying and Unlocking] NeuronNetwork:
no, i didnt said you have to extract it to enable you to flash new data to rom. what i said is that, in order for you to cook your own rom, first you have to extract the FLASH file. it seems you guys are using translation service to read this, am i correct? :confused:

no. the flashing tool checks for ciphone(the phone) current mode, if it is in download mode, only then it will start flashing. there is other mode called calibration mode :)

the FLASH file is contained within the rom itself (in the form of partition) :)

use package builder to make the dump folder into useful folders for modification process :)
[Upgrading, Modifying and Unlocking] rolfey:
"no, i didnt said you have to extract it to enable you to flash new data to rom. what i said is that, in order for you to cook your own rom, first you have to extract the FLASH file"

I take it what you mean by this is that in order for your new Rom to work it's going to need the flash file within it in the correct partition? so that way when you set your phone to download mode, and then launch the updater, first the updater will detect the phone is in downloading mode, and then it will make use of the partition within the Rom that contains the Flash file to proceed with the process?

Does this sound about right?

Mike