OUKITEL K6000 Plus Giveaway

You can search for some eggs these days or hide some for your children,
but you won't like to miss the FreakTab Easter Giveaway Action sponsored by EFOX.

Click here to Enter -->
See more
See less

A New For TV boxes.

  • Filter
  • Time
  • Show
Clear All
new posts

  • A New For TV boxes.

    Abdul_PT Created a Script for me to use in a Firmware that i Am Building For the KII units. I Was Running Low on System Space and I needed to Compress data to save space on the system partition.

    I Made Some Simple Modifications. And Have tested them out and it appears to work well. Your mileage May vary

    This Script Should Log any Errors to ' /storage/emulated/legacy/Android/preinstall_script_err_log '

    It Will Install Apps (APKS) from preinstall.tar.gz. just place your apk files in the root of the archive (I used maximum compression and ultra with no issues)
    You Can Also Place your uncompressed apks in /preinstall
    It Will install data to the "Home" Folder Android,DCIM,Download,media (etc,etc) from datapack.tar.gz I have included a Template
    Datapack.tar.gz Template!fkYT3TQQ!P0TqdZfX_...oJivh0YuQclYeU

    All the Credit goes to Abdul_PT

    if [ ! -e $APPMARK ]; then
    echo "The System is Booting for the First Time, Please Wait While Some Apps Are Pre-installed"
    mkdir -p /storage/emulated/legacy/apps 2>&1 | tee $LOG
    mkdir -p /storage/emulated/legacy/Download 2>&1 | tee $LOG
    busybox find $PKGS -name "*\.apk" -exec sh /system/bin/pm install {} \; 2>&1 | tee $LOG
    # The Below Script Will install apps (APKS) from preinstall.tar.gz (just create it with all your apks in the root of the archive #
    busybox tar xzf $PKGS/preinstall.tar.gz -C /storage/emulated/legacy/apps 2>&1 | tee $LOG
    busybox find /storage/emulated/legacy/apps -name "*\.apk" -exec sh /system/bin/pm install {} \; 2>&1 | tee $LOG
    busybox rm -rf /storage/emulated/legacy/apps 2>&1 | tee $LOG
    touch $APPMARK
    echo "Application Pre-install complete. Please wait While the Data Pack is Extracted"
    # Install "DATAPACK" It is a Tar.gz that will install data to /storage/emulated/0 (legacy in this script) #
    # You Can Use this to include files and or data in that location for example preload a downloads folder with some games or include your own custom xbmc config #
    if [ ! -e $DCONF ]; then
       mkdir -p /storage/emulated/legacy/Android/data/org.xbmc.kodi 2>&1 | tee $LOG
       mkdir -p /storage/emulated/legacy/DCIM 2>&1 | tee $LOG
       mkdir -p /storage/emulated/legacy/wallpapers
    busybox tar xzf $PKGS/datapack.tar.gz -C $DATA 2>&1 | tee $LOG
    touch $DCONF

  • #2
    If I add echo "1" > /sys/devices/virtual/amhdmitx/amhdmitx0/rgb_mode
    will it work?