UPDATE: This tutorial below will flash you back under the nasty tracking eyes of Google/Alphabet. You will get the google play store and all the ‘fun’ but you will also get spied on and ultimately regret it. I have since updated my tutorial/solution to this:
How to Flash Cyanogen Mod on Nexus 4 Using Ubuntu
There is no play store out of box but there are workarounds, etc, to hold you over for app-stuff.
————————————-
First, I hope you never have to perform this tutorial. I would never do this if I wasn’t in such a time and money crunch. What I would do instead, is buy an ubuntu phone out of box. But my situation is that I have a Nexus 4 which wasn’t designed out of box for Ubuntu so there are some bugs which I cannot find time to work around (for now).
Anyway, my hope is that the bugs will be solved in the next couple of months and I’ll flash right back to Ubuntu or have enough dough to buy a new device with it pre-installed. It’s very important that I say this because I feel like a dirty dog for even writing this tutorial but I know that I’m not alone amongst those who may need to flash in and out while the kinks are worked out in ubuntu phone. My goal here, to be crystal clear, is to give busy or broke ubuntu fans and believers a chance to stay on the team by allowing them to ‘temporarily flash out and in’ rather than, say, flash out and stay out, or buy some horrid apple or android phone before an out-of-box ubuntu phone is available for purchase in their neighbourhood.
Here’s the time-saving set of steps for you:
Assumptions: your phone is sitting there at the fast boot bootloader screen thing with the green robot with the usb cable plugged in in the same way that it was when you flashed Ubuntu onto your phone.
- download the evil compressed file of nastiness here: https://developers.google.com/android/nexus/images#instruction
- extract the stench in a safe file that will never defile the rest of your ubuntu machine
- navigate to it with the cd command (change directory command) contents should look like this:
4. type this, assuming you can see the ‘flash-all.sh’ there –> ./flash-all.sh
5. wait, cry, and think about the error of your ways and how you are putting yourself and others at risk. Also, make note in calender to flash back to Ubuntu. You’ll have a lot of time to do this because the flash seems to take extra long…
6.