yashsingh1/xdaforums huggingface dataset:
[Samsung Galaxy Nexus] bamtan2:
People like [MENTION=3390093]MWisBest[/MENTION] and [MENTION=2633638]Ziyan[/MENTION] make the world go 'round. The world runs on open source software. Thank you for your contribution to the greater good!
[Samsung Galaxy Nexus] MWisBest:
Here's the (updated) 6.0 build, knock yourself out: http://xdaforums.com/devdb/project/dl/?id=15284

I have not tried GApps with it. It is NOT daily driver material, but it works OK as far as I can tell. Please report any bugs you experience!

Keep in mind that this build is very "barebones". There's nothing flashy, and nothing unnecessary. We'll get to that later.

Known Bugs:

Camera acts odd and/or crashes when switching from front to back

(or, more rarely, back to front). The camera service will restart and recover without needing to reboot however, so if you have problems just give it another try in a few seconds.

Some maguros will not work correctly. See the below report for more information on the problem. If your Baseband Version starts with "I9250", you shouldn't have any trouble. This should be fixed with the 20151120v2 build.

I should have a build up that fixes this within the next hour. If I don't it's because I fell asleep, it's pretty late here. :)

EDIT: Uploaded a new build, should fix SC04D basebands as well as M420 basebands. And, if it still isn't figured out in recovery when flashing the ROM, it should take care of itself when the device is booted up for the first time after flashing.
[Samsung Galaxy Nexus] Master94ga:
I don't find working gapps :(
[Samsung Galaxy Nexus] obscurer:
google for opengapps

pico worked for me
[Samsung Galaxy Nexus] jguerdat:
Yeah, nano was too big. Pico installed fine.

Browser crashes when trying to download anything.
[Samsung Galaxy Nexus] KShion619:
SIM Card not detected on Toro in 6.0, reflashing, wiping data and wiping caches does nothing for this (Mind you it is making changes for toro considering 5GHz WiFi works and Baseband appears as usual)
[Samsung Galaxy Nexus] MWisBest:
****. ******* Google changing ******* ******** with ****** ** RIL ****.

I'm a potty mouth. Sorry.
[Samsung Galaxy Nexus] jguerdat:
:D
[Samsung Galaxy Nexus] jguerdat:
Anyone using other than stock settings with this? So far it's working fine but can be pretty slow switching apps. Last time I looked I seem to remember I had ~150MB free, perhaps a bit less.
[Samsung Galaxy Nexus] uji_sine:
I think system lag come from low ram avialable.
[Samsung Galaxy Nexus] MWisBest:
Performance isn't a top priority right now, expect that to improve eventually. The most important thing is stability, making sure everything works.

The LTE RILs are a bit of a mess right now still. Toro's (and maybe toroplus's, I'm not sure) is segfaulting pretty early somehow when trying to free some memory. This just doesn't seem like the kind of thing that would pop up with an OS update...
[Samsung Galaxy Nexus] musical_chairs:
Yeah other than the normal toro RIL fixes (which are no longer necessary thanks to your excellent work), none of the usual fixes / old RIL stuff seems to do anything at all. I very much hit a wall in trying to get these radios working, and I had to give up on the idea of fixing it myself and getting an early build of M out for toro and toroplus. Glad to see your attention turned this direction! :cool:
[Samsung Galaxy Nexus] MWisBest:
At this point I'm about ready to stick NOPs all over the RIL until **** works. It's THAT bad.
[Samsung Galaxy Nexus] jguerdat:
I have one app that wants to optimize every time I restart. Takes 10 minutes so it's a large one. I removed Chrome to no effect so I suspect it's a Google one (I only use this as a clock with not much more than Openapps pico and root apps). Any way for me to figure out what's causing this and fix it? I captured a logcat but searching for "optimize" didn't help.

Here's a snippet that shows the 10 minute optimization but no info that I can discern:

11-23 03:10:23.212 W/PackageManager(1089): Not granting installed without

permission android.permission.WRITE_EXTERNAL_STORAGE to package com.google.android.inputmethod.latin because it was previously installed without

11-23 03:10:23.212 W/PackageManager(1089): Not granting permission android.permission.READ_EXTERNAL_STORAGE to package com.google.android.inputmethod.latin because it was previously installed without

11-23 03:10:23.220 I/UsageStatsService(1089): User[0] Rollover scheduled @ 2015-11-23 19:00:00(1448323200000)

11-23 03:10:24.043 W/MountService(1089): No primary storage mounted!

11-23 03:10:24.043 D/VoldConnector(1089): SND -> {2 asec list}

11-23 03:10:24.044 D/VoldConnector(1089): RCV <- {200 2 asec operation succeeded}

11-23 03:20:25.860 I/SystemServer(1089): LockSettingsService

11-23 03:20:25.920 I/SystemServiceManager(1089): Starting com.android.server.DeviceIdleController

11-23 03:20:25.941 I/SystemServiceManager(1089): Starting com.android.server.devicepolicy.DevicePolicyManagerService$Lifecycle

11-23 03:20:26.018 I/SystemServer(1089): Status Bar

11-23 03:20:26.031 I/SystemServer(1089): Clipboard Service

11-23 03:20:26.094 I/SystemServer(1089): NetworkManagement Service

11-23 03:20:26.181 I/SystemServer(1089): Text Service Manager Service

11-23 03:20:26.281 I/SystemServer(1089): Network Score Service

11-23 03:20:26.355 I/SystemServer(1089): NetworkStats Service

11-23 03:20:26.433 I/SystemServer(1089): NetworkPolicy Service

11-23 03:20:26.492 I/SystemServiceManager(1089): Starting com.android.server.wifi.p2p.WifiP2pService

11-23 03:20:26.647 I/SystemServiceManager(1089): Starting com.android.server.wifi.WifiService
[Samsung Galaxy Nexus] Ziyan:
Try adding the line from the bottom of this post to build.prop. Report back if it changes anything :)
[Samsung Galaxy Nexus] jguerdat:
Never done this. Where is the file? I find two on mine but different sizes. Just add and reboot?

---------- Post added at 01:58 PM ---------- Previous post was at 01:32 PM ----------

Never mind - seems the one in /system is the right one. Added the line and rebooted. Whatever it was took 14 minutes and another reboot did not cause yet another optimization. All fixed. Thanks.
[Samsung Galaxy Nexus] musical_chairs:
With your latest fixes I've got phone calls and SMS working, no mobile data (on toro, did not test toroplus yet). Network Type in the phone testing screen is stuck on 'WCDMA preferred'...but hey, it's progress!
[Samsung Galaxy Nexus] MWisBest:
Glad to hear phone calls and texts work. The network type thing I have fixed locally, hopefully that's the only thing stopping data from working; just needs some testing to make sure it doesn't break anything else. I need to do the "band 7 --> band 8" fix for the toroplus RIL yet as well.

Patching these closed-source blobs is very unfulfilling man. I was *obsessed* with the crashing problem, I worked on it non-stop for days. My sleep schedule is non-existent at this point. And you know how much I changed in the RIL? 1 byte. Hell, actually it was just 0.25 bytes (2 bits). That's kind of depressing.

EDIT: By the way, the toro and toroplus RILs are actually very similar. 99% the same. It might be possible to get one of them working for both variants.
[Samsung Galaxy Nexus] bamtan2:
[MENTION=3390093]MWisBest[/MENTION] is the hero of the day :) PS: https://www.youtube.com/watch?v=olzz82oRCMI
[Samsung Galaxy Nexus] musical_chairs:
I didn't realize toroplus was affected by that bug - I thought the old fixes for that were only called when building for toro?

I hope your persistence and your impressive debugging skills land you a Very Good High-Paying Job once you're done with school. I also hope you can get some sleep soon - you deserve a good rest!

I'm going to be out of town for a little over a week, so I won't be able to do any building or testing until I get back.
[Samsung Galaxy Nexus] MWisBest:
Well all I know is that the same thing I changed in the toro RIL (some static arrays that are used to sort of map Android's band numbers to what the modem understands) is also in the toroplus RIL, and they both expect(ed) band 7 for LTE instead of band 8 like they're supposed to. I suppose it's possible that the toroplus RIL just doesn't explode when it gets something other than band 7, but it should still be fixed, it'll only take me a minute to find it.

Thanks, I hope so too! Problem solving tends to be one of my strengths. I prefer to call it "fixing other people's ****".
[Samsung Galaxy Nexus] tlwhitec:
Kudoz for your determination and hard work! Fixing other people's **** is a great mission. But don't make the mistake I did, becoming a full time bug hunter/fixer. Everyone will love you for what you do; you will hate everyone for what they do. It's quite bad for one's mental health :D
[Samsung Galaxy Nexus] MWisBest:
A new Marshmallow build is here!: FML-AOSP-6.0-20151201-tuna.zip

Changelog:

- Fixed toro(plus) RILs crashing. Calls and texts should work, unsure about data; need a tester for that!

- Fixed USB OTG storage devices not mounting.

- Fixed RIL problems caused by unsupported request IDs, for example setting preferred network type (changing between 3G or 2G on maguro, or 4G and 3G on toro(plus)) should now work.
[Samsung Galaxy Nexus] KShion619:
Update Report for FML 12/01

System Information​

Radio=Latest FK01/FK02 Toro
Bootloader=Latest Maguro
EMMC=32GB Rev1
Model=Toro

Not Working

Data Missing Still in all forms (3G and LTE Included)
MMS Receive on WiFi
Camcorder in 1080p on Back Camera

What Works

Camera
Camcorder 720p and below
Bluetooth
MMS Sending
WiFi
NFC
Mobile Connectivity (See Not Working Section)
SIM Detection
SMS
Calls
1X Service

Little Nitpicky Things That Will Probably Come In Due Time

Ambient Display
Material/Updated Dialer Icon
Now On Tap
Judging by SystemUI, LTE instead of 4G icon in statusbar, (just something I like seeing)
Charging Rapidly/Slowly on Lockscreen (XenonHD and CM Committed This to USB 2.0 and 3.0 devices to show AC Connectivity
[Samsung Galaxy Nexus] rohitchouhan07:
Gapps work?
[Samsung Galaxy Nexus] Roman_Likhachev:
why the camera with a green tint?
[Samsung Galaxy Nexus] Punkiderma:
Had this problem in the past, it has something to do with the phone not generating the file used for camera color calibration after flashing the rom. You have to copy it from another phone/or from a correct flash.

I can't remember the link, but I think if you search this topic or the zMod one for "calibration" you'll find it
[Samsung Galaxy Nexus] Roman_Likhachev:
how to do it ?
[Samsung Galaxy Nexus] KShion619:
Yes, I use Gapps 6.0 OpenGapps and only have to skip setup, then set all permissions for the app "Google Play Services" to allowed

Although this is less a ROM issue than a gapps issue most of the time
[Samsung Galaxy Nexus] MWisBest:
Sucks to hear that toro is still having data issues. Hopefully [MENTION=4531957]musical_chairs[/MENTION] can make some headway with it. (BTW, to enable RIL debug logging, push a file to "/data/radio/debug_level" that contains "3".)

Unfortunately there's something odd going on with the white balance in Android 6.0. The camera in general is a little touchy really. They've made quite a bit of changes to the camera and A/V stuff internally.

The camera calibration file is getting dumped on boot correctly. There's something else going on. The calibration file is only for the rear facing camera, but the front one is having this problem too.
[Samsung Galaxy Nexus] MWisBest:
Oh, can somebody by chance give me an update on how maguro's going? RIL working OK there I hope?
[Samsung Galaxy Nexus] obscurer:
Not tested it hardly, but didn't noticed any problems with connectivity/data on my maguro..
[Samsung Galaxy Nexus] r.albu:
Does Titanium Backup works?
[Samsung Galaxy Nexus] dbt816:
Anyone else seeing issues with going into deep sleep? I remember this from the olden days of FML and the workaround was to enable location services and let a GPS app get a fix and it would clear the wake lock. This doesn't seem to be working now.
[Samsung Galaxy Nexus] MWisBest:
Are you not using a SIM card, or in airplane mode by chance? If so, turn airplane mode off for about a minute and then back on again.
[Samsung Galaxy Nexus] dbt816:
No SIM card...and I totally forgot to put it in airplane mode and turn wifi back on. Doing that cleared up the issue :good:
[Samsung Galaxy Nexus] MWisBest:
I'll see what I can do to fix that, I believe it also happens even if you start the phone with it already in airplane mode. :/

Glad to see you made it over to this thread by the way! :)
[Samsung Galaxy Nexus] dbt816:
Thanks! The gnex is pretty much just a remote control, weather radar viewer, and pedomoter these days, but it's still alive and kicking :)
[Samsung Galaxy Nexus] r.albu:
Is this anyhow related: https://github.com/opengapps/opengapps/wiki/Notes-for-Android-6.0? That is: does any AOSP ROM need a patch?
[Samsung Galaxy Nexus] KShion619:
That's why I change the permissions after skipping setup, that's what that patch does
[Samsung Galaxy Nexus] r.albu:
right, it would be nice to incorporate something like that to the ROM.

I installed the ROM, changed the permissions but couldn't register a google account after that, so no google play install for apps or whatever Google apps related.

Reverted back to ZMod 5.1.1.: there's almost no multitasking but it works.

All the best
[Samsung Galaxy Nexus] ilikemoneygreen:
Nice job! Excited seeing mm on gnex.

Hi, im really surprised to see MM running on this thing. So awesome. I thought lollipop sas about it. Anyway i logged in to let you know what you probably already know but who knows maybe it helps.

Yesterday i flashed your latest build, however i was tired and went to sleep. I didnt flash gapps or anything. It was just your rom. I left it on all day. In my head i was thinking if its marshmallow with nothing running then it will last all day. It should, as i can get a kk rom without gapps to run for days if i dont fiddle or turn on display. With that in mind, i checked and the battery was drained. If i had to guess id say it kept looking for cell signal but i had no sim in it. The battery app says cell standby ate 50% of battery.

Next after i looked, i turned on wifi. I believe i turned on airplane mode first but i cant remember. You can turn on airplane mod and have Wifi on, which is what i think i did. This problem was by far the worst becuase it drained my battery at a way faster pace then first issue.

Thats all that happened, so i think its a good report since their were not many variables at play. Just loaded rom and let it run for hours, then turned wifi on. Clearly the wifi thing needs a lookin.

Id also like to point out the awake part of the picture. With wifi on it looks like it at least went to sleep a couple times but not long... And With no wifi but serching for cell signal with no sim it never slept.

Great job on everything so far btw. Ui seems to be running smoothly.
[Samsung Galaxy Nexus] jguerdat:
I have a minimal install - flashed the ROM, Opengapps nano and a few apps specific to rooting and what I need since it's just my bedside clock. Yesterday I unplugged at ~6:30 AM and plugged back in at ~10 PM. Power level was 91% (the battery never seems to charge to 100% so it started off at 98-99%). The day before I had significant battery drain - down to 60+% - so I rebooted. The need to reboot a time or two seems to help for whatever reason. This is with airplane mode on and WiFi enabled with location services set to device only.
[Samsung Galaxy Nexus] jguerdat:
And last night, battery was at 82%. Not sure what the difference was but still not a huge discharge. (Semi-) interestingly, the battery discharge chart showed a noticeably steeper slope for the first 5-6 hours compared to later. At least 50% steeper although not exactly steep.
[Samsung Galaxy Nexus] KShion619:
Yeah the SIM card slot doesn't let the GNex sleep, try turning on Airplane mode then enable WiFi then you'll not have that issue while MW and Ziyan work on fixes
[Samsung Galaxy Nexus] jguerdat:
I find that airplane mode with WiFi on uses a bit more battery than with MWisBest's Lollipop. Also, things take a few minutes to "catch up" when not using the phone for a long time. I assume that's because it's in deep sleep but things aren't getting updated in that mode (I use Gmail, FB Lite, a weather widget and one RSS feed with one or two other infrequent things). Waking up the phone makes it rather sluggish while all the apps try to update.
[Samsung Galaxy Nexus] musical_chairs:
Well I haven't historically been very successful at actually fixing this kind of stuff, but I'm back home now, I'll start poking at it again. At the very least I can collect some logs.
[Samsung Galaxy Nexus] musical_chairs:
OK, data works on toro with the APNs from Lollipop. 3g and 4g working fine.

For a quick-and-dirty fix, flash the zip attached to this post:

http://xdaforums.com/showpost.php?p=57890624&postcount=17

I don't know yet exactly what is breaking data in the APNs. There are several additions to the APN settings, no doubt some new feature hates our old ril.
[Samsung Galaxy Nexus] MWisBest:
That's great news. If I had to guess what's up with the APNs, I'd say it's the bearer_bitmask thing. Not sure how I'll be able to fix it though. We may need to just store a separate APNs list for toro only.
[Samsung Galaxy Nexus] musical_chairs:
There are two other bugs with data on toro:

1. The APNs list shows 'Access Point Name settings are not available for this user' instead of showing in the list of APNs in use like it should. On Lollipop, this issue was fixed by something like this: http://review.cyanogenmod.org/#/c/122631/

I did a build here with that patch included (and the build.prop line to activate it) but it didn't seem to change anything.

2. Preferred network must be set to 3g after boot-up for data to work. After that, you can switch it to 4g and it will work on 4g. But if you reboot, no data connection unless you set it to 3g, wait for the connection to come up, then you can flip it back to 4g.
[Samsung Galaxy Nexus] jguerdat:
Is it possible to turn off and/or schedule deep sleep? It saves battery but takes a while to fully wake up. An app or somehow a setting would be great.
[Samsung Galaxy Nexus] pointman_12:
i've tried several times to install the lastest build with open gapps (pico) because nano wouldn't install and i can't get past after entering my wifi code...it just sits there forever...it's not super important because i don't have phone service on the phone but i like to keep it running
[Samsung Galaxy Nexus] jguerdat:
I had a lot of issues trying to get past the setup wizard. If there's a way to bypass it, I missed it. Keep plugging - it can be forced to work. I think I ended up rebooting once or twice during setup which somehow got me going.
[Samsung Galaxy Nexus] SuperGoober:
Hi , I'm new to this thread and FML . I've been following musical_chairs Sprint Toroplus CM thread for quite some time and he's advised our users to start following this thread for the unified Marshmellow . Currently I am still on his last CM lollipop build but preparing to make the move soon to FML MM . That being said I would like to ask if 12/01 is the latest MM build and if so should I flash it or wait for the next build ? I've read a few pages and see no mention of a newer build . Thanks for any help , advice or pointers anyone may wish to share .. I look forward to getting involved and helping to test the Sprint toroplus version of this device . I do use my phone daily for calls , text and data and that is primarily why I ask about the current status for toro+ . As long as there's no issue with restoring a lollipop CM android I'm game to try anything :)
[Samsung Galaxy Nexus] musical_chairs:
I've flipped back and forth between lollipop CM and this ROM via TWRP quite a few times. I did manage to nuke my internal storage once, but that was on one of my own builds back in the early days before the source code was neatly organized in the OMAP4-AOSP project. I would recommend that you make a backup of your TWRP backup and keep it in a safe place, far away from your phone - you shouldn't need it, but just in case...

You'll very likely need the APN fix I posted about if you're hoping to get data working. Also, I'm pretty sure Sprint OTA activation will be broken, hopefully you don't need that.

gapps are kind of a mess at this point (due to the new permissions stuff), and you'll need the new testing (alpha?) version of SuperSU if you want root.

I can upload a more recent build of the ROM if there are no objections from [MENTION=3390093]MWisBest[/MENTION].
[Samsung Galaxy Nexus] traco1:
Well I wiped & flashed the 6.0 on my Gnex toro. Its been almost an hour & it seems to be stuck at boot animation. Looks to me like it's not going to work. Whats up now??
[Samsung Galaxy Nexus] jguerdat:
Try a reboot.
[Samsung Galaxy Nexus] traco1:
Tried twice more ....no go!!
[Samsung Galaxy Nexus] Cardcaptor_RLH85:
Have you heard anything about being able to post a new build? I'd like to try this out on my toroplus sometime this week while I have time to mess around with it without having to worry about any work related stuff. Also, will this build require us to reformat to F2FS or can I leave /data formatted as ext4? I ask because I need to know if I'm going to have to move everything off of my internal storage before upgrading. I have a recent backup but not a 'right now' backup of my /data/media directory and if I know I'll be killing it, I'll want to make one.
[Samsung Galaxy Nexus] musical_chairs:
I'll get it uploaded once I have a chance to test it myself. You can leave your data on ext4, f2fs should be an option but I'm using ext4 for quite a while - I just didn't find f2fs to be worth the bother.
[Samsung Galaxy Nexus] musical_chairs:
Here's a fairly recent build. It is 100% stock from the omap4-aosp project, with the exception of an updated toro ril lib from MWisBest that hasn't gotten pushed to github yet. Data should work on toro out of the box, provided you set the preferred network mode to 3G after each reboot, let data come up, then you can switch back to 4G. MMS does not work, but other than that it has been surprisingly stable. Toroplus will need the apns from Lollipop for data to work, I'm guessing. I've tested to make sure that data works on toro, and that it boots and ril doesn't crash on toroplus.

It is a bit weird about installing, as MM has tended to be. If the flash fails, you may need to re-flash and/or wipe system and reflash to get it to flash successfully.

Here's the link: https://www.androidfilehost.com/?fid=24345424848487638
[Samsung Galaxy Nexus] Roman_Likhachev:
Cool! What not work? Camera work without green color? Google servise work?
[Samsung Galaxy Nexus] SuperGoober:
There seems to be a lot of versions , patched and unpatched of the supersu floating around . Also found a 2.56 version . Can you link to the version you recommend for this toroplus please ?

Also I have the last build you posted installed . Everything went fine . Phone seems snappy . Good work !! I Can make calls and that's about all I've tried so far . No 3g but I haven't done anything with the apn yet . I'd like to get root back and go from there . Just need a supersu and I assume I can just flash it with twrp . I don't know If there are any special instructions for getting root back other than flashing it . Also , do you possibly have access to a flashable sprint Lollipop apn that might help with data ? Thanks
[Samsung Galaxy Nexus] musical_chairs:
Those bugs are still there. This is mainly interesting for toro and toroplus users, the maguro ril bugs were already fixed on the previous release.

I'm using 2.62, I see there have been several releases since, have not tested them. Here is the post with the links: http://xdaforums.com/showpost.php?p=64161125&postcount=3

Use this one posted by zzpianoman: http://xdaforums.com/showpost.php?p=57890624&postcount=17