Introducing XDA:DevCon – A Conference For Developers By Developers
XDA Developers Android and Mobile Development Forum
Forgot your password?
 
Post Reply+
Tip us?
 
Bxsteez
Old
(Last edited by Bxsteez; 15th January 2009 at 02:59 PM.)
#1  
Bxsteez's Avatar
Senior Member - OP
Thanks Meter 47
Posts: 1,997
Join Date: Jun 2006
Location: Melbourne, FL
Default [Q]ROM Cooking Problems Please Help!!!

Before i get flammed like crazy. I have searched for guides to cooking roms and used all different kinds of kitchens but none seem to work at all. Unless there is something written between the lines that i can't see i just don't think i'm doing anything wrong.

Anyway. When I try an build a rom and create the os-new.nb file imgfsfromdump just crashes and i can't create the file. Sometimes it works but once it fails it doesn't start working for a long time. I'm not sure what i'm doing. I try and dumb a stock rom and rebuild exactly the same but the same thing happens.

If anyone with some xip|sys porting could give me a hand to get past this step i'd appreciate it.

Thanks..
 
Bxsteez
Old
#2  
Bxsteez's Avatar
Senior Member - OP
Thanks Meter 47
Posts: 1,997
Join Date: Jun 2006
Location: Melbourne, FL
I'm starting to believe it might be a conflict with SP3. Can anyone confirm that they have these kitchens working with SP3?
 
itje
Old
#3  
itje's Avatar
Retired Moderator
Thanks Meter 189
Posts: 4,343
Join Date: Jun 2007
Location: Kleppe

 
DONATE TO ME
replace your ImgfsFromDump with the attached version
Attached Files
File Type: zip ImgfsFromDump.zip - [Click for QR Code] (30.0 KB, 35 views)
Current device: HTC 8x
OS version: 8.0.10211.204

 
Bxsteez
Old
#4  
Bxsteez's Avatar
Senior Member - OP
Thanks Meter 47
Posts: 1,997
Join Date: Jun 2006
Location: Melbourne, FL
Quote:
Originally Posted by itje View Post
replace your ImgfsFromDump with the attached version
Thanks itje. I tried this but it still crashes everytime i try and compile the files. I'm not sure why. Is there something i could be doing wrong? Have you seen this before?
 
jackleung
Old
#5  
jackleung's Avatar
Recognized Developer
Thanks Meter 41
Posts: 2,272
Join Date: Apr 2005
Location: USA

 
DONATE TO ME
Did ImgfsFromDump ever work for you? (That is, did you try just extract and create the image without modify any content)

For me, I am not following the script in the kitchen completely to create the image. Here is what I execute on the temp directory (w/ dump as sub-directory) and work fine so far. (just make sure you did not remove the imgfs.bin and the payload in extracting the image)

..\TOOLS\ImgfsFromDump imgfs.bin imgfs-new.bin
..\TOOLS\ImgfsToNb imgfs-new.bin os.nb.payload os-new.nb.payload
..\TOOLS\NBMerge -kaiser os-new.nb
 
Bxsteez
Old
#6  
Bxsteez's Avatar
Senior Member - OP
Thanks Meter 47
Posts: 1,997
Join Date: Jun 2006
Location: Melbourne, FL
Strangly enough it did work a couple of times then i just started getting that error that says "imgfsfromdump needs to close" that basic windows error. I thought it might have been DEP but i made a exception for that program. I'm going to try this and see if i have the same problems.
 
Bxsteez
Old
#7  
Bxsteez's Avatar
Senior Member - OP
Thanks Meter 47
Posts: 1,997
Join Date: Jun 2006
Location: Melbourne, FL
I'M SUCH AND IDIOT!!! The reason it was crashing is cause i kept building the dump into packages. So i assume it was looking for files in the wrong place which just causes the process to fail. Thanks guys!!!
 
Bxsteez
Old
(Last edited by Bxsteez; 17th January 2009 at 09:55 AM.)
#8  
Bxsteez's Avatar
Senior Member - OP
Thanks Meter 47
Posts: 1,997
Join Date: Jun 2006
Location: Melbourne, FL
Can someone help me find this 21109 build to where i can actuallyt port it? I've tried to extract it from various roms and all it does is fail everytime and my phone is stuck at the sony screen.


*******EDIT******
I finally figured out how to get XIP ported but now i'm having a problem with the SYS folder. No matter what SYS folder i use and no matter how many different tutorials i go through i still get the same point. I flash and it sits at the sony ericisson symbol and does nothing. Is there some folders i shouldn't change in the SYS?
 
itje
Old
#9  
itje's Avatar
Retired Moderator
Thanks Meter 189
Posts: 4,343
Join Date: Jun 2007
Location: Kleppe

 
DONATE TO ME
run g'reloc on the stock sys folder from x1, note all the values..

then run g'reloc on your new UNTOUCHED sys, where you change NOTHING...no swapping of files (unless you port from vga or qvga, or change locale, but thats another story) then change the values on the new sys with the values from the stock x1 sys, apply changes, and you have ported the sys.

cheers
Current device: HTC 8x
OS version: 8.0.10211.204

 
Bxsteez
Old
#10  
Bxsteez's Avatar
Senior Member - OP
Thanks Meter 47
Posts: 1,997
Join Date: Jun 2006
Location: Melbourne, FL
Quote:
Originally Posted by itje View Post
run g'reloc on the stock sys folder from x1, note all the values..

then run g'reloc on your new UNTOUCHED sys, where you change NOTHING...no swapping of files (unless you port from vga or qvga, or change locale, but thats another story) then change the values on the new sys with the values from the stock x1 sys, apply changes, and you have ported the sys.

cheers
When i run g reloc i get the same values as i did with the original build. Let me see if i understand the file hierarchy correctly.

1. I run G'reloc where i have my stock ROM's SYS folde. (note those values)
2. then i run G'reloc where my Donor SYS folder with the rest of the crap from the Donor ROM.
3.Then i copy the Donor SYS folder into the location i have my stock ROM SYS folder and overwrite. I run G'reloc again if the information is different from the first time i ran g'reloc i change it and hit do it.


Is this what i should be doing? I do this and i get the same result no matter which ROM i try and port from. I am porting from a touch pro ROM so is there anything i would need to change due to the vga to wvga switch?

 
Post Reply+
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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

Go to top of page...

XDA PORTAL POSTS

Tasker Alternative: AutomateIt, Automates Your Device Tasks – XDA Developer TV

XDA Developer TV Producer Kevin wants to help make your … more

Preventing App Piracy: Join the Discussion

The topic of piracy is always a touchy subject, but I feel that the grass roots style of Android … more

Jolla Sailfish OS Flagship Device Makes First Appearance

Given the amount of coverage that Android receives around here, you could almost be … more

XDA University: Porting ClockworkMod Recovery to New Devices

Having a good recovery makes the process of modifying, tweaking, maintaining, … more