Reg key locations - Mogul, XV6800 ROM Development

Could someone point me to where the reg keys are stored for:
1) hardware buttons program assignments (example if I push message button it opens shortcut for \Windows\Start Menu\Programs\Messaging.lnk, etc).
2) Desktop background (i found an entry in HKCU\ControlPanel\Desktop\Wallpaper but it was for a file that isn't there ... \Windows\Default.2bp). I formatted the file I use by going into pictures and settings and setting transparency to zero. I could photoshop to the right size and copy or use xml to replace but I need some guidance on this one.
For anyone that is interested in helping me proof my xml I attached it here. I am stuck on setting HTC Home contacts.

Could someone point me to where the reg keys are stored for:
1) hardware buttons program assignments (example if I push message button it opens shortcut for \Windows\Start Menu\Programs\Messaging.lnk, etc).
2) Desktop background (i found an entry in HKCU\ControlPanel\Desktop\Wallpaper but it was for a file that isn't there ... \Windows\Default.2bp). I formatted the file I use by going into pictures and settings and setting transparency to zero. I could photoshop to the right size and copy or use xml to replace but I need some guidance on this one.
For anyone that is interested in helping me proof my xml I attached it here. I am stuck on setting HTC Home contacts.
Click to expand...
Click to collapse
1. Defined here [HKEY_LOCAL_MACHINE\Software\Microsoft\Shell\Keys.
2. Don't think this can be done via registry. I still have to manually change theme after flash in Today settings.
3. The following is from your _setup.xml file.
Code:
<characteristic type="HKLM\Software\HTC\Contacts\0">
<parm name="LastUpdate" datatype="string" value="D8 07 07 00 01 00 15 00 0D 00 1B 00 03 00 00 00"/>
<parm name="OID" datatype="string" value="2147483768"/>
<parm name="PHONE" datatype="string" value="(805)588-84XX"/>
<parm name="PHONETYPE" datatype="string" value="9830431"/>
It's not working because you have some of the datatypes wrong. The LastUpdate parm datatype is binary not string. OID is integer not string. PHONE is string, so you have that one right. PHONETYPE is integer not string.

I think that button location will help, but I just realized that pocket plus adds long hold application launching to the existing buttons so I will look in that folder for those, not sure if that is going to be easy.
Anyone have a way to auto load a jpg with zero transparency as background.
Thanks for the help on the contacts, I got that one to work ok.

Related

Creating Own .cab files for settings etc...

Ive been messing about with my TyTN lately and just find it a right royal pain to put my settings back in etc...
...what im asking is is there any way to make a .cab installer that will let me reinstate all my GPRS/MMS/EMAIL settings etc... and copy a few files to the windows folders etc...(ringtones and sounds)???
Just in the event of needing to do a hard reset away from the PC a .cab installer on my SD card would be a godsend!
anyone?
yes, WINCAB CE is a 15 use free application that lets you create and view .cab files. If you search the forums there a numerus threads that contain registry keys for your setings etc
If you download the .cab files for your network provider again from the threads on this forum you can then import them into your own custom cab file using this software.
attached is a file that i use to set name, brightness levels, pIE homepage, and a couple of other tweaks, just edit this one and/or add your own. this should work on all WM2005 devices as it uses the same program language. hope this helps....
I spent the first 3 days after having my tytn making a cab of all my programs and settings cos I hard reset quite a lot, I made a big cab file with everything i like to install on internal storage and with all the settings of the programs I keep in the storage card. I think it is worth to spend the time initially.
What i found most useful was RegDiff to generate .reg files out of two exported registry dumps, registry workshop to browse / export the registry on the PocketPC from the computer and compare current regitry settings on PocketPC with a previously dumped registry file and WinCE Cab Manager to combine the cabs of all the programs I install, set the registry settings, and put shorcuts to all applications into the right places.
Forgive me for digging up an old thread, but this is exactly what I need, a tool that can make a backup of my MMS, GPRS and Email settings. I just got my X01HT yesterday and I've been playing around with different WM6 ROMs and it seriously is a pain to manually enter all my MMS, GPRS, and email settings for every ROM install I do. I also plan on doing the keyboard layout registry fix for the slide out keyboard, and I would but a lot easier to have that registry fix backed up.
pof posted how to do it with three seperate programs, I'm just wondering if there is a program that can do it all in one? I know it's been over six months since this thread was started and I'm just hoping that a simpler way has been made to do this. Any input and help on this matter is appreciated, thanks
Does anybody have the Wincab ce program that they can upload, it seems that the download site is having problems, I am unable to download from them and I can't seem to find it anywhere else, googled and it brings up very little.
Thanks
Lurch3559 said:
Does anybody have the Wincab ce program that they can upload, it seems that the download site is having problems, I am unable to download from them and I can't seem to find it anywhere else, googled and it brings up very little.
Thanks
Click to expand...
Click to collapse
Here is this great app at Megaupload
http://www.megaupload.com/?d=FHNS3KUA
Thank you for the site.
Thanks for posting it.
Can anybody direct me to a thread or WIKI to get more on this. I tried searching but returned nothing helpful. I just want to create a simple cab file with my operator settings.
Thanks
Lurch3559 said:
Does anybody have the Wincab ce program that they can upload, it seems that the download site is having problems, I am unable to download from them and I can't seem to find it anywhere else, googled and it brings up very little.
Thanks
Click to expand...
Click to collapse
Another alternative here:
http://teksoftco.com/index.php?section=airwizard
Sniper258 said:
Can anybody direct me to a thread or WIKI to get more on this. I tried searching but returned nothing helpful. I just want to create a simple cab file with my operator settings.
Thanks
Click to expand...
Click to collapse
I have posted this under http://forum.xda-developers.com/showthread.php?t=299023&page=14
I found this one usefull too: http://forum.xda-developers.com/showthread.php?t=295889
good luck!
what i did is google for wap-provisioningdoc gprs and got this
http://msdn2.microsoft.com/en-us/library/aa456052.aspx and around that area.
Further searches in the forum got me to look&browse in the other files already made; helped a lot in doing mine! credits to wpbear who lend me a hand!
It should get you to a xml file that can be tranformed into a cab.
A bit of warning: is a lot of trial&error and frustrations - took me about two weeks to make it from scratch. I am not specialist so a bit of luck is needed also. It is best to try on a fresh OS install or after a HR.
Hope it helps.
cheers,
dan
__________________
Thanks Dan for the info.
I'll look through it and repotr back.
Has anyone tried the airinstaller?
I saw this a while ago and dl the trial. You can only make one file in the trial and have not done it.
I will try it and post but just curious if anyone already has.
Hey Mr. Pof:
I used Registry Workshop 2.61 to export the following keys (for T-mobile US/Rogers Canada settings):
Windows Registry Editor Version 5.00
[HKEY_CURRENT_USER\Comm\RasBook\ROGERS GPRS] (and subkeys)
[HKEY_CURRENT_USER\Comm\RasBook\ROGERS MMS] (and subkeys)
[HKEY_CURRENT_USER\Comm\RasBook\T-mobile GPRS] (and subkeys)
[HKEY_LOCAL_MACHINE\Comm\ConnMgr\Destinations] (and subkeys)
[HKEY_LOCAL_MACHINE\Comm\ConnMgr\Planner] (and subkeys)
[HKEY_LOCAL_MACHINE\Comm\ConnMgr\Providers\{7C4B7A38-5FF7-4bc1-80F6-5DA7870BB1AA}\Connections] (and subkeys, since below this had the 3 names of GPRS/MMS/GPRS as listed above).
[HKEY_LOCAL_MACHINE\Software\Arcsoft\ArcSoft MMS UA\Config\mm1\MMSCSetting] (and subkeys)
Are there other registry keys that need to be exported via Registry Workshop regarding the settings for my 2 providers?
Assuming I have all the settings I need from the registry so that when I import them into a new ROM, the configuation is correct. How do I convert the .REG file from Registry Workshop 2.61 into some form that is or leads to a CAB?
Thanks.
pof said:
I spent the first 3 days after having my tytn making a cab of all my programs and settings cos I hard reset quite a lot, I made a big cab file with everything i like to install on internal storage and with all the settings of the programs I keep in the storage card. I think it is worth to spend the time initially.
What i found most useful was RegDiff to generate .reg files out of two exported registry dumps, registry workshop to browse / export the registry on the PocketPC from the computer and compare current regitry settings on PocketPC with a previously dumped registry file and WinCE Cab Manager to combine the cabs of all the programs I install, set the registry settings, and put shorcuts to all applications into the right places.
Click to expand...
Click to collapse
i found this tool was awesome .................................
crazyut said:
How do I convert the .REG file from Registry Workshop 2.61 into some form that is or leads to a CAB?
Click to expand...
Click to collapse
use wince cab manager.
pof said:
use wince cab manager.
Click to expand...
Click to collapse
this program does not run using vista period i tried
every setting i could such as run as admin and also run as XP nothing seemed to work. does anyone know a cab maker that will run with Vista?
Hi POF
When I click on File, Import, Import from REG, it says 'The Data Is Invalid' then 'The .REG file could not be imported'
I tried it with the Windows Registry Editor Version 5.00 line at the top of the .REG file and also without. Same results. I believe the files are saved in UTF-8 format.
The files contain numerous settings as one file instead of many separate files.
Any ideas, suggestions?
pof said:
use wince cab manager.
Click to expand...
Click to collapse
Okay, I was able to add other .CAB files and my registry edits. Do I need to fill out anything regarding provisioning in order to run the .CAB file on a new ROM?
I don't quite understand what provisioning is for (Pre XML/Post XML).
Thanks again.
pof said:
use wince cab manager.
Click to expand...
Click to collapse
This is how to create a CAB for your WIFI settings
Okay, so after fiddling about all day with various sample xml codes from MSDN, I was finally able to create a CAB to configure my WIFI connection to my home router (including WPA passkey), so that I can just run the CAB every time I flash / hard-reset.
STEP 1. Open Notepad and copy the code below to it
Code:
<wap-provisioningdoc>
<characteristic type="CM_WiFiEntries">
<characteristic type="[B]SSID: REPLACE_WITH_YOUR_SSID[/B]">
<parm name="DestID" value="[B]Destination GUID: SEE NOTE 1 BELOW[/B]"/>
</characteristic>
</characteristic>
<characteristic type="Wi-Fi">
<characteristic type="[B]CONNECTION TYPE: SEE NOTE 2 BELOW[/B]">
<characteristic type="[B]SSID: REPLACE_WITH_YOUR_SSID[/B]">
<parm name="DestId" value="[B]GUID: SEE NOTE 1 BELOW[/B]"/>
<parm name="Encryption" value="[B]SEE NOTE 3 BELOW[/B]"/>
<parm name="Authentication" value="[B]SEE NOTE 4 BELOW[/B]"/>
<parm name="NetworkKey" value="[B]REPLACE WITH YOUR NETWORK KEY, SEE NOTE 5[/B]"/>
</characteristic>
</characteristic>
</characteristic>
</wap-provisioningdoc>
STEP 2. Replace the parameters in the sample code depending on the connection you want to configure:
SSID: Self-explanatory
Note 1
Destination GUID
For a connection to "The Internet", use this GUID
{436EF144-B4FB-4863-A041-8F905A62C572}
For a connection to "Work", use this GUID
{A1182988-0D73-439e-87AD-2A5B369F808B}
Note 2
Connection Type
"access-point" for infrastructure connection
"ad-hoc" for computer-to-computer
Note 3
Encryption
0 = WEP
1 = No encryption
4 = TKIP
Note 4
Authentication
0 = Open authentication mode
1 = Shared authentication mode
3 = Specifies Wi-Fi Protected Access (WPA) authentication
4 = Specifies WPA-PSK authentication
5 = Specifies WPA-NONE
Note 5
Network Key
Put your WPA or WEP network key here, just as you would enter in the settings screen. However, make sure that the key does not contain either the ",< or > characters, since this will screw up the XML code.
STEP 3. Save the Notepad file as .provxml.xml
Choose "ALL FILES" in the "SAVE AS TYPE" box and "UNICODE" in the "ENCODING" dialog box
STEP 4. Open a command-line window, go to the folder where you saved the xml file and type:
makecab /D COMPRESS=OFF .provxml.xml wifi.cab
STEP 5. Copy the CAB file to your device and run it. You should now see your Wifi connection under the settings Wi-Fi control Panel
You will have to manually check the "Hidden Network" box if your router is hiding the SSID (I have not figured out the parameter to do this automatically yet)
Voilá!
Note: If you use WEP, you need some additional lines of code to specify things like the KeyIndex. See these pages for more info:
http://msdn2.microsoft.com/en-us/library/aa455986.aspx
http://msdn2.microsoft.com/en-us/library/aa456208.aspx
By way of example, below is a sample code for an access-point connection connection to the internet, using WPA-PSK authentication.
Code:
<wap-provisioningdoc>
<characteristic type="CM_WiFiEntries">
<characteristic type="My_SSID">
<parm name="DestID" value="{436EF144-B4FB-4863-A041-8F905A62C572}"/>
</characteristic>
</characteristic>
<characteristic type="Wi-Fi">
<characteristic type="access-point">
<characteristic type="My_SSID">
<parm name="DestId" value="{436EF144-B4FB-4863-A041-8F905A62C572}"/>
<parm name="Encryption" value="4"/>
<parm name="Authentication" value="4"/>
<parm name="NetworkKey" value="My_Network_Key"/>
</characteristic>
</characteristic>
</characteristic>
</wap-provisioningdoc>
I hope this works for you. Let me know if you have any problems / questions.

Diamond FileAttribute.exe

Change some ROM file attribute on Hard-reset
Here a file that I've found in the Diamond ROM.
AutoAttribute remove read-only file attribute after Hard reset to let users delete somes unecessary files cooked in ROM like image template or anything you want.
Caution : don't change attribute to all file, user can make catastrofic experiences.
For use it, just take the package in your OEM folder and add in your Config.txt :
Code:
EXEC:\Windows\AutoAttribute.exe \Windows\MASD_RemoveReadOnly.txt
Now just take a look in MASD_RemoveReadOnly.txt, you'll understand how it work :
example
Code:
\My Documents\UAContents\Templates\MMSTemplates????.inf
[COLOR=red]Here each "?" is a char[/COLOR]
\My Documents\UAContents\Templates\*.*
[COLOR=red]* is for varchar here it's any files of any extension how are in "My Documents\UAContents\Templates\"[/COLOR]
\Program Files\OrangePhoto\*
[COLOR=red]Here all files and folders how are in "Program Files\OrangePhoto"[/COLOR]
good cooking
xvx45 said:
Change some ROM file attribute on Hard-reset
Here a file that I've found in the Diamond ROM.
AutoAttribute remove read-only file attribute after Hard reset to let users delete somes unecessary files cooked in ROM like image template or anything you want.
Caution : don't change attribute to all file, user can make catastrofic experiences.
For use it, just take the package in your OEM folder and add in your Config.txt :
Code:
EXEC:\Windows\AutoAttribute.exe \Windows\MASD_RemoveReadOnly.txt
Now just take a look in MASD_RemoveReadOnly.txt, you'll understand how it work :
example
Code:
\My Documents\UAContents\Templates\MMSTemplates????.inf
[COLOR=red]Here each "?" is a char[/COLOR]
\My Documents\UAContents\Templates\*.*
[COLOR=red]* is for varchar here it's any files of any extension how are in "My Documents\UAContents\Templates\"[/COLOR]
\Program Files\OrangePhoto\*
[COLOR=red]Here all files and folders how are in "Program Files\OrangePhoto"[/COLOR]
good cooking
Click to expand...
Click to collapse
Good find! I'm currently working on ripping some new apps as well!
l3v5y said:
Good find! I'm currently working on ripping some new apps as well!
Click to expand...
Click to collapse
If you found working please share with coockers
Nope tried it.
If i run it in Autorun as the first EXEC: then Autorun doesn't parse the rest of the Autorun commands.
Now set it to last command in Autorun but it didn't change the atributes i could not delete the files using a mortscript then set in SDAutorun and Autorun and also Manually.
I'll recheck.
Also this file looks familiar to another similar named file i found in an ELF extrom once.
Nope running this in Autorun kills all Commands that come after it also in UC SDAutorun.
Anyone got this working?
The File was
ChgScutAttribute
http://forum.xda-developers.com/attachment.php?attachmentid=52827&d=1191352085
Change Shortcut Attributes
Supposedly should change Shortcut Atributes (duh)
But never found how and which Shortcuts?!
I just looked at it in Reshacker and it appears to have some dialog that indicate this.
Or does it really only change the startmenu shortcuts?
But this is out of my Cupcake reach Maybe someone else can find out how it works..
Also in the Diamond OEM eacht file mentioned in the MASD_RemoveReadOnly Is also accompanied by some Provisioning file operations.
<wap-provisioningdoc>
<characteristic type="Registry">
<characteristic type="HKLM\SOFTWARE\HTC\AutoShortcut">
<parm name="|%csidl_mypictures%\album sample_*.jpg" value="RemoveReadOnly" datatype="string" translation="install"/>
<parm name="|%csidl_mypictures%\album sample_04.3gp" value="RemoveReadOnly" datatype="string" translation="install"/>
</characteristic>
</characteristic>
</wap-provisioningdoc>
Frick it i simply use a mortscript to change the atributes and then deletes itself at startup.
Same effect with Clean up.

How to Edit Notification Text Color : Reference

Lost this somewhere took awhile to find.
Now open up the framework-res.apk. (In windows 7-zip will open this without having to change the extension to .zip) (Do not extract)
Now go into the res/layout folder and extract the following three files to the folder you made on the desktop
status_bar_expanded.xml
status_bar.xml
status_bar_latest_event_content.xml
Here is what these files control
status_bar_expanded.xml
Controls the text color for:
1) Clear Button
status_bar.xml
Controls the text color for:
1) USB Connected and Preparing SDcard
2) USB Debugging and Status Bar Notifications
status_bar_latest_event_content.xml
Controls the text color for:
1) Title text in pull down bar for Ongoing and Notifications
2) Description text in the pull down bar under Ongoing and Notifications
3) Text notifications time stamp in the pull down bar under notifications
Open status_bar_expaned.xml with your Hex Editor
Do a search for 08 00 00 1C
The next four 2 digit segments control color and alpha (Transparency) in this order BGRA (Blue, Green, Red, Alpha) (Sorry I had this reversed earlier)
In Hex FF would be the darkest and 00 would be the lightest, so if you set the next four 2 digit segments like this -> FF 00 00 FF then your USB Connected and Preparing SDcard text would be red. I suggest not messing with the alpha, just leave it FF
you will find two areas in this file where 08 00 00 1C appear and in the section above I show the order in which you find 08 00 00 1C and what they control. REMEMBER TO EDIT THE FOUR 2 DIGIT SEGMENTS FOLLOWING 08 00 00 1C
Save the file and edit the other two files (status_bar_expanded.xml has one instance of 08 00 00 1C, and status_bar_latest_event_content.xml has three instances of 08 00 00 1C)
All instances of 08 00 00 1C are in the order that I have outlined above
When you are done open up the framework-res.apk and go into the layout folder
Drag your newly edited files into the res/layout folder, wait for it to update then exit
I use FF FF FF FF for white text on black background.
http://forum.xda-developers.com/showthread.php?t=674157
thanks to the hoffster...
Date
1. Date and notification ticker
Files that have to be edited:
/system/framework/framework-res.apk
DECOMPILED_DIR/res/layout/status_bar.xml
What you have to do:
Extract the framework-res.apk from your phone/rom zip file
Decompile your framework-res.apk using apkmanager
Edit the file DECOMPILED_DIR/res/layout/status_bar.xml
Search for <com.android.server.status.TickerView
As child nodes you will see TWO <TextView> tags. If not present, you must add android:textColor="#ffffffff" to the attributes. It will set your color. the four bytes mean: transparency, Red, Green, Blue (where transparency means: FF no transparency and 00 fully transparent). You have to set the color for both <TextView>s as Android will alternate between them when the notification ticker should show more than one line.
The color for the date will be in the <com.android.server.status.DateView>
Save the file
IN APKManager choose the option to compile your framework
Answer yes when you get asked if it is a system apk and if you want to copy files from the original framework. After the original framework has been extracted, change to your "keep"-Directory and delete the files resources.arsc and res/layout/status_bar.xml.
Let apkmanager continue its work.
now you have a new apk file in your place-here-for-modding directory, which you can push on your phone (DO IT IN RECOVERY): adb push unsignedframework.apk-filename /system/framework/framework-res.apk
Krad said:
Lost this somewhere took awhile to find.
Now open up the framework-res.apk. (In windows 7-zip will open this without having to change the extension to .zip) (Do not extract)
Now go into the res/layout folder and extract the following three files to the folder you made on the desktop
status_bar_expanded.xml
status_bar.xml
status_bar_latest_event_content.xml
Here is what these files control
status_bar_expanded.xml
Controls the text color for:
1) Clear Button
status_bar.xml
Controls the text color for:
1) USB Connected and Preparing SDcard
2) USB Debugging and Status Bar Notifications
status_bar_latest_event_content.xml
Controls the text color for:
1) Title text in pull down bar for Ongoing and Notifications
2) Description text in the pull down bar under Ongoing and Notifications
3) Text notifications time stamp in the pull down bar under notifications
Open status_bar_expaned.xml with your Hex Editor
Do a search for 08 00 00 1C
The next four 2 digit segments control color and alpha (Transparency) in this order BGRA (Blue, Green, Red, Alpha) (Sorry I had this reversed earlier)
In Hex FF would be the darkest and 00 would be the lightest, so if you set the next four 2 digit segments like this -> FF 00 00 FF then your USB Connected and Preparing SDcard text would be red. I suggest not messing with the alpha, just leave it FF
you will find two areas in this file where 08 00 00 1C appear and in the section above I show the order in which you find 08 00 00 1C and what they control. REMEMBER TO EDIT THE FOUR 2 DIGIT SEGMENTS FOLLOWING 08 00 00 1C
Save the file and edit the other two files (status_bar_expanded.xml has one instance of 08 00 00 1C, and status_bar_latest_event_content.xml has three instances of 08 00 00 1C)
All instances of 08 00 00 1C are in the order that I have outlined above
When you are done open up the framework-res.apk and go into the layout folder
Drag your newly edited files into the res/layout folder, wait for it to update then exit
I use FF FF FF FF for white text on black background.
http://forum.xda-developers.com/showthread.php?t=674157
Click to expand...
Click to collapse
You are aware these files are compiled and you cannot simply extract them and begin to work on them. They need to be decompiled and compiled to work.
I will keep working with this to see where it gets me.
alperin1 said:
You are aware these files are compiled and you cannot simply extract them and begin to work on them. They need to be decompiled and compiled to work.
I will keep working with this to see where it gets me.
Click to expand...
Click to collapse
these are more of reference for me later one when I have to cook a new framework-res.apk and services.odex
with the above directions you can hexedit to change colors...
I now know it is easier using apk manager.
Krad said:
thanks to the hoffster...
Date
1. Date and notification ticker
Files that have to be edited:
/system/framework/framework-res.apk
DECOMPILED_DIR/res/layout/status_bar.xml
Click to expand...
Click to collapse
If you don't have /res/layout/status_bar.xml
It is located in system-ui.apk instead
rachelm920 said:
If you don't have /res/layout/status_bar.xml
It is located in system-ui.apk instead
Click to expand...
Click to collapse
system-ui only exists on GB based roms, the streak has no GB stable roms.
Streakdroid 2.0 isnt exactly stable
Krad said:
thanks to the hoffster...
Date
1. Date and notification ticker
Files that have to be edited:
/system/framework/framework-res.apk
DECOMPILED_DIR/res/layout/status_bar.xml
What you have to do:
Extract the framework-res.apk from your phone/rom zip file
Decompile your framework-res.apk using apkmanager
Edit the file DECOMPILED_DIR/res/layout/status_bar.xml
Search for <com.android.server.status.TickerView
As child nodes you will see TWO <TextView> tags. If not present, you must add android:textColor="#ffffffff" to the attributes. It will set your color. the four bytes mean: transparency, Red, Green, Blue (where transparency means: FF no transparency and 00 fully transparent). You have to set the color for both <TextView>s as Android will alternate between them when the notification ticker should show more than one line.
The color for the date will be in the <com.android.server.status.DateView>
Save the file
IN APKManager choose the option to compile your framework
Answer yes when you get asked if it is a system apk and if you want to copy files from the original framework. After the original framework has been extracted, change to your "keep"-Directory and delete the files resources.arsc and res/layout/status_bar.xml.
Let apkmanager continue its work.
now you have a new apk file in your place-here-for-modding directory, which you can push on your phone (DO IT IN RECOVERY): adb push unsignedframework.apk-filename /system/framework/framework-res.apk
Click to expand...
Click to collapse
Ok, Im confused. I tried doing all of the following and everything seemed to work, except that my modified XMLs are not in the new compiled apk. Where do you put them in to get compiled with everything else? When I rebooted my phone, the text is back to white (the color is was before).
did you recompile it?
Half the xmls end up being compressed into resources.arsc only a handful become binary xmls inside res\<various dirs>
Yes, I get an unsignedframework-res.apk. There is no resources.arsc file and the status_bar.xml, status_bar_extneded.xml, and status_bar_latest_event_content.xml are missing from the layout folder.
You might be decompling/recompiling it wrong then
I got it taken care of in another thread. Some of the PNGs in the drawable-hdmi folder were incompatable. I fixed them and it it compiled just. Now I just gotta put it on the phone and see if it works.

[Video] Change Sony stock ICS systemUI clock colors!

i made this video for a friend, and think it helpful with some one , so i made a thread for it
(in 1:42 just delete resources.arsc)
If anyone want other video, just request for it, i'll do if i can :cyclops:
in this video, i used this tool: https://docs.google.com/file/d/0B1jXm_WqN2CaRWMybk42NXJSRDg/edit?usp=sharing
Ok, this is all steps:
1, Decompile SystemUI
Copy your Sony-based SystemUI.apk from system/app in phone to Apkmanager/place_here_to_modding folder
Open cmd file in APK manager, choose 9 to decompile
2, edit XML
Open file projects/SystemUI.apk/res/values/styles.xml by notepad++
Find a line have statusbar.clock (if you want change clock in status bar color, for other items, just find it's style code in this xml file)
Change color from ffffff (white opaque) in a line below to color you want ( for example : if i have a color code 00123456 (hex) means: 2 first hex number 00 is full transparent, ff is no transparent; 2 next hex numbers is green values, then 34 is green value, 56 is blue value. For each color value, 00 is zero and ff full of that color). After all changes, save the file
3, Recompile your apk:
Reopen cmd window and chosse 11, enter then y ,enter then y,enter. After that go to keep folder and delete resources.arsc. go back cmd windows and press enter. DONE, YOUR FILE IS unsignedsystemui.apk in place-apk-here-for-modding folder
i dont understand a SH#T...sorry but u can make a new video with more explanation? or something :S
leloiboi said:
i made this video for a friend, and think it helpful with some one , so i made a thread for it
(in 1:42 just delete resources.arsc)
If anyone want other video, just request for it, i'll do if i can :cyclops:
in this video, i used this tool: https://docs.google.com/file/d/0B1jXm_WqN2CaRWMybk42NXJSRDg/edit?usp=sharing
Click to expand...
Click to collapse
What This?
Sent from my ST15i using xda premium
Updated step by step

Opening .thumbdata5-1763508120_0 File in Desktop

Hello,
Recently i lost all my phone data and i had to recover it via a software. i recovered few files but i have few more files ending up as file names
.thumbdata5-1763508120_0
.thumbdata5-1763508120_1
.thumbdata5-1763508120_2
is there any data under those files as i see they are almost around more then 50mb each
how can i open those files and copy the pics under them ?
Hello,
can anyone reply ??
rinku2012 said:
Hello,
Recently i lost all my phone data and i had to recover it via a software. i recovered few files but i have few more files ending up as file names
.thumbdata5-1763508120_0
.thumbdata5-1763508120_1
.thumbdata5-1763508120_2
is there any data under those files as i see they are almost around more then 50mb each
how can i open those files and copy the pics under them ?
Click to expand...
Click to collapse
can someone help me here
Thumbdata Answer
Yes there is a way... You need a Hex Editor. Open your thumbdata file with this Hex editor. A jpg file starts ff d8, ends ff d9. find and copy ff d8 to ff d9 and save it as a new file in Hex editor. Find that saved file on your pc and make it '.jpg' and have fun. If your thumbdata is not corrupted, it works well.
Hi,
thanks for the answer. When i search for ff d8 its giving as no pattern found. but when i search for ff or d8 it comes up and d9 doesnt come up.
what should i do now ?
Hex Editor Neo
Try Hex Editor Neo. Open file and go Edit/Find/Type -> Select 'HEX' then search ff d8. There must be hundreds of ff d8/ff d9, no way. If you cant find again, let me see one of that file if it has no very special content.
Will iy work in my Android phone
I tried the above steps and saved the files but I ain't able to open it. Is there any problem or I need to do it in my pc.
5
down vote
accepted
It contains 96x96 pixel versions of your photos. The file is simply a concatenation of JPEG files. You can split it into individual JPG files by searching for the signatures indicating the start and end of a JPG file, i.e. the two bytes FF D8 for the start and FF D9 as the end. If you can transfer the file to your computer and you can access Python, the following Python code will extract the files (name the file thumbdata3.dat):
#!/usr/bin/python
"""extract files from Android thumbdata3 file"""
f=open('thumbdata3.dat','rb')
tdata = f.read()
f.close()
ss = '\xff\xd8'
se = '\xff\xd9'
count = 0
start = 0
while True:
x1 = tdata.find(ss,start)
if x1 < 0:
break
x2 = tdata.find(se,x1)
jpg = tdata[x1:x2+1]
count += 1
fname = 'extracted%d03.jpg' % (count)
fw = open(fname,'wb')
fw.write(jpg)
fw.close()
start = x2+2
The program will save the files with the names extractednnn.jpg, where nnn is a number.

Categories

Resources