yashsingh1/xdaforums huggingface dataset:
[Galaxy Ace II Q&A, Help & Troubleshooting] pavlepiramida:
Screenshot it if you can buddy,if not PM me
[Galaxy Ace II Q&A, Help & Troubleshooting] LOR PAL:
Nice

Sorry for my bad English. Thank you for making this modification thank you with the soul. The rom works wonderfully, at the last moment I knew that you have to delete the system folder so that you do not accumulate old apps.

The ROM has excellent performance but I notice some small error in the display of some letters with some programs from time to time. And here this day I do not have wifi despite being connected. I do not know if it's a problem with my wifi or ROM.

I have installed the (Codename13Kernel) CM11-20160921-UNOFFICIAL-kylessopen

Greetings from Argentina.
[Galaxy Ace II Q&A, Help & Troubleshooting] pavlepiramida:
Thanks for the feedback!

Now just a quick few questions:

1. Have you tried connecting to wifi other than yours?

2. Does wifi sometimes fails to turn on?

3. What type of security you have on your router (WPA2 or WPS)?
[Galaxy Ace II Q&A, Help & Troubleshooting] LOR PAL:
1) Yes, try to connect to another wifi and work perfectly despite being short time connected.

2) The wifi is always on, just that I do not have Internet.

3) WPA2 security.

I use the Wifi Connection Manager app to fix the problem. It works for a couple of days. Until I go without the Internet again.

Thank you very much for your reply.
[Galaxy Ace II Q&A, Help & Troubleshooting] pavlepiramida:
Thanks for this nice reply and answering all the questions!

There are few things you wrote that I didnt understand,this for example " It works for a couple of days. Until I go without the Internet again." .

If you care to elaborate it, Id be more than thankful!

I think I MIGHT know what the issue is.

Tomorrow Ill upload a kernel Ive been working on

(Its not a new kernel,I used codename13s kernel as base and updated it with commits from KlinkOnes ba2x) and I think that you wont have issues like this on it but I cant vouch for that (this is my first venture into the kernel land).

Tomorrow Ill explain it all a bit more!
[Galaxy Ace II Q&A, Help & Troubleshooting] LOR PAL:
I apologize for my bad English and sometimes the Google translator does not translate as I would like.

To what I meant with it works a couple of days. Is that although it appears as connected with good signal and figure that everything is in order and even detects other networks wifi. I do not have internet.

It reminds me of the android 4.0.4 stock that was sometimes disconnected but reconnected.

I thank you with my heart and soul for your dedication. Thank you for bringing this old Samsung model back to life.
[Galaxy Ace II Q&A, Help & Troubleshooting] pavlepiramida:
So I did understood it right the first time ,tho I had to be sure.

Hopefully with this new kernel tomorrow this will happen less frequently.

Dont thank me for anything Im literally doing nothing :D

Thank guys who made this rom in the beginning, and guys from S7562 CM11 who actually do all the hard work,I merely help from time to time!
[Galaxy Ace II Q&A, Help & Troubleshooting] LOR PAL:
Sorry for the inconvenience again, I wanted to give you some screenshots about the small graphical bugs you have. They are presented from time to time, sometimes the lyrics are distorted but only last for seconds. Will I have to configure the development options?

That's all, thank you and sorry for the inconvenience.
[Galaxy Ace II Q&A, Help & Troubleshooting] mincem:
This has happened to me as well. (I'm also using the version with Codename kernel.)

This happens most days, maybe once or twice a day. It's usually right after I connect to a network. The connection will work fine for a minute or two, and then I stop receiving data. The icon shows normal signal, as if it were working, but none of the apps will connect to the Internet.

Most times, if I turn off wifi and then on again, it starts working properly. Sometimes I need to turn it off and on 2 or 3 times until it works.

Also: the navigation bar at the top sometimes freezes and stops responding. This usually happens when charging, and it only gets better after a reboot.
[Galaxy Ace II Q&A, Help & Troubleshooting] pavlepiramida:
"Navigation bar at the top"-Im guessing you are referring to status bar?

If so ,redownload rom and do a clean flash if you can.
[Galaxy Ace II Q&A, Help & Troubleshooting] pavlepiramida:
Yes,that is an old bug.Its present in all builds of CM11.I dont see that as a big deal but Ill try to find out more on whats causing it and maybe try to fix it,but I cant tell when it will be.
[Galaxy Ace II Q&A, Help & Troubleshooting] pavlepiramida:
Hi guys,Im sorry I didnt post kernel yet Im in deep **** on my college (I have so many projects and reports I have to finish and I havent even started yet).

Youll have to wait a bit more.

In the mean time can you disable wifi optimization in Settings/Wifi/Advanced.

Pleas report back if disconnects happen again after you disabled optimization!
[Galaxy Ace II Q&A, Help & Troubleshooting] noobcoder:
I cant take screenshots for the bug with system folder because my phone hard bricked(because using swap)
[Galaxy Ace II Q&A, Help & Troubleshooting] mincem:
Ooh! It's working really well! I haven't had any disconnects so far since I did it.
[Galaxy Ace II Q&A, Help & Troubleshooting] pavlepiramida:
It seems it has issues with wifi deep sleep,I think I can solve it easily thanks to KlinkOne and M4jonez.

When I do,Ill notify you and the others but please understand that I cant tell you ETA on it.
[Galaxy Ace II Q&A, Help & Troubleshooting] LOR PAL:
I thank you for the effort. I had to go back to Stock 4.0.4 with some modifications because it made the issue of wifi annoying.

We will have to wait for this cyanogenmod. But a question is not possible to extract the android 4.0.4 wifi drivers and place them in the cyanogenmod 11?
[Galaxy Ace II Q&A, Help & Troubleshooting] Cycloptic:
That would be great if all the drivers from stock 4.0.4 could be used to work on CyanogenMod for this phone.
[Galaxy Ace II Q&A, Help & Troubleshooting] pavlepiramida:
This would be the best way to port CM11,rewriting hal to use ICS proprietary libs.

But thats pretty hard thung to do,it requires a great knowledge of android itself and requires a huge amount of time...

[MENTION=4056424]kengnatural[/MENTION] on numerous occasions said that it would make the best and stable rom if we did it in that manner but again,not an easy thing to do...
[Galaxy Ace II Q&A, Help & Troubleshooting] pavlepiramida:
Im sad to hear you went back to stock ICS,as disabling battery optimization fix that wifi issue (and truth to be told,I havent noticed any spikes in my battery consumption).
[Galaxy Ace II Q&A, Help & Troubleshooting] LOR PAL:
I appreciate the answer but I do not work. I am currently using the Rom Infinity Black V2. It has good performance but still with the junk samsung app which leads to more RAM.

Sorry for my ignorance, but note that this ROM as Stock has the same kernel version as CM 11. Is it not possible to make a CM with that kernel and extract the drivers from the wifi?

But personally I do not look for an updated CM but one with better performance, based even on Android 4.0.4. Because ultimately it is looking for better consumption of ram. Can not install a Samgung Trend Lite CM?
[Galaxy Ace II Q&A, Help & Troubleshooting] pavlepiramida:
It is possible but then you wouldn't have bluetooth ability,as CM 11 and stock rom use different bluetooth drivers and im not able to port these drivers into stock kernel.
[Galaxy Ace II Q&A, Help & Troubleshooting] LOR PAL:
Can you install the samsung lite s7390 s7390 on samsung 7560? Bluetooth I am not interested, I will have used it 3 times in my life. The most important thing is the stability of the wifi.
[Galaxy Ace II Q&A, Help & Troubleshooting] pavlepiramida:
No you cant,they are not similar.You will brake your phone.
[Galaxy Ace II Q&A, Help & Troubleshooting] jdarrell:
Having a bluetooth problem when pairing my Pebble 2 smartwatch (the box says it requires android 4.3 and up):

Also have a Pebble 1 which works.

When I try to pair, it doesn't see it, and my bluetooth basically turns itself off and keeps trying to turn itself on. It repeatedly says "An app wants to turn on Bluetooth. Deny or Allow?" In Bluetooth settings when I search for other devices it doesn't appear.

After I used someone else's phone to update the watch firmware, unpaired it from their phone, I still get the same error.

I've tried unpairing and forgetting the Pebble 1, then rebooting the phone, re-installing the app, rebooting the phone again, rebooting the Pebble 2, then trying to pair the Pebble 2.

CM version 11-20160921-UNOFFICIAL-kylessopen

Kernel version: 3.0.79-klinkone-ga1d87de

Any ideas for things I can try to get it working with my phone?
[Galaxy Ace II Q&A, Help & Troubleshooting] RoboR1:
hi, I've never done this before, do i need to root my phone first, I have 7560. From what I've read, I install twrp with odin(which version is best there are 3 versions on their website), then install rom using twrp, is this correct? Any need to wipe cache? Any specific guide to read for this phone? Thanks.
[Galaxy Ace II Q&A, Help & Troubleshooting] pavlepiramida:
Yeah I have few:

1.Dont enable bluetooth through 3rd party apps (for some reason it fails to init it),enable bt,then launch app and try to pair it.

2.Check your phones visibility (its off by default).

3.Check if pebble 2 bt can connect to our (it should be written on specs of that device,whether their bt stack is compatible with older bt stacks)

4.Try to connect and find devices that are not pebble2 (if you have a second phone try to send a file,or to your friends phone).

Before all this just wipe cache from TWRP to be safe and after you try these things if it still fails report back and we'll try to figure out this thing together!
[Galaxy Ace II Q&A, Help & Troubleshooting] pavlepiramida:
First of all,

If you wish to flash anything on to device it must be device specific,otherwise you will brick and render your phone unusable!

No,you dont have to root ICS.

*Download TWRPfrom [MENTION=4056424]kengnatural[/MENTION] as it is made for our phone.(Link to it https://www.androidfilehost.com/?fid=24591000424944232)

*After you flashed it via Odin,download rom and put it on your SD card.

*When you have done it,you need to boot to TWRP; shut down your phone and power it by holding power+menu+volume-up+volume down.

Once you are in TWRP click on backup so you hace a backup of your current rom if you ever decide to go back to it (once you clicked on backup you should chose boot,system,data to be backed up and preferably change the place where it will be stored to SD card;you can do that by clicking on select storage on Backup menu).

*Now you have a backup safely stored on your SD card,lets get to next step.

Next step is wiping.

Click on the wipe selection in TWRP and click "Advanced Wipe";Now youll see partitions you have (dalvik/art cache,system,data.....)

Choose to wipe everything except INTERNAL STORAGE AND MICRO SD CARD.After you done it just swipe to wipe.

*Now you are ready to flash CM11!

Go to Install option in TWRP.

A directory tree will be shown and your job is to find where you placed that Cm11rom.zip you downloaded.

Since I told you to put it on SD card,you will choose option Select storage, select Micro SD card and then you will find it.

Once you found the location of zip,simply click on and swipe to confirm!

And voilà,you have flashed CM11.

IF something was to happen and phone doesnot want to boot CM11 you simply boot back to TWRP and restore backup youve made!
[Galaxy Ace II Q&A, Help & Troubleshooting] RoboR1:
thank you very much, very detailed instructions i'll give it a try.
[Galaxy Ace II Q&A, Help & Troubleshooting] pavlepiramida:
If anything goes wrong,if you are not sure that you understood it well,feel free to post or contact me via Telegram (@pavlepiramida)
[Galaxy Ace II Q&A, Help & Troubleshooting] RoboR1:
the one with omni kernel worked, thanks again. :D
[Galaxy Ace II Q&A, Help & Troubleshooting] jdarrell:
I've tried a few more settings now. Also tried an open-source app (Gadgetbridge) which also shows my Pebble1, but not my Pebble2. Set phone bluetooth visibility to always on.

I don't know how to check bluetooth stack compatibility. The specs say compatible with android 4.3+, but other people are having problems too. But nothing on my phone can detect it so I guess this is the problem?

Edit: I can't remember if I'm using the codename13 kernel or the one before it, or if it would even help with my device for this?
[Galaxy Ace II Q&A, Help & Troubleshooting] pavlepiramida:
Kernel dosent make any difference now....

Since pebble 1 is able to connect and pb2 isnt this tells us the issues in the Bluetooth stack.

Sadly I dont think there is anything we can do :/

Let me summon [MENTION=4056424]kengnatural[/MENTION] and [MENTION=5484648]KlinkOnE[/MENTION] maybe they have some ideas,as I have non.

Our stack is pretty outdated and thats why pb2 cant see nor connect.
[Galaxy Ace II Q&A, Help & Troubleshooting] pavlepiramida:
After a little consult with [MENTION=4056424]kengnatural[/MENTION]

we MAY BE able to find the root of the issue (Kenan suspects BL implementation in our bluez stack).

To know what we are dealing with we will need few things from you,logcat and dmesg.

When you are free to do some tests PM and Ill explain what we need you to do in detail!
[Galaxy Ace II Q&A, Help & Troubleshooting] pavlepiramida:
NEW BUILD

New build up soon,probably later today (when I finish what I have with college ).

Whole RIL part has been reworked,we switched from unknow RIL we used to Stock one from ICS.(Also I will need you to test it a bit to make sure everything has been done)!
[Galaxy Ace II Q&A, Help & Troubleshooting] pavlepiramida:
Build uploaded

Uploaded new build,but until I get some feedback about the RIL it will stay experimental!!

I need you all to test

Calls In/Out

SMS In/Out

Data

Network Search

When I get some feedback Ill see how Ill proceed from here!

link is here

https://www.androidfilehost.com/?fid=385035244224405331

(Ill also add it to OP)
[Galaxy Ace II Q&A, Help & Troubleshooting] LOR PAL:
Thank you! I am installing it and I will comment on the errors that I find!

---------- Post added at 09:05 PM ---------- Previous post was at 08:57 PM ----------

The setup wizard application has stopped. Home screen to set the language, do not go any further.
[Galaxy Ace II Q&A, Help & Troubleshooting] pavlepiramida:
Thanks I need every feedback to know if everything is done right!

Thanks for reporting back I appreciate it !
[Galaxy Ace II Q&A, Help & Troubleshooting] pavlepiramida:
Delete OneTimeInitializer.apk from ROM.zip and flash it again.

(also I changed OP to answer these questions for future notice)
[Galaxy Ace II Q&A, Help & Troubleshooting] LOR PAL:
Already solve the problem were gapps. Installing them after the CM11 during the first boot did not allow the language to be selected and the setup wizard was stopped.

Instead if installed, then automatically starts with the English language. I change it to my language, and then install the gapps in recovery mode,

Sorry for the inconvenience, I do not want to make haste conjectures. Spending the days I will communicate better. In the meantime she has connected to Wi-Fi.
[Galaxy Ace II Q&A, Help & Troubleshooting] pavlepiramida:
Haha no worries,I forgot to put that in the OP,but now did.

Also another thing I forgot to mention,this build is running my kernel (that isnt actually mine,its a mix of codename13s and KlinkOnes Ba2x) so thats also one more reason why its EXPERIMENTAL.
[Galaxy Ace II Q&A, Help & Troubleshooting] gregory678:
I tested all the things you wanted. And I'm gladly reporting that they're working fine. I'm on S7560 (without M).
[Galaxy Ace II Q&A, Help & Troubleshooting] pavlepiramida:
GREAT!!

Can you just tell me your baseband?

Thanks for reporting EVERYTHING and helping me run a clean OP and thread!!!
[Galaxy Ace II Q&A, Help & Troubleshooting] gregory678:
S7560XXBNA1

And BTW - I have similar bluetooth issue like [MENTION=1113716]jdarrel[/MENTION] in post #77. But my issue is about bluetooth headset (which uses BT v3.0, the same like this phone). It's successfuly pairing with the phone, but after few seconds bluetooth turns itself off and back on and it doesn't see the headset anymore. I need to manually restart bluetooth to make the headset visible again. And it's going all around.
[Galaxy Ace II Q&A, Help & Troubleshooting] kengnatural:
Could you please provide the logcat output for bluetooth case?
[Galaxy Ace II Q&A, Help & Troubleshooting] LOR PAL:
Here are some mistakes I found:

Take the windows lag, perhaps by the launcher. But it is imperceptible.

Mobile data works but depends on your configuration. In the default browser a re reload the bookmarks when mobile data is used.

The camera still detects 3MP instead of 5. The auto flash does not work. You have to leave it on.

The clipboard does not appear, I do not remember if it is no longer in the kitkat.

The connection to Wifi seems to work fine, I have not lost the connection. Then I'll test it with other networks.

About the programs. Because there are no notes? And a freak of my own would be an interesting task manager.

That's all for now. Greetings.
[Galaxy Ace II Q&A, Help & Troubleshooting] kengnatural:
Your suspection is logical. But your log output starts with a lots of errors and as we can see there bluetooth daemon itself crashed. Even with unsupported protocol daemon should not crash.

I'd like to see whole log to see what happens from the beginning. Start logcat before you enable bluetooth. Reproduce the case. Zip log and attach here.
[Galaxy Ace II Q&A, Help & Troubleshooting] gregory678:
Here you go. I hope it's better now.
[Galaxy Ace II Q&A, Help & Troubleshooting] TomekZwada:
Pavle,

I'm thinking about flashing your ROM (cm-11-20161213-EXPERIMENTAL-kylessopen) onto my GT-S7560. I'm from Poland and hope that WiFi would work.

But I have some questions regarding ART and general performance.

1) The main reason for flashing this ROM would be ART because I've heard that it increases the performance of apps on our device and there is more RAM available. Is ART working reliable (I've heard of some fc with older apps)? Are there any old apps on this ROM (we are almost in 2017!) which would not work with the KitKat Version of ART on our device?

2) How does the performance compare between the STOCK ROM and this CM11 ROM? Does the battery drain faster? Does the device get hotter than on stock rom?

3) How much more RAM is there to gain in your CM11 ROM compared with the STOCK ROM?

Hope to get any answers from you or others.

Cheers

Tomek
[Galaxy Ace II Q&A, Help & Troubleshooting] pavlepiramida:
Ok lets go one by one:

1. Yes there is a pretty noticeable difference in performance dalvik vs ART.ART is faster and lighter on ram but its also heavier on storage.

Installations on ART take almost twice as time as on dalvik but trust me,its worth it.

Only applications that fail to install are ones with tempered dex file (usually and most commonly cracked apps).Others have no issue (there used to be,but Its fixed now).

So my advice is try ART,if you dont like it,you can always go back!(First boot after the switch from dalvik to ART can take up to 30mins so have patience.)

2.Now there is no objective answers to this.

It all comes down to users habits.

For me the drain is almost the same,but for you it may differ.

3.Actually if you flash EXPERIMENTAL build you will lose 20mb of total ram :D (forgot to change a line of code in the kernel) but thats nothing,as stock rom consumes 390mb out of the box while CM11 just 190mb.

If you do care about that extra 20mb (that are barely useful) Id recommend you to flash my latest build before EXPERIMENTAL!
[Galaxy Ace II Q&A, Help & Troubleshooting] TomekZwada:
Thank for your time and patience building this rom! I think I need every single bit of RAM I can squeeze and I have to use your new experimental build due to the WiFi restrictions in older builds (I have the Polish device). So yes, if you could change the code so everybody can have the extra 20 MB of RAM then this would be great.

And: did you get enough feedback regarding the experimental build if it's working flawelessly?

One more question: is the gain in performance on your CM11 more due to overclocking the CPU/GPU or to ART itself? I find it quite annoying how slow some apps load on my stock rom. The new version of the Skype app is completely useless due to long loading time. How much overclocking is safe for the GT-S7560? I do not want more heat produced or battery drain or any apps crashing because of overclocking. Would it be possible to customize the overclocking?

You said that ART is heavier on storage. On the stock rom I have now around 660MB free on my internal sd card (which has around 2GB capacity in total) with all my apps installed. Do you think I can install the CM11 or will I run into storage difficulties if I use ART? Is CM11 maybe smaller on storage than stock rom? Then I would gain some space for my apps (in the ART mode).
[Galaxy Ace II Q&A, Help & Troubleshooting] pavlepiramida:
As I said this build is EXPERIMENTAL,so I will not do anything to it,I just released it so curtain aspects of it ,which I will later integrate in my normal builds,get tested.

It will never work flawless,not any build,at least by me as I do not posses such knowledge needed to pull something like that off.

Gain is more to how apps interact with system and system itself.Yes overclock help,sometime A LOT,but its not the main reason why.

CM occupies ~340mb of system partition (645 left free)

and 190 in data (left around 1,8 GB free).If you dont use big apps that are heavy on cache and itself (eg games that are well over 700mb) you should have any issue with space.

If you had wifi issues with my previous builds,I'd recommend you to try my build with codename13 kernel AND FLASH IT CLEAN NOT DIRTY.

I had to make it big as dirty flashes sometimes cause random aspects of system to fail do to corrupt data,cache or old leftover config files.
[Galaxy Ace II Q&A, Help & Troubleshooting] TomekZwada:
Okay, but I thought that your last official build (codename13 kernel) have problems with WiFi in certain countries (Argentina, Poland etc). That's why there is the new experimental build with stock drivers, right? Did I understand it correctly? Or am I missing here something?
[Galaxy Ace II Q&A, Help & Troubleshooting] pavlepiramida:
EXPERIMENTAL build is for testing stock RIL and some aspects of my up-and-coming kernel,but focus is on RIL functionality.

Last build with codenames13 kernel works well on all phones from all over the world (wifi will work regarding the baseband).
[Galaxy Ace II Q&A, Help & Troubleshooting] TomekZwada:
I thought RIL has something to do with the modem and WiFi too. If I'm wrong what exactly is RIL responsible for? I do not care about FM-radio if it has something to do with it.
[Galaxy Ace II Q&A, Help & Troubleshooting] pavlepiramida:
RIL is acronym for

Radio

Interface

Layer

It is a layer in an operating system which provides an interface to the hardware's radio.(ability to make calls,use mobile data,send sms.....)
[Galaxy Ace II Q&A, Help & Troubleshooting] jdarrell:
Tried the experiemntal on S7560M. Tested call in and it worked. Was able to get to the prepaid data purchase page (same as before). Network search spent a long time then said error (I think the same as before).

I didn't do a factory reset, not sure if I was supposed to.
[Galaxy Ace II Q&A, Help & Troubleshooting] LOR PAL:
Camera only 3 MP.

AutoFlash not working.
[Galaxy Ace II Q&A, Help & Troubleshooting] pavlepiramida:
Clean flash it you can
[Galaxy Ace II Q&A, Help & Troubleshooting] pavlepiramida:
I believe thats a known bug 3mp ,and flash is working.

What does happen on your phone when you try to use autoflash?
[Galaxy Ace II Q&A, Help & Troubleshooting] LOR PAL:
Nothing, it only works with flash on. The auto flash does not activate when you take the picture.

And the camera with only 3 MP is there a solution? It's a shame.

I tried installing different cameras and nothing.