IDEA: Production Mode #27

Open
JBBgameich opened this Issue Oct 13, 2017 · 2 comments

Comments

Projects
None yet
2 participants
Member

JBBgameich commented Oct 13, 2017

Differences to current version:

  • Install rootfs to /system not as an image to /data, but directly on the system partition
  • /data is also mounted as /home to save space on the system partition

Some additional info:

  • System Image still stays on /data/system.img

Changes needed:

  • hybris-boot: look if a debug image exists in /data/rootfs.img and if not, mount /system as /target
  • halium-install: img2simg rootfs.img rootfs.sparse.img
    (Does a system image need to be in a special format like a sparse image for fastboot?)

This would probably be an important feature for phone manufacturers, like StationX, as it uses the available space more efficient.

It's also often quite painful to transfer huge files using adb in TWRP. This would be using fastboot for flashing the rootfs.

Please leave some feedback on if you see any problems or if I forgot something.

LNJ2 commented Dec 27, 2017

I'd appreciate that solution, it's far more easier and clean, I think.
There's only one problem, you're limited to 2 GB (in my case) with the rootfs. If you want to install some global deb packages, you'll reach that limit very fast.
Installing deb packages into ~/.local/ would be very cool, but that's out of scope of halium.

@UniversalSuperBox UniversalSuperBox referenced this issue in ubports/ubuntu-touch Jan 2, 2018

Open

[xenial] Ubuntu Touch does not run on unmodified Halium #404

2 of 13 tasks complete
Member

JBBgameich commented Jan 7, 2018

I did a untested implementation of this here: Halium/hybris-boot@master...JBBgameich:POC-production

(To be reviewed)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment