FORUMS

[TUT] Manual Full XIP Porting (& MANY MORE TUTORIALS) [ONLINE]

1,984 posts
Thanks Meter: 9
 
By Ameet, Retired Moderator on 22nd October 2008, 07:27 PM
Post Reply Email Thread
23rd October 2008, 01:26 PM |#11  
Ameet's Avatar
OP Retired Moderator
Flag Mumbai
Thanks Meter: 9
 
More
Miscellanous uploads related to XIP porting

Kitchen Files
I use "DiamondKitchen_v0.4" kitchen to cook Diamond ROMs. The XIPInsert file is something that I made to automate the insertion and nbmerge process (well, something automatic is better than complete manual )

If you select to use the XIPInsert batch file then you must have DiamondKitchen_v0.4\XIP\xip_out.bin and DiamondKitchen_v0.4\XIP\OS.nb.payload to use this option, else the existing OS.nb file in \ROM folder will get deleted

Note: The insert values used in the batch file is for Diamond ROMs. Please check and edit these as per your devices
Code:
!COOK.cmd
Modified to provide options to include the below batch file or to continue without it
Also included necessary warning
Code:
8a.XIPInsert.bat
@echo off
cd XIP
..\TOOLS\insert.exe -i xip_out.bin -o OS.nb.payload -d 0x00320000 -s 0x004C0000
..\TOOLS\nbmerge -kaiser OS.nb
copy OS.nb ..\ROM\OS.nb
del OS.nb
del *.payload
del *out.bin
exit
Deprotecting ROMs: My friend, Ervius has made a small tool to "deprotect" a protected ROM , here: http://forum.xda-developers.com/showthread.php?t=465642
Attached Files
File Type: zip 8a.XIPInsert.zip - [Click for QR Code] (278 Bytes, 266 views)
File Type: zip COOK.zip - [Click for QR Code] (548 Bytes, 266 views)
23rd October 2008, 01:36 PM |#12  
jcespi2005's Avatar
Senior Member
Flag Madrid
Thanks Meter: 190
 
Donate to Me
More
First to say THANKS

Cheers
23rd October 2008, 01:43 PM |#13  
ayyu3m's Avatar
Senior Member
Flag System Error
Thanks Meter: 273
 
More
and second to say this is real hard work...but u have done it bro..

congrats
23rd October 2008, 01:57 PM |#14  
Ather's Avatar
Retired Senior Moderator
Thanks Meter: 1,015
 
Donate to Me
More
another amazing work by the XIP Master
23rd October 2008, 02:41 PM |#15  
KMFM$'s Avatar
Senior Member
Flag Ohio
Thanks Meter: 1
 
More
Thanks for sharing the info, ababrekar! I'm sure this will help out many people (myself included ).
23rd October 2008, 02:49 PM |#16  
Noonski's Avatar
Inactive Recognized Developer / Moderator Emeritus
Flag Amsterdam
Thanks Meter: 147
 
Donate to Me
More
Thumbs up
Bite Down and Don't Give Up.

Sounds like someone i know from.... hey, it is you!

Good Job,
23rd October 2008, 03:17 PM |#17  
!Aman!'s Avatar
Retired Moderator
Flag Brampton
Thanks Meter: 14
 
Donate to Me
More
Quote:
Originally Posted by ababrekar

Use this command for inserting the xip_out.bin into the .payload (presuming you already have the shipped OS.nb.payload file in the same working folder
insert.exe -i xip_out.bin -o OS.nb.payload -d 0x00320000 -s 0x004C0000
Check these values with your device imgfs since in Diamond the XIP starts at 0x00320000 and the imgfs starts at 0x007A0000, but for some reason the imgfs signature in Diamond is at 0x007E0000

just to make it more clear, the value for "-s"= (starting offset of imgfs - starting offset of XIP)

PS: wonderful job writing this guide brother
23rd October 2008, 03:19 PM |#18  
Senior Member
Flag Columbus
Thanks Meter: 39
 
More
Ouch - too much like work, but it is nice to know how to do it.

Thanks for your effort!

Best regards,
-boggsie

So, how does one get hooked into the flow of new releases?
23rd October 2008, 03:31 PM |#19  
jcespi2005's Avatar
Senior Member
Flag Madrid
Thanks Meter: 190
 
Donate to Me
More
Perhaps would be a good idea to use one of your reserved posts as a repository of good XIP.BIN files with versions and info about the ROM extracted, so all we can use in our ROMs... only a tought...
23rd October 2008, 03:55 PM |#20  
Ameet's Avatar
OP Retired Moderator
Flag Mumbai
Thanks Meter: 9
 
More
Smile
Quote:
Originally Posted by jcespi2005

Perhaps would be a good idea to use one of your reserved posts as a repository of good XIP.BIN files with versions and info about the ROM extracted, so all we can use in our ROMs... only a tought...

That is a good idea but I'll do that for posting the unedited XIP.bin files from dumped ROMs since the xip_out.bin I build would be for my device. People wont want to ruin their ROMs with someone else's ported XIP, right?
23rd October 2008, 03:58 PM |#21  
Ameet's Avatar
OP Retired Moderator
Flag Mumbai
Thanks Meter: 9
 
More
Quote:
Originally Posted by boggsie

Ouch - too much like work, but it is nice to know how to do it.

Thanks for your effort!

Best regards,
-boggsie

So, how does one get hooked into the flow of new releases?

I know too much work Been on it since last 3 days. I'll test Ervius's method although sometime later. He believes since the XIPPort tool only uses the imageinfo.txt files, we can delete the .bin files all together and build the xip_out.bin directly. That way then you wont have to reloc through Mreloc
Post Reply Subscribe to Thread

Tags
change pagepool, hex, imgfs, increase imgfs, mbr, msflsh50, pagepool, porting, porting guide, remove uldr, uldr, xip, xip porting, xipporter ex

Guest Quick Reply (no urls or BBcode)
Message:
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes