yashsingh1/xdaforums huggingface dataset:
[Galaxy S II Android Development] DevisG79:
What do you support? Samsung stock rom? Then you are wrong here! The only thing you are doing here is that you are insulting the developer with your statements, and all those who helped to support this custom rom. Then polish the firmware to perfection. Good luck. I can not understand that you can still look in the mirror in the evening with a clear conscience.
[Galaxy S II Android Development] zpunout:
Anyone else have an issue trying to switch on Bluetooth?

The OP shows as confirmed working.
[Galaxy S II Android Development] notnoelchannel:
read this
[Galaxy S II Android Development] Chicko24:
everyone is eagerly awaiting BUILD #3
[Galaxy S II Android Development] Aussiewaterdragon:
Magisk 24.1

Maybe it's me (usually is) but can't install this version of Magisk on the Galaxy S2 GT-I9100 A12. Tried as both ZIP and APK and get "unsupported /Unknown image format" installation failed

Any ideas out there, have installed successfully with Magic hidden from prying apps on my Oneplus 7 A12, ASAUS zenfone 3 ZS570KL A8, and a Galaxy tab S4 A10.

Magisk is still running as 23.

Think there could be something non-standard with the boot image?

Also extracted boot.img from ROM and patched via Magisk and flashed with TWRP, result boot loop.
[Galaxy S II Android Development] zpunout:
Cool. Thanks. Didn't know if it was because I was running the wrong firmware or if it was a bug in the current version of LOS19 development.
[Galaxy S II Android Development] zpunout:
I use Magisk 22.1 to get it to work. Are you saying you are successfully running Magisk 23 zip?
[Galaxy S II Android Development] Nokia N9 rulez the world:
22.1? lineage-19.0-20211228-UNOFFICIAL-i9100_magisk_boot.img from the 1st post provides Magisk v23.0 and works with v23 APK (I've tested spiritf now).
[Galaxy S II Android Development] Nokia N9 rulez the world:
@rINanDO, In "Build #1 2021-12-28" browsing trough file browser over usb, both phone memory and sdcard is shown as empty(it works in internal phone browser). Problem doesn't happen on your LOS18 ROM.

Except that, after installing BitGApps systems becomes really slow, unstable and power hungry(batteries that lasted for hours, now works 5-30min in 99% of standby). Incoming phone calls got usually rejected, while outgoing fails or hangs phone hard.

I've installed BitGApps system-wide. Maybe I should install it as Magisk module (not workign for me, but I don't have any experience, and all I've done was modyfing BitGApps config file.

But I'm not sure if I'm doing everything correctly, there's no how-tos and documentation is usable for devs in current state.

I must test MicroG(whoich I would prefer for myself, hate this cloud-thing, except NextCloud), but there's still camera hangs, which still would be no-go for my wife (which often breaks phones, and got few i9100 in good condition and saw all this articles over the web about SGSII an d Android 12 ;-)

And Thanks for all your support for this all, poor devices ;-)
[Galaxy S II Android Development] Aussiewaterdragon:
Magical 23 is running fine, it's trying to update to 24.1 that I get the problem
[Galaxy S II Android Development] zpunout:
The zip I'm using is that one which is v23, but the app I'm using is v22.1. v23 apk didn't install (over adb install) so I just tried the file sitting next to it in my Magisk folder. So I had another go. Turns out the v23 apk file on my external HDD is corrupt so I redownloaded it and it installed. Weird.
[Galaxy S II Android Development] itsAlphaFox:
It's kind of unfortunate that both 3G is dying and we might not see more S2 ports of latest Android. There's a bit of fun trying to use old phones in today's world, but hey, all good things have to come to an end. Hopefully someone else can keep this phone going! ☺️
[Galaxy S II Android Development] gamereal:
can anyone port this rom for duos 2
[Galaxy S II Android Development] gdgrozev:
Where is FM radio?
[Galaxy S II Android Development] Chicko24:
FM Radio (using Spirit2) thats standing on the first page
[Galaxy S II Android Development] itsAlphaFox:
It's so cool seeing Android 12 on a Galaxy S2!

Here are a few bugs I've noticed, though (I don't know if it's to do with LOS19, A12, the phone itself, BiTGApps, or this specific ROM):

Volume pop-up doesn't move to the left when option is toggled

LiveDisplay settings do not have an Apply button

Touch button lights are generally off (when they are on, they act weird)

Camera crashes after a few launches

(Sorry, I just noticed the other issues were listed)

This is super awesome! Keep up the amazing work!
[Galaxy S II Android Development] rINanDO:
New build is up!

I tried to fix (A)GPS but it has no use... For weeks I was clueless why the gps.exynos4.vendor.so blob is crashing. The only thing I got is that it crashes at 0xfffff868 by libc. I tried several reverts of commits in Bionic-project or kernel stuff. Even ignoring Fatal's in kernel for this specific crash. This last hack did got AGPS running for a few minutes and only for one time. Then the kernel hangs for ever. So not a good hack.... So I disabled GPS now :(

But running couple months (possibly the last months) using A12 as daily, I never suffered of scrambled display crash which happens rarely on LOS 18.1.... I got uptime of about 2 weeks (until I forgot to charge). Doing stuff like WhatsApp, Phone and Netflix, but still 2 weeks. It looks it is more stable than LOS 18.1 but without GPS.

Have fun with this build!

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
[Galaxy S II Android Development] rINanDO:
Hi Nokia,

Sorry for this late reaction. I added instructions in the OP to get Magisk running. I'm running an old version of BitGapps (R19) which works fine. After first installation I let my device optimize for 15 minutes. Then I start registering my account etc..

I just released build #3. I hope the other things are resolved.
[Galaxy S II Android Development] Chicko24:
can you put the download for the BitGapps(R19) here
[Galaxy S II Android Development] itsAlphaFox:
It runs so much better (in terms of function) now, even in unmentioned things! I think touch lights are working properly too! (though that might be a result of me rooting it?)

Camera can still be hit or miss though :(
[Galaxy S II Android Development] itsAlphaFox:
@xdalurker1 How did you get FM working? Did you just root then sideload Spirit? I'm just getting audio from my mic :(
[Galaxy S II Android Development] purpleish:
New to here, kinda amazed by this community to keeping an old phone alive.

I have a phone that running stock ROM. and I just look into the LOS 18.1 post and it seem like it need ISOlated-RECovery. Do I need those for those build? or just do the step below? coz there isnt much instruction for it

1. Use Odin 3.07

2. put PIT ,PDA files

3. flash it (untick auto reboot) then boot into recovery

4. flash magisk in twrp

Is that the step for flashing LOS 19.0, hope someone can light my way
[Galaxy S II Android Development] js-xda:
Wow ... thank you for still putting all the effort into both the LOS 18.1 and 19 ROM!
[Galaxy S II Android Development] Chicko24:
what I just noticed that my TomTom AmiGO since the BUILD #3 is no longer compatible with the Rom at the BUILD #2 it still worked
[Galaxy S II Android Development] Chicko24:
when I make a BACKUP with TWRP and want to restore it always ends in boot loop can someone help me ?
[Galaxy S II Android Development] rINanDO:
The cause is probably that GPS support is explicitly removed from the ROM since it isn't working/crashing. If you need navigation you better downgrade to LOS 18.1 until their is a fix.
[Galaxy S II Android Development] Chicko24:
anyone know why the backup with TWRP does not work restore ? Or what do I do wrong .

So I go into TWRP on restore search the backup and restore it and then boot into the system but then it hangs in the boot loop.
[Galaxy S II Android Development] itsAlphaFox:
Update on my experience with Build 3;

It's been running surprisingly well in most areas, even with BiTGApps (It would probably be better with MicroG) but here's some stuff I've run into:

Camera occasionally stops working

YouTube is unusable despite other apps working fine (hardware itself ig?)

Wallpaper is super pixelated

Headphones can be fiddly

If anyone else is having trouble with headphones, play music from the speaker (it can be muted) then plug in the headphones while it is playing. I only have to do it when first plugging the headset in.

Touch buttons/LEDs are working properly now in this build too!

You've really done awesome work in porting Android 12 to such an old device! Keep it up!
[Galaxy S II Android Development] purpleish:
Could someone put a more detail instruction on installing this ROM (coz I dont want to miss a step and ended up in a bootloop or something)
[Galaxy S II Android Development] itsAlphaFox:
@Chicko24 Sorry I'm sending so much in this thread, but the initial boot takes like 10 minutes. After that, it's only like 1-2 though. Just as long as it gets to the Lineage boot animation
[Galaxy S II Android Development] Chicko24:
@purpleish

see it here

https://xdaforums.com/t/rom-unofficial-11-0-0-r46-i9100-lineageos-18-1.4199759/#post-84065063

and than here when you want to ROOT it

https://xdaforums.com/t/rom-unofficial-12-0-0-r29-i9100-lineageos-19-0-alpha.4380641/#post-86165311
[Galaxy S II Android Development] Chicko24:
so have now tried again to restore the backup NO chance he starts normally and then runs 3 hours in Android boot
[Galaxy S II Android Development] itsAlphaFox:
Just to confirm, you used ODIN 3.07 to install the both the MD5 and the PIT? If you did that, try wiping the data partition in TWRP
[Galaxy S II Android Development] Chicko24:
have done everything exactly as in the installation instructions it stands but the backup restore does not work at all can try it yourself to see if it works for you
[Galaxy S II Android Development] ta2022:
I'm not sure, if this is relevant, but the GPS on the Galaxy Note 2 works with Lineage 19. (AFAIK this device also uses an Exynos 4)

https://xdaforums.com/t/rom-unoffic...g-galaxy-note-2-lineageos-19-0-alpha.4381813/

So maybe, the user html6405 can help with the GPS problem?

But anyway, thank you sooo much for your work, especially for this device. Is there a way to support you?
[Galaxy S II Android Development] rINanDO:
I have asked html6405 but his gps issues are different.
[Galaxy S II Android Development] purpleish:
Thanks for your reply, still getting problem when trying to install Iso-Rec, something wrong with the root. Would you mind I start a conversation so that we dont just spam this thread?

Edit #1 : (on Mar 8, 2022 01:39) Installed Iso-Rec with adbd Insecure

Iso-Rec pushed into the device, flashed emulated storage 19.0. I get the white battery symbol when charged. when trying to press Volume up + Power/Standby + Home, the phone just shows stock battery and then white battery (and repeat). Is there something that I did wrong in the process?
[Galaxy S II Android Development] Chicko24:
when you have installed the TWRP than you hold the Buttons 10sek the phone starts two times , and than you are in the TWRP
[Galaxy S II Android Development] purpleish:
Got it.

Should have figure out the Home button is a bit weird (after a bit of abuse to it), sometime the home button is not working when pressed, so it enter a boot sequence. Got it this time, and installed LOS 19.0.

haha, this phone really refuse to die. (still thinking what I can do with it)

Edit: LOS 19.1 -> LOS 19.0

haha, not sure what was going on my mind when I typed that. (thanks for pointing out)
[Galaxy S II Android Development] rINanDO:
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
[Galaxy S II Android Development] rINanDO:
I just saw your post that you installed LOS 19.1. You probably mean LOS 19.0.... but now you can really try LOS 19.1 ;)
[Galaxy S II Android Development] notnoelchannel:
@Concept48
[Galaxy S II Android Development] Concept48:
The Boss is back well done Rinando
[Galaxy S II Android Development] russanandres:
Hello. It's very cool that you ported 12.1, but my S2 after installing 12.0 it won't boot on cm7 and cm9 systems. Stock, stock 2.3.6, cm10 and cm12.1 are loaded but cm9 and cm7 are not loaded. cm7 goes into bootloop and cm9 gets stuck on samsung logo. I install all of them through TWRP 3.0.2.2. I want to install cm7. Before installing 12.0 I didn't expand partitions and cm7 loaded fine. But after installing 12.0 and even after flashing the original PIT file, the above things happen. I am hope for your help.
[Galaxy S II Android Development] bersem:
didnt tried. it seems mindthegapps released 12.1 already

https://androidfilehost.com/?fid=2981970449027573641

Regards !
[Galaxy S II Android Development] mirhl:
Well, GN2 uses BCM4752, rather than the GSD4t here.. so it makes sense it's different.

Would bisecting be too painful?
[Galaxy S II Android Development] itsAlphaFox:
I'm staying on Build 3 for now, but I noticed that the stock camera app can be buggy, I just use a third party one (still a bit buggy but better than the stock one)
[Galaxy S II Android Development] Concept48:
it's or 12 /11/10/9/8/7 or anything below that ..if you wanna be on CM7 bro don't even bother ..btw S2 has as last build 4.1.2 or even 4.2 , so restore it with odin back to last build for S2 , CM7 and these old builds make the phone more cripple get official at samfw.com and stay on your Android 4
[Galaxy S II Android Development] russanandres:
But everyone knows that old systems work better. I want exactly cm7 because there is android 2.3.7 and I like it more than the previous ones. In general, I specifically bought a phone for dualboot android 2.3.7 and one more newer. Again I hope for your help.
[Galaxy S II Android Development] Matthew4020:
Hey, I can't find any gapps for android 12.1 32bit. Are there any out there yet? If not will there be any made eventually? Thanks!
[Galaxy S II Android Development] ran000:
Have downloaded, but do not tested yet
[Galaxy S II Android Development] Matthew4020:
Thanks! I'll try them out now. I'll let you know if they work.
[Galaxy S II Android Development] Matthew4020:
I get this message when I try to install mind the gapps: Updater process ended with error 1,

Error installing zip file.
[Galaxy S II Android Development] Concept48:
RInando we are on in about 30 minutes , once again Congratulations on this second build , installed it , way smoother and runs very nice , BTW Open Camera works !!! Stay blessed One Love Puck.
[Galaxy S II Android Development] russanandres:
Somehow cm7 from Galaxy S2att loads fine, but from Galaxy S2 it can't. What could be the problem if I redownloaded it?
[Galaxy S II Android Development] xdaCyborg:
Hi everyone, I got may hands on an old SGS2 and want tp update it the this latest ROM (which I am thankful for).

Just hitting a road bump.

I followed instructions, was able to repartition with Odin3.07 v1.84 and flash TWRP, but can't for the life of me afterwards enter recovery more.

Any ideas?
[Galaxy S II Android Development] ran000:
I have an issue when first time install new ( 12.1) release. Try next sequence , it halp me, may be it help to you as well:
[Galaxy S II Android Development] js-xda:
Just an idea: Which TWRP are you using? The official ones or the one with isorec as indicated in the OP?
[Galaxy S II Android Development] xdaCyborg:
The one indicated in the OP in the link above.

I flashed it in PDA in Odin.
[Galaxy S II Android Development] goodjuju:
This Gapps don't work.

Is there a compatible Gaaps, anyone know?

With 3G dead I was about to toss this phone with this new ROM I want adapt it as a remote for Marantz receiver.
[Galaxy S II Android Development] Chicko24:
I tried everything nothing works maybe can help us

rINanDO​

i tried BiTGApps Package - MicroG Package - open_gapps-arm-11.0-pico-20220215.zip
[Galaxy S II Android Development] xywojtek:
Hi everyone!

@rINanDO absolutely fantastic work! well done!

I've got a small problem guys, I flashed the ROM, it boots, but I am welcomed with Encryption Unsucsesfull screen. It gives me option to Erase All Data, but when I tap it, nothing happens. Any ideas? TIA
[Galaxy S II Android Development] Chicko24:
To prevent "Uncryption unsuccessful" error at first start:

- Reboot to recovery and Wipe -> Format Data -> Type [yes] again

- Boot System
[Galaxy S II Android Development] xywojtek:
Yes, thank you, I found the answer looking at the Android 11 thread :)
[Galaxy S II Android Development] xywojtek:
I've got one more question/problem.

I've resurrected that phone in order to install airgap it vault (not sure if can post links, so just Google "airgap it wallet") and essentially turn it into a cold crypto wallet. The app itself can be downloaded as an APK from their website, from F-droid or straight from play store.

Now when I run this app on this ROM it says the phone's rooted. However I installed it on my other phone (OnePlus 5T) which has a custom ROM (Android 12, manufacturer stopped supporting it at Android 10) and no issue there. Is there a simple way of fixing it?

TIA
[Galaxy S II Android Development] purpleish:
Installed LOS 19.1 (Now it the "REAL" LOS 19.1)

Anything works fine, but anyone find a gapps for A12.1?

also I minor one, could you fix the aspect ratio of the camera, coz the image is a bit stretched.
[Galaxy S II Android Development] purpleish:
Assume you installed the magisk boot image. And the app detected your root.

I would suggest install some third-party module onto Magisk to hide the root. (MagiskHide has ended)
[Galaxy S II Android Development] xywojtek:
Thank you for your reply. I did, but then re-pit and did everything from scratch without installing magisk boot image under assumption that would sort of restore it?

Is there a way of easily fixing this? Should I flash stock and then lineage os?

As this will be a crypto wallet I want as little software and mods as possible (less is more in this case)
[Galaxy S II Android Development] purpleish:
You don't have to re-pit, just boot into twrp recovery and continue from here. From step 8 and onwards. That how I installed LOS 19.1 from LOS 19.0.
[Galaxy S II Android Development] xywojtek:
Right, if anyone's interested I got it to work. Steps to install airgap.it vault:

1. Install ROM as described in OP

2. Install magisk and activate Zygisk

3. install safetynet-fix module https://github.com/kdrag0n/safetynet-fix

Now, a couple of questions:

A. How to encrypt the phone? Usual method in settings seems to be broken

B. What commands to uninstall Wi-Fi and Bluetooth drivers? (as we don't want them on a cold crypto wallet)

TIA
[Galaxy S II Android Development] Chicko24:
have you the link for the AIRGAPPS

how did you install Zygisk
[Galaxy S II Android Development] bersem:
didnt tested. opengapps for 19.1:

https://xdaforums.com/t/gapps-daily-open-gapps-for-android-all-android-versions-devices.3098071/page-363#post-86595145
[Galaxy S II Android Development] xywojtek:
Install Magisk (as mentioned in the OP) and activate it
[Galaxy S II Android Development] Aussiewaterdragon:
Installed LOS 19.1 Build #1 2022-03-15

Had an interesting time, couldn't flash any GAPPS, always ended up with error 1.

Ended up running Micro G, what a good decision ran very fast compared to other versions ROMs.

Only three downsides 1. I can't run full Titanium as can't verify pro key (I think a micro g problem) and 2. can't get Bluetooth to work, and finally 3. 5Ghz Wi-Fi will not connect.

Otherwise a brilliant job of getting 12 onto this old phone.
[Galaxy S II Android Development] purpleish:
Having same problem with 5 Ghz Wi-Fi.

But could get bluetooth to sent file. For some reason, S2 trying to use bluetooth tethering as default. After connect, head into device setting, turn off internet access (as pic shown).

Able to sent and receive file.
[Galaxy S II Android Development] Chicko24:
and again the question in the round has anyone found working Gapps that go with the 19.1 ?
[Galaxy S II Android Development] xywojtek:
is there a way of encrypting this ROM via adb maybe? The option in settings appears to be broken?
[Galaxy S II Android Development] jimbob00:
Try the latest MindTheGapps here.

https://androidfilehost.com/?w=files&flid=322935&sort_by=date&sort_dir=DESC
[Galaxy S II Android Development] Chicko24:
they don't work i try it
[Galaxy S II Android Development] Aussiewaterdragon:
I failed to run any gaps, however microg installer Revived from magic works fine using gmail, adguard, allsocial, aptoide, BusyBox Pro, brave, calendar, clevCalc, ColorNote, Fox's Magisk Module Manager, Ghost Commander, IFTTT, Facebook Lite, Lucky Patcher, Magisk 24.1, Microg, NextCloud, QRReader, Signature spoof, SplasID, Spotify, Titanium Backup (Pro will not connect), Tranparent Clock Weather, True Caller, UnifiedNip, Vanced Installer, YT Music Vanced.

What did'nt work was BLuemail, Blue Mail Light, OXP Smart VPN.

really large APPs seem to be a problem for the little processor.

Tried running Microsoft Launcher but way too slowwwww

Cant boot phone if I install Microg-Gapps
[Galaxy S II Android Development] Chicko24:
so I think the only one who can help here is rINanDO
[Galaxy S II Android Development] jimbob00:
NikGapps

Download NikGapps for free. A Custom Google Apps Package that Suits Everyone Needs! NikGapps project started with the goal to provide custom gapps packages that suits everyone's needs. A package that a user needs but cannot find and ends up setting up the device installing more apps and removing...

sourceforge.net
[Galaxy S II Android Development] itsAlphaFox:
Hey man, it really does not work. I have stuck to the 19.0 build because of that
[Galaxy S II Android Development] rINanDO:
I tried it also last week, WIP. This is the state now. These are the issues I encountered:

The System-partition isn't big enough to fit MindTheGapps. The recovery.log reports "not enough space"

I resolved that to enlarge the System-partition to 2GB

The install-script of MindTheGapps assumes recovery has Toybox instead of Busybox.

I resolved that to build TWRP 3.6.1 (Android 9.0)

TWRP 3.6.1 doesn't fit in Recovery-partition

I resolved that to enlarge the Recovery-partition to 32MB and shrinked the Cache partition from 100MB to 76MB

Build TWRP 3.6.1 with Toybox and flashed it

Now MindTheGapps is able to extract all files and mount /System.... But it can't detect the SDK-version somehow on Android 12.1. Almost there!