[Q] Restore files deleted by WP7 root tools - Windows Phone 7 Q&A, Help & Troubleshooting

is there a way to restore the files deleted by WP7 root tools?

A hard reset should do.
---------- Post added at 03:36 PM ---------- Previous post was at 02:52 PM ----------
and BTW, wrong section.

Yeah, wrong section and wrong answer. It depends what kind of files you've deleted. But there is no "Recycle bin" in WP7, root tools calls native API file functions.

sensboston said:
Yeah, wrong section and wrong answer. It depends what kind of files you've deleted. But there is no "Recycle bin" in WP7, root tools calls native API file functions.
Click to expand...
Click to collapse
so a hard reset won't solve the thing?

lamborg said:
so a hard reset won't solve the thing?
Click to expand...
Click to collapse
He didn't specify what kind of files he wants to restore. For example, hard reset will not restore your sideload apps, even officially installed/purchased apps. Also, hard reset will not restore completely all your registry hives, just will re-create HKCU and so on.
Technically, on the one hand, WinCE platform has some capabilities to use "recycle bin" (just googled that), on the other hand, these settings are not enabled on WP7 platform (check HCLM\Explorer\RecyleBinSize, HCLM\Explorer\UserRecycleBin), and AFAIK WP7 don't have Explorer app at all (these settings affects for Explorer app, not for the system calls).
So, the correct answer is "No", if you deleted something using WP7 root tools, it can't be undone.

I had deleted video files using wp7 tool's explorer.

If you have deleted a system file, I am quite sure a hard reset will help as AFAIK it is similar to formatting and reinstalling which means all the original system files will be restored.

Actually, even WP7 Root Tools won't be able to delete files stored in the ROM, which nearly all system files are. It also can't delete files which the OS has a permanent lock on while running. WP7 Root Tools bypasses the permissions (policy system), but it doesn't actually override *all* security features of the OS.

Related

[REQ/Q] Restore deleted files

Hi guys !!!! There is a way or a app to restore the delted files in windows mobile ? ? ? Like in "normal" Windows ?
uppppppp!!!
Resco Explorer has a recycle bin function.
Davey101 said:
Resco Explorer has a recycle bin function.
Click to expand...
Click to collapse
oh..thanks .....and there is nothing free ?
EDITk i bought resco explorer...but i can't use the recycle bin: I deleted a file ...but the recycle bin it's empty...what's wrong ?
Using resco explorer go to menu-->options-->general. Go to the files tab and make sure all prompts are checked. Also go to menu-->options-->add-ins-->recycle bin and make sure 'Do not move files to recycle bin' is unchecked. When deleting files you should get a pop up that asks you if you'd like to send your deleted files to the recycle bin or just delete them entirely.
[email protected] said:
Using resco explorer go to menu-->options-->general. Go to the files tab and make sure all prompts are checked. Also go to menu-->options-->add-ins-->recycle bin and make sure 'Do not move files to recycle bin' is unchecked. When deleting files you should get a pop up that asks you if you'd like to send your deleted files to the recycle bin or just delete them entirely.
Click to expand...
Click to collapse
Thank you so much man
If you want to see deleted files in Resco Explorer then it should had been installed before deleting the files
Currently there is no way to recover those deleted files (unless if deleted from the system or ROM) which in case can be recovered simply by soft reset
Moving this thread to Q&A section where you will surely get better directions
Currently there is no way to recover those deleted files (unless if deleted from the system or ROM) which in case can be recovered simply by soft reset
I'm curious....I thought you couldn't delete anything off of the rom. Isn't it restricted in that domain? I know of a lotta things I'd like to be able to change, modify or delete from my windows directory. I already know of trying to access the files from activesync....doesn't work though. Is there another way?
Hi there.
is there a 'recycle bin' on the X1?
reason is I deleted a small video i was looking to upload.
so do we have a 'recycle bin' type thing, or has it gone forever?
thanks in advance
edit> if I do not have Resco Explorer installed, there is no way of recovering this video?
If you delete files from the device's storage you can't get them back unless they appear in the recycle bin.
if you delete them from the storage card, you can restore them/some of them using ActiveRecovery (for instance).
if you deleted something accidently, DO NOT copy ANYTHING else to your storage card.
take the card out, put it in your comp, and use ActiveRecovery to recover the sectors.
thanks very much mate

Lost contacts

Hi
I made the silly mistake of not backing up my contacts before updating ROM ( i know... very stupid)
I copied the entire device to computer prior to updating but for some reason, it didnt copy the windows folder from the PDA.
I'm guessing the contacts would have been stored somewhere in the windows folder. I was running WM6.
Have i lost the contacts...? or are they stored in a different location which would have been backed up ?
Thanks
what exactly did you copy?
the following directories and files
Application data
ConnMgr (empty)
Documents and Settings (empty)
Music
My Documents
Program Files
Pim.vol
WMPinfo
Thanks
as far as i know, if i am not wrong, the pim.vol is the one that contain your pim data especially contacts,.
but, you cant just changed it, or replace it, if i am not wrong you need to use mortscript to do that with force deleting the original one and replacing with the new one,.
i will try to look into it, just keep all your data that you have backed up,.
Thank you !
I really appreciate it.
Not yet solved
Note to admin
this topic has not yet been resolved. I simply said thank you to -G- for saying he will look into it.
Thanks
tag removed
yup... pim.vol can't just be copied inside the root to be read.. it is somehow attached to your system.
BUT, if i'm not mistaken, you can use PIM Backup to load the info from the file.
try it.
http://forum.xda-developers.com/showthread.php?t=299705
btw.. i think SPB Backup can read pim.vol as well.
heyy
nope didnt work. i tried both PIM Backup and SPB Backup but neither of them accept the pim.vol as a valid file to restore from.
Actually, you should be able to just do a copy and paste of this file wherever you got it from. Try to use File Explorer (might not work). The option that works best for me with System locked files is via ActiveSync. If it doesn't work, try soft resetting and replace the file right away before the system gets a chance to access the file. Give it a shot, it might just solve your problem.
Alternatively, read this. It pretty much says the same thing that has been said so far...
http://frommypocket.pocketprimer.com/2007/09/29/backing-up-and-deleting-pim-data-wm50-only.aspx
Good luck to you
strange. i'll get back to you on this..
Im confused.
so will it work to just replace the pim file like egzthunder1 suggested ? Or is that going to mess up contacts completely ?
Go there.. use the emulator.. and get your contacts back.
http://forum.xda-developers.com/showthread.php?t=309351
also, please DO try to just put the pim.vol file in your root dir of your device to see if it's movable.. so other people could use that info.

Good file explorer for wp7

i want to know if there is a good file explorer for a chevron/interop unlocked samsung focus?
WP7 Root Tools if your device is Developer unlocked and Interop unlocked. But what good is a file explorer for WP7?
WP7 Root Tools is what you want! The version 0.7 alpha is installed on My phone. You can find it in this forum.
thanks! That was what i was looking for
Could anyone please explain whats the use of a file explorer, except for creating provxml folder?
you are able to have a look in every folder. so you might be interested which files are stored within your apps, or you want to change some config files, or load dlls for further analysis on your pc ;-)
Is TouchExplorer a goos solutions ?
wp7thoze said:
you are able to have a look in every folder. so you might be interested which files are stored within your apps, or you want to change some config files, or load dlls for further analysis on your pc ;-)
Click to expand...
Click to collapse
You sound like a power user. I have lots of learning to do

How to view/parse WP7 registry hive files (user.hv, system.hv)

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.

[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