Ungayifaka kanjani Ubuntu ku-terminal yethu ye-Android

ubuntu-grid-icons

Izingcingo zokuqala ezine-Ubuntu Phone ekugcineni kuzoba ngokoqobo namuhla, kodwa impela ngoba iningi lethu lisanda kufika ngeke sibe nedivayisi eqhuba uhlelo lokusebenza njengokujwayelekile njengalezo ezethulwe namuhla. Kodwa-ke, esingakwenza uma nje sinesiphelo se-Android esihambisanayo faka i-ROM wohlelo olukuzo.

Ngalesi siqondisi esizokunikeza sona namhlanje uzokwazi faka Ubuntu Ucingo ku-Android yakho, kodwa ngaphambi kokwenza kanjalo sincoma izinto eziningana: Bheka uhlu lwe- amadivayisi asekelwa ngokusemthethwenikwe amadivayisi asekelwa umphakathi, landela izinyathelo esizokukhombisa zona kahle, ube namakhophi wesipele wakho konke futhi ucace kahle ngokwenzayo.

Okokuqala, kufanele kucace ukuthi umhlahlandlela esizokunikeza wona wenzelwe ngqo ukufaka iROM ku amadivayisi anokusekelwa okusemthethweni. Uma ungenayo enye yalawo madivayisi, umhlahlandlela wawo ohambelana nawo kufanele uvele ohlwini lwamatheminali asekelwa umphakathi.

Enye into okufanele uyazi ukuthi ukufaka Ubuntu Ucingo kuzofaka phakathi ukulahleka kwedatha kusuka esigungwini sakho, kepha ngokuhamba kwesikhathi sizokunikeza amathuluzi okwenza amakhophi wesipele sakho konke onakho esigungwini usebenzisa imiyalo ye-ADB.

Lungisa ideskithophu

Okokuqala kufanele siqiniseke ukuthi sinezindawo zokugcina ze-Universe, ngoba iphakheji esizofaka kuyo liqukethwe kuyo. Uma sesikwenzile, kuzofanele kuqala sikwenze engeza i-Ubuntu SDK PPA. Sivula ukuphela bese sengeza okulandelayo:

sudo add-apt-repository ppa:ubuntu-sdk-team/ppa

Ngemuva kwalokho buyekeza uhlu lwezinqolobane:

sudo apt-get update

Into elandelayo okufanele siyenze faka iphakheji ubuntu-device-flash. Ukwenza lokhu esibulalayo senza lo myalo:

sudo apt-get install ubuntu-device-flash

Ukwazi kangcono ukuthi yini esingayenza ngale phakheji singahlala njalo iya ekhasini lendoda, ngokuthayipha okulandelayo esigungwini:

man ubuntu-device-flash

Okulandelayo faka iphakheji phablet-tools. Ngenxa yalokhu siphinde sibuyele esikhumulweni:

sudo apt-get install phablet-tools

Singathola i- uhlu lwamathuluzi afakiwe kuyo ngalo myalo:

dpkg -L phablet-tools | grep bin

Singathola ithuluzi usizo kusuka kule phakheji ne-modifier -h, isibonelo:

phablet-config -h
usage: phablet-config [-h] [-s SERIAL]  ...
Set up different configuration options on a device
[...]

Ukucatshangelwa kwe-ADB ne-Fastboot

Lapho ufaka iphakheji ubuntu-device-flash kunezelwa amathuluzi amabili esizosebenzisa okuningi kulo mhlahlandlela: i-ADB ne-Fastboot. I-ADB yibhuloho phakathi kwesiginali nekhompyutha esivumela ukuthi sisebenze kuso ngokusebenzisa i-terminal lapho ibhuthwe ngokuphelele, futhi i-Fastboot inikezela ngoxhumano lwe-USB lapho idivayisi isuswe ebhuthini i-bootloader.

Sincoma bheka amakhasi osizo kwalezi zinto ezimbili zisebenzisa le miyalo emibili ukuphuma kokungabaza ngangokunokwenzeka:

adb help 2>&1 | less
fastboot help 2>&1 | less

Ilondoloza izipele ze-Android

I-ADB

Lokhu kungenziwa ngezindlela ezimbili: Uma usuvele unayo i- i-bootloader kuvuliwe futhi a ukutakula ngokweziko ifakiwe ungahlala wenza ibhekhaphu nge Ukutakula ongayibuyisa kamuva ngendlela efanayo. Uma ungenalo ithuluzi lokutakula elifakiwe, kuzofanele uqale ngokuya kuzilungiselelo ze-Android ukwenza kusebenze imodi yokuthuthuka.

Ngalokhu futhi uma ungakaze ukwenze, kuzofanele ukwenze iya esigabeni Mayelana nefoni bese ucindezela inombolo yokwakha kaninginingi kuze kube nomyalezo ofana no- !! Halala !! Usuvele ungunjiniyela!. Ngemuva kwalokho izinketho zokuthuthuka zizovela, futhi lapho ungavula imodi yokulungisa iphutha le-USB.

Uma uyisebenzisile uyakwazi xhuma ngekhebula le-USB lokho kuzosisiza ukwakha ibhuloho le-ADB. Ungahlola ukuthi ukuxhumeka kuphumelele usebenzisa umyalo ku-terminal okufanele ubuyise into enjengale:

adb devices
List of devices attached
025d138e2f521413 device

Lapho sesikwenzile lokhu, lapho-ke singaqhubeka siye ku gcina ikhophi eyisipele kudeskithophu yethu yakho konke okufakiwe ku-terminal yethu ye-Android, esingayisebenzisa ukubuyisela i-terminal yethu uma i-Ubuntu Phone ingasikholisi. Lapha unefayela le- indlela yokubuyisela i-Android inikezwe yi-Canonical, kepha sizozama ukunikezela ngomunye umhlahlandlela kuyo ngokuzayo.

Ukwenza isipele kufanele sebenzisa umyalo olandelayo Esigungwini:

adb backup -apk -shared -all

A umyalezo njengoba isipele sizokwakhiwa efonini yethu futhi izosibuza ukuthi sifuna ukuyigunyaza yini. Sithi yebo.

Ivula i-bootloader

i-bootloader

Ukufaka noma iyiphi i-ROM, kungaba le evela ku-Ubuntu noma eyenziwe ngokwezifiso kusuka ku-Android njengeCyanogenMod, kunjalo le nto idinga ukuvulwa. Ukwenza lokhu kusuka esigungwini kufanele siqale kabusha idivayisi ku- i-bootloader. Kulokhu sisebenzisa umyalo olandelayo:

adb reboot bootloader

Sizokwazi ukuthi siku- i-bootloader lapho sibona isithombe se- i-android ilele ngomhlane nephaneli langaphambili livulekile. Ngemuva kwalokhu siphinda sihlole ukuthi idivayisi ixhumeke kahle yini, futhi uma konke kuhamba kahle kufanele sibone umphumela onjengalokhu:

fastboot devices
025d138e2f521413 fastboot

Into elandelayo ukusebenzisa i- umyalo wokuvula ifayela le- i-bootloader ngakunye:

sudo fastboot oem unlock

Sizobona isikrini semigomo nemibandela okufanele siyamukele ukuze siqhubeke. Kubalulekile ukwazi ukuthi uma sivula ifayela le- i-bootloader sizolahlekelwa iwaranti yocingo. Ngemuva kwalokhu sizoqala kabusha ku-Android, sizolahlekelwa yimininingwane yethu futhi kuzofanele sifake imininingwane ephansi ukuze kuqedwe ibhuthi yokuqala, kusukela lapho sifaka Ubuntu yonke leyo datha izolahleka futhi.

Ukufaka Ubuntu Ifoni

ubuntu touch

Ukufaka Ubuntu Ucingo kuqala kuzodingeka cisha idivayisi. Lapho sesikwenzile, kuzofanele siqale kabusha ngokucindezela i- inhlanganisela yokhiye efanele ukukwenza ngemodi fastboot. Njengoba sisebenzisa indlela yamadivayisi asekelwa ngokusemthethweni, singabuyela emuva ku- umhlahlandlela oshicilelwe yi-Google ukukwenza ngendlela efanele.

Into elandelayo ukufaka iROM, ngalokho okufanele ukwenze khetha isiteshi. Uma ucabanga, ngokwesibonelo, sisebenzisa i-Nexus 7 ekufakweni kwethu, singasebenzisa isiteshi ukukhulisa. Ngenxa yalokhu kuzofanele sifake umyalo ku-terminal ubuntu-device-flash, futhi umphumela obekufanele sikuthole kungaba into enjengale:

ubuntu-device-flash --channel=devel --bootstrap
2014/04/16 10:19:26 Device is |flo|
2014/04/16 10:19:27 Flashing version 296 from devel channel and server https://system-image.ubuntu.com to device flo
2014/04/16 10:19:27 ubuntu-touch/trusty is a channel alias to devel

[...]

Mayelana nokuthi yisiphi isiteshi okufanele usikhethe, iCanonical ithumele ifayela le- umhlahlandlela wokukhetha isiteshi ngokwedivayisi yethu, ngoba kuyindlela okufanele sikhombe ngayo izithombe. Lo mhlahlandlela ungaboniswana nge Iwebhusayithi kanjiniyela we-Ubuntu.

Lapho ukufakwa sekuphelile ifoni izoqala kabusha, futhi ngaphambi kokwenza noma yini kufanele ulinde ukuqala kabusha kuqediwe. Ezimweni eziningi, akukho ukuxhumana komsebenzisi okudingekayo, futhi siyaqaphela ukuthi kungathatha imizuzu embalwa. Ngokuya ngezibuyekezo zesistimu, izaziso zokutholakala kwazo kufanele zifike ngokuzenzakalela.

Futhi kuze kube manje umhlahlandlela wethu wokufaka Ubuntu Phone kufoni ye-Android. Sithatha leli thuba ukugcizelela lokho ngale ndlela yokufaka sizosusa i-Android ROM ngokuphelele; akuyona i- i-boot yombili. Ukwenza ukufakwa kwebhuthi ekabili sizolungisa omunye umhlahlandlela esizoshicilela kuwo Ubunlog.

para thola imininingwane enwetshiwe Mayelana nokufakwa kohlelo ungaya kufayela le- Umhlahlandlela oshicilelwe yi-Canonical.


Amazwana ayi-22, shiya okwakho

Shiya umbono wakho

Ikheli lakho le ngeke ishicilelwe. Ezidingekayo ibhalwe nge *

*

*

  1. Ubhekele imininingwane: Miguel Ángel Gatón
  2. Inhloso yedatha: Lawula Ugaxekile, ukuphathwa kwamazwana.
  3. Ukusemthethweni: Imvume yakho
  4. Ukuxhumana kwemininingwane: Imininingwane ngeke idluliselwe kubantu besithathu ngaphandle kwesibopho esisemthethweni.
  5. Isitoreji sedatha: Idatabase ebanjwe yi-Occentus Networks (EU)
  6. Amalungelo: Nganoma yisiphi isikhathi ungakhawulela, uthole futhi ususe imininingwane yakho.

  1.   fandroid kusho

    Imiyalo yokugcina engicabanga ukuthi ayilungile: i-subuntu-device-flash –channel = devel –bootstrap

    1.    USergio Agudo kusho

      Manje ngiyayilungisa, ngiyabonga ngokufaka.

      Ngikufisela okuhle!

  2.   UMiguel Angel kusho

    Ingabe ingafakwa kwi-galaxy note 2? Ngiyabonga

  3.   marco antonio kusho

    Luzinzile kangakanani manje ubuntu ubuntu? unazo izinhlelo zokusebenza eziyisisekelo njenge-whatsaap? ubuso?

  4.   Fernando kusho

    i-terminal ayitholi idivayisi engiyenzayo uma kunjalo)

  5.   ULuis Armando kusho

    bekuzokwenzekani uma ngiyifaka ku-lg l5x optimus ngoba ayiveli ohlwini lwamafoni

  6.   jesu gonzalez kusho

    sawubona kwenzekani uma ngiyifaka ku-htc isifiso 510 esingekho ohlwini

  7.   KIKE MTZ kusho

    KUHLE, NGABE KUKHONA OWAZI UKUTHI NGINGAKWAZI UKUFAKA KU-IPHONE 4S YAMI ?? KUMBONO KUFANELE USEBENZE NGOBA BONKE BANESIKHATHI ESIBALULEKILE KODWA NGICABANGA UKUTHI I-OPR INTO AYIKHO OHLWINI: \: \ SICELA USIZO, NGIFUNA UKUZAMA IFONI YABUNTU.

    I-GRACIAS

  8.   Jose kusho

    Ngabe izosebenza ku-bq aquaris e4?

  9.   u-edgart kusho

    Sawubona, ungangitshela uma ngingakwazi ukuyifaka kwi-htc evo 4g cdma

  10.   Ingelosi.oro kusho

    Ngabe ukhona owaziyo ukuthi uyayisekela yini i-gapps?

  11.   jacoxta kusho

    ungakwazi ku-touch touch cocktail eyodwa (4.5
    )

  12.   i-rodrigo spada kusho

    Sawubona, umbuzo wami ukuthi iyiphi ye-Samsung Galaxy esebenzayo.
    Ngine-Samsung galaxy s3 mini I8190L, ine-1GB yenqama ne-5 yememori yangaphakathi.
    Lolu hlelo lokusebenza luzofika nokululama okufana ne-androids.
    Ngifuna ukuyihlola kulomakhalekhukhwini futhi othi ungowokuqala omncane emhlabeni we-S3 ngohlelo lwabo.
    Bheka izici ezijwayelekile zokungenza ngibe ngumRom ngicela.
    Ngithanda ukwenza ngezifiso omakhalekhukhwini.
    Ngiyabonga kakhulu kusengaphambili futhi ngilindele impendulo yakho nge-umhlahlandlela ophelele wokufaka.
    Usale kahle!

  13.   esteban kusho

    umyalo awungihlanganisi

  14.   esteban kusho

    umyalo sudo apt-get ukufaka ubuntu-device-flash

  15.   USteven Galarza kusho

    Ntambama enhle Ingafakwa kwi-moto g 2013

  16.   Diego kusho

    Ingafakwa ku-Sony Xperiast21a

  17.   emilio valencia kusho

    Ngabe ifoni ka-Ubuntu ingafakwa kwi-S3 Mini?

  18.   U-Alayn Ravelo Ravelo kusho

    Ngingafaka Ubuntu kuselula yami ye-Huawei Ascend Y221

  19.   UManuel Ramirez kusho

    Ngingafaka Ubuntu ku-SAMSUNG SMARTPHONE GALAXY GRAND PRIME PLUS yami enkulu, ingabe izosekelwa umphakathi noma i-canonical

  20.   jero kusho

    ntambama, ngabe kukhona owaziyo ukuthi kulungile yini engikudingayo ukushintsha ithebhulethi yami (lenovo yoga plus 3) ibe ubuntu? ngaso sonke isikhathi lapho ngizama ukufinyelela empandeni, iyeka ukusabela ngokunikeza i-adb reboot bootloader uma ingisiza njengomzali kungcono kakhulu ngoba ihlunga konke okusakazwa izingane, futhi zifunde izinto eziningi, zithethelele ukuphazamiseka, futhi ngiyabonga kusengaphambili kakhulu

  21.   UWalter Lacuadra kusho

    Ukuhlwa okuhle kungahlolwa ku-Caterpillar S60 octa-core Snapdragon 617, 3gb yenqama