Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- @echo off
- cls
- echo.
- echo.
- echo.
- echo.
- echo The Android Creative Syndicate
- echo.
- echo Presents to you
- echo.
- echo ShabbyMod for the Samsung Prevail
- echo.
- echo Version 0.9-5
- echo Loaded - Edition
- echo.
- pause
- cls
- echo.
- echo You need to enable usb debugging first
- echo Go to settings - applications - development
- echo PRESS ENTER WHEN DONE
- pause
- adb.exe kill-server
- adb.exe start-server
- adb.exe reboot
- adb.exe wait-for-device
- echo
- cls
- IF NOT EXIST KillingMeSoftly goto :Missing
- adb.exe push KillingMeSoftly /data/local/tmp > NUL 2>&1
- adb.exe shell chmod 777 /data/local/tmp/KillingMeSoftly > NUL 2>&1
- adb.exe shell cd /data/local/tmp; ./KillingMeSoftly
- adb.exe kill-server
- echo Wait for phone to reconnect...
- @ping 127.0.0.1 -n 15 -w 1000 > nul
- adb start-server
- adb wait-for-device
- adb.exe shell mount -o remount,rw -t rfs /dev/stl12 /system
- adb.exe push rootsetup /data/local/tmp/rootsetup
- adb.exe shell chmod 755 /data/local/tmp/rootsetup
- adb.exe shell ./data/local/tmp/rootsetup
- adb.exe shell rm /data/local/tmp/rootsetup
- adb.exe shell sync
- echo.
- echo Copying files onto phone...
- adb.exe shell mkdir /system/xbin
- adb.exe push Rom/Xbin/su /system/xbin/su
- adb.exe push Rom/Xbin/busybox /system/xbin/busybox
- adb.exe push Rom/Xbin/remount /system/xbin/remount
- adb.exe push Rom/Xbin/profile /system/xbin/profile
- echo.
- echo Setting permissions...
- adb.exe shell chmod 755 /system/xbin/busybox
- adb.exe shell chmod 755 /system/xbin/remount
- adb.exe shell chmod 0644 /system/xbin/profile
- adb.exe shell ln -s /system/xbin/profile /system/bin/profile
- adb.exe shell chown root.shell /system/xbin/su
- adb.exe shell chmod 6755 /system/xbin/su
- adb.exe shell ln -s /system/xbin/su /system/bin/su
- echo.
- echo Installing busybox...
- adb.exe shell /system/xbin/busybox --install -s /system/xbin
- echo.
- echo Installing custom rom...
- adb.exe shell rm -r /system/app
- adb.exe shell mkdir /system/app
- adb.exe push Rom/App /system/app
- adb.exe shell rm /system/bin/samsungloop
- adb.exe push Rom/Bin/Samsungloop /system/bin/samsungloop
- adb.exe shell chmod 777 /system/bin/samsungloop
- adb.exe push Rom/Media/RingToneSong.mp3 /data/local/RingToneSong.mp3
- adb.exe push Rom/Media/Bootanimation.zip /data/local/bootanimation.zip
- adb.exe push Rom/Xbin/Screenshot.apk /data/app/Screenshot.apk
- echo Installing Etc tweaks
- adb.exe push Rom/Etc /system/etc
- adb.exe push Rom/Fonts /system/fonts
- echo Speeding up Media Scanner
- adb.exe push Rom/Xbin/nomedia.sh /system/xbin/nomedia.sh
- adb.exe push Rom/Xbin/nomedia /system/xbin/.nomedia
- adb.exe shell chmod 755 /system/xbin/nomedia.sh
- adb.exe shell cd /system/xbin; ./nomedia.sh
- echo Installing Frameworks
- adb.exe push Rom/build.prop /system/build.prop
- adb.exe shell rm -r /system/framework
- adb.exe shell mkdir /system/framework
- adb.exe push Rom/Framework /system/framework
- adb.exe push Rom/build.prop /system/build.prop
- echo.
- echo Cleaning up files...
- @ping 127.0.0.1 -n 6 -w 1000 > nul
- adb.exe shell rm /data/local/tmp/KillingMeSoftly
- adb.exe shell rm /system/xbin/nomedia.sh
- adb.exe shell reboot
- echo It's Not required but a factory wipe in settings will improve user experience
- echo keep in mind tho wiping the phone will reset all data and accounts
- pause
- adb.exe kill-server
- goto:eof
- :Missing
- echo KillingmeSoftly is missing. Make sure you extracted the zip archive correctly.
- pause
Add Comment
Please, Sign In to add comment