<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[problems flashing UBports on Meizu PRO 5 (Android international edition)]]></title><description><![CDATA[<p dir="auto">Hey there</p>
<p dir="auto">I've just got my hands on a Meizu PRO 5 having had an Aquaris E4.5 running UBports. It's an Android international edition and I'm having difficulties getting UBports Ubuntu Touch installed on it and I would really welcome some guidance.</p>
<p dir="auto">What I've done so far is as follows.</p>
<h1>unlock bootloader</h1>
<p dir="auto">I downloaded a Flyme update update.zip and installed it using the Flyme recovery image. In the updated Flyme I engaged developer options and enabled USB debugging. Next I booted the phone into fastboot and ran the following command to unlock the bootloader:</p>
<pre><code class="language-Bash">sudo fastboot oem unlock
</code></pre>
<h1>flash TWRP recovery image and wipe Flyme</h1>
<p dir="auto">I downloaded TWRP_3.0_m86.img, rebooted the phone into fastboot and ran the following command to flash the TWRP recovery image (over the Flyme recovery image):</p>
<pre><code class="language-Bash">sudo fastboot flash recovery TWRP_3.0_m86.img
</code></pre>
<p dir="auto">I used TWRP to wipe Flyme from the phone.</p>
<h1>flash Ubuntu Touch recovery image</h1>
<p dir="auto">I downloaded recovery-turbo.img, rebooted the phone into fastboot and ran the following command to flash the Ubuntu Touch recovery (over the TWRP recovery image):</p>
<pre><code class="language-Bash">sudo fastboot flash recovery recovery-turbo.img
</code></pre>
<h1>flash UBports</h1>
<p dir="auto">I booted the phone into the Ubuntu Touch recovery (such that the Ubuntu logo is displayed), then I installed UBports Installer and launched it:</p>
<pre><code class="language-Bash">snap install ubports-installer
ubports-installer
</code></pre>
<p dir="auto">The UBports installer detected the Meizu PRO 5 and I set it to install using the 16.04/devel channel and to wipe the existing system (again). The installer rebooted the phone but not to fastboot (which it appears is intended) and then it simply hung. With the installer still running, I rebooted the phone into fastboot. The installer picked up from there but then hung apparently after flashing the Ubuntu Touch recovery image. The last terminal output from it before it hangs indefinitely is as follows:</p>
<pre><code class="language-Bash">debug: reboot to bootloader
debug: 
debug: reboot to bootloader [DONE] err:null
debug: checking password
debug: correct password
debug: fastboot: wait for device
info: Download startCheck
info: checked: recovery-turbo.img
info: /home/user/snap/ubports-installer/122/.cache/ubportsimages/turbo/recovery-turbo.img already exists with the expected checksum, so download will be skipped
info: Download complete
info: done downloading(once listener)
debug: fastboot: flash; [{"type":"recovery","url":"http://cdimage.ubports.com/devices/recovery-turbo.img","checksum":"632dae343d026d755867c43ba8634c42edcc5d2b81856e790ebc8d71eaf18c03","path":"/home/user/snap/ubports-installer/122/.cache/ubportsimages/turbo"}]
</code></pre>
<p dir="auto">I have tried using different install channels without success. I've also tried installing UBports using <code>ubuntu-device-flash</code> with the phone in fastboot. When I do this, it looks like things have gone to 100 %, but then <code>ubuntu-device-flash</code> hangs with terminal output like the following:</p>
<pre><code class="language-Bash">2018/05/19 19:43:46 Device is |turbo|
2018/05/19 19:43:52 Flashing version 81 from ubports-touch/16.04/devel channel and server http://system-image.ubports.com to device turbo
349.33 MB / 349.33 MB [==================================] 100.00 % 297.48 KB/s 
</code></pre>
<p dir="auto">I've no idea what to try next and would welcome some guidance. I can't wait to get up and running! <img src="https://forums.ubports.com/assets/plugins/nodebb-plugin-emoji/emoji/android/1f642.png?v=e9f7455a4ac" class="not-responsive emoji emoji-android emoji--slightly_smiling_face" style="height:23px;width:auto;vertical-align:middle" title=":)" alt="🙂" /></p>
]]></description><link>https://forums.ubports.com/topic/1252/problems-flashing-ubports-on-meizu-pro-5-android-international-edition</link><generator>RSS for Node</generator><lastBuildDate>Mon, 09 Mar 2026 14:49:02 GMT</lastBuildDate><atom:link href="https://forums.ubports.com/topic/1252.rss" rel="self" type="application/rss+xml"/><pubDate>Sat, 19 May 2018 23:44:02 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to problems flashing UBports on Meizu PRO 5 (Android international edition) on Mon, 29 Oct 2018 14:18:25 GMT]]></title><description><![CDATA[<p dir="auto">I have re flashed flyme 6, and downgraded to flyme 5, then flashed the unlocked bootloader,then flashed UB, some times It will not go past the UB,recovery screen, I have then flashed twrp  wiped, then flash a twrp made restore of UB,then flashed UB recovery to get a working OTA,and then updated.<br />
I have done this with ch/en, flyme.</p>
<p dir="auto">I quess,adb,is not,recognized sometimes</p>
]]></description><link>https://forums.ubports.com/post/14167</link><guid isPermaLink="true">https://forums.ubports.com/post/14167</guid><dc:creator><![CDATA[Marathon2422]]></dc:creator><pubDate>Mon, 29 Oct 2018 14:18:25 GMT</pubDate></item><item><title><![CDATA[Reply to problems flashing UBports on Meizu PRO 5 (Android international edition) on Mon, 29 Oct 2018 14:02:59 GMT]]></title><description><![CDATA[<p dir="auto">Noting my success details posted at <a href="https://forums.ubports.com/post/14164">https://forums.ubports.com/post/14164</a></p>
]]></description><link>https://forums.ubports.com/post/14166</link><guid isPermaLink="true">https://forums.ubports.com/post/14166</guid><dc:creator><![CDATA[Mirv]]></dc:creator><pubDate>Mon, 29 Oct 2018 14:02:59 GMT</pubDate></item><item><title><![CDATA[Reply to problems flashing UBports on Meizu PRO 5 (Android international edition) on Wed, 12 Sep 2018 20:40:27 GMT]]></title><description><![CDATA[<p dir="auto">@xray2000 For me as well it was the only option.</p>
]]></description><link>https://forums.ubports.com/post/12390</link><guid isPermaLink="true">https://forums.ubports.com/post/12390</guid><dc:creator><![CDATA[Stefano]]></dc:creator><pubDate>Wed, 12 Sep 2018 20:40:27 GMT</pubDate></item><item><title><![CDATA[Reply to problems flashing UBports on Meizu PRO 5 (Android international edition) on Wed, 12 Sep 2018 10:53:36 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/math" aria-label="Profile: math">@<bdi>math</bdi></a> I have got the same problem even after resize the partition, what i have done and worked for me :</p>
<p dir="auto">sudo ubuntu-device-flash --server=<a href="http://system-image.ubports.com" rel="nofollow ugc">http://system-image.ubports.com</a> touch --device=turbo --channel=ubports-touch/16.04/rc --wipe</p>
]]></description><link>https://forums.ubports.com/post/12384</link><guid isPermaLink="true">https://forums.ubports.com/post/12384</guid><dc:creator><![CDATA[[[global:former-user]]]]></dc:creator><pubDate>Wed, 12 Sep 2018 10:53:36 GMT</pubDate></item><item><title><![CDATA[Reply to problems flashing UBports on Meizu PRO 5 (Android international edition) on Wed, 12 Sep 2018 05:23:21 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/math" aria-label="Profile: math">@<bdi>math</bdi></a> Make sure you have installed latest fastboot and adb on your PC and try again.</p>
]]></description><link>https://forums.ubports.com/post/12381</link><guid isPermaLink="true">https://forums.ubports.com/post/12381</guid><dc:creator><![CDATA[Stefano]]></dc:creator><pubDate>Wed, 12 Sep 2018 05:23:21 GMT</pubDate></item><item><title><![CDATA[Reply to problems flashing UBports on Meizu PRO 5 (Android international edition) on Tue, 11 Sep 2018 20:43:23 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/stefano" aria-label="Profile: stefano">@<bdi>stefano</bdi></a> I made the change sda42-43.<br />
But when I wanted to install the 16.04 with ubsports-installer 0.1.20, it still put me the error "boot.img".<br />
Whereas with the version 0.1.12, the installation 16.04 did well.<br />
Hoping that the OTA 5 will be fine.</p>
<p dir="auto">thank you for your explanations</p>
]]></description><link>https://forums.ubports.com/post/12379</link><guid isPermaLink="true">https://forums.ubports.com/post/12379</guid><dc:creator><![CDATA[Math]]></dc:creator><pubDate>Tue, 11 Sep 2018 20:43:23 GMT</pubDate></item><item><title><![CDATA[Reply to problems flashing UBports on Meizu PRO 5 (Android international edition) on Tue, 11 Sep 2018 15:37:38 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/math" aria-label="Profile: math">@<bdi>math</bdi></a> Difficult to say, but I've seen a discussion of Ubports devs about shrinking the image size of futures OTA's .</p>
]]></description><link>https://forums.ubports.com/post/12377</link><guid isPermaLink="true">https://forums.ubports.com/post/12377</guid><dc:creator><![CDATA[Stefano]]></dc:creator><pubDate>Tue, 11 Sep 2018 15:37:38 GMT</pubDate></item><item><title><![CDATA[Reply to problems flashing UBports on Meizu PRO 5 (Android international edition) on Tue, 11 Sep 2018 15:02:15 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/stefano" aria-label="Profile: stefano">@<bdi>stefano</bdi></a> Thank you very much. I will try again. But you think OTAs in the future will be bigger and bigger. Or it's only for the passage in 16.04</p>
]]></description><link>https://forums.ubports.com/post/12376</link><guid isPermaLink="true">https://forums.ubports.com/post/12376</guid><dc:creator><![CDATA[Math]]></dc:creator><pubDate>Tue, 11 Sep 2018 15:02:15 GMT</pubDate></item><item><title><![CDATA[Reply to problems flashing UBports on Meizu PRO 5 (Android international edition) on Tue, 11 Sep 2018 12:14:04 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/math" aria-label="Profile: math">@<bdi>math</bdi></a> if you follow the guide carefully, you should be able to resize the .cache partition. Ignore the error messages and just continue.</p>
<p dir="auto">By restoring the Backup 16.04 stable with TWRP, just download it, unpack it and then restore it. Afterwards, you'll only need to flash Ubuntu Recovery with fastboot.<br />
But, the future updates (OTA-stable, rc, devel ) might fail due the size of the .cache (if you don't resize it before) , otherwise you should be able to use Ubports installer.</p>
]]></description><link>https://forums.ubports.com/post/12372</link><guid isPermaLink="true">https://forums.ubports.com/post/12372</guid><dc:creator><![CDATA[Stefano]]></dc:creator><pubDate>Tue, 11 Sep 2018 12:14:04 GMT</pubDate></item><item><title><![CDATA[Reply to problems flashing UBports on Meizu PRO 5 (Android international edition) on Tue, 11 Sep 2018 11:08:16 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/stefano" aria-label="Profile: Stefano">@<bdi>Stefano</bdi></a> : Hello. I try to put my Pro 5 15.04 in 16.04 (formerly Android) but I can't.<br />
I tried with your method to increase the cache but I have too much error message.<br />
I wonder if you received an echo with the use of gparted. if it works or not.</p>
<p dir="auto">And second query, if I turn everything except TWRP, will it work with "ubports-installer" or I would still have to increase the cache?</p>
<p dir="auto">thank you in advance</p>
]]></description><link>https://forums.ubports.com/post/12369</link><guid isPermaLink="true">https://forums.ubports.com/post/12369</guid><dc:creator><![CDATA[Math]]></dc:creator><pubDate>Tue, 11 Sep 2018 11:08:16 GMT</pubDate></item><item><title><![CDATA[Reply to problems flashing UBports on Meizu PRO 5 (Android international edition) on Sat, 01 Sep 2018 17:59:55 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/tartanspartan" aria-label="Profile: tartanspartan">@<bdi>tartanspartan</bdi></a> yeah, it might trow out some errors, but should be ok to continue with resizing. It thrown errors for me too.<br />
With exact sda41 up to sda44   I can't help as I only have 32Gb version of Pro 5. Maybe some else could help?</p>
]]></description><link>https://forums.ubports.com/post/12078</link><guid isPermaLink="true">https://forums.ubports.com/post/12078</guid><dc:creator><![CDATA[Stefano]]></dc:creator><pubDate>Sat, 01 Sep 2018 17:59:55 GMT</pubDate></item><item><title><![CDATA[Reply to problems flashing UBports on Meizu PRO 5 (Android international edition) on Sat, 01 Sep 2018 17:45:33 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/stefano" aria-label="Profile: stefano">@<bdi>stefano</bdi></a> As is now clear I elaborated on my problem. The guide does not cater for these issues. Can you please read what I said and see if you can help me?</p>
]]></description><link>https://forums.ubports.com/post/12076</link><guid isPermaLink="true">https://forums.ubports.com/post/12076</guid><dc:creator><![CDATA[TartanSpartan]]></dc:creator><pubDate>Sat, 01 Sep 2018 17:45:33 GMT</pubDate></item><item><title><![CDATA[Reply to problems flashing UBports on Meizu PRO 5 (Android international edition) on Sat, 01 Sep 2018 17:22:12 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/tartanspartan" aria-label="Profile: tartanspartan">@<bdi>tartanspartan</bdi></a> just read the post about, you'll understand it.</p>
]]></description><link>https://forums.ubports.com/post/12075</link><guid isPermaLink="true">https://forums.ubports.com/post/12075</guid><dc:creator><![CDATA[Stefano]]></dc:creator><pubDate>Sat, 01 Sep 2018 17:22:12 GMT</pubDate></item><item><title><![CDATA[Reply to problems flashing UBports on Meizu PRO 5 (Android international edition) on Sat, 01 Sep 2018 17:27:19 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/stefano" aria-label="Profile: stefano">@<bdi>stefano</bdi></a> Hi there. I am trying to resize my 64GB Pro 5's partition table to enable me to install Xenial. I installed TWRP again and did an <code>adb shell</code> on my desktop. Following your guide, I get to  <code>chroot /system /bin/bash</code> and then the prompt says "bash: groups: command not found". Then the user in the prompt changes to "root@localhost:/#". I then tried the command again and now it says "bash: chroot: command not found". Puzzled, I tried to do it from TWRP's integrated terminal, straight on the phone. Is there a reason a host PC has to do it via ADB, though? Then on TWRP the command returned "bash: groups: command not found", "bash: lesspipe: command not found" and "bash: dircolors: command not found". Are any of these warnings problematic enough for me to not be able to resize the partitions without correcting for them?</p>
<p dir="auto">Furthermore, can anyone list the exact metrics of their sda41 through sda44 partitions after a succesful resize on a 64GB model? The start and end points, the size, etc?</p>
<p dir="auto">Note: I came back to edit this message because the browser on my M10 often cuts out because of too many tabs, so I didn't want to lose it and made it a work in progress.</p>
]]></description><link>https://forums.ubports.com/post/12074</link><guid isPermaLink="true">https://forums.ubports.com/post/12074</guid><dc:creator><![CDATA[TartanSpartan]]></dc:creator><pubDate>Sat, 01 Sep 2018 17:27:19 GMT</pubDate></item><item><title><![CDATA[Reply to problems flashing UBports on Meizu PRO 5 (Android international edition) on Wed, 23 May 2018 23:59:47 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/stefano" aria-label="Profile: stefano">@<bdi>stefano</bdi></a> oow  thats tempting</p>
]]></description><link>https://forums.ubports.com/post/9068</link><guid isPermaLink="true">https://forums.ubports.com/post/9068</guid><dc:creator><![CDATA[Marathon2422]]></dc:creator><pubDate>Wed, 23 May 2018 23:59:47 GMT</pubDate></item><item><title><![CDATA[Reply to problems flashing UBports on Meizu PRO 5 (Android international edition) on Wed, 23 May 2018 22:03:19 GMT]]></title><description><![CDATA[<p dir="auto">My goodness, thanks again! Genuinely thanks for your guidance on this. It is hugely appreciated. <img src="https://forums.ubports.com/assets/plugins/nodebb-plugin-emoji/emoji/android/1f604.png?v=e9f7455a4ac" class="not-responsive emoji emoji-android emoji--smile" style="height:23px;width:auto;vertical-align:middle" title=":D" alt="😄" /></p>
<p dir="auto">I actually went and manually downloaded the partition images for 16.04 and (carefully) extracted them on the phone and that worked also. I'm now happily running UBports 16.04 development with Anbox. I can't believe what I'm seeing. What the UBports team has achieved is amazing!</p>
<p dir="auto"><img src="https://i.imgur.com/DaggG8w.jpg" alt="" class=" img-fluid img-markdown" /></p>
]]></description><link>https://forums.ubports.com/post/9061</link><guid isPermaLink="true">https://forums.ubports.com/post/9061</guid><dc:creator><![CDATA[BlandCorporation]]></dc:creator><pubDate>Wed, 23 May 2018 22:03:19 GMT</pubDate></item><item><title><![CDATA[Reply to problems flashing UBports on Meizu PRO 5 (Android international edition) on Wed, 23 May 2018 19:39:52 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/blandcorporation" aria-label="Profile: blandcorporation">@<bdi>blandcorporation</bdi></a> Here is the 16.04 PRO 5 latest backup zip file, unpack it, put it to your TWRP backup folder and restore.<br />
<a href="https://drive.google.com/file/d/1e91EPP0RfP3T8xFsNH26f4ORNeJbz__A/view?usp=sharing" rel="nofollow ugc">https://drive.google.com/file/d/1e91EPP0RfP3T8xFsNH26f4ORNeJbz__A/view?usp=sharing</a></p>
]]></description><link>https://forums.ubports.com/post/9054</link><guid isPermaLink="true">https://forums.ubports.com/post/9054</guid><dc:creator><![CDATA[Stefano]]></dc:creator><pubDate>Wed, 23 May 2018 19:39:52 GMT</pubDate></item><item><title><![CDATA[Reply to problems flashing UBports on Meizu PRO 5 (Android international edition) on Wed, 23 May 2018 04:10:13 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/blandcorporation" aria-label="Profile: blandcorporation">@<bdi>blandcorporation</bdi></a> I might do a new16.04 backup of fresh install and upload it, then you can try to restore it and later update it.</p>
]]></description><link>https://forums.ubports.com/post/9022</link><guid isPermaLink="true">https://forums.ubports.com/post/9022</guid><dc:creator><![CDATA[Stefano]]></dc:creator><pubDate>Wed, 23 May 2018 04:10:13 GMT</pubDate></item><item><title><![CDATA[Reply to problems flashing UBports on Meizu PRO 5 (Android international edition) on Wed, 23 May 2018 03:33:16 GMT]]></title><description><![CDATA[<p dir="auto">Dude thank you so much for your guidance! Your instructions worked perfectly (a minor note for others reading is that the sda43 partition should be named "cache"). I've now got a nifty partition table all set up for 16.04. <img src="https://forums.ubports.com/assets/plugins/nodebb-plugin-emoji/emoji/android/1f604.png?v=e9f7455a4ac" class="not-responsive emoji emoji-android emoji--smile" style="height:23px;width:auto;vertical-align:middle" title=":D" alt="😄" /></p>
<p dir="auto">I'm currently fighting with the UBports Installer and <code>ubuntu-device-flash</code> to try to get actual flashing of UBports system images to the device working (still the only working system has arisen from your TWRP backup). I've no idea what's wrong, but am wondering if there's an ADB authorization problem preventing the installers/flashers from working. I may try getting a UBports 16.04 image and manually transferring files from it to partitions on the device using the TWRP terminal...</p>
]]></description><link>https://forums.ubports.com/post/9021</link><guid isPermaLink="true">https://forums.ubports.com/post/9021</guid><dc:creator><![CDATA[BlandCorporation]]></dc:creator><pubDate>Wed, 23 May 2018 03:33:16 GMT</pubDate></item><item><title><![CDATA[Reply to problems flashing UBports on Meizu PRO 5 (Android international edition) on Thu, 24 May 2018 08:13:17 GMT]]></title><description><![CDATA[<p dir="auto">yeah, that's an advanced procedure, don't know if you're familiar with fdisk and gparted , but if you read that post carefully first, it will shed some light on you.<br />
You need to reboot to TWRP recovery and adb shell from your PC.<br />
You need to decrease the size of partition 42 ( sda 42 )(custom)</p>
<p dir="auto">/dev/block/sda42 720896  797700   76805  300M Linux filesystem<br />
/dev/block/sda43 851968  983039  131072  512M Microsoft basic data<br />
/dev/block/sda44 983040 7633914 6650875 25.4G Microsoft basic data</p>
<p dir="auto">and increase the size of partition 43(sda43) (cache)</p>
<p dir="auto">I decreased the 42 to  300M and increased 43 to 700 (-ish) and 16.04 installed without any issue then</p>
<p dir="auto">In your case the partitions start and end block will be different as you have 64Gb version of PRO5, but that's not an issue.</p>
<p dir="auto">Just follow the instrucions ;</p>
<p dir="auto">reboot to TWRP,<br />
In terminal on your PC write;</p>
<p dir="auto">mount /dev/block/sda41 /system<br />
mount -t proc proc /system/proc<br />
mount -t sysfs sys /system/sys<br />
mount -o bind /dev /system/dev<br />
chroot /system /bin/bash</p>
<p dir="auto">type: fdisk<br />
type: fdisk /dev/block/sda</p>
<p dir="auto">type: m<br />
Now you should be in the menu of FDISK utility,</p>
<p dir="auto">have a look at the commands.</p>
<p dir="auto">type: p</p>
<p dir="auto">the output should be your phone partition table, copy it and save it to Libre Office writer or whatever you want( gedit...etc)</p>
<p dir="auto">Now you can see your partitions 42 and 43 which are of your interest.<br />
You need to decrease the size of 42 and increase 43.<br />
About 725M for partition of 43 would suffice, but you can give it more if you'd like.<br />
Remember what you add to 43 you need to take from 42.</p>
<p dir="auto">Here is my table for comparison only:</p>
<p dir="auto">Device            Start     End Sectors  Size Type<br />
/dev/block/sda1    1024    1279     256    1M Microsoft basic data<br />
/dev/block/sda2    1280    1343      64  256K Microsoft basic data<br />
/dev/block/sda3    1344    1407      64  256K Microsoft basic data<br />
/dev/block/sda21   2048    3071    1024    4M Microsoft basic data<br />
/dev/block/sda22   3072    5119    2048    8M Microsoft basic data<br />
/dev/block/sda23   5120    5631     512    2M Microsoft basic data<br />
/dev/block/sda24   5632    6655    1024    4M Microsoft basic data<br />
/dev/block/sda25   6656    7679    1024    4M Microsoft basic data<br />
/dev/block/sda26   7680   13823    6144   24M Microsoft basic data<br />
/dev/block/sda27  13824   22015    8192   32M Microsoft basic data<br />
/dev/block/sda28  22016   30207    8192   32M Microsoft basic data<br />
/dev/block/sda29  30208   35327    5120   20M Microsoft basic data<br />
/dev/block/sda30  35328   40447    5120   20M Microsoft basic data<br />
/dev/block/sda31  40448   45567    5120   20M Microsoft basic data<br />
/dev/block/sda32  45568   50687    5120   20M Microsoft basic data<br />
/dev/block/sda33  50688   55807    5120   20M Microsoft basic data<br />
/dev/block/sda41  65536  720895  655360  2.5G Microsoft basic data<br />
/dev/block/sda42 720896  797700   76805  300M Microsoft basic data<br />
/dev/block/sda43 797952  983039  185088  723M Microsoft basic data<br />
/dev/block/sda44 983040 7633914 6650875 25.4G Microsoft basic data</p>
<p dir="auto">NOW, delete the 42 partition by typing: d<br />
it should ask you the number of partition<br />
Command (m for help): d<br />
Partition number (1-3,21-33,41-44, default 44): 42</p>
<p dir="auto">Partition 42 has been deleted.</p>
<p dir="auto">Now you need to create a new 42 partition with smaller size<br />
type: n<br />
it will ask you for a partition number and you'll type 42<br />
now it's asking for a first sector and you'll need to calculate the size as your 64Gb phone has a different partition table as mine 32Gb.</p>
<p dir="auto">the first sector should stay the same, just press enter on keyboard,<br />
the end sector you'll need to try to guess it. I've used end sector of 790000 instead of 810000, thus gaining some space for partition 43, but you'll need to try it on you own.<br />
NO WORRIES, unless you save it, it won't be set, you can try it again and again, just by pressing  q and enter<br />
Then again typing: fdisk /dev/block/sda<br />
and you'll be in the fdisk menu again, without any changes to the partition table, you can verify this by typing: p<br />
I know it's a good game to try to guess the partition size, I've gone through that as well.</p>
<p dir="auto">Anyway, when you finally manage to set the right end sector of partition 42, you'll need to change the partition type as at the moment is LINUX FILE SYSTEM and we nee a MICROSOFT BASIC DATA ( or type 6 )<br />
In order to do that, type command :  t<br />
It will ask you for a partition No, you type: 42<br />
Now it will ask for a type of the partition 42<br />
type in: l<br />
It will list all known file types, as you can see we need the No. 6 or MICROSOFT basic data<br />
type: 6<br />
Changed type of partition 'Linux filesystem' to 'Microsoft basic data'.</p>
<p dir="auto">Now go back and verify that by typing: p</p>
<p dir="auto">it should list again the partition table with changed 42 partition size and file type.</p>
<p dir="auto">You'll need to verify this by typing: v</p>
<p dir="auto">See something like this?<br />
Command (m for help): v<br />
No errors detected.<br />
Header version: 1.0<br />
Using 20 out of 128 partitions.<br />
A total of 11386 free sectors is available in 3 segments (the largest is 38 MiB).<br />
So it's verified.</p>
<p dir="auto">Now type: x<br />
It will take you to expert menu/mode.<br />
You'll need to change the name of the partition 42 to ''custom''<br />
To do that, type: m</p>
<p dir="auto">This should appear on you Terminal:</p>
<p dir="auto">Expert command (m for help): m</p>
<p dir="auto">Help (expert commands):</p>
<p dir="auto">GPT<br />
i   change disk GUID<br />
n   change partition name<br />
u   change partition UUID<br />
M   enter protective/hybrid MBR</p>
<p dir="auto">A   toggle the legacy BIOS bootable flag<br />
B   toggle the no block IO protocol flag<br />
R   toggle the required partition flag<br />
S   toggle the GUID specific bits</p>
<p dir="auto">Generic<br />
p   print the partition table<br />
v   verify the partition table<br />
d   print the raw data of the first sector from the device<br />
D   print the raw data of the disklabel from the device<br />
f   fix partitions order<br />
m   print this menu</p>
<p dir="auto">Save &amp; Exit<br />
q   quit without saving changes<br />
r   return to main menu</p>
<p dir="auto">O.K ,type: n<br />
type:42</p>
<p dir="auto">Give it a new name as prompted.<br />
Type: custom</p>
<p dir="auto">Now type: r<br />
it takes you back to main menu of FDISK utility.</p>
<p dir="auto">Type: w<br />
it writes the changes and saves them.<br />
Now you should be back in adb shell as     root@localhost #<br />
Good,<br />
you'll need to format the newly created partition of 42, by typing:<br />
mke2fs -t ext4 -m 0 /dev/block/sda42</p>
<p dir="auto">This should look the output like:</p>
<p dir="auto">root@localhost:/# mke2fs -t ext4 -m 0 /dev/block/sda42<br />
mke2fs 1.42.12 (29-Aug-2014)<br />
/dev/block/sda42 contains a ext4 file system<br />
created on Fri Jan 26 19:09:44 2018<br />
Proceed anyway? (y,n) y<br />
Discarding device blocks: done<br />
Creating filesystem with 76805 4k blocks and 76896 inodes<br />
Filesystem UUID: f7f0db2f-b0e9-4bf7-bf94-ae843a409094<br />
Superblock backups stored on blocks:<br />
32768</p>
<p dir="auto">Allocating group tables: done<br />
Writing inode tables: done<br />
Creating journal (4096 blocks): done<br />
Writing superblocks and filesystem accounting information: done</p>
<p dir="auto">Now to verify if the partition 42 has been decreased in size, reboot the phone to TWRP recovery and again do this steps:</p>
<p dir="auto">adb shell</p>
<p dir="auto">mount /dev/block/sda41 /system<br />
mount -t proc proc /system/proc<br />
mount -t sysfs sys /system/sys<br />
mount -o bind /dev /system/dev<br />
chroot /system /bin/bash</p>
<p dir="auto">Now go back to fdisk utility by typing: fdisk /dev/block/sda</p>
<p dir="auto">and verify the changes in partition 42 by typing: p</p>
<p dir="auto">You should see the partition 42( sda42) decreased in size<br />
If true, congratulation, now to increase the partition 43 (sda43) which is our main interest off course.</p>
<p dir="auto">Go back and do the same steps for partition 43 ,delete it, create it,  increase the size, change the name to ''cache'', save it, then format it, verify ,  just like with the partition 42.</p>
<p dir="auto">I guess you'll be busy today <img src="https://forums.ubports.com/assets/plugins/nodebb-plugin-emoji/emoji/android/1f642.png?v=e9f7455a4ac" class="not-responsive emoji emoji-android emoji--slightly_smiling_face" style="height:23px;width:auto;vertical-align:middle" title=":-)" alt="🙂" /> Have fun.</p>
]]></description><link>https://forums.ubports.com/post/8966</link><guid isPermaLink="true">https://forums.ubports.com/post/8966</guid><dc:creator><![CDATA[Stefano]]></dc:creator><pubDate>Thu, 24 May 2018 08:13:17 GMT</pubDate></item><item><title><![CDATA[Reply to problems flashing UBports on Meizu PRO 5 (Android international edition) on Mon, 21 May 2018 01:20:15 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/stefano" aria-label="Profile: Stefano">@<bdi>Stefano</bdi></a> Oh excellent! I followed your directions from <a href="https://forums.ubports.com/topic/665/meizu-pro-5-without-any-os/3">here</a> and now there's a working UBports 15.04 on my Meizu PRO 5. Thanks so much! <img src="https://forums.ubports.com/assets/plugins/nodebb-plugin-emoji/emoji/android/1f604.png?v=e9f7455a4ac" class="not-responsive emoji emoji-android emoji--smile" style="height:23px;width:auto;vertical-align:middle" title=":D" alt="😄" /></p>
<p dir="auto">I hope you don't mind, but I'd love to get a little more guidance from you, if you are willing. I want to get this machine up to 16.04/devel.</p>
<p dir="auto">After using TWRP to restore your image, I flashed the Ubuntu recovery image and then, just to test it out, tried to see if the Ubuntu update facility in the settings would be able to update the system. Unfortunately something isn't quite working here and I'm getting the "Update failed, contact support." message from the Ubuntu recovery. Perhaps this is partition-related.</p>
<p dir="auto">Anyway, now I'm thinking about changing the partitions to prepare the machine for 16.04/devel. I can see that you had some success on this <a href="https://forums.ubports.com/topic/927/how-to-increase-cache-partition-or-any-partition-on-ubuntu-touch-phone-question/12">here</a>. Would you be able to tell me the commands you used?</p>
<p dir="auto"><img src="https://i.imgur.com/4mAr019.png" alt="" class=" img-fluid img-markdown" /></p>
]]></description><link>https://forums.ubports.com/post/8959</link><guid isPermaLink="true">https://forums.ubports.com/post/8959</guid><dc:creator><![CDATA[BlandCorporation]]></dc:creator><pubDate>Mon, 21 May 2018 01:20:15 GMT</pubDate></item><item><title><![CDATA[Reply to problems flashing UBports on Meizu PRO 5 (Android international edition) on Sun, 20 May 2018 17:29:52 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/blandcorporation" aria-label="Profile: blandcorporation">@<bdi>blandcorporation</bdi></a>  have a look here :<a>link text</a>text](<a href="https://forums.ubports.com/topic/665/meizu-pro-5-without-any-os/54">https://forums.ubports.com/topic/665/meizu-pro-5-without-any-os/54</a>)</p>
]]></description><link>https://forums.ubports.com/post/8951</link><guid isPermaLink="true">https://forums.ubports.com/post/8951</guid><dc:creator><![CDATA[Stefano]]></dc:creator><pubDate>Sun, 20 May 2018 17:29:52 GMT</pubDate></item><item><title><![CDATA[Reply to problems flashing UBports on Meizu PRO 5 (Android international edition) on Sun, 20 May 2018 17:25:24 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/blandcorporation" aria-label="Profile: blandcorporation">@<bdi>blandcorporation</bdi></a> that's strange, 15.04 should install without issue.</p>
]]></description><link>https://forums.ubports.com/post/8950</link><guid isPermaLink="true">https://forums.ubports.com/post/8950</guid><dc:creator><![CDATA[Stefano]]></dc:creator><pubDate>Sun, 20 May 2018 17:25:24 GMT</pubDate></item><item><title><![CDATA[Reply to problems flashing UBports on Meizu PRO 5 (Android international edition) on Sun, 20 May 2018 16:41:18 GMT]]></title><description><![CDATA[<p dir="auto">@lakota I found that post perfectly ironed and without any wrinkle <img src="https://forums.ubports.com/assets/plugins/nodebb-plugin-emoji/emoji/android/1f642.png?v=e9f7455a4ac" class="not-responsive emoji emoji-android emoji--slightly_smiling_face" style="height:23px;width:auto;vertical-align:middle" title=":)" alt="🙂" /></p>
]]></description><link>https://forums.ubports.com/post/8947</link><guid isPermaLink="true">https://forums.ubports.com/post/8947</guid><dc:creator><![CDATA[advocatux]]></dc:creator><pubDate>Sun, 20 May 2018 16:41:18 GMT</pubDate></item></channel></rss>