Wednesday, 17 September 2014

Samsung galaxy s duos: rooting, custom recovery, customs roms, flashing

This tutorial for galaxy s duos will consist of rooting, flashing recovery, custom roms and stock firmware. NOTE: If your phone gets bricked in the process I am not responsible. Also you will void your warranty but it can be regained by revering to stock.

Flashing custom recovery and rooting
To root your phone, You will first need the custom recovery. The recovery used here is CWM. Also Odin program is needed to flash the recovery. And a root .zip file is needed. You can download these three from the links. Also download KIES from samsung website to install drivers for your phone. Now first extract and open the Odin program and click on PDA. Then select the recovery file recovery.tar and click open. Make sure only F.reset time and Auto reboot are checked. Now power off your phone and remove the back cover. Then boot it into download mode by pressing volume down+home+power button. Then a warning screen will appear so press volume up. Now connect the phone to pc. In the odin program in the message box you will see "added". This means you are good to go. Now click on start. The recovery will start to flash. Dont unplug the phone in between. Now as the recovery will be flashed the phone will reboot and so at the samsung logo quickly pull out your battery. Now start your phone and check everything is fine. Your custom recovery is now flashed.
Now copy the S7562.Rooting.Superuser.zip to your sd card. Now power it off and the boot into recovery by pressing volume up+down+home+power buttons together. As soon as the phone vibrates leave the buttons. Now you will be in cwm recovery. Select install zip from sd card and select the .zip file you copied and confirm. You will use the recovery with volume and home buttons. Volume buttons are to navigate and home is to select. Now after the file is installed reboot your phone and check for superuser app. Congo your phone is rooted.
Odin
CWM recovery
Root zip

Custom ROMs
There are some custom roms available for Galaxy s duos. Installing methods are different for each. I will list down the roms and you can check out the methods. Later I will post a method to install some specific roms.
[Stock 4.0.4] KyleOPEN by cheatman
[Stock 4.0.4] HYD52ROM by husen4u
[Stock 4.0.4] Cosmic by abhi922
[Stock 4.0.4] PMP™ Ultra by Mohitash
[Stock 4.0.4] PMP™ Light by Mohitash
[Stock 4.0.4] PMP™ Xtreme Purity by Mohitash
[Stock 4.0.4] PMP™ U-Ex ROM by Mohitash
[Stock 4.0.4] PMP™ RaZER ROM by Mohitash   
[Stock 4.0.4] SilverNexus by SilverDragon24
[Stock 4.0.4] Google Play Edition by gkostas     
[Stock 4.0.4] HyperX™ by charles1111
[Stock 4.0.4] Optimized Full Stock ROM by Mohitash
[Stock 4.0.4] [AROMA] Beautiful ROM by akashpillai



Flashing stock recovery and firmware
If you are on a custom recovery and your rom is stock and you want to make it completely stock again so you can flash just the stock recovery. Download the recovery. Open Odin program and click on PDA and select the recovery file. Make sure that only f.reset time and auto reboot are checked. Now power off your phone and boot into download mode by pressing volume down+power+home butons together and leave them as soon the phone vibrates and then press volume up button to confirm. Now connect your phone to pc and click on start in Odin. Wait till it completes and reboots. Now you have stock recovery.
stock recovery
If your phone has a custom rom installed and you want to revert back to stock so download the firmware from http://www.sammobile.com/firmwares/. Now open Odin program and click on PDA and select the firmware to open. Now boot your phone into download mode and connect it to pc.Now start it. It will take some time so be patient. Do not unplug the cable in between. Now your phone will reboot and you will be on stock.

Now you will be on stock but the flash counter will show that custom firmware is flashed and so you will not be able to claim your warranty. So before reverting to stock download the triangle away app and install it and then clear the flash counter with it. It will ask for root permissions. Then flash stock firmware or recovery. Then boot into stock recovery and do a factory reset. Congo you have a clean stock phone and you can claim your warranty.

Triangle away

Monday, 15 September 2014

Htc wildfire s: bootloader unlock, rooting, custom recovery, custom roms

This tutorial is for htc wildfire s. Its a really old phone but still many people using it and many developers developing for it. In this tutorial I will tell you how to unlock your bootloader, root your phone, flash a recovery or kernel and how to install custom roms. This is just a written tutorial but soon I will post a video too. NOTE: if your phone gets bricked in the process (it should not) i am not responsible.

Unlocking bootloader
Before unlocking the bootloader make sure to make a backup of all you.
Unlocking the bootloader will void your warranty though you can regain it by locking again.
To unlock the bootloader first make sure to install all available updates. Then enable usb debugging in your phone by going to applications in settings and tick on usb debugging.
After that download the files at the end of the topic that are htc driver and adb and fastboot package.Extract both files. After that install htc driver. It will not work on windows 8. Then register at htc dev site: https://www.htcdev.com/register/. After that power off your phone and power it on in bootloader by pressing volume down and power button together. Then go to fastboot using volume keys and press power button. After that connect your phone to your pc using usb cable. Then open the fastboot folder and press shift and right click and choose open command window here. Then type fastboot devices. If a device name appears it means you are good to go. If not check if your device is connected properly or drivers are installed properly. Then type this in command window: fastboot oem get_identifier_token and press enter. You will see long codes appear. Copy the text starting from <<< Identifier Token Start >>> and ending at <<< Identifier Token End >>> like in the pic below.
Copy it by clicking right and select mark and select using shift and arrow keys. Then press ctrl+c. Then go to this site: http://www.htcdev.com/bootloader/unlock-instructions/page-3 and paste it at the box in the end with ctrl+v and submit. You will receive an email with unlock key attached. Download it and save to the fastboot folder. Now in the command prompt (i am sure you would have kept it open) type this: fastboot flash unlocktoken Unlock_code.bin and press enter. In your phone a screen will appear like this:
Choose yes by pressing volume key up and then power key. Congo your bootloader is unlocked. To relock the bootloader type this in command screen:fastboot oem lock while your phone is in fastboot mode.

htc driver
fastboot and adb

Root
Before continuing make sure your phone is s-off. It can be checked while in bootloader. To root the phone a custom recovery is to be installed. There are two recoveries: TWRP and CWM. Download any of your choice. Also download the root.zip file. These downloads can be found at the end of the topic. Use htc driver and fastboot and adb from bootloader topic. Then place the root.zip file in your sd card. Now place the recovery.img file in fastboot folder. Now open a command prompt in fastboot folder. After this reboot your phone in fastboot and connect it to your pc. Now in command prompt type: fastboot devices. If a device appears then you are good to go. If not then check if it is properly connected. Then in command prompt type: fastboot flash recovery cwm.img for CWM or fastboot flash recovery twrp.img for TWRP. After it finishes reboot your phone into bootloader and then into recovery. After this I recommend to make a backup so that you can restore it if you want to unroot later. Then select install zip from sd card and select the root.zip file and install it. Then reboot the phone. Congo your phone is rooted. Update the binaries and the superSU app if needed.

CWM
TWRP
root.zip

Flash custom kernel

To flash a custom kernel download the boot.img and save it to the fastboot folder. Now boot the phone into fastboot and coonect it to pc. Now open a command prompt in fastboot folder and type: fastboot flash boot boot.img. Then restart the phone. This will install the kernel.

Install custom ROM
To install a custom ROM you have to download the rom.zip file and place it in your sd card. Now reboot your phone into custom recovery and install the rom.zip file and reboot the phone. First boot will takesome time. For some rom some additional files are also to be flashed like the kernel. Later I will post methods for some individual roms.

Install stock firmware
If you want to unroot your phone or if your phone is soft bricked you need to install the stock firmware. Download the RUU for your wildfire s according to your carrier from here: http://www.androidruu.com/?developer=Marvel_MarvelC
Then execute the file and wait till the wizard appears. Them open task manager and right click on ruu installer and select open file location. Dont close the RUU wizard. Now in the folder opened search for rom.zip and copy it to your desktop. Now extract the recovery.img from rom.zip to fastboot folder. Open the command window in fastboot folder, boot your phone into fastboot and connect it to pc. Now in command window type: fastboot flash recovery recovery.img. The stock recovery is now installed. Now in command prompt type: fastboot oem lock. Now your bootloader is locked. Locking the bootloader is necessary so don't skip this step. After this open the RUU and complete the steps. Now your phone is stock with relocked bootloader. You can unlock it again using the unlock key downloaded before. I have provided the tutorial for coming back to stock which has worked for many people but personally i recommend to make a nandroid backup immediately after installing custom recovery and before rooting. Then restore when needed. This is because it is a bit difficult and risky method. Also some people got their phone bricked by following this method. I dont know why htc doesn't have a flashtool for its devices like odin and flashtool for samsung and sony. I myself have not tried this method but will try soon and post a video too.

Saturday, 13 September 2014

Rooting Qmobile A50

Qmobile is a brand of phones available in Pakistan. Its has made its name in mobile indusrty by making cheap android mobile phones. A50 is also a good phone in its noir series. Today i will post how to root this phone.

There are two methods two root this phone. 1 is by installing cwm recovery and 2 is without installing the recovery. Use any of your wish.

Method 1
Ok download the files from the link at the end of the method. There will be 3 files after extracting the zip. Then drivers are to be installed. To install the drivers connect your phone to pc in debugging mode. A prompt will come to install the hardware. Select manual installation and choose the file from drivers android_winusb.inf. Now copy the root.zip file to your sd card and power off your phone. Now start it by pressing volume up+down+power button together. Then select recovery mode by pressing volume up and then select fastboot mode. Now open the Android Control folder and hold shift and right click in that folder and select open command window here. Now type fastboot devices. If a device is shown it means you can continue. Now type fastboot flash recovery recovery.img. This will start flashing the recovery. When it is finished restart your phone. Now power it off again and restart in recovery mode by pressing volume up+down+pwer buttons and select recovery and then again select recovery. You will now be on cwm recovery. Now select install zip from sdcard. Select the root.zip file and install. After install reboot. Congo your device is rooted.
Root1
Method 2
Download the package from below and extract the files. Then connect your phone in debugging mode and install drivers from drivers folder the android_winusb.inf driver. Now run Run_me.bat file and type 1 and then follow the instruction. It will ask to choose restoreoption do so in your phone by tapping restore my data. After that your will reboot and your phone will be rooted.
Root2

To check if your phone is rooted or not check for superuse app in your app drawer. Also you can download the root checker app pro and check through it.
Rootcheckpro.apk

Custom roms can also be installed on your A50 but currently there are no stable roms so when i will find one i will post them and the method to flash them.

Friday, 12 September 2014

Sony Xperia P: bootloader unlock, rooting, custom recovery, kernels, roms, flashing

Ok so my first tutorial is for sony xperia p LT22i. Its a great phone in a good price. Was my former Android Phone. Had fun in flashing custom roms in it. This tutorial will include how to unlock the bootloader, root your phone, installing custom recovery and kernel, flashing roms and flashing stock(original) firmware/rom.

Unlocking bootloader
Unlocking the bootloader is the first step in Android hacking. Before you start unlocking make sure to make a backup of all your data and apps as it will factory reset your phone. Also Charge your phone to upto 70%

Note: Unlocking Bootloader of Xperia P Will Void It’s Warranty Provided By The Manufacturer (Warranty Can Be Retained By Relocking The Same).
Disclaimer: We Have Made This Article Covering Each & Every Part Required For Unlocking Bootloader of Xperia P At Our Level Best. In Case if Any Damage Happened To Your Device (It Should Not Be), I Will Not Be Held Responsible For It.

Before unlocking bootloader, you need to check that if your device’s bootloader can be unlocked or not. For checking bootloader status dial *#*#7378423#*#* from phone dialer to access service menu.Find bootloader unlock status over there. If it is set to yes then only you can unlock your device’s bootloader otherwise it’s impossible to unlock it using this method and you will have to wait for me to post a method for this.

After this note down your IMEI by dialing*#06# or going to settings and about phone.
Now the drivers are to be installed. Download the fastboot package with usb drivers from the link below and extract the files on desktop. After this you will have two folders: fastboot and usb_driver.
Link
After that turn off your phone. After it is completely turned off press and hold volume up button and connect your phone to pc using a usb cable. A blue led will be lit in your phone and a window will open in your pc for driver installation. Choose manual installation and select android_winusb.inf from usb_driver folder. In windows 8 there are some issues in installing drivers. You can try installing drivers with this method: Press start button+R then type hdwwiz. It will open add a hardware then select show all devices the browse to Driver's and select android_winusb.inf. Open it and install.
Then go to the sony's official bootloader unlocking page:http://unlockbootloader.sonymobile.com. 
Scroll to the end and press continue. Then accept all agrrements and disclaimer. Then input your IMEI and email address. Then open the email received and click on the link to continue. Then at the top of the page your key will be written. Copy the key somewhere safe.
Then open a command prompt by pressing start button+R and typing cmd. Then type without the quotations "cd desktop" and press enter. Then type without quotations "cd fastboot" and press enter. Now again connect your phone in fastboot mode by powering it off and connecting it to pc while holding volume up button. Now type without quotations in the command prompt: "fastboot.exe -i 0x0fce getvar version". If value 0.5 is returned, it means the phone is connected properly. Now type without quotations: "fastboot.exe -i 0x0fce oem unlock 0xKEY" replacing the KEY with the key you recieved from sony's unlocking website. Then press enter. Congo you have an unlocked bootloader.
To relock the bootloader you have to use flashtool. Run flashtool and connect your phone in fastboot mode. Click BLU and select the model of the phone from list> Then click relock. It will relock your phone's bootloader. If it does'nt work there is an alternative method. Download the ftf file from the link and flash it in flashmode using flashtool. Reboot the phone and your bootloader will be locked. If there is a bootloop after flashing flash stock firmware using flashtool. Flashing using flashtool can be learned under the last topic that is flashing stock rom in the same post.
Relock bootloader  

Rooting
Now after unlocking bootloader you can root your phone. To root your phone first tick usb debugging in developers options in settings. Then download the file in the link below. It is the root tool compiled by bin4ry a recognized xda developer.
Link
After downloaing extract the files. Connect your phone and open RunMe.bat. Type 2 and enter and the script will root your phone. Congo your phone is rooted. 

Installing custom recovery/kernel
You can install custom recoveries and kernels on your phone after unlocking your bootloader. You must have read the purpose of flashing recoveries and kernels in Android hacking basics page. 
There are two main custom recoveries: Clockworkmod(CWM) and TeamWin Recovery Project(TWRP). For now i will only be posting for cwm as for twrp you need to learn extracting files from a stock firmware. Donload the file from below link for CWM.
CWM
To install CWM extract the files, connect your phone with debugging and run install.bat and follow the instructions.
Your device now has a custom recovery. Use it by powering it off and then on and keep holding volume up button until the recovery is booted.


To install a kernel just download it extract the boot.img in fastboot folder open a command window and cd to the fastboot folder boot your phone into fastboot and type:
fastboot flash boot boot.img
 This is a list of kernels for xperia p:
Nemesis Kernel V6.3
Sliding Kernel V9.0
Phantom Kernel V1.1.0B

【cm9】【stock】【kernel】Jan 10, ThP kernel v7.5 【3.0.58_RC-1】【xperia P】
[Kernel][Sony Xperia P][January - 11] Sliding_XP v7.1 Kernel [CM]
[Kernel][Xperia P] ICX kernel [oc, governess, I/O, Fast] V4-test
Xperia P Autoroot Kernel With Recovery for ICS !
[Kernel][Sony Xperia P][November - 28] Sliding_XP Kernel v4-A
[kernel] [P] Neuro kernel CM9 v1 Release
[Kernel][Xperia P]Xperia SSpeed kernel v4 released|Fast, stable, smooth, NTFS[02/08]
[KERNEL][Xperia P] Advanced Stock Kernel [Rel:v02][Dt:16/JUNE]
Advanced Stock Kernel for 6.0.B.3.184


Flashing custom ROMs
To flash a custom rom you must first make a backup of your data and apps. Titanium backup is a good app to backup apps. Then download the rom and place it in your sd card. Power off your phone and boot into cwm recovery. Choose install from sd card and choose the file placed in your sd card. Confirm and after flashing reboot your phone. But for some roms the kernel has to be flashed also in fastboot mode. I will post complete steps for some specific roms later.

Flashing stock ROM/Firmware
To flash a stock rom you need to download flashtool first. Download it from here: http://www.flashtool.net/index.php. Then install it and go to the directory where you have installed it and from the firmwares folder delete the file already present there. Then download the desired firmware and place the .ftf file in firmwares folder. Now start the flash tool and click on the flash button (lightning bolt button). Then choose flashmode and press ok. Now select the firmware and check all the options in the wipe box and click ok. Then it will ask you to connect your phone in flash mode. Do it by powering off your phone and connecting it to pc while holding volume down button. The green led will be lit and the flashing will start. Wait till it completes. DO NOT UNPLUG YOUR PHONE IN BETWEEN. After the process is completed unplug it and power it on. At the moment you will have to search for the firmware files. In a short time i will post the links.

Thursday, 11 September 2014

Introduction

Ok guys so after learning for two years about android tech i am starting a blog about it. There will be info on android system, tutorials of how to root your phones unlocking bootloaders and other android hacking. I have learned much from xda developers site. The files linked to use for all this stuff will ofcourse be from other great developers. but i am now learning android development now and soon will be developing my own scripts and files for all this stuff. Tutorials will be initially for samsung, sony, htc, qmobile, lg and motorolla but later i will be posting about other phones too. guys can also contact me on hangouts to request to post tutorials for their phones if i have missed. Also i need some guys with knowledge of android hacking to maintain the blog as admins. Hoping for support :)