[SOLVED]First boot customization doesn't start - Windows Mobile

Hi,
I'm using the latest osKitchen (v1.33.5) to build my own ROM for the HTC Kovsky (SE Xperia X1). Followed the tutorial, imported the latest official R3A WWE build, added a WM 21916 build and started cooking. But there's no first boot customization after a flash/hard reset. There are no errors, executing AutoRun.exe from the Windows folder doesn't seem to work either.
The config.txt (used by AutoRun and RunCC) files are left stock, but editing them doesn't make a difference. How can I fix this? If you need more information, just ask. I'll reply asap.

Have you added the runcc.lua file and redirected it to the right config.txt?
If so, flash the ROM and look whether those files are in \Windows\ (and just not executed) or not present.

Flashed the ROM: runcc.lua was already added and it redirects to the right config.txt. Paths are correct.

...
this happened to me not so long ago:
check that the autorun.exe and config**.txt files do not get overwrote during rom creation.
check that there are no duplicate files with those file names..
good luck!
Rn

I don't think those files are being overwritten during ROM creation. How can I check this? Can't find the Autorun.exe in the kitchen but after building and flashing it is visible in the Windows folder on the device. There are no duplicate files, triple checked that.
Tried building a new kitchen from scratch, an untouched build (only importing the stock ROM and the 21916 build) didn't have a first boot customization either.

I remember figuring this out on my X1 a year ago was a pain in the a*s. Can't recall where the problem was anyway. I could upload my OEM Packages for you if you'd like to? I'm using a older version of that kitchen anyway so this "could" lead to new problems...

That would be great! Please let me know what kitchen version you used, if there are any problems I can try to roll back to that one.

I PM'd you. Most persons would not know what to do with said files so it makes no sense posting them here I guess...

...
hey dude,
not sure what your problem is if all your config**.txt are there and there is no duplicate files, for me i had a mortscript called "autorun.exe" which obviously overwrote my original autorun.exe and caused my device to do no customisation.
erm, as for not finding your autorun.exe
lots of files in the kitchen are hidden and the windows hidden files toggle does not show all the hidden files for some reason :/
me personally i use ACDSee photo manager 9 to view the files in my kitchen, i then select all the files and untick the 'hidden' properties.
ALL the files you couldnt see in windows explorer are always visable using Acdsee, by unticking the properties with Acdsee, it now makes them visable in windows explorer.
hope you understand what i meen :s
btw, i only use acdsee9 to view my pictures and to change the properties of the files.
i edit all my images with photoshop and paint.
Rn

derliebewolf said:
Most persons would not know what to do with said files so it makes no sense posting them here I guess...
Click to expand...
Click to collapse
According to my searching results this issue seems to be very rare. Posting the download link here shouldn't harm others.
For osKitchen version number you mentioned in your PM, open the kitchen and use Help -> About. Don't know if this option was present in earlier builds, but at least in 1.33.5 it is.
raving_nanza said:
erm, as for not finding your autorun.exe
lots of files in the kitchen are hidden and the windows hidden files toggle does not show all the hidden files for some reason :/
Click to expand...
Click to collapse
I wasn't at the stage of using Mortscript in my ROMs yet. Untoggle hidden system files in Windows folder options did the trick, I found AutoRun.exe
Now I'm gonna sit and wait until the download is available...

DillonDarko said:
I wasn't at the stage of using Mortscript in my ROMs yet.
Click to expand...
Click to collapse
let me know when you are at that stage dude, ive got a small collection of usefull scripts that might prove themselves usefull.
DillonDarko said:
Untoggle hidden system files in Windows folder options did the trick, I found AutoRun.exe
Click to expand...
Click to collapse
cool man, but remember:
the windows hidden files toggle does not show all the hidden files.
Acdsee will show them all so none are hidden, trust me
Rn

NVM....thought of a some other problem...

raving_nanza said:
let me know when you are at that stage dude, ive got a small collection of usefull scripts that might prove themselves usefull.
Click to expand...
Click to collapse
Will do.
For the others that might experience this problem, the download link for EXT and OEM packages available here. These packages are untested, but I'm cooking them now. Thanks for the help. Scroll down for the fix.

So I think it's working now?
@All: please be aware, those packages are device-specific and for HTC Kovsky / SE Xperia X1!

Ok, tried replacing the existing packages with those from derliebewolf. Even when left untouched or using different (correct) commands there's still no customization. @derliebewolf, could you upload your "osKitchen.exe" and "Resources" directory for me? It's all I need, I can fill the kitchen from scratch there.
If this turns out to be a kitchen specific problem I won't hesitate posting it in the official osKitchen thread.

This is a pretty complicated problem to give advise.
Just a suggestion, didn't you modified/removed something from your initflashfiles.dat?
I mean the startup.
Compair it with a stock rom if you did and check if something is missing.
On my HD2:
Directory("\Windows\StartUp"):-File("ConfigureDevice.lnk","\Windows\ConfigureDevice.lnk")
Directory("\Windows\StartUp"):-File("bugtrap.lnk","\Windows\bugtrap.lnk")
Directory("\Windows\StartUp"):-File("HTCStartUp.lnk","\Windows\HTCStartUp.lnk")
Directory("\Windows\StartUp"):-File("PKG.lnk","\Windows\PKG.lnk")
Directory("\Windows\StartUp"):-File("SignatureReplace.lnk","\Windows\SignatureReplace.lnk")
Directory("\Windows\StartUp"):-File("Welcome.lnk","\Windows\welcome.lnk")
Click to expand...
Click to collapse
You tried everything possible so I taught maybe this could be possible.
On Xperia it's probably about the same.
DillonDarko said:
Ok, tried replacing the existing packages with those from derliebewolf. Even when left untouched or using different (correct) commands there's still no customization. @derliebewolf, could you upload your "osKitchen.exe" and "Resources" directory for me? It's all I need, I can fill the kitchen from scratch there.
If this turns out to be a kitchen specific problem I won't hesitate posting it in the official osKitchen thread.
Click to expand...
Click to collapse

You really need to leave the welcome.lnk line in there, or else you won't get the alignment screen and you can't boot the device up.

Found the issue: an incomplete initflashfiles.dat. By adding the lines below to a stock initflashfiles.dat the whole issue has been fixed.
Code:
Directory("\Windows\StartUp"):-File("CheckAutoRun.lnk","\Windows\CheckAutoRun.lnk")
Directory("\Windows\StartUp"):-File("AutoShortcut.lnk","\Windows\AutoShortcut.lnk")
Turned out a stock initflashfiles.dat file doesn't have those lines included by default. Thanks to all for the help, expect a new custom Xperia X1 ROM soon.

That's nice to hear, congrats.
Please at [SOLVED] to the topic title and I will link this thread to the solved cases sticky.
DillonDarko said:
Found the issue: an incomplete initflashfiles.dat. By adding the lines below to a stock initflashfiles.dat the whole issue has been fixed.
Code:
Directory("\Windows\StartUp"):-File("CheckAutoRun.lnk","\Windows\CheckAutoRun.lnk")
Directory("\Windows\StartUp"):-File("AutoShortcut.lnk","\Windows\AutoShortcut.lnk")
Turned out a stock initflashfiles.dat file doesn't have those lines included by default. Thanks to all for the help, expect a new custom Xperia X1 ROM soon.
Click to expand...
Click to collapse

DillonDarko said:
Found the issue: an incomplete initflashfiles.dat. By adding the lines below to a stock initflashfiles.dat the whole issue has been fixed.
Turned out a stock initflashfiles.dat file doesn't have those lines included by default. Thanks to all for the help, expect a new custom Xperia X1 ROM soon.
Click to expand...
Click to collapse
Which makes me woder whether those lines are missing in my initflashfiles.dat as well? RunCC is working perfectly anyway... Glad you solved it!

Related

[APP] ReCOOKstruct - "all pkg in one" cooked ROM reconstructor

Hi!
This tool tries reconstruct cooked ROMs, that have been cooked using the "all packages in one" feature. It does this using a scaffold ROM, that should be as identical to the cooked one as possible for maximum recookstruction.
How does it work?
In theory
It loads the filenames and registry entries from the mock-up ROM and from the dumped ROM (using rgucomp to get the registry informations), then it tries to set up the same file and registry structure that the scaffold ROM had, but with the files and registry entries from the dumped ROM.
In practice
Copy the "oem", "sys" and "packages" directory from a non-cooked ROM in a directory. This will be the scaffold. The more identical this is to the cooked ROM the better. You can of course use a kitchenized official ROM too.
Next extract the contents of the cooked ROM. (using imgfstodump or something similar). Put the contents of the ROM in a "dump" directory besides the "oem", "sys" and "packages" directory.
Delete the dsm file from the dump, you won't need it. If it has an rgu file, delete it too.
Next copy reCOOKstruct into this directory, and run it (you should do it in a console, so you can see what it is doing). After a while it should create an "_output" directory, with the "oem", "sys" and "packages" directories recookstructed. All files and registry entries it couldn't handle using the scaffold will be put in the "Unknown packages" package in the "packages" directory.
Recooking
If you want to cook the recookstructed dump, then move everything from the "packages" directory to the "OEM" directory (they won't have an option.xml so buildos won't recognize them is they are there). Add ".ROM" and ".VM" to the "sys" directory from the dump (because they weren't copied). Next load up buildos, and cook. Be careful though! You will need the same (extracted) XIP in your kitchen as the dumped ROM had! Copying and porting XIP's in not in the scope of this topic...
Legal
If you recookstruct a ROM and use information from it to create your ROM, then add credit to the original author even if he didn't release his rom in kitchen form
Download
see attachments
EDIT: forgot to include rgucomp.exe, added
Awesome concept if it works. Ill give it a shot later when I get by a real computer thanks
hey sztupy great tool bro im gonna take a look at it (sector)!
thanks
will try tis ... really getting tired of the all in one package ... when wanna recook
kudos
rjmjr69 said:
Awesome concept if it works. Ill give it a shot later when I get by a real computer thanks
Click to expand...
Click to collapse
I've tried with two of my favorite ROM's (that have no kitchens) and it worked fine. Just don't forget to use the XIP/os.nb/"etc stuff not related to the imgfs section" from the cooked rom.
ugotta try this. thanks
Hi,
i have tested your tool, but comes error:
Microsoft Windows XP [Version 5.1.2600]
(C) Copyright 1985-2001 Microsoft Corp.
C:\BlackStoneKitchen>recookstruct
ReCOOKstruct
Cooked ROM reconstructor
by SztupY (http://winmo.sztupy.hu)
Reading data from dump
Reading dumped filelist
Reading registry hives
dumping dump/boot.hv
C:\DOKUME~1\alle\eee\eee.recookstruct.exe.2\app\recookstruct.rb:85:in ``': No su
ch file or directory - rgucomp -o "dump/boot.hv" -nologo (Errno::ENOENT)
from C:\DOKUME~1\alle\eee\eee.recookstruct.exe.2\app\recookstruct.rb:85
from C:\DOKUME~1\alle\eee\eee.recookstruct.exe.2\app\recookstruct.rb:83:
in `each'
from C:\DOKUME~1\alle\eee\eee.recookstruct.exe.2\app\recookstruct.rb:83
from C:\DOKUME~1\alle\eee\eee.recookstruct.exe.2\bootstrap.rb:77:in `loa
d'
from C:\DOKUME~1\alle\eee\eee.recookstruct.exe.2\bootstrap.rb:77
C:\BlackStoneKitchen>
Click to expand...
Click to collapse
C:\DOKUME~1\alle\eee\eee.recookstruct.exe.2\ what is it???
solution?
Folderstructure:
BlackStoneKitchen
-Dump
-OEM
-SYS
cheers
*_Touch_HD_* said:
Hi,
i have tested your tool, but comes error:
C:\DOKUME~1\alle\eee\eee.recookstruct.exe.2\ what is it???
solution?
Folderstructure:
BlackStoneKitchen
-Dump
-OEM
-SYS
cheers
Click to expand...
Click to collapse
it couldn't find rgucomp.exe. Did you copy that there too?
EDIT: I forgot to include rgucomp.exe in the zip. Redownload please.
nice, now works.
cheers
yes yes sztupy...
always re-inventing the wheel. Gonna use this methinks....
Thanks as always bro. Hope you keeping well!!
Ok so if I read this right what needs to happen is you have to find the DONOR rom which is most likely a stock or leaked rom and then the actual rom your want to depackage and follow the rest of the directions?
Can someone please verify this for me before I screw something up. Thanks
Would someone be willing to do a rom for me I think this is above my skills but I have a base rom I'm dieing to add too
rjmjr69 said:
Ok so if I read this right what needs to happen is you have to find the DONOR rom which is most likely a stock or leaked rom and then the actual rom your want to depackage and follow the rest of the directions?
Can someone please verify this for me before I screw something up. Thanks
Would someone be willing to do a rom for me I think this is above my skills but I have a base rom I'm dieing to add too
Click to expand...
Click to collapse
Yes, you're right. You'll need a donor that will be used as a pattern for the recookstruction. You can use anything ranging from official ROM's to kitchens with extracted ROM's
sztupy said:
Yes, you're right. You'll need a donor that will be used as a pattern for the recookstruction. You can use anything ranging from official ROM's to kitchens with extracted ROM's
Click to expand...
Click to collapse
Thank you sir for such a speedy reply. I've given it a shot but I dont know what the heck is going wrong I think its Vista even though I have full admin "hidden admin" user rights.
I'm going to have to fire up the xp machine see what happens there. But I would still love if someone could do it for me hehehe
rjmjr69 said:
Thank you sir for such a speedy reply. I've given it a shot but I dont know what the heck is going wrong I think its Vista even though I have full admin "hidden admin" user rights.
I'm going to have to fire up the xp machine see what happens there. But I would still love if someone could do it for me hehehe
Click to expand...
Click to collapse
vista shoudln't be a problem, I'm using Win7/vista miyself
Another fine thread added to my list of subscriptions ...
Cheers!
hilaireg said:
Another fine thread added to my list of subscriptions ...
Cheers!
Click to expand...
Click to collapse
This thread wouldn't be possible without your cooking tutorial
SztupY
can i reconstruct a rom that was made by another chef? if so how because i read everything and i am still clueless on what to do
Wooooooowwwwwwwwwww! Works great!! PROPS man!!
Oh wait, then it failed in SYS at sys/Redist_Lang_0409
Says: (** are username, disregard please)
C:\DOCUME~1\**\eee\eee.recookstruct.exe.3\app\recookstruct.rb:215:in `conv': "\343o Tom\351 and Pr\355n"... (Iconv::IllegalSequence)
from C:\DOCUME~1\**\eee\eee.recookstruct.exe.3\app\recookstruct.rb:215
from C:\DOCUME~1\**\eee\eee.recookstruct.exe.3\app\recookstruct.rb:214:in `open'
from C:\DOCUME~1\**\eee\eee.recookstruct.exe.3\app\recookstruct.rb:214
from C:\DOCUME~1\**\eee\eee.recookstruct.exe.3\app\recookstruct.rb:185:in `each'
from C:\DOCUME~1\**\eee\eee.recookstruct.exe.3\app\recookstruct.rb:185
from C:\DOCUME~1\**\eee\eee.recookstruct.exe.3\bootstrap.rb:77:in `load'
from C:\DOCUME~1\**\eee\eee.recookstruct.exe.3\bootstrap.rb:77
Any ideas??
Very much appreciated. I was in the process of developing the same exact thing. But you seem to have beat me to the punch. At least you made my job easier. lol
ookba said:
Wooooooowwwwwwwwwww! Works great!! PROPS man!!
Oh wait, then it failed in SYS at sys/Redist_Lang_0409
Says: (** are username, disregard please)
C:\DOCUME~1\**\eee\eee.recookstruct.exe.3\app\recookstruct.rb:215:in `conv': "\343o Tom\351 and Pr\355n"... (Iconv::IllegalSequence)
from C:\DOCUME~1\**\eee\eee.recookstruct.exe.3\app\recookstruct.rb:215
from C:\DOCUME~1\**\eee\eee.recookstruct.exe.3\app\recookstruct.rb:214:in `open'
from C:\DOCUME~1\**\eee\eee.recookstruct.exe.3\app\recookstruct.rb:214
from C:\DOCUME~1\**\eee\eee.recookstruct.exe.3\app\recookstruct.rb:185:in `each'
from C:\DOCUME~1\**\eee\eee.recookstruct.exe.3\app\recookstruct.rb:185
from C:\DOCUME~1\**\eee\eee.recookstruct.exe.3\bootstrap.rb:77:in `load'
from C:\DOCUME~1\**\eee\eee.recookstruct.exe.3\bootstrap.rb:77
Any ideas??
Click to expand...
Click to collapse
Iconv crashed because it expected an UTF-8 string but got something else. What locale are you in?

[Solved] Sys & XIP 24614 trouble

Greets all,
I decided to dive in and update my build, but have run across a problem which reading everything isnt making me get it. I downloaded the 24614 build from one of the posts extracted it and put the folders accordingly. I unzipped the xip.bin for the same build 24614 and put that in the same location like my working build of 21887 is for the TP2, now when I open EVK I can pull down the sys and it shows me both builds 21887 & 24614, but the XIP doesnt, it only shows me 21887. Most of the posts I read have explained how to get the structure and MSXIPkernel from the xip.bin, but I really havent seen anything about how to make EVK see the xip.
I have a TP2 as I said and the rom 2.07 is build 21887, and I was trying the new manila and for testing purposes I decided to update the build, but I have run into this problem. I really wanted to update to 23114 but at this point, I just want to know what I am doing wrong.
You dont need xip.bin if you are using EVK. Maybe thats what it is causing this error. Check to make sure you have the correct files in correct folders.
ai6908 said:
You dont need xip.bin if you are using EVK. Maybe thats what it is causing this error. Check to make sure you have the correct files in correct folders.
Click to expand...
Click to collapse
I do, I triple checked it. This is the file I downloaded from the Post Latest Sys thread: 24614_MSXIPKernel_SYS_QVGA_WQVGA_HVGA_VGA_WVGA_0409.7z. Installed the EVKTools app that someone made for use of the extra buttons, which then put most of the files accordingly, I then removed the files I didnt need the dpi files below 192, and ran the autorecmod program to recmod the files. Then once I knew the folders were in place, I started up EVK, from the pull down for sys selected 24614 enabled all the packages, it cooks fine, once flashed, the problem is the phone comes on, then instead of getting a boot screen it goes black then turns white and the progress bar appears, once the progress bar fills up, it doesnt continue it hangs, exactly the same way that if you dont rec mod the NTConfig.dll file, which I have already done.
So I can choose the 21887 xip and the 24614 under sys and it should work fine? Okay then I'm really at a loss cause thats exactly how I did it the first time and got the same thing.
Okay here is something that may help someone help me. I just took the MSXIPKernel and the Sys from the HD2 3.01 Rom which is Build 21895 just dropped it in and cooked it and the phone flashed and setup fine, I then took the OBOE 23113 MSXIPKernel and SYS replaced the 0804 with the 0409 from the 3.01 rom cooked it same thing locks up after the progress bar completes the first time. So what havent I done?
ok bud re read the tutorials... com2 6.5 xip wont works with com6.5.X sys
+ Que PPC said:
ok bud re read the tutorials... com2 6.5 xip wont works with com6.5.X sys
Click to expand...
Click to collapse
Ok, can you provide me a link that explains this? There are alot of links in the stickies that are dead links. they are pointing to everythingdiamond.com When I was trying to understand about the builds and com2 com3 com5 and what that all means and how to go to 6.5.x.
For the XIP part to show up correctly in EVK, you need the MSXIPKernel in the correct folder in EVK and you need the OEMXipKernel in the correct folder of EVK.
The MSXIPKernel part comes from the new download that you downloaded for example 24614.
The OEMXipKernel part comes from a stock ROM for your device and does not change very often, but everytime you get a new build, you must copy the OEMXipKernel part to the new build number.
So, what you would do is under the ROM\<DeviceName> folder, copy everything in the 21887 folder to a new folder named 24614. You will then have 2 folders under the ROM\<DeviceName> folder.
Folder Structure as follows
ROM
.....<DeviceName>
..............<Build Number>
........................OEMXipKernel
.....SHARED
..............<Build Number>
........................MSXIPKernel
Once you have your folder structure set up correctly, you will be able to select the build number in the XIP box. If the build number does not show up in the XIP dropdown box, then either you do not have the folder structure set up correctly or you need to exit EVK and re-start it so it can read the structure again.
Substitute the correct <DeviceName> and <Build Number> in the above example.
Your folder might look like this.
ROM
.....Rhodium
..............21887
........................OEMXipKernel
..............24614
........................OEMXipKernel
.....SHARED
..............21887
........................MSXIPKernel
..............24614
........................MSXIPKernel
AngelDeath said:
Ok, can you provide me a link that explains this? There are alot of links in the stickies that are dead links. they are pointing to everythingdiamond.com When I was trying to understand about the builds and com2 com3 com5 and what that all means and how to go to 6.5.x.
Click to expand...
Click to collapse
everythingdiamond.info is now mobileunderground.info. Anything that was once at everythingdiamond.info is now at mobileunderground.info -- post the dead links, and I will give you the current redirect.
AngelDeath said:
Ok, can you provide me a link that explains this? There are alot of links in the stickies that are dead links. they are pointing to everythingdiamond.com When I was trying to understand about the builds and com2 com3 com5 and what that all means and how to go to 6.5.x.
Click to expand...
Click to collapse
In case you having problems and would like to see something more explained here is a great tutorial with videos and everything
http://forum.xda-developers.com/showthread.php?t=669535
indagroove said:
everythingdiamond.info is now mobileunderground.info. Anything that was once at everythingdiamond.info is now at mobileunderground.info -- post the dead links, and I will give you the current redirect.
Click to expand...
Click to collapse
http://www.everythingdiamond.info/showpost.php?p=2879&postcount=2
I know there is more, but this was the one I was trying to read last night.
rgb-rgb,
I just did what you told me and am cooking the rom as I type, If this works Thank you for explaining and showing this step, its the only step I seem not to have found, and the link above was dead, And he'll hopefully fix.
Thank you for not driving me crazy searching thru tut's for this step.
A Great big Thank you again rgb-rgb, it worked! Between you, aruppenthal, Indagroove, & reading, I have learned alot.
AngelDeath said:
http://www.everythingdiamond.info/showpost.php?p=2879&postcount=2
I know there is more, but this was the one I was trying to read last night.
rgb-rgb,
I just did what you told me and am cooking the rom as I type, If this works Thank you for explaining and showing this step, its the only step I seem not to have found, and the link above was dead, And he'll hopefully fix.
Thank you for not driving me crazy searching thru tut's for this step.
A Great big Thank you again rgb-rgb, it worked! Between you, aruppenthal, Indagroove, & reading, I have learned alot.
Click to expand...
Click to collapse
Glad it worked, I had problems myself when starting and had to do a lot of research. I even wrote a PDF file to help others (and myself) some time ago. it is linked in the fist post of Da_G's thread. Just in case you want to check it out. Some of it is outdated now, but you will get the general idea from it.
http://forum.xda-developers.com/showthread.php?t=544445
Look at the top for rgb-rgb's guide.
Thank you again rgb-rgb,
Just downloaded it, and have it in a safe place

[FYI] If a .provxml seems to not work in your coked ROM, Try this

The attached .provxml will not execute. It's supposed to associate icons with folders in the start menu, but it's just not working. It is totally unmodified from the Rhodium S2 ROM. The directories are there as the initflashfiles.dat file is unmodified and the folders are in the start menu. Anyone care to help?
Your file is fine so I guess that you have the same issue I had .
I guess you don't have that provxml added to any of dsm files . Just use this tool and add it to any of dsm files.
http://forum.xda-developers.com/showthread.php?t=523139
You can also use xml parser to check if file is good, for example Serna Editor.
Click to expand...
Click to collapse
Maybe I'm wrong, so if you already have this provxml added to any of dsm files, we'll look for more reasons. One more question, do you try to cook this into ROM or execute from Advanced Configuration Tool?
It's cooked in. The package is directly from the Rhodium S2 ROM, so I don't quite understand why it's not executing. I'm thinking about putting it in another OEM folder and seeing if that will help. Heck I'm lost, and about to turn it in for the night.
As I wrote, try adding it manually to dsm file in that OEM folder, this should help you, if this won't help, then I'm out of ideas.
Anyway, you can just add content of that provxml to another provxml, it's dirty way but probably the easiest one.
This happens because the messenger.lnk have not been created when this provxml is executed and it fails.
So just rename the provxml to mxipupdate_zprojectdefault_a_000.provxml
Notice the "z" ahead of the project.
This trick will put the provxml after the mxipupdate_windowsliveim_1.provxml, so the messenger.lnk will have been created and the provxml will run just fine.
But he said that provxml isn't excuted at all, I'm out of ideas . Anyway, it's worth to give your idea a try.
jwzg said:
The attached .provxml will not execute. It's supposed to associate icons with folders in the start menu, but it's just not working. It is totally unmodified from the Rhodium S2 ROM. The directories are there as the initflashfiles.dat file is unmodified and the folders are in the start menu. Anyone care to help?
Click to expand...
Click to collapse
the provxml isn´t executed on my rhodium as well. but renaming to mxipupdate_zzzzprojectdefault_a_000.provxml
does work for me.
as the posters above me wrote:
the problem seems to be the messenger package which includes another *provxml file which should be prozessed BEFORE mxipupdate_projectdefault_a_000.provxml but it isn´t! also *.provxml aren´t prozessed if there´s a failure inside. when you remove a program and you don´t clear the line in the *.provxml the file would not me prozessed.
this problem is related to platformrebuilder breaking something, you can pm airxtreme for info, it seems that he solved this problem in his wonderful kitchen
steph
Provxml can be launched but they stops at the line it find a problem so it seems that it doesnt works.
Platform rebuilder can reads DSM in EVK? or just in OsK? or none?
Renaming the .provxml solved the issue. Man, the start menu looks good now! Thanks!
Great, I wouldn't think about renaming on my own . Anyway, it seems that those provxml files are processed in alphabetical order, right?
everything is alphabetical order processed in platform rebuilder based kitchens ¬¬
Mod edit: Solved
Dude!!! The sameprob here with Leo ROM... same file... going to try your tip!
kurniawan77 said:
Dude!!! The sameprob here with Leo ROM... same file... going to try your tip!
Click to expand...
Click to collapse
@kurniawan77 - Did it work for you?
Same prob here, using osKitchen Zero for HTC LEO. Already tried renaming by adding zzz in name and also tried adding the provxml in dsm. Any other suggestions? This is drving me nuts, please help.
p/s: also tried opening the provxml in internet explorer/XML notepad 2007 - no errors. Made sure there are no "<?xml version="1.0" encoding="utf-8" ?>" in the headers.
Try to replace platformrebuilder.exe with another version, that did the trick for me.
Before you ask, sorry but I'm using a private edition of platformbuilder so I can't share.
I'm using platformrebuilder.exe v.2.1.0.0
tidus18 said:
@kurniawan77 - Did it work for you?
Same prob here, using osKitchen Zero for HTC LEO. Already tried renaming by adding zzz in name and also tried adding the provxml in dsm. Any other suggestions? This is drving me nuts, please help.
p/s: also tried opening the provxml in internet explorer/XML notepad 2007 - no errors. Made sure there are no "<?xml version="1.0" encoding="utf-8" ?>" in the headers.
Click to expand...
Click to collapse
tidus18 said:
@kurniawan77 - Did it work for you?
Same prob here, using osKitchen Zero for HTC LEO. Already tried renaming by adding zzz in name and also tried adding the provxml in dsm. Any other suggestions? This is drving me nuts, please help.
p/s: also tried opening the provxml in internet explorer/XML notepad 2007 - no errors. Made sure there are no "<?xml version="1.0" encoding="utf-8" ?>" in the headers.
Click to expand...
Click to collapse
You still have problems even with oskitchen 1.31beta3? Some people reported the new DSM-based provxml order to be working fine.
Evil Provxmls....
airxtreme said:
You still have problems even with oskitchen 1.31beta3? Some people reported the new DSM-based provxml order to be working fine.
Click to expand...
Click to collapse
Hi Airxtreme - Thanks for developing the kitchen! Its really great. But i just recently moved to osK Zero from ervius. Previously in ervius i didnt even bother to add provxmls in any dsm. I dont quite understand DSM management fully, but i did add the provxmls in DSM of my ext package (ext package contains my custom icons for start menu and the provxml to add reg entries).
When i get back home, i will try to rebuild the ROM with older version of kitchen and report back. Currently im using v1.31Beta3.
p/s: i had trouble with theme provxmls as well, finally i had to put all the theme files in Operatorpkg, and put the xml entries in HTC's provxmls (the one named HTC_100) for it to work.
Laurentius26 said:
Try to replace platformrebuilder.exe with another version, that did the trick for me.
Before you ask, sorry but I'm using a private edition of platformbuilder so I can't share.
I'm using platformrebuilder.exe v.2.1.0.0
Click to expand...
Click to collapse
2.1.0.0? Then what's the version that is publically available? And can you say something about the new functions, etc.? Thanks!
tidus18 said:
Hi Airxtreme - Thanks for developing the kitchen! Its really great. But i just recently moved to osK Zero from ervius. Previously in ervius i didnt even bother to add provxmls in any dsm. I dont quite understand DSM management fully, but i did add the provxmls in DSM of my ext package (ext package contains my custom icons for start menu and the provxml to add reg entries).
When i get back home, i will try to rebuild the ROM with older version of kitchen and report back. Currently im using v1.31Beta3.
p/s: i had trouble with theme provxmls as well, finally i had to put all the theme files in Operatorpkg, and put the xml entries in HTC's provxmls (the one named HTC_100) for it to work.
Click to expand...
Click to collapse
Those having problem with provxmls where it is used to overwrite other provxmls in sys (ie: for theme settings), please try this http://forum.xda-developers.com/showpost.php?p=7038082&postcount=2477
This version of your kitchen solved all my probs. THANKS!!!!!!!!!!!!
I only tried to help make the provxml load
Bepe created the kitchen tool and knows everything about it.
Edit; a bit late but the version I use is 2.1.0.0 indeed.
cnzqy1 said:
2.1.0.0? Then what's the version that is publically available? And can you say something about the new functions, etc.? Thanks!
Click to expand...
Click to collapse
tidus18 said:
Those having problem with provxmls where it is used to overwrite other provxmls in sys (ie: for theme settings), please try this http://forum.xda-developers.com/showpost.php?p=7038082&postcount=2477
This version of your kitchen solved all my probs. THANKS!!!!!!!!!!!!
Click to expand...
Click to collapse
glad it worked out for u... been away for days... working on bugfixes... and more. v1.31b3 from worked out even better... sorry for late response

Learning to cook a rom

I've been reading up on cooking ROM's and with the help of leeston i managed to create a basic ROM earlier in the week. After searching for guides / tutorials on this stuff im really not that much the wiser, i cant seem to find anything that explains it well enough, there always missing details. The actual cooking process seems fairly straightforward but its those extra bits im missing ie
how do i add my own packages - am i right in just copying them to the SYS folder or is there more to it ?
how do i edit the registry - I know how to edit the registry once the ROM is loaded onto my phone but how do i do it from the ROM without the phone ?
how do i add things to the start menu - When i add packages to the SYS folder and load the ROM into my phone the shortcuts dont seem to be in my start menu
how do i add sense - i've loaded the packages but it never starts and theres no sense option in today settings
im new to this so as you'd imagine the questions i have are endless ...
Im sure most of this info is on XDA already somewhere but i just cant find it, maybe im searching for the wrong term or something.
Any help from the chef's would be great, perhaps you could provide links to tutorials / info you've used when learning to cook. Im sure this stuff would be useful to everyone and may even encourage more to have a go at cooking .
drkdeath5000 said:
1.how do i add my own packages - am i right in just copying them to the SYS folder or is there more to it ?
2.how do i edit the registry - I know how to edit the registry once the ROM is loaded onto my phone but how do i do it from the ROM without the phone ?
3.how do i add things to the start menu - When i add packages to the SYS folder and load the ROM into my phone the shortcuts dont seem to be in my start menu
4.how do i add sense - i've loaded the packages but it never starts and theres no sense option in today settings
.
Click to expand...
Click to collapse
I am still new to cooking but I'll tell you what i believe to be correct.
1.Yes. To add a package to a rom you put the package into the SYS folder.
However be aware that the kitchen used for the TG01 cannot handle EXT (visual) packages, only OEM (old) packages can be used. Use Totalfires package converter to convert between the 2 types.
The above info is not strictly true but is what you need to know when cooking for the TG and i don't have the time or knowledge to write a complete tutorial.
2. Editing the registry is all to do with .RGU files, you can create a package with a new one in or edit the existing ones within the packages in the SYS folder. You can edit them with notepad but i suggest using Notepad2.
Once you open an .RGU file you should recognize the reg key text in the file and edit it accordingly. As far as i am aware the file MUST have REGEDIT4 in the first line and an empty line at the bottom in order to work. Another way is to edit the regkey on your device then export the regkey using resco or something similar, then rename the resulting file from .reg to .rgu then open it in note pad and copy and paste it into another packages .rgu file, or create a custom package for that .rgu file.
The registry can also be modified using cab files during autorun, but this can be a little messy as the cab can be uninstalled by the end user causing problems.
3. To do this you need to edit the initflashs.txt file within the . This can be done manually or with one of the many package tools available on this site. The one i use is below, it does the hardwork for you, you click a few options and it edits the required files as needed.
4. Sense is a funny one. You should just need to add all the required packages to the SYS folder and away it goes. Unfortunately this is rarely the case. It should just a case of making sure all the sense packages are there, including its many dependencies. Sense is one of my weaker areas so maybe some one else has better advice.
Hope this is useful.
do you have a loooong far way, but read the forumposts an try, try and shortPin and try. that was my way, or is my way. i have don´t helping, all found with google and in xda forum.
unfortunately, my English knowledge is terrible. otherwise I would write more.
best to dump a officiels ROM or miROM5 , then you have an example
related post here
http://forum.xda-developers.com/showthread.php?t=750261
PC Software Reg-editor
http://ceregeditor.mdsoft.pl/index.php?id=1〈=en
CAB to OEM
http://forum.xda-developers.com/showpost.php?p=3942000&postcount=1
EXT to OEM
http://www.ppckitchen.org/forums/re...e666.ppckitchen.org/Tools/EXT%20to%20PPCk.exe
All folder to cooking need a .dsm (and/or) .rgu file
RGU name Generator (such as Reg- file) , dsm become automatically
http://www.famkruithof.net/uuid/uuidgen (Fetch UUIDs of another type to Version 4)
do you have a loooong far way!
... Or make a good donation to nokser or ffboy, they teach you
Hi my friend, I have a problem to cook a ROM with cab which required a reboot or witch have a information message ( SWYPE or GPSMOdDriver for example)
Do you know a solution for this please?
Thanks in advance.
Thanks for the info leeston and miro ;-). I havent had time to try it yet but will be over weekend and im almost sure now i know where to find the registry files ill be able to cook something decent up since that was my main problem. Thanks again for the help.
EVEALEX62 said:
Hi my friend, I have a problem to cook a ROM with cab which required a reboot or witch have a information message ( SWYPE or GPSMOdDriver for example)
Do you know a solution for this please?
Thanks in advance.
Click to expand...
Click to collapse
I may be wrong but when the cab files are first installed doesnt it automatically reboot ? If not you can always do a manual reboot ;-).
I've tried everything to get sense working but im just having no luck ... copied the packages to the sys folder, flashes fine, boots fine but no sense and now theres no setting shortcut in the start menu ?
Could i ask for the exact procedure for installing sense please ? Im getting my packages from here but replacing the 2017 home with 2016. Could i perhaps be missing something ?
Thanks again
drkdeath5000 said:
I may be wrong but when the cab files are first installed doesnt it automatically reboot ? If not you can always do a manual reboot ;-).
Click to expand...
Click to collapse
I have try to delete the line "Reboot" after autocabinstall but nothing change the phone always reboot ... I think the only thing is to do OEM package...
I have test with many cabs but nothing works same as you with Sense ...
Have you found solutions ?
EVEALEX62 said:
Hi my friend, I have a problem to cook a ROM with cab which required a reboot or witch have a information message ( SWYPE or GPSMOdDriver for example)
Do you know a solution for this please?
Thanks in advance.
Click to expand...
Click to collapse
The solutoin is to use autorun instead of cabinstl, you can then write a custom script to handle the input required by the cab.
However this is above my head, and i couldn't get autorun to work. FFBOY knows how but i doubt you will get his help as he doesn't seem to check any threads other than his own rom threads, and if he does his responces are few and far between.
drkdeath5000 said:
I've tried everything to get sense working but im just having no luck ... copied the packages to the sys folder, flashes fine, boots fine but no sense and now theres no setting shortcut in the start menu ?
Could i ask for the exact procedure for installing sense please ? Im getting my packages from here but replacing the 2017 home with 2016. Could i perhaps be missing something ?
Thanks again
Click to expand...
Click to collapse
Those are the packages i used and they work so it's not the packages, but i cheated and dumped a sense rom then modified it. I don't have time to try and work out how to do it properly unfortunatley.
leeston2379 said:
Those are the packages i used and they work so it's not the packages, but i cheated and dumped a sense rom then modified it. I don't have time to try and work out how to do it properly unfortunatley.
Click to expand...
Click to collapse
Well atleast i know the packages are fine, i was starting to wonder if that was the problem . Theres some satisfaction in doing it yourself but like miro said i think its just too much for me, ill give it another go later in the week and if that fails ill just dump a sense rom like you did ... if there was just a tutorial on installing sense packages etc id be fine, with sense being so popular you'd think there to be loads of tuts.

[Q] [PROBLEM][HERMES-TYTN]Default.hv cooked ROM

Hi,
I have a really strange problem.
I have two HTC HERMES, one good that I use and a second that I use only fot test purposes because it's not in good conditions.
I cook ROMs with "ROMDonalds Kitchen" and I have neved had any problem.
Since yesterday, every new ROM I cook, I have this problem:
if I don't edit "default.hv" the cooked ROM goes well in both my HERMES, but if I edit it, the ROM can only be loaded on the second HERMES (the one not in good conditions).
In the other HERMES after flashing, when I make the reset or even the hard-reset, the ROM begins to boot but then stops after the first splash-screen and the screen becames white.
I always flash from SD (hermimg.nbh).
What can be the problem?
Can be a problem of the good HERMES of the two I have?
Can be a difference in hardware between the good HERMES, even if they are identical from outside?
Many thanks !
Hi,
I don't understand why you need to edit default.hv but probably you have your reason.
It's better to leave it untouched to my opinion.
To edit the registry you can edit the .rgu in the specific package or create
a new package with the new registry overwriting the first package registry.
The second suggestion you can keep your tweaks in every rom you cook and switch the stock packages more easy.
What you are writing is indeed weird but this way you avoid errors in the .hv files.
Edit; btw, because Hermes is a pretty old device I'm asuming the kitchen you use is still using .rgu instead of .reg in the packages, latest kitchens mostly use .reg
.rgu and .reg files are same and containing the registry.
Grtz,
Laurentius26
yeah its true, what do you change in the d.hv? maybe you can tell us, what about to use another kitchen? or do your changes in app.reg ext pkgs or in oem packages to void edit it
I edit .hv files when I add or remove programs from the ROM.
I've tried also Ervius kitchen but when I try to dump my ROMs It gives me some errors...the only kitchen I was able to use is RomDonald's..
Can You suggest me another good one?
Thanks
Airxtreme's Oskitchen or Barin's OSbuilder, they are both in Chef Central here.
You don't need to edit .hv files as when you remove the package all registry of that package will be gone too.
eryunt said:
I edit .hv files when I add or remove programs from the ROM.
I've tried also Ervius kitchen but when I try to dump my ROMs It gives me some errors...the only kitchen I was able to use is RomDonald's..
Can You suggest me another good one?
Thanks
Click to expand...
Click to collapse
I dont think ROMDonalds processes rgu files. If I remember correct, you have edit the hive files to use that kitchen.
Wow, that's gotta be a huge pain in the butt.
ai6908 said:
I dont think ROMDonalds processes rgu files. If I remember correct, you have edit the hive files to use that kitchen.
Click to expand...
Click to collapse
Yes, It is correct.
But the strange thing is that only one of the two Hermes I have, accepts the ROM after I edit the .hv files...
The question is:
Is there a separate memory where the hive is stored, and can this memory be faulty in one of my Hermes?
eryunt said:
...Is there a separate memory where the hive is stored, and can this memory be faulty in one of my Hermes?...
Click to expand...
Click to collapse
If you mean the fixed address - the answer is No. *.hv are files and files do not have the fixed address.
I've tried also Ervius Visual Kichen, but when I dump my ROM It gives me these two errors:
1- "Xipkernel's DSM not found! I'll create new...Maybe protected XIP (not portable !!!)"
2- "Boo.rgu in xip not found!Create new...But maybe ROM will be NON BOOTABLE !!!)"
What's wrong?
Thanks for all the answers You provide !
XDA, really a great Community !!!
Hi,
I don't know what you are doing to setup Ervius?
Are you importing a new stock rom into the kitchen?
The errors you can check:
Ervius kitchen/Rom/Shared/'Sys build'/MSXipkernel/
boot.rgu and the .dsm should be there.
Without boot.rgu and the dsm the rom won't boot.
Are all your desktop system files unhidden and vissible?
eryunt said:
I've tried also Ervius Visual Kichen, but when I dump my ROM It gives me these two errors:
1- "Xipkernel's DSM not found! I'll create new...Maybe protected XIP (not portable !!!)"
2- "Boo.rgu in xip not found!Create new...But maybe ROM will be NON BOOTABLE !!!)"
What's wrong?
Thanks for all the answers You provide !
XDA, really a great Community !!!
Click to expand...
Click to collapse
The visualization of hidden files is active in my PC, and I am trying to import a NON STOCK ROM to add or remove packages.
Ervius kithchen gives me the errors I described, and also OSKitchen gives me errors..
Can these kitchens import only STOCK ROMs?
I used ROMDonald's kitchen because It was able to edit a ROM that was already cooked...but the editing of .hv files is wrong...
I advise you to use a stock rom as you can test if everything is working ok.
After this you can do your modifications.
I know it's a bit of work but the advantage is to use a new kitchen which is much more configurable.
Editing .hv files isn't that good, but we talked about that already.
Another tip, I always zip my kitchen after I know a configuration is working and I flashed the rom succsesvol, before I continue to the next step.
eryunt said:
The visualization of hidden files is active in my PC, and I am trying to import a NON STOCK ROM to add or remove packages.
Ervius kithchen gives me the errors I described, and also OSKitchen gives me errors..
Can these kitchens import only STOCK ROMs?
I used ROMDonald's kitchen because It was able to edit a ROM that was already cooked...but the editing of .hv files is wrong...
Click to expand...
Click to collapse
eryunt said:
Yes, It is correct.
But the strange thing is that only one of the two Hermes I have, accepts the ROM after I edit the .hv files...
The question is:
Is there a separate memory where the hive is stored, and can this memory be faulty in one of my Hermes?
Click to expand...
Click to collapse
It doesnt make sense why one device would run it, and the other one dont! Are you sure the hive files do not have any errors?
Try to flash a stock ROM first, then flash the cooked one. I know hermes has ext storage, and that can through errors...
ai6908 said:
It doesnt make sense why one device would run it, and the other one dont! Are you sure the hive files do not have any errors?
Try to flash a stock ROM first, then flash the cooked one. I know hermes has ext storage, and that can through errors...
Click to expand...
Click to collapse
That's the point...It's a nonsense..
I've already tried to flash stock ROM on both devices before flashing the cooked ROM, but It's always the same nonsense, one loads the ROM, the other doesn't...
At this point only a malfunction or a difference in hardware between my two devices could explain this strange behaviour
Don't know how to solve...
are you trying to recook my roms? hahaha just kiddin
everybody knows that we don thave bootable and full dumped roms from customized ones, due to DSMsif you want to make a roms looks like or be something like a... i recommend to ask for the kitchen many retired chefs on Legacy devices can share it to you or just dump the rom and xtract the things you want
but make your own Stock OEM an set good your Native Kernel

Categories

Resources