[ROM][UNOFFICIAL][12.1.0][r7][I9100] LineageOS 19.1 [ALPHA]

Search This thread

rastla

Member
Aug 27, 2015
9
2
On the off-chance that anyone actually tried this...
I couldn't really get the Snapchat login to work, because of Root/Safetynet issues or whatever.
I enabled the Safetynet module from one of the previous pages and masked Magisk, but it didn't solve the issue.

However, I logged into Snapchat on my Xperia Z5 (also on LineageOS and rooted) and used Titanium Backup to back Snapchat up and then imported that backup on my Galaxy S2 and was logged in and the app basically works.

BUT
The camera doesn't work in Snapchat. Which is kinda crucial.
Does anyone know if this is fixable?
 

Mike60

Senior Member
Jan 7, 2010
88
6
Hi
I have two of i9100 for playing. I installed 19 and 20 on this.
On both I don't know how to install MindTheGapps or BiTGapps. Maybe I forgot something. But WHAT ?
Please look attachments and if somebody can tell me what to do. I am not anymore young so for me some question are a little heavy to understand BUT I can try :)
I want to have Play Store on it.
Thank you for understanding.
Mike
 

Attachments

  • IMG_20230704_182225.jpg
    IMG_20230704_182225.jpg
    763.6 KB · Views: 43
  • IMG_20230705_091637.jpg
    IMG_20230705_091637.jpg
    967.6 KB · Views: 47
  • IMG_20230705_091700.jpg
    IMG_20230705_091700.jpg
    849.2 KB · Views: 38
  • APK.jpg
    APK.jpg
    67.2 KB · Views: 42
Hi
I have two of i9100 for playing. I installed 19 and 20 on this.
On both I don't know how to install MindTheGapps or BiTGapps. Maybe I forgot something. But WHAT ?
Please look attachments and if somebody can tell me what to do. I am not anymore young so for me some question are a little heavy to understand BUT I can try :)
I want to have Play Store on it.
Thank you for understanding.
Mike
I have no idea where you are downloading gapps from, but here are the official links to the recommended BitGapps:

 
  • Like
Reactions: Mike60

zxcboy228

Member
Mar 23, 2023
13
2
I need gapps for lineage 19.1 but even though if I will on TWRP 3.6.0 it will not see internal storage. So I use twrp for android 10 it will not work pls help
 
Downloads - TWRP 3.6.1
To install TWRP 3.6.1 you need to enlarge your recovery-partition.
You can download manually the PIT file here.
I recommend to use the "full clean flash"-instructions described above which comes with TWRP 3.6.1.

Download TWRP 3.6.1_9.0 here:
twrp-3.6.1_9.0-i9100.img

If you need Toybox instead of Busybox, you can download the toybox-version here:
twrp-3.6.1_9.0-i9100_toybox.img

How to flash .img-file:
In TWRP => Install => Install Image => Choose your img-file => Choose Recovery => Flash
 
  • Like
Reactions: akkis

Dvoyka

New member
Jul 25, 2023
1
0
I put the assembly without root on s2 but there were a few questions
1) when the phone is turned on, a yellow exclamation mark appears. How to remove it?
2) I changed the bootloader to Samsung as indicated in other posts, but for some reason the path turned out to be / product / media / bootanimation.zip And where then to put the sound file poweron.wav?
3) I didn’t find an application for listening to radio without the Internet ... and those that are on the Internet or are not installed or are asked to give the Internet ... Is there a working standard from Samsung? Where can I get a work package when you connect headphones to a 3.5 plug?

if there are answers somewhere, sorry, maybe I missed it, I didn’t find it

thx
 

tronideco

New member
Aug 29, 2023
1
0
Good afternoon, I have installed this rom on my samsung s2 model i9100. At the moment I have encountered some problems: The mobile sometimes restarts, but it is something manageable. The problem that affects me the most is that I can't enter my gmail accounts. The add accounts menu closes and I can't enter them. I have only been able to add my whatsapp account. I need my gmail contacts. Can you give me a solution? All the best.
 

Eric80

Member
Sep 13, 2023
11
2
First thanks a lot for the amazing work which will allow recycling some old Samsung SII !
I got recently a i9100 to play with. I first did a factory reset on the stock ROM, on Android 4.1.2
And trying to flash to Android 12.1

Finally Done. Steps:
1. Flash PIT i9100-LOS-19.1.pit
2. Flash via odin File tar i9100-LOS-19.1_android-12.1.0_r2.tar
3. Phone go only download mode or recovery.
4. Put lineage-19.1-20220613-UNOFFICIAL-i9100.zip in microsd
5. Reboot in recovery TWRP and flash file from sd.
6. Reboot in recovery TWRP and full wipe
7. Reboot system and it's all ok.
8. Now flash gapps

Thanks a lot for all support

this is one of the key msg in the whole flashing procedure, but likely still need a bit more details for newbies.

I used Odin to flash my phone as stated in the first page, so as steps 1 and 2.
And ended as well in the 'download mode'.
I did it twice, same story.

Then, I followed your step, with the zip file in microSD.
5. I used the key combination home+volUp+start which started TWRP, I chose the 'install zip' stuff.
I got a few errors there: the partitions could not be mounted properly:
failed to mount /cache (invalid argument))
failed to mount /data and unable to find crypto footer.

Updating partition details....
failed to mount /cache (invalid argument)
failed to mount /data (invalid argument)
failed to mount /preload (invalid argument)

...done
failed to mount storage
failed to mount /data (invalid argument)

full SELinux support is present
unable to mount /data/media/TWRP/.twrps
WTP Enabled

Installing zip file /sdcard1/lineage-19.1-20220613-UNOFFICIAL-i9100.zip
Umounting System...
Target: samsung/GT-I9100/GT-I9100:4.1.2/JZ054K/
I9100XWMS2:user/release-keys
Patching system image unconditionally...
I first let it reboot, it started with the lineAgeOS logo but did not move for 20 min.
6. I removed the battery, started again in TWRP, did the wipe per default. What is meant here with 'full' wipe?
7. During the reboot, the LineAgeOS logo appeared again, and then it switched to a "Encryption unsuccessful" screen, with a button "Erase all data" I can NOT press as if the touchscreen will be inactive.
Thus, I just restarted the phone. But back on this "Encryption unsuccessful" page.

The phone is still recognized from my PC, but using adb
> adb devices
List of devices attached
0019ab5e42017e unauthorized

while it says 'recovery' when started in TWRP. And used to be the correct 'device' before I started the whole process.

What should I do now to fix the flash?

EDIT: looking a bit further in the TWRP options, no wonder that I got the above errors: my 'data' partition is not setup properly, set to size 0 MB.
I however can't resize or repair it.
But could format it and is now 12591 MB as expected from the pit file
The 'Cache' partition is 74MB, as from the pit file
The 'System' partition is 2015 MB, I suppose it corresponds to the FACTORYFS
'Preload is 7 MB, so for the UMS or HIDDEN partition.
'Internal storage' is invalid

So for the point 5, the 'format data' is the key.
Now my i9100 is now setup with LineAgeOS :)
However, it is slow...
8. I could then install the BiTGApps-arm-12.1.0-v2.3-CORE.zip via the 'install zip' of TWRP

Edit2: specially after the BitGApps install, the smartphone is so sluggish that it is barely usable.

As already mentioned by one comment, the "battery manager" is slowing down the whole, so the first step is to disable the battery manager. And disable the gestures navigation, also slower than the buttons.

Nevertheless, the GooglePlay does not work properly: it keeps saying 'you are offline' while the browser is working fine. I am only on Wifi, tried both the 2.4Ghz and 5Ghz.
 
Last edited:

Eric80

Member
Sep 13, 2023
11
2
yes, that a good point.
but it seems the google services are just making the phone too slow.
I just want the Google Play Store, the other services are less interesting to me.

I eventually re flashed the phone with the ROM for June 2022, without BitGApps, but using the ApkPure app instead of GooglePlay to install further apps. https://apkpure.com is working ok, but the app is blown by the ad...

The phone is still a bit slow for an comfortable use.
I wonder if any older version of LineAgeOS would bring a better performance/compatibility compromise. Any recommendation? Android 7 / LOS 14.1 is the last 'official' build, but Android 9 could be useful, since we see the first app that refuse to run on Android 8...

back to the general feedback: most sensors do NOT report any value.
And more problematic, the GPS is still not working on my S2. It was said to be fixed with the June 2022 build, but don't get any GPS Data so far.
edit: GPS IS working, it just needs a few minutes outside for the first GPS fix. I forgot the GPS at that time were so much slower than more recent phones which can pick up the GPS signal inside or close to a window.

I tried the GPS Status and PhoneTester apps, the later gives plenty of info about the phone and the sensors.
 
Last edited:

Top Liked Posts

  • There are no posts matching your filters.
  • 1
    An alternate to Google Play Store is the Aurora client for Google Play Store. It is available in F-Droid.

    If app searches are not working in Aurora (depends on if Google is taking measures against Aurora at that particular moment), you could make a shortcut in your browser to Google Play (I use Firefox Klar for this), do the search for the app you want there instead. Tap on the app you want in the results (important step). Then in the browser menu, tap "Open with" and select Aurora. Then the Aurora app can install (and update) the app.


    About speed. I found Android 10 to work quicker. I think it's because that version still supports legacy storage access framework which I think was discontinued in Android 11.

    thanks, just installed the Aurora client. https://f-droid.org/en/packages/com.aurora.store/
    I uninstalled Apkpure which was very slow with too many ads.
    Aurora seems to be independant from microG, so I also uninstalled microG stack.

    So only Aurora Store as app manager seems to be the best option!

    I also downgraded with the laster ROM of LineAge OS 17.1 (Android 10) which is only 1 year older (2021-03) than the latest here from L 19.1 (2022-06): it feels indeed faster than L19.1 on first boot.
    I ll see with some apps installed.
    Sensors are said to be ok on 17.1 but not on 19.1: verified? -> from my side, yes, they are working on 17.1
    GPS is finally working on my 19.1 after many minutes stay outside: it was my main motivation to downgrade, so less important now.
    SIM card / RIL seems to drain the battery to much on 17.1: it is working better on 18 and 19.1 ?
  • 61
    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 12 12.1!
    Hi everyone,

    Welcome to my thread for i9100 (from 2011) running Android 12. It took a while, but now the rom is at a usable state (no daily).
    In my country my provider KPN will stop supporting 3G on march 2022 and this wil make my S2 unusable for daily drive. This means I probably won't port this phone to Android 13 in the future.

    Update 16-03-2022
    I renamed the thread because I updated the sources to LOS 19.1/Android 12.1 and everything is still working except of GPS.

    Credits
    * @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
    - Bluetooth (audio & headset)
    - Wifi
    - IMEI
    - Touchkeys
    - Hardware encode/decoder
    - Display
    - DRM, for e.g. Netflix
    - Selinux enforced
    - BitGapps
    - Magisk v23.0 v24.1
    - FM Radio (using Spirit2)
    - Camera Videorecording
    - Camera Pictures
    - MicroG support
    - (A)GPS fixed! Thanks to @html6405 for helping me out!

    Working-ish/WIP:
    - BLN
    - Camera Pictures, one time only and crashes after second use untill reboot.
    - Sensors, sometimes works

    Not working/known issues:
    - AGPS
    - Camera Videorecording

    - PowerHAL
    - LiveDisplay
    - MicroG support

    Won't fix:
    - HDMI (MHL) (support broken/removed since CM 10)
    - (A)GPS, I can't fix this blob crash :(


    How to FULL clean flash LOS 19.1 and TWRP 3.6.1_9.0
    Warning: This will erase your data-partition completely!
    1. Download i9100-LOS 19.1 via ODIN.zip and unzip it on your Windows PC.
    2. Start the Odin3 v3.07.exe in the ODIN3 v3.07-folder
    3. Choose for PIT: i9100-LOS-19.1.pit
    4. Choose for PDA: i9100-LOS-19.1_android-12.1.0_r2.tar
    5. Make sure the following checkboxes are checked:
      1. Auto Reboot (optional)
      2. Re-Partition
      3. PDA
    6. Click Start!
    7. Reboot your phone and LOS 19.1 will start. First start could take about a few minutes.
    Note about new PIT-file: The recovery image of TWRP 3.6.1 exceeds the 8mb partition size of our PIT. That is why I introduced a new PIT-file. I also enlarged the System-partition (FACTORYFS) to 2GB. These are the partition changes (compared with stock) of PIT-file i9100-LOS-19.1.pit :
    Partition nameStock sizeLOS 19.1 size
    RECOVERY8MB32MB
    CACHE100MB76MB
    FACTORYFS512MB2048MB
    DATAFS2048MB12792MB
    UMS11784MB8MB
    HIDDEN512MB8MB


    How to apply Magisk
    • 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 - TWRP 3.6.1
    To install TWRP 3.6.1 you need to enlarge your recovery-partition.
    You can download manually the PIT file here.
    I recommend to use the "full clean flash"-instructions described above which comes with TWRP 3.6.1.

    Download TWRP 3.6.1_9.0 here:
    twrp-3.6.1_9.0-i9100.img

    If you need Toybox instead of Busybox, you can download the toybox-version here:
    twrp-3.6.1_9.0-i9100_toybox.img

    How to flash .img-file:
    In TWRP => Install => Install Image => Choose your img-file => Choose Recovery => Flash

    Downloads - LOS 19.1 Builds


    Build #2 2022-06-13

    Overall state: Stable
    Android build: 12.1.0-r7
    Required recovery: TWRP 3.3.1-1

    Changes:
    - Updated LOS sources
    - Fixed (A)GPS thanks to @html6405 !

    Downloads
    lineage-19.1-20220613-UNOFFICIAL-i9100.zip
    lineage-19.1-20220613-UNOFFICIAL-i9100_magisk_24100_boot.img

    Build #1 2022-03-15
    Overall state: Stable
    Android build: 12.1.0-r1
    Required recovery: TWRP 3.3.1-1

    Changes:
    - Updated LOS sources
    - If you are using Magisk, please use v24.1.
    There are issues with v24.2 and v24.3 which doesn't work properly on our device.

    Downloads
    lineage-19.1-20220315-UNOFFICIAL-i9100.zip
    lineage-19.1-20220315-UNOFFICIAL-i9100_magisk_24100_boot.img

    LOS 19.0 Builds

    Build #3 2022-02-28

    Overall state: Stable
    Android build: 12.0.0-r29
    Required recovery: TWRP 3.3.1-1

    Changes:
    - Updated LOS sources
    - Fixes Bluetooth
    - Disabled (A)GPS, I can't fix this.


    Downloads
    lineage-19.0-20220227-UNOFFICIAL-i9100.zip
    lineage-19.0-20220227-UNOFFICIAL-i9100_magisk_boot.img

    Build #2 2022-01-09
    Overall state: Lets find out!
    Android build: 12.0.0-r18
    Required recovery: TWRP 3.3.1-1

    Changes:
    - Updated LOS sources
    - Fixed Camera picture
    - Fixed Camera videorecording
    - MicroG support (Should work, I didn't test it myself, please test)
    - Disabled some animation for more responsiveness
    - Some optimization for zRAM/IO/LMK and background services

    Downloads
    lineage-19.0-20220109-UNOFFICIAL-i9100.zip
    lineage-19.0-20220109-UNOFFICIAL-i9100_magisk_boot.img

    Build #1 2021-12-28
    Overall state: Lets find out!
    Android build: 12.0.0-r18
    Required recovery: TWRP 3.3.1-1

    Downloads
    lineage-19.0-20211228-UNOFFICIAL-i9100.zip
    lineage-19.0-20211228-UNOFFICIAL-i9100_magisk_boot.img
    19
    New build is up!
    Hi everyone,
    In this build I fixed the camera and some decoding issues when playing video via the Gallery. It was using software coding. I also found the patches updated for Android 12 to support MicroG. I didn't patched it myself nor test it. Please test if this is working. The code looks good. I wanted to fix GPS first but I haven't got a clue why the blob is crashing...
    I also applied some optimizations taken from i9300 LOS 19.0 builds so let see if it actually works and improves on our device.
    Happy testing!


    Build #2 2022-01-09
    Overall state: Lets find out!
    Android build: 12.0.0-r18
    Required recovery: TWRP 3.3.1-1

    Changes:
    - Updated LOS sources
    - Fixed Camera picture
    - Fixed Camera videorecording
    - MicroG support (Should work, I didn't test it myself, please test)
    - Disabled some animation for more responsiveness
    - Some optimization for zRAM/IO/LMK and background services

    Downloads
    lineage-19.0-20220109-UNOFFICIAL-i9100.zip
    lineage-19.0-20220109-UNOFFICIAL-i9100_magisk_boot.img
    17
    New Build is up!
    Special thanks to @html6405 for sharing his fix for GPS. Sources are updated and GPS is fixed!

    Build #2 2022-06-13
    Overall state: Stable
    Android build: 12.1.0-r7
    Required recovery: TWRP 3.3.1-1

    Changes:
    - Updated LOS sources
    - Fixed (A)GPS thanks to @html6405 !

    Downloads
    lineage-19.1-20220613-UNOFFICIAL-i9100.zip
    lineage-19.1-20220613-UNOFFICIAL-i9100_magisk_24100_boot.img
    14
    New build is up!
    I noticed few days ago LOS has updated their repositories to Android 12.1, so I updated the sources and build it ;) Everything seems to be working like in LOS 19.0. I didn't have to make any device specific changes in code so it was an easy port without any effort on my side. All credits to the LOS-team!
    I don't know if there is any GAPPS for Android 12.1 available at this point, probably not yet. In the meanwhile I will create periodically new builds also for LOS 19.0 until LOS stops updating this and continues with LOS 19.1.
    Have fun!

    Build #1 2022-03-15
    Overall state: Stable
    Android build: 12.1.0-r1
    Required recovery: TWRP 3.3.1-1

    Changes:
    - Updated LOS sources
    - If you are using Magisk, please use v24.1.
    There are issues with v24.2 and v24.3 which doesn't work properly on our device.

    Downloads
    lineage-19.1-20220315-UNOFFICIAL-i9100.zip
    lineage-19.1-20220315-UNOFFICIAL-i9100_magisk_24100_boot.img
    13
    Hi guys,

    I was quite busy last months. I was making builds in the background but never reported here due lack of time... I just read html6405's PM and post here. So I will include it in the next build. I already pulled r7 from LOS. Stay tuned! Thanks for helping!