yashsingh1/xdaforums huggingface dataset:
[Galaxy S II Android Development] aminya:
Music and Video and Call unstability ,Mute Phone sometimes(strange)

My phone sometimes gets unstable in case of playing videos and music. Suddenly I can't play any video or music and the phone gets silent or mute., And I may miss a call!

Now, I use Lineage Os 7.1.2 but I had this issue also on Cm 12.1.

On Cm12.1 I had installed the ARISE Magnom Opus sound mod installed but on Lineage OS I didn't installed it first and no change. I installed it ,still, no change.

Apps that maybe are related :

Greenfy ( I use a hibernate now shortcut usually and It hibernates lots of user and some system apps including below-mentioned apps)

Instagram ( actually lot's of time issue starts for playing videos in Instagram. Maybe hibernating Insta is a problem)

Telegram ( Sometimes, I can't play videos or music in Telegram with internal player or the external players)

Mx Player ( for video playing)

MusixMatch ( for music playing)

Q&A post:

https://xdaforums.com/showthread.php?p=73302043#post73302043
[Galaxy S II Android Development] JaLoou:
There is a new bug:

when an user want to update over-the-air and a new firmware already downloaded to the smartphone then there appears an error message 'Unable to reboot into recovery'.

I had attached a screenshot of it.

So, an over-the-air update becomes impossible.

Also please read about other known bugs in Lineage OS for Samsung Galaxy S2 (the model: GT-I9100) in an useful topic here: https://xdaforums.com/galaxy-s2/help/bugs-official-lineage-os-14-1-galaxy-s2-t3649329/post73238965
[Galaxy S II Android Development] toy_story:
[MENTION=8356117]JaLoou[/MENTION]

Why did you do this, having spent my time on yourself, and you do not appreciate it, I do not understand it?

You wanted to make all your dreams and hopes roll back to the official Android 4.1.2 without a PC.

I helped you!

https://xdaforums.com/showpost.php?p=72940881&postcount=235

https://xdaforums.com/showpost.php?p=72941882&postcount=1685

https://xdaforums.com/showpost.php?p=73033103&postcount=262

https://xdaforums.com/showpost.php?p=73068449&postcount=269

https://xdaforums.com/showpost.php?p=73131609&postcount=271

https://xdaforums.com/showpost.php?p=73221228&postcount=59

https://xdaforums.com/showpost.php?p=73266545&postcount=62

https://xdaforums.com/showpost.php?p=73290796&postcount=63

And you want to teach us, show us LOS as children.

Why do you need it, where is your Android 4.1.2?

https://xdaforums.com/showpost.php?p=73346633&postcount=7
[Galaxy S II Android Development] gm0:
^ do I even want to know what is going on there?

On another note, was wondering if I'm the only one who always loses something when updating LOS? First I'd always lose my SMS, then it was the local calendar instead, and now with the latest build I lost a whole bunch of apps -all their files where still there but they were no longer being considered installed. It's so random that I'd wonder of my eMMC was dying if the issue wasn't limited to LOS updates.

Edit: seems I also have resetting permissions for the apps I had to reinstall now - every reboot. Wtf... -- logs had a bunch of inconclusive errors showing so a clean install ended up being the faster solution, so far so good.
[Galaxy S II Android Development] JaLoou:
For help to users of Samsung Galaxy S2.

Here was a shortage of public bug reports in Lineage OS 14.1 for GT-I9100 and I'm fulfilling it by the proper useful info, IMHO.

May do you think I do not have a right to help?
[Galaxy S II Android Development] gm0:
Proper bug reports belong on jira, which is public. Complaining about bugs not getting reported and thus fixed without even reporting them in the correct place yourself is just whining with a dose of trolling as far as I am concerned.
[Galaxy S II Android Development] sniburn:
the way you said things about developer hiding bugs? thats mean sir. if you didn't have experience flashing roms since the inception of s2 thread in xda then you only know a fraction of what it means by flashing custom roms. if theres bug report to developer. if it didn't work for you then LEARN to flash back to STOCK. theres a TON of tuts out there to make things work for you:mad:. saying things about devs hiding something? thats a mean thing to say.
[Galaxy S II Android Development] JaLoou:
I'm a noob in smartphones and for me it is easy to report about bugs here rather than on JIRA because here I can register quick via my profile on Google+ but I can not register with my profile on Google+ on JIRA.

And I think many Galaxy S2 users are like me: they can not report on JIRA about many bugs in Lineage OS for i9100.

Moreover, why JIRA requests a full name of user for the registration? It is suspicious.

If you can post the bugs on JIRA then please post they there.
[Galaxy S II Android Development] gm0:
See, on the one hand we have a number of talented individuals who sacrifice their free time to create, maintain and support this ROM for all of us free of charge. And on the other hand we have you who thinks it is too much effort to fill out two or three form fields to create an account on the bug tracking system. That's all I've got to say about this...
[Galaxy S II Android Development] dumdidum123:
Anyone else got the problem, that all app permissions got revoked? Every app was asking me today for permission to access contacts, camera etc.

I didn't change anything and I was on the build from two weeks ago.

I cannot reproduce this behavior, since I don't know how this was triggered
[Galaxy S II Android Development] thmmht:
samsung i9100

lineage-14.1-20170719-nightly-i9100-signed.zip

replicant 6.0

linux computer

android-tools-adb 4.2.2

heimdall-flash 1.4.0

After testing replicant 6.0, I wanted to test lineage-14.1-20170719-nightly-i9100-signed.zip. There is no stable image for samsung i9100?

I flashed twrp-3.1.1-0-i9100.img on the phone. Volume up + home + poweron makes the phone boot the 3.1.1 boot screen.

Then what?

adb push does not work. It does not get the lineage-14.1-20170719-nightly-i9100-signed.zip file moved to the phone. Error message is failed to copy is a directory.

I then moved the lineage-14.1-20170719-nightly-i9100-signed.zip to a micro sdcard. Placing the sdcard in the phone, if I select install on the phone's 3.1.1 boot screen, I cannot find the micro sdcard. Thank you.
[Galaxy S II Android Development] toy_story:
Hi, TWRP 3.1.1-0 does not work for i9100!

https://xdaforums.com/galaxy-s2/help/flashed-twrp-3-1-1-0-3-1-0-0-boots-twrp-t3637222
[Galaxy S II Android Development] gm0:
I mentioned on the last page that I lost both permissions as well as a few apps themselves - in my case the permissions kept getting lost every reboot though and one app lost itsvsettings every time I closed it. So might not be the same issue as yours. I went with a clean reinstall and that fixed it (on the other hand now I cannot set data usage permissions for certain system services anymore... sigh).
[Galaxy S II Android Development] dumdidum123:
Ok I read your post. But your problem seemed a little more extreme than mine. But a clean install might be a good idea, as I always updated without cleaning data for a few months. Its getting quite slow over time. I think I'm going to do so in the next days when I have enough time to safe all data.
[Galaxy S II Android Development] K.D.A:
Tell me please when the team LineageOS reach their hands before the weather? Earlier on the CM 13 in the blind you could see the weather, now it's not there and it's already been time enough.
[Galaxy S II Android Development] lobsturf8200:
https://download.lineageos.org/extras scroll down for weather providers!
[Galaxy S II Android Development] K.D.A:
Weather providers are worth it! I'm writing about the weather in the blind as it was in the picture before.
[Galaxy S II Android Development] Corsa83:
Hi! new forum user around here (great site BTW)

I'm gonna give my old Samsung s2 i9100 to my brother so I was thinking in flashing LineageOS on it (it has stock Jelly Jean ROM :S) .

I read many good comments about it but in the last pages of this thread I saw some complaints about certain errors relative to the permission system...

My questions:

1) Do you recommend LineageOS 14.1 for this phone? any problems with the camera (taking video/photos)?

2) Is it easy to go back to my stock ROM after flashing LineageOS if wanted? I suppose I can format the partition correcly and use Samsung Kies to flash the original ROM again or use Odin to download it.

In the meantime i keep reading some nice guides about the falshing process (so much cool stuff to digest :D). I have been out of the scene for a very long time and I didn't knew about the IsoRec patch :S

This thread is quite useful to start, nice work!

Thanks a lot!
[Galaxy S II Android Development] gm0:
[MENTION=8478082]Corsa83[/MENTION] as one of those with permission issues recently (which are not a LOS-specific thing) it probably makes sense if I answer:

1) yes and yes

2) yes, although Kies is just for backing up some data, it cannot flash a ROM (and I assume you'll want to give the device "clean" to your brother, so a data backup is irrelevant). Odin for flashing, indeed. I doubt you will ever want to go back, though.

PS: I haven't checked but I assume the latest TWRP version is still broken so take the one before that.
[Galaxy S II Android Development] the.gangster:
A note on TWRP versions

Without quoting the exact version numbers this information can be misinterpreted.

So let me quote my own post from our official TWRP-thread also here to make it clearer.

So both versions (3.1.0-0 and 3.0.2-1) that are available on the TWRP site are fine. (And for both I had also published a signed ZIP)

As it got removed from official downloads for the i9100 already at that date (August 3rd), I don't know where [MENTION=1720729]thmmht[/MENTION] got that buggy version from when he tried to use it. Maybe he had downloaded it already more than a week before posting here, but I would ask anyone who might have mirrored the buggy 3.1.1-0 build to remove links to it, just to make sure no more users run into those issues.

Thx and have a great day.
[Galaxy S II Android Development] Corsa83:
1) Good to know, So I will stick to the Google Camera app :D

2) In that regard, I was reading about the correct form to roll back to OEM ROM (I was just curious about that process, for me, the stock ROM could be pretty death hehe). And yeah, Odin and flashing the stock ROM from Sammobile/MrCrab by using Odin as a flash (multiple tutorials available around here).

Tanks for your reply.

PS. Today, I've been reading about NANDdroid/Titanium backups too. I just playing with the phone before flashing it for my brother (he is an Iphoner, so I am trying to bring him to the light's side)

In my crusade of catching up with the scene I read about some issues with the TWRP 3.1.1-0 . The version I was planning in using is 3.1.0-0 so It is good to know I was in the right way. Thanks for clarify it! :D
[Galaxy S II Android Development] Boolian:
Yeah, Titanium & Nandroid hmmm

Bit of a love hate there, I'd use both.

I keep encountering a random ssue where :

If Titanium backup is stored in external SD card in /Android/Data/ directory using "DocumentProvider storage" option and then Titanium app is uninstalled for whatever reason- Then the backups disappear too. Grrrr.

Doesn"t seem to happen if a custom folder is specified in extSdcard, but I take two backups - a TWRP/Nandroid & Titanium.

*Edited for brevity O/T for the thread.
[Galaxy S II Android Development] JaLoou:
Hello.

The bug with entering password for connect to some WiFi hot spots, which about I did reported here few times, this bug was fixed or such reporting was my mistake and I really sorry for that. Now I'm able to connect to the 2 WiFi hot-spots, to which I was unable to connect before. Probably, both WiFi hot-spots are WEP secured with passwords of 10 symbols length.

Please, excuse me for disturbance about this bug. Probably, I was mistaken due to I did not know about password lenghts limits to 5, 10 symbols in the WEP.

Very sorry.

But another bugs in the ROM continue to exist and they need to be fixed.
[Galaxy S II Android Development] gm0:
The app data folder getting removed upon uninstall is intended behaviour of android though, you don't want derelict data filling up your storage. So don't put your backups there if you want to keep them despite uninstalling the app.

Titanium has some actual issues with restoring some system and system app data though. But for moving user apps + data between ROMs I still find it invaluable. Nandroid backups are for rolling back your system to a previous state, they serve a different purpose.
[Galaxy S II Android Development] DualJoe:
That's what i did and now i have several selinux problems. Most programs cannot access the download folder or even their own folders (termux, xabber..). Init.d cannot spawn sshd or use afwall script and such. All are properly 'avc' logged entries (selinux). I had no problems on N7000.

I'm kinda stuck now. How can i disable selinux from kernel (early stage)? Is it possible to get to the kernel command-line in the boot image (repacking the image)? I cannot see the kernel command-line in clear text in the boot image (as in newer images from recent devices). Its quite easy there to alter it but on i9100 i have no clue how to change the command-line.

Edit: Can you release a separate customized kernel with command line parameter 'androidboot.selinux=permissive'? That would be a great enhancement for advanced users.
[Galaxy S II Android Development] Boolian:
That explains that then! :good:

I always thought data directory on internal sd would certainly delete but not on external. I stand corrected.

Nandroid Manager will allow individual restore of apps/system apps and a couple of other data items (sms, wifi etc) extracted from 'uncompressed' data.ext4.win partition backup - but yeah, does work better as a blanket system restore
[Galaxy S II Android Development] MARCOSOFT:
CPU usage does not exceed 600Mhz!

I'm with the latest lineage-14.1-20170816-nightly-i9100-signed version.

I began to notice a certain slowness, especially when I go to answer a call, it rings and it does not appear immediately who is calling!

Then I remembered to see the Kernel Adiutor (I have nothing to apply on boot) and I see that the CPU usage does not exceed 600Mhz (core 1 and 2), even indicating CPU Maximum Frequency 1200MHz and CPU Minimum Frequency 100MHz with CPU Governor pegasusq (by default)!

Can anyone help?

Thank you.
[Galaxy S II Android Development] rINanDO:
Your power profile is probably set on power save. (Automatically or manually set). In this mode the CPU is limited to 600mhz to save battery. PegasusQ is default governor for 2 weeks now with the new powerHAL which tweaks the governor according LOS's power profile.
[Galaxy S II Android Development] rINanDO:
You can set to permissive using the commands 'su' followed by 'setenforce 0' in a terminal emulator app. I noticed strange permission issues with the Download folder also with FX Explorer which didn't help after selinux set to permissive. But after a reboot (after a day of 2) it works magically.... I haven't pinpointed the problem yet. In my case I tested it on emulated and non-emulated storage.
[Galaxy S II Android Development] MARCOSOFT:
Thanks for the answer, but how can I change the power profile?

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

Okay, I see.

Thank you.
[Galaxy S II Android Development] DualJoe:
Yes, and there's also an app (selinuxmodechager) that does it automatically on boot up. But that probably wouldn't help (or at least end up in a race condition) for apps that get started at boot as well and would crash on 'enforced' like Xabber (it does a {search} on its own /files folder that isn't allowed by selinux). This also wouldn't help for init.d scripts like starting sshd or AFWall's block script).

The only hassle-free and proper solution is an enforced kernel command-line parameter 'androidboot.selinux=permissive'. Usually this can be done manually in seconds on a regular (released, compiled) boot image (hexeditor, clear text) but on i9100 custom boot image layout its probably much harder (if not impossible).

I hope you can provide a flashable zip (alternative kernel). Otherwise i don't see a way to solve this. There is no need for selinux on rooted phones anyway.
[Galaxy S II Android Development] yupo72:
Root solved?

Hi all,

my actual build of this ROM is from the 9th of February, can I upgrade to any recent version without losing the root?

Thanks
[Galaxy S II Android Development] gm0:
If that's an unofficial build you cannot dirty flash an official build on top of that (different signing keys), you'll have to clean install. There is a root addon you can flash once you flashed an official build.
[Galaxy S II Android Development] gm0:
https://www.lineageos.org/Summer-Survey/
[Galaxy S II Android Development] antrrax:
I think there is some bug in the android storage system. [14.1-20170816NIGHTLY-i9100]

The system informs that my apps occupy a 5.16 GB disk space

However if one does the sum of the disk space occupied by each apps the value is 1.2 GB (1241.47 MB)

)

See the images below.

Does this problem only happen to me? How to solve this?

my Pit file attached
[Galaxy S II Android Development] gm0:
Actually the summary number and the ones shown in the app listing have nothing to do with each other. There is nothing to solve for you unless you want to contribute code for a better version of those screens. They do not affect the operation of your phone in any way though.

PS: See [MENTION=2222292]rINanDO[/MENTION], I said this part was going to remain confusing, although I didn't expect anyone to run the sums. ;)
[Galaxy S II Android Development] antrrax:
My question is: What is the origin of 5.16 GB of space occupied in the partition 'data' If my apps occupy only 1.2 GB?

I need to free up space on the 'data' partition, The play store no longer allows apps to be installed for lack of disk space!

According to information from the DiskInfo app:

Interal Storage (MMCBLK0)

Cache: 100 MB

System: 1.5 GB

Data: 6 GB

sdcard0: 6.5GB

------------

In the image above it says that my System partition has 8.77 GB of occupied space, but does not have any partition that supports that amount of data?

thanks!
[Galaxy S II Android Development] rINanDO:
Do you use the LOS updater? If you do then you probably missed the system apps. Every LOS-update you download occupies about 300mb. In my case I have downloaded 3 updates. The updates are stored here /data/data/org.lineageosupdater/app_updates. You can delete these files manually.
[Galaxy S II Android Development] antrrax:
Thank you!

I had several LOS-update files in this folder.

Now I was able to free up 4 GB on the 'data' partition.
[Galaxy S II Android Development] yupo72:
:confused::confused::confused:

I'm not sure you answered my question or I've not understood....anyway, I've seen that today another update of the ROM is available from Aicp Extras, will I lose root if I download it and install?

Thanks
[Galaxy S II Android Development] TriboDoP:
Hi

If your question is "will i have root after a clean install of a rom?":

you will have root if you flash a prerooted rom. some unofficial roms like xenon and aokp have root included.

Many official roms like LOS are not prerooted. if you want root you have to flash the zip.file (which is not a great thing to do).
[Galaxy S II Android Development] yupo72:
No, my question is that I already have this ROM installed and I want to update it to a recent release, if I do it, will I retain root? (I asked because few releases after the one I own, I read that the root was removed)
[Galaxy S II Android Development] TriboDoP:
Hi

i never lost root after dirty updating to a newer version of rom but i do not know if this happened to others.
[Galaxy S II Android Development] gm0:
As has been said, if you update LOS official to LOS official you won't lose anything. I just doubt that you are actually running LOS official, hence my response.
[Galaxy S II Android Development] DualJoe:
That's because you cannot set selinux to permissive properly in late system stage. Its too late. Most system stuff is already broken (started up). You can kill the services/instances manually or wait until oom management does it (as in your case) but even that is just a partially working workaround.

Please release a permissive kernel or implement an selinux rule that allows setting permissive in init.d (it needs root addon anyway). The rom is useless in this state. Most stuff simply doesn't work.
[Galaxy S II Android Development] MARCOSOFT:
iSu Simple app to deactivate activate CyanogenMod/LineageOS SU at will.

This is the solution for those who want to quickly change the status SELinux, SU, Safety Net etc:

https://xdaforums.com/android/apps-games/isu-simple-app-to-deactivate-activate-t3478348
[Galaxy S II Android Development] ran000:
Any news about Oreo?
[Galaxy S II Android Development] Saftpresse99:
https://www.reddit.com/r/LineageOS/comments/6v5afr/android_oreo_80_announced/

I hope lineage 15 is possible for the i9100.
[Galaxy S II Android Development] CHEF-KOCH:
I9100 is already on Lineage OS 15 list even before Oreo was announced.
[Galaxy S II Android Development] dirkovic:
Is this list legit? That would be pretty awesome.
[Galaxy S II Android Development] gm0:
No, it's not. On the other hand, if it can be done I'm sure it will happen.
[Galaxy S II Android Development] Saftpresse99:
Mostly the maintainer decides if a device is ready. Perhaps we get an early unofficial build from [MENTION=2222292]rINanDO[/MENTION] ;)

https://www.reddit.com/r/LineageOS/comments/6v5afr/android_oreo_80_announced/dly9021/
[Galaxy S II Android Development] DualJoe:
Looks promising. Seems its based on osm0sis Anykernel2 that might have a working unpackbootimg for i9100. I searched for that for a long time. I will test that. Thanks!

Edit: unpackbootimg doesn't work ("Android boot magic not found.") so i will try Anykernel2 or iSu next. There is also an official statement.
[Galaxy S II Android Development] MARCOSOFT:
For me it works perfectly, especially the SU and Safety Net, managing to run the Pokemon Go.
[Galaxy S II Android Development] Nobby1960:
Great, iSU works very fine here too - see my screenshot with a Safety Net test.
[Galaxy S II Android Development] DualJoe:
Which one did you install? 'iSu_kernel_Reboot_Support_V_X_x_and_up_Enforcing.zip' and the main apk?

Did you test early stage permissive state (init.d)? Doing a 'touch /data/test.txt' or something (or even better AFWall script or starting sshd).
[Galaxy S II Android Development] MARCOSOFT:
Install only iSu_5_7.apk

Https://www.androidfilehost.com/?fid=673368273298980419
[Galaxy S II Android Development] luca3582:
Hi i wanted to ask if there is a camera fix for s2 gt-i9100 lineageos 7.1.2 thanks
[Galaxy S II Android Development] JaLoou:
I had flashed the last weekly update over-the-air and tested it very seriously for few hours.

First of all, I recommend to reboot to recovery manually and clean Dalvik/ART and cash.

Now the semi-night-vision trick for videorecordings become works stable in the Open Camera app (you can simply choose the night scene mode there and wait for few seconds for viewfinder becomes bright then start videorecording).

But the same trick works only sometimes (unstable) with A Better Camera app. The semi-night-vision trick works really good always only at HDR videorecording allowed by the fully unlocked version of the app.

Moreover, A Better Camera app continue to lose all its settings after every cleaning a recent apps list. And it is sad.
[Galaxy S II Android Development] JaLoou:
Hello again.

Please answer to me:

how to get a black background everywhere in the settings menu? It will be good for the OLED screen and the battery.
[Galaxy S II Android Development] Boolian:
Rubs eyes

Really?

There's a name I haven't seen in nearly two years.

*Reaches for popcorn...