yashsingh1/xdaforums huggingface dataset:
[Galaxy Ace II Android Development] junnickbefore14:
I don't understand, now I have two networks detected..

LOL
[Galaxy Ace II Android Development] ChronoMonochrome:
It was same for me, partial losses only, but anyway weird. One time home screen wallpaper was resetted to default, and once every text labels in apps were screwed up(randomly missing letters in words).
[Galaxy Ace II Android Development] junnickbefore14:
Really, Chorno, if it's just me..

Or anyone else have the same issue..

I mean the signal bar at the top right, they are twin :D
[Galaxy Ace II Android Development] shaqman89:
Not happening here.
[Galaxy Ace II Android Development] bebolint98:
[MENTION=5695278]ChronoMonochrome[/MENTION] Can I install the fixed r3.9-nodebug?There is no data lost with this version?

Thanks.
[Galaxy Ace II Android Development] shaqman89:
Yes, the current uploaded version seems Okay.

I've been using it for half a day with no issues.

And I have to say it's smooth :)
[Galaxy Ace II Android Development] damian12332146:
I have bootloop after installing r3.9 on omni 5.1.1. Can someone help me?
[Galaxy Ace II Android Development] Ave_Hornet:
[MENTION=6748336]damian12332146[/MENTION]

you mean Sgs A2 logo?

Try this

http://www.mediafire.com/download/w74a7dp1cdji805/chrono_kernel_r3.8.1_OMNI-nodebug_2.zip
[Galaxy Ace II Android Development] damian12332146:
[MENTION=6227052]Ave_Hornet[/MENTION]

No, I mean BOOTLOOP - omnirom's bootlogo. But this version works, so thanks. Do you have r3.9 too?
[Galaxy Ace II Android Development] Ave_Hornet:
[MENTION=6748336]damian12332146[/MENTION]

http://www.mediafire.com/download/j11svjzzdbsddm8/chrono_kernel_r3.9_OMNI-nodebug.zip
[Galaxy Ace II Android Development] Culateralligator:
I've installed r3.9nodebug on ace2nutzer's cm11.

Is it worthless or even a bad idea to enable zram on ChronoKernel Settings app?
[Galaxy Ace II Android Development] ace2nutzer:
yeah zRam is a good idea since this device has very low ram.

How much zram ? i suggest at least 300mb, but probably even 600mb can't hurt.

Running out of memory is not nice ;)
[Galaxy Ace II Android Development] Culateralligator:
Thanks! Obviously I'm not an expert, I'm just trying to learn something.

I've seen ace2nutzer ROM/kernel hasn't a zram file at init.d but zram is working. That was the reason of my question -if r3.9 kernel activates zram in other way different than chronokernel settings app at init.d-.
[Galaxy Ace II Android Development] ace2nutzer:
Yeah, zRam is on my kernel activated in ramdisk .. it's @ 300MB. But i plan to increase it even more.

There is no need for init.d script. (of course only if someone need to change this)

I think on CK it should be the same if u enable zRam in init.d or over CK Settings, if there is an option to tune this.

Anyway, at the end u can check with term. emu. if it's enabled and how much MB is activated, by typing "free"

It's showing as "swap" ... this is the zRam ....
[Galaxy Ace II Android Development] Culateralligator:
It's OK, I have this:

u0_a52@codina:/ $ free

Mem: total 660344 used 635208 shared 25136 buffers 1320

-/+ buffers: used 633888 free 26456

Swap: total 307196 used 15800 free 291396

u0_a52@codina:/ $
[Galaxy Ace II Android Development] ChronoMonochrome:
[MENTION=5917662]bebolint98[/MENTION], you PM'ed me

answering here because it's better to write on the forum so that other users can see answers as well.

https://en.wikipedia.org/wiki/Zram

Didn't get this question. You're likely will get lesser performance but better multitasking. What you are intending to achieve by enabling zram?

You can remove/set permissions of zram init.d script to 0644 either.

It seems to depend on the display quality. Set higher display wakeup delay to eliminate this:

echo sleep_out_delay=120 > /sys/devices/pri_lcd*/display_settings

This will cause display to wake a bit slower, though.

P.s. the next build will have default wakeup delays, as it looks like not every device can handle reduced delays.
[Galaxy Ace II Android Development] bebolint98:
Thanks for your answer.I don't know why but with the latest version I have worse multitasking.Forexample I open the xda app and switch to the internet and back to xda app, it's reloaded.Also I browse on the internet and close the app the launcher is redraw all the time.And many times reload apps.Why?
[Galaxy Ace II Android Development] ChronoMonochrome:
New build r3.9.1 is UP!

Changelog:

adjusted video modes on ws2401, thanks to [MENTION=5840412]ace2nutzer[/MENTION]

resetted ws2401 wakeup delays to default

fixed radio/bluetooth issue that appeared after God Mode implementation
[Galaxy Ace II Android Development] xo.en:
..anybody tested this thing?

Few last ones had weird issues with battery check, battery check was proposing totally random digits...

Btw. Chrono - you seem to ignore my post about total /DATA loss, that you experienced some time ago(ok, I was banned for nothing, so I could not REMIND this weird quirk, ok...).

One of your post was clear confirmation of this issue, if you ask me.

Sorry, guys, I am drunk, but I am not stupid(I had ban for nothing for 3 weeks or so, btw).
[Galaxy Ace II Android Development] ChronoMonochrome:
Didn't experience anything like this. Be sure to calibrate the battery.

What exactly post? Data loss issue was related to some experiments on a RIL side, it was fixed in previous build.
[Galaxy Ace II Android Development] PolishVodka:
Chrono

What's mean this in logs:

[rtc_suspend] AP RTC TIME:1970.01.01-00:00:00 called

[rtc_suspend] PMIC RTC TIME:2015.11.11-10:46:51 called

[rtc_suspend] SYSTEM TIME:2015.11.11-10:46:51 called

As I remember, on KitKat Roms (or on others too), the same date was having a pictures taken by system camera, and this caused an isuues when sharing photos to Dropbox etc. All the photos was having this, the same date.
[Galaxy Ace II Android Development] ace2nutzer:
RTC = Real Time Clock

first line shows wrong time and date ... maybe this is because of disabled RTC Alarm Driver or what ever we disabled some time ago because it' buggy and the system was not able to put this Driver/Device into deep sleep.
[Galaxy Ace II Android Development] ChronoMonochrome:
Yes, the first line is showing an incorrect date and time. This is where this message is wriitten:

/* driver/rtc/class.c */
...

#ifdef CONFIG_MACH_SAMSUNG_U8500
struct rtc_time sys_tm;
struct rtc_time aprtc_tm;
struct timespec aprtc_ts;
#endif /* CONFIG_MACH_SAMSUNG_U8500 */
if (strcmp(dev_name(&rtc->dev), CONFIG_RTC_HCTOSYS_DEVICE) != 0)
return 0;

getnstimeofday(&ts);
rtc_read_time(rtc, &tm);
rtc_tm_to_time(&tm, &oldtime);

#ifdef CONFIG_MACH_SAMSUNG_U8500
read_persistent_clock(&aprtc_ts);
rtc_time_to_tm(aprtc_ts.tv_sec, &aprtc_tm);
rtc_time_to_tm(ts.tv_sec, &sys_tm);

pr_info("[%s] AP RTC TIME: %04d.%02d.%02d - %02d:%02d:%02d called\n",
__func__, aprtc_tm.tm_year+1900, aprtc_tm.tm_mon+1, aprtc_tm.tm_mday,
aprtc_tm.tm_hour, aprtc_tm.tm_min, aprtc_tm.tm_sec);

pr_info("[%s] PMIC RTC TIME: %04d.%02d.%02d - %02d:%02d:%02d called\n",
__func__, tm.tm_year+1900, tm.tm_mon+1, tm.tm_mday,
tm.tm_hour, tm.tm_min, tm.tm_sec);

pr_info("[%s] SYSTEM TIME: %04d.%02d.%02d - %02d:%02d:%02d called\n",
__func__, sys_tm.tm_year+1900, sys_tm.tm_mon+1, sys_tm.tm_mday,
sys_tm.tm_hour, sys_tm.tm_min, sys_tm.tm_sec);
#endif /* CONFIG_MACH_SAMSUNG_U8500 */

It looks like read_persistent_clock(&aprtc_ts) call zeroes aprtc_ts.tv_sec, and because of this call rtc_time_to_tm(aprtc_ts.tv_sec, &aprtc_tm) causes aprtc_tm to have a wrong value too.

read_persistent_clock is a generic kernel function, declared in kernel/time/timekeeping.c. We might don't support it, and this can be reason of the issue above.

/**
* read_persistent_clock - Return time from the persistent clock.
*
* Weak dummy function for arches that do not yet support it.
* Reads the time from the battery backed persistent clock.
* Returns a timespec with tv_sec=0 and tv_nsec=0 if unsupported.
*
* XXX - Do be sure to remove it once all arches implement it.
*/
void __attribute__((weak)) read_persistent_clock(struct timespec *ts)
{
ts->tv_sec = 0;
ts->tv_nsec = 0;
}

I don't know, however, whether this is a cause of a photos to have an incorrect date too or not. Right above there is a working variant with getnstimeofday(&ts) call, so the simplest fix would be calling getnstimeofday inside of read_persistent_clock function. No guaranties, that this will fix anything besides of a message in kmsg log.
[Galaxy Ace II Android Development] xo.en:
Nice job, latest version evaporated weird battery readings...nice nice...

http://s8.postimg.org/kk6sl9fmt/Screenshot_2015_11_14_14_28_26.png

It seems, that RIL is not taking so much energy as it was with older kernels, too.

Of course, undervolted, customized VM/minfree, and disableservice + stripped Vanir + 2g ONLY is in use, here.

And of course, NO zram is used.
[Galaxy Ace II Android Development] ace2nutzer:
If u really only need 2G and u really love such long Battery lifetime .. then i can suggest to use that Phone:

U'll have with NEW Battery at least over 2 Weeks standby day/night ...

No Joke ! :highfive:
[Galaxy Ace II Android Development] xo.en:
I am dissapointed by this post, Sir.

2g is providing ANY need I... need, gps lock in 4 secs, location for gps in no time, update for bus/tram tables...subtitles for movies in no time...

Tell me, why i should lose my batt with 3g with my a2?

Look, I am 37 now, I do not need instant facebook, instargam, bs.

Btw, tomorrow i will show to you few pics of my old, working cel phones I have, ready to work.

You know, my a2 is used for ebook reading/music server for potent soundset.

I do not care about cell usage, you know...

Have some respect for your users....k?

Btw, I have working phone like this you posted.

My proposal is: do not boast.
[Galaxy Ace II Android Development] ace2nutzer:
haha ;) IT was more fun ;)
[Galaxy Ace II Android Development] xo.en:
Stop harrasing me, ok?

My opinions were made by RULES of this forum, ok?

I am free man, seeing flaws I have free will to say what I said.

your Zram method is flawed, Sir.

For me, guys, it is ridiculous thing ti ignore preoper vm/minfree settings in your kernels.

You are ingoring better values for TWO YEARS.
[Galaxy Ace II Android Development] ace2nutzer:
Nope, u're wrong :) U just don't understand FUN :highfive:
[Galaxy Ace II Android Development] xo.en:
Fun starts when you are able to maintain your family...well...I am below of this...you know.

Did you had fun seeing 128 people dead in France...yesterday?

Sure, I will buy newer phone(ebookreader_ soon...)...

ZRAM you are pushing is WRONG, ok?
[Galaxy Ace II Android Development] ragtas:
So after finally getting it to work, I have a question:

Is there any way to enable S2W outside charging mode?

I really like this feature and wondered if it would be possible..
[Galaxy Ace II Android Development] ChronoMonochrome:
Yes, read in the OP about enabling S2W wakelock. Without S2W wakelock it will only work if some other wakelocks are active (i.e. charging mode, audio playback etc)
[Galaxy Ace II Android Development] ChronoMonochrome:
New build r3.10 is UP!

Changelog:

updated ZRAM sources from sony xperia u8500 devices kernel (thanks to [MENTION=5138693]AGONTUK[/MENTION] for backport)

LZ4: improved (de)compression speed by enabling unaligned access

Added zram init.d script, set total ZRAM blocks size to 255 Mb

Now are used 3 zram devices instead of one(85 Mb each), it should help not to cause too much overhead.

Personally I would not go beyond the current settings, adjust script /system/etc/init.d/60zram if needed. To apply settings you need to reboot the device.

binder: applied fixes from upstream

various fixes and improvements from upstream

Full changelog
[Galaxy Ace II Android Development] shaqman89:
The script wasn't copied to init.d folder. Maybe still missing in update script.

Other than that, seems to be a good update. :good: :good:
[Galaxy Ace II Android Development] ChronoMonochrome:
Hmm, indeed, forgot to include it to the installer script, so it wasn't copied. Anyway, forgot also to tune minfree defaults, so re-uploading this build again soon.
[Galaxy Ace II Android Development] bebolint98:
Now I can download the latest kernel?Now there is no problem with it,can I flash it?

Thanks.
[Galaxy Ace II Android Development] ChronoMonochrome:
Yes, it should be fine now.
[Galaxy Ace II Android Development] dixee:
to use tap2wake, which one to install? no-debug or regular one?
[Galaxy Ace II Android Development] ace2nutzer:
lol ... this is a feature ... it has nothing to do with debugging ;)

Go to CK App and enable it ... and if needed also with wakelock .. then it works always instead only when some wakelocks are already active ...

but then it'l drain more battery because of no deep sleep... (it's approx 1%/hour)
[Galaxy Ace II Android Development] borkins:
I tried some of the last versions that must be with debug, but there is nothing in debug.

Or I missed something? :/
[Galaxy Ace II Android Development] ChronoMonochrome:
It's more fictive name than the real :) Both versions anyway have less debugging features. Debug version have RAM console enabled(last_kmsg), on nodebug it's disabled and it has more RAM due to decreased HWMEM size. Maybe later I'll find more appropriate name :)
[Galaxy Ace II Android Development] dixee:
lol,, i never know it before :D

i already enable tap2wake in CK setting, but its working only when charging the phone

FYI, my CK setting that i've change is:

tap2wake => enable

screen touch boost => enable

max cpu freq => 700 MHz

cpu governor => ondemandplus

cpu freq limit when screen off => enable => min 200 MHz, max 200 MHz

disable gpu full speed => enable

i/o zram => enable

i/o dynamic management => enable

i/o reduce number of clusters => enable

i/o multicore power saving => mild

i/o deepest sleep state => state 4

is there any invalid setup that causing tap2wake not working? (its working when charging only).

currently i'm using R.3.9.1 no debug kernel, with chrono cm11 with some app like greenify, privacy guard active, etc

tq
[Galaxy Ace II Android Development] shaqman89:
Dt2w current implementation needs a wakelock. As for right now that means it'll work whenever you are charging, playing music or have any other wakelock active.

One alternative for this is creating wakelock using Tasker whenever a notification arrives.
[Galaxy Ace II Android Development] ace2nutzer:
Nope, that will not work. ;)

When the screen is OFF and an Notification is received and the screen is still OFF... (no wakeup from Notif.) then dt2w can't be enabled.

It's programmed that it can enabled it, if any wakelock is active + the screen is currently ON ... otherwise it cause freezes ;)
[Galaxy Ace II Android Development] LyrixTheDj:
Is ZRAM works on r3.10-nodebug? Coz i can't see swap, it's always zero, even if set check box in CK settings (on screenshot it unchecked).

[IMG="Screenshot"]http://i67.fastpic.ru/big/2015/1117/e2/653a53a810957ee14e551025245455e2.png[/IMG]

Thx
[Galaxy Ace II Android Development] shaqman89:
Yes, it does. Check whether you have 60zram in your init.d folder.

Did you check it with free command from terminal?
[Galaxy Ace II Android Development] ChronoMonochrome:
Don't use this script from CK, it's outdated now. zRam is already enabled by default. Extract 60zram script from "init.d" folder of the kernel installer or reinstall kernel package.
[Galaxy Ace II Android Development] junnickbefore14:
Hey chrono, lately I have experienced slow wake when there is an incoming call.. Whenever the screen is awake, the incoming call has already ended

Im on chrono kernel 3.10 no debug, AICP 10
[Galaxy Ace II Android Development] ChronoMonochrome:
Why reporting in kernel thread? It's a common problem of the most CM-based LP ROMs.
[Galaxy Ace II Android Development] LyrixTheDj:
Yes, Crhono, i know that "00zram" is outdated, I'm just tried it ones to test in this case only!

I'm switched back from CM12. I decided do clean install of cm-11-20150730-UNOFFICIAL-codina-universal.zip and did usually kernel update, with clearing cache from setting->storage and wipe cache in CWM. But after reinstall kernel version "with debug", "picture" still same.

root@codina:/ # free
total used free shared buffers
Mem: 647448 621652 25796 0 18420
-/+ buffers: 603232 44216
Swap: 0 0 0

root@codina:/ # ls -l /etc/init.d
-rwxr-xr-x root shell 265 2008-08-01 15:00 00autoload
-rwxr-xr-x root root 921 2015-11-17 10:53 10dynamic
-rwxr-xr-x root root 384 2015-11-17 10:53 20minfree
-rwxr-xr-x root shell 361 2008-08-01 15:00 60zram

root@codina:/ # cat /etc/init.d/60zram
SIZE=44

modprobe zram num_devices=2

echo 0 > /proc/sys/vm/page-cluster
echo 60 > /proc/sys/vm/swappiness

echo $(( $SIZE * 1024 * 1024 )) > /sys/devices/virtual/block/zram0/disksize
echo $(( $SIZE * 1024 * 1024 )) > /sys/devices/virtual/block/zram1/disksize

mkswap /dev/block/zram0
mkswap /dev/block/zram1
swapon /dev/block/zram0
swapon /dev/block/zram1

root@codina:/ # uname -a
Linux localhost 3.0.101-Chrono-r3.10 #5 SMP PREEMPT Mon Nov 16 02:43:37 EET 2015 armv7l GNU/Linux

So, i'm manually deleted all in init.d folder and copied files from ZIP, did right chmod and chown. Now seems all works fine.

root@codina:/ # free
total used free shared buffers
Mem: 647448 527844 119604 0 15104
-/+ buffers: 512740 134708
Swap: 261108 260 260848

PS: Can't understand, why "installer" did not replaced twice this files? In logs i saw something "installing init.d scripts. Done..." Maybe needs some "rm /system/etc/init.d/60zram" and for another files in init.d before "mv or copy" in *.sh installer scripts?

So, now I'm asking myself, what about others kernel files, is it's replaced by installer by new ones or still have some older from r3.1?...

Thx
[Galaxy Ace II Android Development] ChronoMonochrome:
Ahh, now I got it. Installer only extracts init.d scripts in case of non-existence of those. It was done to prevent overriding the user changes, but here it played a cruel joke. I didn't suppose that anyone still have those outdated scripts from old builds. Noted this, will fix soon.
[Galaxy Ace II Android Development] dixee:
ah, i see..

if i'm not wrong, from previous post i read that you or chrono developed new dt2w method that didn't need wakelock? :confused:
[Galaxy Ace II Android Development] shaqman89:
I think they meant that they were creating a method that doesn't need it's own wakelock, thus whenever any wakelock is around, it'll work. CMIIW
[Galaxy Ace II Android Development] dixee:
nice, can't wait for it :D
[Galaxy Ace II Android Development] ace2nutzer:
waiting for ???

It's already working with some wakelocks.. but completely without wakelock it'll never work! No Power, no function.
[Galaxy Ace II Android Development] dixee:
i think it still on progress, dont know if already done :D
[Galaxy Ace II Android Development] gepel:
[MENTION=235339]chrono[/MENTION]. Right now my configuration is ace2nutzer kernel+rom. If i install your kernel do i need the chrono app that is included in your rom ? If yes where can i download it ? And final , if i shall want to return back to ace2nutzer kernel the system files of your kernel will be left there?
[Galaxy Ace II Android Development] bebolint98:
You can download the Chrono kernel settings app from here: http://xdaforums.com/showthread.php?t=3014123.I think it's not needed but i think everybody use(I also)who use chrono kernel because here you can change the cpu-gpu frequency ,governor, etc...Before you install the chrono kernel you need to delete all init.d script from system/etc/init.d and delete or freeze the novathor settings apk.
[Galaxy Ace II Android Development] ace2nutzer:
since when it's no more possible to configure CPU - GPU Freq in my Kernel ? - I'm missing somewhat ?!

The only thing is: there is only one pre-configured CPU Gov. and I/O Scheduler ... just because i ended to the conclusion that we everybody just need only one fully working CPU Gov and Scheduler ..... u Guys can't use more than one Gov. at the same time ;)

To be honest, the Dynamic Gov. is the only one gov. that is working properly. And as for I/O Scheduler: The best are: FIOPS and SIOPLUS.

If somebody use Chrono-Kernel, i suggest to use FIOPS... + dynamic, because it's a bit faster than SIOPLUS.

I wanted also implement this FIOPS in my Kernel too, but i was afraid too touch soo many Filesystem Files just to make it working. :D
[Galaxy Ace II Android Development] Culateralligator:
@up Your kernel works really good, I'm trying it with all roms and I'm always happy with it.

But when battery is <15% and you want it to last for hours and hours(at that time you're outside home and you don't have a charger), wouldn't be better a Powersave profile with Conservative governor? Even if old Ace 2 won't run properly, but just for calls, whatsapp and light but importants apps.

Will improve the battery drain and be worth?

It's just a question, cause I don't know how it works when battery is lower than 15% or 5% and phone warns you. It just seems to drain less battery with these low %.
[Galaxy Ace II Android Development] shaqman89:
@Up

Don't we have performance profiles for that?
[Galaxy Ace II Android Development] Culateralligator:
I understand. As I said I don't know how Ace2Nutzer profiles work (and when phone warns you for low battery).

Then, my question should be, does Power save profile only adjust CPU to 600MHZ or does it change something else? Would conservative governor worth for Power save profile?

Just wondering. I guess Ace2Nutzer has more important things to work and fix on new CM11 than this.

EDIT: I've seen at change log Power save profile also reduces GPU values to 200-300MHZ.
[Galaxy Ace II Android Development] ChronoMonochrome:
Nope, conservative governor can't give any improvements over Dynamic, as Dynamic is based on Conservative, and has better cpufreq selection than Conservative.
[Galaxy Ace II Android Development] ace2nutzer:
U just need to add CM Performance Profiles on quick settings .. then u've 3 different performance profiles ... instead only 2 with stock JB (just normal or powersave lol )

This is what the Profiles does:

# CM Performance Profiles
# Powersave
on property:sys.perf.profile=0
write /sys/devices/system/cpu/cpu1/online 1
write /sys/kernel/mali/mali_boost_high 299520
write /sys/devices/system/cpu/cpu0/cpufreq/scaling_max_freq 600000

# Balanced
on property:sys.perf.profile=1
write /sys/devices/system/cpu/cpu1/online 1
write /sys/kernel/mali/mali_boost_high 399360
write /sys/devices/system/cpu/cpu0/cpufreq/scaling_max_freq 800000

# High performance
on property:sys.perf.profile=2
write /sys/devices/system/cpu/cpu1/online 1
write /sys/kernel/mali/mali_boost_high 652800
write /sys/devices/system/cpu/cpu0/cpufreq/scaling_max_freq 1100000

GPU min freq is always 300Mhz .. unless u've disabled MaliAutoBoost or just changed Settings in NT-APP.

And CPU min freq should be never higher than 400Mhz ... because all powersave features are all on 200 + 400Mhz Step.

So default of 200Mhz is just okay. It's really not needed to increase.

An other difference between "balanced" and "powersave" is that on "balanced" APE + DDR is @ 100% when touching the screen and on "powersave" it's limited to DDR 50% + APE100% when touching the screen !

This is the absolutely minimum Config in order to perform still "almost" smooth.

Note: this is only Valid for Ace2nutzer Kernel.... Chrono Kernel actually doesn't have this feature ... (i think Chrono don't like this, because u've to switch Profiles manually ... on the other hand, changing Gov. or just CPU Freq, is also manually :) )
[Galaxy Ace II Android Development] shaqman89:
I think Chrono also uses performance profiles, just not as fine tuned as yours. CMIIW.

But in my case it does helps.