Add magisk in the source code tree - Magisk

Hello, I work on a custom aosp rom for A21s based on android 13. Where I can put the magisk source code in the aosp code tree. I want to pre root that rom.

This question would be better asked in the Magisk forum. I'll move your post there.
However, I found this with a Google search, also this. However it's entirely possible that Magisk has outgrown this...

Related

github and building from an already existing Cm

Looking for someone to explaining how to use github and integrate the latest changes to code to a already current existing cm rom. Not completely sure how to do it since I am not doing it from the ground up

Lineage 17.1 build using device tree and kernel from previous branches

Hello,
I am new to this, and this is my first post. I have tried finding the most suitable place to ask this, please tell me if there is a better place my questions.
I am currently trying to build lineageOS 17.1 for my Xperia Z. I have previously built lineage 15.1, which used to be officially supported, but this is my first time trying myself at an unsupported release.
I have followed the steps on the official build guide up to the the breakfast command step. I know I need to include manifests for the device tree and kernel, and thought I could simply use those made available by lineage from the 15.1 and 16.0 releases, and could add a revision="lineage-xx.x" tag accordingly. I am attaching the .repo/local_manifests/roomservice.xml which I am now using.
My problem: When running the breakfast yuga command I still get an error because it queries the lineage-17.1 branch of the LineageOS github repository. I don't understand why this is happening. isn't the explicit use of the revision="lineage-xx.x" tags in my manifest supposed to tell breakfast to not use the default lineage-17.1 branch? I am including the complete error log bellow (there are other errors there, but now I am more interested in finding a solution to this current problem).
As mentioned in the error log attached, one can set the ROOMSERVICE_BRANCHES environment variable to use other branches as backup, and this would solve the problem, but I don't understand why I should have to use this since I am explicitly mentioning which branch I want to use in my roomservice.xml.
Thank you in advance.

Forking and Developing Magisk

Back in May when topjohnwu joined Google, he was told he's not allowed to maintain Magisk anymore:
https://imgur.com/ozGMFbU
. For some reason, this information wasn't broadcasted widely.
Because of this, the Magisk GitHub has gone dry: https://github.com/topjohnwu/Magisk/
Today, I can root my OnePlus 8 running LineageOS 18.1 (or Android 11 in general) with Magisk and pass SafetyNet. Maybe we'll have some root with Android 12. But come Android 13, or even 12 if something changes, what will we do if Magisk isn't maintained?
I propose we fork Magisk and continue developing it from there. This thread exists mainly as a discussion about a possible fork.
Sadly, I don't know much about Android development myself. I've only gone as far as making a flashable ZIP (if even that) for a Moto Z2 Force Sprint APN fix back in 2018. Well, maybe it's time for me to learn (Full disclaimer: I am a FreeBSD committer/developer, more packaging work but some kernel/driver stuff also, but then Android is based off Linux not BSD).
To mods: Sorry for making another thread. I wanted to edit the title of my previous thread, but couldn't.
MOD ACTION:
Thread closed since another earlier thread on the same subject already exists: https://forum.xda-developers.com/t/all-hands-on-deck.4303129/
Please search before posting.

Question [spes/spesn] no google custom rom when?

Slowly new custom roms are fading in for the spes/spesn redmi note 11 and now there finally is its own forum here.
A custom rom without Google and its services is still missing among these roms.
Hit a post here if you find some de-googled custom roms, will do the same.
Peace
Update 08.07.2022:
The lack of de-googled official roms seems to come from the fact that xiaomi did not yet open source the kernel source code for the spes/spesn devices. https://github.com/MiCode/Xiaomi_Kernel_OpenSource
Update 01.08.2022
I'm leaving this spes/spesn and will try to get a device where the OEM is more cooperative with opening their source code. There will be no further updates from me in this Thread.
Make sure to drop new information here, since there are and will be quite some people wanting official custom roms without google.
Thanks to @ulnik for finding a RSS feed on updates regarding the opening of the kernel source code by xiaomi:
There's a RSS feed: https://github.com/MiCode/Xiaomi_Kernel_OpenSource/commits/README.atom
Click to expand...
Click to collapse
There is LineageOS unofficial, I think it doesn't have Gapps.
xyzalify said:
There is LineageOS unofficial, I think it doesn't have Gapps.
Click to expand...
Click to collapse
That would be highly fancy, do you maybe have a link? I couldnt find anything in that regard.
i currently use Pixel Experience GSI rom and runs good noted: i installed via fastboot not using twrp recovery (as same as monthly update) Noted: now i move to PixelPlus UI for Android Auto Compatibility
snipyyy said:
That would be highly fancy, do you maybe have a link? I couldnt find anything in that regard.
Click to expand...
Click to collapse
Telegram group for Redmi Note 11 ROMs:
Redmi Note 11 | Update 🇮🇩
Redmi Note 11 Channel 🇮🇩 Main Group : @RN11Indonesia Photography: @XiaomiPhotographyID Out Off Topic: @ootnote11series Supported by : XFI | OFI | tdspya
t.me
There is LineageOS unofficial.
Direct link for LOS ROM: https://sourceforge.net/projects/ja...ge-19.1-20220530-UNOFFICIAL-spes.zip/download
Please join Telegram too for all the ROM updates!
Spark OS is also without gapps (vanilla version). Currently I am using LeOS (GSI). Its ungoogled by default and works well.
Tried Lineage OS linked in this thread , I cant install gapps ,can anyone do a build with gapps.
Update:
The lack of de-googled official roms seems to come from the fact that xiaomi did not yet open source the kernel source code for the spes/spesn devices. https://github.com/MiCode/Xiaomi_Kernel_OpenSource
Lets wait some more
LineageOS or CalyxOS
Shoyou193 said:
LineageOS or CalyxOS
Click to expand...
Click to collapse
https://wiki.lineageos.org/devices/#xiaomi The spes/spesn devices are currently not officially supported by LineageOs
https://calyxos.org/docs/guide/device-support/ The same goes for CalyxOS
Again, this is probably due to the source kernel not being released to the public by Xiaomi.
I'm leaving this spes/spesn and will try to get a device where the OEM is more cooperative with opening their source code. There will be no further updates from me in this Thread.
Make sure to drop new information here, since there are and will be quite some people wanting official custom roms without google.
Thanks to @ulnik for finding a RSS feed on updates regarding the opening of the kernel source code by xiaomi:
There's a RSS feed: https://github.com/MiCode/Xiaomi_Kernel_OpenSource/commits/README.atom
Click to expand...
Click to collapse

Question Any one working on Lineage OS with Gapps ?.

Any one working on Lineage OS with Gapps ? Thanks.
After a quick Google search, it seems like there is someone that does various test builds for the spes device:
Jabiyeff-build Activity
sourceforge.net
It's been mentioned in this thread already:
[spes/spesn] no google custom rom when?
Slowly new custom roms are fading in for the spes/spesn redmi note 11 and now there finally is its own forum here. A custom rom without Google and its services is still missing among these roms. Hit a post here if you find some de-googled...
forum.xda-developers.com
I use the rom as daily driver and it is very good rom. I am surprised that it is not advertised anywhere. The only thing I am missing is passing SafetyNet.
I am using the last version (220530) with May security fixes with gapps and magisk.
Well, it's about time Xiaomi stopped dicking around and release the kernel source already, as they are legally obligated to do. There's not much of a way we can force them though; so much about "Xiaomi allows unlocking the bootloader and is open to modifications for their devices' software".
Schmuppes said:
Well, it's about time Xiaomi stopped dicking around and release the kernel source already, as they are legally obligated to do. There's not much of a way we can force them though; so much about "Xiaomi allows unlocking the bootloader and is open to modifications for their devices' software".
Click to expand...
Click to collapse
Our device got skipped lmao xiaomi.

Categories

Resources