yashsingh1/xdaforums huggingface dataset:
[Galaxy S II Android Development] JaLoou:
You did not provided any proofs. So, your accusation is groundless.

Actually I know only an one serious security flaw of Android 4.1.2: it is an absence of manual switches by which the user can allow or deny a particular permission to an installed app. But there is a workaround for it for rooted devices only.

Moreover, in Samsung's latest official firmwares all other known security vulnerabilities was patched - the famous firmware antivirus test indicates it (the screenshot attached).

The Samsung's latest official firmware for Galaxy S2 looks almost healty and I did not got any viruses using it.
[Galaxy S II Android Development] JaLoou:
If you will find it, let us know! ;-)

I not found a reliable 11>6 firmware for our device.
[Galaxy S II Android Development] MaddogIT:
Are you joking? Android security patches are public, the same for security holes and which release is involved. So, the only sure thing is that there are tons of known and not patched holes.

I'm happy for you if you still like a Ford model T when we have Tesla available.
[Galaxy S II Android Development] alecxs:
which car will still run on EMP burst blackout?
[Galaxy S II Android Development] hillbillie:
None! Unless you've got a 1970's tetrabrick Motorola..
[Galaxy S II Android Development] JaLoou:
EMP is not harmfull to a human body directly while an unreliable smartphone firmware can inflience negative to a behaviour of its user. This is why, I think, all known firmware issues must be declared openly at any firmware announcement for not to lure new people as future victims. It must become a rule everywhere, not only in the internet.
[Galaxy S II Android Development] hillbillie:
Emp is not harmful....

Get on a plane when it happens, but this whole section has nothing to do with..

Which instructions are correct to install 14.1 on my Samsung S2.

Keep in focus.
[Galaxy S II Android Development] hillbillie:
Hey that is me!

The phones in the black car, it has an Emp too .

Thanks, now where's the 14.1 ( say 2017 'ish).... ROM¿<As in download>!
[Galaxy S II Android Development] zpunout:
I installed this ROM several months ago with Magisk so I could use Spirit2 FM radio. After updating to Android 12 (which is in another XDA thread), I forgot how to install Magisk. Simply adb sideloading the Magisk.zip doesn't work. I'm wondering if I forgot how I did it several months ago.

I tried flashing the file in the OP: "lineage-18.1-20210912-UNOFFICIAL-i9100_magisk_boot.img" to --BOOT with Heimdall which didn't work. Am I supposed to use adb push to a specific path?

How do I use this file?
[Galaxy S II Android Development] rINanDO:
You need to flash the file in Recovery. Instead of "Install Zip" you need to choose "Install image". Then choose Boot partition. Reboot and install Magisk-v23.apk from John Whu's website. Hope this helps.
[Galaxy S II Android Development] Nokia N9 rulez the world:
It doesn't work for me also.

Got thre S2(probably same batch). Installed stock rom at first(because EFS errors, so reflashed everything I could to stock non-branded).

Later I started with recovery and followd everything from post. (flashed magisk from recovery as BOOT).

Later installed Magisk 22.1 APK, and in app:

Installed: N/A A/B: No

Ramdisk: Yes SAR: No

And Spiritf is unable to start daemon(claims it needs super SU or other root).

On [ROM][UNOFFICIAL][12.0.0][r18][I9100] LineageOS 19.0 [ALPHA], Magisk and Spiritf works as supposed(I've used how-to from this thread how to flash, because there's not much usablre info about it.

But my wife wants FM-Radio and camera, and in current state this ROM would be more usable(if it worked as supposed). On LOS 19 after connecting by USB, when browsing in dolphin(KDE Plasma filebrowser) I've got empty phone storage and SDCard (from phone's built-in phone browser it works OK), on this LOS 18, it works OK.

Besides that It's pretty slow and unstable after installing BitGApps (on battery outgoing calls usually fails or hangs phone totally. Before them they worked). And battery is eaten very quickly(15min-40minr[standby]). On stock it worked for hours.

I also do wonder if I shoudl install BitGApps normally or systemless(as Magisk module). I guess the lated, but both BitGApps amnd Magisk is total magic for me, with no simple documentation...

I know it all sounds lame, but I'm pretty inexperienced Android user, because I always hated it(but web browser on Meego Harmattan no longer works because deprecated crypto algos, so I'm forced to use Android. At least it has KDE Connect support ;-)
[Galaxy S II Android Development] zpunout:
Thanks. Magisk is now successfully installed. I can now use Spirit2 (after pressing play). Haven't got SpiritF to work yet though, but there are a lot of tuner plugins and settings to mess with. I think it's awesome to have this phone working on Android 12. Thanks for the ongoing development.
[Galaxy S II Android Development] Nokia N9 rulez the world:
@zpunout

How did you succeed with LOS 18 and Magisk? I've used latest files attached to 1st two posts without success(tried multiple times). I don't have problem with LOS 19, so it's strange. because using same procedure on i9100...
[Galaxy S II Android Development] zpunout:
Back when I had LOS18 and Magisk, it was version 22.1. It was a while ago and I handed the phone back to my friend who owns it. It was still running an early build when I got the phone again last week. My friend used the phone for FM radio while doing work around the house, which is why I needed Magisk and Spirit2. I can't remember if I encountered issues installing Magisk for LOS18.
[Galaxy S II Android Development] js-xda:
Thank you, @rINanDO once again for all your work on the S2 ROMs - last but not least even for Android 12!

Given the circumstances, I am wondering how much you are still able to invest in the further development of the LineageOS 19 ROM while I would be pleasantly surprised if you can!

Would it be reasonable to consider creating one more LineageOS 18.1 build with updated sources (last being 6 months old)? As I see that there are still some bugs in the LineageOS 19 ROM, it might be less work (I can't judge as I lack knowledge and capabilities in this field) to provide an up to date LineageOS 18.1 build rather than fixing the pending bugs in the LineageOS 19 ROM.

Would be happy to hear your thoughts on this! Let me be clear that I don't ask for "when do you ..." but just wonder about what could be the most efficient route to provide a functioning up to date build for allowing further safe use of the S2 - while the decision is obviously yours to take and to accept by everyone else.
[Galaxy S II Android Development] rINanDO:
Hi,

Well I'm focused to get GPS working on LOS19.0 but I'm about to give it up. Already spent weeks only for this... The legacy BLOB is crashing without giving a clue... I tried random things and hope to be lucky but no success. LOS 19 seems to be more stable, while LOS 18.1 sometimes has the silent crash with corrupted LCD display which I can't figure out also... for months..

I will create an updated build for LOS18.1. It is probably the last fully functional android version for i9100.
[Galaxy S II Android Development] js-xda:
Indeed, I forgot almost about the display issue with LOS 18.1as it is occurring rather seldomly in my case (less than once per month). The ROM is overall sufficiently stable. But it is a pity that your efforts haven't succeeded for LOS 19! Thank you very much for the direct response and for considering one more build! Very much appreciated!
[Galaxy S II Android Development] rINanDO:
New build is up!

I was working hard on GPS on LOS 19.0 but I'm giving up on that. So LOS 18.1 will be the last ROM for our S2 which has all stuff working. I only updated the sources from LOS 18.1 and made a bootimage for Magisk v24.1 support. The issue with scrambled display which occurs very rarely is possibly still there. On LOS 19.0 this never occurred to me. It looks more stable but no GPS :(. Anyway, enjoy this latest build!

Build #13 2022-02-27

Overall state: Stable-ish

Android build: 11.0.0-r46

Required recovery: TWRP 3.3.1-1

Changes:

- Updated sources

- Magisk v24.1 support

Downloads

i9100-LOS-16.0-Emulated-Storage.pit

i9100-LOS-16.0-Emulated-Storage-TWRP-3.3.1-1.img

lineage-18.1-20220226-UNOFFICIAL-i9100.zip

lineage-18.1-20220226-UNOFFICIAL-i9100_magisk_boot.img
[Galaxy S II Android Development] ale5000:
Thanks for all the works.

I'm currently still at your Nougat ROM but I plan to upgrade.

Since it isn't mentioned what is the status of Screencast on this ROM?
[Galaxy S II Android Development] rINanDO:
I almost want to reply "Yes it works" because it worked in older builds. But I tried it myself just now but no.... it is not working. In LOS 19.0 it is working. With a quick look in the logcat I don't see any errors. It just searches for ever but doesnt' find anything.
[Galaxy S II Android Development] ale5000:
Possibly you have already looked at it but I mention it just to be sure, there is: config_enableWifiDisplay

Example from another device: https://github.com/LineageOS/androi...mmit/86a1b540e4f18bb34811456918aba5b6a9d1874e

PS: The is also a PR that may fix encryption (although I'm not sure): https://github.com/rINanDO/android_device_samsung_galaxys2-common/pull/4
[Galaxy S II Android Development] rINanDO:
Ah thanks! I will try these out!
[Galaxy S II Android Development] rINanDO:
I tried config_wifiDisplay but that didn't work. Need to dig further why this sudden stopped working.
[Galaxy S II Android Development] ale5000:
What I know is that Google dropped miracast but LineageOS restored it (on per device basis).

Maybe some commits can be ported on our device:

https://review.lineageos.org/q/miracast+branch:lineage-18.1

https://review.lineageos.org/q/wifi+display+branch:lineage-18.1
[Galaxy S II Android Development] js-xda:
Took me a moment til I found the time to update (decided against upgrade to LOS 19 for now): Smooth as usual and at least as stable as the previous build (no GApps or microG).

Thank you!
[Galaxy S II Android Development] simonexx:
rINanDO , tanks for your work,

I followed all your passages, but when install, with the TWRP 3.3.1 , the zip (any version) always get error, either if I run it with the Signature Zip, or without

UPDATE Process ENDED WITH ERROR: 1

Error install zip file ....

PLS Help
[Galaxy S II Android Development] simonexx:
To resolve my problem i have format my sd with TWRP .
[Galaxy S II Android Development] grlzz:
Hi @uig200 ,

do you have that update?

thanks
[Galaxy S II Android Development] Mike60:
Happy with last update. Still no rooted ( I try it but I don't know how :-( ) but works for phone + GPS software. I don't go to higher firmware because lack of GPS.

For this old / NEW phone 2011 I made some changes :

https://xdaforums.com/t/wireless-charging-for-our-old-but-new-i9100.4415469/
[Galaxy S II Android Development] stipi69:
Great ROM and works well considering phone specs :-) thank you
[Galaxy S II Android Development] natterangell:
Thank you for your work, @rINanDO!

3G has been closed down where I live, but 2G will still work until 2025, so I'm interested in keeping this ROM current with security patches for a while.

I've tried to build the ROM with the lineage-18.1 branch as well as your sources in an XML-file in local_manifests, but I'm having trouble doing that

- extract-files.sh tries to pull bluetooth blobs from incorrect location when connecting the phone running your rom (this I manually fixed)

- Needed to remove Android.mk from galaxys2-common proprietary directory due to a double include of libUMP (fixed manually)

- needed to add "cbd" in an additional directory not created by the extract-files.sh script

- build then starts, but fails after a while building the kernel (complains about ramdisk)

Could you give some hints on how to do it?
[Galaxy S II Android Development] uig200:
Sorry, I only now dug up my old laptop with heimdall. Are you still interested?
[Galaxy S II Android Development] grlzz:
Hi,

thanks, but I sold the phone , as I could not do anything

thanks anyway
[Galaxy S II Android Development] cobra1111new:
Link not working
[Galaxy S II Android Development] alecxs:
Exynos 4210?

https://xdaforums.com/t/sc-02c-japan-ntt-docomo-galaxy-s-ii-users.1126190
[Galaxy S II Android Development] Mạnh Tuyển:
yes
[Galaxy S II Android Development] ze7zez:
Same answer as >this one<.
[Galaxy S II Android Development] teigaff:
I've the same message. Do you have a way to remove it?
[Galaxy S II Android Development] lw7dpn:
hello!! Will this Rom work on a samsung s5 g900h? I thank you in advance.
[Galaxy S II Android Development] hahaha-hohoho:
Does someone know how to get root after flashing?

I just spent a whole evening getting into all that stuff again, was happy to have managed it working, some things personalized only to find out that I don't have root 😭

Bonus question: It appears that I got miroG installed, also a fakestore, but how can I use or install a playstore now? I need a few apps that are only distributed there...

Please help!
[Galaxy S II Android Development] Chicko24:
Download Magisk v24.1 and install APK

Reboot into recovery and flash

lineage-18.1-20220226-UNOFFICIAL-i9100_magisk_boot.img

via TWRP "Install image" and choose "Boot".

Reboot and enjoy Magisk!
[Galaxy S II Android Development] hahaha-hohoho:
Thanks, I'll try!
[Galaxy S II Android Development] hahaha-hohoho:
Unfortunately I can't enjoy Magisk. It says that no apps have asked for SU permission yet, while my apps that need root complain about not having it. :/
[Galaxy S II Android Development] dsosic:
Anyone having trouble with WPA3?

With some routers, the connection is displayed as saved, but no connection is established. As far as I know, these are all routers with WPA3 encryption.

Thanks in advance!
[Galaxy S II Android Development] dsosic:
Is there any way for an average user to resolve the 'Serial Console Enabled, Performance Impacted' error message?
[Galaxy S II Android Development] mirhl:
Not really, the service starts automatically if serial is enabled. This shouldn't be the case here though, it's strange

Add a notification when console is active · aosp-mirror/platform_frameworks_base@69df1cf

Performance is largely impacted when console is running, and device should not ship with that configuration. Moreover, we have seen cases, when performance of new features was tested with UART on. ...

github.com
[Galaxy S II Android Development] dsosic:
Thanks a lot!

Any way to disable console?
[Galaxy S II Android Development] Android_adr:
I have the same problem constellation: different apps complain about not having root mode despite being recognized and asked/allowed for root premission by Magisk.

Android 11 as LineageOS 18.1 with Magisk 24.1: Some newer/older versions of apps needing root (e.g. AppManager 4.0.x, Autostarts 2.00 and AFwall+ 3.5.2.1) detect root while older/newer/newer versions do not detect root mode.
[Galaxy S II Android Development] angrypizza:
I have no audio
[Galaxy S II Android Development] iom00:
I have the same issue. heimdall-flash/mantic 2.0.2-2

heimdall flash --repartition --pit i9100-LOS-16.0-Emulated-Storage.pit --KERNEL boot.img --RECOVERY i9100-LOS-16.0-Emulated-Storage-TWRP-3.3.1-1.img

TWRP only shows the splash screen and then phone reboots.

How to solve it? Is there an instruction for flashing with heimdall?

----

Flashing a stock ROM and wiping the data partition helped. Maybe it was a broken f2fs from a previous installation.
[Galaxy S II Android Development] iom00:
It looks like there is no capacitive touch buttons backlight setting.
[Galaxy S II Android Development] Eric80:
Hello here. Apparently, a few users are sill using their old Samsung S2 GT-i9100! Great!

Has anyone seriously compared the Lineage 18.1 vs 17.1 on his i9100 ?

Which version is smoother to use and has less battery drain?

Mine is on 17.1. Since my main phone drawn while traveling, I've been using the S2 (that I packed as backup) as main phone the last 4 weeks! Slow but usable without Google Service. I am using Aurora Store. I was daily using WhatsApp, Signal, and gps tracking there with osmin (I had to start first the 'GPS locker' app to 'wake up' the GPS: very slow to get fix but eventually ok in most cases).
[Galaxy S II Android Development] Eric80:
still no success ?

I would be also interested to have a ROM update with 2024 security fixes for either 17.1 or 18.1 (see above).
[Galaxy S II Android Development] angrypizza:
the rom boots but it can't see my internal storage. any clue ?
[Galaxy S II Android Development] ze7zez:
Format the internal memory before flashing ROM.zip.
[Galaxy S II Android Development] angrypizza:
formatting, changing back and forth ext3 ext4 have no effect. internal storage memery shiftet to data and system, the last 2 are sharing the same free space of around 11gb
[Galaxy S II Android Development] ze7zez:
Something is messed up with your partitions. Go back to the stock rom and start over.
[Galaxy S II Android Development] angrypizza:
I did, stock and factory reset will display around 12gb user available and as soon as I install this internal storage goes back again at zero. did people actually test this rom ?
[Galaxy S II Android Development] ze7zez:
LineageOS Statistics

stats.lineageos.org
[Galaxy S II Android Development] angrypizza:
I said this one not the thousands of official lineage roms

I think no one really tested all of those rINanDO roms, their repartitions will remove user storage. already tested 5 of them, some of them didn't even boot
[Galaxy S II Android Development] ze7zez:
You haven't written anything specific about your actions or logs that can give info on what's going on there.

It could also be as you write, because you want to jump on a moving train.

For starters, flash Lineage 16 and gradually upgrade the versions, first to 17.1 and then to 18. With each version, check that you have what you want.
[Galaxy S II Android Development] Eric80:
My S2 is still running LOS 17.1 from March 2021.

I still wonder if the LOS 18.1 from Feb 2022 is 'better' or not.

Looking at the 'working' / issue list, the main point for LOS18.1 is that one:

- Sometimes shutdown phone hangs (and draining your battery)

Last build of LOS 18.1 is marked as Stable-ish while last of L17.1 is said as stable.

I got a new battery for my S2 from AliExpress.

Now, with LOS 17.1 plain / almost no app, the battery on idle lasts more than 10 days.

But once I put it online (wifi OR with a sim card), while still on idle without doing anything on the phone, the battery hardly finish the day. It means the connectivity drains the battery.

How are behaving your S2 ?
[Galaxy S II Android Development] :
no need sd card, transfer zip to internal storage using microusb charging cable directly.
[Galaxy S II Android Development] feraf:
Hi, thank you for replying.

I removed the SD card, and booted into TWRP, then connected to my PC via micro USB. The "omni_i9100" storage appeared om "My Computer". I found a folter named "Internal Storage" and copied the file there.

I know the file is there and I can read it anytime even after rebooting the phone when connected to micro USB.

But when I try to find the file in TWRP on the "Install" option or in "Advanced" -> "File Manager", I cannot find the file there.

Is there something I might be doing wrong?

Thank you!
[Galaxy S II Android Development] :
photos of phone and computer pls
[Galaxy S II Android Development] :
maybe try without reboot ?
[Galaxy S II Android Development] feraf:
Hi. Thank you for your reply.

I have attached the pictures that you requested.

It is strange how the folders and files appear on the PC but not on the Phone.
[Galaxy S II Android Development] DevisG79:
Try to download the file again and copy it to internal storage and not in twrp folder. Micro sd card should also work. Did you repit correct? Did you make a clean flash with formatting the whole phone. All is written in instructions. But remember: This is Alpha.
[Galaxy S II Android Development] feraf:
Tried to download again from another mirror. The same error occours (invalid ZIP file).

Tried with 17.0 also from another post. Sometimes it goes half way and then fails with error number 1 or 7. And sometimes I recieve the ZIP file error.

Also I am unable to find the files on the internal storage so I am always using the micro SD card to copy files to.

I also downloaded the original ROM for this phone and tried flashing with ODIN. Phone now boots into Samsung logo, but doesent go any further.

This is not my main phone so I don't mind. But I still want to do it. A 10 year old phone runnung Android 11 would be an amazing achievment. My 2 year old S9+ will be forever stuck with Android 10 and will probably stop recieving any kind of updates in 2021.

If anyone has any tips I would appreciate. I can also send pictures and log files if you want. I even have some linux experience. Thanks!
[Galaxy S II Android Development] DevisG79:
If your phone doesn't boot into Samsung stock ROM, you didn't choose the correct one or you did something wrong. You have to choose the 3 pieces stock rom to go back. Then try again instructions from OP. Choose chrome or Firefox to download and then transfer to micro SD card. I can also confirm it works using twrp 3.4.0. First impression is very good when setting up the phone. After a few hours I got black screen in settings and had to reboot manually. I didn't install gapps. Good work rINanDO
[Galaxy S II Android Development] feraf:
Since I was back on stock, I went back to step 1 and started the process again. Installing TWRP 3.1, booting into it, wiping the data accordingly, uploading the file to SD card, and flashing.

This time it went a little further, but then I recieved an "ERROR: 1" message (attached).

I don't know what the error means. Do I have a faulty file? Should I download again? Or is there something wrong with my unit?

Also my unit is damaged (screen) I don't know if theres something else wrong with it.

But anyways, if anyone knows what that "ERROR: 1" means, please help me out. Thanks!
[Galaxy S II Android Development] DevisG79:
It works. You have to flash it in a row. In the beginning it slows the phone a bit down.
[Galaxy S II Android Development] feraf:
Dear all.

Happy new year!

Ok. So I have great news for y'all this 1st January. I recently purchased a new SD card. Its a cheap 16 GB card from unknown brand. And I tried copying and flasing the file again. And to my surprise, this time it worked like a charm.

So, leasson learned is that if there's ever weired errors while patching there may be a faulty sd card in play.

Cheers!
[Galaxy S II Android Development] :
when update to 18.1?
[Galaxy S II Android Development] rINanDO:
Happy new year! I'm working on 18.1 but like 18.0 I still have blob issues which I want to resolve first before releasing. Gps, deep sleep, battery drain and ril issues. No improvements compared with 18.0 yet.
[Galaxy S II Android Development] :
oh still buggy i forgot
[Galaxy S II Android Development] feraf:
Hi. If there's anything you want me to try, my unit is working great so I can help development.

I know something of C/C++ too.

I have some spare time as well.

Please let me know if I can help. Thanks!
[Galaxy S II Android Development] glockmane88:
@rlNanDO

Happy New Year :)

Sadly I f****d up my phone.. Can only boot into odin, else I always get a grey battery symbol when battery is inserted or usb connected.. I think it is cause I wiped system and then turned of the device.. Before I got a white battery symbol aufter the grey one and then I could power on the device (even without battery!).. I flashed the pit and pda files again but it doesn't help.. I can only enter odin mode! Is there a way to make your rom odin flashable?

Thank you very much!

Edit:

When I flash your pit and pda and I tick Auto Reboot I can get into TWRP :)

Can it be that it crashes more often and is hella slow with GApps installed? (BitGapps)
[Galaxy S II Android Development] Andromepat:
Love to see efforts on this old phone. Had to search some time to find it again, but hey, it works.

No surprise for you, it's quite unstable. Great work nevertheless.