Xiaomi MIUI Official Forum

Elite Member

Keep Doing

Rank: 6Rank: 6

Credits
7557
Device
Redmi Note 3
MIUI Version
7.3.16
Online time
1309 Hours
Send PM

Mi WiFi RouterUnlock MedalMi In-Ear HeadphonesMi Power Bank 10000MAH Mi Band 2Mi WiFi Router MiniMi BandMi Power BankMIUI 2016MIUI 7I Love MIUIAwesome!MIUI 6MIUI 2015MIUI 8Fantastic!FlashholicMarshmallowRedmi Note 2Mi PadRedmi 2Xiaomi Mi 4Mi 4cRedmi Note 3Redmi 3Mi 4iRedmi 1SHappy Diwali800K Forum MembersFan Of MIUI IndiaFan Of MIUI Poland1800K Forum MembersPuzzle MasterMIUI Forum App700K Forum MembersPokemon Master Medal900K Forum MembersHappy Valentine's Day1400K Forum Members1500K Forum MembersMIUI 5th AnniversaryMIUI Fan from IndiaHilal Ramadan Thanksgiving DayMIUI Fan From VietnamDiwali Mid-Autumn Festival500K Forum MembersXiaomi 5th AnniversaryXiaomi 6th AnniversaryMIUI 300 WeeksMIUI Fan from Malaysia600K Forum MembersMIUI 6th AnniversaryMIUI 100 Million UsersMIUI Fan From SingaporeMerry Christmas1700K Forum MembersHappy New Year1 Million Forum MembersMIUI Fan from TurkeyI Love Mi BunnyMiPopGamer Mi BunnyAlpaca Mi Bunny Summer Mi BunnyMIUI Beta team - IndiaMIUI Beta TeamMIUI FB FollowerMIUI Twitter FollowerForum Contest LoverAndroid ElfAndroid GuruUpdates LoverRingtone TalentInbox ZeroPioneer of MIUI English Forum Ringtone Star Redmi Note 3 ExplorerMi Story TellerMr. DependableMi Lover MedalDebate MasterHumor MasterMIUI G+ FollowerMIUI Medals CollectorScroll Of WisdomMIUI FollowerMi TalentOTA FeedbackDie-hard MIUI FanMi Bunny Game Master

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

[ Promote]
28782 64 |
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





Favorite10 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
7557
Device
Redmi Note 3
MIUI Version
7.3.16
Online time
1309 Hours
Send PM

Mi WiFi RouterUnlock MedalMi In-Ear HeadphonesMi Power Bank 10000MAH Mi Band 2Mi WiFi Router MiniMi BandMi Power BankMIUI 2016MIUI 7I Love MIUIAwesome!MIUI 6MIUI 2015MIUI 8Fantastic!FlashholicMarshmallowRedmi Note 2Mi PadRedmi 2Xiaomi Mi 4Mi 4cRedmi Note 3Redmi 3Mi 4iRedmi 1SHappy Diwali800K Forum MembersFan Of MIUI IndiaFan Of MIUI Poland1800K Forum MembersPuzzle MasterMIUI Forum App700K Forum MembersPokemon Master Medal900K Forum MembersHappy Valentine's Day1400K Forum Members1500K Forum MembersMIUI 5th AnniversaryMIUI Fan from IndiaHilal Ramadan Thanksgiving DayMIUI Fan From VietnamDiwali Mid-Autumn Festival500K Forum MembersXiaomi 5th AnniversaryXiaomi 6th AnniversaryMIUI 300 WeeksMIUI Fan from Malaysia600K Forum MembersMIUI 6th AnniversaryMIUI 100 Million UsersMIUI Fan From SingaporeMerry Christmas1700K Forum MembersHappy New Year1 Million Forum MembersMIUI Fan from TurkeyI Love Mi BunnyMiPopGamer Mi BunnyAlpaca Mi Bunny Summer Mi BunnyMIUI Beta team - IndiaMIUI Beta TeamMIUI FB FollowerMIUI Twitter FollowerForum Contest LoverAndroid ElfAndroid GuruUpdates LoverRingtone TalentInbox ZeroPioneer of MIUI English Forum Ringtone Star Redmi Note 3 ExplorerMi Story TellerMr. DependableMi Lover MedalDebate MasterHumor MasterMIUI G+ FollowerMIUI Medals CollectorScroll Of WisdomMIUI FollowerMi TalentOTA FeedbackDie-hard MIUI FanMi Bunny Game Master

 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
18
Device
Redmi 1S
MIUI Version
V8.2.1.0.LHJMIDL
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
4001
Device
Mi 5 Pro
MIUI Version
7.3.1
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
222
Device
Redmi Note 3
MIUI Version
V8.1.1.0.MHRMIDI
Online time
44 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
5662
Device
Redmi Note 2 Prime
MIUI Version
7.2.9
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
|
thank

Platinum Member

Rank: 4

Credits
2835
Device
Redmi 2
MIUI Version
V8.2.1.0.LHJMIDL
Online time
186 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