Getting Custom Accents in WP7 via Registry Editing!! - Windows Phone 7 Development and Hacking

Small tutorial on how to edit custom accents in WP7 by registry editing!!
THIS IS FOR THOSE WHO COULDNT GET A CUSTOM ACCENT VIA HOMEBREW APPS!!
(ESPECIALLY LUMIA USERS...THEY GET ERRORS WHILE SAVING CUSTOM ACCENTS VIA HOMEBREW APPS!)
before editing....get advanced config tool from Devstore7 or wherever and go to themes and select add new...youll b given a colour palette....select the colour and it will show u Hexadecimal code at the top (starts with #F)...copy that and go to Calculator('calc' from run) and change the view to programmer...select Hex and enter the code without '#'....now with the code pasted select the Dec and it will give a 10 digit code (starts with 428, 427 or whatever)....this code is the main thing....NOTE it!!
Now go to registry editor (i use WP7RootTools by heathcliff74)
The path to theme and accents folder is (Local Machine\Control Panel\Themes)..Enterthe themes folder
Now u get 3 folders named 0 ,1 and AccentDisplayName
Below that u get two files named Current Accent and Current Theme
If current theme value is 1 it represents dark background. If it is 0 then white background
Now if u want a custom accent in dark background go to folder 1 or if u want it with a white background got to folder 0....and then enter the folder ACCENTS located in Folder (0 or 1)
You will be given numbers from 1-10 or so....u can check the name in AccentDisplayName for which digit represents which colour.
Then select the respective file in folder 1 or 0 and edit its value to the 10 DIGIT CODE u got from calculator. Save it...RESTART!!
Now go to themes...u get a custom accent...u can also change the name in AccentDisplayName....Enjoy...Feel Free to thank me!!

This method still requires interop-unlock and has been known for sometime and if you are interop-unlocked there is a much easier way to make it work using Advanced Configuration Tool 1.5

This method is quite old, I've been doing it for like a year now or so. But I must warn you. Changing anything wrong with the themes in registry can make your phone get broken in software and will need a hard reset, so double check when you're changing the codes and adding/removing values of the registry.

Laquox said:
This method still requires interop-unlock and has been known for sometime and if you are interop-unlocked there is a much easier way to make it work using Advanced Configuration Tool 1.5
Click to expand...
Click to collapse
read the second line....for lumia users..advanced config tool and other such homebrew apps wont(mostly) work...so this is for dem

Gg, figured that out a couple days ago after messing up my phone and having to reset it 2 or 3 times lol.. I reset it with this 7.8gb phone dump I made also. Takes like 3 hours or so per reset/restore-from-backup

Very helpful tutorial!! Thank you!

But this doesn't change the color for 3rd party apps and also not for their Live Tiles.
There is already a thread up, where is also explained how to change it that it also works in 3rd party apps.

I used this method and my third party apps changed just fine. I'm actually quite pleased with it! I got "Base Converter" from the marketplace to do the converting between hex and dec on the fly and now I can change my colors anywhere. I really wish someone would figure out how to get beyond the restrictions of the second gen devices, but until then, I guess this works.

Related

How to disable the today backgroundchanging?

Hey,
I want to disable the function to change the today background.
You find it --> Start -> Settings --> Today -> Use this picture...
I want to disable the text AND the Button "Find" - so that the customers cannot change the logo.
I don't find the right key in the registry.
I use Windows Mobile 6 with the latest HTC Flash.
Who can help me?
Thanks and best regards from Germany.
sErPeNz
No ideas?
because i've got two other problems.
1.) I want to delete the entries in the list of installed programs. So that the user cannot delete the program. Is it possible? Or can I protect it with password?
2.) We created a background logo, at the bottom it is white.
When the menu has got more than 5 entries you can not read the menu well.
Because white font over white background.
Is it possible to restrict the entries of last used applications to X entries ?
Even if there IS a way to do these things...
...it's quite evident, even from the site on which you're posting, that you will not be able to lock down such changes. Anyone who is so motivated will be able to get past anything you do, simply by flashing a new ROM, if not by other means, dontchathink?
-pvs
simple answer, you cant.
Actually, it would be semi-possible. Jasjamming had a bug in an early Black edition where he baked in his background rather than had it running in the initial setup. End result was you could change your background in the menus but it couldn't change what you saw as the backdrop files were marked as "ROM" so couldn't be changed.
The only way to install a program without it showing in the Remove Programs list is to bake it into your custom ROM installed on the phone.
However, when you've gone to the time & effort of making this ROM that cannot be customised, what's going to stop someone using a ROM from this site instead of yours, or using the tools here to modify your ROM and remove out the bits you've tried to lock down?
My advice? Don't try to lock anything down on your phone! The beauty of Windows Mobile it's ability to be improved & personalised. Let it run free!
Hi,
the problem with the list of installed programs isn't a problem anymore
I made a ROM with the ROM Kitchen und put the cab File into the ROM.
My first solution was to delete the uninstaller from the CAB with WinCE CAB Manager. But i want also to change the colors of the menu and things like that, so i made an own ROM.
So, you are right, the users could use programs from here, but, we want to "brand" the phone with our company logo, because the users should be awake that the phone is a COMPANY Phone and not a private toy
So now my last two problem are, that our company logo at the bottom is on a white ground and the menu has got a white font color. So i want to change the number of menu items or i want to change the color.
Does anybody knows the concerning files for the colors in the ROM?
The second is to disable the possibility to change the wallpaper.
It would be great if someone could tell me which files i have to change.
Thanks a lot and best wishes from Germany
sErPeNz
The problem with the start menu i solved with Tweak UI.
But the problem with the possibility to change the background is still existing.
Where i have to look? In the registry? In the files?
Its only a windows, it must be possible to change this option...
Finally found the post I was remembering where someone had accidentally set a theme permanently.
http://forum.xda-developers.com/showpost.php?p=1252607&postcount=276
The theme was usually set during the initial customisation following the first boot up, but in this case JasJamming had tried to save this step by baking it into the ROM - with the result that you couldn't change theme. Sorry I can't give you any more info on how it happened (don't know!) but JJ or someone else on here with a bigger brain than me should be able to help.
Hey Stu,
thanks for your answer.
But i have allready only one theme. The problem is that the users can change the 'today-background' easily. Our company logo wouldnt be on the background.
I think this is a forum with a lot of pros! But the right one has to find my thread, please
That's exactly what I'm talking about. Use your theme on a phone, copy out the stwater and tdywater files,then cook these into your ROM and flash onto the phone. As the stwater and tdywater files are set as "ROM" the today-background changer won't be allowed to over-write them so the user will not actually be able to change the background - hence your company logo will always be there.
Good luck, and don't forget to change the start-up screens too - maybe a nice portrait shot of the Managing Director?

Contents.xml

SystemFS\User\MultiStage\Contents.xml
You could extract this file from *.FFS or grab from handset.
Maybe some tweaking possible...
S5PC110_EVT1_UM10.pdf
2D Graphic Engine
− BitBLT
− Supports maximum 8000x8000 image size
Click to expand...
Click to collapse
<FileFormat>
<JPG>
<MaxFileSize value="4096000"/>
<MaxWidth value="5000"/>
<MaxHeight value="5000"/>
<ThumbNail>
<MaxWidth value="1280"/>
<MaxHeight value="1024"/>
</ThumbNail>
</JPG>
There are more infos in this file...
<MaxInstallCount>
<NativeApp value="100"/>
<NativeWidget value="50"/>
<JavaApp value="-1"/>
</MaxInstallCount>
</AStore>
</Contents>
</SDP>
Check out, maybe interesting or helpfull.
Best Regards
I already tryed to increase the max. resolution to 8000x8000px for jpg a week ago but it didnt worked
This file exists 2 times and I flashed them correctly to the wave (tested with sTunes after flash), the limits seems to be set somewhere else...
The image sizelimit is also higher than 4096000 byte (or what it is) - about 10 mb.
I would have liked to tweak this setting to 200 or more and see but unfortunately there are not that many good apps to install.
<MaxInstallCount>
<NativeApp value="300"/>
<NativeWidget value="50"/>
<JavaApp value="-1"/>
</MaxInstallCount>
Btw, what does this Java value mean ? Could it be that it controls whether to show icon in Menu or not ?
SystemFS\User\MultiStage
User\MultiStage
@ st0rmi
Thanks.
Yes, via sTune this file is twice.
It seems writeprotected files are most in folder SystemFS... as Backup.
If you check via TriX Firmware files. Then Contents.xml is in *.FFS... maybe edit before flashing. Then changes in both files on handset.
Not tested yet...
@ rex4u
At the moment I have nothing changed in this file, so no idea what happens.
Maybe soon few tests...
Best Regards
@adfree: Yeah thats what I have done
I just used sTunes to copy the contents.xml back to my pc and view if the edited xlm are really on my phone because it didnt worked...
@adfree
No bro' I was offering my own suggestions to this configuration file.
It might allow us to install more than 100 apps in phone and show in Menu.
Second it might show Java apps icons in Menu.
My 2 cents
xml parser
please help me
a want to parser punker xml data base.
rex4u said:
I would have liked to tweak this setting to 200 or more and see but unfortunately there are not that many good apps to install.
<MaxInstallCount>
<NativeApp value="300"/>
<NativeWidget value="50"/>
<JavaApp value="-1"/>
</MaxInstallCount>
Btw, what does this Java value mean ? Could it be that it controls whether to show icon in Menu or not ?
Click to expand...
Click to collapse
it's into the 'app counter' field, '-1' may be means 'unlimited' number of java apps installable, but I haven't read yet the whole xml... anyway if it is editable it's an interesting thing..
I saw that file a while ago while looking for something inside my phone (very special thing that made me to copy the whole phone)
there is a lot of interesting things but i never tried tweaking it
Maybe if someone have enough knowledge to add few new extensions and test them
Also removing some stupid limits would be awsome
Sorry i've no time to test that with you guys but would appreciate results
Best Regards
You dont need modif ffs or other just use pfs file to modif what you want and in real time direct phone flash pfs file and not have write protect problem
Just says Thank
Example file : dont give attention of boot img cause i dont take time to do it in 800x480 but its 400x240 then its make bug but with pfs file you can upload anything you want to change !!!
Good hack !!!
Maybe with this you can create dual boot or i dont know what a pro smoker can do, you can also try to put her rc2 or rc1 directory i dont try it !!!
Download example, in this one you can see SystemFS and Registry directory, off course you can put her all directory you want to flash pfs, using trix to modified or wave remaker more faster :
https://rapidshare.com/files/809973956/Circle.pfs
An idea its like you can make your one firmware with personal Widget installed and other idea welcome....Just take file registry and Widget folder on phone and put it on PFS
i can not open new thread
i went to parser an xml file with structure like this.
<?xml version="1.0"?>
<node1>
<node2>
<node3>
<node4>
<node5>
text
</node5>
</node4>
</node3>
</node2>
</node1>
Click to expand...
Click to collapse

[GUIDE]Change x64 Windows 8 Metro Background Image

EDIT: There is an easy to install purple or black Metro theme at Deviant Art Here!!!
Hopefully someone can simplify the other process for the less capable of us!
Here is the source:
Tutorial: How to get started with customizing the Metro Start Screen | Panda X
1. Download a hex editor. I chose HxD (http://mh-nexus.de/en/hxd/)
2. Navigate to C:\Windows\System32\
3. In the Ribbon click File > Open Command Prompt > Open Command Promt as Administrator
4. Type the following in CMD;
takeown /f uxtheme.dll
icacls uxtheme.dll /grant Administrators:F
5. Copy uxtheme.dll to the deskop.
6. Open your hex editor and open uxtheme.dll
7. Go to the hex location as shown in 'Metro Customization - Hex Table.txt' by hitting Ctrl+G (Might be different in your program)
8. Make sure your hex editor is set to OVERWRITE and NOT insert.
9. Replace the colors as shown in 'Metro Customization - Hex Table.txt' with your own. The format is Red, Green, Blue, Alpha (RGBA). For a solid/opaque image leave the last byte as FF (example: FF0000FF would be solid red)
10. Save.
11. In system32 rename uxtheme.dll to uxtheme.dll.old
12. Place copy the uxtheme.dll from your desktop to system32.
13. Reboot.
Download Full Tutorial
I really want to change the color. But.. Wtf is this just to change it?
MS should added this option since ever.
I think your find this is the minimum OS to run Metro applications and dose not have the full features of what the RTM version will have...
So yes you will be able to change the colour and background but not in this free Developer Preview <<< note the name
o0MattE0o said:
I think your find this is the minimum OS to run Metro applications and dose not have the full features of what the RTM version will have...
So yes you will be able to change the colour and background but not in this free Developer Preview <<< note the name
Click to expand...
Click to collapse
Yeah, I know. But it wouldnt hurt.
Is this working on x86 ?
inexorable said:
Is this working on x86 ?
Click to expand...
Click to collapse
The new themes I posted at the top do work for x86. Don't think this tutorial for custom colors will
EDIT: The Deviant Art link at the top has an updated tutorial for x86
I cant open Ribbons with cmd prompt! Do you know why?

[Q] How to find methods and layouts to hook into without source code

I'd like to develop my first xposed module. So far I have worked through the official tutorial and compiled and read the examples. (I also made android apps before).
I want to make a module for the official Twitter app that removes certain content from the home timeline, such as "Who to follow", "While you were away" and sponsored tweets.
As a first step, I tried to change the color of these elements to red, which I didn't manage to do.
I unzipped and decompiled the app and looked for class and method names that seem helpful (most of them were obfuscated). I tried to hook into some of the methods, mostly nothing happend. I got some MedhotNotFoundExceptions and once the app crashed. I also tried to look for layouts to hook into with no success.
Do you have any hints on how to find the right point for my xposed hook?
Thank you
I also decompiled apps to hook them and it worked. You have to do so, because what's executed is the obfuscated code, and these are the names (classes, methods, variables) you need, even if you own the unobfuscated source code.
If you get MethodNotFoundExceptions, the problem must be somewhere else.
Decompile the apk with apktool. Then look throught the smali code (note that you have to know how the smali structure works, what does a method return, how are different parameters represented). For layouts I personally use DDMS' Hierarchy View. If you still have the method not found error, paste here how you are trying to hook and the original smali code.
Sent from my iPhone 6 Plus using Tapatalk
Check out this awesome tool. Converts smali back to java
https://github.com/google/enjarify
That's what i use

How to manually install custom font

Hello all...
I have a rooted M9 with ViperOne installed, recently upgraded from v4.3.0 to v6.2.0. I'm seeing a few minor but annoying bugs. One of which is the inability to download fonts from HTC. Whenever I go into the edit theme section in the personalization settings, I get a network error message. There are only four fonts available. One under HTC fonts and three under "other fonts".
With ViperOne 4.3.0 installed, I was able to set a custom font that worked perfectly. It's been at least six years so I can't remember how I came by this method, but on 4.3.0, I was able to paste a "com.htc.theme" folder in /data/media/0/Android/data/com.htc.launcher/files/LocalTheme/. I only know this because I have a copy of this folder and a text file with instructions on what to do with it saved on my SD card. I tried doing that on this version of ViperOne and even after a reboot, nothing changes and the font is not a visible option in theme editing.
I've been searching for a solution for the last few days and nothing that I have found works. I've read in more than one post that there is a way to flash fonts from recovery but any links to files or instructions have been broken or they don't match my file structure.
I'd be grateful for any tips or suggestions. Thank you.
If you have root access, You can easy get into /root/system/fonts and can change any font with ROBOTO ones. Remember to change that font name to Roboto-Regular and all other Roboto font family. This should work.
Hope it helps!
ai.Sanaul said:
If you have root access, You can easy get into /root/system/fonts and can change any font with ROBOTO ones. Remember to change that font name to Roboto-Regular and all other Roboto font family. This should work.
Hope it helps!
Click to expand...
Click to collapse
Greetings ai.Sanaul...
Yeah, that works but it's very cumbersome. There's at least eight variants of Roboto that I would need find equivalent .ttf versions of to duplicate. Finding a full font family like that without paying $100+ for it is very difficult. On ViperOne 4.3.0, the theme folder that I used only had one .ttf file and somehow, the system adapted it to the required style (ie: bold, italic, etc.) seamlessly across the board including third-party apps.
Thank you very much for your suggestion. I may end up doing that in the end but I was hoping for a method that's a little more plug-and-play.
{Mod edit: Quoted post has been deleted. Oswald Boelcke}
Unfortunately, this method does nothing. The fonts that show up in personalization must be must be kept in another directory because adding font files to system/fonts doesn't add them to the fonts menu.
There are 147 .ttf files in system/fonts, yet only three options are available in theme editing. See attached.
Ok... I figured it out... kinda.
I used root explorer to find the XinGothic font. It showed up in system/fonts but it was also found as an apk in system/app/Font_XinGothic. So, I created a new folder in the same format and placed the apk of my font there. I then rebooted and checked font settings and where XinGothic was before now says "HTC Theme Font". I selected that and my custom font was applied. So far, it seems to be evenly implemented across the entire device.
RuLEoF2 said:
Greetings ai.Sanaul...
Yeah, that works but it's very cumbersome. There's at least eight variants of Roboto that I would need find equivalent .ttf versions of to duplicate. Finding a full font family like that without paying $100+ for it is very difficult. On ViperOne 4.3.0, the theme folder that I used only had one .ttf file and somehow, the system adapted it to the required style (ie: bold, italic, etc.) seamlessly across the board including third-party apps.
Thank you very much for your suggestion. I may end up doing that in the end but I was hoping for a method that's a little more plug-and-play.
Click to expand...
Click to collapse
Your Welcome
and for the Font Family problem.
Download this software to your PC (if this trial version didn't works then just tell me) and watch this tutorial video on How to create Font Family.
ai.Sanaul said:
Your Welcome
and for the Font Family problem.
Download this software to your PC (if this trial version didn't works then just tell me) and watch this tutorial video on How to create Font Family.
Click to expand...
Click to collapse
That's a great program. I tried it many years ago and had a lot of fun with it, but not enough to justify the hefty price tag.
Small update...
After unpacking the apk from my theme, I was able to edit the XML so that instead of reading "HTC Theme Font" the display name matches the font name. Easy enough from a PC that I might just create my own collection.
RuLEoF2 said:
That's a great program. I tried it many years ago and had a lot of fun with it, but not enough to justify the hefty price tag.
Small update...
After unpacking the apk from my theme, I was able to edit the XML so that instead of reading "HTC Theme Font" the display name matches the font name. Easy enough from a PC that I might just create my own collection.
Click to expand...
Click to collapse
that's good, Good Luck for that

Categories

Resources