PPCGeeks

PPCGeeks (http://forum.ppcgeeks.com/index.php)
-   HTC Apache (http://forum.ppcgeeks.com/forumdisplay.php?f=14)
-   -   reg change in custom rom HELP! (http://forum.ppcgeeks.com/showthread.php?t=3185)

pixelwix 03-11-2007 02:19 PM

reg change in custom rom HELP!
 
i'm trying to have to so when i install my custom rom it will move my temp internet filse and cache to the extended rom this is the code i have in there but doesn't seem to work

Code:

[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\Shell Folders\Cache]
 "\Extended_ROM2\IE\Temporary Internet Files"


[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\Shell Folders\Cache]
 "\Extended_ROM2\IE\Cookies"


[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\Shell Folders\Cache]
 "\Extended_ROM2\IE\History"

and for the initial flash i have

Code:

Directory("\Extended_ROM2"):-Directory("IE")
Directory("\Extended_ROM2"):-Directory("IE\Temporary Internet Files")
Directory("\Extended_ROM2"):-Directory("IE\Cookies")
Directory("\Extended_ROM2"):-Directory("IE\History")

it created the IE folder and the Temporary Intenet Files folder, but not the rest. what am i doing worng??

pixelwix 03-11-2007 02:27 PM

ok i think i found out what was wrong i think it should be
Code:

[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\Shell Folders\Cache]
 "Cache"="\Extended_ROM2\IE\Temporary Internet Files"

[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\Shell Folders\Cache]
 "Cookies"="\Extended_ROM2\IE\Cookies"

[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\Shell Folders\Cache]
 "History"="\Extended_ROM2\IE\History"

hope that works

pixelwix 03-11-2007 04:15 PM

nope that still didn't work, anyone wanna help me out here??

colonel 03-11-2007 04:28 PM

What is not working? Is it building the rom? I never use this since I have plenty of space left after building a rom with my stuff in it.

JBabey 03-11-2007 04:31 PM

your file directory slashes need to be doubled
Quote:

[HKEY_CURRENT_USER\Software\Microsoft\Windows\Curre ntVersion\Explorer\Shell Folders\Cache]
"Cache"="\\Extended_ROM2\\IE\\Temporary Internet Files"

[HKEY_CURRENT_USER\Software\Microsoft\Windows\Curre ntVersion\Explorer\Shell Folders\Cache]
"Cookies"="\\Extended_ROM2\\IE\\Cookies"

[HKEY_CURRENT_USER\Software\Microsoft\Windows\Curre ntVersion\Explorer\Shell Folders\Cache]
"History"="\\Extended_ROM2\\IE\\History"
they need to be formated differently or the RGU file wont be processed properly..

the other thing to watch out for is to make SURE your RGU is processed last by createos.exe make the name of your RGU file like ff99...... and check after its done to ensure that this was the LAST RGU that was processed so the system doesnt overwrite your entries in the hive.

hope that helps!

8)

pixelwix 03-11-2007 04:32 PM

Quote:

Failed to parse value name HKEY_CURRENT_USER\Software\Microsoft\Windows\Curre ntVersion\Explorer\Shell Folders!!!
InitRegistry FAILED in file ".\Registry\26316bca-c258-11db-8314-0800200c9a66.rgu" within a few lines of line 127.
ImportFromPackageListStrict: (RGUComp) !ERROR failed importing ".\Registry\26316bca-c258-11db-8314-0800200c9a66.rgu"
wmain: (RGUComp) !ERROR failed building DEFAULT hives
this is what i get when i try to run create os.

pixelwix 03-11-2007 04:39 PM

Quote:

Originally Posted by JBabey
your file directory slashes need to be doubled
Quote:

[HKEY_CURRENT_USER\Software\Microsoft\Windows\Curre ntVersion\Explorer\Shell Folders\Cache]
"Cache"="\\Extended_ROM2\\IE\\Temporary Internet Files"

[HKEY_CURRENT_USER\Software\Microsoft\Windows\Curre ntVersion\Explorer\Shell Folders\Cache]
"Cookies"="\\Extended_ROM2\\IE\\Cookies"

[HKEY_CURRENT_USER\Software\Microsoft\Windows\Curre ntVersion\Explorer\Shell Folders\Cache]
"History"="\\Extended_ROM2\\IE\\History"
they need to be formated differently or the RGU file wont be processed properly..

the other thing to watch out for is to make SURE your RGU is processed last by createos.exe make the name of your RGU file like ff99...... and check after its done to ensure that this was the LAST RGU that was processed so the system doesnt overwrite your entries in the hive.

hope that helps!

8)

sweet that seem to work, and yeah thats the last reg import so hopefully it should work about to flash it now, another thing, creating the folders in the intinal flash only creates the IE and temp internet folder, it doesn't create, cookies and histories :(

JBabey 03-11-2007 04:43 PM

Quote:

26316bca-c258-11db-8314-0800200c9a66.rgu
is this the rgu that is making your changes? because that says line 127 is messed and your reg entries are only 17 lines...?

open 26316bca-c258-11db-8314-0800200c9a66.rgu and copy the txt

paste it into dreamweaver or something that numbers your lines... find line 127 and look for the problem.

JBabey 03-11-2007 04:46 PM

Quote:

Directory("\Extended_ROM2"):-Directory("IE")
Directory("\Extended_ROM2"):-Directory("IE\Temporary Internet Files")
Directory("\Extended_ROM2"):-Directory("IE\Cookies")
Directory("\Extended_ROM2"):-Directory("IE\History")


your making the folders wrong... do this
++++++++++++++++++++++++++

Directory("\Extended_ROM2"):-Directory("IE")
Directory("\Extended_ROM2\IE"):-Directory("Temporary Internet Files")
Directory("\Extended_ROM2\IE"):-Directory("Cookies")
Directory("\Extended_ROM2\IE"):-Directory("History")

++++++++++++++++++++++++++
you cant make a subdirectory, you have to tell it where you want the directory placed.

pixelwix 03-11-2007 05:03 PM

ok i got all that in there flashed it the folders were made but the reg settings didn't go, how to i get a rgu file starting with ff99......

sorry i'm such a n00b, i'm still learning


All times are GMT -4. The time now is 11:18 AM.

Powered by vBulletin® ©2000 - 2025, Jelsoft Enterprises Ltd.
©2012 - PPCGeeks.com


Content Relevant URLs by vBSEO 3.6.0