Friday, 1 September 2017

New version of ISO respin script released

Now that my script supports updates to rolling kernels and target processors I've improved the naming of the respun ISO to better reflect how it was created. The key change is to include the kernel version in the name of the respun ISO when respinning upgrades the original version together with the name of the target processor if respun using that option.

The new version (7.3.3) of 'isorespin.sh' is now available for download.

Any issues or improvement suggestions are welcome.

Please donate if you find the script useful using the following link http://goo.gl/nXWSGf.

17 comments:

  1. Hello.
    I've been using your ISO's for a while, and they are great (depending on the device BTW), but once installed I don't know the process to upgraade to a rolling kernel. I've tried a couple but always broke something (last goodix support in 4.13 rc6) and more related to your patches BT support (cherry trail tablet Chuwi Hi12)
    Thanks

    ReplyDelete
    Replies
    1. Once you have installed the ISO you just upgrade using any of the standard processes which include using apt update/upgrade, adding the relevant repos and upgrading/installing a specific kernel or downloading a prebuilt kernel from Canonical.

      Delete
  2. Recently I install Ubuntu (You can install any Linux version) and upgrated to Kernel 4.12 and everything working fine out of box (wifi sound)

    ReplyDelete
    Replies
    1. Yes but it depends also on whether you can get the version of Linux to install and as it is very device dependent that is why my script helps when a standard install fails.

      Delete
  3. Can You upload a "cooked" *.iso ? Please.

    ReplyDelete
  4. Last version of respin.sh ('./isorespin.sh -i linuxmint-18.2-cinnamon-64bit.iso -u --atom' or './isorespin.sh -i linuxmint-18.2-cinnamon-64bit.iso -u --atom -b rEFInd') does not work for me. I have tried with Ubuntu 16.04.3, Ubuntu Mate 16.04.3, Linux Mint Cinnamon 18.2, with Grub or rEFInd as a bootloader, there after installation and then reboot depends on bootlogo of Linux Mint or Ubuntu (at GRUB), or the screen remains black after show of Bootlogo(rEFInd).
    With Ubuntu Mate 17.04 I could start after installation (with GRUB), but no sound and no WiFi (NVRAM copy with 'sudo cp -n brcmfmac43455-sdio.txt /lib/firmware/brcm' and restarted; the folder cat /sys/firmware/efi/efivars/nvram-74b00bd9-805a-4d61-b51f-43268123d113 not exist; brcmfmac43455-sdio.bin is in the folder). With Ubuntu Mate 17.10 Beta 1 I could not change the resolution from 4k to 1080p, therefore not further tested, there is no sound.

    I have Beelink BT3 Pro wit X5-Z8350 Cherry Trail processor and Broadcom BCM43455(Ampak AP6255 wifi chipset)

    ReplyDelete
  5. Good Job, I try on my 2-1 tablet Lenovo Miix 310-101cr.
    On ubuntu 17.10 beta 1 power, wifi, Lte, screen and sound works. I rotate the screen and the touchscreen with this script :
    $ xrandr -o right
    $ xinput --set-prop 'FTSC1000:00 2808:1015' 'Coordinate Transformation Matrix' 0 1 0 -1 0 1 0 0 1
    The bluetooth adapter is actually not detected.

    ReplyDelete
    Replies
    1. Bluetooth probably needs an 'ID' adding but unfortunately I don't have this device to check.

      Delete
    2. Start by looking in your ACPI table.

      Delete
  6. This is the content of /sys/firmware/efi/efivars/, if it helps. And, of course, dmesg. Ubuntu Mate 17.04(edited with isorespin.sh) is the OS.

    https://abload.de/img/bildschirmfotozu2017-3us2h.png
    https://pastebin.com/CB3V3iwc

    ReplyDelete
    Replies
    1. Here are the drivers for WiFi and Bluetooth, which i use for clean installation of Windows 10. Maybe you can modify linuxium-install-broadcom-drivers.sh accordingly.

      https://www.sendspace.com/file/650h85

      Delete
    2. There was a regression for AP6255 wifi with v4.13 however a patch is currently being processed to fix this both for v4.14 and v4.13.1.

      Delete
  7. anyone knows if the backlight problem with chuqivi10 plus is resolved?
    (can't change the screen brightness)

    ReplyDelete
  8. I see the script requires sudo. I do not want sudo on my machine and I only use su for privilege escalation. If you could, please check for working sudo (for example with $(sudo 'echo $UID')) and use "su -c" instead where root is absolutely required.

    For instance, running wget as root seems to be a can of worms. External servers can (and should be assumed to be) evil, especially when doing stuff as root. It would be better to run wget as the script invoking user and then chown+mv the resulting file.

    One way to do this is to first of all accept that the lock file can be removed by the user and protect it with "chmod 000" instead. Then make a best effort attempt to do everything that doesn't explicitly require root (like wget) before spawning a single subshell to the dangerous stuff.

    That way you would only require sudo/su once and, with a bit of clever work, you could either bake this part into a different mode of the same script (like checking $UID at the top of the file, if 0 then do just the root things) or by progressively building a temporary script file to be executed at the end.

    I do realize this is a major change and I'm not expecting this to be fixed overnight, but please keep it in mind for version 8. I'd be happy to help out if you want.

    Another suggestion would be to use base64 encoding when concatenating the zip file at the end of the script (just pipe it through "base64 -d" between sed and tee when separating the archive). Some editors have major issues dealing with invalid characters.

    ReplyDelete