SlashTV Android OS for Odroid XU4 - Android Stick & Console Computers General

I'm putting this here because the cpu is Samsung exynos, and it doesn't fit into the other areas here.
This is an Android distro based on LineageOS, preconfigured to be a retro gaming and media all in one, it has Netflix, Plex, Kodi, Atari to DC, moonlight works. It's got root and play store as well.
This is a beta release, and will be updated to stable in the not too distant feature. Some wireless controllers are buggy, besides that most things are good.
This Slash TV release is sponsored by The Retro Arena
I have added an update to the google drive, there are now two images available.
Link:
https://drive.google.com/open?id=1SKbJKOQ2H-t4_0HwvBCbzBJkoonR1fdV
Sources:
https://wiki.odroid.com/odroid-xu4/software/building_android
https://github.com/hardkernel
https://github.com/LineageOS

Reserved

Ill check it out

Following!
I'll have an idle XU4 very soon which I might re-purpose as TV box.

WouterGrimmie said:
Following!
I'll have an idle XU4 very soon which I might re-purpose as TV box.
Click to expand...
Click to collapse
there are 3 images for xu4 available, all android based. There are linux distros as well, one that I create. but this is an android forum

Hello! Hey, many thanks for your work! I'm trying to get this working but it doesnt boot. I'm using a Xu4 with an sd card, the XU4 is set to boot from card and I have flashed the card using Balena. What could be wrong?
EDIT: Anyway I will read the Odroid Android setup instructions to see if I can find something.
EDIT2: I just can't find a boot.ini or related inside any partition. A bit lost here... I will not move forward because of a lack of time. I really want to try it out.
EDIT3: Found this: https://forum.odroid.com/viewtopic.php?t=31071 - Basically says I must be patient and let it run for about fifteen minutes to allow it to boot properly. I will reflash and try again.
The red led on the board is fixed on, and the cooler is running at maximum while I wait for it to boot. Is that the common behaviour?
Many thanks!!!!!!
EDIT4: Nevermind, I've flashed again and it worked.

Related

[ROM] [Port] [ADT-1] Android TV - TAS5713 [EXPERIMENTAL]

This is my first port so there may be some issues but would love for any help squashing bugs once it gets going. I've built this similarly to how Android TV was ported to the OUYA in this thread.
Similarly I am using the following for this port:
His ADT-1 System dump from this post.
His Android L port to the 2012 Nexus 7 from here.
and last but not least
His CM11 Amp Build from here.
Working
Unknown
Not Working
Unknown
Git Repo
here
Builds
v1 Can be downloaded here
v1.1 Can be downloaded here
Changelog
v1 Initial Release
V1.1 Hopefully fixed bootloop issue, see commits
Installation
* Install CM11 first as per here
* Boot into recovery, install downloaded zip, wipe all, reboot
* Wait
* Enjoy
I haven't had a chance to install it yet, so it's very alpha right now but feel free to contribute to the repo.
As always only you are responsible for your device.
Just to let you know: you're not alone in this. I'll try to get this working in my free time as well.
Very excited for this. will install soon and give feedback. I'm not a developer but very experienced and own a nexus Q myself.
Thanks a lot for working on this.
I just saw this thread. Thanks for working on this. What's working/not working so far?
Has anyone flashed this yet? I want to try, but I won't be back home until next week. Just curious if anyone has had any success?
I've installed this just now ... unfortunately it doesn't look like its going to boot.
Followed all instructions ... bootscreen is moving but no load after 20 mins.
EDIT:
It did not boot and I am not sure why at this time.
Lifetrip718 said:
I've installed this just now ... unfortunately it doesn't look like its going to boot.
Followed all instructions ... bootscreen is moving but no load after 20 mins.
EDIT:
It did not boot and I am not sure why at this time.
Click to expand...
Click to collapse
Hopefully there will be some kind of fix. Nexus Q is the dream AndroidTV.
Still no progress past the boot animation sadly - even with the updated build. Does it matter which audio output version of CM11 you have flashed first? (edit: tried several & no joy)
Also, I tried to take a logcat to see if I could indentify where it was getting stuck during the boot proccess but sadly it would not let me as it is showing as "offline" which suggests that Android has actually booted and is therefore requiring an RSA key but has not made it as far as displaying any kind of interface.
Thanks for starting to work on this anyway. I would love to get Android TV working on this device.
I think I may know what the issue is with this. For the Ouya, using a 5.0 build for the N7 2012 made sense because they both use the Tegra 3. However the Nexus Q does not use the Tegra 3, internally it is almost exactly the same as the Galaxy Nexus and they both use the OMAP 4460, therefore using the Nexus 7 2012 base will not work.
If you use the latest Android 5.0 port for the Galaxy Nexus instead then things should (hopefully) work just fine. The CM12 port for the Gnex also includes some updated GPU drivers from Texas Instruments which give better performance and provide better compatibility with newer Android versions.
I hope this may help you create a working Android TV port. I may try and build something myself during late January if I get the time but I can't make any promises. I've only just got the Nexus Q so I'm just starting to play around with it.
I am excited to see the progress on this. If this works, the possabilities are endless. Thank you every in advance for their support. If we can get this up and going, I am definalty donating to the cause for someones hard work (i wish i knew how to do this!)
To the developer of this rom if you want help just pm me. I'm thinking of starting a hangout group for porting Android TV.
I am very interested in this project and would be interested in helping out. I have never done anything like this, and I would like to see the nexus q live on.
If the full android-tv functionality is not possible, it would still be interesting to me to turn it into a 'cast ready speaker' for cast audio. (obviously I would need to hook my own speakers to it)
It has an amp, the ability to hook up to wifi, and volume control. In my mind, it would need no other functionality other than the ability to cast to it.
If there are any suggestions or guidance, please throw them out there. I will do my best to run with it.
Really hoping to see this go somewhere.
So is development for this dead?
Is there anyway to get development spurred back up for this? I would gladly donate some $$$ for someone to put some time into it.....If I new how too, I would help in development. This would be the ULTIMATE Android TV player!!!!!
Kovs said:
Is there anyway to get development spurred back up for this? I would gladly donate some $$$ for someone to put some time into it.....If I new how too, I would help in development. This would be the ULTIMATE Android TV player!!!!!
Click to expand...
Click to collapse
The developers need to first get android L running on the device. The port is nearly impossible if your device doesn't have a fully function 5.0 port. The graphics HAL is the main thing I think will fail.
You all are welcome to give my AOSP 5.1 ROM a try, with the understanding it is in an extreme ALPHA state (first build, no 3rd party features implemented yet), and can tolerate restoring a backup if you encounter issues. I'm not sure how many still are actively using these on XDA, but the more testers the better so development can be expedited.
http://forum.xda-developers.com/nexus-q/development/rom-unofficial-cm12-nexus-q-t3023498
Awesome thank you for your work. Hopefully with that, this can take off!

[BUILD][03-Sep-2016][SP2] Android-x86 / Remix OS

Hi Devs!
I'm wondering why not more people here working to get android lollipop working on our beloved tablets
I started to read a little bit into the topic and found quick easy solutions on the web to get ordenary android-x86 images boot very well.
Draco wrote an How-To that is easy and works also perfect with the Surface-Pro
https://groups.google.com/forum/#!topic/android-x86/D85Jq02cLrE
I modified the UEFI files to work better with a out of the box intallation of the Surface and put it together with Android 5.0.2 test builds.
Collect everything I've uploaded in a Folder:
https://drive.google.com/folderview...V3VU0wYV9MY2VVVkY2eGJPT0EyTkQ4WnM&usp=sharing
working
multitouch screen
sound
internal Wifi from SP2 (88W8797)
Bluetooth
Type Cover 2 (on installation also)
Touch Cover 2 (on installation also)
Inclinometer (= rotation sensor)
Ambient light sensor
Front Cam (tested with open Camera)
Rear Cam (tested with open Camera)
OpenGL (tested with Antutu)
Issues so far
Accelerometer [HID-SENSOR-200073.0]
Gyroscope [HID-SENSOR-200076.0]
Magnetometer [HID-SENSOR-200076.0]
MS Pen not working
YouTube Videos not working (only low resolutions, working over chromecast)
...
Are there more people interrested in getting latest Android working better on our Surface Pro?
I can support and provide with modified files and my modified How-To if someone like to join.
Remix OS link:
Remix OS with working WiFi
Bliss-x86 link:
https://forum.xda-developers.com/android/software/x86-bliss-x86-pc-s-t3534657
regards
Sandman01
bootmanager, gapp[EXT4], WIFI [firmwar+module], Type/Touch Cover 2
How-To
Here to download a Testbuild for Android 5.0.2 from Google Groups from rgb
https://groups.google.com/forum/#!topic/android-x86/3xClAbl5D_w
Info:
If an microSD card is inserted the boot process will fail, because the microSD replaces the SSD to be the hd0 device.
Solution: change the grub.cfg entry from hd0 to hd1 and also do the mod in the loopback cfg
[EDIT]: sinc latest UEFI Firmware update, booting from microSD isn't working anymore
gapps can be used from any place, just copy the contens of the .zip file to there correct places.
atm I use a small gapps package from paranoidandroid (PA)
http://d-h.st/o72
WiFi: (not required any more on available builds)
I compiled a build on my Ubuntu intallation and extract the files for you, hope copy the files works also on the downloadable iso.
Please give me feedback if the files are working for you.
usb8797_uapsta.bin replaced in /lib/firmware/mrvl/
mrvl folder replaced in /lib/modules/3.10.58-android-x86+/kernel/drivers/net/wireless
Touch/Type Cover 2: (not required any more on available builds)
hid folder replaced in /lib/modules/3.10.58-android-x86+/kernel/drivers/
Genymotion is a good choice
snailx said:
Genymotion is a good choice
Click to expand...
Click to collapse
Genymotin is only a emulator as far as I see!
I'm one of the users who want to run an os natively like i did with osx.
sandman01 said:
Genymotin is only a emulator as far as I see!
I'm one of the users who want to run an os natively like i did with osx.
Click to expand...
Click to collapse
Hi,
I'm very interested in this!
Could u pls post a tutorial of installing OSX on surface pro 3 ?
I have only installed Max OS 10.9 in VMware, but it's not smooth verywell.
Does WiFi work well within your OSX install ed on the Disk ?
Hi!
For OSX Yosemite go to
http://www.insanelymac.com
I'm on the SP2 and WIFi only per external USB Stick sorry
I hope similar tho the SP2 kex Files for SP3 are available
For me OSX with the use of touchscreens is not very comfortable.
Is like Win7 to small buttons
Also at Android I only get WIFI working via external USB Stick atm.
Sent from my D6503 using XDA Free mobile app
Thanks a lot, I'll try it.. someday..
Solution for gapps found by the guys from google groups.
Use a EXT4 Partition on the USB-Drive/SSD to get gapps working like a charm.
Post 2 with HOW-TO updated
Surface Pro 3
I can verify that this does not work on the Surface Pro 3. The touchscreen doesn't work, the type cover doesn't work and the pen doesn't work, so I can't even choose my language on the first screen.
epic118 said:
I can verify that this does not work on the Surface Pro 3. The touchscreen doesn't work, the type cover doesn't work and the pen doesn't work, so I can't even choose my language on the first screen.
Click to expand...
Click to collapse
I'm sorry for that, if you have time, can you also test a available Android 4.4.4 installation if olso there touchscreen is not working?
I correct the title and update the OP that everyone sees that on SP3 ther are more problems.
Touchscreen is working on SP2 but Type Cover 2 did not so I also need an external USB keyboard for analysing things in console (ALT+F1)
regards
Sandman01
sandman01 said:
I'm sorry for that, if you have time, can you also test a available Android 4.4.4 installation if olso there touchscreen is not working?
I correct the title and update the OP that everyone sees that on SP3 ther are more problems.
Touchscreen is working on SP2 but Type Cover 2 did not so I also need an external USB keyboard for analysing things in console (ALT+F1)
regards
Sandman01
Click to expand...
Click to collapse
Sure, I've got time!
I'm just going to try installing 4.4.4 and seeing if it works.
I'd like to see Lollipop for my RT
calikevin said:
I'd like to see Lollipop for my RT
Click to expand...
Click to collapse
Haha, I understand you, but I have to mention that I'm a noob.
As far as I understand, creating/porting the drivers/firmware/kernel modules for the surface rt will be much more difficult than starting from an existing project like android-x86.
At the moment I split my SSD into more partitiones, installed the third OS (Ubuntu 14.10), get the complete code from git repository and try to set up the build environment to learn more about things are working together.
Also on Ubuntu the WIFI (USB version of MARVELL 88W8797) wont work out of the box but after replacing the firmware from git.marvell.com I get it up working.
Unfortunately this is not working on Android that easy.
The kernel modul for WIFI is loaded (mwifiex.ko) but no additional network interface is showing (mlan0 should be created)
sandman01 said:
Are there more people interrested in getting latest Android working better on our Surface Pro?
I can support and provide with modified files and my modified How-To if someone like to join.
Click to expand...
Click to collapse
Haha, so glad I found this thread. First things first, is your avatar a paragliding or skydiving canopy? If so, end cells look fantastic and very nice acrobatics with your leg straight up...how did you manage that?
I spent all evening and well into the morning finally getting 4.4-r2 running successfully on my SP2 using Draco's guide. Very nice work there from him.
It's unbelievable how smooth the Android experience is natively. When people recommend the emulators they just don't understand until they experience it themselves.
I have the Type Cover 1, and it's fully functional, but bluetooth and WiFi do not work. I have an Edimax EW-7811Un which does work, but the internet speeds are unusable; it maxes out at .25 Mbps. Is there something I need to do or is there another WiFi dongle which works better? Which one do you use?
Do you know of any combo WiFi/BT dongles that work?
If I can solve the WiFi issue (don't really care about having a small dongle plugged in for android), I will be one happy camper.
One more question: I read the 4.4-r1 had some drivers or something that 4.4-r2 didn't. However, I couldn't get it to boot from USB (it would hang on the android screen). With that said, I just replaced the files within the 4.4-r2 files with the 4.4-r1 on the USB. Do I have to rebuild the thumb drive or can I just replace files?
I will try the Lollipop build later. Good to find someone else doing this! Too bad we're both newbs lol.
dimex said:
Haha, so glad I found this thread. First things first, is your avatar a paragliding or skydiving canopy? If so, end cells look fantastic and very nice acrobatics with your leg straight up...how did you manage that?
I spent all evening and well into the morning finally getting 4.4-r2 running successfully on my SP2 using Draco's guide. Very nice work there from him.
It's unbelievable how smooth the Android experience is natively. When people recommend the emulators they just don't understand until they experience it themselves.
I have the Type Cover 1, and it's fully functional, but bluetooth and WiFi do not work. I have an Edimax EW-7811Un which does work, but the internet speeds are unusable; it maxes out at .25 Mbps. Is there something I need to do or is there another WiFi dongle which works better? Which one do you use?
Do you know of any combo WiFi/BT dongles that work?
If I can solve the WiFi issue (don't really care about having a small dongle plugged in for android), I will be one happy camper.
One more question: I read the 4.4-r1 had some drivers or something that 4.4-r2 didn't. However, I couldn't get it to boot from USB (it would hang on the android screen). With that said, I just replaced the files within the 4.4-r2 files with the 4.4-r1 on the USB. Do I have to rebuild the thumb drive or can I just replace files?
I will try the Lollipop build later. Good to find someone else doing this! Too bad we're both newbs lol.
Click to expand...
Click to collapse
Hi there!
I got 4.4-r2 working on my SP3 and about the internet issue you can use usb tethering with your Android phone
Both LTE and Wifi work and I get the same speed as my phone
dimex said:
Haha, so glad I found this thread. First things first, is your avatar a paragliding or skydiving canopy? If so, end cells look fantastic and very nice acrobatics with your leg straight up...how did you manage that?
Click to expand...
Click to collapse
Thats a paragliding canopy, and what you can see is the basic you have to manage when you want to fly acrobatic style.
Its a full stall where the canopy is not flying forward any more an the pilot is falling backwards untill the body stabilized under the backflying canopy
At the moment I use a USB2.0 HUB to connect the USB-Drive and the WLAN Stick at the same time. because after the last firmware Upgrade of my SP2 the Tablet do not boot any more from the microSD card. ?!?
The WLAN Stick is a original Samsung WIS12ABGNX for my Samsung TV/BD Player I used to test what can be done with them.
on Win8.1 I got a Speed of approx. 8-9MByte/sec (internal Marvell Wifi)
on Android 5.0.2 I got 4-5MByte/sec (external Samsung Wifi)
on Sony Xperia Z2 5.0.2 (unofficial) I got 2-3MByte/sec (internal ... Wifi)
when copy a file between my NAS (100MBit Network LAN structure)
so there is room for improvement, but first I really like to get more familiar with building Android from source by my self and try to get the internal Wifi working.
Also on Ubuntu 14.10 WiFi is working but not very stable but it does. (with including the firmware from git.marvell.com)
shasen1235 said:
Hi there!
I got 4.4-r2 working on my SP3 and about the internet issue you can use usb tethering with your Android phone
Both LTE and Wifi work and I get the same speed as my phone
Click to expand...
Click to collapse
I'd rather get a small nano USB WiFi dongle and "set it and forget it." I don't want to have to carry around the SP2 and my phone with a USB cable just to use the internet.
sandman01 said:
Thats a paragliding canopy, and what you can see is the basic you have to manage when you want to fly acrobatic style.
Its a full stall where the canopy is not flying forward any more an the pilot is falling backwards untill the body stabilized under the backflying canopy
Click to expand...
Click to collapse
Ya, the image was blurry, I was pretty sure that was a paragliding wing. I was a competitive high-performance canopy pilot (swooper) but have been out of the sport for a number of years. Some of the canopies now have radically different designs and the different wings between skydiving/paragliding/etc are merging now to make some cool stuff. Made a few paragliding flights, but never got into it.
sandman01 said:
after the last firmware Upgrade of my SP2 the Tablet do not boot any more from the microSD card. ?!?
Click to expand...
Click to collapse
You were able to boot android directly from a microSD and keep the SSD untouched (didn't even think of that)? Did the upgrade affect the partitions at all? Maybe the set root=(hd0,gpt#) and root=/dev/sda# changed, but I'm sure you already looked at that.
sandman01 said:
on Win8.1 I got a Speed of approx. 8-9MByte/sec (internal Marvell Wifi)
on Android 5.0.2 I got 4-5MByte/sec (external Samsung Wifi)
on Sony Xperia Z2 5.0.2 (unofficial) I got 2-3MByte/sec (internal ... Wifi)
when copy a file between my NAS (100MBit Network LAN structure)
Click to expand...
Click to collapse
Ok, I just want to make sure we're on the same page here. So on Android you were getting 5 MBps (40 Mbps)? That's super fast, unless you meant 5 Mbits, which is still faster than what I'm getting. Right now, I'm getting 0.25 Mbps (0.03125 MBps) which is unusable. I have another WiFi dongle arriving today, so maybe that will help. If it doesn't, why am I getting such slow speeds?
dimex said:
Ok, I just want to make sure we're on the same page here. So on Android you were getting 5 MBps (40 Mbps)? That's super fast, unless you meant 5 Mbits, which is still faster than what I'm getting. Right now, I'm getting 0.25 Mbps (0.03125 MBps) which is unusable. I have another WiFi dongle arriving today, so maybe that will help. If it doesn't, why am I getting such slow speeds?
Click to expand...
Click to collapse
Hi!
I did a 2nd x-check
Defenetly can receiver a 260MB file Form my NAS with ~3,2 Megabyte (~2min) per second and transmit the same file with ~4,5 Megabyte per second back to my NAS with the external Samsung USB WiFi stick
I would say its also possible to installiert Android to the microSD on a EXT4 partition and boot it via Grub.
Yes its all about the (hd0,gpt2) and /dev/sda2 or similar.
Just try it and if the numbers are not correct Boot into Grub and adapt the setting by pressing "e" and thest the setting with "F10"
Well I just tried the TP-Link TL-WN725N and it did not work at all.
Tried within 4.4-r1 that's installed to SP2's SSD and Lollipop booting from USB. WiFi just hangs at turning on and doesn't recognize the dongle.
Why am I getting such slow speeds on the other dongle? And do you know of any specific nano WiFi dongles that work well for this application? I tried searching on Google and in the Android-x86 group but came up empty.
I just want WiFi!!!! :crying:
Hi sorry for my english,there is a guide for install android on surface pro 1 ?
I think is same of surface pro 2, thanks.......

Shield Portable Marshmallow Options?

I see there are several custom marshmallow ROMs for the Nvidia Shield Portable. I'm thinking of upgrading as I'm sick of always having to move my apps around and not being able to update them. Adoptable storage solves that issue.
The ones I've found are:
CM: https://forum.xda-developers.com/nv...t/rom-cyanogenmod-12-shield-portable-t3042192
LineageOS: https://forum.xda-developers.com/nvidia-shield/development/rom-lineageos-shield-portable-t3562831
RR: https://forum.xda-developers.com/nvidia-shield/development/resurrection-remix-t3465740
Which of these is the most stable and supported? It appears CM or LineageOS.
Are any shield features supported on these? Such as (in order of importance):
Console mode
Controller
Gamestreaming (using official app, not moonlight)
Gamepad mapper
Thanks!
I'm running CM13 for the same reason, adoptable storage. Controller works but most shield specific stuff does not and other apps are needed. Let me know which one you end up on. Haven't booted mine for a while and thinking of wiping it again.
LineageOS is the continuation of CyanogenMod, I wouldn't use the cm builds anymore. And wow, somehow I missed RR getting released, need to go take a look at it sometime.
As for feature support (should apply to all custom ROMs, but I can't be 100% sure about RR):
Console mode: Yes, works fine.
Controller: Built-in works, wireless does not. Been working on the wireless support for years. I can make them pair and work, but there's no user friendly way to do so yet. See the end of the shield apps thread in the tablet section for more info.
Game stream official: No, does not work. As far as I can tell, support for the tegra 4 was completely removed from the M version of the shield hub streaming. As such, I cannot fix it. Moonlight does work, I am told. Don't use streaming myself as I don't have windows.
Gamepad mapper: This is virtually impossible to port from stock. Tincore is the alternative, but is a pain to set up.
Thanks for the informative response! Sounds like LineageOS is the way to go. If I decide I'm going to keep my portable I'll probably flash LineageOS (I'm debating selling it as I bought a GPD Win, but it's found a use as an Android TV system for my wife... so I'm debating keeping it or selling it and buying a cheap chinese system).
I've posted an atv build or two in my cm thread. Working on making atv work better in lineage right now. Been having troubles the last couple weeks, but have a couple more devs looking at the problems now. Once those settle down, I'll run another build for roth. It worked really well for the short time I had it installed. Might even end up my normal install once the kinks get worked out. But if you're interested in atv, I am working on it. If you want a really nice dedicated atv system, the shield android tv is amazing. For kodi, retroarch, etc, etc. A bit pricy, but totally worth it for the features.
Thanks, I'll look into it, but it's just a kitchen TV machine. All she really uses it for is CrunchyRoll and YouTube (hence why a cheap chinese system would be perfect).
Steel01 said:
LineageOS is the continuation of CyanogenMod, I wouldn't use the cm builds anymore. And wow, somehow I missed RR getting released, need to go take a look at it sometime.
As for feature support (should apply to all custom ROMs, but I can't be 100% sure about RR):
Console mode: Yes, works fine.
Controller: Built-in works, wireless does not. Been working on the wireless support for years. I can make them pair and work, but there's no user friendly way to do so yet. See the end of the shield apps thread in the tablet section for more info.
Game stream official: No, does not work. As far as I can tell, support for the tegra 4 was completely removed from the M version of the shield hub streaming. As such, I cannot fix it. Moonlight does work, I am told. Don't use streaming myself as I don't have windows.
Gamepad mapper: This is virtually impossible to port from stock. Tincore is the alternative, but is a pain to set up.
Click to expand...
Click to collapse
Thank you for doing all this work! As you saw based on the other threads, I am using LineageOS now. I haven't fully tested everything yet, but so far things are mostly working well.

HELP : Port Android TV

I just want to ask that if Android TV hardware uses the same hardware as a mobile phone despite the resolution. isn't that possible that we can port Android TV to any device with Qualcomm chipset like our beloved PICO and connect it with TV using micro USB to HDMI like we mirror the screens and use it as our media server?
Tell me if I am wrong?
Well, I am a noob in porting Roms but not in the computer.
Please help? If you people have any Ideas.
it is my first post please be gentle.
kira6667 said:
I just want to ask that if Android TV hardware uses the same hardware as a mobile phone despite the resolution. isn't that possible that we can port Android TV to any device with Qualcomm chipset like our beloved PICO and connect it with TV using micro USB to HDMI like we mirror the screens and use it as our media server?
Tell me if I am wrong?
Well, I am a noob in porting Roms but not in the computer.
Please help? If you people have any Ideas.
it is my first post please be gentle.
Click to expand...
Click to collapse
I had the same question and this is my very first post too. Recently bought the Shield TV and while setting it up I was like “Why can’t phone h/w do this?” I have an old Nexus 5 (N5) with slimport and HDMI cable that puts out a nice display on my big TV.
So…
The N5 already had TWRP and LineageOS 14.1 (LOS) on it and that works very well. I use open-gapps for google apps. The N5 is called Hammerhead.
I see where open-gapps has tvstock build with the ATV framework apps (TIF core and base apps for play store and youtube etc.).
I’ve been playing with different configurations of the tvstock load on top of latest N5 lineage build. I have it booting and into ATV launcher. Several apps fail at boot time and it has limited capability so far.
Mods for tvstock install so far:
gapps-config.txt with most of base lineage apps disabled (audio, music, recorder, mail, etc.)
installer.sh:
--- mod to force the device_type to tv and set the core apps to tvcore
--- Mod to remove use of ATV’s setup wizard (setupwraith) that seems to crash and not allow launcher. Enabled normal LOS setup. The ATV setup also seems to disable ability to enable developer options too.
I created an XDA account just to explore creating a thread or something to see if anyone else has attempted ports. Web searches have not given much. Some RPi 3 info, Odroid boards and the Linaro stuff but that didn’t help me any as they don’t get into the details of how to configure the builds.
ercatv said:
I had the same question and this is my very first post too. Recently bought the Shield TV and while setting it up I was like “Why can’t phone h/w do this?” I have an old Nexus 5 (N5) with slimport and HDMI cable that puts out a nice display on my big TV.
So…
The N5 already had TWRP and LineageOS 14.1 (LOS) on it and that works very well. I use open-gapps for google apps. The N5 is called Hammerhead.
I see where open-gapps has tvstock build with the ATV framework apps (TIF core and base apps for play store and youtube etc.).
I’ve been playing with different configurations of the tvstock load on top of latest N5 lineage build. I have it booting and into ATV launcher. Several apps fail at boot time and it has limited capability so far.
Mods for tvstock install so far:
gapps-config.txt with most of base lineage apps disabled (audio, music, recorder, mail, etc.)
installer.sh:
--- mod to force the device_type to tv and set the core apps to tvcore
--- Mod to remove use of ATV’s setup wizard (setupwraith) that seems to crash and not allow launcher. Enabled normal LOS setup. The ATV setup also seems to disable ability to enable developer options too.
I created an XDA account just to explore creating a thread or something to see if anyone else has attempted ports. Web searches have not given much. Some RPi 3 info, Odroid boards and the Linaro stuff but that didn’t help me any as they don’t get into the details of how to configure the builds.
Click to expand...
Click to collapse
Well i think you have a little progress, well i couldn't experiment it because my connection is limited and AOSP clone eat lots of data. Please let me know if you can boot it up and mirror it on tv.
I have a Nexus 9 and wish to have Android TV on it too. Some things work just by flashing tvstock gapps. But like settings doesn't work. We should work together to bring Android TV to our devices.
Delta._the_.wolf said:
I have a Nexus 9 and wish to have Android TV on it too. Some things work just by flashing tvstock gapps. But like settings doesn't work. We should work together to bring Android TV to our devices.
Click to expand...
Click to collapse
need develop android tv - phone series ( but other person make gsi and not boot stuck but other tester boot into home screen)

.

It seems that contributing to LOS building ROM is not anymore tolerated, this post is deleted.
Maybe @Scavenger87 wants to take a look here ;-)
I guess it's better to have an own dedicated thread.
Thanks for setting up a distinct thread. Things were getting confusing!
john_matrix said:
Maybe @Scavenger87 wants to take a look here ;-)
I guess it's better to have an own dedicated thread.
Click to expand...
Click to collapse
Hey John great idea with opening a new Thread because i also think its really confusing already
john_matrix said:
@Scavenger87: Steel01 advised to let 15.1 (I think he is right because it's too old and because lot of changes have been done between 15.1-16.0)
Also have found this during LOS 16.0 debugging and when application is crashing:
Starting from Android 9, LMK can be implemented in userspace and needs new optimization settings:
Low Memory Killer Daemon | Android Open Source Project
source.android.com
Will see if this new userspace LMKD can be tuned.
@Trevor_g: can't say... I don't have an Nvidia controller to test.
Click to expand...
Click to collapse
Ok yeah i think he's right for multiple reasons
- 15.1 had still unsolved issues aside of broken omx like the crashing nv games app and not working screen mirroring which is working so far on 16.0
- 16.0 is Android 9.0 based which is the same as the actual Software for the Shield TV. That means there is maybe a chance they can use some Codes or even Apps like the Shield Accessories to makes things like the First Controller working again over WIFI.
I even found a lot Nvidia OEM Apps here on APK Mirror : https://www.apkmirror.com/apk/nvidia/
I think i start testing around with those apks as soon i installed the lasted 16.0 build
@Trevor_g
For your question i have to check that again on 16.0 with the old Controller but i think its still only working over a OTG Adapter.
Like i mentioned above maybe the Shield TV Accessories App is working.
mirhl said:
https://gist.github.com/webgeek1234/8ef1bd105d2add3aa9c29028c2befbb0
https://github.com/vartom/drivers-kernel-nvidia-49/tree/smaug49/drivers/hid
https://github.com/devmapal/nvidia-shield-controller-driver
Click to expand...
Click to collapse
Someone even mentioned this Linux Driver for the Controller
But to be honest dont suspect too much on lets say all this bonus functions because first the LOS Team have to work on the base build to make it stable and running right
Ok i installed the latest build (4/1/21) yesterday on my LTE Tablet over sideload because i had no extra SD Card to format it to FAT32 and with the new TWRP 3.5-9.0.
I installed also the Pico Gapps and then TWRP said when i was about to Restart that there's now OS installed.
But thats seems to be a bug with TWRP itself because after the restart there was the LineageOS screen waiting for me and after a freeze for about a minute or two i was able to complete my installation.
After this i now can say its the most stable LOS 9.0 Rom so far !
It has very less apps crashing so far i only had to start them twice sometimes and also the hw acceleration working now most of its time at Chrome and on the Youtube App.
I can really see there has going again a lot of work into this Rom and its really a pleasure now to see how it get more stable everytime.
Big thanks to @Steel01, @npjohnson, the whole LineageOS Team and of course to @john_matrix
Btw @john_matrix did you change anything on the partitions you mentioned earlier on this build ?
@Trevor_g
I did a short test yesterday with the controller and as suspected it doesnt recognize by the tablet. I soon test out those Android 9.0 based Accessories App from the Shield TV
Thank you for the rom
Can I just flash this over Lineage 14.1 or do I need a factory wipe?
Did anybody test gamepass streaming yet?
danielandross said:
Thank you for the rom
Can I just flash this over Lineage 14.1 or do I need a factory wipe?
Did anybody test gamepass streaming yet?
Click to expand...
Click to collapse
Yes you have to wipe the device first in TWRP to install this rom.
Maybe a little general guide for everyone here who want to try this build in this early state and help tracking bugs
For an clean Installation its important to wipe the device first with TWRP like shown on the first Screenshot.
After this go to Advanced and choose everything choosen on the second Screenshot.
Now you shutdown the Tablet and insert the SD Card or plug in the cable for sideloading.
After turning on the Tablet and choose Recovery Mode again, first install the Rom of course then choose Wipe cache/dalvik.
Now you have to install Gapps if you want to use it. Its recommend to use only the Pico Package.
Wipe cache/dalvik again and restart the device.
If you use Sideload it might says in the Shutdown Menu :
No OS installed !
Which is a bug in my opinion of the new TWRP 3.5-9.0 Package but please use this Version of TWRP in any case that the basement of the installation is everywhere the same !
This is IMHO the way to install a Rom in a clean way and helps tracking down bugs better when everyone used the same methodes.
@john_matrix
I installed the Rom today on a K1 16GB with the methode i described above and did it with my regular SDCard i use in all my Tablets. In comparsion to installing over sideload it didnt get the No OS installed! message at TWRP and i didnt had that 1 minute freeze at begin of the install-wizzard after the LOS Logo.
Also the Rom seems to be same stable as the one on the 32GB model.
But i have to test it a bit more side by side to make valid statements
Also Nvidia Games working nice as you can see on the Screenshots
Hi guys, so, long story short i got scammed on a dutch advertising portal and ended up with one of them shield tablets which were recalled a few years ago. Yep, those with the defective battery that may burst in flame one day
Anyways, i figured that since it hasnt happened until now, i might just be lucky and give it a shot.
Its great to see that there is still some active development of this device! flashed this rom and i gotta say im positively surprised. Its running nice and smooth and even though it crashed on me a few times after the first boot, but a few reboots later and its running like a charm! i didnt bother with gapps, root or anything yet though. really great job devs!
Scavenger87 said:
I installed the Rom today on a K1 16GB with the methode i described above and did it with my regular SDCard i use in all my Tablets. In comparsion to installing over sideload it didnt get the No OS installed! message at TWRP and i didnt had that 1 minute freeze at begin of the install-wizzard after the LOS Logo.
Also the Rom seems to be same stable as the one on the 32GB model.
Click to expand...
Click to collapse
My tablet was completely wiped with no OS so I just pushed the ROM, pico gapps, and magisk over USB onto internal storage with MTP/TWRP. Flashed it all from there and it worked fine. No issues or errors. I don't think it's at all necessary to sideload to use an external SD.
Jackill said:
Hi guys, so, long story short i got scammed on a dutch advertising portal and ended up with one of them shield tablets which were recalled a few years ago. Yep, those with the defective battery that may burst in flame one day
Anyways, i figured that since it hasnt happened until now, i might just be lucky and give it a shot.
Its great to see that there is still some active development of this device! flashed this rom and i gotta say im positively surprised. Its running nice and smooth and even though it crashed on me a few times after the first boot, but a few reboots later and its running like a charm! i didnt bother with gapps, root or anything yet though. really great job devs!
Click to expand...
Click to collapse
In this Thread beginning from here i share my informations so far about the two type of batteries and changing them out if you interested:
Finding Replacement Battery in 2017?
Anybody know where to find a battery that will fit in the Shield Tablet? I know there are several threads online (here on xda, on GeForce forums, and other places) that discuss replacing the shield tablet battery and a few different part numbers...
forum.xda-developers.com
airtower said:
My tablet was completely wiped with no OS so I just pushed the ROM, pico gapps, and magisk over USB onto internal storage with MTP/TWRP. Flashed it all from there and it worked fine. No issues or errors. I don't think it's at all necessary to sideload to use an external SD.
Click to expand...
Click to collapse
I did these two type installation because @john_matrix mentioned to use a SD Card which is formated with FAT32 instead of exFAT. I didnt had one lying around so i used sideload this time.
Thank you everyone and Scavenger87 for your feedback! ;-)
About stability, I guess the culprit is the fact I have played with the new userspace LMK but for me it's not stable enough to be used as daily.
For example, Youtube often continue to play videos greeny and blocky and this is annoying
I will try to fine tune the best settings for LMK.
About battery, I have changed mine too with this one:
https://fr.aliexpress.com/item/32807531204.html
It works good but require to use the board of the original battery.
Seems to be going well so far for me, battery life seems good and for the general use I have had time to do it's worked well.
One crash that caused a reboot, after testing the hdmi output the tablet rebooted when I unplugged the hdmi cable from the tablet.
john_matrix said:
Thank you everyone and Scavenger87 for your feedback! ;-)
About stability, I guess the culprit is the fact I have played with the new userspace LMK but for me it's not stable enough to be used as daily.
For example, Youtube often continue to play videos greeny and blocky and this is annoying
I will try to fine tune the best settings for LMK.
About battery, I have changed mine too with this one:
https://fr.aliexpress.com/item/32807531204.html
It works good but require to use the board of the original battery.
Click to expand...
Click to collapse
Ok that means there is still some kind of memory leak problem with our tablets or is the memory managment on android 9 and higher not really suited for our low ram devices ?
I also read something about drawbacks with the in-kernel LMK as you can see here :
Drawbacks of in-kernel LMK driver
Android deprecates the LMK driver due to a number of issues, including:
Low-RAM devices had to be tuned aggressively, and even then would perform poorly on workloads with large file-backed active pagecache. The poor performance resulted in thrashing and no kills.
The LMK kernel driver relied on free-memory limits, with no scaling based on the memory pressure.
Because of the rigidity of the design, partners often customized the driver so that it would work on their devices.
The LMK driver hooked into the slab shrinker API, which wasn't designed for heavy operations such as searching for targets and killing them, which slowed down the vmscan process.
Is the zRam function now activated by standart on Android 9 and higher to compress amount memory is needed ?
I try to stresstest it today with a website that have a lot pictures sadly i cant use instagram anymore because you need a account now
Shield Tablet can't be considered as a "low ram device" as Google defined them with up to 512MB (Android Go?)
Android Performance Optimization | Android Open Source Project
source.android.com
I also have devices with 2GB that are currently performing Lineage 17.1 very well (Sony Z3C and Nexus 4)
I don't know if zRAM is activated by default in Android but you still have the choice to activate it or no (in the kernel or in the fstab.
Additionnally, I don't know what is the policy to activate zRAM (my Mi9 have 6GB RAM and have zRAM activated by Xiaomi so...)
Another thing about zRAM is there are lot and lot of options you can activate such as compression, lz4, clear caching, etc... depending of your needs and I am not skilled enough to say exactly what will be the consequences of these options (but it cost nothing to try).
You also have to keep in mind that zRAM will consume more CPU times (as KSM).
Similarly, you can fine tune the CPU governor and IO scheduling (often I see CFQ by default but on the other way I have saw that Noop and Deadline gives best results).
Feel free to share your experience and if you have other ideas on what you would like to integrate in this ROM (as the best possible).
You are right to stress test the OS, you can also debug the memory and the weight attributed on the processes.
Ok but 2GB is really not much these day also this article from android source is really old i think i read there something about kitkat or so
But your right i also was suprised to see that my xperia z3 compact i have lying around is able to run lineageos 17.1 and even is supported by the LOS Team
Which leads me to the question is the memory managment on the Qualcomm SOC so much better ? Ok the Ram there is on the SOC itself instead of external like on our Tegra based devices.
I think i install tonight Triodexes 15.1 with zram to compare the effect it has.
I also noticed the hw acceleration crashes the most on the firefox browser like i told in the 15.1 Thread you can start one video and it runs if you leave everything untouched but your not able to start a second one even with autoplay.
Btw about the LMK i know its maybe a dumb question but did you try the original settings from the Oem Rom ?
Edit : The original values in minfree are: 18432,23040,27648,32256,36864,46080
And zRam is already activated on the LOS 16.0 Build with 511MB same like the oem rom
Scavenger87 said:
I did a short test yesterday with the controller and as suspected it doesnt recognize by the tablet. I soon test out those Android 9.0 based Accessories App from the Shield TV
Click to expand...
Click to collapse
Thanks SO much for looking into this for me! You mentioned later that the controller wasn't recognized by the tablet, however I'm also curious if the Accessories app from the ShieldTV might help. Thanks again, in advance!
Fwiw, there's a bunch of framework patches needed for the wifi direct controller to work. I've yet to get them all straight. Haven't had that working since cm-12.1. See the incomplete set for 16.0 here:
https://review.lineageos.org/q/topic:shield-blake-p
That's on top of:
https://review.lineageos.org/q/topic:nvidia-shieldtech-p
And there's no nvidia pairing app that works with a touch interface. It's a mess atm. I did get blake to pair to foster on 15.1, but only while the pairing wizard was open. As soon as I hit back to close it, the autonomous group goes down and the connection is lost. And now, it's close to impossible since nvidia didn't release the nvwifi prebuilt jar to link against. And the one from O doesn't work on P.
Hi @Steel01
Thank you for keeping us updated on your work with the controller and also for your work for this device in general
I already tought its not easy to bring wifi support back for the old controller but i think also there is no high priority since the second gen is working fine over bluetooth and they already cheap to buy used.
Other than this the rom is suprisingly good running for this early stage and most of the stuff is working
Is there something that needs special attention for testing at the moment to help you developing ?
Like i mentioned in a other Thread i have every generation of the Shield Tablet and Controller. Only on my LTE Modell the SIM Card Reader is unfixable broken
But i still hunting for a fully working device.
Before I flash this Rom: Why do I habe to wipe internal storage?
danielandross said:
Before I flash this Rom: Why do I habe to wipe internal storage?
Click to expand...
Click to collapse
Well i dont know if its really needed to wipe the internal storage but i think by the reason we testing here a new Rom in a really early stage we should give it the cleanest basement as possible to exclude problems that might caused by left over data that interference with the Rom

Categories

Resources