OmniROM Android R (11) for Pi 4

Search This thread

jigblaz

Member
Feb 23, 2018
19
3
I installed omnirom on a pi4 8gb and its working great, fast and impressive, well done :)
My question/s are: I have a fan... how do I control it? currently its running all the time, its the case fan with the starter kit
Is it difficult to increase the storage space? I'm using a 64gb microSD but only 8gb is allocated
I'm need help on the 8GB thing too, did you find anything?
Sharing your research will be appreciated ☺️
 

jigblaz

Member
Feb 23, 2018
19
3
I'm need help on the 8GB thing too, did you find anything?
Sharing your research will be appreciated ☺️
Just found how to

Go to advanced app and set boot mode from ROM to Recovery
And after entering twrp go to install>go back a directory> flash resize_userdata.zip and switch_rom_boot.zip

And there you got your full capacity
 
Last edited:
  • Like
Reactions: maxwen

jeff862

Senior Member
Mar 5, 2007
89
7
Is there a solution for bluetooth audio ... Crackling distorted sound produced by omni rom/rpi4 bluetooth audio plz help
 
Last edited:

synergy707

Member
Nov 7, 2018
10
0
Has anyone been able to get the official 7in raspberry touch screen using ribbon cable to work with this. I have tried modifying the config file my self using many other config files as guides and also tried straight copying them but haven't had any success. To be honest I don't fully know what I'm doing to modify it my self
 

GenzoW

New member
Nov 23, 2021
1
0
Hello everyone, i installed omnirom android 11 in my raspberry pi4 and works fine, but i need to use my display in portrait mode.
I try some applications to do that, like "control rotation" and similars, I've got portrait mode in desktop but lockscreen still in landcape mode.
How can i change lockscreen to portrait mode?
Thanks in advance
Regards
 

rabbited

Member
Mar 10, 2020
43
5
I've been really looking forward to seeing something like this. Only thing I'd want to know is if there's any 4G/LTE radios I could purchase that would be compatible with this. It'd be a great building block to making a custom cellular device if there's a complete OS already.
I'm pretty sure this is possible. I'm using a dongle with my Android head unit in my car with no problem. There were a few steps to get it set up but it works well now that it is. When I have a chance to try it out I will follow up here.
 

maxwen

Senior Member
Jun 10, 2012
8,068
10,287
Has anyone been able to get the official 7in raspberry touch screen using ribbon cable to work with this. I have tried modifying the config file my self using many other config files as guides and also tried straight copying them but haven't had any success. To be honest I don't fully know what I'm doing to modify it my self
Not supported and also not planned from my side
 

maxwen

Senior Member
Jun 10, 2012
8,068
10,287
Hello everyone, i installed omnirom android 11 in my raspberry pi4 and works fine, but i need to use my display in portrait mode.
I try some applications to do that, like "control rotation" and similars, I've got portrait mode in desktop but lockscreen still in landcape mode.
How can i change lockscreen to portrait mode?
Thanks in advance
Regards

Just use the "Forced Rotation" option that comes in the advanced device settings that will also
rotate the lockscreen
 

maxwen

Senior Member
Jun 10, 2012
8,068
10,287

maxwen

Senior Member
Jun 10, 2012
8,068
10,287
BTW - those who follow my work will have noticed that android 12 builds are available
already - they are pretty stable and fully functional - so I recommend to switch if you want
I am not going to create a new thread here on xda cause I simply dont have the time
to maintain it properly.

And actually there are not much changes that are device specific compared to 11
that would need to be explained in detail

Everyone feel free to hit me on our telegram support channel
We have a specific group now for SBCs and I will add you once you ping me in the general channel
 

kiai.72

Member
Apr 24, 2021
20
2

Rich_P

New member
Dec 10, 2021
1
0
Hi Max, I am running a Pi4 4GB and we are intending to use it simple as a display for digital gauges running as a custom app that is booted from switch on, The current boot time for Omni on the Pi is around 50 seconds which quite a bit longer than i require. Is there a way to disable things like the splash screen both the rainbow and the OMNI, and also not activate certain services for which i dont need, such as bluetooth and wifi? We are relatively new to the pi but OMNI seems to the the only Android build that supports those nice 12.3" 1920x720 displays.

Any advise would be very gratefully received
 

rabbited

Member
Mar 10, 2020
43
5
Would it be possible to add a feature to add a toggle slider that can fully disable Passpoint? The moment I turn on WiFi OmniRom immediately crashes and logcat seems to point to PasspointManager as the cause. I'm researching a way to shut off Passpoint on the OS level but having a UI feature would make life much easier. I don't think that Passpoint was properly implemented in the android-rpi source code as this issue occurs on all related distros (Lineage, android-rpi, Emteria, Omnirom) and on both of my CM4s as well as my 4B. This does not appear to be an issue in all regions as it does not occur when I'm using the RPi in a location where no Hotspot 2.0 networks show up in network search. Unless it can somehow be proven that someone on the forum is able to connect to a Hotspot 2.0 network and that this feature is functional a slider may not be necessary and simply fully disabling Passpoint until the source is working correctly would be an even better option.

AOSP offers this instruction but I have no idea where to edit it:
"Conversely if device implementations do not include support for Wi-Fi Passpoint:

[C-2-1] The implementation of the Passpoint related WifiManager APIs MUST throw an UnsupportedOperationException."

If you know how to make this change I am glad to test it out and report back.
 
Last edited:

maxwen

Senior Member
Jun 10, 2012
8,068
10,287
Would it be possible to add a feature to add a toggle slider that can fully disable Passpoint? The moment I turn on WiFi OmniRom immediately crashes and logcat seems to point to PasspointManager as the cause. I'm researching a way to shut off Passpoint on the OS level but having a UI feature would make life much easier. I don't think that Passpoint was properly implemented in the android-rpi source code as this issue occurs on all related distros (Lineage, android-rpi, Emteria, Omnirom) and on both of my CM4s as well as my 4B. This does not appear to be an issue in all regions as it does not occur when I'm using the RPi in a location where no Hotspot 2.0 networks show up in network search. Unless it can somehow be proven that someone on the forum is able to connect to a Hotspot 2.0 network and that this feature is functional a slider may not be necessary and simply fully disabling Passpoint until the source is working correctly would be an even better option.

AOSP offers this instruction but I have no idea where to edit it:
"Conversely if device implementations do not include support for Wi-Fi Passpoint:

[C-2-1] The implementation of the Passpoint related WifiManager APIs MUST throw an UnsupportedOperationException."

If you know how to make this change I am glad to test it out and report back.

logcat?
 

maxwen

Senior Member
Jun 10, 2012
8,068
10,287
Hi Max, I am running a Pi4 4GB and we are intending to use it simple as a display for digital gauges running as a custom app that is booted from switch on, The current boot time for Omni on the Pi is around 50 seconds which quite a bit longer than i require. Is there a way to disable things like the splash screen both the rainbow and the OMNI, and also not activate certain services for which i dont need, such as bluetooth and wifi? We are relatively new to the pi but OMNI seems to the the only Android build that supports those nice 12.3" 1920x720 displays.

Any advise would be very gratefully received

Dont expect me to do your work for free :)
Especially not since it sounds like you will make money from it.

But if you are really working for a company you can contact me to figure
out a deal where both of us can profit
 

Top Liked Posts

  • There are no posts matching your filters.
  • 14
    OmniROM

    Download

    Images taged with MICROG contain a pre-installed ready to use
    microG setup https://microg.org/

    Images tagged with WEEKLY can be used to setup
    official Google gapps
    • 64bit build
    • Tablet mode configuration (not Android TV)
    • At least 4GB model recommened
    • No HW accelerated video playback
    • Mesa support for V3D is WIP so expect some graphic issues (especially on higher resolutions - HD 1920x1080 in general should be fine)
    • Support of booting from SD or USB by just changing config.txt (check README below)
    • GPIO support - monitor and set README.gpio
    • chrome (ium) is broken use alternative browser (firefox, edge)
    • for screen issues check https://www.raspberrypi.org/documentation/configuration/cmdline-txt.md
    • if you experience black bars connect to HDM1 or add disable_fw_kms_setup=1 to config.txt files
    • how to do updates? - check README.update
    Adjust screen resolution:
    To force a different screen resolution edit in /system/build.prop the line
    #debug.drm.mode.force=1280x800

    Remove the leading # comment and adjust to the screen resolution you want e.g.
    debug.drm.mode.force=1280x720

    Make sure to also check the README.txt in there
    For questions please also use our official Telegram channel
    https://t.me/OmniROM_Community

    For current progress and how to build yourself check
    README.build

    XDA:DevDB Information
    OmniROM, ROM for the Raspberry Pi 4

    Contributors
    maxwen, maxwen
    Source Code: https://github.com/omnirom/android_kernel_brcm_arpi/

    ROM OS Version: Android 11
    ROM Firmware Required: 64bit
    Based On: AOSP

    Version Information
    Status:
    Stable

    Created 2020-10-28
    Last Updated 2020-10-28
    3
    Builds
    https://dl.omnirom.org/tmp/rpi4/
    The plan is to have about weekly builds - at some point it will be part of all the other OmniROM devices with regular weekly builds
    once the Android 11 cycle starts

    20201016
    • Just a snapshot of the current state
    • Non microG builds will come later

    20201028
    • WEEKLY and MICROG build

    20201105
    • TWRP included
      IMPORTANT
      Check new recovery section in README for all the details

      EVEN MORE IMPORTANT as posted before to get a working TWRP I had to disable userdata encryption for the moment
      that means IF you try to boot this with your old userdata you will get an unpleasent surprise. You must start with
      a fresh userdata partition (mkfs + tune2fs). You CAN (if you know what you do) create an backup BEFORE
      updating by using adb shell and e.g. create a copy of userdata on an external USB device and copy that back afterwards.

      But after all of that hassle from now on updating will be much easier since with TWRP you can create
      userdata backups on an external USB device very easy

      So going from this release an update could work like this.
      1) boot your current install into TWRP
      2) create an userdata backup on an external USB device
      3) flash the new build - you dont need to care about userdata
      just do whatever you always do with it e.g. resize
      4) boot new build
      5) go into Advanced settings and switch boot mode to recovery and restart
      6) in TWRP restore the backup you created before from external USB device
      7) flash switch_boot_rom.zip and reboot system
      8) enjoy
    • add boot mode switch in Advanced settings
    • add audio output switch in Advanced settings
    • whatever has been done since the last build

    20201115
    • fixed 5GHz WiFi AP
    • fixed Fondar USB touch screen
    • actual development

    20201122
    • switch to new kernel base - big thanks to Konsta - with update to 5.4.77
    • update mesa to v20.2
    • initial work to support pi camera - not yet working but close
    • initial work to support gpio - IF you want to use gpio please contact me on tg cause I was too lazy to create a README for this yet
    • all core system updates and fixes

    20201128
    • performance tuning
    • November security update
    • gpio support update
    • all core system updates and fixes

    20201206
    • added gpioi-fan
    • cpufreq config in advancded settings
    • all core system updates and fixes

    20201214
    • property persist.debug.drm.mode.force to adjust screen resolution
    • all core system updates and fixes

    20201224
    • added disable_fw_kms_setup=1 to config.txt files. This should remove unneeded black bars for some screen when connected on HDM1. I did not see any problems on screens that have no issue with that anyway so I enabled by default. If you face issues remove line and report back please
    • enabled showing BT device battery level if applicable
    • all core system updates and fixes
    • Best Xmas wishes for those who care about it and looking forward to 2021

    20201231
    • add WiFi firmware for p400
    • kernel update 5.4.85
    • add userdata resize and project quota enable script in TWRP
    • reduce dB of max media volume
    • all core system updates and fixes
    2
    Is it possible to add magisk support?
    1
    Thank You very much for answer. I thing problem is with resolution. Touch matrix working well. Do you know, how to setup RPi4 boot up resolution for 800x480? Screen type is DSI-1
    https://www.alza.sk/raspberry-pi-touch-display-7-d4268133.htm

    Hello, i have the same problem. I would like to use the Omni ROM with my RPI4 an the 7" Raspberry Touch Screen. Please add the option to your nice ROM.
    Please
    1
    is there a changelog somewhere ? i see there is a lot of development at https://dl.omnirom.org/tmp/rpi4/ - but no changelog.
    I'd like to know if there is progress at USB-camera-support.