yashsingh1/xdaforums huggingface dataset:
[Galaxy S II Original Android Development] BenjyTec:
I can't say for sure that the sensitive keys are working along side the onscreen buttons, because both of my S2 are broken. But at least I can say that the Home button still works, so it seems to be likely that the sensitive keys will do so, too. And yes, there's only one available size, which is quite big in my opinion, as you can see in the attachement...
[Galaxy S II Original Android Development] kudos1uk:
Thanks for that, it's only the home button I like to avoid pressing anyway. I have been using an app that gives a floating home button.
[Galaxy S II Original Android Development] the.gangster:
You have to, if you like to switch to that. But don't cry if you realize then, that there are no nightly updates to it. Know that these are different tracks. LA just explained that some posts ago.
[Galaxy S II Original Android Development] marzametal:
Not sure if this has been touched on yet, if it has I am sorry for duplicating posts.

I recently came across an issue where gesture strokes were not popping up on my screen, even though gesture was enabled via settings. Some research brought me up to speed on the issue of a missing library file. Once I copied that file over to /system/lib/, set appropriate permissions (-rw-r-r-) and rebooted, the strokes were visible.

Here are the sites that provided me with this lil' gem...

OnePlus Forum thread

Ruben Alamina

Note: this file will have to be copied over and permissions modified each and every time you flash a new build...
[Galaxy S II Original Android Development] :
How can I set the ZRAM?
[Galaxy S II Original Android Development] ringen00:
I summarize shortly:

From now on a snapshot (separate branch) exists which has to be flashed manually.

- Which branch is recommended, snapshot or nightly, and why?
[Galaxy S II Original Android Development] Saber:
Choose whichever branch you think is best. Snapshots are generally more stable. Nighties will have bug fixes and improvements first. Judging by the stability of the rom, either option is fine, although staying on nighties will definitely bring benefits for all users here first.
[Galaxy S II Original Android Development] cherryb8844:
That will come enable by default :)

And download kernel auditor from play store for see status of zram :p
[Galaxy S II Original Android Development] khal_nayak:
use this app called kernel auditor, it will allow to set many things
[Galaxy S II Original Android Development] LeBourrin:
I've installed "VTS for Android" on my S2. I've got only 2 vunerabilities :

- CVE-2013-6282

- CVE-2015-3636

I'm on stock kernel and 2015-10-22 nighly.
[Galaxy S II Original Android Development] Loc2262:
Thanks! That's the two vulns I'm getting too. So it's indeed a kernel issue and not specific to my device. I meanwhile temporarily installed the DorimanX kernel for a quick test, and that one has other vulns. :)
[Galaxy S II Original Android Development] khal_nayak:
one issue i noticed was in spite of all the animations set to 0 in developer options, the dialer and few other locations still animate, probably if we disable all animations then we might get rid of the mali leaks, just my 2 cents
[Galaxy S II Original Android Development] ajislav:
Can you format userdata under CM recovery in the snapshot build? What about the latest nightlies?
[Galaxy S II Original Android Development] lukss12:
Hey [MENTION=6159291]Lysergic Acid[/MENTION] I found something strange. When using DPI 180, if you play some music and AudioFX tile is active on your control area when you slide down to it UI lags like hell. When setting another greater or smaller DPI this is not happening. Please take a look at it if you have the time.

P.S: logs are saying something about Coreographer skipping frames.
[Galaxy S II Original Android Development] :
How much ZRAM you suggest? Now I'm on 300MB
[Galaxy S II Original Android Development] Andrea900:
256
[Galaxy S II Original Android Development] MikiGry:
As far i i know , default is 300
[Galaxy S II Original Android Development] the.gangster:
I never changed it and diskinfo reports 256MB
[Galaxy S II Original Android Development] Saber:
Guys, you really shouldn't really need to worry much about these vulnerabilities. A fix may never be merged to fix them, and they aren't very common exploits in the android world. So I wouldn't really trust these apps too much since they are not too important.

Regards, gsstudios

---------- Post added at 10:51 AM ---------- Previous post was at 10:48 AM ----------

I doubt it, you will get them in apps most of the time, so it can't be simply solved with switching something on or off.
[Galaxy S II Original Android Development] Loc2262:
Thanks for your reassurance gsstudios! :)

Actually I'm not that worried about those two specific CVEs themselves, since they are privilege escalations and as you say not that common.

The reason why I asked here was the fact that the latest CM had those vulns on the SGS2, while it doesn't on the Nexus 7. Considering I found that CM tries very hard to fix known vulns quickly, I was a bit surprised about that.

As for "not trusting these apps": I think we shouldn't generalize this. The one I mentioned e.g. also tests for Stagefright, which I do consider a major vuln. I suppose one must interpret the results properly and decide which reported vulns are serious and which aren't.
[Galaxy S II Original Android Development] khal_nayak:
there is some info here, they managed to fix it so probably it can help because the rom is stable and works all good but this random crashes r a nuisance

http://xdaforums.com/showthread.php?t=2338761
[Galaxy S II Original Android Development] Weib67:
Hi,

Why would you quote gsstudios' post ? He was talking aboult the vulnerabilities, which has nothing to do with crashes.

Plus, the link has already been posted less than a week ago.

So, no offence, but do you even read before posting ? :D

Anyway, back to the rom.. I'm looking forward for what LA has to say about keeping Nightlies or going Snapshot.

And thumbs up for an updated recovery soon .:good:
[Galaxy S II Original Android Development] fubo73:
Installed official CM snapshot over latest Markox89 release. Everything seems ok but theme manager, that crashes every time I try to start it.
[Galaxy S II Original Android Development] khal_nayak:
oh yes, i just realized that, i guess by error
[Galaxy S II Original Android Development] kudos1uk:
LOL, the irony, he already replied to nightly/snapshot rom's and recovery, you need to read back a page or two.
[Galaxy S II Original Android Development] Weib67:
Nop. :rolleyes:

Here is LA's last post., and here's mine..

As you see, I'm talking about LA answer/point of view. I know other people answered.

And I wasn't asking for the recovery, but saying that it's cool that it is scheduled soon.

Anyway...
[Galaxy S II Original Android Development] cherryb8844:
That happens when some theme are not feel comfortable with the theme manager I faced these problems in kitkat try to uninstall all theme that you installed on your drawer then install one by one theme and check which theme is not feel good with theme manager goodluck.
[Galaxy S II Original Android Development] rogers11:
Go to Settings - Apps - All, look for Design-Cache, force stop and delete the apps data and cache. This will fix it (it did at least for me).
[Galaxy S II Original Android Development] fubo73:
Thank you both! First suggestion was not enough, with second I solved!

Sent by my SM-G900F, aka Galaxy S5
[Galaxy S II Original Android Development] goldman11:
I repartitioned my S2 with this and did a completely fresh install of CM12.1, everything seems to work fine so far, ROM feels great except the battery drain but that is understandable.

But I can't seem to be able to send SMS messages they just won't go through at all? I can receive but not send an SMS, I tried other apps but it won't work :confused: , what am I missing?.

thanks anyone that can help.
[Galaxy S II Original Android Development] Thindboy:
Hi,

I just flashed the 12.1 Yoda Snapshot and noticed that i now have Cyanogen Recovery. It is very limited in options.

I would like to replace it with TWRP or CWM? Can i do that or should i leave it as it is?

If I can replace it please link me to the correct Recovery. I couldn't find a TWRP Recovery for i9100 on their respective Site...

Regards.
[Galaxy S II Original Android Development] lukss12:
[MENTION=4476281]Thindboy[/MENTION] read OP, if you have read it, read it again and pay attention after IMPORTANT INFORMATION title. That kernel should work with Snapshot build, I recommend you to wipe cache before booting with new kernel. :thumbup:
[Galaxy S II Original Android Development] Klaus20:
SD Card E:Unknown mtp message type 1

I am still trieing to fix the SD Card.

I can see the SD Card and the Folders in TWRP Recover Menu.

And some of the subfolder are broken like Dir name like !?$§...

When I try to delete the Direktories or to format the whole SD Card i always the same Error message:

***

E:Unknown mtp message type 1

E: rm -rf %sdcard" process end with write error =1

***

It is the second time that my SD Card makes trouble (the first time SANDisk changed the card)

so I try to find out what is wrong and how can I fixed it.

Regards Klaus
[Galaxy S II Original Android Development] the.gangster:
[MENTION=5560426]Klaus20[/MENTION]

After you already failed to format your SD card in Windows 10 with diskpart and get write errors everywhere I guess your card is also damaged.

Otherwise I'd suggested to try to fix the "!?$§..." dirs by running 'chkdsk X: /f' (where X is the volume letter of the SD in the cardreader on your Win10). But I would expect similar errors to occur there, too.

So if you are neither able to delete all partitions and create and format a new one, nor able to format the existing ones (and have the hardware switch for write protection set to unlocked) with a filesystem Win10 can format in such a size of course, then I expect your card should be exchanged again by your dealer.
[Galaxy S II Original Android Development] lukss12:
[MENTION=5560426]Klaus20[/MENTION]

As the.gangster answered you, the problem seems to be the SD card internal hardware. Maybe a defective lot. Btw, you should not ask here about your broken SD, and I'm not telling you this because it's an off-topic. You may found someone who had same problem in another thread more related with your problem.
[Galaxy S II Original Android Development] Lysergic Acid:
I just updated the TWRP + Stock kernel zip in the OP, to save you time the link is: https://www.androidfilehost.com/?fid=24269982087000756

And here's an unofficial build with kmemleak enabled in the kernel: https://www.androidfilehost.com/?fid=24269982087000757

In case you want to debug the so called mali memory leaks, the documentation on how to use is here: https://www.kernel.org/doc/Documentation/kmemleak.txt but keep in mind you need to be good at backtracing, if not the debug info will be pretty much useless. I'll probably just move on to CM13 by now because this issue gets frustrating easily with the lack of information on mali. I've tried everything that was sent to me or I figured out by myself, so unless something else comes up I wont touch this issue on 5.1 anymore, if it happens on 6.0 then I'll work on it in 6.0 ;)
[Galaxy S II Original Android Development] _Atom_:
[MENTION=6159291]Lysergic Acid[/MENTION] you are the best dev ???
[Galaxy S II Original Android Development] the.gangster:
[MENTION=6159291]Lysergic Acid[/MENTION]

Cool, thank you so mich, once more.

I assume you mistyped the TWRP zip though.

Sounds like it was 1 month old named 10-20.

:)

But no problem...
[Galaxy S II Original Android Development] makix13:
Big big thanks Lysergic, you are The Master, long live to you :)

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] xp24002000:
Sorry for my noob question but what design-cache? I don't find it in all apps list. I have the same theme crash. Thanks.
[Galaxy S II Original Android Development] carlosfl8:
I think it's the theme app... / Go to apps - all - themes - clear cache + plus reboot your phone afterwards...
[Galaxy S II Original Android Development] rogers11:
No, there is Designs and Design-Cache (translated).
[Galaxy S II Original Android Development] fubo73:
Should be Design-Speicher in your language.

Sent by my SM-G900F, aka Galaxy S5
[Galaxy S II Original Android Development] rogers11:
I'm able to read my own screenshot. :confused:
[Galaxy S II Original Android Development] fubo73:
I meant that by cleaning data for that and removing any installed themes I got theme app to work again.

Sent by my SM-G900F, aka Galaxy S5
[Galaxy S II Original Android Development] carlosfl8:
Oh, good. . . Here's called Themes-Provider
[Galaxy S II Original Android Development] Lysergic Acid:
Indeed, my mind still is in October :p

My bad guys, it's not old, it's from November 20th.
[Galaxy S II Original Android Development] cherryb8844:
Sorry for OT guys but did someone tried this

http://xdaforums.com/galaxy-s2-plus/themes-apps/theme-materialised-t2933979

:)
[Galaxy S II Original Android Development] Klaus20:
[MENTION=6560258]the.gangster[/MENTION]

You are right even "chkdsk X: /f" is not working.

I cant changed again by my dealer because the card is from 2012.

I am just asking so much because it is the second time that this happens.

I am asking in this threat because it was happend with this ROM and so I was hoping that somebody knows about it.

Regards Klaus
[Galaxy S II Original Android Development] kudos1uk:
When the language is set to English the app is called Themes not Designs.
[Galaxy S II Original Android Development] the.gangster:
[MENTION=5560426]Klaus20[/MENTION]

You can. File a request to SanDisk as they provide a much longer warranty.
[Galaxy S II Original Android Development] zeitferne:
A bit of more new information: The Mali leaks could be false positives. If I clear recent apps, I get a bunch of leaks reported by kmemleak. If I then do a "fast restart" (or is it "quick restart"? My phone is not set to English :) ) the leaks are all gone. Since "fast restart" does not really reboot but only restarts some processes, this definitely means that the kernel was able to free the mali memory.
[Galaxy S II Original Android Development] andrehj:
Big thanks for this updated kernel! :good: But excuse me my NOOB question: How do I install this zip, given the extremely limited functionality of the CM recovery?
[Galaxy S II Original Android Development] carlosfl8:
Hmmm just flash it normally, since it's already signed so can be flashed on CM Recovery
[Galaxy S II Original Android Development] Lysergic Acid:
Just use the update option on the recovery and flash the zip.

Indeed, if the kernel is not restarted and the leaks are gone they're are probably false positives. Do you have any other idea why we get OOM without more memory to free? Maybe a lmk bug
[Galaxy S II Original Android Development] andrehj:
Thanks, but in which folder do I have to put the file so the update option in CM recovery can find it?
[Galaxy S II Original Android Development] fubo73:
Whatever you want. The original recovery is basic but can handle both internal and external cards.

Sent by my SM-G900F, aka Galaxy S5
[Galaxy S II Original Android Development] zeitferne:
No, I have no idea. I am also still puzzled why during the freeze the CPU frequency was displayed as 150 MHz even though 200 MHz should be the minimum (a, b).
[Galaxy S II Original Android Development] lukss12:
May be some directive in the kernel put it in 150MHZ mode when the kernel went out of memmory (could it be possible?) But why it isn't coming back to normal when soft rebooting?
[Galaxy S II Original Android Development] zeitferne:
The funny thing is that 150 MHz is not even in the frequency table (see here). I currently have two hypotheses, but both sound implausible: The kernel might somehow think it should go into a deep sleep state; or it accidentally switches to the 1400 MHz entry which was previously was set as invalid here and then the CPU switches to a very low frequency, as a sort of fallback. I don't think that this is caused by the out of memory situation (could maybe be the other way round or have a common cause).
[Galaxy S II Original Android Development] MikiGry:
[MENTION=5948587]zeitferne[/MENTION]

Deepsleep state is possible. Someone olso reported similar behavoir in DU rom some months ago.
[Galaxy S II Original Android Development] jaswinprakash:
What about cm12.1 snapshot??
[Galaxy S II Original Android Development] lukss12:
It works well and stable. It's good as a daily driver if you're not interested on testing last commits.
[Galaxy S II Original Android Development] rogers11:
Confirmed :)
[Galaxy S II Original Android Development] Weib67:
Please stop saying that it is stable. It won’t be as long as the freeze bug is present.

I use the rom myself as a daily driver, so don’t get me wrong. I also think it works very well, but definitely not stable, sorry.

It’s important to mention, otherwise you guys are just misleading users who really want (or need) a stable build.
[Galaxy S II Original Android Development] lukss12:
I've been using it for a week as daily driver with only one freeze. I feel it more stable than a lot of samsung and lg ROMs considered stable. And also when I said stable referring to a Snapshot build I meant as stable as a snapshot could be. That freeze after a week of using it is the only thing that makes this build a Sanpshot and not a Stable one.

P.S: LA said he is working on CM13 port and he will not try to fix this freezes unless they are present on it(considering the freezes a result of mali memleak bug). So this ROM will not become more stable than it is right now for a while.
[Galaxy S II Original Android Development] daniu:
Hi

My experience: if this cannot be called stable, there is not so much stable software at all. Win 7 is now (more stable than this ROM) but e. g. Win 95 never reached the level of this ROM

..

Regards
[Galaxy S II Original Android Development] rogers11:
Don't try to tell me, what I have to say. It's not common where I live.
[Galaxy S II Original Android Development] jaswinprakash:
I feel too much heat and battery drain while sending large files via WiFi sharing app like xender..is that normal ?? I don't feel it on stock...
[Galaxy S II Original Android Development] Weib67:
This is exactly the reason why we end up calling "stable" anything. If it crashes every few days, it’s not. Words have meaning.

I have got Android devices that can run for months of uptime.

Again, the rom is as great as it has ever been, but not stable. Sorry to annoy some people with this, but it’s a fact.

Of course we still can recommand this rom. But saying that it’s stable isn’t true. :)
[Galaxy S II Original Android Development] lukss12:
It usually heats up when doing processor intensive tasks for a long time. It's normal on CM12 for this phone, don't know about stock. Mine heats up when playing games or using data connection intensively.

---------- Post added at 03:11 PM ---------- Previous post was at 03:06 PM ----------

Stable has became a relative term that's true. But I think it's better let people try and decide by themselves and not scare them. I find it stable for me. :sly:
[Galaxy S II Original Android Development] khal_nayak:
try the settings mentioned here

http://xdaforums.com/showpost.php?p=63783850&postcount=2191
[Galaxy S II Original Android Development] Andrea900:
Let's talking about the memory leak, again...

After 50h+ of uptime, i've seen the first launcher redraw (Nova) with few apps opened in background, like WhatsApp, Telegram, Browser and the XDA app

I've checked the RAM consumption in the App section: it was about 370mb+ related to the system.

So I've decided to perform a quick reboot and here you are the result....

255mb, 120 less than previous.

[MENTION=5948587]zeitferne[/MENTION] [MENTION=6159291]Lysergic Acid[/MENTION]
[Galaxy S II Original Android Development] levio:
Hi, today i've installed the cm snapshot and i found same bugs, can you tell me if you have them too?

-smart call doesn't work in the dialer. It works only in the app message

-in the home menù setting/drawer settings/app settings if i select larger icons on does not get bigger but still small. In the previous build this option works.

have you these bugs too or are only on my device?

thanks
[Galaxy S II Original Android Development] ringen00:
Anyone with recommendations for overclocking?

- kernel

- settings

I'm using the OP TWRP and the latest nightly right now.
[Galaxy S II Original Android Development] Jack122:
View attachment performance.zip

Try dorimanx 11 beta 14. stweaks ftw

My performance profile is using nightmare , zen, 1.4ghz 400gpu. Put it in sdcard0 load performance profile in stweaks and then load the backup.
[Galaxy S II Original Android Development] ringen00:
Any idea how to make a nandroid first? Always fails with TWRP from OP

Sorry! It works!

Must have been one version earlier...

[MENTION=6275127]Jack122[/MENTION]

Are these the correct links?

http://xdaforums.com/showthread.php?t=3145879

http://xdaforums.com/showthread.php?t=

https://www.androidfilehost.com/?w=files&flid=43490

- Which one shall i take? Trim or non-trim?

- Will i still have to use trimmer?

- Stweaks from play store?

- 'ftw'?

- stweaks won't get su rights - no pop-up!

- suddenly lots of fc's

Been flashing this one here and wiped dalvik and cache!

Kernel_Dorimanx-V11.0b014-[09-54]-[22-11]-LP-SGII-GSSTUDIOS-TRIM-signed.zip
[Galaxy S II Original Android Development] Jack122:
Are you sure that you still have root enabled in cm developer options?

I suggest to flash UPDATE-SuperSU-v2.46.zip

You may have to up voltages when you get into stweaks but i dont know.

The Kernel needs more updates, i hope some more people will help gsstudio.

I can play 1 1/2 hearthstone matches with edge before my phone fcs because of too much heat.

Maybe someone with more knowledge than me can tweak my profile more.

Thanks for the rom and kernel and shame on Samsung for not helping custom rom and kernel devs by not releasing source codes. I can not even imagine how much work it took to get this device this far.
[Galaxy S II Original Android Development] ringen00:
[MENTION=6275127]Jack122[/MENTION]

I moved back to TWRP from OP first after all these FC's!

Wiped dalvik and cache...

Now my external SD seems not to get mounted anymore!

Any ideas on that?

Could be that I fixed permissions (which was recommended somewhere) after flashing Dorimanx before...

Windows says I should format the SD card before using it!
[Galaxy S II Original Android Development] Klaus20:
Where can I get "TWRP Recovery v2.8.7.0 IMG" ?
[Galaxy S II Original Android Development] khal_nayak:
when i used to boot directly then i used to get freezes atleast once a day so then i tried boot of phone and then soon a soft reboot and on since then, so far havent got a freeze in 2 days
[Galaxy S II Original Android Development] bixi:
With the snapshot the phone goes in deep sleep when the screen is off? Or stay awake even if the screen is off?

For example in a period of 2 hours without using the phone is there deep sleep or not?

I'm searching a stable rom for daily use this is my main phone
[Galaxy S II Original Android Development] Weib67:
Hi,

Define "stable", and read last few pages. :D

Of course the phone goes into deep sleep. Else, you might have an app that prevent it. Use Amplify/greenify/betterbatterystats to track it.
[Galaxy S II Original Android Development] bixi:
Yes I read something in the previous page...if there is a reboot every 2 3 4 days is not a problem...the important thing for me is that the phone goes in deep sleep...I ask this because for some days I had a resurrection remix with lollipop and there were some kernel wakelock that obstacle the deep sleep...but probably this cyanogenmod hasn't this problem

Inviato dal mio ALCATEL ONE TOUCH 4030D utilizzando Tapatalk
[Galaxy S II Original Android Development] Andrea900:
Deep sleep? For sure!