[ROM][EOL] Magma Moonshine - Android Q for Nexus 4 [mako]

edi194

Senior Member
Jul 4, 2012
960
813
123
22
Wolbórz

HTML:
#include "std_disclaimer.h"
/*
 * Your warranty is now void.
 *
 * I am not responsible for bricked devices, dead SD cards,
 * thermonuclear war, or you getting fired because the alarm app failed. Please
 * do some research if you have any concerns about features included in this ROM
 * before flashing it! YOU are choosing to make these modifications, and if
 * you point the finger at me for messing up your device, I will laugh at you.
 */
IMPORTANT: You need to have a /system partition at least 1272 MB size to flash this ROM.

Any repartitioning is done at your own risk.

Descritpion:
One of the first releases of Magma for any device. It's meant to be clean and stable that's why it's pretty bare for now. I'm using Nexus 4 for testing this so probably more updates will come.
Official release with OTA will be available soon :fingers-crossed:


Working/not working:
- everything should work like on LOS 16 by voron

Flashing Instruction:
1. Backup all your data (Important)
2. Wipe system, data and cache.
3. Flash the ROM.
4. Reboot.

Downloads:
ROM: https://mirror.codebucket.de/magma/mako/

Credits:
- LineageOS team.
- @voron00 for his work on LOS for mako

Sources:
Device: https://github.com/MagmaDevices/device_lge_mako
Kernel: https://github.com/voron00/android_kernel_lge_mako
Vendor: https://github.com/voron00/proprietary_vendor_lge
Source Code: https://github.com/MagmaProject
 

Attachments

Last edited:

dahawthorne

Senior Member
Nov 15, 2014
1,919
1,765
143
Brighton
Looking pretty good. I had already repartitioned for PIE and Magma installed without any problem. I couldn't change my home wallpaper to the pure black I prefer, and I discovered that the smallest OpenGapps containing Wallpapers is Mini, which was too big for my system partition. I installed Pico (Micro also works) and got the Wallpapers apk from Apkpure. All working fine.
The only thing not working is Magisk 20.1, which refuses to stick. I get an "installed ok" message in TWRP, but Magisk Manager isn't installed when I boot, and when I install the apk Manager says that Manager is up to date but Magisk itself isn't installed. I'll keep trying and report if I get any more info.
Great job, @edi194. Amazing to have Android 10 running on such a very old device. Thank you.
Edit: I've installed Magma on my second N4, which is a good one (screen works fine), and Magisk doesn't stick on this one either.
This is absolutely not any sort of criticism, just reporting. As I said, I'm blown away by having Android 10 on my ancient N4s - a remarkable achievement for which I'm very grateful.
 
Last edited:
  • Like
Reactions: nitin.chobhe

haelmchen

Senior Member
Feb 7, 2011
418
140
73
Why does it want gapps for 7.1.2 and not 10?

nvm silly me downloaded arm64 gapps

Rom is running super smooth!
 
Last edited:

ddaggebi

Senior Member
Jan 12, 2014
446
189
73
Seoul
Thanks for the ROM. Tried it out.
It's not smooth, stutters more than Pie ROMs. However, given that it's still early stage for 10 ROMs, it's very impressive. No huge bugs. Totally usable performance. Pie ROMs in early stages were way more slower than this.
Keep up the good work! It will be great to see some updates!
 

edi194

Senior Member
Jul 4, 2012
960
813
123
22
Wolbórz
Testing, testing, testing...

New build is up!

Changelog:
- updated device tree
- updated source
- changed bootanimation

Nothing pretty big ¯\_(ツ)_/¯
December patch not added... yet.

Known bugs:
- inbuilt screen recording will crash your systemui constantly, don't use it
- too big advanced reboot icon

Download link: https://mirror.codebucket.de/cosp/test/Magma-Moonshine-OFFICIAL-mako-20191213.zip
 

dahawthorne

Senior Member
Nov 15, 2014
1,919
1,765
143
Brighton
Thanks for the new version. I like the new Marshmallow(?) boot animation.
A couple of things to report. Each time I've flashed after a total wipe (all partitions) & format.
1) Magisk still doesn't stick. Manual installation of Magisk Manager shows "Magisk not installed" although TWRP shows a successful installation. I mention this only because I don't think it's a Magisk problem, as Magisk works on my Nexus 5 with Android Q.
On my first two attempts I got a bootloop - it showed the SIM PIN screen for a second, and then the boot animation showed. This repeated for about 10 minutes.
On the third attempt I installed only the ROM & OpenGapps Pico (no Magisk), and the bootloop is still happening as I write this.
2) I set a security PIN, which was accepted, but then the security showed the unlock method as "Swipe", and no PIN is required to open the phone. When I try to change it again, it says "Wrong PIN".
I have two Nexus 4s. The other one still has the original Magma on it and it doesn't have the PIN or bootloop problems, though Magisk doesn't work on that device either.
It may be only this specific device. Can anyone confirm that these problems don't happen on their device?
 

voron00

Senior Member
Mar 8, 2011
274
882
123
Thanks for the new version. I like the new Marshmallow(?) boot animation.
A couple of things to report. Each time I've flashed after a total wipe (all partitions) & format.
1) Magisk still doesn't stick. Manual installation of Magisk Manager shows "Magisk not installed" although TWRP shows a successful installation. I mention this only because I don't think it's a Magisk problem, as Magisk works on my Nexus 5 with Android Q.
On my first two attempts I got a bootloop - it showed the SIM PIN screen for a second, and then the boot animation showed. This repeated for about 10 minutes.
On the third attempt I installed only the ROM & OpenGapps Pico (no Magisk), and the bootloop is still happening as I write this.
2) I set a security PIN, which was accepted, but then the security showed the unlock method as "Swipe", and no PIN is required to open the phone. When I try to change it again, it says "Wrong PIN".
I have two Nexus 4s. The other one still has the original Magma on it and it doesn't have the PIN or bootloop problems, though Magisk doesn't work on that device either.
It may be only this specific device. Can anyone confirm that these problems don't happen on their device?
Flashing opengapps will break multiple things in android 10 on 32 bit arm devices at the moment, including security PIN settings.
 

dahawthorne

Senior Member
Nov 15, 2014
1,919
1,765
143
Brighton
Thanks, @voron00, but both problems persist.
Full wipe & format, install Magma only, no Gapps or Magisk, boot was fine. I chose Security/PIN, entered the PIN, which was accepted, and pressed the back button. It showed "Swipe". I locked the screen and unlocked it with a simple swipe, no PIN required. I tried changing it again and got "Wrong PIN".
And I'm afraid it's bootlooping again - a second of the SIM PIN screen and then the boot animation.
 
Last edited:

dahawthorne

Senior Member
Nov 15, 2014
1,919
1,765
143
Brighton
Thanks, @edi194 - much appreciated.
I thought that reporting this without a log might not be too helpful, so I tried it on my second Nexus 4, which is in perfect condition. I'm afraid that both the PIN & bootlooping are happening on that device as well - just Magma, no Gapps or Magisk.
Thanks for your work on Nexus 4 Android 10.
 
Last edited:
  • Like
Reactions: ALEXIS_0071

edi194

Senior Member
Jul 4, 2012
960
813
123
22
Wolbórz
Update... again

Changelog:
- hopefully fix keyguard (pin/password/pattern is now working, after reboot it takes some time to unlock)
- added (useless for now) MagmaSettings
- removed screenrecorder (not working on mako anyway)
- really small source updates

About Magisk...
To be honest, I don't know what's the problem. Tested several Q/10 roms and it wasn't working on any of them. Probably it's an kernel thing but i'm not experienced about these at all. We need to wait for proper fix by someone else.

Download link on first post
 

dahawthorne

Senior Member
Nov 15, 2014
1,919
1,765
143
Brighton
Wow, you're good... :)
PIN and reboot now work correctly.
Magisk still doesn't work despite claiming to be installed in TWRP. No problem - my Nexus 4s are my emergency phones.
I don't know if it's of any help (or interest :)) but the Android 10 on my Nexus 5, on which Magisk does work, is the work of @z3DD3r - an experimental Hammerhead LineageOS 17 on the green banner at the top of this link:
https://sourceforge.net/projects/hammerhead-lineageos/files/16.0/
 

ze7zez

Senior Member
Aug 24, 2012
2,711
1,317
113
Kraków
nz.geoview.info
Unfortunately, recovery from backup twrp 3.3.1-1 UA does not work for me. The system does not stand up and hangs on flying balls. Adb works. I can do logcat if needed.
Has anyone obtained a working system from recovery?
 

dahawthorne

Senior Member
Nov 15, 2014
1,919
1,765
143
Brighton
When I read your post my first thought was that "hangs on flying balls" must be a traditional Polish way of saying "Not very stable". But then I got what you meant... :)
I can confirm that recovering an image doesn't seem to work, which rather defeats the purpose of a recovery. I've never seen a TWRP recovery failure before. I did a backup with 3.3.1-1 UA, wiped everything except Internal Storage, and recovered the image, but it "hung on flying balls" :).
I flashed standard TWRP 3.3.1 Mako, but that's the same - although it did complain about vendor & EFS partitions not being found. When I get more time I'll reinstall Magma and try the same backup, wipe & recovery with standard TWRP.
Update: No, standard TWRP doesn't work either. Full wipe & format, flash Magma & OpenGapps only, took TWRP backup, system rebooted ok, back to TWRP, recovered this new backup apparently ok, but it's been on the flying dots boot screen for 10 minutes now.
 
Last edited:

nitin.chobhe

Recognized Contributor
Jan 3, 2013
8,097
19,497
263
Pune

voron00

Senior Member
Mar 8, 2011
274
882
123
Changelog:
- hopefully fix keyguard (pin/password/pattern is now working, after reboot it takes some time to unlock)
- added (useless for now) MagmaSettings
- removed screenrecorder (not working on mako anyway)
- really small source updates

About Magisk...
To be honest, I don't know what's the problem. Tested several Q/10 roms and it wasn't working on any of them. Probably it's an kernel thing but i'm not experienced about these at all. We need to wait for proper fix by someone else.

Download link on first post
FYI recorder is also fixed in latest sources.
 
Last edited: