Jump to content

Recommended Posts

Guest angel12
Posted

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?

Guest angel12
Posted (edited)

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
Posted

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.

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.