yashsingh1/xdaforums huggingface dataset:
[Samsung Galaxy S Duos] balindam bajpai:
would be eagerly waiting for your kernel update and the kernel we are using currently only provides 622mb of RAM.

btw do u know any efficient way to increase RAM and one more thing does switching over to ART from dalvik works...?

have you tried it and is it worth a try and if you could just elaborate a bit about it.....

thanks.

---------- Post added at 04:05 PM ---------- Previous post was at 04:02 PM ----------

would be eagerly waiting for your kernel update and the kernel we are using currently only provides 622mb of RAM.

btw do u know any efficient way to increase RAM and one more thing does switching over to ART from dalvik works...?

have you tried it and is it worth a try and if you could just elaborate a bit about it.....

regarding your latest kernel there have been no reboots neither was any reboot earlier and it seems to be pretty much the same apart from performance aspect.

but dude you seriously need to look on this side only(performance).

and [MENTION=5484648]KlinkOnE[/MENTION] thumbs up for your work and dedication.

thanks.
[Samsung Galaxy S Duos] KlinkOnE:
No i have not checked art yet. If anyone could try and report back would be great.

Thanks

Gesendet von meinem GT-S7562
[Samsung Galaxy S Duos] kengnatural:
I've checked ART with RC3+ revision (before ArchiDroid's optimizations). At first it worked fine, subjectively, faster than the dalvik. But it had problems with latest gapps when I tested. I read that a special version gapps which supports ART should be installed. So I installed pa_gapps suggested by m4jonez. Trying to install some applications from Google Play Store gave the error during install time, but copying APK file and rebooting was successful. I did not like the overall performance and stability so switched back to Dalvik. After ArchiDroids optimizations I could not boot the ROM with ART, may be ART depends on some specefic compiler options which was broken by optimizations, may be something I did wrong. In all case ART in KitKat is assumed as experimental and was not suggested for production use.

During testing with ART i also noticed that RAM consumption was better than with dalvik, although ART required more flash space.
[Samsung Galaxy S Duos] KlinkOnE:
Thanks for the info! :thumbup:

There may be a problem with the optimizations. There are some fixes mentioned in the archidroid thread. I'll look into it but its not on top of the list. If it works that's good if not I don't care about it.

Gesendet von meinem GT-S7562
[Samsung Galaxy S Duos] KlinkOnE:
Would you please wrap a spoiler around this!

Very impressive list.

What do you think how many of the additional entries do anything?

That's my favorite: "touch.pressure.scale=0.3 eXtremeBeats Apollo 5.0"

Gesendet von meinem GT-P3110
[Samsung Galaxy S Duos] eng4r:
it was trail of many things till i got realy neat look and smooth devicebut i have problems with bluetooth , when i turn it on it bootloaps so i need some fix

the build.prop tweaks are too many , some for sound and some for camera and some for battery and wifi

many many other tweaks i cant reme:good::good:mber
[Samsung Galaxy S Duos] KlinkOnE:
I think you didnt get me right.

Forget the build.prop things thats snake oil.

Tell me how those htc semc sony harman etc. could do anything?

I personally dont like those tweaks the more the worse.

What does the deep sleep battery saver do? I dont think there is a problem with battery in deep sleep.

For example i lost 2% battery in 8hr of sleep this night (0.25%/hour). Thats quite good i'd say.

For your bluetooth problem i cant help you as i have no problem on latest build.

Swap is interesting though.

I am thinking of using the 50mb hidden partition for swap.

and please edit your post with a spoiler

thanks
[Samsung Galaxy S Duos] kengnatural:
Hi KilnkOnE.

It is a little bit dangerous for flash memory as it has limited erase/write cycles. Using as swap will decrease the life of flash memory especially if it does not have hardware wear leveling. I don't know what kind of flash memory is used inside the S7562, but I tried to use SD card as a swap memory before and it was dead in 3 months. Although internal flash memories has much more write/erase cycles than SD cards, in my opinion, 50Mb is not huge memory improvement but will decrease the life of our phone.
[Samsung Galaxy S Duos] KlinkOnE:
Yes i know. I understand your point. But....

I am using my device for 2,5 years now. You cant imagine how often i flashed on it in this time.

Almost forgot i had three swaps on pmp rom (cache, data and system).

There are reads and writes permanently on data partition.

After all i cant see any degradation.

Must have been a very poor sd card ;).
[Samsung Galaxy S Duos] eng4r:
sorry , the htc and sony props were from extreme beats mods

the deep sleep battery saver was because the google play services wont let the device sleep

and im not on last build , im on the 29/11/2015 build .

sorry but im still a bit noobie

the swap partitions arent very harmful if its swappnis is under 30 and it realy helps .

will give a try without the app

:D
[Samsung Galaxy S Duos] mumutum:
Hi everybody!

How am i supposed to flash TWRP using Odin; given that there is no .tar .mdf .gz .tgz file in the recovery.zip file. All i can find is a disc image file which Odin doesnt accept...

Thanks a lot in advance!
[Samsung Galaxy S Duos] KlinkOnE:
Take a look here

http://xdaforums.com/showthread.php?p=64678386

Gesendet von meinem GT-S7562
[Samsung Galaxy S Duos] mumutum:
Also, I havent flashed the baseband file on this list.

Is it for the sim cards? Without it my simcards will not work?

I didnt have a chance to put my simcard into this phone as i have lost the adapter to make it huge again. :)

Thanks in advance
[Samsung Galaxy S Duos] KlinkOnE:
Instead of this you made a huge post ;). Please dont quote the op or at least use a spoiler!

Most propably you'll have to flash the correct baseband to have network.

But more important is to insert a simcard!
[Samsung Galaxy S Duos] dsadd:
how to install ??? so many link which download cm11 rom?

---------- Post added at 01:38 AM ---------- Previous post was at 12:58 AM ----------

direct install cm11 rc3 ? send me answer pls
[Samsung Galaxy S Duos] _AE_:
Dowload link(ROM) http://d-h.st/vRBH

Hit thanks? if I helped
[Samsung Galaxy S Duos] av2588:
Hi [MENTION=5484648]KlinkOnE[/MENTION], how about making a new thread for your CM11 improvisations? Some members like this one are getting confused because there are so many download links in this thread already. I also think that making your own thread will give you proper acknowledgement for your awesome developments, and it would become much easier for us to follow them. Also, I hope [MENTION=4925018]m4jonez[/MENTION] would not mind as long as he is credited as the developer of the original CM11. Just a suggestion though:)
[Samsung Galaxy S Duos] KlinkOnE:
not necessary

he granted me permission to edit the op i`ll do this when i have some time

thanks

---------- Post added at 03:31 PM ---------- Previous post was at 03:21 PM ----------

wrong it is here

http://xdaforums.com/showpost.php?p=64668415&postcount=1165
[Samsung Galaxy S Duos] dsadd:
This thread worked first intall recovery with odin and copy to ext.sdcard baseband, cm11 (rc2), cm11(rc3) after go recovery install > install baseband.zip installation finished left corner click wipe cache / dalvik cache after install cm11 (rc2) check zip signature start installation. Failed error and go home go install start installation cm11 (rc2) uncheck zip signature start installation succesfully and go home go install start insttalatinon cm11 (rc3) succesfully finished reboot system. Wait opening. Enter settings. About Device. Look Android Version 4.4.4 :) (Sorry for bad english :( )

---------- Post added at 05:51 PM ---------- Previous post was at 05:50 PM ----------

Thanks subject writer +rep
[Samsung Galaxy S Duos] KlinkOnE:
I dont know if i understood everything.

But why rc2?

Thats not needed!

You can always install the latest build directly.
[Samsung Galaxy S Duos] joshclaudio:
Hello. Been using this ROM for about 3 weeks on my S7562. I've used the 20151230 build, but I figured out that when I turn bluetooth on from the quick settings, the device soft reboots. This happens 'sometimes'. Then I found that there's 20160105 build (latest) and updated my ROM. I wiped data and then flashed the latest build. But the bluetooth problem mentioned above is still there. Is this really a bug in this ROM or I've done something wrong?

This is my flashing procedure:

1. Flashed stock ROM (XXBMJ1) via Odin.

2. Flash CWM Recovery via Odin.

3. Flash TWRP 2.8 with f2fs support.

4. Flashed XXLJ1 baseband.

5. Wiped data.

6. Wiped everything except external sdcard.

7. Flashed 20160105 build.

8. Flashed recommended GApps.

9. Reboot system.
[Samsung Galaxy S Duos] KlinkOnE:
baseband needed is XXLJ3

Ive had this bluetooth soft reboot too. But only when turning bluetooth on.

I dont know what this is related to. Atm it works for me on latest build.
[Samsung Galaxy S Duos] joshclaudio:
Sorry. That's a mistake while typing :) I use XXLJ3. Okay, now I know that I'm not the only one having this issue. Thanks for your kind response.
[Samsung Galaxy S Duos] kengnatural:
Compilation errors

Hi [MENTION=5484648]KlinkOnE[/MENTION],

I'm trying to compile CM11 from your https://github.com/KlinkOnE/android_device_samsung_kylessopen repositary according the "How to compile" instruction.

But it gives compilation errors. By making changes to sources I passed some of them. But seems that I'm missing something important. Do you apply any local patches to the sources in order to build CM11. Some examples to errors:

* too few arguments to function 'bt_hal_cbacks->pin_request_cb in hal-bluetooth.c

* Unknown RIL_UNSOL_SIM_PB_READY constant in telephony/src/java/com/android/internal/telephony/RIL.java

* Unknown EPOLL_CLOEXEC, epoll_create1() in external/bluetooth/bluez/src/shared/mainloop.c

Thanks.

---------- Post added at 01:23 PM ---------- Previous post was at 01:16 PM ----------

Sorry for disturbing you with such a simple questions. Although I have some coding and developing experience, it is my first try with Android. I'd like to investigate, learn and have posibilities for contributing.
[Samsung Galaxy S Duos] KlinkOnE:
You are missing the patches from device tree.

This drove me mad too when I first tried building until I realized that the patches have to be applied manually. ;)

I am sorry ive planned to update that guide a bit for convenience.

For patches:

Before building in terminal navigate to /patches in device tree.

Type "sh ./apply.sh"

All patches will be applied automatically.

Now build...

btw... nice that you want to contribute :good:
[Samsung Galaxy S Duos] kengnatural:
Thank you very much for your rapid answer. I'm going to try soon.
[Samsung Galaxy S Duos] kengnatural:
It happens in the latest build too, sometimes, when bluetooth is turned on first time . Uncaught exception happens in system process. Today tried to investigate this bug a little bit. Could not understand the root cause but we can mask the error with the attached simple changes (temporarily, until we find the reason and fix).

Edit: Seems that I managed to fix this soft reboot issue. The attached changes to sources fixed it on my phone (I deleted the previous remedy).
[Samsung Galaxy S Duos] dsadd:
:Bro direct install cm11 rc3 error first intall cmm11 rc2 after up to cm11 rc3
[Samsung Galaxy S Duos] Ashraf Iraqian:
i have this issue too.

but when should i put this file that you attached it?
[Samsung Galaxy S Duos] kengnatural:
Sorry, this file has to be applied to the source codes of the ROM and compiled.
[Samsung Galaxy S Duos] joshclaudio:
:D Looking forward for this to be applied. :)
[Samsung Galaxy S Duos] Ruvy:
Just a question about Gapps ? Do i really have to flash the one in OP. I think this is the link pa_gapps-modular-pico-4.4.4-20150117-signed.zip or can i flash any gapps to my liking ? Will opengapps do ?
[Samsung Galaxy S Duos] kengnatural:
If you are going to use ART as a virtual machine (not recomended) then go for pa_gapps. If you don't use ART then opengapps will do.
[Samsung Galaxy S Duos] Ruvy:
So now all i have to do is flash baseband, wipe my phone, flash rom, flash gapps and reboot ?

A bit confused about wiping. I got a OPO and whenever i flash any ROM, i wipe system, data, dalvik and cache and flash. Same procedure to follow in this case as well ?
[Samsung Galaxy S Duos] kengnatural:
Yes.
[Samsung Galaxy S Duos] zolyyy:
Google apps package builder

If you want the latest google apps. Build the latest relase on this website:

http://opengapps.org/

Duos config: x86 4.4 pico
[Samsung Galaxy S Duos] Ashraf Iraqian:
no !!

our device platform is ARM not X86 :)
[Samsung Galaxy S Duos] KlinkOnE:
Thanks

From my understanding these changes should only be present in the Bluetooth.apk.

Could you upload it? Or send me a download link.
[Samsung Galaxy S Duos] kengnatural:
My Bluetooth.apk is attached.
[Samsung Galaxy S Duos] KlinkOnE:
thanks

ive replaced mine with yours. It works as before.

So i'll package it in a flashable zip. Or would you do it?
[Samsung Galaxy S Duos] _AE_:
[MENTION=5484648]KlinkOnE[/MENTION] removed unofficial from the discussion thread as u said
[Samsung Galaxy S Duos] kengnatural:
Nice to hear it. It was my first Android related work, thanks for your help :)

It would be nice if you do it. I can do it tonight.
[Samsung Galaxy S Duos] KlinkOnE:
Then please do it. Maybe take a kernel zip as reference.

I'll link it in the op when its ready.

btw. cleaning up of the op is in progress

thanks a lot
[Samsung Galaxy S Duos] kengnatural:
Hi [MENTION=5484648]KlinkOnE[/MENTION]

The flashable zip file for soft restart fix when bluetooth switched on is attached.
[Samsung Galaxy S Duos] joshclaudio:
The bluetooth soft reboot issue seems to be fixed. Thanks to [MENTION=4056424]kengnatural[/MENTION] :thumbup: :)

But I found out another soft reboot issue.

- I installed a theme (Galaxy S5 CM11 theme)

- Applied the theme

- After some time, I decided to go back to the default theme. So I applied the default (Holo).

- Go to Settings > Apps and uninstall Galaxy S5 Theme. While uninstalling, the phone soft reboots and once booted up, I can finally uninstall theme.

[This happens in any custom theme]

Just sending a bug report :)
[Samsung Galaxy S Duos] Ruvy:
+1

In my case phone soft rebooted while uninstalling themes from Google play.
[Samsung Galaxy S Duos] kengnatural:
You're welcome.

Can you try this procedure and see if soft reboot happens?

* Switch to a custom theme

* Go back to default Holo theme

* Reboot your phone

* Uninstall that custom theme.
[Samsung Galaxy S Duos] KlinkOnE:
Linked in the op.

Thank you!
[Samsung Galaxy S Duos] kengnatural:
You're welcome.

About soft reboot when a theme is uninstalled mentioned by [MENTION=5756950]joshclaudio[/MENTION] and [MENTION=5559363]Ruvy[/MENTION]: the following patch solved it on my phone.
[Samsung Galaxy S Duos] kengnatural:
Could you please, also add the following patch into local patches in device tree (which we should apply before compilation) to prevent a compilation error.
[Samsung Galaxy S Duos] KlinkOnE:
ups ;)

not necessary the commit is (was) there it got overwritten with the bluez update I applied.

https://github.com/KlinkOnE/android_external_bluetooth_bluez/commit/a5b8af6fb734f681940459dc53f4af94d95e752c

I'll add it again to my fork of android_external_bluetooth_bluez no need to patch.

thanks

---------- Post added at 09:26 AM ---------- Previous post was at 09:22 AM ----------

where have you been for so long?

This is crazy fast!

I think you should create youself a github account.

Push your changes and send a pull request.
[Samsung Galaxy S Duos] kengnatural:
Thanks, that’s very kind of you.

I've just created a github account. Tonight I'll try to do as you suggested (should learn a bit about procedures :) ).
[Samsung Galaxy S Duos] Ruvy:
SOS ! Actually this s7562 belongs to my younger brother. After 2 days of use i finally gave it back to him and within minutes he came back screaming at me. Reason ? Play Store says Clash of Clans is incompatible with this device. Howcome ? I sent him the apk from my phone for the time being but the question remains standing.
[Samsung Galaxy S Duos] kengnatural:
This problem is not related to S7562 and this ROM.

Read this, please:

http://www.gottabemobile.com/2016/01/26/how-to-fix-clash-of-clans-update-problems/
[Samsung Galaxy S Duos] _AE_:
Its not problem with the ROM...i also sent COC from s4 to my s7562....and the coc worked...If we download coc from any where except playstore ...it works, Supercell are no longer supporting our device...means they will not give updates for our device..:rolleyes:
[Samsung Galaxy S Duos] Ashraf Iraqian:
Hello brother Kengnatural

thank you for help us to fix bluetooth issue.

please fix videos playing issue on facebook App. it not working?

download facebook from playstore and check it.
[Samsung Galaxy S Duos] DarKnighT916:
Can this also be a fix for S7560? We have the same problem.
[Samsung Galaxy S Duos] kengnatural:
As I understand this bug is related to the CM11's bluetooth package code, it is not a port issue.

So take a backup of old Bluetooth.apk and try to install and check this. May be it helps. Of course, I assume that you run the same version of CM11 as ours.

---------- Post added at 01:19 PM ---------- Previous post was at 01:10 PM ----------

This is related to the video codec issue. I'll try to investigate it.
[Samsung Galaxy S Duos] KlinkOnE:
no doesn't work for your cm11.

Maybe with codename13's last omnirom as it has the required Bluetooth patches.

---------- Post added at 01:09 PM ---------- Previous post was at 01:05 PM ----------

nice

no problem I'll help you when I can
[Samsung Galaxy S Duos] DarKnighT916:
No, I'm actually running Omni at the moment, but I had some reboots when turning bluetooth on.

I was hoping this could fix it, but apparently not. Thanks anyway :good:

---------- Post added at 12:14 PM ---------- Previous post was at 12:12 PM ----------

That's exactly what I need.

I didn't update my description for a while, wrong info.
[Samsung Galaxy S Duos] kengnatural:
Oh, sorry for my wrong info. I did not get into account that Bluetooth.apk package contains native code and it also depends on underlaying bluetooth stack. So it won't work in this compiled form.
[Samsung Galaxy S Duos] KlinkOnE:
funny fact: it is the modified omnirom Bluetooth package ;)

look at the local_manifest the cm11 Bluetooth package is replaced with this below

https://github.com/KlinkOnE/android_packages_apps_Bluetooth---daniel

here is the corresponding thread that with the help of m4jonez brought us working Bluetooth (+S7560 too)

http://xdaforums.com/showthread.php?t=2640723
[Samsung Galaxy S Duos] kengnatural:
Thank you for such a good references.

Now I'm confused a bit. Should I fork your bluetooth package repositary in order to make changes and initiate pull request? I thought that these files come from CM11 bluetooth package (these files exist in their repositary with the same bugs) so I should contribute there :)
[Samsung Galaxy S Duos] KlinkOnE:
I don't know if this is a bug in general or just specific for our device.

But I think if there were an issue with the official cm11 repo this would have been fixed in the meantime.

So I consider this as device specific for the time being.

So you'd have to fork mine and send the pull request.

For cm official I don't know how this is handled by them and if this gets accepted.
[Samsung Galaxy S Duos] joshclaudio:
[MENTION=4056424]kengnatural[/MENTION] ... You're so awesome!!!!! :thumbup: :D
[Samsung Galaxy S Duos] kengnatural:
You are right, saying CM's "bug" for bluetooth issue was not correct without knowing the exact reason why a method was called before initialization method.

I forked your repo and soon will send you pull request.

The second question is about ThemeUtils.java I've changed today. It belongs CyanogenMod/android_frameworks_base. Although it looks more like a bug or at least bad coding practice (the developer did not check the result code returned by method), as you said it is not known how CM team will handle the bug report. Should I add the patch to the manually applied local patches in device tree?

Thanks.
[Samsung Galaxy S Duos] KlinkOnE:
Add it to device tree.

Why not try to report to cm though.

Bugfixes are still getting merged for cm11. But I don't know how this has to be done.

Gesendet von meinem GT-S7562
[Samsung Galaxy S Duos] kengnatural:
I've added changes and sent pull requests. Hope everything done properly.

I'll try to open a bugreport to CM team too.
[Samsung Galaxy S Duos] KlinkOnE:
changes are merged

thanks
[Samsung Galaxy S Duos] KlinkOnE:
Hi all,

new build is available linked in the op to download.

It is built by [MENTION=4056424]kengnatural[/MENTION] including his latest fixes for various reboot issues.

Be sure to leave him a thanks somewhere.

Gesendet von meinem GT-S7562
[Samsung Galaxy S Duos] joshclaudio:
I am on 01052016 build. Can I flash the latest build without losing my data?
[Samsung Galaxy S Duos] Stefan_Eberle:
On which build are you :confused: You´re back from future? :)

---------- Post added at 00:08 ---------- Previous post was at 00:04 ----------

Let´s have a try :) :good:
[Samsung Galaxy S Duos] kengnatural:
When I tested, I just flashed it over the old build without wiping anything. But always take a full backup before flashing something just in case. If problem happens you can restore.
[Samsung Galaxy S Duos] joshclaudio:
[MENTION=6402761]Stefan_Eberle[/MENTION] what are you trying to say. I am currently on January 05, 2016 build. :confused:
[Samsung Galaxy S Duos] _AE_:
how to change the name of the default theme in cm11
[Samsung Galaxy S Duos] Stefan_Eberle:
Ah, OK, my fault! You wrote the date in mmddyyyy but in the filename the date is written yyyymmdd [emoji6] sorry!
[Samsung Galaxy S Duos] _AE_:
I fixed the soft reboot issue(CM-11)e...My device now no more reboots(CM-11)..Check this if View attachment 3635939it helped ...Flash via recovery and hit View attachment 3635938 Button
[Samsung Galaxy S Duos] Saikat218:
Xposed framework

i have noticed that after flashing the new update which is 2016.02.05, xposed framwork is not supported. what to do now ?:crying:
[Samsung Galaxy S Duos] kengnatural:
Sorry for inconvenience :( Could you please give more information about error and also your previous CM11 build and kernel?

How did you install new build? Fresh clean install or over old build?
[Samsung Galaxy S Duos] Saikat218:
i just flashed over my old build which is 2016.01.05. please help me to solve that, i cannot install the xposed framwork to my device. the new build fixes many issues thanks a lot
[Samsung Galaxy S Duos] kengnatural:
You're welcome.

Just a question. Was xposed working with the previous 2016.01.05 build?
[Samsung Galaxy S Duos] KlinkOnE:
look here for a temporary solution
[Samsung Galaxy S Duos] Saikat218:
yes it was working fine
[Samsung Galaxy S Duos] KlinkOnE:
sorry my fault :D

forgot to add this as a patch

https://gerrit.omnirom.org/#/c/15695/
[Samsung Galaxy S Duos] kengnatural:
:) Thank you very much. You saved me a lot of time.

I've just reverted back to the old build and tested. It works fine with old build. Before writing to you about possible missing patch I was thinking if it is related to jdk7 installed on my computer (assuming that nothing else was changed). I've just installed jdk6 and was going to recompile and test again :)
[Samsung Galaxy S Duos] Saikat218:
i cannot find the lib folder in the system but i can find the bin folder inside trwp filemanager
[Samsung Galaxy S Duos] bknightx3:
Same problem. I can't access my internal storage. Please fix it