Jump to content

Error with osnbtool


Guest angel12

Recommended Posts

Guest angel12

hey guys, im trying to build a rom for the cdma omnia, but i currently get this error:

ERROR - Part-2 size is wrong!

when trying to do this:

osnbtool -c (initial rom dump).img 2 temp\imgfs.new

this is going out to all the cooks that have some experience with the omnia, how can i fix this error?

Link to comment
Share on other sites

Guest angel12

my guess is this has to do with the imgfs.src file, as its made for the gsm omnia, not cdma, and partition sizes might be different. any takers?

I guess i should detail how i extracted the rom:

i got a rom dump from a vzw omnia

could not extract the imgfs partition using osnbtool.exe (i actually got the same error when i try to extract as when i try to insert), had to use prepare_imgfs -nosplit (this is part of imgfstools on xda-devs)

Edited by angel12
Link to comment
Share on other sites

Guest Bern612
last bump. nobody here knows/ gotten this before?

sorry if u already know this but been googling

http://aspn.activestate.com/ASPN/Mail/Mess...modperl/3353181

http://www.inv.org/thread-15741-1-1.html this one i tried to read translated and was still over my head maybe you can make since of them but still looking again sorry if this stuff is crap

Edited by Bern612
Link to comment
Share on other sites

This is a total hack, but I tried adding 5 megs worth of 0xff's to the i900L .img file and I got what appeared to be a valid section 2.

If you hex edit the rom, do you see a lot of 0xff's at the end?

I imagine that the partitions are padded to a desired size with 0xff's.

Link to comment
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.