Can't install Ubuntu Touch/Ubports on Nexus 7 flo.
-
@doniks yes, I did have such an error
-
Mhm. Sounds like you should file a bug against the flo image. If the patch is as simple as stated in the askubuntu link it shouldn't be too hard for the team to release a new image
-
@doniks yeah, I will, cos I don't think I can do much more with it at the moment.
-
@doniks if anyone else has such a issue, please comment here:
https://github.com/ubports/ubuntu-touch/issues/300 -
@doniks any chance you can do a TWRP backup of your (wiped) deb device and share it with me? I could try to restore it with TWRP and then reflash it, or just leave it as is. Maybe it'll work, maybe not, but it's worth the try. PLEASE???
-
This post is deleted! -
I downgraded the tablet to 4.4 kitkat base and tried to flash it, just in case if the firmware downgrade changed the paths/partitions ir whatever that is and the tablet won't even boot up! I mean Android. Factory reset in recovery gives similar error logs, interesting.
-
@Stefano said in Can't install Ubuntu Touch/Ubports on Nexus 7 flo.:
@doniks any chance you can do a TWRP backup of your (wiped) deb device and share it with me? I could try to restore it with TWRP and then reflash it, or just leave it as is. Maybe it'll work, maybe not, but it's worth the try. PLEASE???
I could try. Would probably be afew days until I get to it though. And I don't have great hopes for this. Can you try to boot into the UT recovery and see whether you can write to the partition at all? Some4hing like:
mount /cache
echo hello > /cache/world
cat /cache/worldIf that doesn't work there is no point trying a twrp backup.
If it does work then (apart from time) I'd also have the challenge that I don't have any kind of cloud storage thingy where I could upload it for you, so you'd have to help me with thatEdit : youcould also try to compile a kernel with the patch yourself; )
-
@doniks hi,
I just tried that and here we are:~ # mount /cache
mount: mounting /dev/block/platform/msm_sdcc.1/by-name/cache on /cache failed: No such file or directory
So it's probably a pointless, but thank you anyway. -
@doniks I wish to know how to do that
-
@Stefano said in Can't install Ubuntu Touch/Ubports on Nexus 7 flo.:
@doniks hi,
I just tried that and here we are:~ # mount /cache
mount: mounting /dev/block/platform/msm_sdcc.1/by-name/cache on /cache failed: No such file or directory
So it's probably a pointless, but thank you anyway.... that's a different error message though ..
IS there a directory
/cache
?post the result of
ls -ld /cache
If that repeats "No such file or directory" as I expect then, make it first and then repeat the steps so:
mkdir /cache mount /cache echo hello > /cache/world cat /cache/world
-
@doniks ls -ld /cache
__bionic_open_tzdata: couldn't find any tzdata when looking for localtime!
__bionic_open_tzdata: couldn't find any tzdata when looking for GMT!
__bionic_open_tzdata: couldn't find any tzdata when looking for posixrules!
drwxr-xr-x 2 root root 0 Oct 18 07:31 /cacheI can cd to cache:
~ # cd /cache
/cache #But can't mount it:
mount: mounting /dev/block/platform/msm_sdcc.1/by-name/cache on /cache failed: No such file or directory
/cache # mount cache
mount: can't find cache in /etc/fstab
/cache #~ # mount /cache
mount: mounting /dev/block/platform/msm_sdcc.1/by-name/cache on /cache failed: No such file or directory
~ # mount cache
mount: mounting /dev/block/platform/msm_sdcc.1/by-name/cache on /cache failed: No such file or directory -
@Stefano yeah that doesn't sound too good
I managed once to rebuild the kernel for the UT vivid image, but I don't have the sources/setup on my disk anymore, so would have to start over.
I did it following this thread: https://forum.xda-developers.com/showpost.php?p=67397306&postcount=6 maybe you want to give it a shot.
@Tonoxis started that thread on xda. Say, @Tonoxis do you have that source still in a buildable setup at hand? Not sure how much work that would be for you, but maybe you could apply that patch https://askubuntu.com/questions/674179/ubuntu-device-flash-fails-on-nexus-7-2013-android-5-0-2-cant-copy-image-to/675499 and let @Stefano try it?!
-
@doniks yeah, I wish the files were still there, so I could try, but sadly they're not. I'll leave it till Ubports guys have a look at the Bug report and suggest something. But thank you. And I thought that I buy Nexus 7 tablet a slap the Ubuntu Touch on it like I did on N4, N5, MX4, Pro 5, but I was too optimistic, I guess
-
Sorry, your summons got lost in the ether for a while. [REDACTED, SEE EDIT]
I don't think much has changed between the kernel used on the Flo image now and the canonical one. I think it's just the rootfs that's been updated.
#################
Edit: I did some cleanup on my kernel tree. It's now buildable, the reason it wasn't prior was because of a driver the elementalX stuff pulled in (which is broken right now, not sure why yet) and I hadn't mrproper'd before commiting (what a moron I was).
Kernel Tree: http://github.com/ShadowEO/TonoKrnl
The kernel has the standard Android CPU governors available, however Vivid's init seems to set it to ondemand, as well as binfmt_misc (It is possible to run WINE with some sorcery under recovery to enlarge the system image, and then install the components to the system image, WINE will not run under Libertine because of proot, which it uses to set up a unprivileged chroot)Anyway, the kernel is indeed buildable, I'm running it on my 15.04 N7 right now. Perhaps I should make a thread for the kernel on here now that it's buildable, might be able to get some help with it (cleanup, optimization, etc), not sure how well received it will be though, what do you think @doniks? (Btw, was playing around with the Mainline kernel, postmarketOS, and a couple other distributions [using a modified ramdisk to boot from a directory on /data], the mainline kernel is pretty cool, but I couldn't get USB working and postmarket has no onscreen keyboard functionality.)