Xiaomi MIUI Official Forum

Elite Member

Keep Doing

Rank: 6Rank: 6

Credits
7555
Device
Redmi Note 3
MIUI Version
7.2.16
Online time
1309 Hours
Send PM

Mi Power BankMi In-Ear HeadphonesMi WiFi RouterMi BandUnlock MedalMi Band 2Mi WiFi Router MiniMi Power Bank 10000MAH I Love MIUIMIUI 2016MIUI 7Awesome!MIUI 6MIUI 2015MIUI 8Fantastic!FlashholicMarshmallowRedmi Note 2Redmi 3Mi 4cMi 4iRedmi 1SXiaomi Mi 4Redmi 2Redmi Note 3Mi PadHappy DiwaliMIUI 6th AnniversaryMIUI Fan from India800K Forum MembersXiaomi 6th Anniversary1700K Forum MembersMIUI Fan From SingaporeDiwali Hilal Ramadan 1800K Forum Members700K Forum Members1400K Forum MembersMIUI 5th AnniversaryHappy Valentine's DayMIUI Forum App1500K Forum MembersFan Of MIUI IndiaFan Of MIUI PolandMIUI Fan From VietnamMIUI Fan from Turkey1 Million Forum MembersMIUI Fan from MalaysiaMIUI 300 WeeksXiaomi 5th Anniversary500K Forum Members900K Forum MembersHappy New YearPokemon Master MedalMerry ChristmasThanksgiving DayMid-Autumn FestivalMIUI 100 Million Users600K Forum MembersSummer Mi BunnyGamer Mi BunnyAlpaca Mi Bunny I Love Mi BunnyMiPopMIUI Beta TeamMIUI Beta team - IndiaHumor MasterMIUI FollowerMIUI Twitter FollowerPioneer of MIUI English Forum OTA FeedbackForum Contest LoverRedmi Note 3 ExplorerRingtone Star Ringtone TalentDie-hard MIUI FanInbox ZeroUpdates LoverDebate MasterMIUI G+ FollowerMr. DependableScroll Of WisdomMi Lover MedalAndroid ElfMIUI FB FollowerMi Story TellerMIUI Medals CollectorMi Bunny Game Master Android GuruMi Talent

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

[ Promote]
26541 63 |
18:32, Jul-21-2015
| |
|
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





Favorite9 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
|
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
7555
Device
Redmi Note 3
MIUI Version
7.2.16
Online time
1309 Hours
Send PM

Mi Power BankMi In-Ear HeadphonesMi WiFi RouterMi BandUnlock MedalMi Band 2Mi WiFi Router MiniMi Power Bank 10000MAH I Love MIUIMIUI 2016MIUI 7Awesome!MIUI 6MIUI 2015MIUI 8Fantastic!FlashholicMarshmallowRedmi Note 2Redmi 3Mi 4cMi 4iRedmi 1SXiaomi Mi 4Redmi 2Redmi Note 3Mi PadHappy DiwaliMIUI 6th AnniversaryMIUI Fan from India800K Forum MembersXiaomi 6th Anniversary1700K Forum MembersMIUI Fan From SingaporeDiwali Hilal Ramadan 1800K Forum Members700K Forum Members1400K Forum MembersMIUI 5th AnniversaryHappy Valentine's DayMIUI Forum App1500K Forum MembersFan Of MIUI IndiaFan Of MIUI PolandMIUI Fan From VietnamMIUI Fan from Turkey1 Million Forum MembersMIUI Fan from MalaysiaMIUI 300 WeeksXiaomi 5th Anniversary500K Forum Members900K Forum MembersHappy New YearPokemon Master MedalMerry ChristmasThanksgiving DayMid-Autumn FestivalMIUI 100 Million Users600K Forum MembersSummer Mi BunnyGamer Mi BunnyAlpaca Mi Bunny I Love Mi BunnyMiPopMIUI Beta TeamMIUI Beta team - IndiaHumor MasterMIUI FollowerMIUI Twitter FollowerPioneer of MIUI English Forum OTA FeedbackForum Contest LoverRedmi Note 3 ExplorerRingtone Star Ringtone TalentDie-hard MIUI FanInbox ZeroUpdates LoverDebate MasterMIUI G+ FollowerMr. DependableScroll Of WisdomMi Lover MedalAndroid ElfMIUI FB FollowerMi Story TellerMIUI Medals CollectorMi Bunny Game Master Android GuruMi Talent

 Author| 20:45, May-02-2016
|
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
19
Device
Redmi 1S
MIUI Version
V8.1.3.0.LHJMIDI
Online time
8 Hours
Send PM
08:29, Jul-22-2015 Via mobile
|
Thanks, great job. Really helfull.

Platinum Member

i love miui

Rank: 4

Credits
2905
Device
Redmi Note 2
MIUI Version
6.10.18
Online time
108 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
3999
Device
Mi 5 Pro
MIUI Version
7.2.9
Online time
233 Hours
Send PM

Mi Band 2Mi In-Ear HeadphonesMi Power BankUnlock MedalMi WiFi RouterMi WiFi Router MiniMi T-ShirtMi HomeMi Power Bank 10000MAH Mi BandMi TV 70Mijia Story TellerFantastic!MarshmallowI Love MIUIAwesome!MIUI 2015MIUI 8MIUI 6FlashholicMIUI 2016MIUI 7Redmi NoteMi 5Mi NoteRedmi Note 3Mi 4iMi PadRedmi 1SMi Note ProXiaomi Mi 4Mi 4cRedmi 2Redmi 3Mi 5 ProMi TVRedmi Note 2MIUI Fan from Malaysia600K Forum MembersMIUI 5th AnniversaryOlympics MedalHappy Valentine's DayMIUI 6th AnniversaryMIUI Marathon MedalMIUI Weekly PollMIUI 300 WeeksUEFA EURO MedalMIUI Fan from IndiaMIUI Forum App1500K Forum MembersMi Live Medal1400K Forum Members700K Forum MembersHappy DiwaliMid-Autumn FestivalMIUI Fan From SingaporeMIUI HalloweenFan Of MIUI IndiaI Love 2016Xiaomi 5th AnniversaryMerry ChristmasMIUI 100 Million Users1300K Forum Members5 Million Forum PostsXiaomi 6th Anniversary500K Forum Members1 Million Forum Members2100K Forum Members1 Million Forum App InstallsThanksgiving DayPokemon Master MedalI Love Mi BunnyMiPopGamer Mi BunnyAlpaca Mi Bunny Summer Mi BunnyMIUI Beta TeamForum Contest LoverDie-hard MIUI FanMIUI FB FollowerMIUI G+ FollowerRingtone Star Android GuruDebate MasterMi Bunny Game Master Android ElfTechnology GuruStar Of IconsMi Lover MedalStar Of TechnologyYouth PledgeScroll Of WisdomMIUI Twitter FollowerHumor MasterMIUI Medals CollectorMi TalentOTA FeedbackMi Story TellerMIUI Follower

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

Gold Member

Rank: 3Rank: 3

Credits
221
Device
Redmi Note 3
MIUI Version
V8.1.1.0.MHRMIDI
Online time
43 Hours
Send PM

MIUI 2015MIUI Global Forum 2014Android GuruDebate Master

12:51, Jul-24-2015
|
thanks

Junior Member

Rank: 1

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

Elite Member

Rank: 6Rank: 6

Credits
5654
Device
Redmi Note 2 Prime
MIUI Version
7.2.9
Online time
610 Hours
Send PM

Mi Band 2Mi Power BankMi WiFi RouterYeelight Bedside LampMi In-Ear HeadphonesMi BandAwesome!MIUI 2015MIUI 8MIUI 2016I Love MIUIFlashholicFantastic!MIUI 7Redmi Note 3Redmi 3Mi Note ProMi 5Mi NoteRedmi Note 2Xiaomi Mi 4Redmi 2Redmi NoteRedmiMi PadRedmi 1SMi 4cMi 3Mi Max Mi 4SThanksgiving Day800K Forum MembersMid-Autumn FestivalMi Live MedalMIUI Forum AppPokemon Master MedalMIUI 300 WeeksDiwali Hilal Ramadan Olympics MedalMIUI Fan From SingaporeMalaysia AnniversaryFan Of MIUI IndiaMIUI Fan from India900K Forum MembersMIUI 6th AnniversaryMIUI Fan from Malaysia1400K Forum MembersMIUI Fan From VietnamMIUI Fan From Myanmar1 Million Forum MembersUEFA EURO Medal1800K Forum Members700K Forum MembersHappy Valentine's DayXiaomi 6th AnniversaryMIUI Fan From PhilippinesMIUI Fan from TurkeyMIUI 2017Fan of MIUI MyanmarHappy New YearMerry ChristmasSummer Mi BunnyI Love Mi BunnyAlpaca Mi Bunny MIUI Beta TeamMIUI ExpertUpdates LoverMi Bunny Game Master MIUI FB FollowerDie-hard MIUI FanOTA FeedbackPioneer of MIUI English Forum Android ElfRingtone TalentAndroid GuruMi Lover MedalMIUI Android 4.4 KitKatMIUI Twitter FollowerMr. DependableMIUI FollowerInbox ZeroYouth PledgeForum Contest LoverRingtone Star Humor MasterTechnology GuruMIUI G+ FollowerDebate Master

11:29, Sep-29-2015
|
thank

Platinum Member

Rank: 4

Credits
2816
Device
Redmi 2
MIUI Version
V8.1.2.0.LHMMIDI
Online time
185 Hours
Send PM

Mi BandMIUI 2015Awesome!MIUI 6Mi TVRedmi 1SMi Note ProMi NoteXiaomi Mi 4Redmi 2Redmi 3Redmi NoteMIUI 100 Million UsersFan Of MIUI IndiaMIUI Fan from MalaysiaFan Of MIUI BangladeshFan Of  MIUI Azerbaijan500K Forum Members2014 ChristmasXiaomi 5th AnniversaryMIUI Fan from IndiaMIUI Fan From Singapore600K Forum MembersMIUI Fan From BrazilThanksgiving DayHilal Ramadan I Love Mi BunnyGamer Mi BunnyMIUI FB FollowerForum Contest LoverHumor MasterMIUI Global Forum 2014

18:06, Sep-30-2015
|
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
|
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