PDA

View Full Version : Another way to reconstruct providers ROMS


mastsogo
21-01-2008, 07:53 PM
The current form of rebuilding ROM for Niki, using the kitchen Kaiser, this very well but I think that this method is more simple and the ROM is identical to the source.
I rebuilt two well ROM Spanish, tested by makoky. I don´t have this model.
The structure of ROM is the AsianWWE identities.

You need attached file and tree first parts extracted from your machine.

E:\Extract\niki.es>COPY /B inicio.bin+Part00.raw+Part01.raw os.nb.base
inicio.bin
Part00.raw
Part01.raw
1 archivos copiados.

E:\Extract\niki.es>COPY /B relleno.bin+Part02.raw imgfs.bin
relleno.bin
Part02.raw
1 archivos copiados.

E:\Extract\niki.es>..\Tools\ImgfsToNb.exe imgfs.bin OS.NB.base os.nb.payload
ImgfsToNb 2.1rc2
Using bigstorage mode

Sector size is 0x800 bytes
Writing imgfs to offset byte 0x6a0000, sector 0xd40
Padding ImgFs from 0x5060000 bytes (0xa0c0 sectors)
to 0x5060000 bytes (0xa0c0 sectors)
Not conservative mode. Changing imgfsEnd from 0x59c0000 to 0x5700000


Partition entry before:
File System: 0x25
Start Sector: 0x00000d40
Total Sectors: 0x0000a640
Boot indicator: 0x00
First Head: 0x00
First Sector: 0x01
First Track: 0x35
Last Head: 0x3f
Last Sector: 0x01
Last Track: 0x2cd
Partition entry after:
File System: 0x25
Start Sector: 0x00000d40
Total Sectors: 0x0000a0c0
Boot indicator: 0x00
First Head: 0x00
First Sector: 0x01
First Track: 0x35
Last Head: 0x3f
Last Sector: 0x01
Last Track: 0x2b7


Partition entry before:
File System: 0x04
Start Sector: 0x0000b380
Total Sectors: 0x0000ff40
Boot indicator: 0x00
First Head: 0x00
First Sector: 0x01
First Track: 0x2ce
Last Head: 0x3f
Last Sector: 0x01
Last Track: 0x2ca
Partition entry after:
File System: 0x04
Start Sector: 0x0000ae00
Total Sectors: 0x000104c0
Boot indicator: 0x00
First Head: 0x00
First Sector: 0x01
First Track: 0x2b8
Last Head: 0x3f
Last Sector: 0x01
Last Track: 0x2ca
ImgFs Flash Region log blocks was 0x299, now is 0x283
Storage Flash Region log block was 0xffffffff, now is 0xffffffff,
Done!

E:\Extract\niki.es>..\Tools\NBMerge.exe -kaiser OS.NB
NBMerge 2.1rc2
Executing ..\Tools\NBMerge.exe with data chunk size = 0x800 and extra chunk size
= 0x8
on file OS.NB
Partition 0: start sector: 0x00000002, total: 0x0000063e
first used: 0x00000002, used: 0x00000600
Partition 1: start sector: 0x00000640, total: 0x00000700
first used: 0x00000640, used: 0x000005df
Partition 2: start sector: 0x00000d40, total: 0x0000a0c0
first used: 0x00000dc0, used: 0x0000a040
Checking OS.NB for bad NAND block marker
Checked 0xae00 sectors successfully!
Done.

E:\Extract\niki.es>

In attached file, you have two files extracted from AsianWEE, Ones is the header of ROM and another are some free bytes at start of imgfs.

If someone finds any error, please say so.

PD. Sorry for my bad english

FatalZero
28-01-2008, 08:54 AM
Can someone confirm this methode of working? Or should we still hang on to the Kaiser methode?

makoky
28-01-2008, 09:03 AM
mastogo the best!

Eres el mejor mastogo :D

Un Saludo.

mastsogo
28-01-2008, 10:59 PM
Can someone confirm this methode of working? Or should we still hang on to the Kaiser methode?

I am waiting for several friends selected for testing, but still have not received their niki.
But I can say that the structure of the ROM seems perfect and teory must operate.

mastsogo
01-02-2008, 11:34 PM
And I can say that this method works correctly, the two ROMs have been tested by makoky in his Niki work and perfect.
This method is much simpler and faster than the one currently used on the basis of the cuisine of the Kaiser and the ROM is identical to the original.
It is necessary to use uSPL or HardSPL only by the signature tool.

If you need these spanish roms, you can get here (http://todopdas.es/showthread.php?p=56063#post56063).

eroG
05-02-2008, 05:23 AM
is this method intended only for Spanish Niki phones/users or anyone can follow this method to reconstruct his rom?
thx

Thyraz
05-02-2008, 08:04 AM
So afterward i get a complete Rom ready to flash?
Still need a way to backup my german rom.

Don't wanna switch to niki projct rom without a chance to get back.

plustig50
06-02-2008, 02:10 PM
Hallo Thyraz,

ich habe das Verfahren erfolgreich getestet. Ich hatte einen Dump mit itsutils (http://forum.xda-developers.com/showthread.php?t=334680) gemacht, mit dem Verfahren von mastsogo ein rebuild gemacht, mit kaiserkitchen_01-20-08 (http://rapidshare.com/files/85341969/kaiserkitchen_01-20-08.rar.html) erfolgreich geflashed.
Aber daran denken: Hard-SPL (http://forum.xda-developers.com/showthread.php?t=355730) installieren.

Thyraz
06-02-2008, 02:20 PM
Danke ;)

Werd mich die Tage dann auch mal ransetzen.

mastsogo
07-02-2008, 02:54 AM
is this method intended only for Spanish Niki phones/users or anyone can follow this method to reconstruct his rom?
thx
This method is valid for roms of other languages as well.

So afterward i get a complete Rom ready to flash?
Still need a way to backup my german rom.

Don't wanna switch to niki projct rom without a chance to get back.
Once rebuilt only in the ROM required to sign HTC Rom Tool to be able to flash.

http://forum.xda-developers.com/attachment.php?attachmentid=69355&stc=1&d=1202352937

This utility can be found in this thread: http://forum.xda-developers.com/showthread.php?t=311909&highlight=htcrt