I-firmware ye-Android, i.e. Ukubhala amafayela athile wezithombe ezingxenyeni ezifanele zememori yensiza usebenzisa isoftware ekhethekile yeWindows enika inqubo cishe ngokuphelele akuyona inqubo enzima kakhulu evela kumbono womsebenzisi. Uma ukusetshenziswa kwamathuluzi anjalo kungenzeki noma kunganikeli umphumela owufunayo, i-Fastboot isindisa leso simo.
Ukuze ushise insimbi ye-Android nge-Fastboot, uzodinga ulwazi lwemiyalo ye-console yemodi yokusebenza kwegama elifanayo, kanye nokulungiswa kwe-smartphone noma ithebhulethi ne-PC esetshenziselwe ukusebenza.
Ngenxa yokuthi kwimodi ye-fastboot, ukukhohlisa okunengxenye yememori yedivaysi empeleni kwenziwa ngokuqondile, okunye ukuqaphela nokunakekela kuyadingeka lapho kusetshenziswa indlela ye-firmware echazwe ngezansi. Ngaphezu kwalokho, ukwenziwa kwezinyathelo ezilandelayo kungenzeka ukuthi kunconywe kuphela uma kungenzeki ukwenza i-firmware ngezinye izindlela.
Isenzo ngasinye ngamadivayisi waso we-Android senziwa ngumsebenzisi osengozini yakhe. Ngemiphumela emibi engaba khona yokusebenzisa izindlela ezichazwe kulomthombo, ukuphathwa kwesiza akunacala!
Ukulungiselela
Ukuqaliswa okucacile kwezinqubo zokulungiselela kunquma ukuphumelela kwayo yonke inqubo yokuqhafaza idivaysi, ngakho-ke ukusetshenziswa kwezinyathelo ezichazwe ngezansi kungabhekwa njengokufanele kuqala ngaphambi kokwenza imisebenzi.
Ukufakwa komshayeli
Ukuze ufunde ukuthi ungafaka kanjani umshayeli okhethekile wemodi ye-fastboot, bheka i-athikili:
Isifundo: Ukufaka abashayeli be-firmware ye-Android
Uhlelo lokusekelayo
Uma kunethuba elincane, ikhophi ephelele yesipele yezingxenye ezikhona kwimemori yedivayisi kufanele idalwe ngaphambi kokuqhafaza. Izinyathelo ezidingekayo zokwakha isipele zichazwe ku-athikili:
Isifundo: Ungawavimba kanjani amadivayisi we-Android ngaphambi kwe-firmware
Landa futhi ulungiselele amafayela adingekayo
I-Fastboot ne-ADB ngamathuluzi ahambisana noqobo kusuka ku-Android SDK. Silayisha ngokuphelele indawo yamathuluzi noma silande iphakheji elihlukile eliqukethe i-ADB ne-Fastboot kuphela. Bese ukhipha kungobo yomlando okuvela kufolda ehlukile ku-drive C.
Nge-Fastboot, kungenzeka ukurekhoda zombili izigaba ngazinye zememori yedivayisi ye-Android, nokuvuselelwa kwe-firmware njengephakethe lonke. Esimweni sokuqala, udinga amafayela wesithombe ngefomethi * .img, elesibili - amaphakheji * .zip. Wonke amafayela ahlelelwe ukusetshenziswa kufanele akopishelwe kufolda equkethe i-Fastboot engafakwanga kanye ne-ADB.
Amaphakethe * .zip ungavuli, udinga kuphela ukuqamba kabusha amafayela / amafayela alandiwe. Ngokuyinhloko, igama lingaba yinoma yini, kepha akufanele libe nezikhala noma izinhlamvu zaseRussia. Ukuze kube lula, sebenzisa amagama amafushane, ngokwesibonelo buyekeza.zip. Phakathi kokunye, kuyadingeka ukuthi unake isici sokuthi i-Fastboot iyazwela imiyalo ethunyelwe namagama wefayela. Mina. "I-Update.zip" ne "update.zip" ye-fastboot ngamafayela ahlukile.
Qalisa i-Fastboot
Njengoba i-Fastboot iyisicelo se-console, usebenza ngethuluzi ngokufaka imiyalo ye-syntax ethile kulayini we-Windows command (cmd). Indlela elula yokusebenzisa i-Fastboot ukusebenzisa indlela elandelayo.
- Vula ifolda nge-Fastboot, cindezela ukhiye kukhibhodi "Shift" bese uyibamba, chofoza kwesokudla endaweni ekhululekile. Kumenyu evulayo, khetha "Vula iwindi lomyalo".
- Ngaphezu kwalokho. Ukwenza lula ukusebenza nge-Fastboot, ungasebenzisa uhlelo lwe-Adb Run.
Lokhu kungezelela kukuvumela ukuthi wenze yonke imisebenzi kusuka kuzibonelo ezingezansi kumodi ye-othomathikhi futhi akudingeki uguqukele ekungeneni kwemiyalo ku-console.
Ukuqalisa kabusha idivaysi ibe yimodi ye-bootloader
- Ukuze idivaysi ikwamukele imiyalo ethunyelwe ngumsebenzisi nge-Fastboot, kufanele icatshangwe kabusha kwimodi efanele. Ezimweni eziningi, kwanele ukuthumela umyalo okhethekile nge-adb kudivayisi ene-USB debugging enikwe amandla:
- Idivayisi izoqala kabusha kwimodi oyifunayo ye-firmware. Bese uhlola ukuxhumana usebenzisa umyalo:
- Ukuqalisa kabusha imodi ye-fastboot nakho kungenziwa kusetshenziswa into ehambelana ne-TWRP Lokubuyisela (into "I-Fastboot" imenyu Qalisa kabusha ("Qalisa kabusha").
- Uma izindlela ezingenhla zokudlulisa idivaysi kumodi ye-fastboot zingasebenzi noma zingasebenzi (idivaysi ayisebenzi ku-Android futhi ayifaki ukululama), udinga ukusebenzisa inhlanganisela yezinkinobho zehadiwe kudivayisi uqobo. Ngobubanzi bemodeli ngayinye, lezi zinhlanganisela kanye ne-oda yokucindezela izinkinobho zihlukile, ngeshwa, ayikho indlela yendawo yonke yokungena.
Isibonelo kuphela, ungacabanga ngemikhiqizo ye-Xiaomi. Kule mishini, ukulayisha kumodi ye-fastboot kwenziwa ngokucindezela inkinobho kudivayisi evaliwe "IVolumu-" futhi ebambe okhiye bakhe "Ukudla".
Siyaphinda futhi, siphawula ukuthi nakwabanye abakhiqizi, indlela yokufaka imodi ye-fastboot besebenzisa izinkinobho zehardware kanye nokuhlanganiswa kwabo kungahluka.
i-adb reboot bootloader
Amadivayisi we-fastboot
Ukuvula i-Bootloader
Abakhiqizi benombolo ethile yamadivayisi we-Android bavimba amandla okuphatha ukwahlukaniswa kwememori yedivayisi ngokukhiya i-bootloader. Uma idivaysi ine-bootloader ekhiyiwe, ezimeni eziningi i-firmware yayo nge-fastboot ayisebenzi.
Ukubheka isimo se-bootloader, ungathumela umyalo olandelayo kudivayisi, ekwimodi ye-fastboot futhi exhunywe kwi-PC:
ulwazi lwe-fastboot oem
Kepha futhi kufanele ngivume ukuthi le ndlela yokunquma isimo sokukhiya ayisiye ndawo yonke futhi yehlukile kumadivayisi kubakhiqizi abahlukahlukene. Lesi sitatimende sisebenza nasekuvuleni i-bootloader - indlela yokusebenza yenqubo ihlukile kumadivayisi ahlukile ngisho nakumamodeli ahlukile womkhiqizo ofanayo.
Ukubhala amafayela ezingxenyeni zememori yedivayisi
Ngemuva kokuqeda izinqubo zokulungiselela, ungaqhubeka nenqubo yokubhalwa kwedatha ezingxenyeni zememori zedivayisi. Siphinde sibheke ukunemba kokulayisha amafayela wesithombe kanye / noma amaphakheji we-zip nokuxhumana kwabo kudivayisi ekhanyisiwe.
Ukunaka! Izithombe ezifakwayo ezingalungile nezonakalisiwe ze-Flashing, kanye nezithombe ezivela kwenye insiza kuya kudivayisi, ezimeni eziningi kuholela ekungakwazi ukulayisha i-Android kanye / noma eminye imiphumela emibi yedivayisi!
Faka amaphakheji we-zip
Ukurekhoda kudivayisi, isibonelo, izibuyekezo ze-OTA, noma isethi ephelele yezakhi zesoftware ezihanjiswa ngefomethi * .zipisebenzisa umyalo we-fastbootbuyekeza
.
- Siqinisekisa ukuthi idivaysi ikwimodi ye-fastboot futhi ibonwa ngohlelo kahle, bese sicoca izigaba ze- “cache” ne- “data”. Lokhu kuzosusa yonke imininingwane yomsebenzisi kusuka kudivayisi, kepha ezimweni eziningi kuyisinyathelo esidingekayo, ngoba kusiza ukugwema amaphutha amaningi ngesikhathi sokusebenza kwe-firmware nokuqhubekayo. Sikhipha umyalo:
- Sibhala iphakethe le-zip nge-firmware. Uma lesi isibuyekezo esisemthethweni esivela kumenzi, umyalo uyasetshenziswa:
isibuyekezo esisheshayo sokuvuselela.zip
Kwezinye izimo, sebenzisa umyalo
isibuyekezo se-fastboot flash.zip
- Ngemuva kokuthi umbhalo uvele "siqedile. Isikhathi sonke ...." i-firmware ibhekwa njengephelele.
okusheshayo -w
Ukubhala izithombe ze-img ezingxenyeni zememori
Ezimweni eziningi, sesha i-firmware ngefomethi * .zip Ukulanda kungaba nzima. Abenzi bensiza bayanqikaza ukuthumela izixazululo zabo kwiWebhu. Ngaphezu kwalokho, amafayela we-zip angakhanyiswa ngokusebenzisa kabusha, ngakho-ke, ukuvumelana kokusebenzisa indlela yokubhala amafayela we-zip nge-Fastboot kuyangabazeka.
Kepha amathuba okukhanyisa izithombe ngazinye ezigabeni ezifanele, ikakhulukazi "Boot", "Uhlelo", "I-userdata", "Ukubuyisa" njll. nge-Fastboot lapho ibuyisela kabusha idivaysi ngemuva kwezinkinga ezinkulu zesoftware, ingasindisa isimo ezimweni eziningi.
Ukuze ukhanye isithombe esingafani se-img, sebenzisa umyalo:
fastboot flash partition_name file_name.img
- Njengesibonelo, sibhala isigaba sokutakula nge-fastboot. Ukukhanyisa isithombe sokubuyisela.img esigabeni esifanele, thumela umyalo ku-console:
i-fastboot flash alulame.img
Okulandelayo, udinga ukulinda kukhonsoli ukuze uthole impendulo "siqedile. Isikhathi sonke ...". Ngemuva kwalokho, irekhodi lesigaba lingabhekwa njengokuqediwe.
- Ezinye izingxenye zikhanyiswa ngendlela efanayo. Ukubhala ifayela lesithombe engxenyeni ethi "Boot":
i-fastboot flash boot boot.img
"Isistimu":
uhlelo lwe-fastboot flash system.img
Futhi ngendlela efanayo zonke ezinye izigaba.
- Okwe-batch firmware izingxenye ezintathu eziyinhloko ngasikhathi sinye - "Boot", "Ukubuyisa" futhi "Uhlelo" ungasebenzisa umyalo:
- Ngemuva kokuqeda zonke izinqubo, idivaysi ingabuyiselwa kabusha ku-Android ngqo kusuka kukhonsoli ngokuthumela umyalo:
i-fastboot flashall
ukuqala kabusha kwe-fastboot
Ngale ndlela, i-firmware ikhiqizwa kusetshenziswa imiyalo ethunyelwe ngokusebenzisa ikhonsoli. Njengoba ukwazi ukubona, izinqubo zokulungiselela zithatha isikhathi esikhulu nomzamo, kepha uma zenziwa kahle, ukuqopha izingxenye zememori yedivaysi kwenzeka ngokushesha okukhulu futhi cishe njalo ngaphandle kwezinkinga.