Sunday, 31 July 2016

[F31xx][Video Guide] How to root your Xperia XA (as noob friendly as possible :) )

Hi all

As requested I make a "how to" video to be more noob friendly, the video is probably not perfect and my English too but I do my best to be understandable to all :)


PLEASE READ
I'm not a dev and I have no responsability if you flash my files.
As said in the video you must wipe "userdata" partition when flashing IF your phone memory IS crypted or if you don't know the uncrypt password, someone on the web speak of "default password" but what is it ?? If cryped (with no password) you can't backup /data and can't mount internal memory in TWRP. You can manually enable encryption and be able to set YOUR OWN password, but you can't revert back. And in theory you can make full nandroid backup and mount /data partition when in TWRP but can't mount inernal memory.
Regarding mounting /system rw in TWRP, seen on other tuto, you must never "swipe to allow modification" when prompted, after installing root package /system is mounted rw with no problem (look at "mount" menu).
IF YOU UPDATE OR FLASH STOCK BOOT and power on the device to Android, it will encrypt again the internal memory and if you shutdown the device before the end (xperia screen for hours) it will corrupt your data, not the SD card).
For futur, if you want to update, ask me and will release modified boot. I don't know what it does if you update stock after setting password encryption :/

Why I changed that by replacing "FORCENCRYPT" by "ENCRYPTABLE" in fstab Boot:
http://arstechnica.com/gadgets/2015/...r-new-devices/
and
http://www.androidcentral.com/inside...ptable-storage

Before continue, you must understand that unlocking your BootLoader will void your warranty, break your device DRM and lose X-Reality and image optimisation on low light when taking pictures (seen some workaround but not for XA).
You can't re-lock your phone and it will not restore DRM.
If you have confidentials files in your phone don't unlock your bootloader, as long as your phone is locked your data are officially secured.
This will be repeated when following Sony step by step guide. YOU ARE AWARE !

To verify bootloader lock state after unlock, on phone dialer:
*#*#7378423#*#* ---> Service info ---> Configuration ---> Check for "Bootloader unlocked: Yes" IT MUST BE YES !!!

By rooting your phone you will be able to install/uninstall system apps, install Xposed framework (Gravity Box, Dark Pokemon Go,...) or Viper4Android for an awesome sound! You can tweak and mod your phone deeper (battery,CPU,...), build and flash custom ROMs and many other things :D
If you have problems or want to unroot you can flash stock firmware like in the video with Flashtool, no need to wipe userdata.

Please watch my video one time before begin, to understand what you have to do.
Free to you to distribute or modify my files but please link this thread as source.

BY FOLLOWING THIS GUIDE YOUR PHONE WILL PERFORM A FACTORY RESET WHEN UNLOCKING BL ( it will not format SD card) , MAKE BACKUPS !

Tested on my device F3112 and reported as working on F3116, other models may work as well if you do ALL steps. Will confirm after positive feedbacks.

Let's begin!

YOU NEED:

My first video guide :) (will be on youtube after validation) : https://mega.nz/#!RlwVSAKC!6lTBZxVnL...UWIq8lEUfSp4Zw

Download XA ADB drivers, all models for Windows
http://dl-developer.sonymobile.com/d..._XA_driver.zip

Download XA Fastboot drivers, all models for Windows (if needed, installation is same as ADB drivers in video)
http://developer.sonymobile.com/down...stboot-driver/

Download FLASHTOOL with integrated Xperifirm 0.9.22.3 for Windows
http://www.flashtool.net/downloads_windows.php
(if needed you can unlock bootloader with it, I unlocked my device with it)
Just follow official way and when you get the unlock code, paste it in UB menu of Flashtool. (faster way)



The step by step guide to unlock BootLoader by official way:
http://developer.sonymobile.com/unlo...urboot-loader/
Video (not mine): https://www.youtube.com/watch?v=6lKWd5LlUoA
(Just select Xperia XA when asked)

Now depending the firmware you want to root ( the one you downloaded with Xperifirm) choose your rootpack:

For XA single sim (33.2.A.2.xx) = F3111, F3113, F3115

33.2.A.2.73: https://mega.nz/#!ZsQhwbTC!rvw437H0Z...yPmSRjyfZlMFiU (NOT TESTED)

For XA dual sim (33.2.B.2.xx) = F3112,F3116

33.2.B.2.35: https://mega.nz/#!5lZFhapC!SrYt1HmOI...L-Pd1f0Bpkireg
33.2.B.2.73: https://mega.nz/#!xgoXxBTa!DKAwKELVs...CgG73RswzMPUi0


Good luck :)

No comments:

Post a Comment