yashsingh1/xdaforums huggingface dataset:
[Galaxy S II Android Development] jimbob00:
use TWRP-3.4.0-i9100-Android-10.img it worked well for me." make sure you follow the instructions exactly as described". and i used open_gapps-arm-11.0-nano-20210918.zip. and everything went fine for me.
[Galaxy S II Android Development] jimbob00:
Do not use sd card to be used as internal storage just yet cause it was giving me bootloops to !
[Galaxy S II Android Development] xerrrman:
Gps solved: I don't know exactly, just made a clean reinstall and now it's working.

Micro SD: As pointed, don't use it as internal or bootloop.

Google Maps: Works without the google environment. I prefer to not use google services.

I'm going to use this phone as my daily driver, it's super great!!
[Galaxy S II Android Development] jimbob00:
Glad I could help.
[Galaxy S II Android Development] tha_G:
Hello everyone,

I've just installed this to my good old S2 (as backup phone).

All looks fine but camera in a banking app, for scanning qr-codes, is way to dark (no issue in camera app).

Anyone experiencing the same issue? (and perhaps found a solution to it? :) )

I've been searching through this thread but could not find anything.

Thanks!
[Galaxy S II Android Development] zdenda.jircik:
Hi

I've just same troubles with camera. It's not able to scan QR codes in APPs.

I use S2 as daily phone and it works quite good.

Sometimes happens that call services are immediatelly out of service. Phone need to be reseted. I might have sick SIM socket.
[Galaxy S II Android Development] felix_w:
Hello and thank you for all the work!

I installed normally and prior to installing Gapps the phone was super fast. Unfortunately, after installing pico Gapps it lags severely.

What is everyone doing and i haven't read a single comment on this ? What Gapps are you using ?

Thank you in advance for your reply.
[Galaxy S II Android Development] ze7zez:
For example, without gapps.

https://xdaforums.com/t/rom-unofficial-10-0-0-r41-i9100-lineageos-17-1.4022733/post-83930569
[Galaxy S II Android Development] puerto69:
Hi guys, I've been trying to fix this for 3 days... I've tried several Android 9 and 10 Roms but due to excessive battery drain I'm forced to downgrade to Android 6.0 MM for now. The problem is that I cannot revert the internal memory to its original state, the explorer does not recognize it and it only shows me an sd of 7.97MB. I have put Base, PIT 3GB and tried formatting everything with TWRP 2.8.7, 3.0.0 (CM), 3.0.2.1. 3.1, 3.2.3..... without success. Same process with Philtz 6.48 before flash Rom. Please can someone enlighten me...?
[Galaxy S II Android Development] MaddogIT:
If everything fails, try restoring the last Samsung official ROM, after tris you should have proper spacing. Of course, you have to redo all the steps in order to put again a custom ROM
[Galaxy S II Android Development] puerto69:
If I put Samsung base and start the system everything is correct, at the moment that I put modified recovery for example Philz or TWRP 2.8.7 and install a Custom Rom (MM for example), when starting the system I lose the reading of the internal memory and it still comes out as emulated storage, and of course, I can't download anything because it only recognizes 7.8mb of space on SD. There must be a way to revert the partition of the internal SD but I am not able to find the solution for more than searching and trying.
[Galaxy S II Android Development] MaddogIT:
Just a try, use Odin to flash, start without SD and just later add it? Really a wired situation.
[Galaxy S II Android Development] puerto69:
Thanks for the help, I'm going to try again to put original base by Odin, I'll put Philz, I'll format everything as usual and flash ROM MM, to see what happens. Thanks.
[Galaxy S II Android Development] Shahrokh.KING:
hi, im not able to use any vpn app on this rom, is there any fix for it? the key appears on top but vpn apps fail to connect or transmit any data, all vpn apps have this issue, other phone on same networks with stock samsung rom connects with no issue
[Galaxy S II Android Development] Mạnh Tuyển:
hi, can my Galaxy SII SC-02C run this rom? Thanks
[Galaxy S II Android Development] ze7zez:
OP thought it could be used.

updater-script:

This package is for device: galaxys2,i9100,GT-I9100,GT-I9100M,GT-I9100P,GT-I9100T,SC-02C
[Galaxy S II Android Development] Eric80:
thanks for the amazing work.

for whatever reason, the 2 links are inverted in your post and in the FP: the i9100.zip links to the magisk img file and vice versa.
[Galaxy S II Android Development] Eric80:
not anymore since WhatsApp is disabling support for Android 4.x, requiring at least Android 5 by Oct 2023:

About devices WhatsApp supports | WhatsApp Help Center

faq.whatsapp.com

so to use the S2 for WhatsApp, an alternative ROM is required now.
[Galaxy S II Android Development] Eric80:
As many experienced, GApps is IMHO a NO GO on our S2, because it is slowing down the phone drastically (I tried bitGApps on L19.1). On 19.1, I also found that disabling the battery manager helped to make it snappier.

I am considering a donwgrade from LineageOS 19.1 to 17.1, hoping Android 10 would be a bit faster than 12.

Since my S2 has TWRP 3.6.1, and another pit applied (for 19.1), can I just flash the 17.1 ROM without downgrading TWRP and changing the partitions sizes?

EDIT: I reply myself: yes, a simple wipe and install worked with TWRP 3.6.1 at the base and the partition sizing of L19.1. Indeed, Android 10 feels smoother and faster.

As listed in the FP, sensors are also working fine on 17.1 but not on 19.1 so another reason to use 17.1

PowerHAL is also listed as 'working' on 17.1 but not on 19.1, it probably helps for better performance and battery management.

Some mentioned a battery drain with SIM card on 17.1. Wonder if it is better with 18 or 19.1.

I am trying to find out which version is best for an occasional use.

From my first hour with 17.1, I would say 17.1 (2021-03) is much better than 19.1 (2022-06).

Any other opinions?
[Galaxy S II Android Development] Eric80:
2 years later, with the likely the same ROM 17.1 from March 2021, I experienced the same behavior. However not only with the SIM card, but also on Wifi, with Battery manager active.

When my s2 is idle and offline (no sim card, wifi disconnected), it lasts over 10 days (still have 15% battery 9d after the last charge, but with only 10min on-screen-time).

But when I switch on the wifi, without sim card, and also doing 'nothing' on idle (but online), the battery is gone after less than 24h.
[Galaxy S II Android Development] Princero20:
Hello !

After installing Android 10 (lineage 17.1), I wanted to install lineage 19 and it failed with Odin and my Samsung S2 i9100 no longer wants to turn on or charge the battery.

Is the motherboard dead?

What to do in this case?

Thank you for answering me.
[Galaxy S II Android Development] Eric80:
L19 is quite slow on the S2. L17 or 18 are smoother. Don't know actually which one is best.
[Galaxy S II Android Development] Eric80:
Mine is on 17.1 still using the ROM from this topic.

Since my main smartphone drawn while traveling (Pixel 3a on L19), I've been using the S2 (that I packed as backup) as main phone during all 4 weeks of March 2024!

Slow but usable without Google Service. I am using Aurora Store. I was daily using WhatsApp, Signal, and gps tracking there with osmin. For GPS to 'wake up', I had to start first the 'GPS locker' app: very slow to get fix but eventually ok in most cases.

I experienced a few crash/reboot/shutdown of the phone, but likely because of the old battery. I just ordered a new battery for $10 on AliExpress, curious to see how it will behave...
[Galaxy S II Android Development] Princero20:
So I will try L17.1 and Aurora store and observe the results. THANKS.
[Galaxy S II Android Development] Eric80:
you can try both 17.1 and 18.1 and report here which one you find smoother :)
[Galaxy S II Android Development] Princero20:
Ok. Thanks.
[Galaxy S II Android Development] omarq8:
i did every thing but when i install the rom i got filed why?
[Galaxy S II Android Development] Oxydeme:
Same for me, [MENTION=5654757]Shambles22[/MENTION], can you provide any kind of logs?

As [MENTION=4538384]noobgs2[/MENTION] can install apps from sdcard, use'em correctly, even the one i'm developping.

Sure you repartitionned correctly? Just a guess, who knoes? :)
[Galaxy S II Android Development] Shambles22:
I'll try to reinstall and do all the steps, maybe you're right and I did something wrong, thank you
[Galaxy S II Android Development] Oxydeme:
Can you share your procedure with us, so we could try to help you figuring out where the error could be ?

Thanks
[Galaxy S II Android Development] Shambles22:
I've just reinstalled and now works, perhaps I put another PIT file (I don't remember). Sorry for the inconvenience and thanks for advice.
[Galaxy S II Android Development] Oxydeme:
inconvenience?

Where, where, ...

No inconvenience here, we just wanted to help out,

Glad it now works for you :)
[Galaxy S II Android Development] noobgs2:
Great, Now you can enjoy it just like we do. :)
[Galaxy S II Android Development] XeLLaR*:
Hi,

I dont have this device. Just wanted to say good Job OP!

Gz

X
[Galaxy S II Android Development] evdenis:
This is really cool. It's time to find my Galaxy SII. I thought this day will never come :)
[Galaxy S II Android Development] Faffendecker:
Great work rlNanDo. This is the best looking Android yet and I look forward to the finished article. Been using my S2 for 7 years plus and it's fantastic that I can keep it going thanks to the hard work of people like yourselves.

My test S2 has a battery run down issue where it would run down over 48 hours. With this "Q" it's getting down to 15%ish within 4 hours on standby. Is there a known power issue?
[Galaxy S II Android Development] rINanDO:
Maybe. I'm running/testing my s2 a couple days as daily drive, but ril crashes 2 or 3 times a day which requires me to reboot. Booting is quite heavy because it runs at full speed couple of minutes untill everything is loaded.
[Galaxy S II Android Development] rINanDO:
New build is up!

I tried to fix GPS but I'm still stuck. It fails to passthrough HIDL on initialization. It just hangs.

Same behavior as in LOS 16.0 when HIDL-ized, but there it works when not using the gnss@1.0-service.

Random occasional crashes of RIL are not fixed yet (or maybe magically fixed in updated sources).

I can't get a log when it just happened.

Happy testing!

Build #4 2020-02-11

!! NOT SUITABLE FOR DAILY DRIVE !!

Overall state: Unstable

Android build: 10.0.0-r27

Required recovery: TWRP 3.3.1-1

Changes:

- Fixed notification LED via BLN

- Disabled some crashing services

com.google.android.mdh/com.google.android.mdh.service

com.google.android.gms/com.google.android.gms.herrevad.services.LightweightNetworkQualityAndroidService

- Updated sources

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-20200212-UNOFFICIAL-i9100.zip (Updated link, and again 12-2-2020)
[Galaxy S II Android Development] FaserF:
Thanks a lot for your work! The download link is broken. Seems this one is the correct one, but there I only get "No mirrors found". So for me it is currently impossible to download the newest version.
[Galaxy S II Android Development] rINanDO:
Thanks! I updated the link.

lineage-17.1-20200211-UNOFFICIAL-i9100.zip
[Galaxy S II Android Development] ran000:
Unfortunately no success with this link too.:

OOPS!

no mirrors found.
[Galaxy S II Android Development] darkherman:
remover post
[Galaxy S II Android Development] ze7zez:
AFH has problems with file hosting from Canada.

Put the file on other servers..
[Galaxy S II Android Development] rINanDO:
That's weird.... I try reuploading it.
[Galaxy S II Android Development] rINanDO:
Reuploaded a new build:

lineage-17.1-20200212-UNOFFICIAL-i9100.zip (Updated link, and again 12-2-2020)
[Galaxy S II Android Development] Faffendecker:
Oops. I'd installed 17.0 instead of 17.1. Now I've got the later build on, phone is back to losing about 20% per day on standby which is normal for this phone.
[Galaxy S II Android Development] Oxydeme:
What about this one

InAFH Rinando dev profile,

Clicked on last upload and copied the gotten link

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

[MENTION=2222292]rINanDO[/MENTION]

https://i.imgur.com/ZXFGvhB.jpg

This reffears to my actual 3 i9100 Running respectively

Los 15, Los 16 and Los 17 by yourself, you did a really good work out there :)

Edit_23.02.2020: occasionally there are sometimes random reboots, taking my 10.0 phone to TWRP, doesn't really know why and how it could be solved,

For exemple we are actually the 23 of February, 15:33, two minutes ago, it had been 6 hours my phone is on, it rebooted to recovery, and this happens up to twice a day, without human behave, on its own, except to that, phone works great.
[Galaxy S II Android Development] ran000:
Great! Build March 1 well working here. GPS now working well, many things improved. Thank Rinando
[Galaxy S II Android Development] rINanDO:
Thanks, I'm still working on stableizing RIL but my time is limited because of private stuff. I forgot to update it here. I patched binder in kernel but that didn't work. It is something in the libsec-ril blob I guess.
[Galaxy S II Android Development] noobgs2:
Where can whe download this march 1 build?
[Galaxy S II Android Development] hollaho:
https://androidfilehost.com/?w=files&flid=304195&sort_by=date&sort_dir=DESC
[Galaxy S II Android Development] noobgs2:
Thanks.
[Galaxy S II Android Development] noobgs2:
Latest release march 1, seems a bit smoother to use.

Still no Audio FX interface, this is very important to me, I am using my gs2 as a music player.

Keep up the good work!

I am looking forward to the next build.
[Galaxy S II Android Development] Maryan40k:
Port for i9100G, pls?
[Galaxy S II Android Development] psyziv:
Youtube quality

Hey rINanDO!

Can anyone confirm if he gets more than 480p on Youtube app?

ROM works pretty fast with casual crashes, I had maybe 1 reboot(using it with no SIM just for testing).

Thanks for the ROM!

btw, does "channel48" on Youtube belongs to you?

I installed 17.1 and I do have the Audio FX working(tested on BT).
[Galaxy S II Android Development] K9100ii:
The display on this phone has a resolution of 480*800, which is 480p and is the reason for why the maximum resolution available is 480p. Getting 480p as the maximum resolution is expected. Forcing a resolution of more than 480p is pointless.
[Galaxy S II Android Development] psyziv:
Thanks for pointing that out. I didn't use it for so long, my memory failed me into thinking I was able to 1080p on it.

Cheers :good:
[Galaxy S II Android Development] mirhl:
No it's not, it's called downsampling.

You get diminishing returns of course, but no reason you shouldn't be able to decode at least 1080p @30fps.
[Galaxy S II Android Development] K9100ii:
Yes, of course video will be down sampled if you decode anything with a resolution of anything higher than 480P. Decoding 1080P@30FPS is possible (possibly only with a few formats though), but won't the resulting resolution still be 480P down sampled from a higher resolution due to the resolution of the display, meaning there's no advantage of higher resolution video over 480P video? By the way, you may have misunderstood my point, my point isn't that you can't decode anything more than 480P, it's that forcing any resolution higher when you're given the option for 480P gives no advantages.
[Galaxy S II Android Development] John D J:
[MENTION=2222292]rINanDO[/MENTION]

Sorry this might be dumb question and I'm sorry too if it's been asked and answered. But can I go straight to Q from Pie please?
[Galaxy S II Android Development] rINanDO:
No question is dumb. I haven't test that scenario. Make sure you backup everything before you start.
[Galaxy S II Android Development] John D J:
Thank you. It works beautifully. I followed the instructions you gave for boot into recovery as I'd done all the other steps a long time ago. This ROM is a real delight. Thank you
[Galaxy S II Android Development] rINanDO:
Hi everyone,

It took a while but now we have a stable-ish build probably suitable as daily drive. Let's find out!

GPS is now working. Some errors in paths after switching to system-as-root and permissions stuff.

RIL is now working for 20 hours solid which I never reached until today before my fix/hack in libhwbinder.

The issue is racing condition in libhwbinder's IPCThreadState outgoing Parcel. I still don't know

what causes this, but it seems only RILD is having this issue on our device. I checked the following things:

- binder-driver in kernel, updated to 3.18

- libsec-ril.so hex changes, even tried blob of i9300, still same racing issues

- investigating changes in libhwbinder (IPCThreadState.cpp)

I ended up to copy mOut Parcel locally everytime and check if the dataSize mismatched causing RILD to crash. If it

mismatched, I prevent the crash to restore the original mOut. Now I'm thinking to restore mOut always

with the local one because checking dataSize mismatch doesn't feel solid. This is the fix/hack:

https://github.com/rINanDO/android_...mmit/c402c62eb419561232f593e8ca8a1d34ec78583b

Sources where updated yesterday to 10.0.0-R31 so let's ship this BETA!

Besides the frustrating RILD issues, my develop laptop HP8570w broke for a few weeks. Broken GPU, but that has been fixed

by ordering a second hand GPU via eBay. Happily it arrived just before the Corona madness really started.

Build #5 2020-03-19

PLEASE TEST FOR DAILY DRIVE

Overall state: Stable-ish

Android build: 10.0.0-r31

Required recovery: TWRP 3.3.1-1

Changes:

- Update binder Kernel code from 3.18 kernel

- Hopefully fixed RILD crashes with this patch:

https://github.com/rINanDO/android_...mmit/c402c62eb419561232f593e8ca8a1d34ec78583b

- Updated sources

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-20200318-UNOFFICIAL-i9100.zip.
[Galaxy S II Android Development] joam280:
Congratulations, this rom works better every time

Enviado desde mi GT-I9100 mediante Tapatalk
[Galaxy S II Android Development] elvisburdajs:
Your dedication for this device is remarkable! Thank you! :good:

P.s. Stay safe during these tough Covid times.
[Galaxy S II Android Development] noobgs2:
Thanks for Build #5 2020-03-19

Will try it out as soon as possible.

Keep up the good work.
[Galaxy S II Android Development] rINanDO:
Hmmm.. RIL just crashed today after 30 hours.... not stable yet...
[Galaxy S II Android Development] ze7zez:
I am asking for verification if it is only happening for me as described below.

1. Closing the system with Power off causes its incomplete shutdown (despite the black screen and vibrations) and battery drainage?

2. Shutting down the system by restarting to recovery, restarting to TWRP and then Power OFF, will not drain the battery.

3. After shutting down the system as in step 2, turning on by pressing the Power key will start TWRP instead of Lineage.
[Galaxy S II Android Development] rINanDO:
I noticed this too. Seems this was already a problem in LOS 16.0 for our device. I never noticed because I use it as daily drive. Debugging is difficult, because logcat stops before actual shutdown.
[Galaxy S II Android Development] ze7zez:
OK, during shutdown, diagnosis is a difficult matter.

In addition, the recovery mode is not activated every time, which is manifested by a black screen, battery drainage and no charging animation after connecting the power supply.

It also happens that repeated attempts to close the system end in suspension.

It remains then long pressing the power key and starting in recovery mode and restarting the system. Otherwise, every system shutdown ends in a system crash.

An indicator of the correct shutdown is the message "Shutting down..." + vibration and checking that connecting the power supply activates the animation of the battery being charged.

And what can you say about blocking the bootloader when starting the kernel during a clean (after system shutdown by TWRP) boot?

Additional information.

After a clean shutdown (via TWRP) and after connecting the power supply, it is not possible to switch on the phone by the Power key. The bootloader displays a gray battery icon and the kernel does not boot from either the recovery partition or the boot partition.

Anyway, you have a great achievement in getting a very smooth Android 10 on a 2011 device. It's like a world record.
[Galaxy S II Android Development] :
So TWRP shut down will brick device?
[Galaxy S II Android Development] :
So RIL Crashes But less frequent?
[Galaxy S II Android Development] ze7zez:
I suspect it has to do with repartitioning, not with a specific ROM or TWRP.
[Galaxy S II Android Development] coderex96:
Is it possible to add NFC support for 9100P version?
[Galaxy S II Android Development] ze7zez:
Small matters regarding the settings.

1.

After update from previous version, the default sounds in the system are:

Phone ringtone: 85

Default notification sound: 192

Default alarm sound: 129

Only manual sound selection displays its true name.

2.

It is possible to turn off all notifications via "Do Not Disturb", but I can't find a setting that turns off button lighting when a message arrives.
[Galaxy S II Android Development] ze7zez:
Which modem version are you using?

I have XXMS4 and there is only one satellite in the clear sky. When I install gapps, this one satellite disappears.
[Galaxy S II Android Development] rINanDO:
My guess is it has the same cause, crashing while shutdown.
[Galaxy S II Android Development] rINanDO:
Yes I guess... Anyone also testing the ROM with Simcard?
[Galaxy S II Android Development] ze7zez:
I do tests with an active SIM. Yesterday I reached up time 24h and nothing was wrong with the reception of phone calls. Later I had to check GPS with gapps and now I have 15 up time without any crashes.

I'm not browsing the internet or logging in to google.

edit.

After more than 24 hours, the connection with the network operator was broken.
[Galaxy S II Android Development] Ben Garp:
sim

yes I do but there is no connection
[Galaxy S II Android Development] olo320i:
Hi there. I am active user of KOMOOT apk. and I wanna use this apk on my SGS 2. I was testing almost all available android roms for this device and I can't use this application. In previous android 5, 6, 7, 8, 9 editions there was always a problem. Application after installation stopped working at first start or quickly after first use, or couldn't find any gps signal. With this android 10 first time I could install it without any problem, download maps and use it, the only problem is that if you wanna just plan your trip apk finds gps signal and shows you correctly your current position on the map. But if you wanna start and measure record your tour, apk can't establish connection with gps, even though you see your correct position on the map, apk can't start. From time to time at the bottom of the screen small window appears "weak gps signal" Sometimes after 3km walk it catch signal for a second and on the screen on the map i see line from place I started to the place I am and then again "can't establish current position". Can someone help me and tell where is the problem?
[Galaxy S II Android Development] ze7zez:
Don't you read posts at all?

There is still a problem with RIL.
[Galaxy S II Android Development] rINanDO:
ROM is still under development. I suspect gps is working but agps is probably broke. And ril is still not stable. I focus RIL first since it is the primary function of our phone ;)
[Galaxy S II Android Development] ze7zez:
I noticed that after restoring the system with TWRP, now when opening, closing and using the interface, the image scrolls by jumps.

WiFi enabled without GAPPS and without connecting to any router, just devours the battery!
[Galaxy S II Android Development] Ben Garp:
I have 2 phones one with 9 and one with 10 both are crashed. twrp is working but it is not possible to install custom or restore them. can you help me maybe with an old custom.