yashsingh1/xdaforums huggingface dataset:
[Miscellaneous Android Development] helloansuman:
Great work brother :)
[Miscellaneous Android Development] rishiandri:
Is der any way to fix the magnectometer? I am facing in this and ur previous ROM too.. :( This ROM is not as smooth as ur previous release..
[Miscellaneous Android Development] cyberzone5:
Is it for any Specific Device? Pardon me but I didn't understood what this thread is for.
[Xperia Z Q&A, Help & Troubleshooting] zqchin74:
I currently using stock rom stock kernel,rooted on my xperia z

Can I install dt2w feature without any kernel with performance mod or something?
[Xperia Z Q&A, Help & Troubleshooting] kingvortex:
DT2W needs support in the kernel, so a custom kernel is a requirement.
[HTC Desire 601] S0td0t:
I need help urgently... I keep booting up Cwm on my htc desire 601 zara ul and the recovery keep crashing when i am trying to do anything :( and i cant boot up my phone....please anyone who knows can help me please reply!!!
[HTC Desire 601] -Duir-:
Are you on KitKat? If so, you can't use CWM, you need to use this modified TWRP.
[HTC Desire 601] S0td0t:
well i just install it and it crash also
[HTC Desire 601] mrplowdan:
What exactly crashes? Are you able to successfully flash the TWRP -Duir- posted?
[HTC Desire 601] S0td0t:
Nvm I got it to work the device again!! Just used abit of common sense
[Web App Development] indietab:
HI

there as you can see the title what i am looking for

Global variable make app or game slow ?

Thanks
[Web App Development] Hvedrung:
No.

I don't know why it should. Using many global variable is not a good practice, you should avoid it but it shouldn't slow your app/game.
[Web App Development] Angelkom:
Yes they slow it because the global variables cannot be collected with the garbage collector, so the app or game becomes heavy.
[Web App Development] khashayarp:
The primary reason why global variables are discouraged in javascript is because, in javascript all code share a single global namespace, also javascript has implied global variables ie. variables which are not explicitly declared in local scope are automatically added to global namespace. Relying too much on global variables can result in collisions between various scripts on the same page. It is better to avoid them.
[Web App Development] gegerhr:
You should run test to see usage of your memory, to many globals with lots of data can slow you down. You should use it for constatnts.

Keep the memory optimal, and make sure you dont have any memory leaks.

Important, you need way to see memory usage.
[Web App Development] Edwin Bos:
In short: no

However, you should avoid having large variables arrays, lists, etc. that you do not use. As the global variables will always have a reference to them, the garbage collector doesn't destroy them (as mentioned before), so they keep occupying memory unless you clear them yourself (for example by setting them to null).

If you need the functionality (and the values contained in the variables), it doesn't really matter where you define them, just know that you have to delete them (variableRef = null) if you dont need them anymore...

Have fun.
[Web App Development] ImDave:
I doubt it would
[Web App Development] Archer:
It's actually not possible to answer your question appropriately without more information. For example, if you have

window.x = 1;

at the beginning of your script then it won't slow anything down. If you have this though

window.x = [];
for (var i = 0; i < 999999999; i++) {
window.x.push("ABCDEFGHIJKLMNOPQRSTUVWXYZ");
}

then that will obviously have an impact.

Also, do your variables *need* to be global, or do you not know a better way to do something, or are you just being lazy?

Context and a description would help, otherwise there's no correct answer.
[Web App Development] PaulTehGreat:
Global variables could be painful about 10-15 years ago. Nowadays computing machines so fast and advanced, even if it makes slower, you won't feel it. Dont worry about your scripts, if you have got good algorythms. Visual effect and animations slow your app, think about it.

Also i advice to use Singleton class for storing globals
[Web App Development] djscorchio:
It's not really possible to answer this, not knowing exactly what are used as globals, but my first bet would be to say no, they won't slow down the app considerably unless you're storing "weird things" as globals. (For example, I don't think that having 10 booleans as globals would have measurable impact, it's another topic whether that would make any sense at all. Anyway, from what I know usually applications need to keep their state somehow and it's your job to figure out how to do that, using globals, singletons or whatever.) It's not going to be a good practice to overuse globals though, so I would avoid that to a degree.

More importantly you will need to learn how to detect the potential performance issues in your application: sometimes a badly written UI can cause much worse problems for sure, not to mention carelessly written networking routines etc.
[T-Mobile Samsung Galaxy Note 3] jeaniturrizaga:
Hello, I have a pair of bluetooth headphones lg hbs 730 that always worked fine on my note 3. After updating my phone to the latest nf1 software it just wont even detected the headset. Anyone else having this issue witb bluetooth or know a solution? THANKS!
[T-Mobile Samsung Galaxy Note 3] intuition34:
I'm afraid to say I have both those and the 800 and both have had no problems whether on stock or tweaked 3.0 (last Coq No special sauce needed at all. Sorry I couldn't be more helpful.

-mark
[AT&T Samsung Galaxy Note II] nicolemcdanieli717:
I have a new note 2 i317 that I can't figure out why the home button instead of going to the home screen it goes to the menu. If I am in an app I have to push the back button until I get to the home screen. I just got it in the mail completely refurbished uprading from the note 1and it worked for a day or so and then all the sudden it is going to the menu options. Please help. I did a data reset but it has not worked.
[AT&T Samsung Galaxy Note II] terpin32:
try doing a factory reset in the i think privacy settings or sometimes in storage
[AT&T Samsung Galaxy Note II] nicolemcdanieli717:
I have already tried it. It's not working
[AT&T Samsung Galaxy Note II] SockmanTGR:
Try factory resetting from the stock recovery. Power+volup+home.
[AT&T Samsung Galaxy Note II] absinthesummer:
This might be a silly thought, but I had a similar issue once (with my S3, not my Note2), and it was because there was something sticky around/under the home button. So when I would do a single press, it would stick and think I did a long press, which would bring up the menu. In my case, I thought it was a software problem too but it turned out to be a hardware problem. To fix it, I turned it off, removed the battery, and disassembled until I had clear access to both sides of the home button. I did NOT remove the home button or the ribbon cable, but I did clean all areas on and around the home button with alcohol. Let it dry & put it back together & it worked like normal.

My kids are very sticky sometimes lol. I no longer let them play with my devices until their hands are free of any crud. I have no idea what it was they got on my button (or it could have been something from work since my phone was in my apron pocket)... but the point is it's very easy to get something sticky down in there and not realize it, and a good cleaning can go a long way ;)
[AT&T Samsung Galaxy Note II] jparnell8839:
The buttons and softkeys are controlled by the firmware on the board and completely different from any ROM firmware you could flash. I think it is safe to say that it is 99.999999% likely a hardware fault.

In the unlikely event that it is that 0.0000001% chance, your best bet is to completely wipe /system, /data, /cache, and /dalvik, then Odin back to stock to see if that corrects it.

If it doesn't, I'd look at taking it to a repair UNLESS the place you got it from that refurbed it has a warranty on it.
[AT&T Samsung Galaxy Note II] absinthesummer:
I agree that it could be a rom that has the keys remapped, as that was my first thought (Hello DN3 lol, love me some DN3, but I chose against key remapping), however the OP said the home button was working as expected for a while, and then it started to display long-press behavior on every press. In that case, I'd recommend inspecting and/or cleaning the home button. It's unbelievably easy to get junk in those tiny crevices.

But yeah he could try wiping everything first and see if that fixes it. Wouldn't hurt.
[Samsung Galaxy Nexus] calebcabob:
Can someone who doesn't mind installing the Visual VM app please send me a copy of their build.prop from the stock ROM after doing so? I need to see which modifications are made to build.prop once the Verizon Visual Voicemail (Nexus version) is installed.

Thanks!!:good:
[Android Apps and Games] CrotaNexus:
Reserved for future.
[Android Apps and Games] CrotaNexus:
Reserved........
[Android Apps and Games] morfances:
Great app, just installed has everything you need to change the settings of your kernel and much more xD
[Android Apps and Games] miseusegau:
Great job, welcome my friend:cool:;)
[Android Apps and Games] gpvecchi:
Very nice interface, but I can't control color/gamma settings of my kernel...
[Android Apps and Games] CrotaNexus:
Hi, thanks for your feedback. For the moment the application allows to change colors display only for the Galaxy Nexus and Samsung Galaxy S2.
[Android Apps and Games] N1m0Y:
Excellent work friend:thumbup::)

Inviato dal mio pidocchiosissimo GT-I9100 con Tapatalk 2
[Android Apps and Games] Spectrum75:
Hmmm...interesting, clean, light, nice work mate :) Welcome :good:
[Android Apps and Games] Tylog:
First of all , thank you

Not bad, not overloaded, that's what i like, good. All base stuff is available, only colour settings for Hammerhead is missing but i am sure it comes.

All in all, great work, i use trickster for long long time but the project looks dead and I missing many things.

I test your app now some time, donation will following.

Tapatalk Team SlimRoms
[Android Apps and Games] danmaman:
yeah man that's right

simple , light -----what do you want more:good::good::good::good:

works great with ElementalX kernel

keep the great hard work

cheers
[Android Apps and Games] gotzaDroid:
I flop flop between elementalX and chaos on CM, so my question to you is, before I load elementalX, does this app allow for sound tweaking with elementalX?
[Android Apps and Games] danmaman:
hey mate

i dont know and i've not tried it yet

i use viper4android and fauxsound app to do this

but it is worth to install elementalx all the time;);););):good::good::good::good::laugh::laugh:

cheers
[Android Apps and Games] gpvecchi:
No, no sound tweak... I like "flop flop".
[Android Apps and Games] gotzaDroid:
HA! Sinking auto correct. Guess no one at Google uses " flip flop" any more ?
[Android Apps and Games] CrotaNexus:
Kernel Manager for the moment doesn't support the possibility of manage Faux Sound Tweaks. For more details about the motivation read HERE.

I'm very happy to read so many positive feedbacks. Thanks to all for the great support! If someone want to suggest new feature i'm happy to develop it.
[Android Apps and Games] jyuuken:
Awesome awesome app. We appreciate your hard work on this! Great dev!
[Android Apps and Games] Spectrum75:
[MENTION=5255724]CrotaNexus[/MENTION]

Well, some feedback after using this since last night, with Code Blue on Purity :

No problems regarding stability, every setting i tested sticks right after reboot and i like the option to disable backlight dimmer.

Simple, clean and light.

But except colors you have already mentioned, i noticed some other "bugs" :

The first time you open the app it doesnt read correctly the max cpu freq. If you reopen it then its fine.

Secondly, it only reads the values on 2 cores of cpu.

And finally, the read of ram usage must be totally wrong.

Unfortunately, i didnt had time to test your app paired with other kernels ( for the time being at least ) so i dont know if these are "general"

bugs/problems.

I imagine that eng.stk could assist you if any help needed to fix this in Code Blue and maybe add more tunables if you are interested.

But having in mind that this is a beta version, i think the potential is there for great things in the future, keep on and many thanks ! :victory:
[Android Apps and Games] CrotaNexus:
I'm not sure but maybe the file that contains the max value of the CPU has wrong permissions. Can you see which permissions are setted for the file that is situated in /sys/devices/system/cpu/cpu0/cpufreq/scaling_max_freq? Thanks in advance.

Sorry, i don't understand. What do you mean?

To read current usage of RAM i utilize Google's API inserted since API level 16. The methods are: avaialMem and totalMem. This is the description that Google provide about these methods.

avaialMem

The available memory on the system. This number should not be considered absolute: due to the nature of the kernel, a significant portion of this memory is actually in use and needed for the overall system to run well.

totalMem

The total memory accessible by the kernel. This is basically the RAM size of the device, not including below-kernel fixed allocations like DMA buffers, RAM for the baseband CPU, etc.

Which numbers do you see about memory usage on my application? Thanks for the compliments and support. I really appreciate!
[Android Apps and Games] Spectrum75:
1 ) permissions for the file that is situated in /sys/devices/system/cpu/cpu0/cpufreq/scaling_max_freq = -rwxrwxrwx ( 777 )

2 ) In "Informations" screen i read only CPU0 and CPU1, shouldn't i read also CPU2 and CPU3 ?

( Little thing, word "Information" is already in plural, no need for "s" i think ;) )

3 ) In your app i read a Mem Usage of 1100+ MB/1851 MB when in Trickster i.e. shows 500+ MB/ 1851 MB

Maybe both apps are using differnet methods or APIs, i dont know, i'm not an expert :angel:

Later at night, after work, if i will have time i will try to investigate more and give further and more accurate info.

Thanks for the interest :good:

Edit:

I gave a short ( due to no time ) try with Linear 2.6 of [MENTION=4950720]hottix[/MENTION] and Linaro Mahdi of [MENTION=5263625]neriamarillo[/MENTION], issues 2) and 3) are still there.

Idk what other users have to say regarding the above.
[Android Apps and Games] CrotaNexus:
For the moment i haven't any solution in mind for fix this issue.

This is because if you are not using core one, two or three they are not displayed but if you try to "strive" the phone you'll see that are displayed.

Yeah, you're right! I'm sorry.

I don't know what to tell you. [MENTION=4950720]hottix[/MENTION] has tested this app many times and has never reported this issue and on my device works perfectly. However, I will try to find the cause of this problem and to fix it, if possible.

Thanks for all.

If someone other can test this features (memory usage) and let us know if it works or not it would be a great thing.
[Android Apps and Games] CrotaNexus:
Someone want to release some feedback about the application? I really need to feedbacks for improve Kernel Manager. Thanks.

Inviato dal mio Galaxy Nexus con Tapatalk 2
[Android Apps and Games] Tylog:
Works all in all fine. Settings stick after boot. Only things i am missing, colour control (profile) and sound settings.

Didn't find any significant issues.

Tapatalk Team SlimRoms
[Android Apps and Games] CrotaNexus:
Thanks for feedback. About Memory usage issue reported by [MENTION=5638350]Spectrum75[/MENTION]? Have also you this "problem"?
[Android Apps and Games] Tylog:
No

Tapatalk Team SlimRoms
[Android Apps and Games] Primokorn:
Hi

"Apply on boot" doesn't work here (Governor modification)

In the settings I checked "Apply values on boot", "show notification" and "grace period" (2)

5min after the reboot the governor is still ondemand instead of optimax.

Nexus 5 - Uber kernel - Kernel Manager is the only tool that manages the kernel atm.

Let me know if you need more information.
[Android Apps and Games] CrotaNexus:
Hi, sorry, the cause is grace period. There is an issue with him. I'll fix as soon as possible. Sorry again at all. For the moment, clear app data and don't use grace period. Let me know if works without grace period applied.
[Android Apps and Games] Primokorn:
No worries. It works without the grace period. I do have the notification too.

Great app BTW :good:
[Android Apps and Games] CrotaNexus:
For all people that are using Kernel Manager

To stay up to date on developments of the application join into the Official Community of KM on Google+.
[Android Apps and Games] Gnome:
[MENTION=5255724]CrotaNexus[/MENTION] kudos man, loving the app, works perfectly with my kernel.
[Android Apps and Games] Jeeko:
Awesome app, works flawlessly!
[Android Apps and Games] TheAntagonist:
I keep getting this error msg. What did I do wrong?
[Android Apps and Games] CrotaNexus:
[MENTION=4263897]TheAntagonist[/MENTION], probably the apk file is corrupt. If you are using Chrome as browser try re-download with stock browser. Next time, please, use the spoiler.

For all people that are using Chrome as browser

If you've downloaded the application using Chrome and when you've tried to install it has received some kind of error try re-downloading the application with an other browser (i suggest stock browser) or from PC. Chrome has problem with MediaFire with any type of apk

so if you get some errors when you try to install Kernel Manager isn't a problem of the application!

Inviato dal mio Galaxy Nexus con Tapatalk 2
[Android Apps and Games] TheAntagonist:
Thanks man. That's one thing I overlook a lot. Gotta click the spoiler.
[Android Apps and Games] CrotaNexus:
The application is now avaiable in the Google Play Store! If you like it please leave a review. Link for download: https://play.google.com/store/apps/details?id=com.simonedev.kernelm
[Android Apps and Games] rayiskon:
5 stars from me. Keep it up.
[Android Apps and Games] daniel84cs:
+1
[Android Apps and Games] HTCore:
Is it updated version btw?
[Android Apps and Games] CrotaNexus:
Yes. ;)
[Android Apps and Games] boyz211:
Im using Omni ROM with its inbuilt kernel. will it work or not??
[Android Apps and Games] CrotaNexus:
Yes, why not? Anyway, now the application is avaiable on Google Play Store so you can download from it.
[Android Apps and Games] HTCore:
Ever since I upgraded my phone to Lollipop I can't run Kernel Manager, getting FC. Does anybody have this issue?

Is it compatible with Lollipop? I've tried with three different ROMS all CM12 based and 5.0.2.
[Android Apps and Games] Isley_:
Deleted
[Android Apps and Games] CrotaNexus:
Kernel Manager is back online with a new beautiful, simple and intuitive UI. Please, leave or update your reviews on Google Play Store. Positive reviews or +1 make me happy and help me to continue developments. Thanks.﻿ Download here.
[Android Apps and Games] CrotaNexus:
This problem has been solved with new update (KM V2.0).
[Android Apps and Games] CrotaNexus:
Kernel Manager V2.0.1 is now online

I worked hard on this new version and i've added some exciting new features like Screen control, Sound control, DT2W (DoubleTap2Wake) and Wake Timeout, new features descriptions and minor changes and bug fix have been done. Enjoy!

https://play.google.com/store/apps/details?id=com.simonedev.kernelm
[Android Apps and Games] FireCulex:
Yeah we really need a way to fix a horrible looking grayscale badly on other devices. Simple RGB filter isn't going to cut it. Need a 10p white balance. It's bad enough android doesn't support using ICC profiles. Infact the only device I've come across with accurate color is the Nexus 7 out of the box.
[Android Apps and Games] CrotaNexus:
If the kernel doesn't provide any means to do this I can't do anything.
[Android Apps and Games] FireCulex:
Something like http://xdaforums.com/android/software-hacking/dev-kcal-advanced-color-control-t3032080 perhaps?
[Android Apps and Games] CrotaNexus:
Following paths are already supported by Kernel Manager in Screen control menu

In the next update i'll add support for kcal_enable (/sys/devices/platform/kcal_ctrl.0/kcal_enable).
[Android Apps and Games] CrotaNexus:
Kernel Manager V2.0.2

- Added support for enable/disable RGB multiplier control (/sys/devices/platform/kcal_ctrl.0/kcal_enable)

- Fixed some bugs

https://play.google.com/store/apps/details?id=com.simonedev.kernelm
[Android Apps and Games] CrotaNexus:
Kernel Manager V2.0.3

- Added support for many functions for screen management

- Added support for enable/disable the control temperature

- Added support for enable/disable VDD restrictions

- Added support for enable/disable the control core

- Added theme orange (Light/Dark)

- Fix bugs and various improvements

Kernel Manager (Play Store): https://play.google.com/store/apps/details?id=com.simonedev.kernelm

Kernel Manager (Community): https://plus.google.com/u/0/communities/106594338796849590834
[Android Apps and Games] CrotaNexus:
Kernel Manager V2.1

- Added new features to add manually system files and manage it

- Added support to manage all CPU-Boost files

- Added support to manage Sweep2Sleep

- Added support to manage min backlight dimmer brightness

- Many minor changes and a lot of improvements

Kernel Manager (Play Store): https://play.google.com/store/apps/d...onedev.kernelm

Kernel Manager (Community): https://plus.google.com/u/0/communit...38796849590834
[Android Apps and Games] CrotaNexus:
Kernel Manager V2.1.1

- Fixed a lot of bugs and performed some changes

- Added Lime theme

Kernel Manager (Play Store): https://play.google.com/store/apps/d...onedev.kernelm

Kernel Manager (Community): https://plus.google.com/u/0/communit...38796849590834

Try also my new app: MD5 Checker (http://xdaforums.com/android/apps-games/app-md5-checker-t3155717/post61827257#post61827257).
[Android Apps and Games] CrotaNexus:
Do you have any idea to be implemented within Kernel Manager?

Write it in this thread and I'll assess immediately whether or not to develop it. Your ideas and reports are very important to improve this project.
[Android Apps and Games] CrotaNexus:
Kernel Manager V2.1.2

- Now you're able to edit folder in Paths section

- Added Low Memory Killer Presets (Minfree)

- Added grace period

- Added new descriptions

- Samsung Multiwindows support

Download: https://play.google.com/store/apps/details?id=com.simonedev.kernelm

Community: https://plus.google.com/u/0/communities/106594338796849590834
[Android Apps and Games] CrotaNexus:
Kernel Manager V2.2

- CPU frequencies statistics and new graphics to Information screen

- Countdown notification for grace period

- +/- 25 mV added for vdd_levels

- New strings to Sound control

- Many other small things and improvements
[Android Apps and Games] CrotaNexus:
Kernel Manager V2.3 Free/Pro is online

In this update i've introduced some new interesting features and, finally, released PRO Edition.

Kernel Manager V2.3 FREE

- Support for a new vibration file system

- Some bug fix notification-related

- New beautiful icon M-Style

- Minor improvements

Kernel Manager V2.3 PRO

- CPU frequencies visible everywhere in the application

- Possibility to create unlimitated custom profiles

- App weight reduced by 50%

- New themes (Teal & Purple)

- No more advertising

Kernel Manager V2.3 PRO is on sale at -50% ONLY for this week. Hurry up and download it now.﻿

FREE Edition: https://play.google.com/store/apps/details?id=com.simonedev.kernelm

PRO Edition: https://play.google.com/store/apps/details?id=com.simonedev.kernelmpro