[How to] Flash the Meizu MX4 ubuntu edition to another channel - Ubuntu Touch Development and Hacking

Hi all,
after using the BQ E4.5, I bought the Meizu Mx4 ubuntu edition and I tried to flash it using :
ubuntu-device-flash touch --channel ubuntu-touch/rc-proposed/meizu.en --bootstrap --recovery-image path/to/downloaded/recovery.img
with the recovery provided here,
http://people.canonical.com/~alextu/tangxi/recovery/recovery.img
but it doesn't work. Still the failed to enter in recovery message .
Any help ?

Got my answer
Connect your phone to Ubuntu desktop
Code:
sudo apt-get install phablet-tools
Unlock phone (you need also developer mode on)
Code:
phablet-shell
Inside shell
Code:
sudo system-image-cli --switch ubuntu-touch/rc-proposed/meizu.en
After download and automatic reboot you will have new channel. Be warned this channel is not for normal usage.

mousse04 said:
Got my answer
Connect your phone to Ubuntu desktop
Code:
sudo apt-get install phablet-tools
Unlock phone (you need also developer mode on)
Code:
phablet-shell
Inside shell
Code:
sudo system-image-cli --switch ubuntu-touch/rc-proposed/meizu.en
After download and automatic reboot you will have new channel. Be warned this channel is not for normal usage.
Click to expand...
Click to collapse
Hi do you know how to unbrick MX4 Ubuntu Edition ?
Can't seem to get it work to fastboot or recovery mode. Can't even to turn it on.

Related

[HOW-TO] Mount MTP in Ubuntu from repository

Hi there,
I just wanted to share a tip on how to mount you Android 4+ phone very easily. I have tried all sort of guides - but thanks to webupd8.org - I finally got to mount my Liquid Smooth JB rommed HOX. This function will apparently be rolled out in next update of Ubuntu - but this is for you who - like me - can't wait
Warning: if you're not an experienced user of Ubuntu - then I recommend you go to directly to the source.
HOW-TO
Code:
sudo add-apt-repository ppa:langdalepl/gvfs-mtp
sudo apt-get update
sudo apt-get upgrade
Reboot and it works...
Source: http://www.webupd8.org/2013/01/upgrade-to-gvfs-with-mtp-support-in.html
Hey man, its working!
Really thanx for that!

[HOW TO] set up adb on UBUNTU 12.04, 11.10 and 11.04 easy way

If you are using Windows 8.1 or Windows 8, you will know that the HTC drivers are not compatible and you cannot get fastboot access using Windows.
So what is the next best option? Dual boot to LINUX (UBUNTU).
This guide is a step by step noob friendly guide to set up the adb and fastboot tools on UBUNTU without the hassels of downloading SDK or JDK
Step 1: Open teminal on UBUNTU
Step 2: type the following as it is one at a time
Code:
sudo add-apt-repository ppa:nilarimogard/webupd8
sudo apt-get update
sudo apt-get install android-tools-adb android-tools-fastboot
Step 3: Update the adb packages by typing the following in the terminal
Code:
sudo apt-get install android-tools-fsutils
Step 4: Now download the Linux Fastboot files from downloads below. Extract on Desktop
Step 5: Run termial and type the following one by one
Code:
sudo adb devices
This will start the adb server
Code:
cd Desktop
This moves you to your desktop
Code:
cd Fastboot/ Linux
This will get you inside the fastboot folder extracted on the desktop
Code:
sudo fastboot devices
This will show the list of all the fastboot devices connected to the PC
(Remember to keep your phone in the fastboot mode by holding the "power + volume down" keys and then selcting fastboot from the bootloader menu)
Thats it!!
Congratulation you have now access to fastboot on your linux UBUNTU PC!
Hit that THANKS button if it helped!
Soutik said:
Code:
[/ sudo adb devices]
[/QUOTE]
Thanks for the info! One caveat, you forgot to terminate your code blocks with /CODE :D
like this:
[CODE][/ sudo adb devices]
Click to expand...
Click to collapse
selivanow said:
Thanks for the info! One caveat, you forgot to terminate your code blocks with /CODE
like this:
Code:
[/ sudo adb devices]
Click to expand...
Click to collapse
Thanks a lot!!! I was wondering why it wasnt like the other posts.
This is my first post!! Thanks for correcting me!
I thought the android tools where available in the standard repositories?
I am running mint and have never added the new repo.
Yes they are.. But setting them up requires u to install SDK and then extract the libs from there... This one just gets going for noobs who face trouble on win 8 and really really have to use Linux to access boot loader and fastboot.. Hence a guide
Sent from my Nexus 5 using xda app-developers app

[GUIDE] ADB & Fastboot not working under Windows? UBUNTU WILL DO!

The keystone of this guide: make ADB & fastboot working in Ubuntu, when nothing else helps with with Windows. Resent Windows OS versions are getting less flashing-friendly and some brands (like Samsung) release new devices on the market without compatible USB drivers. Before losing countless hours trying to solve the problems, try this, possibly very easy solution.
Compatible devices: ADB will work on nearly all devices, fastboot should be also usable for very most of the devices with bootloader mode: Nexus, HTC, Sony etc.
The guide is posted here in Nexus 7 (2013) thread for high amount of reported bootloops right after unlocking the bootloader- or problems with executing fastboot commands in Windows, which must work to unbrick the device.
DISCLAIMER:
Code:
* [I]I am not responsible for bricked devices or PCs, personal crisis, depressions[/I]
* [I]sleeples nights, termonuclear wars, electricity blackouts, short circuits,[/I]
* [I]or for bad weather in your region that will brick your Android device or your PC.[/I]
* [I]I try to help here, but it may not work for you. You do all on your own risk.[/I]
Click to expand...
Click to collapse
INSTALL ONLY FASTBOOT :
Windows can cause so many problems, that sometimes ADB & Fastboot simply won't work.
Run therefore ADB or fastboot in Ubuntu if Windows fails.
Installing ONLY fastboot in Ubuntu (should work with 10.x, 11.x and 12.x)
(internet connection required)
Run in the Terminal:
Code:
sudo add-apt-repository ppa:nilarimogard/webupd8
sudo apt-get update
sudo apt-get install android-tools-adb android-tools-fastboot
Reboot isn't required.
Save all the flashing files on home folder, or navigate with "cd" to your files.
Happy flashing!
For the case it doesn't work after this, try THIS method which is little bit more complicated, but should work in actually all Linux OS variants.
Click to expand...
Click to collapse
INSTALL ADB AND FASTBOOT :
To fix a bootloop, for unbricking, to root, to unlock/relock the bootloader, for flashing of a stock firmware, kernel, or recovery: for all those things fastboot must work reliably. And in Windows, it sometimes simply won't work at all, whatever you try.
Windows OS is complicated. And needs drivers at all times. Successful use of ADB or Fastboot with Windows is totally dependent on perfectly installed drivers. And there we have the source of many problems. As way around all those in fact Windows related promblems, we will use here Linux instead of Windows. Linux needs no drivers. Linux is free. Linux needs no antivirus software. Linux gets optimized day by day. Your Android device is Linux based.
After reading how many users encounter day by day countless issues by attempt to run fastboot and ADB commands (especially here in Nexus threads), I've decided to make this guide. There are some longer and complicated guides here around. I like fast, easy and secure way- so I hope this will help.
STEP 1: how to run Linux on Windows PC
There are many variants of Linux OS, but to keep the things really simple I will refer here entirely to the most popular variant of Linux: Ubuntu.
Windows users have three common ways to run Ubuntu on their Windows PC:
OPTION 1: installing Ubuntu permanently (my personal preference)
Pros: you will gain Ubuntu OS besides Windows and possibility for dual-boot. Reboot between Windows and Ubuntu takes about 1 minute. Full functionality of both operating systems.
Cons: in very seldom cases the installation of Ubuntu doesn't work flawless and if Ubuntu gets installed on the same HDD, Windows OS can get partly damaged or unusable, or has to be re-installed. Part of HDD memory space has to be permanently reserved for Ubuntu (min. 10GB recommended) and won't be accessible from Windows anymore.
OPTION 2: running Ubuntu from bootable live-CD
Pros: Ubuntu won't get physically installed, it runs 100% virtually from bootable live-CD and uses only RAM of the PC. People who don't desire to install Ubuntu permanently will have no changes on their PSs. No potential risks due to unsuccessful installation. In general, works with most of the computers.
Cons: No data or settings can get permanently saved in Ubuntu, especially Linux novices will have to learn quickly about setting the permissions: each time again after restarting Ubuntu session from the live-CD. Ubuntu is considerably slower this way.
OPTION 3: running Ubuntu from VirtualBox (in your Windows OS)
Pros: easy way to run Ubuntu directly from Windows in kind of "sandbox"
Cons: doesn't work well with some PCs
STEP 2: INSTALLING FASTBOOT & ADB IN UBUNTU
Now when your Linux OS is working, we can finally go for it!
Make sure to have internet connection
open the Software Center in Ubuntu
install openjdk-7-jdk
install Eclipse
download adt-bundle for your respective OS (32-bit or 64-bit version) from http://developer.android.com/sdk/index.html
extract the folder and paste the extracted folder to prefered folder and rename it to your prefered folder name
run the Terminal and navigate (cd) to the unzipped folder into "platform-tools"
Example for novices: I have pasted my extracted adt-bundle folder under "Home" and renamed it to "SDK", so I have to navigate to my platform-tools this way:
Code:
cd /home/tetakpatak/SDK/sdk/platform-tools
After this, you should be able to execute all the ADB and fastboot commands
Now just mind to paste all the files you desire to flash or push or sideload into your "platform-tools" folder!
Happy flashing!
Click to expand...
Click to collapse
DOWNLOAD LINKS
Ubuntu OS: DOWNLOAD HERE
Virtual Box: DOWNLOAD HERE
Warning: VirtualBox supports only the 32-bit version of Ubuntu, so also owners of 64-bit PC-systems should make sure to download the 32-bit version of Ubuntu, and not the 64-bit version!
ADDITIONAL INFORMATION AND USEFUL LINKS
Checklist for ADB:
for using in Android OS make sure to enable USB debugging under "developer options"
ADB works in Android OS and in the recovery mode, but not in the bootloader mode
make always sure at the very beginning that your ADB connection works by typing "adb devices" (the response must include a serial number on the left and "device" right after it!)
Basics about ADB: check for example this excellent ADB guide
Checklist for fastboot:
fastboot commands can be executed only in bootloader mode
fastboot commands will work also if USB debugging was disabled
make always sure at the very beginning that your fastboot connection works by typing "fastboot devices" (the response must include a serial number on the left and "fastboot" right after it!)
by using fastboot for the first time on a PC or Android device, never start with bootloader flashing! Missmatched bootloader flashing can hard-brick the device. Rather first execute "fastboot reboot-bootloader" and try to flash a kernel or recovery to make sure flashing commands are working and the connection is established.
Flashing with fastboot (example Nexus 7 v2012): check this excellent guide by @comminus
My self made video of flashing a full factory image with manually done fastboot commands in real time (example Nexus 7 v2012):
Click to expand...
Click to collapse
Please use "thanks" button beyond my posts if you find this guide useful. I've spent my time to help you, who read this.
TROUBLESHOOTING:
Occasionally, the device's storage doesn't get recognized in Ubuntu (something like MTP Camera error, can't mount camera, or so). The source of this problem is, that Ubuntu 12.04 doesn't support MTP natively yet, hopefully 13.04 will do.
This is the solution that should work with Ubuntu 12.04, enter in Ubuntu Terminal following:
Code:
sudo add-apt-repository ppa:langdalepl/gvfs-mtp
sudo apt-get update
sudo apt-get install gvfs
restart your PC, now everything should work (enable USB debugging if it doesn't)
If this method wasn't successful, you can try alternatively to do the same thing with these two repos:
Code:
sudo add-apt-repository ppa:webupd8team/unstable
sudo apt-get update
sudo apt-get install go-mtpfs
After the last command just reboot the PC
Also this repo could work:
Code:
sudo add-apt-repository ppa:langdalepl/gvfs-mtp
sudo apt-get update
sudo apt-get dist-upgrade
If none of both repos works and you want to uninstall both of them, just enter:
Code:
sudo ppa-purge ppa:webupd8team/unstable
sudo ppa-purge ppa:langdalepl/gvfs-mtp
great tutorial!
tetakpatak said:
reserved
Click to expand...
Click to collapse
Hey brother, great tutorial...
I know this will help so many people in the future and i love to see anything linux based! I have been using linux/bsd based operating systems for years and i love the way linux and android work together!
Take care my friend and thanks again for all of the hard work.
-droidshadow
You can also put your computer in test mode which bypasses msm kernel mode code signing policy. This will enable the ability to install the drivers needed. From the administration profile on your PC open a command prompt and type
Bcdedit.exe -set TESTSIGNING ON
Then restart your computer.
Edit: This is for Windows 7 X64 and Windows 8 users alike.
Sent from my Nexus 7 Flo running CM 11 4.4.2 with ElementalX Kernel using XDA Premium 4 mobile app
I keep getting a keyserver error when entering first command.
Got it to install the problem I see now is with java
Steve One said:
I keep getting a keyserver error when entering first command.
Click to expand...
Click to collapse
Which Linux version do you use?
tetakpatalked from Nexus 7 flo
tetakpatak said:
Which Linux version do you use?
tetakpatalked from Nexus 7 flo
Click to expand...
Click to collapse
Mint15
Here's another shot
Steve One said:
Here's another shot
Click to expand...
Click to collapse
Please google a bit, I think you need another repo for Mint 15, I think I saw it somewhere in www last week. Sorry, I can't research right now until end of week.
tetakpatalked from P5110
tetakpatak said:
Please google a bit, I think you need another repo for Mint 15, I think I saw it somewhere in www last week. Sorry, I can't research right now until end of week.
tetakpatalked from P5110
Click to expand...
Click to collapse
I'm truly stumped went from Windows Vista to all Linux to be able to use adb and still can't get it to recognize my device.
I installed the java 7 sdk but it still doesn't recognize my device..........guess I will try to get a Petra CD don't know what else to do ha ha and I thought this was the easy way to get adb to work. Thank you for your help kind Sir.
Steve One said:
I'm truly stumped went from Windows Vista to all Linux to be able to use adb and still can't get it to recognize my device.
I installed the java 7 sdk but it still doesn't recognize my device..........guess I will try to get a Petra CD don't know what else to do ha ha and I thought this was the easy way to get adb to work. Thank you for your help kind Sir.
Click to expand...
Click to collapse
It should definitely work with Ubuntu versions 10. 11. and 12.04 even without extra installing Java. I didn't try it with other Linux versions.
Which Linux did you install? Did you enable USB debugging?
Check in www as there are different repos available for ADB and fastboot.
Opening post updated: added procedure for enabling all ADB and fastboot functions in Ubuntu, for the short way with enabling fastboot only doesn't work with every Ubuntu version.
tetakpatalked from the legendary i9000

Moving from Windows to Linux

Hi,
I'm considering moving ftom Windows to Linux and i want to know if there are any alternative of the tools we used to bring the life to our Zen like xFSTK, fastboot, adb, Asus adb driver.
And does the command in linux different from Windows like
fastboot flash recovery ....img
adb reboot recovery
And the last one, can we run Windows batch tools like ZE55XML Modder (bat) on linux?
The distro is ElementaryOS
HungNgocPhat said:
Hi,
I'm considering moving ftom Windows to Linux and i want to know if there are any alternative of the tools we used to bring the life to our Zen like xFSTK, fastboot, adb, Asus adb driver.
And does the command in linux different from Windows like
fastboot flash recovery ....img
adb reboot recovery
And the last one, can we run Windows batch tools like ZE55XML Modder (bat) on linux?
The distro is ElementaryOS
Click to expand...
Click to collapse
Hi,
1. Fastboot and ADB:
Code:
sudo apt-get install android-tools-adb android-tools-fastboot
However, fastboot needs you to run it as superuser so it could detect the device:
Code:
sudo fastboot -any command here-
2. Asus ADB Driver isn't needed.
3. xFSTK alternative? I don't know.
4. Is there a bash script on it?
Sent from my ASUS_Z00A using XDA Labs
krasCGQ said:
Hi,
1. Fastboot and ADB:
Code:
sudo apt-get install android-tools-adb android-tools-fastboot
However, fastboot needs you to run it as superuser so it could detect the device:
Code:
sudo fastboot -any command here-
2. Asus ADB Driver isn't needed.
3. xFSTK alternative? I don't know.
4. Is there a bash script on it?
Sent from my ASUS_Z00A using XDA Labs
Click to expand...
Click to collapse
Does xfstk works on wine if i install intelsoc and other needed driver in wine?
And also, can i attach the moorefield to a windows xp VM on linux?
HungNgocPhat said:
Does xfstk works on wine if i install intelsoc and other needed driver in wine?
And also, can i attach the moorefield to a windows xp VM on linux?
Click to expand...
Click to collapse
Don't use Wine. Instead, make a Virtual Machine and install Windows over it with their drivers.
Sent from my ASUS_Z00A using XDA Labs

Androxyde FlashTool 09.23.1 linux 32 bit(For use of FSC script)also adb and fastboot

Having struggled myself to find a working reasonably up to date FlashTool for linux 32 bit i would like to share FlashTool v09.23.1 which for me is up to date enough to do everything I've asked of it.
I believe this is (i may be wrong) the newest available version for 32bit linux it also run's on 64bit system's.
Obviously all the credit to @Androxyde :good:I hope this help's out the 32 bit linux user's in the XDA community.
Instruction's for those new to linux.
Open the fully unzipped and untared Flashtool folder.
In an empty space inside the opened folder right click mouse then select open terminal here.
On the command line write ./FlashTool .......or bash FlashTool (one or the other)
The terminal is case sensitive so be sure the command is correct eg ./FlashTool
It's probably worth mentioning that FlashTool is said to work better when given root access through terminal ,I have always given it root access without any problem's.
Wait for FlashTool to update it's devices list,then enjoy
If you are using a 32bit system remember not to upgrade to a newer version if FlashTool prompt's you.
The new version is only available in 64bit there for downloading it would be a waste of your bandwidth and more importantly waste of your time.
Code:
I have not given a tutorial as there are lot's out there .
Also if you are needing adb and fastboot for linux open terminal and input this command
sudo add-apt-repository ppa:phablet-team/tools && sudo apt-get update
That will add the repository needed and update your system,
If your system doesn't automatically update after the command "&& sudo apt-get update" part then do it manually by imputing the command
sudo apt-get update
Then finally add this command.
sudo apt-get install android-tools-adb android-tools-fastboot
Then chose "install"
Your adb and fastboot command's will now be recognised via your terminal.
Click here to download FlashTool v09.23.1 for 32bit LInux

Categories

Resources