Some problems with the WP8/10 registry tools - Windows Phone 8 Q&A, Help & Troubleshooting

1) none of them support REG_EXPAND_SZ, so I can't play around with HKLM\SYSTEM\ControlSet001 as much as I want to.
2) They seem to write more bytes than needed, when writing REG_BINARY. This is definitely a bad thing, we essentially can't write anything REG_BINARY properly...
This is all. It would be nice if there could be an addition to the remote registry editor (forgot which one that is, busy restoring my phone right now -- don't try to disable SecMgr driver; it'll make your phone go into a bugcheck/boot loop and you'll need to reflash!) so it can parse and import .reg files also

Related

Pocket Internet Explorer standalone needed/how to change user agent on Tilt

Okay, first post.
Summary: Requesting WM5 PIE standalone, Tutorial of how to change user agent for WM6 on (Hopefully) most AT&T Tilts/HTC TyTN IIs.
Full post: On the upside, I figured out how to change the user agent to anything on my AT&T Tilt (Custel series v2.1 ROM). Not sure if it will work for everyone, but I'll put what I did here anyways. On the downside, it didn't help the problem I stayed up all night to figure out how to do it for. @[email protected] In conclusion, I have decided it might be a good idea to use the older version of Pocket Internet Explorer. If anyone has the PIE WM5 (Or earlier?) version standalone, please upload for me. I tried extracting it from my older PPC, but as I am very new to this I have no idea how to get a locked system file out of the windows directory (Keeps telling me the file cannot be copied.) As a sidenote, I'm not sure the WM5 PIE will run on WM6 but I'd like to try it anyways because I'm running out of ideas. x.x
Anyways, now that my request is done, on to the tutorial. There have been quite a few of these user agent changing tutorials all around the net, but none of them really worked straightout for me, so I made my own.
1. Open up HKLM\Security\Policies\Policies in a registry editor
2. Change 00001001 to the value 1, and 00001005 to the value 40
3. Reboot
4. Now, your standard WM6 user agent string should be unlocked and ready to edit. (HKLM\Security\Internet Explorer\User Agent\CustomBase) Just add whatever user agent you want in there and it will show up. I tested it with www.useragentstring.com, so it did indeed work. To revert back to standard user string, just blank the value.
Simple stuff, but it took me all night to get it right.
Cheers,
Vena.
Should this have been in the networking forum instead of the kaiser forum? I think I miscatagorized it. If a mod thinks I'm right about this, and wrong about where I originally put it just go ahead and move it. Sorry for the confusion.
This didn't work for me. I tried your registry settings (the first one was already set to 1), and when going to useragentstring.com, it still shows "Windows CE" and "IEMobile 7.6".
Are the registry values you quote above Binary or Hexadecimal?
Ack. You're right. I tried changing the user string again as a test, and (at least for me) all it did was add the custom string to the beginning. In short, it's sending both the default and custom user agent strings. Back to work, I guess. Must figure out what was different now from the first time I did it. x.x
Note: All those policy keys do are unlock the user agent key. Otherwise you wouldn't be able to change it no matter how hard you try. Those registry entries should be pretty easy to change. If the HKLM/Security/Internet Exporer/User Agent key shows up (If it's already visible, you don't really need to change the keys.), then you did it right. If it doesn't show up, I'll try and look over those keys again as I obviously did something wrong.

Registry access denied- ideas/theories?

Hi all. Sorry to revisit an old topic, but much searching and experimentation has failed me.
I'm running the official AT&T 6.1 ROM, which supposedly has .NET CF 3.5 built-in. However, I installed an older version to get some other software running. Then, I uninstalled the older version and tried to reinstall 3.5, only to get installation errors. In trying to get my 3.5 installation to stop giving me errors, I've been trying furiously to delete the HKLM/Software/Microsoft/.NETCompactFramework registry key, because I read that might be the problem. No matter what I try, I can't delete that key.
After XDAGoogling "registry edit access denied" and several variants of that, I came up with loads of different registry editing options, all of which I installed, and all of which failed.
Here are some of the programs that give me either an "Access denied" or "This key cannot be deleted" error, after I read that they solved the problem for others:
PHM Registry Editor
Resco File Explorer
CERegEditor (tried the "unlock registry" option)
Torchsoft Registry Workshop
BitsInside RegEdit
I also tried every other freeware registry editor I could find on the usual freeware sites (freewarepocketpc.com, pocketpcfreeware.com, freeppcwarefreepcwarefree.com, etc)
I also installed the sdkcerts.cab and Basic Security cabs I came across, with no luck.
So, I'm at the end of my rope, and that's the only time I'd reach out to this forum. Does anyone have any idea:
A) what might be causing the problem,
B) a registry editor I should try I might have missed, or
C) something else that might be causing .NET CF3.5 to give me installation errors (I've searched the hell out of that one, too).
Thanks very much in advance, I hope you're all having a good weekend.
Just one shameless bump, no more, no less.
Maybe it's time to do a hard reset... this could be quicker than trying to find a fix and implement it.
marty, thanks for the reply. I have yet to set up a whole SASHIMI autoinstall scheme, so it's always hell for me to do a hard reset. I'd love to avoid it if I can.
I'm hoping that someone might have had the same issue as me, and gotten out of it. I see lots of .NET installation errors when I search for this issue, but they're all a little different.
I had a similar problem but found I could get around it using MortScript. It's slightly more laborious than using a registry editor because you have to write a small script to set the registry key and then run it. But it did work for me. I find it useful to keep a script with all my registry hacks (and other stuff like program installations) so that I can re-run it after a hard reset.
Cheers.
Just make a cab whit a Post-XML.
<characteristic type="Registry">
<nocharacteristic type="what-ever-key-you-want-to-delete" />
</characteristic>
Click to expand...
Click to collapse
If you do not know how to make a cab you can make a xml and use Dot Fred's task manager to import the xml.
What happend when you tried to use CeRegEditor and edit the registry directly from your PC?

[?] - Master list of configuration files for backup [Lumos, Gyrator 2, etc...]

Hey all,
I've run a couple searches and can't seem to find the answer to this question:
Is there a master list of the file names of configuration files for applications like Lumos, Gyrator 2, and others?
The reason I'm asking is that, after a ton of Rom flashes, I'm finding that it takes forever to get each of these aps reconfigured. It would be great to back up XML files, .ini's, or something along those lines for them to my storage card and then copy them back over after a flash.
Any ideas? Thanks!
Same question here....!
Would be great to have an answer.
Try the Sashimi application to save files and registry settings and restore them manually or automatically. It may have a steep learning curve, but once you've put in the effort, it saves you much more time in the long run. Have a look at the contents of my Sashimi filebackup.ini and regexport.ini to get an idea. Good luck!
Filebackup.ini
[Applications]
FileBackupDirMode=Auto
StartUp=\Windows\StartUp\*.*
changeScreen=\Windows\changeScreen.config
AEBPlus=\Program Files\AEBPlus\AEBPlus.cfg
TaskFacade=\Program Files\TaskFacade\settings.xml
TouchLockPro=\Program Files\TouchLockPro\TouchLockPro.xml
Lumos=\Program Files\Lumos\settings.txt
ET9=\Windows\ET9*.*
[Opera9]
FileBackupDirMode=Auto
Secure=\Windows\Opera9\secure\wand.dat
Skin=\Windows\Opera9\Skin\*.*
Cookies=\Windows\Opera9\cookies4.dat
Bookmarks=\Windows\Opera9\opera6.adr
Settings=\Windows\Opera9\opera.ini
Regexport.ini
[MySettings]
RegExportDirMode = Auto
JPG1=HKCR\.jpg
JPG2=HKCR\JPG-File
WMV1=HKCR\.wmv
WMV2=HKCR\wmv-file
Notifications=HKCU\ControlPanel\Notifications
Sounds=HKCU\ControlPanel\Sounds
SoundCategories=HKCU\ControlPanel\SoundCategories
Phone=HKCU\ControlPanel\Notifications\Phone
SIP=HKCU\ControlPanel\SIP
RIL=HKLM\Drivers\BuiltIn\RIL
Inbox=HKCU\Software\Microsoft\Inbox
Messaging=HKLM\System\Inbox\Settings\PropertyPath
Attachments=HKLM\System\Inbox\Settings\AttachPath
Backlight=HKCU\ControlPanel\Backlight
GSensor=HKLM\drivers\builtin\gsensor
Identity=HKLM\Ident
BlueTooth=HKCU\Software\Microsoft\Bluetooth\Settings
BlueToothDevice=HKLM\Software\Microsoft\Bluetooth\Device\001ad5f020cc
BlueToothSerives=HKLM\Software\Microsoft\Bluetooth\Services\0000110B-0000-1000-8000-00805F9B34FB
Signature=HKLM\Software\HTC\Signature
Power=HKLM\System\CurrentControlSet\Control\Power
PressureThreshold=HKLM\Drivers\TouchPanel\PressureThreshold
FingerPressure=HKLM\Software\OEM\TFLOSettings
ClearType=HKLM\System\GDI\ClearTypeSettings
ShellFolders=HKLM\System\Explorer\Shell Folders
GPS=HKLM\SYSTEM\CurrentControlSet\GPS Intermediate Driver
TCPWindowsSize=HKLM\Comm\tcpip\Parms\TcpWindowSize
BitmapCacheSize=HKCU\Software\Microsoft\Terminal Server Client\BitmapCacheSize
Wallpaper=HKCU\ControlPanel\Desktop
[HTC Software]
RegExportDirMode = Auto
ProgramLauncher=HKLM\Software\HTC\Manila\ProgramLauncher
HomeLSKPath=HKLM\Software\HTC\Manila\HomeLSKPath
HomeLSKArguments=HKLM\Software\HTC\Manila\HomeLSKArguments
HomeLSKText=HKLM\Software\HTC\Manila\HomeLSKText
HomeRSKPath=HKLM\Software\HTC\Manila\HomeRSKPath
HomeRSKArguments=HKLM\Software\HTC\Manila\HomeRSKArguments
HomeRSKText=HKLM\Software\HTC\Manila\HomeRSKText
AccountManager=HKLM\Software\HTC\HTCAccountManager
Camera=HKCU\Software\HTC\Camera
SmartTouch=HKLM\Software\HTC\SmartTouch
StartUpAnimation=HKLM\Software\HTC\HTCAnimation
TaskManager=HKCU\Software\HTC\TaskManager
AudioBooster=HKLM\Software\HTC\AudioBooster
HSUPA=HKLM\Software\HTC\AdvancedNetwork
AudioManager=HKLM\Software\HTC\AudioManager_Eng
Album=HKLM\Software\HTC\HTCAlbum
Animation=HKLM\Software\HTC\HTCAnimation
YouTube=HKLM\Software\HTC\YouTube
[MySoftwareHKCU]
RegExportDirMode = Auto
QuickMenu=HKCU\Software\AlenSoft
TotalCommander=HKCU\Software\Ghisler
PIM=HKCU\Software\FdcSoft
Changescreen=HKCU\Software\idevelopstuff
RSS=HKCU\Software\Ilium Software
MobilePad=HKCU\Software\MobilePad
Modaco=HKCU\Software\Modaco
Mort=HKCU\Software\Mort
RAR=HKCU\Software\RAR
SK=HKCU\Software\sk
VisualGPSce=HKCU\Software\VGPS
TouchLockPro=HKCU\Software\ZuinigeRijder
MediaPlayer=HKCU\System\State\MediaPlayer.
cleanRAM=HKCU\Software\HTCAddicts\cleanRAM
ClearTemp=HKCU\Software\VicSoft\ClearTemp
Taiyoukei=HKCU\Software\RBSoft
[MySoftwareHKCM]
RegExportDirMode = Auto
Adobe=HKLM\Software\Adobe
AdvancedConfig=HKLM\Software\AdvancedConfig
CorePlayer=HKLM\Software\CorePlayer
IE=HKCM\Software\Microsoft\Internet Explorer
MediaPlayer=HKLM\Software\Microsoft\mediaplayer
ShellKeys=HKLM\Software\Microsoft\shell\keys
Navigon=HKLM\Software\Navigon
SRS=HKLM\Software\SRS
PocketShield=HKLM\Software\PocketShield
eT9=HKLM\Software\Tegic\eT9
nueDynamicClock=HKLM\Software\Wei Enterprises
TouchInCallScreen=HKLM\Software\Marzens
+1 for SASHIMI...I don't hesitate to flash anymore because of this program (which may not necessarily be all good for the flashaholics!)
ajmoncrief said:
+1 for SASHIMI...I don't hesitate to flash anymore because of this program (which may not necessarily be all good for the flashaholics!)
Click to expand...
Click to collapse
Definitely Sashimi. Find it here http://www.winmo-experts.com/. There are video tutorials on how to use which I'd recommend watching, then dive in.
UC is pretty good too, will do all the same stuff and most ROMs support it. However, I've been far more successful going beyond simple cab installs with Sashimi. And, it works with all ROMs.
Weather sites, and program tab button assignments are stored in the registry. Also, under the Application Data there is good stuff stored such as media databases and stock tab.
One of the tricks for determining reg settings is to export your registry before and after you make a change, then using Windiff to compare them. Windiff is free and can be found here http://www.grigsoft.com/download-windiff.htm. It takes a while to get all of your reg edits figured out, but it is worth the time once you do.
Hope it helps.

Need help writing an app.

I'm writing an app and I haven't used Java since high school so it is a bit rusty.
I created a Dialog box using AlertDialog.Builder and this prompts for input by the user. However, the program keeps going while this is open. How do I make it so that the application pauses while this dialogue box is open? I can't figure it out. When I included a Thread.sleep() function the application didn't seem to do anything.
Anybody have an idea?
more of a bump than anything, but what about a while class, while the input box it up then app sleep. i haven't really touched java since highschool so i don't remember much either, i am trying to get back in just so i can write a simple app to run the most commonly used scripts, similar to droid sans tweak tools but with more scripts. hopefully i gave you some idea of what to do
I got around the issue by using an XML type interface instead of a dialogue box. Thanks anyway
Right now I'm trying to edit wpa_supplicant.conf through my program. I copy it to the SDcard so that I have a backup, but I'm unable to actually edit the file thats on the sdcard. I'm able to create it if its not there with the input I want, but I'm not able to edit the exiting file. Anyone have any suggestions?

[Q] WP8, Phone>Documents & Text files

Hi all, just a quick question regarding the functionality of Wp8 that I am fighting with, that I need to resolve or another WP phone is going back to the supplier [I did the same with WP7].
First off, apologies if there's an answer that I haven't managed to find.
I currently have an HTC HD2 running very nicely on WM6.5, however, it's been creaking a bit recently & I'd decided with a favourable review of WP8 that I read the other day suggesting that finally the device can be plugged into a PC & seen as a USB drive, that the time was right to move forwards.
Now that I have the Nokia Lumia 820 & WP8 however, I still don't think I can get it to do what I need it to do.
ALL I would like to do, is be able to copy text files from PC to WP8, & then display them on the phone with text wrap switched off.
Easy hey? Well if so, I haven't worked out how to do it yet!
I plug the phone into my PC, & an Explorer window fires up on the PC [XP] showing 'SD card' & 'Phone'. Drilling down one level on the latter gives Documents, Music, Pictures, Videos etc.
The only way I can get to see the Documents folder on my Phone appears to be via Office Mobile, under 'places' > phone. It appears to be very fussy about what it allows to be displayed there - I can see .PDF, .DOC, .XLS & .TXT files [but not .LOG. .ONE, .ZIP etc (which remain 'hidden')].
When I tap a .TXT file, I have no choice of how to open it, Office Mobile pounces & that's that. Having got this far, all I would now like to do is switch off text wrap [so that it'll view in a usable manner] because there doesn't appear to be such an option.
I have scoured the Store, & the best I've found is 'Text Reader', though this requires that I load it via email [upload a file to Hotmail or wherever with a .LOG (or similar) suffix & away you go, which it then downloads & stores in its own sandbox]. Ok, but faffy.
I believe that other progs might enable transfer via the cloud [Skydrive or whatever], but because of the nature of the data [& the fact that I don't want my data in anyone else's hands], this is out too.
I've spotted a couple of other quirks.
Office Mobile also does not allow you to display the folder hierarchy that may exist in Phone>Documents, just giving a flat filesystem, which makes finding a file in thousands, say, horrible. All I'd like to do is exactly duplicate the hierarchy that exists on the PC [& then I am always looking for things in the same place on either device].
I have also noticed that Office Mobile Word sometime hangs part way through a file. e.g. on loading a 1mb file, & searching for a text sequence I know to be on the last line, it hangs on a line part way through the file [say a 1/3 of the way in]. Not great, & I have the odd file that's c.10mb so I dread to think with that.
Words fail me, & once again I am hugely disappointed with MS. Please, please get the odd decision right & maybe WP will be at the top of the pile again as it was with [the sometimes awful, but very functional] WM.
I am hoping that someone will explain an easy way to do this, & that I can finally move forwards from WM6.5. Android concerns me re privacy & I don't like iPhones, so not much choice really! Stuck waiting for MS to provide basic functionality or [worse] a potential need for a future jailbreak to make the thing work properly!
Here's hoping. Many thanks for reading.
First of all, nobody who knew what the hell they were talking about said that WP8 displays as a USB drive (properly called USB Mass Storage). It's an MTP device, like most media players (or indeed WP7, though that had an extra layer of encryption around it). MTP doesn't display the actual filesystem; although the hierarchical display that it presents *may* mirror a real filesystem, it's under no obligation to do so.
The dearth of supported file types in WP7 was a real pain, but it could be fixed by tweaking the registry. In WP8 it's still a pain, but now third-party apps can (officially) register to handle file types. However, as you point out, there's no real way to browse the phone, and the Office hub only shows the filetypes it recognizes. We *might* be able to fix that, if we could get registry write permission, but that's not possible right now. With that said, I don't know if it would be possible for another app to register the (for example) .txt extension; the phone does offer the ability to choose what app opens a given file type.
For what it's worth, Bluetooth file transfer to the phone works fine, and the files will open in whatever app is registered to the file's extension. You can then save them into the app's storage (Documents, for Office apps). This may be a better way to transfer your data.
In WP8 you can build Apps that associate themselves with certain filetypes (identified by the ending). If your App is associated with a certain file type the App can also open files of that type from anywhere on the SD Card.
So for example if you put a *.log file onto the SD Card any App that is associated with the ".log" ending can read it (the Explorer functionality for the SD Card would have to be implemented by the App itself but it is supported). This does not work with the integrated storage though. With integrated storage you would still have to receive it via E-Mail, SkyDrive, etc.
Now for the caveats:
- Apps can't be dynamically associated with File Types. If you want to open "*.log" files the App developer has to associate his App with the filetype in it's manifest. If several Apps exist for a given filetype the user will be asked which one to use.
- There is a quite extensive list of file types that are reserved for the OS or built in Apps. Any file type that is reserved in that way can't be associated with third Party Apps. This contains Office documents (except PDF, TXT files and lots of media file types). The complete list can be seen here: http://msdn.microsoft.com/en-us/library/windowsphone/develop/jj207065(v=vs.105).aspx
- Apps can only read from the SD Card but they can't Change data there.
Now as for your Problem: someone could build an App that supports e.g. Log-Files and you could use your Lumia 820 with an SD Card to pretty much work the way you intend to with those files. It's not really trivial though, given that 10 MB big plain Text-Files regularly lead to Trouble even on PC text Editors (the developer has to be smart on how to handle These "huge" files, so just some midnight hack job won't do).
What are your further requirements? Search pretty obviously. But what are all the filetypes you would need? Would you need editing capability?
Just trying to understand the compelete picture of your requirements. Perhaps you can tell us what kinds of files you use and for what purposes.
Thanks for taking the time to reply.
@GoodDayToDie
Re 'seen as a USB drive' - That's me being careless with words, what I meant to say was the ability to local sync over a USB cable, & then access the copied files on the device. I didn't think that you could do this with WP7 [without frigs], & had high[er] hopes for WP8.
I might have a look at Bluetooth FT as a method for getting the [bulk] data over locally, as I won't be doing it via the cloud [email or Skydrive]. Thanks for the advice.
@StevieBallz
Thanks for the MSDN reference - Very interesting.
Ok, so the apps can potentially access the data on the SD card but not write to it - As an aside, I thought I read something the other day that said data on the SD card was limited to Pictures, Videos, Music etc, as a security measure. That's interesting too then, though anything I want to be 'secure' I'd keep in the internal storage anyway.
Re the comment re 'Trouble even on PC text Editors'. Yes, I tried way back on WM2003 to get a file displayer going, but immediately hit problems with [I think] a 32KB limit on the textbox display. I've just made do with WM6.5's Word displayer since, which offers basic functionality.I keep meaning to go back to the coding, but haven't managed it yet [I think Visual Basic was missing for a while with WP, if indeed it's there yet (I thought I'd read it was with VS2012?)].
Re my 'requirements'. Just to be able to search [large-ish] text files & have the o/p displayed in a manner that's readable [no word-wrapping]. I realise editing is a whole new ball game, so read-only would be good enough. Longer term, I'd like the ability to have many text files open at once - On the desktop I use "Programmer's File Editor", & something like that [if only as a viewer] I'd find invaluable on the smartphone/PDA. I also have many thousands of files on my desktop [PDF, DOC, RTF, HTM, TXT etc] & ideally I'd like access to those on the go as & when needed, via a hierarchical file system on the mobile device, with the structure exactly mirroring the PC's file system, so that I'd search for & find data in the same places regardless of which device I was using [Why thousands? Might be 100s+ actually, & these could be electricity bills, sales receipts, insurance documents - anything - the stuff of life really].
I'll continue with my testing of Office Mobile Word's displaying & searching of text files. I've found it patchy & not consistent so far, but am going to have to move from WM6.5 eventually [more's the pity], & don't really want the hassle of sending the device back again.
Many thanks for your advice so far.
Device returned, many thanks for your help. Maybe WP9 then?
5v17 said:
Device returned, many thanks for your help. Maybe WP9 then?
Click to expand...
Click to collapse
Judging by the ideas picked up for review on dev user voice, situation may drastically improve with the next SDK update.

Categories

Resources