yashsingh1/xdaforums huggingface dataset:
[Galaxy Ace II Android Development] Norrin_Radd:
I am a new user and unfortunately i never performed any installation of a custom ROM , hence i am a little lost.

If i open the link to the "GT-I8160P_Support_v2.0.zip" there is also a "GT-I8160P_Support_v2.1.zip" but it is not mentioned in the original post.

Am i supposed to use the older version even tho a newer one exists?

Furthermore i am not really sure what "advanced options" and " Boot to recovery" mean. Could you point me to a source were i can read up what i need to do? For somebody who never did anything like this

it is quite hard to find exactly the information necessary to perform this installation.

On a general note....

Me "recent" phone has been excluded from whatsapp. As i love the form factor of the ACE 2 i thought i will just make this my daily driver as i had it still around. Is this ROM + Kernel suited for a novice like me? All i want is a fast running simple phone and a few apps ( whatsapp; gmaps; here maps, and an email client)

thank you for your support!
[Galaxy Ace II Android Development] ace2nutzer:
use always the latest version available.

it's a menu option in cwm recovery.

Yes :)
[Galaxy Ace II Android Development] lace_hvc:
I think I'm using opengapps. Installed those recommended by row before installing his cm11, then yours and never wiped data.
[Galaxy Ace II Android Development] ace2nutzer:
General info

If u Guys did some changes in "Settings - privacy" in order to reduce wakeups or Alarms caused by Google Play Services, then it's highly recommended to revert all changes to the default "allowed" for:

Google Play

Google Play Services

In order to have proper functionality while updating apps with screen off.

This Change also allows to make the phone sleep more deeper, saving your battery lifetime.
[Galaxy Ace II Android Development] Norrin_Radd:
Ok . I think i will give it a try than. But i feat a dummy like me would need a Video tutorial haha...

In the Instruction it reads "Kernel for the three Models, sdcard_only is recommended (for optimal functionality) or normal version if u want to use the phone later without sdcard inserted:".

Does this mean i would have keep the same sd card for ever if i choose "sdcard_only" ? What would i have to redo later should i decide to use a bigger sd card with the phone. I plan to use an existing 32gb sd card i already have but if i like the performance i would eventually buy a bigger one.

What are the benefits of the "sdcard_only"?

Does this mod include root access or is an additional piece of software necessary?

Thanky in advance and i am really grateful for your fast reply!
[Galaxy Ace II Android Development] ace2nutzer:
Root is already there, superuser control for giving permission to apps is also on board.

sdcard is recommended, as it works properly.

using kitkat with 2 sdcards doesn't work properly.

Yes, u can later insert smaller or bigger sdcard ... u only need to power off the phone first.

Because with sdcard_only kernel u can't remove the card on running system .... at least not cleanly. - don't try it.
[Galaxy Ace II Android Development] Norrin_Radd:
Hi

So far it seems to have worked. But at the end of Step2 i was asked if i want to root the system now ( again?).

I accidentally klicked on the software back key as i thought i was in the wrong menu..... The phone restarted anyhow...

Now if i want to start the A2N kernel app as soon as i click on CPU it tells me that the app was closed? Is this normal behaviors? Can i check if the rooting worked as it should... and if it didn´t work can i redo it?

I have already installed a few apps... if i still need to complete the rooting would i have to redo all off this?

Additionally i found a problem that the keyboard does not appear when i want to enter e certificate name in the wlan configurations.

If somebody could tell me how to turn off the haptik feedback that would also be very nice!

Thank you in advance
[Galaxy Ace II Android Development] ace2nutzer:
Just say "no".

ROM is already rooted by default. and by default it's even enabled.

IF the app FC, then u didn't setup the "Google Play".

U've to flash HDPI-mini-gapps-kk ... (search for mardon HDPI-mini-gapps-kk)

Then configure your "Play" account ... which is usually gmail ... then when u've working "play" then u should be able to open the app and it'll show u how to unlock it, because it's actually not for free.

But don't worry, its price is very low.

no, allright .... u can check Superuser settings like this:

go to settings ---> about phone .... and click several times on "Build-number" .. then u'll see an new menu entry "Superuser" in "Settings" .. there u can enable root for "only apps" "only ADB" "apps + adb" or "disabled"

strange ... i'll check it.
[Galaxy Ace II Android Development] udaraM:
I need rom for galaxy j1 sm j110h
[Galaxy Ace II Android Development] :
WRONG TOPIC!!!!

Ace2nutzer, I see many people have galaxy j1 commenting in our forum for Ace 2. Is it normal?

And a very very bad bug: nothing happened when I undervolt the CPU+GPU.

I can confirm it: When I use maximum undervolt, the system won't reboot :confused:

But using CK I can undervolt very well.
[Galaxy Ace II Android Development] Norrin_Radd:
Ah ok... I wil setup the playstore again and try to use the app than!

I have 3 additional question tho:

- Sometimes if i type whatsapp i can´t delete the last character in a message with backwards only with the "x"

- IF i go to settings ..... Processor and change the max to 1200 and restart the Phone it doesn´t keep this settings.

- At the moment the Phone does not last longer than 16h , do i need to make additional tweeks to get a better running time or is my Battery just bad( the phone was unused for 3 years)

Just out of curiosity i want to ask a few additional questions:

- Is there any particular reason to use the stock browser Over chrome or firefox?

- What is the reason for you to put all the work into a relatively old phone like this? Am i missing something about the unit?

Don´t get me wrong i really appreciate it as it means i do not have to buy a new phone i am really just curios!

Thank you for your work mate!!!
[Galaxy Ace II Android Development] ace2nutzer:
How i should know it ?

What should happen ? - Should the phone explode instead?? :laugh:

Then u've just a good CPU quality ... be happy about that instead to complain :confused:

Anyway if u're curious if it works at all in your Phone, u can check CPU voltages here:

cd /sys/kernel/liveopp
ls
cat arm_step00

without UV: (0.0mv)

[LiveOPP ARM Step 0]

Frequency show:	150000 kHz
Frequency real:	145920 kHz
ArmPLL:	0x00050113
[B]Varm:	1025000 uV (0x1a)[/B]
Vbbx:	0xdb
DDR_OPP:	25
APE_OPP:	25

UV: -25mV

[LiveOPP ARM Step 0]

Frequency show:	150000 kHz
Frequency real:	145920 kHz
ArmPLL:	0x00050113
[B]Varm:	1000000 uV (0x18)[/B]
Vbbx:	0xdb
DDR_OPP:	25
APE_OPP:	25

Check GPU Step Voltages:

cd /sys/kernel/mali
ls
cat mali_dvfs_config

without UV:

idx freq rawfreq clkpll Vape
[B] 0 798720 798720 0x010501d0 1487500 0x3f
1 748800 748800 0x010501c3 1487500 0x3f
2 698880 698880 0x010501b6 1487500 0x3f
3 652800 652800 0x010501aa 1487500 0x3f
4 599040 599040 0x0105019c 1487500 0x3f
5 549120 549120 0x0105018f 1487500 0x3f[/B]
6 499200 499200 0x01050182 1162500 0x25
7 449280 449280 0x01050175 1150000 0x24
8 399360 399360 0x01050168 1150000 0x24
9 349440 349440 0x0105015b 1150000 0x24
10 299520 299520 0x0105014e 1150000 0x24
11 249600 249600 0x01050141 1150000 0x24

UV -25mV:

idx freq rawfreq clkpll Vape
[B] 0 798720 798720 0x010501d0 1462500 0x3d
1 748800 748800 0x010501c3 1462500 0x3d
2 698880 698880 0x010501b6 1462500 0x3d
3 652800 652800 0x010501aa 1462500 0x3d
4 599040 599040 0x0105019c 1462500 0x3d
5 549120 549120 0x0105018f 1462500 0x3d[/B]
6 499200 499200 0x01050182 1162500 0x25
7 449280 449280 0x01050175 1150000 0x24
8 399360 399360 0x01050168 1150000 0x24
9 349440 349440 0x0105015b 1150000 0x24
10 299520 299520 0x0105014e 1150000 0x24
11 249600 249600 0x01050141 1150000 0x24

as u can see everything works like it should.

Don't forget: only for CPU UV:

if u want the custom UV Values also after an reboot, then u should check "CPU set on boot"

More Questions or doubts about this? :D

back key is not for deleting wrong vocals.

U've to check "set on boot" ;)

u need probably an new battery...

Polarcell 1700mAh is highly recommended !

Yes, due of low ram ... stock CM browser need lowest ram. while chrome and firefox eats the whole ram ... anyway u can make it anyway running well if u enable zRam is A2N Kernel Control App.

Well, it started as an hobby and just for fun the whole thing :)

Many people don't use this phone anymore because it was very slow.

But i want to show people that this phone can still be used for modern apps with almost no problems... that means for such high ram consuming apps like chrome, it's just needed to enable zRam to make it working.

But of course, it's not all, many other optimizations are deep in the kernel integrated, also there is ability to OC CPU and GPU to get better performance.

But this doesn't mean that i want to use the Ace 2 for ever ...

It's planned to support soon more devices with the same great tweaks :)
[Galaxy Ace II Android Development] AkosPaha:
And how long do you want to use Ace2?:confused:

How long can we expect you? Or do not you know it yet?:(:crying:
[Galaxy Ace II Android Development] ace2nutzer:
I think for long time, but anyway can't say of 100%.

Don't worry, even if my phone gets broken i've an second ace 2.

And if i should decide to switch phone, then i can still provide some updates for the ace 2.
[Galaxy Ace II Android Development] AkosPaha:
Thank you very much, we can always count on you!:angel::)
[Galaxy Ace II Android Development] lace_hvc:
I purchased a sandisk ultra class 10 with up to 80MB/s reading speed. I tested it on the phone and on my laptop with the included sd adapter and CrystalDiskMark. I get a maximum reading speed of 25MB/s and writing speed of 20MB/s.

Why is that so slow? Is it due to my laptop or phone? Will it be faster on newer phones and usb card readers?
[Galaxy Ace II Android Development] Kurajmo:
You tested New Micro SD card with cable Ace 2 connection yes?

There You have answer.

Cable connection is slower than in build card reader. I notce this when i use New 32gb Samsung class 10 uhs 1 Evo card. With old Ace 2 and usb cable. [MENTION=5840412]ace2nutzer[/MENTION]

Correct me if i am wrong.
[Galaxy Ace II Android Development] lace_hvc:
No, I tested with apps from play store on ace 2 and I tested with built-in card reader in laptop.

I cannot test with ace 2 connected to laptop by cable cause I can not use UMS. When i turn on UMS -> turn on usb storage, ace 2 reboots.
[Galaxy Ace II Android Development] Kurajmo:
Nothing like this bug not happen on my Ace 2 with cm11 and ace2nutzer kernel.

Newest version.

Do You use original USB cable?

Your USB is really working good?

I use Sony/Samsung USB cable.

Acer Aspire v5 USB 3.0/2.0 USB for cable Connection. In build card Reader. No problem here
[Galaxy Ace II Android Development] xXLosstarotXx:
Firstly, thank you so much to the OP for its support of this phone. I'm surprised to see that the Galaxy Ace 2 still has updated ROM. Not every android user can say that.

I have a GT-I8160, android 4.1.2, and I'm about to flash everything according to the guide on this post. However, I wanted to ask first if anybody had encountered any bugs regarding SIM card not being detected after flashing this, or something similar. As far as I know, when you flash a ROM the modem shouldn't change whatsoever, but since I live in Venezuela, I'm worry that I might lose SIM. That would be a real pain in the ass, very difficult to correct. My baseband version is I8160XXNA1.

Any ideas?

Thank once again to the OP for the ROM.
[Galaxy Ace II Android Development] Culateralligator:
Hello.

Have you read "Installation"? There's a file that allows you using your phone with no problem. Have you got the 8160L model? Just select the correct file/s for your Ace 2 (8160/L/P).

Read carefully every step or you'll have problems (as always with custom ROMs).
[Galaxy Ace II Android Development] Norrin_Radd:
The installation runs very stable now only youtube and waze crash every now and than. But if i go to the usual menu ( not the kernel app) were you can select the max processor frequency for each Profile i have a problem:

-as soon as i leave this menu , once i reenter the menu the speed is back to the max 800 Hz setting. I did not switch off the phone btw.

-sometimes this does not happend and especially when using here maps i think there is a huge performance increase if the 1200 HZ settings are kept as i want them.

do you have any idea why the max 1200 HZ settings is sometimes ignored?
[Galaxy Ace II Android Development] lace_hvc:
Original usb cable, newest version of rom and kernel. It didnt work in the last 6-12 months for UMS. I dont know why. I tried different cables, different computers. I posted a logcat. MTP runs without a problem. I will try the speed of the microsd with a newer phone in the future.
[Galaxy Ace II Android Development] AkosPaha:
Hi Guys!

Does anyone know some good equalizer?:confused:

I use Viper4Android FX equalizer, are you better or not?

[MENTION=5840412]ace2nutzer[/MENTION]?
[Galaxy Ace II Android Development] xXLosstarotXx:
Yes, I will. I was just checking if anybody had any problem regarding SIM card before flashing.

Thank you for the reply.
[Galaxy Ace II Android Development] Culateralligator:
That's why I asked what model you have. I've installed this ROM on a 8160 and a 8160P model and both phones' SIM working perfectly. Other users have reported it also works correctly on 8160L.

Saludos desde España.
[Galaxy Ace II Android Development] xXLosstarotXx:
Oh, it's a 8160. I tried flashing everything, but unfortunately the phone has a hardware problem: when it gets too hot, the screen goes black and you have to wait until it cools down. So when I flashed the recovery, during the installation I couldn't see anymore and didn't know what was happening. I guess the progress was interrupted and ended up soft bricking the device.

No real problem. The solution was to flash the stock rom given by OP via odin. Everything's working as it should now (including the SIM card, so perfect), except for the screen issue. I'm going to have it fixed first and then will try to flash everything again.

Thanks for your help.
[Galaxy Ace II Android Development] :
Is it possible to dualboot our ROM using ChronoKernel? I want to try newer ROM but don't want to reinstall our ROM.
[Galaxy Ace II Android Development] Kurajmo:
[MENTION=5840412]ace2nutzer[/MENTION]

I used newest cm11 build and kernel. Cant change sms centre number. I use Virgin Mobile cards in Poland. And now cant send any sms message.

Great rom but without this is useless for now. Today i try cm13 for ace2
[Galaxy Ace II Android Development] ace2nutzer:
u need to know which USB version the card need. if it's USB 3.0, then u need a card reader for USB 3.0 and the USB port where u connect the card reader must be also USB 3.0 ... otherwise u'll never reach the full-speed.

Our Phone has USB 2.0 speed.

im my case there's almost no difference ... using the same laptop of course.

Maybe with Cable it's a bit slower .. but it's very minimal.

Both tested with Lubuntu 12.04 64bit.

Maybe on Windows it's (as always) slower ;)

it depends also how it's formatted, how big the block-size is ... and which read_ahead_kb value u use.

For many small files, a small values gives better speed. and for bigger files a bigger value is better.

Only 1200Mhz ?? - Ad 1100Mhz is OK ??

i don't care much for such Equalizers ...

I just like to hear the Sound "as it is" without modification...

Otherwise the Built-in DSP-Manager is good enough .. bass booster is not so bad.

in such case u can try to reboot to recovery again .... sometimes it works on second attempt.

If u're now on Stock ROM 4.1.2, u can still install A2N Kernel if u need better performance.

u need to ask the developer of this feature which is ChronoMonochrome :)

I don't know what u mean ... have u Signal at all and can u make Calls ??
[Galaxy Ace II Android Development] Kurajmo:
Yes i have signal. I mean i need to change SMS message number center on cm11. Without this i cant send any SMS. Simply i have error cant send.

I tested cm13 on Ace 2

And no problem with SMS sending. Strange. For now i use cm13 from sergyl
[Galaxy Ace II Android Development] lv-xda:
Hello,

I've just upgraded from an older versions of ROM and kernel and now my photo/media (guess everything, that depends on (mounted) sdcard0) crashes.

Older versions, that i used, somehow were able saving/reading photos to/from external sdcard (not sure how it was mounted) by default . Now sdcard0 is not mounted and here we go...

Reparted (before installing older versions; not now) with cwm_cm11_partitions_layout.zip, and now used latest ROM and corresponding kernel: a2n_kernel_gt-i8160_4.4.4_20170701.zip, so i was expecting, that everything would work seamlessly. How this can be fixed? (some custom remount in /etc/init.d/99_user?)
[Galaxy Ace II Android Development] xXLosstarotXx:
Hi, OP. Yes, the thing is the screen does not work as it should. Actually, I was gonna ask you if there was a way to install both CM, the kernel and the recovery via Odin. That I can do, but I need the TAR files, right?
[Galaxy Ace II Android Development] ace2nutzer:
Try this from Post #3.:

nope, u need to flash it over recovery.

try a few times till it works. It's an known issue and is related to the cheap hardware.

2 - 3 Years ago many users had such problems .. now the "fail" rate is very low fortunately ... because i was able to workaround crappy hardware with Software hacks.

Once it works u can flash ROM, kernel and gapps in a row .. then u don't need the recovery anymore.

Later it's possible to update kernel via ADB for such cases ... ;)
[Galaxy Ace II Android Development] lv-xda:
Maybe i was not as clear as i should. I can see/access external sdcard; it's mounted as:

/dev/block/vold/179:97 /mnt/media_rw/sdcard1 vfat rw,dirsync,nosuid,nodev,noexec,relatime,uid=1023,gid=1023,fmask=0007,dmask=0007,allow_utime=0020,codepage=cp437,iocharset=iso8859-1,shortname=mixed,utf8,errors=remount-ro 0 0
/dev/fuse /storage/sdcard1 fuse rw,nosuid,nodev,relatime,user_id=1023,group_id=1023,default_permissions,allow_other 0 0

The problem is that with the older ROM/kernel photo/media/other apps somehow worked with external sdcard by default (not sure how it was mounted; maybe sdcard0) and after update it doesn't, because sdcard0 is not even mounted. /data/property/persist.sys.vold.switchexternal is already 0.
[Galaxy Ace II Android Development] ace2nutzer:
Flash latest sdcard_only kernel .. should fix the problem.
[Galaxy Ace II Android Development] lv-xda:
Thanks!, i'll try. It's a little bit confusing: as i read instructions/naming i thought, that cwm_cm11_partitions_layout.zip layout is for "regular" (a2n_kernel_gt-i8160_4.4.4_20170701.zip) kernel and

cwm_cm11_partitions_layout_sdcard_only.zip is for sdcard_only kernel. But it happens to be opposite from your suggestion :) Or is it workaround? Maybe you could add few lines in instruction about that, clarifying about layouts and how they work with different kernel versions.

---------- Post added at 09:47 PM ---------- Previous post was at 09:27 PM ----------

Thanks! It fixed the problem.
[Galaxy Ace II Android Development] :
Which device do you running to? GT-I8160, GT-I8160P or GT-I8160L?

If your device is GT-I8160 then report to developer.

If your device is GT-I8160P/L then make sure you have patch installed or SIM won't work properly.
[Galaxy Ace II Android Development] Kurajmo:
My device is Galaxy Ace 2.

Without NFC I8160

Problem is solved for me now.

On Lineageos 13 from sergyl everything work.

Strange. Cause i use cm11 a long Time on this phone without error. And now something like that. But i use Ace 2 only for calls etc
[Galaxy Ace II Android Development] ace2nutzer:
u need to check the default sms/mms app ... then go to settings and search for "SMSC" there u can enter the Number.

See also my Screenshot attached in this Post.
[Galaxy Ace II Android Development] Kurajmo:
I enter corect SMS center number here.

Im not stupid. I flash custom roms around 2011 from old xperia x8 /lg gt540 and ZTE Blade.

But still im not developer. Cause im weak with mathematical stuff.

I change this number here and still cant send any SMS message.

On Lineageos 13 from Sergyl i dont have this problem.

Thats why i wrote this here.

I dont know. Maybe this is only Virgin Mobile Poland issue or something like that.

As i Say im not Android programist or developer

Anyway [MENTION=1823981]acen[/MENTION]utzer thanks for ditect and cleary answer.

I know this. But i really apperciate that.

You are one of Best Android developers as i know in my short 25 years old life.

Anyway greetings
[Galaxy Ace II Android Development] :
Finally returned to this ROM from SergeyL's Lineage14.1.

I feel noticeable battery life increased.

But lower security patch + android version.

And blackscreen bug appears if I don't deny the wakeup from Google Play Services + Framework...

But of course, your ROM is so smooth even without F2FS and ART!!

(Because ART cause updating loops... :()
[Galaxy Ace II Android Development] ace2nutzer:
@ up

wait for new ROM/kernel .. it'll have even more speed and increased battery lifetime.

It's now long time ago that i haven't uploaded a new ROM/Kernel .. but this rom and kernel is at his end-stage.

This doesn't mean i'm not working anymore on kernel here ... i'm working every day on coming release since the last release.

Also there aren't so many or so big bugs i can fix, or many things i can optimize.

Actually it's, from release to release, like an race with myself if i can superate myself :)

The coming update is a test if i'm able to break my own Record in terms of speed + battery lifetime :D

So lets do this: :fingers-crossed:

I've tried to uplaod the new Release a few days ago, and while i was writing the changelog the phone suddenly rebooted, (so i had aborted of course) ... caused by cpuidle driver ... a deep-sleep issue in the driver.

Actually still fixing deep-sleep issue, then i need to test for 3 - 4 days the stability, ad then i can release the new Kernel and ROM. :cool:
[Galaxy Ace II Android Development] AkosPaha:
Hello [MENTION=5840412]ace2nutzer[/MENTION]!

I have a problem.:( When I turn off the phone and then turn it on or just restart or run down and then turn it on and when I'm write my PIN code and when I get my sample on my phone, it will show you try again in 30 seconds (so nothing I did not plan the pattern yet). Can you do something with this?:confused: I'm using the latest ROM(20170618)+Kernel(20170701).

This is since the latest ROM + Kernel.
[Galaxy Ace II Android Development] ace2nutzer:
I had also this Error (for years) then since i did a clean install this issue disappeared.

So if u don't want to do a clean install, then try to wipe data for:

Settings.apk and SettingsProvider.apk.
[Galaxy Ace II Android Development] :
I think the black screen problem happened for me...

When I put my phone to deep sleep from 5 ~ 10 minutes, when I wake my phone, the screen lights up with black screen and vertical lines running.

And when I wake up my phone again, the screen work properly :confused:

Without stopping Google Play Services wakeups, the problem happens more frequently and more battery drain.

I used Chuck Norris mode but it didn't help.

My screen display is WS2401.
[Galaxy Ace II Android Development] ace2nutzer:
Yeah Chuck Norris mode is right. And u need to disable "tuned freq".

If it'll still not fix the issue, it's better to replace the LCD or simply replace the whole Phone.
[Galaxy Ace II Android Development] :
It didn't solve this issue.

But I think that the LCD driver is the problem one. Because I have this problem even on stock ROM + stock kernel. But on stock / custom ROM with ChronoKernel this problem doesn't appear...

Maybe I will look for both of the drivers... Because your kernel have another LCD than CK one.