yashsingh1/xdaforums huggingface dataset:
[Galaxy S II Android Development] gm0:
It's a known bug, not just for our device. But certainly of the most minor category. I'm quite happy having rINanDO (the issue is assigned to him) spend his time on LOS 15 rather than fix this one. ;)
[Galaxy S II Android Development] Acid0057:
Is anyone having problems with random shut offs? I think it might be time to replace my 2012 battery in my S2
[Galaxy S II Android Development] Corsa83:
I mean when you flash your phone the EFS will remain intact (bad writting). Anyway, I get your point but I prefer to backup it in order to avoid future issues. Plus, I learnt new things :D.

About the wiping part and TWRP I said that, because usually when you need to use the fastboot OEM unlock command to unlock an Android device (not the Samsung case) it triggers a factory reset (cache and data wipe) and that is the reason installing a custom recovery requires you to do a wipe. Samsung devices come unlocked so, therefore, that's why I had my doubt about TWRP requiring the wiping in such devices but, yeah, I didn't remember it needs a isorec kernel. Thus, It will requires a wipe process anyway, thanks for note it :D

Thanks for your reply!. I have some spare time this week so I am gonna flash LOS on my S2. I already read several guides (LOS wiki icluded) and I have all the necesary files (pit file included) and did all the necesary backups but it is always really nice to pick up some advices from diferent users/sources.

I am gonna follow your advice of formatting the "preload partition" from TWRP but I think the pit file I downloaded has it in to account and wipes it when I flash it from REPIT (I am gonna wipe the partitions directly from it and not reformat them). As far as I know, flashing a modified "preload partition" only carry some problems if you are using a ROM (stock or custom) wich makes some use of it.

Speaking of GApps, as you notice, I prefer a bare minimum package too so I do not need root to unistall some google apps cause I can download only the necesary ones from PlayStore and avoid the unwanted ones.

A priori, I will not root my LineageOS phone (is gonna be my main device) but I downloaded the necesary root file just in case (in that case, i could use the supersu app to obtaian some granular root access control)

One question: I read some posts recommending Heimdal for flashing isorec ROMS/kernels because Odin sometimes gives some errors in that case. Is it true? (anyway I I had planned to use Heimdal)

Thanks all for your help! :D

PS. I am not gonna flash any custom kernel anytime soon since Dorimanx doesn't have support anymore (I prefer security and stability over functionality).
[Galaxy S II Android Development] toy_story:
Hi, if you have a PC, look here - https://xdaforums.com/galaxy-s2/help/preparing-clean-loss-data-installation-t3712409

The pit file allows you to return if you are using a ROM (stock or custom) that uses it.
[Galaxy S II Android Development] Corsa83:
Really nice guide! thank you for pointing me at it :D. Another great resource!, I am learning a lot :D. I flashed roms years ago, but I didn't went deep in the field. That's my point and the reason I looking answers to clarify the most minimal doubts to understand all the process by reading as many guides & threads as possible.

Yes I have a PC and I already had downloaded one PIT file from other user, wich was extracted from an original stock ROM, just in case I wanna go back to the original state one day (improbable :)). Also, I backed up the EFS partition and my data. Probably I am gonna backup the original boot partition too, just in case (plus, the other partitions) by creating a NANDroid backup through TWRP.
[Galaxy S II Android Development] Boolian:
On my last remaining S2 - a couple.

What I will suggest from experience of 3 dead S2's, is that all high battery drain & increasing shutdowns were hardware failure. Sometimes a short in a dirty/damaged charging port (clean/replace) But ultimately mainboard failure.

Happily I still have one functioning reasonably

The difference between putting the same old battery in a solid device against a failing device is considerable. The fact you mention replacing battery makes me suspect you also are experiencing high battery drain? I really hope it is just a bad battery (or glitching software) but if you experience frequent shutdowns, I doubt it. Sorry to be so negative.

There is a possible solution involving a known capacitor fault, but that may only buy you some time. Emmc & charging chips etc. are also prone to failure.

Search the thread for "Capacitor" discussions, also have a read HERE
[Galaxy S II Android Development] Acid0057:
Sounds good thanks for the advice. Do you know some where I can get a good replacement battery? My S2 I'd just a podcast player. I only have pocketcasts on it and Google Play plus Google services.
[Galaxy S II Android Development] Boolian:
I've tried a few in my time.

Probably, at the moment, the Akku Polarcell (Germany) Not German made but tested by German company to EU standards :Buy Here

Rated at 1800 but it's closer to 1750mah. Good battery though.

'Anker' used to do a great battery but sadly it doesn't seem to be available any more.

I believe 'Duracell' actually made one too but it was around £30+ (!)

Ebay/Amazon "Genuine batteries" are either 2nd hand 'reclaimed' or cheap "Re-wraps" - yes even the fancy packaged ones with the hologram samsung stickers. I wouldn't bother. Your old 1650 is probably still the same capacity as the cheap ones.

Tip: Any claim for more than 1650-1750mah in an original dimension battery is total nonsense.

Check the weight of any battery you buy against the original - if it's lighter its cheaper and will have less capacity and probably deteriorate further after a few months.

The only true large capacity batteries are much bigger and require the larger "hump" backplate. The actual capacity and quality of them varies. But you can probably expect 2-3000mah out the big ones. But they tend to drop-off capacity/drain noticibly after a few months. Still more than 1650 though. The cases don't fit very tightly and because of the heavier battery, it always falls apart if you drop it. Plus it feels awful ! Only buy one if you really, really want them.

I believe Samsung did make a 1900/2000mah battery with a slightly larger "flat-back" instead of the big "hump" style - but chances of finding a genuine one of those is almost zero. 'Anker' did the same ones as well, but again can't get them anymore.
[Galaxy S II Android Development] gm0:
Never had a single one, no. I agree with [MENTION=6724217]Boolian[/MENTION], if it's random it sounds like a hardware issue. Worn out batteries don't suddenly lose charge, they just hold less charge overall.

---------- Post added at 14:24 ---------- Previous post was at 14:23 ----------

While I prefer to use Heimdall, it shouldn't make a difference, the actual flashing process is identical. If you're getting errors it's usually a faulty cable/bad USB port.
[Galaxy S II Android Development] Acid0057:
Thanks for the tips gm0 and Boolian. I might retire the phone. It is really just a podcast player when I'm out snow shoveling or cutting the grass.
[Galaxy S II Android Development] corvus.corax:
Does this ROM have OTG support?
[Galaxy S II Android Development] Corsa83:
Noted :good:. It was just some feedback I read in forums about isorec images and odin. I am gonna use Heimdal for flashing parts of roms (kernels, modem files...), pit files... and Odin for flashing stock roms or whole custom rom images:D
[Galaxy S II Android Development] Boolian:
Yes - I'm looking at a the contents of a USB stick via OTG just now.

Your mileage may vary. Some have reported issues. I have had the occasional USB stick/adaptors which don't seem to play nice.
[Galaxy S II Android Development] HutchGuy:
I've connected different kind of USB flash drives and keyboards to my phone, no issue so far :good:

I do but only reboots not complete shut down... Sometimes over 3-4 times in 1 hour and something none in a week, routine stuffs everyday so no idea what goes wrong lol
[Galaxy S II Android Development] Acid0057:
I think mine is hardware failure. [emoji26]
[Galaxy S II Android Development] HutchGuy:
Have you ever had the same issue on other roms? For example I had the random reboot when I was on SlimSaber as well.

Still no idea if there is something wrong with board or ... :crying:
[Galaxy S II Android Development] Acid0057:
Yep same on different ROMs. My S2 is old first release. It started on android 2 and has lasted me a long time.

Don't think it owes me anything. It ended on nougat.
[Galaxy S II Android Development] gm0:
It can also be a software or configuration thing though. You should try with a completely clean install (wipe both /system and /data, but make a TWRP backup first) without doing anything to it afterwards and see if it still reboots then.
[Galaxy S II Android Development] Dayhood:
https://forstner-mcr.de/how-to-lineageos-14-1-auf-dem-samsung-galaxy-s2-installieren/

Gesendet von meinem SM-G900F mit Tapatalk
[Galaxy S II Android Development] toy_story:
Hi, maybe it's faster so - https://xdaforums.com/galaxy-s2/help/preparing-clean-loss-data-installation-t3712409
[Galaxy S II Android Development] HutchGuy:
If you are not gonna use it anymore, when is its funeral :p (jk jk)

I did... for like a billion time
[Galaxy S II Android Development] Acid0057:
This weekend! Hold a moment of silence for it. [emoji1020]️[emoji740][emoji26]
[Galaxy S II Android Development] Boolian:
Have you pulled the "Capacitor" & on-board cmos battery? If you're not handy with a soldering iron, they can both be done 'carefully' with a craft knife and tweezers (even a thumbnail!)

The only other 'hardware' rebooting cause I cured, was a bad USB charging port - damaged pins causing shorts.

A cheap replacement board sorted that.

(Check the correct revision number stamped on the board Rev2.2/ Rev2.3)

An S2 aint dead 'til it's dead !

:D
[Galaxy S II Android Development] Acid0057:
I haven't but I don't have time to fix it. And it was just a fancy podcast player while I was mowing the lawn. I can download podcasts to my mp3 player to listen anyway.

---------- Post added at 10:31 PM ---------- Previous post was at 10:30 PM ----------

Thanks! I actually have lineage os 14.1 on it right now up to the last nightly.
[Galaxy S II Android Development] Boolian:
Then I salute your S2 which fought the good fight.

:good: :cool:
[Galaxy S II Android Development] Acid0057:
It sure did. It was my first smartphone.
[Galaxy S II Android Development] dzikk:
Is it possible to use split screen?

Wysłane z mojego Redmi Note 3 przy użyciu Tapatalka
[Galaxy S II Android Development] kudos1uk:
Split screen works fine
[Galaxy S II Android Development] DroidHero2002:
Wonder where I could get my hands on a galaxy S2 just to test this out...
[Galaxy S II Android Development] Acid0057:
You can have mine. Battery life is non existent. I thinking it's hardware failure but don't have time to diagnose it
[Galaxy S II Android Development] DroidHero2002:
That might just be needing a new battery.
[Galaxy S II Android Development] Boolian:
Merry Xmas to all all our developers, maintainers, builders and contributers -

whatever your persuasion.

I'd like to thank everyone who has brought our S2 so far, over many versions and many fine ROM's - Lineage OS 14.1 is a testament to the incremental hard work everyone has put in over the years.

Thank you all and best wishes for 2018 !
[Galaxy S II Android Development] HutchGuy:
After 3 days, phone never rings again. All the sounds work fine but phone does not ring at all no matter what I do... The only solution is factory reset
[Galaxy S II Android Development] Acid0057:
Nope replaced with a used battery. Shuts down when the battery is 60 percent or lower.
[Galaxy S II Android Development] HutchGuy:
2 questions,

1- Does your S2 screen flickers before shutting down? (repeatedly)

2- Does your battery percentage drop when you restart/take out and reinsert its battery? (Not a few tho, like from 50% to 10%)
[Galaxy S II Android Development] guest4711:
No and no.
[Galaxy S II Android Development] Acid0057:
No and no as well.

I can restart it and the battery is the same in TWRP but the os thinks it's dead. If I charge it up for a bit I can start the phone again.
[Galaxy S II Android Development] avtandil33:
Dear developers,

I'm observing there is some limitations in the programs menu (the one called by middle button). All programs started from Cyrillic letters are sorted under hash sign only. While contact list and Preferences-Applcations lists are OK. In CM-13 that function worked OK, but then in LOS some limitation was added. Could you please check.
[Galaxy S II Android Development] laptopu:
Hi all been a while since I posted here, using an s4 these days but wanted to resurrect my s2 to use as a Linux deploy VPN server. Long story short, every distro I try to use on Linux Deploy reports back my kernel is too old. I'm on the latest nightly and have twrp latest emulated storage version installed.

Can't understand, Linux Deploy worked fine on an ancient Samsung Young so I don't get why it's telling me my kernel is too old on [MENTION=2222292]rINanDO[/MENTION] latest nightly, can anyone suggest my options please?
[Galaxy S II Android Development] rINanDO:
It looks like your battery is in really bad shape (or very bad replica). You can verify it with the app Battery Log. It monitors your battery's voltage. When you use your g3 connection and your CPU is loaded for 100%, you can see a power drop. When the power drops below 3.1volts your display starts to flicker. Eventually the radio fails and restarts which fails again due too low power etc.. When power drops below 2.9v your battery shuts down. Take in mind if your battery is in very bad shape, the estimation of remaining power is useless. I had a battery which failed at 40%(original 5 years old battery). And at 50% taking a call will shutdown my phone within 1 minute. The voltage of full charged battery is 4.2v. In good condition it will takes a few hours when the charge gets below 4.0v. My poor battery dropped to 3.6v in 15 minutes. Booting android takes a lot of full CPU power compared to booting twrp recovery.
[Galaxy S II Android Development] guest4711:
S2 kernel is a linux 3.0.x kernel (like GN: Maguro/Tuna) while S4 and others use a linux 3.4 kernel (see settings -- about phone). Some blobs don't support 3.4 kernels, so these devices run a 3.0 kernel. So you can either use an older deploy version compstible with 3.1 kernels or another device...
[Galaxy S II Android Development] Acid0057:
Yep I think your totally right. I'm not to worried. It was just a glorified mp3 player for me now.
[Galaxy S II Android Development] marzametal:
Hi...

I was wondering if anyone is having an issue with saving photos in Messaging, which were received via MMS.

When I was on lineage-14.1-20170712-nightly-i9100-signed, I could look at a photo in Messaging, and then click Save, and it would save into a folder called "Messaging" (cannot remember where about it stored it). A couple of days ago, I upgraded to lineage-14.1-20171213-nightly-i9100-signed, and I get an error message "Could not save 1 attachment".

Before I try another wipe, was just curious to see if anyone else was experiencing such behaviour...

Thanks in advance for any replies.
[Galaxy S II Android Development] gm0:
Probably a permissions issue, I think one of the recent builds messed something up there, I got some system apps unable to store to internal storage now (f2fs) when previously they could, but I haven't looked into it yet since I usually use external, anyway.
[Galaxy S II Android Development] aminya:
Can't delete file

I can't delete files in my internal storage although my apps have permission to storage. Nightly 2017/11/22

Has this fixed in new nightlies?

Is there a way to bypass these permission nightmares??
[Galaxy S II Android Development] Boolian:
I don't appear to have problems with 27/12 build.

System & Data partitions* (create/delete) OK with stock & 3rd party file managers, Downloads to Data partition/Int SD card OK with stock & 3rd party browsers.

That's all I've currently checked.

*F2FS

Which internal storage partition/block do you have difficulty with?
[Galaxy S II Android Development] octaviojss:
Hi all, does anyone know when will be out a stable version of this release? It has been nightly for a while now.
[Galaxy S II Android Development] gm0:
Most likely never. It's just a label that creates false impressions, anyway. Already the late Cyanogenmod had stopped using it.

Current official 14.1 builds are stable for daily use.
[Galaxy S II Android Development] ale5000:
I think recently there is a problem granting permissions directly from the app that need it.

If the permissions are granted manually in the Android settings then app start working.
[Galaxy S II Android Development] nospamboz:
I've been noticing permissions issues for the past few months. It doesn't happen on all reboots, but some reboots cause some apps to lose permissions they've been previously granted. When the app asks for permission and the user grants it, the "new" permission may not activate immediately, but will the next time the app starts. Sometimes the app needs to be force stopped before the permission activates.

I'm not sure of the cause, but I've noticed the permission loss happens most often when the reboot takes longer than usual. If you're watching the boot animation, with the ball going right-to-left, after the color change and vibration, if there are about six iterations of the light-colored ball, permissions are usually OK, but if there are ten iterations, I usually find a permission problem in some app, as if the app is resetting or something.

That's all the data I have. With something so intermittent (maybe one in four reboots), it's hard to catch.

That's my experience.
[Galaxy S II Android Development] toy_story:
Hi, I think you do not know how to update the ROM on OTA.

I have installed LineageOS for microG,

* I'm happy to see Google service and OpenGapps.

If there are problems do first this -

*https://xdaforums.com/galaxy-s2/help/preparing-clean-loss-data-installation-t3712409
[Galaxy S II Android Development] Razac-elda:
First of all, happy new year to everyone!

I'm new on Galaxy S2 forum because the charging port of my S2 broke but now I've ordered a new one, so I will custom it. The problem is that there are lots of guides and I don't really know which one follow to install LOS.

Is the wiki guide enought(https://wiki.lineageos.org/devices/i9100/install)? Some guides talks about re-partitioning(Lanchon REPIT), IsoRec, CWM...so what do I really need to do? One more question, my S2 is branded(TIM) and installing LOS will remove the brand? Thanks.
[Galaxy S II Android Development] Acid0057:
Installing LOS will remove any branded apps and preinstalled apps. Is your S2 stock? You might want to try and repartition it to get more system space.
[Galaxy S II Android Development] gm0:
If you come from stock then typically:

1. flash latest LOS kernel or any other IsoRec compatible kernel

2. flash latest TWRP

3. repartition (1 GB /system, rest as needed) and reformat

4. flash LOS

For details on how to flash I'm sure those guides you already found will help you out.
[Galaxy S II Android Development] Acid0057:
I agree with gm0 I'd go this route.
[Galaxy S II Android Development] Razac-elda:
Ok thanks, I will follow this one: https://xdaforums.com/galaxy-s2/help/guide-tutorial-samsung-galaxy-s2-i9100-t3538601

One user(KnightGuy) suggested to use Heimdall to flash twrp directly, which will be easier.
[Galaxy S II Android Development] Acid0057:
You're welcome!
[Galaxy S II Android Development] gm0:
Yes, sure, just follow TWRP's installation instructions on their site. You can also flash kernel LOS boot.img, TWRP, and a .pit all in one go with Heimdall.
[Galaxy S II Android Development] mirhl:
So.. I had like reported about HDMI mainlining 17 pages ago.

Today, without really any pretense whatsoever (no seriously, if you don't dev, let this alone), I'm intrigued to report about the very committed porting effort of one of the S3 maintainer for their board.

Which I guess is not that incredibly similar to ours - but still not even that monstrously different.
[Galaxy S II Android Development] Ponsel:
Hello,

does anyone experience problems with the google play service since the last few builds? And if so, is there a solution for it?

I get the message "google play service has stooped working".

Until yet I've tried to

* wipe cache / dalvik

* reinstall open gapps pico

Thanks in advance

Ponsel
[Galaxy S II Android Development] Corsa83:
I finally flashed LineageOS 14.1 (lineage-14.1-20171227 build) with Pico OpenGapps with TWRP. No custom kernels. All it's working perfectly but I am experiencing the following problems:

GPS its barely working, very weak after flashing (I am testing it with GPS Test and GPS Status. Very weak or none signal (it's not a coverture problem). is there any way to test it with some kind of ussd code? or did you have anyproblems? many I have to do some tweaks in some file?

there isn't any Radio FM app installed in LineageOS and I read about LineageOS installing that app if your phone supports that feature (and the S2 i9100 does). I use the radio a lot and I don't wanna install any third app.

Ramdom MTP host errors at some points (especially when i one the File Explorer)

I use the open Camera but I wanna use the Google Camera app too, so I managed to install a working version from Apkmirror for this device. The version 3.2.045 is working perfectly but only photos, when i tried to record video the app closes. Do you of any Google camera version which fully work?

No problems at all with the google play services. It's working perfectly (I am using the 27/12/2017 build and that day i flashed gapps pico too at the same time). Probable some component of your google play servers became corrupted. Did you try to delete the storage data/cache of the google play (from settings/applications) and then force stop that app?. That sould delete any updates of google services and when you start the app again, it will begin to download the updates.

If you have that issue again, the best thing you can do -which will work for sure-, it's to flash the last LineageOS build from TWRP and the last OpenGApps (I prefer the nano package personally) and then wipe cache and Delvik (/data it's not necessary). Also, It is important, the first run after flashing, to leave the phone to fully load the LineageOS (the first time it takes around 8 -10 min to load the logo animation.... leave it). I had many problems the first flash because of that (even I got some ramdom errors with some apps over the time, FC inclusive).
[Galaxy S II Android Development] aminya:
I confirm that it happens sometimes. Weirdly when I reboot for a few minutes I can delete pics from quickpic, but it doesn't work after a while.
[Galaxy S II Android Development] dumdidum123:
Same here, but GPS hasn't been working that good at all for years. The GPS antenna is not that good, I guess.

Look for SpiritF (Version 2015_03_17_beta) (fm.a2d.sf), it's free and it works fine with our device. As you see, LOS does not include a fm radio app.

Ignore the MTP error. its a common bug.
[Galaxy S II Android Development] slybunda:
im trying to flash this on my s2 right now. using CWM recovery. its still on the patching system image unconditionally for 10 minutes now. is that normal or has something gone wrong?
[Galaxy S II Android Development] guest4711:
Please use a current TWRP. CWM is really outdatet, unsupported and will not work...

And see the requirements in the first posts:
[Galaxy S II Android Development] slybunda:
i got 2gig system partition. may look to getting twrp insted of cwm.
[Galaxy S II Android Development] Dayhood:
Hallo here is a Radio APP for i9100

Link: https://www.dropbox.com/s/xv4s1d8btudbl7b/radio.rar?dl=0

S5 SM-G900F @ LoS14.1 mit Tapatalk
[Galaxy S II Android Development] Nisseh Beh:
Hi, did you solve this problem?

I have to same problem when connected to my other phones wifi-hotspot. While im on my routers wifi it stays connected though.