yashsingh1/xdaforums huggingface dataset:
[Nexus 4 Android Development] bladebuddy:
Using duel boot is handy for testing out roms like this whilst still being able to ho back to your daily ( if not using M as your daily) its far quicker then restoring your backup. Plus its the one way you can have Ubuntu touch on your device.
[Nexus 4 Android Development] sykopompos:
https://play.google.com/store/apps/details?id=com.google.android.apps.gcs
[Nexus 4 Android Development] dragos281993:
That's what I wanted to hear.
[Nexus 4 Android Development] CallMeAldy:
Good to know that it was not the beer. (Even I couldn't find some stuff). I'm almost done with the clean kernel with proper commit history. It's been hectic but it'll be worth it now.
[Nexus 4 Android Development] sykopompos:
Soooooo where is my kernel ?
[Nexus 4 Android Development] dragos281993:
>OUR< kernel. Lol

I've been waiting for it like a baby waits for his milk.
[Nexus 4 Android Development] cimbajunior:
I've been using it for couple of hours now,it's great and stable. Only thing is that now on tap doesn't work,but that's gapps issue. Thanks man :)
[Nexus 4 Android Development] dragos281993:
What ?! I used now-on-tap this morning and it worked flawlessly. I used these gapps:

https://www.androidfilehost.com/?fid=24052804347835438

Also I did a clean install, data wipe and all.
[Nexus 4 Android Development] ckret:
funniest commit ive seen

https://github.com/marshmako/platfo...mmit/81fb72d72c9afe8c63e662a816aacf77eb161a10

thats why it always took ages...
[Nexus 4 Android Development] sgw99:
Thanks a lot for porting M to our N4! nice!

Installed it from clean wipe today and used the 2nd gapps (the fixed ones).

My minor issue (I hope): no contacts synced in yet from google. Yes, I logged into PlayStore (that works), but no contacts so far. Any hint, please?
[Nexus 4 Android Development] djsubterrain:
You (and a lot of others) need to go into Settings>Apps, then hit the cog on the top right and go to "App Permissions" then take your time to go through all the sections enabling the apps you need to (including Contacts), then restart, all the apps should work after this. Go into the Google settings also to make sure syncing is enabled for everything.
[Nexus 4 Android Development] mac87:
Evrything OK for the moment exept gmail that doesn't work

A popup "unknown problem with Google play services" appears when I start gmail

Does anyone has the same bug ?
[Nexus 4 Android Development] sgw99:
ok . I understand the direction ... but "Phone" is allowed to access "Contacts" already ... I will try fiddling with these settings, thanks for the pointer.
[Nexus 4 Android Development] bassbox:
When can we expect a gapps package that already includes all the needed permissions?
[Nexus 4 Android Development] VirtualMontage:
In comparison to Lollipop or a previous build?
[Nexus 4 Android Development] dragos281993:
In comparison to Lollipop or a previous build, M is much smoother. The difference is very noticeable.
[Nexus 4 Android Development] sykopompos:
Probably sometime later this week or next week when marshmallow google apps start getting updated
[Nexus 4 Android Development] Johnny camaro:
Very smooth and nice ROM thanks! I was just checking around and didn't no this -System-UI-tuner was in there.
[Nexus 4 Android Development] bassbox:
Did some1 successfully restored a helium backup from stock lollipop to this rom? At least some apps? Can I restore my old device via my google backup? (Apps, Homescreen, Wifi password etc.)? If so: How? What Gapps package and which order to reboot/give permission? Going to backup and root and flash twrp so long. brb
[Nexus 4 Android Development] autoradio78:
Guys, Titanium Backup don't "see" my backup folder..any help?
[Nexus 4 Android Development] danielcepa:
preferences ->backup folder location -> Filesystem storage ->sdcard->titanium backup

should work now :)
[Nexus 4 Android Development] cimbajunior:
Benzo gapps keeps crashing on setup for me. I tried to install it several times,always the same.
[Nexus 4 Android Development] kassu99:
Same here. Is there some kind of beta which is working on m?
[Nexus 4 Android Development] bassbox:
Can someone recommend me a good recovery for this? Can I use stock? I am on stock offical bootloader locked nonrooted 5.1.1 latest security patch. What are the best steps to install this rom? I need only keywords (e.g. install twrp 2.8.7.0 via adb and then use this to flash this rom and use this gapps package afterwards and then grant permissions as you wish and then login with your account and restore..)
[Nexus 4 Android Development] dragos281993:
Try the method presented 4 comments above.

---------- Post added at 10:09 PM ---------- Previous post was at 10:04 PM ----------

-install twrp 2.8.7.0 via fastboot (or however you prefer)

-data+cache+system wipe

-flash ROM (check the first page)

-flash Gapps (third set from the main OP page >> these worked perfectly fine for me)

-reboot

-enjoy (the most important step)
[Nexus 4 Android Development] dully79:
Connect device

Open a cmd or other

adb shell

cd system

cd priv-app

cd SetupWizard

rm SetupWizard.apk

Reboot
[Nexus 4 Android Development] Perks:
In titanium I've had to select in preferences - backup folder - external storage

After that everything worked flawless
[Nexus 4 Android Development] autoradio78:
Work perfectly, thanks! I have problems with contacts synchronization! I have not any contacts! It's a known bug?
[Nexus 4 Android Development] dully79:
[MENTION=1050103]sykopompos[/MENTION], unfortunately its not pay day but here is a small token.

#4HW38600A65433448

Thanks mate.:good:
[Nexus 4 Android Development] Mavasilisk:
Hi guys, can you please tell me if "miscellaneous" is draining battery in the latest version? I know what this is and what battery information it contains just asking if its present in your battery history.
[Nexus 4 Android Development] tb110188:
So, next build we will have MultiRom support???
[Nexus 4 Android Development] sykopompos:
Thank you dully ?
[Nexus 4 Android Development] sykopompos:
I guess I'm gonna have to add how to fastboot twrp in the instructions for the ones coming from the n4 who didn't root before and now want marshmallow
[Nexus 4 Android Development] bassbox:
Journal off for ext4 http://xdaforums.com/show...ostcount=14956

Do I need to flash this? What is it for? What GAPPS package works the best?

So I got twrp 2.7.8.0 installed but it throws me a lot of erros when trying to wipe or install the rom.. //Edit.. K guess i had to mount stuff und disable mtp..
[Nexus 4 Android Development] sykopompos:
Once aldy gets the kernel to me. This just fixes the flashing error that was happening with the new verifying system image crap and multirom
[Nexus 4 Android Development] dragos281993:
Lmao. You're gonna have another 100 pages on that matter, with "can't install drivers", " my pc is blind, can't see my phone" etc.
[Nexus 4 Android Development] bassbox:
Jep. Just add which recovery works/is recommended

And how about you could recommend ONE gapps package?

/break

I just installed the bare rom and when I try to boot I get back into twrp? Did an extended wipe with everything checked and no errors beside usb-otg again and currently adb pushing the rom.zip over again.. next try.

For the case that it works: Further steps? Let it boot first and then WHAT and then flash WHICH Gapps and then just set permissions and i'm fine? What is that third download on the initial post meant to do?
[Nexus 4 Android Development] sykopompos:
Technically that isn't needed since in marshmallow, google turned off the journalling on the system partition on hammerhead and flo so as of last night's build, it is off on mako too.

It still should turn journalling off on cache though and will make it run fast like f2fs without the hassle of f2fs.

If your device dies and the cache partition gets screwed up, it will just rebuild the cache again on next boot.

Basically journalling is a way to preserve your data in case of a system failure but it is only necessary on a partition that gets written to (hence why the removal of journalling on system because it is read only), this of course impacts performance and RAM usage

https://en.m.wikipedia.org/wiki/Journaling_file_system
[Nexus 4 Android Development] dragos281993:
Follow the instructions on the main page of this thread, amigo. Syko wasted a few minutes of his life typing everything is written there. Do good and read carefully everything is written there. Then, if you want to find stuff that's not there, use the "search" function of this website. Let me know if I was to vague.
[Nexus 4 Android Development] Tmfz:
Edit: Bad info
[Nexus 4 Android Development] bassbox:
I was on stock everything. Unlocked device. Flashed twrp 2.8.7.0 , wiped everything, pushed the rom.zip. installed it. but my phone only boots in twrp over and over again when i reboot to system?
[Nexus 4 Android Development] sykopompos:
Oh crap ?

Latest twrp is the recommended recovery.

As far as gapps packages, I recommend to try all three or at least the zephik and the no setup wizard one because gapps are all over the place on who they work for and can change from flash to flash with a lot of people having the setup wizard crash.

Until we get stable gapps which is normally the case at the beginning of any new firmware, gapps will continue to be a mess
[Nexus 4 Android Development] daivee:
I used helium to backup my text and a few app data. Worked except not all my text messages were restored.
[Nexus 4 Android Development] sykopompos:
That sounds like the rom didn't actually install or you got a bad download
[Nexus 4 Android Development] cimbajunior:
I didn't wipe system before,my fault.,it's working now :D But thanks anyway.
[Nexus 4 Android Development] autoradio78:
[MENTION=1050103]sykopompos[/MENTION], any advice for contacts synchronization? I followed the method of gapps without setup widzard. All work fine! Also calendar, rewards etc synchronization. When Play Services try to sync contacts, for less than an instant appears force close popup..any help?
[Nexus 4 Android Development] bassbox:
I did a advanced wipe with everything selected that returned a success. Gonna redownload the rom from another mirror again. What do I need to make sure of when flashing using twrp2870?
[Nexus 4 Android Development] sykopompos:
Make sure you have contact sync on in accounts/google, if it is, turn it off and on again (I had to do this with gmail one time)

Also check your runtime permissions in settings/app and that your apps all have the proper permissions check on
[Nexus 4 Android Development] cimbajunior:
1. back to stock

2.wait for stock to boot,enable usb debugging

3.reboot to bootloader and flash twrp

4.enter twrp straight away(don't reboot)

5. mount usb in recovery,put the files on the phone

6.full wipe and flash

Enjoy :)
[Nexus 4 Android Development] TPWarrior:
You have the patience of a saint.:angel: Thank you for everything.
[Nexus 4 Android Development] bassbox:
That's exactly what I did, except i used adb pushed to transfer the rom. won't boot anything else than twrp.
[Nexus 4 Android Development] sykopompos:
You are gonna be real upset when there is a new build in less then an hour since it is recompiling right now ?
[Nexus 4 Android Development] cimbajunior:
Don't use adb sideload
[Nexus 4 Android Development] bassbox:
nah, I'll be happy then that flashing works again :D So in installed the rom again.. it says successful in the end but I still get rebooted in twrp...
[Nexus 4 Android Development] dragos281993:
What?! You can't be human. No human being likes to do so much work. 2 builds a day... Jesus ! This is insane, and I like it.
[Nexus 4 Android Development] bassbox:
I didn't. Please read my posts. I only used "adb push" to transfer the zip. I installed it using twrp.
[Nexus 4 Android Development] cimbajunior:
flash chroma gapps,they are provided in first post
[Nexus 4 Android Development] FloyderE:
I've just flashed the Rom with Gapps Fixed and everything works well except for now on tap.

There is no now on tap an even the shortcut for Google Now (swipe form home softkey) is gone..

What I did wrong?
[Nexus 4 Android Development] cimbajunior:
This thing happened to me. I done everything what I told you and it worked.
[Nexus 4 Android Development] dragos281993:
Dude, no one else has your issue. It's clear as day that you're doing something wrong. Don't hurry when you flash stuff.
[Nexus 4 Android Development] bassbox:
Yeah, that's why I'm asking what I could do wrong on something that consists only of copying 1 file and pressing 3 times on the phone. I can't finy any hints on these forums or google what I could be doing wrong. Its probably something very simple..

May you have a look at my screenshot attached 4posts back? I'll wipe and install one more time and then post twrp log. Pretty much it will take you guys 5 seconds to figure out the problem.
[Nexus 4 Android Development] clem_ita:
* For the "swipe from home softkey" shortcut, it has been disabled by Google as far as I know.

* For the "now on tap", it would not work if search language is set to other than English (US)
[Nexus 4 Android Development] dragos281993:
Maybe syko has an idea of what's wrong.

If I had a problem like that, I'd immediately download the 5.1 stock ROM, install it, boot the phone up, then do all the "custom" flashing stuff like M and Gapps.
[Nexus 4 Android Development] autoradio78:
The problem is that contacs do not appear in settings\accounts\Google (see screen)...the permissions are ok.. I do not know what can be..

When I open contacts app, for 0.3, 0.5 seconds appear force close popup of Play Services..I tried to delete data and cache of play services withoit luck..
[Nexus 4 Android Development] sykopompos:
I'm actually more curious why I'm seeing a error about usb-otg there (or maybe i have just never paid attention to it)
[Nexus 4 Android Development] bassbox:
see attachment for log
[Nexus 4 Android Development] sykopompos:
2 builds to you guys, I'm on like my 5th or 6th today
[Nexus 4 Android Development] sykopompos:
Try reflashing the gapps or a different gapps package, thats a gapps bug in itself
[Nexus 4 Android Development] sykopompos:
Does it reboot directly back into twrp or does it seem like it is trying to boot up for a bit and then back to recovery?
[Nexus 4 Android Development] googleygoggles:
I thought you said you were too busy looking for a job... Getting a little sidetracked eh?
[Nexus 4 Android Development] bassbox:
~6 seconds GOOGLE logo then twrp. (directly I would say)

From bootloader:

bootloader version: MAKOZ30f

Baseband: M9615A-CEFWMAZM-2.0.1701.07
[Nexus 4 Android Development] ckret:
[MENTION=1050103]sykopompos[/MENTION] I left you a message on git in device repository regarding a commit
[Nexus 4 Android Development] insigma28:
There's no stopping you [MENTION=1050103]sykopompos[/MENTION] man on fire. [emoji1] [emoji1]
[Nexus 4 Android Development] sykopompos:
10-13-15 update-1

added volume rocker wake (in settings/display to turn on)

add volume rocker cursor control

added animation transition animations of .25 and .75

set default animation speeds to .75

added long press recent button switches to the last app

removed the spinner from optimizing apps dialogue so it is quicker at dexopting

added long press on quick settings tile takes you to their settings menu

minor sepolicy fixes from hammerhead

disabled the after flash image verification (was breaking multirom flashing)

https://www.androidfilehost.com/?fid=24052804347836927
[Nexus 4 Android Development] googleygoggles:
At least we get a heads up, I was just about to flash the 10/13 build. HA!
[Nexus 4 Android Development] sgw99:
Ad contacts:

Solved my issue here, maybe it helps others as well: I removed and re-added the account.

Before doing that I didn't have "Contacts" within that account, I remember a crash at the first login after gapps-installation which might have failed before adding that sync-profile. Now it's there and syncs -> contacts visible.
[Nexus 4 Android Development] googleygoggles:
Yay! Downloading!
[Nexus 4 Android Development] dragos281993:
[MENTION=1050103]sykopompos[/MENTION] , I really hope you'll add some "navigation bar" controls in a future build. Like the ability to add a "power button" or at least to be able to long press the home button and turn the screen off. My >third< power button is broken and now I'm able to turn the screen off through software added options only.

Thanks for the new build !
[Nexus 4 Android Development] bassbox:
Problem persists with new rom ofc. It probably isn't rom related. But what the hell is going wrong?
[Nexus 4 Android Development] sykopompos:
Yes ?
[Nexus 4 Android Development] calav3ra_de:
On which gapps are you now?
[Nexus 4 Android Development] sykopompos:
I'm considering it, just trying to get everything stable.

I added in the rocker wake for people with bad power buttons but waking is more important at the moment then letting it go to sleep when it does it on it's own.

I'm considering adding the double tap to sleep on the status bar like zephik did though
[Nexus 4 Android Development] sykopompos:
At this point, it might be best to download the latest factory image and restarting over from it since I'm not even sure what is going on with yours and partitions can get corrupted sometimes
[Nexus 4 Android Development] g33k0 b3lk0w:
Please if possible, add skip songs with volume rocker, srry if I'm being rude, just need that one option
[Nexus 4 Android Development] sgw99:
see first posting in here, 2nd choice "gapps without setup wizard"
[Nexus 4 Android Development] bassbox:
So I tried to install latest CM12 snapshot. Of course my phone still just restarts into twrp.. wt..?

I came from stock 5.1.1 with latest security patch. I went into bootloader and unlocked the device. then I flashed twrp. I booted into twrp and went to wipe -> advanced wipe, checked everything, wiped, installed the 13/10 rom, 13/10-update1 and CM12 latest snapshot.. afterwards it just gets me back into twrp on every boot..

occam-lm48t is downloading right now..
[Nexus 4 Android Development] sykopompos:
Sounds like your phone hates you today
[Nexus 4 Android Development] googleygoggles:
Wait, you didn't wipe anything in between flashes?

---------- Post added at 04:45 PM ---------- Previous post was at 04:44 PM ----------

It's okay, this is way more fun! ?

By the way, what happened to the battery option here?
[Nexus 4 Android Development] sykopompos:
The code for it still needs to be up ported from lollipop. George G from minimal os said he would be doing that so I'm waiting for him to do it (why do it yourself when someone else is already doing it ? )
[Nexus 4 Android Development] googleygoggles:
It's okay, this is way more fun! ?

By the way, what happened to the battery option here?
[Nexus 4 Android Development] sykopompos:
Google said googley isn't allowed to have it no more
[Nexus 4 Android Development] googleygoggles:
That's annoying... It was pretty helpful and there is no reason why it isn't included.
[Nexus 4 Android Development] bassbox:
Installed factory image. Seems fine. Still booting up of course. So what then? Just reboot into recovery and try it out again and hope for a miracle?

Can someone explain what to check/do in detail when in recovery to go from stock to this rom?

As what I'm doing doesn't seem to work. (Wipe -> Extended -> Check all. Wipe. Then just Install -> click on rom.zip -> Swipe -> Success - > Boot -> TWRP :(
[Nexus 4 Android Development] HiM@L:
just my opinion... i think double tap to sleep on status bar is not as convenient as double tap to sleep on nav bar...zephik had it in L don't know if he has it in M though.
[Nexus 4 Android Development] calav3ra_de:
In twrp make sure to mount system again before flashing, it somehow unmounts that all the time. update1 is enough for flashing i think, after that it might say "No OS to reboot into" but you can reboot and it works.
[Nexus 4 Android Development] dragos281993:
Now:

copy the ROM + Gapps

go in recovery

factory reset

flash ROM

flash Gapps

reboot
[Nexus 4 Android Development] calav3ra_de:
Doesnt work. Still no contacts to sync.
[Nexus 4 Android Development] bassbox:
I did this on the very first try, but ofc I will do it again now

Oh ****. Now I got a green android with a "!" in a red triangle when i went into recovery? And no adb devices in windows.. also not in bootloader.

gonna boot again in stock 5.1.1 and turning on debugging I guess.. :D Is twrp gone after executing the flash-all script from recovery image?

Flashed twrp again. (adb reboot bootloaded 'and then' fastboot flash recovery twrp-2.8.7.0-mako.img). But I only get a green android with exclamation mark ("!") on red triangle in recovery now?
[Nexus 4 Android Development] sgw99:
maybe my fiddling with the "App permissions" did something as well.

I can't tell you exactly, maybe I was only lucky.
[Nexus 4 Android Development] calav3ra_de:
just got a private message from user bitojoe, his message goes here: "If you go to settings>apps>app permissions and then press the 3 dots in the corner to show system apps you can get contacts to show in your sync settings. Check every app permission pertaining to contacts. The main one which needs to be checked is called "google contact sync". Check that one and the rest of the system permissions.

Reboot your phone and contacts should be in your account sync settings."

This worked wonderfully! :D:good::cyclops:
[Nexus 4 Android Development] cruizgaray:
I had the same issue. I clean installed (system wiping included) 13-10 frank + chrome gapps and no problem.
[Nexus 4 Android Development] googleygoggles:
I have been on this thread so much these past couple days I feel like I have no life. WORTHIT?
[Nexus 4 Android Development] kryzeK:
Woo hoo!! Thanks!

Add double tap navbar and lockscreen to sleep too. It would be great to add gestures screenshot and power menu as well. But I would be asking too much.
[Nexus 4 Android Development] realjumy:
[MENTION=1050103]sykopompos[/MENTION], how difficult could be implement a per app screen resolution selector in your ROM? Since Xposed is not ready for M yet, this is the only reason why I'm not flashing your ROM.
[Nexus 4 Android Development] bassbox:
So after executing flash-all.bat from official recovery image i'm back on stock android.

I set it up and enabled usb debugging.

Can you please confirm these steps are the right ones now:

cmd: adb reboot bootloader

cmd: fastboot flash recovery twrp-2.8.7.0-mako.img

choose recovery with volume keys and power button.

go to wipe -> extended wipe -> check all -> woosh.

copy rom.zip

go to mount, make sure system is checked (mtp disabled/enabled doesn't matter? disconnect from pc?)

install. reboot.?
[Nexus 4 Android Development] sgw99:
tried chroma apps with 13-10-frank-update1: setup wizard stopped
[Nexus 4 Android Development] dragos281993:
The only solution left for you is some gasoline and a lighter. You don't need a tutorial for what's next.
[Nexus 4 Android Development] bassbox:
The log was exactly (line for line) the same. But now on the 8th try, after going back with official recovery images two times, it boots into android and not twrp!!! wtf hell yeah :D So there haven't came out a new gapps package in the last 2 hours or so? :D
[Nexus 4 Android Development] steviemch:
No just:

Wipe - Swipe to Factory Reset - install ROM, gapps etc.

steviemch
[Nexus 4 Android Development] dragos281993:
Finally ! I'm actually happy for you. I know how annoying is for something like that to happen to you.
[Nexus 4 Android Development] bassbox:
Time to sleep, its already midnight over here. And should better get some sleep to finish my masters-thesis. Thanks for the rom and the troubleshooting guys
[Nexus 4 Android Development] sgw99:
fixed that following http://xdaforums.com/showpost.php?p=63248675&postcount=40518

play store does not connect now.

step by step, right? ;) thanks anyway!
[Nexus 4 Android Development] tusharvikky:
[MENTION=1050103]sykopompos[/MENTION] I'm so sorry, I know its mentioned in OP no feature request. But I couldn't hold it any longer since this is so close to a perfect rom. How about Quick Unlock in lockscreen?http://xdaforums.com/member.php?u=1050103