How to view/parse WP7 registry hive files (user.hv, system.hv) - Windows Phone 7 Q&A, Help & Troubleshooting

Does anybody know how to view/browse/export in readable format WP7 registry hives, user.hv & system.hv?
I'm trying to resolve issue with LiveID change; and I found (using hex viewer), the old LiveID still exists (two entries) in the system.hv, but I can't find the exact path to these values
This program doesn't works:
http://forum.xda-developers.com/showthread.php?t=587584
Any suggestions? Thanks!
P.S. 2 moderators: please, do not move this post to Q&A! It's very specific dev&hacking question; only our whitehats can help me but I afraid they never read Q&A forum

sensboston said:
Does anybody know how to view/browse/export in readable format WP7 registry hives, user.hv & system.hv?
I'm trying to resolve issue with LiveID change; and I found (using hex viewer), the old LiveID still exists (two entries) in the system.hv, but I can't find the exact path to these values
This program doesn't works:
http://forum.xda-developers.com/showthread.php?t=587584
Any suggestions? Thanks!
P.S. 2 moderators: please, do not move this post to Q&A! It's very specific dev&hacking question; only our whitehats can help me but I afraid they never read Q&A forum
Click to expand...
Click to collapse
mRegEdit should work if I remember it's name correctly There are also guides on this section for changing the live id through registry without resetting the phone. That search on the top of this page works

jessenic said:
mRegEdit should work if I remember it's name correctly There are also guides on this section for changing the live id through registry without resetting the phone. That search on the top of this page works
Click to expand...
Click to collapse
Hmm... Seems like you should try that search first... I wrote that guide, first of all.
Second, mRegEdit (it's a link in my first post! you don't even tried to click!) is NOT working for WP7 hive files (and I don't have source code).
Before post useless "suggestions" and RTFM advises, next time try to understand and research issue first.

We do actually read Q&A, or at least I do, but yeah... I've never tried pulling apart the hive files directly. It would be nice if the Search feature in the TouchXperience registry editor would actually search the data like it claims to do... there's only one registry key, and no registry values, that have my live ID as their name.
There is a way to do a full registry dump of a mounted hive. It requires being able to read the output of provxml, though - not sure if that's possible on Samsung. I could try doing it on my (HTC) phone and then search it for my Live Id, however. Basically, do a characteristic-query on a root element, and enable recursion.
It's also worth noting that the Live ID may not be stored as an email address everywhere that matters. Some features might just store a GUID, for example. I don't know of anything that does, but if you manage to change all of the email strings but are still having problems, that might be why.

GoodDayToDie, I've copied hive files (system.hv and user.hv) using WP7 Root Tools (from the \Windows\Registry) to desktop (via ISF) I'm not sure, may be it's just a shadow copies but both files have my new LiveID inside. Also I found 2 entries of the old LiveId (and already found location of the first - it's \HCLM\Software\Microsoft\Zune\Usage\SignedInUser) but that value change to the new one, current LiveID + reboot don't help much.
Probably, previous LiveID's hash or token is stored somewhere in the registry I'm afraid, without tracing it will be very hard to find one...

Update: I found a way to decode (but partially, unfortunately) these registry hives
Unpack attached archive, copy system.hv and user.hv to that directory and run 1.bat.

sensboston said:
This program doesn't works:
http://forum.xda-developers.com/showthread.php?t=587584)
Click to expand...
Click to collapse
if you want to use that program, you must first use in conjunction with WMDC/ActiveSync Launcher.
else, you can just use HVEdit.

sh4d0w86 said:
if you want to use that program, you must first use in conjunction with WMDC/ActiveSync Launcher.
Click to expand...
Click to collapse
Why? It's a desktop program. Works fine for WinMo ROM hives but not for WP7.
sh4d0w86 said:
else, you can just use HVEdit.
Click to expand...
Click to collapse
Also not working, crashes on:
Code:
ERROR: d:\ce1\private\winceos\coreos\filesys\reg\reghive\registry.c line 197: Reg: Invalid reghandle 0x2000ce11
ERROR: d:\ce1\private\winceos\coreos\filesys\reg\reghive\registry.c line 197: Reg: Invalid reghandle 0x2000d376
ERROR: d:\ce1\private\winceos\coreos\filesys\reg\reghive\registry.c line 197: Reg: Invalid reghandle 0x2000bfb6
ERROR: d:\ce1\private\winceos\coreos\filesys\reg\reghive\registry.c line 197: Reg: Invalid reghandle 0x2000d46a
I believe, problem is in the cereg400.dll. Seems like it's outdated for WinCE version used in WP7.

sensboston said:
Why? It's a desktop program. Works fine for WinMo ROM hives but not for WP7.
Click to expand...
Click to collapse
CeRegEditor utilizes ActiveSync & WMDC to connect & access the registry on the device.
sensboston said:
I believe, problem is in the cereg400.dll. Seems like it's outdated for WinCE version used in WP7.
Click to expand...
Click to collapse
01. drag & drop *.hv onto HVEdit.exe
02. open the newly created *.hvm file in text editor
03. drag & drop *.hvm onto HVEdit.exe

sh4d0w86 said:
CeRegEditor utilizes ActiveSync & WMDC to connect & access the registry on the device.
Click to expand...
Click to collapse
Hmm... Where I've mentioned CeRegEditor? I've mean mRegEdit (see linky in my first post).
sh4d0w86 said:
01. drag & drop *.hv onto HVEdit.exe
02. open the newly created *.hvm file in text editor
03. drag & drop *.hvm onto HVEdit.exe
Click to expand...
Click to collapse
Another "hmm"... I don't need drag&drop (you can see my status, I'm not a noob but experienced developer with ... he-he, le' me remember ... more than 20 years of development), I'm using Far Manager (and may recommend it to you). But HVEdit can't parse WP7 hive files (with or without drag&drop). If you don't believe me, try yourself, it's very easy.

sensboston said:
Hmm... Where I've mentioned CeRegEditor? I've mean mRegEdit (see linky in my first post).
Click to expand...
Click to collapse
oops, my mistake. i don't know about mRegEdit, haven't ever used or read of until now, for that matter. CeRegEditor can open *.hv, but not all registry are opened.
sensboston said:
Another "hmm"... I don't need drag&drop (you can see my status, I'm not a noob but experienced developer with ... he-he, le' me remember ... more than 20 years of development), I'm using Far Manager (and may recommend it to you). But HVEdit can't parse WP7 hive files (with or without drag&drop). If you don't believe me, try yourself, it's very easy.
Click to expand...
Click to collapse
aren't you looking to do this? see below attachments.

I've tried on my hive files, copied from the working Focus (by using WP7 Root Tools + ISETool) and HVEdit can't parse these files. May be because I've copied already opened files or shadow copies (I'm not sure).
Your example is for default.hv (I believe, that file was extracted from ROM, not from the working phone, correct?)
P.S. By the way, I already "solved" parsing hives (see my posts above) but it didn't solve the "change LiveID" problem Looks like WP7 stored somewhere previous LiveID token or hash.

sensboston said:
I've tried on my hive files, copied from the working Focus (by using WP7 Root Tools + ISETool) and HVEdit can't parse these files. May be because I've copied already opened files or shadow copies (I'm not sure).
Your example is for default.hv (I believe, that file was extracted from ROM, not from the working phone, correct?)
P.S. By the way, I already "solved" parsing hives (see my posts above) but it didn't solve the "change LiveID" problem Looks like WP7 stored somewhere previous LiveID token or hash.
Click to expand...
Click to collapse
when i get home, i will extract the two *.hv files from my HD7 and give it a try.
i believe i had done that before and it worked, but can't be positive on whether i actually did or not.

OK, thanks. You may also try attached (in my post above) rgucomp.exe (it worked for me partially).

sensboston said:
Hmm... Where I've mentioned CeRegEditor? I've mean mRegEdit (see linky in my first post).
Another "hmm"... I don't need drag&drop (you can see my status, I'm not a noob but experienced developer with ... he-he, le' me remember ... more than 20 years of development), I'm using Far Manager (and may recommend it to you). But HVEdit can't parse WP7 hive files (with or without drag&drop). If you don't believe me, try yourself, it's very easy.
Click to expand...
Click to collapse
Hi mate,
If I understand correctly I believe sh4d0w86 is right, with HVedit you can view/browse/export in readable format WP7 registry hives like user.hv, system.hv and even default.hv.
I am doing that since I cook my first WP7 custom ROM.
Just drag the *.hv file on top of HVedit.exe and immediatly an *hvm file will be created that can easly be edited with any text editor.
Than you can do the same drag and drop process with the *.hvm and the file will be restored to *.hv again.
Hope it helps

sensboston said:
OK, thanks. You may also try attached (in my post above) rgucomp.exe (it worked for me partially).
Click to expand...
Click to collapse
extracted user.hv & default.hv from my HD7 and used HVEdit to read just fine.

Good for you. Here is mine output (after drag & drop):
Code:
03/29/2012 05:39 PM <DIR> .
03/29/2012 05:39 PM <DIR> ..
05/20/2010 08:00 PM 60,784 cereg400.dll
03/29/2012 05:39 PM <DIR> cereg400.dll_old
01/29/2011 11:19 AM 212,992 HVEdit.exe
03/29/2012 12:17 PM 4,194,304 system.hv
03/29/2012 05:39 PM 4,234 system.hvm
03/29/2012 12:17 PM 524,288 user.hv
03/29/2012 05:40 PM 16,384 user.hvm
6 File(s) 5,012,986 bytes
3 Dir(s) 224,148,934,656 bytes free

sensboston said:
Good for you. Here is mine output (after drag & drop)
Click to expand...
Click to collapse
hmm. well, sounds like you should try WMDC Launcher in conjunction with WMDC/ActiveSync and maybe WP7 Root Tools v0.9.
less, you want me to try it with your *.hv file(s). you can email them to me, if you want.

sh4d0w86 said:
hmm. well, sounds like you should try WMDC Launcher in conjunction with WMDC/ActiveSync and maybe WP7 Root Tools v0.9.
Click to expand...
Click to collapse
Try for what? As I said before, I already found places with the old LiveID (so I don't need parsing tool anymore), but changing to the new LiveID didn't solve the SkyDrive/Twitter access issue.
sh4d0w86 said:
less, you want me to try it with your *.hv file(s). you can email them to me, if you want.
Click to expand...
Click to collapse
No, sorry, I don't want to email you my personal data There are lot of unencrypted, plain text info in the registry...

sensboston said:
Try for what? As I said before, I already found places with the old LiveID (so I don't need parsing tool anymore), but changing to the new LiveID didn't solve the SkyDrive/Twitter access issue.
Click to expand...
Click to collapse
don't know how else to help, than besides what i have already suggested. restore device?
sensboston said:
No, sorry, I don't want to email you my personal data There are lot of unencrypted, plain text info in the registry...
Click to expand...
Click to collapse
which is why i said email. and f**k that noise, i am not about to 'destroy' my good reputation here on XDA.

Related

New WM6 ROM kitchen (from Ranju)

Hello Friends,
I have managed the new WM6 kitchen based on Ivan's new (17913.0.3.0) build. This is a clean vanilla kitchen, you can add your own flavor and the way you want it.
I've uploaded the kitchen to the following url and hope that you will like it.
http://www.siemens-bd.net/files/000000
Files have been splited into 10 parts (5MB each) because of my unstable internet connection here. Uploading a 50MB file for me is simply a nightmare! Please download all of them and unrar.
You will find two cmd files (1. BuildKitchen.cmd and 2. CreateROM.cmd) inside the ROM_DEV folder after the unrar.
Step-1: Run the BuildKitchen.cmd (first time only), it will dump the rom and prepare the kitchen for you.
[Additionally, you may use it to dump other WM6 rom and prepare the kitchen. In that case, decode the rom, copy (or overwrite) the nk.nba file to the ROM folder and run this cmd to build the kitchen.]
Step-2: Run the CreateROM.cmd to build the rom...as usual.
You will find a Ranju_OEM folder under the ROM_DEV folder. Some of the oem packages have been added if anyone is interested to use. Just copy your desired packages to the OEM folder and build the rom.
And finally, all credit goes to Ivan. Special thanx to Helmi, Midget, Bepe and Tuatara for their tools and support.
By the way, I've a limited bandwidth to this server, it will be great if someone mirror it somewhere.
Best regards,
Ranju
ranju said:
By the way, I've a limited bandwidth to this server, it will be great if someone mirror it somewhere.
Click to expand...
Click to collapse
Mirrored:
http://vidmes.com/Uni/Kitchens/ranju/ROM_DEV.rar
(btw My mirror has a Bandwidth limit of 3Tb per month...)
TehPenguin said:
Mirrored:
http://vidmes.com/Uni/Kitchens/ranju/ROM_DEV.rar
(btw My mirror has a Bandwidth limit of 3Tb per month...)
Click to expand...
Click to collapse
Hi TehPenguin, thank you very much.
Thanks to ranju and thanks to tehpenguin!
ranju said:
I have managed the new WM6 kitchen based on Ivan's new (17913.0.3.0) build. This is a clean vanilla kitchen, you can add your own flavor and the way you want it.
Click to expand...
Click to collapse
Thx for the new kitchen. Based on V3, correct?
Could you please clarify the 1st post?
Clean Vanilla: What did you remove from the ROM?
Cheers
Download
Extract
BuildKitchen
CreateRom
BuildOS stops on error: the file 'temp\dump\Thumbs.db' already exists
I've just checked the OEM folder.
Very good Job: just like i was thinking. Probably I don't need any other apps for OEM.
THX!!!
tailazoom said:
Download
Extract
BuildKitchen
CreateRom
BuildOS stops on error: the file 'temp\dump\Thumbs.db' already exists
Click to expand...
Click to collapse
Did you modify any cmd file?
If not, then delete the temp folder. Do a search on SYS & OEM for "Thumbs.db" and delete them if found any. Run the CreateROM.cmd.
I suppose "Thumbs.db" have been created by your picture browser apps.
"Thumbs.db" is a file that Windows XP (and Vista) create if you preview a picture or movie. Its not important at all (although Windows will complain that it is a "System File")
(Nifty fact: Windows XP can create the "thumbs.db" file in a read-only network share!)
Thanks for the info, i'll try deleting and recompile.
Deleted, compiled and flashed: every essential function i tested is working. The kitchen is very clean! Many thanks ranju!
Little update of the kitchen
This is a little update of the kitchen:
* Due to the slow response of the phone, dialing/ending tone have been removed
* Update for HTC Task Manager 1.5 (Exclusive apps can be added now)
Please download the zip and copy/replace to the associated folder.
Update: HTC Task Manager cab attached.
http://forum.xda-developers.com/attachment.php?attachmentid=40327&d=1180503183
ranju said:
This is a little update of the kitchen:
* Due to the slow response of the phone, dialing/ending tone have been removed
* Update for HTC Task Manager 1.5 (Exclusive apps can be added now)
Please download the zip and copy/replace to the associated folder.
Click to expand...
Click to collapse
Can you please make a cab of it so that we can install. Dont want to go through re in stalling rom. Appreciate
Or if you can advice the registry entries for both above issues please.
Phone.cab
A cab file for the file in phone.zip is not that difficult since it's just a couple of registry entries.
The other one is more difficult since it also includes files.
So just to help a little, a cab file for the registry stuff in the phone.zip
Actually not that difficult
When comparing the old and new files, I noticed that just the RGU file is different.
Since this is the file with registry settings, I made a quick cab for it.
So not to replace the previous HTC Manager install or anything like that, just to corrent the registry entries.
ps. This and the previous file are not made/reviewed/anything by Ranju, but I've just given them him (her?) name to avoid confusion.
aniel1 said:
Can you please make a cab of it so that we can install. Dont want to go through re in stalling rom. Appreciate
Or if you can advice the registry entries for both above issues please.
Click to expand...
Click to collapse
[HKEY_CURRENT_USER\ControlPanel\Sounds\Dialing]
"Sound"="dpadctl.mid"
"Script"="p"
"Category"="InCallFeedback"
[HKEY_CURRENT_USER\ControlPanel\Sounds\Ending]
"Sound"="dpadctl.mid"
"Script"="p"
"Category"="InCallFeedback"
[HKEY_CURRENT_USER\ControlPanel\Sounds\DialPadCtlKey]
"Sound"="dpadctl.mid"
"Script"="p"
"Category"="InCallFeedback"
Remove the line in bold above ("Sound"="dpadctl.mid") in the registry and it should like this:
[HKEY_CURRENT_USER\ControlPanel\Sounds\Dialing]
"Script"="p"
"Category"="InCallFeedback"
Set the value of "Script" to "apr" and it should like this. It will remove 3s ring delay.
[HKEY_CURRENT_USER\ControlPanel\Sounds\RingTone0]
"Script"="apr"
Press the power button (off) after the changes and wait for 10 sec, switch on again and soft reset your device to take the changes in action...
GerardNL said:
When comparing the old and new files, I noticed that just the RGU file is different.
Since this is the file with registry settings, I made a quick cab for it.
So not to replace the previous HTC Manager install or anything like that, just to corrent the registry entries.
ps. This and the previous file are not made/reviewed/anything by Ranju, but I've just given them him (her?) name to avoid confusion.
Click to expand...
Click to collapse
I tried but looks like the cab does not stick the enteries in the registry.Can you give me the registry entries so that i can try to insert them manually. thank you
ranju said:
[HKEY_CURRENT_USER\ControlPanel\Sounds\Dialing]
"Sound"="dpadctl.mid"
"Script"="p"
"Category"="InCallFeedback"
[HKEY_CURRENT_USER\ControlPanel\Sounds\Ending]
"Sound"="dpadctl.mid"
"Script"="p"
"Category"="InCallFeedback"
[HKEY_CURRENT_USER\ControlPanel\Sounds\DialPadCtlKey]
"Sound"="dpadctl.mid"
"Script"="p"
"Category"="InCallFeedback"
Remove the line in bold above ("Sound"="dpadctl.mid") in the registry and it should like this:
[HKEY_CURRENT_USER\ControlPanel\Sounds\Dialing]
"Script"="p"
"Category"="InCallFeedback"
Set the value of "Script" to "apr" and it should like this. It will remove 3s ring delay.
[HKEY_CURRENT_USER\ControlPanel\Sounds\RingTone0]
"Script"="apr"
Press the power button (off) after the changes and wait for 10 sec, switch on again and soft reset your device to take the changes in action...
Click to expand...
Click to collapse
thank you ranju. CAn you provide the registry entry for tak manager too, somehow the cab posted above doesnot stick in the registry and i still dont see exclusive/activate please
Third day of use (calls with bt headset/sms/excel) without any problem. Thanks again ranju!
ranju said:
.....
Remove the line in bold above ("Sound"="dpadctl.mid") in the registry and it should like this:
....
Click to expand...
Click to collapse
Mmmm. Removing items from the registry.... Didn't think about that one. So that means that the 2 cabinet files I made will not work.
Back to the drawingboard...
Build my first Rom
I've this ROM kitchen few days back from one of my friends and was simply amazed when I build my first rom.
This is as easy!
Thanks ranju, keep up good work!

Porting T-Mobile Shadow's Chome plugin to other devices.

Hello.
I'v trying this for a couple of hours without effects.
Dumped rom, builded modules with PKGTool. Files are in OEM/Oemdrivers and SYS/Chome. It does't run by just copying. Need some way to regsvr dll files. Because Chome plugin is accesing partial plugins by GUID.
Anyone have idea?
I did the exact same thing. I haven't had any time to try anything else because I have finals next week. I'll let you know if I get anything
To all helpfull shadow users
Can some T-Mobile Shadow user backup those registry keys?
all those are in HKEY_CLASSES_ROOT\CLSID\
Code:
{D7B35490-A4B2-4ef4-BF8D-332C4979F14E}
{892B90CB-9806-427e-8BED-F45C6A9E576B}
{E98FBDCC-6664-4c5b-BB62-20932ED37762}
{C5A51777-B837-447d-8947-FAF3FF9D570B}
{3FD3C828-753F-48f9-BEA9-6201F64B5F58}
{06BC7E69-CE13-4028-9454-C27A32F56197}
{4F612B1A-E470-4b31-9386-AC396AEDAAF9}
{1DE8DD6B-D74D-4d2e-A8C3-72439F2B8402}
{D3303B00-DB12-4bbb-A0CD-D5DAD41E2DFC}
{634CA962-22D8-4671-BBC7-BAC47148A4B6}
{D51A48AA-1F22-4aee-A4D1-B215C504550D}
{74D7FEB8-0DA7-485a-AB4F-4D12E6338758}
{4B998C14-3801-4a8e-9B20-5DFE58B19C39}
{7B4E69B9-C032-4134-81BE-D6F360B30576}
or better just backup HKEY_CLASSES_ROOT\CLSID\ and send me PM - I'll sent my mail.
You can use Registry Workshop to do this.
Those keys don't contains any personal information or settings so it's safe- don't worry.
//////////////////////////Edit////////////////////////////////
I've recieved all CLSID from [email protected]://allshadow.com forums but still no luck...
I'll be getting my own Shadow in a couple of days. I can do the backup then. Once again, I don't have much time to do anything else because of school and a robotics team I'm on.
Nice job finding those keys!
When I tried flashing my first rom with all of the CHome plugin stuff in it, the ROM flash to the wizard stopped at 78%...
I uploaded all the plugins and .png + reg entries that seems to be used with the chome home screen. all files are here:
http://www.esnips.com/doc/14b31b95-2c8f-4ae9-a6c9-1453df7d05e6/shadow
copy all the files in Windows to Windows folder. Add all the registry entries and copy T-mobile_basic_blue to Application Data\home\ folder.
Once I've tried to put all the files to my phone, I even got all the regedits (or maybe I've missed something) and I just got a white space on my homescreen.
how do i add the registry's to my phone?? do i add them with a reg edit app??
kingroach said:
I uploaded all the plugins and .png + reg entries that seems to be used with the chome home screen. all files are here:
http://www.esnips.com/doc/14b31b95-2c8f-4ae9-a6c9-1453df7d05e6/shadow
copy all the files in Windows to Windows folder. Add all the registry entries and copy T-mobile_basic_blue to Application Data\home\ folder.
Click to expand...
Click to collapse
could you post this on the ftp site? for some reason, the captcha phrase on esnips is having problems and i can't create an account. Thanks!
rafyvitto said:
how do i add the registry's to my phone?? do i add them with a reg edit app??
Click to expand...
Click to collapse
You cannot normally import .reg files on smartphones. However Resco Explorer from resco.net can do that.
kingroach said:
I uploaded all the plugins and .png + reg entries that seems to be used with the chome home screen. all files are here:
http://www.esnips.com/doc/14b31b95-2c8f-4ae9-a6c9-1453df7d05e6/shadow
copy all the files in Windows to Windows folder. Add all the registry entries and copy T-mobile_basic_blue to Application Data\home\ folder.
Click to expand...
Click to collapse
Have You manage to run this plugin on non shadow device?
Files are easy to extract but make it work does not.
I tried on qtek 8500. It doesn't run and after reset the device stucks. Need a hard reset to factory defaults to work again. fortunately I had a backup.
I just got my own T-Mobile Shadow and I found out that you need to have a .scheme/.home XML file that sets the plugin. I think it's called cmhome.home. Also, you need cmhomeres.dll.0409. I'm going to try adding these in to the rom...
...unless they are already there and I haven't noticed
any update.. can i have a copy of the rom u builded thx
ND4SPD said:
I just got my own T-Mobile Shadow and I found out that you need to have a .scheme/.home XML file that sets the plugin. I think it's called cmhome.home. Also, you need cmhomeres.dll.0409. I'm going to try adding these in to the rom...
...unless they are already there and I haven't noticed
Click to expand...
Click to collapse
Yes we actually know that chome is part of theme, about that MUI and other many many files too.
Can You just post orginal Shadow rom.
melgurth said:
Yes we actually know that chome is part of theme, about that MUI and other many many files too.
Can You just post orginal Shadow rom.
Click to expand...
Click to collapse
i got it u need it?
here u go http://rs81.rapidshare.com/files/73516772/S730_ROM_Dump__PKGTool_.rar
Can somebody upload new Shadow update to rapidshare?
I'll post it as soon as I get home. School's proxy blocks FTP upload/download and exe files.
Rom link: http://www.megaupload.com/?d=5GART6H6. Sorry I forgot to upload before
Thanks for posting the new ROM!
I had some success with the old one here:
http://s2.photobucket.com/albums/y15/GnatGoSplat/3125Shadow/
It was a complete ROM port though. I'll see about making a CAB when I have some free time.
cant wait wanted it since shadow came out...i have s620 will it work with landscape

Cab2OEM v0.9

Couldn't find an app that could convert CAB's to OEM packages (in an easy way) so I made my own...
...only supporting CAB's with _setup.xml files
Newest version 0.9
Cab2OEM.exe
evalu8t0r said:
Couldn't find an app that could convert CAB's to OEM packages (in an easy way) so I made my own...
...only supporting CAB's with _setup.xml files
Cab2OEM v0.0.0.2
Click to expand...
Click to collapse
this looks great man,
what language is it coded in?
i'm just wondering because I would like to get into this coding business myself
EDIT: I just tried a test cabinet file (opera mini) which contains a _setup.xml file, and it said that it did not? same results in a different .cab that had an _setup.xml file in it
mbarvian said:
this looks great man,
what language is it coded in?
i'm just wondering because I would like to get into this coding business myself
EDIT: I just tried a test cabinet file (opera mini) which contains a _setup.xml file, and it said that it did not?
Click to expand...
Click to collapse
Coded in vb.net (3.5) (Visual Studio 2008)
I've tested it on every CAB file I had (dumped a copy of all my cab files in c:\temp and ran Cab2OEM.EXE C:\temp\*)
Where can I download opera mini cab file to test it?
evalu8t0r said:
Coded in vb.net (3.5) (Visual Studio 2008)
I've tested it on every CAB file I had (dumped a copy of all my cab files in c:\temp and ran Cab2OEM.EXE C:\temp\*)
Where can I download opera mini cab file to test it?
Click to expand...
Click to collapse
what's an example of what you used? here's what I did:
Code:
cab2oem opera.cab opera
mbarvian said:
what's an example of what you used? here's what I did:
Code:
cab2oem opera.cab opera
Click to expand...
Click to collapse
Hmm... first test and you find a bug... I must be an idiot since a simple thing like that is not working...
Try:
Code:
cab2oem c:\temp\opera.cab
...v0.0.0.3 comming up soon
evalu8t0r said:
Hmm... first test and you find a bug... I must be an idiot since a simple thing like that is not working...
Try:
Code:
cab2oem c:\temp\opera.cab
...v0.0.0.3 comming up soon
Click to expand...
Click to collapse
ok, this worked better, but I still got this error:
Code:
Conversion from type 'NBNULL' to type 'String' is not valid
can't wait for v0.0.3! i think this app has some great potential!
mbarvian said:
ok, this worked better, but I still got this error:
Code:
Conversion from type 'NBNULL' to type 'String' is not valid
can't wait for v0.0.3! i think this app has some great potential!
Click to expand...
Click to collapse
I'm gonna need that cab file to see what's going on... got a link?
evalu8t0r said:
I'm gonna need that cab file to see what's going on... got a link?
Click to expand...
Click to collapse
here:
http://www.filesend.net/download.php?f=931d689b67ab4cefde3ac0c42d691e5d
I just renamed it to opera.cab to make it easier when typing it in
mbarvian said:
here:
http://www.filesend.net/download.php?f=931d689b67ab4cefde3ac0c42d691e5d
I just renamed it to opera.cab to make it easier when typing it in
Click to expand...
Click to collapse
v0.0.0.3 is up
Some problems resolved but opera.cab still won't work as it contains a 'multiplestring' registry key which I'm not sure how to decode
Any chance you have an OEM package for this allready? Could you send me the RGU file?
evalu8t0r said:
v0.0.0.3 is up
Some problems resolved but opera.cab still won't work as it contains a 'multiplestring' registry key which I'm not sure how to decode
Any chance you have an OEM package for this allready? Could you send me the RGU file?
Click to expand...
Click to collapse
i do, here's the rgu file
Code:
REGEDIT4
[HKEY_CLASSES_ROOT\.jad]
@="jadfile"
"Content Type"="text/vnd.sun.j2me.app-descriptor"
[HKEY_CLASSES_ROOT\jadfile]
[HKEY_CLASSES_ROOT\jadfile\DefaultIcon]
@="\\windows\\jbed.exe,0"
[HKEY_CLASSES_ROOT\jadfile\Shell]
[HKEY_CLASSES_ROOT\jadfile\Shell\Open]
[HKEY_CLASSES_ROOT\jadfile\Shell\Open\Command]
@="\"\\windows\\jbed.exe\" -DFile.maxStorageSize=20M -ginstall \"file:\\%1\""
[HKEY_CLASSES_ROOT\.jar]
@="jarfile"
"Content Type"="application/java-archive"
[HKEY_CLASSES_ROOT\jarfile]
[HKEY_CLASSES_ROOT\jarfile\Shell]
[HKEY_CLASSES_ROOT\jarfile\Shell\DRMOpen]
[HKEY_CLASSES_ROOT\jarfile\Shell\DRMOpen\Command]
@="\\windows\\jbed.exe\" -DFile.maxStorageSize=20M -ginstall \"file:\\%1\""
[HKEY_CLASSES_ROOT\jarfile\Shell\Open]
[HKEY_CLASSES_ROOT\jarfile\Shell\Open\Command]
@="\\windows\\jbed.exe\" -DFile.maxStorageSize=20M -ginstall \"file:\\%1\""
[HKEY_CLASSES_ROOT\jarfile\Shell\Save]
[HKEY_CLASSES_ROOT\jarfile\Shell\Save\Save Location]
@="\\windows"
[HKEY_CLASSES_ROOT\jarfile\DefaultIcon]
@="\\windows\\jbed.exe,0"
[HKEY_CLASSES_ROOT\CLSID]
[HKEY_CLASSES_ROOT\CLSID\{8F57C2D0-4C95-4945-A4C4-0B7548587796}]
[HKEY_CLASSES_ROOT\CLSID\{8F57C2D0-4C95-4945-A4C4-0B7548587796}\InprocServer32]
@="\\windows\\ieplugin.dll"
"ThreadingModel"="Both"
[HKEY_CLASSES_ROOT\CLSID\{8F57C2D0-4C95-4945-A4C4-0B7548587796}\TypeLib]
@="{A847F3EE-CAF9-46ed-94D2-0CF149F1209E}"
[HKEY_CLASSES_ROOT\CLSID\{8F57C2D0-4C95-4945-A4C4-0B7548587796}\Version]
@="1.0"
[HKEY_CLASSES_ROOT\PROTOCOLS]
[HKEY_CLASSES_ROOT\PROTOCOLS\Filter]
[HKEY_CLASSES_ROOT\PROTOCOLS\Filter\text/vnd.sun.j2me.app-descriptor]
"CLSID"="{8F57C2D0-4C95-4945-A4C4-0B7548587796}"
[HKEY_CLASSES_ROOT\PROTOCOLS\Filter\text/vnd.sun.j2me.app-descriptor; charset=utf-8]
"CLSID"="{8F57C2D0-4C95-4945-A4C4-0B7548587796}"
[HKEY_CLASSES_ROOT\PROTOCOLS\Filter\application/java-archive]
"CLSID"="{8F57C2D0-4C95-4945-A4C4-0B7548587796}"
[HKEY_CLASSES_ROOT\PROTOCOLS\Filter\text/x-pcs-gcd]
"CLSID"="{8F57C2D0-4C95-4945-A4C4-0B7548587796}"
[HKEY_CLASSES_ROOT\MIME]
[HKEY_CLASSES_ROOT\MIME\Database]
[HKEY_CLASSES_ROOT\MIME\Database\Content Type]
[HKEY_CLASSES_ROOT\MIME\Database\Content Type\application/java-archive]
"Extension"=".jar"
[HKEY_LOCAL_MACHINE\SOFTWARE]
[HKEY_LOCAL_MACHINE\SOFTWARE\Apps]
[HKEY_LOCAL_MACHINE\SOFTWARE\Apps\Esmertec Java]
[HKEY_LOCAL_MACHINE\SOFTWARE\Apps\Esmertec Java\Properties]
"microedition.ua.prefix"=""
"microedition.ua.postfix"=""
"microedition.ams.iconsize"="24"
"DestNet"="0"
"File.basedir"="\\windows\\"
"File.rootdir"="\\windows\\"
[HKEY_LOCAL_MACHINE\SOFTWARE\Tegic]
[HKEY_LOCAL_MACHINE\SOFTWARE\Tegic\eT9]
"CustomClassNames"=hex(7):4a,42,45,44,5f,54,45,58,54,46,49,45,4c,44,3f,3f,3f,\
3f,3f,3f,3f,3f,3f,3f,3f,3f,00,00
[HKEY_LOCAL_MACHINE\SOFTWARE\OEM]
[HKEY_LOCAL_MACHINE\SOFTWARE\OEM\MASD]
"JbedJava_3_1"="0_0_20080222_3_1"
mbarvian said:
i do, here's the rgu file
Code:
[HKEY_LOCAL_MACHINE\SOFTWARE\Tegic\eT9]
"CustomClassNames"=hex(7):4a,42,45,44,5f,54,45,58,54,46,49,45,4c,44,3f,3f,3f,\
3f,3f,3f,3f,3f,3f,3f,3f,3f,00,00
Click to expand...
Click to collapse
New version 0.0.0.4 up
Can't seem to figure out why your RGU files "CustomClassNames" ends with 00,00... if you open _setup.xml in a hex editor it's 80,80... also the \ in the middle makes no sense to me...
EDIT:
Found this regarding the \
"Large Value Data Strings can span onto more than one line, in which case each line (except the last one) is terminated by a comma (,) followed by a SINGLE backslash mark (\) and consecutive lines are separated by carriage returns (CR)"
...so it's not important
EDIT:
http://www.microsoft.com/express/product/default.aspx should get you started with some coding if that's the route you want to go - Express editions are free
evalu8t0r said:
New version 0.0.0.4 up
Can't seem to figure out why your RGU files "CustomClassNames" ends with 00,00... if you open _setup.xml in a hex editor it's 80,80... also the \ in the middle makes no sense to me...
Click to expand...
Click to collapse
the '\' is used to break a line and multiplestring values are terminated with a double zero byte, one per string and one for the whole string, you can find this info on msdn btw...
worstenbrood said:
the '\' is used to break a line and multiplestring values are terminated with a double zero byte, one per string and one for the whole string, you can find this info on msdn btw...
Click to expand...
Click to collapse
Thanks
I see that (http://msdn.microsoft.com/en-us/library/ms724884(VS.85).aspx)
But I don't understand why I'm seeing 4A4245445F544558544649454C443F3F3F3F3F3F3F3F3F3F3F3FEF8080 and not 4A4245445F544558544649454C443F3F3F3F3F3F3F3F3F3F3F3FEF0000 when looking at the _setup.xml file in a hex editor. Any ideas?
I'm using System.Text.Encoding.UTF8.GetBytes to read the string and converting each of them to a string (using ToString("X2"))
The RGU file mbarvian posted has 0000 in the end ...
hello
great tool bro
mods this should be a sticky or kaiser wiki
evalu8t0r said:
Couldn't find an app that could convert CAB's to OEM packages (in an easy way) so I made my own...
...only supporting CAB's with _setup.xml files
New version 0.0.0.4
Cab2OEM.exe
Click to expand...
Click to collapse
jahrami said:
hello
great tool bro
mods this should be a sticky or kaiser wiki
Click to expand...
Click to collapse
Thanks... bro
I'm not sure v0.0.0.4 is a fully working version - it needs more testing
V1.0.0.0 could be a sticky candidate - Still needs some work to be perfect
evalu8t0r said:
Thanks... bro
I'm not sure v0.0.0.4 is a fully working version - it needs more testing
V1.0.0.0 could be a sticky candidate - Still needs some work to be perfect
Click to expand...
Click to collapse
Nice app, I'll have to give this a go when I get time to start cooking again.
I've added it to wiki: http://wiki.xda-developers.com/index.php?pagename=HTC_Kaiser#ROMx20.Cooking
I'm not too sure about a sticky, no other ROM cooking tools are. Just my 2c's.
Dave
DaveShaw said:
Nice app, I'll have to give this a go when I get time to start cooking again.
I've added it to wiki: http://wiki.xda-developers.com/index.php?pagename=HTC_Kaiser#ROMx20.Cooking
I'm not too sure about a sticky, no other ROM cooking tools are. Just my 2c's.
Dave
Click to expand...
Click to collapse
Once you get cooking let me know how it runs for you
well, I'm very glad to say that I have not had any problems with v0.0.0.4
great job and I look forward to future releases man
There are some flaws in the conversion. Hopefully, this can be fixed in the next version. Here's the description of the flaws:
1. For "\" that is specifying a path, the rgu should have "\\". For eg. "\Windows\Cookies" should be "\\Windows\\Cookies".
2. For " that is specifying a long path, the rgu should have "\". For eg. ""jbed.exe" -m %1" should be "\"jbed.exe\" -m %1".
Another flaw for registry with DWORD key. It produces the RGU file which uses decimal value in the DWORD key, which is completely wrong. Hopefully this can be fixed in next version, too.

Enhanced Notification Manager ?

Hi all,
has anyone tried this one already ?
Link
It seems to add some functionality to the Notification Manager (like turning on/off WiFi, for example). But I'm afraid it will not install, because we have the new Notification Manager already.
What do you say ?
Regards,
Marcos
Tried without success. Installation failed without any explanations.
Try with this one http://forum.xda-developers.com/attachment.php?attachmentid=178262&d=1240211769
I installed and works fine on my D2
Stdu
thanks. works great.
Excellent!
Thank you!
It's nice but I'm missing the different snooze options I had before (with this registry hack: http://forum.xda-developers.com/showpost.php?p=3726469&postcount=10)
very good! thx~~
stdu said:
Try with this one http://forum.xda-developers.com/attachment.php?attachmentid=178262&d=1240211769
I installed and works fine on my D2
Stdu
Click to expand...
Click to collapse
Installed. Works well like this one in Shaks Topaz ROM for Diamond. Thank you.
Could any post a pic over what it does ?
Hi PhFr,
Attached you see what it does. Unfortunately it does not show "Battery" in front of the line. Does anyone have a solution for this?
Thanks and regards,
JTGBDR
stdu said:
Try with this one http://forum.xda-developers.com/attachment.php?attachmentid=178262&d=1240211769
I installed and works fine on my D2
Stdu
Click to expand...
Click to collapse
This one works. Thanks for it. Will come in handy and i can quickly access battery stats and Comm Man now.
Sidenote - I did get the old WM bubble notifications after the first reset but after soft reseting manually it worked.
jtgbdr said:
Hi PhFr,
Attached you see what it does. Unfortunately it does not show "Battery" in front of the line. Does anyone have a solution for this?
Thanks and regards,
JTGBDR
Click to expand...
Click to collapse
Thank you m8
stdu said:
Try with this one http://forum.xda-developers.com/attachment.php?attachmentid=178262&d=1240211769
I installed and works fine on my D2
Stdu
Click to expand...
Click to collapse
Yeah worked fine, thanks.
PhFr said:
Thank you m8
Click to expand...
Click to collapse
Is there a solution for this?
I'd like to have it say "Battery" aswell...
I'd really like to see the battery word + icon on the notification manager to access its setting quickly (insted of settings tab - show all - system - battery...) any news or solution for the missing word? is it stable, and worth a try? please note that I have a touch pro 2.. thanks a lot for the info guys!
Works not on the MDA Vario V (T-Mobile branding)
cyberpunk627 said:
I'd really like to see the battery word + icon on the notification manager to access its setting quickly (insted of settings tab - show all - system - battery...) any news or solution for the missing word? is it stable, and worth a try? please note that I have a touch pro 2.. thanks a lot for the info guys!
Click to expand...
Click to collapse
eats a lot of ram
Does Enhanced Notification Manager works with MS Shell 3.0?
Cos I disable the TF3D and runing MS shell 3.0. When i installed this Enchanced Notification, nothing happens
Thanks
jtgbdr said:
Hi PhFr,
Attached you see what it does. Unfortunately it does not show "Battery" in front of the line. Does anyone have a solution for this?
Thanks and regards,
JTGBDR
Click to expand...
Click to collapse
Yes, there is a way to add the "Battery" string in front, but it requires you to edit a MUI file.
Let me explain:
When you install the distributed cab file it installs on your device various graphic files, plus 2 MUI files. These MUI files are for WWE devices. If your device is set to use other language as default (like mine which is set to work with Greek) then these two MUI files will be installed on your system, but they will be ignored, and the ENM will take it's strings from the original MUI that won't be overwritten by the installation.
There are two ways to get the "Battery" string showing.
The first way is to replace the original MUI files of NM with the new ones that the cab installs. This method arises another problem though: If you do so, the entire NM will be shown in WWE and NOT on your language. This means that you'll get the "Battery" string but all the other strings will be in English and not your language (e.g. Greek)
The second way is a little more tricky, but it has guaranteed results:
You just edit the original MUI file of your device to add the "Battery" string!
Since editing MUI files is tricky I'll post a quick guide on how to do it, but you may need to Google for it to get more details.
Everything will be done on your PC. You will need the following:
1. A MUI unsigner - Signer
2. A Resource Editor
3. The MUI file
I wish I had kept the links, but I only have the apps, so I can't tell you from where to get these apps. The MUI unsigner-signer I get it from these very forums (XDA). Use search to find it. For a resource editor I used XN Resource Editor
The MUI file you will get it from your device. Just browse your phone's Windows directory and copy NotificationManager.dll.XXXX.MUI file on your PC
The .XXXX.MUI part is actually the number of your language. For instance in my case I needed the NotificationManager.dll.0408.MUI which is the GREEK MUI file.
1.
Copy the MUI file on a short path on your PC, something like C:\Temp\MUI\
2.
Extract the MUI unSigner-Signer on the same path
3.
Run the MUI unsigner to unsign your MUI file
4.
Use the resource editor to edit the MUI file. Depending on the case you may need to add the string, or just edit it. We need to fill the string numbered 176.
If the string exists and it's empty just edit it to fill in the string of your desire. If it doesn't exists then create a new string and pay attention on the LANGUAGE selection upon the new string creation menu. It should be the same language as the rest strings on your file. Keep in mind that ALL resource editors will add 16 string in a row. That's normal, and it doesn't matter. Just use the create string command until you have a "176" value that you can edit. Once you edit the "176" String to say whatever you want it to say, save the file and exit Resource editor.
5.
Use MUI signer to sign your file
6.
Copy the modified MUI file somewhere on your device. Don't try to copy it directly on windows directory. The file is marked as "system" and windows won't let you overwrite it.
7.
Once you have copied the modified file on your device, use an application like Total Commander to do 2 tasks:
a. Backup the original file (by copying it somewhere) and
b. Replace the original file with the modified one.
8. Soft Reset your device and everything should be ok now!
PS:
By no way this is a complete guide on how to do it. It's just what I recall from the process I followed some time ago in order to do it myself.
Directions on how to use MUI unsigner-Signer you'll find on the thread that you'll get it.
PS2:
Be safe: KEEP A BACKUP OF YOUR ORIGINAL FILE FIRST!!!
PS3:
Have fun. If someone needs the Greek Translated MUI file PM me. I have also posted it on the ENM thread back at the time I created it...
EDIT: Here's the link of the Greek MUI file: http://forum.xda-developers.com/showpost.php?p=4039484&postcount=125
MUI Unsigner: http://forum.xda-developers.com/showthread.php?t=329160
MUI Signer: http://forum.xda-developers.com/showthread.php?t=306982
runing MS shell 3.0
Goondu said:
Does Enhanced Notification Manager works with MS Shell 3.0?
Cos I disable the TF3D and runing MS shell 3.0. When i installed this Enchanced Notification, nothing happens
Thanks
Click to expand...
Click to collapse
AM CURIOUS ABOUT IT TOO? - does it work with elf-htc touch -?
thxs

[Q] Regedit

It's kinda stupid to ask this question, but it there alternative to regedit in android that can be edited?
jianyongng said:
It's kinda stupid to ask this question, but it there alternative to regedit in android that can be edited?
Click to expand...
Click to collapse
There are many different property files as well as scripts that can be edited. Hope on over to the android dev and hacking forums on xda for more info. There is no equivalent of a single registry but the build.prop file is a good place to start. :fingers-crossed:
jianyongng said:
It's kinda stupid to ask this question, but it there alternative to regedit in android that can be edited?
Click to expand...
Click to collapse
As sbdags pointed out, there is no regedit. Android is derived from GNU/Linux. Traditionally, all global configuration files are in /etc and all local configuration files are in your home directory as dot files. Unfortunately, android stores configuration files in a whole bunch of different places.
What are you looking to configure? I'm sure we can help.
Most Android apps store their settings in SQLite databases (use any SQLite client to edit .db files). Some system-wide settings are managed using the Android property system (use getprop and setprop from a command line).
---------- Post added at 08:02 AM ---------- Previous post was at 08:01 AM ----------
Private Pyle said:
Unfortunately, android stores configuration files in a whole bunch of different places.
Click to expand...
Click to collapse
Fortunately, app-specific settings are stored in app-specific files and not in a giant registry blob that keeps accumulating outdated stuff.

Categories

Resources