top of page
Search

Installing Ubuntu Mobile OS on Nexus devices: Tips and Tricks for a Successful Installation

fsstropova4215


Porting an OS to a new device is a broad subject and this guide doesn'tpretend to be exhaustive on that topic. If you need more help on specifictopics, come meet the Ubuntu teams and other like-minded people on IRC :#ubuntu-touch on Freenode.




Installing Ubuntu Mobile OS on Nexus devices: Guide



Tip: The --bootstrap option is normally only used when installing Ubuntu the first time. It requires that the device is booted to the bootloader. After Ubuntu is installed, one uses the ubuntu-device-flash command (without the --bootstrap option) while the device is booted to Ubuntu.


Ubuntu installation guide in NexusUbuntu currently released an Android compatible OS version named as "Ubuntu 12.10 Touch". They announced officially that this version will support all Nexus tablets. Unfortunately this version is not available for Sprint and Verizon Galaxy Nexus. Actually it is not a full OS, it's just a consumer preview version. To install Ubuntu in your Nexus device you need a PC with Linux OS (Ubuntu, Red Hat, Fedora, OpenSUSE, Debian etc). Make sure you have a power backup because this process takes a long duration. For installing in Nexus device read official guide by Ubuntu.Ubuntu installation in other mobileTo install Ubuntu in your Android mobile/tablet, first root your mobile. If your mobile is not rooted then read root tutorial first. Check that your device is capable to read .iso images. Most of the recent Android mobile is capable to read this format. If your device doesn't support this format you need to install latest custom ROM for your phone. Now proceed the tutorial below.Installing Ubuntu in Android using Windows PC1. Download the file Ubuntu.zip and unzip it.2. Copy all the extracted files to your Android phone/tablet.3. Install Android SDK because you need adb.exe file.4. Connect your phone/tablet to the PC using USB cable. Change your USB settings in Android to USB debugging mode.5. Now you can see that your device is recognized as a ADB Device. 6. Open command prompt and enter the following command. The text after > symbol is command.>cd \YOUR SDK PLATFORM_TOOLS LOCATIONTo get the location just normally open platform-tools location and then copy the address in the browse navigation bar and paste it in command prompt. It will be something like>cd \sdk\platform-toolsThen the next command is,>adb devices7. After running the above command it displays "List of devices attacthed". If it doesn't display any device then you need to install drivers for your mobile/tablet.8. If the above steps were successful then you can proceed to the next command.>adb shell#su (This command will switch to super-user)su#cd /sdcard/ubuntu (This command opens Ubuntu directory)#sh ubuntu.sh (Runs the ubuntu.sh script)#bootubuntu9. Now in the terminal you should be able to see "root@localhost:/#" - it means that you have successfully completed your installation process.Installing apps in Android-UbuntuFollowing the above steps you have fully completed your Ubuntu setup in Android. Below, I have given the details to install apps in Ubuntu. Installing apps is similar to that you do in desktop. Before installing any app you need to run the below command first.#apt-get updateNow if you need to install any app just run the below command.#apt-get install APP_NAMEIn the place APP_NAME, write the name of your app. Example if you are going to install Firefox then the command will be.#apt-get install firefoxNote: All the commands given here should be entered in your PC while your Android smartphone is connected via USB cable in debugging mode.


I am interested in alternative Linux mobile operating systems to Android. There are several available, but the most accessible for installing on preexisting devices seem to be Ubuntu Touch and LineageOS, a de-Googled Android fork. Pine64 is currently working on a new Linux phone called the Pine Phone, which features both Ubuntu Touch and Lineage OS as options.


Discuss and solve problems with other users\n","icon":"fa-question-circle","bgColor":"#F7CA88","color":"#333333","slug":"37/support","parentCid":0,"topic_count":2958,"post_count":22525,"disabled":0,"order":3,"link":"","numRecentReplies":1,"class":"col-md-3 col-xs-6","imageClass":"cover","subCategoriesPerPage":10,"minTags":0,"maxTags":5,"postQueue":0,"isSection":0,"totalPostCount":22525,"totalTopicCount":2958},"tagWhitelist":[],"minTags":0,"maxTags":5,"thread_tools":["class":"toggleQuestionStatus alert-warning","title":"[[qanda:thread.tool.as_question]]","icon":"fa-question-circle"],"isFollowing":false,"isNotFollowing":true,"isIgnoring":false,"bookmark":null,"postSharing":["id":"facebook","name":"Facebook","class":"fa-facebook","activated":true,"id":"twitter","name":"Twitter","class":"fa-twitter","activated":true],"deleter":null,"merger":null,"related":[],"unreplied":false,"icons":[],"privileges":"topics:reply":false,"topics:read":true,"topics:schedule":false,"topics:tag":false,"topics:delete":false,"posts:edit":false,"posts:history":false,"posts:delete":false,"posts:view_deleted":false,"read":true,"purge":false,"view_thread_tools":false,"editable":false,"deletable":false,"view_deleted":false,"view_scheduled":false,"isAdminOrMod":false,"disabled":0,"tid":"3571","uid":0,"topicStaleDays":60,"reputation:disabled":0,"downvote:disabled":0,"feeds:disableRSS":0,"bookmarkThreshold":5,"necroThreshold":7,"postEditDuration":0,"postDeleteDuration":0,"scrollToMyPost":true,"updateUrlWithPostIndex":true,"allowMultipleBadges":false,"privateUploads":false,"showPostPreviewsOnHover":true,"rssFeedUrl":"/topic/3571.rss","postIndex":1,"breadcrumbs":["text":"[[global:home]]","url":"/","text":"Support","url":"/category/37/support","cid":37,"text":"[Solved] Unable to complete manual installation of Ubuntu Touch"],"pagination":"prev":"page":1,"active":false,"next":"page":1,"active":false,"first":"page":1,"active":true,"last":"page":1,"active":true,"rel":[],"pages":[],"currentPage":1,"pageCount":1,"loggedIn":false,"relative_path":"","template":"name":"topic","topic":true,"url":"/topic/3571/solved-unable-to-complete-manual-installation-of-ubuntu-touch","bodyClass":"page-topic page-topic-3571 page-topic-solved-unable-to-complete-manual-installation-of-ubuntu-touch page-topic-category-37 page-topic-category-support parent-category-37 page-status-200 user-guest","_header":"tags":"meta":["name":"viewport","content":"width=device-width, initial-scale=1.0","name":"content-type","content":"text/html; charset=UTF-8","noEscape":true,"name":"apple-mobile-web-app-capable","content":"yes","name":"mobile-web-app-capable","content":"yes","property":"og:site_name","content":"UBports Forum","name":"msapplication-badge","content":"frequency=30; polling-uri= ","noEscape":true,"name":"theme-color","content":"#ffffff","name":"keywords","content":"ubuntu,ubuntu touch,oneplus one,ubuntu touch for oneplus one,Ubuntu,ubports,Ubports,ubports forum,forum,ubuntu forum,ubuntu touch porting,port,porting","name":"msapplication-square150x150logo","content":"/assets/uploads/system/site-logo.png","noEscape":true,"name":"title","content":"[Solved] Unable to complete manual installation of Ubuntu Touch","name":"description","content":"Hi everyone! I'm very new to Android devices and I'm trying to install Ubuntu Touch on used Nexus 5 which I bought recently. I do it manually because UBports Installer did not work for me (faced this bug). I'm doing everything from Ubuntu 19.10. Everythin...","property":"og:title","content":"[Solved] Unable to complete manual installation of Ubuntu Touch","property":"og:description","content":"Hi everyone! I'm very new to Android devices and I'm trying to install Ubuntu Touch on used Nexus 5 which I bought recently. I do it manually because UBports Installer did not work for me (faced this bug). I'm doing everything from Ubuntu 19.10. Everythin...","property":"og:type","content":"article","property":"article:published_time","content":"2019-12-21T17:11:11.069Z","property":"article:modified_time","content":"2019-12-22T20:07:49.423Z","property":"article:section","content":"Support","property":"og:image","content":" -logo.png","noEscape":true,"property":"og:image:url","content":" -logo.png","noEscape":true,"property":"og:image:width","content":"undefined","property":"og:image:height","content":"undefined","content":" -unable-to-complete-manual-installation-of-ubuntu-touch","property":"og:url"],"link":["rel":"icon","type":"image/x-icon","href":"/assets/uploads/system/favicon.ico?v=onj0sbs90rg","rel":"manifest","href":"/manifest.webmanifest","crossorigin":"use-credentials","rel":"search","type":"application/opensearchdescription+xml","title":"UBports Forum","href":"/osd.xml","rel":"apple-touch-icon","href":"/assets/uploads/system/touchicon-orig.png","rel":"icon","sizes":"36x36","href":"/assets/uploads/system/touchicon-36.png","rel":"icon","sizes":"48x48","href":"/assets/uploads/system/touchicon-48.png","rel":"icon","sizes":"72x72","href":"/assets/uploads/system/touchicon-72.png","rel":"icon","sizes":"96x96","href":"/assets/uploads/system/touchicon-96.png","rel":"icon","sizes":"144x144","href":"/assets/uploads/system/touchicon-144.png","rel":"icon","sizes":"192x192","href":"/assets/uploads/system/touchicon-192.png","rel":"prefetch","href":"/assets/src/modules/composer.js?v=onj0sbs90rg","rel":"prefetch","href":"/assets/src/modules/composer/uploads.js?v=onj0sbs90rg","rel":"prefetch","href":"/assets/src/modules/composer/drafts.js?v=onj0sbs90rg","rel":"prefetch","href":"/assets/src/modules/composer/tags.js?v=onj0sbs90rg","rel":"prefetch","href":"/assets/src/modules/composer/categoryList.js?v=onj0sbs90rg","rel":"prefetch","href":"/assets/src/modules/composer/resize.js?v=onj0sbs90rg","rel":"prefetch","href":"/assets/src/modules/composer/autocomplete.js?v=onj0sbs90rg","rel":"prefetch","href":"/assets/templates/composer.tpl?v=onj0sbs90rg","rel":"prefetch","href":"/assets/language/en-GB/topic.json?v=onj0sbs90rg","rel":"prefetch","href":"/assets/language/en-GB/modules.json?v=onj0sbs90rg","rel":"prefetch","href":"/assets/language/en-GB/tags.json?v=onj0sbs90rg","rel":"prefetch stylesheet","type":"","href":"/plugins/nodebb-plugin-markdown/styles/railscasts.css","rel":"prefetch","href":"/assets/src/modules/highlight.js?v=onj0sbs90rg","rel":"prefetch","href":"/assets/language/en-GB/markdown.json?v=onj0sbs90rg","rel":"stylesheet","href":"/plugins/nodebb-plugin-emoji/emoji/styles.css?v=onj0sbs90rg","rel":"canonical","href":" -unable-to-complete-manual-installation-of-ubuntu-touch","rel":"alternate","type":"application/rss+xml","href":"/topic/3571.rss","rel":"up","href":" "],"widgets":,"_locals":"useragent":"isYaBrowser":false,"isAuthoritative":true,"isMobile":false,"isMobileNative":false,"isTablet":false,"isiPad":false,"isiPod":false,"isiPhone":false,"isiPhoneNative":false,"isAndroid":false,"isAndroidNative":false,"isBlackberry":false,"isOpera":false,"isIE":false,"isEdge":false,"isIECompatibilityMode":false,"isSafari":false,"isFirefox":false,"isWebkit":false,"isChrome":true,"isKonqueror":false,"isOmniWeb":false,"isSeaMonkey":false,"isFlock":false,"isAmaya":false,"isPhantomJS":false,"isEpiphany":false,"isDesktop":true,"isWindows":true,"isLinux":false,"isLinux64":false,"isMac":false,"isChromeOS":false,"isBada":false,"isSamsung":false,"isRaspberry":false,"isBot":false,"isCurl":false,"isAndroidTablet":false,"isWinJs":false,"isKindleFire":false,"isSilk":false,"isCaptive":false,"isSmartTV":false,"isUC":false,"isFacebook":false,"isAlamoFire":false,"isElectron":false,"silkAccelerated":false,"browser":"Chrome","version":"101.0.0.0","os":"Windows 10.0","platform":"Microsoft Windows","geoIp":,"source":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/101.0.0.0 Safari/537.36","isWechat":false,"renderHeader":true,"isAPI":false,"config":"relative_path":"","upload_url":"/assets/uploads","assetBaseUrl":"/assets","siteTitle":"UBports Forum","browserTitle":"UBports Forum","titleLayout":"pageTitle ,"metaTags":["name":"title","content":"[Solved] Unable to complete manual installation of Ubuntu Touch","name":"description","content":"Hi everyone! I'm very new to Android devices and I'm trying to install Ubuntu Touch on used Nexus 5 which I bought recently. I do it manually because UBports Installer did not work for me (faced this bug). I'm doing everything from Ubuntu 19.10. Everythin...","property":"og:title","content":"[Solved] Unable to complete manual installation of Ubuntu Touch","property":"og:description","content":"Hi everyone! I'm very new to Android devices and I'm trying to install Ubuntu Touch on used Nexus 5 which I bought recently. I do it manually because UBports Installer did not work for me (faced this bug). I'm doing everything from Ubuntu 19.10. Everythin...","property":"og:type","content":"article","property":"article:published_time","content":"2019-12-21T17:11:11.069Z","property":"article:modified_time","content":"2019-12-22T20:07:49.423Z","property":"article:section","content":"Support"],"linkTags":["rel":"canonical","href":" -unable-to-complete-manual-installation-of-ubuntu-touch","rel":"alternate","type":"application/rss+xml","href":"/topic/3571.rss","rel":"up","href":" "],"template":"topic","scripts":[],"useCustomJS":1,"customJS":"","isSpider":false} Looks like your connection to UBports Forum was lost, please wait while we try to reconnect. 2ff7e9595c


0 views0 comments

Recent Posts

See All

Jogo de trem

Jogos de trem: uma maneira divertida e educativa de explorar o mundo das ferrovias Você ama trens e ferrovias? Você quer experimentar a...

Comments


bottom of page