yashsingh1/xdaforums huggingface dataset:
[Samsung Captivate Glide] giannhs_n:
[MENTION=4446774]organic2[/MENTION] i don't think that any build is slower or faster than other one, same sources used to build! anyway i can recommend you my memory manage settings that i use on every build and they speed up a little my phone

add(or replace) those lines on build. prop

dalvik.vm.heapstartsize=5m

dalvik.vm.heapgrowthlimit=48m

dalvik.vm.heapsize=128m

dalvik.vm.heaptargetutilization=0.75

dalvik.vm.heapminfree=512k

dalvik.vm.heapmaxfree=2m

dalvik.vm.jit.codecachesize=1

logcat.live=disable

ro.kernel.android.checkjni=0

ro.kernel.checkjni=0

ro.config.max_starting_bg=6

ro.sys.fw.bg_apps_limit=35

ro.config.low_ram=true

persist.sys.strictmode.visual=0

persist.sys.strictmode.disable=1

dalvik.vm.lockprof.threshold=500

*warning maybe stock browser force close if it dose use more mb on (dalvik.vm.heapgrowthlimit=48m), 64m are enough

regards

John
[Samsung Captivate Glide] organic2:
Ok. I test it againg 20151230 with your terminal codes.

But, if you want understand me about it. Only flash 20150825 or 14

And you can feel 2x faster and no lag. I think this is for added more security patch on 20151230 23 24 28
[Samsung Captivate Glide] giannhs_n:
i will give it a try when i have some time and i will report.. i am really a heavy user see my running app list on last build without lags i just keep 140-180 mb free ram with android oom kill and using swap (about 900mb)
[Samsung Captivate Glide] organic2:
Last version is very good. But sence added "android security patch december 2015" on about setting, I feel lag and more drain battery. On 201512-23 24 28 30

If you dont bleave, jut test 20150825

We dont have this title in about on old versions and i think thia issue for added new full security patch and this is too heavy for our phone
[Samsung Captivate Glide] giannhs_n:
[MENTION=5112223]bubor[/MENTION] max vm size allocation is buggy, that causes fc on some apps, whatever i change on build.prop it won't make any difference please help
[Samsung Captivate Glide] organic2:
You using Out Of Memory killing yet? You dont have problem with it?

My fc work on all programs fine

My rom 20150825+ 1230 kernel

20151223 have some fc problem and fix on 1224
[Samsung Captivate Glide] giannhs_n:
No it dose not effect

oom kill is how the system will free some memory by killing apps(safe without any error)

vm.heapsize is the max memory size that android will allocate for an app...

The problem must be kernel related :(
[Samsung Captivate Glide] organic2:
Ok.

I read about OOM kill and what deference with low memory kiling. But May kill important procces and make problem for system.

If i want use and test it, ask you on PM ;)

www.varun-anand.com/mem_mgmt.html

[MENTION=4100427]giannhs_n[/MENTION] i think you right! I have some app force close such as telgram after using 20151230 kernel
[Samsung Captivate Glide] giannhs_n:
useful link thanks ! i will try clean reflash maybe it will fix the heap size problem
[Samsung Captivate Glide] bubor:
if you find stable values, I would put in the next release.
[Samsung Captivate Glide] giannhs_n:
i am using those values for 1gb ram phone they seem enough and with good performance in my opinion

ro.sys.fw.bg_apps_limit=27

ro.config.max_starting_bg=5

dalvik.vm.lockprof.threshold=500

dalvik.vm.heapstartsize=8m

dalvik.vm.heaptargetutilization=0.50

dalvik.vm.heapminfree=512k

dalvik.vm.heapmaxfree=8m

dalvik.vm.heapgrowthlimit=100m

dalvik.vm.heapsize=174m

dalvik.vm.jit.codecachesize=1

note:for some reason witch i don't know the dalvik.vm.heapstartsize and dalvik.vm.heapgrowthlimit do not change... they are always set on default values heapstartsize (around16m) and heapgrowthlimit 72m that cause more memory drain... example always an app on start up drain 36-52mb even is not needed due to big heap start size so the rom feels slow, Also heapgrowthlimit is too low (if the developer of an app have not include to ask full heap size, cause force close.. i can not find any solution for those any help appreciated!
[Samsung Captivate Glide] bubor:
first of all low tegra reserved lovers, I've made kernel package: http://dualhoki.vim.hu/bubor/dev/11.0/tegra-reserved-192mb-kernel-only.zip

Please try it, and report back, you can install on all cm11 release.
[Samsung Captivate Glide] organic2:
YEP :) im try now! Im on it

What about dalvik.vm.heapsize [MENTION=4100427]giannhs_n[/MENTION] sayed? did you change any value Except gpu reserved, after B 1224 or 1230 on kernel?

http://xdaforums.com/showpost.php?p=64811780&postcount=224
[Samsung Captivate Glide] giannhs_n:
after hours of testing found out that those values do not change whatever i do "

dalvik.vm.heapstartsize= and

dalvik.vm.heapgrowthlimit="

vm.heapsize works :)

also tested all old cm builds cm11,cm10.1, cm10.2.. this issue exists on all builds except on cm10.1 and omini rom 4.3 build was about 2013.. i looked up on github all the commits on cm builds maybe it has to do with a gpu commit it was added on 2014 i will add links when i am from pc

[MENTION=5112223]bubor[/MENTION] the zip working fine, boots, wifi and all the rest work.. thanks!
[Samsung Captivate Glide] organic2:
[MENTION=4100427]giannhs_n[/MENTION]

thanks for Patience & Effort.

you realy found stable Value for this? [MENTION=5112223]bubor[/MENTION] must be fix it or we can do it easily on terminal emulator??

Yeah. new zip kernel 192MB work fine. im using too
[Samsung Captivate Glide] giannhs_n:
unfortunately those values(heapstartsize, heapgrowthlimit) do not change but i use those lines

dalvik.vm.heapsize=144m

dalvik.vm.heapstartsize=8m

dalvik.vm.heapgrowthlimit=92m

dalvik.vm.heaptargetutilization=0.50

dalvik.vm.heapminfree=512k

dalvik.vm.heapmaxfree=8m

dalvik.vm.lockprof.threshold=500
[Samsung Captivate Glide] bubor:
included in cm-11-20160126-UNOFFICIAL-i927.zip please try it.
[Samsung Captivate Glide] Darkcito:
autorotate not work

The automatic rotation does not work me in any rom based cm any solution please... :confused:

Thanks in advance for your time and attention :fingers-crossed:
[Samsung Captivate Glide] bubor:
do you use your keyboard open or closed?
[Samsung Captivate Glide] Darkcito:
closed not work

open work
[Samsung Captivate Glide] Androide3:
I told you before, flash osirom (or something like that) is a 2.3 rom, calibrate the gyroscope, should work fine again, then you can flash any rom without problems, it works for my...sorry for my English
[Samsung Captivate Glide] Darkcito:
the other rom work fine the trouble is only in rom based on CM :eek:
[Samsung Captivate Glide] organic2:
i found some problem with this. w times when i pinch zoom on images, glaery force closed. when use PicsArt app, after edit some images, apps force closed or no work any more and should be close app.

when playing video on opera & uc browser, have force close. but when use default kernel i dont have this problem.

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

im on it. but no Impressive deference with 20151230

i feel some slow working on: such as graphical switch betwhen apps (minimize maximize apps) . and on switch left - right, UI notification bar

i set governores to performance, but speed not back e.g 20150825
[Samsung Captivate Glide] giannhs_n:
i reboot my device daily and i don't face any problems like that.. anyway our chip is buggy and old do not expect normal behavior on every app..about performance on cm11 indeed is bad for heavy users, the faster and stable rom i have ever use on captivate-glide is cm10.1 but there is not any updated kernel for it..
[Samsung Captivate Glide] Androide3:
I agree, cm10.1 is the most solid ROM for our glide, sedirom is great,but ics is too old now and many apps dont have support anymore ...sorry for my english...
[Samsung Captivate Glide] organic2:
I like 4.2.2 JB too. Becouse all of my old apps work on it, and its light.

If you want use cm 10.1. Use kissAss kernel for less bug.

You can use litekernel jb:

http://xdaforums.com/showpost.php?p=63486778&postcount=116

Kissass kernel is stablest:

http://xdaforums.com/showpost.php?p=54929468&postcount=52
[Samsung Captivate Glide] bubor:
you can use my kernel on any rom, since it replaces kernel in boot.img, Ony thing, what is the modules path?

would you try this: http://dualhoki.vim.hu/bubor/dev/11.0/tegra-reserved-192mb-kernel-only-oldone.zip

IT should work in cm10.1 too.
[Samsung Captivate Glide] giannhs_n:
i try it, everything works great!! but i can not make wifi to work.. i try to load and modules with script after rom boot (with insmod /system/lib/modules/blabla) with out any luck, any way to get wifi working on cm10.1 with 192 mb kernel ? i also tried with gra kernel without any luck no wifi again, thanks!
[Samsung Captivate Glide] organic2:
Wipe cach & delvik. And flash againg.

Try other madoule libarry. Such as 20151228, scsi_wait_scan.ko file
[Samsung Captivate Glide] giannhs_n:
modules are kernel specific for every build ... it will not be able to load them, i think that we need a rebuild on cm10.1 kernel tree to get wifi working
[Samsung Captivate Glide] bubor:
just got an i927, it worked for me.

Installed http://dualhoki.vim.hu/bubor/dev/10.1/cm-10.1-20150826-UNOFFICIAL-i927.zip

no gapps ( I dont remember gapps depended)

then installed http://dualhoki.vim.hu/bubor/dev/11.0/tegra-reserved-192mb-kernel-only-oldone.zip

reboot, and wifi works.
[Samsung Captivate Glide] giannhs_n:
Thank you very much for that!! i had flashed cm11 kernel instead cm10.1... about Google Apps please use gapps-jb-20130427-nonneon-tonyp.zip , enjoy a speedy glide!
[Samsung Captivate Glide] Darkcito:
Gapps package for pac_i927-milestone.1.RC1.4 ? Thank for your attention
[Samsung Captivate Glide] bubor:
please use correct topic!
[Samsung Captivate Glide] Darkcito:
sorry

please delete
[Samsung Captivate Glide] organic2:
Best Rom For Samsung Captivate Glide

[MENTION=4100427]giannhs_n[/MENTION]

I set your codea. But after 20151230, added 2016 android security patch.and i think the slow graphics proccessing for that.

I realy bleave 20150825 is fastest rom for glide

I mixed 20150825 Rom with last 20160126 kernel

Please test it and report

Best Rom For Samsung Captivate Glide

Download Link:

Yon.ir/cm11mix
[Samsung Captivate Glide] ronaldteune:
does anyone use ART on this rom, and if so, how does it work?

has anyone got the gesture mode of aosp keyboard working?

thanks!
[Samsung Captivate Glide] organic2:
im not dont know ART. your mean is new cach mode?

yes gesture sony keyboard and go keyboard and aosp keyboard, work
[Samsung Captivate Glide] fatxdad:
Automatic start on charge?

Hello,

after flash of cyanogen mod the captivate glide starts on charging if it was shut down. Is this the normal behavior? Can this switched off?

Thanks for the Mod!
[Samsung Captivate Glide] bubor:
yes, its offline charger. Offline charger doesnt work correctly.
[Samsung Captivate Glide] grtsarav:
Art worked OK at least....remember that art in KitKat is more like a beta.....by the way I tested this on crdroid a long while back when my cappy was working[emoji22] ....since crdroid uses the same base as this it should work fine here also....
[Samsung Captivate Glide] ronaldteune:
ART = Android Run Time. It's the new Dalvik.

With my AOSP keyboard I can see gesture trails, but gestured input does not work. No text will appear, not in Dutch, nor in English. Does it work for you? I don't have Play Store and prefer an Open Source gestured keyboard...

Ok, that made me try it ...and now I can confirm for all: the Captivate Glide does *not* boot with ART. :p Luckily it could (somewhat) easily be reset to Dalvik in Recovery.
[Samsung Captivate Glide] giannhs_n:
i am using the latest 2015 build and art was working but the phone wasn't faster and it had some app freezing so art is bad idea for kit kat
[Samsung Captivate Glide] fatxdad:
Problem with 802.1x EAP with TTLS/PAP

Hello,

i can't connect to an university WLAN using 802.1x EAP with TTLS/PAP is this a problem of CM11? I have no idea what goes wrong ... :confused:

Best regards
[Samsung Captivate Glide] uukgoblin:
Broken bluetooth in-call audio

Hello and thanks for all the hard work you've done!

I've just installed this ROM on my Captivate Glide and everything works perfectly except bluetooth in-call audio via HFP (a2dp bluetooth when playing mp3s works great). By default there's no in-call sound at all, and when I run alsas to switch stacks to GSM, the in-call sound is a very loud noise (in the bluetooth receiver, tried 2 different ones). You can barely discern some of the correct audio among really very loud noise (I have a recording if someone wants to hear it). Sounds like an incompatible codec or wrong format or something of that sort. This works fine in stock GB 2.3.5 as well as stock ICS 4.0.4. Any clues on what I could do to try to fix this? Has anyone else had a similar issue?

Thanks!
[Samsung Captivate Glide] steadfasterX:
The reason why I created the ROM named sediROM is that since KK headset profiles stopped working. You will find no ROM with KK or higher where this works.
[Samsung Captivate Glide] uukgoblin:
Thanks a lot for that piece of info, the way it's laid out in the header of this thread it looks like it's fixed by that Audio_Fix.4.apk (which doesn't work for me). I guess that only fixes VoIP.

I'd like to try sediROM too, but I'm worried that Stagefright 2.0 bugs are still open on it (since there are open issues about it on Github). Are they fixable? Or in other words, is there a ROM that has working bluetooth which is patched against the latest Stagefright exploits?

Thanks
[Samsung Captivate Glide] steadfasterX:
You're right and a very well informed user - I like that ;)

yeah I opened that issues on github because I want to fix them (even nowadays) but there are absolutely no due data there..

regarding your last question I don't know but I don't believe so. Those bugs needs active development and well bubor and me are the most "active devs" here ;) .... and we both haven't released any new things over the last months.. ;)
[Samsung Captivate Glide] uukgoblin:
OK, cool, thanks for the update :)

CM released some fixes for 10.2 at http://www.cyanogenmod.org/blog/more-stagefright but I'm not yet sure if those are the latest ones. The date of posting, August 13th, sounds about right. I'll try to compile sediROM and then see if I can cherry-pick those fixes.

Thanks a lot for keeping the Glide alive, IMO it's the best phone evarr and a great shame they don't make sliders anymore.
[Samsung Captivate Glide] steadfasterX:
yeah I know those cherry picks but there are a lot more.

you cannot "compile" sediROM as it is a stock based modified ROM. The only chance to get those issues fixed is to mix the stock base with code coming from CM or AOSP.

I have build scripts made for sediROM of course but no compiling here but if you can cherry pick those fixes you could update the github issues with a link to the commit or even try to compile AOSP -> ICS with that fix and share the result. I haven't started the whole process yet so I'm not sure if and how all that may work ;)

And for the rest of discussion we should use the sediROM thread instead ;) so we do not bother the CM11 users anymore

Update:

no compiling for the ROM but for the kernel->yes ;)
[Samsung Captivate Glide] uukgoblin:
Yeah I've just realized this after having a deeper look inside the github repo for sediROM :)

Thanks for the update. I'll see what I can do (but no deadlines! lol).

I'll also try to have a look at those audio libraries. I'm thinking to create a wrapper library with some debugging info to have a look at why it might be failing on 4.4 ROMs.
[Samsung Captivate Glide] uukgoblin:
Fixing Bluetooth

Hi guys,

What's the status of fixing Bluetooth (in-call audio, HFP) here? The first thought that comes to mind is to get all the responsible libraries from stock ICS (or sediROM), put them in a chroot and create a "translator" library that will pass all the calls from KK to this chrooted setup. Has anyone tried this? Is this feasible? If not, how would you approach it?

I'm finding that the deeper I go to understand the bluetooth stack in Android, the harder it is to find docs :)

I originally thought that /system/lib/hw/audio.*.so bunch of libs was responsible for that, but they only handle audio to and from the Android system, and not the actual phone call stuff (aside from setting some parameters like realcall=on, routing=1048576 or bt_headset_name=GoblinsHeadset;bt_headset_nrec=on -- but the audio that goes through them is not the call audio but just a bunch of zeroes). I'm suspecting /system/lib/libbluetooth.so now, but googling that is a little harder.

Any help would be appreciated :)

EDIT: what might be of interest, the parameter bt_samplerate=8000 is also set in audio.primary.tegra.so during a call. Could that be the missing bit in 4.4?

EDIT2: nope, cm11 sets bt_samplerate=8000 as well, so it's not that
[Samsung Captivate Glide] steadfasterX:
First of all I believe you should create an own thread for this project but because of this special part you trying.. but thats my opinion only

Besides this my approach to get hsp working in KK or newer was to replace the whole Bluetooth stack (using the ics one in KK) but haven't had any success here (and not spending much time in this)
[Samsung Captivate Glide] bubor:
I dont know too much about bluetooth. You can find samsung open source pack here for SGH-i927. There is the patched bluetooth stack in the pack.
[Samsung Captivate Glide] uukgoblin:
Whoah, thanks a lot, I've been looking for that release for a while! Is it still available somewhere on Samsung's or AT&T's website?
[Samsung Captivate Glide] bubor:
latest binary: http://dualhoki.vim.hu/bubor/dev/I927UCLG9_OneClick.exe

check my collection: http://dualhoki.vim.hu/bubor/dev/
[Samsung Captivate Glide] bubor:
updated to 20160809, please test it, and report back.

Included security updates in CM-11.0
[Samsung Captivate Glide] uukgoblin:
[MENTION=5112223]bubor[/MENTION], would you consider trying to port BlueZ for Android into your ROM? I've found a guide here: http://xdaforums.com/showthread.php?t=2640723 . I have high hopes that this might fix HFP. I'll try my chances with it too once I get a kernel to work (currently stuck at http://xdaforums.com/captivate-glide/general/help-compiling-sedikernel-kernel-t3450728 )
[Samsung Captivate Glide] bubor:
call profile doesnt work any custom rom, bluez was in 4.1 and bt doesnt work with that rom either.
[Samsung Captivate Glide] Gthunders:
Thanks for still trying to keep the support for this cell phone alive! My issue seems to be with trying to use youtube be it on theroms browser(does not load) eventually the browser will unfortunately close or the youtube app seems to do do the same. I followed your exact directions and still the same results. Btw I am not using any gapps package and is there a glitch of sort when you first freshly boot the rom and give it time to load and do its thing for it to close or freeze up when you try to sign in with your google account? It just freezes or locks up then I have to reboot.
[Samsung Captivate Glide] bubor:
please post logcat

you can find app for that.
[Samsung Captivate Glide] organic2:
Hi. Thanks for support.

im on cm11 20160809 one week

I have some many Restart when: scrolling web pages, press power key to unlock, open camera & hanging, typing by touch, work on telegram, calling, and some graphics work.

I see pink and blue noise Line on screen one time.

I dont check bluetooth handsfree ....
[Samsung Captivate Glide] bubor:
hard or soft restart? could you post logcat?
[Samsung Captivate Glide] organic2:
i dont know diferent! phone restart when graphic working. banG! reset

now, im not on cm 20160809 for give logcat to you :(
[Samsung Captivate Glide] bubor:
soft reboot is only gui restarts.

Check uptime.

Soft reboot doesnt reset logcat.

Hard reboot means kernel issues.

I've removed that release. I've realized no updates, so I decide to say end of life.
[Samsung Captivate Glide] organic2:
No UI restart. Fully restart phone and start over samsyng logo.

Im not on cm11 to yesterday for give and and send logcat.

But i guess this is kernel issue. Becuse on 20151221 i have some restart like this when graphics work.

im re flash it now. but not restart yet. when restarting i get you logcate
[Samsung Captivate Glide] organic2:
Hi [MENTION=5112223]bubor[/MENTION]

I have news.

My Restarting problem has been fixed automaticly after 2 weeks work with cm11 20160809

I dont have restart or force close any more.

I dont know Why! I do noting
[Samsung Captivate Glide] bubor:
updated build with october's security updates.
[Samsung Captivate Glide] bubor:
build a Lineage os build, it should be same as CM-11

lineage-11-20170207-UNOFFICIAL-i927.zip

It has some security update only, and name change.
[Samsung Captivate Glide] fallen_13:
Wow, thanks for the update again!:D
[Samsung Captivate Glide] organic2:
Thank you some much bubor

I know, Cyanogen mode is stoped working. He sayed on tweeter
[Samsung Captivate Glide] radbme:
This is sweet! I just flashed this and installed open gapps. After the play store updated and my account was restored at first use I rebooted. Now I'm getting a ton of Google services errors. Which gapps should I use?
[Samsung Captivate Glide] bubor:
gapps was included in zip.

You can try just installk this zip without any gapps.

Or you can try install this zip, then remove gapps ( http://dualhoki.vim.hu/bubor/dev/remove-gapps.zip ) , then install open gapps. Open gapps has some issue on tegra2 devices.
[Samsung Captivate Glide] radbme:
Oooooh. That makes sense. OK thanks.
[Samsung Captivate Glide] radbme:
I need to start over. I think I have the right firmware downloaded and I have Odin. Is there a good tutorial out there to flash back to stock?
[Samsung Captivate Glide] bubor:
you dont need to flash stock. You need twrp, wipe data from twrp, and flash zip, thats all.

you can found stock images: http://dualhoki.vim.hu/bubor/dev/ , put your phone to download mode, and use odin.
[Samsung Captivate Glide] radbme:
Thanks for the reply. I'm no stranger to twrp and had wiped before but I went ahead and did it again after I read your reply. I've attached some pictures to show what's happening. Logging into at first use gets an error. Completing first use does seem to work despite the error you see. I don't get any errors after that until I install a Google app like Gmail or in the pictures hangouts. I did update play services from the store but that's when more problems occur. A reboot doesn't fix it either. I'm pretty confused but not frustrated. I'm happy to keep testing to solve this. Thanks.
[Samsung Captivate Glide] bubor:
please send me logcat.
[Samsung Captivate Glide] dayanest:
Error >Google Services

Good friend I have the same error in google services and I do not know what to do. I was glad to know how to arrange for google services to work properly. Excuse my bad english use translator
[Samsung Captivate Glide] radbme:
I was going to skip adding a google account and sideload Logcat to get you the log but decided to do some more trouble shooting and I got this working.

I wiped in twrp and then ran your remove-gapps.zip and then installed open gapps. Seems to be working fine!

Have your friend run my steps and see if it works:

Download open gapps http://opengapps.org/ (I used nano) and remove-gapps.zip from above and transfer them to the phone.

Boot twrp

Wipe

Install remove-gapps.zip

Install open gapps

Reboot and test

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

I spoke too soon. I'm getting crashes again. I'll get that log to you.

---------- Post added at 09:23 PM ---------- Previous post was at 09:06 PM ----------

http://pasted.co/38e2903e

Here's my log.
[Samsung Captivate Glide] dayanest:
Error en google services

I think the fault we are giving the latest version of google services, because when loading the newly flash rom works well until q is updated to the minutes.