yashsingh1/xdaforums huggingface dataset:
[Nexus 4 Android Development] _Behemoth:
Had already read it. Hence the question! Do I need init.d support or not? What good will it do to me?
[Nexus 4 Android Development] veyka:
If you are on stock and want to run init scripts on startup (they can do stuff like set colour, voltages and other kernel settings) flash the ramdisk, if you use a custom rom, eg cm, then just flash the any kernel zip as most custom Roms will have init support anyway, and they might not boot with the supplied ramdisk.
[Nexus 4 Android Development] chrone:
will this fix the random transition animation jank/stutter on stock kernel and rom build jwr66y? or do i have to flash this on top of jss15q rom?

http://productforums.google.com/d/topic/nexus/KUqc71sfxWg/discussion
[Nexus 4 Android Development] veyka:
Looks like cm merged a whole bunch of kernel stuff related to locking, hopefully fixing the deadlocks!
[Nexus 4 Android Development] Fr33L4nc3r:
Sources ?

I checked the usual channels (changelogs / gerrit / github), and the only thing I saw was in http://review.cyanogenmod.org/#/c/49886/
[Nexus 4 Android Development] veyka:
https://github.com/CyanogenMod/lge-kernel-mako/commits/next?page=1

Some stuff showed up in the Cyandelta changelog, That I cant seem to see in any of the other changelogs, very odd!

Edit:

And more stuff! it went in a day or so ago

https://github.com/CyanogenMod/lge-kernel-mako/commits/cm-10.2
[Nexus 4 Android Development] Fr33L4nc3r:
Ok, saw only the few in cm-10.2 branch from yesterday but thought "Doesn't look like a bomb" :D

"next" branch is for testing purpose I assume ?
[Nexus 4 Android Development] thracemerin:
It would appear so, I'll wait till Steve is done with whatever his plan is here then I'll see about merging this stuff assuming it solves the problem.

It looks promising though.
[Nexus 4 Android Development] soumoks:
Trying the latest version with psx,however mp-decision doesn't seem to stick,when I check in trickster its always off leaving all the cores online..what mistake am I doing?
[Nexus 4 Android Development] ctfrommn:
This is an anykernel zip, did you happen to flash it after another kernel? If so, flash Rom, GApps, SU, and then M+
[Nexus 4 Android Development] soumoks:
Exactly my mistake,thanks again :)
[Nexus 4 Android Development] Serial Kazama:
s2w

Could you build in s2w in a stable kernel? :fingers-crossed:

Miss this feature from the m+ Android 4.2.2 Kernel. :highfive:
[Nexus 4 Android Development] apatal:
Hi guys, any mirrors for that 5js alpha and the ramdisk zip? goo.im is down again..
[Nexus 4 Android Development] FeintDoxx:
Uhm gimme like 5 more minutes uploading this to drop box on capped data speed..

---------- Post added at 01:09 PM ---------- Previous post was at 12:52 PM ----------

Flashable (anykernel): m_plus_43_alpha_5JS.zip

http://db.tt/fapQ8Wdt

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

I don't have the ram disk zip though
[Nexus 4 Android Development] smartjain:
Just flashed on PSX v5 ROM and so far it all looks good, thanks again for the hard work.
[Nexus 4 Android Development] veyka:
Any plans for a build based on the new cm kernel, if there would even be any point in that?
[Nexus 4 Android Development] thracemerin:
I dunno, the CM kernel is all sorts of weird right now, I'm just not sure what to do at the moment.
[Nexus 4 Android Development] veyka:
What kind of weird? And do you think this will cause any issues?
[Nexus 4 Android Development] thracemerin:
Well, it didn't fix the deadlocks and seems to have caused a few other issues like WiFi problema.
[Nexus 4 Android Development] veyka:
Well bugger! :(
[Nexus 4 Android Development] keda:
Is A5 latest stable build still?:confused:
[Nexus 4 Android Development] FeintDoxx:
Well it's an alpha, so it's not guaranteed it'll be stable but hell I've been using it since it was released so I think it's really stable haha
[Nexus 4 Android Development] sirxdroid:
Is the JWR kernel still on the map or have the plans been scratched? Thanks.
[Nexus 4 Android Development] thracemerin:
I've been using it since before it was released and I like it, which is why I haven't felt an overwhelming need to make any changes or release a new version.

I'm looking at some leads on fixing the deadlock issues right now, which is why nothing appears to be happening, but at the same time I'm hearing KitKat in mid-Oct which means I'm not moving as quick as I could since hopefully Google has it's act together and the deadlocks will be gone which would make my time working on it kind of a waste :)
[Nexus 4 Android Development] ctfrommn:
Deadlocks wont be an issue as long as Google doesnt continue to pour out branch updates every couple days, confusing all the AOSP devs as to which branch they should build from. They dont exist when using the officially supported branch for Mako. I just hope when 4.4 comes out we have a single branch again like we always have before. No idea what they are doing or thinking currently, but its definitely frustrating.

I would also love to see a JWR version of this fabulous kernel. I havent been able to use it since switching to JWR and I definitely miss the elegant simplicity of it.
[Nexus 4 Android Development] thracemerin:
I'm actually back to stock (this whole Cyanogen Inc. thing bothers me, but this is not the place for me to comment further), so I'm considering putting a JWR build together today, if I do i'll post it somewhere.
[Nexus 4 Android Development] ctfrommn:
Cool....yea, Ill leave that topic alone as well :)
[Nexus 4 Android Development] sound.wav:
did you ever post it? am i not seeing it? :what: i would love to try it as your jss version was easily the kernel i used the most. but psx moved back to jwr. would be amazing to get the combo together again :fingers-crossed:
[Nexus 4 Android Development] AcmE85:
Hey [MENTION=4303511]thracemerin[/MENTION]

are you planning to release a JWR Kernel in the future?
[Nexus 4 Android Development] Vlad87do:
thracemerin can you compile your kernel with kexec module for multirom ??
[Nexus 4 Android Development] TheNerd:]:
Lol such a straightforward answer
[Nexus 4 Android Development] thracemerin:
No point in beating around the bush about it.
[Nexus 4 Android Development] SkyBeam2048:
m+ for KK 4.4

Are there any plans to port this kernel to Android 4.4 KitKat? I am checking this page and look for new kernel thread every day since I installed the factory image of Android 4.4 on my Nexus 4. Mainly missing the possibility to limit CPU clock and cores used (even though this might not be supported using mpdecision) and UV to extend battery lifetime.

For me _motley kernel was the choice to go for from the beginning (Android 4.2 on my N4) and I switched to m+ kernel after _motley moved out of the picture. Btw. Does anybody know what happened to _motley? I still hope he's fine and just lost interest in Nexus 4 or kernel development.

Looking forward to see this great kernel ported to Android 4.4. If you're not willing to spend time on this you might provide a suggestion on which kernel you would recommend to support from now.
[Nexus 4 Android Development] thracemerin:
I'm waiting for sources for 4.4, as soon as there are official sources I will get something together.
[Nexus 4 Android Development] SkyBeam2048:
Very nice. Thanks for the feedback.Also don't worry about the release date. I was just curious to know whether you're still intending to work on a new m+ kernel. I stay tuned then.
[Nexus 4 Android Development] thracemerin:
I got a bit tired of dealing with all the JW/JS issues with 4.3 and sort of abandoned it, but assuming they're less stupid about the whole 4.4 release (and it looks like maybe they will be) I will be back as soon as they get the kernel sources pushed.
[Nexus 4 Android Development] SkyBeam2048:
Me too. I even stayed at 4.2.2 avoiding 4.3 completely. So I hope that history doesn't repeat and 4.4 will clean up all the mess.
[Nexus 4 Android Development] sirxdroid:
Got an N5 yet? :) We need m_plus on the N5.
[Nexus 4 Android Development] thracemerin:
What's this nexus 5 thing? :p
[Nexus 4 Android Development] thracemerin:
Damn you tapatalk....busted.

I'm thinking about what I want to do with the N5 too.
[Nexus 4 Android Development] sirxdroid:
Ha ha :)
[Nexus 4 Android Development] thracemerin:
I'm kind of hoping that since they are both Qualcomm MSM based that I can sort of merge the kernels together and just make specific changes for each platform to the specific hardware files, but without 4.4 sources for N4 that's difficult to tell.
[Nexus 4 Android Development] Kocai:
So the newest AOSP kernel that's available right now is still for 4.3 but works with 4.4 AOSP builds?
[Nexus 4 Android Development] sirxdroid:
You know, N5 only is fine too. The N4 is so yesterday :)
[Nexus 4 Android Development] azrash:
now that is music to my ears.

I stayed on 4.2.2 for quite some time because of that too.

trying hells core for now for 4.3, but I do have to admit that I am looking forward to see the m+ being continued. Hopefully when AOSP rolls out, there won't be the two different tree kind of mess. Or maybe you can compile a quick update for us 4.3 / cm10.2 nightly users :P

Award come on, I am hoping to keep the N4 till I get the Nexus phone 2014, or 2015 if it still fast enough by then :P
[Verizon Droid Charge] RagInCajun00:
I'm buying a Samsung Droid Charge off of eBay and the item description says that the phone has a password lock and has had too many failed password attempts. The seller says the phone won't hard reset and when he/she tries, it gets stuck at the screen shown below. I was wondering if there was a way to delete all data and factory restore the phone. I'm technically inclined so anything will do. Any help would be appreciated! Thanks!:laugh::D
[Verizon Droid Charge] dwitherell:
Well that's the screen you want if you were Odin-ing something anyway - you could always try to use a factory odin (I think EP4D is the most recent - check out imnuts.org for links) as that will wipe/reinstall a bevy of partitions (data included), but I've never encountered the situation to know for sure that would resolve it.
[Verizon Droid Charge] jheide44:
Dwith is right :)

Plus PM Sent...
[Verizon Droid Charge] RagInCajun00:
Thanks for the help! Wish me luck :laugh: Will look at other sites so I can tackle the problem whenever it comes in
[Verizon Droid Charge] jheide44:
That other forum tutorial just has lots of detail with pictures...

Xda has a return to stock process posted also by imnuts. http://xdaforums.com/showpost.php?p=14452736&postcount=1

when you decide on a process stick to a single forum/thread. (easier to het help that way)

Good luck.
[Verizon Droid Charge] RagInCajun00:
Thanks for the update:D
[Windows Phone 8 Development and Hacking] ilam82:
Look here

http://www.darkforcesteam.com.cn/forum.php?mod=viewthread&tid=191779
[Windows Phone 8 Development and Hacking] Mattemoller90:
Google translate and chinese :( they aren't good friend :(
[Windows Phone 8 Development and Hacking] aclegg2011:
I checked it out... nokia suite lists my 521 as:

variant name: rm-917 VAR US TMOBILE SL

product code: 059S0B4

this wphelper program lists the rom for my phone:

variant name: 059R128 rm-917 NDT NAM US

product code: 059R128

and its the gdr2 update.

What is the difference between the two variants?
[Nexus 4 Q&A, Help & Troubleshooting] rirozizo:
sweet! i'll test and confirm that soon.

i'll leave the GPS on, but the wifi off. (GPS will stay off even if checked because i barely use it)

and yes, you are right, in betterbatterystats, i get alot of location checking, and my country doesn't even support location reporting :P
[Nexus 4 Q&A, Help & Troubleshooting] Srikks:
Is your device running latest 4.3 ? I remember reading that 4.3 has a fix for this issue.
[Nexus 4 Q&A, Help & Troubleshooting] rirozizo:
mine no, I'm waiting for the stable versiob of PAC ROM.

So meanwhile, I'm going for this solution :)

-----------------------------

^this bar means im on phone
[Nexus 4 Q&A, Help & Troubleshooting] Galaxo60:
Yesterday I did a full wipe of my phone(even sdcard) and restored everything from scratch to stock 4.2.2 image, and then update came to 4.3 few minutes later.

As far as I know, the problem still persists because in the time I was making wizard and setting up all the options for every app I have, I was seeing battery drain with the WiFi Location option enabled and when I finished setting up all, the Google Services drain was about 20% in a time of 2 hours.

I disabled the option, and currently I don´t have this drain again, but it is just the first day, so I will enable it today and will report tonight with results.

It is 9:00AM exactly now, I´m enabling the option now.

:highfive:
[Nexus 4 Q&A, Help & Troubleshooting] Galaxo60:
These are the results, the drain is still there although it is not much in 4.3. I have say to say that battery improvement is huge in this new version, so maybe this could matters directly with the drain.

I think still that is better to uncheck that option is not needed, so 10% of your battery or more won't be affected by this wakelock.

:victory:
[Nexus 4 Q&A, Help & Troubleshooting] Hanny:
Guys I am facing such extremely annoying Google Services (DownloadManager in BBS) battery drain + mobile/wifi data usage issue and I have been searching for some hours.

First of all I have tried the most answered solution - clearing the data of all those stuffs related to Google Services - well it did not work so well.

Then I don't think freezing download manager / factory reset / restrict background data / disabling google services framework are good solutions as I myself did not make changes related to this recently so a factory reset should not be needed, plus the other mentioned solutions would cause syncing issues with Google and this doesn't suit my lifestyle of heavily depending on various google services.

Many of you have proposed that the massive download / repeated downloads are related to downloading the 4.3 OTA and that might be possible according to the similar file sizes as well as logcats you have found. But on the other hand one of the solution - disabling Network Locations settings has also stopped the "download" triangle from constantly staying there when my wifi is on. Therefore we can conclude that it is partially related to the 4.3 OTA download which cannot be disabled on our custom ROMs, as well as partially about the stock Network Location settings.

Fortunately after many posts that do not provide a feasible answer I have found this xda post which addresses the issue related to the Google Play Store 4.1.6. Some of the users have reported that 4.1.10 has fixed the issue and some even said the newest version 4.2.9 is over the internet since 25/7 together with 4.3 update.

Not sure why such critical update did not roll out to the unluckily bunch of us from Google, but I have found the Android Police source about 4.1.10 fixing the "Network Location bug which hogs the battery" and hopefully this will stop the DownloadManager wakelock as well as the crazy battery drain + data drain by Google Services.

I haven't tested this thoroughly because I will probably need a day to check out whether it stops the crazy behaviour but I would just like to share with you guys my founding as soon as possible so you guys can try it out together with me. The latest Google Play Store 4.2.9 apk can be downloaded from Android Police here.

Hope I have helped! Good luck to you and me! :)

PS sorry for the duplicating post in the same Q&A forum of N4 but I really want to help as many people as possible. :)
[Nexus 4 Q&A, Help & Troubleshooting] rirozizo:
downloading latest playstore... will test... and btw, greenifying google services won't break sync ;)

-----------------------------

^this bar means im on phone
[Nexus 4 Q&A, Help & Troubleshooting] Galaxo60:
Don't lose your time with that article. Drain happened to me with Google Play Store 4.1.10 and also with Google Play Store 4.2.9. I was a completely week trying to install every Play Store I could and never worked.

Indeed most of test were made with 4.2.9, and the only way I could stop Google Services to appear in the battery graph was unchecking the option I mentioned before. At least for me, this is the only thing it worked to stop this.

:good:
[Nexus 4 Q&A, Help & Troubleshooting] zero26800:
Same here. Only way was to disable the WiFi location. No fix in sight until Google decides to fix it themselves
[Nexus 4 Q&A, Help & Troubleshooting] aeoveu:
Turning this off means Google Now will stop working.

It is useful sometimes though...so if anyone knows of an alternative way...

sent from my mini tractor
[Nexus 4 Q&A, Help & Troubleshooting] Galaxo60:
Google Now won´t stop working, because it still has access to location, but not being pushing and receiving data all the time, what makes the wakelock and the battery drain.

I have only that option unchecked and still having functional Google Now, but just to note that there will be a warning saying that locations settings are not optimized or something like that. Also in Google Maps happens the same, but still we have the GPS if app uses any location.

:p
[Nexus 4 Q&A, Help & Troubleshooting] aeoveu:
Well, for me, it asked me to enable location settings in order to use maps and Google now (I don't use GPS cause it doesn't work indoors here...we have houses and buildings made of concrete).

Did you enable WiFi location scanning after disabling Google apps location access? I can't get a location in Google now.

sent from my mini tractor
[Nexus 4 Q&A, Help & Troubleshooting] aeoveu:
Here's what I get.

sent from my mini tractor
[Nexus 4 Q&A, Help & Troubleshooting] rirozizo:
put access to my location on, the untick wifi and keep gps on.

swipe this away :)

-----------------------------

^this bar means im on phone
[Nexus 4 Q&A, Help & Troubleshooting] aeoveu:
But for that, GPS needs to work indoors, right?

My GPS chip was fired up. :s

sent from my mini tractor
[Nexus 4 Q&A, Help & Troubleshooting] Galaxo60:
This is correct:

About the GPS, you are right in the part that GPS won't easily lock indoors, but this is maybe the price we have to pay to have a really good battery. Remember that this is just a work-around to this bug, not a fix. Google is the one who should make a fix in future releases for this insane battery drain.

With 4.3, I'm able to obtain a full day without a charge leaving all the location settings enabled, but although Google Services drain is around 15%, it constantly keeps the device active and consume battery .

You should consider enabling the Wifi Location option just when you need it, because is what I do. I barely use the location settings for anything, but when I need it for any app, I just enable the option, make what I have to do, and then disabled it to keep battery.

Below I share my battery stats with the tip I just wrote.

:good:
[Nexus 4 Q&A, Help & Troubleshooting] stuart0001:
Anyone tried the latest version. It doesn't show on updates so you have to go to direct link. Touch wood it has improved things for me so far.

https://play.google.com/store/apps/details?id=com.google.android.gms
[Nexus 4 Q&A, Help & Troubleshooting] Galaxo60:
I´m testing right now the new version and see if there is any change about the drain to make the feedback.

One weird thing I noticed is this link is showing 3.0.25 as the latest, but I have on my phone 3.2.25 installed.

:silly:
[Nexus 4 Q&A, Help & Troubleshooting] Galaxo60:
[MENTION=3471230]stuart0001[/MENTION]

It seems that new Google Services update helped a lot with the drain. Right now, the drain is only 5% with 22 hours of battery life.

:p
[Nexus 4 Q&A, Help & Troubleshooting] Galaxo60:
Most of the thread on Google forums are related to stock ROM/Kernel. It is silly to post something on Google forums when you are not using Google's default system.

:p

I had enabled reporting location and location history a couple of days also, and I didn't t have any drain.

:highfive:
[Nexus 4 Q&A, Help & Troubleshooting] SushiR:
I would love to see that on my device...but no luck so far. :confused:
[Nexus 4 Q&A, Help & Troubleshooting] vikramkhalsa:
You have both of those enabled and it doesnt affect your battery life? Are you using latest version of google now or the older one? and do you have the always wifi scanning available setting on or off?

Thanks
[Nexus 4 Q&A, Help & Troubleshooting] Galaxo60:
My battery drain just come one day and one day it just vanished. I think this is the most annoying wakelock right now, there are no real fixes for it or any way to prevent it from appear/reappear. Try at random one day to enable more and more options and see how it afects battery.

:silly:

I have enabled all the options you wrote, and also I'm running the latest Google Play Services update, it shows last updated on Sept 7th.

:good:
[Nexus 4 Q&A, Help & Troubleshooting] SushiR:
I just did a factory reset. I'm not sure yet but it looks very promising for now...
[Nexus 4 Q&A, Help & Troubleshooting] Galaxo60:
Hope it keeps like that.

:p
[Nexus 4 Q&A, Help & Troubleshooting] dogodidi:
What about this?

http://xdaforums.com/showpost.php?p=45233905&postcount=28

We have two threads about maybe the same issue. I've two draining problems since 4.3.

First the android os problem like you guys describe.

And sometimes a mediaserver drain, which seems to be related to my bluetooth headset usage,... i dont know.
[Nexus 4 Q&A, Help & Troubleshooting] beicozitos:
[Screenshot] I increase my battery life 37+ hours

I increase my battery life to 37+ hours, just turn off Google Now Hotwords and GPS
[Nexus 4 Q&A, Help & Troubleshooting] Galaxo60:
Android OS and Google Services wakelocks are different. Here we are focused more on the second one, although we also provide a probable solution to the first one.

:highfive:
[Nexus 4 Q&A, Help & Troubleshooting] Galaxo60:
In my opinion, GPS here doesn't matter, it doesn't consume battery when is not in use although it is enabled. Nice battery life you have there.

:fingers-crossed:
[Nexus 4 Q&A, Help & Troubleshooting] SushiR:
Nope. Device was awake 40% of the time. Turning all things related to location reporting off (except GPS) it's only 7-10 % awake. Which gives me a runtime of about 20-24 hrs and 3'5-4 hrs screen-on time.
[Nexus 4 Q&A, Help & Troubleshooting] Galaxo60:
Sad to hear that. I made a clean installation of PSX and Google Services drain is around 7%.

:fingers-crossed:
[Nexus 4 Q&A, Help & Troubleshooting] SushiR:
And Android OS appears as new battery hog. I just saw 36 % in battery stats.
[Nexus 4 Q&A, Help & Troubleshooting] Kendaihou:
Yep same with me. Just started up just recently and can't get rid of it. 5 mins and i lose 10% of my battery just like that.

Sent from my Nexus 4
[Nexus 4 Q&A, Help & Troubleshooting] SushiR:
Kinda sad, isn't it...
[Nexus 4 Q&A, Help & Troubleshooting] im4eversmart:
After disabling the wifi & mobile network location , google services drain is at 2% .
[Nexus 4 Q&A, Help & Troubleshooting] chainer22:
i am running 4.2.2 (sentinel rom v4.75)

i had the google data usage problem one to two weeks ago, and managed to solve it by restricting background data for google services, followed by disabling the systemupdateservice using disable service app.

data drain is no longer an issue, but battery drain is, accounting for 15%-20% of battery usage.

any solutions to this? not sure if its due to wifi and mobile network location services (shouldn't be the case since i have restricted background data for google services right?)
[Nexus 4 Q&A, Help & Troubleshooting] Ümit:
It's my result here after disabling :D
[Nexus 4 Q&A, Help & Troubleshooting] im4eversmart:
Try to uncheck backup and restore