[GUIDE][JB] Make 4shortcut on lock screen - Galaxy Ace II General

SS :
{
"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"
}
HOW TO :
1. Decompile SecSettings.apk
2. Go to smali/com/android/settings/lockscreenshortcut/
3. Find file LockScreenShortcutSettings.smali and open with notepad++
4. find line :
Code:
# direct methods
.method static constructor <clinit>()V
.locals 2
.prologue
const/4 v1, 0x0
.line 79
const/4 v0, 0x3
sput v0, Lcom/android/settings/lockscreenshortcut/LockScreenShortcutSettings;->MAX_SHORTCUT_ICON:I
5. Change const/4 v0, 0x3 line to const/4 v0, 0x4
6. Save all and close notepad++
7. Recompile SecSettings.apk and then push to /system/app/ (don't forget set permission rw-r-r)
8. Reboot system and enjoy
NOTE :
- Only for DEODEX ROM
- Make backup your rom first
- If you want this mods without difficulty you can download this mods in here

How to change the shortcut? Example: mms shortcut replace with camera shortcut

ddikodroid said:
How to change the shortcut? Example: mms shortcut replace with camera shortcut
Click to expand...
Click to collapse
change to the setting -> lockscreen -> lockscreen option -> shortcut

Related

How to change lockscreen text color

So far, I've adb pulled android.policy.jar from /system/framework, and baksmali'd the classes.dex file to reveal the editable HoneycombLockscreen.smali file.
I've been able to get the carrier name, the date, and the next alarm time (not the icons though...those pngs are in the framework-res.apk under drawable-hdpi and easily changed) to be blue by adding the code:
const v2, -0xff6301
invoke-virtual {v1, v2}, Landroid/widget/TextView;->setTextColor(I)V
to the constructor() method near the implementation of the mcarrier, mdate, mstatus1, and mstatus2 widgets. However, I can't find where the time(clock) widget is implemented.
I feel like I'm so close, yet so far away. Every place I try sends me into a boot loop. I'll keep searching though, and if I find it before someone else can help me, I'll update this with my results.
edit: Woops, here's a link to the pastebin with the HoneycombLockscreen.smali code: http://pastebin.com/ZTk5bRxM
UPDATE: I went another route and simply replaced my Clockopia.ttf font in /system/fonts/ with a transparent font, but it still shows the little "am".
{
"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"
}
Any help would be appreciated.
Yes, I did it!
It required some xml editing, but I figured out how to get rid of the lockscreen clock. It actually isn't gone, but it's just transparent.
While I was at it, I altered the honeycomb lock as well. I think it looks nifty.

[MOD] 4-Way Reboot For Stock Rooted LB3

I know much of you are probably on CM9, AOKP or a custom rom (AEON)(Shameless Plug) and really need this. I'm sure there are a select few that might.I know there is already an EMP, this one is just easy to do. All props to kahvitahra and his great guide you can follow here.
{
"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"
}
If you wish to do your own here is a little help to get you started while following his guide.
Once you decompile the policy.jar
In the Open GlobalActions.smali search for this line:
- "Lcom/android/internal/policy/impl/GlobalActions$3;"
(Change 3 to 99. There will be two of them. The other 3 will be a line down)
SAVE!
And in the GlobalActions$SinglePressAction.smali
Change this:
-.method static constructor ()V
TO THIS
.method static constructor <clinit> ()V
After following his directions editing GlobalActions$SinglePressAction.smali before saving check this post to make sure your spacing is correct.
kahvitahra guide. There is a zip file to download with three smali files you will need after you decompile the policy.jar
Thx bigfau....
updated the ISET page >>Mod section, with your 4 Way...looky looky...:cyclops:
http://forum.xda-developers.com/showpost.php?p=25111013&postcount=1
Awesome post! Thanks for your contribution .
Thanks Big, it was the <clinit> I didn't catch, mine was <init> lol, friggin syntax!

[GUIDE][GB] How to resize activity title bar like Windows Phone

ONLY FOR BEGINNER
{
"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"
}
This is a simple mod... you only need to resize..
What you need??
1. Your framework-res.apk
2. Knowledge about how to decompile and recompile APKs files
Let's begin!
1. Decompile your framework-res.apk
2. Open style.xml on res/values/here
3. Search this code:
Code:
<item name="windowTitleSize">XXX</item>
4. change the value "XXX" to "70.0px"
#Change the value to resize the height of your activity title bar
5. find this code
Code:
<style name="TextAppearance.WindowTitle" parent="@style/TextAppearance">
find this below that code "
Code:
<item name="textSize">XXX</item>
" and change the value XXX to "40.0sp"
6. recompile your framework-res.apk
7. push it into "system/framework/HERE"
8. reboot
Simple, right...
Press Thanks button if I help you..
Thank you
#MYKH
Thank for shared, sir!
mrkimi84 said:
Thank for shared, sir!
Click to expand...
Click to collapse
You are welcome sir
Sent from my A8T using xda premium

[Share] guide developers custom kernel with ROM

-Optimization custom kernel and android system
-Remove changes in build.prop and init.d scripts folder will not only serve Encourage the device
-Note: roms covers this does not bring this optimization must modify please cook ROM -
Code:
-Requirements:
-Apk manager
-Java install pc
-Framework-res.apk
-Decompile and compile knowledge framework-res.apk
-Notepad++
-Just a little patience
-now have to decompile the framework-res.apk and wait Aque finished extracting the files
-locate the next file in the framework-res.apk
Code:
framework-res.apk/res/xml/power_profile.xml
( here you'll find related signal, wifi, radio frequencies and codes Processor )
( to add missing values ​​use this <value> </ value> )
example capture:
{
"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"
}
-Here we verify that the value of the frequencies of all matching kernel with this file so that the entire operating system to work as it should be fast without lag
-Now compile the framework-res.apk and flasheelo in your terminal and check optimization

[GUIDE] Get Unlimited Free theme from Online Server[Primo S2 and all Gione Stock Rom]

How to Get unlimited free theme from Online Server?
{
"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"
}
Here I m giving you the guide to enable online theme.
First root your Primo S2 Using this Tutoril- Primo S2 Rooting Tutoril
Then follow the instructions below:
1. download build.prop editor from play store.
2. open build.prop editor and grant superuser.
3. search "theme" on build.prop editor
4. change the value of :
" ro.gn.theme.net.support" no to yes.and save.
" ro.gn.theme.style " 0 to 1 and save.
5. Now search "change" on build.prop editor and change the value of :
"ro.gn.change.support " no to yes.
Now reboot your device and check in theme section have download option. but its painfully slow speed to download though.
Join here for instant dev support for Primo S2: www.facebook.com/groups/waltonprimos
Our Project: http://github.com/waltonproject
Please click "Thank" button if this helps you

Categories

Resources