yashsingh1/xdaforums huggingface dataset:
[Nexus 4 Android Development] ramjet73:
Kernel tweaks for longer battery life?

IMO, kernel parameters have less of an effect on battery life than screen brightness, signal strength for WiFi and cellular, number of apps running in the background, time to sleep and actual screen on time, but for those that feel the kernel and its configuration does make a significant difference in battery life perhaps you can save your Synapse profile(s) and share them. If you do, don't forget to identify the kernel name and version, since AFAIK the UKM/Synapse combination works with most of the custom kernels that can be flashed with this ROM.

ramjet73
[Nexus 4 Android Development] robygt:
[MENTION=275009]ramjet73[/MENTION] thanks Sir.

Never thought this way.
[Nexus 4 Android Development] oliver7:
no, it's not just that. google it. ;) like this Android L has a new "JobScheduler" API that allows the OS to batch up unimportant app requests like database cleanup and log uploading. Developers can also request that housekeeping functions be delayed until the device is plugged in. Further, the OS will not wake the device up for a network task when there is no network connectivity.
[Nexus 4 Android Development] keikun007:
regarding this kernel debate, i read somewhere that android 5 uses kernel 3.14, does this apply?
[Nexus 4 Android Development] hazwheel:
Hmmm... I'm guessing the battery saving mode part is where the biggest savings will be made though. I don't see those other bits saving anywhere near as much, and that part we have already
[Nexus 4 Android Development] cell2011:
I think the only way we are going to have Volta is factory images maybe im wrong i dont know
[Nexus 4 Android Development] oliver7:
hm yes, i only wonder if volta had already been in L-prev, it would have also already been in these builds now (i'm b22s)?! but maybe the wifi bug kills the savings.
[Nexus 4 Android Development] Marsou77:
Can't find the link... can you help me please ?
[Nexus 4 Android Development] aalvico:
Does flash reborn bring any benefit compared with b22 ?
[Nexus 4 Android Development] hazwheel:
Well, for me, I unplug when I get up I use the phone on and off throughout the day, circa 2 hours SOT, and battery saver comes on not long before I plug in at night, I don't really have to worry I may run out, that'll do for me [emoji12]
[Nexus 4 Android Development] LarsPT:
Why so serious?

Sent by a cowboy from hell
[Nexus 4 Android Development] Sierra35:
Ask joker [emoji13]
[Nexus 4 Android Development] snapdesign:
i think that was funny... especialy when someone said that was old images an he wanted a newer one... it was a pretty clever pun :D
[Nexus 4 Android Development] robygt:
Heath Ledger, requiescat in pace.
[Nexus 4 Android Development] bitstra:
In context with my investigations for implementing APM into Frank(ie)(x.x)-ROMS I came across a conflict with "Reboot To Safe Mode" via LongPress on ShutDown Message...

I'm wondering, if this 'Reboot To Safe Mode' is used by you, guys? - I have never used it since I'm on Android. Is this a 'must have'-function for you? :confused:

bitstra

---------- Post added at 10:29 PM ---------- Previous post was at 10:27 PM ----------

BTW: my work on 'quick PIN unlock' will be delayed for a day or two :(
[Nexus 4 Android Development] robygt:
Didn't know of that feature, for me safe mode has always been wipe data / factory reset / flash / restore.
[Nexus 4 Android Development] bitstra:
Nope - Safe Mode means 'Reboot without User-Apps' till next next reboot. . .
[Nexus 4 Android Development] justthefacts:
Never used safe mode
[Nexus 4 Android Development] evie12604:
Never used it either
[Nexus 4 Android Development] ramjet73:
I used it a couple of times on my Evo 3D but not yet on the Nexus phones.

It keeps the autostart apps from running, just like the Windows safe mode, so if one of them gets into an FC loop you can disable or fix it and then reboot normally.

Here's a post on how to enable/disable it which varies by phone.

ramjet73
[Nexus 4 Android Development] steviemch:
I've used it once on my N4 to try and trouble shoot some issue I was having at the time, so it's not exactly a 'must have' function.

Sent by Borg neural subspace transceiver node.
[Nexus 4 Android Development] sykopompos:
I was thinking it wouldn't but I figured why not try since I am stumped on this.

Can always try the n7 bluetooth apk since that matches up more closely with our files. it is 1 byte different from the n5 one

https://drive.google.com/file/d/0By0vn8iv_zrVOWJsaDBsU0UzbHM/edit?usp=sharing
[Nexus 4 Android Development] marystar:
Hi, tested v5.1, don't notice any difference. Both car connecting to phone and connecting garmin edge to phone not working. If needed I will try to make a logcat but please advice what you want to see > when to start the logcat.

Bluetooth.apk doesn't install. Any hints? Does it need to be installed in a special way?
[Nexus 4 Android Development] sykopompos:
I'm getting to the point where I'm not sure how to fix this. We are using the hci_qcomm_init proprietary file from kit Kat because it is the only one that will allow Bluetooth to work at all.

I'm gonna play with it some more but that is where I'm hitting the way here. Maybe if we rolled everything Bluetooth back to kit Kat files it would work

Sent from my C6916
[Nexus 4 Android Development] marystar:
Is that possible? Your rom is so nice it's tempting to use it as a daily driver despite not having working bluetooth. But then again, when i'm in the car or on the bike I really miss bluetooth. So: your rom for the weekends and 4.4.4 for the workdays :)
[Nexus 4 Android Development] Sierra35:
[MENTION=1050103]sykopompos[/MENTION]

Bluetooth does pairing, but the car does not recognize the phone. It doesn't show up in the car's display. It is only connected as media device. Contacts and telephony don't work.

Hope it helps.

Sierra35
[Nexus 4 Android Development] 0.0:
[MENTION=1050103]sykopompos[/MENTION] for some reason, your new build that you uploaded doesn't cause the last number to be dialed. I'll keep testing
[Nexus 4 Android Development] sgw99:
Sorry if I misunderstand, I didn't read all the last pages and postings around BT.

For me BT works, with the headset in my office, and the Parrot MKi9200 Handsfree Kit in my car.

It worked on friday and that means it was with Beta 3 Preview 5.

Just to report this.

Stefan
[Nexus 4 Android Development] sykopompos:
I've been scratching my head on that and I see it in the logcat and what it does is it creates a input socket and then dies killing the service so it is semi working Bluetooth but not fully functional Bluetooth which is driving me bonkers. There has got to be something I'm missing here, maybe a missing file that is supposed to be made with it and we just can't get because we don't have the source so that is why the newer binaries aren't working or is it something else. I'm gonna have to go back through all the Bluetooth files.

Sent from my C6916
[Nexus 4 Android Development] sykopompos:
Just need the logcat when u try to connect to your car so I can see what it is trying to do and what it does do

Sent from my C6916
[Nexus 4 Android Development] FairOh:
Bluetooth is working for me as well. I do not have an integrated car kit but added an aftermarket one from Grom Audio and it works fine. I get media and phone audio. Using b3p5 with trinity.
[Nexus 4 Android Development] sykopompos:
Well that in itself is a plus, I might have finally solved that then

Sent from my C6916
[Nexus 4 Android Development] sykopompos:
It is stock head units in cars that are going screwy because they use multiple Bluetooth profiles instead of one like most headsets and aftermarket setups

Sent from my C6916
[Nexus 4 Android Development] 0.0:
Never mind, it happened. Log: https://copy.com/dS1TAKZckoN3ml6E
[Nexus 4 Android Development] sykopompos:
do you happen to have dropbox, facebook and trinity kernel installed?
[Nexus 4 Android Development] sykopompos:
after reading all through your logcat, your bluetooth is working correctly, all the profiles start up and run. I think your headset calling is related to something else that you got installed based on the errors that I'm seeing on your logcat, especially "E/PowerHAL(611): touch_boost: failed to send: No such file or directory" did you restore any backed up apps? calls or texts?
[Nexus 4 Android Development] 0.0:
I was on the trinity kernel. Now hells doctor. And I restored apps with no data. No texts were restored. Here is another log focusing on the Bluetooth problem https://copy.com/CIpZNWALzyiaRQJj
[Nexus 4 Android Development] Sierra35:
How about making KitKat Bluetooth working here? Only a suggestion.... Maybe this would help.
[Nexus 4 Android Development] sykopompos:
Now that it wasn't being all spammed with error messages, it seems your headset is throwing back a command to the phone and it looks like the phone is miscommunicating what the command is supposed to be and is instead choosing the function of redial
[Nexus 4 Android Development] sykopompos:
it is actually functioning correctly or appears so and seems there might be something to track down here
[Nexus 4 Android Development] cell2011:
Why is only idigitaltimes.com saying Nov 12th for rollout and noone else is saying this on the net? Something isnt right but who knows
[Nexus 4 Android Development] bitstra:
I realize, that we have to have an own menu entry for 'Reboot to Safe Mode' in APM, if I'm going to kill the common way to activate safe mode :good: :cool:
[Nexus 4 Android Development] ramjet73:
All those sites want you to click on the ads so they report what it takes to get users to do that.

AFAIK the only reliable sources for information on Android releases are the Google developer websites and those of the vendors that use Android on their devices. If you didn't see it on one of those websites, or on a site that quoted one of those websites, it's probably just rumor and speculation.

ramjet73
[Nexus 4 Android Development] giamanto:
SOLVED

big news guys! i solved my big problem! i had to reinstall the trip recovery... i did it with adb... after that problem solved. Thank you to all the guys who helped me! anyway, on the reborn frank i noticed that i can't change the keyboard in dark mode, and i can't remove the vibration... what about you? do you have same problem? thx!
[Nexus 4 Android Development] hardwareadictos:
The launch of Nexus 9 and 6 three week ago was a rumour too, but was true, it happened, as you say [MENTION=275009]ramjet73[/MENTION], all is posible :)
[Nexus 4 Android Development] robygt:
Do you guys use antivirus software on your android devices? Is there any need to use that?
[Nexus 4 Android Development] r3dpuma:
Guys is there a way to search in thread on XDA app?

And also what is the app called Parcel? I don't remember having installing it. Thx
[Nexus 4 Android Development] blacknikname:
(rofl)
[Nexus 4 Android Development] k1l:
ok, i installed the l-simple-gapps with frankie reborn . but the missing swype keyboard is annoying. before i go on the hunt to solve that does anyone have link to some latest full gapps?
[Nexus 4 Android Development] ktomov:
Well. I've said couple of pages back, that I work as a php developer. I'm working for clients, and I have my own sites. Said that ...

I hate ads too, but this is one of the ways to monetize a website. Most of the websites can't offer premium services or even services of any kind to sell, for instance most of the entertainment magazines. They are solely depending on ads. They must pay bills you know, they hire authors, developers, designers, marketing specialists and so on. Moreover there are the costs for the service - shared/vps/dedicated hosting plan and so much more. No one can be red cross. Well you can, but most of the so called non-profit projects, have their profits from their sponsors, called Angel investors. There is an option for donation, but as many of the devs around here can say - the donations are not enough compared to the work they've done.

Now about the release dates speculations - People tend to read yellow press. Everybody knows that there is no official date confirmed. Rumors, rumors everywhere. But that keeps people happy, entertained and informed in some manner.

Don't understand me wrong. I'm not defending ad packed websites that you can't even find what you are looking for, or sites that you have nasty pop-unders or so on. But this industry have to live, and ads are the main way to keep it up.

Why did google develop android? Just because they want everybody to have beast smartphones, or to track their locations/interests/visits of websites? All that data is used to give you more relevant ads, not on their pages, but on the websites you visit, so you'll be interested and click on the ad. When you do that - this means profit for them.

For instance, I've visited dx[dot]com looking for cheap charger on my phone. 10 minutes later in my movie review website, I've saw an add about chargers from different store, which is 5 km from my place. See ads don't show depending on the content like it was 5-6 years ago. They are shown depending you location and interests.

So if you have to hate someone, we should start with google, after all they have the biggest ad networks :laugh:
[Nexus 4 Android Development] robygt:
(Ooops, I think I said something stupid [emoji16] [emoji16] [emoji16])
[Nexus 4 Android Development] ramjet73:
As you say, sometimes it turns out that the rumors are true. :good:

But IMO, they are not reliable enough to quote as fact, or to get upset about when they turn out to not be true. If you haven't already, you should checkout some the drama in the "Android 5.0 Lollipop Discussions..." thread, where [MENTION=1050103]sykopompos[/MENTION] tried to set things straight but even he got rejected by some of the users who think once they read something on one of the "Android Tabloid" websites it represents a commitment from the vendor. :rolleyes:

ramjet73
[Nexus 4 Android Development] hardwareadictos:
Totally agree!
[Nexus 4 Android Development] djsubterrain:
Nope, You didn't. I don't use antivirus cos I never download anything when I don't know exactly what it is.
[Nexus 4 Android Development] robygt:
Ok, got it. Thanks!
[Nexus 4 Android Development] ktomov:
Well, there is no cure to stupidity (one of the main reasons I'm passing that discussion thread) :D

I'm reading the "Android Tabloids", but I'm not trusting the dates they predict or say that their "internal informer" told them. OTA/Factory images will be out when they are out. Don't know why are everyone in such panic or rush. I prefer week or two in waiting but stable enough release, than a turd that will get new branches every other day.

12th November (In my country it's already 12th), or 12th of December - doesn't matter. It should be stable so devs here could improve their projects on a STABLE platform, not getting their time on bug fixing google's problems, that will get fixes in couple of days.

People are crazy about the lollipop, well calm down and wait for it, don't be iSheep waiting in front of the store a whole f.cking week :)
[Nexus 4 Android Development] robygt:
In my opinion we already have Lollipop, thanks to the team!
[Nexus 4 Android Development] ramjet73:
Internet Advertising

Just to clarify, I've never said that the ads are wrong, and I accept them as a necessary annoyance on today's Internet. But with a few exceptions like Wikipedia and some personal blogs, users should understand that the content presented is intended to attract you to their website to generate revenue for them, not just to inform or entertain you. The XDA website is a perfect example, but you don't see the ads with the mobile version, at least not yet.

OTOH, I disagree when other users suggest that it's wrong to use ad blocking software on my PC or phone, any more than it's wrong to fast forward through commercials in a recorded TV program. If website owners and their advertisers have concerns about that, there are ways to prevent access when the ads aren't accepted, just like Hulu forces you to watch the commercials even when you pay for their Plus service. :rolleyes:

ramjet73
[Nexus 4 Android Development] wator:
Ola, i can't access recovery any more. :(. Not with vol. Down+power. And if i use the twrp app, tot access recovery it just start lolipop.

Any options?
[Nexus 4 Android Development] manulemaboul:
Fastboot flash recovery, or flashifiy could do it too I guess.
[Nexus 4 Android Development] dr_iggy:
Power Toggles is one of the options.
[Nexus 4 Android Development] robygt:
Try to flash a recovery with Flashify, search on play store.
[Nexus 4 Android Development] wator:
True nice rom. LIKE
[Nexus 4 Android Development] Psichi:
But that is because of the archaic licensing rules that the broadcasters have put in place for online distribution.

They want to treat the internet as another channel they can put in a stranglehold and they have the money to shut down anyone that doesn't pay them their dues
[Nexus 4 Android Development] ramjet73:
Do you work for Hulu by any chance? ;)

I assumed, perhaps incorrectly, that Hulu forces the commercials to generate income for themselves from the advertisers. But you're suggesting that the programming they carry requires them to force viewers to watch those commercials due to the licensing terms?

If that's the case, why aren't Netflix and Amazon Instant required to do the same thing for the TV series that they offer?

ramjet73
[Nexus 4 Android Development] ljmeli:
Switch from using ASOP keyboard to the Google keyboard. Swype works fine on that
[Nexus 4 Android Development] sykopompos:
Man that thread is ridiculous and the entitlement that people feel that they have. I'm still trying to laugh at the guy who was trying to show me proof of a date that google was going to release it to his phone and just kept saying well here it says it is going to be rolling out, how dare that evil google not give me my ota

Sent from my LG-D851
[Nexus 4 Android Development] k1l:
damn, that was too easy :/
[Nexus 4 Android Development] 22sl22:
People will always believe what they want to hear, even if it's not the truth. That's a fact :)

Man I haven't been around this thread in a while, tried to do a few mods but apktool still won't let me recompile L apks :(

A bit OT but China really do come up with everything lol. This time, a phone with a 5000mah battery. You read that right 5000, and it's the same thickness as the new moto phones, around 10mm. Manufacturers really need to step up their game with battery capacity :good:

http://www.fonearena.com/blog/121337/gionee-marathon-m3-with-5000mah-battery-officially-launched-for-rs-12999.html
[Nexus 4 Android Development] sykopompos:
Maybe the weak specs allowed them more room to put in a larger battery?

Sent from my LG-D851
[Nexus 4 Android Development] manulemaboul:
Also it's 5000 chinese mah, ever bought a china made battery ? :).
[Nexus 4 Android Development] 22sl22:
Everything's made in China, it just depends on the quality of it :)

I'm no engineer but the only thing physically missing is LTE. A new soc can't be that much bigger along side more ram. Even if it was, say 5.5 inch instead of 5 I would still buy it. Still a pipe dream at the end of the day anyways :good:
[Nexus 4 Android Development] sykopompos:
wrong thread. that was meant for the n5 thread
[Nexus 4 Android Development] k1l:
yep. i heard LG wants to bring an own ARM SoC with 8 cores, 4 powerones and 4 low ones. so it will run 4 at a time depending on how much power you need.

i am curious what we will see in future to expand the batterytimes. imho the SoC are powerfull enough for regular usage and they "just" need to make it more efficient. like a dualcore notebook is enough for daily business/office stuff on the x86 world.
[Nexus 4 Android Development] RainGater:
Where do you think all the batteries are made? In the sweet old USA?
[Nexus 4 Android Development] sykopompos:
I won't be happy until I can compile android on android for my phone while sipping battery and have the whole source compiled in less then an hour

Sent from my LG-D851
[Nexus 4 Android Development] hartleyshc:
With a nice devbox, and JuiceSSH, you can pretend to do that now. ;)
[Nexus 4 Android Development] sykopompos:
Very very good valid point. I needs to get me one of those good Dev boxes

Sent from my LG-D851
[Nexus 4 Android Development] k1l:
hehe, like on the PC there still will be full-power SoC :)

i am curious about when we will drop the whole notebooks and pcs and just dock our smartphone into the monitor at home :)

eeeeeeek. dont do that again :)
[Nexus 4 Android Development] sykopompos:
They already tried that but those phones didn't have enough power yet to handle it

Sent from my LG-D851
[Nexus 4 Android Development] ph37rd:
His fantasy with YOU in it...
[Nexus 4 Android Development] Psichi:
I was wrong - http://variety.com/2013/digital/new...-ad-free-service-like-netflix-yet-1200668184/

When Boxee was still a thing they were blocked by Hulu and the official statement around a lot of it was that they had strict licensing agreements that included clauses like "no watching from a computer to a TV" and "ads must be shown". I guess that was all a lie to protect their money.

Somehow, I'm not surprised.
[Nexus 4 Android Development] k1l:
Yeah, the devices were not that powerfull as the devices today.

but i think the showstopper was that it tried android as a desktop.
[Nexus 4 Android Development] Vinnom:
Get home after training and find some fine hot dogs is great. I'm happy =)
[Nexus 4 Android Development] ltjmax:
Stupid question, I know, and I'm sorry for this.

I want to start back from a deep clean wiping everything on my phone but I just want to know... I saw earlier today that Frank reborn was kind of a preview so can I start from that or is it better to wait for another release?

I had no problem with all other build, but since I want it clean, was just wondering...
[Nexus 4 Android Development] sykopompos:
Clean up as in, doesn't effect function. Features and more fixes are still being worked on

Sent from my LG-D851
[Nexus 4 Android Development] ramjet73:
What could you do on a phone that requires 8 cores?

Maybe download, sync and compile AOSP. ;)

Again, great minds think alike. :good:

ramjet73
[Nexus 4 Android Development] k1l:
but you can only use 4 cores at a time. think of it like the nvidia optimus gpus, where you use the nvidia gpu only for heavy video stuff and the intel gpu for the low battery usage stuff.

but i think we will see full 8cores anyway soon
[Nexus 4 Android Development] sykopompos:
Didn't mediatek announce one of those recently?

Sent from my LG-D851
[Nexus 4 Android Development] ramjet73:
In the mainframe world we used something called an attached processor (AP) to supplement the capacity of the main processor.

But those are a little too big to attach to a phone. ;)

But you could always use a VNC client to pretend you have the horsepower of your PC on a phone and even control it remotely. :good:

ramjet73
[Nexus 4 Android Development] RainGater:
What do you guys think of this? The specs are out of the world and why would anyone want to buy a Nexus 5 when this phone costs less and packs ton of features?

8 cores + 3 GB RAM + 13/5 MP + LTE + 3100mAh + sleekier looking than Nexus 5... Hmmm... Not getting it ;)

http://www.amazon.com/dp/B00LXV751M...e=df0&creative=395105&creativeASIN=B00LXV751M
[Nexus 4 Android Development] ramjet73:
But the SOC is made by a Japanese beer company. :confused:

ramjet73
[Nexus 4 Android Development] Desvbo:
Wouldn't buy based on the SOC alone. Qualcomm is worlds ahead...
[Nexus 4 Android Development] brownmonkey300:
It the company like good? Because in my country also the market is flooded with phones with pretty high specs at throwaway prices but the quality and build suck
[Nexus 4 Android Development] RainGater:
Oh, really?

http://www.anandtech.com/show/8425/huawei-honor-6-review/4