Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #!/bin/bash
- if [ "$(id -u)" != "0" ]; then
- echo "Run script as root or use sudo ./honeystreaklinuxinstall.sh"
- echo "Press any key to exit"
- read
- exit 1
- fi
- clear
- echo "Script created by ShawnArthur @ tabletroms.com forum"
- echo "use to flash DJ_Steves' DS7 Mods - thanks DJ_Steve"
- echo "v0.3"
- echo " "
- echo "Step 1: Make sure your Dell Streak 7 is fully charged and powered off."
- echo "Step 2: Hold down the 'vol plus' and 'vol down' buttons, while plugging the cable into the device; this puts it into APX mode."
- echo " "
- lsusb
- echo " "
- echo "If you see ID 0955:7820 NVidia Corp. listed above then you are ready to go."
- echo
- echo "If you don't see your device listed then try again from step 1 "
- echo
- echo "Press any key to begin..."
- read
- echo
- ls region_img/
- echo
- echo "Plese select your region from the above list (type entire file name):"
- read region
- cp -v ./region_img/$region RC_download.img
- echo "Finshed copying region code"
- echo
- echo "During the flash process the internal partitions will be set up."
- echo "Choose how much space you want on the OS partition:"
- echo "1..2GB"
- echo "2..3GB"
- echo "3..4GB"
- echo "4..5GB"
- echo "5..6GB"
- read howmanygb
- case $howmanygb in
- "1" ) config="android_2gb.cfg";;
- "2" ) config="android_3gb.cfg";;
- "3" ) config="android_4gb.cfg";;
- "4" ) config="android_5gb.cfg";;
- "5" ) config="android_6gb.cfg";;
- esac
- echo "Your region is $region and you chose $config as your system config file."
- echo "Is this correct? (y/n)"
- read correct
- if [ $correct = "y" ]; then
- echo
- echo "Proceed to run the following command './nvflash --bct Streak7.bct --setbct --configfile $config --create --bl bootloader.bin --odmdata 0x8b0c0011 --go' ?"
- echo
- echo "Press any key to continue..."
- read
- ./nvflash --bct Streak7.bct --setbct --configfile $config --create --bl bootloader.bin --odmdata 0x8b0c0011 --go
- fi
- echo
- echo
- echo "After all the files have been sent, unplug the device and hold the power button untill it boots"
- echo "Press any key to exit"
- read
- exit 0
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement