yashsingh1/xdaforums huggingface dataset:
[Galaxy S II Android Development] slev!n:
hi guys,

after coming from stock and doing successfully all steps I run into boot loops. At first after installing " lineage-17.1-20200526-UNOFFICIAL-i9100.zip (Selinux permissive) " I couldnt see any launcher. So I flashed twrp for android 10 and the newest build. And I get permanent boot loops (booting until the launcher appears and after a few seconds reboots).

What went wrong?
[Galaxy S II Android Development] BIG_MATT:
Hi @rINanDO Beautiful ROM, congratulations!

I have followed all the steps you listed but I notice slowdowns and excessive battery discharge (New from 2650mAH).

How can I get back in stock since following the normal tutorials or trying to install new ROMs I always remain in Bootloop?
[Galaxy S II Android Development] hagadus:
Hello guys, problem to update new build with microG. TWRP error 7 :unsure:
[Galaxy S II Android Development] bragaBr:
Hello,

Does not have google play installed? How do I download apps ??
[Galaxy S II Android Development] facer66:
Try https://sourceforge.net/projects/opengapps/files/arm/beta/
[Galaxy S II Android Development] bragaBr:
I did the procedure and is giving error in the installation of the gapps
[Galaxy S II Android Development] facer66:
the message tells that you are using the wrong Gapps package. Choose the right one for your version!

I think this one should work: https://sourceforge.net/projects/op...pen_gapps-arm-10.0-pico-20210204.zip/download
[Galaxy S II Android Development] Switch123456789:
Is anyone here in need of a S2 for developing & testing? I got a spare one.
[Galaxy S II Android Development] aarick:
Just took out my old S2 that has been lying dormant for years to install this rom so that I can use it for automation.

However, since installing this rom, I am having wifi issues. The wifi will not find any network after I leave it dormant for awhile. Reboot brings back wifi, but then eventually wifi will not find any networks again. Anyone else have this issue and know how to fix? Thanks.
[Galaxy S II Android Development] leitefresco:
Hi

For me this only happens if you have AFWall+ running. To fix it I use this:

Wifi "connected, but no internet" on Android N 7.1 · Issue #761 · ukanth/afwall

As a follow-up to #618 I did some digging and it looks like captive_portal_detection_enabled is deprecated: https://github.com/aosp-mirror/platform_frameworks_base/blob/master/core/java/android/pro...

github.com

Install

Termux | F-Droid - Free and Open Source Android App Repository

Terminal emulator with packages

f-droid.org

Run it as Super User (type SU in prompt) and change, type "settings put global captive_portal_mode 0 " + OK

restart your Wifi.

Stay safe.
[Galaxy S II Android Development] schitthoch2:
Hi. I just installed the latest version on my old I9100. Really nice job ! (y)

I installed Gapps pico with it. As expected Gapps is hogging to much ressources. That was clear !

So I tried again with pure microG from Magisk, but I don't know if i really did all the different steps and installation modules correctly. It seemed quite fast and perfect (all microG checkmarks where there too, incl. location etc.), BUT i could not install any app from Playstore a.k.a Phonesky.

I really need to install the purchased version of this specific app on it. Otherwhise i have to put the device back into the dust again. Does anyone know how to install a purchased app from the Playstore without using the fully Gapps micro Version.

I think a step-by-step would be helpful for a lot of users here. Can someone explain how to get there ?

TIA

(I also tried NanoDroid, but it says it fails when preparing ... )
[Galaxy S II Android Development] schitthoch2:
Ok I can answer for myself. I need some more testing, but it seems to be working fine.

I followed the Installation Wiki,

but instead of step 4

i used the recommended way for Android 10 (miniMicroG)
[Galaxy S II Android Development] phil_87:
Hello could you please help. when i can install in twrp the boot.img for root? direct after gapps or later ? Or can i download magisk an magisk manager in the system and then i can install the normal way... best regards
[Galaxy S II Android Development] rINanDO:
New build is up!

Updated sources and the Firefox-crash fix thanks to @florencebirée

Build #22 2021-02-11

Overall state: Stable

Android build: 10.0.0-r41

Required recovery: TWRP 3.4.0-i9100 for Android 10

Changes:

- Update sources

- Magisk v21.4 supported kernel image

- Network/Firefox crash fix thanks to @florencebirée

Downloads

i9100-LOS-16.0-Emulated-Storage.pit

TWRP-3.4.0-i9100-Android-10.img

lineage-17.1-20210211-UNOFFICIAL-i9100.zip

lineage-17.1-20210211-UNOFFICIAL-i9100_boot_magisk.img
[Galaxy S II Android Development] S2StillRocks:
Brother, for the love of God, just add voltage modifying while the iron is still hot :(

My device can easily do -70 and kernel manager make the device reboot when I try to change the voltages.

Please.
[Galaxy S II Android Development] migo1979:
Hi,

Yes, I have the same issue. The possibilty to modify the voltages would be great!
[Galaxy S II Android Development] thorazine74:
Thanks for an awesome work, its really amazing what could be accomplished with this vintage phone. (y)

Question: I decided to avoid GApps to keep the device as lean as posible and tried microG but I'm not sure whats the best way to install it on this device?

I've tried microG Installer Revived with Magisk but apparently I did something wrong and I dont get all the checkboxes on the diag page and also I dont get any localization provider (which is not really that important for now, but I guess thats a sign something wen wrong with it).

If anyones running microG with this ROM can you suggest how did you installed it?

Sorry if this is considered offtopic, but considering that we have a device with 777 Mb RAM I think avoiding the GApps bloatware would be the best choice to keep this as usable as posible.
[Galaxy S II Android Development] Netsab:
I use the vanced microg with their YouTube app with no problem. Didn't try other Google app. My S2 is just a toy for me, I only use Vanced YouTube and web browser
[Galaxy S II Android Development] schitthoch2:
Check my post #610
[Galaxy S II Android Development] aarick:
Issue seen to have gone away on its own..
[Galaxy S II Android Development] aarick:
I am getting 'notification access not available in this device' when trying to grant notification access to Notification for Android TV app. Any way to fix this?
[Galaxy S II Android Development] serjiojio:
Hello friends. Can you tell me if it is possible to flash without a micro SD?
[Galaxy S II Android Development] rINanDO:
Didn't know these settings are working. It was ported for i9300, but I found the issue why it was crashing.
[Galaxy S II Android Development] rINanDO:
New build is up!

Build #23 2021-03-01

Overall state: Stable

Android build: 10.0.0-r41

Required recovery: TWRP 3.4.0-i9100 for Android 10

Changes:

- Update sources

- Magisk v22 supported kernel image

- Fixed voltage control

- Adjusted PegasusQ profile for more responsiveness,

Downloads

i9100-LOS-16.0-Emulated-Storage.pit

TWRP-3.4.0-i9100-Android-10.img

lineage-17.1-20210301-UNOFFICIAL-i9100.zip

lineage-17.1-20210301-UNOFFICIAL-i9100_boot_magisk.img
[Galaxy S II Android Development] frtz13:
thanks for the ROM and the new build, successfully updated my S2. btw, you mixed up the download links (ROM and magisk img) in your previous post and on the front page.
[Galaxy S II Android Development] Marienvonbaldur:
Hello thanks for Roms but I have 2 issues..Firstly I don’t have accessible camera.I see only black screen after camera run.I executed firstly initial rom and if camera didn’t work then I did download Build 23.At both versions camera isnot working..

Second : nowhere is icon for google store.

Is possible download there really google store? or I heard something about MicroG or Gapps?Are they substitute of google store?

Many thanks for help
[Galaxy S II Android Development] Netsab:
Hello, you'll need to flash zip from your recovery. You can use open GApps for exemple. But be sure that your S2 becomes so much more laggy with Google services...
[Galaxy S II Android Development] schitthoch2:
Can someone of you explain how you modify those values. I haven't found something similar to Kernel Adiutor in this ROM. My goal would be to make the UI faster and more responsive.
[Galaxy S II Android Development] rINanDO:
Thanks, how sloppy of me. I will update it.
[Galaxy S II Android Development] rINanDO:
Both cameras are working, Front and back with this ROM. I tested this on my daily drive phone. Probably your camera is broken? Anyone else has issues with camera? Try official ROM to make sure.
[Galaxy S II Android Development] rINanDO:
Changing voltages won't help making the UI faster or more responsive.
[Galaxy S II Android Development] frtz13:
both cameras are working here (build #23)
[Galaxy S II Android Development] Marienvonbaldur:
Thanks for answer but Realy not.Camera is not working.I can confirm that in previous official rom it worked.But i can try to replace camera i have one spare.As i already wrote i firszly installed build #1 and then build#23.Both without camera ..Let you know status afrer camera replace
[Galaxy S II Android Development] Marienvonbaldur:
Ok ,Thanks but i am little bit confused..Should i try to find Google store zip or install Gapps and Micro(Also apk installed from recovery) Then will i See Google store?

Many Thanks for support.
[Galaxy S II Android Development] Netsab:
Install GApps, you'll see Play store appear
[Galaxy S II Android Development] ms_saber:
Thanks for the great work. I just don't know what should I do with the magisk boot as it's not explained on the front page. Can anyone help and explain?
[Galaxy S II Android Development] S2StillRocks:
Hey thank you for your effort, but it's bugged. Apps with global voltage control don't work, apps with manual voltage control screw up the numbers. Lets say I type 900 mv for 1000 MHz, it becomes 898 mv or any other arbitrary number.
[Galaxy S II Android Development] florencebirée:
You can write it using TWRP on your boot partition, in order to root your phone. It's not necessary, do it just if you want to have root access.
[Galaxy S II Android Development] ms_saber:
Thanks for the reply. Can you be more specific on which step of the explained process on the front page I should do that? What do you mean by writing?
[Galaxy S II Android Development] Little Rooster:
Hello,

I have Magisk installed and my Root Explorer, but root rights are denied and I can not access the root dir.

Is there a simple solution?

Regards,

Rooster
[Galaxy S II Android Development] js-xda:
Very silly idea but possible: The links (with and without Magisk) are still mixed up. Are you sure you flashed the build with Magisk? No offence - speaking for me, sometimes issues are as simple as this. ;-)
[Galaxy S II Android Development] Marienvonbaldur:
I didnt find spare camera,but Realy i can confirm that It was working before.One question..Today i saw at my friend S2 with Dirty seeds FW Android 6.It will be enough for me..Does exist chance in curent status how It could ve downloaded?I tried It through twrp but without success.Many thanks
[Galaxy S II Android Development] Netsab:
Hi guys, thanks for this incredible work.

I read the entire thread but can't fix my problem.

When I active bluetooth, it disables instantly.

Is it a known issue?

Thanks
[Galaxy S II Android Development] florencebirée:
Same problem here…
[Galaxy S II Android Development] leitefresco:
I have done this experiment on 2 phones:

- Charged 100%.

- One with a phone sim card and one without.

- The battery on the phone with phone sim card only lasts a day.

- The battery on the phone without phone card lasts several days.

- Both phones have 0 applications open.

Is it a normal behavior?
[Galaxy S II Android Development] Didgeridoohan:
Phone services are quite a resource heavy activities, so it's not strange that the battery lasts longer if they're disabled (no SIM).
[Galaxy S II Android Development] JaLoou:
It is NOT normal. It is the unfixed issue of this custom ROM.
[Galaxy S II Android Development] uig200:
I wish this did also work for GT-i9105P. :cry:
[Galaxy S II Android Development] Her Beginner:
Never mind. See my next post below. :)
[Galaxy S II Android Development] nikec:
Hi,

using the latest 20210301 version with magisk boot - I am having problems getting SpiritFM2 to work. The error message says: Tuner API did not start or stop. This device may need a kernel with a working FM driver. Using the Spirit2 2015_04_14 version.

Do I need a special app to make this feature work?

Thanks for the answer!
[Galaxy S II Android Development] threader:
I'm having some strange issues, found this i9100 with a broken touch laying around I thought i'd put to use, got odin, flashed the pit and twrp re-partitioning, installed the latest twrp via 'dd', pushed all files in place, found an old 16gb sdcard, but no matter what i try i get 'Encryption Unsuccessful

encryption was interrupted and can't complete. as a result. the data on your phone is no longer accessible... etc..'

I've followed the first post to the letter, twice, i've not flashed gapps yet. /data cannot be formatted.

Edit:

I used adb to twrp to 'make_ext4fs /dev//block/platform/dw_mmc/by-name/DATAFS' then it started working and i could format /data from twrp menu again without error.
[Galaxy S II Android Development] Her Beginner:
This is my first experience on using a different OS other than stock. Available information on installing custom roms can be a little overwhelming and confusing. Good thing I didn't brick my phone.

Surprised by how a 2011 phone is running on a 2019-2021 version of Android. Sir rINanDO and all that he mentioned in the original post are like wizards. You guys are amazing.

I have a few questions regarding my installation process as I am still a newbie. (Go easy on me.)

1. I was not able to install lineage-17.1-20210301-UNOFFICIAL-i9100_boot_magisk.img. Will my phone be okay?

2. If I were to install it, will the process just be the same?

e.g. installing these 3 altogether:

a. lineage-17.1-20210301-UNOFFICIAL-i9100.zip (INSTALLED)

b. open_gapps-arm-10.0-pico-20210407.zip (INSTALLED)

c. lineage-17.1-20210301-UNOFFICIAL-i9100_magisk_boot.img (NOT INSTALLED)

3. LineageOS and Gapps are installed from flash drive connected to phone via OTG as I do not have a microSD card. Is that okay? Are there any pros/cons with this process?

Still haven't checked the phone thoroughly. Haven't downloaded anything yet. Haven't opened Play Store. Just getting the general feel.

Thanks all. Hoping to learn more.
[Galaxy S II Android Development] florencebirée:
Just tried the last build of lineage os 18.1 (in beta phase), it solved my bluetooth problem.
[Galaxy S II Android Development] MaddogIT:
Hi,

nice to know you managed to install nearly all.

Just a question for point 2, you didn't install the boot image because you weren't able to see the file? If this was the issue you have to change the file type to install from the menu to see the .img files, then you can select it and flash to boot.

Point 3, it's all ok, this can be done in a lot of modes, just microSD mode is considered an easy way to do it.
[Galaxy S II Android Development] Netsab:
Bluetooth fixed, thank you so much
[Galaxy S II Android Development] jo-so:
Does anyone know what these messages mean?

04-08 11:25:14.893 2090 2090 I hwservicemanager: getTransport: Cannot find entry android.hardware.bluetooth@1.0::IBluetoothHci/default in either framework or device manifest.
04-08 11:25:14.910 8425 8461 F libc : Fatal signal 6 (SIGABRT), code -1 (SI_QUEUE) in tid 8461 (bt_hci_thread), pid 8425 (droid.bluetooth)
04-08 11:25:14.927 2090 8462 W libc : Unable to set property "ctl.interface_start" to "android.hardware.bluetooth@1.0::IBluetoothHci/default": error code: 0x20
04-08 11:25:14.927 2090 8462 E hwservicemanager: Failed to set property for starting android.hardware.bluetooth@1.0::IBluetoothHci/default

I'm using the image 20210301.
[Galaxy S II Android Development] Her Beginner:
Hi MaddogIT! I wasn't able to install it because it wasn't in the instructions in the original post, albeit it was included in the downloads part of Build #23 on the same post. Just strictly following instructions to avoid bricking I guess. I just realized I didn't install it right after successfully installing the Lineage OS on my Galaxy S2 and rechecking the instructions and files (if I used everything correctly).

Would it make sense if I redo the process? Just me being obsessive-compulsive. If I were to repeat everything, would everything still be the same from step 1 of original post? And when/where/how should I install the Magisk? I did not understand when you said "change the file type...". Sorry. Really new with this. (Even some terms still confuse me like "flash" lol) Just a normal user wanting to try something different.
[Galaxy S II Android Development] MaddogIT:
Hi,

you, of course, can redo all from the scratch or you can simply flash just that missing one now.

The difference between install and flash is that during install you unpack and copy files where there is space like copy by hand a page, in flash there is a copy of same bit in same place, like doing a photocopy.
[Galaxy S II Android Development] Her Beginner:
Sounds like the install is the cleaner way as opposed to flash. Less clutter(?)

Anyway, how would I install/flash the lineage-17.1-20210301-UNOFFICIAL-i9100_magisk_boot.img? Do I need to boot into recovery mode and use TWRP to install this? Will TWRP recognize the file type? 'coz I noticed that this is not a zip file, but an img file. No idea how img files work.
[Galaxy S II Android Development] MaddogIT:
Flash is like "clone" something, after that, all have the same "configuration". The difference is between clean and dirty flash. You have a dirty flash when there is an upgrade from a release to the next one, you overwrite. You have a clean flash when you format and delete the previous installation. Normally passing between a lineage major to the next one a clean flash is needed (ie from 16 to 17), no need (if not differently stated by maintainers) for an update of the same major (ie. bugfixes, security patch, etc)

In TWRP when you go to the install menu, you have two buttons on the bottom, one is for change media where to search files, the other one switch from .zip to .img installation and vice-versa.
[Galaxy S II Android Development] Her Beginner:
It says "Select Partition to Flash Image". What should I choose? Boot or Recovery?
[Galaxy S II Android Development] schitthoch2:
Look at the filename, it has 'boot' in it
[Galaxy S II Android Development] Her Beginner:
I guess I have to start paying more attention to these terms now.

Thanks schitthoch2 and MaddogIT!
[Galaxy S II Android Development] threader:
Quickly - coming from stock/earlier builds - In Odin:

PIT: i9100-LOS-16.0-Emulated-Storage.pit : Select re-partition

PDA: i9100-LOS-16.0-Emulated-Storage-TWRP-3.3.1-1.tar.md5 : Flash & Boot to.

Now you need Google's adb drivers (on Windows) and platform tools :

Drivers: https://developer.android.com/studio/run/win-usb

adb: https://developer.android.com/studio/releases/platform-tools

IMG: TWRP-3.4.0-i9100-Android-10.img :

adb push TWRP-*.img /data/local/tmp && adb shell 'dd if=/data/local/tmp/TWRP-3.4.0-i9100-Android-10.img of=/dev/block/platform/dw_mmc/by-name/RECOVERY'

Reboot to new recovery.

Format all partitions:

Format /data manually - if TWRP > Wipe fails:

adb shell 'make_ext4fs /dev/block/platform/dw_mmc/by-name/DATAFS' # then optionally format it from the TWRP menu since that may include flags(?)

TWRP > Wipe > Adv. > 'Dalvik - Cache - System - Data - Non Emu. Storage'

lineage-17.1-20210301-UNOFFICIAL-i9100.zip : Flash normally

lineage-17.1-20210301-UNOFFICIAL-i9100_boot_magisk.img :

adb push lineage-17.1-*_boot_magisk.img.img /data/local/tmp && adb shell 'dd if=/data/local/tmp/lineage-17.1-20210301-UNOFFICIAL-i9100_boot_magisk.img of=/dev/block/platform/dw_mmc/by-name/KERNEL'

q) 2-c):

No penguins would fall ill if you don't flash magisk. But it will not install normally trough the zip they provide, but will 'update/function normally' if you flash boot_magisk.img and update.
[Galaxy S II Android Development] joks1:
Hi. I am using LOS 15.1 atm, but it is a bit laggy and most importantly, sometimes its screen and buttons dont light up when there is incoming call.

I am looking at 17.1, and by the checkmarks in first post, it looks great. How is 17.1 performance compared to 16.1? Or maybe i should downgrade to something older than 15.1 (or look to alternative ROMs, as someone who is interested mostly in using the phone for calling and some whatsapp messaging?

Thanks.
[Galaxy S II Android Development] jeffghh:
Hi, I wanted to ask you, is version 18 stable? IM using just 4g and airplane mode for my proxy and wifi, if all these works, I install that one, is it working better than 17? I mean faster or smoother? thank you
[Galaxy S II Android Development] jeffghh:
guys for flashing TRWP I need just ODIN 3.07 newes version doesnt work?
[Galaxy S II Android Development] Invictus596:
how do i flash stock rom after this.I cant seem to do so due to the emulated storage thing
[Galaxy S II Android Development] Oxydeme:
Odin3?
[Galaxy S II Android Development] JaLoou:
The latest Samsung's official firmware is the best for it.
[Galaxy S II Android Development] JaLoou:
Go to a good repair shop (preferable Samsung's official) and warn other people about this custom ROM for nobody come a new victim of it.
[Galaxy S II Android Development] Invictus596:
So nothing we can do to go back to stock?
[Galaxy S II Android Development] MaddogIT:
Of course you can easily, you have to repit to original sizes and flash with odin the original rom.
[Galaxy S II Android Development] Invictus596:
I tried stock pit files but i got stuck in bootlogo
[Galaxy S II Android Development] MaddogIT:
Did you flashed original rom too? That rom overwrites all areas, also recovery so is the easiest way to have a clean phone.

I already answered on this time ago, going to search, will update

Edit:

you can take a look here

https://xdaforums.com/t/rom-unofficial-9-0-0-r46-i9100-lineageos-16-0.3850588/page-55#post-84611949

or here

https://xdaforums.com/t/rom-unofficial-11-0-0-r38-i9100-lineageos-18-1.4199759/page-6#post-85110331
[Galaxy S II Android Development] Invictus596:
yes i tried flashing the stock rom via odin wasnt happening so tried the stock pit file too with it but no go
[Galaxy S II Android Development] AlexanderDG83:
Updated to this rom from the unofficial lineageos 16: everything works fine! 👍
[Galaxy S II Android Development] VashlaK Belarus:
Пожалуйста, обновите ПЗУ

Translated by GT: Please upgrade your ROM
[Galaxy S II Android Development] tonyniu2008:
HI there, i have installed this Rom to my samsung s8, it is pretty cool, and i am trying to set auto boot on USB power pluggin, but until now, no luck.

Since Android 10, seems the init.rc is regenerated every time when it boots, so unpack/repack of the .img solution seems not working any more. what i am trying next is via magisk module, still in process but no progress.

Is there any other way to do this? any light would be appreciated.
[Galaxy S II Android Development] AlexanderDG83:
Samsung S8? This is S2 forum! ;)
[Galaxy S II Android Development] xerrrman:
Using this rom for 4 days and it works well, in my case better than android 11.

I just have a very noob question, how can I root this phone? I installed the zip with the magisk version, I guess, but I don't see a way to confirm it's rooted so far.
[Galaxy S II Android Development] jimbob00:
have you installed the magisk apk to ?
[Galaxy S II Android Development] xerrrman:
No, you are right, but I think I will reinstall the version without magisk because I'm having gps problems with it.

I read in the post of the version 11 that it's a known bug, I will check it that is the case in version 10 as well.

Also I'm having a boot loop everytime I allow the sd card to be used as internal.