Tuesday, October 21, 2014

Root xperia 3 times to get through & flashing tips


This may make you laugh, but I had to run the Easy Root install.sh 3 times (I need to be honest and blunt. The google hosting says this is infected with virus. I put together xda's zxz0O0 easy root and towel root together. For linux use, I have not experienced any trouble. Maybe the virus is for windows. I don't know how the google virus detection works. Maybe there is no virus at all.)

From the tool's link,

First run, it would be stuck, so I waited 20 minutes at
creating vm (loljavasucks)
. I unplugged USB cable to run it the second time, and it would be stuck and I had to waite another 20 minutes at
. Then I unplugged USB cable again to run it the third time, and it would finish quickly.

My tip: I have tried root checker while the install.sh is still stuck and have seen that root is already broken in while the script is hang. The last restart just checks the root. My linux PC is a chromebook with fedora21 https://docs.google.com/file/d/0B2NfHoyfFf1aUFE1ckQ0Ty15MU0/edit?usp=docslist_api(md5 sum ...) in chroot (in the top directory inside the chroot, the startfedora.sh shell script starts fedora and full desktop using the chroot's /root/.bash_profile script).

Flashing Distribution

64bit  adb inside flashtool has problem. So, modify the invoke script,
[root@localhost FlashTool]# diff FlashTool.bak FlashTool
< export system64=$(uname -m)
> export system64='x86'

And the GUI will end up running in 32bit. So, it depends on these 5 32bit rpm packs,
Oct 21 19:23:45 Installed: libXcomposite-0.4.4-4.fc20.i686
Oct 21 19:23:45 Installed: avahi-libs-0.6.31-21.fc20.i686
Oct 21 19:23:45 Installed: 1:cups-libs-1.7.0-4.fc20.i686
Oct 21 19:23:46 Installed: atk-2.10.0-1.fc20.i686
Oct 21 19:23:47 Installed: gtk2-2.24.22-2.fc20.i686


In various sources, they say that adb driver is needed, but Fedora has the android-tools rpm package that includes adb. I had to check the "Unknow Source" to enable in android xperia because towel root installs an apk to xperia. The FlashTool says use the "back button" to enter flash mode, but the xperia uses volume down instead.

So, here is the link 
to the C6806_14.3 681 Sony distribution.

The flashtool is https://drive.google.com/file/d/0B2NfHoyfFf1aNFYyNnhGRDdzZTg

Flashing Bootloader

The CyanogenMod "recovery" is also a Linux kernel that supports file system listing/mounting so that it can be used to flash a distribution onto the disc. The kernel is the boot.img inside of https://drive.google.com/file/d/0B2NfHoyfFf1aYk1oYnFyTXB5NFk distribution, which is for companion Google apps at https://drive.google.com/file/d/0B2NfHoyfFf1abDlCc1lwV3M5dXc
. The CyanogenMod AOSP distribution does not have DRM which precludes google play's movie/TV app.

The linux command to flash the bootloader is
fastboot flash boot boot.img
, but the bootloader is guarded by the sony corporation using IMEI as a variable. So, it needs extra steps with the fastboot command.

When using the "recovery" to flash the disc, the distribution to use is the said distribution.


  1. Replies
    1. The xperia m2 4.8 inch screen is very small for an exclusive-daily-use personal PC laptop. I use the Xperia Z Ultra 6.44 inch screen as my only personal PC/laptop with a full desktop PC desktop software for daily use, everyday.