Ubuntu Touch on the Galaxy S5 help
-
Hi and welcome @ubuntunoob ,
Have you tried the following installation procedure?
https://devices.ubuntu-touch.io/device/klte/#deviceSpecI don't have this device, but the procedure is clear and simple IMHO.
-
@ubuntunoob said in Ubuntu Touch on the Galaxy S5 help:
So I found this page:
https://docs.ubports.com/en/latest/porting/build_and_boot/Boot_debug.html#what-is-a-successful-boot
I attempted to ssh into the s5 after setting up the ip address however get an error:ssh: connect to host 10.15.19.82 port 22: No route to host
I am not sure why they mention those IP addresses exactly but when you want to reach a certain IP then you have two options :
- Make sure your device is located in the same subnet.
- Make sure your device has a gateway that can reach that subnet.
Soo...
Let's assume your phone indeed has this IP : 10.15.19.82
I don't see any subnet mentioned so let's say it's 255.255.255.0 also known as a /24In that case your device that connects to the phone should have the following settings for example :
IP address : 10.15.19.81 or 10.15.19.83 or even 10.15.19.1 or 10.15.19.254
Subnet : 255.255.255.0Good luck!
-
-
@applee
Yeah I did, but it didn't work.
I can show each step I took.- Boot into twrp
- Wipe the device
Boot into download and then flash halium via heimdall
Output is shown here:heimdall flash --BOOT halium-boot.img Heimdall v1.4.2 Copyright (c) 2010-2017 Benjamin Dobell, Glass Echidna http://www.glassechidna.com.au/ This software is provided free of charge. Copying and redistribution is encouraged. If you appreciate this software and you would like to support future development please consider donating: http://www.glassechidna.com.au/donate/ Initialising connection... Detecting device... Claiming interface... Setting up interface... Initialising protocol... Protocol initialisation successful. Beginning session... Some devices may take up to 2 minutes to respond. Please be patient! Session begun. Downloading device's PIT file... PIT file download successful. Uploading BOOT 100% BOOT upload successful Ending session... Rebooting device... Releasing device interface...
Boot back into recovery.
Then proceed to Flash the system.img and rootfs
Output is shown here:./halium-install -p ut ubports-touch.rootfs-xenial-armhf.tar.gz system.img [sudo] password for hplaptop: D: Chosen rootfs is ubports-touch.rootfs-xenial-armhf.tar.gz D: Chosen android image is system.img D: Chosen release is ut D: Compress images before pushing: false I: Writing rootfs into mountable image I: Writing android image into mountable image I: Running post installation tasks enabling SSH ... [done] Please enter a new password for the user 'phablet': Enter new UNIX password: Retype new UNIX password: passwd: password updated successfully I: Shrinking images e2fsck 1.45.7 (28-Jan-2021) resize2fs 1.45.7 (28-Jan-2021) Resizing the filesystem on .halium-install-imgs.Nmqlh/system.img to 53956 (4k) blocks. Begin pass 2 (max = 30486) Relocating blocks XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX Begin pass 3 (max = 18) Scanning inode table XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX The filesystem on .halium-install-imgs.Nmqlh/system.img is now 53956 (4k) blocks long. I: Unmounting images I: Pushing rootfs and android image to /data via ADB I: Pushing rootfs to /data via ADB * daemon not running; starting now at tcp:5037 * daemon started successfully .halium-install-imgs.Nmqlh/rootfs.img:....8 MB/s (3221225472 bytes in 529.009s) I: Pushing android image to /data via ADB .halium-install-imgs.Nmqlh/system.img:... 5.7 MB/s (221003776 bytes in 36.759s) real 9m28.838s user 0m0.861s sys 0m6.186s I: Cleaning up umount: .halium-install-rootfs.7Eln7: not mounted.
Then, in TWRP go to Reboot > System.
Done that, now its stuck at a bootloader screen(no Unity8 logo).
What did I do wrong?
Thanks. -
@ubuntunoob said in Ubuntu Touch on the Galaxy S5 help:
Then, in TWRP go to Reboot > System.
Done that, now its stuck at a bootloader screen(no Unity8 logo).
What did I do wrong?I think your rootFS was not flashed correctly :
umount: .halium-install-rootfs.7Eln7: not mounted.
My best guess is you will have to check manually inside TWRP what went wrong exactly!
In the directory /tmp/ there is a recovery.log file I believe that contains more info about most of the errors you can encounter during flashing/sideloading
You can do simply :cd /tmp/ cat recovery.log
Via the Terminal inside TWRP
It's how I found out my Custom ROM needed bunzip2 which was not available inside the TWRP Image!
-
@nero355
I have the log file
Output is here:
https://pastebin.com/E0127KTN
Not too sure what to make of it.
Thanks. -
I am not sure either...
I do see some errors related to partitions and mounting them : Perhaps that is the issue ?!
-
@nero355
How can I fix that?
Thanks. -
@ubuntunoob
You can try umount to unmount the partition and make sure it's not in use before flashing ?!That's all what I can think of for now...
Good luck!
-
-
-
@nero355
How can I go about doing this?
Is this in twrp?
Sorry, I'm new but willing to learn put in the effort!
Thanks. -
@ubuntunoob
Like I said earlier : TWRP TerminalAnd then regular Linux commands like umount :
umount /data
for example will make sure the DATA partition is no longer mounted!
And something like this :
mount /system-data/ /data
Will mount it again as it was IIRC
-
@nero355
I did the steps on twrp:umount /data
but now after mounting I get this error:
mount /system-data/ /data mount: mounting /system-data/ on /data failed: No such file or directory
-
@ubuntunoob
You are not supposed to do both steps!Just the first one if you are having /DATA related errors!
But now that you did let me explain why the second one went wrong :
Because the directory /data does not exist -
@nero355
I ran the first stepumount /data
before flashing Ubuntu Touch but still same error:
./halium-install -p ut ubports-touch.rootfs-xenial-armhf.tar.gz system.img [sudo] password for hplaptop: D: Chosen rootfs is ubports-touch.rootfs-xenial-armhf.tar.gz D: Chosen android image is system.img D: Chosen release is ut D: Compress images before pushing: false I: Writing rootfs into mountable image I: Writing android image into mountable image I: Running post installation tasks enabling SSH ... [done] Please enter a new password for the user 'phablet': Enter new UNIX password: Retype new UNIX password: passwd: password updated successfully I: Shrinking images e2fsck 1.45.7 (28-Jan-2021) resize2fs 1.45.7 (28-Jan-2021) Resizing the filesystem on .halium-install-imgs.amKTn/system.img to 53956 (4k) blocks. Begin pass 2 (max = 30486) Relocating blocks XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX Begin pass 3 (max = 18) Scanning inode table XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX The filesystem on .halium-install-imgs.amKTn/system.img is now 53956 (4k) blocks long. I: Unmounting images I: Pushing rootfs and android image to /data via ADB I: Pushing rootfs to /data via ADB adb: error: failed to copy '.halium-install-imgs.amKTn/rootfs.img' to '/data/rootfs.img': couldn't read from device .halium-install-imgs.amKTn/rootfs.img:....1 MB/s (1412783680 bytes in 220.153s) I: Pushing android image to /data via ADB adb: error: failed to get feature set: no devices/emulators found real 3m40.164s user 0m0.283s sys 0m1.996s I: Cleaning up umount: .halium-install-rootfs.kzAAa: not mounted. error: no devices/emulators found
I don't why I get this error:
error: no devices/emulators found
The device is clearly there:
adb devices List of devices attached fa8d9901 recovery
-
Hello Guys, can you please let us know what is the latest updates for this device? the development for this ROM still in-progress or stopped or what? and what is the latest state, can it be used for daily use?
-
@mostafa3bdou Please contact the porter directly they are the only ones who know for sure. The deatils will be on the device page of https://devices.ubuntu-touch.io