• Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Register
  • Login
UBports Robot Logo UBports Forum
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Register
  • Login

Can't install Ubuntu Touch/Ubports on Nexus 7 flo.

Scheduled Pinned Locked Moved Support
40 Posts 6 Posters 11.1k Views 2 Watching
Loading More Posts
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • S Offline
      Stefano
      last edited by 15 Oct 2017, 11:33

      I never thought that I would run out of ideas how to flash a device, but here I am.

      I was trying to flash Ubuntu Touch by Ubports to Nexus 7 flo, but have failed numerous times.
      Ubuntu-device-flash metod = downloads and pushes all but fail on ,, error, can't push to .cache, is a directory

      MDT fails at the same step

      Ubports installer downloads and pushes all files-according to screen reading and says Done!
      But again fails as you can see from the picture attached(N7 recovery)unlocked 10 + minutes and nothing happening

      I have tried that on Nexus 7 that base was on 5.1, 6.01 Lineage OS 7.1.2.
      Adb debbuging enabled, bootloader unlocked, freshly wiped.

      Anyone have any idea what's wrong.
      Btw, I have 3 Nexus 7 tablets, same on each one is happening.

      Thanks.0_1508067167660_1508067145550.jpg

      1 Reply Last reply Reply Quote 0
      • M Offline
        mihael
        last edited by 15 Oct 2017, 12:34

        What is the dimension of the cache partition?

        S 1 Reply Last reply 15 Oct 2017, 13:25 Reply Quote 0
        • S Offline
          Stefano @mihael
          last edited by 15 Oct 2017, 13:25

          @mihael I have no idea.

          S 1 Reply Last reply 15 Oct 2017, 18:30 Reply Quote 0
          • M Offline
            Marathon2422
            last edited by 15 Oct 2017, 17:33

            Look here
            Https://WWW.lucaswilliams.net/index.php/2017/02/11/install-ubuntu-on-bq-aquaris-m10-fhd /
            Called behind the eyes,explains partion sizes and how to change them

            S 2 Replies Last reply 15 Oct 2017, 18:40 Reply Quote 0
            • M Offline
              mihael
              last edited by 15 Oct 2017, 17:59

              My Meizu Pro 5 came with Android and the cache partition was too small (496MB) so I had to increase it at 700MB in order to switch channel to rc-proposed back when I was using Canonical Ubuntu.

              S 1 Reply Last reply 15 Oct 2017, 20:09 Reply Quote 0
              • S Offline
                Stefano @Stefano
                last edited by 15 Oct 2017, 18:30

                @Stefano
                drwxrwx--- 6 system cache 4096 Oct 14 17:56 cache

                1 Reply Last reply Reply Quote 0
                • S Offline
                  Stefano @Marathon2422
                  last edited by 15 Oct 2017, 18:40

                  This post is deleted!
                  1 Reply Last reply Reply Quote 0
                  • S Offline
                    Stefano @mihael
                    last edited by 15 Oct 2017, 20:09

                    @mihael interesting, according to adb shell, my cache partition on Pro 5 is about the same size as on Nexus 7 4960 ??? Cos I had no problem to install on Pro 5.

                    1 Reply Last reply Reply Quote 0
                    • M Offline
                      mihael
                      last edited by 15 Oct 2017, 20:44

                      What I have:
                      df -h | grep cache
                      result:
                      /dev/disk/by-partlabel/cache 679M 3.2M 661M 1% /android/cache

                      S 1 Reply Last reply 15 Oct 2017, 20:59 Reply Quote 0
                      • S Offline
                        Stefano @mihael
                        last edited by Stefano 15 Oct 2017, 20:59

                        @mihael this is from my Pro 5
                        df -h | grep cache
                        /dev/disk/by-partlabel/cache 496M 2.7M 484M 1% /android/cache

                        and this is for Nexus 7 :
                        df -h | grep cache
                        /dev/block/mmcblk0p23 552M 10M 542M 2% /cache

                        D 1 Reply Last reply 16 Oct 2017, 18:51 Reply Quote 0
                        • M Offline
                          mihael
                          last edited by 15 Oct 2017, 21:42

                          Maybe people with more knowledge than me could say how much space you need on your cache partition for the files for your device. Depending on that you will know if you need to increase your cache partition space or if the problem is somewhere else.

                          1 Reply Last reply Reply Quote 0
                          • M Offline
                            mihael
                            last edited by 16 Oct 2017, 08:02

                            Actually I just remembered that you can download the files on your computer without flashing them to the device and then you can check the total size needed. That is what I did and how I understood I needed a bigger cache partition. This way you will know if this is where the problem is or you are fine with the size of the cache partition and then the problem is somewhere else.

                            S 1 Reply Last reply 16 Oct 2017, 08:19 Reply Quote 0
                            • S Offline
                              Stefano @mihael
                              last edited by 16 Oct 2017, 08:19

                              @mihael Thanks. Yes, it looks like the problem is with the cache. I'll increase the size and will try again.

                              D 1 Reply Last reply 16 Oct 2017, 14:02 Reply Quote 0
                              • S Offline
                                Stefano @Marathon2422
                                last edited by Stefano 16 Oct 2017, 12:28

                                @Marathon2422
                                I was trying to do that, but got stuck with parted
                                can't remove partition ,,userdata'' it says I need to unmount it but how??? Any idea?
                                Error: Partition /dev/block/mmcblk0p30 is being used. You must unmount it before
                                you modify it with Parted.

                                D 1 Reply Last reply 16 Oct 2017, 13:37 Reply Quote 0
                                • E Offline
                                  Emanuele Sorce
                                  last edited by 16 Oct 2017, 12:48

                                  @Stefano said in Can't install Ubuntu Touch/Ubports on Nexus 7 flo.:

                                  block

                                  Have you tried to change the usb cable?

                                  So Long, and Thanks for All the Fish

                                  S 1 Reply Last reply 16 Oct 2017, 12:54 Reply Quote 0
                                  • S Offline
                                    Stefano @Emanuele Sorce
                                    last edited by 16 Oct 2017, 12:54

                                    @Emanuele-Sorce this usb cable works perfectly with Nexus 5 and other devices, it's original Nexus cable, but I will try. Although I'm bit sceptic about it and think it's some other problem here.

                                    1 Reply Last reply Reply Quote 0
                                    • D Offline
                                      doniks @Stefano
                                      last edited by 16 Oct 2017, 13:37

                                      @Stefano said in Can't install Ubuntu Touch/Ubports on Nexus 7 flo.:

                                      @Marathon2422
                                      I was trying to do that, but got stuck with parted
                                      can't remove partition ,,userdata'' it says I need to unmount it but how??? Any idea?
                                      Error: Partition /dev/block/mmcblk0p30 is being used. You must unmount it before
                                      you modify it with Parted.

                                      umount /dev/block/mmcblk0p30

                                      But I would be VERY surprised if you would actually have to change the cache partition size.

                                      I have a nexus 7 gsm "deb" which should be the same apart from the gsm module. I did not have to mock around with partitions. An operation I would be VERY nervous of attempting for fear that I might render the device unbootable.

                                      I guess it is possible to do it.And I'd be very curious to hear the report of someone trying .... but I don't wanna fo it myself.

                                      I can check the partitionsizes on my deb in a few hours.

                                      That all being said I can't actually offer a hypothesis why it would work for me, but not for you.

                                      S 1 Reply Last reply 16 Oct 2017, 13:41 Reply Quote 0
                                      • S Offline
                                        Stefano @doniks
                                        last edited by 16 Oct 2017, 13:41

                                        @doniks what's the difference between deb and flo, apart from deb has a sim funcionality? Do you think e.g. if you did a full TWRP backup of fresh install and share that backup with me, would it work on my flo? Then I could just reflash it. I did this method with Pro 5 and it worked, also some other users used it a it worked.

                                        1 Reply Last reply Reply Quote 0
                                        • D Offline
                                          doniks @Stefano
                                          last edited by 16 Oct 2017, 14:02

                                          @Stefano said in Can't install Ubuntu Touch/Ubports on Nexus 7 flo.:

                                          @mihael Thanks. Yes, it looks like the problem is with the cache. I'll increase the size and will try again.

                                          Can you explain how EXACTLY you have determined that?

                                          Wrt to deb vs flo. Hearsay has it that the sim card is the only difference. A long time ago I installed a flo image and found that sound didn't work correctly.

                                          Wrt trwp backup. I guess we could try that. I could even flash a flo image first.

                                          Alternatively you could try to install "by hand". It's just my pet theory, I never really tried it, but I'm convinced installing is nothing but unpacking some archives into the right spot. Plus flashing the boot image. Not sure whether you can research that by yourself, otherwise I can try to do it in a few hours. Try searching for "ubuntu_command". I think that's what that install script is called that is run on the phone as part of uhm whatsitcalled ... ubuntu-device-flash ?!

                                          S 2 Replies Last reply 16 Oct 2017, 14:10 Reply Quote 0
                                          • S Offline
                                            Stefano @doniks
                                            last edited by 16 Oct 2017, 14:10

                                            @doniks I don't know, but that's what Terminal says every time I try to flash it either with ubuntu-device-flash or MDT or Ubports installer. It fails. I also tried a manually push the files to tablet and unpack it there, but again, no space left on device ( completely wiped before)
                                            I think the only way is to try to restore the full TWRP backup of freshly installed FLO or DEB image. If you wouldn't mind to share it with me, it would be great. I bet someone else will have a similar problem soon with Nexus 7 and by doing that you'll help a lot. Thanks btw.

                                            1 Reply Last reply Reply Quote 0
                                            6 out of 40
                                            • First post
                                              6/40
                                              Last post