yashsingh1/xdaforums huggingface dataset:
[G2 Original Android Development] mzfckr993:
[MENTION=3021224]allstar21369[/MENTION]

Here's what dr87 recommended:

"/sys/devices/virtual/input/lge_touch/touch_gesture 1 -> /sys/devices/virtual/input/lge_touch/touch_gesture 0

Use the term or manually do it in root browser

would be how to turn double tap off, it may come back after reboot though. You could probably set up an init.d script for it also."

In other words, you have to manually change that file, and it resets on every reboot, so it would be nice if someone could write that script as I imagine it's probably quite easy, however, I have no experience with this sort of programming.

Anybody?...

EDIT: Also, how does the stock Knock-on differ from the AOSP/Mahdi implementation? As far as I can remember, I never had the issue of accidental unlocks with the stock rom.
[G2 Original Android Development] HueyT:
AOSP is fun to play around but when you need your phone for serious work or lost and need a fully functional phone GPS, stock based roms like CloudyFlex 2.4, XDABBEB, OptimusRom 4.4, CloudyG3, OptimusFlex) are flawless.
[G2 Original Android Development] Aljosko:
Well at this point Mahdi's ROM is quite stable for all the serious work too. I'm on 14a version and havent experiance any serious bugs, gps, calling, texting, browsing, etc is working. I also havent experiance any FC or reboot. It's my day two and i hope it stays that way.

Poslano z mojega LG-D802 z uporabo Tapatalk
[G2 Original Android Development] gambit07:
Thanks for the heads up. Is there anything I should be doing besides the typical clean flash when moving between AOSP and stock based roms?

---------- Post added at 11:58 AM ---------- Previous post was at 11:56 AM ----------

I agree, everything does work and I love the ROM. The only downsides I've been experiencing are signal strength is not great for me, and battery life has suffered a bit, more so on the 4.4.3 based rom. Otherwise it is fantastic!
[G2 Original Android Development] HueyT:
I wasn't intending to disrespect Mahdi Rom. I too am running 6/15 Mahdi Rom AOSP. It's definitely all around the best AOSP rom. Yet certain apps like Secure Messaging App with Startel won't alert my text until I refresh it manually. This app is necessary for my medical work due to HIPPA requirements. Stock roms work well with that app while AOSP, including Mahdi, doesn't.
[G2 Original Android Development] ooddiittyy:
I have not found this to be the case.
[G2 Original Android Development] :
This one is for 603 build
[G2 Original Android Development] HueyT:
Nope, clean flash and Cloudy's roms (CloudyFlex, Cloudystock, CloudyPro, and CloudyG3) are using an Aroma installer that has all variants in one rom and then you pick your device from the list. Gapps are not needed for Cloudy's roms while XDABBEB's rom does need Gapps 4.4.3 (minimal is best).
[G2 Original Android Development] :
Xdabbebs doesn't need gapps either it's built into rom also
[G2 Original Android Development] gambit07:
I'm going to do the switch today and I will post an update here with a comparison in the same area
[G2 Original Android Development] ooddiittyy:
Cool. As per the recommendation of others in this thread, make sure to record the signal strength as reported in dBm in the phone status menu. It's good to get actual data!

Edit: Ideally, of course, you'd also want to sample the variance in signal at that location a few times with each ROM, to establish a baseline expectation.
[G2 Original Android Development] lazer77:
Are you judging your signal strength by the bars? If so, actually go in and look because they're probably the same. I think i've seen this brought up before (somewhere on xda), it's just how it's displayed differently from aosp/stock.
[G2 Original Android Development] gambit07:
I had posted earlier, I am not comparing bar signal strength since it is essentially made up, I'm going by the dBm signal number in settings.

---------- Post added at 12:37 PM ---------- Previous post was at 12:31 PM ----------

Thanks! Right now I am running Resurrection Remix and I do not think I am seeing a difference. dBm is ranging from -100 to -104 and asu is running 35-42. I am going to switch to AOSP and back a few times to record the numbers to make sure.

EDIT: Resurrection is not a stock based ROM which I did not realize. Will switch over to Cloudy or similar shortly and update.
[G2 Original Android Development] UrbanBounca:
There is no actual difference in signal strength. The difference is what you see. For example, at -92db, an AOSP ROM may show two bars, while the stock ROM shows three. There is actually no difference in signal, but it's how each ROM is coded differently, thus showing -92db differently.
[G2 Original Android Development] Aljosko:
Is any one using art with 14a or 15v even though its just an experimentation option?

Poslano z mojega LG-D802 z uporabo Tapatalk
[G2 Original Android Development] gambit07:
I've answered this a couple times, but I'm not comparing signal bars. I'm comparing dBm and asu numbers to see if there is a difference between stock and aosp based roms.
[G2 Original Android Development] jesssiii:
Are you comparing the bars or the actual dBm?

KIDDING!!! ?
[G2 Original Android Development] gambit07:
:laugh::laugh::laugh::p Definitely the bars!!
[G2 Original Android Development] BlakeSm:
He already responded to this, his answer was no, it would create a lot of bugs.
[G2 Original Android Development] TruEastSydeBoi:
I thought the conclusion was came to that AOSP just represents signal strength differently. Make sure you're looking at actual Decibels not just bars. I know I've always feared strength was different because I would have 1-2 bars on stock but zero (not no service, but just zero bars) but I could in fact actually make calls and text. So even tho you have less bars I believe you actually do have the same signal amount. A more accurate test would be to watch the DBs or test calls between roms in the exact spot to see if they drop.

Edit:Ninja'd Sorry Nevermind
[G2 Original Android Development] :
Yes I am and working great
[G2 Original Android Development] 55Pegasus:
Yes, I'm running Art. No issues on 14a with VS980.
[G2 Original Android Development] gambit07:
Unfortunately it looks like there is no difference. I am seeing the exact same range in dBm and asu in the stock CloudyFlex rom in the exact same location. -100-105 dBm and 35-40 asu. Hope that helps some people out!
[G2 Original Android Development] ooddiittyy:
Data >> anecdote.
[G2 Original Android Development] efstajas:
Thanks so much for maintaining this ROM, it's insanely stable so far. Had PA crash on me countless times sadly, so I switched and found this one. I'm blown away, been using it for nearly a week with NO panic or UI crash.

The only thing I miss is a toggle for Knock On. PA had this if I'm not mistaken. While Knock On is quite nice, it is extremely unreliable and depending on the kind of pants I wear it triggers by itself.

Another tiny thing I noticed is that when you hide the carrier label from the notification shade, the quick settings are still positioned lower when the phone only has emergency network access, despite no text actually being shown. This is literally the only UI- side "problem" I have found.

Thanks for bringing this gorgeous ROM to the G2!
[G2 Original Android Development] Matze060906:
Can anyone tell me what is "Omni switch"? I've seen it in my app drawer. I don't have it installed...

Gesendet von meinem LG-D802 mit Tapatalk
[G2 Original Android Development] efstajas:
It's included with Mahdi. I personally don't use it because I don't like the way it looks, but it's save and looks like an app sidebar/switcher kind of thing.
[G2 Original Android Development] dr87:
Thanks :good:

Since a few people requested this, I will make a small flashable zip that disables knock on
[G2 Original Android Development] Matze060906:
Thanks. I've tested it, but I use a bumper for my g2, so it's complicated to use it. It's a nice feature, but I don't need it...

Gesendet von meinem LG-D802 mit Tapatalk
[G2 Original Android Development] montebello13:
It did work after i shut the phone down before going to sleep, but never had a heat issue with my phone. Thanks
[G2 Original Android Development] dr87:
More of an issue with the new 4.4.2 kernel, it can trigger a shutdown during the boot process rather than after it, normal for the phone to get very hot during boot. Something I still need to look into (not aosp issue, happens on stock also)
[G2 Original Android Development] TDSJR:
[MENTION=5232783]dr87[/MENTION] Thanks for including Hover. Really enjoying it.

Sent from my ARTistically Mahdified (0615) LG-D801, courtesy of dr87
[G2 Original Android Development] kewkie:
Having a question about the camera.

When i use it, it doesnt really focus proper, neither the google camera.. i dont think its a ROM issue, i think its more like an "user" issue.. so someone knows how to get the focus working properly when recording a video? Like some special terms, lightning, close to the target, etc.
[G2 Original Android Development] Aljosko:
Do you recommend to wipe dalvik/cache after a dirty flash (rom+patch) ?

Poslano z mojega LG-D802 z uporabo Tapatalk
[G2 Original Android Development] dr87:
Focus is also one of the G2's weak points even in stock, has been complained about a lot that the focus of the G2 camera is really bad

Always
[G2 Original Android Development] darby427:
dr87 - great work as always. One suggestion if its even possible - with custom led colors, I have multiple events that have different colors - gmail is green, sms is blue and corporate email is red. Problem is, when multiple notifications are sitting there whichever one is first gets the color. I would like it to alternate - for example if I have a text and corporate email, I would like the colors to alternate, blue then red. Likewise if all three are there, blue, red, green. Possible?
[G2 Original Android Development] Jimi Mack:
I will have to agree with you. I have checked against several AOSP Roms and each one has had a difference of at least 5 to 10 dBm less compared to any stock rom and this one is no different. There is definitely a difference in the signal strength, at least on my vs980. Again this is the dBm and not the signal shown on any bars on the screen.
[G2 Original Android Development] kewkie:
Thanks, so not really a user-fault. But i thinks its still kind of, because i was too far away so the camera couldnt focus and it was a bit dark, another term where the cam said "NOPE! i wont focus dude!".. but actually, im happy with camera quality, just the focusing is.. well, derp :D
[G2 Original Android Development] Dene_Bluesman:
This camera works great with mahdi

http://xdaforums.com/showthread.php?t=2656472
[G2 Original Android Development] bhaismachine:
Few days back I read that [MENTION=5232783]dr87[/MENTION] was building a custom TWRP recovery for D801 with fixes for overheating and so on. Is it available anywhere ? I am curious to try it out. Even I left my phone on recovery for an entire night and fell asleep. Fortunately nothing was damaged. I think it will be a good idea to use that modified recovery instead.
[G2 Original Android Development] 5nickers:
I use the app "A better camera" and the focus is working great with this on :)
[G2 Original Android Development] gambit07:
Haha, I wish I saw the same! So far, no real difference in dBm for me at work. I am going to try it at my condo and see if people can dial me. On aosp calls typically went right to voicemail for me.
[G2 Original Android Development] phoenix_rizzen:
What are you using to co-ordinate that? I've wanted to configure something like that for awhile now (gmail red, facebook blue, sms green, etc). Tried using Liteflow but couldn't get it to work. Would be awesome if there's something like that already built-in that I haven't discovered yet. ;) Especially if it worked the way you describe (cycle through all the colours of the pending notifications).

At the very least, I'd love to be able to control how the flashing works. I'd prefer it to take 2 seconds to get to full brightness, 2 seconds to get to completely off, and wait 2 seconds between cycles. Irritates me that it just blinks at full brightness once every second for a split second.
[G2 Original Android Development] darby427:
Settings -> Display - Under Light Options, touch Notification light to add apps and colors. You can also control flash duration and speed of the flash.

AOKP started to work on it a year or so ago but it died on the vine..
[G2 Original Android Development] :
The script should simply be something along the lines of

#!/system/bin/sh
echo "0" > /sys/devices/virtual/input/lge_touch/touch_gesture

within an init.d script. I'd make it /system/etc/init.d/disable_knock_on.rc or knock_on_disable.rc just for clarity.

You then need to set that script's permissions to 0755.

dr87 said he was going to be making a flashable zip for this... but it never hurts to help people learn to do it on their own either (easy to apply for other command line things you want to do ;)

Hopefully this helps expain it. I'm unable to test this at the moment, but based on the value he said to change it *should* work.

This could be accomplished in one of two ways pretty easily.

1. Using a root file manager, browse to /system/etc/init.d (symlinked to /etc/init.d so either works) and make it R/W. Then create the file for your script. Copy/Paste those lines into it. You then need to set the permissions for that file as -rwxr-xr-x

2. You could do it with the following 2 commands. However, I am unable to test these commands at the moment... They should work though assuming android's echo is predicatable.

echo -e "#!/system/bin/sh\necho "0" > /sys/devices/virtual/input/lge_touch/touch_gesture" > /system/etc/init.d/knock_on_disable.rc
chmod 0755 /system/etc/init.d/knock_on_disable.rc

the first echo command should create the file (if it doesnt exist), and overwrite anything inside it with the text (as 2 lines). Though, I'm not positive how the command handles the nested quotes. The second just sets the permssions.

Good luck, hopefully that works as advertised.
[G2 Original Android Development] simon_lefisch:
Use Light Flow from the play store. Allows for custom colors and alternates the color of multiple messages (ie; text, email, etc). Its what I use and works perfectly.
[G2 Original Android Development] justin.pavsek:
I noticed the knock on feature works but not the knock off. Is this for everybody or just me?
[G2 Original Android Development] JRJ442:
Do you have it enabled in Customization -> Status Bar -> Double tap to sleep? That's the only way it currently works for AOSP ROMs as far as I know...double tapping the status bar. As another option...if you use Nova, maybe Apex too, you can download Screen off and lock from the market and assign a double tap gesture to use it. Works great.
[G2 Original Android Development] Sacrosaint:
You can find the toggle at Settings >> Customization >> Status bar >> Double tab to sleep.

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

On 1/12 build, speakerphone update:

On this build, it seems like the speakerphone works, just that my volume is VERY quiet (the other person can't hear me very well)

Apparently it sounds like I'm not using speakerphone, and am far away from my device.
[G2 Original Android Development] justin.pavsek:
Thanks guys!
[G2 Original Android Development] socom36252:
I found it works fine. I'm on unofficial cm from greendevil and use stock camera with peak 5.2 and no issues.
[G2 Original Android Development] hyperxguy:
1./ You can configure to double-tab on status bar to turn off.

2./ Add a off button on the navigation bar.

3./ (my choice) configure to long-press the home-key (or other keys) to turn off.
[G2 Original Android Development] dr87:
Updated, new file host pro version so no ads, hopefully won't kill my bandwidth too fast
[G2 Original Android Development] jlee08517:
much faster and thanks for all the work
[G2 Original Android Development] dr87:
I forgot to mention this, but the possible app crash on very first boot at the setup screen (any rom) is caused by the 1970 recovery date, once the app crashes and restarts it updates the date and it doesn't crash again. So please don't report that ;)
[G2 Original Android Development] razrlover:
Knock on and off works. Off is enabled in settings for status bar I think.
[G2 Original Android Development] NomadCF:
Do we know if there is a fix for this. Or just the workaround with the 'date' script call durning boot ?
[G2 Original Android Development] dr87:
ehh it really isn't a big deal, only happens the first time setup screen on a clean install but I've seen people report it
[G2 Original Android Development] _Infamous_:
How's the update working for everyone is the speaker louder
[G2 Original Android Development] cappa662:
Hoping that someone fixed the speaker phone on the 800...
[G2 Original Android Development] hyperxguy:
VS980 ... Just flash 0113 and everything (GPS, BT, speaker ..) is fine ...

1st boot seems normal, wifi was connected but can't get thru --> netflix error.

A reboot fixes the problem.

Tried a few things (which been producing hangs/reboots in other builds) and it's fine.

Thanks !!!
[G2 Original Android Development] techeretic:
Hey...

You all downloaded the 1/13 build from the new mediafire link??? It seems to be down for me. :confused:
[G2 Original Android Development] razrlover:
Hey Dr great job 1/13, best yet smoothness and fixes. Appreciate your hard work!
[G2 Original Android Development] techeretic:
Hey.. from where did you download 1/13? Care to share the link?
[G2 Original Android Development] JRJ442:
The one in the OP works. I just tried it. Try it again
[G2 Original Android Development] _Infamous_:
The link is working for me try again
[G2 Original Android Development] bps119:
Make sure you select "use custom values" and then add whatever apps you want with the "+" button in the top right. You can choose color by touching the Box of color next to the app you've added
[G2 Original Android Development] simon_lefisch:
Light Flow does alternate between colors for different messages (email - red, text - white, etc)
[G2 Original Android Development] sebastianlow:
How do I change back to the old white accent colour instead of this new blue accent colour
[G2 Original Android Development] Gutsyslap1:
So to anybody that is using hover, what would I blacklist to keep google now updates from popping up? For example "Time to Home" keeps coming up for me and I'm not sure what I should block. I use GEL so Google Now Launcher is an option. Think that would cause other issues?
[G2 Original Android Development] Dreadsteel:
Long press on the notification and go to the app setting. Then black list it from the hover
[G2 Original Android Development] Gutsyslap1:
Ah ok perfect. Good call, thanks.
[G2 Original Android Development] crnkoj:
One question, in the latest version the battery icon cannot be circle with percents in it anymore? I could only find the options for only circle, percents or battery icon, but none with both. In the previous versions it was there. Will it be supported again or is it deprecated? Thanks.
[G2 Original Android Development] oriveradel:
Same location, tick on show battery percentage right under Battery Status Style
[G2 Original Android Development] MWilkenson:
Does anyone have an issue where the WiFi seems like it pauses and stops working. It says I'm still connected but its like the connection is no longer existent. Its happened a few times and its not my internet because my computer works fine as well as my other portable devices. Any ideas?
[G2 Original Android Development] charlieg90:
There's a checkbox right under that setting for "show percent"
[G2 Original Android Development] deanob:
Anyone have any idea why my hangouts auto rotates pictures (portrait to landscape) and the end user ends up seeing a sideways photo?

6/15 ROM - stock KK baseband 4.4.2
[G2 Original Android Development] goast:
does it for me too
[G2 Original Android Development] jesssiii:
I've never used hangouts. Why is it better than stock sms, and does it only work for other hangouts users?

---------- Post added at 02:23 PM ---------- Previous post was at 02:22 PM ----------

Never used gtalk either, BTW.
[G2 Original Android Development] :
I'm not sure about that. I have noticed a few times where my wifi will take awhile to actually connect. Watching it, it hangs at "obtaining an IP address" then cycles back to connecting through obtaining a couple times before it connects.

Unfortunately, I didn't bother to get a logcat of it because it connects eventually and I dirty flash making my logcats/issues questionable even if I had. If you did the same thing, you may want to do a backup and try a clean flash to see if you have the same issue still. Could just be a side-effect of dirty flashing.
[G2 Original Android Development] Gutsyslap1:
same problem here. has happened on older builds as well.
[G2 Original Android Development] YoungDaddy:
It's not necessarily better, just different sms app. Works similar to stock, and other user doesn't need hangouts to receive your messages. I use hangouts and love the interface.

Sent from my LG-D800
[G2 Original Android Development] Gutsyslap1:
I'm with you on this. Works great and even better if you're on the computer a lot with the hangouts extension.
[G2 Original Android Development] LOBBS:
I've never seen the this with Hangouts and I use it as my default SMS/MMS app.
[G2 Original Android Development] TDSJR:
I'm getting the same Hangouts horizontal photo issue here.

Sent from my ARTistically Mahdified (0615) LG-D801, courtesy of dr87
[G2 Original Android Development] aleasto:
Yeah, can we get back the nice white color instead of this cyan?
[G2 Original Android Development] mzfckr993:
So, is the init.d folder basically a place, where you can put your code in and it will be run once in a while? How often is it, if it's so?
[G2 Original Android Development] bps119:
I think it happened with the last hangouts update rather than the rom. I first noticed it on cm and it's persisted to Mahdi so I doubt it's a rom issue.
[G2 Original Android Development] Methroix:
Now, I might be mistaken about this but as far as I know init.d scripts are only executed once during boot up.

Placing numbers at the beginning of the script filename ensures they're executed in the right order (i.e 01_yourfilename).
[G2 Original Android Development] TDSJR:
I just sent a pic from an older Hangouts apk, still sideways. ?

Sent from my ARTistically Mahdified (0615) LG-D801, courtesy of dr87
[G2 Original Android Development] Hathoid:
Anyone know why on LS980, the dialer app will not work, It won't make a call, I tried another ROM and it worked :(
[G2 Original Android Development] :
Its a place that you can put scripts to run on boot. On a schedule its called cron jobs.

Unfortunately, the order part isn't necessarily true with the way it's typically implemented in android... Sometimes they'll run in the order you expect, others they won't. There is a file you modify to make it a bit more predictable, but I won't get into that here as idiot want to derail the thread.
[G2 Original Android Development] eddro22:
Dialer works fine here did you clean flash
[G2 Original Android Development] Hathoid:
Yup

Everything in the rom works, I tap the dialer app, and I can dial, select contact, but when It comes to make a call, it just stays on a black screen, then a bit later it drops the call.
[G2 Original Android Development] 3thman:
I have a question after I flash the ROM do I have to wait 5 mins or the ROM to get stable or can I use the phone immediately ?
[G2 Original Android Development] tempest6253:
Just flashed 6/15 build on ls980 sprint everything running great.Deep sleep now works along with everything else so far thank you for all your work getting this rom to work with ls980
[G2 Original Android Development] Lawlrus:
Dont HAVE to, but its always suggested to.