Tampilkan postingan dengan label deodexed. Tampilkan semua postingan
Tampilkan postingan dengan label deodexed. Tampilkan semua postingan

remove battery fully charged notification icon and sound

perhaps this is one of the most annoying issues, i cannot understand why we need two icons on the status bar if the battery is fully charged

although there are some how-to already, i wanna show you an alternative way to do it
here is an simplier way to remove the icon (plus the notification sound and screen on when the battery is fully charged if you want to). you can opt to disable all of them, or with any one of them enabled only

*this is for DEODEXED files ONLY!! tested on Android 2.3 KI8 and should work with other versions also


- decompile SystemUI.apk
- open StatusBarPolicy.smali under smali/com/android/systemui/statusbar/policy directory with your favorite text editor
- search for ".method private addFullChargeNotification()V" without quotes
- scroll down a bit and you will find something like:

.line 2300
new-instance v2, Landroid/app/Notification;

const v3, 0x7f02002a

const-wide/16 v4, 0x0

invoke-direct {v2, v3, v1, v4, v5}, Landroid/app/Notification;->(ILjava/lang/CharSequence;J)V

.line 2301
iget v3, v2, Landroid/app/Notification;->flags:I

or-int/lit8 v3, v3, 0x2

iput v3, v2, Landroid/app/Notification;->flags:I

those ".line xxxx" above should be different with yours, and
0x7f02002a is the ID of the battery full icon, you may find it differs and that's fine


for the tweak:

option 1 - replace 0x7f02002a with 0x0

for example, before change:
const v3, 0x7f02002a

after change:
const v3, 0x0


option 2 - add a hash sign (#) before the line const v3, 0x7f02002a and write a new line below it, just in case you want to roll it back

for example, before change:
const v3, 0x7f02002a

after change:
#const v3, 0x7f02002a
const v3, 0x0


also note that the number of hash signs or empty spaces before the line are NOT important!! so all of the lines below are valid:

# const v3, 0x7f02002a
# # const v3, 0x7f02002a
##### const v3, 0x7f02002a




how does this work?

after reading the souce code of Notification.smali, i found that it accepts notification without an icon by calling it with the icon parameter with a zero (which is the 0x0 above)



remove notification sound and screen on
in case you want to remove the notification sound as well, scroll down a bit more and put a # in front of the line as below:

# invoke-direct {p0, v0}, Lcom/android/systemui/statusbar/policy/StatusBarPolicy;->playTone(Landroid/net/Uri;)V



and for the screen on after fully charged, make these changes below the playTone found in above:

# .line 2308
# invoke-direct {p0}, Lcom/android/systemui/statusbar/policy/StatusBarPolicy;->turnOnScreenWithForce()V



to see the result, upload the recompiled SystemUI.apk to /system/app/, and type in adb (no need to reboot/wipe, etc):

kill -HUP `pidof system_server`


and you should notice the changes immediately



2.3.4 I9000JV and I9100 browser lag problems fixed finally

the lag problems, together with animations, etc, have been fixed for deodexed JVO/JVP/JVQ/JVR browser, credits to brightidea for correcting the problems, and lirik0 for letting us know in I9000 section


read more

JVQ Browser lag quick fix

i'm too frustrated with samsung's stock browser since JP6, and the deodexed one from JVQ is totally rubbish. it's sooooo lag that i've to wait for 2 seconds after each scroll


so, after studying some great posts in xda, i've modded a deodexed JVQ browser with all the lag things disappeared. now it just perform like what it used to be, u can scroll from the top to the bottom of the page with 1 single scroll. HOWEVER, i cannot say it's 100% bugs-free



so, USE IT AT YOUR OWN RISKS!! and remember to do BACKUP!




installation (for deodexed rom):
simply remove the existing Browser.apk from /system/app, and put this one there

PS you may notice some strange thing when u start this modded browser for the 1st time like a blank page is shown or cant scroll the page. just reload the page or restart the browser will do


NOTICE to all users:
- this is a one-off mod and it is not supposed to have any further modifications/adjustments

NOTICE to modders/developers:
- if u want to keep this alive or help to maintain this mod, etc, feel free to ask for the trick in xda


you can get it here

gingerbread sms no contact limit + no mms autoconvert + sent time fix

the long awaited gingerbread sms mod for deodexed I9000XWJVB and I9000XWJVH are out finally. they are not modded by me this time but, instead, by another nice guy called montymintypie in the xda forum, who also fixed the limit of number of msgs per sms and the auto convert to mms problem


more info and download

more info about my froyo version sms sent time fix for I9000XWJS5 and I9000XXJPX/I9000XXJPY