[i9003][MOD] Remove Status Bar Clock - Samsung Galaxy SL i9003

This mod will remove the time from the notification bar on your Galaxy S i9003.
YouR Phone Must Be Deodexed and Rooted for this Mod
Instructions:
1) First download smali-1.2.6.jar and baksmali-1.2.6.jar from here http://code.google.com/p/smali/downloads/list Rename them to just smali.jar and baksmali.jar.
2) You'll need to pull the services.jar from the /system/framework/ directory on your phone to your PC. Open the services.jar file for example with winzip, 7z, winRar, or whatever. Unzip the classes.dex file to a new folder and place the baksmali and smali file there too. After that open a new command window within that folder and run following line:
Code:
java -jar baksmali.jar -o out/ classes.dex
3) You'll have a new folder now called "out". Browse to "out/com/android/server/status" and open the file called StatusBarPolicy.smali with a text editor. I personally prefer "Notepad++".
4) Search for:
Code:
invoke-direct {p0}, Lcom/android/server/status/StatusBarPolicy;->updateClock()V
5) It should be under ".line 592". Now add this line underneath the line you just searched for from above:
Code:
invoke-virtual {p2, v3, v6}, Lcom/android/server/status/StatusBarService;->setIconVisibility(Landroid/os/IBinder;Z)V
6) Save the file.
7) Open a new command window within the folder you created before or maximize the same command window you used before and run this:
Code:
java -Xmx512M -jar smali.jar out/ -o edited-classes.dex
8) Now you'll have a new dex file called "edited-classes.dex". Rename the old dex file to classes_old.dex and rename the new file to "classes.dex".
9) Open again the services.jar file with any zip tool and overwrite the classes.dex file with the one just created.
10) Push the updated services.jar back to the /system/framework/ directory on your phone and set the file permissions to rw-r--r--. Reboot!
I am also sharing my services.jar file for those who wants this mod.
just replace it with your services.jar present in system/framework using ROOT EXPLORER
WARNING : DO THIS MOD AT YOUR RISK I AM NOT RESPONSIBLE FOR BRICKING YOUR DEVICE ( ONLY WORKS ON XXKB3 F.W HAVENT TESTED ON OTHER DDKB1 or KB2 F.W)
{
"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"
}
THANKS TO TONECREATIONZ FOR THIS GUIDE
IF YOU LYK THIS MOD THEN KINDLY PRESS THE THANKS BUTTON

good...but I like the clock
Sent from my GT-I9003 using XDA Premium App

it depends on you whether you like the clock or not

Hi i would like to know if there is any way that i can disable the default battery icon? Cos i am already having another app that shows the battery percentage and thus would be redundant to have both. Thanks in advance!

i think no

thanks
hey dude cool theme bt want to know that my firmware version is kb2 and want to upgrade it yo kb3 how this can b done plz help

sameer.biosam said:
hey dude cool theme bt want to know that my firmware version is kb2 and want to upgrade it yo kb3 how this can b done plz help
Click to expand...
Click to collapse
See the thread http://forum.xda-developers.com/showthread.php?t=1004622

Related

[GUIDE]Hide page indicator in Home app [4.0.2.A.368]

In this guide I will show you how to show or hide the page indicator in the Home app
First of all, you'll need Apk Manager, this can be downloaded here.
Extract the zip to a folder you like, I'll use C:\Apk Manager\ in this guide!
Download Default Home. [4.0.A.2.368].rar from this post. (Should work on .145 fw too!)
Copy the Home.apk to C:\Apk Manager\place-apk-here-for-modding\
After you've done that, open Script.bat.
Select option 9.
Now the Home.apk will be decompiled.
When it's done decompiling, go here C:\Apk Manager\projects\Home.apk\res\values.
Open bools.xml with Notepad and go to line 3. Will look like this:
Code:
<bool name="desktop_indicator_timeout_fade">false</bool>
When you change "false" to "true", the desktop indicator will be hidden after a few seconds.
Now go to line 4.
Code:
<bool name="apptray_indicator_timeout_fade">false</bool>
Change "false" to "true" if you like to hide the indicator on the app tray.
Save and close the file. Now go back to the Apk Manager tool and select option 11, the apk will now be compiled again. It will ask you this:
Is this a system apk (y/n)
Answer with y and press enter.
After that you'll get another question:
Aside from the signatures, would you like to copy
over any additional files that you didn't modify
from the original apk in order to ensure least
# of errors (y/n)
Answer with y again.
Now this will show up:
In the apk manager folder u'll find
a keep folder. Within it, delete
everything you have modified and leave
files that you haven't. If you have modified
any xml, then delete resources.arsc from that
folder as well. Once done then press enter
on this script.
Go here C:\Apk Manager\keep and delete resources.arsc.
Now go back to the Apk Manager tool and press enter.
In C:\Apk Manager\place-apk-here-for-modding you'll find this: unsignedHome.apk. Rename it to Home.apk and push it to your device with adb.
Adb commands:
Code:
adb push Home.apk /sdcard/
adb shell
$su
#mount -o rw,remount -t yaffs2 /dev/block/mtdblock0 /system
#busybox cp -R /sdcard/Home.apk /system/app/
#sync
Now the indicators will hide after a few seconds
{
"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"
}

[TURORIAL] How to make your settings look a like to the SGS3 Settings!

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

[GUIDE][GB]ics/jb recent app viewer

{
"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][GB] Change path thickness of Pattern Lockscreen to ICS style

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

[GUIDE] Adding Extra Details in About Phone in Settings.apk [NOOB-FRIENDLY]

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

Categories

Resources