Wehe i ka Bootloader (bootloader) ma kahi kelepona Android a papa paha e pono inā loaʻa ʻoe i ke aʻa (koe wale nō ke hoʻohana ʻana ʻoe i nā polokalamu e like me Kingo Root no kēia), e kau i kāu iho firmware a me kahi hoʻolaʻa pilikino. Ke wehewehe nei kēia haʻawina i nā neʻe i ke kaʻina o ka wehe ʻana me nā ala maʻamau, ʻaʻole me nā papahana ʻekolu. E nānā pū: pehea e hoʻokomo ai i ka hoʻōla maʻamau ʻo TWRP ma Android.
Ma ka manawa like, hiki iā ʻoe ke wehe i ka bootloader ma ka hapanui o nā kelepona a me nā papa - Nexus 4, 5, 5x a me 6p, Sony, Huawei, ʻoi loa nā HTC a me nā mea'ē aʻe (koe wale nō nā lako uila ʻana a me nā kelepona i pili ʻia me ka hoʻohana ʻana i hoʻokahi mea kelepona kikowaena, hiki paha i kēia pilikia).
Nā ʻike nui: ke wehe ʻoe i ka bootloader ma Android, e hoʻopau ʻia kāu mau helu a pau. No laila, inā ʻaʻole lākou e hoʻonohonoho ʻia me ka mālama ʻana i ke ao a ʻaʻole i mālama ʻia ma ka kamepiula, e mālama pono i kēia. Eia kekahi, me nā hana kūpono ʻole a me nā hana hewa ʻole i ke kaʻina o ka wehe ʻana i ka mea hoʻoulu ʻia, aia ke manawa i kahi mea ʻole e hoʻohuli wale ʻia kāu polokalamu - lawe ʻoe i kēia mau pilikia (me ka pono ke lilo i ka hōʻoia - ua ʻokoʻa nā mea hana like ʻole ma aneʻi). ʻO kahi mea nui hou - ma mua o ka hoʻomaka, hoʻouka piha i ka pākaukau o kāu kamepiula.
Hoʻoiho iā SDK a me USB driver e wehe i ka Bootloader bootloader
ʻO ka hana mua, ʻo ia ka lawe i nā hāmeʻa Android SDK luna mai ka pūnaewele mana. E hele i //developer.android.com/sdk/index.html a kaomi i ka ʻāpana "Nā koho koho".
Ma ka māhele SDK Nā ʻāpana wale aku, lawe i ke koho e kūpono iā ʻoe. Ua hoʻohana au i ka waihona ZIP mai ka SDK Android no Windows, a laila uhaʻi ʻia au i loko o kahi pihi ma ka pā o ka kamepiula. Aia kekahi mea maʻalahi i ka Windows.
Mai ka loulou me ka Android SDK, holo i ka faila ʻo ka polokalamu SDK (inā ʻaʻole e hoʻomaka, hoʻomaka wale a hāhalo wale i ka puka, a laila hoʻohui i ka Java mai i ka pūnaewele pūnaewele java.com).
Ma hope o ka hoʻomaka ʻana, e nānā i ka hāmeʻa Android SDK Platform-nā koina, pono ʻole ke koena o nā mea (inā ʻaʻole ke kāʻī o ka loea USB Google ma ka hope o ka papa inoa, inā ʻoe iā Nexus). Kaomi Kākoʻo Hoʻopili, a ma ka puka aniani - "E hōʻoia i ka laikini" e hoʻoiho a hoʻokomo i nā ʻāpana. Ke hoʻopau ʻia ke kaʻina hana, e pani i ka luna Android SDK.
Eia kekahi, e pono e hoʻoiho i ka loea USB no kāu kelepona Android:
- No Nexus, lawe ʻia lākou me ka hoʻohana ʻana i ka Pūnaewele SDK, e like me ka mea i hōʻike ʻia ma luna nei.
- No Huawei, ʻo ka mea lawe kaʻa he wahi ia o ka hāmeʻa HiSuite
- No HTC - e like me mahele o ka Pūnaewele ʻo Sync
- No ka Sony Xperia, lawe ʻia aku ka mea hoʻokele mai ka ʻaoʻao maʻamau //developer.sonymobile.com/downloads/drivers/fastboot-driver
- LG - LG PC Suite
- Hiki ke loaʻa i nā hopena no nā huahana ʻē aʻe ma nā pūnaewele kūlike o nā mea hana.
E ʻoluʻolu nā debug USB
ʻO ka hana aʻe e hiki ai i ka USB debugging ma luna o ka Android. E hana i kēia, e hahai i kēia mau pae aʻe:
- E hele i ka hoʻonohonoho, e iho i lalo - "E pili ana i ke kelepona".
- Kaomi ma ka "Hoʻokomo helu" i kekahi mau manawa a ʻike ʻoe i kahi leka e haʻi nei ana ua lilo ʻoe i mea hoʻomohala.
- E hoʻi i ka ʻaoʻao kuhikuhi hana nui a wehe i ka mea "No Developers".
- Ma ka paukū Debug, e hoʻohuli i ka debugging USB. Inā hele ka ʻaha OEM wehe i loko o nā koho a ka mea hoʻomohala, hiki iā ia.
ʻO ka kiʻi ʻana i ke code e wehe i ka Bootloader (ʻaʻole pono no Nexus)
No ka hapa nui o nā kelepona koe wale nō iā Nexus (ʻoiai ʻo ia ʻo Nexus mai kekahi o nā mea hana i kākau ʻia ma lalo nei), e wehe i ka bootloader e pono nō ʻoe e kiʻi i kahi code e wehe ai. E kōkua nā ʻaoʻao ʻaoʻao o nā mea hana me kēia:
- Sony Xperia - //developer.sonymobile.com/unlockbootloader/unlock-yourboot-loader/
- Nokia - //www.htcdev.com/bootloader
- Huawei - //emui.huawei.com/en/plugin.php?id=unlock&mod=detail
- LG - //developer.lge.com/resource/mobile/RetrieveBootloader.dev
Ke wehewehe ʻia ke kaʻina wehe i kēia mau ʻaoʻao, a ua hiki ke loaʻa hoʻi ka code luhi ma ka ID o ka mea pono. E koi ʻia kēia code i ka wā e hiki mai ana.
ʻAʻole wau e wehewehe i ka kaʻina holoʻokoʻa, ʻo ia ka mea i ʻokoʻa no nā brand like ʻole a wehewehe ʻia au i nā kikoʻī ma nā ʻaoʻao i pili (ʻoiai i ka ʻōlelo Pelekania) e paʻi wau ma ka loaʻa ʻana o ID ID wale nō.
- No nā kelepona Sony Xperia, aia ka pāʻālua wehe ma ka pūnaewele o luna i kou manaʻo he IMEI.
- No ka kelepona o Huawei a me nā papa, loaʻa ke kiʻi ka helu ma hope o ka hoʻopaʻa inoa ʻana a me ke komo ʻana i ka ʻikepili i koi ʻia (me ka ID Product, hiki ke loaʻa me ka hoʻohana ʻana i ke code kīkē kelepona e koi aku iā ʻoe) ma ka pūnaewele i hōʻike ʻia ma mua.
Akā no HTC a me LG ke kaʻina hana. No ka loaʻa i ke code laka, pono ʻoe e hāʻawi i kahi ID Pūnaewele, wehewehe wau i pehea e loaʻa ai:
- Hoʻohuli i kāu kelepona Android (ʻoiai ke hoʻopaʻa nei i ka pihi mana, ʻaʻole wale ka pale)
- E kaomi a hoʻopaʻa i ke kahe mana + a kani ke hiki i ka pale pahu ma ke ʻano wikiwiki. No nā kelepona HTC, pono ʻoe e koho i ka fastboot me nā pihi helu a hōʻoia i ke koho me kahi pihi pōkole o ka pihi mana.
- E kāohi i ka kelepona a me ke papaʻa ma o ka USB i ke kamepiula.
- Hele i ka Android SDK folder - Platform-nā pono hana, a laila, e kaohi ana iā Shift, kaomi pololei ma kēia folder (ma kahi wahi ʻole) a koho i ka "E wehe i ka puka kauoha".
- I ke kauoha wikiwiki, komo fastboot oem device-id (ma LG) a i ʻole fastboot oem get_identifier_token (no HTC) a pēpē i ka Enter.
- E ʻike ʻoe i kahi code digital lōʻihi, i kau ʻia ma luna o nā laina. ʻO kēia ka ID Device, pono e hoʻokomo ma ka pūnaewele limahana e kiʻi i kahi code laka. No LG, hoʻouna wale ʻia kahi faila paʻa.
Kahakaha: ʻo ka .bin wehe i nā faila e hoʻouna ʻia iā ʻoe e ka leka uila e kau ʻia ma nā waihona Platform-nā mea hana pono ʻole e hōʻike i ke ala holoʻokoʻa iā lākou i ka wā e hoʻokō ana i nā kauoha.
Wehe i ka Bootloader
Inā ʻoe ma ka mode fastboot (e like me ka mea i hōʻike ʻia ma luna nei no HTC a me LG), a laila ʻaʻole pono ʻoe i nā ala aʻe e hiki mai ana ke komo ʻoe i nā kauoha. Ma nā kūlana ʻē aʻe, hoʻokomo mākou i ke ʻano Fastboot:
- Hoʻopau i kāu kelepona a i ʻole ʻāpana (piha).
- E kaomi a hoʻopaʻa i ke kahe + mana i lalo a hiki i ke kāhea kelepona i ke ʻano wikiwiki.
- Hoʻohui i ka pono ma o USB ma ke kamepiula.
- Hele i ka Android SDK folder - Platform-nā pono hana, a laila, e kaohi ana iā Shift, kaomi pololei ma kēia folder (ma kahi wahi ʻole) a koho i ka "E wehe i ka puka kauoha".
A laila, pili i ke ʻano kelepona āu i loaʻa ai, e hoʻokomo i kekahi o nā kauoha i lalo:
- pupuka hoʻi wikiwiki - no Nexus 5x a me 6p
- wikiwiki wehe kāhea - no nā mea (Nexus)
- fastboot oem wehe wehe_code unlock_code.bin - no HTC (kahi i hoʻokuʻu ʻia_code.bin ka faile i loaʻa iā ʻoe mai ka leka uila).
- wikiwiki ke kikowaena wehe kīwaha - no LG (kahi i wehe ʻia.bin ka faila wehe i hoʻouna ʻia iā ʻoe).
- No kahi Sony Xperia, e kuhikuhi ʻia ke kauoha e wehe i ka mea lawe kī laha ma ka pūnaewele limahana ke hele ʻoe i ke kaʻina holoʻokoʻa me ke koho ʻana o ka hoʻohālike, etc.
Ke hoʻokō nei i kahi kauoha ma ke kelepona iho, pono paha ʻoe e hōʻoia i ka wehe ʻana i ka mea hoʻoulu: koho "ʻAe" me nā pihi helu a hōʻoia i ke koho me ka pihi ʻana i ke pihi mana.
Ma hope o ka hoʻokō ʻana i ke kauoha a kali i kahi manawa (ʻoiai e hoʻopau ʻia nā faila a / a e kākau hou i nā mea hou, nā mea āu e ʻike ai ma ka pale kelepona Android), e wehe ʻia kou Bootloader bootloader.
Eia hou, ma ka pale fastboot, me ka hoʻohana ʻana i nā kī kiʻina a me ka hōʻoia me ka pihi pu me ka pihi mana, hiki iā ʻoe ke koho i ka mea e reboot a hoʻomaka i ka polokalamu. E hoʻomaka i ka Android ma hope o ka wehe ʻana i ka bootloader hiki ke lōʻihi i ka lōʻihi (a hiki i 10-15 minuke), hoʻomanawanui.