Hi guyz,
Today I want to share something about settings.apk mod….
Its about adding small details in about phone section…
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
NOTE: I have not copied it... Actually I was playing with some codes and got success. I don’t know if there is any guide about this… There is guides about this, but those are hard for newbies because those are complex and there is some work in strings.xml... But in my guide there are no work of that .... I think this is the easiest way.....
So lets start…
Requirments
Apktool, Java Runtime
NotePad++, 7zip
Knowledge about decompiling, recompiling
A little respect (must)
And your Settings.apk & framework-res.apk
Step 1..
Decompile your Settings.apk
Step 2..
Go to res > xml
Open device_info_settings.xml
Now Copy This Code
Code:
<Preference android:title=" TITLE " android:summary=" SUMMARY " style="?android:preferenceInformationStyle" />
And paste it before </PreferenceScreen>
See the Image… I have added 2 lines… And You can write there anything……
Step 3..
Now Recompile your settings
Step 4..
Open decompiled Settings folder then go to build/apk, there u will find AndroidManifest.xml file…
Now open original Settings.apk using 7zip then copy the META-INF folder and AndroidManifest.xml file…
paste both the files in build/apk folder, if asked to replace, click yes..
now go to a folder in settings folder named dist, there u will find Settings.apk which u compiled.....
now delete it. We never use the first Settings.apk that we compile, because we need to add the META-INF and AndroidManifest.xml files for signing purposes.
Once you have deleted the 1st compiled Settings.apk, return to the command prompt and again compile the Settings using this code
Code:
apktool b Settings
After it is compiled go to dist folder there u will find new and fresh compiled Settings.apk which u can use it…
Step 5..
Using Root Explorer push it into system/app folder and set permissions to rw-r-r-
That's it!
Credit goes to YOU if you get success :fingers-crossed:
Nice tut sir
Related
Hello xda,
I will show you how to make your settings look a like to the SGS3 one!
You Need To Be Rooted
Step 1:
Download the zip file from the attachments and open the zip file it contains 2 folders open the settings.apk folder and take all the png's out of there paste thse .png's in a folder on your desktop!
Step 2:
Open the settings.apk with 7zip and go to res drawable-mdpi depending on your phone it could be also (HDPI or LDPI or XHDPI)
Step 3:
Scroll down to ic_settings_about.png and open that .png! check the size of your standard .png and look if they are the same size as the modded SGS3 style .png!
Step 4:
If they are not the same you must resize them!
If they are the same size copy all the Modded SGS3 icons inside of res drawable-mdpi depending on your phone it could be also (HDPI or LDPI or XHDPI)
Step 5:
after that go back to the .zip file you have downloaded and go into the framework-res.apk folder take all the .png's out of there and paste them into a folder on your desktop!
Step 6:
open your framework-res.apk and go to res drawable-mdpi depending on your phone it could be also (HDPI or LDPI or XHDPI)
Copy all the .png's inside of that folder and close 7zip.
Step 7: from here you can do 2 things
1: push the new apk's in root explorer
2: put them in your rom and flash it!
Method1:
Put settings.apk and framework-res.apk on your phone and go to root explorer navigate to /sdcard and move settings.apk to system/app Reboot!
After the reboot is done go back to root explorer and navigate to /sdcard and move framework-res.apk to /system/framework Reboot!
Enjoy your new settings!
Method2:
Put the themed settings.apk in your rom under system/app and the themed framework-res.apk under system/framework flash your rom!
Enjoy your new settings!
Screenshots:
Gingerbread SGS3 Settings:
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
ICS/JB SGS3 Settings:
Credits:
Samsung for the.png's
Me for the tutorial and resizing the png's to the perfect size!
Sweet. I was looking for something like this.
Sent from my SPH-D710 using xda premium
Change your default lockring to this:
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
We need to modify the framework-res.apk, so we need a file explorer with root access, like Solid Explorer Beta2
PLEASE MAKE SURE THAT YOU MAKE A NANDROID BACKUP BEFORE TRYING THIS!
Step 1 Download the lockring that you like.
There are two options for each style: HDPI or XHDPI.
Download from here:
Ingress style 1: HDPI or XHDPI.
Ingress style 2: HDPI or XHDPI.
Click to expand...
Click to collapse
Step 2 Copy your framework-res.apk from /system/framework to SD card and from SD card to the computer. If you have your current ROM on the computer as a zip file, copy the framework-res.apk from there, it`s faster.
Step 3 Open the framework-res.apk with 7Zip.
Navigate to res\drawable-hdpi\ or res\drawable-xhdpi\. You should find a file named "ic_lockscreen_handle_normal.png". This is for ICS and JB.
Step 4 Go to the archive that you downloaded and unzip it, open the folder and Drag and Drop the .png file from here to the res\drawable-hdpi\ or res\drawable-xhdpi\. Click yes to confirm.
Step 5 Close the 7Zip archive and copy your modified framework-res.apk to the SD card. Keep the original framework-res.apk for backup.
Step 6 On the phone open Solid Explorer Beta2 and navigate to the modified framework-res.apk, long press it, select Copy. Navigate to /system and Paste it. Long press it again and select Properties. Under Attributes tab select Change. Set permissions to 644 -rw-r--r-- Click OK.
Long press the framework-res.apk again and select Cut. Now navigate to /system/framework and select Paste and overwrite the framework-res.apk from here.
Step 7 Your phone should reboot now, if it doesn't, reboot manually.
You should now have the new lockring installed.
Feel free to alter the design or make you own.
Here are the dimensions in pixels for HDPI: 162x162 and XHPDI: 216x216. The image must be a .png file.
Thanks to Senior Member sharingan92 for the flashable zips! Second post.
Post a reply and click the Thanks button if this helped and you like it. I would appreciate it!
hey mate love the idea but a bit to much work for some users so i made you some flashable zips
sharingan92 said:
hey mate love the idea but a bit to much work for some users so i made you some flashable zips
Click to expand...
Click to collapse
Thanks!
How To Decompiling Or Editing Android's APK
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
step 1 : first apk file rename and last .zip to create zip file.
step 2 : then open *.zip file and classes.dex copy to dex2jar-0.0.9.9 folder.
step 3 : then folder on shift+right aerow and click open command window here.\
step 4 : then write on cmd in dex2jar classes.dex and enter press. this process is given on images.
step 5 : then getting classes_dex2jar file.
step 6 : then open jd-gui application and open file-> open file and open classes_dex2jar file.
step 7 : getting the code of application.
For Download This Software::
Click Here...
If You liked my work,Atleast Click Thanks Button,its Free,It encourages me.
awesome guide
helped me get a source code to popular android game so i can create my own game using the touch feature of source code:highfive::good:
Its the most complex guide I have ever seen
iamareebjamal said:
Its the most complex guide I have ever seen
Click to expand...
Click to collapse
It really is. Lol. I'm not going to keep looking at the screenshot and i'll just see if I can make it work on my own.
how do you get the resulting .zip from saving all sources of jd-gui since jd-gui doesnt actually allow modifications you have to save all sources wll end up with .java in a zip file, after editing the java files in the zip how do i get that zip back into the jar file to re dex it>?????
fieldsweeper said:
how do you get the resulting .zip from saving all sources of jd-gui since jd-gui doesnt actually allow modifications you have to save all sources wll end up with .java in a zip file, after editing the java files in the zip how do i get that zip back into the jar file to re dex it>?????
Click to expand...
Click to collapse
There are other, more straight forward guides to help.
its not hard, its impossible to understand!
FAILED!!!
Thank you so much, took. I will act.
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
We can add it to our gb roms so we can get feel of jb and speed of gb
PLEASE THANK agmtpd if this post helps you.
_____________________ Add ICS/Jellybean look alike task switcher
Tools Required:
1. APKTOOL:: for decompiling/compiling
(u can use any decompiler as long as it compiles without any error)
2. JAVA runtime environment-- jre installed on windows
3. 7 ZIP
4. WinRAR
5. MOD.ZIP or MOD without button.zip (attached below)
MOD.zip includes "task manager" button at the bottom
MOD without button.zip obviously doesnt...
Procedure:
Setting up apktool
1. Unzip downloaded APKTOOL.zip to c:/apk (or any other convenient location)
2. copy ur rom's framework-res.apk to c:/apk/ and rename it as framework-stock.apk (dont delete this file neither modify it at any point)
3.open cmd and navigate to c:/apk/ and type command as
Code:
C:\apk>apktool if framework-stock.apk
Now you are all set to decompile framework-res.apk
DECOMPILING framework-res.apk
In cmd type
Code:
C:\apk>apktool d framework-res.apk frame
this will put all decompiled files in a folder named "frame"
EDITING decompiled framework-res.apk
1. open "c:/apk/frame/res" in explorer
2. extract all folders in the MOD.zip file to "c:/apk/frame/res/" and replace the files if asked
RECOMPILING framework-res.apk
1. In cmd type
Code:
C:\apk>apktool b frame framework.apk
if all goes well it will create an UNSIGNED framework.apk (u cant push it right now)
SIGNING framework-res.apk
1. open c:/apk/framework-res.apk in 7-ZIP not Winrar
2. open c:/apk/framework.apk in WINRAR and drag all the contents to the 7-zip window
and click "yes" in dialog when asked to copy files into framework-res.zip
DONE!!
c:/apk/framework-res.apk is the signed apk which you can push to system/framework/ using any method adb, CWM
or u can even use Miui file explorer to push framework-res.apk without any bootloops.....
if u get stuck in bootloop just flash ur stock framework-res.apk and then report here....
DO give proper credits if you are using this in your rom.... _________________________________________________
OR you can install this task killer. ICS Task Manager from market that is "ALMOST" look like a recent task/apps of ICS/JB.[/QUOTE]
Required tool
Apk tool::: http://www.4shared.com/zip/Z8rB_hIS/file.html
MOD.zip( WITH BUTTON):: http://dl.xda-developers.com/attach...57c8f01230fa20/50f689d9/1/2/6/4/8/1/1/MOD.zip
Mod.zip( without button):: http://dl.xda-developers.com/attach...50f68b4d/1/2/6/7/2/7/0/MOD-without_button.zip
Sent from my es209ra using xda premium
Guide to changing path thickness of Pattern Lockscreen to ICS style
I wandered places searching this off. I found some traces in direction of my destiny but none of them worked fully correctly
So, as stated, I searched a lot for this mod and came face to face with failures and smali errors. So, I had to figure it out myself some modification to do in it to make it work.
Note: IT is not COMPLETELY my mod but I have done modifications in it to make it work. This is based on a guide for Froyo outside of XDA.
Pre-Requisites:
1. PC with Java JDK or JRE
2. Deodexed ROM
3. 7-Zip
4. classes.dex decompiling tool
5. Notepad++
6. Patience
7. Carefulness for editing smali files
Let's Start
1. First we would have to decompile classes.dex inside framework.jar
For that, you can use my Tool ROM Tool v2
First using 7zip, Right click on your framework.jar and open it as archive and drag and drop classes.dex in input folder of the tool
(Note: If you don't have classes.dex in framework.jar [only META-INF and preloaded-classes.dex], then your framework isn't deodexed)
Now, open Script.bat and choose 1 (Decompile classes.dex)
2. Now, we will make the changes. Go to decompiled folder and go to \classout\com\android\internal\widget and open LockPatternView.smali in Notepad++
Search for mDiameterFactor:F [Ctrl+F]
See the code above it.
It should be like this:-
Code:
const[COLOR="Red"]/high16[/COLOR] v2, 0x3f00
If it is, then you will have to remove red part /high16
Because it will not allow the change of code we will be doing which will have a different hexadecimal value which will not be supported till this code is in effect
Now, it will look like this:-
Code:
const v2, 0x[COLOR="Red"]3f00[/COLOR]
Now, we will change the thickness value 3f00 to 3dcccccd
Final code will look like this
Code:
const v2, 0x3dcccccd
Save it
I am attaching final and before smali for comparison below.
View attachment Smali.zip
(Note: If you don't have /high16, it's good , then just just change the value and save)
3. Go to Script.bat again and choose 2 (Recompile classes.dex) and after it's done, you will get classes.dex
Drop it in framework.jar
4. Push framewotk.jar in /system/framework
Eg:
Copy it in platform-tools folder of android SDK and type following with pressing Enter after each command
Code:
adb remount
adb push framework.jar /system/framework/
adb shell chmod 644 /system/framework/framework.jar
adb shell killall system_server
Last command will Hot Reboot your phone to apply changes. It is fast and better than rebooting phone.
5. Enjoy
Screenshots
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Before
After
Credits
A member from other forum to answer a question to other member of that forum
Google for letting me search somethings
Samsung Galaxy Ace s5830i members for supporting me so much
RESERVED
Very nice, made here and was show!
thank