yashsingh1/xdaforums huggingface dataset:
[Galaxy S II Original Android Development] asa2:
Lock screen

Hello,

i have connected to home VPN and vpn configuration requires to use pass, pattern or pin code for lock screen. So I have entered the pattern.

Now I have deleted VPN profile, but have no option to remove screen lock. When you choose the screen lock "None" and "Swipe" are "Dissabled by administrator, encryption policy or credential storage"

I'm I doing something wrong?

Thanks
[Galaxy S II Original Android Development] Saber:
A new kernel will not fix this problem. This is the battery icon used by lp kernels.
[Galaxy S II Original Android Development] holimon82:
Wifi got disconnected after a while:

http://1drv.ms/1IoYLBx

As you can see in the log for intelli3g, it was disconnected at 14:54, last activity(screen unlock) was at 13:17.

Thanks.
[Galaxy S II Original Android Development] kdeve:
ringtone

When the earphones are connected, the ringtone is not played on the speaker.

I've tested with no-name and Smasung branded earphones, no difference.
[Galaxy S II Original Android Development] Nikolayy2013:
so what i did pretty much is i got my phone to safe mode somehow...dunno how i did it tbh, disabled the 2nd screen and restarted my phone... problem solved.... but tbh ur right when it comes to messing around with a phone with a broken usb port i'll get right onto that this monday... :D tnx for ur help anyways i'll keep in mind the thing u said about the recovery in my internal sd :)
[Galaxy S II Original Android Development] tOz666:
Is there any way we can get BLN using this ROM? I tried Gustavo's Kernel using the latest official nightly but it won't get past the blue andy loading screen...
[Galaxy S II Original Android Development] Resync:
what about BLN or something like it?

is there a way to get notifications?
[Galaxy S II Original Android Development] Kurt Krummbein:
So it's not ROM specific, itn't it. This thread is bad place for this! If you want a new feature, make a feature request on CM jira! The developers on this list are working hard on getting CM running on this old device, asking here for new CM features is just polluting the list. Too much noise is making it hard to filter out real problems!

... and you won't get your feature if you don't address you ER to the right people ;).

Cheers

Kurt
[Galaxy S II Original Android Development] Xerroneous:
Off Charging

Hi, i have this problem when off charging. Charging animation shows only for a few seconds. I dont even now if the phone is charging or not. Pressing buttons will not display the battery percentage and no backlights.

How can i fix them?
[Galaxy S II Original Android Development] Spyr0s:
Ιt has been like this since forever
[Galaxy S II Original Android Development] anonimowywybryk:
someone knows how to activate the weather on the lock screen ? Is it at all possible in cm12.1 ? or I need to buy a paid version clock ?
[Galaxy S II Original Android Development] Spyr0s:
no lockscreen widgets in lollipop, you have to use an app like nofidgets.
[Galaxy S II Original Android Development] kai1313:
you use stock or custom kernel?

it works on my phone with stock kernel

Sent from my GT-I9100
[Galaxy S II Original Android Development] wurlds:
Ok, how come every time when I update to the latest nightly, my phone does not load up unless I use Odin and install a new bootloader?
[Galaxy S II Original Android Development] RamHa:
Evry kernel wich came from custom roms is custom kernel... And, for example, DorimanX kernel are 100% compatibille with CM 12.1 LP Roms and just a little bit better couse support BLN, Swipe to wake, Sound Boost, etc, wich are nice-to-have functions nowdays... Btw, tnx for Nightlys and Rom itselfe are great! Thank You [MENTION=6159291]Lysergic Acid[/MENTION] !

;)
[Galaxy S II Original Android Development] Phenomzye:
Turn flashlight on, turn your screen off to avoid touching stuff while you use your phone as flashlight, boom, flashlight turns itself off and remains bugged at notifications like if it were on but it isn't. This was a CM11 bug, they fixed it, and seems to be back again here :(
[Galaxy S II Original Android Development] Antenor Vituperio:
how can i get face-unock?

Hi, I know that face-Unlock is a feature in the micro package of the GAPPs, but this package doesn't fit in /system partition (or something else that give me the error "code: 70" when i tried to install it on the recovery). is there a way to get the FaceUnlock feature without flash micro pack of GAPPs? or can i rezize my /system partition to allow to install the micro or mini modular package? :confused: BTW thanks for your help
[Galaxy S II Original Android Development] Lanchon:
you can flash face unlock addon by itself. and you can repartition your phone. i suggest 6GB /data.
[Galaxy S II Original Android Development] Xerroneous:
I use dorimanx kernel
[Galaxy S II Original Android Development] kai1313:
+1 it seems 30sec idle then the FL turn off automatically when using and lock my phone

try using stock or lanchon kernel to discover it still the same or not

Sent from my GT-I9100
[Galaxy S II Original Android Development] Xerroneous:
Off charging animation works on stock kernel, it doesnt work on dorimanx. Is this a known bug? Or it is just me having this problem?
[Galaxy S II Original Android Development] wdevil12:
its just you:P works like a charm here with or w/o dorimanx
[Galaxy S II Original Android Development] Xerroneous:
What could be the problem? Can you help me fix this?
[Galaxy S II Original Android Development] deyan:
+1 I am having this too...

I can't recall where I have read that it is some kind of protection from overheating.

But I prefer that is a bug so there will be fixed!
[Galaxy S II Original Android Development] Malhavoc Blackdrake:
I repartitioned and flashed the gapps with the face unlock addon, but unfortunately, as I've written a couple of times, face unlock crashes at configuration time. It's not working at the moment, but I can't tell if it's a problem with the ROM or the gapps, asked in both threads, but no OPs aswered about it..
[Galaxy S II Original Android Development] wdevil12:
No, i cant really sort this out. maybe you should clean flash the rom.
[Galaxy S II Original Android Development] maly_szcz:
Should this fix solve my problem? I flashed cm-12.1-20150725-NIGHTLY after Lysergic Acid's confirmation, that fix is merged.

After two days of testing DailyRoads Voyager on this nightly - app still hangs, camera still hangs (until phone restart), stopping recording takes very long or crashes app/camera. In preview mode (without recording) picture sometimes have some glitches.

So i was wrong and this fix is for someting else?

Regards,

Daniel
[Galaxy S II Original Android Development] Xerroneous:
Am i doing the right cleaning?

CWM Recovery:

1. Wipe data / factory reset

2. Wipe dalvik cache

3. Format /preload

4. Format /system

Odin:

5.Flash rom using odin

6.Flash kernel using odin
[Galaxy S II Original Android Development] LeBourrin:
Yes, the focus problem is fixed.

I tested video recording for one or two minutes with stock camera and Google camera without crash or glinches... maybe it's only a "DailyRoads Voyager" bug. Did you do a realy "clean" installation ?
[Galaxy S II Original Android Development] maly_szcz:
First two minutes was promising :) App/camera crashes from time to time - sometimes after 5 mins, sometimes after 5 hours.

Maybe it's app's problem, but now i stopped recording, and app crashed. I started Google Camera and phone rebooted itself. Earlier today app crashed and i wasn't able to start camera again (i had to reset the phone).

Yes, i did clean install (step by step from first post). I was using CM 11 before.

Regards,

Daniel
[Galaxy S II Original Android Development] Rod31:
I have the same issue : after a fresh clean install, camera app work properly (front, back, picture and record). And after a while, as soon as you press the recording button, camera app freeze. it's not a FC, much more like a "not responding, do you want to close this app ?" case. And when you re-open the camera app, you can take pictures (front, back) but no more records.

When you take a look to DCIM directory, you can see there were a ".tmp" file created from your record try but with 0 kb size, or maybe 700 kb....

This is really weird, i don't understand why this app work at beginning. And even when you clear dalvik cache and cache, record doesn't work. It's just when you do a fresh clean install.
[Galaxy S II Original Android Development] Uncertified Robot:
You really gotta update CM Recovery.

Wiping Data and Wiping cache doesn't work, there's no way to disable signature verification when flashing updates. There's no way to make backups.

Please, I beg you. I can't even flash a different recovery using it because it will simply go to a black screen.

I can't use my USB port on my phone because it didn't work after flashing the nightlies.
[Galaxy S II Original Android Development] Malhavoc Blackdrake:
To be an official CM, he needs to keep that ugly recovery. However, I would really like to see in this thread an additional signed kernel we could flash.. identical to the official one, but with CWM or TWRP. At the moment we can flash Dorimanx or Gustavo, but I would prefer to stick as official as possible BUT with a decent recovery (if there was also a secondary download with TRIM enable.. even better!)
[Galaxy S II Original Android Development] kai1313:
try using wipescript from hawkerpaul(search on google or xda) its very helpful

i always using it to do clean wipe pr kernel wipe

sign the recovery/kernel that you wanted with sign-em or sign+ apps to get through verif from cm recovery

i suggest you to use dori from gsstudios if you more familiar with cwm before and it has signed so you can flash it directly from cm recovery

Sent from my GT-I9100
[Galaxy S II Original Android Development] LeBourrin:
Hum, that's strange indeed. Look's like a Kernel bug.

The only thing I can recommand to you is to make a logcat when a app crash (DailyRoads or GoogleCamera) and post it here for Lysergic Acid.

Same for [MENTION=4380571]Rod31[/MENTION]
[Galaxy S II Original Android Development] fluorine:
Yes, the recovery changes to Cyanogen Recovery and the kernel is back stock (in my case: 3.0.64-CM-g88e677a).
[Galaxy S II Original Android Development] kudos1uk:
I agree, I would like to see the Lanchon trim kernel with CWM so after an update we could flash the kernel which would give trim and a decent recovery.
[Galaxy S II Original Android Development] wg2000:
I've been using nightlies for about a week now, almost everything seems to be working (at least, for it to be used as a daily driver) and have noticed that I cannot make it past about one day without power-off and power on the device: suddenly when everything *seems* normal the UI will crawl to a freeze and stop responding to anything (it happens in about 1 or 2 seconds). The only thing my device will do is poweroff if I press the power button for about 5 seconds.

Has anyone else experienced something like this? This did not happen with CM11...
[Galaxy S II Original Android Development] Xerroneous:
I followed your advice. I first flash hawkerpaul romwipe, flash the rom and then flash the kernel wipe, flash the dorimanx kernel. But it doesnt solve the problem.:(

But anyways, thanks for this useful info. I will now always use this to do cleaning :good:

I will still use the kernel anyway.
[Galaxy S II Original Android Development] ashrafdeeb:
Black screen !!

for the second time now after clean flash (the rom + gapps pico) everything is ok

but after installing all apps from market and after restart it is fully working but the screen is BLACK

black screen from after sii logo

any one facing this and how to solve it??

p.s. : 1GB system 6GB DATA
[Galaxy S II Original Android Development] chrisXL:
there is around a buggy version of 1GB/6gb pit file. try another one
[Galaxy S II Original Android Development] daniu:
Hi

I absolutely agree. I am now using stock kernel after dorimanx by gsstudio.

No more lags and freezes plus I don't need the dual boot and the stream support. Missing trim though ...

Regards
[Galaxy S II Original Android Development] UnserVater:
Yes i have the same error and hope it to be fixed very soon. It happens out of nowhere, sometimes when playing clash of clans or the other time when typing in whatsapp.

Am I the only one having troubles with the sms/mms app always crashing on start ? I couldn't use sms since cm12.1 because the app always crashes on start/recovering old messages. Is there a workaround or fix possible ?

Thanks for the great work =)
[Galaxy S II Original Android Development] Zile995:
Flash [MENTION=4141005]Lanchon[/MENTION]'s CM12.1 trim kernel if you want trim ;)
[Galaxy S II Original Android Development] daniu:
As you might guess: I want both: proper recovery plus trim ...
[Galaxy S II Original Android Development] Bobacco:
What helped me greatly is using facebook lite instead of the regular-data hog-I'll-eat-all-your-memory-app.
[Galaxy S II Original Android Development] carlosfl8:
Was about to say the same, it happened a lot when I was in RR, then I moved to the official nightlies and the latest nightlies are giving me that, random lags, freezes and stuff the only way to "fix" it is by power off the phone... It's a bit annoying :-/ but it seems to happen in every Lollipop ROM
[Galaxy S II Original Android Development] kudos1uk:
See my post from earlier here:

http://xdaforums.com/galaxy-s2/deve...m-brickbug-aftermath-speeding-t2843238/page79

I live in hope.
[Galaxy S II Original Android Development] Scalpel11:
Hey guys!

Since 07-21, right after I unplug the USB charger, the battery gauge is still spinning with the little lightning bolt, like my phone thinks it is still plugged in. It also wakes up every 20 seconds or so and the only way I found to stop it is to reboot. Anyone else got this or is it time to change the usb connector of my phone?
[Galaxy S II Original Android Development] ssanjy:
It usually occurs in broken USB port... Try cleaning with soft brush and test.... if it goes then probably time to change it....
[Galaxy S II Original Android Development] k44mos:
Any news regarding Ambient Display feature?

Thanks.
[Galaxy S II Original Android Development] kai1313:
idk why, i always get some trouble with OTA updates

it said unable to download, im sure its not my connections because if im download it from CM web via browser the download goes well

is anyone know why its happen

Sent from my GT-I9100
[Galaxy S II Original Android Development] Weib67:
Same here. It has always been that way since CM 12.1. I think this is probably the most serious bug left on this otherwise very satisfying rom.

I can't get more than 60h of up time, and most of the time it's around 40h, give or take 10h. This is still occuring on recent nighlies, full stock (no custom kernel or Xposed).

I hope LA will take a look at this. As far as I read, he's not experiencing these random freezes. Maybe we can provide logs about this issue.
[Galaxy S II Original Android Development] iistoryahi:
About Battery , My phone running to 5-8 hours only. Is it normal ? I'm on full stock ( No Custom Kernel or anything else )
[Galaxy S II Original Android Development] cherryb8844:
I get rid out from this bug is no more in my device

Read this thread

http://xdaforums.com/galaxy-s2/development-derivatives/rom-brickbug-aftermath-speeding-t2843238

But this is risky when you have brickbug read all tread carefully and ask for more help to [MENTION=4141005]Lanchon[/MENTION] if you have any dout
[Galaxy S II Original Android Development] Malhavoc Blackdrake:
Trimming your device doesn't solve the issue. You may get a bit more performance (depends on how much your SD has degraded in time), but what we are talking about is some sort of bug, which has no tie with trimming. I can say it for sure, as I've Trimmed, and even tried using a Trim-enabled kernel, and I keep getting this issues.
[Galaxy S II Original Android Development] Weib67:
Thanks for your responses guys. The more feedbacks we got, the more chances we'll have to solve this issue (or should I say, LA will. :fingers-crossed:).

I'm not sure either that this has something to do with trim. Plus, I would like to keep a stock configuration for the moment.

I know that custom kernels are powerful, but they could also bring all sorts of bugs at early stages of development. That's why I think we should rather investigate and concentrate on stock settings for now. :cowboy:
[Galaxy S II Original Android Development] davide.slb:
Why the colors look bad and blurry?

Enviado do meu GT-I9100 através de Tapatalk
[Galaxy S II Original Android Development] wg2000:
Right, and as far as I'm concerned, I've got no SD card at all so this is something else...

---------- Post added at 03:42 PM ---------- Previous post was at 03:34 PM ----------

I'm more than willing to provide logs. Unfortunately I wouldn't know where to start and what kind of logs would be helpful. Does anyone know?
[Galaxy S II Original Android Development] totoerx:
StageFright

Hi everyone,

I'm currently running on cm-11-20141115-SNAPSHOT-M12-i9100.zip

I would like to upgrade to a recent nightbuild, since there are no snapshots anymore, specifically to get rid of the Stagefright vulnerability.

From what I've read, builds from the last two weeks should have google's fix implemented.

Can someone confirm this, and eventually suggest the most stable nightly? I don't intend to upgrade often, only if really necessary.

Thanks in advance,

Regards
[Galaxy S II Original Android Development] Malhavoc Blackdrake:
Trimming is not for your external SD, but for the internal one, especially the System, Data, and Cache partitions, and helps making it smoother as it was when brand new, since without trimming, the internal SD loses performance over time, due to multiple I/O operations.
[Galaxy S II Original Android Development] kai1313:
the latest usually the more better

:thumbup:

Sent from my GT-I9100
[Galaxy S II Original Android Development] totoerx:
I've flashed nightlies in the past, and chose my timing poorly as they were full of bugs (I even though I had bricked my phone once).

Hence my cold feet for blindly flashing the latest ROM. So my question remains.
[Galaxy S II Original Android Development] kai1313:
im on latest update, everything fine

or you can get the 25, i use that for 3 days without update and no major bugs for that 3 days

Sent from my GT-I9100
[Galaxy S II Original Android Development] Noctis Lucis Caelum:
This sound like the issue I have on Slimsaber lp, just to make sure it is the same, next time when it happens can you check if cpu spy or any other cpu app can show you different cpu stats(time, frequency..... )
[Galaxy S II Original Android Development] Spyr0s:
#!/system/bin/sh

echo 1 >> '/sys/devices/platform/samsung-pd.2/mdnie/mdnie/mdnie/scenario'

echo 3 >> '/sys/devices/platform/samsung-pd.2/mdnie/mdnie/mdnie/mode'
[Galaxy S II Original Android Development] the.gangster:
After months of waiting and following this and the unofficial thread, I also gave CM12.1 a try meanwhile.

Changed from CM11 latest nightly to 20150701+picoTKgapps one week ago. Then later used CyanDelta for creating the 20150725.ZIP.

Signed that for flashing in this wonderful recovery.

Then ran into exact same issue as first reported here:

At least the first part.

Means: stuck at "patching system unconditionally"

After waiting and cursing for a while I booted my phone and it reported the new version.

Looking at the update script I've seen there should have been called some resize and restore procedures for resized system partitions after block-update as well as the extraction of boot.img.

So as there were no more messages on the screen, I don't know, what exactly was left undone. But at least it did not succeed.

Also I did not have to reflash GApps, (but I also still have original system partition of 500MB).

So far, I am still really impressed of how fluid this ROM is running on my device.

I even had much more issues with CM11!

There is just one thing, that could really make me return to CM11:

It drains my battery as if I was giving starting aid to a car.

At least with screen on it hardly loads at all via USB. Once disconnected from plug, I can watch it loosing percentages like bad shares on black monday at Wall Street.

Currently being at 76% it tells me I'd have ~2h left.

If I am low on battery and plug it for charging I've seen already values like 'loaded in 14h'.

All this already happened with 20150701 build.

But I'll continue with this ROM for a few more days and maybe also try yet another new nightly. Maybe then the update will also run thru.

[MENTION=6159291]Lysergic Acid[/MENTION]

So thank you for maintaining this amazing ROM for our device.

And even although all those people were asking you for months again and again, when this would be going official. And even if the same people are now, after you finally managed to take that step, complaining with the same persistence about the really weak recovery. Don't let them make you loose your passion for this amazing project. Every one who really read here will know, how to work around that restriction, from that you already warned in your unofficial thread, back then.
[Galaxy S II Original Android Development] davide.slb:
Thanks for the reply. But what i do with that? I'm a newbie :)
[Galaxy S II Original Android Development] Spyr0s:
save it on a file, open with Script Manager, check su + boot, save, run
[Galaxy S II Original Android Development] MikiGry:
Open terminal emulator

Type "su" (without " ")

And confirm (enter)

Than go to xda and copy these lines suggested by that user. Paste them in terminal and confirm. If your screen colors wont change exit terminal and reboot.

Wysłane z nexusowego-tablecika 7 ...
[Galaxy S II Original Android Development] davide.slb:
And that's permanent or have to run the commands every reboot?
[Galaxy S II Original Android Development] Spyr0s:
use script manager as i said, and script will be executed at every boot
[Galaxy S II Original Android Development] davide.slb:
thanks for the help , is a bit sharper but still with a bad color for AMOLED and compared to the stock JB.
[Galaxy S II Original Android Development] Zile995:
Then try this:

#!/system/bin/sh

echo 1 >> '/sys/devices/platform/samsung-pd.2/mdnie/mdnie/mdnie/scenario'

echo 0 >> '/sys/devices/platform/samsung-pd.2/mdnie/mdnie/mdnie/mode'

Sharpness:

#!/system/bin/sh

echo 2 >> '/sys/devices/platform/samsung-pd.2/mdnie/mdnie/mdnie/scenario'

echo 0 >> '/sys/devices/platform/samsung-pd.2/mdnie/mdnie/mdnie/mode'

I prefer:

#!/system/bin/sh

echo 1 >> '/sys/devices/platform/samsung-pd.2/mdnie/mdnie/mdnie/scenario'

echo 1 >> '/sys/devices/platform/samsung-pd.2/mdnie/mdnie/mdnie/mode'
[Galaxy S II Original Android Development] Lysergic Acid:
I think I'll make flashable zip of the stock kernel with TWRP soon, I'm working on a college task atm, so maybe tomorrow, but it seems a zip for that would be nice to everyone who needs a working recovery :p
[Galaxy S II Original Android Development] p3dboard:
I find that if you have Location Services turned on battery drains faster, only turn it on when you need to use the GPS (if you want to save battery, even Battery Saver mode consumes battery). If I am on Wifi I can easily get about 13-14 hours out of a charge, sometimes more with occasional use. On Mobile Data, I can normally get 8-10 hrs with occasional calls. On wifi sometimes I only get 1-2% drain per hour. I have turned off Google Now cards (as I find that it's a fairly constant drain of battery in the background).
[Galaxy S II Original Android Development] wdevil12:
Woooo Finalyyyy TWRP!!!! dont forget to sign;)
[Galaxy S II Original Android Development] iistoryahi:
My Location Services already off even the Account Sync , I been notice this since when i watching a movie on mx player , It's only 3 hours :(

What's the problem of my S2 ? Is it on battery ? I'm on 1650 mAh :confused:

Sorry for bad english mate :)

---------- Post added at 05:12 AM ---------- Previous post was at 05:08 AM ----------

Yees , I've been wating this Thanks LA :)