yashsingh1/xdaforums huggingface dataset:
[Galaxy S II Original Android Development] Thindboy:
Hi,

Will there be a 12.1 Snapshot / Milestone Release?

I usually don't flash nightlies.

Regards
[Galaxy S II Original Android Development] cauch_y:
It was a subject of discussion couple pages ago. Searching doesn't hurt
[Galaxy S II Original Android Development] Fr4nz83:
Current nightly releases are impressively stable and performant, except for a bug which causes occasional random reboot/freezes. I suppose a milestone won't be released until this will be fixed, however you can safely flash the current nightlies.
[Galaxy S II Original Android Development] Thindboy:
Thanks for the reply!

So there will be a milestone release.

Releases marked as stable are not being uploaded anymore in the cyanogenmod repositories. That is why i thought that Milestones are now history also.

I want to flash the milestone release on my father's GS2. As he is not a techie person, the rom on his smartphone needs to be rock stable because he can't cope with issues.

Right now he is on the last KitKat milestone release.

I will wait for the next Milestone.

Thank You Lysergic Acid for your efforts :)
[Galaxy S II Original Android Development] ringen00:
Since I use LA's TWRP kernel instead of Gustavo's the reboots seem to be gone...the newer nightlies too of course :)
[Galaxy S II Original Android Development] GreekDragon:
did you said about our IQ is low as users on this forum? noone will help you with this attitude.
[Galaxy S II Original Android Development] Weib67:
Hi,

Just noticed that: changlog

[MENTION=6159291]Lysergic Acid[/MENTION] I don't understand the description very well, but can it be useful for us ? Along the kmemleak tool maybe ? :)

ChrisXL was replying to tuxfusion, a guy smarter than all of us combined. :D Too bad he didn't know that he could have saved his device by flashing a stock rom. Sorry for his loss !
[Galaxy S II Original Android Development] chrisXL:
No, you don't understand me. See post 2048. I have no doubt about the strength of forums.
[Galaxy S II Original Android Development] GreekDragon:
oooooh, forgive me, [MENTION=5565621]tuxfusion[/MENTION] your worst move is to repartitition, now you killed the partitions from yours errors when you PITed it:(
[Galaxy S II Original Android Development] cdrivex4:
Ya know I think that might have just done the trick, fb works phone is smooth.. (Might actually let it go up to 1.2ghz) Well after the obligatory crunching of rebuilding apps etc. Also due to a stupid attempt to integrate updates into from which fubar'd play store I did a clean install from 19/10 then update to 22/10. Only GPS is still intermittently working and my tracks seems to give a black screen after I've swapped back to it from something else. An I normally have issues because have too many apps.

Nice work.

Nope...I just broke it.. Got to ~20mb ram free, resumed dungeon keeper and almost froze but instead restarted.
[Galaxy S II Original Android Development] holimon82:
On latest build Live display is not working.

Also, if i put headphones and i remove it i cannot hear anything on speakers until i restart it.
[Galaxy S II Original Android Development] Lysergic Acid:
All I got from kmemleak are mali/ump leaks and sometimes a reference to iptables appear too. They're never bigger than 16kb so it shouldn't freeze the whole device. I tried to debug apps with 100+ commands per second but apparently my device is rock solid debugging like that, I get OOMs but not a single freeze. Well, surely the tool can help, everything is worth trying now.
[Galaxy S II Original Android Development] chrisXL:
Did you format all partitions after re-pit?
[Galaxy S II Original Android Development] Hyflex:
Yes, on both devices.
[Galaxy S II Original Android Development] LeBourrin:
Hi,

I've update to 10-22-2015 build yesterday and I tested for you plug-in the headphones and removed it. No problem. I still get sounds. Maybe you need to clean some cache.

I'm on stock kernel.

This is the only mistake I saw. Because when I formated internal with Windows my phone became unstable. But it not produce connectivity problems.

Otherwise look at the IMIE? If it's different from your phone label, you have a ESF partition problem and a clean flash may fix it.
[Galaxy S II Original Android Development] zeitferne:
Have you tried running the screenrecord terminal program?

That could very well be the same bug.

EDIT: Also, as I understand it, memory leaked from the kernel is never reclaimed until reboot, so even occasional 16kB leaks will set an upper limit for our device's uptime. ;)
[Galaxy S II Original Android Development] Hyflex:
Formatting that partition via Terminal / Shell or via TWRP/CWM means I am unable to use the internal SD partition. Look at all of the PIT threads, originally posted by dorimanx they tell you to connect to PC, mount it and format via windows.

I don't have the original case so I can't compare to the phone label, I've already tried multiple clean flashes including pit files. The IMEI number is unknown on CM 12.1 but as soon as I reflash back to stock the IMEI returns and I can make calls fine.
[Galaxy S II Original Android Development] Fr4nz83:
[MENTION=6159291]Lysergic Acid[/MENTION] Those Mali leaks are interesting...usually (means 90% of times) I get freezes/reboots when I watch videos in Chrome.

---------- Post added at 08:26 AM ---------- Previous post was at 08:24 AM ----------

Unfortunately occasional freezes/reboots are still present, even with TWRP kernel.
[Galaxy S II Original Android Development] ran000:
Interesting. Any info for 16G, please?

http://android60marshmallow.xyz/download-android-6-0-marshmallow-for-samsung-i9100-galaxy-s-ii-32gb/
[Galaxy S II Original Android Development] Drx86:
It's a scam... :silly:
[Galaxy S II Original Android Development] Lysergic Acid:
I'll try that command while monitoring the system to see what happens. This can also be caused by our faulty hwc or by the "PIE" thing. I've seen multiple times people advising to use a non-pie allowed linker when using screenrecord apps. I'll also try to mess with mali drivers, if I somehow fix the memory leaks then we can test if they are or not the freeze bug root.
[Galaxy S II Original Android Development] Weib67:
Sounds awesome LA, thanks. :)

I also use a non-pie allowed linker for screenrecording. After every flash (clean or dirty), I stay a few days with stock linker to see if stability has improved. But for the moment, it doesn't seem to have an impact on stability (neither good of bad), so eventually I put back the modified linker.

I do have quite a few freezes in youtube app from time to time. Don't know if it's mali driver related, but it happens.

About TWRP recovery: Does the last one revert zram when applied ?

Thanks. :)
[Galaxy S II Original Android Development] matee89:
My freezes occurs mostly while using viber, but as well while using YouTube app (as mentioned above), watching videos (could be GPU related issue?). Before the freeze appears, system input becomes very laggy to the point of complete feeeze, where I have to hard reboot. Intressted in any logs LA? I want to help out to sort out the root cause of this issue as well :)
[Galaxy S II Original Android Development] pilgrim011:
Has anyone tried to test if the freezes occur with Pegasusq governer? I'm asking because currently I'm using a ROM that comes with the Pegasusq as default and there are no freezes at all. The developer claims that Pegasusq is the key...
[Galaxy S II Original Android Development] Andrea900:
Sadly, it's a bull****. I'm always on Pegasusq governor and there are few frezees yet. Uptime is oscillating between 15h/4d (usually over 48h).
[Galaxy S II Original Android Development] vdZERO:
I switched to ondemand and now I have fewer freezes.

But something is really weird about the battery. I get decent standby times but when I use programs, the battery just melts. The strange thing is when I plugged to recharge, it reaches 100% way to quickly, below 20 min which is nice but not normal.
[Galaxy S II Original Android Development] lukss12:
Possibly the battery is going to pass away soon.

:D
[Galaxy S II Original Android Development] deyan:
How do you change the governor? There is no performance menu in settings
[Galaxy S II Original Android Development] Weib67:
Kernel Adiutor is a good tool for that.

However, I already had a freeze with Pegasusq gouvernor.

Edit: Ok, so now I’m sure: Pegasusq, with or without sio scheduler, is not the solution.
[Galaxy S II Original Android Development] Fr4nz83:
Indeed; moreover, governors are basically already accessible, although they're less and are named differently, under the battery menu (profiles are saving/balanced/performance).
[Galaxy S II Original Android Development] peetu20:
I have i9100 nowadays. Im looking for something better than stock rom.

This rom looks like perfect, but there are freezes and reboots, how often people on average has these problems? I would need something near stable, as I am planning to use my GS2 as a daily driver. :)
[Galaxy S II Original Android Development] Weib67:
On my daily S2, heavy usage and xposed framework, I would say that I can go 2 days on average. Sometimes, it can even freeze 2 or 3 times in the same day, but it’s rare.

On my other S2, with limited usage, it usually goes 4 or 5 days without issue.

Overall, it will depend on your utilisation. The heavier it is, the more likely you’ll get freezes.

Otherwise, the rom itself is really good, really. But you can’t fully trust you phone, which can be frustrating.

So, depending on your definition of "near stable", you definitely can give it a try.

LA is doing his best for fixing this freeze issue, and hopefully he’ll succeed soon. :)

About that.. the more I clear recent apps, the more likely the phone will freeze within the following few hours. It’s maybe only a placebo effect, but still... :silly:
[Galaxy S II Original Android Development] FrodgE:
No doubt a dumb question, but how can I do this ? I tried running "swapoff" in a terminal... and then it became obvious I didn't know what I was doing ! Regardless I expect a terminal command will be temporary, is there a more permanent way ? Everything seems to be running horrendously slow and laggy since this change, but perhaps it's just a coincidence ?

edit: ok I figured out a bit more but the phone is in la la land so I'll need to try again after a reboot

root@GT-I9100:/ # cat /proc/swaps

Filename Type Size Used Priority

/dev/block/zram0 partition 262140 262140 -1

root@GT-I9100:/ # swapoff /dev/block/zram0

---------- Post added at 12:07 AM ---------- Previous post was at 12:00 AM ----------

From what I skim read about kmemleak I assume you built a test kernel for debugging ? Would it be worth making this available so we can try it on our devices with our varying configurations ?
[Galaxy S II Original Android Development] Spyr0s:
There is a bug in restoring backups from google servers in latest nightlies. There is no way i can restore my wifi passwords after a clean install, all other like settings, wallpaper, google launcher layout are being restored except the most crucial thing...the wifi passwords.

I've tried everything, from choosing from different backups during initial setup to manually forcing restore wifi passwords and all settings but nothing worked. The odd is that even the bmgr command has no effect at all.

These are my backupsets in google servers

bmgr list sets

bmgr list sets

XXXXXXXX9c79c9 : GT-I9100

XXXXXXXX4db16b : GT-I9100

XXXXXXXX4dad1 : Nexus 7

i've tried all three backups with no luck, tried only the wifi passwords restore

eg

root@GT-I9100:/ # bmgr restore XXXXXXXX4db16b com.android.providers.settings

bmgr run

and the result was only a brief wifi on-off with no passwords restore

and also tried the whole restore

bmgr restore XXXXXXXX4db16b

bmgr run

where everything worked except the wifi passowrds restoration...

Something clearly is broken there and i just lost more than 200 passwords...:crying:
[Galaxy S II Original Android Development] pilgrim011:
Well, it was a workaround that works on Slim based roms, so it was a long shot...
[Galaxy S II Original Android Development] Weib67:
Yeah, and thanks for sharing. :)

Unfortunately, that didn't do the trick, but everything is worth trying, as LA said.

Good to know as well that some LP roms are freezeless.. I honestly prefere CM 12.1 when it comes to custom rom, but I'll probably have to try something else soon untill the bug is fixed.

[MENTION=3735978]Spyr0s[/MENTION] You should restore a previous nandroid backup. Then use any app on the playstore capable of dealing with wifi passwords, and you should be fine.:)
[Galaxy S II Original Android Development] Spyr0s:
no nandroid with CM recovery...flash another kernel? then i will not be on stock cm12.1...

you see when stock functions are not working, then the one thing brings the other thing and you end up with something different that the developer has given to you.
[Galaxy S II Original Android Development] Weib67:
You see, our beloved developper has given us TWRP. Yeah, reading the OP might be useful sometimes. :)
[Galaxy S II Original Android Development] Lysergic Acid:
The thing is, the kmemleak enabled kernel is painfully slow, no point to release it unless some of you wanna dedicate your patience to use a laggy kernel for hours until you get a freeze and then be able to read the kmemleak log from adb when that happens.
[Galaxy S II Original Android Development] Weib67:
I would without a doubt. :cowboy:

I can put my sim card in my second phone for a while, so no problem.

Really, anything that can help, don't hesitate. :)
[Galaxy S II Original Android Development] matee89:
Well, if that can help you out identifying the bug, I could give it a try and provide necessary logs, even if it's slow.
[Galaxy S II Original Android Development] FrodgE:
That's fine. I can easily revert the kernel if I'm not as patient as I'd like to pretend I am ! I should have plenty of opportunity to try and grab some logs next week. Happy to help where possible.
[Galaxy S II Original Android Development] good8life:
l have night 23.10

No freeze, no restart, but same time slowly working programs : keep, uc browser, Google press , swap+Dragon

I make before fill wipe.

Good rom.

Regards for master

P.S. I'm wait 6.0 rom from this master.
[Galaxy S II Original Android Development] FiSh-MoB:
i came from 20151013

two days ago i dirty flashed 20151025 -> bootloop

-> after i flashed gsstudios dorimanx b12, cm12.1 comes up.

today i dirty flashed 20151027 -> bootloop

-> after i flashed twrp kernel (1009) from startpost, cm12.1 comes up.

i got a problem to start actual builds with stock kernel. last known working version for me was 20151013 with stock kernel. (and yes, i wipe alle caches after flashing)
[Galaxy S II Original Android Development] aleMarvel:
i have volume very low.. how can i boost volume of speaker ?

i have xposed too..
[Galaxy S II Original Android Development] cherryb8844:
Use alsamixer that will boost the volume but I warn you do not use maximum over number 25 that will broke your speaker
[Galaxy S II Original Android Development] aleMarvel:
tx but i would like for xposed.. alsamixer don'ts save setting when reboot
[Galaxy S II Original Android Development] makix13:
And viper4android?

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] zeitferne:
You can use AlsaMixer to discover the settings and then make them permanent (at least until you flash a newer CM version) by manually editing /system/etc/tinyalsa-audio.xml (you need to enable root and then run

su
mount -oremount,rw /system

in the Android Terminal Emulator or an adb shell in order to be able to edit files in /system).
[Galaxy S II Original Android Development] Forsquall:
Now that everything is nice and stable, would it be difficult to add AdvancedDisplay.apk to the Display menu?
[Galaxy S II Original Android Development] clock51:
I'm having trouble with the camera, 1 or 2 days after crashes, I changed camera app with SnapCamera, but the problem is the same. tips or suggestions to solve. thank you
[Galaxy S II Original Android Development] Ponsel:
Just a short question.

If ilook under::

Settings --> Apps --> RUNNING

there is a bar representing the devices memory.

Can someone tell me why the memory for system is slowly rising? It's not obvious at a short glance, but if you let you phone lay around for half a day you'll see what I mean.
[Galaxy S II Original Android Development] Fr4nz83:
I suppose that some apps/services (even those you didn't execute on purpose) remain inactive in memory so that they can be quickly executed again when needed.

---------- Post added at 06:42 PM ---------- Previous post was at 06:41 PM ----------

It's not clear what is your problem with the cameras...here they are working flawlessly.
[Galaxy S II Original Android Development] pfidalgo:
I am having trouble with bluetooth connected to my car. During a call it drops the connection and the phone reboots. After the reboot in a new call the phone reboots again. This only happens with the bluetooth on.

Any hint?
[Galaxy S II Original Android Development] Stoku:
Hey [MENTION=6159291]Lysergic Acid[/MENTION]

If it help you, the freezes often occurs on playing long YouTube videos with stock browser open (im sometimes multitasking between Og YouTube - which play videos in the background - and stock browser+taichi Panda game). It's my fastest way to reproduce this and multitasking is really needed.

Overall, your lollipop is smoothlier and more stable than old KK roms before Lanchon's and zeitferne's fp bug fixes. I don't even need my pretty fast PC anymore :)

I'm on Markox89 builds with xposed, so dunno if I can say a word here, but as far as I know it happens on every cm12.1 builds and I want to help as much as I can, cause It's the last thing "to do" in lollipop on our's oldie.

And congrats for joining recognized developers, you deserve it for your work on i9100 where you are recognized by everyone :)
[Galaxy S II Original Android Development] chrisXL:
Dirty flash? No problem here.
[Galaxy S II Original Android Development] pfidalgo:
No, I've upgraded from the KitKat versions to this one using the instructions in "First time installation instructions".
[Galaxy S II Original Android Development] LeBourrin:
I would like to tell you about my last freeze. It happened while the screen is off and I was listening to my MP3 in internal memory with Google Play Music. The sound began to jerk and then stopped. I could not turn on the screen.

This makes me think that maybe it is not a memory problem. We often talk about freezes caused by heavy apps like the browser or games. But there I am sure that the memory was not full. And it’s not a SOD because it wasn’t in Deep Sleep.

Unfortunately I do not have logcat. This is just to make my contribution.

Note: I often listen to music with my S2 but it’s the first time it freezes during Google Play Music since I’m on CM12.1.
[Galaxy S II Original Android Development] zeitferne:
Sound/video beginning to jerk before the freeze is typical for my YT-freezes as well.
[Galaxy S II Original Android Development] d_j_l:
Could the freeze relate to the aging battery (trouble to read the status of battery)? After reboot from the freeze, I usually saw the battery dropped dramatically, like from 75% to 15%. Just my 2 cents.
[Galaxy S II Original Android Development] Kurt Krummbein:
I guess, this is just because the "freeze" is not freezing/stopping the cpu ... it's makeing it 100% busy, so the device cannot react on user actions anymore. 100% cpu means 0% sleep means battery drain ;).

Cheers

Kurt
[Galaxy S II Original Android Development] zeitferne:
Yes that would be the obvious explanation and it's probably true. However, I once (CM11) played around with incorporating the newer WiFi driver from the Apolo kernel (because I wanted to use an ad hoc network) and afterwards I consistently had freezes after prolonged YouTube use. However, these were not quite the same freezes as now as after a while the device started to soft-reboot (showing a stuttering CM11 boot animation). I managed to start an adb shell on the phone from my notebook and found the CPU frequency (IIRC over some file in /sys/devices/system/cpu/cpu0/cpufreq/) to be 100Mhz, even though the minimum frequency was 200Mhz.
[Galaxy S II Original Android Development] clock51:
I'll explain, with any app camera: Snap Room, Camera V5, Camera MX, Ucam, and also to the camera by default, after a day of work well then get stuck and I can not take pictures or video, I have to restart the phone and work but then after a few hours returns the blocking problem
[Galaxy S II Original Android Development] Fr4nz83:
I think the freeze and the battery percentage issues are quite unrelated; in fact, sometimes I rebooted for other reasons the phone and after the reboot I saw that the % of charge had dropped dramatically; sometimes this happens also when the phone freezes and I force a reboot.

On the other hand, sometimes I had a reboot (or had to force a reboot after a freeze) and after the rebooting the % of charge remained consistent.
[Galaxy S II Original Android Development] Stoku:
You've got a point! I don't remember if I got any freeze on mobile data - hours of YouTubing, browsing, gaming, multitasking - and most of them came at home on WiFi with same usage. From now I'll keep an eye on connection :)
[Galaxy S II Original Android Development] vdZERO:
Today my phone shutdown while charging with screen off and no apps running.
[Galaxy S II Original Android Development] LeBourrin:
No. I'm sure the freezes are not related to aging battery because my battery is approximately 1 year old because my original one died.
[Galaxy S II Original Android Development] Lysergic Acid:
I don't care about other kernels or xposed being talked here, I just don't give official support for it. After all I'm a long time user of [MENTION=1597520]Markox89[/MENTION] and [MENTION=1077833]infected_[/MENTION] work. Thanks for the tip ;)

I got some info on some kernel.org patches that I want to try, I need to test if older mali drivers make any difference on memory leaks too and I need to figure out a more dev-friendly explanation on what's causing that bug too. If I try all that and end with no idea what to do I'll release a zip with a kmemleak enabled kernel for you guys try to help :D
[Galaxy S II Original Android Development] Boolian:
I had a good one yesterday: after the usual video slowdown/freeze the system rebooted. However, this time the cyanogen boot logo ran very slow and sticky. It had so much trouble animating, I had to put it out it's misery and hard shutdown whilst it was attempting to boot :) Interesting in that I've never seen a boot sequence in trouble (other than standard bootlooping due to wrong kernel etc) That pretty much points to the problem lying deeper and earlier than I thought. This was with Lanchons Trim Kernel, and 25/10/2015 Nightly
[Galaxy S II Original Android Development] the.gangster:
I've seen the same with stock kernel, still being on nightly 20151024.
[Galaxy S II Original Android Development] Boolian:
Had a poke around and I'm seeing a lot of internal data buffer leak errors for Google (play store?) com.google.android.gms.common.data.dataholder. XXX If memory serves was this not similar to what was seen with the original music-bug leaks? Also, Lanchon Trim Kernel uses Mali r3p2 libs (I think) - what'sthe Stock kernel using? I can't be arsed flashing to check :)
[Galaxy S II Original Android Development] SaZoN:
Hey [MENTION=6159291]Lysergic Acid[/MENTION]! I am yesterday use (for test) https://www.google.com/android/devicemanager and I noticed that formatting the sd and ext-sd card doesn't work. After factory reset apps clear, account clear - but all photos and other data on cards are not deleted. Than I tried to do reset from phone settings - formatting the card also fails. I think this is a big problem for security.
[Galaxy S II Original Android Development] Lysergic Acid:
Wow, I wonder why. I'm gonna try this to see what happens, shouldn't be hard to fix that.