yashsingh1/xdaforums huggingface dataset:
[Xperia Z2 Q&A, Help & Troubleshooting] orfan1:
Thank you for your reply

But I couldn't Flash FTF rom via Flashtool, because USB debugging is not enabled, and mobile couldn't start up to enable it.
[Xperia Z2 Q&A, Help & Troubleshooting] Laz:
Try installing drivers for the phone. Then flash the firmware. It doesn't need usb debugging enabled.
[Xperia Z2 Q&A, Help & Troubleshooting] orfan1:
I installed drivers then launched Flashtool, and got these messages:

11:36:48 - INFO - Devices sync finished.

11:36:55 - INFO - Device connected with USB debugging off

11:36:55 - INFO - For 2011 devices line, be sure you are not in MTP mode

11:37:09 - INFO - Selected Bundle for Sony Xperia Z2 (D6503). FW release : 23.4.A.1.232_R3C. Customization : Customized

11:37:09 - INFO - Preparing files for flashing

Then after about 3 minutes:

11:38:56 - INFO - Please connect your device into flashmode.

But I can't connect into flashmode and press the Back button because I can't start up mobile.
[Xperia Z2 Q&A, Help & Troubleshooting] Abdolreza-Rezaei:
You should press the volume - button then connect your cable
[Xperia Z2 Q&A, Help & Troubleshooting] orfan1:
I did that but nothing happened !
[Xperia Z2 Q&A, Help & Troubleshooting] Abdolreza-Rezaei:
After connect usb cable,you must continue pressing volume (-) key until the flash process begins.
[Xperia Z2 Q&A, Help & Troubleshooting] orfan1:
Yes, I pressed all butons in mobile, one by one (volume (-), volume (+), power) and pressed them all in the same time, but nothing happened.
[Xperia Z2 Q&A, Help & Troubleshooting] Bruce666:
press and hold red button near sim slot and wait for 3 buzzes. Then IMMEDIATELY connect phone to PC holding vol-.
[Xperia Z2 Q&A, Help & Troubleshooting] edflex:
Sei lá
[Xperia Z2 Q&A, Help & Troubleshooting] papirolex:
After ftf is ready for flashing, hold down on the volume down button and plug in the USB cable
[Xperia Z2 Q&A, Help & Troubleshooting] NamiDragneel:
try to use pc companion, select repair my phone
[XDA Assist] Anirudh s:
I am having Karbonn A34 Ta-Fone

Android version:* 4.0.4

Kernel Version:* 3.0.13

lentek@lentek #1

Fri Apr 12 18:09:49 CST 2013

Build Number:

ALPS.ICS2.MP.V1.3

i wanted help to get a custom rom for this device .....

thanks in advance
[ZenFone 2 General] thunderc8:
I was one of the first to defend the phone when someone said about games not playing but now that I tried some of them almost none of the good RPG works.

Batman , banner saga, Lego marvel, wayward souls.

None of then works I won't spend any more money to try more, I wanted to install a game or two for my kid to play but most of then don't work.
[Nexus 5 Q&A, Help & Troubleshooting] nunojsa:
Hi guys,

Just a quick question, the system UI tunner is supposed to work on the final marshmallow release?

I found out it is not working on my nexus 5, so im wondering if that function was removed on the final release?

Thanks in advance!
[Nexus 5 Q&A, Help & Troubleshooting] Ben36:
Nope it's there. Slide down the toggles and hold down on the settings cog. Then it'll appear at the bottom of the main settings menu

Sent from my Xperia z5 by Tapatalk
[Nexus 5 Q&A, Help & Troubleshooting] sspunkky:
You have to press & hold the settings cog for atleast 10 seconds
[Xperia Z3 Q&A, Help & Troubleshooting] Liviusx:
Hello there, rooted my Device but ended up in Bootloader,

through Panicing i went Bootmenu and

wiped

my data with

Format Data

,

did no backup since i havent had personal Data on it anyways.

Now i just don't know how to install a ROM or OS and would need some help,

i have access to my

PC via USB

and

TWRP

is also accessible.

Would need some help if there is any.
[Xperia Z3 Q&A, Help & Troubleshooting] jassalmithu:
It seemed a lot worse in title. Just use xperifirm to download firmware files and make a ftf in flashtool, then use prfcreator to make a prerooted zip file with root and twrp recovery. copy that zip to hpone by booting into twrp and connect your phone with usb, it will be detected. it will be helpful if you have sdcard in there as you can wipe all 5 internal partitions although that's not necessary

EDIT: I just reread and you said you only wiped data, before all this try wiping both caches in twrp just use wipe, and see if it boots.
[Xperia Z3 Q&A, Help & Troubleshooting] Liviusx:
I did format it(+factory Reset), so you say, i didn't delete everything, i just ended up in bootloop? I though it deletes OS too. :confused: (already tried to get rid of the Standart-Bootloop) When i connect it with USB it only shows the TWRP Folder to me.

Thank you so far :)
[Xperia Z3 Q&A, Help & Troubleshooting] Xperianco:
Download kitkat 4.4.4 or lollipop 5.0.2 for your region via xperifirm and use flashtool to flash it.
[Xperia Z3 Q&A, Help & Troubleshooting] Hussain_Salam:
If you'd like to restore it to factory conditions,

1) . Ensure Sony PC Companion is open (URL="http://xdaforums.com/showpost.php?p=63381257&postcount=98"]CLICK ME TO DOWNLOAD SONY PC COMPANION[/URL])

4). Once you've put the device in flashmode and Sony PC Companion is open it should detect a device in flashmode and it'll prompt you to install the latest version available,

I hope this helped!
[Xperia Z3 Q&A, Help & Troubleshooting] Liviusx:
Thread closed

Thank you, managed to flash a new one(lollipop-for my Region) on my Phone.

Beeing new to something kinda sucks, :laugh:

you guys sure were a great help to me.
[Xperia Z3 Q&A, Help & Troubleshooting] Black Plague:
we all started from that place only bro, Now install Nut Recoveries, SuperSU, Xposed and sound mods, hell yeah your good to go
[Sony Xperia S, Acro S, Ion] SdtBarbarossa:
Hello and welcome to my TWRP Homebuilds Xperia S comunity^^

THIS ARE FOTAKERNEL RECOVERYS!!!

this TWRP is based on 2.8.7.0 with several extra features:

- USB-OTG support (untested atm)

- Multilanguage by [MENTION=912474]Dees_Troy[/MENTION]

- a new Theme by [MENTION=2719389]z31s1g[/MENTION]

- Transfer List Version3 support [MENTION=346281]Andrei[/MENTION] Măceș

ATM only German and English are fully supported! You want to get your language into my TWRP builds? you can translate it and submit to me :)here you can find a easy template for that :

http://xdaforums.com/crossdevice-dev/sony/translators-searched-twrp-homebuilds-t3229376

Flash it like you flash any normal FOTAKernel recovery (with dd command or with rashr)

Downloadlink:

Nozomi v1.0: https://www.dropbox.com/s/07eaxkhp8cj8258/fotatwrp-nozomi-sdtbarbarossa.img?dl=0

-initial release for XS

Nozomi v1.1: https://www.dropbox.com/s/tohrx2o49frwwk9/fotatwrp-nozomi2.img?dl=0

- added several languages (and removed the uncompleted )

Nozomi v1.1: https://www.dropbox.com/s/qdxmro4zbh8942w/recovery.img?dl=0

- added languages

- fixed some theme related errors

Special Thanks:

- The whole TWRP Team especialy [MENTION=4878287]_that[/MENTION] [MENTION=2638973]bigbiff[/MENTION] and [MENTION=912474]Dees_Troy[/MENTION] for theier hard work!

- [MENTION=2719389]z31s1g[/MENTION] for his new design!

- [MENTION=6043081]mickybart[/MENTION] for his device tree!

- [MENTION=5709791]nageswarswain[/MENTION] for testing^^
[Sony Xperia S, Acro S, Ion] nageswarswain:
Screen shots
[Sony Xperia S, Acro S, Ion] aciupapa:
WoW. Thank you!
[Sony Xperia S, Acro S, Ion] SysGhost:
Doesn't the official TWRP 2.8.7.0 support F2FS by default? And haven't TWRP supported F2FS a few version back? (And thus this shouldn't be listed as an extra feature on this mod)
[Sony Xperia S, Acro S, Ion] SdtBarbarossa:
Your right
[Sony Xperia S, Acro S, Ion] SdtBarbarossa:
v1.1 -added languages
[Sony Xperia S, Acro S, Ion] mirhl:
Wouldn't a flashable zip be even more handy?
[Sony Xperia S, Acro S, Ion] SdtBarbarossa:
I can create one with next build ... I use img normally because my main devices have a app with ota support
[Sony Xperia S, Acro S, Ion] nageswarswain:
Is the zip you want to create will be able to push the recovery to fota partition or it will replace the boot.IMG?
[Sony Xperia S, Acro S, Ion] SdtBarbarossa:
It will go straight to /recovery path (in your case fotakernel)
[Sony Xperia S, Acro S, Ion] SdtBarbarossa:
Update:

- added languages

- some under the hood stuff

Some textes ( long ones ) will now be scaled to better fit... Need a bit more configuration to get it 100% fitted

Warning: i heared about a problem with arabic causes some textes to get not showed ( like messages while flashing when they are not in arabic spells )
[Sony Xperia S, Acro S, Ion] xDroidZz:
wow xperia s still alive. keep the developing going :D sadly i dont have one anymore.
[Sony Xperia S, Acro S, Ion] mamama07:
But its only mine problem when TWRP dont show temp?
[Sony Xperia S, Acro S, Ion] SdtBarbarossa:
what do you mean with temp ? temp folder?
[Sony Xperia S, Acro S, Ion] mamama07:
Oh, I mean TEMPERATURE. Only one latest TWRP show this and its from THIS ZIP. I install this nozomi.img via dd command and working. But these img file have some more files, because file have ~10mb and officialy img file from twrp site and Your too - have ~9mb.

BTW - I try translate Your build in PL language :)
[Sony Xperia S, Acro S, Ion] SdtBarbarossa:
yea there will be several bugfixes in next build (tommorrow maybe) also there will be polish (see my github)

maybe you want to check if polish is correctly:

https://github.com/SdtBarbarossa/TW...er/gui/devices/common/res/languages/pl-pl.xml
[Sony Xperia S, Acro S, Ion] A6ekAK:
80% of phrases are still not translated into polish, there's no need to add polish language for now :D
[Sony Xperia S, Acro S, Ion] mamama07:
Oh, nice to hear. So just w8 for next build :)

And this translation is like 1/2 done.
[Sony Xperia S, Acro S, Ion] SdtBarbarossa:
its not from me ^^ its from a polish guy... so... if you want just give me a commit :)
[Sony Xperia S, Acro S, Ion] mamama07:
But why not ;)

BTW: Can I use a typical Polish characters, like ą, ź, ż, ę, ć, ó... etc?
[Sony Xperia S, Acro S, Ion] SdtBarbarossa:
yes^^
[Sony Xperia S, Acro S, Ion] ibtihaaz:
Error flashing nAospb27

Salute ...

Flashed this build today ... and could not flash nAosp b27 with it but i was able to flash Oneofakind perfecto with 5.0 gapps

Normal twrp flashes b27 and OAKind fine but it will not flash 5.0 gapps ... ... any ideas..
[Sony Xperia S, Acro S, Ion] SdtBarbarossa:
nAosp dev have made a mistake (he checks date asset) i will fix it in next build but its delayed after christmas for now
[Nexus 6P Q&A, Help & Troubleshooting] abraxo:
Anyone seeing a possibility of removing the verified boot warnings in Marshmallow? I know it's an android feature so it will be tough but most people will buy this phone to unlock the bootloader, I have no idea why Google would incorporate it into the nexus line

Also, does anyone know what it would take to get a red (your system is corrupt and can't be trusted) boot?
[Nexus 6P Q&A, Help & Troubleshooting] Chilidog:
I was also wondering about this
[Nexus 6P Q&A, Help & Troubleshooting] gee one:
I have a Nexus 5X and I got the red corrupted boot message after I reflashed a debloated system.img. Apparently, there are signature checks to make sure the image is signed. I think you can self sign and include the certificate to get just a yellow or orange warning.

more info at:

http://source.android.com/devices/tech/security/verifiedboot/verified-boot.html
[General Topics] rockafellor:
Which mobile plans/tariffs do you have and what do you pay for it?

From which country do you come from? What provider do you have?

Compare and show off time! :)
[General Topics] rockafellor:
Hutchison 3 - Austria (mobile plan doesn't exist anymore)

3G/HSDPA only 10Mbit down/2Mbit up

1000 minutes within Austria

2 GB Data within Austria (throttled down to 64 Kbit/sec after 2 GB)

10 Euros / month :)

20 Euros / year service fee

Planning to switch to Hofer "HoT" (T-Mobile Network).

Hofer "HoT" (T-Mobile Network)

LTE 50 Mbit down / ?? up

1000 minutes or sms within Austria (3,9 cent / after 1000 minutes or sms have been used)

5 GB Data within Austria (0,9 cent / mb after 5GB)

16,90 Euros / month

no service fee
[General Topics] Ste97:
I'm from Italy and my plan is:

Wind All Inclusive Fresh

120 min/month to every italian number

120 sms/month

2GB Hsdpa+ (If I cross 2gb it slows down to 32kb/s)

6,05€/month

I like this cause I pay very few and I don't need to call or send messages
[General Topics] jacquesy90:
3UK

£20 for 300 Minutes, 3000 Texts, and Unlimted 4G Data! (PAYG)

Cannot beat it really, infact i think its the only network in the UK that offers unlimited PAYG 4G!
[Galaxy Note 3 Q&A, Help & Troubleshooting] MisterPig:
Hi all,

Allow me to apologise for my, likely, n00b question but I'm not confident with this process yet and do not wish to brick my phone!

I have Darklord Note 5 port installed and am encountering the "Video Recording failed" error. It's my understanding that this issue is caused by being on an older firmware and that the fix is to install the latest one.

I have downloaded the 3 files linked to from the main post.

CP.......tar.md5 and BL......tar.md5 seem pretty obvious where to put them in odin but there is a BB-BL-N9005XXUGBOI8.rar as well. I am unsure what to do with this file.

I have searched briefly but I'm at work at the moment. Could anyone point me in the right direction or show me where I should be looking for this, please.

Many thanks in advance!
[Galaxy Note 3 Q&A, Help & Troubleshooting] Rosli59564:
Just flash CP and BL. Don't flash kernel and .rar.

Link the CP and BL to the corresponding tab in odin. Find odin first and you'll see how to put them.

Sent from my SM-N920C
[Galaxy Note 3 Q&A, Help & Troubleshooting] MisterPig:
Thanks for the clarification! Will try this as soon as I get home!
[Galaxy Note 3 Q&A, Help & Troubleshooting] MyKeyC:
Update succeded, but dosen't show in settings

Hi there.

thanks for your help.

I have a query: Odin says it succeeded in updating, as per your instructions. yet the baseband is still showing the old version number. Any ideas?

Cheers

M.
[Android Stick & Console AMLogic based Computers] keeny_g1892:
I'm new to Android TV boxes i recently bought a MXQ S85 But it keeps turning my TV off when watching it. It's as if the TV has crashed, normally when the TV is switched off there will be a little led which tells you it in standby this doesn't come on. The only way to get the TV back on is turn turn the Android box off. I can't change sources turn the volume up or change the channel. I've tired loads of different things but nothing seems to work.

What I've tried.

3 x HDMI Leads

4 x HDMI Ports

2 x MXQ S85 boxes

removing batteries from MXQ S85 remote control

Disable HDMI CEC

AV cable which come with MXQ S85

Changing the resolution and the refresh rates

I have tried a different TV and the MXQ S85 works fine with no problems. Has anyone got any ideas of what it might be?
[OnePlus 2 General] redh4t:
Hello,

Since we are still waiting for official cyanogenmod for our device, there are request form for a device in cyanogenmod forum.

If you do not mind write a comment and share the link to others, maybe it will make a difference. Some developers sees it is trending and decides to join the train or something .. Thanks!

Link to the request

MOD EDIT: Changed title since it's misleading.
[OnePlus 2 General] the Doctor:
Nice bait-n-switch title. Maybe you should rename it "Request CyanogenMod for OnePlus Two."
[OnePlus 2 General] benj!:
Yeah, you might as well have called this 'Someone Ran Cyanogenmod On The Oneplus Two, You'll Never Guess What Happened Next...' :(
[OnePlus 2 General] redh4t:
Anyway, thought little things make big things happen .. :)
[8525, TyTN, MDA Vario II, JasJam General] njones:
Just loaded the Dopod WM6 ROM, got everything working well except while in call the keyboard has the numlock on ... i can't txt or send e-mails unless i use the onscreen keyboard.

I seem to remember a registry edit to fix this. Any help would be very much appreciated.

Thanks.
[8525, TyTN, MDA Vario II, JasJam General] njones:
Same issue as the posts below.

http://xdaforums.com/showthread.php?t=321887

http://xdaforums.com/showthread.php?t=319956
[Samsung Gear S2] mhonard:
How do you change the alternate location as it defaults to London
[Samsung Gear S2] ThyMaster:
Long press watch face

Enter "Styling" button in bottom

Swipe the watch face from right to left to move in between different setting (see dots on top)

Once you reached World Clock setting enter by pressing the cog in the middle

Set to whatever TZ you want
[AT&T HTC One (M8)] Caguayote:
Hi there to all themers and devs i just upgrade to skydragon v10.2 but now the keyboard zips on sdhub dont work how can i make this keyboards to work?
[Galaxy Tab 4 Q&A, Help & Troubleshooting] xROID-RAGEx:
Desperately need current USA 502 or above(lollipop) firmware download for samsung tab 4 7in SM-T230NU. Please help find good download!!! Thanks in advance!
[Galaxy Tab 4 Q&A, Help & Troubleshooting] thisisapoorusernamechoice:
Lollipop has not yet been released for the SM-T230 or Sm-T230NU. Please use any of the firmware files from this thread labelled for your particular model: http://xdaforums.com/tab-4/general/links-stock-galaxy-tab-4-firmware-t3013128
[G2 Q&A, Help & Troubleshooting] txv0:
Does anyone know where i can find the stock kernel for d800 lollipop?
[One (M7) Q&A, Help & Troubleshooting] ray_sami:
After update to 5.0.2 my HTC M7 i have now factory reset M7 with Hboot 1.61 & android 5.0.2

i allready the bootloader unlocked (via HTC) ..

i need now to know how to install recovery (TWP) and install Super user SU

all my try not accepted , i can´t install any Recovery or SU !!!!!!

help please

Ray :crying:
[One (M7) Q&A, Help & Troubleshooting] alray:
To flash the recovery:

Download your recovery image and save it in the same folder where you have adb and fastboot installed on your computer

connect your phone to your computer with a usb cable

reboot the phone in bootloader mode, select the "fastboot" option and make sure "fastboot usb" is shown in red.

Open a command window from your adb/fastboot folder and type:

fastboot flash twrp-2.8.7.0-m7.img
fastboot erase cache
fastboot reboot-bootloader

To flash supersu:

Download lastest stable supersu (supersu2.46)

Push it to your phone memory

boot in twrp recovery

select the "install" menu

select the UPDATE-SuperSU-v2.46.zip file

swipe the bottom slider to flash the file

reboot the phone
[Raspberry Pi Q&A, Help & Troubleshooting] Electronchik:
This project sets Raspberry Pi on wheels (tracks in fact), allows to control tank remotely and get streamed video over internet.
[Raspberry Pi Q&A, Help & Troubleshooting] shimp208:
Do you have a specific question about your project that you would like to ask?
[Raspberry Pi Q&A, Help & Troubleshooting] vvvBANANvvv:
How to set on raspberry pi 2 two pwm to control two motor ?

I have this code but one motor runing in 100% and one in ~ 60%

RobotControl.py

L298NHbridge.py
[Raspberry Pi Q&A, Help & Troubleshooting] Mato_xXx:
Hello, I actually made one ,,tank,, when I was on school. Here is link with all instructions I used.
[Nexus 6 Q&A, Help & Troubleshooting] aniyan.rajan6:
Hello,

Could you please suggest a good Screen Protector Film or my Nexus6 ? I don't want a Tempered Glass. I need the Proximity Sensor and Camera to be working after installing the Screen Protector.

Thanks.
[Nexus 6 Q&A, Help & Troubleshooting] bigmatt503:
I'm using a Mr shield that I found on amazon for 6 bucks. Normally I would use a tempered glass screen protector, but after 3 failed attempts I gave up on finding one that fits without the "halo"around the screen.
[Nexus 6 Q&A, Help & Troubleshooting] aniyan.rajan6:
Is this Mr Shield a Film Protector ? Is proximity sensor working with Mr Shield ? Thanks.
[Nexus 6 Q&A, Help & Troubleshooting] danarama:
You know many of the tempered glass ones have cut outs for these sensors now? If that is the only reason stopping you using one.
[Nexus 6 Q&A, Help & Troubleshooting] aniyan.rajan6:
The only reason stopping me using Tempered Glass is halo-ing effect. I would like to have cut outs for Proximity and Camera in a Film Protector instead. But not able to find one.

Thanks.
[Nexus 6 Q&A, Help & Troubleshooting] danarama:
I found one but I wouldn't recommend it. You don't really need cut outs on film ones though. In fact on my Nexus 5 I had tempered glass without cut outs and everything worked fine., though apparently Nexus 6 this isnt quite the case.
[Nexus 6 Q&A, Help & Troubleshooting] bigmatt503:
Everything is working on mine (only put it on 3 days ago). The other screen protector you can get that has cutouts is Xtreme guard. Dirt cheap and a decent product.
[Nexus 6 Q&A, Help & Troubleshooting] aniyan.rajan6:
If that is the case, then I think I will go ahead and purchase the one with out cutouts. I was looking at this. The Mr Shield also seems to be good.

I have found this one has appropriate cut outs, but it is a Wet Application Film. So I'm doubtful if it will damage my phone.
[Nexus 6 Q&A, Help & Troubleshooting] danarama:
As long as you don't use too much water, it will be fine. I've seen people filming videos under water in the bathtub with a nexus 6. It is not rated for underwater use (and would not recommend you use it underwater either) but a few splashes on the screen isn't going to cause an issue.
[Nexus 6 Q&A, Help & Troubleshooting] aniyan.rajan6:
Also the armorsuit if too costly for me. So if you are saying that the cut outs are not necessary for film protectors then I'm planning to order the Spigen shown above. It is lesser price with good quality.
[Nexus 6 Q&A, Help & Troubleshooting] danarama:
I'm saying they shouldn't be necessary. That said, some parts of the N6 are really crappy, so I cannot say for sure.
[Nexus 6 Q&A, Help & Troubleshooting] aniyan.rajan6:
Do you mean some 'accessories' of the N6 are crappy?
[Nexus 6 Q&A, Help & Troubleshooting] danarama:
No. Components. Proximity sensor is crappy for example.
[Nexus 6 Q&A, Help & Troubleshooting] imnuts:
I got the hard plastic film direct from Motorola. The fit is quite nice, despite them being one of the more costly options out there.

Sent from my Nexus 6
[Nexus 6 Q&A, Help & Troubleshooting] aniyan.rajan6:
I don't bother spending a reasonable amount for the Screen Protector. But could you please send me the url to order the "hard plastic film from Motorola" ?

Thanks.
[Nexus 6 Q&A, Help & Troubleshooting] imnuts:
Brilliant film from here.

Sent from my Nexus 6
[Nexus 6 Q&A, Help & Troubleshooting] aniyan.rajan6:
But it says: Your delivery address must be within the US. I'm in India.
[Nexus 6 Q&A, Help & Troubleshooting] wolfen69:
You really spent $15 for a plastic screen protector? There are high quality plastic protectors than can be had for 1/12th the price. http://www.ebay.com/itm/6X-Supershi...884973?hash=item2ed8911f2d:g:MxsAAOSwEppUSqmb

Maybe you should hang out with the guy who spent $40 on a Spigen Slim Armor case. (can be had for $12 on ebay) :eek:
[Nexus 6 Q&A, Help & Troubleshooting] adrman:
I've had the same Skinomi film on my shamu since I received it last December. The fact that it's a wet application turns some off to it, but I've had no problems. I have one preordered for my 6p as well.
[Nexus 6 Q&A, Help & Troubleshooting] imnuts:
Yes, I avoid eBay if I can, and would rather spend a little more for it and know who I'm dealing with and the quality of the product. The added cost is well worth the piece of mind. Also the fact that with my OG Moto X, the protectors from Motorola had the best fit and finish by far of the protectors I tried.

Sent from my Nexus 6
[Android One (First-Generation) Cross-Device Origin] arya dinu:
Hey guys anyone know how to flash custom recovery by adb or fastboot mode for unrooted device any a1
[Android One (First-Generation) Cross-Device Origin] Bikash Dharua:
Extract the content given below and on that folder click shift and right click on pc ,and open command window. Then connect your phone to your pc with fastboot mode .then on command window type fastboot oem unlock ,if your bootloader is not unlocked .if it is unlocked then type fastboot flash recovery recovery.img and enter.[at first place recovery.img {custom recovery,name it to recovery.img} on the extracted folder .]