Things needed:
- ADB
- Root Explorer (If you have it)
- Get all the files you want to have pre-installed in the ROM.
- Start the command prompt
- Use this code to put them in "/system/app" if you are using ADB.
Code:
adb shell su mount -o remount,rw /dev/block/stl9 /system exit exit adb push nameofapk.apk /system/app/
- Delete all the files you don't want to have pre-installed in the ROM.
Code:
adb shell su mount -o remount,rw /dev/block/stl9 /system rm /system/app/nameofapk.apk
- When you are done and satisfied with modifying the system, use this code in command prompt.
Code:
adb shell su mount -o remount,rw /dev/block/stl9 /system dd if=/dev/block/stl6 of=/sdcard/factoryfs.rfs exit
- After you do that, use Total Commander to replace the freshly created factoryfs.rfs on the sdcard in an existing .tar file.
- Flash your phone with the tar file to see if it boots.
- If it boots, Congratulations. If it does not boot, try again.
- If it still doesn't work, ask me some questions.
No comments:
Post a Comment