[Q] 4.1.2 lockscreen transparent - Sprint Samsung Galaxy Note II

for SynergyROM SPR GN2 r51. http://forum.xda-developers.com/showthread.php?t=2090160
i get lockscreen transparent
apktool d android.policy.jar
\smali\com\android\internal\policy\impl\KeyguardViewManager.smali .use i put.
and Ink effect http://forum.xda-developers.com/showthread.php?t=2024724
\smali\com\android\internal\policy\impl\sec\CircleUnlockRippleRenderer.smali
line 3516 if-ne v1, v2, :cond_1
to
line 3516 if-ne v2, v2, :cond_1
codeļ¼š
const/4 v3, 0x1
invoke-virtual/range {p2 .. p2}, Landroid/view/MotionEvent;->getPressure()F
move-result v4
invoke-static {v1, v2, v3, v4}, Lcom/android/internal/policy/impl/sec/JniWaterRippleRender;->onTouch(IIIF)V
:cond_0
invoke-virtual/range {p2 .. p2}, Landroid/view/MotionEvent;->getSource()I
move-result v1
and-int/lit16 v1, v1, 0x4002
const/16 v2, 0x4002
.change IF-NE V1, V2, :COND_1 to IF-NE V2, V2, :COND_1
IF-NE V2, V2, :COND_1
move-object/from16 v0, p0
iget v1, v0, Lcom/android/internal/policy/impl/sec/CircleUnlockRippleRenderer;->mouseX:F
float-to-int v1, v1
move-object/from16 v0, p0
sorry my english.:laugh:
KeyguardViewManager.smali downlink
http://pan.baidu.com/share/link?shareid=376287&uk=2869268968
CircleUnlockRippleRenderer.smali
http://pan.baidu.com/share/link?shareid=376293&uk=2869268968

test

lock screen
gsm2cdma said:
test
Click to expand...
Click to collapse
{
"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"
}

Related

[MOD] [HOW TO] Remove silent mode status bar indicator

How to remove
{
"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"
}
icon from status bar
This is a very easy mod if you follow all the steps exactly!
Thanks to nivron for creating this excellent tutorial on how to SMALI/BAKSMALI. Use the steps in his tutorial to decompile SystemUI.apk.
Additional thanks to SteelH for this thread.
In StatusBarPolicy.smali file look for the following code:
Code:
.method private final updateVolume()V
.registers 7
.prologue
const/4 v2, 0x1
const/4 v4, 0x0
NOTE: The actual code already has a blank line between .registers 7 and .prologue.
Insert return-void in the line below .registers 7, so the final code looks like this:
Code:
.method private final updateVolume()V
.registers 7
return-void
.prologue
const/4 v2, 0x1
const/4 v4, 0x0
Recompile classes.dex and replace it in the SystemUI.apk per nivron's tutorial mentioned above. Push SystemUI.apk back to the phone and reboot. Now when you select silent mode, the icon will not show on the taskbar.

[MOD] Change date string format in extended notification

Changing the date format
I own the VZW variant of the phone, but it seems this file is the same with all variants.
This mod will achieve 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"
}
Method 1
1. Locate DateView.smali in smali\com\android\systemui\statusbar\policy
2. On line 262 delete
Code:
invoke-static {v0}, Landroid/text/format/DateFormat;->getLongDateFormat(Landroid/content/Context;)Ljava/text/DateFormat;
3. Add
Code:
const-string v4, "EEEE, MMM d, yyyy"
invoke-static {v4, v3}, Landroid/text/format/DateFormat;->format(Ljava/lang/CharSequence;Ljava/util/Date;)Ljava/lang/CharSequence;
4. I prefer the "Day of week, Month (short), Day (w/o leading 0), Year" format, but you may choose to format it how you wish. Use this to help you with formatting.
Method 2
If you already like the way I've formatted the date. You can simply replace your DateView.smali with mine and compile your SystemUI.
There's no line 262 in the Sprint variant. There're 3 instances of this particular code in our DateView.smali. What's the surrounding code? I don't want to mess with the wrong lines one at a time...
EDIT: Ok, so I read the code wrong. I found 1 place in the smali file with the code, it's .line 136. However, performing the MOD makes the status bar disappear and forcecloses SystemUI.apk. It seems there's a difference b/w VZW and Sprint implementations of the date format. Pity...

[MOD][CM7] Enable Sensor Oriented Lockscreen

{
"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 mod allows lockscreen to rotate based on sensor. To install just flash LockScreenSensorEnable.zip from recovery.
This mod is based on alquez's Unofficial CM7 build dated 20120717 and may not work with other builds.
Don't try this on other ROMs.
Don't forget to make backup before flashing.
I take no responsibility for any harm that comes to your phone as a result of applying this mod.
Download:
LockScreenSensorEnable.zip
How to:
Decompile android.policy.jar with apktool
in com\android\internal\policy\impl\KeyguardViewManager.smali
Find:
Code:
const/4 v1, 0x[COLOR="Red"]5[/COLOR]
iput v1, v0, Landroid/view/WindowManager$LayoutParams;->screenOrientation:I
.line 121
const-string v1, "Keyguard"
Change to:
Code:
const/4 v1, 0x[COLOR="red"]2[/COLOR]
iput v1, v0, Landroid/view/WindowManager$LayoutParams;->screenOrientation:I
.line 121
const-string v1, "Keyguard"
I would have been gone with cm7 but there is problem in usb tether in latest build so i am waiting for fix....
Cm 7 will be most stable non sense rom ....with cm9 theme it looks awsm...thanx 4 developing...thanx hitted.
Sent from my HTC Wildfire S A510e using xda app-developers app

[Guide How-to] Sound effect supported all bluetooth devices

This mod will make Soung Alive by pass checking so make effects supported all bluetooth devices
I just found when some ROM supported but some not
Have Fun with new Sound
{
"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"
}
Decompile system\priv-app\SoundAlive_20_L
Edit
\smali\com\sec\android\app\soundalive\framework
Find .method public static isSupportSoundAliveBT(I)Z
Replace all method with this:
Code:
.method public static isSupportSoundAliveBT(I)Z
.locals 1
.param p0, "soundAlive" # I
.prologue
.line 214
const/4 v0, 0x1
return v0
.end method
Recompile ..... DONE
Wish i understood this
For SoundAlive_31, below is under smali/com/sec/android/app/soundalive/policy/SoundAlivePolicyManager.smali
.method public static isSupportSoundAliveBT(I)Z
.locals 1
.param p0 # I
const/4 v0, 0x1
return v0
.end method
Click to expand...
Click to collapse
Will your mod work same on SoundAlive_31?
wcoast said:
Will your mod work same on SoundAlive_31?
Click to expand...
Click to collapse
I don`t have that.
You can try to find .method public static isSupportSoundAliveBT(I)Z on smali
Yea same here i can't find that anywhere

[ MOD lockscreen 4.4.4 ] keyguard.apk

Hi!!
My new lockscreen for S3 with 4.4.4 roms ( with rom HYPER-ROM of Hyper.Alvi works well) . Two zips: v0 is normal version (default weather icons); v-htc with htc icons.
These zips contains keyguard.apk modified, WeatherDaemon2014.apk modified , Roboto-Thin.ttf modified ( only numbers ).
Normal version ( v0 )
https://www.dropbox.com/s/k0kqmifes... 4.4.4 ] keyguard ( v0 ) [ by dkt ].zip?dl=0
{
"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"
}
Htc version ( v-htc )
https://www.dropbox.com/s/ji6x3etnl41vi08/%5B%20MOD%20lockscreen%204.4.4%20%5D%20%20keyguard%20%28%20v-htc%20icons%20%29%20%5B%20by%20dkt%20%5D.zip?dl=0
by dkt
My best regards.
I like it
..
Thanks for your hardwork
really beautiful, but can you remove the clock from status bar? because is a repetition of central clock widget... same as lollipop and marshmallow touchwiz
thank you for your work
wheather does not work on Hyper rom V6! :/
is this work on pattern lock screen
i flash it and work fine but lock screen clock font ugly .larg.and not good font....why
After flashing and working it seems that filpboard doesn't work. Any fix or zip to undo changes? Thanks a lot
Enviado desde mi SM-N910C mediante Tapatalk

Categories

Resources