yashsingh1/xdaforums huggingface dataset:
[Galaxy S II Android Development] MaddogIT:
TWRP 3.4.0-0 here, last released rom updated from SD without problems. Last Magisk.
[Galaxy S II Android Development] handynoobinator:
big thank you!

I almost cant believe that it is possible for you to do the work of the manufacturer (the manufacturer would have less trouble as you guys) and give very good devices as the s2 new life and save them from obsolescence. I like this device more than the new smartphones, it is very battery efficient, small (fits in your hands), has good camera and display. And you developers make it so easy for a noob like me to flash it, its astonishing, and the software is a thousand times better than the stock bloatware. You have my respect.
[Galaxy S II Android Development] tnttrx:
is this ROM usable for a basic backup device?

is it too slow in the interface?
[Galaxy S II Android Development] jo-so:
No, it's pretty fast. Depending on you old image, it has the advantage of merged /data and /sdcard. Hence, if you ran out of space for apps on your current image (Android < 9), you should use this new image.
[Galaxy S II Android Development] jo-so:
Bluetooth doesn't work (I don't know if it works with build #19, because #20 is the first one I've installed.)

When I enable Bluetooth I get a crash:

I hwservicemanager: getTransport: Cannot find entry android.hardware.bluetooth@1.0::IBluetoothHci/default in either framework or device manifest.
W libc : Unable to set property "ctl.interface_start" to "android.hardware.bluetooth@1.0::IBluetoothHci/default": error code: 0x20
E hwservicemanager: Failed to set property for starting android.hardware.bluetooth@1.0::IBluetoothHci/default
F libc : Fatal signal 6 (SIGABRT), code -1 (SI_QUEUE) in tid 11818 (bt_hci_thread), pid 11782 (droid.bluetooth)
I chatty : uid=1002(bluetooth) expire 1 line
I chatty : uid=1002(bluetooth) expire 29 lines
I /system/bin/tombstoned: received crash request for pid 11818
W /system/bin/tombstoned: crash socket received short read of length 0 (expected 12)
I ActivityManager: Process com.android.bluetooth (pid 11782) has died: psvc PER
D BluetoothManagerService: BluetoothServiceConnection, disconnected: com.android.bluetooth.btservice.AdapterService
E BluetoothManagerService: MESSAGE_BLUETOOTH_SERVICE_DISCONNECTED(1)
D BluetoothManagerService: Broadcasting onBluetoothServiceDown() to 5 receivers.
[Galaxy S II Android Development] ammar:
All went ok . Just one thing! my S2 has 32GB of storage but after LOS 17.1 update it show now only 16GB!!!

I think it has to do with the PIT file.

Can someone advise how to fix?

thanks
[Galaxy S II Android Development] js-xda:
A minor flaw that I observed both in the latest build (201127) and at least the one before (200818): While setting any value larger than 0 sec for the screen lock delay after screen safer activation, it will lock always instantaneously.

EDIT 26.12.2020: Noticed today that this is a general issue of LineageOS 17.1 and not specific to this ROM.
[Galaxy S II Android Development] js-xda:
Not 100 % sure whether with the latest or earlier build fixed but the USB connection type choice in the quick access menu upon connecting a USB cable is available now. Thank you!
[Galaxy S II Android Development] MaRtYy01:
Thanks for the rom, amazing work. I didn't expect it to be that stable and fast. Just to clarify, what screen on time is expected with a new battery? I'm getting just around ~2 hours, I don't have gapps too. Battery appears to be in great health, I measured it with a usb meter, however there is still a chance that it's faulty and drains faster than it should.

Last year I had a different S2 and I was getting still close to 2 hours of sot with a 2011 original battery, however that was on lineage os 16.

The other thing I noticed is that HD video playback seems a bit slow but thats probably because of the old libs. MX player seems to work better than VLC (infact VLC barely works at all) for me, just software mode works and the video often gets delayed behind the audio. Perhaps a different player than these two would do a better job?
[Galaxy S II Android Development] rINanDO:
Once upon a time there was Android 4.1.2. now we got....

https://xdaforums.com/t/rom-unofficial-11-0-0-r17-i9100-lineageos-18-0-alpha.4199759/
[Galaxy S II Android Development] florencebirée:
Hi!

Thanks for this wonderful work!

My girlfriend and I, both using a samsung S II with the last build, have the same problem : all versions of the new Firefox Fenix make the phone reboot, either at the start of Firefox (if a network connection is enabled), or only when activating a network connection, if starting without one. (But Firefox without internet is… pretty useless…)

I don't really know if it's a Firefox problem or a Lineage OS one (but if Firefox is crashing… at least it shouldn't make the phone reboot). I'll also report this crash to Mozilla.

Here is two adb logcat :

Firefox fenx 84.1.0-rc.1 crash when starting

Firefox fenx 84.1.0-rc.1 crash when starting. GitHub Gist: instantly share code, notes, and snippets.

gist.github.com

Firefox fenx 84.1.0-rc.1 crash when connecting to a network

Firefox fenx 84.1.0-rc.1 crash when connecting to a network - firefox-crash-on-net.txt

gist.github.com

Both seems to have a problem with loading the memtrack module…

Has someone an idea to fix this?

Thanks,

Florence
[Galaxy S II Android Development] florencebirée:
In fact, after some digging to the Firefox bugtracker, it's seems that the problem is on the ROM side. Firefox crash when calling the command ip route get IP.

I can reproduce it on termux: calling this command makes the phone reboot.

The firefox bug report: https://github.com/mozilla-mobile/fenix/issues/5663

This bug should be fixed on lineageos with this patch: https://github.com/LineageOS/androi...mmit/f44b4b19da1541fce8440ffa1e59cdb722cf10b5

Maybe it's not applied to the kernel of the build for the S2? Do you think it's can be included in a future update?
[Galaxy S II Android Development] APBNDRUM:
Thanks for the rom, great work. Have a doubt., Can I install Kk/LP roms using with this partition file ?

Any problem ?
[Galaxy S II Android Development] linusdan:
@rINanDO, noob question: Could the RIL problem be the wrong file path at the file library (/home/rinando/los-17.1)? Perhaps this is being recorded in ROM and is causing some failure

i9100: Increase Parcel sizes because of random crashes · rINanDO/proprietary_vendor_samsung@e5d17c3

09-16 08:33:52.408 2246 2424 E use-Rlog/RLOG-RIL: requestGsmSmsBroadcastActivation() 09-16 08:33:52.408 2246 2424 E use-Rlog/RLOG-RIL: Cell Broadcast Enable: 0 09-16 08:33:52.408 2246 2424 E ...

github.com
[Galaxy S II Android Development] Klaus20:
It might be a stupid question but how do I install TWRP-3.4.0-i9100-Android-10.img? With Odin only * .pit, * .tar or md5 works.

Regards Klaus
[Galaxy S II Android Development] schitthoch2:
You can flash *.img files from an already installed TWRP (older version). Instead of flashing a zip you can choose "image" instead and then you are allowed to select *img-files and can flash it.

Make sure you select "recovery" as target and not "boot" when flashing a twrp as twrp is a recovery and should be flashed to the recovery-partition ...
[Galaxy S II Android Development] Klaus20:
After reinstalling, I'm still stuck on a few things:

1. When I start, I have a yellow triangle ??

2. I cannot install Open Gapps and Magisk.

Open Gapps Error 20 and Magisk Error 1

How do I flash -> lineage-17.1-20200926-UNOFFICIAL-i9100_boot_magisk.img (boot or recovery?)

Otherwise I am very surprised how smoothly everything runs - Thank you very much!

Regards Klaus
[Galaxy S II Android Development] schitthoch2:
1. Is normal when rooted. I think you can get rid of it but who cares?

2. As already visible in the filename, it has to be flashed to the 'boot' partition. After a reboot you will have the Magisk App installed.

I don't know about Gmail Error 20, just use gapps for android 10, arm, pico version.
[Galaxy S II Android Development] Klaus20:
@schitthoch2 - thanks a lot now is everything working.
[Galaxy S II Android Development] leitefresco:
@Klaus20:

Hi

https://xdaforums.com/t/2014-01-15-root-triangleaway-v3-26.1494114/

Use a mask and stay safe.
[Galaxy S II Android Development] leitefresco:
Here you have it...
[Galaxy S II Android Development] Klaus20:
Wanted to bring my second cell phone up to date too. And now I only see the Samsung logo and the black screen.

I proceeded as follows.

1. Download mode (USB is still recognized)

Re-partition: Ibin checked me not sure?

PIT: i9100-LOS-16.0-Emulated-Storage.pit

PDA: i9100-LOS-16.0-Emulated-Storage-TWRP-3.3.1-1.tar.md5

2. Recovery am still on TWRP 2. * and not 3.3.1-1

3. Now my mistake is probably coming -> TWRP-3.4.0-i9100-Android-10.img

After the restart nothing works. In download mode USB is no longer recognized and with normal boot or recovery I have the Samsung logo and the black screen alternately.

Does anyone have an idea of what I can do ??

Greetings and Merry Christmas

Klaus
[Galaxy S II Android Development] bersem:
try to flash again ( stock rom also ) with different cable and on different pc

Regards !
[Galaxy S II Android Development] a.trecker:
Installed it, plays nice. Thank you very much for this Rom. Tried android auto yesterday but it does not work. Anyone else tried?
[Galaxy S II Android Development] boilavera1980:
The only thing I get after I flash the pit and twrp at the top of the post is a black screen with a battery logo with a loading circle in it. Any idea what just happened?

Edit: Okay it's fine now, this phone somehow has issues restarting correctly or smth
[Galaxy S II Android Development] ForgotmyPassword1234:
Is the RIL thing solved or beign solved? I see dev aalready switched to 11, does that mean he is abandoning the 10 project?
[Galaxy S II Android Development] spacescreamer:
This one won't be working on the i777 version of the Galaxy S2, right?

Totally your call mate :p
[Galaxy S II Android Development] Oxydeme:
So,

Installed latest version on i9100, with nano Gapps from OpenApps,

Working like a charm, except for sim that isn't recognised, as my Meizu M8 is locked right now after a complete reset..., this will again be my daily phone,

Enjoying latest Q ROM on i9100,

My sim on my Wife's phone right now XD

Thanks again [MENTION=2222292]rINanDO[/MENTION] for the work you put in there to keep our phones alive ans up to date :)
[Galaxy S II Android Development] mdude22:
will this work on the Samsung S2 Lite - SGH-i727?
[Galaxy S II Android Development] goofwear:
Hello [MENTION=2222292]rINanDO[/MENTION]

Thank you for your hard work on making this.

I have my old two phones model

Galaxsy s2 Sprint - Model SPH-D710, and i605 Verizon note 2.

If there are compatible builds made for these devices I would be able to test them out if somebody needed.
[Galaxy S II Android Development] veaz:
Thanks for this comment. I'm so going to flash my old Galaxy S2 (i9100) who's only purpose is to be a remote control for the HTPC.

Nevertheless tinkering around is lot's of fun, so I'm looking forward to do this.

From which ROM did you upgrade? Mine is on some CyanogenMod, do I have to revert to stock rom first? Did you have any other caveats you stumbled across?
[Galaxy S II Android Development] Maryan40k:
Can you make this for I9100G, please? ??
[Galaxy S II Android Development] Oxydeme:
As mentionned in the first post, you need to be on a certain TWRP version for the ROM to be flashed, the only prob i had to face was that i switched badly for twrp versions, anyway, flashing only kernels help to flash twrp, no need for complete reflashes.

On the other hand if you are on old CMRom, will need to repartition your phone correctly not sure if needed to be on stock or not, I guess you need to, Lanchon's Repit may help, be on a isorec recovery (ISOlated RECovery akka Isorec), switch kernels to flash twrp v according to kernels, then, will be able to flash such ROM,

I know i'm not that right , better at doing things that explaining, hope you understood,

Some other peoples out there may explain it better.

Take your time in patience bro you will succeed but don't precipitate yourself as I had done in the past.

For example, I had to recreate the all partitions caused I screwed them all by wrong flashes; using Heimdall and I had to use on the same time the other soft, don't recall it's name right now sorry... To reflash either twrp img and zipped files...

Discovered playing around I could flash img directly in twrp itself, but with a certain chance of success depending on your current Os and permissions I guess.

I started playing with roms with my old rip Sony Ericsson Xperia X8, long ago x)

May you out there help him/her more than I did actually??

If I remember correctly i9100P/G is almost the same, only one difference is the NFC.

Almost two years ago I had the two variants and I flashed the same Roms on 'em, remembering CM times, before Lineage comes out.

Hope I helped,

Sincerly

Oxydeme
[Galaxy S II Android Development] noobgs2:
Hi to all, and thanks for this Rom.

Someone here also noticed AudioFX having a black empty screen?

I am going to use my GS2 as a music player, so this is important to me.

Thanks.
[Galaxy S II Android Development] Oxydeme:
Yep I do noticed that as well,

Remember that this rom is totally in early states,

Everything can't be clearly working on the fisrt attempt,

Wait a bit if you prefer to, [MENTION=2222292]rINanDO[/MENTION] may release a newer version as soon as he will be able to

Cheer up :)
[Galaxy S II Android Development] rINanDO:
New build is up!

I got RIL working thanks to [MENTION=5695278]ChronoMonochrome[/MENTION] who helped me about ABI changes!

I have disabled the SIM PIN Fix issue because it actually destroyed my SIM on first start. Please unlock your SIM

before using/testing this ROM as an actually phone.

Today I use this ROM as daily drive and RIL crashed 2 times, but no softboots (yet) with Pico Gapps and Spotify with Bluetooth streaming to my car's radio.

Feel free to test and report any bugs/problems. Battery life is hard to tell yet because I played a lot with the phone today like installing apps etc.

CPU seems to behave normal including power saving features.

Happy testing!

Build #3 2020-02-05

!! NOT SUITABLE FOR DAILY DRIVE !!

Overall state: Unstable

Android build: 10.0.0-r23

Required recovery: TWRP 3.3.1-1

Changes:

- Fixed RIL

- Updated sources

Not working:

- GPS not working, is hanging on native_init (is disabled in this build)

- Display has vsync issues and glitches

- HDMI (support broken/removed since CM 10)

- Selinux is permissive

- No SU

- No Magisk

- Disabled SIM PIN code

Downloads

i9100-LOS-16.0-Emulated-Storage.pit

i9100-LOS-16.0-Emulated-Storage-TWRP-3.3.1-1.tar.md5

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

lineage-17.1-20200205-UNOFFICIAL-i9100.zip
[Galaxy S II Android Development] Oxydeme:
Thanks Mate!

Will directly test that!
[Galaxy S II Android Development] Maryan40k:
Can I install on I9100G ?

If not, can you make a version for this model, please? ??
[Galaxy S II Android Development] bersem:
On P yes but G i remember no. Different Hardware. Hope someone correct me if im wrong.
[Galaxy S II Android Development] Oxydeme:
So after 12h of test,

Sim card is working,

AudioFx seems to be crashing permanently,

Play services crashes sometimes, GPlay as well,

Could use the phone to pass some calls,

GPS still not working, several tiles not working as well,

Stability has been greatly upgraded, noticed as well that the Keybord is less buggy as builds goes on!

Overall stability is better than before,

Battery drains a lot, i played a game i needed to reboot it 3 times to play correctly but i could play like 1:30h correctly,

mail app is crashing but,

Thanks [MENTION=2222292]rINanDO[/MENTION], your builds improves in time :)

Sorry can't share img right now :3

Sent via the current latest build 10 QQ1B.200105.004 on my i9100 :)
[Galaxy S II Android Development] Adithya88:
Downloading this now. **Excited**?
[Galaxy S II Android Development] noobgs2:
I concur with all of your observations, and even the battery percentage is showing now, witch it didn't before, at least on my phone. ;)

Keep up the good work, I am looking forward to the next release.

Thanks rINanDO
[Galaxy S II Android Development] Oxydeme:
A bit of tweeking in params and yeah, battery percentage is showing up, that 's now been 36h and still using the phone and ROM, if you let your phone settle for something like 5-10mn after booting it, it will work better than if you directly use it on boot.

Even bought a newer i9100, this phone is robust, gonna work somewhere i can't use a big phone, if this i9100 breaks, will have another one to replace it :)

Should arrive in a week or two, and will be using [MENTION=2222292]rINanDO[/MENTION] 's build too

Definitively love this phone and the community gathered around it! :)
[Galaxy S II Android Development] Shambles22:
Storage isn't recognised

Thanks for your work sir, really appreciated

I found a problem in my s2:

With stock file explorer there's internal storage, but I can't install other apks.

I tried with other file explorer like Solid or Root explorer and storage isn't recognised.

Photos or screenshots they're not saved in memory.

Is it only my problem?

Long life to our beloved s2
[Galaxy S II Android Development] Iv4n99:
Sadly rINando can't fix your issue.

Google released Scoped Storage with Android 10 and most apps are broken and can't read/write your microSD card or internal storage.

For example, Music players like Retro Music or Phonograph can't read your SD.
[Galaxy S II Android Development] noobgs2:
I don't have a problem to read or write files from internal to SD card or vice versa.

And with PowerAmp as my music player I have no problem accessing my audio files from SD card or internal memory.

I can install apk's from SD card without problems.

I just need to reboot after installing the apk's, and SD card is recognized.
[Galaxy S II Android Development] flesueur:
Hi, and thank you for this impressive work !

I regularly have a RIL problem, perhaps *the* famous RIL problem ? With the cellular network becoming unavailable until a poweroff. I have done a logcat and a radio log earlier, should I post them here ? On an issue somewhere ? Could not find where, nor if I should remove/anonymize some parts of my logs...

Cheers

Francois
[Galaxy S II Android Development] rINanDO:
New build is up!

Not many changes, just updated sources and Magisk kernel update. I can't fix RIL... RIL crashes on my phone just too rarely on my daily drive. Currently trying to fix LOS 18.1 in my spare time, but making slowly progress.

Build #21 2021-01-07

Overall state: Stable

Android build: 10.0.0-r41

Required recovery: TWRP 3.4.0-i9100 for Android 10

Changes:

- Update sources

- Magisk v21.2 supported kernel image

Downloads

i9100-LOS-16.0-Emulated-Storage.pit

TWRP-3.4.0-i9100-Android-10.img

lineage-17.1-20210107-UNOFFICIAL-i9100.zip

lineage-17.1-20210107-UNOFFICIAL-i9100_boot_magisk.img
[Galaxy S II Android Development] fargh123:
hi @rINanDO thanks for your great rom

I have connectivity with Wi-Fi since lineage 16

it says no internet connection or Limited connection

edit: i flashed rom with gapps again and it solved😳

and for AP thanks to OllieW

WiFi connections to AP with PMF enabled don't work (the bug was also in LOS16 and could be fixed with the "pmf=0" instead of default "pmf=1" setting in "wpa_supplicant.conf", because PMF is not working on S2 but driver will force PMF right now)
[Galaxy S II Android Development] florencebirée:
Hi @rINanDO, thanks for this update! Works well so far on my S2 :)

There is a "w" missing at the start of lineage-17.1-20210107-UNOFFICIAL-i9100.zip download link in your post.

Also, have you look at this patch: https://github.com/LineageOS/androi...mmit/f44b4b19da1541fce8440ffa1e59cdb722cf10b5

The kernel in your ROM doesn't have it, and this makes the command ip route get IP crash the phone, and thus the new Firefox versions, which use this command: https://github.com/mozilla-mobile/fenix/issues/5663

Do you think this patch can be included in a future build?
[Galaxy S II Android Development] flesueur:
Ok, thanks for this precision and for your precious work ! It's so great to have this ROM, I can reboot once in a while ;) !!!

Cheers,

Francois
[Galaxy S II Android Development] florencebirée:
Hi,

Just try today to encrypt my phone (with the last ROM just published), but it doesn't work (the phone just reboot). Anyone succeed to encrypt its phone? Any news since https://xdaforums.com/t/rom-unofficial-10-0-0-r41-i9100-lineageos-17-1.4022733/page-15#post-82832713 ?
[Galaxy S II Android Development] js-xda:
There is a typo in above quoted link both in the post and the OP - a >w< is missing.

Functioning link: https://androidfilehost.com/?fid=17248734326145712187
[Galaxy S II Android Development] rINanDO:
Hi,

I will include this patch in next build. Thanks!
[Galaxy S II Android Development] mhanbury:
Excellent work @rINanDO the ROM is working well on my S2. Only question I have is the S2 has the BCM4330 chip which according to https://xdaforums.com/t/ref-which-devices-have-ant-hardware.2879990/ should support Ant+. Is there any chance you could get the following added to system to test:

/system/app/AntHalService/AntHalService.apk

/system/etc/permissions/com.dsi.ant.antradio_library.xml

/system/framework/com.dsi.ant.antradio_library.jar

/system/lib/libantradio.so

If they're not available in the standard LineageOS repo for our S2 the additional phones apparently have the same chip and the Sony Xperia phones are apparently Ant+ certified:

Apple, Apple TV 3rd gen

Apple, iPhone 4S

Apple, iPad 3

Asus, Nexus 7

Google, Glass (http://www.techinsights.com/teardown.com/google-glass/ Confirmed: http://au.alibaba.com/product/1743558555-Wireless-LAN-Wifi-Module-WM-BN.html)

HTC, Sensation XL

Kindle, Fire HD 2013

Ouya, Ouya

Samsung, Galaxy Beam

Samsung, Galaxy Nexus

Samsung, Galaxy Note

Samsung, Galaxy Pocket

Samsung, Galaxy Tab 10.1

Samsung, Galaxy Tab2

Samsung, Galaxy S2

Sony, Xperia S [LT26i]: Stock (certified)

Sony, Xperia acro S: Stock (certified)
[Galaxy S II Android Development] jaroslav_01:
Hello, This rom is great but I have one problem.

Why does it eat trough the battery so fast when not in use?

I turned on Plane mode because I don't use a sim card in this phone and made some optimizations in the settings but it still dies quickly when not in use. (The battery itself is not bad)
[Galaxy S II Android Development] S2StillRocks:
Undervolting crashesnthe device.

Tried adiutor and ex kernel manager.

Device heats up too much with your settings. Please add undervolting. Talu kernel has it but its magisk is broken.
[Galaxy S II Android Development] K9100ii:
Just for information, no one should be using, or even trying, my kernel anymore. It's missing a few new fixes and I'm no longer continuing working on it for various reasons I'll probably explain later in a new post.

I should properly discontinue it and remove downloads to images sometime later.
[Galaxy S II Android Development] S2StillRocks:
Dont mate.

Just put huge red disclaimer whybpeople shouldnt use the kernel but leave the dls.

Thanks for your work btw. I appreciate it
[Galaxy S II Android Development] felix_w:
Thank you for this ROM ! Just Flashed and first impression is really smooth !
[Galaxy S II Android Development] DarkAngelNoctis:
I am stopped at 6 point, after i press "Start" iOdin don't go anymore and FAIL! I have GT-I9105P
[Galaxy S II Android Development] rINanDO:
The Galaxy S2 plus (i9105p) is totally different (different cpu, gpu, gps, modem, etc). I hope s2plus is still alive on xda so they can help you.
[Galaxy S II Android Development] S2StillRocks:
About the ril issue, i saw the no service message while using hotspot with my tablet forba while. I restarted it didnt go, I turned it off and on it dint go. Thing survives reboots.

Only after taking the battery out I could get reception.

May be its some kind of a resisntant memory/swap bug?