[ROM][UNOFFICIAL][13.0.0][r11][i9100] LineageOS 20.0 [ALPHA]

Search This thread

rINanDO

Senior Member
Dec 17, 2009
701
4,759
lineage.jpg

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
https://www.github.com/rinando

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:

MaRtYy01

Senior Member
Jan 13, 2015
551
212
Plovdiv
Wow, thank you for the hard work! Didn't expect to see android 13 on the s2, so this was a pleasant surprise, gonna keep me awake tonight. I got a second galaxy s2 a few days ago, so I will definitely try this out.

Unfortunately, it appears that the provided download of the rom is corrupted, attempting to flash it on the phone returns a ''zip file is corrupt error'' and on further inspection most files are missing from the zip compared to lineage os 19.1, 7zip also reports that the archive is corrupted while trying to extract it. I already tried downloading it three times just to be certain, no avail.

Maybe something is up with AFH, initially it says 506.2MB, then starts downloading 131MB?
 

Attachments

  • ss.png
    ss.png
    34.9 KB · Views: 780
  • sss.png
    sss.png
    5.3 KB · Views: 772
  • Like
Reactions: _Vigus_ and zpunout

rINanDO

Senior Member
Dec 17, 2009
701
4,759
I'm only getting 131MB out of 506MB of the zip file as well on Android File Host.

Also, congrats rlNanDo for keeping development alive for the i9100! I'm glad I have this phone just to see what's possible.
I see! Hmm that's strange. I'll try uploading it again.

Edit: It succeeds uploading, but when downloading it is still a portion of the actual file size of 506MB.... I will try uploading later the day.
 
Last edited:

rINanDO

Senior Member
Dec 17, 2009
701
4,759
Unbelievable.. I still can't upload. It now fails instead of a faulty success message after upload. Has anyone an idea to host roms besides androidfilehost?
 

itsAlphaFox

Member
Feb 20, 2022
28
17
i9100
Just installed it on my S2! Seems to be running alright so far. Here are some bugs I'm facing right now.
  • Text is small in the launcher (and very slightly so in Settings?)
  • Brightness does not work
  • Bluetooth does not connect to headset (Pixel Buds A)
  • Cameras do not work
  • Getting 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
I'll update this list as I spot things on Build #1.

Awesome that Android 13 even runs on this thing! Amazing job to the whole team that brought this to life!

If this list seems critical, I really don't mean it that way. I just want to try help spot bugs
 
Last edited:

Concept48

Senior Member
Dec 26, 2021
642
292
lineage.jpg

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 @channel48 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
https://www.github.com/rinando

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

Untested
- Bluetooth (audio & headset)
- 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

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: Ok I guess... It is still running idle for 14 hours now....
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
My Hero is back !!!!
 

Concept48

Senior Member
Dec 26, 2021
642
292
I think its very smooth , but I think button navigation is better because pressing Home button brings a reboot of the device , on buttons its just fine,.
 
Last edited:

mohsha7861269

New member
Oct 27, 2022
3
0
I'm only getting 131MB out of 506MB of the zip file as well on Android File Host.

Also, congrats rlNanDo for keeping development alive for the i9100! I'm glad I have this phone just to see what's possible.
my phone got stuck into endless bootloop and it never allows me to enter recvover mode even proper keys were pressed? please help me bro
 

ze7zez

Inactive Recognized Contributor
(... 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. (...)
Has no university nominated you for an honoris causa doctor?

This is a huge omission. We need to do something about it. 🧑‍🤝‍🧑
 
  • Like
Reactions: Concept48

Top Liked Posts

  • There are no posts matching your filters.
  • 1
    All files recovered from lineageos for GT-I9100

  • 41
    lineage.jpg

    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
    https://www.github.com/rinando

    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
    17
    New build is up!

    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
    7
    Yes, that is correct! I am quite busy. Updates sources r67. And fixed brightness slider. I will update the forum soon!
    6
    I am using a Japanese Galaxy SⅡ (SC-02C) and it works perfectly. Thank you for the great ROM!
    85a39bf1-45b3-434c-9969-0fd92c28c680-jpeg.5787507
    6

    maybe....
    Thanks! I uploaded the rom here: