yashsingh1/xdaforums huggingface dataset:
[Galaxy Ace II Android Development] ace2nutzer:
in my case zram helps a lot ..... otherwise i wouldn't enable it by default ;) It's only 1/4 of RAM .. so if u've 624MB starting from stock ROM .. (this is the best RAM partition) then it results ox approx 157MB zRam. This is adequate. Even playing Real Racing 3 with perf. profile works smooth.

As for Apps to SD. I Guess u didn't understand how it works and what u did with partition and swap.

By default u can use the default option "move to SD" ... then it moves the apps to ext-sd card. But after repartition + swap storages the real ext-sd is now internal one .. and internal one has real 1MB space ... that's why the stock feature of the ROM will not work anymore.

Now u've 3GB on /data for Apps instead of stock only 1.2 GB ... so if the 3GB are already full .. u'll need to install app like link2sd .. then u can simply move every app form /data to your real ext-sd card. In order to make it properly working, u need ext4 filesystem and not default one from SD card like vfat or FAT32 ...

So how it works ? This is very easy to manage with any linux OS ...

Tun the Phone off

remove sd card

connect the sdcard with your laptop/PC with any linux OS (live-CD/USB Distro my be also enough)

open the terminal and type:

sudo gparted

if it says that it's not installed, u can install it with this command:

sudo apt-get install gparted

Then run it, it'll open a repartition tool .... there just in the top on the right, select the sdcard ....

(be sure that u select the sdcard ! and not the HDD ... !!! - u can delete otherwise the whole HDD from your laptop/PC .. and it'll not boot anymore... data of course away too .. lol ... so be careful with this tool ... it's not a toy ;) )

Well after that, u can see how many partitions the sdcard already have ... usually it's only one.

So what u need to do is just to make sure that enough free space is available .. so let say at least 5GB ... then u can simply create an second partition with 4G with ext4 filesystem.

So just right click on the partition and choose: RESIZE

other steps i think are logically .. .. make the new free spae available on the end of the RIGHT ....

after that, apply the changes ... wait till it's done ... then always make sure u choose PRIMARY PARTITION

Then after that, right click on that new unformatted partition .. u did before ... 4GB ...

and choose "format as" ---> ext4.

Well u're done !

put the sdcard again into your phone and install link2sd ...

later when u open the app it'll ask u what is the filesystem of the second partition on your SD CARD ....

there u just choose: "EXT4" .. say OK ... it'll generate an init.d script that'll mount automatically after every boot the second partition of your sdcard to /data/ext2 or what ever ...

So now just reboot the phone ... after u enter the pin code .. just wait 2 - 3 minutes .. then the second partition should be mounted ... now u can open the app link2sd and u can start to move apps u want to your new created partition ...
[Galaxy Ace II Android Development] gepel:
To Ace2Nutzer. So according to your guide every time that i want to move an app to sd i have to make use of the link2sd. What about the behavior of some playstore apps (like railrush) that trying to save an app direct to sd ?
[Galaxy Ace II Android Development] ace2nutzer:
Yes right. It's no problem. But be aware that sometimes some apps of play store just are too idiot to understand that u've swapped sd cards ... and they still try to install some data of the app to real internal sdcard ... and installation will fail ! - In this case, so far only working way is:

uncheck the option "swap storages" in NT-APP ...

reboot.

install that app ... now it works. ;)

swap storage again in NT-APP ...

reboot ... and see ...

the app will still work without any problems :)
[Galaxy Ace II Android Development] beardedpanda:
Like [MENTION=6902149]Dr360r[/MENTION] said - same here.
[Galaxy Ace II Android Development] ace2nutzer:
Sorry for late response, i had no time for looking at this ...

Try:

unmount("/cache");
format("ext4", "EMMC", "/dev/block/mmcblk0p4", "0", "/cache");

or if it doesn't work:

unmount("/cache");
format("ext4", "EMMC", "/dev/block/mmcblk0p4", "/cache");

or if it doesn't work:

unmount("/cache");
run_program("/sbin/make_ext4fs", "/dev/block/mmcblk0p4");
[Galaxy Ace II Android Development] beardedpanda:
When I try to come back to this ROM from stock one (I had to revive my phone), after repartition I've got error 7 (this is package for codina etc... this is a "") when trying to flash the ROM. Deleting assert section from updater script helped.
[Galaxy Ace II Android Development] ace2nutzer:
@up

not really possible ... both, latest kernel + latest ROM is using this assert:

assert(getprop("ro.product.device") == "codina" || getprop("ro.build.product") == "codina" ||
getprop("ro.product.device") == "i8160" || getprop("ro.build.product") == "i8160" ||
getprop("ro.product.device") == "GT-I8160" || getprop("ro.build.product") == "GT-I8160" ||
getprop("ro.product.device") == "codinap" || getprop("ro.build.product") == "codinap" ||
getprop("ro.product.device") == "i8160P" || getprop("ro.build.product") == "i8160P" ||
getprop("ro.product.device") == "GT-I8160P" || getprop("ro.build.product") == "GT-I8160P" ||
getprop("ro.product.device") == "codinal" || getprop("ro.build.product") == "codinal" ||
getprop("ro.product.device") == "i8160L" || getprop("ro.build.product") == "i8160L" ||
getprop("ro.product.device") == "GT-I8160L" || getprop("ro.build.product") == "GT-I8160L" || abort("This package is for \"codina,i8160,GT-I8160,codinap,I8160P,GT-I8160P,codinal,I8160L,GT-I8160L\" devices; this is a \"" + getprop("ro.product.device") + "\"."););

So it'll install on codina, codinap codinal without any problems.
[Galaxy Ace II Android Development] beardedpanda:
I know. That was weird situation. I reinstall your ROM and now it's working like a charm even more smoother with the LCD fix - kernel. Good job and keep it that way. All the best for You. ;)
[Galaxy Ace II Android Development] ace2nutzer:
Thanks ;)
[Galaxy Ace II Android Development] TzuYu014:
random reboot for latest build how to fix ?
[Galaxy Ace II Android Development] forthal:
This build is insane. I've stopped playing Pokemon Go so I am not able to check how is it running.

My phone is running flawlessly now, no issues at all, except amazon bug. Thank you very much, appreciated (I wanted to switch to Xiaomi Redmi 3 S - nice promotion, but I gave up, damn you, [MENTION=5840412]ace2nutzer[/MENTION] :P)!
[Galaxy Ace II Android Development] lace_hvc:
I installed the latest ROM (dirty installation) without formatting system or installing gapps, and it all worked nicely.

Only had to reinstall xposed framework from xposed installer app and set greenify's settings again.
[Galaxy Ace II Android Development] ace2nutzer:
@up

This is the usual normal update procedure.

U only need before installing the rom to wipe dalvik-cache + cache. That's are very important steps.
[Galaxy Ace II Android Development] lace_hvc:
I did that of course.

Just reporting that it's fine to install dirty without gapps and format/mount system.
[Galaxy Ace II Android Development] Kurajmo:
Maybe this is my imagination. But today i installed this newest cm11 version. Installed my all apps. And settu everything up.

Install Pokemon GO official version latest.

And see everything works faster than older version cm11.

All apps open faster,install faster.

And Pokemon GO runs little faster. No lag entering bag,and all Poke screen. Still laggy when i choose poke and his animation is loading.

But this phone is old. Dont have 1gb RAM. But handle this game better now.

I test battery life today when i play Poke without Power Bank.

And report here. I have a hope. Battle on gym works faster now.
[Galaxy Ace II Android Development] beardedpanda:
@ up

It isn't your imagination. It's really works better on the newest CM 11 version.

Pokemon GO can be a scale for evaluation overall performance of our phones. For example: My girlfriend has got a HTC M8 One with stock MM on board and this game is running less smooth than on our old Ace 2 with CM 11. On Her phone app hangs, and touchscreen don't register taps properly. She must tap repeatedly to catch pokemon for example.
[Galaxy Ace II Android Development] fonzacus:
am i the only one experiencing a bug? when setting the screen to lowest brightness, it jumps to the highest. i did a clean install formatting caches, factory and /system from your previous 616 build.

otherwise im having better performance overall, huge kudos,
[Galaxy Ace II Android Development] andon0v:
i dont have this bug, i also did clean installation - went to stock nf2, installed the latest version, also made repartition. So far this rom is running very smoothly, without any problems :)
[Galaxy Ace II Android Development] ace2nutzer:
This issue usually happens only one time after updating the ROM or kernel.

So far i think this is "normal" since even a stock ROM has this issue.
[Galaxy Ace II Android Development] fonzacus:
sorry for the late reply, it does only happen when the phone first boots. although this was the first time ive seen it. i also saw 'double text' but that was fixed when i turned the screen off and on again. seems the phone is becoming magical in more ways than one
[Galaxy Ace II Android Development] ace2nutzer:
If u see again double Text, simply flash lcd fix kernel. Not every lcd can handle aggressive settings.
[Galaxy Ace II Android Development] esbatulembek:
Ugh!!! What did I miss? I followed all the instructions

But my phone just keep freezing and soft reboot while i was making a call or someone calling me back

Is it about phone.apk?

But i tried other dialer but still the same

fyi my phone from prerooted stock jb nf2 like you said earlier

i flashed using temporary cwm v6.0.5.0
[Galaxy Ace II Android Development] ace2nutzer:
are u sure u've not installed CK settings apk ?

Also u should delete all scripts from /system/etc/init.d before installing this kernel.

At least for now .....

On next kernel build such things will be automatic.
[Galaxy Ace II Android Development] esbatulembek:
1. nope. there is nothing apk like that in system/app or priv-app

2. there are 01_zram & 99_user. Should i delete those things? and reflash the kernel?
[Galaxy Ace II Android Development] esbatulembek:
It seems i just facing this issue on kitkat rom because i tested on vanir kitkat too

Have been tried jb, gb, and marshmallow no issue here

I never try lollipop though
[Galaxy Ace II Android Development] Dr360r:
Is there a chance the new kernels could make an otherwise healthy and strong LCD wear faster?
[Galaxy Ace II Android Development] ace2nutzer:
@ up

what do u mean exactly ??

Ok, then it's ok ... those 2 scripts comes from my kerne installer.

Try to increase CPU Voltage ...

u can find it over NT-APP ---> advanced.
[Galaxy Ace II Android Development] Dr360r:
I mean, are the new settings somewhat hard on an LCD that otherwise seems to work perfectly even using the standard kernel and not the LCD fix one?
[Galaxy Ace II Android Development] ace2nutzer:
No it shouldn't affect the live of the LCD ... it's just a higher freq + other video.modes .... it has nothing to do with the LCD itself. It's just different settings for the LCD CHIP ... There is no overvolting that can overheat the CHIP and damage it.

There is LCD FIX Version for LCD's that are already half-broken ... since ever ... (even brand-new..) so not caused by overclocking.

So in general: if it works good, u can keep the use of standard kernel ... it's safe.

But if it can't handle it, or u just WANT to save Battery and u DON'T care much about 100% smooth LCD, then u can use LCD Fix Kernel Version.
[Galaxy Ace II Android Development] esbatulembek:
I don't know why, but i came from cm13 sergeyl and tried reflashing this rom again

Now it works perfectly :laugh:
[Galaxy Ace II Android Development] gepel:
[MENTION=5840412]ace2nutzer[/MENTION]. Your latest kernel+Rom is just great. Big Thanks mate. If you ask me i'll say this. Kill zram and return the lcd frequency to normal (for ws2401). The phone is much responsiveness with that config and battery is MUCH better. Of course the vsync is there but i count to you to put some magic here .. Do you ??
[Galaxy Ace II Android Development] ace2nutzer:
maybe :)
[Galaxy Ace II Android Development] shaqman89:
I have mixed feeling about this. For one, in my use case, zram is a must, though to what amount I can't really say for now since I still have mixed experiences on this.

In any case, I think the current condition is quite okay, if you don't need zram, just remove the script from init.d or modify it to have a 0 value.
[Galaxy Ace II Android Development] ace2nutzer:
i suggest to simply remove permission .. change for example from 755 to 644 :)

Earlier or later u'll enable it again .... u can never ever have enough RAM .. even a 2GB RAM Phone will run out of RAM if u hardly use the Phone. If u only run very poor apps, and almost no multitasking, then even 128 - 256MB RAM is enough :)

btw: i can feel next kernel update is really cool ... but psst ! ;)
[Galaxy Ace II Android Development] Cursed Chico:
I downloaded rom.zip, not md5. i downloaded gaps.zip not md5 again

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

but what about repart in that link, how can i make it? i couldnot find tutorial about it.
[Galaxy Ace II Android Development] ace2nutzer:
@up check post #3

ATTENTION:

Don't use repartition packages with Version number v1.1 ... Threy are only for next kernel update and future builds !
[Galaxy Ace II Android Development] Cursed Chico:
i did those steps according to acenutzer post 3 here http://xdaforums.com/showpost.php?p=56321125&postcount=3

1. Flash latest ace2nutzer kernel to get cwm recovery.

Move all Files from sdcard0 to sdcard1 !!!

Make a cwm backup !

wipe data

format /system

format /sdcard0 as vfat

install reparted_Vx.x.zip

power off

power on

wipe data

format /system

format /sdcard0 as vfat

restore your cwm backup

reboot system

Open the App: NovaThorSettings and choose "swap storages" .. let it reboot and enjoy it !![/B]

i still did not install gaps because i am just testing if this works. ext is 32 gb. when i open phone and turn usb on and pc sees 2 drives. one is flash drive 32 gb. other is some drive around 1 mb. really low.

it has 5 files

android

androidsecure

clockwork

lostdir

storage

and then i turn of usb and go to storage in saettings. first internal storage shows total space 2.97 gb, there is second internal and it shows 29.71 gb .

and there is also sd card. it shows 0.93 mb. it is just like in the pc when i connect via usb

So, did i do correct? but sdcard is really low , 1 mb. I have to choose always phone memory, for example for camera, for sms backup.

I wish there was some space for sd card.

And my other question is if i did correct, can i flash gaps now? And i want to delete some apps, did you delete? for example email. dsp manager. browser. Not all ofthem but some of them starts with system despite i dont use.
[Galaxy Ace II Android Development] aleste2:
@up

It seems correct. As you have installed reparted v x.x, the Internal memory is drastically reduced (1MB) to give space to Data (3GB) but you must use external SD card (32GB), and change in novathor settings the internal (1MB) for the external (32GB).
[Galaxy Ace II Android Development] ace2nutzer:
Yes :)

This is no problem .. u've switches storages now ... so now your 32GB card is like your internal usb storage ... (sdcard0)

U can keep all settings from apps ...

"Storage ---> sdcard0" is correct for Camera and so on !

If u need Play Store .. then yes :)

Then enable Root access in developer settings, then activate root-mode in CM FileManager .... then u can enter to /system/app and /system/priv-app .. and u can delete or freeze what u want ... but be aware some system apps are really needed to make sure everything works as it should.
[Galaxy Ace II Android Development] Cursed Chico:
BUt now everything went wrong :( after i read here i did correct, i tried to do again.

I went into recovery, factory reset wipedata and tried to install cm11 zip (from sdcard1, not sdcar0 anymore) but it says

this pacgage is for codina i8160 gt i8160,i8160p and some other devices, this is a"".

e:error in storage sdcard1 cm1120160718unofffical full codina

status 7

installation aborted.

I did not do anything different from before. also i tried cm13 but same error.Also tried wipe dalvik , cache, format sdcard but did not work.

cwm basedrecover v6.0.5.0 it is

i dont know how i did this.

and also when i try to reboot after operations, it ask me to root
[Galaxy Ace II Android Development] beardedpanda:
@ up

Open zip with rom using 7zip, extract updater-script, open it with notepad++ and delete any assert lines. This lines are on the very beginning of the file.

Save file then Drag and drop it to the opened archive to overwrite it and put it that "new" zip file onto your sdcard and flash. Now, it's should be working.

Asking for root is normal. Always say yes :)

[MENTION=5840412]ace2nutzer[/MENTION]

So We have a problem assert lines with the new ROM. He's got the same problem like Me few posts ago.
[Galaxy Ace II Android Development] ace2nutzer:
Just delete the first 10 lines in updater-script (in folder META-INF)

Nope, always say NO. Root will be installed with ROM.

saying yes here only occupies some useless space on /system., also that Root binary from cwm is even not compatible with the native root control from the ROM :)

Yes that's my fault ... i removed default.prop properties from ramdisk in latest kernel (or previous one) ...

So in next build it's readded like before ... even updated from new ROM ... and at the same time i've hashed assert lines .... otherwise it'll still fail to install, because of missing default.prop of actually current running kernel in RAM ;)

But on the next kernel update, (so not the coming, but the next one) i'll re-activate assert lines again ... then it should work again... So no problems at all so far .. it's just a check that your're flashing on the correct device.

So never try to flash such update.zip without assert lines on other phones than our ace2 here ... as it can soft-brick the phone !
[Galaxy Ace II Android Development] lace_hvc:
For a few weeks now, one of my top partial wakelocks In betterbatterystats is 'deleted_wake_locks'. I found out that it is created by the wlan/wifi wakelocks after wlan/wifi has been turned off. But it never seemed to be so high that I noticed the deleted_wake_locks entry. Nowadays, I get 30-60 min of that wakelock during a charge.

Any idea why it is like this suddenly?

I got another one called cc_wake_lock, but no idea what this one is about. Google search didnt help either.
[Galaxy Ace II Android Development] Cursed Chico:
I dont know if i did something wrong but the media audio is not playing. For example while playing youtube video or browser video, there is no audio.

edit: after searching, i realized that device thinks headset is connected. I connected headset but this time voice has some noise and also left of headphone is not giving voice despite both sides of its works.

WHen i volume up with volume buttons, i can hear the voice from device but no other voice i can hear. When i try to choose for example a notifiocation sound, it also gives voice of current audio.
[Galaxy Ace II Android Development] ace2nutzer:
Everything normal. During charging the phone can't enter in deep sleep.

Same is when it's connected to PC via USB
[Galaxy Ace II Android Development] lace_hvc:
I didnt mean during charging. I meant 1 charge: from 100% battery till its low and i charge it again :D
[Galaxy Ace II Android Development] ace2nutzer:
Ok i'll keep an eye on that.
[Galaxy Ace II Android Development] Dr360r:
Yes, the battery (new one, since the old one became bloated) still goes down a little too quickly to be only standby cell power.
[Galaxy Ace II Android Development] ace2nutzer:
depends on Signal Quality ...

usually 3G has lower power consumption than 2G, but if 3G has low signal and 2G has good signal then it's better to use 2G with better signal, otherwise it'll drain battery like hell ... even on deep sleep.
[Galaxy Ace II Android Development] Kurajmo:
[MENTION=5840412]ace2nutzer[/MENTION]

I have a one question .

I know you roms are Awesome i have Ace 2 with you kernel and cm11.

My question is.

Can you create any source cm 11 for lg d315k?

I sell my Old Ace 2 with you cm and kernel.

And buy yesterday LG F70 (d315k version).

But this Phone dont have any custom Rom.

I May test anything what you create.

We really need any good custom Rom.

This Phone have a nice specs. With LTE (4g network data).

But no custom etc.

What a shame

Yeah. Now Pokemon GO work like charm. But this stock is slow compare Old Ace 2 with you kernel

Wysłane z mojego LG-D315 przy użyciu Tapatalka
[Galaxy Ace II Android Development] ace2nutzer:
I don't think it'll change so much by only changing the rom, moreover the most performance is coming from the kernel.

I guess one day u'll find ace2nutzer kernel for your new Phone on Play Store ...

But if u need it really quickly, i think u'll need some money ;)

Otherwise search for custom kernels ...

[MENTION=5701712]shaqman89[/MENTION]

that looks very painful ... and so far i can't reproduce it ...

Which gapps are u using ? - try install them from FTP ... and wipe dalvik-cache.

Try also to use ART if it's better or not and report pls ... thx !
[Galaxy Ace II Android Development] shaqman89:
Yeah, I do admit it's a bit hard to reproduce.

Even in my case just switching between heavy apps doesn't always cause it. One thing for certain is that after some time, it will happen.

As for gapps, I have tried a few including from ftp, but it still gives similar result.

You're right, I haven't tried art. I'll give it a shot and see whether it helps.

Thanks :good:

Edit: [MENTION=5840412]ace2nutzer[/MENTION]

It seems that on latest build, art couldn't be enabled.

I selected use art, and it rebooted, but there were no indicating o apps rebuilding. When I checked back in developer options, it's back to dalvik.
[Galaxy Ace II Android Development] franta8512:
Can ace 2 OTG?
[Galaxy Ace II Android Development] andon0v:
theoretically i think it can, but not sure anyone have succeed, try enabling more voltage to the usb port from novathor app, it could help, but im not sure if it will work
[Galaxy Ace II Android Development] shaqman89:
@up

Nope. We don't have the hardware support, so kernel support was also removed for it.
[Galaxy Ace II Android Development] Dr360r:
The problem is, the signal here is good, both 2G and 3G, full 4 notches.
[Galaxy Ace II Android Development] Culateralligator:
Hi [MENTION=5840412]ace2nutzer[/MENTION].

I've last ROM+kernel and it's great as usual.

I've found I can't reproduce main Spanish radio station with any web browser I've tried-UC Browser, stock, Chrome...-.

http://play.cadenaser.com/emisora/ser_malaga/

It looks like this:

But it should look like this -picture taken from my LG L9 II:

Is this fixable?
[Galaxy Ace II Android Development] ace2nutzer:
Try wipe data, and then try ART if it works, then we can make sure if it's ROM bug or it's just some user apps not compatible with ART.

Nope, but u can charge other phone with your phone. or u can connect OTG Device that only needs power .. nothing else.

Nope, it's still enabled in kernel ... otherwise even OTG - power-output will not work.

But All drivers for flash-devices are disabled, since it doesn't work at all.

isn't a problem ... then use 3G :)

Anyway, for your health, is better to use 2G.

No, at least for me. CM11 Stock browser is just buggy, and i don't think one day it's 100% bug-free like Stock JB 4.1.2 Browser.