UPDATE: Galaxy S3 browser default storage not saved bug fix
- this is a modded version of deodexed stock Browser.apk for I9100 which allows users to change or increase the default font size (text size) in the browser
- based on the one included in DlevROM2_2.1_KI3 by Dlev7 with user agent option
- just replace the Browser.apk under /system/app/ with the one attached
RC1 - 201111020139HKT
- tested on "my modded KI8" without problem
- since i have other modifications to my rom and kernel, it's POSSIBLE that IT MAY NOT run properly on yours
- ATM, it is suggested that normal users to wait for the feedbacks from other users before installing it
- kindly PLEASE REPORT it here or on my blog, telling me and others if it works, thx a lot!!
features/changelog
RC1:
- allow to set font size under settings in the browser
NOTE
- always do a BACKUP first!!
- feel free to port it or make further enhancements like seekbar, etc
- if u r going to port it or include this mod to your rom, kindly pls put a link to this page for statistic purpose
- if u like this mod/my works, please consider a small donations, and/or by visiting my blog @ http://ykkfive.blogspot.com more often :D
download
Browser.apk - RC1
Tampilkan postingan dengan label mods. Tampilkan semua postingan
Tampilkan postingan dengan label mods. Tampilkan semua postingan
Selasa, 01 November 2011
Senin, 31 Oktober 2011
new browser mod - set font size
UPDATE2: Galaxy S3 browser default storage not saved bug fix
UPDATE: increase browser font size mod RC1 (change text size)
this is an important function i need for the browser. now, with this mod, i don need to double tap the web pages everytime a page is loaded to make the contents readable, and no more scrolls needed to center the page and columns
here are some samples:
i will upload it after i have cleaned up the smali files later
UPDATE: increase browser font size mod RC1 (change text size)
this is an important function i need for the browser. now, with this mod, i don need to double tap the web pages everytime a page is loaded to make the contents readable, and no more scrolls needed to center the page and columns
here are some samples:
normal | medium | large |
i will upload it after i have cleaned up the smali files later
Jumat, 21 Oktober 2011
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:
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

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
Minggu, 24 Juli 2011
getting bored with ur i9000 already? yet more to come!
hi all,
i still have some more mods/tweaks not yet published. pls kindly give me some time to tidy them up and be patient. i also have to decide in what way to publish them since, as usual, i prefer not to release mods in a complete rom format
:)
i still have some more mods/tweaks not yet published. pls kindly give me some time to tidy them up and be patient. i also have to decide in what way to publish them since, as usual, i prefer not to release mods in a complete rom format
:)
Selasa, 05 Juli 2011
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
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
Selasa, 15 Februari 2011
JPY sms sent time fix works in JS5
tested and confirmed it's working fine in I9000XWJS5. and it seems the sorting problem for immediate reply is solved
reference:
let Android SMS messages show sent time instead of received time
reference:
let Android SMS messages show sent time instead of received time
Label:
android,
custom,
customized,
fix,
galaxy S,
I9000,
mods,
received time,
sent time,
sms,
timestamp,
update
Kamis, 10 Februari 2011
some reviews about my works
just found some articles/reviews talking about my sms mod and loop device mod. i am really appreciated
here they are:
hitting over 2700 in benchmarks with new fix (by soraxd@samsunggalaxysforums.com)
SMS – Show Sent Time For Galaxy S i9000 (by www.xda-developers.com)
XDA Brings You Custom Apps: See The Time Text Was Sent, and Stream TV (by www.talkandroid.com)
香港版卡三爽? (in chinese)
here they are:
hitting over 2700 in benchmarks with new fix (by soraxd@samsunggalaxysforums.com)
SMS – Show Sent Time For Galaxy S i9000 (by www.xda-developers.com)
XDA Brings You Custom Apps: See The Time Text Was Sent, and Stream TV (by www.talkandroid.com)
香港版卡三爽? (in chinese)
Sabtu, 07 Agustus 2010
scored 2234 with stock I9000ZSJF7 on my Samsung Galaxy S I9000
after playing with Andriod for a month, I found a way to speed up the Android system by creating loop devices, no data2sd required
no more lags, smooth scrolling/zooming in and out in default browser with a web page contains more than 170 images, much faster cache for browser, market and other apps retrieval and listing
here's how:
- create an empty file with dd (i chose -b 4096 -m 1)
- mount it to loopx and format it with ext2 (busybox)
- create mount points and create links, eg
mount -o rw,noatime,nodiratime /dev/loop0 /dbdata/dbdataimage
then mv files and folders to /dbdata/dbdatimage
so, instead of reading /dbdata/databases/com.1.2.3, it will be linked to /dbdata/dbdataimage/databases/com.1.2.3
- finally write a script to mount them on boot by replacing playlogos1
simply speaking, is to run on an ext2 file block in rfs, and that's all for the trick!!
WARNING:
- i did it for /cache, /dbdata and /data only
- empty files, folders, and sym links will be deleted by the system under /cache
- dont reboot the phone when u've temporarily moved /dbdata/databases to a slow partition like /data
personally, i moved /data/data and /data/dalvik-cache to /dbdata and moved browser and market cache files to /cache
it's not for the benchmark only, instead, it has very good effects on ur phone's io
for the loop device:
busybox mknod /dev/loop0 b 7 0
busybox losetup /dev/loop0 /dbdata/dbdata.img
busybox mkfs.ext2 /dev/loop0
then mount it
and, here's my mount output:
rootfs / rootfs ro 0 0
tmpfs /dev tmpfs rw,mode=755 0 0
devpts /dev/pts devpts rw,mode=600 0 0
proc /proc proc rw 0 0
sysfs /sys sysfs rw 0 0
/dev/block/stl6 /mnt/.lfs j4fs rw 0 0
tmpfs /sqlite_stmt_journals tmpfs rw,size=4096k 0 0
none /dev/cpuctl cgroup rw,cpu 0 0
/dev/block/stl9 /system rfs rw,vfat,llw,check=no,gid/uid/rwx,iocharset=utf8 0 0
/dev/block/mmcblk0p2 /data rfs rw,nosuid,nodev,noatime,nodiratime,vfat,llw,check= no,gid/uid/rwx,iocharset=utf8 0 0
/dev/block/stl10 /dbdata rfs rw,nosuid,nodev,noatime,nodiratime,vfat,llw,check= no,gid/uid/rwx,iocharset=utf8 0 0
/dev/block/stl11 /cache rfs rw,nosuid,nodev,noatime,nodiratime,vfat,llw,check= no,gid/uid/rwx,iocharset=utf8 0 0
/dev/block/stl3 /efs rfs rw,nosuid,nodev,vfat,llw,check=no,gid/uid/rwx,iocharset=utf8 0 0
/dev/loop0 /dbdata/dbdata1 ext2 rw,noatime,nodiratime,errors=continue 0 0
/dev/loop2 /cache/cache1 ext2 rw,noatime,nodiratime,errors=continue 0 0
/dev/loop2 /cache/market ext2 rw,noatime,nodiratime,errors=continue 0 0
/dev/loop2 /cache/browser ext2 rw,noatime,nodiratime,errors=continue 0 0
/dev/block//vold/179:1 /sdcard vfat rw,dirsync,nosuid,nodev,noexec,uid=1000,gid=1015,f mask=0102,dmask=0002,allow_utime=0020,codepage=cp4 37,iocharset=iso8859-1,shortname=mixed,utf8,errors=remount-ro 0 0
/dev/block//vold/179:9 /sdcard/sd vfat rw,dirsync,nosuid,nodev,noexec,uid=1000,gid=1015,f mask=0000,dmask=0000,allow_utime=0022,codepage=cp4 37,iocharset=iso8859-
1,shortname=mixed,utf8,errors=remount-ro 0 0
- no need to deal with /data
- the major thing is /dbdata/databases
- it wont have impact when u connect it to ur pc/kies since kies only deal with /sdcard and /sdcard/sd only, which both r out of my concern
- to see the improvement, simply do a dd and u'll see the difference
what suprised me is that, i found in one of the taiwan's forum, ppl called it "Hong Kong's Lag Fix" (香港版卡三爽)
more info (chinese)
more info
no more lags, smooth scrolling/zooming in and out in default browser with a web page contains more than 170 images, much faster cache for browser, market and other apps retrieval and listing
here's how:
- create an empty file with dd (i chose -b 4096 -m 1)
- mount it to loopx and format it with ext2 (busybox)
- create mount points and create links, eg
mount -o rw,noatime,nodiratime /dev/loop0 /dbdata/dbdataimage
then mv files and folders to /dbdata/dbdatimage
so, instead of reading /dbdata/databases/com.1.2.3, it will be linked to /dbdata/dbdataimage/databases/com.1.2.3
- finally write a script to mount them on boot by replacing playlogos1
simply speaking, is to run on an ext2 file block in rfs, and that's all for the trick!!
WARNING:
- i did it for /cache, /dbdata and /data only
- empty files, folders, and sym links will be deleted by the system under /cache
- dont reboot the phone when u've temporarily moved /dbdata/databases to a slow partition like /data
personally, i moved /data/data and /data/dalvik-cache to /dbdata and moved browser and market cache files to /cache
it's not for the benchmark only, instead, it has very good effects on ur phone's io
for the loop device:
busybox mknod /dev/loop0 b 7 0
busybox losetup /dev/loop0 /dbdata/dbdata.img
busybox mkfs.ext2 /dev/loop0
then mount it
and, here's my mount output:
rootfs / rootfs ro 0 0
tmpfs /dev tmpfs rw,mode=755 0 0
devpts /dev/pts devpts rw,mode=600 0 0
proc /proc proc rw 0 0
sysfs /sys sysfs rw 0 0
/dev/block/stl6 /mnt/.lfs j4fs rw 0 0
tmpfs /sqlite_stmt_journals tmpfs rw,size=4096k 0 0
none /dev/cpuctl cgroup rw,cpu 0 0
/dev/block/stl9 /system rfs rw,vfat,llw,check=no,gid/uid/rwx,iocharset=utf8 0 0
/dev/block/mmcblk0p2 /data rfs rw,nosuid,nodev,noatime,nodiratime,vfat,llw,check= no,gid/uid/rwx,iocharset=utf8 0 0
/dev/block/stl10 /dbdata rfs rw,nosuid,nodev,noatime,nodiratime,vfat,llw,check= no,gid/uid/rwx,iocharset=utf8 0 0
/dev/block/stl11 /cache rfs rw,nosuid,nodev,noatime,nodiratime,vfat,llw,check= no,gid/uid/rwx,iocharset=utf8 0 0
/dev/block/stl3 /efs rfs rw,nosuid,nodev,vfat,llw,check=no,gid/uid/rwx,iocharset=utf8 0 0
/dev/loop0 /dbdata/dbdata1 ext2 rw,noatime,nodiratime,errors=continue 0 0
/dev/loop2 /cache/cache1 ext2 rw,noatime,nodiratime,errors=continue 0 0
/dev/loop2 /cache/market ext2 rw,noatime,nodiratime,errors=continue 0 0
/dev/loop2 /cache/browser ext2 rw,noatime,nodiratime,errors=continue 0 0
/dev/block//vold/179:1 /sdcard vfat rw,dirsync,nosuid,nodev,noexec,uid=1000,gid=1015,f mask=0102,dmask=0002,allow_utime=0020,codepage=cp4 37,iocharset=iso8859-1,shortname=mixed,utf8,errors=remount-ro 0 0
/dev/block//vold/179:9 /sdcard/sd vfat rw,dirsync,nosuid,nodev,noexec,uid=1000,gid=1015,f mask=0000,dmask=0000,allow_utime=0022,codepage=cp4 37,iocharset=iso8859-
1,shortname=mixed,utf8,errors=remount-ro 0 0
- no need to deal with /data
- the major thing is /dbdata/databases
- it wont have impact when u connect it to ur pc/kies since kies only deal with /sdcard and /sdcard/sd only, which both r out of my concern
- to see the improvement, simply do a dd and u'll see the difference
what suprised me is that, i found in one of the taiwan's forum, ppl called it "Hong Kong's Lag Fix" (香港版卡三爽)
more info (chinese)
more info
Label:
comparison,
ext2,
lagfix,
loop device,
mods,
noatime,
nodiratime,
partition,
playlogos,
rfs,
smooth,
speed,
tweaks
Langganan:
Postingan (Atom)