folder icon - MDA II, XDA II, 2060 ROM Development

do you guys know how to change the folder icon in the start program menu?

inside any folder ... creat a file and name it icon.lnk ... in this file you should type a name of any DLL and a refernce to the icon ID inside it (ex: ceshell.dll, 162) and make sure this dll file is in \windows directory ... whenever you browse, this folder will have this icon in the explorer. you can use Resource Hacker s/w to get this data from any exe or dll file

Related

autoconfig for wm05

is there a auto config for the new windows WM05 as there was for the 2003se??
here..
paste this autoconfig.exe inside startmenu/programs
u still need the autoconfig.txt and put it inside the folder /windows
AUtoconfig.txt
Does anyone have the format for the entries in the autoconfig.txt file?

[Q] can someone help me in configuring XDA_UC?

i have create the folder '\Storage Card\XDA_UC'
now, i dont know how to do with the following instructions.
can someone guide me with this?
maesus said:
XDA_UC installation tips are generally similar as listed here. http://forum.xda-developers.com/showthread.php?p=3611692
I made some modifications so that the sequence of the installation will be like this:
My.tsk file from "\Storage Card\XDA_UC"
and if not present Cook.tsk from Windows Folder.
import *wifi*.*xml and *mail*.*xml provisional registry settings for WiFi and Email setup.
Copy Over User Files.
Check for "\Storage Card\XDA_UC\Copy2Root" if present, Disable Manila from Homescreen then Copy files from "\Storage Card\XDA_UC\Copy2Root" to the root of the device, Then checking for existence of wallpaper_TF3D.png or wallpaper_TF3D.jpg in "\Storage Card\XDA_UC\Copy2Root\Windows" and adding that to
[HKCU\Software\HTC\Manila]
"HomeBackgroundPath"="\\Windows\\wallpaper_TF3D.jp g"
Import registry files from "\Storage Card\XDA_UC\Copy2Root\Windows\manila.reg" If present
Re-enable Manila on Homescreen and redraw it. Now also works for the Sense 2.1 and up versions.
.xdas files in "\Storage Card\XDA_UC"
Silently run Legacy SDConfig.txt from Storage Card
(If your using RunCC.exe or Autorun you do not need to point to or use SDAutorun.exe or SDConfig.txt) Thanks to RoryB
Commands for SDConfig.txt can be found here....
.cab files in "\Storage Card\autoinstall"
This makes it compatible with your storage card's setup for Tom's Autoinstall.
.cab files in "\Storage Card\XDA_UC"
.cab files in "\Storage Card\XDA_UC\Storage", These cab files will be tempted to install to Storage Location. Not recommend using this method. Please use Manual instead.
.cab files in "\Storage Card\XDA_UC\Manual",These cab files will start with Full User interaction capabilities to choose where to install to.
.reg files in "\Storage Card\XDA_UC"
.xml files in "\Storage Card\XDA_UC"
.mscr files in "\Storage Card\XDA_UC"
.cer files in "\Storage Card\XDA_UC"
Create Shortcuts and more from Registry Keys
More information here....
Copy over welcomehead.192.01.png & welcomehead.192.02.png present in "\Storage Card\XDA_UC\Copy2Root\Windows" to the Windows folder.
Copy over welcomehead.96.01.png & welcomehead.96.02.png present in "\Storage Card\XDA_UC\Copy2Root\Windows" to the Windows folder.
Actually everything is copied over from Copy2Root folder to root, but the above Splashcreens get their file atributes removed before this happens.
Add native support for .mscr, .mortrun, .xda, xdai, xdas & .xdaz files
Well, I hope this is good enough to explain everything. Good luck with setting up your XDA_UC!
Click to expand...
Click to collapse
or is that i need to follow this? http://forum.xda-developers.com/showthread.php?t=684865 or http://forum.xda-developers.com/showthread.php?t=366337
i'm a newbie, so, can someone explain more easily?
Try this one:
http://forum.xda-developers.com/showthread.php?t=795711
It's for Energy customized rom, but it will help you understand how xda_uc works.
Just a few tips:
-You can put all the .cab files of programs you want to install in XDA_UC folder, as well as all the .reg files
- Create the folder Copy2Root inside XDA_UC folder. Inside Copy2Root folder, put all the files and folders you want to be copied to their respective places in the phone memory. Use the same path that the original files have, including folders.
For instance, inside Copy2Root I have the folder "Windows" and inside "Windows" I have the folder "Rings" with all the sounds I want to restore at each hard reset.
Another example: if you want to copy something to the root of you phone's memory, just put the file in the Copy2Root folder. If you want to copy a file to the Windows folder, create the folder Windows in Copy2Root folder and inside it put the file you want to copy.
thanks for reply
joooe said:
Try this one:
http://forum.xda-developers.com/showthread.php?t=795711
It's for Energy customized rom, but it will help you understand how xda_uc works.
Just a few tips:
-You can put all the .cab files of programs you want to install in XDA_UC folder, as well as all the .reg files
- Create the folder Copy2Root inside XDA_UC folder. Inside Copy2Root folder, put all the files and folders you want to be copied to their respective places in the phone memory. Use the same path that the original files have, including folders.
For instance, inside Copy2Root I have the folder "Windows" and inside "Windows" I have the folder "Rings" with all the sounds I want to restore at each hard reset.
Another example: if you want to copy something to the root of you phone's memory, just put the file in the Copy2Root folder. If you want to copy a file to the Windows folder, create the folder Windows in Copy2Root folder and inside it put the file you want to copy.
Click to expand...
Click to collapse
then no need to use these software?
* DoeDoe's SDConfig.txt creator.
* .reg -> xml conversion tool
* XML Notepad 2007
* CeRegEditor (can find registry changes)
* DaveShaw's Folder Copy utility
* Registry capture Logger
and, is that i need to locate those reg file from where the application folder in the device then straight away copy them to XDA_UC folder?
Stick with the basics, for now.
Here's what I do: I customize the phone to my needs in every option needed. Then, I grab a registry editor, and search for the entries that correspond to the changes I've made.
Once I find them, I export that registry key to the XDA_UC folder as a .reg file. Then I repeat for all the entries that matter to me.
When hard resetting, XDA_UC will enter those registry files into the wm registry to activate your options.
So, in teory, you will only need a registry editor.
ok...
i will try
thanks again..

[TUT] Advance Framework Edit

things you'll need
APK MANAGER
7zip
DESCRIPTION :
Q : Basic
A : The icons are stored in the Drawable-mdpi folder in the framework.
these icons are linked to XML's in Drawable folder
if you just add the icons and don't change the xml, you'll get nothing.
Q : Why Cant we just Edit the XML files?
A : The XML files are encrypted. if you try to edit it you will get weird characters.
Q : No XML No Edits, Are we Done?
A : Yes, No XML No Edits. But we've a walkaround. The APK MANAGER
it decompiles the apk and unencrypts the xml file.
BASIC :
Extract the contents of APK MANAGER to any folder
you'll have few folders
place your apk in the place-apk-here-for-modding folder
open Script.bat
and chose option to decompile and minimize
it will create a folder namely PROJECTS
now you can edit the xml files
after your done, maximize the apkmanager window and choose comiple apk
HOW TO ADD MORE PNGS :
if you want to add pngs like the battery percentage you'll need to link the png to the xml file
this can be done by two ways
1. assigning resource_id
&
2. directly putting in the names
the 1st method is easy but complex so forget it
the second method is simpler.
just find the xml file corresponding to the png and than simply add the name.
for eg.
stat_sys_battery.xml is the battery status xml.
<item android:drawable="@drawable/stat_sys_battery_0" android:maxLevel="0" />
Click to expand...
Click to collapse
here the
android:drawable is the android code
and
@drawable/stat_sys_battery_* is the file location
check the attachment for better understanding
Click to expand...
Click to collapse
THE PROBLEM & THE SOLUTION :
if you try to edit any modded framework file you'll get error while compiling.
and your phone will hang if you use that file.
SOLUTION
instead of using modded file. use the STOCK framework. Edit your files and compile your apk
now when you compile it, it will give you few options
1. is it a system file [y/n]
choose yes
2. (...blah blah.. do you wish to keep files)
choose yes
now it will extract the stock (unedited) framework in a KEEP folder
minimize the window
open the folder and delete all the files you modified.
if you had modified xml file you'll also need to delete resources.asrc
now maximize the apkmanager window and press any key.
your modded apk will be compiled in the place-apk-here-for-modding folder
PS : IT WOULD BE UNSIGNED
LAST STEP :
open the compiled unsigned apk and extract all the files you edited (including resources.asrc)
simply replace these files in the framework-res.apk you wanted to mod
only part to take care is the resources.asrc file you don't have to replace it directly
do this steps for replacing resources.asrc
1. right click the resources.asrc
2. select add to archive
3. archive format zip
4. compression method Store
5. select the path of your framework-res.apk
I know this all seems way to complex but if you read carefully and do it step by step, its all easy as a PIE

Open XML file

I had extract surces files from an .apk application and I'd like to open XML files in the folder "res"
I import it in eclipse but i obtain this message:
"No XML content. Please add a root view or layout to your document."
you're right !
xml files in res folder doesn't seem to be real xml but "DBase 3 data file"
-> using the "file" command (on linux)
res/layout$ file main.xml
main.xml: DBase 3 data file (864 records)
Why not just use Notepad++ or Geany(Linux) ? That how i edit xml files.
smokin1337 said:
Why not just use Notepad++ or Geany(Linux) ? That how i edit xml files.
Click to expand...
Click to collapse
If anybody want to edit an xml inside an apk, he must decompile with proper decompiler (apktool) . Then only he can edit the xml with notepad or gedit or Geany .
Simple extracting of xml file will that suffice. XML extracted from apk with a zip manager , may not even viewed properly with notepad gedit or Geany .
yeah, you must decompile the .apk , then you can edit the xml file by a text editor.
Yes, you cannot just unzip the .apk and edit the files. You must de compile the apk first:
http://code.google.com/p/android-apktool/
It is easy, then you can edit all you want.
Then: compile, zip, sign.

how to view edit Smalli codes any android app hacking

hacking or cracking an android app is a easy part with XDA AUTO TOOL ..
search and download and install this tool ..
Process
Step One – Decompiling The APK File
Open the xdaAutoTool folder and run the program. It will prompt you to install a file called “framework-res.apk.” Ignore this. Close the program.
In the xdaAutoTool folder you we see a bunch of folders appear after the program ran. Look for one called “_INPUT_APK.” Put your APK file in the folder and run the program again. Press “Decompile All” located on the left side of the program window.
xdaAutoTool will decompile the APK file and create a new directory in the _INPUT_APK folder.
Step Two – Finding Your Target
Are you ready to be introduced to Smali code? Don’t worry! It isn’t too difficult once you realize what’s going on in the code. Java can’t be decompiled back into the original source code, it can, however, be decompiled into something called Smali code.
Navigate back to the _INPUT_APK directory and open the new folder (it will have the same name as the APK file). Once there, you will see a directory named “smali.” This is your target. Depending on your intentions, you will need to sift through the various files and folders in the smali directory until you locate the code you would like to modify.
For example, if you are trying to increase the firepower of a turret in an Android game, you will need to find the file for that turret. These directories are structured. You will probably see quite a few directories containing files used for advertisements, etc. One you discover the actual game directory, everything you need to alter will be in there.
How to change smalli code
now again open xda auto tool after edit changes and recompile and build your changes
You done ..........

Categories

Resources