Hallo zusammen

Ich versuche ein Rom für mein CiPhone C6 zu kochen und habe OSNBTOOL dafür entdeckt.

Ich versuch im Moment nur IMGFS.bin zu extrahiern und wieder zurück in das File zurück zu schreiben.

Extrahieren klappt gut, aber ich bekomme nach dem Zusammenfügen kein flashbares File.

Meine CiPhone.new.bin ist immer etwas kleiner als das Original und lässt sich nicht flashen.

Ich hoffe jemand kann mir helfen.

Vielleicht kann mir auch jemand helfen im PDACLAN.COM Forum Mitglied zu werden. Mein chinesisch (auch mit Google Translator) ist nicht gut genug. Ich scheitere bei der Anmeldung. (Kurze PN genügt ich schicke dir dann einen Usernamen und E-Mailadresse für die Anmeldung)

Was ich bisher versucht habe (Kurze Version)

Extracting (kalppt gut)
osnbtool -sp CiPhone.bin
osnbtool -d CiPhone.bin.OS.NB 2 imgfs.bin
Building ( Ich habe 3 Varianten asuprobiert aber keine führt zu einem flshbaren ROM)

1. Variante
osnbtool -c CiPhone.bin.OS.NB 2 imgfs.bin
osnbtool -extra CiPhone.bin.OS.NB.NEW
copy/b/y ciphone.bin.pre+ciphone.bin.os.nb.new.exa ciphone.NEW1.bin
2. Variante
osnbtool -2bin CiPhone.bin.OS.NB.NEW.EXA
copy/b/y ciphone.bin.pre+ciphone.bin.os.nb.new.exa.bin ciphone.NEW2.bin
3. Variante
osnbtool -fixbinheader Ciphone.new2.bin

Was ich bisher versucht habe (Lange Version mit Prompt von OSNBTOOL)
osnbtool -sp CiPhone.bin
OS ROM Partition Tool V1.59 By Weisun :> PDAclan.com
Sector size : 0x00000800
Extra data bytes : 0x00000008
OS IMAGE found.
Partitions infomation:
**************************************
Part-0 type: BOOT SECTION image
Part-1 type: XIP RAM Image
Part-2 type: IMGFS file system
Part-3 type: legit DOS partition
**************************************
CiPhone.bin.PRE written.
-------------------------------------------------
Sector counters (extra-data) found in source file.
Partition 0 true offset:00000002 true size:0000027E Len:0000027E
Partition 1 true offset:00000280 true size:00000740 Len:000006C0
Partition 2 true offset:000009C0 true size:0000D380 Len:0000D300
Partition 3 true offset:0000DD40 true size:000005CF Len:000117C0
CiPhone.bin.OS.NB written.

osnbtool -d CiPhone.bin.OS.NB 2 imgfs.bin
OS ROM Partition Tool V1.59 By Weisun :> PDAclan.com
Sector size : 0x00000800
Extra data bytes : 0x00000000
OS IMAGE found.
Partitions infomation:
**************************************
Part-0 type: BOOT SECTION image
Part-1 type: XIP RAM Image
Part-2 type: IMGFS file system
Part-3 type: legit DOS partition
**************************************
Can not find compression signature.
Part-2 de-packing...
Successfully de-packed to imgfs.bin



Building



osnbtool -c CiPhone.bin.OS.NB 2 imgfs.bin
OS ROM Partition Tool V1.59 By Weisun :> PDAclan.com
Sector size : 0x00000800
Extra data bytes : 0x00000000
OS IMAGE found.
Partitions infomation:
**************************************
Part-0 type: BOOT SECTION image
Part-1 type: XIP RAM Image
Part-2 type: IMGFS file system
Part-3 type: legit DOS partition
**************************************
Can not find compression signature.
Part-2 inserting...
Part-2 is an IMGFS Partition...
Successfully inserted imgfs.bin into CiPhone.bin.OS.NB.NEW

osnbtool -extra CiPhone.bin.OS.NB.NEW
OS ROM Partition Tool V1.59 By Weisun :> PDAclan.com
Sector size : 0x00000800
Extra data bytes : 0x00000000
OS IMAGE found.
Partitions infomation:
**************************************
Part-0 type: BOOT SECTION image
Part-1 type: XIP RAM Image
Part-2 type: IMGFS file system
Part-3 type: legit DOS partition
**************************************
Extra data inserted into CiPhone.bin.OS.NB.NEW.EXA.

copy/b/y ciphone.bin.pre+ciphone.bin.os.nb.new.exa ciphone.NEW1.bin
CiPhone.bin.PRE
CiPhone.bin.OS.NB.NEW.EXA
1 Datei(en) kopiert.


Building 2. Variante

osnbtool -2bin CiPhone.bin.OS.NB.NEW.EXA
OS ROM Partition Tool V1.59 By Weisun :> PDAclan.com
Sector size : 0x00000800
Extra data bytes : 0x00000008
OS IMAGE found.
Partitions infomation:
**************************************
Part-0 type: BOOT SECTION image
Part-1 type: XIP RAM Image
Part-2 type: IMGFS file system
Part-3 type: legit DOS partition
**************************************
OS-IMAGE offset : 0x00000000
Block size : 0x00020000 Sectors per block : 0x00000040
Partition 0 true offset:00000002 true size:0000027E Len:0000027E
Partition 1 true offset:00000280 true size:000006C0 Len:000006C0
Partition 2 true offset:00000940 true size:0000D300 Len:0000D300
Partition 3 true offset:0000DC40 true size:00000600 Len:000117C0
Recorder size : 0x00020200
Start address : 0x00000000
Packed to CiPhone.bin.OS.NB.NEW.EXA.BIN.

copy/b/y ciphone.bin.pre+ciphone.bin.os.nb.new.exa.bin ciphone.NEW2.bin
CiPhone.bin.PRE
CiPhone.bin.OS.NB.NEW.EXA.BIN
1 Datei(en) kopiert.


3. Variante

osnbtool -fixbinheader Ciphone.new2.bin
OS ROM Partition Tool V1.59 By Weisun :> PDAclan.com
Sector size : 0x00000800
Extra data bytes : 0x00000008
OS IMAGE found.
Partitions infomation:
**************************************
Part-0 type: BOOT SECTION image
Part-1 type: XIP RAM Image
Part-2 type: IMGFS file system
Part-3 type: legit DOS partition
**************************************
Found 'B000FF' header at offset: 0x0024A608
START_ADDR: 0x00000000 BIN_LENGTH: 0x071F1800
Records: 0x00000389 (905)
FirstRecord: 0x00000000 LastRecord: 0x071F1800
--------------------------- NEW_BIN_LENGTH: 0x07211A00
Ciphone.new2.FIX.bin written.
Danke im Voraus für eure Hilfe

Grüße Hellmuth