[Guide How-to] Sound effect supported all bluetooth devices - Note Edge Themes and Apps

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

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

[4.2.1][GUIDE] How to change incoming call widget color

This guide will show you how to change the incoming call widget color for 4.2.1 and 4.1.2.
1. Decompile SecPhone.apk
2. Open smali\com\android\phone\IncomingCallWidget$Handle.smali with Notepad++
3. In .method private init()V search for mCircleColor:I above it you wil see something like:
Code:
[COLOR=#ffa500][COLOR=#ffa500][COLOR=#ffa500][COLOR=#0000ff]const[/COLOR] [COLOR=#d2691e]v6[/COLOR], [COLOR=#ff00ff]0x7f02039b[/COLOR][/COLOR][/COLOR][/COLOR]
[COLOR=#ffa500][COLOR=#ffa500][COLOR=#ffa500] [COLOR=#0000ff]invoke-virtual[/COLOR] {[COLOR=#d2691e]v5[/COLOR], [COLOR=#d2691e]v6[/COLOR]}, [COLOR=#808080]Landroid/widget/[/COLOR][COLOR=#008080]ImageView[/COLOR];->[COLOR=#6b8e23]setBackgroundResource[/COLOR](I)[COLOR=#ffa500]V[/COLOR][/COLOR][/COLOR][/COLOR]
[COLOR=#ffa500][COLOR=#ffa500] [COLOR=#008000].line 485[/COLOR][/COLOR][/COLOR]
[COLOR=#ffa500]
[COLOR=#ffa500] :[COLOR=#ff1493]goto_0[/COLOR][/COLOR]
[COLOR=#ffa500]
[COLOR=#0000ff]const[/COLOR] [COLOR=#d2691e]v5[/COLOR], -[COLOR=#ff00ff]0x9e5eeb[/COLOR]
[/COLOR][COLOR=#ffa500][/COLOR][COLOR=#ffa500] iput [COLOR=#d2691e]v5[/COLOR], [COLOR=#d2691e]p0[/COLOR], [COLOR=#808080]Lcom/android/phone/[/COLOR][COLOR=#008080]IncomingCallWidget$Handle[/COLOR];->[COLOR=#9370db]mCircleColor[/COLOR]:I[/COLOR]
[/COLOR][COLOR=#ffa500][/COLOR]
Change this constv5, -0x9e5eeb to what ever color you want (takes hex value) eg: constv5, 0xff000000 would be black.
4. Change ic_jog_dial_answer.png in drawable-xhdpi to match color.
5. Recompile.
6. Hit thanks. Your done.
{
"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!
Very nice! Thanks for your hard work, big push on thanks button for you mate!
Mr.Mefisto said:
Very nice! Thanks for your hard work, big push on thanks button for you mate!
Click to expand...
Click to collapse
No worries mate.

[Q] 4.1.2 lockscreen transparent

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"
}

Categories

Resources