Modifying rgu in OEMDrivers Folder - XPERIA X1 ROM Development

Inside OEMDrivers folder exists a file called 51329f91-0017-4364-bcff-e032c5d45b01.rgu. It has hundreds of lines in it, and some customizations are repeated many times. Has anyone edited it so as only the essential stuff for phone to work exist and no customizations whatsoever? (Official R3AA010)

Come on guys, i know that there are people who know more than i do. I only want the drivers to load. I'm trying to sort the registry entries alphabetically so as to get a better idea what that rgu does.

Is there a program that sorts alphabetically the registry entries inside and rgu/reg file?

Related

application sorting? Help!

I've installed 50+ applications on my new HTC kaiser (which runs WM6.1 OS), its getting a little bit embarrassed because its very hard to pick a program up from the sea of icons.
Is there any way could possibly sort applications into different folders? (e.g. all gps applications go to a "gps" folder, all instant msg applications into a "IM" folder?)
btw, Is it possible to create a shortcut for the "green" application in the "programs" page(no installation needed, just run it in the file explorer) ?
thanks in advance!
jldiablo said:
I've installed 50+ applications on my new HTC kaiser (which runs WM6.1 OS), its getting a little bit embarrassed because its very hard to pick a program up from the sea of icons.
Is there any way could possibly sort applications into different folders? (e.g. all gps applications go to a "gps" folder, all instant msg applications into a "IM" folder?)
btw, Is it possible to create a shortcut for the "green" application in the "programs" page(no installation needed, just run it in the file explorer) ?
thanks in advance!
Click to expand...
Click to collapse
You can add as many folders as you want. Just use a decent file explore & create as many new folders as you want in \windows\start menu\programs
Then cut & paste the shortcuts located in \windows\start menu\programs into the new folders...
I have many programs & my programs page has about 7 folders. You can even add custom folders & Icons by adding a resource file & a ?xxxxxx location direction command to the end of links....
For instance I have in my start menu a Phone & Messaging folder with all my phone & mressaging apps. Another for Multimedia.
got it!!!!!
Big thanks to *legendary* GSLEON3!
Legendary??? Well, ok, I guess in my own mind at least...
I'm nobody, Just a guy that can read & has been around long enough to know that you will learn more reading old Blue Angel & Hermes threads than you will anywhere else. Sure, most of the stuff won't work on Kaiser, but all of our tools & methods are adopted from there. The theory behind everything lies in those old threads.

Start Menu Customisation

Hello everyone,
In my quest to automate set up post ROM flashing, I have written a Mortscript to set up the start menu and the Manila Program launcher.
Everyone has their own preferred set up, and I was finding it time consuming to move all the shortcuts around to the directories I wanted them in.
I know some installers like Sashimi allow you to place new cabs where you want, but I couldn't find anything to automatically reorganise my menu including existing apps in the ROM.
I tried xml provisioning and SDConfig etc, but I just couldn't get it to work in an acceptable fashion.
Hence the script.
OK, so the script moves all of the program shortcuts (lnk files) to a flat directory on the storage card.
The existing start menu is then deleted (with the exception of settings).
The script reads in a config file (needs to be in the storage card root and called custom.txt but can obviously be editted in the mortscript) and rebuilds the menu.
If no entry is found in the config file for a particular shortcut, then the shortcut is moved to "Program files\unused"
Hopefully the config file layout is self explanatory.
An example entry.....
--,\Windows\Start Menu\PIM
Messaging.lnk
contacts.lnk,
PIM Backup.lnk
iContact.lnk
Calendar.lnk
Tasks.lnk,1
Messaging.lnk
PIM Backup.lnk
ThumbCal.lnk
-- indicates a new directory to be created, in this case \Windows\Start Menu\PIM
The , is a separator between indicating it is a directory to be created and the directory structure itself.
The shortcuts speak for themselves, and will be set up under the directory structure above. If the shortcuts are succeeded by a , and a value between 1 and 18 (e.g. tasks in the example above) the shortcut will be mapped to the manila program launcher.
The spaces before the lnk files don't matter, just makes the config file easier to read.
No reset is required.
In terms of debugging, there is a debug flag in the script. Set the value to 1, and the output will be logged to Storage Card\log.txt
Hope this is useful for some of you.
*Note there are a couple of bugs.....
1) The icon's linked to folders (e.g. the little playing card associated with the games folder) often get deleted.
2) The .net configuration program. For some reason Mortscript doesn't seem to handle files starting with a . very well so there's some hardcoded renaming going on (all in a dedicated subroutine)
Hopefully I'll get those fixed, but no promises.
Enclosed zip has the script, an example of custom.txt and an example of the debug output.
Huge thanks to Mort as ever, as well as a couple of others from whom I have "re-used" ahem, some of their public scripts.
If anyone knows how to do this via provxml or SDConfig, then please post!
Mods - should I add this in to the mortscript examples thread (things do get a little buried on there & hope it's ok to post this here as its relevant to flashing) ?

new "instant messaging" folder appears after registry edit

i am new to my fuze and have beeen messing with a few things.
now i dont know exactly when this folder appeared in my programs list but i know it wasnt there before i did a registry tweak (to remove the startup.gif/startup.wav) with total commander, any ideas?
the folder is filled with all my program files, same thing as if you open up file explorer.

Building Registry...

I am using Visual Kitchen to build my ROMs. There are five types of files that are used to eventually create the registry: *.hv *.rgu *.reg *.provxml *.xml. I'm trying to find a program that takes all these files one by one and create ONE *.rgu file. When adding keys to the One.rgu the program should check whether the key exists with different value and ask the user whick value to keep. Is there a program like that? Could someone make one? I am not a programmer myself so i can't do it but i believe that this would be very useful for all cooks.

Clean OEMDrivers

Has anyone tried to clean OEMDrivers?
I mean i don't think that all these files are needed for Xperia X1i and are just left overs from other HTC Phones.
Also the rgu inside is a mess.
I have removed entries that are exactly the same in Windows,
entries that refer to dlls that don't exist anywhere and some
entries that i feel aren't needed.
But there are some stuff that don't look important but i am afraid to remove them.
Diagrafeas said:
Has anyone tried to clean OEMDrivers?
I mean i don't think that all these files are needed for Xperia X1i and are just left overs from other HTC Phones.
Also the rgu inside is a mess.
I have removed entries that are exactly the same in Windows,
entries that refer to dlls that don't exist anywhere and some
entries that i feel aren't needed.
But there are some stuff that don't look important but i am afraid to remove them.
Click to expand...
Click to collapse
Just download my kitchen and look inside to my oemdrivers folder
Thanks, downloading right now.

Categories

Resources