Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #!/sbin/sh
- cat /sys/devices/platform/ab8500-i2c.0/ab8500-usb.0/boot_time_device > /sys/devices/platform/ab8500-i2c.0/ab8500-usb.0/boot_time_device
- setprop service.adb.root 1
- if [ -e /sbin/bootrec-device ]
- then
- /sbin/bootrec-device
- fi
- if [ -s /dev/keycheck -o -e /cache/recovery/boot ]
- then
- rm /cache/recovery/boot
- stop ta_rmt_service
- stop rmt_storage
- stop tad
- mount -o remount,rw rootfs /
- umount -l /system
- umount -l /data
- umount -l /cache
- umount -l /mnt/sdcard
- umount -l /mnt/external_sd
- rm -r /sdcard
- rm -r /mnt/sdcard
- rm -r /external_sd
- rm -r /mnt/external_sd
- mkdir /sdcard
- mkdir /external_sd
- mkdir /tmp
- rm /etc
- mkdir /etc
- cp /recovery.fstab /etc/recovery.fstab
- /sbin/bootrec-device-fs
- /sbin/recovery&
- fi
- #continue booting
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement