yashsingh1/xdaforums huggingface dataset:
[XDA Assist] jpopgt:
Hello there,

My brother bought a few Android boxes similar in spec to these models.......here

He bought quite a few of them rooted with his own branding on them and had his own firmware sent to him.

I was wanting to use one for XBMC which works great and for a retro games machine and this is where i am having a problem, i bought a g910 gamepad to use on this android box and switched on blue tooth but the switch immediately switches back to off.

I remember having this problem a couple of times with custom roms on the phones i had and it was usually sorted out with a fix from a developer.

I am hoping the Chinese suppliers that made these machine will send him my brother a fix or an updated firmware but there has been no reply back yet.

I would like to ask you gurus here if it is possible to fix this problem myself?

Could i use root explorer or something to repair the blue tooth problem?.......the firmware is currently on 4.4.2

I would appreciate any help.

Thanks:good:
[XDA Assist] Darth:
Hi!

This is a tricky thread. Its kinda vague to be honest. You've said devices "similar" to....custom firmware someone created...etc.

You may need to be far more specific for decent advice, and obviously using the factory firmware may be your only solution. The custom firmware obviously has bugs.

All that said, here is where you should ask about devices that don't have their own section....

>*Android Development and Hacking*>*Android Q&A, Help & Troubleshooting

Good luck! ?
[XDA Assist] jpopgt:
Cheers!
[Nexus 5 Q&A, Help & Troubleshooting] m4nu4l:
What exactly do i get if i will flash custom kernel to my hammerhead ? What do they provide to make it noticeable to an user ?
[Nexus 5 Q&A, Help & Troubleshooting] Valdorous:
Custom kernels provide improvements, tweaks and more power to the user.

Some provide patches to use certain mods... E.g. Multirom patched kernels

Others allow your phone to be overclocked and undervolted. (Both CPU & GPU)

Some just save more battery than others, some have display tweaks included allowing the user to copy Samsung's saturated screens or even lower saturation.

Remember, not all kernels are compatible with all roms.

Read on the bases of the roms and kernel compatibility!

Happy flashing and good luck!
[Nexus 5 Q&A, Help & Troubleshooting] m4nu4l:
Thanks for the explanation, feels like i'm not the guy who would need to overclock my nexus 5, its fast enough for me out of the box. Multi-rom sounds attracting tho.
[Nexus 5 Q&A, Help & Troubleshooting] rayiskon:
Stock kernel works just fine
[Nexus 5 Q&A, Help & Troubleshooting] Valdorous:
One thing I forgot to mention are also the sound tweaks!

There are a LOT out there that are really good, although the App Viper4Android will always reign superior! :)

I do recommend you have a look at some of the kernels.

You can get 150% out of your battery with the right rom/kernel combo and probably more if you sacrifice some performance.

Just saying it's something a lot of people don't experiment with, I personally am a flash-aholic and need to flash new kernels and roms every other day!
[Nexus 5 Q&A, Help & Troubleshooting] simms22:
not true.

battery life is dependant on how you personally use your phone, how you set it up, what apps you use, and the quality of your phone/data connection. everything else, including kernels, play a very minor role in battery.
[Nexus 5 Q&A, Help & Troubleshooting] Valdorous:
Not necessarily, depending on the govenor (that comes with the kernel) your phone can idle better and some kernels have adjustments to the LMK (LowMemoryKiller) which handles background apps differently.

So in my opinion with the same usage and different handling of background apps, including undervolting and a battery saving governor.

You could easily hit 150% of the usual battery life,

Kernels play in that matter a HUGE role.

You could even throw in some display tweaks (in the battery's favour).
[Nexus 5 Q&A, Help & Troubleshooting] simms22:
first off, your "battery saving" govornor doesnt exist. it would depend on exactly what you are doing with the phone. the governor doesnt save battery, it tells your cpu how to behave with the incoming need. and they dont control how your phone idle. i use ondemand, and i doubt many phones idle better than mine.

undervolting DOES NOT save you battery, it can even use more than if not undervolted. the only benefit you will get from undervolting is a little less heat.

and again, kernels do not play a role in battery. if they did, every single person would be using the same battery saving kernel. but we are not. with every single kernel someone will have great battery, and someome will have terrible battery. that's because how ypu use it and your quality phone/data connection pre-decides what your battery will be like.

what you are believing are rumors. stuff people dont really know much about, but still keep repeating the non truth over and over. in reality, kernels have almost no influence in battery.

and btw, everything you can control with a custom kernel, you can with the stock kernel. and people get just as great battery on stock than on a custom kernel.

and yes, i do know what im talking about, ive been part of trinity kernel for 5 years now. and ive helped thousands with android and android related issues, including battery.
[Nexus 5 Q&A, Help & Troubleshooting] Valdorous:
I know and have used your kernel.

If you noticed I said "In my opinion". No reason to get aggressive.

I have noticed something else.

And thought it worth sharing.

If I've offended you, I apologize.
[Nexus 5 Q&A, Help & Troubleshooting] simms22:
oh gosh, please dont apologize. i also meant no offence to you.

its not you i am aggressive with btw, its that false info that just wont die. i had still many people do, but its not as bad as before. you dont need to wipe anything when flashing kernels. but, many people used to insist that its a must. i spent a lot of time fighting that falsehood, now i dont see it as much. its the same about battery. if there was a "magic" pill, everyone would be using it. but just as many people using any random kernel will get great battery life on a "battery" saving kernel, and just as many people will get bad battery life as well.

please, again, i didnt mean offence. im just trying to pass the truth around, thats all. its just that this kind of thing isnt an opinion, there is a truth and a false here. id never go against any persons opinion if it was just about opinion.
[Nexus 5 Q&A, Help & Troubleshooting] Darth:
Yeah....at best....just changing from one kernel to another MAY affect your battery about 5 to 10 percent one way or the other. In other words.....the direct affect on battery is minimal.

The biggest myth in the threads are that rom/kernel combos make big differences in battery life.

Simply put, they don't.

And everything [MENTION=1811927]simms22[/MENTION] said. ?

---------- Post added at 07:59 PM ---------- Previous post was at 07:57 PM ----------

And in modern devices anyway....undervolting does nothing but keep heat down a bit.....and under clocking has an extremely minor affect as well.

Don't believe, try it and see. ?

I get the same battery life on any ROM....any kernel. ;)
[Nexus 5 Q&A, Help & Troubleshooting] 01001001M:
You can make your own ultra powersaving mode or your own hyper performance mode...
[Nexus 5 Q&A, Help & Troubleshooting] walpurgisnacht30:
I'm just using custom kernel for gamma control, s2w/s2s (which is very useful for me when reading some articles on Chrome), also for USB OTG mounting. Oh oh, and also for killing time, you know messing up with frequency and stuff lol

Well, personally I never believe about the effect on battery life by using this or that kernel since there are lots of things that can affect your battery life, and for my case data connection is the battery killer :angel:
[Nexus 5 Q&A, Help & Troubleshooting] Deleted member 5533729:
What are you guys talking about??. No, I'm not a kernel dev BUT I have tried so many ROM's and kernels on different devices for a long time now and by experience I can say that they DO influence battery life. I have seen %~50 increase (compared to stock) and aso have experienced just 4 hours of battery because a buggy kernel patch.

They're not placebo when your device start to last 19 hours instead of just 13 like it did since you bought It.
[Nexus 5 Q&A, Help & Troubleshooting] simms22:
your cpu is set up differently with the custom kernel. thats why. its not the kernel itself. you can set up your cpu on stock so itll be like the custom kernel. its very easy if you are familiar with a few scripts and the root filesystems. for example, i run trinity kernel. with the way trinity kernel sets up my cpu, i get better than stock kernel in battery. trinity set my cpu to run all four cores always on, no hotplugging. it also disables mpdecision. i can set up the stock kernel that way as well. i can do it using a root file explorer, manually, or i can do it via script. and i do know people that run the stock kernel that just get fabulous battery life.

---------- Post added at 10:21 PM ---------- Previous post was at 09:55 PM ----------

there are things that you can do with kernel control apps as well.
[Nexus 5 Q&A, Help & Troubleshooting] Darth:
Sometimes when you flash a kernel...and many times we flash a ROM right before.....you are only getting rid of a battery issue you previously had before you flashed. So with the clean start, of course you're battery will be much better (especially if you had an unfixed or unnoticed issue before)....and sorry to put it this way, but don't know how else to put it....but the less knowledgeable people think its the new kernel that's made such a huge. Pretty much all the most experienced people know kernels don't make a very big difference to battery life. You can flash clean stock with stock kernel and see a huge gain too if you had an issue before. :)

Test it yourselves. Flash your favorite ROM and some kernel one day. Go a few battery cycles without changing much or installing much. Then flash the same ROM and another kernel. Same changes and same few apps. And so on...

Eventually you'll get the point. ;)
[Nexus 5 Q&A, Help & Troubleshooting] alifetolive1234:
That right!

It's all about how you feel about your devices.
[Nexus 5 Q&A, Help & Troubleshooting] Deleted member 5533729:
Ok man whatever, I don't like to argue about the color of the sky so.. Yeah..

Also, I think you should e-mail all the kernel devs and tell them that they're full of bs and that they all are wasting their time improving nothing. You should try to reach Linus Torvalds and tell him that he has to stop developing worthless software, that we all can mod our systems the way we want'em to behave and that we don't need support for newer technology. :good:
[Nexus 5 Q&A, Help & Troubleshooting] danarama:
It's a good job YOU know what you're talking about, otherwise this thread would have been worthless
[Nexus 5 Q&A, Help & Troubleshooting] walpurgisnacht30:
The point is you can do some customizations with custom kernels. Gamma control, usb fast charge, etc etc.

But battery life? I never see the difference even with the similar usage that I always do every single day, really, I'm living in Indonesia and the data connection is the battery killer that makes me swearing aaaaall the time lol

I have tried that kernel this kernel (except caf kernel), you name it, but still nothing different, except each of them has their own characteristics.

My own solution? I bought a powerbank, that's my magic pill when my phone is out of battery.

Please, don't think I'm bashing kernel devs out there, they do fantastic job with their creations and I hope they don't stop doing that, I myself using ElementalX, because I need the features that the dev offers to user like me.

Sorry if my English is that bad :/
[Nexus 5 Q&A, Help & Troubleshooting] simms22:
fine. ill go along with you. so tell me, what kernel is the "magic pill"? and why isnt every single user out there using it?

there are many improvements that can be had in custom kernels, but battery is not one of them. sure, kernel devs add code that is more efficient, better. but the code that they add doesn't save 20-30 minutes of battery, it saves seconds/microseconds of time and saves that much battery. sure, it adds up, it might even add up to 5 minutes of battery saved over a cycle. 5-10 minutes of extra minutes isnt really considered battery saving, as you can save more battery by dropping the brightness slightly.
[Nexus 5 Q&A, Help & Troubleshooting] Elluel:
Wipe everything and flash a kernel and a ROM

Then do it again with another kernel and another ROM

Again, even with stock kernel and stock ROM

You'll get the same damned battery life. Use whatever kernel/ROM that has the "features" you want.
[Nexus 5 Q&A, Help & Troubleshooting] Wh1t3Rose:
Hey Simms while I do support most of your posts and you seem to a very knowledgeable guy I have to disagree with you on this one. There are kernels that do better in both battery life and performance. For example let's say you are watching a movie on a plane you have your phone in airplane mode to kill connections. I know for a fact some kernels may give you only 5 hours of battery life while some may give 6-7 hours of battery life.

There are also kernels that specialize in performance and do not focus on battery. That's why you may have some emulators or high intensive games lag in one kernel but in some others.

I know that kernels do not mean squat if you have wakelocks and poor signal. But considering you have neither, are on WiFi kernels can take a great part in battery life.
[Nexus 5 Q&A, Help & Troubleshooting] danarama:
There's truth to both these statements:

Custom kernels only minutely affect battery

Custom kernels massive affect battery

Both are true yet both are false.

[MENTION=1811927]simms22[/MENTION] is right. Code tweaks, tool chains do very slightly lead to optimisations that have minor effects on battery.. This is pure truth.

On the other hand, flashing a custom kernel may well give much better battery performance... But what we need to be clear about is that this is not due to the kernel being amazingly efficient or "that much better". Its due to how it is compiled. How the governor is configured to control the CPU. The voltages the kernel runs each CPU clock at etc... Essentially what [MENTION=1811927]simms22[/MENTION] is saying is that its not the kernel itself. Its the config that comes with that kernel as chosebybthe developer that makes the difference.

Many of the tunables will also be available to stock kernels to get very similar results. Admittedly some will not and the configuration for a custom kernel could allow for an overall better battery performance if the governors limits are set differently.

If you know what you're doing, you can get very similar Results with a stock kernel.. If you leave everything as default, its likely the custom kernel will have been set with either performance or battery in mind so it's quite easy to say kernel x is better on battery than kernel y, but its not entirely an accurate statement

I concur with everything [MENTION=1811927]simms22[/MENTION] said.
[Nexus 5 Q&A, Help & Troubleshooting] Wh1t3Rose:
OK that makes sense that it's the config that makes the difference. Good post [MENTION=2872010]rootSU[/MENTION] :)
[Nexus 5 Q&A, Help & Troubleshooting] danarama:
No probs. There's no technical merit to my post, I'm over simplifying things massively, but yeah thats basically it.
[Nexus 5 Q&A, Help & Troubleshooting] Flukzr:
You are giving way to much credit to kernels. A kernel will not do to much for your battery while watching movies. That varies depending on your brightness, the players/codecs used, whether it's using the gpu or cpu for decoding, the movie compression etc.

Playing an uncompressed movie should be more "battery saving" because the cpu/gpu don't have to work that much to decode, while the opposite, using high compression or some exotic presets or codecs could have the opposite effect.

Just blindly stating that a kernel saves battery based on a few first hand experiences, with no testing method behind it only serves to perpetuate these half-truths (like back in the day that wiping battery stats served to recalibrate your battery). It's just as [MENTION=1811927]simms22[/MENTION] says, if there is a kernel out there that can get you 2 extra hours of ScreenOnTime why isn't everyone using it, or better yet why is Google not implementing all these right of the bat?

As far as gaming performance a kernel might raise the thermal protection threshold for your cpu/gpu delaying throttling (which causes stutter and lag in games) or it might overclock it which could enable the game to run smoother overall. However any changes that seem too good to be true most certainly are, and you might end up overheating the device or causing other permanent damage in the long run.

It's everybody's right to use their device how they see fit as well as experiment with any and every kernel and rom out there. Some swear by their favorite roms and kernels, some use stock, however until there is proof that in identical circumstances (or as close as possible) you can get significantly better battery life by using a different kernel, I'm not going to believe any of it and recommend anyone that's new to the whole android scene not to blindly trust any statement just because a few people do.
[Nexus 5 Q&A, Help & Troubleshooting] :
Excellent explanation! ?

it pretty much backs up what guys like me and Simms always say tho....the kernel itself doesn't really matter. Its "setup" and usage and other factors. Setup also includes the kernel. You can match settings with most kernels and obtain the same battery life. ;)

Usually I'll say the difference between kernels and battery life are minor. But yes....they can impact battery a lot too. Usually to the negative side tho. Lol. Super tweaking for performance will gimp the battery some.

Getting big gains compared to even untouched stock is rare. :)
[Nexus 5 Q&A, Help & Troubleshooting] simms22:
sorry @KJ, i was one thanks short. ill come back later to leave a thanks :)
[Nexus 5 Q&A, Help & Troubleshooting] danarama:
I've given him one to keep him going ;)
[Nexus 5 Q&A, Help & Troubleshooting] danarama:
Whoopsie.. It didn't come out quite as intended ;)
[Nexus 5 Q&A, Help & Troubleshooting] :
I will donate it to someone more deserving. I only echoed your words in my words. Lol.

But thanks my friend. ;)

---------- Post added at 05:34 PM ---------- Previous post was at 05:32 PM ----------

[MENTION=2872010]rootSU[/MENTION] , you should be a RC. ;)

(Yes....I've read your story. Some days I'm sure we all feel the same! Lol)
[Nexus 5 Q&A, Help & Troubleshooting] danarama:
Yeah, as you know...I'm not interested :)
[Nexus 5 Q&A, Help & Troubleshooting] :
Well, you're as good as any! I barely get to post in the n5 section..cause you're all over it. Lol

Kudos! ?
[Nexus 5 Q&A, Help & Troubleshooting] simms22:
lol, funny timing! i just sent [MENTION=2872010]rootSU[/MENTION] a pm asking the same question.

i had no desire to be a rc as well, and never wanted to be one actually. i ran the androidcommunity.com forums back in the day, they used to be THE android forums, before all the other android sites started popping up. anyways, i just didnt want to deal with it, that stuff, anymore. when the rc program started here, i was asked by several mods and higher ups to mod, but didnt want to. so with some effort on their part, i got talked into being a rc. im glad they talked me into it :)
[Nexus 5 Q&A, Help & Troubleshooting] :
Next stop...moderation. ;)

See my Avatar. Lol. I'm watching the Judge very closely. I like his style. Lol
[Nexus 5 Q&A, Help & Troubleshooting] MrPandroid:
So after reading this entire thread... Custom kernels provide better battery? *gets shot*

Seriously though, I used to think it did, until reading this really detailed and informed thread. Thank you everyone, for clearing it up for me. As someone who wouldn't know anything about building a kernel, this was all very helpful information. And it explains why on my evo 3D back in the day I got similar life if using different kernels or stock.
[Nexus 5 Q&A, Help & Troubleshooting] :
No word of a lie...on my t989 S2....the best battery life I got was on stock, 4.1.2 touchwiz... Rooted and very debloated. Lol

I got about as good of battery life as most I saw.....and on custom ROMs and kernels, I usually lost life. Tho....I used them a lot anyway....cause touchwiz is yucky, and the custom ROMs and kernels were smoother and offered more options. ;)
[Nexus 5 Q&A, Help & Troubleshooting] MrPandroid:
Oh lord can I agree about touch wiz.... I kept going back to it on my note, though, because the tw camera was a lot better than the aosp version. At least on my mind. Honestly though I agree. I'm totally stock on my N5 right now, and battery life with code blue or stock kernel are pretty damn similar. After a work day with mild usage I'm down to roughly 65%. Which is still awesome for me.
[Nexus 5 Q&A, Help & Troubleshooting] :
I always went back to 4.1.2 stock....I like stable, and it was the most stable. Best battery. And some apps never worked right NOT on stock touchwiz...(bbm....Voxer and a couple others I used)

It wasn't bad once debloated for smoothness. And one dev, [MENTION=4436616]Rushing[/MENTION] did crank out the stock based ROMs, long after everyone else stopped making them. So had those to use. ?
[Nexus 5 Q&A, Help & Troubleshooting] MrPandroid:
At least I'm not the only one who likes stock xD I like all the features of custom Roms and am grateful to the devs, don't get me wrong. I just mainly root to debloat, though. I'm pretty damn happy with my current stock ROM and code blue kernel, though.

Anyway enough derailment. Again, thanks for clarifying this all to someone who couldn't build a kernel even if you told me what to do xD I'm lucky enough I know how to write an updater script these days.
[Nexus 5 Q&A, Help & Troubleshooting] Doubleu76:
I didn't know that undervolting doesn't affect battery, but now I do. However, I have a question, is it the same for under clocking the CPU? I just installed Franco Kernel and plan to underclock, I won't if it doesn't make a difference. Thanks in advance :)
[Nexus 5 Q&A, Help & Troubleshooting] danarama:
Undervolting can a little...
[Nexus 5 Q&A, Help & Troubleshooting] Elluel:
Maybe like 1% at most :p
[Nexus 5 Q&A, Help & Troubleshooting] danarama:
Maybe. It depends on usage etc.
[Nexus 5 Q&A, Help & Troubleshooting] beekay201:
Less overhead, better performance
[Nexus 5 Q&A, Help & Troubleshooting] Bonusbartus:
about the different settings on different kernels,

I see a lot of kernels mentioning their defaults and features, but what are the defaults and features on stock rom and kernel?
[Nexus 5 Q&A, Help & Troubleshooting] danarama:
If you install any kernel tweaking app, you should be able to see the governor defaults.
[Nexus 5 Q&A, Help & Troubleshooting] Asmodic:
Most kernels are optimized already with default features/settings which are almost always different from stock. I have found that the default settings set by the Dev always works and are most stable. It really depends on what features are you are looking for in the kernel which will always affect who good your battery life is. More features = less battery.
[Nexus 5 Q&A, Help & Troubleshooting] Bonusbartus:
I tried with "CPU Control Lite" but it didn't show me any settings, the min and max freq dropboxes where empty...

I got that (if you even replied to me instead of the thread itself, what I want to know is which features are available in the stock kernel ;)
[Nexus 5 Q&A, Help & Troubleshooting] danarama:
What do you mean features of Stock? Its a standard kernel that allows you to use your phone. It doesn't have any features. It just is.