Xiaomi MIUI Official Forum

Elite Member

Keep Doing

Rank: 6Rank: 6

Credits
8503
Device
Redmi Note 3
MIUI Version
7.11.2
Online time
1311 Hours
Send PM

Mi WiFi Router MiniMi Band 2Mi Power BankMi BandMi WiFi RouterUnlock MedalMi Power Bank 10000MAH Mi In-Ear HeadphonesMi  BunnyMijia Qi CycleXiaomi 7th AnniversaryAwesome!MIUI 8MIUI 2016I Love MIUIFlashholicMIUI 7Fantastic!MarshmallowMIUI 6MIUI Devices ContestMIUI 2015Xiaomi Mi 4Mi PadMi 4cRedmi 1SRedmi Note 3Redmi 3Redmi Note 2Redmi 2Mi 4iThanksgiving DayMIUI Fan from MalaysiaMIUI Fan from IndiaMIUI 7th Anniversary1 Million Forum MembersHappy New Year500K Forum Members900K Forum Members600K Forum Members700K Forum MembersMIUI Fan From SingaporeMIUI 5th AnniversaryHilal Ramadan 800K Forum MembersHappy Valentine's DayFan Of MIUI IndiaMIUI 100 Million UsersMIUI Fan from TurkeyMerry ChristmasMIUI 300 WeeksMid-Autumn FestivalMIUI 6th AnniversaryPuzzle Master100k Forum MembersPokemon Master MedalFan Of MIUI Poland1700K Forum MembersDiwali Happy Diwali1800K Forum Members1400K Forum MembersMIUI Forum App1500K Forum MembersMIUI Fan From Vietnam300K Forum MembersXiaomi 5th AnniversaryMIUI Happy MedalSuper MondayMIUI 2017Xiaomi 6th AnniversaryRocket to FutureMIUI 9MiPopAlpaca Mi Bunny Gamer Mi BunnyI Love Mi BunnySummer Mi BunnyMIUI Beta team - IndiaMIUI Beta TeamAndroid GuruMIUI FB FollowerMIUI Android 4.4 KitKatMost Active MIUIerAndroid ElfForum Contest LoverMIUI Twitter FollowerStar Of TechnologyMIUI G+ FollowerMi Lover MedalMIUI FollowerMr. DependableHumor MasterPioneer of MIUI English Forum Redmi Note 3 ExplorerRingtone TalentInbox ZeroDebate MasterOTA FeedbackRingtone Star MIUI Medals CollectorScroll Of WisdomMi TalentMi Bunny Game Master Updates LoverDie-hard MIUI FanMi Story Teller

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

[ Promote]
46829 82 |
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





Favorite18 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
8503
Device
Redmi Note 3
MIUI Version
7.11.2
Online time
1311 Hours
Send PM

Mi WiFi Router MiniMi Band 2Mi Power BankMi BandMi WiFi RouterUnlock MedalMi Power Bank 10000MAH Mi In-Ear HeadphonesMi  BunnyMijia Qi CycleXiaomi 7th AnniversaryAwesome!MIUI 8MIUI 2016I Love MIUIFlashholicMIUI 7Fantastic!MarshmallowMIUI 6MIUI Devices ContestMIUI 2015Xiaomi Mi 4Mi PadMi 4cRedmi 1SRedmi Note 3Redmi 3Redmi Note 2Redmi 2Mi 4iThanksgiving DayMIUI Fan from MalaysiaMIUI Fan from IndiaMIUI 7th Anniversary1 Million Forum MembersHappy New Year500K Forum Members900K Forum Members600K Forum Members700K Forum MembersMIUI Fan From SingaporeMIUI 5th AnniversaryHilal Ramadan 800K Forum MembersHappy Valentine's DayFan Of MIUI IndiaMIUI 100 Million UsersMIUI Fan from TurkeyMerry ChristmasMIUI 300 WeeksMid-Autumn FestivalMIUI 6th AnniversaryPuzzle Master100k Forum MembersPokemon Master MedalFan Of MIUI Poland1700K Forum MembersDiwali Happy Diwali1800K Forum Members1400K Forum MembersMIUI Forum App1500K Forum MembersMIUI Fan From Vietnam300K Forum MembersXiaomi 5th AnniversaryMIUI Happy MedalSuper MondayMIUI 2017Xiaomi 6th AnniversaryRocket to FutureMIUI 9MiPopAlpaca Mi Bunny Gamer Mi BunnyI Love Mi BunnySummer Mi BunnyMIUI Beta team - IndiaMIUI Beta TeamAndroid GuruMIUI FB FollowerMIUI Android 4.4 KitKatMost Active MIUIerAndroid ElfForum Contest LoverMIUI Twitter FollowerStar Of TechnologyMIUI G+ FollowerMi Lover MedalMIUI FollowerMr. DependableHumor MasterPioneer of MIUI English Forum Redmi Note 3 ExplorerRingtone TalentInbox ZeroDebate MasterOTA FeedbackRingtone Star MIUI Medals CollectorScroll Of WisdomMi TalentMi Bunny Game Master Updates LoverDie-hard MIUI FanMi Story Teller

 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
4062
Device
Mi 5 Pro
MIUI Version
7.11.9
Online time
240 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 AnniversaryMiPopAlpaca Mi Bunny I Love Mi BunnySummer Mi BunnyGamer Mi BunnyMIUI Beta TeamAndroid ElfMi Bunny Game Master Ringtone Star MIUI FB FollowerMi Story TellerForum Contest LoverMi TalentTechnology GuruStar Of IconsMi Lover MedalMIUI Twitter FollowerScroll Of WisdomHumor MasterStar Of TechnologyMIUI G+ FollowerYouth PledgeAndroid GuruOTA FeedbackMIUI Medals CollectorDebate MasterDie-hard MIUI FanPioneer of MIUI English Forum MIUI Follower

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

Gold Member

Rank: 3Rank: 3

Credits
334
Device
Redmi Note 3
MIUI Version
V8.5.3.0.MHRMIED
Online time
47 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
5687
Device
Redmi Note 2 Prime
MIUI Version
7.5.11
Online time
610 Hours
Send PM

Mi In-Ear HeadphonesMi WiFi RouterMi Band 2Mi BandMi Power BankYeelight Bedside LampMi KeyMi Yi CameraMIUI 2015Awesome!FlashholicMIUI 8MIUI 7I Love MIUIMIUI 2016Fantastic!Xiaomi Mi 4Mi 5Mi NoteMi 3Redmi Note 3Redmi 3Mi Note ProRedmiMi 4SRedmi NoteRedmi 1SMi PadRedmi Note 2Mi Max Redmi 2Mi 4cRedmi Pro900K Forum MembersFan of MIUI MyanmarHappy Valentine's Day700K Forum MembersFan Of MIUI India800K Forum MembersMIUI Fan From SingaporeMIUI Fan from IndiaThanksgiving DayMerry ChristmasDiwali Happy 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
2852
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