yashsingh1/xdaforums huggingface dataset:
[Raspberry Pi Original Development] vedforeal:
does it have google apps out of the box
[Raspberry Pi Original Development] maxwen:
of course not - this would be illegal

We are not in China here ... :)

PS: I did not find any android-11 gapps out there that would work currently

So the only way is anyway microG for now - which is enough for most people
[Raspberry Pi Original Development] Crypto hacker312:
i tried to boot off 32gb usb and it wont work

and first thing before you say anything about my bootloader being out of date its not here is the bootloader output BCM2711 detected

Dedicated VL805 EEPROM detected

BOOTFS /boot

BOOTLOADER: up-to-date

CURRENT: chu 03 set 2020 12:11:43 UTC (1599135103)

LATEST: chu 16 abr 2020 17:11:26 UTC (1587057086)

FW DIR: /lib/firmware/raspberrypi/bootloader/critical

VL805: up-to-date

CURRENT: 000138a1

LATEST: 000137ad

when i try to boot the build (from the website i didnt compile it) with either the microg or the weekly build after flashing the pi just simply wont start and the green and red light just keeps flashing and nothing happens i was able boot twisterOS just fine off this same usb so its this build i dont know if i did something wrong but the file system was present in gparted and i tried booting it without expanding the partition and with doing so. also i tried to "fix" all the partitions using gparted and that did nothing also i noticed that the /boot directory in this build seems a bit empty compared to my manjaro build i know your working hard on this but this might be a bug in your build and id be willing to help you fix it
[Raspberry Pi Original Development] Anish Nayak:
Hi

Please can you make a way of extending data partition as lot of unallocated space in sd card. some thing like a flashable file which will do it. thanks.
[Raspberry Pi Original Development] Anish Nayak:
I don't think that dsi is supported. Still I am not the developer. You would have a problem with cooling as 1) you would have to merge the display's power cable and the fan power.

2) Either the display or the fan would be underpowered. i would suggest to buy a hdmi display 7inch.
[Raspberry Pi Original Development] maxwen:
It's easy so you can learn how you do it yourself
[Raspberry Pi Original Development] seba1x111:
Hello every one. It is possible to install this rom as multiboot? (Noobs, Berryboot, etc). On pendrive - no SD card.
[Raspberry Pi Original Development] niiub:
Good to all, could you give one more tips on this subject please
[Raspberry Pi Original Development] tomixx00420:
Hi everyone,

yesterday I tried to install this OS on my RPi4 but -

It is super slow (booting from USB 3.1 64GB USB using USB 3.0 port).

I also tried to boot from Class 10 SD card, but it is even slower.

What can cause this? Should I try to boot from SSD?

Thanks ;)
[Raspberry Pi Original Development] seba1x111:
Mayby you run OS in 4K. Try set on fullhd.
[Raspberry Pi Original Development] tomixx00420:
I'm running at 1024x600 😅
[Raspberry Pi Original Development] maxwen:
What is slow?
[Raspberry Pi Original Development] maxwen:
Some of those screens are known to have issue cause this is not a standard drm resolution

Test on a different monitor to confirm
[Raspberry Pi Original Development] tomixx00420:
Whole UI. For example : I tried to open settings for developers. First I had to wait about 10 seconds while Settings app will open. Than next 10 seconds while I can even get to the "About this tablet" menu. Simply, for me, whole UI is slow.

First I tried 1080p resolution - this was first resolution when I boot it up for first time. Than I changed it to the 1024*600.
[Raspberry Pi Original Development] tomixx00420:
Tested on 1080p LCD monitor, still so slow .. :/
[Raspberry Pi Original Development] seba1x111:
You must set resolution in Android /System/build.prop.
[Raspberry Pi Original Development] risant:
after burning with 32 gb sd card using pi imager ... cannot boot from sd card ..what is the solution for this this?
[Raspberry Pi Original Development] tomixx00420:
I will try.

Problem solved - I just forgot to update the bootloader to the lastest version 😅
[Raspberry Pi Original Development] maxwen:
No - better use property as described in

https://xdaforums.com/t/omnirom-android-r-11-for-pi-4.4183121/post-84106401
[Raspberry Pi Original Development] maxwen:
Most probably you are not on a new enough firmware aka bootloader (64bit support)
[Raspberry Pi Original Development] :
Great Work @maxwen

But how can i resitze the userpartition? I have a 32Gb micro SD Card and on the readme says with tune2fs.

Can i use the tune2fs on twrp or on a linux pc?

PS: This Android project is very good
[Raspberry Pi Original Development] maxwen:
tune2fs is only a part of the resize process - before you have to use fdisk and mkfs

or any of the alternatives (cfdisk gparted ...)

But in general you do it on your PC with the new userdata partition not mounted
[Raspberry Pi Original Development] Anish Nayak:
Well you could go to konstakang choose rpi4 and then choose lineage os 10. Then search for resize. You will get a hyperlink. Download the file and flash it in twrp.
[Raspberry Pi Original Development] maxwen:
Still tune2fs might be required after the resize to enable project quotas again

So if you face any issues in apps that they cant access storage make sure

you run the tune2fs step
[Raspberry Pi Original Development] Anish Nayak:
Still without it also it works perfectly fine. No issues. But yeah as a precautionary measure.
[Raspberry Pi Original Development] :
Thanks! I´ve try this with a resizer zip for lineage os thats´s von konsta is. But thanks to for answer to the question!!!
[Raspberry Pi Original Development] vj4:
Hello Everyone,

Returning veteran here with a few probably dumb questions that my google foo cant seem to answer.

I'm new to Pi and havnt flashed a rom since android 6 if not before....

I have the rom booting of an SSD by changing all the config files from SD to usb but the GPIO button wont work wired as per below:

EIDT : found it - I cannot find any power options (power off, restart, reboot recovery etc) at all (i probably just dont know where to look)

Edit: got it working using this guide ( How to Set Up Wireless Debugging on Android 11 to Send ADB Commands Without a USB Cable « Android :: Gadget Hacks ) i cannot get adb root to work in the dev options terminal (again probably me being dumb)

Edit: See above. i'm unable to get the /system to mount in recovery probably due to above

Sods law as soon as I ask everything starts coming together. Now to get the partion size increased and start flashing gapps until one works.
[Raspberry Pi Original Development] Danthehedgefox:
Hey, when I try to reboot into recovery mode it hangs on the gradient screen. I've tried adding the 'boot_delay=1' line to all the config files, but it didn't work and I don't know exactly where on the file it's supposed to go.

I'm on a raspberry pi 4 B if that matters.

I'd really appreciate some advice.
[Raspberry Pi Original Development] vj4:
The nikgapps loaded

[ARM64][GApps][Android 11] NikGApps [12th Dec 2020] | XDA Developers Forums (xda-developers.com)

I had to register my ID but was able to log in and have YouTube working etc. Unfortunately the playstore its self just crash's.
[Raspberry Pi Original Development] johnpeng:
Thanks for this great work, the new feature of ethernet tethering is also there. I want to add some iptables rules at boot time, requiring root privilege, anyway to do this ? Happy New Year
[Raspberry Pi Original Development] vj4:
With a little help from maxwen i have gone from no clue about Linux to being able to sort the memory allocations out.

I'm running a 256gb SSD and unfortunately the KonstaT memory zip failed for me so I've gone the long way around

First up i'm using windows so you can probably skip this step if you are a native linux user.

install Wsl2

https://docs.microsoft.com/en-us/windows/wsl/install-win10#manual-installation-steps

Once you have the above all sorted here are the steps. Command is what you type in shell. If its blank you need to figure it out. The step should contain the info for you.

load power shell as admin

Start > type "powershell" right click "run as admin"

list drives

Command: wmic diskdrive list brief

output should look something like this:

Caption DeviceID Model Partitions Size

SAMSUNG MZFLV256HCHP-000MV \\.\PHYSICALDRIVE0 SAMSUNG MZFLV256HCHP-000MV 3 256052966400

JAJS600M 256C SCSI Disk Device \\.\PHYSICALDRIVE1 JAJS600M 256C SCSI Disk Device 4 256052966400

mount the correct drive for me it was drive 1

command: wsl --mount \\.\PHYSICALDRIVE1 --bare

enter Linux

command : wsl

list drives to check it was mounted

command: lsblk

output should look something like this:

NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINT

sda 8:0 0 256G 0 disk

sdb 8:16 0 238.5G 0 disk

├─sdb1 8:17 0 128M 0 part

├─sdb2 8:18 0 2G 0 part

├─sdb3 8:19 0 256M 0 part

└─sdb4 8:20 0 5.9G 0 part

sdc 8:32 0 256G 0 disk /

as my drive was simple I could tell that it drive with the loaded img was sdb as it has the 4 partitons

now to delete partition 4 and recreate it using unallocated space using fdisk

load the drive into fdisk

command: sudo fdisk /dev/sdb

get memory sectors per patition

command: p

Device Boot Start End Blocks Id System

/dev/sdb1 * 1 13 104391 83 Linux

/dev/sdb2 14 2624 20972857+ 83 Linux

/dev/sdb3 2625 4582 15727635 83 Linux

/dev/sdb4 4583 77541 586043167+ 83 Linux

delete

command: d

select user data partition

command: 4

create new

command: n

create as primary

Command: p

Sorry, my pc crashed so some of this may be out of order.......

next it will ask you for the start sector. the default was what i used this is the end of your sdb3 +1

command :

next it will ask you for the end sector. I used the default as it was the max disk space

command:

something i cant quite remeber

command: n

write the disk

command: w

exit fdisk

command: q

normal service should resume

with that finished we need to make the new file system on the partition

command: sudo mkfs /dev/sdb4

Now we need to add the quota

command: sudo tune2fs -O project -Q prjquopta /dev/sdb4

Now exit Linux

command: exit

unmount the drive

command: wsl --unmount \\.\PHYSICALDRIVE1

check its unmounted

command: wmic diskdrive list brief

Caption DeviceID Model Partitions Size

SAMSUNG MZFLV256HCHP-000MV \\.\PHYSICALDRIVE0 SAMSUNG MZFLV256HCHP-000MV 3 256052966400

That should be it! sorry if I've fluffed a step doing this from memory as I spent 3 days figuring it out.

let me know and I'll edit accordingly.
[Raspberry Pi Original Development] mooond:
old time linux user but complete newbee regrading android internals. i tried the omni-11-20201224-rpi4-WEEKLY.zip and tried booting via USB on the PI-400 with 4GB. (change the config.txt to USB). I also increased the data partition to fill the 64GB and i have done the tune2fs magic. It boots and shows the OMNI boot animation but hangs there. i attaced a serial 3.3V console. i get a console there with some error messages. i also collected the logcat output. maybe someone can read more out of that..

i will try using an SDcard tomorrow.

thanks for your work!

UPDATE: since the screenlog.txt did not show up as attachment i try to attach screenlog.zip
[Raspberry Pi Original Development] maxwen:
adb root
[Raspberry Pi Original Development] mooond:
so with sdcard it works. BUT no wifi. (i am on a pi-400 (the one with keyboard)). what kind of terminal application do you recommend for debugging?
[Raspberry Pi Original Development] elemental-prince:
Has anyone been able to get this build to work with dual displays? Anytime I connect two monitors, both go black, and then removing one also does not bring the other back.

It's possible that it's the same issue as the LineageOS Android 10 build with the KMS driver, as explained by Konsta:

[DEV] LineageOS 17.1 (Android 10) for Raspberry Pi 4 B - Page 13 - Raspberry Pi Forums

www.raspberrypi.org

Wondering if that may be the case here, or if anyone has looked into this? I understand that it might be a niche use case, but thought I'd ask.

ps. happy holidays y'all!
[Raspberry Pi Original Development] maxwen:
Build does not yet include firmware for new wifi thats in 400

Just wait for next build. You can just use Ethernet for now
[Raspberry Pi Original Development] maxwen:
Show me first that Android can handle two displays to start with :)

So now this is no use case at all for Android IMHO
[Raspberry Pi Original Development] maxwen:
it also works with USB boot if you do all correct as described in README

and change ALL config.txt.* files

Line 45 in README BTW
[Raspberry Pi Original Development] elemental-prince:
Android can handle multiple displays, and with recent changes in Android 10+, we can even use input routing to differentiate touches based on displays:

Multi-Display overview | Android Open Source Project

source.android.com

The problem with most devices is that consumer Android tablets usually don't support MHL, which is needed to connect a second display. However, on some older devices, this was supported before casting was so common. My Samsung Note 8 can use 2 displays at the same time.

This build actually supports simulating a second display through developer settings, but not connecting a physical secondary display.

I didn't know this was supported until recently either, but it's very cool. Essentially two devices in one, with communication being a breeze between the two.
[Raspberry Pi Original Development] maxwen:
What does Samsung have to do with AOSP?

I am going to reconsider that stretch goal once we have a solid base for v3d/drm

(which will most prolly not happen in the lifespan of my rpi4)

Until then I consider this use case an academical thought experiment.
[Raspberry Pi Original Development] elemental-prince:
Sorry for the confusion, I was just trying to illustrate that AOSP supports multiple monitors, but device support is usually the limiting factor. I was just adding an example for a device that supports MHL where I was able to test Android’s DisplayManager with multiple displays.
[Raspberry Pi Original Development] maxwen:
And my comment was just to illustrate that if something works on Samsung

means nothing regarding AOSP. AOSP does not support it since google does

not want to support it
[Raspberry Pi Original Development] maxwen:
New buiild 20201231 contains 2 new recovery scripts in the root folder

so same place as where switch_boot_rom is

resize_userdata

This is basically a copy of the script from Konsta. This will resize partition 4 to grab all remaining space keeping data and project quota intact

fix_quotas

This is ONLY needed if you recreated the userdata partition and for whatever reason forgot to enable project quotas. If you use resize_userdata there is NO need to use it too.
[Raspberry Pi Original Development] htc_Tomi:
Hello and thank you so much for pouring a lot of work into getting this to run well on the Pi! I'm excited as besides from Emteria OS, which is limited and won't boot on Pi400, not many good Android options exist out there. I recently got a pi 400, too.

I'm fully blind. Thus I rely on the Talkback screen reader to navigate and use Android. I noticed that Talkback is not included in any Microg-based rom, which I think is a shame. Why is this? Essentially Microg is hobbling Android accessibility by not including a screen reader. I understand that Talkback is a Google-created product, and I'm guessing to remain pure they don't include it there.

I also want to know how I could get ADB in this rom from first boot. This would be a huge huge help, if it's possible. I need to enable the TalkBack service via putting it in the securesettings database. This is crutial. I ended up mounting your partition / in a Linux Box and copying talkback.apk to /system/priv-app/TalkBack. I then tried alt+CTRL+Z which is the shortcut in normal Google setup wizards to start Talkback. No go. It was plugged into HDMI audio. Why? Does the setup wizard get modified enough that accessibility is removed?

As it stands, this is not usable by a blind person with a screen reader. I wish we could rectify this as it would be a huge step. Please help.
[Raspberry Pi Original Development] maxwen:
I would need to look into that first before saying anything. But it would certainly help if you could provide all the resources and information you have about this topic

But there are certain Google services that simply don't work with microG

BTW USB adb works out of the box

Just wireless needs setup.
[Raspberry Pi Original Development] maxwen:
Use AuroraStore and install

"Android Accessability Suite"

I know it will be hard for you to do that initially without having in the first place

but just putting the apk wont work. Instead you can use

adb install <apk>

If you are unable to use USB adb there is a dirty little secret that old style

wireless adb still works. So putting in the property

service.adb.tcp.port=<ip>:5555

in /system/build.prop should work but not entire sure bout that

So overall there might be no way for you to setup without any help

from someone else which is obviously bad but there is nothing I can

do about that in the short term
[Raspberry Pi Original Development] maxwen:
Add: you also need to install "Google Text-to-Speech"
[Raspberry Pi Original Development] maxwen:
So what I can do is to add both apks by default

Still - since there is no setup wizard in microG you must go into

Accessibility settings to enable and then do the normal

microG setup anyway
[Raspberry Pi Original Development] htc_Tomi:
Thank you for responding so quickly and being this receptive to my comments and questions.

While the build.prop trick didn't work (I tried with and without replacing <ip> and putting in my own network-assigned one), doing it over USB type C did work. I'm not sure if all Android roms (Lineage, etc) expose ADB over USB by default, but this fact may have been what saved me from countless headaches. I didn't even think of trying this, as I wasn't sure how well a Type C port on a desktop could power a Pi. Nevertheless, I got ADB working through there and ran

code:

settings put secure enabled_accessibility_services com.google.android.marvin.talkback/com.google.android.marvin.talkback.TalkBackService

This puts the flag in the securesettings database where it starts after both Talkback and GoogleTTS are in the rom.

Talkback is actually open-sourced on GitHub, and thankfully neither it nor GoogleTTS use any specific frameworks only available in Google play devices. This is good as integrating it is fairly easy.

Thanks again for that little trick, totally helped me get started using this. I'll be grabbing the weekly updates. Keep up the great work!
[Raspberry Pi Original Development] maxwen:
Running power over normal USB port that can provide "by standard" 500mA is possible

but you might see issues based on the fact that the pi can draw more then that.

I use a powered USB hub and that works just fine so I always recommend getting one

for any kind of Android work which always uses USB adb (all phones e.g.)

Glad you found your way around this. If you need any further assitance or have ideas

how to improve around your special needs just drop me a note here or on telegram
[Raspberry Pi Original Development] :
Can you run Android TV on Omni Rom?

I've tried to install opengapps tvstock packages but it's stucks on a bootloop
[Raspberry Pi Original Development] maxwen:
No this is not an atv build
[Raspberry Pi Original Development] :
Ok thank's. But on a normally Android can install atv or?
[Raspberry Pi Original Development] skm_1:
Here's an odd thing: If I enable the display of CPU info in OmniGears, it only shows me cpu0, but in OmniROM 10, I see the current clock speed of cpu0 through cpu3. Is it possible that OmniROM 11 only enables a single core? App performance in OmniROM 10 also seems to be significantly better.
[Raspberry Pi Original Development] Wednesday:
Great initiative.

I could see this being a great base for a "smart display". All the dedicated smart displays (eg google nest hub) run google assistant OS and therefor of course lack the support of running google apps.

Will this work with a touchscreen monitor like the https://www.amazon.com/Dell-P2418HT-23-8-Touch-Monitor/dp/B01NBX1Q2T ?
[Raspberry Pi Original Development] flyingbaloon:
Many thanks for your efforts . I am currently running this on a compute module 4 . Could you please tell me is there a support for any wifi dongles , like edimax, tplink etc . The compute modules with wireless are not yet out , so currently I have only the ethernet for network . Is adding support for common wifi dongles possible ?
[Raspberry Pi Original Development] ozop102:
I love this rom! Been great so far aside from a few issues im hoping the community might be able to help me troubleshoot.

Streaming works great but I notice I cant stop a black screen flicker that occurs with subtitles or any overlay like the skip intro button or if i raise or lower the volume. Netflix, hbomax etc.

Youtube TV has an issue where it cant find an account. I only gives the option to add an account. I follow the prompts and then it tells me there is already an account.

Google play movies doesnt seem to work either, but im assuming there is an issue due to google changing to google TV for its movie purchase streaming.

Geforce now works (sideloaded) and even steamlink and gamepass work really well surprisingly.

This has been very stable and honestly... Unless youre trying to watch with subtitles, Omni ROM with microg is super stable.

Great work to the devs!
[Raspberry Pi Original Development] Test_84:
Which Camera I want use in omni android 11 and how to install say me with full details
[Raspberry Pi Original Development] maxwen:
You really think it makes sense to show 4 lines the same???

The cores are synced so all will use the same frequency

So I explicitly set it to only show one line

#brainon please :)

If you wear a tinfoil hat then check yourself in cpufreq sysfs what cores are active

And no performnace is not worse then in 10
[Raspberry Pi Original Development] maxwen:
All depends on the v3d progress

For the forseeable future you can only use external USB camera apps

USB Camera - Apps on Google Play

Connect EasyCap or UVC devices for recording and broadcast video/audio stream

play.google.com
[Raspberry Pi Original Development] maxwen:
I dont see any reason why not - its standard HDMI and if USB touch work in linux

it will also work in Android

1920x1080 is just the upper limit what the GPU can drive

You might face issues if you try to play videos in 1080p - 720dp is what works reliable for me
[Raspberry Pi Original Development] maxwen:
It will miss built kernel modules for e.g. other wifi hardware then the built in brcmfmac

But if you tell me what additional kernel modules you need I can include in future builds

Check kernel at https://github.com/maxwen/android_kernel_brcm_arpi/tree/android-11-5.4-lts

You can have everything that is in there :)

Android in general can support e.g. USB WiFi dongles but I personally never tried

on the pi so dont ask me if they will work or not for sure
[Raspberry Pi Original Development] maxwen:
If you do the proper microG setup with your account - also YouTube will work fine

As most other Google services - pretty sure also Google Play Movies worked last time I tried
[Raspberry Pi Original Development] skm_1:
Well apparently it made sense to show 4 lines the same in OmniROM 10.

Zwift starts reliably in 10 but isn't reliable in 11 - seems to be related to how many people are online. Could be running up against some limitation within Android 11 I suppose, but in 10 it's definitely 5-10 seconds faster from power on to login page.
[Raspberry Pi Original Development] maxwen:
You now just talk nonsense because you cant accept that you made a mistake
[Raspberry Pi Original Development] maxwen:
Ok I have to agree - google play movies really dont work with microG

But I am an amazon prime guy so I dont really care :)