yashsingh1/xdaforums huggingface dataset:
[Galaxy S II Original Android Development] Andrea900:
Every time , phone freezes due to whatsapp.... Always when we use it... Maybe we have to investigate there.

Btw, i'm already testing your kernel... 36h+ of uptime , so far so good. Let's keep the fingers crossed! ?
[Galaxy S II Original Android Development] j1gga84:
+1 !

I also recognized that in 90% my phones freezes when typing a message in whatsapp, BUT on both of my devices (Samsung Galaxy S5 and S2), so the question now is: is it a CM related problem or a whatsapp bug that freezes the system :confused:

regards
[Galaxy S II Original Android Development] SafinWasi:
Can anyone link me to a (somewhat) stable nightly? Also a link to a good recovery would be appreciated.

thx
[Galaxy S II Original Android Development] the.gangster:
Its not a Whatsapp-bug.

I don't have Whatsapp nor Facebook installed. As already posted long time ago by someone It could make sense searching for a bug in the keyboard area. Either keyboard itself, or what I would expect as there are also many users using different keyboards out there, in the keyboard's "interface".

Because freezes obviously are very likely to happen while typing. No matter in what app (two words).

I am usually getting hit by a freeze while typing in Tapatalk or SMS.
[Galaxy S II Original Android Development] ringen00:
Cannot download 1126 with CyanDelta - no progress!
[Galaxy S II Original Android Development] the.gangster:
Maybe because 1129 is out.

I am more surprised why CyanDelta doesn't offer that one.
[Galaxy S II Original Android Development] Style22:
Same issue, phone freezes while typing. Often two or three times after restarting and typing again.
[Galaxy S II Original Android Development] kanyb:
Got a second freeze with zeitfernes kernel today, this time in threema, but again while typing (swiftkey - swyping)

While using the device mostly for browsing the web (firefox), im (whatsapp, threema), listening to music via bluetooth (cm music app, poweramp) and navigating (here, gmaps) I almost only get freezes in threema, whatsapp and firefox (could not think of a freeze while using another app). As connections I use WLAN and mobile data.

As I stated in my last post I got 10 days of uptime without freezes, when I had disabled the wifi adapter.

Could it have something to do with the wireless adapter?
[Galaxy S II Original Android Development] cdrivex4:
Not for me, no issues with typing at all. WhatsApp an Facebook, Messenger installed.. Kernel an ROM is smooth as silk...
[Galaxy S II Original Android Development] lurker316:
I've been using the Snapshot release and its been really smoooth sailing for me so far. And the best thing is my battery life has improved alot. I think that's partly because I was on a previous Snapshot of 4.4.4 that had this crazy ability where Google Services just all of a sudden used to start eating my battery really fast. So far no such thing with this thing. Great standby time. Just wanna say [MENTION=6159291]Lysergic Acid[/MENTION] has done such a quality job on this Lollipop snapshot. Well done Mate.
[Galaxy S II Original Android Development] AloneOnTheDark:
Same issue using WhatsApp. 9gag app locks my phone after browsing it scrolling down a lot. Maybe there's something with touch screen...
[Galaxy S II Original Android Development] makix13:
Or probably OOM? In my case,I'm still with unofficial LA rom & Gustavo's kernel modify by LA, and no suffer freezes during days, but if I'm with dolphin and g+,seeing videos and images, at the end my S2 freeze.

Don't suffer freezes with whatsapp nor keyboard (TouchPal)

One important thing in my case, I'm trimming my device with Lanchon's kernel after two or three weeks, and the performance it's incredible.

Don't know if this helps.[emoji6]

S2 LA Cyanogenmod 5.1.1 [unofficial] [06/17] - Xposed [unofficial romracer's framework] - [rovo's beta 4 apk] - Viper4Android
[Galaxy S II Original Android Development] WaLshy11:
My phone has been up for 300+ hours without a freeze. I've never gotten a freeze on it before either, I've only restarted due to battery going flat or taking SD card out etc.

I don't use Whatsapp or Facebook or anything like that. I didn't repartition anything or haven't messed with the CPU speed.

Running build 12.1-2015105-Nightly.

Edit: Also running Lysergic's kernel/TWRP recovery
[Galaxy S II Original Android Development] Andrea900:
I've unfortunately had a freeze with zeitferne's kernel after 54h+ of uptime... :( :( :(

Just browsing full screen app pictures in the Store.

No keyboard operations were involved this time . I'm getting mad, seriously.
[Galaxy S II Original Android Development] Naudiz:
Indeed, most of the freezes seem to occur while typing.

It's the same for me.
[Galaxy S II Original Android Development] cdrivex4:
Default cm kb or Google kb? when flashing I added google kb add-on ages ago...
[Galaxy S II Original Android Development] alienflorina:
Just to share my experience. I'm on snapshot and was running smoothly. One day I had like 5 freezes and became crazy. I wondered what I had changed on my phone recently and guess what. I uninstalled Google keyboard and installed swift key. Reverted to Google keyboard again and no problems :) :)

Απεστάλη από GT-I9100 using XDA Forums
[Galaxy S II Original Android Development] Naudiz:
Seems to happen, no matter which KB app is used. Happened with SwiftKey and with stock AOSP keyboard.
[Galaxy S II Original Android Development] j1gga84:
I also had this issues with SwiftKey which I use since ages but the freezes became less but they are still present from time to time.

regards
[Galaxy S II Original Android Development] good8life:
freeze

Nightly 26.11 freeze with stock system and date , kernel from night 26.11
[Galaxy S II Original Android Development] Klaerchen:
Could you nevertheless integrate your findings into the official CM kernel? I think it would be best to eliminate all possible sources of (future) problems.

Thanks for the work!
[Galaxy S II Original Android Development] LeBourrin:
This freeze bug is so random. I don't know why but my last freeze was 21 days ago! (I've got a wifi crash and I looked at my uptime before reboot the phone)

I'm a moderated user. I don't have Whatsapp or Facebook apps. And I only use AOSP keyboard.
[Galaxy S II Original Android Development] good8life:
My freeze , maybe from Wi-Fi too?!
[Galaxy S II Original Android Development] zeitferne:
Maybe, maybe not. The problem is that it is easy to draw wrong conclusions here: For example, if 80% of my screen-on-time is spent with Wi-Fi on, I will probably encounter most freezes while on Wi-Fi.

One observation though: The freeze seems to be almost always directly following some user input, e.g. I have the impression that freezes when watching YouTube occur most of the time if I touch the screen to view the remaining video time, but I don't remember a time where it just froze in the middle of a video w/o any interaction. Given that the freeze seems to be caused by the CPU locking at a very low frequency, one could speculate that the freezes occur only when switching the CPU (or GPU?) frequency.
[Galaxy S II Original Android Development] good8life:
My screen same time hot , but now I want to test phone and was install antutu from Google play. Ok, install 10% antutu, I change Wi-Fi to 3g , after 2 seconds I have freeze????? Phone system and date stock, kernel malifix 28.11
[Galaxy S II Original Android Development] LeBourrin:
I reproduced your procedure. I changed wifi to 3g while downloading Antutu and this doesn't produce freeze.

I don't think freezes are wifi related because I've got freezes with wifi on and wifi off.
[Galaxy S II Original Android Development] rubentkato77:
I got freezes in almost every Lollipop ROM that I had installed.

Maybe once a day with heavy use.
[Galaxy S II Original Android Development] LeBourrin:
Can someone with a phone that freeze often can test that. That may be a coincidence, but I don't get any freezes since I installed Cool Tool in order to monitor my CPU frequency.

Choose to show only these labels: CPU Usage / CPU Frequency / Available RAM / I/O Activity / Most resource-intensive process

Don't show any gauges.

You will have the monitor overlay at the top of the screen like my screenshot.

And tell us if you get freezes. Maybe I dream, but it's worth a try.

Forget that, I still have freezes.
[Galaxy S II Original Android Development] good8life:
kernel malifix

I watch YOUtube to 3g , screen little hot with kernel malifix.

system and date stock . Antutu take more from kernel malifix 17015
[Galaxy S II Original Android Development] khal_nayak:
try this, first boot phone, once booted, soft reboot it and then keep it running and see if it crashes or no, i tried this and its been 7 days without a freeze, earlier i used to get freezes everyday
[Galaxy S II Original Android Development] good8life:
now install

Now install Skype from Google play, change Wi-Fi to 3g no freeze.

I think , problem waking from phone - freeze , no freeze, freeze - no freeze .

System & date stock
[Galaxy S II Original Android Development] bixi:
according to you is better the snapshot or some nightly?
[Galaxy S II Original Android Development] cherryb8844:
When you are not a flashoholic so use snapshot or when you need new fix with features flash nightly I'm still using 20151120 nightly on my device with xposed framework v75 with modules greenify and YouTube ad away and I feel stable no random reboot but got freez in some time no in 2 or 3 days freez issue is almost gone

:good: goodluck and happy flashing :)
[Galaxy S II Original Android Development] ShiningAce:
Does the freeze occur on both snapshot n nightly?
[Galaxy S II Original Android Development] daniu:
Hmmm

Now reading all the reports about freezes: does freeze mean that you need to reboot cause the phone is stuck or does it also include the phone just getting really slow. I had both too often, the latter annoying me a lot recently ....
[Galaxy S II Original Android Development] LeBourrin:
I've got i freeze (phone stuck) right now, just after turn on screen. Here is what Cool Tool show:

CPU usage: 100% at 1200Mhz

Free memory: 332 MB

Most usage app : system_server

So this is not a insufficient memory problem.
[Galaxy S II Original Android Development] Weib67:
Both, of course. Else, we would be more than pleased with the snapshot.:)

Yes indeed, the freeze we are talking about is when your phone is completely stuck. .

A big slowdown would be an other issue (I had some, especially on DorimanX's kernel). Probably a ram management problem.:confused:
[Galaxy S II Original Android Development] zeitferne:
Technically, it really is "just" an extreme slowdown. E.g. if you configured USB debugging, you can still connect the phone to your computer and open a shell on it. (as I previously documented). But from a practical perspective, you are right: the phone is so slow that it never gets to e.g. updating the screen contents or anything really.
[Galaxy S II Original Android Development] lukss12:
How is possible that with the phone so slow adb can respond? Could it be that we're facing a kind of software deadlock ? But, why it is affecting only our device? Also why other phones sharing our base kernel not facing it?

:cry: :cry: :cry:
[Galaxy S II Original Android Development] bixi:
Is there the possibility to have a 2g/3g toogle with the cm12.1?

I have another question about xposed, i have to install the version flashable with recovery? or I can install with normal apk?
[Galaxy S II Original Android Development] akiwiz:
For xposed install apk and then flash the zip
[Galaxy S II Original Android Development] rINanDO:
[/COLOR]

I just checked my old log and LA's recent merge change http://review.cyanogenmod.org/#/c/122122/

@LA: Are my logs and your recent merge related?

I/LatinIME( 2478): Starting input. Cursor position = 6,6

I/ValidateNoPeople( 2200): skipping global notification

D/Yamaha-MC1N2-Audio( 1853): yamaha_mc1n2_audio_output_stop()

D/Yamaha-MC1N2-Audio( 1853): yamaha_mc1n2_audio_route_start()

W/SurfaceFlinger( 1845): Ignoring duplicate VSYNC event from HWC (t=6139868374159)

W/SurfaceFlinger( 1845): Ignoring duplicate VSYNC event from HWC (t=6139951735409)

D/LightsService( 2200): Excessive delay setting light: 94ms

I/InputDispatcher( 2200): Application is not responding: Window{3643619d u0 com.nolanlawson.logcat/com.nolanlawson.logcat.LogcatActivity}. It has been 5019.2ms since event, 5005.7ms since wait started. Reason: Waiting to send non-key event because the touched window has not finished processing certain input events that were delivered to it over 500.0ms ago. Wait queue length: 11. Wait queue head age: 6404.3ms.

D/lights ( 2200): set_light_buttons: 2

D/LightsService( 2200): Excessive delay setting light: 318ms

W/art ( 2200): Long monitor contention event with owner method=void com.android.server.am.BroadcastQueue.processNextBroadcast(boolean) from BroadcastQueue.java:548 waiters=0 for 1.638s

I/Choreographer( 2349): Skipped 98 frames! The application may be doing too much work on its main thread.

I/WindowManager( 2200): Input event dispatching timed out sending to com.nolanlawson.logcat/com.nolanlawson.logcat.LogcatActivity. Reason: Waiting to send non-key event because the touched window has not finished processing certain input events that were delivered to it over 500.0ms ago. Wait queue length: 11. Wait queue head age: 6404.3ms.

W/art ( 2200): Long monitor contention event with owner method=boolean android.os.MessageQueue.enqueueMessage(android.os.Message, long) from MessageQueue.java:342 waiters=0 for 110ms

I/InputDispatcher( 2200): Window 'Window{3643619d u0 com.nolanlawson.logcat/com.nolanlawson.logcat.LogcatActivity}' spent 13781.4ms processing the last input event: MotionEvent(deviceId=6, source=0x00001002, action=0, flags=0x00000000, metaState=0x00000000, buttonState=0x00000000, edgeFlags=0x00000000, xPrecision=1.0, yPrecision=1.0, displayId=0, pointers=[0: (145.0, 314.0)]), policyFlags=0x67000000

I/InputDispatcher( 2200): Dropped event because it is stale.

I/InputDispatcher( 2200): Dropped event because it is stale.

I/InputDispatcher( 2200): Dropped event because it is stale.

I/InputDispatcher( 2200): Dropped event because it is stale.

I/InputDispatcher( 2200): Dropped event because it is stale.

I/InputDispatcher( 2200): Dropped event because it is stale.

I/InputDispatcher( 2200): Dropped event because it is stale.

I/InputDispatcher( 2200): Dropped event because it is stale.

I/InputDispatcher( 2200): Dropped event because it is stale.

I/InputDispatcher( 2200): Dropped event because it is stale.

I/InputDispatcher( 2200): Dropped event because it is stale.

.........
[Galaxy S II Original Android Development] good8life:
Master problem help

This app detect problem build
[Galaxy S II Original Android Development] Pissa:
I have problems with eBay app.

If I try to install it, I often receive -504 error.

Sometimes I succeed to install it, but when starting it immediately crash.

I tried different nightlies, always the same.

It's the only app with this problem.

It's a problem of my phone or it happens to somebody else?!
[Galaxy S II Original Android Development] LeBourrin:
Kernel maker gsstudios already answer this : There is no worry about this vunerabilities.

---------- Post added at 03:52 PM ---------- Previous post was at 03:48 PM ----------

I don't have this problem. I've downloaded eBay and the app run well.
[Galaxy S II Original Android Development] Pissa:
Thanks, I was quite sure it could be a problem of my phone.... :crying:

I'm scared I have to do a clean flash, not a dirty one....
[Galaxy S II Original Android Development] good8life:
finish 5.1.1

My friends , I go to 6.0 Android.

http://xdaforums.com/galaxy-s2/development-derivatives/rom-slimrom-marshmallow-alpha1-t3248056/post63805377#post63805377

ROM:

Alpha#3 (12-03-2015)

Android Marshmallow - Revision 5

Added CM's Eleven Music Player

Added SimpleExplorer

Fixed Soft-Reboots - Mali Blobs related

Fixed WiFi

Hell lot of changes, cannot even put them here. Check my Git.
[Galaxy S II Original Android Development] n3m3sis:
I update the nightly's every day or every two days maximum. I have really only one gripe with which is really an excellent rom, namely the sound volume. I have noticed that my incoming sound has got really quiet so that sometimes I can hardly hear what the incoming caller is saying, though generally they can hear me well. Is this rom related do you think or is it that my S2 has really seen better days and needs to go to the great old device paradise in the sky? :(

**Update** I have found a solution to this problem which it seems a many i9100 owners have. I do not have other roms to test it on, only LA's 12.1 nightly so far.

Also solution is rough round the edges and settings need refinement BUT the settings remain even after reboot, unlike alterations to the service menu audio, which reset.

Mount system R/W.

Navigate to device folders.

Open "etc" folder.

Open "tinyalsa-audio.xml" file with editor

There are a number of values there that are set very low.

Try raising them in increments of 5 or 10, all except the ones that are "0"

as that is an off state (I think).

You can also change the gain on the microphone from "2" to "3"

Save and reboot and you will have a louder phone where the settings stick.

I still have to experiment for an ideal but when I have it I am going to

copy it out to my sd card for re-installation when I upgrade the nightly.

It would be interesting to know if this works on rooted stock or other roms as

from reading here, this low problem volume has been a problem for us humble i1900 users.
[Galaxy S II Original Android Development] kudos1uk:
You forgot to quote the most important line directly below your quote:

"Still a lot to fix, a lot to make this ROM stable as a "daily driver"."
[Galaxy S II Original Android Development] good8life:
Now, from this 6.0 working all my apps : Skype, swape keyboard, Google press & more. Just you tube not watch videos - no problem. I happy try New Android
[Galaxy S II Original Android Development] zeitferne:
I can recommend increasing the DAC (= Digital->Analog Converter) value. Compared to other values I tested that leads to relatively little loss in audio quality (like no distortion or louder static noise; if you are annoyed by the latter with your headphones, you can also set HP gain to zero).

EDIT: Also, with AlsaMixer, you can experiment quickly by seeing the bounds of all settings and changing them without rebooting. For permanent changes that survive reboots, your method is still the only one I know, however.
[Galaxy S II Original Android Development] lukss12:
I can confirm phone goes into 150 MHZ(cpu0), cpu1 idle, after a freeze and start soft reboot at a very low speed. Will upload kmsg if I find something interesting.

Edit: Log looks normal until this

<4>[ 1168.600287] c0 charger: [1168600] rebooting
<6>[ 1168.600763] c0 SysRq : Emergency Remount R/O
<4>[ 1168.600938] c0 Emergency Remount complete
<0>[ 1168.602398] c0 (sec_debug_set_upload_magic) 0
<6>[ 1168.605674] c0 REBOOT Notifier for CPUFREQ
<6>[ 1168.606357] c0 REBOOT Notifier for BUSFREQ
<3>[ 1168.606385] c0 hotplug_reboot_notifier_call: disabling pm hotplug
<6>[ 1168.606488] c0 mif: xmm6260_off: xmm6260_off()
<6>[ 1168.606974] c0 mc1n2_i2c_shutdown
<7>[ 1168.607761] c0 pmu_debug: 0x00000901
<6>[ 1168.617784] c0 mc1n2_i2c_shutdown done
<6>[ 1168.617817] c0 max8997-muic max8997-muic: max8997_muic_shutdown: JIGSet: auto detection
<6>[ 1168.618236] c0 max8997-rtc max8997-rtc: max8997_rtc_enable_wtsr: disable WTSR
<6>[ 1168.640244] c0 max8997_rtc_shutdown: WTSR_SMPL reg(0x80)
<6>[ 1168.640275] c0 max8997_rtc_shutdown: success to disable WTSR
<6>[ 1168.640364] c0 k3dh_shutdown: is called.
<6>[ 1168.640554] c0 pn544_shutdown
<6>[ 1168.641561] c0 sdhci_shutdown_host : MMC Card OFF
<4>[ 1168.641694] c0 Disabling non-boot CPUs ...
<0>[ 1168.641718] c0 Restarting system.
<0>[ 1168.641787] c0 sec_reboot (104, (null))

... and maybe it's normal too.

No OOM message. Anyone knows what is "<6>[ 1168.600763] c0 SysRq : Emergency Remount R/O" ? I think it's triggering the soft reboot after the freeze.

SysRq triggered from here: Watchdog.java I was confused option 'u' for SysRq to do Emergency Remount not being set there - Who is setting 'u' to "/proc/sysrq-trigger" to trigger ER?

Uploaded last_kmsg and kmsg for anyone who wants to look.
[Galaxy S II Original Android Development] deyan:
I was having constant freezes with every ROM I installed for the past few months along with irregular battery behavior (after restart battery dropped to half or even less).

I decided to change the battery which was 3 years old and now I am having no freezes! The phone might be slow often enough but has no freezes and non responding situations
[Galaxy S II Original Android Development] Andrea900:
I've got a brand new Anker battery, i'm experiencing the same freezes... It's not a battery related problem...
[Galaxy S II Original Android Development] bixi:
Hi everybody, yesterday i flashed the snapshot, everything is good for me, except a problem with the notification of whatsapp...if I don't use the phone for some minutes and he is connect to the wifi the notification dosen't work anymore and if I open whatsapp i recive all the message. How can I solve this problem?
[Galaxy S II Original Android Development] cdrivex4:
Anyone having acceleration (g) in gps status wildly fluctuate between 0.98-1.03 as in picture, even when stationary...

Checked using elixir also noticed similar for sensors
[Galaxy S II Original Android Development] LeBourrin:
I've tested it with GPS Status and acceleration stay at 0.00 when stationary.
[Galaxy S II Original Android Development] lurker316:
After updating to the 5.1.1 Snapshot from the 4.4.4 snapshot I cannot get a GPS lock. Cannot even see more than 1 GPS satellite in GPS Status.
[Galaxy S II Original Android Development] DevisG79:
I had this problems too till a month ago. But now it works. I have tested it several times and GPS works fast.
[Galaxy S II Original Android Development] chrisXL:
Did you tried to change gps.conf file? For info search for "AGPS patch halaxy s2" thread. Hope it help you.
[Galaxy S II Original Android Development] lurker316:
Been trying to overwrite gps.conf in the System/etc folder but it says its read only. Even though I've mounted it as RW... hmm.. Tried the app that does this mounting thing as well, still the same result.

EDIT: Nevermind. I managed to Overwrite the gps.conf with the new one. Rebooting Phone now. Let's see.

---------- Post added at 06:08 PM ---------- Previous post was at 05:54 PM ----------

Nope. No Go here. Still cannot get GPS Lock. The max satellites I ever saw on GPS Status were 2 tops. And those were also really grayed out. When I was on 4.4.4 Kitkat snapshot, GPS used to connect pretty fast.
[Galaxy S II Original Android Development] bixi:
Sorry I have a question, how can i install better battery stats on this rom?
[Galaxy S II Original Android Development] cdrivex4:
Silly thing which am still not sure about but, have noticed a Google drive window come up lately on some apps installing/uninstalling, wondering if it's backup transport restoring your previous data. You tried force close n clear data? Oddly seemed to get me out of earlier issue I posted about, I also have the malifix kernel on top of the current ROM not touched GPS.conf.
[Galaxy S II Original Android Development] akiwiz:
Just install it twice then it works as a system app
[Galaxy S II Original Android Development] bixi:
With the apk or with the zip for the recovery?
[Galaxy S II Original Android Development] Giobio:
Hi to all,

I've accidently erased my sd card and so, lost all files inside.

Where can I find the last twrp Lysergic's recovery? In the OP is not present.

Thanks
[Galaxy S II Original Android Development] DevisG79:
On the first site of this threat.

Look for the word "this"
[Galaxy S II Original Android Development] Duron23:
Gyroscope is not working in CM 12.1 on Mi4 Indian version.
[Galaxy S II Original Android Development] lukss12:
Gyro working on S2, so no CM problem. Look for Mi4 CM 12.1 thread.
[Galaxy S II Original Android Development] akiwiz:
Install apk once then reboot then install again