I-firmware ye-Android, isb. Ukubhala amafayela wesithombe esiqondile ezingxenyeni ezifanele zenkumbulo yedivayisi uma usebenzisa isofthiwe ekhethekile ye-Windows, okuyiyona ehamba ngokuzenzakalelayo inqubo, ayiyona inqubo eyinkimbinkimbi kunazo zonke kusukela kumbono womsebenzisi. Uma ukusetshenziswa kwamathuluzi anjalo kungenakwenzeka noma kunganiki umphumela oyifunayo, i-Fastboot igcina usuku.
Ukuze ukhanyise idivayisi ye-Android nge-Fastboot, kuzodingeka ukwazi imiyalo ye-console yemodi efanayo negama legama, kanye nokulungiselela okuthile kwe-smartphone noma ithebhulethi futhi kusetshenziselwa imisebenzi ye-PC.
Ngenxa yokuthi esimweni se-fast-boot, ukusebenzisana ngezigaba zememori yedivayisi empeleni kwenziwa ngokuqondile, ukusebenzisa indlela elandelayo ye-firmware kudinga ukuqapha nokuqapha. Ngaphezu kwalokho, ukuqaliswa kwezinyathelo ezilandelayo kufanele kuphakanyiswe kuphela uma kungenakwenzeka ukwenza i-firmware ngezinye izindlela.
Isenzo ngasinye namadivayisi wabo we-Android, umsebenzisi uzenzele engozini yakho. Ukuze kube nemiphumela engalungile yokusebenzisa izindlela ezichazwe kulolu lwazi, ukuphathwa kwendawo akuyona into enomthwalo wemfanelo!
Ukulungiselela
Ukuqaliswa okulungile kwezinqubo zokulungiselela kunquma ukuthi yonke inqubo ye-firmware iphumelele, ngakho-ke ukuqaliswa kwezinyathelo ezichazwe ngezansi kungabhekwa njengento ebalulekile ngaphambi kokusebenza.
Ukufakwa komshayeli
Ukuze ufunde indlela yokufaka umshayeli okhethekile wemodi ye-fastboot, ungafunda kusuka kusihloko:
Isifundo: Ukufaka abashayeli be-firmware ye-Android
Uhlelo lwesipele
Uma kukhona okungenzeka kancane, ngaphambi kokuba i-firmware ibalulekile ukudala isipele ngokugcwele sezingxenye ezikhona zenkumbulo yedivayisi. Izenzo ezidingekayo ukudala isipele zichazwe kulesi sihloko:
Isifundo: Ungalondoloza kanjani idivayisi yakho ye-Android ngaphambi kokukhanyisa
Landa futhi ulungise amafayela adingekayo
I-Fastboot ne-ADB yilawo mathuluzi ahambisanayo kusuka ku-Android SDK. Landa i-toolkit ngokuphelele noma ulande iphakheji elihlukile eliqukethe i-ADB ne-Fastboot kuphela. Bese ususa i-archive kufolda ehlukile ku-drive C.
Nge-Fastboot, kungenzeka ukurekhoda kokubili izingxenye ezithile zememori yedivayisi ye-Android, kanye nezibuyekezo ze-firmware njengephakheji lonke. Esimweni sokuqala, uzodinga amafayela wesithombe kufomethi * .imgokwesibili - iphakethe (ama) * .zip. Wonke amafayela alungiselelwe ukusetshenziswa kufanele akopishwe kufolda equkethe i-Fastboot ne-ADB engaxhunyiwe.
Amaphakheji * .zip musa ukukhipha, udinga kuphela ukuqamba kabusha amafayela afakiwe. Ngokuyinhloko, igama lingaba yilokho, kodwa akufanele liqukathe izikhala nezinhlamvu zaseRussia. Ukuze kube lula, kufanele usebenzise amagama amancane, isibonelo buyekeza.zip. Phakathi kwezinye izinto, kubalulekile ukucabangela into okushiwo yi-Fastboot ezwelayo emiyalweni kanye namagama wefayela athunyelwe. Yebo "Update.zip" ne "update.zip" ye-fastboot - amafayela ahlukene.
Run Fastboot
Njengoba i-Fastboot kuyinto uhlelo lokusebenza lwe-console, sebenzisa ithuluzi lwenziwa ngokufaka imiyalo ye-syntax ethile emgqeni we-Windows umyalo (cmd). Indlela elula yokusebenzisa i-Fastboot ukusebenzisa indlela elandelayo.
- Vula ifolda nge-Fastboot, cindezela ikhibhodi "Shift" futhi, ubambe, uchofoze ngakwesokudla endaweni yangaphandle. Emenyu evula, khetha into "I-Open Command Window".
- Okuzikhethela. Ukuze wenze umsebenzi nge-Fastboot, ungasebenzisa uhlelo lwe-Adb Run.
Lokhu okungeziweko kukuvumela ukuba wenze yonke imisebenzi kusuka ezibonisweni ezichazwe ngezansi kwimodi yokuzenzekelayo futhi ungabuyeli ekufakweni kombhalo wemilayezo ku-console.
Qala kabusha idivayisi kwimodi ye-bootloader
- Ukuze idivayisi yamukele imiyalo ethunyelwe umsebenzisi nge-Fastboot, kumele ihlelwe kabusha kumodi efanele. Ezimweni eziningi, kwanele ukuthumela umyalo okhethekile nge-adb kudivayisi nge-debugging ye-USB enikwe amandla:
- Idivayisi izoqala kabusha kwimodi oyifunayo ye-firmware. Bese sihlola ukuxhumana ngomyalo:
- Ungaphinda uqale kabusha kwimodi ye-fastboot usebenzisa into ehambelanayo ku-TWRP Recovery (into "Fastboot" imenyu Qala kabusha ("Qala kabusha").
- Uma izindlela ezichazwe ngenhla zokudlulisa idivaysi kwimodi yokuzilibazisa ayisebenzi noma ayivumelekile (idivaysi ayifuni ku-Android futhi ayihlanganisiwe ekubuyiseleni), kufanele usebenzise ukuhlanganiswa kwezikhiye zehadiwe kudivayisi ngokwayo. Ngebanga ngalinye lemodeli, lezi zinhlanganisela kanye ne-oda lokucindezela izinkinobho zihlukile; ngeshwa, ayikho indlela yonke yokungena.
Isibonelo kuphela, singacabanga ngemikhiqizo ye-Xiaomi. Kula madivayisi, ukulayishwa kwimodi ye-fastboot kwenziwa ngokucindezela inkinobho kudivayisi ivaliwe "Umbhalo-" futhi ubambe izinkinobho zakhe "Ukudla".
Futhi, kwabanye abakhiqizi, indlela yokufaka imodi ye-fastboot isebenzisa izinkinobho ze-hardware kanye nenhlanganisela yazo ingahluka.
I-adb iqalisa kabusha i-bootloader
amadivayisi fastboot
Ukuvula i-bootloader
Abakhiqizi benombolo ethile yamadivayisi we-Android bavimbela ikhono lokuphatha izingxenye zememori yedivayisi ngokukhiya kwe-bootloader. Uma ngabe idivayisi ine-bootloader evaliwe, ezimweni eziningi i-firmware yayo nge-fastboot ayinakwenzeka.
Ukuze uhlole isimo se-bootloader, ungathumela umyalo kudivayisi kumodi ye-fastboot futhi uxhumeke ku-PC:
imininingwane ye-fastboot oem yedivayisi
Kodwa futhi, kufanele sivume ukuthi le ndlela yokuthola isimo sokukhiya ayiyona yonke indawo futhi ihlukile kumadivayisi avela kubakhiqizi abahlukile. Lesi sitatimende sisebenza futhi ekuvuleni i-bootloader - indlela yezinqubo ezihlukile kumadivaysi ahlukene nakwezithombe ezihlukile zomkhiqizo ofanayo.
Bhala amafayela kwimikhakha yememori yedivayisi
Ngemuva kokuqedela izinqubo zokulungiselela, ungaqhubeka nenqubo yokubhala idatha kwimikhakha yememori yedivayisi. Sibuye futhi, siqinisekisa ukulandwa kwamafayela wesithombe kanye / noma amaphakheji we-zip kanye nokuxhumana kwabo kudivayisi ekukhanyeni.
Qaphela! Ukukhanyisa amafayela wesithombe angalungile nokulimala kanye nezithombe ezisuka kwenye idivaysi kudivayisi kuma-multiple cases kubangela ukungakwazi ukulanda i-Android kanye / noma eminye imiphumela emibi kudivayisi!
Ukufaka amaphakheji we-zip
Ukubhalela kudivayisi, isibonelo, izibuyekezo ze-OTA, noma isethi ephelele yezingxenye zesofthiwe esatshalaliswe kufomethi * .zipusebenzisa umyalo we-fastbootbuyekeza
.
- Senza isiqiniseko sokuthi idivayisi isendaweni ye-fastboot futhi ihlonishwa kahle yi-system, bese senza ukusula kwezingxenye ze- "cache" kanye "nedatha". Lokhu kuzosusa yonke idatha yomsebenzisi kusuka kudivayisi, kodwa ezimweni eziningi kuyisinyathelo esidingekayo, ngoba ikuvumela ukuba ugweme amaphutha amaningi ngesikhathi se-firmware nokusebenza okuqhubekayo kwesofthiwe. Yenza umyalo:
- Bhala iphakheji ye-zip ne-firmware. Uma lokhu kungukubuyekeza okusemthethweni okuvela kumenzi, sebenzisa umyalo:
fastboot update update.zip
Kwezinye izimo, sebenzisa umyalo
fastboot flash update.zip
- Ngemuva kokuvela kobhaliso "sekuphelile isikhathi sonke ...." i-firmware iphelile.
fastboot -w
Ukubhala img-izithombe ezingxenyeni zenkumbulo
Ezimweni eziningi, cinga i-firmware kwifomethi * .zip Ukulandwa kungase kube nzima. Abakhiqizi bedivaysi banqika ukuthumela izixazululo zabo kuwebhu. Ngaphezu kwalokho, amafayela e-zip angagcinwa ngokutholwa, ngakho-ke ukusebenzisa kahle indlela yokubhala ama-zip-files nge-fastboot kungabaza.
Kodwa kungenzeka ukukhanya izithombe ezihlukahlukene zibe yizigaba ezifanele, ikakhulukazi "Boot", "Uhlelo", "I-UserData", "Ukubuyisela" njll nge-Fastboot, lapho idivayisi ibuyiselwa ngemuva kwezinkinga ezinkulu ze-software, ingasindisa isimo ezimweni eziningi.
Ukuze ukhanyise isithombe esihlukile se-img, sebenzisa umyalo:
fastboot flash section_name filename.img
- Isibonelo, sibhala isigaba sokutakula nge-fastboot. Ukuze ukhanyise umfanekiso wokutakula.img kusigaba esifanele, thumela umyalo ku-console:
fastboot flash alulame ukutakula.img
Okulandelayo, udinga ukulinda ku-console ukuze uthole impendulo. "sekuqedile isikhathi esiphelele ...". Emva kwalokhu, ukungena kokuhlukanisa kungabhekwa njengokuphelele.
- Ezinye izingxenye zenziwa ngendlela efanayo. Ukubhala ifayela lesithombe kusigaba se- "Boot":
fastboot flash boot.img
"Uhlelo":
fastboot flash system system.img
Futhi ngendlela efanayo zonke ezinye izigaba.
- I-batch firmware yezigaba ezintathu eziyinhloko ngesikhathi esisodwa - "Boot", "Ukubuyisela" futhi "Uhlelo" ungasebenzisa umyalo:
- Ngemuva kokuqedela zonke izinqubo, idivayisi ingabuyiselwa kabusha ku-Android ngqo kusuka ku-console ngokuthumela umyalo:
fastboot flashall
fastboot ukuqalisa kabusha
Ngakho, i-firmware yenziwa ngokusebenzisa imiyalo ethunyelwe nge-console. Njengoba ungabona, isikhathi esiningi nomzamo kuthatha izinqubo zokulungiselela, kodwa uma kwenziwa kahle, ukubhala kwezingxenye zesikhumbuzo sedivaysi kuyashesha kakhulu futhi cishe njalo kunenkathazo.