This is actually part of my freeNANDmod for the Samsung Galaxy S I9000. However, I would like to introduce this trick to all Samsung Galaxy SII I9100 users too.
The only difference is, for I9000, /dev/block/bml12 is used for holding the modem.bin file, while for I9100, it's /dev/block/mmcblk0p8.
In order to do the trick, put a modem file somewhere, say /data/modem/modem.bin, and create a symlink to it like the example below:
for I9000
ln -s /data/modem/modem.bin /dev/block/bml12
for I9100
ln -s /data/modem/modem.bin /dev/block/mmcblk0p8
Put it in a script file and place it under your init.d, usually /etc/init.d (or /system/etc/init.d), and it is suggested to name it with prefix 00 (zero zero) like 00-load-modem so that it can be executed first since scripts in init.d are executed in sequential order.
A sample init script should look like:
for I9000
rm /dev/block/bml12; ln -s /data/modem/modem.bin /dev/block/bml12
for I9100
rm /dev/block/mmcblk0p8; ln -s /data/modem/modem.bin /dev/block/mmcblk0p8
The "rm /dev/block/bml12" or "rm /dev/block/mmcblk0p8" command is used to remove the block device bml12 or mmcblk0p8 created by the system during init. You have to remove it first before you can create a symlink with the same name.
To see if it run correctly, put another version of modem instead of the one already on your phone to /data/modem/modem.bin after the init script is created. Reboot your phone and type *#1234# in the dialpad, you should see the new modem version is in use now. Note that after you have replaced the /data/modem/modem.bin with another modem, you'll need to reboot the phone.
So if you want to, you can place different versions of modem.bin file in /data/modem/ and symlink to modem.bin or overwritting it by copy and paste.
reference to my post: freeNANDmod - get more space from NAND - PART IV
Tampilkan postingan dengan label tip. Tampilkan semua postingan
Tampilkan postingan dengan label tip. Tampilkan semua postingan
Kamis, 29 September 2011
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, 15 Februari 2011
simple way to avoid mixed english and chinese (or other languages) contacts
personally, i don prefer to sort chinese contacts by pinyin, so ...
it's a simple way to show chinese contacts after english one, although it's a bit tricky
to do it, just add a chinese character of your choice (non-printable or chinese symbols) in front of the contact name in chinese, and now they will appear after the letter "Z"
it's a simple way to show chinese contacts after english one, although it's a bit tricky
to do it, just add a chinese character of your choice (non-printable or chinese symbols) in front of the contact name in chinese, and now they will appear after the letter "Z"
Langganan:
Postingan (Atom)