yashsingh1/xdaforums huggingface dataset:
[Galaxy S II Android Development] the.gangster:
as I said: if the nandroid performs blockbased backup/restore than it would look like the partition sizes changed again after restore. But that could usually be easily fixed by performing the "resize" in TWRP's advanced wipe menu afterwards.

What do your two quotes have in common?

And I thought that BLN was depending on the following:

http://review.cyanogenmod.org/#/c/143592/ -> abandoned (after arnab ported BLN code in lights.c -see 143878-)

liblights: Add BLN support

http://review.cyanogenmod.org/#/c/143878/ -> merged

liblights: Add BLN support

http://review.cyanogenmod.org/#/c/143238/ -> merged

cypress: Port BLN for smdk4210

but now I learned that obviously also those two are needed:

http://review.cyanogenmod.org/#/c/143957/2 -> needs code review

i9100: Enable BLN support

http://review.cyanogenmod.org/#/c/143960/1 -> needs code review

galaxys2-common: Enable BLN support

[MENTION=414800]arnab[/MENTION]: is this list complete now or am I still missing a commit to track for the BLN feature to be available?

---------- Post added at 21:50 ---------- Previous post was at 21:45 ----------

make sure you formatted /preload after repitting if your preload partition was affected by pit files.
[Galaxy S II Android Development] arnab:
Thats pretty much it.
[Galaxy S II Android Development] dumdidum123:
is there any solution to mount the internal sd and the external sd as mass storage while you are connected to a pc?

MTP takes a long time to load all files e.g. in your DCIM folder. i tried some apps from the play store, but they only enabled mounting the external sd card, not the internal.

on cm 10.1.3 i was able to mount both as normal drives on my pc.

i also would use a xposed modul if necssesarry. everything is better than MTP (actually i don't see any single advantage in MTP)
[Galaxy S II Android Development] Sub_Zero2:
You have to flash the update from recovery instead every time you wish to update.
[Galaxy S II Android Development] chrisXL:
While phone is connected to a pc tap on usb options in the control panel, then select mass storage.
[Galaxy S II Android Development] dumdidum123:
I only got the options

Loading only

MTP

PTP

Mass Storage option is no longer listed here
[Galaxy S II Android Development] pravingasva:
Mass Storage was never there for CM13... It was available for CM12.1.
[Galaxy S II Android Development] cherryb8844:
Boot your device into recovery (twrp) mode and mount your storege
[Galaxy S II Android Development] andrewschumi:
Is there anyone how has updated to build19/5 or build 20/5?

Today i tried to update throught cm recovery and faile due to signature verification. checksum is ok.

Something weird is happening
[Galaxy S II Android Development] ssandyji:
can we do every time to do this in recovery when we use the usb drive
[Galaxy S II Android Development] dumdidum123:
Actually I don't want to boot into recovery everytime I want to copy files to my device...
[Galaxy S II Android Development] laptopu:
Nightly 20 may, power percentage inside circle is smaller so appears fixed after it broke earlier this week but not sure about it... Just looks different than before or is it my imagination?
[Galaxy S II Android Development] Toniccu:
Changelog: "SysUI: Adjust battery dimensions for better look"
[Galaxy S II Android Development] cherryb8844:
When you need to use USB drive so just open file explorer and treansfer your files in your device

---------- Post added at 12:58 PM ---------- Previous post was at 12:48 PM ----------

Sometimes MTP not working it behave laggy I see this problem on 10.2 and 12.1 too that why I suggested you to use recovery for transfering your data Or you can use OTG
[Galaxy S II Android Development] Phenomzye:
The only problem I've had with MTP is that sometimes it says my device has been disconnected, I think it's a common bug isn't it?
[Galaxy S II Android Development] Andrea900:
It happens to me a lot of times, expecially on Ubuntu.
[Galaxy S II Android Development] JanJabko:
It looks certainly different than a month ago (my last nightly) and the percentage disappears when starting some apples,e.g. K-9 Mail.
[Galaxy S II Android Development] rubentkato77:
Music player: long press volume buttons with screen off doesn't change tracks??? or is just me?
[Galaxy S II Android Development] Andrea900:
You're not alone. :crying:
[Galaxy S II Android Development] wouterrobot:
Hey I AM Wouter!

I got a message that Said there was a update available. So I did an auto update in the cm13 mod and after that it shut down and didnt start anymore. If i start my phone I see the basic galaxy s2 screen and then nothing happens. I think it is bricked. I hope you can help.

Thanks in advance!

Yours sincerely,

Wouter.
[Galaxy S II Android Development] the.gangster:
[MENTION=7486325]wouterrobot[/MENTION]

yes, that's the famous self-destruction function that got built-in into CM13.

Those who take the ROM as is - and as you don't provide too much details I assume you are one of them - will be very likely experiencing what you did.

The CM-Recovery of the ROM has almost no function and even lacks access to the phones storage.

Fortunately i9100-CM13 kernel offered support for IsoRec Recoveries since first official release. Once a user has installed one of the available IsoRec Recoveries, CM-Updater and everything else will work as usual.

But using CMUpdater combined with CM-Recovery the reports of users usually only contain words like "brick" "can't boot" or "only download mode".

Read OP and its links for details how to properly install CM13 (again).
[Galaxy S II Android Development] chrisXL:
See post 3138. It was there
[Galaxy S II Android Development] pravingasva:
Post #3138 doesnt say anything about Mass Storage mode being available in the USB connection menu.. And I personally too have never seen it!

Or is it some other post?? Can you link? :confused:
[Galaxy S II Android Development] Dobber_S:
Long press skip track has been broken for about 2 months i estimate. Unfortunately it's a not so important but annoying bug.

i haven't installed recent builds so I can't check if it's still broken. But make sure you enable it in settings before you try.
[Galaxy S II Android Development] Andrea900:
It's still broken in newer builds.
[Galaxy S II Android Development] pravingasva:
Are you talking about long-pressing "VOLUME KEYS" to change music tracks?? It works here... May be you are trying to use it when screen is ON!! ;)
[Galaxy S II Android Development] dumdidum123:
i am also facing issues with the volume button to go forward or backwards

when i activate it, it works for a while, maybe like an hour...

then it doesn't work any longer until i go to the settings, disable it and then enable it again. then it will work for another hour +-
[Galaxy S II Android Development] Andrea900:
No, with screen off.

---------- Post added at 12:20 PM ---------- Previous post was at 12:19 PM ----------

Your nightly ver.?

Your workaround is never working in these new builds.
[Galaxy S II Android Development] the.gangster:
Concerning the music control:

Also consider it to be player specific.

I did a test (nightly-20160519) and changing tracks in screen off mode worked with vlc, total commander, es file explorer players while it failed with google music and music (eleven).

But as I wrote, this is just the result of a short test. No long-time-experience as I rarely use it as media player.
[Galaxy S II Android Development] Andrea900:
Eleven is the only music player that i'm using. I'll try VLC for much more testing.
[Galaxy S II Android Development] dumdidum123:
20160515

Works with poweramp and spotify
[Galaxy S II Android Development] Andrea900:
What about Eleven (built-in music player)?
[Galaxy S II Android Development] the.gangster:
Eleven neither.

Sorry, tested that too, but dropped it in my list
[Galaxy S II Android Development] dumdidum123:
Just tested it a few minutes ago

It doesn't work with the built-it player. but after trying a while to skip to the next song, spotify started and interrupted the built-in player
[Galaxy S II Android Development] the.gangster:
No need to shout my friend.

Be happy instead that you managed to get your device working again.

Although it doesn't sound very likely that you really flashed successfully what you wrote, as CM13 wouldn't boot with CM12 kernel and the kernel you quoted would have had an embedded TWRP recovery... but anyway.

So if you have your CM13 up and running again I would suggest the method as described in post #1002. This will give you an Isorec TWRP recovery version 2.8.7.0 without the need to connect to your PC. Once that recovery is working, you can optionally update from that one to a newer 3.0.2-1 with ease. (Not much differences, apart it will not bother you with false "repair your root rights"-messages on exiting)

For the other ways to get an Isorec recovery installed, you could also (once more) look into the noob-guide's OP.

If your TWRP works, you could use cmupdater again but most people here install new versions manually in recovery after downloading with CMupdater from its equally named folder on internal SD
[Galaxy S II Android Development] Teekanne3000:
Hello,

i have read, that the chip in galaxy s2 has bluetooth 4 capability. is it possible to activate this?

greetings
[Galaxy S II Android Development] Klaerchen:
No need for certain activation. Use an app for BLE e.g. heart rate monitor. It will recognize the device and show the data.
[Galaxy S II Android Development] stylemessiah:
Edit/Update:

In old news, and sorry for the weeks lag in posting, but i was extremely busy for the last week - 2 x 32+ days in a row, but GPS settled down after a day and starting working for me at least as quickly as it ever has, in device only and high precision modes, so doesnt appear as though theres a bug, at least in my usage.
[Galaxy S II Android Development] Andrea900:
Aida64 is reporting that it's actually working.
[Galaxy S II Android Development] arnab:
First calm down...2nd after every heimdall session u need to restart the download mode session after downloadingthe pit.
[Galaxy S II Android Development] Saber:
Bluetooth 4.0 support is present in android versions 4.3 and above. There is nothing you need to enable.

gsstudios
[Galaxy S II Android Development] Teekanne3000:
Thank to all.

One more question. Does that mean that i9100 supports bluetooth low energy too?

Greetings
[Galaxy S II Android Development] nospamboz:
Gello 20160521?

The changelog suggests the Gello browser has shipped. Is it in the nightly? I can't find it anywhere under /system/app.

https://review.cyanogenmod.org/#/c/141580
[Galaxy S II Android Development] Saber:
You missed an important detail in that commit. Developers still need to specify if they want to build the ROM with the gello app package.

gsstudios
[Galaxy S II Android Development] radixone:
Sir, i just got bootlop phone after updating the android (cyanogen 13.0) via OTA, now my phone can't access both download mode or recovery mode. How to flash it via another option?I can't flash it using odin because i can't access the download mode. Sorry my english. thanks in advance
[Galaxy S II Android Development] Sub_Zero2:
You can. Next time you update, go to recovery mode to flash the download manually instead.
[Galaxy S II Android Development] dumdidum123:
Anyone else who keeps getting an exclamation mark near the Wifi Icon? In my wifi settings it says "Connected, no internet", but thats wrong. I have internet access but i am not able to connect to every website. some work, like the google search, an some websites doesnt load like facebook. my cisco anyconnect vpn doesnt connect either.

if i disable wifi and use mobile data instead, the exclamation mark also appears at the mobile data icon, with same issues as above.

my apn settings are correct and my wifi is configured as it should.

when i reboot, the exclamation mark disappears and everything is fine for a few hours. but as i dont want to reboot my phone every 3-6 hours, i hope for help :D

thanks in advance

(20160515)
[Galaxy S II Android Development] Dr.Fix:
No, I don't have that issue.. In general I feel like wifi to be weaker than on cm12.1, I get lower signal, takes more to connect and often disconnects where with 12.1 I had only 1 bar (but working).

I get the esclamation mark for a while just after connecting, like if it takes lot of time to understand that is working.

Anyone tested 20160522? Changelog is so long that scares me :)
[Galaxy S II Android Development] Andrea900:
Yes.
[Galaxy S II Android Development] Gent':
Solution:Use usb jig
[Galaxy S II Android Development] dumdidum123:
Updated to 20160522 an hour ago, hoping it fixes the exclamation mark issue but it didn't.

At the first boot after the update, my touch wasnt responding, but after rebooting via adb my device worked fine so far.

I disabled AdblockPlus and the exclamation mark is gone, maybe this was the reason for it. I'll have a look at this in the next hours
[Galaxy S II Android Development] EngineJoe:
Captive Portal Detection

Google "disable captive portal detection" to get the solution for your exclamation mark problem.
[Galaxy S II Android Development] Jack122:
i have seen a similiar issue last night.
[Galaxy S II Android Development] Andrea900:
Vlc is working perfectly with media buttons. Eleven is kinda a crapware nowadays.
[Galaxy S II Android Development] wouterrobot:
My phone is now fully working :). I have installed twrp with post 1001 and after that I could do updates without bricking my phone :)
[Galaxy S II Android Development] Sub_Zero2:
If you use cyanogen recovery then you have to reboot into recovery after the download, and flash the update manually. There's still this bug in cyanogen recovery.
[Galaxy S II Android Development] Lysergic Acid:
I've just enabled the BLN support for this device, so the next nightly should have it. As [MENTION=414800]arnab[/MENTION] said, you'll need a third party app with root permissions to enable it, or the following command ;)

echo "1" > /sys/class/misc/backlightnotification/notification_led
[Galaxy S II Android Development] dumdidum123:
this worked for the half day. now i have the same problem again and

settings get global captive_portal_detection_enabled

returns 1 instead of 0. I set it to 0 again and now it works again, but this is not a suitable solution i think :D
[Galaxy S II Android Development] arnab:
Thanks caio.

That above command needs to be run with su.
[Galaxy S II Android Development] the.gangster:
Very good news. Thank you.

You merged this one: http://review.cyanogenmod.org/#/c/143957/

What about that one: http://review.cyanogenmod.org/#/c/143960/

Will BLN already work without the latter? At least arnab kind of acknowledged this list to be needed:
[Galaxy S II Android Development] arnab:
He moved that commit to i9100 repo.
[Galaxy S II Android Development] MARCOSOFT:
I want to ask for help to the forum based on your experience.

What is this ROM for the best application record call?

I've tried a few, the ones that work, has a very low sound problem on the other side of the call!

If someone got a 100% functional solution, which is the application and the applied settings are used?

Thank you.
[Galaxy S II Android Development] Andrea900:
[MENTION=6159291]Lysergic Acid[/MENTION], any plans to include Gello, after its official shipment?
[Galaxy S II Android Development] Top_Fuel:
oops, I quoted the wrong post :silly:, already fixed it.

I'm sorry for answering so late.
[Galaxy S II Android Development] Lysergic Acid:
Oh I haven't seen that it's included since May 20th. I'll build it tomorrow and then include it if it's all ok :)
[Galaxy S II Android Development] Fuerte11:
Camera hangs every time when I try to record video. Any workarounds for that? Using the latest version.
[Galaxy S II Android Development] Andrea900:
Thank you Caio! :)
[Galaxy S II Android Development] Draky50110:
Same here :/
[Galaxy S II Android Development] Dr.Fix:
Anyone tried bln in 20150523? I don't have WiFi now, I was curious :P
[Galaxy S II Android Development] Toniccu:
I tried with UBER kernel and doesn't work...I must to try with normal kernel?
[Galaxy S II Android Development] kosmasgr:
I tried BLN control app , also arnab's command in terminal emulator but doesn't work
[Galaxy S II Android Development] pilgrim011:
+1. It doesn't throw an error, but bln ain't working...
[Galaxy S II Android Development] arnab:
https://play.google.com/store/apps/details?id=com.bigeyes0x0.trickstermod
[Galaxy S II Android Development] pilgrim011:
It asks to install busybox, and then busybox tells me that it failed to install some required libraries...
[Galaxy S II Android Development] DevisG79:
I installed the app but:

No busybox Binary found on device System partition!?
[Galaxy S II Android Development] Roman Yukovsky:
People . To enable the BLN must give permission in SelinuxModeChanger program and you will be happy . Do not put Tricker Mod, the more BusyBox.
[Galaxy S II Android Development] Toniccu:
I can't install BusyBox (required for Trickster)...any solution?
[Galaxy S II Android Development] kosmasgr:
After changing selinux to permissive , now bln works with BLN control app
[Galaxy S II Android Development] Roman Yukovsky:
To install Busy Box need to see the installation of "smart install" to put everywhere . And install . Only after that will earn Trickster Mod. And yes , it is important to put the Pro - version.
[Galaxy S II Android Development] Dr.Fix:
So also the shell command doesn't work? [MENTION=414800]arnab[/MENTION] could you support us?

Thanks
[Galaxy S II Android Development] pilgrim011:
Yes, it works with combination of permissive mode + bln control app.

But, it isn't working like it should, since a)official cm selinux has to be in enforcing mode, b) it isn't working when activated via terminal, c) it isn't working with Trickster mod, as [MENTION=414800]arnab[/MENTION] suggested. So, it seems it isn't implemented in a way that it works with unmodified cm13...
[Galaxy S II Android Development] the.gangster:
## HOW TO BLN ACTIVATE IN A TERMINAL

I tried it in adb root shell and realized, that the

echo "1" > /sys/class/misc/backlightnotification/notification_led

wasn't accepted, as

cat /sys/class/misc/backlightnotification/notification_led

still thew out 0

So I first enabled it by

echo "1" > /sys/class/misc/backlightnotification/enabled

After that, the first code was accepted.

Now it works!!!

Thank you [MENTION=414800]arnab[/MENTION] and [MENTION=6159291]Lysergic Acid[/MENTION] for finally bringing this feature to our device!!!

EDIT: changing SeLinux is NOT needed!

EDIT2: the notification_led flag is not necessary but can be used for immediate testing.

also look at #4742 for activation-script and update
[Galaxy S II Android Development] arnab:
Try this

echo "1" > /sys/class/misc/notification/notification_enabled
[Galaxy S II Android Development] Dr.Fix:
Thanks!

A couple of questions:

Will the setting be retained after the next nightlies will be installed?

Isn't it possible to have these commands as part of the standard cm install scripts?

Isn't it possible to have a menu voice for toggling it on/off?

Thanks
[Galaxy S II Android Development] kosmasgr:
It works now with enforcing selinux ;)

Backlights stay always on :) is there any way to make them blinking ?
[Galaxy S II Android Development] the.gangster:
[MENTION=4273480]kosmasgr[/MENTION]

As stated above already, changing SeLinux is not needed.

I would even claim, that only setting "enabled" to "1" is needed.

After a successfull notification the value of "notification_led" returns to "0", so this is very likely only controlling the backlight's status.

Concerning blinking: have you tried to set "blink_control" to "1" already?

But even if that worked, this would usualy result in more battery draining as this prevents the device from going into deep sleep mode. At least that was the case in the past.

Edit: I tried now (only once) with blink_control set to 1 and seemed not to change anything (lights permanently).
[Galaxy S II Android Development] pilgrim011:
Ok, now it works with enforcing mode. Is this bln or blnww? I hope it's blnww, for the sake of our battery life.
[Galaxy S II Android Development] OT-Xtreme:
what is gello?
[Galaxy S II Android Development] the.gangster:
[MENTION=6826301]OT-Xtreme[/MENTION]

gello is a new Chromium-based web browser
[Galaxy S II Android Development] arnab:
The proper code to activate bln is

echo "1" > /sys/class/misc/backlightnotification/enabled
[Galaxy S II Android Development] the.gangster:
[MENTION=414800]arnab[/MENTION]

thanks for confirming my statement

:)

EDIT:

LOL, now I see, that you forgot a "/misc" in there.

So I keep on correcting you.

This is the proper code for enbabling BLN

echo "1" > /sys/class/misc/backlightnotification/enabled
[Galaxy S II Android Development] laptopu:
Can we get bln option in the menus so not having to play with terminal? And someone mentioned blnww for battery saving what's that?
[Galaxy S II Android Development] Spyr0s:
backlightsnotificationwithoutwakelock :p
[Galaxy S II Android Development] arnab:
yes i know that. I invented it lol. :p
[Galaxy S II Android Development] the.gangster:
Just one more thing:

Obviously the setting is not surviving reboots. So the 'enable' switch has to be set after each reboot.

For easier enabling and disabling feel free to use my simple batch file (for Windows).

If not defined in your Search-Path anyway, simply copy it into same directory as your adb.exe. For disabling call it with parameter 0. Any other or no parameter will enable BLN.

Have fun...
[Galaxy S II Android Development] the.gangster:
LOL, yeah, take it easy.

Yes, you were the one who did all the porting and I really cannot thank you enough for that.

Nevertheless, you posted several times already the wrong activation flag and it was obviously me, who posted the correct one first.

But to read now, that you knew as you invented it, I had to smile (again).

So hey, I was just laughing, so no offence. This is all processing step by step and in the right direction.
[Galaxy S II Android Development] arnab:
I didn't post the wrong one...it was a typo...the first one was due to a path error in lights.c which I forgot that I fixed.
[Galaxy S II Android Development] the.gangster:
Come on, this is a useless discussion.

I wasn't referring to the typo, as that was after my post. I was referring to your posts e.g. starting with the ones dated 18/05/ and 22/05/ where you always stated or acknowledged that the notification_led was the flag to set to 1. But even if also those were typos, I don't care. That's history, let's look forward...

By the way:

I made the BLN-activation permanent on my device now.

Warning for those who want to use it: Use the following code only, if you understand it and know how to undo it once an official sollution is offered.

su
echo echo \"1\" \> /sys/class/misc/backlightnotification/enabled >> /data/local/userinit.sh
chmod 777 /data/local/userinit.sh

Best regards

the.gangster

EDIT: Damn, now the typos also catched me. Corrected now as posted before "enabled" is the one to use. (txh [MENTION=5111718]Fasullo[/MENTION])
[Galaxy S II Android Development] pravingasva:
So what does this code exactly do??
[Galaxy S II Android Development] daniu:
Hi

Sorry for a slightly OT post (but I guess quite some people are also interested):

I got the impression that my s2 is slowly dying ... in my opinion that is ok - it served me more than 3 years now.

I bought the phone when it was rather long on the market and I still consider that a good idea since phones tend to get really cheap by time and I don't need to be an early adopter.

Now I wonder: which phone is most likely to get such long and good support as our s2? S5 mini? Or some HTC/Sony model?

Any ideas would be appreciated.

Regards

Sent from my x-phone using brain 2.0
[Galaxy S II Android Development] wave41:
The headset icon does not appear