# Android/LineageOS on Raspberry Pi CM4 Core?

**URL:** <https://forum.clockworkpi.com/t/android-lineageos-on-raspberry-pi-cm4-core/9242>\
**Category:** uConsole\
**Created:** [November 25, 2022, 4:47pm UTC](https://forum.clockworkpi.com/t/android-lineageos-on-raspberry-pi-cm4-core/9242 "2022-11-25T16:47:16Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![mikeschnier](https://yyz1.discourse-cdn.com/flex029/user_avatar/forum.clockworkpi.com/mikeschnier/32/9697_2.png) [@mikeschnier](https://forum.clockworkpi.com/u/mikeschnier)\
**Post date:** [November 25, 2022, 4:47pm UTC](https://forum.clockworkpi.com/t/android-lineageos-on-raspberry-pi-cm4-core/9242/1 "2022-11-25T16:47:17Z")

</div>

I’ve seen a number of projects for installing [Android and LineageOS on the Raspberry Pi](https://www.xda-developers.com/raspberry-pi-4-b-pi-400-compute-model-4-android-13-port/) 4/400/CM4, and it seems to perform reasonably well. Everything on the CM4 seems to work, aside from hardware video decoding.

Do we know if there would be additional complications involved with running Android on a uConsole? I’m wondering if the Devterm included custom drivers for the screen, trackball and battery, or if everything was fairly standard and alternate OSes were easy to install.

---

<div class="post-metadata">

**Author:** ![esbeeb](https://yyz1.discourse-cdn.com/flex029/user_avatar/forum.clockworkpi.com/esbeeb/32/8064_2.png) [@esbeeb](https://forum.clockworkpi.com/u/esbeeb)\
**Post date:** [September 22, 2023, 3:44am UTC](https://forum.clockworkpi.com/t/android-lineageos-on-raspberry-pi-cm4-core/9242/2 "2023-09-22T03:44:51Z")

</div>

I hate to admit it, but as much as I really like Raspberry Pi OS myself (and use it on an RPi4 I have), to make the most out of the uConsole’s cellular modem, the OS is likely going to _need_ to be LineageOS, if only to get the Android App specifically developed (often shoddily) by the Cellular Provider to install. The cellular provider’s website usually has very stripped-down functionality; unfortunately requiring the end user to install the Android/iOS app to get full functionality (and, of course, especially to show ads).

The Android app typically has those essential functions like:

- topping up one’s cellular plan (say, to add more data GB in a month)
- checking how many GB remain, and when exactly they will soon expire
- renewing the cellular number for one more year’s subscription

…all these things are, at best, ugly, and at worst, brutally hard, to do over the USSD dial-up interface (done from the regular phone call dialler app, however that may look).

---

<div class="post-metadata">

**Author:** ![esbeeb](https://yyz1.discourse-cdn.com/flex029/user_avatar/forum.clockworkpi.com/esbeeb/32/8064_2.png) [@esbeeb](https://forum.clockworkpi.com/u/esbeeb)\
**Post date:** [September 22, 2023, 3:49am UTC](https://forum.clockworkpi.com/t/android-lineageos-on-raspberry-pi-cm4-core/9242/3 "2023-09-22T03:49:47Z")

</div>

I may not be safe to assume that LineageOS can utilize the uConsole’s specific wifi hardware, nor the cellular modem - in Android.

---

<div class="post-metadata">

**Author:** ![fanfan\_pc](https://yyz1.discourse-cdn.com/flex029/user_avatar/forum.clockworkpi.com/fanfan_pc/32/8357_2.png) [@fanfan\_pc](https://forum.clockworkpi.com/u/fanfan_pc)\
**Post date:** [November 27, 2023, 3:14pm UTC](https://forum.clockworkpi.com/t/android-lineageos-on-raspberry-pi-cm4-core/9242/4 "2023-11-27T15:14:03Z")

</div>

I actually made an attempt because I wanted to use the ChatGPT app, so I considered implementing it through the Android system. I burned LineageOS 19 onto an SD card using rpi-imager. The steps should be correct, but when I inserted the card to start, there was no response

---

<div class="post-metadata">

**Author:** ![mikeschnier](https://yyz1.discourse-cdn.com/flex029/user_avatar/forum.clockworkpi.com/mikeschnier/32/9697_2.png) [@mikeschnier](https://forum.clockworkpi.com/u/mikeschnier)\
**Post date:** [November 27, 2023, 6:15pm UTC](https://forum.clockworkpi.com/t/android-lineageos-on-raspberry-pi-cm4-core/9242/5 "2023-11-27T18:15:05Z")

</div>

I’m very curious to see if anyone can get it working. I don’t have my uConsole yet, but I will definitely give it a try when I do.

---

<div class="post-metadata">

**Author:** ![szSong](https://avatars.discourse-cdn.com/v4/letter/s/8edcca/32.png) [@szSong](https://forum.clockworkpi.com/u/szSong)\
**Post date:** [November 27, 2023, 7:13pm UTC](https://forum.clockworkpi.com/t/android-lineageos-on-raspberry-pi-cm4-core/9242/6 "2023-11-27T19:13:48Z")

</div>

Thanks for sharing your attempt. I don’t have my uConsole yet but I want to try Android on it too.  
I took a peek at the uConsole repo, and I believe there will be more work needed to run LineageOS.

The hurdle here, at least - is how to make Android to recognize the LCD display. Part of the uConsole code base is about the “patch” that applies to linux image so that the OS knows how to drive the display. [uConsole/Code/patch/cm4 at master · clockworkpi/uConsole (github.com)](https://github.com/clockworkpi/uConsole/tree/master/Code/patch/cm4)

We probably need someone with good knowledge on Android to make a “patch” to LineageOS so that the display and keyboard can be driven.

---

<div class="post-metadata">

**Author:** ![fanfan\_pc](https://yyz1.discourse-cdn.com/flex029/user_avatar/forum.clockworkpi.com/fanfan_pc/32/8357_2.png) [@fanfan\_pc](https://forum.clockworkpi.com/u/fanfan_pc)\
**Post date:** [November 28, 2023, 1:16am UTC](https://forum.clockworkpi.com/t/android-lineageos-on-raspberry-pi-cm4-core/9242/7 "2023-11-28T01:16:41Z")

</div>

Thanks a lot,maybe i will try later

---

<div class="post-metadata">

**Author:** ![mikeschnier](https://yyz1.discourse-cdn.com/flex029/user_avatar/forum.clockworkpi.com/mikeschnier/32/9697_2.png) [@mikeschnier](https://forum.clockworkpi.com/u/mikeschnier)\
**Post date:** [November 28, 2023, 5:14am UTC](https://forum.clockworkpi.com/t/android-lineageos-on-raspberry-pi-cm4-core/9242/8 "2023-11-28T05:14:27Z")

</div>

It seems like someone [managed to get](https://github.com/waydroid/waydroid/discussions/896) Android to run in a container in Raspberry Pi OS using Waydroid. From what I’ve heard, performance is almost native.

Running Android on top of Raspberry Pi OS might be worth investigating as a way to bypass issues with booting LineageOS directly? If it works, it should be possible to make it load at startup.
