yashsingh1/xdaforums huggingface dataset:
[Verizon Samsung Galaxy Note II] mikeyxda:
Zero battery drain extended screen-off volume controls - usage

The volume buttons on the left side of the phone can be used to perform special functions when the screen is turned off. Because this is a modification to the framework and the code is never executed until you press the volume keys with the screen off, it uses zero battery unlike some of the apps you find on Google Play that are always running in the background, draining your battery as they monitor key status. Usage is as follows:

TAP for volume: Simply tap volume up/down to increase/decrease volume.

LONG PRESS to skip tracks: Press and hold volume up/down for 0.5 second (but not more than 1 second) to skip to next/prev. track.

VERY LONG PRESS to play/pause: Press and hold volume up/down for 1 second (but not more than 2 seconds) to skip to next/prev. track.

HOLD to turn torch light on/off: Press and hold volume up/down for at least 2 seconds to turn torch light on/off.

Once you get a feel for the timing, it's very easy to operate!

Turning off Zero Wake Lag

If you want maximum battery life and you don't mind the screen-on delay, you can turn off the ZWL mod. Use Root Explorer or ES File Explorer and open /system/build.prop with /system in R/W mode. Then locate this line at the very bottom of the file:

meanbean.opt.zerowakelag=true

Change to this:

meanbean.opt.zerowakelag=false

Turning on Music Notifications

By default, notification sounds don't play while you are listening to music so that your music is not being constantly interrupted by notifications from your email, Kik Messenger, text messaging app, SnapChat and other apps that use push notifications. Notifications work normally when no music is playing. Most people prefer to listen to music without these constant interruptions and without having to resort to airplane mode or turning notification volume all the way down manually. If you do want notification sounds, however, you can turn them on so that they play even during music by making the following change in the build.prop file. Use Root Explorer or ES File Explorer and open /system/build.prop with /system in R/W mode. Then locate this line at the very bottom of the file:

meanbean.opt.musicnotify=false

Change to this:

meanbean.opt.musicnotify=true

Wanna make your gallery super fast?

If you're tired of the stuttering and not even being able to scroll your gallery and you don't care about Samsung AllShare Cast, use Root Explorer or ES File Explorer and just delete these files from /system/app, reboot, and watch your gallery fly!

AllShareCastPlayer.apk

AllshareControlShare.apk

AllshareFileShare.apk

AllshareFileShareClient.apk

AllshareFileShareServer.apk

AllshareMediaServer.apk

AllshareMediaShare.apk
[Verizon Samsung Galaxy Note II] krowley3:
Looks great dude. Can't wait to give this a run!
[Verizon Samsung Galaxy Note II] hopesrequiem:
Downloading! Sorry krowley! Gonna finally have to switch off 2.0
[Verizon Samsung Galaxy Note II] icedventimocha:
Nice dude, glad to see you back developing.

Sent from my Galaxy Note II
[Verizon Samsung Galaxy Note II] highwaybandit:
Can't download fast enough.
[Verizon Samsung Galaxy Note II] DrunkUncas:
Looks good so far.

Thanks for coming back!
[Verizon Samsung Galaxy Note II] hopesrequiem:
Running fast and stable here so far
[Verizon Samsung Galaxy Note II] heckyhec5881:
THANK YOU!

Thanks for this, finally worked up the nerve to update my firmware (ODIN hates me more than my mother-in-law) and playing with these new ROM's is great! Coming from 4.1.2 this is quite refreshing...

Was wondering if you were considering some N3 features, I saw a mod to add them, but this software looks tight, if I try that mod and it works I will report back...

Thanks!
[Verizon Samsung Galaxy Note II] krowley3:
Of course if is fast and stable. :D
[Verizon Samsung Galaxy Note II] hopesrequiem:
Obviously. He used your epic base krowley!
[Verizon Samsung Galaxy Note II] mikeyxda:
Yeah man! I did a lot of trolling threads to find out which 4.3 was stable with the least complaints before I started. Looked like Sophisticated fit the bill to me. Thankfully krowley had already offered to let me use it as a base so I'm way ahead of the game! Thanks again krowley!

Mike
[Verizon Samsung Galaxy Note II] krowley3:
No worries! I am excited to see what you can do with it. I know that you will make this awesome. I may be getting with you soon though for a few tips and possibly an international build similar to ICE. It may just need your GPS touch:D I am downloading N7105 ML3 now:good:
[Verizon Samsung Galaxy Note II] newbomb:
Does the SD swap work with this?
[Verizon Samsung Galaxy Note II] okoboji1:
Help.... have never used Odin before, I downloaded the firmware and when I click the pda in Odin and go to the folder where I downloaded the file its empty....so im not sure what im missing??
[Verizon Samsung Galaxy Note II] mikeyxda:
Sounds great! Let's team up. If you wanna take on the international version, I'll probably stick here with the VZW edition. Just don't have the time to debug and tweak the international base but I'd be happy to port some stuff (like zero wake lag and GPS) as I can.

You are probably trying to give it the compressed file: you have to use 7Zip or something to unzip the MD5 file out of that. It's the MD5 file that Odin wants. Otherwise sounds like you're doing it right.

Mike
[Verizon Samsung Galaxy Note II] okoboji1:
Thank you soo much, that was the exact problem, got 7zip and am up and running with no problems at all!!!
[Verizon Samsung Galaxy Note II] DrunkUncas:
So you didn't feel like basing on a ROM that seems to require a flash back to stock for it to work properly?

I'm shocked!
[Verizon Samsung Galaxy Note II] Bsober:
Excitement With Verizion Note 2 Again!

This is quite the team. Couldn't wait to get home and download this rom. Installing shortly. Thanks.
[Verizon Samsung Galaxy Note II] Bsober:
Thanks Mikey. The addition to the volume rockers is really sweet. I see some don't like ZWL, but it's a major thing to me. I would still be on the original Mean Bean ICE had you not come back and fixed this update.
[Verizon Samsung Galaxy Note II] mikeyxda:
Yeah, me too but options are always good. I'm excited about the volume controls as I see those as a breakthrough. No one has taken the time to rewrite that mod since it came out years ago. So in rewriting it, I slipped a few extras in. It's a lot easier to port too the way it's written: everything can be dropped into android.policy.jar in basically one big chunk instead of pieces floating around all over the place. If I get time, I'll do a guide later. Right now I gotta get back to (my paying) job for a bit. :)

Mike
[Verizon Samsung Galaxy Note II] Bsober:
Sounds good. I'm glad you spent the time you could here for now. It's another very usable sweet rom. I hear ya on getting back to a paying job. I started back to work at a real fulltime job again last Wednesday since the heart attack almost 2 years ago. It feels great.
[Verizon Samsung Galaxy Note II] bigmike35:
Thanks for that line of code and the new additions of the volume skip/play music. I appreciate the time and effort you have put into this as I know you don't have to do this. Thanks again man! Will give this another go!
[Verizon Samsung Galaxy Note II] Woof_:
Great rom as always mikey. This was asked about 10 pages ago but I am not sure you saw it...

Any chance of some more Note3 features being included like air command and n3 notes etc.

I have been playing with N3Bula and those are nice, but ZWL and your battery life seem to be better.
[Verizon Samsung Galaxy Note II] *Hooligan*:
Great rom mike as always. I do have one small issue. I create a shortcut to Bluetooth but when I press it, I get "app not installed". Anyone else see this?
[Verizon Samsung Galaxy Note II] cbrinnny:
Man, your fix to skip tracks is so cool. :good:
[Verizon Samsung Galaxy Note II] hopesrequiem:
Do those music mods work for 3rd party music players such as poweramp or are they specifically designed for the stock music player? Can't wait either way. Cool mod mike
[Verizon Samsung Galaxy Note II] ncwildcat:
Or Pandora?
[Verizon Samsung Galaxy Note II] sthrnsprtsmn:
You probably have to freeze the other music apps first before apps like Pandora to work with the mod
[Verizon Samsung Galaxy Note II] wolfeyes30:
I use Neutron Music player and the skip track mod is working with it. Great Mikey. Thanks
[Verizon Samsung Galaxy Note II] cbrinnny:
I use Poweramp and it is working flawlessly.
[Verizon Samsung Galaxy Note II] mikeyxda:
Yeah, no magic here: it works just like all the prior volume skip mods: it sends an Android media key event via the system, like KEYCODE_MEDIA_NEXT or KEYCODE_MEDIA_PREVIOUS which I believe are the same signals sent by headphones that can send forward/back track signals. I know it works in the stock media player and PowerAmp. Should work in just about anything that is designed to accept standard Android media keys. But as previously pointed out, if you've run more than one media player, YMMV as to which player will get the signal. For example, if you very-long-press the volume up to start music and you have several media players, it'll probably try to start the last one you used. If you always use one app, you're probably fine but if you switch back and forth and you intend to use volume up to start your media player, you might be surprised occasionally as to which one it opens. ;)

Mike
[Verizon Samsung Galaxy Note II] cbrinnny:
Mikey, is it just me or the Build number still reads MeanBean Reborn 0.4? Also, for the life of me I can't find the toggles zip on sdcard on this version. I did a clean install.
[Verizon Samsung Galaxy Note II] mikeyxda:
Yeah I forgot to change the build number. You can change it in build.prop if you want. I'll re upload it tomorrow just to be thorough. That folder is in /data too if you don't see it on the sdcard.

Edit: re-download and reinstall 0.5 to get the version number fix: available now.
[Verizon Samsung Galaxy Note II] hopesrequiem:
Not a huge deal but this would look so good without the ongoing part lol
[Verizon Samsung Galaxy Note II] DrunkUncas:
I'm with you. Using a ROM without ZWL is like going back to low def TV.

I'm thinking about getting a Mean Bean tattoo.
[Verizon Samsung Galaxy Note II] mikeyxda:
Not planning on it. I looked at those and I included the Note 3 keyboard and SketchBook which is about as far as I'm willing to go. The rest requires replacement and addition of over 300 libraries and other system files from something that didn't come from our base. No way am I starting down that road. Sounds like a road to incompatibilities and endless problems. I want to keep this ROM clean.

Edit: just to clarify... The mods that are out there may work 100%! Problem is: I don't know that and I'm not a dev to just drop stuff in and see. I like to review the code when possible before "inserting". :) Just makes life easier for us all. Just don't have the time to properly review something that changes that many things.

Mike
[Verizon Samsung Galaxy Note II] fennellchrid:
Any chance of Galaxy gear support?
[Verizon Samsung Galaxy Note II] krowley3:
Sure. Since this is using my rom as a base, just flash this: http://www.androidfilehost.com/?fid=23269279319202433
[Verizon Samsung Galaxy Note II] fennellchrid:
Thank you sir.

Edit: Works great! Thank you!
[Verizon Samsung Galaxy Note II] gammaxgoblin:
ever since flashing this rom, my wifi hasnt worked for my home network. it works at school, but my pcs work fine at home with wifi as always. the isolated variable is this rom. since i have flashed cm 11 and it still doesnt work. yes i updated the firmware weeks ago and had no problems until now. i reflashed the modem via update zip and still wifi problems....ideas?
[Verizon Samsung Galaxy Note II] KGBxxx:
Did it work on cm11? Did you try flashing a stock rom?
[Verizon Samsung Galaxy Note II] pdc419:
I would Odin the firmware again with the pit file. I don't know if this will solve your issues but that's where I would start.
[Verizon Samsung Galaxy Note II] mikeyxda:
Sounds like a reasonable place to start. This ROM has stock WiFi binaries and libraries so WiFi not working is usually an indication of a firmware/base mismatch.

Mike
[Verizon Samsung Galaxy Note II] big0ak:
Will this rom be updated to 4.4?
[Verizon Samsung Galaxy Note II] wolfeyes30:
There is no Samsung TW 4.4 yet for our Note 2.
[Verizon Samsung Galaxy Note II] big0ak:
I'm talking about in the future when it comes out. I like this rom and would have to hunt another down
[Verizon Samsung Galaxy Note II] big0ak:
Right on!
[Verizon Samsung Galaxy Note II] DrunkUncas:
Anyone else having issues with Chrome?

2 crashes in 2 days.
[Verizon Samsung Galaxy Note II] big0ak:
No problems here bro.
[Verizon Samsung Galaxy Note II] big0ak:
When I flash .05 can I do a dirty flash of should it be clean and fresh?
[Verizon Samsung Galaxy Note II] wolfeyes30:
I been dirty flashing from v2 up...been no issues for me. Ymmv
[Verizon Samsung Galaxy Note II] mikeyxda:
Latest version does seem to have a problem with certain bookmarks and crashes when trying to sync bookmarks. I have a LOT of bookmarks that it tries to sync with the PC version so that affected me. I turned off bookmark sync and still had an occasional issue so I just uninstalled it and I'm using the stock browser. I personally don't like Chrome anyway.

Mike
[Verizon Samsung Galaxy Note II] big0ak:
Didn't think I was gonna use it but decided to give it a shot. .05 volume update rocks. Only issue is on slacker it won't skip and won't shut off the music. No biggie though.

---------- Post added at 10:35 PM ---------- Previous post was at 10:30 PM ----------

NM it's working with Slacker now. Even better!
[Verizon Samsung Galaxy Note II] wolfeyes30:
Agrees with Mikey. Never liked Chrome either.
[Verizon Samsung Galaxy Note II] mikeyxda:
0.6 now silences notifications while music is playing so you can listen uninterrupted without manually turning off notifications. Got tired of all the interruptions from email, texts, etc. while playing music. :) To turn them back on, see post 3 as usual.

Mike
[Verizon Samsung Galaxy Note II] willg_smith:
For some reason, I flashed the latest TWRP and my did a factory data reset. When I installed Meanbeans and booted, all of my messages were still there. I was curios so i went to Google Play to install Root Browser to see what was going on. It failed on got error -24. I read that happens when an app fails to update, but it wasn't installed already... I boted into twrp and went to the file manager and all that data is still in there. I don't know why it didnt clear.. So i installed Philz CWMR and tried to do a clean wipe with that and it just gets stuck on wiping /data for a few minutes and reboots. I am officially stuck right now... lol.

Edit- I used a different menmu option to format /data and it worked but it also wiped my internal SD... lol. Good thing i dont keep anything important on there!!!! back on twrp and copying meanbean over to my extSD right now. Any clue why it wipe my internal too? I was coming from sophisticated.
[Verizon Samsung Galaxy Note II] Bsober:
That's awesome. Always wished that could be the case, but too stupid to ever think of it as a request. Thanks Mikey.
[Verizon Samsung Galaxy Note II] gr8nole:
Your internal sdcard is actually just a folder located at /data/media. You must have chose the option in Philz that formats /data and /data/media.

Sent from my SCH-I605
[Verizon Samsung Galaxy Note II] willg_smith:
Yup that looks familiar. That's exactly what I did. I had by Titanium backup on it but that's about it. Oh well. I'll just replay my games. I hate the new storage locations in 4.3 though.
[Verizon Samsung Galaxy Note II] ncwildcat:
Odd question, but does anybody have an inverted hangouts app that works with this rom? I flashed one I had previously used (tried three times actually) and all three resulted in my wifi not working nor could I turn on the hotspot. Restored Nandroid all three times and everything was happy again.

Thanks in advance
[Verizon Samsung Galaxy Note II] big0ak:
I have one that works. Gimme a few I'll post a link.

https://www.dropbox.com/s/k0mgmc9uuml8txf/BlackHangouts-1.zip
[Verizon Samsung Galaxy Note II] ncwildcat:
Worked Great! Thanks
[Verizon Samsung Galaxy Note II] mikeyxda:
0.7 fixes the Instagram FC seen when uploading videos on stock 4.3 ROM builds.

Mike
[Verizon Samsung Galaxy Note II] bambamishere:
Ok how do I get the color emoji to show when texting?

I found it.
[Verizon Samsung Galaxy Note II] AlanPototsky:
This doesn't work for me? I still get notifications.....wish I didn't!

---------- Post added at 05:28 PM ---------- Previous post was at 05:19 PM ----------

Nevermind....I was still on 5. DOH!
[Verizon Samsung Galaxy Note II] big0ak:
I guess the volume rocker mod took the torchlight rocker away.
[Verizon Samsung Galaxy Note II] ttxcsabby:
I'm getting a heavy android system drain with meanbean. But didn't get it on sophisticated.

I thought it was the same rom base and stuff?

Sent from the Sun
[Verizon Samsung Galaxy Note II] dricacho:
Yep, mine stopped working too. :(
[Verizon Samsung Galaxy Note II] mikeyxda:
If you tap the home button to wake the screen and then use it from the lockscreen, it should work.

If you have the zero wake lag enabled (post 3), it'll show a long time in wake lock (android system) but that does not mean it is a heavy drain! Just means the wake lock is on for a long time but with the CPU's at idle and only one being active, the drain should be minimal. Most people don't notice much difference in battery life with it enabled.

Mike
[Verizon Samsung Galaxy Note II] big0ak:
Still use the rocker when on the lock screen? I'm still having no luck.
[Verizon Samsung Galaxy Note II] mikeyxda:
OK. Guess that added widget only works with the screen off. I'll just check into building it in.

Mike
[Verizon Samsung Galaxy Note II] big0ak:
If its not a big deal that would be cool I use my flashlight app every morning so I don't wake up my woman when I get up. Haha.
[Verizon Samsung Galaxy Note II] mikeyxda:
OK, I added torch to the volume controls in 0.8. See post 3 for details on how to use all the features. Feels like I went a little overboard putting volume, skip tracks, pause/play, and torch light on the volume buttons but I guess some will find all those useful. ;)

Mike
[Verizon Samsung Galaxy Note II] big0ak:
You rock! I'll use all of these. Thanks for your time bro.
[Verizon Samsung Galaxy Note II] Bsober:
Well downloading again. I liked having the flashlight available there, so this is a nice little update to me. Thanks Mikey!
[Verizon Samsung Galaxy Note II] dricacho:
Is there a way to disable the expanded screen-off volume controls? I don't use it and it just make activating the Torch a pain.
[Verizon Samsung Galaxy Note II] frostysax:
Love the rom but my notification toggles have disappeared. Any help with that?

---------- Post added at 11:39 PM ---------- Previous post was at 11:21 PM ----------

Got it figured out LOL.
[Verizon Samsung Galaxy Note II] soba49:
Had the exact same deal. I installed TWRP via Odin and did the Factory reset / data wipe in the upper right corner. Trying to do the mimimum of just wiping dalvik/cache wouldn't work because there was corruption everywhere, and it refused to even try. After that I reinstalled my ROM and was good to go.
[Verizon Samsung Galaxy Note II] dricacho:
I discovered just now that holding the volume up/down for at least 2 seconds to turn torch light on/off causes the phone to reboot. It didn't happen the first time I did it but it happened on the second time I tried to turn torch on/off. After the phone rebooted, I tried it again and it didn't reboot. Tried to turn on/off torch again for the second time and it made my phone reboot. Is anyone having the same issue?
[Verizon Samsung Galaxy Note II] mikeyxda:
No problems here. My guess is that you might have installed some other mod that conflicts with it. If you can post a logcat, I might be able to tell what is going on by looking at that.

Mike
[Verizon Samsung Galaxy Note II] Dancershrink:
I had the same reboot yesterday, but have frozen a few apps and made mods using xposed (including xtheme), so suspect you are right that the mods are the problem. I am just using the torch button on power widget for the flashlight and it works great.
[Verizon Samsung Galaxy Note II] dricacho:
I haven't installed any other mods. Click link to see logcat.

https://www.dropbox.com/s/x6gp7cffaba73qo/alogcat.2014-01-23-06-56-35-0800.txt
[Verizon Samsung Galaxy Note II] mikeyxda:
There are no FC errors in that logcat, probably because your phone reboots when you activate the torch. See if you can get a logcat right after pressing the torch button (and before it reboots). What I normally do is type "adb logcat -d -v time > logcat.txt" at a command prompt and wait to press enter. Hold the volume up button for a few seconds and just after releasing the button, press enter and see if you can get a logcat before the reboot happens.

Thanks,

Mike
[Verizon Samsung Galaxy Note II] dricacho:
Took me numerous tries to get a logcat without having the phone reboot otherwise the logcat file doesn't get saved. Hope it shows in this one.

https://www.dropbox.com/s/j2i8jmfbv2ef8h2/alogcat.2014-01-23-11-13-12-0800.txt
[Verizon Samsung Galaxy Note II] mikeyxda:
Thanks for trying. Nothing in that one either. In fact, no errors at all and the log message that appears when you activate the torch light isn't even in there. Before it even activates the torch light, it puts this message in the log:

"Volume key very very long press: torch light"

That message doesn't exist in either of your logcats which is telling me that my code for the torch light isn't even being executed. Are you sure you don't have Xposed or some other mod in there that could be taking over the volume buttons?

Mike
[Verizon Samsung Galaxy Note II] macrossmerrell:
FYI, the 0.8 MD5s don't match when downloading from any of the Android Host mirrors. I've tried on multiple PCs and internet connections over the past two days.

Lovin and rockin .05 though! :D

Merrell
[Verizon Samsung Galaxy Note II] dricacho:
The torch light only activates when the screen is off correct? Right now every time I would hold both up and down buttons while screen is off and then release, the phone reboots. Hence I couldn't go back to start the logcat. After 5 failed attempts, I didn't bother turning off the screen held both buttons down while the terminal screen is up and since the phone didn't reboot then, I was able to go back to the terminal screen and start the logcat. That's the only way I have been able to get a logcat going. I kinda figured that nothing will appear because the actual torch activation doesn't happen unless the screen is off.
[Verizon Samsung Galaxy Note II] mikeyxda:
Just tested it to be sure. I downloaded from the CO Mirror #4. Download took under 6 minutes and the MD5 matched. Maybe a local issue or internet hub between you and the server(s).

Mike
[Verizon Samsung Galaxy Note II] mikeyxda:
That might be the problem. Don't hold both buttons down at the same time. Hold the up button to turn it on. Then hold the down button to turn it off. Not even sure what will happen if you try holding them both. But I guess now we know. :)

Mike
[Verizon Samsung Galaxy Note II] dricacho:
That's exactly how I used to activate torch, by holding the volume up button. But since the expanded screen-off volume controls were added, it doesn't activate torch anymore. I found this on post #3 hence why I am holding both up and down keys to activate torch.

TAP for volume: Simply tap volume up/down to increase/decrease volume.

LONG PRESS to skip tracks: Press and hold volume up/down for 0.5 second (but not more than 1 second) to skip to next/prev. track.

VERY LONG PRESS to play/pause: Press and hold volume up/down for 1 second (but not more than 2 seconds) to skip to next/prev. track.

HOLD to turn torch light on/off: Press and hold volume up/down for at least 2 seconds to turn torch light on/off.