Meizu MX4 magic-device-tool - I think I've done something wrong ... I'm stuck in a loop
-
@Stefano I've tried your first suggestion and it gave me the following:
sudo ubuntu-device-flash --server=http://system-image.ubports.com touch --device=arale --channel=15.04/stable --bootstrap --wipe
2018/02/27 11:30:20 Device is |arale|
2018/02/27 11:30:20 Flashing version 3 from 15.04/stable channel and server http://system-image.ubports.com to device arale
can't flash recovery imageI tried it in recovery (power + volume down) as well (just to see!) and I'm back stuck in the loop again.
When I try the installer instead (it fails to download about 5 times, then I realise I've got the installer on another computer!), I have to choose my phone from the menu - it doesn't seem to be connecting via USB. I get as far as the screen that says "Please reboot to bootloader" but no further. I've tried the whole process a couple of times ... with no success.
-
@happyzenith try putting sudo ubports-installer,in terminal, I tried this ,the only time it has worked for me
-
This post is deleted! -
@happyzenith ok,
try to flash the MX4 recovery first and then try again same as previously.
To flash the recovery, do this;
Download the recovery from here: (https://drive.google.com/open?id=1gW9KEdm6C_yjiBdgbEf9feOGX3jwpuYn)
save it to your Home directory on your pc.
Reboot your phone to bootloader/fastboot mode
Type in terminal: sudo fastboot flash recovery recovery.imgThen reboot to recovery and try again with command:
sudo ubuntu-device-flash --server=http://system-image.ubports.com touch --device=arale --channel=15.04/stable --wipe -
Thanks @Stefano !
The recovery seems to have worked. I now have a background with a UBports logo on
I've left the phone flashing for a couple of hours so far and I haven't had any feedback from the terminal or change on the phone. Is that normal? I've just left it to run overnight ...
-
@Marathon2422 Thanks for that. I tried it and the last few lines from the terminal were:
info: Downloading file, 8% left
info: Download checking file
info: checked: ubports-e5cf0885f061c9615931cf863a43f65d8590aa71027315ad71999252ce118868.tar.xz
error: Devices: Download error Checksum did not match on file ubports-e5cf0885f061c9615931cf863a43f65d8590aa71027315ad71999252ce118868.tar.xzI did this a couple of times, both times leaving it for a few hours each time, but it didn't finish,
-
@happyzenith
Reboot to recovery and type in terminal:
adb shell
rm -rf /cache/recovery/.xz /cache/recovery/.xz.ascIt will probably ask you for your password of the phone, just type it in(you won't see the text on terminal, just like when typing password in terminal on your PC)
It should delete the old files in Recovery.Then try to flash again.
-
@stefano Please carry on with the advice you are getting and I hope you get there in the end. Just in case, you said at the start you used the magic device tool to start with. If you haven't already and all else fails try the magic device tool --dev version. I used the snap if this to install on my mx 4.
-
@stefano thanks!
I've tired adb shell and got error: device offline
-
@happyzenith Try to reflash the Recovery again and then try to clear the cache
-
@stefano Thanks!
I accidentally did it in fastboot mode, which gave me:
sending 'recovery' (10760 KB)...
OKAY [ 0.566s]
writing 'recovery'...
OKAY [ 0.543s]
finished. total time: 1.109sWhen I try to reflash the recovery section, using the downloaded code, in recovery mode, I get < waiting for device >
I've waited for about 15 minutes, then tried again with a different USB port and cable, but it gives me the same message
-
@happyzenith Sorry posted this to the wrong person yesterday
Please carry on with the advice you are getting and I hope you get there in the end. Just in case, you said at the start you used the magic device tool to start with. If you haven't already and all else fails try the magic device tool --dev version. I used the snap if this to install on my mx 4.
Good luck with your quest
-
@lakota Is that different from the magic-device-tool? How can I download that to try? I've had a look and couldn't find it. I'm probably using the wrong search terms ...
-
@happyzenith Yes its a slightly different version. I used Linux mint and had to install snapd first which allows you to install snap packaged apps. Then search for Magic-device-tool --devmode and you should get the right version.
The normal MDT didn't work for me but this did and was very straight forward.
I've only done this once so I would look up how to install snapd and snaps from the net or theres info in the Ubports Doc app in the open app store. Wouldn't want to miss out anything by trying to remember what I did, but it was quite straight forward and I'm not at all techy.
There is also a MDT telegram group who will help you out. All the best -
Fab - all done! With lots of help from the lovely people on the UBports supergroup on Telegram
Firstly I downloaded to my computer the recovery image file for Meizu MX4 from: https://wiki.ubuntu.com/Touch/Devices#Working_with_ubuntu-device-flash
I needed to do this because it is a retail phone that shipped with Ubuntu installed already (and is currently running Ubuntu).
I rebooted into FASTBOOT (the bootloader) by pressing down on the volume button and power button at the same time and holding it until I could see =>FASTBOOT on the phone screen.
In the terminal on my computer I typed in: ubuntu-device-flash --server https://system-image.ubports.com touch --recovery-image recovery.img --channel ubports-touch/15.04/stable --bootstrap. If you have a different file name for the recovery image file you would need to put in a different file name where I've put recovery.img
On my phone I could then see a purple background and ubuntu logo. In the terminal window I could see a terminal output showing that it is pushing files.
Eventually the terminal output read "Rebooting into recovery to flash". The phone then reflashed and installed ... with me watching
-
@happyzenith Well done! Its a good community here isn't it. Have fun.
-
@happyzenith you see, I knew you manage to do it. Enjoy it!
-
Yep - and l've now got Telegram installed on my desktop too ... certainly might come in handy!