INTRO:
Hello. This tutorial will be on how to replace the framework-res.apk the easyway without a computer,for jandycane, and probably CM10 and hashcode's jellybean rom.
What you can do when you change to framework is change the background for settings, root explorer, and uninstalling apps, ect. YOu can also change the lock circle and icons. and a whole lot more stuff too!
WHAT YOU NEED:
1. root explorer
2. terminal emulator
3. a little brains
INSTRUCTIONS:
You can do all of this on your kindle with out having to use a computer.
1. Download my reframe.sh.zip and extract it, and put the script on the root of your sdcard
1. extract your framework-res.apk from system/framework
2. make any modifications you want to it. Example: you want to change the settings background, you would navigate to framework-res/res/drawable-nodpi/background_holo_dark.png. Chagne the picture to anything. and put it back
3. If using root explorer. hold the extracted framework-res and press ZIP THIS FOLDER
4 go to the zipped folder and rename from framework-res.zip to framework-res.apk
5. move the framework-res.apk to the root of your sdcard.
6 go into terminal emulator and type
Code:
su
cd sdcard
sh reframe.sh
7. enjoy!
Can you please tell me how do I change status bar running apps background?
Related
Metamorph theme that includes these four fonts:
Darkstar
Zune
Comfortaa
Stock
To use with MetaMorph:
Download MetaMorph from the market (FREE version, this will not work with MetaMorph PRO)
Place attached .zip on sdcard in a folder called AndroidThemes
Open MetaMorph, run the checks, "Pick Theme", select Fonts
Select the font you want to use
MetaMorph will ask you to reboot, click Yes. If you click YES and nothing happens (the popup asking you to reboot keeps coming up), just click NO and reboot manually.
If for some reason you are adamantly against MetaMorph, you can still use these:
Open the attached .zip
Extract the folder with the name of the fonts you want to use
Put said folder in your tools directory
Open your command prompt and navigate to your tools folder and type:
Code:
adb remount
adb push [B]<name of font folder you're using>[/B] /system/fonts/
adb reboot
Okay, folks this is my first tutorial on xda. I am a loyal member that gets most of his info from searching and rarely needs to post. But, I just spent the last few hours figuring out how to install a specific font. I thought I would compile that info here so it is a lot easier for folks in the future.
You will need:
-Basic understanding of cmd and adb
-A file called UnSigner.exe (thanks baniaczek http://forum.xda-developers.com/showthread.php?t=329160)
There are many free fonts you can find online and for many of them you will not need to follow the directions pertaining to UnSigner. For the sake of this tutorial, lets assume you want to use a font from windows. You should pick 2 variations of the same font file; one for regular and one for bold.
1. Find the font file. On Windows 7, C:\Windows\Fonts
2. Copy the font file to a folder on your desktop called "Fonts"
3. Download and extract UnSigner.exe to the same folder called "Fonts". Download from the link above.
Now, in the Fonts folder you should have the desired font file(s) and the UnSigner.exe.
4. Rename the font file(s) to DroidSans and DroidSans-Bold, respectively.
5. Open cmd. In Vista and above; hit windows key, then type "cmd". Right click on "cmd" & run as administrator.
6. Change directories to the Fonts folder on your desktop.
Code:
cd c:\users\NAME\desktop\fonts
7. Run the UnSigner.exe on the desired font file
Code:
UnSigner.exe DroidSans.ttf
(Repeat for every font file desired)
For the following you should be in Unrevoked Recovery and already have made a backup.
8. In command prompt, start adb shell
Code:
cd c:\sdk\tools
adb shell
9. Mount system directory on your phone
Code:
mount /system
10. Copy font file from your sd card to the system directory overwriting the current one
Code:
cp /sdcard/DroidSans.ttf /system/fonts/
*It may be wise to backup the current fonts before overwriting them. I never worry tho, because every ROM has them & I can just pull it out and do the above for them, too.
(Repeat for every font file variation)
Tips: I use a light variation of the font for DroidSans.ttf & the regular variation for DroidSans-Bold.ttf, Clocktopia.ttf, gcsh00d-hkscs.ttf, & ucsh00d_c.ttf. The last two are the htc fonts in the widgets and such, I think. Also, a font file degrades with each copy that is made. It is best to make one copy of each font file desired and then rename them accordingly.
Have fun!
Or you could just put them all in one folder named fonts in sdk and adb push to system/fonts. That way you don't have to do all of them individually. Just my 2 cents.thanks for the tutorial though.
coolingout said:
Also, a font file degrades with each copy that is made.
Click to expand...
Click to collapse
Wut? Doh, the unsinger requirement. Even that should only make a difference the first time it's run on a file. Running it again shouldn't modify the file any more -- anything else is a bug.
Do you have links to any fonts that this actually does something with?
I installed Microsoft's Calibri, Cambria, and Consolas fonts (the Windows 7 versions) on my phone w/ Type Fresh without using that and they work fine. (Looks awesome too!)
I tried running unsigner.exe on those and some other fonts I had on my system that the font viewer say have digital signatures and it didn't modify them at all. They have the same MD5 hash.
GUIDE
What will you Need:
ApkTool
Java JDK/JRE 32 bit
Terminal knowledge
Brain
Instructions
Extract zip folder to anywhere you choose. E.g: C:/android/apktool extracting the files to 'apktool' folder.
3.Now copy the apk to your Apk Tool folder.
2. Open your terminal
Your terminal will look like this...
C:\users\yourname>
Code:
[COLOR="Black"]cd.. → go back
cd.. android → go to this folder[/COLOR]
(Yes, it contains "..")
So you must be in your folder apktool (E.q: C:/android/apktool>)
3. Installing Framework
Code:
apktool if framework-res.apk
(framework-res.apk is only example.. You can type "apktool if SystemUI.apk",...)
4. Decompiling
Code:
apktool d framework-res.apk framework1
(framework-res.apk is apk which you want to decompile and framework1.. You can type "apktool if SystemUI.apk",...)
Now you can enjoy it!
5. Recompiling/Finished Product
Code:
apktool b framework1 framework-res-new.apk
(framework1 is the folder with your edited files and framework-res-new.apk is your new apk file)
You can't use the new apk... You have to take what you did and add it back to the original apk file to proper signature.
Use something like 7zip, take the 'resources.arcs' file and any other xml files you edited out of the "-new" apk and copy them into Original .apk.
Congratulations! You modded .apk!
you can help i know...
Mlopik said:
GUIDE
What will you Need:
ApkTool
Java JDK/JRE 32 bit
Terminal knowledge
Brain
Instructions
Extract zip folder to anywhere you choose. E.g: C:/android/apktool extracting the files to 'apktool' folder.
3.Now copy the apk to your Apk Tool folder.
2. Open your terminal
Your terminal will look like this...
C:\users\yourname>
Code:
[COLOR="Black"]cd.. → go back
cd.. android → go to this folder[/COLOR]
(Yes, it contains "..")
So you must be in your folder apktool (E.q: C:/android/apktool>)
3. Installing Framework
Code:
apktool if framework-res.apk
(framework-res.apk is only example.. You can type "apktool if SystemUI.apk",...)
4. Decompiling
Code:
apktool d framework-res.apk framework1
(framework-res.apk is apk which you want to decompile and framework1.. You can type "apktool if SystemUI.apk",...)
Now you can enjoy it!
5. Recompiling/Finished Product
Code:
apktool b framework1 framework-res-new.apk
(framework1 is the folder with your edited files and framework-res-new.apk is your new apk file)
You can't use the new apk... You have to take what you did and add it back to the original apk file to proper signature.
Use something like 7zip, take the 'resources.arcs' file and any other xml files you edited out of the "-new" apk and copy them into Original .apk.
Congratulations! You modded .apk!
Click to expand...
Click to collapse
Hey boss... can you tell me how to rename a app... i need it badly.. please.and thanks in advance
///How to easily edit 9.pngs easily \\\
Lets start ...
Step 1
Decompile the app.
Step 2
Enter into res/drawables
Step 3
open 9.png with paint.net(preffered)not tested others
Get it here (www.getpaint.net)
Step 4
change its color to ur wish (note--dont touch those 4 borders at the ends)
Step 5
Close and save png
Step 6
Now recompile
Step 7
Install
congo it works fine.............
No need of draw9patch...
Notes:
Must knw how to compile- recompile apps.
Must try more coming soon..........
Dont Spoil This Thread Please!!!!
PRESS LIKE BUTTON IF U LIKE MY WORK
Today i will guide you on how to decompile with Apk Tool,so I would post here
Needed files :-
Windows
ApkTool
Java JDK/JRE 32 bit
Cmd/terminal knowledge
Step 1
First you need to extract that zip folder to anywhere you choose, preferably on root of c/drive E.g: C:/android/apktool extracting the files to 'apktool' folder.
Step 2
Now copy the apk you would like to mod into your Apk Tool folder.
Step 3
Command Prompt:
Open up your Command Prompt by going to:
Start -> run -> type : Cmd
Step 4
Your cmd will probly look like this..
C:\users\yourname>
so type in
cd.. (Yes include the '..' and press enter after you type each command.)
this will get you to back directory so now you will see
C:\users>
so type again
cd..
you should now see this:
C:\>
now type in:
cd 'apktoo'l/'directory'
for me it looks like:
cd android/apktool
now you should see:
C:/android/apktool>
and you are in the apktool directory
Step 5
Installing Framework
Now that you are in directory we need to install the device's framework to your system for it to compile correctly so type this:
apktool if framework-res.apk
This will install the devices framework to your system. need to do this.
Step 6
Decompiling
Now to decompile the apk you want to edit, type this:
apktool d framework-res.apk framework1
Step 7
Recompiling...
Now to recompile your new apk type this:
apktool b framework1 framework-res-new.apk
framework1 is the folder with your edited files
framework-res-new.apk is your new apk file
We cannot use the new apk's... we have to take what we did and add it back to the original apk file to keep proper signature
use something like 7zip or winrar, take the 'resources.arcs' file and any other xml files you edited out of the "-new" apk and copy them into Original apk
Your new modded APK is now ready, Congrats!:highfive:
Good Luck ..
must try
Just For Knowledge....
If... we use 7zip.. extract apk on desktop..
then replace modified.png with orignal.png
then aad to orignal apk
or
we just hunt png which we want to replace.
just extract that one with same res. & name
then add that on it right place
Is that working???
i.e. I want to replace icon of Gallary3d (JB4.3) (Gal+Cam)
with icon of samsung s4 icon Gallary2 (Gal+Cam)
[Noob friendly tutorial]
A typical problem when decreasing the DPI of your device is sometimes the lock screen will offset to the right(usually).
This tutorial might help fix this problem.
Requirements:
1. Rooted device
2. File manager for viewing and managing the root directory (e.g. Root Explorer)
3. Software for decompiling and recompiling .apk files
4. Text editor, I recommend Notepad++
Prerequisite:
Backup your current ROM so that I will not be held responsible for problems the may occur on your device
Instructions:
1. Open Play Store and download "ZipSigner" by Ken Ellindwood
2. Go to the root directory which is designated as "/".
3. Open "system" folder
4. Open "framework" folder
5. Look for "framework-res.apk"
6. Copy "framework-res.apk"
7. Navigate back to your SD card directory and paste it to where you want it.
8. Connect your device to your PC.
9. Expand your phone's the notification bar, press "Charging" and change it to "USB mass storage" and press "OK". Your PC will access your phone's storage directories (SD Card and Phone Storage)
10. On your PC, go to your SD Card's directory and navigate to where you put framework-res.apk and move it to your PC's desktop (you can put it to anywhere you like, just make sure you have it in your PC's storage directory).
11. On your PC, transfer framework-res.apk in the directory of your decompiling/recompiling tool with respect to what "tool" you are using.
Main Part:
12. Decompile framework-res.apk
13. Go to its "decompiled" directory
14. Navigate to /res/layout
15. Look for "keyguard_screen_tab_unlock.xml"
16. Open it with a text editor
17. Look for this line:
Code:
<com.android.internal.widget.multiwaveview.GlowPadView
18. Rigt next to this line, look for the lines, "android:gravity" and "android:layout_height".
19. Change their values to "left|top" and "wrap_content" respectively
So "android:gravity" and "android:layout_height" should look like this:
Code:
android:gravity="left|top"
and
Code:
android:layout_height="wrap_content"
20. Recompile framework-res.apk
21. Sign the new, edited framework-res.apk
22. Place it back to your SD Card
23. Disconnect your device from your PC.
24. Go to your SD Card and navigate to where you have put the modified framework-res.apk
25. Using the ZipSigner app, press "Choose In/Out..." and navigate to where you put the edited framework-res.apk
26. Press "Sign The File" and ZipSigner will begin to produce a signed version of the selected apk.
27. Navigate back to where you have created the edited-and-signed framework-res.apk and it will have a "-signed" in it's name.
28. Remove the "-signed" and MAKE SURE the newly-edited-and-signed framework-res.apk is named AS IS, "framework-res.apk".
*If there are others' named "framework-res.apk" in the same directory, rename them into something different before renaming the "newly-edited-and-signed framework-res.apk" so it won't conflict with step 28.
29. After you have successfully renamed the "newly-edited-and-signed framework-res.apk", copy it.
30. Go to the root directory which is designated as "/".
31. Open "system" folder
32. Open "open "framework" folder
33. And paste-and-overwrite/override the "newly-edited-and-signed framework-res.apk" to this "framework" directory.
Note: If in some case you were prevented to paste in the "framework" directory, check to see if your root file manager is mounting the root, if not check for an option to mount the root directory
34. If you have successfully overwritten/overridden the original framework-res.apk, your device should begin to Soft-Reboot automatically. If not then, manually force your device to reboot.
And your lock screen should now be at the center.
35. Done
durancharles27 said:
[Noob friendly tutorial]
A typical problem when decreasing the DPI of your device is sometimes the lock screen will offset to the right(usually).
This tutorial might help fix this problem.
Requirements:
1. Rooted device
2. File manager for viewing and managing the root directory (e.g. Root Explorer)
3. Software for decompiling and recompiling .apk files
4. Text editor, I recommend Notepad++
Prerequisite:
Backup your current ROM so that I will not be held responsible for problems the may occur on your device
Instructions:
1. Open Play Store and download "ZipSigner" by Ken Ellindwood
2. Go to the root directory which is designated as "/".
3. Open "system" folder
4. Open "framework" folder
5. Look for "framework-res.apk"
6. Copy "framework-res.apk"
7. Navigate back to your SD card directory and paste it to where you want it.
8. Connect your device to your PC.
9. Expand your phone's the notification bar, press "Charging" and change it to "USB mass storage" and press "OK". Your PC will access your phone's storage directories (SD Card and Phone Storage)
10. On your PC, go to your SD Card's directory and navigate to where you put framework-res.apk and move it to your PC's desktop (you can put it to anywhere you like, just make sure you have it in your PC's storage directory).
11. On your PC, transfer framework-res.apk in the directory of your decompiling/recompiling tool with respect to what "tool" you are using.
Main Part:
12. Decompile framework-res.apk
13. Go to its "decompiled" directory
14. Navigate to /res/layout
15. Look for "keyguard_screen_tab_unlock.xml"
16. Open it with a text editor
17. Look for this line:
Code:
<com.android.internal.widget.multiwaveview.GlowPadView
18. Rigt next to this line, look for the lines, "android:gravity" and "android:layout_height".
19. Change their values to "left|top" and "wrap_content" respectively
So "android:gravity" and "android:layout_height" should look like this:
Code:
android:gravity="left|top"
and
Code:
android:layout_height="wrap_content"
20. Recompile framework-res.apk
21. Sign the new, edited framework-res.apk
22. Place it back to your SD Card
23. Disconnect your device from your PC.
24. Go to your SD Card and navigate to where you have put the modified framework-res.apk
25. Using the ZipSigner app, press "Choose In/Out..." and navigate to where you put the edited framework-res.apk
26. Press "Sign The File" and ZipSigner will begin to produce a signed version of the selected apk.
27. Navigate back to where you have created the edited-and-signed framework-res.apk and it will have a "-signed" in it's name.
28. Remove the "-signed" and MAKE SURE the newly-edited-and-signed framework-res.apk is named AS IS, "framework-res.apk".
*If there are others' named "framework-res.apk" in the same directory, rename them into something different before renaming the "newly-edited-and-signed framework-res.apk" so it won't conflict with step 28.
29. After you have successfully renamed the "newly-edited-and-signed framework-res.apk", copy it.
30. Go to the root directory which is designated as "/".
31. Open "system" folder
32. Open "open "framework" folder
33. And paste-and-overwrite/override the "newly-edited-and-signed framework-res.apk" to this "framework" directory.
Note: If in some case you were prevented to paste in the "framework" directory, check to see if your root file manager is mounting the root, if not check for an option to mount the root directory
34. If you have successfully overwritten/overridden the original framework-res.apk, your device should begin to Soft-Reboot automatically. If not then, manually force your device to reboot.
And your lock screen should now be at the center.
35. Done
Click to expand...
Click to collapse
This is Q and A thread tutorial should not be here .... Plz post this thread in right place.....
samith.shetty3 said:
This is Q and A thread tutorial should not be here .... Plz post this thread in right place.....
Click to expand...
Click to collapse
Well, can I move this thread in "General"?
durancharles27 said:
Well, can I move this thread in "General"?
Click to expand...
Click to collapse
yup..
samith.shetty3 said:
yup..
Click to expand...
Click to collapse
well I can't I would have to pray that an Admin/Moderator would see this and move it.