View Full Version : A stupid question: How change ROM's date/version
I'll made my ROM for a Trinity, anyway I'm use this section because i think that the "Hermes Upgrading" one is the most reable about this argument...
So,
I'll edit a coocked-rom, after....how can I modify his date/version (diplayed on boot and in settings->info tab) ???
Tnks,
xplode
23-06-2007, 06:38 PM
i am interested about rom date also
shivrohansharma
24-06-2007, 10:07 AM
Hi you can change the date but if u'll change the rom on ur mobile.just upgrade the latest rom on ur phone the date will b update also.
joshkoss
18-07-2008, 08:29 PM
Any responses on this? I'm cooking a rom in a kitchen and would like to know this secret also.
dan1967
19-07-2008, 01:01 PM
u need to hexedit s000 in nk.exe module located in XIP folder.
not for evbdy, be careful.
pcg240
23-07-2008, 01:42 AM
u need to hexedit s000 in nk.exe module located in XIP folder.
not for evbdy, be careful.
but how to do ? thank you !
joshkoss
23-07-2008, 03:50 AM
u need to hexedit s000 in nk.exe module located in XIP folder.
not for evbdy, be careful.
Thanks Dan!! Can you point me in the correct direction as to which offset?
rmarshll
24-07-2008, 08:07 PM
did anyone find this out? I want to change the Date on my custom Vogue ROM
Not much luck for me, either, but when cooking around with the shipped AT&T WM6.0 ROM, I was able to change the Version by simply editing the PROVXML file in OEMVersion.
The only way I found to change the ROM's Date was by hex-editing the completed .NBH file. This is not very elegant, and needs to be done after every build. Also, it only effects the ROM Date shown on the Settings->System->DeviceInfo screen. The danged calendar that pops up when you are first initializing the device does NOT obey the new date, which is a bit of a pain.
I've searched long and hard in many of the device forums, as well as a few other websites. I've tried some Kaiser tools, as well as some others. If any forum members really know how to do this on a Hermes, nobody is talking. Too bad. :(
-pvs
joshkoss
29-07-2008, 05:55 PM
OK, Done it in my latest 20270 ported to hermes XIP and SYS... After cooking before loading into the NBH. Hex edit the os-new.nb and search asci text (2007) The first two results will be the ones you change.. Change these dates to the rom dates you desire. and WHAMMO you have a rom with a current date.. ENJOY. and thanks to Abusalza in the hermes forum for his assistance with this.
OK, Done it in my latest 20270 ported to hermes XIP and SYS... After cooking before loading into the NBH. Hex edit the os-new.nb and search asci text (2007) The first two results will be the ones you change.. Change these dates to the rom dates you desire. and WHAMMO you have a rom with a current date.. ENJOY. and thanks to Abusalza in the hermes forum for his assistance with this.It sounds like this achieves the same thing I did by hex-editing the resuting .NBH. I am curious ... does this method also change the initial date that comes up when initializing a new ROM ... just after the screen alignment? When I HexEdit the NBH file, the ROM's date is changed on the Device Info Screen, but the ROM initialization routine always starts with the calendar at 9/1/2007. What happens with your method?
-pvs
swtos
29-07-2008, 11:25 PM
HexEdit .nbh file, search for the month (unicode) e.g. jul . Replace month
(3 letters) and date that follows.
First calendar screen and internal rom date will be updated this way.
you may edit also .provxml (e.g. oemversion provxlm) ...
:)
HexEdit .nbh file, search for the month (unicode) e.g. jul . Replace month
(3 letters) and date that follows.
First calendar screen and internal rom date will be updated this way.
you may edit also .provxml (e.g. oemversion provxlm) ...
:)Thanks for this, swtos, but this is what I've been doing. Unfortunately, it does not work (for the initialization calendar) on my cooked AT&T WM6 ROM. It DOES change the ROMDate in DeviceSettings, but it has no effect on that initial calendar.
Oh well,
-pvs
swtos
02-08-2008, 04:29 AM
Then you have to edit nk.exe\s000 ..
or Xip.bin (xip_out.bin)
:)
Good Luck !
Then you have to edit nk.exe\s000 ..
or Xip.bin (xip_out.bin)
:)
Good Luck !Thanks a lot, swtos. I already know I don't have the s000 module (already tried that method), but I guess I could possibly "reversmode" NK.EXE and go from there (never tried THAT).
I'll also have a look at XIP.bin/XIP_out.bin, and see what's up with that.
Thanks a lot!
-pvs
the_goldendragon
05-08-2008, 01:28 PM
I'll made my ROM for a Trinity, anyway I'm use this section because i think that the "Hermes Upgrading" one is the most reable about this argument...
So,
I'll edit a coocked-rom, after....how can I modify his date/version (diplayed on boot and in settings->info tab) ???
Tnks,
I am not sure but take a look on post #8
http://forum.xda-developers.com/showthread.php?t=413376
joshkoss
05-08-2008, 03:54 PM
It sounds like this achieves the same thing I did by hex-editing the resuting .NBH. I am curious ... does this method also change the initial date that comes up when initializing a new ROM ... just after the screen alignment? When I HexEdit the NBH file, the ROM's date is changed on the Device Info Screen, but the ROM initialization routine always starts with the calendar at 9/1/2007. What happens with your method?
-pvs
Yknow man, I noticed when i added a oem package to sync the time with the network it updated that time to the current one at first cold boot.. Try that..
Yknow man, I noticed when i added a oem package to sync the time with the network it updated that time to the current one at first cold boot.. Try that..Hmmm ... my ROM doesn't NEED this package, as it already has the auto TZ options ON as a default. But if you could post a link to the OEM package you're referring-to, I'd be very happy to take a look at it, and see if it exhibits this "side-effect" on my ROM. That would be great!
Thanks a lot,
-pvs
joshkoss
05-08-2008, 04:20 PM
Hmmm ... my ROM doesn't NEED this package, as it already has the auto TZ options ON as a default. But if you could post a link to the OEM package you're referring-to, I'd be very happy to take a look at it, and see if it exhibits this "side-effect" on my ROM. That would be great!
Thanks a lot,
-pvs
Sure dude, I'm at work now but i'll upload tonight when i get home... It's either this or the method i describe in post 12 that does it for me..
Sure dude, I'm at work now but i'll upload tonight when i get home... It's either this or the method i describe in post 12 that does it for me..COOL! Thanks a mill, joshkoss.
-pvs
CRCinAU
05-08-2008, 08:23 PM
for those of us using a linux or cygwin based system to build their ROMS, you can use the following code:
echo -n "Patching build dates..."
day=`date +%d`
month=`date +%b`
year=`date +%Y`
echo $month | dd of=ROM/XIP/nk.exe/S000 bs=61224 seek=1 conv=notrunc
echo $day | dd of=ROM/XIP/nk.exe/S000 bs=61228 seek=1 conv=notrunc
echo $year | dd of=ROM/XIP/nk.exe/S000 bs=61231 seek=1 conv=notrunc
echo " Done!"
Sadly, most kitchens aren't based on linux or cygwin - but I'm sure there's at least one other person out there that's done this other than me :) (I hope!)
EDIT: Oh, the bs parameter is the offset of the date in DECIMAL. You'll have to hunt around in S000 to find it when (or if) you change nk.exe in your XIP...
vBulletin® v3.7.0, Copyright ©2000-2008, Jelsoft Enterprises Ltd.