Xiaomi MIUI Official Forum

Elite Member

Keep Doing

Rank: 6Rank: 6

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

Unlock MedalMi Power Bank 10000MAH Mi BandMi WiFi RouterMi In-Ear HeadphonesMi Band 2Mi Power BankMi WiFi Router MiniXiaomi 7th AnniversaryFlashholicMIUI 7I Love MIUIMIUI 2016MIUI 6MIUI 8MIUI 2015Awesome!MIUI Devices ContestFantastic!MarshmallowRedmi 3Mi 4cMi PadRedmi Note 2Redmi 2Redmi 1SXiaomi Mi 4Redmi Note 3Mi 4i1400K Forum Members1800K Forum Members1500K Forum MembersDiwali MIUI Forum AppMIUI Fan From Singapore700K Forum Members900K Forum Members800K Forum MembersHappy Diwali300K Forum MembersHappy Valentine's DayMIUI 5th Anniversary100k Forum MembersPuzzle MasterMIUI Fan from IndiaFan Of MIUI PolandThanksgiving Day1700K Forum MembersMIUI Fan From Vietnam500K Forum MembersPokemon Master MedalHilal Ramadan Xiaomi 5th Anniversary600K Forum MembersXiaomi 6th AnniversaryFan Of MIUI IndiaMIUI 6th AnniversaryMerry ChristmasMIUI 300 WeeksMid-Autumn FestivalHappy New Year1 Million Forum MembersMIUI 100 Million UsersMIUI Fan from TurkeyMIUI Fan from MalaysiaI Love Mi BunnyAlpaca Mi Bunny Summer Mi BunnyGamer Mi BunnyMiPopMIUI Beta TeamMIUI Beta team - IndiaAndroid ElfAndroid GuruMIUI FB FollowerMIUI Twitter FollowerForum Contest LoverPioneer of MIUI English Forum Ringtone TalentInbox ZeroMost Active MIUIerRingtone Star Redmi Note 3 ExplorerMi Story TellerMr. DependableMi Lover MedalHumor MasterMIUI FollowerMIUI G+ FollowerMIUI Medals CollectorScroll Of WisdomMi TalentMi Bunny Game Master OTA FeedbackDie-hard MIUI FanUpdates LoverDebate Master

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

[ Promote]
37025 70 |
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





Favorite13 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
7958
Device
Redmi Note 3
MIUI Version
7.7.18
Online time
1311 Hours
Send PM

Unlock MedalMi Power Bank 10000MAH Mi BandMi WiFi RouterMi In-Ear HeadphonesMi Band 2Mi Power BankMi WiFi Router MiniXiaomi 7th AnniversaryFlashholicMIUI 7I Love MIUIMIUI 2016MIUI 6MIUI 8MIUI 2015Awesome!MIUI Devices ContestFantastic!MarshmallowRedmi 3Mi 4cMi PadRedmi Note 2Redmi 2Redmi 1SXiaomi Mi 4Redmi Note 3Mi 4i1400K Forum Members1800K Forum Members1500K Forum MembersDiwali MIUI Forum AppMIUI Fan From Singapore700K Forum Members900K Forum Members800K Forum MembersHappy Diwali300K Forum MembersHappy Valentine's DayMIUI 5th Anniversary100k Forum MembersPuzzle MasterMIUI Fan from IndiaFan Of MIUI PolandThanksgiving Day1700K Forum MembersMIUI Fan From Vietnam500K Forum MembersPokemon Master MedalHilal Ramadan Xiaomi 5th Anniversary600K Forum MembersXiaomi 6th AnniversaryFan Of MIUI IndiaMIUI 6th AnniversaryMerry ChristmasMIUI 300 WeeksMid-Autumn FestivalHappy New Year1 Million Forum MembersMIUI 100 Million UsersMIUI Fan from TurkeyMIUI Fan from MalaysiaI Love Mi BunnyAlpaca Mi Bunny Summer Mi BunnyGamer Mi BunnyMiPopMIUI Beta TeamMIUI Beta team - IndiaAndroid ElfAndroid GuruMIUI FB FollowerMIUI Twitter FollowerForum Contest LoverPioneer of MIUI English Forum Ringtone TalentInbox ZeroMost Active MIUIerRingtone Star Redmi Note 3 ExplorerMi Story TellerMr. DependableMi Lover MedalHumor MasterMIUI FollowerMIUI G+ FollowerMIUI Medals CollectorScroll Of WisdomMi TalentMi Bunny Game Master OTA FeedbackDie-hard MIUI FanUpdates LoverDebate 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
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
2907
Device
Redmi Note 2
MIUI Version
7.7.20
Online time
110 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
4041
Device
Mi 5 Pro
MIUI Version
7.6.29
Online time
237 Hours
Send PM

Mi BandMi HomeMi Power Bank 10000MAH Mi Power BankMi In-Ear HeadphonesMi Band 2Unlock MedalMi WiFi RouterMi T-ShirtMi WiFi Router MiniMi TV 70Mijia Story TellerXiaomi 7th AnniversaryMIUI 2015MIUI 6Awesome!FlashholicMIUI 2016MIUI 8I Love MIUIFantastic!MIUI 7MarshmallowRedmi 3Mi 5Xiaomi Mi 4Redmi 1SRedmi NoteMi NoteMi PadMi Note ProRedmi 2Mi 4cMi 4iRedmi Note 3Redmi Note 2Mi 5 ProMi TVMIUI Weekly PollMIUI 5th AnniversaryMid-Autumn FestivalMIUI 300 WeeksMIUI Fan from MalaysiaMIUI Marathon MedalHappy Valentine's DayUEFA EURO Medal2100K Forum MembersMIUI Forum AppMIUI Fan From Singapore600K Forum MembersHappy Diwali1400K Forum Members1500K Forum MembersMi Live MedalOlympics MedalMIUI Fan from India700K Forum MembersMIUI HalloweenMIUI 100 Million UsersXiaomi 6th AnniversaryPokemon Master Medal1 Million Forum App InstallsMerry Christmas500K Forum MembersSuper Monday5 Million Forum PostsI Love 2016Thanksgiving DayXiaomi 5th Anniversary1300K Forum MembersMIUI 6th AnniversaryFan Of MIUI India1 Million Forum MembersI Love Mi BunnyGamer Mi BunnySummer Mi BunnyMiPopAlpaca Mi Bunny MIUI Beta TeamForum Contest LoverMIUI FB FollowerDie-hard MIUI FanMIUI G+ FollowerRingtone Star Android GuruDebate MasterMi Bunny Game Master Android ElfTechnology GuruStar Of IconsMi Lover MedalHumor MasterYouth PledgeScroll Of WisdomMIUI Twitter FollowerStar Of TechnologyMIUI Medals CollectorMi TalentOTA FeedbackMi Story TellerMIUI Follower

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

Gold Member

Rank: 3Rank: 3

Credits
225
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 | 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
5679
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 | From PC
|
thank

Platinum Member

Rank: 4

Credits
2848
Device
Redmi 2
MIUI Version
V8.5.2.0.MHOMIED
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