|
||||
Code:
[HKEY_LOCAL_MACHINE\Comm] “AutoRunFlagâ€=dword:1
__________________
www.ppckitchen.org
Before criticizing someone, first walk a mile in his shoes... Then when you criticize him, you'll be a mile away and have his shoes. |
|
||||
Thanks for the reply, VerizonGuy. I set this registry setting in an OEM in my kitchen with guid ffffffff-ffff-ffff-ffff-ffffffffffff but it seems that some event that runs later shifts the setting back. Presumably, I need to set it to 0, but apparently, it's always set to 1 in the kitchen no matter what I do.
I found the following info on xda-dev that further complemented your reply: http://forum.xda-developers.com/showthread.php?t=301365 |
|
||||
It is advisable to use a valid guid, and if necessary, only modify the first set to f's to get it to run at the end.
As for the 0/1, you have it backwards. It is a boolean switch where 0 == off && 1 == on. So, to autorun, you want the switch "on" (1). In order to successfully run from your exented rom, you also need to define AutoRun & AutoRunCFG...sooo after you flash your rom, open a registry editor and navigate to [HKEY_LOCAL_MACHINE\Comm] Make sure the AutoRun is set to \Extended_Rom\autorun.exe Make sure the AutoRunCFG is set to your config text file, usually \Extended_Rom\config.txt. Next make sure you actually have an autorun.exe and that you have modified config.txt to have autorun run the cabs you want run. |
|
||||
Thanks for setting me on the path, Verizonguy! I had all of those details right, but apparently I needed to leave a blank line at the end of my RGU. I found this out from the note at the top of the RGU created by OEMizer. Originally, I made that RGU from scratch a long time ago. Oemizer is a good tool, as it not only gave the option to put f's at the beginning of the guid, but also created new files for me to just cut/paste into. I like it.
Thanks again! If any one searching for this info is interested, this is the code I used in my RGU(Don't forget the blank line at the end!): [HKEY_LOCAL_MACHINE\Comm] "AutoRunFlag"=dword:1 "AutoRunType"=dword:1 "AutoRunCFG"="\\Extended_ROM\\config.txt" "AutoRun"="\\Extended_ROM\\autorun.exe" |
|
||||
One of these days I'll get around to making BuildOS compensate for that requirement...
__________________
Grammar: The difference between knowing your shit and knowing you're shit.
|
|
||||
Every element of this kitchen is fantastic and it's a great tool for making our phones even better. I appreciate the efforts of everyone involved in it, as well as the users on this site. In this particular case, it was very handy just to have that comment box at the top of the created RGU file. It was also nice to get such a useful reply from Verizonguy so quickly. Hopefully this will help someone in the future if they need to use the ext_rom.
|
|
||||
Quote:
We could reverse and build a new rgucomp if we have to. |
|
||||
I suggest using tautoinstall.
__________________
Kitchen updates at www.ppckitchen.org and you can get BuildOS help Here
If you have been helped by me or would like to support developers like Olipro, helmi_c, and others please feel free to Donate ALWAYS FLASH BACK TO YOUR CARRIER'S OFFICIAL ROM BEFORE TAKING YOUR PHONE IN FOR SERVICE OF ANY KIND |
|
||||
Tier Autoinstall is also available in the kitchen. It searches for cab files in \Storage Card, \Storage Card\Boot, Ext_ROM, and \Windows, then it gives you a checklist to choose which ones you want to install. It rewrites the config.txt (leaving other lines besides cabs intact) and then runs autorun to install them.
You can use your own custom config.txt just by dropping it in the Patches folder.
__________________
Projects: (SlideSound) (Personal OEMizer (1.4.0 )) (TDial Designer (v1.1.1 )) (TierAutoinstall (1.9)) and more...
HTC Sliding Sound Control Panel replacement. | SprintTV on Mogul? Donations appreciated |
|
|
|