Related
Hi guys, I've seen that some clever chaps have linux running on rooted primes and this got me thinking whether I could use the prime for web development .
I do this at the moment in a virtual mac on my windows pc but if I could get mysql and php running in a linux but of prime , then surely i could load a wordpress blog onto it and tweak around things before ftping upto my actual site ?
Is this likely to be possible ?
Hm, maybe read about chrooting Ubuntu? That would be probably easier for that kind of work. I myself prefer to keep everything on FTP (even test versions of sites) so I don't have to install anything on my computer / tablet.
Give or take what is in the market, you need to setup a Debian or Ubuntu chroot and run the usual stuff using an X11/VNC bit. The Android browsers don't have the tools (e.g. anything like Firebug or Dragonfly).
Other wise it works fine for web development.
Anyone try out the Ubuntu Installer on the Play Store with the TFP( link below ) I wanna give it a go but was wondering what other peoples experience with it is first. I saw there is a way to run Ubuntu nativly on our device, but it seems like it may be a bit 'new' ( as in driver support etc... ) which I'd be ok with, but the dual boot process seems like a pain to have to change the boot image everytime you want to use it...
https://play.google.com/store/apps/...ubuntuinstallpaid&feature=more_from_developer
RubenRybnik said:
Anyone try out the Ubuntu Installer on the Play Store with the TFP( link below ) I wanna give it a go but was wondering what other peoples experience with it is first. I saw there is a way to run Ubuntu nativly on our device, but it seems like it may be a bit 'new' ( as in driver support etc... ) which I'd be ok with, but the dual boot process seems like a pain to have to change the boot image everytime you want to use it...
https://play.google.com/store/apps/...ubuntuinstallpaid&feature=more_from_developer
Click to expand...
Click to collapse
Hi
Yes, I have been messing wth it since I got my Prime a few months ago (running Linux on it was the reason I bought in the first place). Like you, the native stuff seems a little too "fresh" and the risk of a brick a bit too much.
Anyway, the Linux Installers Zac is doing can work well on the Prime. There is an issue with the Ubuntu 12.04 Unity at present which I have not been able to figure out as I can't deal with Unity for longer than bout 60 seconds before reaching for Xfce anyway.
I have had good results using the Ubuntu 12.04 image and installing Xfce. The VNC client you choose makes a huge difference. I have found Jump Desktop by far the best (middle and right mouse buttons, scroll wheel, dock keyboard all work great) and it is quite close to using it natively.
The real downer with the chroot methods is there does not appear to be any way to do it except by running the GUI/X as root while in Ubuntu. Not really a workable option for any long term use. This is down to how Android handles permissions and the use of TCP/UDP ports. If you try to run the VNC server as anything other than root you just get a permission failure. I have not been able to figure out a way around this yet.
Worth the download to try it out.
Sent from my Transformer Prime TF201 using Tapatalk 2
I'd like to ask a serious question here.. and I'm not trying to put down Ubuntu or anything - if you're into Linux, it's a good choice...
But..
*Why* would someone want to take an Android tablet and install an OS that's not really tablet friendly on it? What's the benefits?
Unless you plan to keep it in the dock all the time - then why not just buy a netbook?
What am I missing here?
You don't have to take two devices with you if you have Ubuntu installed on Transformer. If you had a tablet AND a netbook the weight would be doubled... Netbooks also have poor screens and probably less battery life.
TheWerewolf said:
I'd like to ask a serious question here.. and I'm not trying to put down Ubuntu or anything - if you're into Linux, it's a good choice...
But..
*Why* would someone want to take an Android tablet and install an OS that's not really tablet friendly on it? What's the benefits?
Unless you plan to keep it in the dock all the time - then why not just buy a netbook?
What am I missing here?
Click to expand...
Click to collapse
Versatility, choice, and because we can
Android is great for some things but a lot of what I do would be much better done in a Linux environment. The Prime has replaced my laptop, and having a dual boot option would make it pretty much the perfect piece of kit for me.
I didnt realise this was available !
I will be giving it a go as soon as i get home!!
Would prefer a native install, but this looks pretty easy and quick to do, so i'll give it a shot.
And another nice thing we are not able to use because of missing root rights
I really hope somebody finds and publishes a new way to gain root. (without unlocking)
Running Linux on it was also a reason for my to chose the Prime.
Great comments all... Personally I want Linux on the Prime for some of the reasons above ( portability, not having to carry two machines, "because we can" lol ) however I mostly want it because it should offer a much better development environment on the Prime which would be great. Still haven't gotten it up and running yet, but bought everything I need, should be able to play today
will installing ubuntu thru this app break future ota updates? I do have root, but i only use it for a working ipsec vpn right now
Anyone having problems unzipping the beta Ubuntu 12.04 Full V1 download to get the image file? I've tried various unzip tools, and multiple download attempts, and it always comes up corrupt. The 12.04 small works fairly well.
nonpaq said:
Anyone having problems unzipping the beta Ubuntu 12.04 Full V1 download to get the image file? I've tried various unzip tools, and multiple download attempts, and it always comes up corrupt. The 12.04 small works fairly well.
Click to expand...
Click to collapse
Haven't tried that one yet, gonna start with 10.10 large, then move to 12.04 after...
Do you have to unlock prime to use this? I have root, but it says something about needing kernel or something on the app.
justPorter said:
will installing ubuntu thru this app break future ota updates? I do have root, but i only use it for a working ipsec vpn right now
Click to expand...
Click to collapse
No it shouldn't have any affect. It does not touch anything outside of /data/local (or wherever you install the ubuntu.img file - could be your sdcard) - no system files are changed.
---------- Post added at 04:24 PM ---------- Previous post was at 04:21 PM ----------
nonpaq said:
Anyone having problems unzipping the beta Ubuntu 12.04 Full V1 download to get the image file? I've tried various unzip tools, and multiple download attempts, and it always comes up corrupt. The 12.04 small works fairly well.
Click to expand...
Click to collapse
I think there was an issue with the Full V1 file. The dev re-uploaded today so you might try it again. However, the default Unity interface on Full does not seem to work on the Prime for whatever reason (Tegra 3 differences it has been said) so it might not be worth the effort until that is fixed. Firefox also does not work (I have never got Firefox of Chrome to work on any of these builds)
The older Ubuntu version (10.10 was it?) works fine, except Firefox just crashes, and Midori is the only currently working browser
---------- Post added at 04:26 PM ---------- Previous post was at 04:24 PM ----------
kidio007 said:
Do you have to unlock prime to use this? I have root, but it says something about needing kernel or something on the app.
Click to expand...
Click to collapse
Your kernel needs to support the loop device which is the way that the ubuntu.img file gets "mounted" on the system. I dont recall if the stock kernel supports this but I would be surprised if it doesn't
Stock kernel apparently has the loop device, as I have been able to run Ubuntu on stock (rooted of course).
Thanks for info on new upload of 12.04 full. Didnt you say you installed Xfce and 12.04 worked well?
nonpaq said:
Stock kernel apparently has the loop device, as I have been able to run Ubuntu on stock (rooted of course).
Thanks for info on new upload of 12.04 full. Didnt you say you installed Xfce and 12.04 worked well?
Click to expand...
Click to collapse
Yes, Xfce I find works well. Just did not know how much effort you might be willing to put into it
Bit of advice - don't use "apt-get install xubuntu-desktop" to change to Xfce. That wants to install a ton of stuff that is not needed. Just try installing the the meta package "xfce4" and then add the other bits you want. I then removed the Unity desktop and it booted straight in to Xfce.
Edit: Actually, in this 12.04 image doing "apt-get install xubuntu-desktop" does not appear to be as bad. A previous image wanted to download 750Mb of stuff!
Edit2: Oh, and to get xfce loading instead of Unity, you need to edit /root/.vnx/xstartup and change the last line:
/etc/X11/Xsession
to be
startxfce4
..then restart the linux chroot by typing exit
barryflanagan said:
Yes, Xfce I find works well. Just did not know how much effort you might be willing to put into it
Bit of advice - don't use "apt-get install xubuntu-desktop" to change to Xfce. That wants to install a ton of stuff that is not needed. Just try installing the the meta package "xfce4" and then add the other bits you want. I then removed the Unity desktop and it booted straight in to Xfce.
Edit: Actually, in this 12.04 image doing "apt-get install xubuntu-desktop" does not appear to be as bad. A previous image wanted to download 750Mb of stuff!
Edit2: Oh, and to get xfce loading instead of Unity, you need to edit /root/.vnx/xstartup and change the last line:
/etc/X11/Xsession
to be
startxfce4
..then restart the linux chroot by typing exit
Click to expand...
Click to collapse
Great info I have the 10.10 full image up and running and Firefox does seem to be working fine for me "out of the box". Think I'm going to try the 12 image and Xfce next.
Anyone have any optimization tips and tricks to get this running as fast as possible? I'm trying the Jump VNC client, seems pretty nice, just need to get some kind of gesture to hide the tablets nav bar as it covers the screen.
Hey Barryflanagan, I'm playing with Zac's images and I am wondering if you got ubuntu to read any external storage media plugged into the dock : like sdcard or usb external drive. I don't know if it's because of the dock proper, or ubuntu, or chroot, but I got the prime on ubuntu to read microsd on the prime proper but nothing routing through the dock..
As to why I'd want both linux and android, most of the time I'm fine with android, sometimes with the dock sometimes without. I don't have a laptop anymore and 2 weeks ago I happened to get to my first need that android couldn't handle: I have to trim and clean 10 000+ files of music library with many copies and variations by file names, lengths, quality, and tags, and to pick the good tracks manually, and nothing on the android's ecosystem is as good or useful as mediamonkey. I've had to borrow a laptop from somebody to get the job done. I'm pretty sure in linux I could have found a working application-- if the usb hard drive for those 70gigs could have been recognized through the dock. Anyway -- also, some more intensive work like the occasional flyer or poster I design for friends.
By the way, have anyone tried to get Wine working on the chroot ubuntu? Maybe with kernel overclocked to 1.8 it might work?
Sent from my LG-P500 using my Dog
Is it possible to run Ubuntu offline, like without VNC, or do you need internet to use it? I followed the instructions on the app and connected with vnc. I would rather use splashtop and connect to my desktop if ubuntu cant be run offline.
kidio007 said:
Is it possible to run Ubuntu offline, like without VNC, or do you need internet to use it? I followed the instructions on the app and connected with vnc. I would rather use splashtop and connect to my desktop if ubuntu cant be run offline.
Click to expand...
Click to collapse
I'm confused as to what you're asking. Technically, Ubuntu is running offline. You're only connecting to the GUI over VNC. You do not need internet.
Sent from my HTC Desire using XDA
Parastie said:
I'm confused as to what you're asking. Technically, Ubuntu is running offline. You're only connecting to the GUI over VNC. You do not need internet.
Sent from my HTC Desire using XDA
Click to expand...
Click to collapse
Ah, I see. But what use has ubuntu without the GUI? I'm obviously new to this, but I assumed that you could use the ubuntu OS offline. Like open and use programs like open office. How would you be using ubuntu if you were at a place without internet?
Sorry Guys,
As there doesn't seem to be a whole lot of interest in this project and as no one stepped forward to assist, I'm afraid I'm going to have to abandon this project.
Thanks for following.
___________________________________
OK Guys,
I've run into a bit of a brick wall and need some input from other developers. One of the required APKs from the Q needs a class not included along with my CM9 or Samsung stock roms. The class appears to be called "android.os.UpdateLock". So how do I go about ripping the class out of the Nexus Q rom and injecting it into CM9? Any help would be very appreciated!$!
--------------------------------------------------------------------
Hello All,
The Project
I'm looking to embark on a project to rip out the cloud function from the Q and install it on any android device. I want the cloud streaming of "Google" music and movies without the $300 expense.
The Progress
As of today I have the Nexus Q Deodexed, ripped out several apk files including the Nexus Q "Launcher" HubBroker.apk. I've merged the apks along with the fonts and lib folders of /system and my Galaxy Tab now boots up and runs like a Q. Primary issue outstanding is, the Nexus Q app won't detect the "galaxy Q" through bluetooth. I assume that some functions of the Q are sitting either within the bluetooth libs or that the Nexus Q has a specific bluetooth address that the app needs to see before detection.
My next attempt will be to try taking apart the Nexus Q apk and either changing its bluetooth search criteria or removing it completely. Second to that if anyone out there has a Q and has it setup on their phone, I could use the /data/data folder to extract more information about how it works. Or even better if someone knows what config file is generated on the actual nexus Q when it's set up for that first time.
You can already do that on most android devices. The Q just takes it to the big screen conveniently.
The function of being able to control the Google queue of device A from device B, C, D etc does not exist. Or at least I'm not aware of an app that does that.
I believe that I've tracked down the apk that does it on the nexus but I need to deodex the apps and can't seem to find a tool that works. Anyone out there deodex this rom yet?
JoeJonnyBoy75 said:
Hello All,
The Project
I'm looking to embark on a project to rip out the cloud function from the Q and install it on any android device. I want the cloud streaming of "Google" music and movies without the $300 expense.
The Progress
As of today I have the Nexus Q Deodexed, ripped out several apk files including the Nexus Q "Launcher" HubBroker.apk. I've merged the apks along with the fonts and lib folders of /system and my Galaxy Tab now boots up and runs like a Q. Primary issue outstanding is, the Nexus Q app won't detect the "galaxy Q" through bluetooth. I assume that some functions of the Q are sitting either within the bluetooth libs or that the Nexus Q has a specific bluetooth address that the app needs to see before detection.
My next attempt will be to try taking apart the Nexus Q apk and either changing its bluetooth search criteria or removing it completely. Second to that if anyone out there has a Q and has it setup on their phone, I could use the /data/data folder to extract more information about how it works. Or even better if someone knows what config file is generated on the actual nexus Q when it's set up for that first time.
Click to expand...
Click to collapse
This is a pretty nice project and there is nothing like this happening in Android now, besides the nexus Q. I'd like to see a future port of it to Google TV devices
auad said:
I'd like to see a future port of it to Google TV devices
Click to expand...
Click to collapse
Would love to have this functionality in an APK for me Google TV. Don't see why it wouldn't work, well other then no bluetooth on the Revue....
Still very interested in this thread regardless of GTV. I will be following your progress. Thanks!
.
I'm looking for this as well.
I have 3 spare HTC EVO's, and they all have HDMI out. I would like to be able to just plug them into the TV and use my other phones to control them / play music / etc. Maybe even throw XBMC on them with the ability to control from another phone..
They're slower, and less memory..but it may be doable.
Did anyone dig into this? I'd like this for the latest port of Android for a Raspberry Pi and willing to do some of the (noob)stuff myself.
That would be awesome to use any HDMI equipped phone along with the Nexus Q functionalities. I'm really interested.
I guess the problem with the missing API is that the Nexus Q runs android JB and he tried with a cm9.
Vettekult said:
I guess the problem with the missing API is that the Nexus Q runs android JB and he tried with a cm9.
Click to expand...
Click to collapse
Not true, Q runs ICS...
Let me know...
what I can do to help. If you give me a run down on what you would like me to try as far as pulling files from the q or my connected devices just shoot me a PM and i'll give it a shot. I too would love to add this functionality to my spare devices laying around.
I've been interested in this since day one as well. IT is what has me almost ready to fork out the money on more then one occasion. I have a party coming up and it would be fun to have my N7 as the Jukebox.
The Class issue, I'm not sure about. Here is some info that might get it started.: http://www.itcsolutions.eu/2011/08/...te-a-new-activity-class-with-manifest-editor/
AND:
http://stackoverflow.com/questions/5012004/adding-a-new-class-to-android-project
It looks like it is something created with the app. Since you cut/pasted the apk into system it may not have been installed. But I'm thinking that it is something else. Some where in the android system lib's it is probably installed. Since this was a device dedicated to this purpose, they were able to install it into the system and the app calls it. I'm slowly learning to write apps (very slowly) so I am not sure beyond this, or even about this for that matter.
I do have a question. It looks like you pulled some system apps and put them in your galaxy tablet. I think a better test would be to basically replace all the /system contents of say a N7 (galaxy tab may work) with those from the Q. Then once it works, cut down the files until it stops. Then with a list of what is needed to make it work we could get down to the nitty gritty.
My guess is some more knowledgeable devs, like those who got Google Now working, would have a better idea.
I'd love to see a third party app do the jukebox function, I think a issue is license certificate (DRM) for the multiple users. I don't understand how the user is associated/authenticated for the music. One Question is if a user Ques up music then leaves does it cause that music to not be able to be played or will it still play once it's been que'd? My guess is the app just organizes the music/user who is next then when it's their turn it streams from their device in real time... but I'm really not sure about this.
joeavery2 said:
I've been interested in this since day one as well. IT is what has me almost ready to fork out the money on more then one occasion. I have a party coming up and it would be fun to have my N7 as the Jukebox.
The Class issue, I'm not sure about. Here is some info that might get it started.: http://www.itcsolutions.eu/2011/08/...te-a-new-activity-class-with-manifest-editor/
AND:
http://stackoverflow.com/questions/5012004/adding-a-new-class-to-android-project
It looks like it is something created with the app. Since you cut/pasted the apk into system it may not have been installed. But I'm thinking that it is something else. Some where in the android system lib's it is probably installed. Since this was a device dedicated to this purpose, they were able to install it into the system and the app calls it. I'm slowly learning to write apps (very slowly) so I am not sure beyond this, or even about this for that matter.
I do have a question. It looks like you pulled some system apps and put them in your galaxy tablet. I think a better test would be to basically replace all the /system contents of say a N7 (galaxy tab may work) with those from the Q. Then once it works, cut down the files until it stops. Then with a list of what is needed to make it work we could get down to the nitty gritty.
My guess is some more knowledgeable devs, like those who got Google Now working, would have a better idea.
I'd love to see a third party app do the jukebox function, I think a issue is license certificate (DRM) for the multiple users. I don't understand how the user is associated/authenticated for the music. One Question is if a user Ques up music then leaves does it cause that music to not be able to be played or will it still play once it's been que'd? My guess is the app just organizes the music/user who is next then when it's their turn it streams from their device in real time... but I'm really not sure about this.
Click to expand...
Click to collapse
Ok so here is some more detailed info for those of you still following the project.
HubBroker.apk is the app that is for all intents and purposes the "launcher" for the nexus Q. It will install on the Galaxy Tab and Nexus 7. It takes over your "home" and replaces it with a picture of the Nexus Q and a welcome sign. This app looks to be only the launcher as it doesn't do anything if you tap on it. Also having the app running doesn't allow the Nexus Q app (from your phone) to find the device.
So I assume that that the Q is controlled via bluetooth to get it setup and running. Including configuring the Wifi, network settings, etc. Oddly enough the app does send a request to android system to turn on the bluetooth and changes the bluetooth device name to Nexus Q.... The ... part is a odd string of characters that I assume is used in case you happen to have multiple Nexus Q's.
Now as just having the app doesn't seem to work (Phone finding the Q). I've replaced all the bluetooth libs with the ones from the Q. Still nothing. I've migrated all the other APK files and then I get FCs all over, and still no connection. I haven't tried replacing the whole system yet, but I assume the hardware differences would be to great. The only other piece of the puzzle I have yet to attempt it merging the kernels or at least the init parts of the kernel relating to bluetooth.
If you have any questions though let me know. I've been up and down this thing.
Why don't we just flash the img on an old phone and see if that works?
zAo_ said:
Why don't we just flash the img on an old phone and see if that works?
Click to expand...
Click to collapse
For that to work we'd need to get a device with similar hardware (CPU, Chipset, etc.) Not only that but it would need to have the same MTD setup unless I'm mistaken.
Actually I'm going to give that a try with the nexus 7. I'll let you know what happens, won't be till tonight though.
JoeJonnyBoy75 said:
For that to work we'd need to get a device with similar hardware (CPU, Chipset, etc.) Not only that but it would need to have the same MTD setup unless I'm mistaken.
Actually I'm going to give that a try with the nexus 7. I'll let you know what happens, won't be till tonight though.
Click to expand...
Click to collapse
Cool, Thanks.
Sent from my Galaxy Nexus using xda premium
JoeJonnyBoy75 said:
For that to work we'd need to get a device with similar hardware (CPU, Chipset, etc.) Not only that but it would need to have the same MTD setup unless I'm mistaken.
Actually I'm going to give that a try with the nexus 7. I'll let you know what happens, won't be till tonight though.
Click to expand...
Click to collapse
Galaxy nexus has very similar hardware. Someone should try porting it.
Sent from my Nexus 7 using xda premium
If someone still interested in the project, i'm very interested in it, i have a galaxy nexus (almost same hardware) so we can give it a try, im also a android developer, so if it need to build some apk for it to work, i could give a shot.
Anyway, if there is someone interested just post here and we do all we can to make that work.
edit: Only one problem, as I'm out of USA, i need the q apk to test if it will connect or not. I cant download from play store.
I'm sure there will be so many people interested in it. I just think that not to many of them enter this category on forum
I also need the nexus q image so I can flash it. I tried searching it but didnt find
I'm a (fairly) recent convert to Linux. Ubuntu 12.04 was great and persuaded me to drop Windoze. Ubuntu 14.04 was a frustrating due to lots of silly problems with Unity, I now use Linux Mint 17.1. When Ubuntu became available for the Nexus tablets I enthusiastically bought a Nexus 7 2013 WiFi device. I couldn't load Ubuntu Touch at all, or get the official dual boot to work. I ended up rooting the device and using MultiBoot in Android to dual boot Ubuntu Touch 1 from the 'devel' channel. What a disappointment, I gave up trying to use it a while ago and resorted to using Android, which at least works for me !!! I recently saw Ubuntu Touch 2 was available on the 'devel' channel, so installed it hoping it would be better. Within a couple of hours I ground to a halt, again !! This time I can't access my gmail account (added during initial setup), I just get a blank screen, I can't add any other accounts, I open the settings screen, it responds to my touch but does nothing else. Without any accounts open the tablet is just about useless, I can't access anything, I can't add any apps and I can't access any updates !!
Can anyone tell me if these problems are due to using MultiBoot on the Nexus or are these fundamental problems in Ubuntu Touch ? I thought the Nexus 7 was supposed to be one of the officially supported tablets ! I'm very wary of wiping Android completely (again) and trying another clean install of Ubuntu Touch as at least I can use the tablet with Android at present !!
Thanks
PaulM
PaulM55 said:
I'm a (fairly) recent convert to Linux. Ubuntu 12.04 was great and persuaded me to drop Windoze. Ubuntu 14.04 was a frustrating due to lots of silly problems with Unity, I now use Linux Mint 17.1. When Ubuntu became available for the Nexus tablets I enthusiastically bought a Nexus 7 2013 WiFi device. I couldn't load Ubuntu Touch at all, or get the official dual boot to work. I ended up rooting the device and using MultiBoot in Android to dual boot Ubuntu Touch 1 from the 'devel' channel. What a disappointment, I gave up trying to use it a while ago and resorted to using Android, which at least works for me !!! I recently saw Ubuntu Touch 2 was available on the 'devel' channel, so installed it hoping it would be better. Within a couple of hours I ground to a halt, again !! This time I can't access my gmail account (added during initial setup), I just get a blank screen, I can't add any other accounts, I open the settings screen, it responds to my touch but does nothing else. Without any accounts open the tablet is just about useless, I can't access anything, I can't add any apps and I can't access any updates !!
Can anyone tell me if these problems are due to using MultiBoot on the Nexus or are these fundamental problems in Ubuntu Touch ? I thought the Nexus 7 was supposed to be one of the officially supported tablets ! I'm very wary of wiping Android completely (again) and trying another clean install of Ubuntu Touch as at least I can use the tablet with Android at present !!
Thanks
PaulM
Click to expand...
Click to collapse
https://wiki.ubuntu.com/Touch/Devices
What version did you flash? Is it the most recent? Not sure about the status of multiboot support, try asking on #ubuntu-touch channel on irc.freenode.net.
Hi,
Judging from your post you installed Ubuntu from the "devel" channel. That one is actually quite outdated.
It is recommended to install the "stable" channel now. That will give you a much better experience.
I'd love to see you trying these builds.
nikwen said:
Hi,
Judging from your post you installed Ubuntu from the "devel" channel. That one is actually quite outdated.
It is recommended to install the "stable" channel now. That will give you a much better experience.
I'd love to see you trying these builds.
Click to expand...
Click to collapse
Ok, thanks for both your replies.
As far as I can tell MultiBoot is working Ok, I can boot into Android or Ubuntu quite happily.
According to Ubuntu Settings/About/OS I'm running Ubuntu 15.04 (r2), last updated 03/05/15, which looks like it's probably as up to date as it gets
MultiBoot shows the 'devel' channel is an alias of 'vivid', which taliles with the Ubuntu version info.. There is no 'stable' channel available via MultiBoot, just 'vivid', 'vivid-proposed' and a bunch of 'ubuntu-rtm/14.09' channels so it looks like I already have the latest version of Ubuntu-touch
Update - initial problem solved
I've solved the problem with adding accounts - the first time you open 'Settings/Accounts' you *have* to add an account or it locks you out !! If you back out you then can't add an account, if you add an account then it appears to work fine. This is the same with the 'vivid-proposed' channel. I'll try and find somewhere to report this problem.
There appears to be a major problem with exitting the 'vivid-proposed' installation. The only way I've found to exit Ubuntu Touch and reboot the Nexus 7 is to open a terminal and type 'sudo reboot'. With 'vivid' this works fine, with 'vivid-proposed' it takes *ages* before the Nexus even responds to the power button. When I first saw this I thought I'd bricked it, but thankfully not - Beware !!!
A correction to my previous posts - it's MultiROM I'm using, not MultiBoot
Cheers
Similar to my TWRP / Multirom thread, this is temporary until xda decides to add this device to the dev db list. A few comments and a known issues list will be all in this post. Please report any and all problems you find. This is still very early in the development process.
NOTES:
This will only install using my TWRP build here because I'm have to do some hacky things to support a unified build. I may eventually find a cleaner method.
This doesn't yet contain my attempt at controller pairing. The framework patches are there, but not the apk. It will be tested and included in later builds. Wifi doesn't work, so pairing wouldn't work anyways.
I had to use aosp libs to make this boot, which is different from my Portable and Tablet releases. The hdcp libs seems to be very different, so I have no idea if 4k works at all and I seriously doubt youtube and netflix drm will verify correctly.
You will have to wipe data to install this, make a backup first. Do note this is just /data, not the entire internal sd.
KNOWN ISSUES:
Wireless controller pairing not implemented
No audio over hdmi (so, no audio at all)
SOURCE:
device
kernel
vendor
CURRENT RELEASE:
cm-13.0-20160224-UNOFFICIAL-foster.zip
OLD RELEASES:
cm-12.1-20150819-UNOFFICIAL-foster.zip
cm-12.1-20150720-UNOFFICIAL-foster.zip
cm-12.1-20150709-UNOFFICIAL-foster.zip
missing default android keyboard?
installs fine boots into CM - displaying in 1080p on my monitor just fine.
missing android keyboard.
works fine with usb keyboard (logitech k400r)
amazon app store installs fine, recognizes all apps - minecraft PE crashes on start
touch pad / mouse freezes intermittently
netflix installs but does not play
great start, looking good.
I'm finding all kinds of interesting things working on this... Well, I got the stock libs 'working'. HDCP (or something in the graphics stack) locks up the system on boot when using a custom built kernel. From within CM or even from Nvidia's aosp tree. It will only boot with the kernel pulled out of an official boot image. I compared the ikconfig out of the official kernel with what I'm building in CM and they match. So, I'm kinda lost as to what black magic is at work here... Is something doing a crc check? Is there black box GPL violations in the stock kernel? I don't know. And I had a custom kernel booting stock when I was first trying multirom stuff. So that makes me *really* confused. For the moment, I've disabled kernel compiles in my device tree and I'm shipping a blob kernel. And I hate doing that.
Haven't looked at the missing keyboard yet.
Wifi is closer, but still not there. The wlan0 interface seems to init, but the p2p interface fails and brings it immediately back down. I'll do some more research into that over the weekend.
The screen flickers at times. Don't know why, but I think I saw some system props that affects the screen drawing on stock, once I find those again I should be able to fix that.
The OMX libs work now. Which means game streaming works. I tested a grid game already. Don't have Windows, so I can't test local streaming. And theoretically the aforementioned Netflix problem should be fixed by this as well.
I'm kicking off a build to run overnight (takes 4+ hours for a clean release build [on a AMD FX 9370, no less]), so I should have this stuff up first thing tomorrow morning (pending life (r)).
Edit: And... build failed. Starting over... So, looking at this afternoon now.
Edit 2: Well... I can make it boot when I tinker with it manually, but I'm not having much luck making a reproducible build from source. So... I'll have a release eventually, but with 4 hour rebuilds, I can't say when at this rate.
Steel01 said:
Similar to my TWRP / Multirom thread, this is temporary until xda decides to add this device to the dev db list. A few comments and a known issues list will be all in this post. Please report any and all problems you find. This is still very early in the development process.
NOTES:
This will only install using my TWRP build here because I'm have to do some hacky things to support a unified build. I may eventually find a cleaner method.
This doesn't yet contain my attempt at controller pairing. The framework patches are there, but not the apk. It will be tested and included in later builds. Wifi doesn't work, so pairing wouldn't work anyways.
I had to use aosp libs to make this boot, which is different from my Portable and Tablet releases. The hdcp libs seems to be very different, so I have no idea if 4k works at all and I seriously doubt youtube and netflix drm will verify correctly.
You will have to wipe data to install this, make a backup first. Do note this is just /data, not the entire internal sd.
KNOWN ISSUES:
Wifi doesn't enable. (ethernet works fine, though)
Keyboard not installed
SOURCE:
device
kernel
vendor
CURRENT RELEASE:
cm-12.1-20150709-UNOFFICIAL-foster.zip
Click to expand...
Click to collapse
screenshots ?
Glad to see ATV gettin some action ... ooooo hel I'm excited. I've been fastbooting your twrp img. for a few things and its working quite nicely on my pro model. BIG BIG thanks for that @Steel01 Does it look like there will be any issues reguarding which version console its running?
@aniel300: Screenshots? It's Cyanogenmod. The same Cyanogenmod as on any other device...
@ElwOOd_CbGp: Like mentioned in the OP, I do a hacky thing or two to support unified builds. It have the pro version myself, so that's what I test on. I'm pretty sure it will work with no extra problems on the 16 GB model, however.
Alright, I *think* I finally ironed my build problems (all related to using a prebuilt kernel... got to figure out a way to not have to do that), so theoretically I'll have a build out tomorrow. Probably won't be able to test much until the afternoon, so I doubt it'll be out bright and early.
yey! please keep going! AOSP + Kodi + Support for official remotes would be awesome!
Steel01 said:
@aniel300: Screenshots? It's Cyanogenmod. The same Cyanogenmod as on any other device...
@ElwOOd_CbGp: Like mentioned in the OP, I do a hacky thing or two to support unified builds. It have the pro version myself, so that's what I test on. I'm pretty sure it will work with no extra problems on the 16 GB model, however.
Alright, I *think* I finally ironed my build problems (all related to using a prebuilt kernel... got to figure out a way to not have to do that), so theoretically I'll have a build out tomorrow. Probably won't be able to test much until the afternoon, so I doubt it'll be out bright and early.
Click to expand...
Click to collapse
is it a hybrid rom ?
@[email protected]: Kodi is of great interest to me as well, so I'll work to make sure works well.
@aniel300: No, it's pure CM. I plan to make the TV stuff accessible, but it won't be there by default.
I finally got a bootable build, but it does show more problems. The launcher and some programs lag terribly. Not locking up, but slow enough to trigger ANRs. Netflix does still crash when loading a video, hopefully that won't be hard to fix once I can read the logs. The interface still flickers, but only the interface, not videos or games or such. I'll do some more testing this afternoon and unless an even worse problem shows up, I'll release.
New build is up. It appears the netflix bug affects others things too, like youtube. Appears to be audio related, but I don't have time right away to try and track down the root cause. So, consider this another bug hunting build and not truly usable.
I've fixed an audio problem, so sound and YouTube and all that works again. Netflix is still confusing me a bit, though. It appears to be a problem with the OMX libs, but not one seen on any other Shield device. Haven't spent too much time looking the last few days.
I'm in the process of restructuring the build setup on my dev machine. Like moving the build trees to a faster spinny disk and ccache to a ssd. That should get builds going a lot faster. 4 hours per build gets old real fast. And 45 minutes for a one package change. I plan to release a new build once I get that all sorted out.
what about you try to port android m tv developer preview instead or at least cm but with all the good stuff from android tv.
It seems Forge has unlockable bootloader they posted instructions also for home images so it's a start it should be easy to flash recovery if there was one. Sorry for going little off topic but this seems more active here
New build up. Seems the OMX libs are only partially working. Youtube works, but mxplayer and kodi fall back to their software decoders. Wireless appears to finally work, but logcat messages lead me to believe it's still not completely there. Oh, and the UI flickering is still there.
So, I loaded this build up and promptly installed HALauncher and Kodi. With the controller wired in, this seems to be a pretty usable setup. As things begin to stabalize, I'll probably start to recommend that launcher as a replacement for leanback. Now if only I can find a replacement for the leanback keyboard, I won't have to include any Google blobs... Suggestions are welcome for a free and preferably open source dpad enabled keyboard.
Really good progress tonight. Barring something patentably bad happening, I should be releasing a new build tomorrow. List of progress:
1. Interface flickering is way down. Don't know if it was something I did or if upstream CM tweaked stuff. Either way, it's bearable now. I only notice it on some transitions, whereas before it was all the time on builtin android interface stuff.
2. OMX libs work. Hardware accelerated video and movies, plus game streaming and grid works now.
3. Leanback IME (controller enabled keyboard) is part of the build. It's smaller than on stock, but still usable.
Some things still need work, though:
1. Netflix still fails to play a video. At least it doesn't crash to desktop anymore...
2. Wireless controller pairing fails. The app runs and it tries to set stuff up, but seems to hit the same problem the Portable does most times. I have got the Portable to pair once or twice, though, so some people might be more lucky than me and it'll actually work.
All in all, this looks like a very usable test build, if not a daily driver for some use cases.
Hi steel01
I am planning to buy this device, pro version, but its true that the SSD storage drive has some problems about performance and response, speed, looking all around for a good review about this and nothing found yet,unbelievable, I want to be sure the 16 GB or pro version.
Counting on you,like you doing on the shield tablet,interesting approach with CM,look forward, when I get it I will install the Zulu99 full android ROM first and them....cm
Good luck on this, thank for you hard work
I haven't had any lag problem with the Pro edition, but I also haven't done anything IO intensive. So, I'm not really a good yardstick for that. However, the pro edition does have the 16GB hardware, just needs some tweaking to be able to access it. Probably could do some boot image trickery to get /system on that device. Haven't looked at that yet since CM and multirom are higher priority in that order.
Other stuff came up today, so I didn't get to test the new build. As soon as I drag it back across the house to reflash it, I'll verify the build and upload. Maybe tomorrow afternoon.
I am just a thinker, its possible to use all the best feature of CM and put it in android tv or viceversa.
I dont own yet a android tv device, but is like no to manny peoples like it, may restrictions from google, its entirely new or old UI, developers needs to port their apps to android tv platform, maybe we like the custom launcher or just the regular launcher, well its until everybodys decision.
Multirom sound good, but i like the basic and fast, what about if we can have two launcher in the GUI or UI, can be possible, there is a really need an apps to be ported to android tv platform, why google put restriction, we can sideload to get what we want, i think this is confusing android OS is android.
I think the best thing to do its going back to the basic.
Well, I didn't get to testing today either. I think I'll run another build tonight and try to get to a test tomorrow night.
@duanim: That is my end goal for my device. The Shield TV running CM with a 10 foot launcher (that isn't leanback) and everything accessible from the controller. The current build isn't too bad for that, but not all the way there. CM and HALauncher works pretty well. But the controller still needs help wirelessly.
There's one major problem with running android and android tv simultaneously. It seems the play stores are different. You either get the TV apps or the normal apps, not both. If someone knows different or a way to work around this, I'd love to hear it.
Still can't get the dumb wireless controller libs to package the way I want. So the latest build is missing some, causing the app to continuously force close, making the build unusable. I'll split it like I didn't want to and should have a releasable build tomorrow.