[Q] How to install an app on ubuntu touch - Ubuntu Touch Q&A, Help & Troubleshooting

Hi,
I have just installed ubuntu touch on my Samsung galaxy s3 using the help of this link :
http://forum.xda-developers.com/showthread.php?t=2315397
Now, I have developed a small app using qt and ubuntu SDK on my system and I want to install (deploy) it on the phone.
I tried the instructions on the following links :
https://wiki.ubuntu.com/Touch/ReleaseNotes
http://askubuntu.com/questions/270832/how-do-i-install-an-app-on-a-device-running-ubuntu-touch
But the app did not run on the phone...
Is there any other way of doing it, since samsung s3 is not yet officially supported by ubuntu touch.
Thanks

sahilh14 said:
Hi,
I have just installed ubuntu touch on my Samsung galaxy s3 using the help of this link :
http://forum.xda-developers.com/showthread.php?t=2315397
Now, I have developed a small app using qt and ubuntu SDK on my system and I want to install (deploy) it on the phone.
I tried the instructions on the following links :
https://wiki.ubuntu.com/Touch/ReleaseNotes
http://askubuntu.com/questions/270832/how-do-i-install-an-app-on-a-device-running-ubuntu-touch
But the app did not run on the phone...
Is there any other way of doing it, since samsung s3 is not yet officially supported by ubuntu touch.
Thanks
Click to expand...
Click to collapse
Does your SGS3 get detected under the Devices menu in UbuntuSDK? if so, go to build >> Ubuntu Touch >> Run Application on Device or just hit Ctrl+F12. if it isnt detected, i guess only the officially supported devices can run the apps.. contact me if u want to have a trial run of your app! il be happy to help! :laugh:

sule.sashank said:
Does your SGS3 get detected under the Devices menu in UbuntuSDK? if so, go to build >> Ubuntu Touch >> Run Application on Device or just hit Ctrl+F12. if it isnt detected, i guess only the officially supported devices can run the apps.. contact me if u want to have a trial run of your app! il be happy to help! :laugh:
Click to expand...
Click to collapse
Well, there are bugs with the "Run Application on Device" feature. For example, it does not work with apps which have a C++ backend.
Workaround: Create a click package, adb push it to the device and pkcon install-local <mypackage>.click

nikwen said:
Well, there are bugs with the "Run Application on Device" feature. For example, it does not work with apps which have a C++ backend.
Workaround: Create a click package, adb push it to the device and pkcon install-local <mypackage>.click
Click to expand...
Click to collapse
Using the terminal is the only workaround? there should be a bug fix for it sometime soon... lot of people plan on entering UT app development soon..

sule.sashank said:
Using the terminal is the only workaround? there should be a bug fix for it sometime soon... lot of people plan on entering UT app development soon..
Click to expand...
Click to collapse
At least it's the only workaround I know.
I don't understand it either. There are a lot of bug reports regarding the building process. Short selection of those which I found annoying:
https://bugs.launchpad.net/ubuntu/+source/qtcreator/+bug/1215937
https://bugs.launchpad.net/qtcreator-plugin-ubuntu/+bug/1299817
https://bugs.launchpad.net/qtcreator-plugin-ubuntu/+bug/1299797
Note that you won't have these problems if you build the package from the command line.
Just build in chroot from Qt Creator. Use the terminal to navigate into the build directory of the chroot (usually in <build directory>/ubuntu-sdk-14.04-armhf) and run
Code:
click build .
Then you can install it as described above.
EDIT: Note that you won't have these problems if you stick to QML without C++. Then everything should work fine.

Related

[Q] Problems installing / removing and updating apps

Hi! I have been using touch for some weeks on my nexus 4 now and it is working all-right for me. Unfortunately i cannot update install / remove apps any more. When i try to update the apps via the system settings nothing happens. When i try to download an apps via app store it says cannot download. Removing "seems" to work but when done - the app is still there - even after reboot. Can anyone help me? Would be great!
Ah another thing - adb shell was working fine but stopped working as well - i get "device not found" now...
I think the File-System might be read only?
You need to re-add your Ubuntu One account and installing apps will work again.
To use adb you need to enable the developer mode in System Settings > About phone > Developer Mode.
Sent from my awesome Ubuntu Touch device using the Forum Browser app
I too am having problems updating my apps. From system settings, I have 18 updates that will not work when I tell it to. I have them on auto-update as well.
sudo apt-get update
does not work either
@Xinthose Have you tried readding your Ubuntu One account as well? That was needed due to some code changes introduced a while ago.
Sent from my awesome Ubuntu Touch device using the Forum Browser app (with a custom signature )
nikwen said:
@Xinthose Have you tried readding your Ubuntu One account as well? That was needed due to some code changes introduced a while ago.
Sent from my awesome Ubuntu Touch device using the Forum Browser app (with a custom signature )
Click to expand...
Click to collapse
That worked, thank you. Why doesn't sudo apt-get update work?
@Xinthose Due to the way system updates are done, "apt-get" doesn't work for now. Since they, however, plan to use the same update method for the desktop in the future, they will at some point have to add apt-get support. They already talked about how that would be done on the ubuntu-phone mailing list some time ago.
Sent from my awesome Ubuntu Touch device using the Forum Browser app
---------- Post added at 05:37 PM ---------- Previous post was at 05:32 PM ----------
Just forgot something: You can actually make apt-get work (and everyone working on the core system components actually has to do that to test their changes) but that breaks system updates.
To do so you need to make the image writable (look for the how-to on the Ubuntu for phones installation page). You can flash back to a non-writable image later but that always comes with the risk of data loss. So it's definitely not recommended for anyone who is not a developer!
Sent from my awesome Ubuntu Touch device using the Forum Browser app
OK, thank you. To make the phone work exactly like Ubuntu would be nice. What is the password for sudo / su ?
@Xinthose Just enter your device passcode/passwort.
Sent from my awesome Ubuntu Touch device using the Forum Browser app (with a custom signature )

apps and scopes available

hi im looking at maybe buying a ubuntu phone on the next flash sale or intsalling it on my nexus 5 and 7
but not sure if its good enough on the nexus 5 and just worth trying to buy one
two questions how does it run now on nexus 5 is it ready for day to day use and will the operating system be current like the one on the ubuntu phone
and were do i find a list of scopes and apps available
like i want to run nvpy can i just install as i do native like on a ubuntu
many thanks
wayne
Here's an unofficial store frontend: https://appstore.bhdouglass.com/apps
And yes, you can install debian packages, but that breaks OTA updates.
update
And yes, you can install debian packages, but that breaks OTA updates.[/QUOTE]
i change to and remounted RW
and did update and upgrade all worked fine but killed my dual boot
so if i did RW and then update
and installed say lifeograph would it install that package and be useable from the repository?
wayneward said:
And yes, you can install debian packages, but that breaks OTA updates.
Click to expand...
Click to collapse
i change to and remounted RW
and did update and upgrade all worked fine but killed my dual boot
so if i did RW and then update
and installed say lifeograph would it install that package and be useable from the repository?[/QUOTE]
Did you upgrade using the system settings update mechanism? That won't be blocked and the update will seem to work, but things will break after some time, just like your dual boot, especially when you start installing custom packages.
Theoretically, the application should work, but you're going to have to set up XMir properly to run X applications. If you are interested in doing that, the guy who made this video is the one who can tell you: https://www.youtube.com/watch?v=c3PUYoa1c9M
This video may be helpful, too: https://www.youtube.com/watch?v=XfMLzlki9XE
AND you'll have to install the devel-proposed channel as stable/rtm doesn't contain the necessary software yet.
I got root write - updated and upgraded and it killed my nexus 5 install basicaly wrote over the boot sector I think !
Can I not get a chroot for ubuntu apps I have on ubuntu and would they run? For example lithograph?
Ill take a look I've installed the sdk to test as well I'm certain these apps will get added soon scopes are great but being able to install ubuntu apps like lifeograph and other apps would be amazing.. Is this on the cards or do the developers have to release the touch apps version ?
Sent from my awesome Ubuntu Touch device using the Forum Browser app
wayneward said:
I got root write - updated and upgraded and it killed my nexus 5 install basicaly wrote over the boot sector I think !
Can I not get a chroot for ubuntu apps I have on ubuntu and would they run? For example lithograph?
Ill take a look I've installed the sdk to test as well I'm certain these apps will get added soon scopes are great but being able to install ubuntu apps like lifeograph and other apps would be amazing.. Is this on the cards or do the developers have to release the touch apps version ?
Sent from my awesome Ubuntu Touch device using the Forum Browser app
Click to expand...
Click to collapse
I'm sorry for you killing your boot sector. Were you able to set up everything again?
I tried the chroot method some time ago but you still need to install the necessary packages for that using apt-get. So you need a writable system again...
You could, however, try to package the apps as a click package yourself. I've never tried that and I don't know of anyone who did, but if you ship xmir and the application in a click package, it should work.
I just had to reinstall and re-root was good really because got it set up right now.
I'm did a emulated rw and compiled lifeograph from source that it might work but it wont connect to mir using cmake there must be a use flag or ill look are cross compiling maybe.. Does it create a click package or a deb ? Ill take a poke around in apt cache to look at packages already cached from install
Sent from my awesome Ubuntu Touch device using the Forum Browser app
wayneward said:
I just had to reinstall and re-root was good really because got it set up right now.
I'm did a emulated rw and compiled lifeograph from source that it might work but it wont connect to mir using cmake there must be a use flag or ill look are cross compiling maybe.. Does it create a click package or a deb ? Ill take a poke around in apt cache to look at packages already cached from install
Sent from my awesome Ubuntu Touch device using the Forum Browser app
Click to expand...
Click to collapse
Great that you got it sorted out.
There's a trick to get the app working on Mir: Lifeograph is an app for the X window system. To make it run with Mir, there's a software called Xmir. Check out whether it's in the repos. If not, the source code should be online somewhere.
The app is probably going to compile as a debian package though. Either you stay with your phone in rw mode or you look into packaging it as a click package. The latter might be a little bit more difficult.

NEWS! Keymapping for Games is coming to RemixOs..

Yeah,you heard it right!
The long awaited feature,ability to map keys for games that are originally developed for touchscreen enabled devices are coming to RemixOs.
The chinese version of RemixOs has a new version (2.0.401) dated 27th June 2016,which claims to support keymapping.
You can check the changelog at https://bbs.jide.com/forum.php?mod=viewthread&tid=7351
I wanted to give it a try.but the download was stucked due to the low bandwith offered by server,unfortunately.
If you are brave enough to take a early look,or can't wait for the global release. here are the download links.
1) http://pan.baidu.com/s/1bpibhZT
Code: gbku
2) https://yunpan.cn/OcRUtwhPNKenuX
Code: 938d
PS: Those files are hosted in chinese servers,so the bandwith is not super high. You're on your own,and ask google translate for help
Thisu said:
Yeah,you heard it right!
The long awaited feature,ability to map keys for games that are originally developed for touchscreen enabled devices are coming to RemixOs.
The chinese version of RemixOs has a new version (2.0.401) dated 27th June 2016,which claims to support keymapping.
You can check the changelog at https://bbs.jide.com/forum.php?mod=viewthread&tid=7351
I wanted to give it a try.but the download was stucked due to the low bandwith offered by server,unfortunately.
If you are brave enough to take a early look,or can't wait for the global release. here are the download links.
1) http://pan.baidu.com/s/1bpibhZT
Code: gbku
2) https://yunpan.cn/OcRUtwhPNKenuX
Code: 938d
PS: Those files are hosted in chinese servers,so the bandwith is not super high. You're on your own,and ask google translate for help
Click to expand...
Click to collapse
use the baidu link . download speed is ok
enter the code :gbku in the box before 提取文件. press enter.
click the file Remix OS PC版(64位). then put a tick on the box for the zip file and md5 file . now click on 下载 to download.
if you want to use alt+f1 , you need to go to setting , then experimental , you can enable alt+f1 there .
you need this to enable google play store
if you want root just replace the su file under system/xbin
tested working in virtualbox and harddisk
Ok, very nice and all but...will it support my nvidia card with the official nvidia driver?
or29544 said:
Ok, very nice and all but...will it support my nvidia card with the official nvidia driver?
Click to expand...
Click to collapse
it work fine on gtx 750 ti. there is only the open source driver no official nvidia driver.
I thought the next update would be 3.0......
The forum link isn't opening.. can u copy th changelog here?
modaifallah said:
The forum link isn't opening.. can u copy th changelog here?
Click to expand...
Click to collapse
Google Translate version of this page - https://bbs.jide.com/forum.php?mod=viewthread&tid=7351
Remix OS PC version added a keyboard mapping is user long-awaited things, a lot of people pretending Remix OS PC version of the original intention is to play the game, because they can not stand the card slow performance and poor compatibility simulator.
Last week, Remix OS PC version beta version added a keyboard mapping function to obtain beta users, no longer afraid of playing the game is not compatible.
Yes, today's main event is the keyboard mapping update was added, and now only for "vanity" and "human resource" adaptation keyboard mapping, follow-up will add more and more optimized game adaptation.
Upgrade:
You can check the OTA update system update
Download the full amount of the package
Baidu network disk || Click here to visit
the extraction code: gbku
360 cloud disk || Click to Visit
extraction code: 938d
Detailed update log:
new function:
Added "Apply recommendation", it recommended more suitable Remix OS applications
New image output, support output HDMI, DP and VGA interfaces, etc.
New settings - restore factory settings function
Add a button to switch your phone browser / computer mode functions
Added latest official recommended wallpaper
Latest update Remix OS boot animation
New low battery alerts
Optimize video playback, video playback support more formats
New gaming keyboard mapping support, recommend games to "vanity" and "human resource" can be installed in the application of Recommendation
Bug fix:
Enhance the stability of the system, the use of traditional mechanical hard disk, the system will be more fluent
Improve application compatibility, support for more applications running on the x86 platform, such as: Youku / Taobao / JX / Implosion / Yahoo Mail
Increased portion laptop touchpad right support
Improve Wi-Fi instability, adding support for more wireless network card, including Realtek / Broadcom / MediaTek
Optimization Nvidia graphics adapter problem
Optimization of temperature control notebook, laptop or tablet according to the temperature control system to prevent system crashes
When optimizing hard disk partition read, repair hard disk partition to mount, resulting in system issues Caton
Repair in some graphics cards cause the taskbar can display problems
Progress is inseparable from the system for your feedback, in order to better optimize Remix OS PC version, please stop for a moment, fill in the following three questionnaire to help us do a better Remix OS PC.
Remix OS PC version of the keyboard mapping gathering feedback || Click to Visit
Remix OS PC version of the perfect run hardware collection || Click to Visit
Applications Recommended || Click to Visit
Regnas said:
I thought the next update would be 3.0......
Click to expand...
Click to collapse
There're few bugs that stop Android-x86 6.0 from daily use. For example,Google play services always crash on Intel Gen8+ GPUs,which is not fixed yet.
But the devs at Jide are actively contributing to Android-x86 6.0 and you'll be able to see the results in near future. For instance,the issue of Time being reset in Windows is fixed
in the latest commit, Check the marshmallow-x86 branch at https://github.com/android-x86-mirror
Hmm...seems like a solid release. I will wait for the official announcement and update though. If it fixes my nvidia/wifi/sound issues I might actually start using this
Regnas said:
I thought the next update would be 3.0......
Click to expand...
Click to collapse
I think there is no remix os 3.0 for PC(x86) :crying: :crying: :crying: :crying:
I downloaded and installed it. My impression :
1 Locked DOWN, no more root command line
2 No Play Store option
3 Does include keymapping
4 Stock file manager can no longer read the partition on which Remix OS is installed
5 Maybe a little more quick because of changes to disk partition access
This may be because it is currently for Chinese users, hopefully there will be more flexibility with the release
EDIT 2016/07/01: After solving problems of getting into root command line, was able to deactivate jide app policy and then went on to install nova launcher, etc. Then using help from @HypoTurtle I was able to do systemless root. Everything now operating well. I will continue testing this 2.0.401 over the next few days for stability.
Summary:
1 No longer locked down
2 Play Store is activated
3 keymapping confirmed
4 Solid Explorer can read all disk partitions by using Stickmount
5 So far seems quicker than 2.0.205
Sent from my on Z00A using XDA Labs
Latest version is dated 29 June 2016..
For root , you need to replace the su file at system/xbin.
For play store option you need to got to setting , click on experimental ,on the alt+f1 option . You can active play store option .
Sent from my GT-N7105 using XDA-Developers mobile app
have anyone a working link/mirror to the new beta?
scanja500 said:
have anyone a working link/mirror to the new beta?
Click to expand...
Click to collapse
I have already posted this in two different threads, but here is a faster mirror, if anyone wishes to download.
https://mega.nz/#!9lkTWDiI!as99QTFGw2UYkFkHQWBVCX-pKpxkT7McLs27t-wfVHM
pengkoh1 said:
Latest version is dated 29 June 2016..
For root , you need to replace the su file at system/xbin.
For play store option you need to got to setting , click on experimental ,on the alt+f1 option . You can active play store option .
Click to expand...
Click to collapse
Thanks for explaining the experimental settings.
Was able to activate the Play Store
Pardon the noob question: where do I get the si file to replace the stock one?
Sent from my on Z00A using XDA Labs
lollyjay said:
Thanks for explaining the experimental settings.
Was able to activate the Play Store
Pardon the noob question: where do I get the si file to replace the stock one?
Sent from my on Z00A using XDA Labs
Click to expand...
Click to collapse
http://forum.xda-developers.com/remix/remix-os/remix-os-installation-rooting-t3293769
I used the remixroot.zip from here. I choose to install remix os in read write mode thus I can replaced the su file at system/xbin directly.
You have to follow the method describe in that thread if you install remix os in read only mode
Sent from my GT-N7105 using XDA-Developers mobile app
pengkoh1 said:
http://forum.xda-developers.com/remix/remix-os/remix-os-installation-rooting-t3293769
I used the remixroot.zip from here. I choose to install remix os in read write mode thus I can replaced the su file at system/xbin directly.
You have to follow the method describe in that thread if you install remix os in read only mode
Click to expand...
Click to collapse
Thanks. I installed Remix on a Windows computer so I cannot use Ubuntu method. Also I used the Remix installation tool so everything is stock install. Guess I will have to wait for a systemless root. @HypoTurtle are you onto this yet? (lol)
lollyjay said:
Thanks. I installed Remix on a Windows computer so I cannot use Ubuntu method. Also I used the Remix installation tool so everything is stock install. Guess I will have to wait for a systemless root. @HypoTurtle are you onto this yet? (lol)
Click to expand...
Click to collapse
If someone can post the ramdisk I'll compare to the previous version but regardless the current systemless root su/ramdisk.img should work fine; unless it's drastically different.
HypoTurtle said:
If someone can post the ramdisk I'll compare to the previous version but regardless the current systemless root su/ramdisk.img should work fine; unless it's drastically different.
Click to expand...
Click to collapse
I thought so too. But when I substitute the ramdisk.img I get to the RemixOS splashscreen and never boots further
lollyjay said:
I thought so too. But when I substitute the ramdisk.img I get to the RemixOS splashscreen and never boots further
Click to expand...
Click to collapse
In that case attach the ramdisk.img to a post here and I'll take a look.
edit. @lollyjay on your edit above -- you shouldn't need stickmount... check if the partitions are mounted to /mnt/media_rw/hdd*

[DISCONTINUED][OS] Ubuntu4Kitchen - A Kitchen ready version of Ubuntu 18.04.3

NO LONGER MAINTAINED!!!
Ubuntu4Kitchen
An Ubuntu 18.04 distro with all the things you need to get the kitchen working easily.
This was created using the official Ubuntu 18.04.0 iso. It is basically an updated and repacked version of the original iso image.
Here are the changes from standard Ubuntu:
All dependencies are met for easy kitchen install
SuperRs-Kitchen installer/launcher is a pre-installed app
Panel shortcuts are Nautilus, Chrome/Chromium, Synaptic Package Manager, SuperR's Kitchen, and Show Desktop
Nautilus File Manager asks what to do when you double-click an executable text file (bash script) by default
Nautilus uses list view by default
Chromium and Synaptic package manager are installed
Firefox, Thunderbird, and LibreOffice have been removed
It should work in VM, usb live boot, or dvd. Launch SuperRs-Kitchen ("S" icon) from the panel or the app drawer to get started
NOTE: The Installer will not work in Live boot.
Download:
Ubuntu4Kitchen-18.04.4-amd64.iso
reserved
Gonna try this! Looks interesting
Awesome work.
Sent from my LG-LS997 using Tapatalk
Dead torrent
SuperR. said:
Ubuntu4Kitchen
An Ubuntu 16.04 distro with all the things you need to get the kitchen working easily.
This was created using the official Ubuntu 16.04.1 iso. It is basically an updated and repacked version of the original iso image.
Here are the changes from standard Ubuntu:
All dependencies are met for easy kitchen install
SuperRs-Kitchen installer/launcher script is on the desktop
Unity panel shortcuts are Nautilus, Chrome, Synaptic Package Manager, and Show Desktop
Nautilus File Manager asks what to do when you double-click an executable text file (bash script) by default
Nautilus uses list view by default
App menus are in the app window by default
The system notification popups are click-to-close and higher on the screen
Chrome and Synaptic package manager are installed
Firefox, Thunderbird, and LibreOffice have been removed
It should work in VM, usb live boot, or dvd. Just double-click SuperRs-Kitchen on the desktop and choose "Run in Terminal" to get started
Download:
Ubuntu4Kitchen-16.04.2-amd64.iso
Ubuntu4Kitchen-16.04.2-amd64.iso.torrent
Click to expand...
Click to collapse
Dead torrent
Evil-Maiden666 said:
Dead torrent
Click to expand...
Click to collapse
Working here. Use the other link if the torrent link does not work for you.
SuperR. said:
reserved
Click to expand...
Click to collapse
tell me why didn't work
812441549 said:
tell me why didn't work
Click to expand...
Click to collapse
What didn't work? If you explain your problem I might be able to help. Include the things you tried so I can reproduce and fix the issue.
SuperR. said:
What didn't work? If you explain your problem I might be able to help. Include the things you tried so I can reproduce and fix the issue.
Unpack the boot error,binary error
Click to expand...
Click to collapse
SuperR. said:
What didn't work? If you explain your problem I might be able to help. Include the things you tried so I can reproduce and fix the issue.
Click to expand...
Click to collapse
How to run under windiws,I am chinese ,English is not good ,Don't quite understand,Can you say that again,Thank you!
812441549 said:
SuperR. said:
What didn't work? If you explain your problem I might be able to help. Include the things you tried so I can reproduce and fix the issue.
Unpack the boot error,binary error
Click to expand...
Click to collapse
why?
Click to expand...
Click to collapse
812441549 said:
812441549 said:
why?
Click to expand...
Click to collapse
Windows is not supported in the free version of the kitchen. If you want to run the free version in Windows, you should use a Virtual Machine running Ubuntu4Kitchen.
VirtualBox is free and works well. Search Google for how to set up the VM.
Alternatively, the donate version of the kitchen runs in Windows.
Click to expand...
Click to collapse
SuperR. said:
812441549 said:
Windows is not supported in the free version of the kitchen. If you want to run the free version in Windows, you should use a Virtual Machine running Ubuntu4Kitchen.
VirtualBox is free and works well. Search Google for how to set up the VM.
Alternatively, the donate version of the kitchen runs in Windows.
Click to expand...
Click to collapse
thank you
Click to expand...
Click to collapse
@OP/dev
was able to use this tool using a usb drive. now i'm trying to make it work under vm (virtualbox) and it seems i'm stuck at installing binaries. it just sits there for hours. when it did work through usb it only took a couple of minutes to install the binaries. any workarounds i can try, bro?
edit: NVM..just took awhile. thanks for your work
Hey Im using this in VB and once booted it asked for username and password ? I have not created any account or anything.. is there a default user pass ?
Chekm8Qc said:
Hey Im using this in VB and once booted it asked for username and password ? I have not created any account or anything.. is there a default user pass ?
Click to expand...
Click to collapse
I have been trying to figure this out for a couple days with no success so far. Will keep trying. You should still be able to use the "install" option instead of the "try" option if you plan on installing it anyway.
edit: Turns out that checking the "Live CD/DVD" box under the iso file chooser in VirtualBox allows me to boot into the desktop without the login screen.
SuperR. said:
I have been trying to figure this out for a couple days with no success so far. Will keep trying. You should still be able to use the "install" option instead of the "try" option if you plan on installing it anyway.
edit: Turns out that checking the "Live CD/DVD" box under the iso file chooser in VirtualBox allows me to boot into the desktop without the login screen.
Click to expand...
Click to collapse
Yes that worked for me too Thanks for the reply.
it is not work
hdc8899 said:
it is not work
Click to expand...
Click to collapse
That looks odd..
1 - What did you do, and how did you do it?
2 - The Ubuntu4Kitchen.iso you downloaded may have been accidentally corrupted during DL.. So check the md5 & SHA# checksums of the file you DL to make comparison with # @SuperR. had posted
Sent from my N9515 using Tapatalk
Ok found that I can still install on to Ubuntu 16.04 (hopefully come April it will work for 18...)

[GUIDE] Setting up ADB and fastboot on an x86_64 Chromebook

Hey everyone!
I know that one of the biggest barriers for completely ditching my MacBook Pro for my Pixelbook was the ability to use ADB and fastboot (upgrading Android versions, flashing TWRP, factory resetting). ADB and fastboot are installed on later versions of Chrome OS; unfortunately, these versions are too old for devices like the Pixel 2 (XL) and there isn't a ton of information on how to get them updated and working properly.
As such, I created an installation script that will push the latest versions of the platform tools to the local binary directory and install a small wrapper script so you can use the commands as you normally would. The scripts should be fairly easy to read if you have a basic understanding of the command line, I have commented them so it's clear what is going on.
The installation script can be used to install the tools for the first time as well as upgrading to newer version as they come out. The changelog for each version can be found here.
Please see the README for the full instructions and let me know if you have any questions, enjoy!
On Chrome OS Canary version 69 on an ARM CPU, ADB and Fastboot are both installed by default.
zarthan said:
On Chrome OS Canary version 69 on an ARM CPU, ADB and Fastboot are both installed by default.
Click to expand...
Click to collapse
Do they actually work? They were installed on my Chromebook Plus out of the box but they are too outdated for my Pixel 2 XL.
Will this work in Acer c720p, or is it too old? If not what about Samsung Chromebook pro? Would it have to be in developer mode?
firegoblin said:
Will this work in Acer c720p, or is it too old? If not what about Samsung Chromebook pro? Would it have to be in developer mode?
Click to expand...
Click to collapse
In theory, it should work for both.
Please see the README as it answers the second question.
nathanchance said:
In theory, it should work for both.
Please see the README as it answers the second question.
Click to expand...
Click to collapse
Dear lord my c720p has a purpose now. Thank you! ChromeOS ftw
nathanchance said:
In theory, it should work for both.
Please see the README as it answers the second question.
Click to expand...
Click to collapse
Do you know if there is anyway to run a shell directly from the downloads folder in ChromeOS? I couldn't get fastboot to function properly.
firegoblin said:
Do you know if there is anyway to run a shell directly from the downloads folder in ChromeOS? I couldn't get fastboot to function properly.
Click to expand...
Click to collapse
Going to have to give me more details, like the stuff I request in the README.
Sent from my Pixel 2 XL using XDA Labs
nathanchance said:
Do they actually work? They were installed on my Chromebook Plus out of the box but they are too outdated for my Pixel 2 XL.
Click to expand...
Click to collapse
fastboot doesn't report version but adb is 1.32 which is old. I don't know how recent adb was added to Chrome OS but I am sure I have used them in the past. I have lived in Canary for the last 2 years so I have no idea whether it was a Canary thing or widely available within developer mode.
Another option since you are in developer mode is Crouton and install a fullish version of Linux. adb does work within a Crouton session. Even if I was to update the version installed in Chrome OS, I would need to reinstall it every day since Canary is updated daily and sometimes two or three times a day. Even stable can be updated mid-cycle so you could get caught with the outdated one at an inopportune time.
zarthan said:
fastboot doesn't report version but adb is 1.32 which is old. I don't know how recent adb was added to Chrome OS but I am sure I have used them in the past. I have lived in Canary for the last 2 years so I have no idea whether it was a Canary thing or widely available within developer mode.
Another option since you are in developer mode is Crouton and install a fullish version of Linux. adb does work within a Crouton session. Even if I was to update the version installed in Chrome OS, I would need to reinstall it every day since Canary is updated daily and sometimes two or three times a day. Even stable can be updated mid-cycle so you could get caught with the outdated one at an inopportune time.
Click to expand...
Click to collapse
For me personally, I bought a Chromebook for Chrome OS, not the hardware, so Crouton wasn't really an option.
You don't need to reinstall these as they are in /usr/local/bin so they're not touched during a Chrome OS upgrade.
I don't think I understand "Crouton wasn't really an option". Crouton is a simple script that installs various versions of Linux desktops that run alongside Chrome in a chroot. Probably any Chromebook made can install Crouton. The only thing required is to be in developer mode, which you are. I choose to run my sessions in a tab but it can be a separate window. Not much you can't install and run in these sessions.
zarthan said:
I don't think I understand "Crouton wasn't really an option". Crouton is a simple script that installs various versions of Linux desktops that run alongside Chrome in a chroot. Probably any Chromebook made can install Crouton. The only thing required is to be in developer mode, which you are. I choose to run my sessions in a tab but it can be a separate window. Not much you can't install and run in these sessions.
Click to expand...
Click to collapse
Would help if I actually did proper research into Crouton :silly:thanks for the clarification, I'll have to check it out soon
Crouton was developed by a Google employee. You can create a pretty complete development environment. An i7 and 16 GB RAM are becoming more and more appealing.
zarthan said:
Crouton was developed by a Google employee. You can create a pretty complete development environment. An i7 and 16 GB RAM are becoming more and more appealing.
Click to expand...
Click to collapse
Ended up trying it yesterday, I'm a big fan so far. Will continue to explore it, thanks for the tip!
nathanchance said:
Ended up trying it yesterday, I'm a big fan so far. Will continue to explore it, thanks for the tip!
Click to expand...
Click to collapse
http://skycocker.github.io/chromebrew/
If you mainly just want command line to install packages.
There is also chromebrew, almost a chromeos version of homebrew on mac.
Hello!
First off I would like to thank you very much for making this installation script! I've been waiting the whole time since I bought my Chromebook about 3 weeks ago for somebody to post a script to install ADB/fastboot since the recent added support of the 2 to ChromeOS. ADB/fastboot support is the entire reason why I bought this Chromebook, if it did not have it, I would of been stuck buying a Windows laptop. I was really excited when I read they just added support recently for ADB/fastboot! I have a couple of small problems and if anybody can help me out, it will be greatly appreciated.
1. I cannot get ADB to work yet on my Pixel 2 XL, but fastboot works no problem. When I try to use ADB, it says device is "offline". Sometimes it says "unauthorized" when I've accepted permissions and click 'always allow from this computer' etc etc. Do I have to use a root shell to run adb/fastboot or can i use a regular shell like on my old windows laptop? Do i have to use sudo before every single command as well or just 'adb devices' like I would on a windows. I know these are noob questions but it is because I am a noob and have only used ADB/fastboot on a WIndows 7 laptop before this.
2. My other question is when I powerwashed and it booted to the user sign in screen, I tried to click enable debugging features but it said not all of the features could of been enabled. Wth does that mean? How can I fix it? Does the chromebook stay in developer mode after I powerwash it if it was in dev mode before I powerwashed it? I did return it back to the dev channel after the powerwash bc I noticed it was back on stable.
Do I have to install a custom version of Chromium OS before this will work?
Thank you guys so much, and thanks again @nathanchance for making this script. Also thanks for your Pixel 2 XL kernel, I use that as well. Cheers!
My device is the Acer Chromebook R11 .. 32 GB HD / 4 GB RAM with a 64 GB sdcard in it .. 2 in 1 tablet/laptop .. x86_64
ok so how do I copy the files I downloaded to another directory? The chrome files explorer only shows drive and downloads
Nathan
Will you be building your own kernel and or system images for pixelbook?
smartymcfly said:
Nathan
Will you be building your own kernel and or system images for pixelbook?
Click to expand...
Click to collapse
No. The entire reason I got a Pixelbook is so that I could have a super stable local device and do all my heavy computing on a remote server.
nathanchance said:
Hey everyone!
I know that one of the biggest barriers for completely ditching my MacBook Pro for my Pixelbook was the ability to use ADB and fastboot (upgrading Android versions, flashing TWRP, factory resetting). ADB and fastboot are installed on later versions of Chrome OS; unfortunately, these versions are too old for devices like the Pixel 2 (XL) and there isn't a ton of information on how to get them updated and working properly.
As such, I created an installation script that will push the latest versions of the platform tools to the local binary directory and install a small wrapper script so you can use the commands as you normally would. The scripts should be fairly easy to read if you have a basic understanding of the command line, I have commented them so it's clear what is going on.
The installation script can be used to install the tools for the first time as well as upgrading to newer version as they come out. The changelog for each version can be found here.
Please see the README for the full instructions and let me know if you have any questions, enjoy!
Click to expand...
Click to collapse
Hi Nathan,
I also have a Chromebook plus which is not x86_64. Have you written a script compatible with the Chromebook plus?
Thank you for all your contributions to the community!
-Dan

Categories

Resources