Tuesday, June 9, 2015

Create your own FTF Files for Sony Xperia Smartphone

Requirements:

  • FlashTool 
  • XperiFirm
  • Internet Connection
In order to create own FTF files for your phone, you will need FlashTool and XperiFirm software but latest version of FlashTool 0.9.18.6 has XperiFirm already integrated. If you have old version of FlashTool and do not want to update it, you can download the XperiFirm seperately from here.
FlashTool can be downloaded from here.

This guide is divided into 2 sections; i.e. XperiFirm Section and FlashTool Section. Follow the instructions carefully.


XperiFirm Section:

1. Select your handset on the left pane. You can then choose the firmware for your region/carrier in the middle pane. The pane on the right side will show you which firmware is available for that region. Click on it to download the file.





2. You will find a number of files starting with ‘FILE’ in the download location. Please take note of this location. If this folder include ‘fwinfo.xml’ then manually delete it before continuing to the flashtool section. If you do not delete this file, your FTF will not work, it will corrupt.




Flashtool Section:

1. Launch Flashtool

2. Click Tools – Bundles – FILESET Decrypt.


3. In Source Folder, Browse for the location of files you have noted in Step 2 of XperiFirm Section.

4. Select All files under Available files column and hit -> arrow to move all files to convert column and then click Convert. This can take a few minutes so please be patient and wait till it is completed. After this is complete, a new Bundler window will pop up automatically. If it does not, you can manually open Bundler by going Tools –- Bundles -- Create.

5. Select the ‘Device’ box which will bring up a box allowing you to select your device. You can then type in the region in Branding field and the build number in version field.

6. Under Folder List, select all files except files with .ta extension and hit -> button to move selected files to right side and click Create button. This is very important to exclude .ta files else you could brick your phone.


7. Flashtool will now start parsing files and once complete you can look for your newly create FTF file in Firmwares folder. You can now flash the newly created FTF File into your device using FlahsTool.


Sunday, June 7, 2015

How to ROOT Sony Xperia Z running Android Lollipop 5.0.2

Recently, We got Android lollipop 5.0.2 for Sony Xperia Z. After updating to latest firmware version, everyone want to Root their device but it is always difficult to Root latest Firmware available because the manufacturer tends to fix all the exploits used to Root the device.
If you are looking to Root your Xperia Z, this can help you.
This guide will work with the devices having Locked and Unlocked Bootloader. 

Prerequisites 

1. Upgrade to Lollipop 5.0.2. 
2. Install drivers and configure ADB on your PC. 

3. Enable USB debugging on your phone and Allow installation of apps from unknown sources under security settings. 


Read the instructions carefully before proceeding. 

Steps:-

1. Go to my google drive link and download the data.zip file. 
https://drive.google.com/file/d/0B1L...F4Qnd6T2M/view 
2. Extract the contents into your working ADB directory (where adb.exe is located). 
3. Connect your phone to PC via USB cable.
3. Copy KingRoot-4.1.0.249.apk file to your phone. Install the apk and run it. Make sure you are connected to internet as the KingRoot tool uses internet connection to download suitable exploit for your device on the go. After you run it, click Try Root option and let it complete till 100%. It will confirm that Rooting is successful. Now your phone is rooted. 

If you do not like KingRoot and KingUser (for any reason) and want to switch to SuperSU then follow these steps:

1. Make sure you have extracted all the apps from data.zip into ADB directory. Browse to your ADB directory, press & hold Shift Key on Keyboard then right click on empty space to open context menu and select Open command window here. In command windows, type “adb devices” without quotes. You should be able to see your device listed. Then type the following commands carefully in same order (copy paste is better way to prevent any typo J)


adb push su /data/local/tmp
adb push busybox /data/local/tmp
adb shell

2. You will be taken to a shell prompt with $ sign. In the shell type the following commands and keep your eye on your phone, when prompted, give the access permission:

su
mount -o remount,rw /system
cat /data/local/tmp/su >/system/xbin/daemonsu && chmod 0755 /system/xbin/daemonsu
cat /data/local/tmp/busybox >/system/xbin/busybox && chmod 0755 /system/xbin/busybox
daemonsu -d &

Leave the command Window running and do not disconnect your phone while you continue with the rest of steps.

3. Open the KingUser app in your phone, open settings (at the top right corner) and click Root authorization setting and then Remove Root permission. The app will be uninstalled automatically. 

4. Uninstall the other two remaining KingRoot apps from your phone (KingRoot and the other one with Chinese language and the blue icon).

5. Go back to the Command window running adb, and type the following commands:

cat /data/local/tmp/su > /system/xbin/su && chmod 0755 /system/xbin/su 
busybox chattr -ia /system/xbin/ku.sud 
busybox chattr -ia /system/xbin/supolicy 
busybox chattr -ia /system/xbin/pidof
rm /system/xbin/ku.sud 
rm /system/xbin/supolicy
rm /system/xbin/pidof

rm /system/bin/debuggerd
rm /system/bin/debuggerd_real 
rm /system/bin/debuggerd64

busybox chattr -ia /system/bin/install-recovery.sh
busybox chattr -ia /system/bin/rt.sh
rm /system/bin/install-recovery.sh
rm /system/bin/rt.sh

busybox chattr -ia /system/bin/.usr/.ku
rm -rf /system/bin/.usr

rm /system/usr/icu/icusuflag.conf 
busybox chattr -ia /system/usr/iku/isu 
rm -rf /system/usr/iku

rm /system/kroot_* 
rm /sdcard/kr-stock-conf 
rm -rf /sdcard/Kingroot

Again leave this command window running and do not disconnect your phone.

6. Copy Superuser.apk file (from extracted data.zip folder) into phone’s sdcard.
7. Go to your phone and Install Superuser.apk, Run it and let it update the SU binary.
8. Reboot your phone and enjoy the ROOT access on your latest Android 5.0.2 Lollipop.


Read More