[Q] Registry mistake-can't open apps - Windows Phone 7 Q&A, Help & Troubleshooting

Hi all
Using a Samsung Focus I have been making simple changes in the registry. I modified the colors and had no problems, but as soon as I added a colour name and value I started having problems. I can't enter the themes under settings and can't open apps (but can enter messaging/email etc). Most importantly I cant enter the reg editor to fix it. Is there any way to fix this without resetting the phone? I stupidly haven't backed up my phone.
Cheers
Nic

Not meet your problem but wish someone could help you.

Restore your latest full backup.

Related

Searching Backup Programm

Hello!
I´m using the energy Rom.
So I update it every one or two weeks.
Problem is, that after every update, all my adjustments are gone.
Of course there are some backup programs on the rom, but they are not working the way I want to.
I´m looking for a backup program which have the same capabilitys like:
- PIM Backup
- CHT-Editor backup
- Settings export
But the program also should backup
- Home screen taps adjustments
- reinstall programs
And it also should rearrange all the icons in programs, settings, and so on, like i did it.
I already looked for sashimi, but the wimo-experts page is down.
If someone knows a good backup program, please let me know.
Thank you very much in advance!
Br
Daniel
Download Kheb 1.1 and learn how to backup user settings. There isn't going to be any magic program that selectively backs up everything you want/need and leaves behind junk and potentially harmful material. Learn how to search and backup registry keys and settings files. It's really not that hard to do. Then use sashimi or a similar app to restore your settings. Or just put all the reg keys in one file and import it manually.

[Q] Change Device ID? - Attempting to restore back to new phone same model

My girlfriend lost her Samsung Focus and received a new one from AT&T. She was very upset that she lost all her data on the phone and I had updated her old one to Mango, so I knew there was a backup saved. However at first it wouldn't recognize the backup (different device ID) so I changed the device ID in the folder name, properties.xml, and manifest.xml files. Zune now recognizes it as a restore point for that phone but refuses to install it, giving various errors such as 'backup not valid', etc.
I am beginning to think I should give up, but I wanted to know if any of you WP7 gurus knew of a way to change the Device ID of the phone itself, perhaps in the Registry Editor? I'm an Android user so I'm familiar with rooting with those phones but WP7 is a little different. I know I'd have to use Chevron and then put a registry editor XAP on there, but I haven't had a chance to do it yet..
So, is there any way to change the device ID?
The other possible solution I was thinking of was running a WP7 emulator and changing the device ID to match the old phone and do a restore through there (if that's even possible), then changing the device ID again to match the new phone and creating a new backup, which I could then send to the new phone?
100% I saw DeviceID setting in registry (exact value as returned by API call) but can't recall where now.
Update: try to change string [HKCU\Software\Microsoft\ActiveSync\DeviceID]
Thanks, i'll try it next time she's over. Hopefully I don't FUBAR her phone. I did tons of search about this subject before posting and couldn't find any evidence of anyone trying to change their device ID.
sensboston said:
100% I saw DeviceID setting in registry (exact value as returned by API call) but can't recall where now.
Update: try to change string [HKCU\Software\Microsoft\DeviceID]
Click to expand...
Click to collapse
Can you possibly do me a favor and use one of the DeviceID apps or something to verify that the field in that registry key matches your device's ID?
Just checked on my Samsung: DeviceID at HKCU\Software\Microsoft\ActiveSync\DeviceID (I've corrected registry path) is not related to the Zune's backup DeviceUrlID (it's different ID's, I think so)...
Darn. I'll have to see if there is a way to find it in there.
I'm pretty sure the ID used for the backup is stored in hardware; if it wasn't then it wouldn't survive a hard reset. Unfortunately, I think the backups are also encrypted, so unless you could somehow get the key out of the old phone it wouldn't be any good anyhow.
It would be awesome if you could find a way to move a backup between phones, but so far that hasn't been possible.
sensboston said:
100% I saw DeviceID setting in registry (exact value as returned by API call) but can't recall where now.
Update: try to change string [HKCU\Software\Microsoft\ActiveSync\DeviceID]
Click to expand...
Click to collapse
How do you get access to that string (AcitveSync DeviceID) using the API?
Thanks,
Jason

[Q] How to restore the registry

Hello, I messed up my registry and now cannot run any apps. I accidentally deleted an accent in HKLM\ControlPanel\Accents\1\ (I cannot remember the exact path). Now I cannot get to the Themes settings menu and cannot run the Root tools to correct my mistake. Is there any way that I can restore the missing registry key and get things working again? My backup is compromised and a Hard reset is the last resort. Thanks in advance.
Samsung Omnia 7, OS 7.10.8107.
Aaaaaand this is why we never go poking around the registry without a recent phone backup!
The only possible solution that I can think of - which might work, but there's no promise at all - is to write an app that uses the Samsung OEM registry DLL or provxml interface to try and fix your registry as an app launches, before the app tries to load its Silverlight brushes, checks the registry for their info, and freaks out.

[Q] Edit Registry without touchscreen

Hi,
I need some help. I scrued my Omnia 7 touchscreen with the LEO ADVANCED app.
I juste need to set one value to get it working again :
[HKEY_LOCAL_MACHINE\Drivers\Touch]
"PDD"="CotullaTouch.dll"
My question is : how can i edit registry without using my phone screen.
I can : unlock screen, use voice recognisation to launch any installed app, remotely install app (i'm prelly sure)
3 solutions are coming up to my mind:
1 Find a desktop app that allows to edit plugged phone's registry
2 Remotely control my phone ( with a computer, use mouse to change the values with WP7 root tool)
3 (less imaginable) créate an Xap that changes this specific value. I will still be able to install it remotely and to launch it with the voice recognisation.
Can only think of thoses two solution. Its the only solutions i found
rsepierre said:
Hi,
I need some help. I scrued my Omnia 7 touchscreen with the LEO ADVANCED app.
I juste need to set one value to get it working again :
[HKEY_LOCAL_MACHINE\Drivers\Touch]
"PDD"="CotullaTouch.dll"
My question is : how can i edit registry without using my phone screen.
I can : unlock screen, use voice recognisation to launch any installed app, remotely install app (i'm prelly sure)
3 solutions are coming up to my mind:
1 Find a desktop app that allows to edit plugged phone's registry
2 Remotely control my phone ( with a computer, use mouse to change the values with WP7 root tool)
3 (less imaginable) créate an Xap that changes this specific value. I will still be able to install it remotely and to launch it with the voice recognisation.
Can only think of thoses two solution. Its the only solutions i found
Click to expand...
Click to collapse
You have the ability to edit the registry from your PC, you will need to follow these steps:
1 - Download and install the registry editor for the PC:
http://www.torchsoft.com/en/download.html
2 - Connect your Windows Phone to the PC.
3 - Start the Zune software and synchronized with the device.
4 - boot registry editor
5 - Then we click on "File / Connect to a portable device Cams"
6 - Usually the device is already connected to the registry editor
7 - Once you have synced the device with the editor, please edit the required record
PS: Sorry for my bad English
The third option is also actually really easy, though you'll need to deploy the app as an update to an already-trusted app (unless you're using a custom ROM that trusts all app by default).
elpinta25 said:
You have the ability to edit the registry from your PC, you will need to follow these steps:
Click to expand...
Click to collapse
Thank you, it works (didn't work with the last 4.6.2 version of Registry Workshop, i use the 2.x available here http://www.torchsoft.com/node/5)
Ok i was able to change the registry values from PC, greaaaat step. But i got it wrong, it's not the right value or not all the values i had to set back. I need someone with an Omnia 7 to tell me all the values he has in :
HKEY_LOCAL_MACHINE\Drivers\Touch
I'm already trying to reach LEO ADVANCED's author so see wich ones are modified when we use his app.
Thanks a lot elpinta25
GoodDayToDie said:
The third option is also actually really easy, though you'll need to deploy the app as an update to an already-trusted app (unless you're using a custom ROM that trusts all app by default).
Click to expand...
Click to collapse
the problem is that i can't create apps. i'm not a developper
If someone knows any Omnia7 owner, i just need to know what is the value of
[HKEY_LOCAL_MACHINE\Drivers\Touch] "PDD"
and
[HKEY_LOCAL_MACHINE\Drivers\Touch] "DLL"
It is
"DLL"="TouchMDD.dll"
"PDD"="atmel_pdd.dll"
worked perfectly except i had to try multiple times to edit the registry. It didn't work the first time, did several reboot to find the old value still there (PC/mobile sync problem, don't really know)
but it was the right value to change : "atmel_pdd.dll" and the right way to do it. Thank you titi, gooddaytodie and elpinta

Backup and Restore ALL Accounts on android

GOAL - a universal backup and restore solution that can take ALL device accounts and ALL their related passwords - back them up - and restore them to ANY version of android - including Phones, Tablets, and Emulators such as bluestacks, memu, nox etc. even from different android versions.
This is primarily to get all EMAILS - google - outlook - etc loaded into a new device *This is NOT for apps as there are plenty of solutions for apps already but none for ACCOUNTS
This software should basically have a database, preferably in an easy to edit CSV format - which would never need to change as it would always have ACCOUNT_TYPE,USERNAME,PASSWORD,RANDOM_DATA
-you could manually populate this via your computer or you could have the android software export it via coding magic. Maybe use a different format and have it load a spreadsheet or a different database type...
Importing would be trickier- you'd have to have a drop down asking questions like - What android version are you importing to- so that the code could be properly inserted...
I intend to ask for advice here and see what solutions you all have; I will edit this first topic to help others if a solution exists.
Some people spend 50 hours of labor installing hundreds of apps on their phone; each needing custom configured, many require having an Account to access data through the app.
What if you have to load 50+ emails into the phone; each of them having huge complicated passwords.
What if you are always buying new devices, changing roms and having to set this all up again?
=Some Solutions exist but none have worked for me.
1. Built in google 'set up new device' -
This only seems to work when you have reset your phone.. once the phone is active and you've actually used it -- there appears to be no way to turn this on and attempt to bring new accounts over...
q. How can you activate this after the fact?
If you have more than a few accounts on the device, say.. 4... maybe you have 20 or 40 email accounts loaded.. it is almost guaranteed to fail.
q. What causes it to fail? Is there any work around.
If you are on android versions too far apart its also likely to fail
q. Why? is there any work around.
*Here is a site with code related to the account transfer API; I'm not sure how accurate it is:
Account Transfer API | Android Developers
developer.android.com
2. Samsung Smart switch
This only copies ONE account - but it also does a fine job of moving text messages, SOME apps and other info over.
*Is there any way to get it to copy all email accounts; and other random app accounts to the new device?
3. Titanium backup - for non root and root.
I've played with this numerous times over the past 10 years and never successfully. I dont think it is capable of taking all accounts and backing up / restoring to different devices.
More to be added later.
Reserved for random info so I can update later;
One month later and no replies...
Anyone?
1. Is there any app on the planet that can do this - or close? ((samsung smart switch - sometimes - though it mostly fails -- Googles built in set up - which fails 95% of the time) - I know of no other solutions.
2. Is there any desire for this? have any of you been annoyed with the menial task of setting this stuff up again and again?
another month goes by.. now I have a new android tablet.. and guess what?
Samsung smart switch wont copy my accounts...
I cant seem to get the built in google 'set up device' to start == and I'm not looking forward to adding 50 email accounts and various other accounts into this manually.. thats gonna take ages...
Buying a new device every couple months.. is a grueling task when it comes to account transfers...
Nobody has any suggestions on a solution for this? I'm searching around randomly again and finding Nothing.
what is your concern?? reading your thread give me headache
I have the same issue. I am "bored" in getting another mobile because i have to setup from beggining soooo many things
IIRC then account details are stored in SQLite database named accounts.db, its location depends on Android version.
Wi-Fi passwords are stored in file named wpa supplicant.conf.
@jwoegerbauer thanks for the tip. using your filename I found a tutorial that listed the location as follows:
/data/system_de/0/accounts_de.db
I've verified this on Nox; my bluestacks still isnt rooted and it seems the phones I have with all email accounts loaded == are not rooted either== I'm going to need to find a workaround for that or make time to root bluestacks to get the account data out of it...
Problem is;
1 there are no passwords included here. Where are they? mine are all crazy long and I have no clue what they are... its very time consuming to manually input them via my password managing tool.
2 Once I export; and change the CSV into a spreadsheet to include all the other missing email /google accounts; how do I replace the accounts_de.db file on each device
3. Why isnt there an app that can do this already; lol?
EDIT
Titanium backup does have an 'accounts' export option that -sorta - works... problem is how picky the app is about using root plus super SU and refuses to work with Magisk (sometimes) or will constantly crash on (some) devices - or will fail to export/import unless you try (5 different file managers that can eventually figure out how to import their file type) - or is otherwise NEEDING root access to function...
Would be nice if a solution existed via ADB or simply in an un rooted device to do this; sorta like how google ''set up nearby device'' was supposed to work (and will; if you use only 5 or less accounts... but its also buggy and fails)
Any ideas on how we can export/import accounts?
Still no successful solution.
1. Notes regarding Titanium:
I've tried about 15 versions of bluestacks using android 4.4.2 and have had mild success with titanium to backup/restore =
however it seems to randomly restore less than all the accounts (missing a few different ones each time)
it also seems to randomly miss the google password tokens randomly =forcing me to log into 10% of the imported accounts with each restore.
It also seems to fail 100% when trying to restore a bluestacks 4.4.2 accounts file on to android 7 bluestacks; or nox / or memu
It has limited success importing into a proper non emulated tablet (again missing about 60% of the accounts randomly)
all in all Titanium doesn't appear to be a good solution.
2. Perhaps a direct edit of the Accounts DB file would be wiser;
I've attempted to export it a few times and am not sure yet how to edit it ...
HeidiSQL has errors when accessing the file
Oracle's sql developer is WORSE; most of the text is gibberish.
*Any ideas on how to edit this?
3. Other xda searches lead me to:
The google password isn't a real password. After first successful authentication, an Auth Token is downloaded to device which is stored in accounts.db.
From the Auth Token is impossible to guess the password.
So I guess I answered my own question on that... I was hoping the passwords were stored on the device database so I could import/export them via a text editor.
4.
*File manager for super users allows one to explore and edit (to a point) a sql database - but one can not add new entries; only edit existing entries.
one can only export to csv; not import.
so this is only a partial solution.
5. an open source XDA solution looks promising but will not work.
Each OnAndBackup version uses different file extensions that are not compatible between versions... so yuo can't backup one android version and restore to another.
OAndBackupX is a fork of the popular open source backup app for Android
Looking for an open source solution to backup individual apps and their data? OAndBackupX is a handy Android app for the job. Check it out!
www.xda-developers.com
Blombardo said:
2. Perhaps a direct edit of the Accounts DB file would be wiser;
I've attempted to export it a few times and am not sure yet how to edit it ...
HeidiSQL has errors when accessing the file
Oracle's sql developer is WORSE; most of the text is gibberish.
*Any ideas on how to edit this?
Click to expand...
Click to collapse
In post #7 you were told it's a SQLite database. Hence use a SQLite browser.
Downloads - DB Browser for SQLite
sqlitebrowser.org
It appears that the art of editing the database file on this is more complicated than it should be...
1. Taking the old DB file from 4.4.2 with a million accounts loaded... -- Export the 'accounts' table into csv
2. taking the new DB file from 7.1.1 with one account loaded - delete existing and then import the old 'accounts' table -
Swap original .db file with new edited one...
and congrats you too have a bootloop...
Anyone know how to PROPERLY export / import the accounts information ?
The sql table otherwise appears the same.. but I'm by no means an expert on these databases so perhaps I missed something simple.
Can't wait to see what happens from nox to bluestacks to memu to real versions of android on multiple devices with multiple android versions...
There HAS to be a better way to do this.?
Edit: 20 plus hours and many weeks into this problem
delving deeper into Titaniums site they have a suggestion for use on emulators that I did not notice; I will try and report back.
12. I have an Android device that is x86 based, and rooted. Can I use Titanium Backup ?​
YES. Please ensure that you have a working BusyBox on your device and make the following changes in TB preferences:
enable the “Force use external BusyBox” option (under Troubleshooting) then hit MENU -> Reload application.
1. I've noticed there are two places for saved account info; I still have no success in getting my edited database to properly recognize in the emulator.
system DE on older 4.4.2
and
system CE on 7.1 (also has the DE folder)
2. No luck on titanium either.
a. I've tried making busy box work on the emulator; it pretends to install successfully but when running shell commands it doesnt seem to work; therefore the number 12 from Titanium FAQ is something I can't seem to accomplish either... so Titanium will not work yet; maybe due to the busybox fail.
Blombardo said:
@jwoegerbauer thanks for the tip. using your filename I found a tutorial that listed the location as follows:
/data/system_de/0/accounts_de.db
I've verified this on Nox; my bluestacks still isnt rooted and it seems the phones I have with all email accounts loaded == are not rooted either== I'm going to need to find a workaround for that or make time to root bluestacks to get the account data out of it...
Problem is;
1 there are no passwords included here. Where are they? mine are all crazy long and I have no clue what they are... its very time consuming to manually input them via my password managing tool.
2 Once I export; and change the CSV into a spreadsheet to include all the other missing email /google accounts; how do I replace the accounts_de.db file on each device
3. Why isnt there an app that can do this already; lol?
EDIT
Titanium backup does have an 'accounts' export option that -sorta - works... problem is how picky the app is about using root plus super SU and refuses to work with Magisk (sometimes) or will constantly crash on (some) devices - or will fail to export/import unless you try (5 different file managers that can eventually figure out how to import their file type) - or is otherwise NEEDING root access to function...
Would be nice if a solution existed via ADB or simply in an un rooted device to do this; sorta like how google ''set up nearby device'' was supposed to work (and will; if you use only 5 or less accounts... but its also buggy and fails)
Click to expand...
Click to collapse
Thanks for the tip just used Titanium Backup to transfer accounts backup generated from one phone to another (using the generated backup files) both N916K rooted with Magisk version 23.0 (23000) without issues!
So is there any Progress or Solutions found yet?
A good thing would be to see all the accounts and then retype them manually if needed.
Else it would be much better to have something like Smart Switch.
Problem I noticed with SmartSwitch, when you try to transfer the Accounts. Samsung trys to grab and upload all the accounts to their server!! Why? I don't know, but it always asks for Internetconnection etc. ONLY when you want to transfer accounts, everything else works more or less.. some appdata not included sadly anyway.
Swift Backup doesn't seem to or did someone manage it to work with it?
Tipps and possible Solutions would be greatly appriciated.
It seems to be especially problematic with Android 12...
Hello, I'm having the same problem. I'm "bored" with obtaining a new phone because I have to set up so many things from scratch. real estate istanbul
A shame there still doesn't seem to be a good solution for this. TB only tries to backup the non-existent location, while the correct is /data/system_de/0/accounts_de.db
Manually moving just puts me into a bootloop, even after setting the correct permissions.
I dont know if this works, someone should test it.
GitHub - cluk33/android-multiuser-backup: A set of scripts to backup and restore apps and data of multiuser android devices.
A set of scripts to backup and restore apps and data of multiuser android devices. - GitHub - cluk33/android-multiuser-backup: A set of scripts to backup and restore apps and data of multiuser andr...
github.com
akhilkhan said:
I dont know if this works, someone should test it.
GitHub - cluk33/android-multiuser-backup: A set of scripts to backup and restore apps and data of multiuser android devices.
A set of scripts to backup and restore apps and data of multiuser android devices. - GitHub - cluk33/android-multiuser-backup: A set of scripts to backup and restore apps and data of multiuser andr...
github.com
Click to expand...
Click to collapse
I spent hours trying to get the script to work, but it will not backup anything in A13. I even disabled DFE on the device and started it over to test.

Categories

Resources