PPCGeeks Forums HTC Arrive HTC HD2 HTC Thunderbolt HTC Touch Pro 2 HTC Evo 4G HTC Evo 3D Samsung Galaxy S II Motorola Droid X Apple iPhone Blackberry
Go Back   PPCGeeks > Windows Mobile > WM HTC Devices > HTC Titan > Titan Development
Register Community Search

Notices


Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 03-04-2008, 10:35 PM
l33tlinuxh4x0r's Avatar
Regular 'Geeker
Offline
Pocket PC: EVO 4G
Carrier: Sprint
 
Join Date: Jan 2008
Posts: 373
Reputation: 225
l33tlinuxh4x0r is keeping up the good workl33tlinuxh4x0r is keeping up the good workl33tlinuxh4x0r is keeping up the good work
Mentioned: 0 Post(s)
Tagged: 0 Thread(s)
Re: How to use BaseKits

I am also looking for basekit tools and it is missing for me too.
Reply With Quote
  #2 (permalink)  
Old 03-04-2008, 10:41 PM
[sammich]'s Avatar
Retired Moderator
Offline
Pocket PC: NULL
Carrier: NULL
 
Join Date: Jul 2007
Posts: 6,039
Reputation: 10109
[sammich] can't get a higher reputation level[sammich] can't get a higher reputation level[sammich] can't get a higher reputation level[sammich] can't get a higher reputation level[sammich] can't get a higher reputation level[sammich] can't get a higher reputation level[sammich] can't get a higher reputation level[sammich] can't get a higher reputation level[sammich] can't get a higher reputation level[sammich] can't get a higher reputation level[sammich] can't get a higher reputation level
Mentioned: 0 Post(s)
Tagged: 0 Thread(s)
Re: How to use BaseKits

Wow... Idiot me didn't realize it was sitting on my desktop!

here you go
Attached Files
File Type: zip Basekit Tools.zip (1.92 MB, 92 views) Click for barcode!
Reply With Quote
  #3 (permalink)  
Old 03-05-2008, 10:50 AM
speedygraphixink's Avatar
N00b
Offline
Pocket PC: touch pro
Carrier: verizon
 
Join Date: Apr 2007
Posts: 28
Reputation: 10
speedygraphixink is a n00b
Mentioned: 0 Post(s)
Tagged: 0 Thread(s)
Re: How to use BaseKits

thanks for the zip. i too was looking for it.
Reply With Quote
  #4 (permalink)  
Old 03-05-2008, 12:33 PM
biglcny's Avatar
PPCGeeks Regular
Offline
Pocket PC: xv6875 - Touch Pro2
Carrier: Verizon
Location: Upstate, New York
 
Join Date: Jun 2007
Posts: 122
Reputation: 85
biglcny is becoming a great contributor
Mentioned: 0 Post(s)
Tagged: 0 Thread(s)
Talking Re: How to use BaseKits

Thanks Saumaun! DCD's kitchen always overides alot of regedits I have in my personal oem package despite setting the guid to almost all f's. I've been dying to try to create my own kitchen.

Last edited by biglcny; 03-05-2008 at 03:02 PM.
Reply With Quote
  #5 (permalink)  
Old 03-07-2008, 02:00 AM
five40's Avatar
PPCGeeks Regular
Offline
Pocket PC: HTC EVO
Carrier: Sprint
Location: NYC
 
Join Date: Jan 2008
Posts: 187
Reputation: 25
five40 is just getting started
Mentioned: 0 Post(s)
Tagged: 0 Thread(s)
Re: How to use BaseKits

I keep getting "NBMerge.exe has stopped working" errors when I run buildit.bat
what am I doing wrong?
Reply With Quote
  #6 (permalink)  
Old 03-07-2008, 02:07 AM
JimSmith94's Avatar
Halfway to VIP Status
Offline
Pocket PC: Sprint Touch Pro 2
Carrier: Sprint
Location: Irving, TX
 
Join Date: Jul 2007
Posts: 705
Reputation: 405
JimSmith94 is becoming a PPCGeeks regularJimSmith94 is becoming a PPCGeeks regularJimSmith94 is becoming a PPCGeeks regularJimSmith94 is becoming a PPCGeeks regularJimSmith94 is becoming a PPCGeeks regular
Mentioned: 0 Post(s)
Tagged: 0 Thread(s)
Re: How to use BaseKits

Quote:
Originally Posted by five40 View Post
I keep getting "NBMerge.exe has stopped working" errors when I run buildit.bat
what am I doing wrong?
I'm getting that with No2Chem's basekit 5051. I never got it before, so I think it's something with this particular basekit.
Reply With Quote
  #7 (permalink)  
Old 03-07-2008, 02:14 AM
OffUrRcker's Avatar
PPCGeeks Regular
Offline
Pocket PC: Titan
Carrier: Verizon
Location: Corvallis, Oregon
 
Join Date: Jun 2007
Posts: 155
Reputation: 55
OffUrRcker is becoming a great contributor
Mentioned: 0 Post(s)
Tagged: 0 Thread(s)
Send a message via AIM to OffUrRcker
Re: How to use BaseKits

Yes, it's a problem with the restructured partition table No2Chem uses. Many people have asked, in his thread, but nobody has responded to any questions about the partition table, so we do not know how to build roms from baskekits until No2Chem responds to someone. Literally, like 11 people have asked. Everyone just ignores us.
Reply With Quote
  #8 (permalink)  
Old 03-07-2008, 10:19 AM
NexVision's Avatar
Halfway to VIP Status
Offline
Pocket PC: TouchPRO
Carrier: Verizon
 
Join Date: Sep 2007
Posts: 585
Reputation: 1934
NexVision is halfway to VIP status based on repNexVision is halfway to VIP status based on repNexVision is halfway to VIP status based on repNexVision is halfway to VIP status based on repNexVision is halfway to VIP status based on repNexVision is halfway to VIP status based on repNexVision is halfway to VIP status based on repNexVision is halfway to VIP status based on repNexVision is halfway to VIP status based on repNexVision is halfway to VIP status based on repNexVision is halfway to VIP status based on rep
Mentioned: 0 Post(s)
Tagged: 0 Thread(s)
Re: How to use BaseKits

It's not a question of ignoring you guys its a matter of the process being a major pain in the *** and with nothing set in stone right now it is not worth the effort to make the tools and teach people the methods when it can change at any moment as things are being experimented with. no2chem has released a super clean version with UC installed so u can customize it. I have also created fully loaded roms also with UC which are based off of 5051 as well to give u guys more options. Oh yeah and since u guys are giving no2 so much slack has anyone tried ripping dcd's latest you have no luck there either and he did that well before no2. SO BASICALLY BE PATIENT EVERYTHING WILL BE IN YOUR HANDS WHEN IT IS READY.
__________________
All ROM's and OEM's can be located here

ROM's
OEM's
CAB's

If something is password protected do not ask for the password as you will not get it. If you do not already know it you are not supposed to.

Remember to give thanks to those owed.......
no2chem - GGuruUSA - naigaman - Colonel - Tiermann - ImCoKeMan - helmi - dcd - luv2chill

Without all of whom none of this would be possible.

Donate to me!!!



Reply With Quote
  #9 (permalink)  
Old 03-08-2008, 01:38 AM
OffUrRcker's Avatar
PPCGeeks Regular
Offline
Pocket PC: Titan
Carrier: Verizon
Location: Corvallis, Oregon
 
Join Date: Jun 2007
Posts: 155
Reputation: 55
OffUrRcker is becoming a great contributor
Mentioned: 0 Post(s)
Tagged: 0 Thread(s)
Send a message via AIM to OffUrRcker
Re: How to use BaseKits

Uhm DCD releases his builds as kitchens as well, so why would anyone have tried to unpack the rom and create one themselves? I have 2.3.2 running on my phone right now, I used the kitchen and applied the vzw customizations, this is my issue, it's why I can't just install no2's rom, and I need to create a kitchen.
Reply With Quote
  #10 (permalink)  
Old 03-08-2008, 01:45 PM
SiGGy's Avatar
Lurker
Offline
 
Join Date: Apr 2007
Posts: 18
Reputation: 0
SiGGy is a n00b
Mentioned: 0 Post(s)
Tagged: 0 Thread(s)
Re: How to use BaseKits

I started to work with no2chem on the issue but still have some lose ends I'm still trying to piece together.

The files I'll be referring to are "nk.fat" (orignal image) and the "os.nb.payload" (new image).

In those files the partition info ends at 0x200. The "55-AA" you will see is the end of sector terminator.
Partitions are done in 16 byte segments. Split them up (as I did below) But for now just contentrate on the last 8 bytes.

The last 8 bytes are split into two segments. 1st segment (4 bytes) is the sector offset. 2nd (4 bytes) is the total size of the partition.


Here's an example from the 5050 ROM.

**NOTE** All of partition data is little-endian! So for example 3e-51-01 is really 01-51-3e in terms of being a real number. If you don't know what that is you shouldn't be trying to fix this.


Code:
nk.fat (original)         sector start    size of part.
------------------------------------------------------
00 02 01 19 23 3f 01 33   02 00 00 00    be 0c 00 00
00 00 01 34 25 3d 41 c0   c0 0c 00 00    00 60 00 00 
00 00 00 00 00 00 00 00   00 00 00 00    00 00 00 00 
00 00 41 c1 04 3d c1 30   c0 6c 00 00    3e 51 01 00

The 4 Partitions are in order from top to bottom.

[xip1] - [imgfs] - [blank] - [storage]

Here's a example of a *broken* .nb file created that errors on NBmerge.
Code:
os.nb.payload              sector start    size of part.
--------------------------------------------------------
00 02 01 19 23 3f 01 33    02 00 00 00    be 0c 00 00 
00 00 01 34 25 3d 81 3c    c0 0c 00 00    42 7e 00 00 
00 00 00 00 00 00 00 00    00 00 00 00    00 00 00 00 
00 00 41 c1 04 3d c1 30    c0 6c 00 00    3e 51 01 00
The all 00's partition is null (empty) ignore it.

Partition starting sectors are based on the size of the previous partition.

For example look at partition 1 it starts at sector "02" and has a size of "0cbe".
So in base16 02+0cb3=cc0. Note the starting sector for partition 2 is "0cc0" as it should be.

1st thing that I notice here is look at the starting sector for partition 4. It's wrong (if the partition 2 size is correct)
You can see based on the original ROM the sector start data just got moved across.

The starting sector for partition 4 should be partition 2 sector start + partition 2 size. Or ...

0cc0+7e42=8b02

So the starting sector for partiton 4 should 8b02 (or 028B little-endian)

I've tried this and it doesn't fix it. While the error goes away with nbmerge...

Code:
Partition 0: start sector: 0x00000002, total: 0x00000cbe
               first used: 0x00000002, used:  0x00000929
Partition 1: start sector: 0x00000cc0, total: 0x00007e42
               first used: 0x00000cc0, used:  0x00007e29
Checking OS.nb for bad NAND block marker
Checked 0x8b02 sectors successfully!
Done.
The 4th partition doesn't show up.

So perhaps it's a fixed size for partition 4 and now it's out of bounds because partition 2 is larger. So subtract the difference between them.

Original size for partition 2= 6000 new size = 7e42.

7e42-6000=1e42

So subtract size difference from partition 4 (01-51-3e) ...

1513e-1e42=132FC

I tried this as well... no luck.



This leads me to believe that the partition 2 size is incorrect. Or perhaps I need to adjust the starting CHS values and ending CHS values in the 1st 8 bytes of the partition header. You can see that it does change for partition 2 when it grows above.


I've only had 2 hours or so to screw around with this so far this week... I'll try again tonight. (I had family visiting at my house all week; I finally have free time now... well after I'm done shopping with the wife today. I'm getting yelled at to leave now)


I used these links to reference partition header information.

http://mirror.href.com/thestarman/as...PartTables.htm
http://ata-atapi.com/hiwtab.htm

p.s.

no2chem I was trying to send you a PM with this info but your mailbox is full

Last edited by SiGGy; 03-10-2008 at 08:51 AM.
Reply With Quote
Reply

  PPCGeeks > Windows Mobile > WM HTC Devices > HTC Titan > Titan Development


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


All times are GMT -4. The time now is 08:50 AM.


Powered by vBulletin® ©2000 - 2025, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.6.0
©2012 - PPCGeeks.com