-
Hi, i've got an h870 model.
I've been trying to to put the image on my phone but i can't seem to pass the part with resize2fs from the halium-install script. Any help?
The error i keep getting is:
"Scanning inode table resize2fs: No space left on device while trying to resize system-20200326.img" -
@MexHH Yep, you need to do it, with the following command:
fastboot flash unlock unlock.bin
whereunlock.bin
is you unlocking file that you will be provided by requesting tohttp://mobile.developer.lge.com/
-
@fenskebawb Yep, it might have some little differences (that I am not able to test because I don't have that device). Anyway you can try to build it yourself and we will help you
-
@ElieHs Hello, did you try to ulock here
http://mobile.developer.lge.com/
? -
@nefariousNIFFIN I will do my best to help US guys to improve LG G6 porting, whatever model it might be. 1st identify your model and try to build it yourself and if you have problems, please write to me and I will try to answer you back as soon as possible
-
@franky32 it might refer to local partition or device, because this step is to be performed on pc
-
@snappo Go and get it and build it yourself (I don't have the US model, but I am keen on helping you to test on you device and improve the over all LG G6 porting)
-
@Kaesar I don't know the details of specific differences, but I can help you porting your device and integrate changes to server
-
@Guf i've managed to flash the images by skipping the image resizing
Now the issue is that the screen just flashes a couple of times and it doesn't do anything after.
i can see the rndis_host getting setup with the ip but the actual link has an unknown state.
maybe the rootfs i'm using isn't good?
https://ci.ubports.com/job/xenial-rootfs-arm64/ -
This post is deleted! -
@Guf if i use the armhf rootfs it does boot and i can get ssh access... just that almost nothing works
-
@franky32 the same happened to me.
How did you solve this? -
@epvnn didn't solve it... I'm thinking about letting it go and just learn java so i can make androud apps instead
Was planning on using ubuntu on the phone to run python scripts...
But it seems more hastle than it's worth... -
-
@Guf thanks! I'll see what I can do, but I don't know if I'll be able to do anything because I'm having trouble accessing the bootloader.
But that's not really an Ubuntu Touch issue, so I'll try to find help on that elsewhere. -
Hi every one, thank you for sharing your work. I'm also new to the UBPorts community. I have the exact same issue as @epvnn and @franky32 on the h870, that is to say resize2fs error. I'm on elementary with all dependencies downloaded, adb and fastboot. Bootloader properly unlocked and data partition formated as ext4. I am not using official twrp as i was not able to mount some partition with it, i've used the LG v20 instructions. I would like to know if there is any way to solve it ? Thank you
-
@Litcornes i disabled the resize function in the halium-install script and i managed to finish the images and copy them to the phone.
The problem after that for me was that libgui.so library doesn't load... so lightdm keeps crashing.
Haven't done anything else with it...You can disable the resize function in the file named core.sh in the functions folder of the halium-install cloned repository.
The line to comment out is this one
[ -f "$IMAGE_DIR/system.img" ] && sudo resize2fs -p -M "$IMAGE_DIR/system.img"Just put a # in front of that line.
-
@Litcornes btw... the armhf rootfs will most likely not work... from what i could see most librarys in the system image are 64 bit. So they won't load on the armhf version. You'll need the arm64 rootfs.
When i tried the armhf rootfs the system would boot and i could ssh into it... but lightdm wouldn't start properly.
On arm64 rootfs it doesn't boot... it keeps resetting.
Maybe you have more luck with it...
If you manage let me know what you did -
@franky32 Thank you for your anwers, i did managed to get it working. I did what you said, comment out the line and the script did worked. I've listened to you and used this : xenial-hybris-edge-rootfs-arm64. Then i followed every steps listed here : https://forum.xda-developers.com/v20/development/ubuntu-touch-wip-lgv20h918-t4002579.
Et voilà , every things seems to be working as intended (as listed in the post). I'm a casual so if i did something wrong don't hesitate. -
@Litcornes did it boot up into the ubuntu interface? cause when i try that rootfs it spits out an error with the ssh.override missing...