Code:
/*
** Your warranty is now void.
**
** We are 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 us for messing up your device, we will laugh at you.
**
**/
About LineageOS
LineageOS is a free and open-source operating system for set-top boxes, smartphones and tablet computers, based on the Android mobile platform. It is the successor to the custom ROM CyanogenMod, from which it was forked in December 2016 when Cyanogen Inc. announced it was discontinuing development and shut down the infrastructure behind the project. Since Cyanogen Inc. retained the rights to the Cyanogen name, the project rebranded its fork as LineageOS.
LineageOS was officially launched on December 24, 2016, with the source code available on GitHub. Since that time, LineageOS development builds now cover more than 185 phone models with over 1.9 million active installs,having doubled its user base in the month February–March 2017 And if you would like to contribute to LineageOS, please visit out Gerrit Code Review.
About Galaxy S2 running Android 13.0!
Hi everyone,
Welcome to my thread for i9100 (2011) running Android 13! Currently I'm not using my S2 as daily drive anymore since 3G is turned off. I used the phone primary for calling and WhatsApp but without 3G this isn't working for me. But nevertheless it didn't stopped me for porting Android 13 on this legendary phone.
Most of the work has been done by "LineageOS Ultra Legacy"-team. I don't know if this is the right teamname but someone added me in the Telegram group and they gave me some hints during development. Thanks guys! I was quite late starting porting this ROM and I was happy most BPF issues were already solved there. The i9100's kernel (still 3.0.101) needed some patches related to random=syscall and bpf in order to boot Android at all. That took a while to get it stable passing the factory i9100 splashscreen. From that point I could build LineageOS with the sources of "LineageOS Ultra Legacy"-team.
Credits
* LineageOS Ultra Legacy
* @html6405
* @ChronoMonochrome
* Shivaay
* @lee.wp14
* @ze7zez
* arco68
* Team Infusion
* LineageOS & CO (For Source Code)
* All the authors the last 10 years working on this legendary phone
* Last but not least @Concept48 which reviews custom ROMS from all kind of phones including my work on this ancient one
I hope I didn't miss someone, please let me know.
Source code:
https://www.github.com/lineageos
LineageOS-UL
LineageOS for Ultra Legacy Devices. LineageOS-UL has 54 repositories available. Follow their code on GitHub.
Current state:
Working:
- RIL (Phone/SMS)
- Audio
- Wifi
- IMEI
- Touchkeys
- Hardware encode/decoder
- Display
- DRM, for e.g. Netflix
- Selinux enforced
- Magisk v24.1
- Camera Videorecording
- Camera Pictures
- (A)GPS
- Bluetooth audio
Untested
- BitGapps (or any other Gapps packages if you dare
- BLN
Working-ish/WIP:
- Sensors, sometimes works
- FM Radio (using Spirit2, sometimes it needs couple app starts)
Not working/known issues:
- PowerHAL
- LiveDisplay
- MicroG support
- Bluetooth headset not working
- Text is small in the launcher (and very slightly so in Settings?)
- Display Brightness does not work (Lights-HAL not working)
- Random crashes during usage
- Small dot in lock screen when password is not set, around the same location as a lock would be when a password is set
- No ambient display settings
- Camera preview is wide until first picture is taken
Won't fix:
- HDMI (MHL) (support broken/removed since CM 10)
How to install LineageOS 20.0
If you are familiar with the installation of custom ROMs than you probably already know what to do.
If you already have Lineage 19.1 running, just do a full clean install in TWRP and your good to go.
I personally still use the old TWRP 3.3.1-1 because TWRP 3.6.1 fails to make the Magisk enabled kernel file I create seperatly for every release.
For now please look for detailed instructions here to get LineageOS 19.1 running first.
How to apply Magisk-kernel on top of LineageOS 20.0
Normally you flash the Magisk.zip or install it with using the MagiskManager app. But our device is ancient and uses a deprecated partition/boot procedure. Magisk needs to update the ramdisk-image but that is integrated into the kernel-image (zImage). Therefore I created this seperate kernel-image (zImage-file) with the Magisk modified ramdisk-image.
- Copy the Magisked kernel on the SD-card of your phone.
This is the second download-file in the download section ending with ...magisk_boot.img. - Reboot into recovery (TWRP)
- In TWRP
- Choose Install
- Choose Install Image
Now you can select ...magisk_boot.img - Choose Boot
- And flash it
- Reboot into Android
- Download Magisk from https://magiskmanager.com
- If you download the .zip, rename it to .apk
- Install the Magisk App in Android and follow its instructions
Downloads - LOS 20.0 Builds
Build #1 2022-10-18
Overall state: Random softboots/crash
Android build: 13.0.0-r8
Required recovery: TWRP 3.3.1-1
Downloads
lineage-20.0-20221017-UNOFFICIAL-i9100.zip (EDIT: Link updated!!)
lineage-20.0-20221017-UNOFFICIAL-i9100_magisk_24100_boot.img
Build #2 2022-11-07
Overall state: Better than Build #1.
Android build: 13.0.0-r11
Required recovery: TWRP 3.3.1-1
Changes:
- Fixed Bluetooth audio
- Camera is more reliable
- Fixed some crashes (related to lack of eBpf support in kernel)
Downloads
lineage-20.0-20221107-UNOFFICIAL-i9100 .zip
lineage-20.0-20221107-UNOFFICIAL-i9100_magisk_24100_boot .img
Last edited: