FORUMS
Remove All Ads from XDA

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

1,548 posts
Thanks Meter: 2,353
 
Post Reply Email Thread
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:
Quote:

  • 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:

Quote:

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 2017-06-30
The Following 69 Users Say Thank You to tabp0le For This Useful Post: [ View ]
 
 
21st April 2017, 05:52 PM |#2  
tabp0le's Avatar
OP Recognized Developer
Flag Phoenix
Thanks Meter: 2,353
 
Donate to Me
More
Reserved
rpi3 system inforpi3 home screenkodi installing
The Following 9 Users Say Thank You to tabp0le For This Useful Post: [ View ]
21st April 2017, 10:20 PM |#4  
Senior Member
Flag California
Thanks Meter: 14
 
More
Anyone want to explain this to an idiot like me? Struggling hard over here just trying to format the SD
23rd April 2017, 12:49 AM |#5  
tabp0le's Avatar
OP Recognized Developer
Flag Phoenix
Thanks Meter: 2,353
 
Donate to Me
More
Quote:
Originally Posted by matistight

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.
The Following 2 Users Say Thank You to tabp0le For This Useful Post: [ View ]
23rd April 2017, 02:21 PM |#6  
Junior Member
Thanks Meter: 0
 
More
Does Chromecast'ing / Screen mirroring work?
23rd April 2017, 02:45 PM |#7  
Senior Member
Thanks Meter: 150
 
Donate to Me
More
would this also work on Raspberry Pi 2?
23rd April 2017, 02:54 PM |#8  
Senior Member
Thanks Meter: 70
 
More
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
23rd April 2017, 03:45 PM |#9  
digitalhigh's Avatar
Recognized Developer
Flag Milwaukee, WI
Thanks Meter: 12,013
 
Donate to Me
More
Quote:
Originally Posted by tabp0le

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.
The Following 5 Users Say Thank You to digitalhigh For This Useful Post: [ View ]
23rd April 2017, 04:28 PM |#10  
ad_on_is's Avatar
Member
Flag Vienna
Thanks Meter: 12
 
More
Download-Link is broken.
The Following User Says Thank You to ad_on_is For This Useful Post: [ View ] Gift ad_on_is Ad-Free
23rd April 2017, 05:00 PM |#11  
brajesh.sharma87's Avatar
Senior Member
Flag Kolkata
Thanks Meter: 2,595
 
Donate to Me
More
Would be interested if it works with pi2 as well
Post Reply Subscribe to Thread

Guest Quick Reply (no urls or BBcode)
Message:
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes