yashsingh1/xdaforums huggingface dataset:
[Galaxy Ace II Android Development] Szaby59:
I experience very frequent Launcher redraws (both 0822+0901) even when I have 100+ MB memory free. I don't use many apps: one homescreen, 2 widgets and 4 icons +5 on the dock.

Enabled the Nova's "keep in memory" function will see if that helps.
[Galaxy Ace II Android Development] Dr360r:
I have a question for u [MENTION=5840412]ace2nutzer[/MENTION] (of public interest, i think). Can this be the correct procedure (minus "make cwm backup" and adding "flash ROM") of installing one of the newest ROM and kernels (the ones that require repart) beginning from a stock ROM and kernel? Is temporary cwm ok to do that, or is it better to flash Odin kernel?
[Galaxy Ace II Android Development] jcourtei:
Repartition is not required with latest kernels
[Galaxy Ace II Android Development] Dr360r:
Yes, but i remember ace2nutzer complaining that /system was too small.
[Galaxy Ace II Android Development] Szaby59:
Btw. I noticed that leaving apps (phone, messages, contacts, gmail) with back button will cause them to reload at next startup instead of resuming like with the home button. Is there any way to modify this behavior ?
[Galaxy Ace II Android Development] Evgeny1973:
After reparted 1.2 - /system less than stock (570Mb).
[Galaxy Ace II Android Development] ace2nutzer:
Nope, just follow the how to here below .. temp cwm + stock rom is not needed.

boot to recovery

flash latest kernel

flash latest cwm recovery)

flash stock reparted v1.1

flash reparted v1.2

power off

boot to recovery

format /system

mount /system (shows then unmont /system)

format /sdcard0 as vfat

wipe data

flash recovery

flash ROM

flash latest kernel and NT-APP (if available)

flash I8160P support (if NFC Model)

flash gapps

reboot system

Open the App: NovaThorSettings and enable "swap storages" ... reboot and enjoy !!

well, this is normal behavior ... if u don't want to close the app, then press home button.

When u press "back" then next start is still faster than before ... because it's cached ... but it's not completely in ram.

nope, i only said u should check with "df" if there is enough free ... just make sure to have at least 30 - 40MB free .. in order to avoid problems when installing new gapps.

Yes, try it out .. i also have it enabled ... anyway sometimes when the system is overloaded ... i.g. after leaving Real Racing 3 .. then Launcher redraws as well .. but it only takes 1 - 2 sec.

Next ROM will have better Ram Management ... also the rom will use less ram ... compiled with -Os -mthumb (thumb2) ... in order to produces smaller binaries in libs.

Yes it's possible ... just optimized ... in order to have more space on /data for apps.
[Galaxy Ace II Android Development] Dr360r:
I meant the case of someone who is installing a custom ROM for the first time in his/her life (i want to update the pdf manual) and begins from scratch.
[Galaxy Ace II Android Development] betagenius:
yes. the green battery symbol is shown, and after about half an hour or more, it boots to the system by itself. but some times it does not happen and finishes charging to 100%.
[Galaxy Ace II Android Development] Szaby59:
I think it should not be green (that's the stock), but blue instead - try reflashing the whole rom+kernel+recovery again.
[Galaxy Ace II Android Development] ace2nutzer:
I changed the images .. From another recovery... It's green.

Well, i'll disable sweep to wake again.. it:s buggy.. that is the cause of auto boot.
[Galaxy Ace II Android Development] Szaby59:
Btw is it normal that in one day usage I have a "Screen off" wakelock with 15 minutes uptime (150 MHz CPU state) ? It's not caused by my installed app, location services are disabled. But still that's one of my biggest drains, it drained ~8 percent at night with 0 usage, something wakes up the phone regularly. My other phone (Oneplus X with 5.1.1) does not experience this only 2-3 minutes/day.

I don't have Facebook or Voip drainers installed, so it must be a system/google service.

That "mali_wakelock" is weird and it's nearly the same duration.
[Galaxy Ace II Android Development] lace_hvc:
Take a look at the other infos in betterbatterystats, such as alarms. And look at the graph, too. So far desk clock, weather widget and android system itself cause most of your wakeups.

Try not to turn on your screen for so many minutes and dont connect wifi during the testing period.

You also had your sim turned on, maybe the signal is bad sometimes. Compare it to airplane mode. I get <1min of awake time in airplane mode.

Mali refers to graphics i think. Normal.
[Galaxy Ace II Android Development] anggitya:
can i change LCD density in this ROM to 200dp ??
[Galaxy Ace II Android Development] shaqman89:
Yeah, just edit build.prop

Or if you are not sure, you could use textdroider dpi from play store. I myself am using 180 with no issues.
[Galaxy Ace II Android Development] anggitya:
ok...i'll download cm11 n try textdroid ....btw which ROM n kernel version u r currently using?? im on cm13 right now, the ROM running good but the baterry drain so fast
[Galaxy Ace II Android Development] Szaby59:
Thanks I didn't check the alarm section, now I see that most of the wakeups are caused by *surprise* Google Play Services. Disabled some of them with Amplify and the screen off awake time now greatly reduced.
[Galaxy Ace II Android Development] shaqman89:
Latest kernel + ROM from ace2nutzer
[Galaxy Ace II Android Development] galac44:
With the latest ROM (20160901), it doesn't ask me for my sim card pin code on startup, so I don't have any 2G/3G connection. It works on ROM 20160822 + kernel 20160831.

Also the menu entry "configure sim card lock" was not there in the security menu.
[Galaxy Ace II Android Development] shaqman89:
Okay, I could confirm that u haven't got any reboots since I disabled NT-APP. The fix seems right on target. :good:
[Galaxy Ace II Android Development] ace2nutzer:
So, so far no random reboots when using latest kernel with latest NT_APP v.1.7.9 when using 150/1100Mhz for CPU ??
[Galaxy Ace II Android Development] Evgeny1973:
yes all right Now
[Galaxy Ace II Android Development] shaqman89:
Yes so far.

I'm even using it on 150/1200 and no random reboots so far.
[Galaxy Ace II Android Development] ace2nutzer:
very good !

[MENTION=6542205]Culateralligator[/MENTION] for u as well ??
[Galaxy Ace II Android Development] Culateralligator:
I'm flashing it right now. :D

EDIT: No reboots so far.

EDIT 2: No reboots after one day of use. :good:
[Galaxy Ace II Android Development] IAmLucky:
for me no reboots :)
[Galaxy Ace II Android Development] Dr360r:
What's fixed in the newest recovery zip?
[Galaxy Ace II Android Development] ace2nutzer:
if i'm not wrong only disabled sweep to wake ... that fixes auto boot to the system.
[Galaxy Ace II Android Development] njascgil:
I am being affected by the problem ("set_metadata_recursive", status 7) described here.

It happens, for instance, when flashing addons from Delta Gapps.

According to the first thread, the problem can be solved by modifying the updater-script by replacing any set_metadata and set_metadata_recursive calls with the old syntax, i.e. set_perm and set_perm_recursive. I tested this and it seems to work just fine.

Another option is to replace the update-binary with a patched one created by XDA member daniel_hk. I tried this and it also solved the problem.

Although I can work around this, it would be nice to be able to flash all zip files without this kind of compatibility issues. It seems the problem should be fixed in CWM v6.0.4.5 or above, but this v6.0.5.0 for Ace2 still causes the error on my phone.

Do you think it would be possible to modify our v6.0.5.0 to be compatible with flashing this type of zip files?

Is there any chance to flash a version of TWRP in the future?

Thanks for all your efforts regarding this ROM/kernel. As many guys have already said, you are enabling us to use a quite old phone as a daily driver without any serious performance issues! :)
[Galaxy Ace II Android Development] IAmLucky:
Use Gapps from Ace2Nutzer's FTP
[Galaxy Ace II Android Development] njascgil:
Thanks!

However, I was specifically referring to the addons to the gapps base package which are not included in Ace2Nutzer's FTP (Gmail, Calendar, and so on...) as well as any other zip file using a non compatible install script.
[Galaxy Ace II Android Development] ace2nutzer:
it's like u said a updater-script and/or update-binary issue .. i don't think it's recovery itself problem.

our recovery can handle set_metadata & set_metadata_recursive without problems. (used in ROM script)

as for TWRP .. i think yes .. soon.
[Galaxy Ace II Android Development] anggitya:
i got foce close on cashtree app ....anyone have same issue??
[Galaxy Ace II Android Development] IAmLucky:
haha, thats google play app, not stock app crash, so thats app crash and u have to contact app developer for that! or try to reinstall app or delete data+cache of the app
[Galaxy Ace II Android Development] Dagalur:
I8160L tee folder flashable. (the only problem that i have noticed is your sim contacts can't be imported/exported)
[Galaxy Ace II Android Development] Dr360r:
@ up: this happens with all custom roms. You need to export the SIM contacts to a file before beginning to use custom ROMs.

[MENTION=5840412]ace2nutzer[/MENTION] : out of curiosity, what are u testing with the newest codinap ROMs? I don't have the NFC variant so i can't flash them.
[Galaxy Ace II Android Development] ace2nutzer:
thanks ! is it working ? - I've already uploaded to the FTP.

i'm trying like always to increase the performance ... but this time decreasing RAM Usage as well :)

So far dalvik is half-broken and Google Play Services are crashing.

If u want, u can test on latest codinap build if Google Play Services are not crashing with wipe data ... i only tested without to wipe data ....

If u want to test it, u just need to remove assert from updater-script ... and then after the ROM flashing ... just flash an self-made codina_support.zip package .... so u basically only need to modify codnal_support.zip:

http://www.xda.mister-freeze.eu/XDA-files/ace2nutzer/CM11/codinal/

by replacing tee folder from your current codina ROM :)

then it's a codina ROM ....

The only difference is, that there are then still some NFC Drivers in the ROM package ... but it doesn't matter ... in totally they only consumes less than 1MB on /system. ;)

But don't worry, it's only for testing ... mostly for myself .... later the fully working release will be again codina ROM :)
[Galaxy Ace II Android Development] Dr360r:
CWM not making Nandroid backup. Error while making backup of /data. I guess it's the latest CWM package.
[Galaxy Ace II Android Development] ace2nutzer:
dunno, probably no space left ?

check all sdcard0 +1

also ignore cache errors ... fix by wipe cache ....
[Galaxy Ace II Android Development] Dr360r:
Space: 8471 MB (on sdcard1). Fixed by wipe cache, but it still doesn't work. SD card is good because if i take a picture then i can see it through File Manager. I have the package from 9 August on the computer, i'll try it.

It's not working.
[Galaxy Ace II Android Development] ace2nutzer:
what is not working ?
[Galaxy Ace II Android Development] Dr360r:
Nandroid backup still failing because of /data error. I'll format /data and /system, revert to an older backup and then try to backup again (have to charge battery before everything because i'm on the original 3 year old battery).
[Galaxy Ace II Android Development] ace2nutzer:
nope, format your sdcard1 as vfat in cwm ... never format it on PC.

Also u can just charge + installing ROM, cwm backup and so on .. at the same time... no need to wait that it's fully charged ...

The battery charges always when a kernel is loaded ... that means overall, (cwm, LPM, booting ... system) .. the only state when it can't charge is DOWNLOAD MODE.. there u really need a fully charged battery ... otherwise it can be dangerous if the phone shuts down .. because of battery failure during writing Bootloader !
[Galaxy Ace II Android Development] Dr360r:
Thanks, i didn't know it would keep recharging even during Recovery! :)

OK, it turned out something got corrupted in the /data partition. Now recovery works.
[Galaxy Ace II Android Development] ace2nutzer:
New Kernel is Up !!

Changelog:

20160910:

Reverted "crypto: lz4, lz4hc, zram - fix decompression" - (caused bootloop with -O2)

Kernel log buffer 4kb --> 8kb

Compiled with stock -O2 + higher tuned by hand (using "--param" Flags)

Reverted "setup: parse bootloader serial number parameter" - (caused bootloop with -O2)

Updated perf.profiles.rc.bak File - (better powersave profile)

Some clean ups

Have Fun !
[Galaxy Ace II Android Development] Dr360r:
I noticed that the theme engine refresh after startup (remember the video i posted?) stopped.

BTW, can you tell me how to make a logcat during boot, please?
[Galaxy Ace II Android Development] ace2nutzer:
just turn the phone on, then immediately connect it to the PC, start ADB ... and type "logcat"

u may need to try a few times till it'll recognized.
[Galaxy Ace II Android Development] Dagalur:
i8160l flashable tee works fine, not even needed to do changes in build.prop to install your rom, someone said that no acess to sim contacts its normal with all custom rom so i think its 100% working.[/ATTACH]
[Galaxy Ace II Android Development] Szaby59:
May I ask what's "O2" ?
[Galaxy Ace II Android Development] Dagalur:
extracted modem.bin.md5 from a stock codinal jellybean i8160lubmc2 rom -> https:// drive.google .com/file/ d/0Bx19E7zEr__gdVl3VWJ2dGxrelE /view?usp=drivesdk
[Galaxy Ace II Android Development] ace2nutzer:
Ok, but it's not needed .... only tee folder is enough.

Sure, it's an Binary Code Optimizations level.

U can read all about it here:

https://gcc.gnu.org/onlinedocs/gcc-5.3.0/gcc/Optimize-Options.html#Optimize-Options
[Galaxy Ace II Android Development] ace2nutzer:
New CM11 is Up !!

Changelog:

20160910 ROM:

CM Source Update

Reworked Binary Code Optimizations

Target_thumb compiled in Thumb-2* Mode (90% of the ROM)

Target_arm compiled in ARM Mode (10% of the ROM)

Compiled the whole ROM with -O2 + higher tuned by hand using --param Flags

Patched Libcore: removed forced alignment code - Thanks [MENTION=5695278]ChronoMonochrome[/MENTION] for porting this Patch

Disabled Debugging in Java Code (only for built-in apps)

Dalvik: armv7-a optimization

Optimized Various Hardcoded flags in various repos

Optimized LMK Values (in ramdisk)

Saves around 26MB on /system thanks to thumb-2

More efficient (more performance, more Battery Lifetime)

Incl. ace2nutzer kernel 20160910

Incl. NovaThorSettings.apk V1.7.9

incl. latest cwm recovery package

AUTO wipes, except factory reset

Uploaded I8160P_Support_v1.4

*= according to ARM Website:

Notes:

Flash & Enjoy it ! ;)
[Galaxy Ace II Android Development] lace_hvc:
A few noobie question:

Is it fine to install latest ROM, kernel, recovery with original partition? I never partitioned anything or swapped storages.

Does recovery flash automatically? I'm currently on cwm 6.0.5.0.

Thanks!
[Galaxy Ace II Android Development] ace2nutzer:
I didn't test it on stock partition layout.

So u've to test by yourself.

U only need to flash rom package.

Kernel, nt app and recovery will install automatically .. u even don't need to wipe anything, all automated.
[Galaxy Ace II Android Development] lace_hvc:
In case I need to go into download mode and use odin to fix something, I have no idea about that, so I better wait for someone to confirm new ROM package with stock layout.
[Galaxy Ace II Android Development] zzenyoo:
Dirty flash, so far so good.
[Galaxy Ace II Android Development] anggitya:
which is better clean instalation or dirty ???
[Galaxy Ace II Android Development] DevisG79:
Clean is always better. But you don´t have to do always a clean installation. Once you done a clean installation you can update then dirty, except ace2nutzer says that clean installation is recommended for an update and when you have problems or something doesn´t work correct then also clean. You should read the first page of this thread minimum.
[Galaxy Ace II Android Development] zzenyoo:
Like [MENTION=6364519]DevisG79[/MENTION] wrote: "Clean is always better." I usualy 'go dirty' first (clean is more time consuming) and when nothing is broken (it happened few times), i stay with dirty flash.

->Sorry if i messed up !BadEnglishWarning!<-
[Galaxy Ace II Android Development] xuazak:
Hi again...

So, I've just installed last ROM 20160910 and still Waze doesn't work... And in logcat, here what shows up in loop (actually 7 or 8 times per second) :

[ 09-11 22:02:03.781 8857: 8857 I/WAZE ]

RegistrationIntentService:notifyNativeManager: GCM Registration notifying native manager, app not started yet, delaying

[ 09-11 22:02:03.826 8857: 8857 I/WAZE ]

Speedometer: initializing speedometer: registering to location events

[ 09-11 22:02:03.826 8857: 8857 I/WAZE ]

Speedometer: Native App not started yet

[ 09-11 22:02:04.028 8857: 8857 I/WAZE ]

Speedometer: initializing speedometer: registering to location events

[ 09-11 22:02:04.028 8857: 8857 I/WAZE ]

Speedometer: Native App not started yet

Any idea ?

So for the moment, I'm going back on 20160718 ROM + 20160730 Kernel + NovaThor Settings v1.7.5 + I8160P_SUpport_v1.1 which with everything works really well....
[Galaxy Ace II Android Development] lace_hvc:
I was too curious and installed it. So far so good. Only camera app crashing sometimes when switching from photo to video mode.
[Galaxy Ace II Android Development] Vitouu:
Are those rom+kernel compatible with built-in encryption ?
[Galaxy Ace II Android Development] ace2nutzer:
There is no errors at all .. what should i fix ?

Did u try to delete the app and reinstall it again ?

(or just wipe data of this problem app)

and try to start the app again.

oh 160MB free on /system ! so it's even too big ...i thought it'll not fit :D

btw there is a lot of wasted space with stock layout ... u should consider to repart your phone ...

on the other hand if u don't need more free space, u can let it be :)

Yes of course ! On latest ROM .. there is fully natively low-level support for CRYPTO ..

So far i ended up to enable them ALL .... better safe than sorry ! ;)
[Galaxy Ace II Android Development] njascgil:
Thanks!

Meanwhile, I contacted Delta Gapps packages developer and he made a few suggestions.

I can't make sense of all of it :o, but in case it is helpful, you can check the post here.
[Galaxy Ace II Android Development] lace_hvc:
I always edit the ROM before flashing it by deleting some apps or turning .apk to .bak.

For example, the keyboard app is ~40MB, which I dont use and hence delete. So the ROM is only ~180MB before flashing.

Im fine with the space. Most importantly, I need to be able to remove microSD from time to time.
[Galaxy Ace II Android Development] ace2nutzer:
Thanks !

CONFIG_EXT4_FS_XATTR

is disabled in kernel, next build it'll be enabled, then u can check if it works or not.
[Galaxy Ace II Android Development] DevisG79:
Feel free and do what you want. I have done so often a factory reset and there is no problem or much time consuming, when you know what and how to do it, but a good conscience that the device is clean.
[Galaxy Ace II Android Development] Vitouu:
I tried to encrypt the phone with this ROM however after typing my PIN code, the encryption android image is showing up then it reboots. I've plugged the phone to charge it.
[Galaxy Ace II Android Development] ace2nutzer:
i really didn't understand what u mean.

Maybe doing a photo or video can help ... so that other users see this issue.

However it's not my fault ;)
[Galaxy Ace II Android Development] Vitouu:
So basically, I want to encrypt my phone so I plug on the charger in order to get access to the encryption part then after typing my PIN code ( to unlock my phone), this image gets in fullscreen for like 2 minutes without any loading bar, just this green android taking the whole screen. Then it just reboots as if it was a user requested reboot.

Apart this issue, your ROM is working nicely :good:
[Galaxy Ace II Android Development] ace2nutzer:
strange ... never seen this before.

Do a full clean installation.
[Galaxy Ace II Android Development] ace2nutzer:
btw latest ROM + Kernel is working better ?

Can u Guys check if Amazon pics are showing up ? [MENTION=6902149]Dr360r[/MENTION] [MENTION=7332124]beardedpanda[/MENTION]
[Galaxy Ace II Android Development] Dr360r:
Neither Google Images nor Amazon is working properly on ROM 160910 and latest kernel.
[Galaxy Ace II Android Development] ace2nutzer:
OK ... it seems that it's working properly now :D

The Problem is only that i actually even don't know what was the problem .. maybe CM team Fixed it, or due of changed Binary Code Optimizations from me ... :)
[Galaxy Ace II Android Development] Dr360r:
You mean you fixed it on the latest codinap build?
[Galaxy Ace II Android Development] Dr360r:
Great! :);) I knew we would sort it out someday.
[Galaxy Ace II Android Development] lace_hvc:
Can confirm! Google images and amazon pics working in default browser.
[Galaxy Ace II Android Development] ace2nutzer:
Which build ?
[Galaxy Ace II Android Development] lace_hvc:
With the latest one. CM11 20160910 including Kernel 20160910.

In CM Browser google images and amazon pics dont work though.
[Galaxy Ace II Android Development] ace2nutzer:
So are u using a non announced Build newer than 20160910 ??
[Galaxy Ace II Android Development] lace_hvc:
No, I said im using the latest ROM and Kernel which are both from 20160910, right?!
[Galaxy Ace II Android Development] ace2nutzer:
Yes that's right, but are amazon pics working or not ??

because u said first it works, and then on other post u say it's not working.
[Galaxy Ace II Android Development] lace_hvc:
Google Images and Amazon pics work in the default android browser, but not in CM browser.
[Galaxy Ace II Android Development] ace2nutzer:
lol :laugh: Now i get it (maybe) ... i think u mean pictures works on Google Browser from Play Store ... but not in the Browser inside a ROM Package ... correct ?
[Galaxy Ace II Android Development] lars85destroyer:
3 random reboots. Interactive 200-1000, sioplus
[Galaxy Ace II Android Development] ace2nutzer:
With my Kernel

No, sorry.. no time for that .... :angel:

Nice.. Yes.. Will do it. but i'll never update this Odin Version.. because it's just for emergency, so u don't need to flash Stock ROM.

Nope.. but not really needed.. this is an Lite kernel.. don't have 1000 not really needed features... set min. 200 Mhz and any Gov. will do the Job... ATM i believe min. 100Mhz will drain more Battery because the fre. go to much @ max. freq.. but at the moment i've no time for optimizing those things.. but i'm sure i'll soon release an update with fully optimized Gov. and the Stuff with APE / DDR 25, 50, 100% ....

Off course.. why not ?? It's not different ROM.. like CM10.2 or so. It's just CM11.

@ all

please don't ask anymore if i'll release other Kernels Versions or TWRP instead of CWM...

I'll only release codina / codinap Kernel for CM11 and for both one ODIN Version as Rescue Kernel if Kernel sometimes can't be load.

Yeah.. as i said.. then u should to remove NT-APP for the Moment....
[Galaxy Ace II Android Development] exodius48:
No, warranty has been expired. :D

Finally I can flash new build, and working fine here.

But several blackscreen still appear.

Can you fix blackscreen on s26d driver?
[Galaxy Ace II Android Development] lars85destroyer:
Changed to ondemand without deleting nt app, no reboots
[Galaxy Ace II Android Development] mej69:
Yeah.. as i said.. then u should to remove NT-APP for the Moment....[/QUOTE]

I use poppmensa build with some reboots since yesterday.

How can I remove NT-APP?
[Galaxy Ace II Android Development] exodius48:
2 ways:

1. Use titanium backup, uninstall novathor from its system app uninstall menu, or

2. Delete it manual using root explorer/xplore, go to path: /syste/app/novathorsettings.apk then restart phone
[Galaxy Ace II Android Development] RootPegasus:
by the way, this kernel support for darkCM 4.4.4 ?
[Galaxy Ace II Android Development] str3tch72:
This kernel supports 4.4 ROMs.