yashsingh1/xdaforums huggingface dataset:
[Nexus 4 General] ariesgodofwar:
For those seeing a great amount of battery drain, Miscellaneous seems to have left my Battery stats since I implemented the location fix for the framework (See post 434). Also, Greenify came out today with 6.0 compatibility, so installing that may help as well. You might give both of those a try and see if they help.
[Nexus 4 General] Ruudvangoal:
I have already applied the location fix from day 1.

Also never heard of Greenify, will it conflict with Juice Defender?
[Nexus 4 General] ariesgodofwar:
It won't conflict, but it will rock your world. This is Greenify: http://xdaforums.com/apps/greenify
[Nexus 4 General] Ruudvangoal:
I'll try it but i don't think it will stop the mysterious misc drain, doesn't seem to be related to any app.
[Nexus 4 General] ariesgodofwar:
Yeah, not sure. All I know is that I am not seeing Miscellaneous in my battery stats. I was previously before I installed the Google Framework apk in post 434 and Greenify.
[Nexus 4 General] scudos:
Battery life is the worst I've seen in my life! :p

Overnight, on stand-by, with only WiFi enabled, it went from 100% fully charged down to 38% in the morning.

This is a massive reduction from the N4 on Lollipop. To give you an idea, I put the factory MM on my Mom's Nexus 5 and it's reporting a standby battery life of 18 days (!!!) and it looks like it's accurate.

This is what I really wanted to see with respect to Marshmallow and the Nexus 4 but I have to say, from the plethora of bugs to the massive hit in battery life, this is looking more and more to me like a very poor effort and not even worth a test-drive at this point.

One of the major advantages with Marshmallow was the incredible stand-by time increase - it's unreal and very effective. Yet the N4 version uses at least 50% more power then Lollipop. Kinda went backwards on that one :eek:

I was hoping that there would be a new release that cleans up the mess but I'm starting to think that for the N4, it may not happen.
[Nexus 4 General] LoadGamePL:
Yes, root explorer and titanium backup pro works perfectly fine.
[Nexus 4 General] Ruudvangoal:
It's been 10 hours and i am still on 89% with screen time of around 15 mins, i don't really see Misc. anymore but the numbers shown do not add up to the 11% missing there is only 7% shown and 4% that i have no clue how they got drained.

That being said i:

Installed Greenify

Gave Juice Defender CPU Control

Turned Off Wi-Fi at night

Slept at 92% and woke up at 92% and i used the phone around for a couple of mins and it went down to 89%. Still an improvement over Day 1 and 2 but i still think something is screwed up.

Just a random question since it's my first custom rom, do we wait for updates from the same author and by then we just have to flash the system rom or how does that process work?

100% to 38% is insane, did you try setting network pref to 3g? even if you install the normal modem it will be set to 4g and that seems to cause some extra drain. Also another problem seems to be with the wifi because with that off i stayed at 92% over night.
[Nexus 4 General] scudos:
I agree, but it gets worse! That was with everything turned off except for WiFi. No data, no GPS etc.

I went back to Lollipop as I'm not convinced this build will ever be close to the real deal. I wish Google would have just made us a proper release :good: I'm really impressed with the nearly infinite stand-by time on my Mom's Nexus 5. I'm actually testing it to see if the 18 day battery report proves to be accurate but it uses very little power that's for sure.
[Nexus 4 General] Ruudvangoal:
I think i can safely say the draining during standby has stopped, i am at 83% after 13 hours and 22 mins with 30 mins screen use not sure how that compares to normal devices but my battery is showing that there are 3 days left until it runs out of juice so i guess that's better than before.

I still feel that while using the screen it drains too fast but Greenify certainly helped.
[Nexus 4 General] daniil1410:
I had the same problem with this rom. It also happened once for me last week when I was using Chroma(5.1.1).

It may be an app problem unrelated to the rom.
[Nexus 4 General] ariesgodofwar:
Did you install after a factory wipe? The use you are seeing is crazy. I have seen this happen with dirty flashes before. Could be an errant app, or a battery going bad. I am seeing a bit more battery use than Lollipop, but as I say that, I drove home from the office for 45 min with both Waze and Spotify connected to the Bluetooth in my car, and went from like 100% to 95%. Would have been 90% on 5.1.1, so can't complain.

---------- Post added at 07:18 AM ---------- Previous post was at 07:14 AM ----------

What bugs? The only bug I have left is the fact Facelock does not work, but not sure if it ever has on AOSP. All of the other issues (backup, Framework, etc.) are resolved on my device through the suggestions of others. I can't say I see a 50% power increase, and in fact, for the same activities, I am seeing a reduction in consumption. You might install Ampere and see what kind of draw your phone is making on the battery and see if it is consistent with other users.
[Nexus 4 General] kaiser_tytnii:
did it prompt you for supersu when you type in 'su'?
[Nexus 4 General] LoadGamePL:
Yes
[Nexus 4 General] kaiser_tytnii:
can you post a screenshot of the error message?
[Nexus 4 General] ariesgodofwar:
Do you have BusyBox installed? TB has its own BusyBox version built into it, so will still work without Busybox install. You might try installing and running BusyBox and see if you still have the problem, if not.
[Nexus 4 General] LoadGamePL:
[IMG="Screenshot"]http://i59.tinypic.com/2lc01gx.png[/IMG]

It looks like I didn't type command correctly, but the terminal just cropped the text. Busybox is installed.
[Nexus 4 General] kaiser_tytnii:
Which gapp package did you install?
[Nexus 4 General] LoadGamePL:
I use the full rom twrp backup made by someone before, it's from saturday, anyway I will clean install Frank M 13-10 build, I think that will fix everything. Thank you for your help, I really appreciate it :)
[Nexus 4 General] kaiser_tytnii:
no problem! best of luck!
[Nexus 4 General] FormerSlacker:
Having a hell of a time getting wifi location working with benzo gapps. Once I copy framework-res.apk to system/framework all hell breaks lose, google play services keeps crashing.

Trying [MENTION=692880]kaiser_tytnii[/MENTION] version now.

This seems like the best version, even setup wizard works.... but as far as i can tell this rom doesn't support wifi location?

I can't find any setting to enable wifi scanning, and apps like weather network complain that wifi location is off, even though it's turned on. Otherwise couple of crashes in the beginning but now that it's settled down it seems to work fine.

Furthermore, maps doesn't get a location until GPS locks on which shows WiFi loc is indeed not working. If you keep location on battery saver nothing can find location.

So, is wifi scanning disabled in AOSP M, it's not in wifi settings, there is no 3 dot menu in location settings like stock M, so where is it?

I think that's why Play Services kept crashing, it keeps trying to access wifi location scanning and it doesn't exist.
[Nexus 4 General] ariesgodofwar:
Push this to /System/Framework and reboot, should fix your location issue.
[Nexus 4 General] FormerSlacker:
Thanks. Yeah tried that framework-res, with benzo gapps it just causes play services to crash... alot.

Keep in mind location via GPS works fine, just no network based location, ie wifi scanning based. If I change to device only or high accuracy it works, only battery saver does not.
[Nexus 4 General] ariesgodofwar:
Do you have all permissions granted to Play Services? I used Dmitry's build and Benzo Gapps, and am not seeing the same crashes. I was having network location issues, but the framework fixed those.
[Nexus 4 General] FormerSlacker:
Interesting. I'll try it again... 7th time the charm :D Yeah I granted all permissions to play services, still no network location.

Otherwise it works great though.

---------- Post added at 10:06 PM ---------- Previous post was at 09:52 PM ----------

Thanks [MENTION=2645880]ariesgodofwar[/MENTION] for your encouragement, now it seems to work?1 So to sum it up for me, benzo's gapps r3 and the framework-res.apk fix no network location and setup wizard crashes, but [MENTION=692880]kaiser_tytnii[/MENTION] version and the framework fix worked perfectly and setupwizard works.
[Nexus 4 General] kaiser_tytnii:
I flashed my gapps and pushed that via recovery file manager under advanced and mounting system, location works like a charm!
[Nexus 4 General] FormerSlacker:
Yeah I never tried it with your version, until now and it works perfectly. Many thanks!
[Nexus 4 General] groovepeppy:
i've been reading the last 5 pages and still i'm confused

simple question, newbie question, can this build used as daily driver?

i see many combo in flashing M's version

thank you in advance
[Nexus 4 General] scudos:
Yes, I wiped it several times doing successive installs until I got reasonably 'normal' operation. It had nothing on it at all - I wiped everything. The battery is known good as I replaced it just a few weeks ago.

I gave up on it and went back to Lollipop. Maybe I just expected too much from it - I was thinking it would be more/less the same as if Google released it. Instead it required a lot of hacks to make it work, and even then, it ate the battery at a rate that was much worse then with Lollipop (literally, twice as fast - or more).

My take on it is that it's for O/S enthusiasts only. The battery life is not even remotely close to what you get with the real deal. It seems the best reports I've seen are that some people are seeing battery life roughly equal to Lollipop. For me, I wanted to see the enhanced deep sleep etc so that I would get the two weeks of standby time that my Mom is seeing on her Nexus 5.

I'm OK with LP, but I was hoping that MM would be solid, fully functional and also have the improved battery life. Not same as LP, but the weeks long standby that I'm seeing with the real MM release.

At any rate, I appreciate everyone's help with this. Maybe someone will roll up all the arcane commands and files required to make it work into a single image. That alone would make it a much more functional release for people to try. Or, even better, find a way to take advantage of the power savings that MM represents :good::cool:
[Nexus 4 General] finchi:
Laggy videos youtube

My only problem now is youtube videos. Most of them feels too laggy. Anybody same experience?

Are we missing some kernel driver?
[Nexus 4 General] finchi:
Why is LocationManager.NETWORK_PROVIDER not available causing nasty crash

Guys, do you know why network location provider is not enabled in this build? It cause crash of whole system. Already reported to AOSP as issue

https://code.google.com/p/android/issues/detail?id=189951
[Nexus 4 General] ariesgodofwar:
Try this http://xdaforums.com/showpost.php?p=63291761&postcount=634
[Nexus 4 General] finchi:
ariesgodofwar. All my problems (youtube and position) resolved by applying frank rom update.

http://xdaforums.com/nexus-4/development/lpv-79-mako-port-beta-t2807446

Not tested mobile data yet, but everything else looks very promising. Also I'm surprised how much more responsive the system is now. Great work guys. Many kudos.

Not sure if anybody need instructions, but I've already wrote them else where. So why not post them here too. ;)

I encourage you to install franko rom update (patch) from

http://xdaforums.com/nexus-4/development/lpv-79-mako-port-beta-t2807446

First install dmitry rom. Then reboot into TWRM recovery

Do factory reset

Go to advanced and enable adb sideload.

Then from your computer

adb sideload frank_n4-2015-10-13-update-1.zip

Boot android and let it settle.

Then reboot again into recovery. And sideload GApps

adb sideload gapps-mm-fix.zip

Those are the one that worked for me. The Gapps with setup wizard crashed on some kind of access denied error (didn't examine it too deeply)

All links to files (patch and gapps) are in that xda thread. Just go there and grab franko rom and GApps. That was all I needed. Your android will be already rooted. No need to apply any other patch for me.
[Nexus 4 General] xenyz:
Another alternative is Cataclysm Marshmallow on Mako. It's the best bet if you want something like stock ROM that 'just works', but I'm biased since I'm the one who packaged it up. :)
[Nexus 4 General] finchi:
xenyz. I pretty much noob in this area. Never used nothing but stock ROMS before. Obviously now google ditched Nexus 4, so there was no other way how to upgrade to M. So my question is. How much different is it from other ROMs (dmitry + franko patch)?
[Nexus 4 General] xenyz:
I suggest looking at the current Cataclysm N5 thread's OP for a list of features.

In short, it's a custom ROM, with more features than stock, but if you don't turn on any of the features, you basically will have stock Marshmallow on mako.

I do t want to get too off topic in this thread; post in the Cataclysm thread or PM me if you need more info.
[Nexus 4 General] FormerSlacker:
In case anybody was wondering, the case of where wifi scanning has gone has been solved.

http://xdaforums.com/showpost.php?p=63301321&postcount=41142
[Nexus 4 General] ariesgodofwar:
Very interesting....... it looks like you can enable Wi-Fi calling..... but the toggle reverts to Off as soon as you leave the menu. Wonder if there is a way to enable and make it stick??
[Nexus 4 General] yochananmarqos:
It will never work as is. It requires carrier support and their proprietary closed source code to make it work. There's been a bounty out to figure out a way to do it, but no one has.
[Nexus 4 General] tthmatt:
Does anyone know how to build Cyanogenmod 13 from source for Nexus 4?
[Nexus 4 General] mose_nd:
Gapps Crashes and no mass storage mode

HI,

I Flashed the pre-built version and it starts normally, but when I flash the gapps they keep on crashing and the home screen fails to load remaining with a black screen and the crash messages. What might be the problem? Another gapps may be? Any suggestion plz?
[Nexus 4 General] vetzki:
delete SetupWizard, either with adb or in twrp with the filemanager

for working network location you should copy the framework-res posted some pages before (or add google location provider to your framework-res.apk)
[Nexus 4 General] finchi:
My last about Cataclysm here.

I've just flashed Cataclysm and it's better match for me. Everything is working right from beginning (setup wizard...). My only concern is the battery. Seems that it's draining just too fast.

Actually what is the purpose of minimising size of ROM, by removing system apps? You can use that empty space anyway? I just don't get it.
[Nexus 4 General] Packsman:
I am interested in this too but I don't think its buildable yet.
[Nexus 4 General] MrRaines:
Today we'll start to test Taurus Kernel for MarshMallow 6.0 Android Version.

For now, you can install taurus kernel for android 5.1.1 Lollipop ;).

Coming soon!
[Nexus 4 General] mose_nd:
Currently I have a stock ROM, can I flash stock ROM and install custom kernel?(Taurus in our case)
[Nexus 4 General] Olympus593:
Hi xenyz, is the development on MM still on? Topic OP says it has been discontinued:
[Nexus 4 General] xenyz:
This post really should have gone in that thread, but yeah, its unfortunate that there's a wait for when [MENTION=3913401]atl4ntis[/MENTION] is available to edit the OP on the thread with current info. Here's Cataclysm Marshmallow on Mako.

Everyone, please post Cataclysm questions in Cataclysm thread, thanks!
[Nexus 4 General] str3tch72:
Official support for Cataclysm is off, but unofficial is on.
[Nexus 4 General] wocut:
why not use the frank as base,i think it is more battery friendly

来自我的 Nexus 4 上的 Tapatalk
[Nexus 4 General] tthmatt:
I think it is buildable. Here is the link to the source code :

https://github.com/CyanogenMod/android/tree/cm-13.0?files=1
[Nexus 4 General] Ruudvangoal:
Been going for almost a week now and i am still having randomy battery problem, sometimes i leave it over night and wake up with most of my battery drained despite having everything including wifi off, sometimes i leave it at 90% wake up and it's still at 90%.

It's always Misc. at top of the usage list.
[Nexus 4 General] xenyz:
Bug

If you use the flashlight quick settings tile, a kernel wakelock (msm_camera) will keep your device awake indefinitely afterwards.

Workaround

After using the flashlight toggle, open and close the Camera app to clear kernel wakelock.
[Nexus 4 General] Deere62:
Summarise Installation/links to besser packages

Hi,

can someone summarise a working installation manual that everything works and all needed links to Installation packages please.

THX

Tom
[Nexus 4 General] FormerSlacker:
After two days no real issues with M so far, battery is at worst the same if not better, it will take more time to say for sure but so far so good.

Only thing I've noticed is that most apps with the 3 dot menu on the right have a little stutter when opening that menu, but that's about it.
[Nexus 4 General] yuvalrozin:
What ROM / Kernel / Gapps are you using?
[Nexus 4 General] FormerSlacker:
Dimetrys stock rom with gapps-mm-fix-4 from [MENTION=692880]kaiser_tytnii[/MENTION] found here and the network location fix framework-res.apk from [MENTION=5056454]sd3993[/MENTION] which can be found here
[Nexus 4 General] Peccia90:
Any solution for WiFi battery draining? I'm on Frank + Gapps (mm fix) + Hellsgod r84.

Inviato dal mio Nexus 4 utilizzando Tapatalk
[Nexus 4 General] vetzki:
For me wifi power usage seems not higher than usual ?
[Nexus 4 General] blacknikname:
occam-mra58k-factory-416938f1.tgz
[Nexus 4 General] vetzki:
Why its called "factory"?
[Nexus 4 General] tthmatt:
What's that
[Nexus 4 General] Olympus593:
Looks like it's this custom ROM:

http://xdaforums.com/nexus-4/development/rom-fake-nexus-rom-mako-t3228344
[Nexus 4 General] super 8:
I´m on Frank too (since yesterday) and delighted with the battery stadistics, no drain at all.

Just a 2% last night (51% to 49%) in 7 hours and 2h. screen on wifi mode with 40% battery use.

Frank N4 19102015 version and txuki2005 17102015 gapps, kernel stock at the moment...

regards
[Nexus 4 General] Ruudvangoal:
How many of are you sing Frank's? can you all let us know how the battery statistics are? i am still on the old one and i am experiencing insane drains.
[Nexus 4 General] LooieENG:
If it's this simple, why didn't Google just release M for the Nexus 4?
[Nexus 4 General] Tmfz:
Frank with hells kernel b85 gives me 4 and a half hours SOT and over 18 hours on time on WiFi.
[Nexus 4 General] Ruudvangoal:
damn that's insane compared to the numbers i get, i was on Frank 19-10-2015 and i got 3 hours at best. How complicated it is to use hellsgod kernel for a newbie and where did you get b85 anyway? can't find past b81 on his thread.
[Nexus 4 General] Tmfz:
I didn't do any tweaking with hells kernel yet, just flashed it on top of Frank and off I went. Someone linked B85 in the last post of the thread. I'm using banks gapps and the new adreno drivers as well.
[Nexus 4 General] Ruudvangoal:
Last post of the thread contains b83 (last stable for lollipop) and i see your post right above it, then there is the yayprime r1 based on b85 is that the one?

EDIT: I think i found it had to go 5-6 pages back

https://www.dropbox.com/s/c0jzxoulxu6hh6r/hC-b85-M.zip?dl=1

That the one?

Also to get this straight i should wipe everything put Frank, B85, Gapps zips into storages and install them in this order frank's -> b85 -> gapps? sorry if i ask a lot i am just tired of messing things up and having to flash stuff again :p.
[Nexus 4 General] Tmfz:
No worries. I wiped everything except internal storage/sdcard flashed frank, banks gapps from the 20th and then b85. After that I also flashed the adreno drivers that can be found in the n4 general section. Everything in one go in that order and runs like a dream.
[Nexus 4 General] Ruudvangoal:
Nice cheers, i flashed everything except for the drivers will it be a problem if i flash them after i have booted the phone?
[Nexus 4 General] Tmfz:
Don't think so, enjoy!
[Nexus 4 General] Ruudvangoal:
:good:
[Nexus 4 General] PVL_93_RU:
So there's some Velocity ROM based on 6.0 up on Google Drive, with builds available for N4, N5, N7 and I think N6

Has anybody heard about that ROM? I haven't seen any threads on XDA or communities in G+ dedicated to it
[Nexus 4 General] Stevica Smederevac:
It is a secret community[emoji6] . Rom is built for speed and speed only. Developer has his own gapps and everything. Tried it on 5.1.1 but it' s not for me since speed is not my priority.
[Nexus 4 General] green2000:
Is this N4 specific or can it also be used on other size phones and tablets?
[Nexus 4 General] cianz94:
For multiple resolution check this:

http://xdaforums.com/android/themes/bootanimation-android-marshmallow-t3180984

For the nexus 4 you must use the 720p version.

Inviato dal mio Nexus 4 utilizzando Tapatalk
[Nexus 4 General] murali0007:
Advanced power button options on nexus 4 6.0

Hi, isn't their any way presently to get the advanced power button options to this 6.0 rom on nexus 4??? And I m unable to flash Dolby atmos nor dolby digital plus... It says md5 missing... Even when I flash it by unchecking certificate, none of them is working... Is there any way to make these work??:(
[Nexus 4 General] tthmatt:
No it's not possible to get advanced power menu on this rom. You can try using another ROM like Frank, Chroma or Minimal OS. They have advanced power menu options.

Which recovery are you using? Maybe you could sent a photo of the md5 issue.
[Nexus 4 General] crank18:
slimport

I have issues with getting tv out.

The slimport cable runs pretty fine with a LG G2.

Is this a 6.0 based problem? I'm running Frank build 15/10.
[Nexus 4 General] hugotte:
Could someone who can post on development thread say that the 2 gapps links are dead in the thread "lpv-79-mako-port-beta-t2807446" please ?

Thanks
[Nexus 4 General] tthmatt:
Use this gapps from BaNkS they work perfectly.

https://www.androidfilehost.com/?w=files&flid=41020
[Nexus 4 General] purgeh:
wtf

rill in work & wireless lines it's work? but have mi'ne damaged phone (gsm module) but their repaired from service centers and this saying dontn't stick) and stuck))))in general marshmalow needed in this device.. and iI compiled for ion (xperia ion lt28h/i & ectc) cm12.
[Nexus 4 General] murali0007:
I m using TWRP for recovery
[Nexus 4 General] hugotte:
It doesn't work for me : wizard crash loop.

I use gapps-mm-fix.zip from the first post of the thread "[M][6.0] Frank N4 - Aosp - Stable M [10-19-2015]", a version without the wizard, I had just to configure wifi and google account by myself and all seems ok.
[Nexus 4 General] walkinstudios:
Best rom so far

This is by far the stablest rom I've tried, unfortunately I had to change to CM13 since Uber simply wouldn't work. It was causing a soft reboot upon opening the app.
[Nexus 4 General] tthmatt:
http://xdaforums.com/showthread.php?t=3249927
[Nexus 4 General] pourya-man:
hi

i installed android 6 on my nexus 4 . i don't have a any problem but device storage don't show pc . i tried other custom rom but this problem not fixed .
[Nexus 4 General] tthmatt:
Make sure the device is not set to charge only. You can change the settings is developer options.
[Nexus 4 General] pourya-man:
thanks [MENTION=4923637]tthmatt[/MENTION]

how to enable double tap to wake / sleep on android 6?
[Nexus 4 General] tthmatt:
You need a custom kernel and then use kernel auditor to enable double tap to wake. For double tap status bar/navigation bar some roms like Chroma has this feature.
[Nexus 4 General] _Behemoth:
Any MM Rom that does not interfere with Gravity Box for MM? SAOSP does not play well with it.
[Nexus 4 General] -Asskicker-:
Has anyone tried OpenGapps for Nexus 4? http://opengapps.org/?api=5.1&variant=nano
[Nexus 4 General] nitin.chobhe:
Yes, I did and they work great :thumbup:
[Nexus 4 General] lamine0uali:
thanks
[Nexus 4 General] Longshark:
Hi, tried reading last few pages and from what I gather this rom works great and I can get gapps right?