yashsingh1/xdaforums huggingface dataset:
[Galaxy S II Android Development] wihushae:
Hello guys!

I updated to the latest 0226 nightly and things getting better and better! :)

But there are still some issues, do you also have this behaviour: when I open the file app the message "mtp host has stopped" appears.

When I check for ota updates there are no new updates (cause there is no newer one), but the install button still shows up. I think this shouldn't be there when im on the most recent version!
[Galaxy S II Android Development] Nobby1960:
You can ignore this, it's nothing serious - cosmetical bug ;) OTA doest't work correct yet in my opinon.
[Galaxy S II Android Development] wihushae:
The last ota update worked flawlessly for me, what problems can you report?

Yes, I know the thing with the install button is a minor issue, but I want to report it to the devs! ;)
[Galaxy S II Android Development] Jamie_oppo:
You need to flash the su add-on for arm on the extras page on lineage os downloads
[Galaxy S II Android Development] Nobby1960:
It does not always seem to work perfectly, it can also be due to me :D
[Galaxy S II Android Development] jt12345:
I've tried doing the same as you, and I get the following line in my system log:

02-27 21:00:59.355 2021 2021 W 90userinit: type=1400 audit(0.0:8): avc: denied { getattr } for path="/data/local/userinit.sh" dev=mmcblk0p10 ino=65287 scontext=u:r:sysinit:s0 tcontext=u:object_r:system_data_file:s0 tclass=file permissive=0

I could be very very wrong, but my guess (looking here, here, here and here) is that it's an selinux issue.

The easiest way that I can think of to get round this problem is just to move your script (/data/local/99sshd) to /system/etc/init.d/99sshd (if you haven't already remounted /system as read-write, you'll obviously need to "mount -o remount,rw /system" as root first. Oh, and don't forget to chown/chmod appropriately!) - this should work for you. I'm not 100% sure why /data/local/99sshd doesn't work while /system/etc/init.d/99sshd does - I assume the selinux policy is different for those 2 directories.

Thank you for the pointer to the article - I'll have a play with it tomorrow night.

Jaime :)
[Galaxy S II Android Development] Nobby1960:
This is difficult to say and strongly depends on user behavior. I used all and I did not noticed any significant difference. Try it yourself.
[Galaxy S II Android Development] ale5000:
New nightly is out.
[Galaxy S II Android Development] cybero2912:
installed via OTA without problems
[Galaxy S II Android Development] sporc10:
hey,

I have a problem doing a fresh install of the latest official release (lineage-14.1-20170228-nightly-i9100-signed.zip).

First I repartitioned with this intrsuction to 4,5gb apps and 9gb data (https://xdaforums.com/galaxy-s2/orig-development/repartition-memory-s2-t3018749)

When trying to install lineageos the phone hangs at "Patching system image unconditionally..."

What am i doing wrong? I am using TWRP 2.8.1 from the above link.

best regards
[Galaxy S II Android Development] dumdidum123:
Anyone with bluetooth speaker with working media control keys? Worked (almost) perfect on cm 13.

on cm 14, nothing happens, only the call reply button works. But Play, Pause, Forward, Backward is not working with no Media Player
[Galaxy S II Android Development] MigoMujahid:
Same repeated mistake, you only increased data size but the system is the same, use a pit that increases system to 1GB or 1.5GB, like the 1GB_4GB.pit file or similar

And use TWRP 3
[Galaxy S II Android Development] p3dboard:
I think it's a limitation of the new music player app. If you try google play music or poweramp, the buttons still work, we'll they do with my cars Bluetooth, just not the built-in music player
[Galaxy S II Android Development] sporc10:
Where can I get such a pit file? And where do I get TWRP 3 as a flashable zip?

Thank you!
[Galaxy S II Android Development] steiner.seevetal:
OTA Update from 26.2 to 28.2 the first time works well. Did the Update process do a cache and Dalivik wipe?

Gesendet von meinem GT-I9100 mit Tapatalk
[Galaxy S II Android Development] MigoMujahid:
You can get the pit from here and the TWRP 3.0.2-1 flashable zip by the.gangster from here, but you must have a kernel with isorec support first to be able to use the TWRP 3, to get isorec support read this guide
[Galaxy S II Android Development] Nobby1960:
Just look here . Pit files and TWRP as zip are placed in signature.
[Galaxy S II Android Development] dumdidum123:
Actually, I didnt open the built-in music app once.

All the years I always used Poweramp since CM10. Also Spotify worked very well with the music keys, no matter if the app was opened or closed or device locked. But now its not working anymore. Hope this issue can be fixed somehow
[Galaxy S II Android Development] Jamie_oppo:
Update ur twrp to 3 using the install then images in twrp
[Galaxy S II Android Development] ciaranco:
I'm having trouble upgrading from CM13.0-20160131-unofficial-i9100, CM recovery doesn't let me update from zip, it just gives an error, and Heimdall doesn't work wither. I seem to remember there being an AIO installer for CM that sidestepped these issues, is that deprecated now?

UPDATE: nevermind, the guide I was using said to use one of the other drivers in zadig, using WinUSB (v6.1.7600.16385) worked
[Galaxy S II Android Development] the.gangster:
OK. But just in case: this guide is still very helpful even for CM14. It would have also covered the question you asked.

Just with one really difference: Other than in CM13 repitting is no longer an option but is now needed already for the ROM itself as it grew past the 512MB size.
[Galaxy S II Android Development] dumdidum123:
Just a notice: System+Pico OpenGapps are using 696 MB of /system, so 768 MB or 1 GB for system are required
[Galaxy S II Android Development] todonormal:
Two questions more:

1. In CM13, i found finally support for "Multiple Users" in Marsmallow, but in Nougat LOS14.1 i don't found.

2. Internal Storage it's very large. I have TWRP 3.0.2-1 (normal) + PIT1-6GB(if i memember) + sd card 16GB with semi adoptable storage 75 but i found very large internal storage compare with Xperia SP.... View photos of my SII (NOTE: I have three apps install)
[Galaxy S II Android Development] suapoc:
If you want multi-user suppport you should read this thread

and follow the instructions of [MENTION=2222292]rINanDO[/MENTION]

But you are right it would be great have an official LOS 14.1 build with OTA-updates, multiuser and emulated storage support for the i9100.

that's a known issue. to make it short those numbers are wrong and it's this way for everybody that doesn't use emulated storage. I think diskinfo was suggested here earlier to show the correct values.
[Galaxy S II Android Development] nospamboz:
Repit is easy for 768MB->1GB

Yeah, that's what I found as well, but I felt 10% wasn't enough "leeway" for the system partition in an OS under continued development. Fortunately the Lanchon RE-PIT tool worked well and quickly, about 10 minutes preserving everything going from 768MB to 1GB system partition. You can do it in CM13 to be prepared like I did.

https://xdaforums.com/showpost.php?p=70542772&postcount=164
[Galaxy S II Android Development] ale5000:
Does someone get a lot more errors in the latest build?

Like these:
[Galaxy S II Android Development] ale5000:
[MENTION=2222292]rINanDO[/MENTION]: The text in Privacy Guard is truncated and impossible to read.

Look here:
[Galaxy S II Android Development] toy_story:
Script fix Dialer_v2 for LineageOS !

Script fix Dialer_v2 for LineageOS !

- Has large photo of the caller

- Improved the display speed of the caller

- Enable call record (in test mode)

- In order to improve the quality of the recording of telephone conversations, use a headset (headphones with microphone) !

Set in TWRP: Fix_Dialer_v2.zip !

Be sure to "Wipe Cache / Dalvik"

If you see the message "Failed to start call recording" - do a reboot!

Disliked Returned back !

Set in TWRP: Dialer_v2-REVERT.zip

P.S.After installation, the phone briefly be slightly hotter than usual, this is due to the optimization of application.

_______________________

Help must be mutual ...

[i9100] Useful fixes for LineageOS 14.1 [7.1.2]

_______________________
[Galaxy S II Android Development] suapoc:
you can tweak this a little bit by changing the settings in

-> Display -> Display size and

-> Display -> Font size

if you choose a really small display size you should increase the font size.

Display size small and Font size Large works for me....
[Galaxy S II Android Development] xda helios:
Hello!

Just testing the LOS for 3 days, and I want to contribute with some feedback. My previous ROM was the latest sam stock one.

Overall is very fine, but I noticed 2 main differences:

1) capture of antenna signal is very bad: is there any way to increase antenna signal? I now get a lot of time no reception.

2) using bluetooth in car, the sound is very low during a call. Previously, with stock ROM I had the volume in car for example in 7, and now I have to increase to about 12. And also, the sound is not so clear as with stock ROM. I have difficult in understanding what it is being said in a conversation. Is there any optimization it can be done?

Thanks in advance.
[Galaxy S II Android Development] dumdidum123:
If i am forced to repit my device again I will take the safer way and do a nandroid backup and copy the content of sdcard0, repit my device with odon and restore the nandroid backup +sdcard0 like I did before :D

I did this on many devices before (just to increase the data partition) and it worked perfect, so I will do it like this again as I have a hudge zip file of pit files with every partition constallation I could imagine instead of introducing myself to lanchons repit tool. Not that I wouldnt trust it worked well, but I prefer something that I am used to use :D
[Galaxy S II Android Development] sajidunia:
THANK YOU ALL...all the developers who have contributed to keep this device alive...

I am on the latest Nightly 28-02. I keep getting the message "MTP host has stopped", randomly, even though I have not connected my phone to the computer. Also, though very rarely I have been getting the message that phone has stopped.

Can someone pls throw some light as to why I am getting these messages?
[Galaxy S II Android Development] rogers11:
Search and read the thread. Bye.
[Galaxy S II Android Development] MigoMujahid:
About MTP thing, It happens since the beginning of the whole nogut project, so you should have heard of it already, anyway it's no big deal, and doesn't affect anything, just press "mute until next reboot"
[Galaxy S II Android Development] robby2107:
I will say thanks to all devs and supporters too. Great work!!!

I installed the "experimental" over my "old" CM13 nightly and then i put the newest lineageOS (28.02.)over it. It runs not bad, but the Google Play Service stopped every time and some apps don´t start (for example LITE (Facebook).

Root is always working. ;)

Does the Gps works better in lineage than in CM13??

greetings

Robby
[Galaxy S II Android Development] sajidunia:
Thanks Brother...
[Galaxy S II Android Development] ale5000:
The problem happens with the default size so it is a bug.
[Galaxy S II Android Development] cybero2912:
My Phone is not migrated from CM13, it is a clean install and I cannot find Privacy Guard.

Maybe on your phone it is a leftover from CM13?
[Galaxy S II Android Development] kraehetest:
Hello,

please install open gapps for android 7.1.

sorry gps doesn't work better. :( i tested ist yesterday.

greetings
[Galaxy S II Android Development] ale5000:
You have to complete the LineageOS setup wizard to enable Privacy Guard.
[Galaxy S II Android Development] Wachicamo:
Go to Settings/Privacy and you'll find it there. No need for the Setup Wizard to enable it.
[Galaxy S II Android Development] gm0:
It's not what you usually would call a bug since the code is doing what it's supposed to. It's a UI design limitation due to the overly big font size and free space borders used on that view.

Should probably be looked at eventually but with low priority. The font/screen size workaround mentioned above aside you can also simply rotate your screen when you need more screen width. Plus most of them are easy enough to understand even with half of the text cut off.
[Galaxy S II Android Development] siftullah:
Please post a list of known bugs
[Galaxy S II Android Development] laptopu:
Read this thread from start to finish and there's your list.
[Galaxy S II Android Development] ale5000:
I consider it a UI bug, since it give too much space for the right part and too less for the left part.

---------- Post added at 17:22 ---------- Previous post was at 17:20 ----------

Well some builds ago I have removed the Setup Wizard before the first run and the Privacy menu wasn't appearing at all.
[Galaxy S II Android Development] cybero2912:
Not there.

As already mentioned it was a clean install with 26th Feb nightly and then updated to 28th Feb build.

Maybe I declined something during setup wizard?
[Galaxy S II Android Development] gm0:
Probably not applicable anymore or was always an unrelated issue. At least I just flipped the DEVICE_PROVISIONED and USER_SETUP_COMPLETE flags, rebooted and the privacy menu was still there. Not curious enough to try with a full wipe/clean flash though.

---------- Post added at 18:03 ---------- Previous post was at 17:59 ----------

Well, if you've got your device rooted you can do the inverse of what I tried and set the flag manually in case it matters after all, either via adb:

adb shell su -c "settings put secure USER_SETUP_COMPLETE 1"

or minus the adb shell part in a local console on the phone itself.
[Galaxy S II Android Development] Wachicamo:
Makes no sense, I did a clean install too and updated to 28th Feb. I've skipped the Privacy guard option in the Setup Wizard too, so... It should be there.

Use the search option in Settings and type "Privacy" and you'll find it there too.
[Galaxy S II Android Development] Netto14cr:
Hi [MENTION=6159291]Lysergic Acid[/MENTION], I have followed this project of cyamogenmod 12.0 up to lineageos 14.1 and it is impressed what they have done with the rom of the galaxy s2, thank you very much for all those hours of effort in this cell phone without expecting anything in return, [MENTION=2222292]rINanDO[/MENTION], [MENTION=5857622]SerenityS[/MENTION], please thank first and the other to report some errors, for example 1. whatssap microphone is very low, 2.the leds buttons do not turn off after the time, are 3 seconds or whatever you put, they are direct and make Spend a lot of battery and this error is old, it occurred in CM13 in the month of November, in the changes they made with the variant of 19300 or 19305 exynos, many thanks only those two note, the other works perfectly and forgive my text by translator I am bad writing in English that is why so far I comment, I prefer to read and follow the forum for the same xD
[Galaxy S II Android Development] a666:
sms text search - is it possible with default lineageos sms app?

(it was in cm12, then it was removed in cm13)
[Galaxy S II Android Development] the.gangster:
The behavior you describe was introduced by adding the commits for BLN-support. There are ways to change that. Easiest one is to install the BLN_Mod. Please read here.

No. No search function in there.
[Galaxy S II Android Development] Netto14cr:
Sorry if I did not explain myself well, I did not mean the BLN_MOD function, I was referring to the one that you find in settings> buttons> Backlight here the iluminate buttons do not work correctly, they do not turn off after a while, this was lost in a Change in November in cm13 and is present in the code in lineageos (sorry my google translate)

Insert an image, thanks

https://drive.google.com/open?id=0B8FSsXquHAkCclZ2cUJFQU5YRWc
[Galaxy S II Android Development] the.gangster:
Believe me or not. Nevertheless it is how I wrote.

One of my S2 is still on latest CM13-build and I can guarantee, that it is behaving exactly as it behaved all the time. Ever since the implementation of BLN it is exactly like that.

Please read what I linked. Without BLN_Mod you should be able to switch off the lights completely by setting the slider to 0 (to the left) AND unselecting the "Illuminate buttons"-checkbox.

This is a byeffect of the implementation.

If you want to control the settings you should install the BLN_mod. There you can control the actual settings like you want again within Synapse.
[Galaxy S II Android Development] Netto14cr:
Admin delete this comment, duplicate thanks
[Galaxy S II Android Development] Netto14cr:
[MENTION=6560258]the.gangster[/MENTION] Thank you very much, at first saw the link quickly, I saw a video and I thought it only worked to give the Leds in notifications, I saw what you were referring to in the last option appears touchkey Led settings> time and it works, thanks crack :good:

It is a very good solution, I hope that as long as [MENTION=6159291]Lysergic Acid[/MENTION] has a time of time can look at the code and fix, the error with the lights of the buttons Leds ;)
[Galaxy S II Android Development] todonormal:
I am testing FuelGaugeTool for my battery...
[Galaxy S II Android Development] Boolian:
Meh... I wouldn't bother. It's either just resetting the stats file (which will confuse the hell out of the calculations) or resetting the gauge (passing "1" to the Soc) - which you can do through terminal :

echo "1" > /sys/devices/platform/i2c-gpio.9/i2c-9/9-0036/power_supply/fuelgauge/fg_reset_soc

But let's not OT - Battery snake oil is everywhere.
[Galaxy S II Android Development] Pailak:
Dear the.gangster.

I installed Synapse apk and gave root access.

But this message "No UCI support detected."

Can you help me

Thank you.
[Galaxy S II Android Development] MigoMujahid:
You can't just have BLN by installing synapse, you must flash "BLN_MOD_1.0.3.zip" in recovery first, you will find the link to the thread in [MENTION=6560258]the.gangster[/MENTION] signature.
[Galaxy S II Android Development] dumdidum123:
Is there a widget or a quick settings toggle for the "Inaktivitätsdisplay/Inactivity display?" (don't know whats its official name in the english version)

Since NoLED is not working properly in all situations at the moment, I switched on the option I named above, to let Android switch on the display when I receive a WhatsApp Message or something like that.

When I used NoLED, which simply showed a colored dot on the display when I received a Message, I could turn off the NoLED-App easily, by using a one-click-widget.

I am looking for a way to not go the long way through the settings everytime I put my mobile in my pocket, because it is not needed to turn the display on then, as I can not see it and it drains the battery.

EDIT: Sorry, never mind. Found the integrated widget for settings shortcuts.
[Galaxy S II Android Development] jt12345:
GPS "performance"

GPS works perfectly for me. I get a fix in less than 10 seconds using between 8-10 satellites *indoors* (that's indoors, on the ground floor of a brick-built 2-storey house).

As far as I am aware, you need to have 2 things:

1) GPS "performance" is dependent on which "radio" (="baseband") that you are using. You can check which radio/baseband you are using by looking at Settings/"About phone"/"Baseband version". I am using I9100XXMS2 which is the radio/baseband included in the last unbranded stock rom available for the i9100 i.e. if you flash the last unbranded stock rom (filename = I9100XWLSW_I9100XXMS2_I9100XEULS5_HOME.tar.md5) then you'll automatically get the I9100XXMS2 radio. Alternatively, if you don't want to go all the way back to stock 4.1.2, just look for the I9100XXMS2 radio/baseband file (md5sum=4ba004c5a8f828993c8ca32befb3fb65) and flash it using the "Phone" field (="CP" field) using Odin.

2) I'm using a very-slightly-modified "/etc/sirfgps.conf" (="/system/etc/sirfgps.conf"). I've only changed 3 lines, but I found (when I was doing the research for the static navigation mod that that I made for cm13) that these 3 changes improved gps reception for me, so I have kept them ever since. I have attached my /etc/sirfgps.conf file to this post. If you decide to use my modified version, remember to make sure that it has the correct permissions/ownership when you have finished (it should be "chmod 644" and owned by root:root).

If you get problems making these modifications, let me know and I'll try to help.

J :)
[Galaxy S II Android Development] gm0:
Bit of a complicated way of doing things. Just download a modem from e.g. here

https://sourceforge.net/projects/hcteam/files/GT_I9100/Modems/ and flash it via recovery.

Can't say that in practice I ever noticed a relevant different in GPS performance between the (few) modems I have tried out in the past though.
[Galaxy S II Android Development] ale5000:
Maybe I have missed something, I hear about TWRP 3.0.3 but I don't find it.

Where I can get TWRP 3.0.3 (not emu)?
[Galaxy S II Android Development] the.gangster:
[MENTION=5627087]ale5000[/MENTION]

in the TWRP official thread. But that one (post #594) is not official and does bootloop on non-Nougat builds (#598). No can see any advantage compared to the official 3.0.2-1....
[Galaxy S II Android Development] wihushae:
I was on the official 0208 nightly and tried to update to 0213 OTA but I got the message "unable to reboot to recovery". Has anyone else this problem? I've TWRP recovery, are there any compatibility issues??

Is the problem with the file manager already recognized by the devs?
[Galaxy S II Android Development] dumdidum123:
Ist 768MB for /system partition fine as well?

Everyone is alway talking about 512 or 1 GB if there would be nothing in between. Have cm 13 running with pico gapps right now.

If anyone could tell me how many MB of /system is used after installing, i would be pleased.

thanks a lot
[Galaxy S II Android Development] shkedov:
Yes, all of us have this "unable to reboot to recovery" stuff, don't mind it for now, it will be fixed...

For now simply boot to recovery and install the update zip manually, wipe cache and reboot.

The zip is downloaded to /data (unlike cm) and is located at /data/data/org.lineageos.updater/app_updates

And yes, I'm sure the developers are watching what's happening here, and they are aware to everything here.

---------- Post added at 08:13 PM ---------- Previous post was at 08:08 PM ----------

Mine is using 796MB out of the 1GB (nano gapps), so 1st you would be very tight with that, 2nd that might be insufficient. Once the OS grows larger then your partition can hold you'll find yourself not able to flash LOS, so you better increase /system now then later:good:

---------- Post added at 08:26 PM ---------- Previous post was at 08:13 PM ----------

I would like to ask developers if it's ok to request some features?

A specific of mine is to add a shortcut in the "quick settings" drawer (pulling down the status bar twice) for USB tethering? (like hotspot has there).

I'm using it a lot and it could be awesome instead of working my way each time through

settings> more(wireless & netwotks)> Tethering & portable hotspot> USB Tethering, just to tap there once.

Only if it's ok. Thank you so much devs!
[Galaxy S II Android Development] ale5000:
I'm using microG instead of GApps and 602MB of /system partition are used.
[Galaxy S II Android Development] Sercan Ali:
S2 is absent on lineage os downloads. In the morning 13/02/2017 builds was available but now no new build and no s2 on lineageOs download page
[Galaxy S II Android Development] Lysergic Acid:
It was took down because the build had some issues
[Galaxy S II Android Development] Boolian:
Custom Quick Settings tiles is a WIP apparently.

Maybe Tethering is one...

https://jira.lineageos.org/plugins/servlet/mobile#issue/BUGBASH-81
[Galaxy S II Android Development] 0670:
I'm using well, what is the issues.

Edit: Device working on 800mhz cpu speed, for all that its working perfect and smoothly.