[ROM] [Testing] Tab-Pi | AOSP/Android TV for Raspberry Pi 3 android-7.1.2_r17

Search This thread

tabp0le

Inactive Recognized Developer
Code:
****Disclaimer: I'm not responsible if you destroy your device. Use at your own risk.****
Introduction:
Welcome to my builds of AOSP for the Raspberry Pi 3. You can get a very similar feel to that of a Nexus player when you combine this build with TV GAPPS. I welcome other developers to assist me in this project!​

Bug Reporting:
Please only report bugs in the following format:
Device Firmware base:
Kernel &Version:
ROM date of release/nightly:
Governor:
Scheduler:
Any changes made within a kernel/ROM manager:
Any bootup scripts:
Brief description of bug:
Intended behavior:
Actual behavior:
Steps to reproduce bug:
  1. Do this
  2. Do that
  3. See the bug
****Attach a logcat or you will be ignored****


Features:
  • AOSP for Raspberry Pi 3
  • More features to be added

Instructions:
  1. Install Linux on your computer or a VM
  2. Make sure you have adb installed
  3. Download ROM and GAPPS
  4. Insert your SD card into your computer or via adapter
  5. Prepare SD card with the following partitions:
    Code:
    p1 512MB for BOOT : Do fdisk : W95 FAT32(LBA) & Bootable, mkfs.vfat
    p2 1024MB for /system : Do fdisk, new primary partition, mkfs.ext4
    p3 512MB for /cache : Do fdisk, mkfs.ext4
    p4 remainings for /data : Do fdisk, mkfs.ex4
    Set volume label for each partition - system, cache, userdata : use -L option of mkfs.ext4, e2label command, or -n option of mkfs.vfat
  6. Un-tar/gz the downloaded ROM
  7. Get your partition names with fdisk:
    Code:
    fdisk -l
  8. Write the partitions: (In this example I will use mmcblk0 as my storage name)
    Code:
    $ sudo dd if=boot.img of=/dev/mmcblk0p1 bs=1M
    Code:
    $ sudo dd if=system.img of=/dev/mmcblk0p2 bs=1M
  9. Un-tar your downloaded GAPPS
  10. Boot up your Pi and connect it to your network (highly recommended to hardwire it or it will be a b*** to flash GAPPS)
  11. Open up a terminal and cd into the directory you extracted the GAPPS in
  12. Edit the gapps.sh script where it says IP to match the IP of your Pi
  13. Flash GAPPS:
    Code:
    $ chmod +x gapps.sh && ./gapps.sh
  14. Your Pi will reboot a few times and you'll be all set :)

Download:


Changelog:

06/28/2017
  • Merge tag 'android-7.1.2_r17' into all repos
  • Add prebuilt fugu (Nexus Player) launcher and other vendor apps
  • Use only SW video decoder
04/20/2017
  • Initial release

Bugs:
  1. DRM content currently does not work as we do not have any certifications for this device. I could use help hacking this.
  2. Screen flickers sometimes
  3. Youtube app plays sound but no video (you can use a 3rd party app to get videos to play)
  4. Let me know...

Sources:
Kernel
Device Tree
GAPPS script derived from: https://github.com/bjsiu/rpi3-gapps
ROM originally derived from: https://github.com/android-rpi

Android Security Patch Version: June 5, 2017

XDA:DevDB Information
AOSP/Android TV for Raspberry Pi 3 (Testing), ROM for the Raspberry Pi

Contributors
tabp0le
Source Code: https://github.com/tab-pi/platform_manifest

ROM OS Version: 7.x Nougat
ROM Kernel: Linux 4.x
Based On: AOSP

Version Information
Status: Testing

Created 2017-04-21
Last Updated 2018-10-15
 
Last edited:

tabp0le

Inactive Recognized Developer
Reserved

publicpreview.php
publicpreview.php
publicpreview.php
 
Last edited:

tabp0le

Inactive Recognized Developer
Anyone want to explain this to an idiot like me? Struggling hard over here just trying to format the SD
You can use gparted to make it easier. Delete all partitions from the SD. Then make a 512MB partition with label boot and format as fat32. Change flags to boot and lba. Then make a 1024MB ext4 partition with label system. Then another be 512MB ext4 label cache. Then another with remaining space labeled data.
 

sui785

Senior Member
May 18, 2009
429
73
How do you control through the interface? Does hdmi-cec work(like in kodi) so you can use your remote control?

Sent from my SM-G935F using Tapatalk
 

digitalhigh

Inactive Recognized Developer
Dec 28, 2010
3,626
11,934
Milwaukee, WI
www.facebook.com
Code:
****Disclaimer: I'm not responsible if you destroy your device. Use at your own risk.****
Bugs:
  1. DRM content currently does not work as we do not have any certifications for this device. I could use help hacking this.

Once upon a time, I tried doing the same thing for the RK3288 android-on-a-stick. I think I was able to get *some* of the DRM stuff to work by stealing a bunch of the binary blobs from the Razer Forge ATV device and hacking the build.prop to look like a razer - but never fully got Netflix to work.

My suggestion for an approach to hacking DRM support in for this device would be to do the same thing for the 7.1.2 build for Nexus Player - diff your ROM against the extracted source for Nexus, find any missing binary blobs in /bin, /xbin, and /vendor, (probably /vendor more than anything), and then start modding the build.prop to make it look like a nexus player till it works or you break something. ;)
 

getochkn

Senior Member
Dec 25, 2010
838
500
Very interested to know if the casting ability works. Is the ability for a device to appear as a "chromecast" device hardware or software limited?
 

arusiasotto

Senior Member
Jul 22, 2012
138
21
This could be interesting. I wish Google would actually populate their GIT that they started for it...
 

Top Liked Posts

  • There are no posts matching your filters.
  • 79
    Code:
    ****Disclaimer: I'm not responsible if you destroy your device. Use at your own risk.****
    Introduction:
    Welcome to my builds of AOSP for the Raspberry Pi 3. You can get a very similar feel to that of a Nexus player when you combine this build with TV GAPPS. I welcome other developers to assist me in this project!​

    Bug Reporting:
    Please only report bugs in the following format:
    Device Firmware base:
    Kernel &Version:
    ROM date of release/nightly:
    Governor:
    Scheduler:
    Any changes made within a kernel/ROM manager:
    Any bootup scripts:
    Brief description of bug:
    Intended behavior:
    Actual behavior:
    Steps to reproduce bug:
    1. Do this
    2. Do that
    3. See the bug
    ****Attach a logcat or you will be ignored****


    Features:
    • AOSP for Raspberry Pi 3
    • More features to be added

    Instructions:
    1. Install Linux on your computer or a VM
    2. Make sure you have adb installed
    3. Download ROM and GAPPS
    4. Insert your SD card into your computer or via adapter
    5. Prepare SD card with the following partitions:
      Code:
      p1 512MB for BOOT : Do fdisk : W95 FAT32(LBA) & Bootable, mkfs.vfat
      p2 1024MB for /system : Do fdisk, new primary partition, mkfs.ext4
      p3 512MB for /cache : Do fdisk, mkfs.ext4
      p4 remainings for /data : Do fdisk, mkfs.ex4
      Set volume label for each partition - system, cache, userdata : use -L option of mkfs.ext4, e2label command, or -n option of mkfs.vfat
    6. Un-tar/gz the downloaded ROM
    7. Get your partition names with fdisk:
      Code:
      fdisk -l
    8. Write the partitions: (In this example I will use mmcblk0 as my storage name)
      Code:
      $ sudo dd if=boot.img of=/dev/mmcblk0p1 bs=1M
      Code:
      $ sudo dd if=system.img of=/dev/mmcblk0p2 bs=1M
    9. Un-tar your downloaded GAPPS
    10. Boot up your Pi and connect it to your network (highly recommended to hardwire it or it will be a b*** to flash GAPPS)
    11. Open up a terminal and cd into the directory you extracted the GAPPS in
    12. Edit the gapps.sh script where it says IP to match the IP of your Pi
    13. Flash GAPPS:
      Code:
      $ chmod +x gapps.sh && ./gapps.sh
    14. Your Pi will reboot a few times and you'll be all set :)

    Download:


    Changelog:

    06/28/2017
    • Merge tag 'android-7.1.2_r17' into all repos
    • Add prebuilt fugu (Nexus Player) launcher and other vendor apps
    • Use only SW video decoder
    04/20/2017
    • Initial release

    Bugs:
    1. DRM content currently does not work as we do not have any certifications for this device. I could use help hacking this.
    2. Screen flickers sometimes
    3. Youtube app plays sound but no video (you can use a 3rd party app to get videos to play)
    4. Let me know...

    Sources:
    Kernel
    Device Tree
    GAPPS script derived from: https://github.com/bjsiu/rpi3-gapps
    ROM originally derived from: https://github.com/android-rpi

    Android Security Patch Version: June 5, 2017

    XDA:DevDB Information
    AOSP/Android TV for Raspberry Pi 3 (Testing), ROM for the Raspberry Pi

    Contributors
    tabp0le
    Source Code: https://github.com/tab-pi/platform_manifest

    ROM OS Version: 7.x Nougat
    ROM Kernel: Linux 4.x
    Based On: AOSP

    Version Information
    Status: Testing

    Created 2017-04-21
    Last Updated 2018-10-15
    8
    Anyone want to explain this to an idiot like me? Struggling hard over here just trying to format the SD
    You can use gparted to make it easier. Delete all partitions from the SD. Then make a 512MB partition with label boot and format as fat32. Change flags to boot and lba. Then make a 1024MB ext4 partition with label system. Then another be 512MB ext4 label cache. Then another with remaining space labeled data.
    8
    For the benefit of those who are testing this new build, i have made a ready to burn sd card image.. https://goo.gl/tKfsAH . You need to install gapps though..
    7
    I've got the new build cooking right now. I've made a lot of changes in this one including:
    Merge in android-7.1.2_r17 (June security update)
    Completely remove hardware encoding (this should make everything smoother, as we can't use h/w encoding anyways right now)
    Add fugu vendor prebuilts, including Leanback launcher (this is not full gapps, just the tv launcher)
    Some system.prop changes

    The new build is up! Please check OP for link.