Overall performance of NAND storage vs. micro SD vs. USB stick ?

  • Is this option available now?

    Also, one bit of confusion. After nand install, is it still possible to boot from SD for testing future versions in the same manner? Does installtointernal still work the same way in this case?

    Not yet. I've modified the script but I need to test it first. If you want to take a look at it or test:

    Code
    wget http://kszaq.libreelec.tv/s905/devel/2016-11-15-script/installtointernal
    chmod +x installtointernal
    ./installtointernal

    Yes, as long as you have SD card with LE insterted your box will boot from SD, no matter which system you have on internal memory. I do this at home for testing: stable version for family on internal memory, testing from SD.

  • Not yet. I've modified the script but I need to test it first. If you want to take a look at it or test:

    Code
    wget http://kszaq.libreelec.tv/s905/devel/2016-11-15-script/installtointernal
    chmod +x installtointernal
    ./installtointernal

    Thanks. Worked fine (had to reboot and run again, but...)

  • Thanks. Worked fine (had to reboot and run again, but...)

    "Old" script rebooted from internal :

    echo "All done! Rebooting in 10s..."
    sleep 10
    rebootfromnand

    And new script just prints this :

    echo "All done! You can now continue using your LE system or type \"rebootfromnand\" to reboot from internal memory."
    echo "WARNING: If your internal memory layout is different from standard Amlogic, you have to reboot and perform this operation again!"

  • I have Nexbox A95X with LE.008 version on SD. After reading this topic I think will instal LE to internal memory but first have questions - If something go wrong or i will change my mind in future can I install back android (stock firmware)? To make it just the same as upgrading stock firmware from SD?


  • I have Nexbox A95X with LE.008 version on SD. After reading this topic I think will instal LE to internal memory but first have questions - If something go wrong or i will change my mind in future can I install back android (stock firmware)? To make it just the same as upgrading stock firmware from SD?

    Yes, you can find the Android firmware (current version is update_103.zip) here : Mini M8S II 4K Smart TV Box Amlogic S905X 2/8GB WiFi 10/100 LAN BT - FreakTab.com

    You'll also need a Windows PC and the "Customization Tool" binary.

  • Ok so think will check nand install performance.
    My version of A95X is 1/8GB S905 (without X). Now i have updated so already have current verson just in case:)

    Edited once, last by jazzy (November 16, 2016 at 12:37 PM).


  • SD - 19.5 MB/s
    Internal - 109 MB/s!!!!

    I think I need to move to internal

    I use a 95 MB/s read/write microSD card and it is very fast, but I still think eMMC memory is faster. These premium microSD cards are used to record 4k video, therefore they need to be fast. Personally I prefer installing to eMMC rather than using a microSD card. I do that for testing purposes only, just to make sure everything works correctly before installing to eMMC.

  • In the LibreELEC settings create a system backup which will backup everything. Use the installtointernal command then go back into libreelec settings and restore from back.

    Everything will be excatly the same.

    After instal to Nand have problem with personal settings. I can not make backup when booting from SD. I have informaation - not enough space. Even if I try to use external hdd or usb always the same information - not enough space. Is there any other way to "copy" settings from SD to internal?


  • After instal to Nand have problem with personal settings. I can not make backup when booting from SD. I have informaation - not enough space. Even if I try to use external hdd or usb always the same information - not enough space. Is there any other way to "copy" settings from SD to internal?

    Boot from NAND, and then insert your SD card (it will get mounted to /var/media/DISK)

    Then :
    # systemctl stop kodi
    # mv /storage/.kodi /storage/.kodi.bak
    # cp -av /var/media/DISK/.kodi /storage
    # umount /var/media/DISK
    # systemctl start kodi

  • Boot from NAND, and then insert your SD card (it will get mounted to /var/media/DISK)

    Then :
    # systemctl stop kodi
    # mv /storage/.kodi /storage/.kodi.bak
    # cp -av /var/media/DISK/.kodi /storage
    # umount /var/media/DISK
    # systemctl start kodi

    Tried this already but have information - can't rename /storag/.kodi : no such file or directory
    after trying more - cp: can't stat '/var/media/DISK/.kodi': No such file or directory

    Edited once, last by jazzy (November 24, 2016 at 9:41 PM).


  • Tried this already but have information - can't rename /storag/.kodi : no such file or directory
    after trying more - cp: can't stat '/var/media/DISK/.kodi': No such file or directory

    Once booted from NAND, with your sdcard inserted, can you run this ?

    # mount
    # ls -al /storage

  • Once booted from NAND, with your sdcard inserted, can you run this ?

    # mount
    # ls -al /storage


    Now I see my mistake - I send those commands when booting from SD - after rebooiting from sd all setings gone
    but i see new .kodi bak folder - hope its with my setting but how to take it back to sd and then copy to internal?

  • To get your settings back, when booted from sdcard :

    # systemctl stop kodi
    # mv /storage/.kodi.bak /storage/.kodi
    # systemctl start kodi

    Then boot again from NAND, and follow the instructions on previous page.

  • Sorry for my stupid questions but after doing aboove settings not come back.
    Search .kodi.bak and found it in /storage/.kodi (inside this folder)

    i dont know linux? but maybe it should be like this?
    mv /storage/.kodi.bak /storage

    Edited once, last by jazzy (November 24, 2016 at 10:04 PM).


  • Can you run this, to be sure ?

    # ls -al /storage/.kodi/

    total 8
    drwxr-xr-x 8 root root 1024 Nov 24 22:58 .
    drwxr-xr-x 15 root root 1024 Nov 24 22:58 ..
    drwxr-xr-x 7 root root 1024 Jan 1 2015 .kodi.bak
    drwxr-xr-x 10 root root 1024 Nov 24 22:42 addons
    drwxr-xr-x 2 root root 1024 Nov 24 22:42 media
    drwxr-xr-x 2 root root 1024 Nov 24 22:42 system
    drwxr-xr-x 3 root root 1024 Jan 1 2015 temp
    drwxr-xr-x 9 root root 1024 Jan 1 2015 userdata