Pinephone tutorial



  • Like many UT users, I would love to have a Pinephone and it now seems that the Braveheart edition will be fairly close to the mass-produced version. The only thing stopping me from ordering on Nov 15 is the difficulty of getting the UT image on to the device. Could someone provide more details about this? I'm prepared to get my hands dirty but lack expertise. If someone could do a tutorial or a video to show exactly what is needed (assume no knowledge!) then plenty of people would support the project.



    1. Download the rootfs image from https://ci.ubports.com/job/rootfs/job/rootfs-pinephone/
    2. Extract and write the image to an SD card
    3. Plug SD card into phone
    4. Boot phone

    That should do it. πŸ™‚



  • @UniSuperBox wow, that's super easy, good to know that.



  • @UniSuperBox Sounds great! But what do you mean by 'boot'? Power on or an adb command? Can my IT-allergic friends do this?



  • @marklynch

    @PINE64 said in PinePhone:

    Thanks for posting. Indeed we'll start taking pre-orders for Brave heart edition PinePhone this month. I am happy to report that Ubuntu Touch is already very well supported on the PinePhone, but I would be cautious in calling it 'daily-driver'- worthy yet.

    In other words, please be mindful that this is indeed for early adopters ...

    Please keep this in mind for IT allergic friends. They my best waiting till March next year when the completed device should be ready. Oh and switch on will do it



  • @marklynch boot means turn on. I wouldn't recommend your IT-allergic friends buy the phone, as said in the November update:

    Still, keep in mind that this batch is called Brave heart for a reason – we’re looking for those brave enough to be the first adopters of this hardware. If bravery is not in your nature, or this isn’t something you’re willing to take a risk on, then please sit this one out and wait until March 2020 to get your production unit.

    https://www.pine64.org/2019/11/05/brave-heart-edition-pinephones/



  • I'm curious. Is it also possible to install the OS in the phone's internal storage? I mean, isn't that the real way of doing it and it's just that booting from a microSD is also supported and easier to do so that's more recommended for now?



  • and one more question, how are updates done, from within the OS or by reflashing every time?



  • @marklynch Updates are done OTA (Over The Air).
    Which means you can download the update on your device and it's installer with a simple reboot.

    Note that the UT version being ported to the PinePhone is the DEV channel I hope that in december it would have reached the stable channel.
    So hopefully for Brave Heart edition you can expect a stable release of UT. :hand_with_index_and_middle_fingers_crossed:



  • @AppLee Terrific, Thanks!



  • @kugiigi It is. In the future it will be as simple as inserting a SD into the PinePhone, powering it on and watching a progress bar animation as the desired build flashes to internal storage. Thankfully, this is pretty trivial to do on the A64 SOC which is powering the PinePhone (due to the boot-order).

    But for Brave Heart, the users will have to put together such flashing method themselves. Those even more technically capable can use EFL to mount the internal eMMC as mass storage on their computer, from where it can be directly flashed using DD.



  • @PINE64 Thank you for the explanation πŸ™‚
    Would it also possible to have an OS installed in the internal storage and try to boot another OS in an SD card?
    I plan to use it as my daily driver but I'd also want to try out other available OS πŸ˜ƒ



  • @kugiigi Yes, absolutely. So you can have UT installed internally and test out other OS builds - e.g. PMOS with Plasma Mobile or LuneOS - from SD.



  • @marklynch There is no Android, so no adb, no recovery so far. Its more like booting a PC πŸ˜‰



  • @Flohack I forgot ADB is from Android. So do you mean there will be no ADB on PinePhone and Librem 5?
    Oh well, anyway we can have SSH πŸ™‚



  • Does it matter which fs the SD card is formatted to? and is there a cap to the size permitted?



  • I think now this thread is getting more involved and we already have a PinePhone thread for all things PinePhone https://forums.ubports.com/topic/2403/pinephone/316 So can I very politely ask that all further conversations not on the specific Tutorial theme carry on over there. It just stops any confusion and helps others at the same time. Thank You



  • @kugiigi No ADB, yes...



  • @Flohack I suppose this makes it much easier to comprehend as it is in reality like a small pc. Booting (as if you had hit F12 etc) straight to bootable image like we used to do with pen drives, DVD, CDs and yes...floppies πŸ™‚



  • @andybleaden Yes but to be honest, the bootload/recovery concept makes much sense for mobile devices, and is also more than just a BIOS or EFI partition on your PC. Well, kinda EFI ^^ But a recovery can also reset factory defaults, install updates etc. We should not drop this idea fully just bc Linux phones are more like PCs. The Android bootloader does a great job in allowing installation from scratch, when all data is gone etc. That I am missing in PCs a bit, the BIOS does help just with booting recovery media, but often they are not at hand. a bootloader with A/B support can help you booting the previous sane OS in case you messed up πŸ˜‰



  • @Flohack said in Pinephone tutorial:

    a bootloader with A/B support can help you booting the previous sane OS in case you messed up

    Following the suggestion made by @Lakotaubp ("I very politely ask that all further conversations not on the specific Tutorial theme carry on [in the PinePhone thread]"), I posted a suggestion related to multi-boot support in that PinePhone thread. I hope that all those interested in A/B support (which is pretty much the same thing) will also post there, so that @PINE64 will see the posts.


Log in to reply