T
The Matrix
Ambitioniertes Mitglied
- 18
hi,
if you have many data on your mot_boot_mode,
the editing can be difficult.
so, I created a script that allows to separate
the code of the different initialization scripts.
so, you may include in a directory files
initialization and that they be read by mot_boot_mode
automatically, thus adding a new code
is to simply copy a file to this directory.
to do this have to do that:
1) mounting system for read and write
2) create the directory where all scripts are stored
3) copy all the scripts.
assuming that they have in /sdcard/boot_scripts
(Attached the Dalvik-Cache moving and overclocking)
(lock at the overlock script. it assumes you've
the overclock.ko at /system/modules/)
4) preserve the original mot_boot_mode
(Not do if they had done)
5) copy the new mot_boot_mode
assuming they have left in /sdcard
and now all the files at the "/system/boot_scripts"
are executed in boot time
greetings and enjoy
if you have many data on your mot_boot_mode,
the editing can be difficult.
so, I created a script that allows to separate
the code of the different initialization scripts.
so, you may include in a directory files
initialization and that they be read by mot_boot_mode
automatically, thus adding a new code
is to simply copy a file to this directory.
to do this have to do that:
Code:
i've tried, and working, but i'm not responsible for
damages, brickes, etc... :)
Code:
rwsystem
Code:
mkdir /system/boot_scripts
chmod 755 /system/boot_scripts
assuming that they have in /sdcard/boot_scripts
(Attached the Dalvik-Cache moving and overclocking)
(lock at the overlock script. it assumes you've
the overclock.ko at /system/modules/)
Code:
cp /sdcard/boot_scripts/* /system/boot_scripts
chmod 755 /system/boot_scripts/*
(Not do if they had done)
Code:
cp /system/bin/mot_boot_mode /system/bin/mot_boot_mode.bin
chmod 755 /system/bin/mot_boot_mode.bin
assuming they have left in /sdcard
Code:
cp -f /sdcard/mot_boot_mode /system/bin
chmod 755 /system/bin/mot_boot_mode
are executed in boot time
greetings and enjoy
Anhänge
Zuletzt bearbeitet: