Xiaomi MIUI Official Forum

Elite Member

Keep Doing

Rank: 6Rank: 6

Credits
8355
Device
Redmi Note 3
MIUI Version
7.7.18
Online time
1311 Hours
Send PM

Mi Power Bank 10000MAH Mi Band 2Mi WiFi RouterMi In-Ear HeadphonesMi Power BankMi BandUnlock MedalMi WiFi Router MiniXiaomi 7th AnniversaryMIUI 8MIUI 2016MIUI 7MIUI 2015MIUI 6Awesome!Fantastic!MarshmallowFlashholicI Love MIUIMIUI Devices ContestMi 4cRedmi 3Redmi Note 2Redmi Note 3Redmi 2Mi 4iMi PadRedmi 1SXiaomi Mi 4800K Forum MembersMIUI 2017Mid-Autumn Festival1700K Forum Members1800K Forum MembersMIUI 300 WeeksMIUI Fan From SingaporeMIUI Fan From VietnamFan Of MIUI PolandPuzzle MasterMIUI Forum AppMIUI Fan from India700K Forum Members300K Forum MembersFan Of MIUI India1400K Forum MembersHilal Ramadan MIUI 5th Anniversary1500K Forum Members100k Forum MembersHappy Valentine's DayMIUI 9Thanksgiving Day900K Forum MembersXiaomi 6th AnniversaryXiaomi 5th AnniversaryPokemon Master Medal600K Forum Members500K Forum MembersDiwali Happy DiwaliMIUI Fan from MalaysiaMIUI Happy MedalMIUI 6th Anniversary1 Million Forum MembersMerry ChristmasRocket to FutureMIUI Fan from TurkeyHappy New YearMIUI 100 Million UsersSummer Mi BunnyI Love Mi BunnyGamer Mi BunnyMiPopAlpaca Mi Bunny MIUI Beta team - IndiaMIUI Beta TeamMIUI Twitter FollowerAndroid ElfMIUI FB FollowerAndroid GuruForum Contest LoverMIUI Android 4.4 KitKatOTA FeedbackRingtone TalentInbox ZeroPioneer of MIUI English Forum Ringtone Star Redmi Note 3 ExplorerMi Story TellerMr. DependableMi Lover MedalHumor MasterMIUI FollowerMIUI Medals CollectorMost Active MIUIerScroll Of WisdomMIUI G+ FollowerMi TalentDie-hard MIUI FanUpdates LoverMi Bunny Game Master Debate Master

[Tips & Tutorials] ADB and Fastboot Installation (for Windows, Linux and Mac)

[ Promote]
41520 76 |
18:32, Jul-21-2015 | From PC
|
|
Go to reply no.
This post was edited by imcmjha at 21:48, Jul-22-2015

ADB and Fastboot Installation


In order to Perform jobs like Flashing recovery or Flashing fastboot files, we need to set up ADB and FASTBOOT on our PC. Here is the guide which will help you to set up ADB and FASTBOOT on all platforms.


1) For Windows User

STEP 1: Download the Minimal ADB and Fastboot set up file from any of the following option.

Screenshot (127).png

STEP 2: Extract the file using your default file manager or via any third party app like Winrar.

Screenshot (128).png


STEP 3: Double Click the Minimal ADB and Fastboot executable file.

Screenshot (129).png Screenshot (130).png


STEP 4: Keep clicking next untill you get the Finish option. Uncheck the Launch option and click finish.


Screenshot (131).png Screenshot (132).png Screenshot (133).png Screenshot (134).png Screenshot (135).png Screenshot (136).png Screenshot (137).png Screenshot (138).png


STEP 5: Open File Explorer and Go to C Drive -->> Program Files (x86) -->> Minimal ADB and Fastboot. You can see ADB related files there. Click on address bar -->> right click on it and copy the address.


Screenshot (146).png


STEP  6: Right click on My Computer or This PC(depends on version of Windows you are using. For Windows 7 or less it is My Compute and for windows 8 and above it is This PC or any custom name) and select properties option.


Screenshot (147).png


STEP 7: In the side bar you will see Advance System Setting. Click on it. In the Advanced section you will see Environment Variable. Click on it and you will get a prompt of user and system variables.


Screenshot (141).png Screenshot (142).png Screenshot (143).png


STEP 8: In the system variable part you will see PATH variable. Select it and click Edit. Click at the last of it, put a semi-colon(;) and the paste the address which you copied from the File Explorer. If you are not getting the PATH variable click on New -->> Type "PATH" in the variable name and paste the copied address in the Variable address. Click Ok to save the settings.


Screenshot (144).png


STEP 9: Done! Now you can flash any custom recovery file using fastboot option.


2) For Mac users:



STEP 1: Download the ADB and FASTBOOT set up file from any of the following link.


STEP 2: Extract the File. R
un the ADB-Install-Mac.sh file.

STEP 3: Done! You can enjoy Flashing using Fastboot.


3) For Linux Users:

STEP 1: Open Terminal. And make sure that you are connected to Internet.


STEP 2: Follow the following steps.
  • Ubuntu users type "sudo apt-get install android-tools-adb" to install ADB and then "sudo apt-get install android-tools-fastboot" to install Fastboot.
  • Fedora/CentOS/RHEL based distribution users type "sudo yum install android-tools" to install both ADB and Fastboot.


STEP 3: The ADB and FASTBOOT has been successfully installed on your PC.

I have tested the windows platform methodology but not the linux and mac platform. All the suggestions are accepted.
Visit following threads for more info.
Thanx MIUI, XDA, Google Code, CyanogenMod and teamblueridge@github





Favorite17 Share

Rated by 7 people   Experience Reason  

Zezima + 1 Thanks!
dexterouz + 4 Fantastic!
lucard + 1 Awesome!
BondanOwen + 5 Thanks!
steiftier + 1 Great!
meredithhan + 10 Awesome!
RejiT + 5 Thanks!

Experience +27  View Rating Log

Junior Member

Rank: 1

Credits
16
Device
0
MIUI Version
V8.0.1.0.KHCMIDG
Online time
10 Hours
Send PM
15:36, Jun-08-2016 | From PC
|
imcmjha replied at 2016-5-2 20:45
visit following to fastboot any ROM.

How to install Recovery via FASTBOOT method(For all PCs)

THE MOST IMPORTANT WINDOWS PART MISTAKE WHICH I WAS DOING & MANY MIGHT HAVE FACED IS..

STEP 8: In the system variable part you will see PATH variable. Select it and click Edit. Click at the last of it, put a semi-colon(;) and the paste the address which you copied from the File Explorer. If you are not getting the PATH variable click on New -->> Type "PATH" in the variable name and paste the copied address in the Variable address. Click Ok to save the settings.

During Step 8, the author has not specified to press "EDIT TEXT" rather than "EDIT". If you press Edit then nothing happens & you are stuck no where!

Elite Member

Keep Doing

Rank: 6Rank: 6

Credits
8355
Device
Redmi Note 3
MIUI Version
7.7.18
Online time
1311 Hours
Send PM

Mi Power Bank 10000MAH Mi Band 2Mi WiFi RouterMi In-Ear HeadphonesMi Power BankMi BandUnlock MedalMi WiFi Router MiniXiaomi 7th AnniversaryMIUI 8MIUI 2016MIUI 7MIUI 2015MIUI 6Awesome!Fantastic!MarshmallowFlashholicI Love MIUIMIUI Devices ContestMi 4cRedmi 3Redmi Note 2Redmi Note 3Redmi 2Mi 4iMi PadRedmi 1SXiaomi Mi 4800K Forum MembersMIUI 2017Mid-Autumn Festival1700K Forum Members1800K Forum MembersMIUI 300 WeeksMIUI Fan From SingaporeMIUI Fan From VietnamFan Of MIUI PolandPuzzle MasterMIUI Forum AppMIUI Fan from India700K Forum Members300K Forum MembersFan Of MIUI India1400K Forum MembersHilal Ramadan MIUI 5th Anniversary1500K Forum Members100k Forum MembersHappy Valentine's DayMIUI 9Thanksgiving Day900K Forum MembersXiaomi 6th AnniversaryXiaomi 5th AnniversaryPokemon Master Medal600K Forum Members500K Forum MembersDiwali Happy DiwaliMIUI Fan from MalaysiaMIUI Happy MedalMIUI 6th Anniversary1 Million Forum MembersMerry ChristmasRocket to FutureMIUI Fan from TurkeyHappy New YearMIUI 100 Million UsersSummer Mi BunnyI Love Mi BunnyGamer Mi BunnyMiPopAlpaca Mi Bunny MIUI Beta team - IndiaMIUI Beta TeamMIUI Twitter FollowerAndroid ElfMIUI FB FollowerAndroid GuruForum Contest LoverMIUI Android 4.4 KitKatOTA FeedbackRingtone TalentInbox ZeroPioneer of MIUI English Forum Ringtone Star Redmi Note 3 ExplorerMi Story TellerMr. DependableMi Lover MedalHumor MasterMIUI FollowerMIUI Medals CollectorMost Active MIUIerScroll Of WisdomMIUI G+ FollowerMi TalentDie-hard MIUI FanUpdates LoverMi Bunny Game Master Debate Master

 Author| 20:45, May-02-2016 | From PC
|
dexterouz replied at 2016-5-2 16:09
Great. What next now?

STEP 9: Done! Now you can flash any custom recovery file using fastboot opti ...

visit following to fastboot any ROM.

How to install Recovery via FASTBOOT method(For all PCs)

Junior Member

Rank: 1

Credits
15
Device
Redmi 1S
MIUI Version
V8.5.4.0.NCFMIED
Online time
9 Hours
Send PM
08:29, Jul-22-2015 | Via mobile
|
Thanks, great job. Really helfull.

Platinum Member

i love miui

Rank: 4

Credits
2908
Device
Redmi Note 2
MIUI Version
7.7.20
Online time
112 Hours
Send PM

Mi BandFantastic!MIUI 2015MIUI 6MIUI 7Xiaomi Mi 4Redmi 2Redmi 3MIUI 100 Million UsersMIUI Fan from MalaysiaHappy Valentine's DayMIUI 5th AnniversaryI Love Mi BunnyMIUI Beta TeamForum Contest LoverHumor MasterMIUI FB FollowerMi Bunny Game Master MIUI Twitter FollowerAndroid ElfScroll Of WisdomDie-hard MIUI Fan

09:29, Jul-22-2015 | Via mobile
|
thanks dude,  nice tutorial

Platinum Member

Rank: 4

Credits
4055
Device
Mi 5 Pro
MIUI Version
7.7.13
Online time
239 Hours
Send PM

Mi Band 2Mijia Story TellerMi WiFi RouterMi Power Bank 10000MAH Mi Power BankMi In-Ear HeadphonesMi BandMi TV 70Mi WiFi Router MiniMi HomeMi T-ShirtUnlock MedalXiaomi 7th AnniversaryMIUI 8MIUI 7MIUI 2015Awesome!MIUI 2016Fantastic!FlashholicMIUI 6I Love MIUIMarshmallowRedmi NoteMi 5Mi NoteMi 4cXiaomi Mi 4Redmi 3Mi 4iRedmi 2Redmi 1SMi Note ProMi PadRedmi Note 3Mi 5 ProRedmi Note 2Mi TV1400K Forum MembersMIUI Fan From Singapore600K Forum Members1500K Forum MembersHappy Diwali700K Forum MembersMid-Autumn FestivalMIUI 300 WeeksMIUI 5th AnniversaryUEFA EURO MedalMIUI Weekly PollMIUI Forum AppMIUI Marathon Medal1 Million Forum App Installs500K Forum MembersFan Of MIUI IndiaSuper MondayMIUI 100 Million UsersMerry ChristmasXiaomi 5th AnniversaryHappy Valentine's DayMIUI Fan from Malaysia2100K Forum MembersI Love 2016MIUI Fan from IndiaMi Live Medal1 Million Forum MembersOlympics MedalXiaomi 6th AnniversaryPokemon Master Medal1300K Forum Members5 Million Forum PostsThanksgiving DayMIUI 6th AnniversaryMIUI HalloweenMiPopAlpaca Mi Bunny I Love Mi BunnySummer Mi BunnyGamer Mi BunnyMIUI Beta TeamMIUI FB FollowerForum Contest LoverAndroid ElfMi Bunny Game Master Mi Story TellerMi Lover MedalStar Of IconsDebate MasterMIUI FollowerMi TalentTechnology GuruRingtone Star Youth PledgeOTA FeedbackStar Of TechnologyHumor MasterMIUI Twitter FollowerPioneer of MIUI English Forum Die-hard MIUI FanScroll Of WisdomMIUI G+ FollowerMIUI Medals CollectorAndroid Guru

16:48, Jul-22-2015 | Via mobile
|
thanks

Gold Member

Rank: 3Rank: 3

Credits
275
Device
Redmi Note 3
MIUI Version
V8.2.4.0.MHRMIDL
Online time
46 Hours
Send PM

MIUI 2015Rocket to FutureMIUI Global Forum 2014Android GuruDebate Master

12:51, Jul-24-2015 | From PC
|
thanks

Junior Member

Rank: 1

Credits
22
Device
0
MIUI Version
0
Online time
1 Hours
Send PM
11:12, Sep-29-2015 | From PC
|
Thanks for sharing..

Elite Member

Rank: 6Rank: 6

Credits
5685
Device
Redmi Note 2 Prime
MIUI Version
7.5.11
Online time
610 Hours
Send PM

Mi BandMi Power BankMi WiFi RouterMi KeyMi In-Ear HeadphonesMi Band 2Yeelight Bedside LampMi Yi CameraFlashholicMIUI 7I Love MIUIAwesome!MIUI 2016MIUI 2015Fantastic!MIUI 8Mi 5Redmi NoteRedmiMi 4cMi Note ProRedmi 3Mi 3Redmi 1SMi NoteRedmi Note 3Mi Max Redmi 2Mi 4SRedmi Note 2Mi PadXiaomi Mi 4Fan Of MIUI IndiaMIUI Fan From SingaporeFan of MIUI Myanmar700K Forum MembersHappy Valentine's DayMerry ChristmasDiwali 900K Forum Members800K Forum MembersThanksgiving DayMIUI Fan from IndiaHappy New YearMid-Autumn FestivalMIUI 6th AnniversaryMi Live MedalPokemon Master MedalMIUI 300 WeeksMIUI Fan from MalaysiaMalaysia AnniversaryMIUI Fan From MyanmarMIUI Fan From VietnamUEFA EURO MedalOlympics MedalMIUI Forum AppMIUI Fan from Turkey1 Million Forum MembersMIUI Fan From Philippines1400K Forum MembersXiaomi 6th AnniversaryHilal Ramadan 1800K Forum MembersMIUI 2017I Love Mi BunnyAlpaca Mi Bunny Summer Mi BunnyMIUI Beta TeamOTA FeedbackUpdates LoverMIUI ExpertMi Bunny Game Master MIUI FB FollowerDie-hard MIUI FanMi Lover MedalMIUI G+ FollowerDebate MasterMIUI Twitter FollowerInbox ZeroAndroid GuruAndroid ElfRingtone TalentMIUI FollowerMr. DependableForum Contest LoverTechnology GuruYouth PledgeMIUI Android 4.4 KitKatHumor MasterRingtone Star Pioneer of MIUI English Forum

11:29, Sep-29-2015 | From PC
|
thank

Platinum Member

Rank: 4

Credits
2849
Device
Redmi 2
MIUI Version
V8.5.1.0.LHJMIED
Online time
188 Hours
Send PM

Mi BandAwesome!MIUI 2015MIUI 6Xiaomi Mi 4Mi TVRedmi 1SMi NoteRedmi NoteRedmi 3Mi Note ProRedmi 2MIUI 100 Million UsersMIUI Fan from MalaysiaFan Of  MIUI AzerbaijanFan Of MIUI India2014 ChristmasFan Of MIUI Bangladesh500K Forum MembersMIUI Fan From BrazilMIUI Fan from IndiaMIUI Fan From Singapore600K Forum MembersHilal Ramadan Thanksgiving DayXiaomi 5th AnniversaryGamer Mi BunnyI Love Mi BunnyMIUI Global Forum 2014MIUI FB FollowerAndroid ElfForum Contest LoverHumor Master

18:06, Sep-30-2015 | From PC
|
Thanks bro for the tips
Better Late than NEVER
Share Your Knowledge, Not Show Your Knowledge

Senior Member

Rank: 2

Credits
186
Device
Mi 3
MIUI Version
V6.3.9.0.KXDMIBL
Online time
43 Hours
Send PM
19:43, Sep-30-2015 | From PC
|
Thank you

Senior Member

Rank: 2

Credits
46
Device
Redmi 2
MIUI Version
V6.7.1.0.KHJMICH
Online time
21 Hours
Send PM
19:52, Sep-30-2015 | Via mobile
|
Thanks for sharing..

Credits Management

Quick Reply Top Return to the list