[Porting] Call for Testers
@flohack whatever would let me instrument very early stage boot. do you have the instructions you are using to build halium-boot for sailfish handy? anything beyond the standard halium-9.0 build process?
@khimaros if you only want to test halium-boot first the instructions are actually quite okayish for Halium 9. You basically sync the tree, add the device manifest and then just let it build - if you flash it without rootfs.img and system.img you can boot it, and it will drop into emergency telnet mode
If you add rootfs but no system.img it will normally boot into rootfs and you should get RNDIS ssh
@flohack -- thank you. are the device manifests you merged in https://github.com/Halium/halium-devices/pull/282 sufficient? i ran into some build errors and wondered if there were some additional steps/patches i was missing.
@khimaros yes should be enough, you need to:
- repo sync the Halium 9 tree
- run halium/devices/setup sailfish (or marlin)
- run hybris-patches/apply-patches --mb
- then run breakfast sailfish (or marlin) and mka all parts
khimaros last edited by khimaros
@flohack -- thank you. i was able to build successfully. however, i'm noticing that the documented
hybris-recoverytarget does not exist, which is making it a bit tricky to troubleshoot init issues. was this renamed or is there another way to force an existing boot image into recovery mode?
@khimaros this target is new to me, we only have:
halium-boot for non a/b devices, and bootimage for a/b
mostly what you need
@flohack -- i'm referring to the documentation at https://docs.halium.org/en/latest/porting/debug-build/early-init.html#forcing-debug-mode:
If the device simply reboots when trying to boot and does not bring up telnet, you may build and use the hybris-recovery.img file to attempt to force a shell to come up.
this is the circumstance I'm bumping up against. maybe there is a new way to troubleshoot this?
@khimaros Well here is the problem: While we claim to be a Halium distro, we are only sharing some of the codebase, and you need to know when to break off from the Halium docs and return to UBports
If you have reboot issues best bet is to wipe data, then flash halium-boot and see if it still crashing. If yes, your kernel is screwed, if not it should give you telnet. Also adding break=bottom to kernel cmdline will stop before the real init to inspect the device and mounts etc.
woodenLion last edited by
Help please, as I am getting "chroot: failed to run command ‘chpasswd’: No such file or directory" and don't know what to do.
AppLee last edited by
I suggest you start a new thread for your problem as right now I have no idea what you're trying to achieve there.
And please give some context about what you're trying to do what you did before the error, specify the versions, etc.
@flohack Hi. I found my old Google Pixel phone (sailfish) and I would like to try your port. Where can I find some instructions how to remove android and install ubports on it?
@dovla-ri I will try to refresh them a bit and link here again
@flohack thnx, because it is very difficult to track which binaries and what is the whole procedure of making install. If this can be somehow sum up in one document or even placed on your "original topic - first post", people can focus on that instead of bugging you with it every time...
@flohack I'd also be interested, I tried following the generic instructions from the wiki using the files provided in your link and it didn't work so I'm guessing there was something more to your original instructions.
Hi, I have spare Google Pixel. I am willing to test the build.
Alright guys I am working on the new instructions, this time in a pastebin, since the pad was destroyed over time: https://pastebin.com/EFLhqfLv
And this is my upload folders for marlin and sailfish: http://twoot.bin.org.in/nextcloud/index.php/s/iAZDDkRYYAiN6Kk
I wil refresh the images there tonight hopefully
@flohack looking at the nextcloud instance, the newest images are from 4 months back. are those the latest ones?
@khimaros No, will provide newer ones ^^
@flohack thank you! i was also able to produce a working droidian install on sailfish using your work as a base. really grateful for your efforts here.
@flohack actually, would you be willing to teach us how to fish? is there a way we can build or extract these
halium-boot.imgthe same as from https://ci.ubports.com/job/UBportsCommunityPortsJenkinsCI/job/ubports%252Fcommunity-ports%252Fjenkins-ci%252Fmarlin-sailfish/job/main/ ? is the
halium_sailfish.tar.xzthe correct one?