Is it possible to flash ubuntu touch without an installer?
-
See https://pastebin.com/2BTrDBpM
It seems to create one file: system.img
I am trying to see if I can create it -
@wdehoog said in Is it possible to flash ubuntu touch without an installer?:
See https://pastebin.com/2BTrDBpM
It seems to create one file: system.img
I am trying to see if I can create itYeah ok. I guess this is basically the rootfs right? so maybe making an fs image and unpacking the ubports-asdf....xz file into it is enough?!
-
@doniks I'm wondering why not just use this rootstock script. But I guess I'm still not really getting it. You can't adb into your recovery, right? No adb shell, no adb push. How do you then get that magical zip file onto the device? What does that zip install script look like? Who runs it? What can it do?
-
When in recovery adb lists the device as 'unauthorized' so no adb shell for me, so no installer script.
The zip I create can be transfered when booted in android or sailfish.
The script in the zip is simple: extract system.img to /data and flash boot.img into the boot partition. It is the updater-script run by the updater-binary.
I have the kernel booting (no errors in /last/kernel_msg) but no UI or anything else.
-
@wdehoog said in Is it possible to flash ubuntu touch without an installer?:
When in recovery adb lists the device as 'unauthorized' so no adb shell for me, so no installer script.
The zip I create can be transfered when booted in android or sailfish.
ah ok. clear. are you using multirom or something similar?
The script in the zip is simple: extract system.img to /data and flash boot.img into the boot partition. It is the updater-script run by the updater-binary.
uuuhhhu, ok, now you come forward with some terms that are actually suitable at least for an internet research ....
are we talking about something like this:
https://www.youtube.com/watch?v=dSCseBYVc3YI have the kernel booting (no errors in /last/kernel_msg) but no UI or anything else.
ok. and now? maybe you want to, i don't know, share some details like the updater-script that you wrote and what exactly you put where exactly into the zip file. you don't make it easy to help you ...
-
@doniks said in Is it possible to flash ubuntu touch without an installer?:
ah ok. clear. are you using multirom or something similar?
yes TWRP+multiromuuuhhhu, ok, now you come forward with some terms that are actually suitable at least for an internet research ....
are we talking about something like this:
https://www.youtube.com/watch?v=dSCseBYVc3Y
I have no idea what you try to explain with this video. The updater-script is explained a bit here https://www.droidgyan.com/updater-script/I have the kernel booting (no errors in /last/kernel_msg) but no UI or anything else.
ok. and now?
Yep that is the question. How can I get logs of what is going wrong in user space.maybe you want to, i don't know, share some details like the updater-script that you
wrote and what exactly you put where exactly into the zip file. you don't make it easy to > help you ...
What script do you mean? The updater-script: https://pastebin.com/mYaHFSz9
or the one making the system.img: https://pastebin.com/hE5qD52qI am a bit surprised that none of the ubports developers joins in. They know exactly how it works and where I should look.
-
@wdehoog You can try to reach them in the Telegram supergroup. They are busy and small Team so is kinda understandable. Also in the group there are a lot of people with huge knowledge who can help you guys
-
@malditobastardo said in Is it possible to flash ubuntu touch without an installer?:
@wdehoog You can try to reach them in the Telegram supergroup. They are busy and small Team so is kinda understandable. Also in the group there are a lot of people with huge knowledge who can help you guys
Thanks.
You see I think that is mistake they make. They created this forum so they at least should use it. The messages on the forum are stored and can be searched through. Very convenient. Telegram/irc or whatever messaging platform usually is not.
-
Well I now have adb access to ubuntu-touch. Some errors in dmesg:
[ 3.285119] initrd: mounting system.img (image developer mode)
[ 3.301791] initrd: mounting device image as ro
[ 3.309947] EXT4-fs (loop1): couldn't mount as ext3 due to feature incompatibilities
[ 3.334772] initrd: device is baconand
[ 3.624120] initrd: mounting /root/var/lib/lxc/android/system.img as /root/android/system
[ 3.910165] init: ureadahead-touch main process (497) terminated with status 5
[ 4.469967] init: /init.environ.rc: 13: export requires 2 arguments -
Ok. It works now. Got ubports on my phone. Extracting the archives was wrong so some dirs ended up in the wrong place. Here is the script I used https://pastebin.com/DgUu2PuJ
-
@wdehoog did you find a way to create flashable zips of ut?
-
@suoko This thread is two years old. Your much better off asking a fresh question in the appropriate section of the forum. However UT is not a zip and has never been one.
I'm going to lock this thread now, but you can refer back to it in any new question using the weblink e.g https://forums.ubports.com/topic/669/is-it-possible-to-flash-ubuntu-touch-without-an-installer/21
Thanks