yashsingh1/xdaforums huggingface dataset:
[G2 Original Android Development] simon_lefisch:
If you have nova prime you can setup double tap from home screen. Otherwise you have to use the status bar.

To use status bar go to settings/ui settings/more/double tap to sleep and check status bar. Also make sure double tap to wake is enabled in display settings.
[G2 Original Android Development] mmoogle:
So I'm stumped. Assuming that this (https://github.com/dr87/SimpleKernel/tree/simpleaosp-kitkat) is the right kernel source, I don't see anything that would've effected the step sensor. It all looks like CPU frequency and GPU updates to me. I even tried the 6-25 kernel on the 7-29 build and the sensor still didn't work.

I did notice that the build.prop has the following lines in it that weren't there before:

and tried commenting them out and rebooting. No dice.

Glancing at the Mahdi changelog I don't see any changes that look relevant. Dr87's device tree hasn't changed on Github since 6-25 and assuming that the 6-25 build was made with those changes, they can't be it either.

The libsensor*.so libraries are different between the builds but I don't know enough about them to know if they're different because there is actually a code difference or because they were built on a different day.

I'm out of ideas for the moment. [MENTION=5232783]dr87[/MENTION] help?
[G2 Original Android Development] xXfreshXx:
[MENTION=5232783]dr87[/MENTION]

Very fast update (29/07)

Changelog in 1st post would be nice.
[G2 Original Android Development] HotShotAzn:
GPS has been broken since prior to the 7/18 release for me. This is with clean flash on a VS980. Sigh. It was working great too.

Battery life has been crappy since after the June 25 (I think) release.

Otherwise, I still run this ROM as a daily driver.
[G2 Original Android Development] mjones73:
The flash is needed using AOSP calendar, not needed for the Google calendar, I'm using the AOSP calendar...

http://xdaforums.com/showpost.php?p=54479713&postcount=5394

---------- Post added at 04:03 PM ---------- Previous post was at 04:02 PM ----------

Try installing a stock rom, make sure you can get a lock then come back to Mahdi... I installed 7/18 clean and dirty flashed 7/29 on my VS980 and it's been working fine.
[G2 Original Android Development] berz:
I have no launcher prime but i cant seem to find the settings for double tap to sleep.
[G2 Original Android Development] HotShotAzn:
I've had GPS with a Mahdi ROM on a clean flash so this shouldn't be a problem.

Wouldn't a clean flash delete the GPS config file anyways?
[G2 Original Android Development] bps119:
Nova settings, gestures, double tap, mahdi actions, screen off... You now have double tap to sleep on any open space of the home screen

---------- Post added at 04:38 PM ---------- Previous post was at 04:37 PM ----------

Thanks, I forgot about that workaround
[G2 Original Android Development] Lesser Version:
I have been using screen off and lock by katecca in the GP Storefor every rom I have ever used with my G2. It works great. After you set the phone up from flashing a rom, install this app, go to empty spot on the home screen or where ever, double tap, and it will prompt you too activate. I also use Nova Launcher Prime, but not for that service. Hope this helps.
[G2 Original Android Development] mjones73:
I just know people were having issues starting clean and going right to AOSP, the fix was to flash a stock rom first and get a lock. Same with screen rotation, don't know why.
[G2 Original Android Development] Saythis:
Yes I'm well aware of what it requires. I decompile and recompile UI mods and such into almost every build of a rom I run. All this requires is decompiling the framework.jar, modifying a line of hex-code and recompiling which is hardly that difficult. It's also typically not a noticeable change which is why I shrugged it off.
[G2 Original Android Development] emoibm:
[MENTION=5232783]dr87[/MENTION] it seems to me we have some audio issues ( mute hangouts, cracking sound ) maybe its time to rollback some commits or maybe give LG blobs some try and see if it stills echo?? What do you think ?
[G2 Original Android Development] SaintZ93:
The only issues i see with this rom on the LS980 is snapchat camera issues saying theres a problem with my camera please reboot and when i receive a phone call screen wont turn on i have to turn it on myself. Other than that its a fantastic rom, thank you for your work!
[G2 Original Android Development] kwdan:
I am on the Ls980 also, I dirty flashed over 7/18 and my screen turns on when I receive a call. I am using stock kernel with Android L theme.
[G2 Original Android Development] Zor Omega:
Dido. Dirty flashed over 7-18 stock kernel and Android L theme. Working like a champ! Thanks for the hard work Dr.!
[G2 Original Android Development] hovanhuang:
notification light priority

Just found out a different notification light priorities between the latest built 07/29 and CM rom.

In CM, the notification light blinks for the latest message type.

In 07/29, the light blinks for the earliest message type.

e.g. what's app for green and hang out blue.

received a what's app message first then hangout message.

In CM, blinks green first, then change to blue.

in 07/29, blinks green only.......

is that able to be fixed? I think the In CM logical makes more sense (to me. don't want to use light flow....)

thanks,
[G2 Original Android Development] bleached45:
I also noticed this. Thought I had missed it on the 7/18 build because I was only on it a few days since coming from Carbon.
[G2 Original Android Development] Arctic Prodigy:
Most frequently that needs to be fixed or addressed is double tap to wake, sound issues, the GPS because I am not about to go through the trouble of flashing a stock ROM and reflash Mahdi and set it up again.

Is there a proven stable build of Mahdi from the 4.4.4? I will even go down to 4.4.2 for a good stable build.
[G2 Original Android Development] mistah_mumford:
I've not had any issues on 6/28, 7/9 or 7/18. Only issue I have on 7/29 is knock on while the screen is off so I went back to 7/18. Excellent ROM that had pulled me away from the G3 port! I'm on VS980
[G2 Original Android Development] kwdan:
My knock on hasn't worked correctly since coming to zvc(Ls980 kitkat). I've tried hidden menu, zva, stock kitkat. Faster gps from the Playstore did help my GPS issues though. Im hoping zvd(LS980) fixes my knock on problem. I think its because of my panel type(jdi).
[G2 Original Android Development] MeestaAytch:
I'm on the same variant and also jdi panel. I don't have this knock on issue. I did once on stock ROM for a half hour where I just left the phone alone that whole time and it started working again. That was about a month ago and it's been fine since.
[G2 Original Android Development] bhaismachine:
incall blacklist button doesn't work

SInce past few builds of Mahdi the incall blacklist button does not work and it gives an error that com.android.incallui has stopped. Is this already reported ? Current workaround is to manually add those numbers to blacklist but the option to block when you get a spam call was very handy. Thanks.
[G2 Original Android Development] Giocarro:
Hi folks, I'm trying to get the best smoothness out of stock dr87 kernel for Mahdi.

I set CPU governor to "performance" and max frequency to 1728MHz (I don't play games so I guess 2265MHz is not needed for normal use).

Do you think I should also change I/O scheduler from "deadline" to something else, always focusing on smoothness?

I'm not an expert of kernel tweaking but performance governor with that little touch to top frequency is giving me good feelings so far.

Can't comment on battery life yet.

Thanks for any insightful answer from you kernel guys.
[G2 Original Android Development] DominikHolecek:
Um, why to set governor to performance if you don't play games? It will drain your battery much faster and you will have problem with overheating and then throttling -> lags, so don't do that, let it on stock settings and enjoy your ROM...

I don't know how it is on mahdi ROM but on PA ROM is everything super smooth and fast and if I didn't play games I wouldn't take care about this...
[G2 Original Android Development] dannejanne:
Battery life won't be good with the performance governor because your phone will stay at max frequency at all times when the screen is on. That governor should not be used constantly.

Sent from my One M8
[G2 Original Android Development] Giocarro:
As I stated the target is get the best possible smoothness, hence the choice of a governor that keeps always a fixed frequency without going up and down losing responsiveness on the ramp process.

ParanoidAndroid at its present state doesn't have half the customization features Mahdi gives, the one it has don't work reliably (pie) not to talk about the G2 maintain activity stopped one month ago and perhaps resumed in a largely unofficial way only yesterday.

By the way, back on topic.
[G2 Original Android Development] TDSJR:
I use Interactive, with dr87 modified Deadline scheduler @ max. freq. of 19526 with RAC set @ 1024. GPU is set to simple_ondemand with a max freq. of 320. I have buttery smooth performance with no lag, smooth video and excellent battery life.
[G2 Original Android Development] TheUnladenSwallow:
Keeping it on performance governer for smoothness won't work when it throttles due to heat, also if you turn up to 1920 mhz and then interactive it should be smoother and your battery life will be MUCH better. Just give it a try. As for the deadline thing switch it to ROW for best performance. Also the PA guy's computer broke and he's still waiting on parts and his g2 broke as well though he just got a replacement. As for pie it works completely reliably.
[G2 Original Android Development] thackoon:
Here is a good thread to see for help: http://xdaforums.com/showthread.php?p=50357142
[G2 Original Android Development] itworks78:
Can't enable tethering on new build. Running new dorminax v6. On d803. Enable tethering it just shows turning on. Anyone else have this issue
[G2 Original Android Development] pqee:
I can enable it and clients connect but can't get internet access. Tried with LTE and H+. Can't even ping. It resolved domain to IP then all pings fail. Same pings on my phone go through fine.

Clean flash of the 7/29 build with built in kernel.
[G2 Original Android Development] bps119:
Quit spamming threads with this.
[G2 Original Android Development] sacredsoul:
Is there any definitive fix for the the audio skipping? I left Mahdi a couple of months ago due to the issue. Just came back to it yesterday but found out the audio skipping is still present... My phone is my primary music player so it gets annoying. Any help would be appreciated! Thanks!
[G2 Original Android Development] fLipz:
mahdiROM Smooth Scroll Mod

Flash via Recovery:

mahdiROM-1027

SMOOTH-SCROLL.MOD-mahdiROM[1027]

MD5: 0B48CA1F36F8CABCEB72F080DD0D7196

RESTORE-mahdiROM[1027]

MD5: 1D9E44209CA5393AC04664C659967F7C

Previous Build

mahdi0920

SMOOTH-SCROLL.MOD-mahdiROM[092014]

MD5: FE04DADCD734D69803542EE813A9979F

RESTORE-mahdiROM[092014]

MD5: 1B539FB3B54EBBEFCEEB7032B5D0A059

mahdi0908

SMOOTH-SCROLL.MOD-mahdiROM[090814]

RESTORE-mahdiROM[090814]

mahdi0817

SMOOTH-SCROLL.MOD-mahdi[0817]

RESTORE-mahdi[0817]-framework.jar

mahdi0809

SMOOTH-SCROLL.MOD-mahdi[0809]

RESTORE-mahdi[0809]-framework.jar

mahdi0729

Smooth.Scroll.Mod-mahdi729

RESTORE-mahdi729-FRAMEWORK.JAR

Explanation of Smooth Scroll Mod and What This MOD Does

Credits To:

Hammer_Of_The_Gods

[MENTION=5293805]GtrCraft[/MENTION]

[MENTION=4078831]AndroidON[/MENTION]

[MENTION=5266287]EnricoD[/MENTION]

Big THANKS to our Doctor in the house for Mahdi-ROM

[MENTION=5232783]dr87[/MENTION]

[MENTION=4593553]Mahdi786[/MENTION]

P.S. PLEASE!!! make a Full Backup first.​
[G2 Original Android Development] ckyy:
Can someone explain why scrolling would get better when you disable caching?
[G2 Original Android Development] Matze060906:
Does this mod work with renders kernel too?
[G2 Original Android Development] bgx:
It has nothing to do with the kernel. Framework is from ROM! ;)
[G2 Original Android Development] jesssiii:
What version of the device/kernel zip goes with the 6/28 build? Is it V6?

Sent from my VS980 4G
[G2 Original Android Development] UrbanBounca:
S1
[G2 Original Android Development] jesssiii:
Got a link? Can't find it.

Sent from my LG-VS980

---------- Post added at 07:38 AM ---------- Previous post was at 07:35 AM ----------

Wait, S1 is the newest. I'm wanting to go back to 6/28...

Sent from my LG-VS980
[G2 Original Android Development] Matze060906:
Downloaded the files and tried to install: unable to open zip file. What's wrong? Using TWRP 2.7.1.0 from dr87.

Edit: Now it works. It was a broken download (95kb).

Very smooth scrolling in tapatalk, whatsapp, etc...
[G2 Original Android Development] Dri94:
is this just me or everyone else to? this started for the past couple days. only 18min of screen on.
[G2 Original Android Development] Matze060906:
Install wakelock detector and look which app drains the battery...
[G2 Original Android Development] cheami:
From first boot...seems much smoother. Tested Hangouts with a huge thread and I notice a lot less lag/sluggishness/stutters.

Edit: Oh yes this is nice! I can scroll through Google+, Play Music, Play Store, Photos, etc... the instant the app is active and it will scroll perfectly fine with no stutters at all.

Thanks.
[G2 Original Android Development] simon_lefisch:
6/28 build requites V6 patch. I have a copy if you need it.
[G2 Original Android Development] jesssiii:
Thanks, but I got it off my computer. I'm not happy with the newer versions, the theme bug with the back button is just driving me crazy.

Sent from my LG-VS980
[G2 Original Android Development] randy6644:
have to report that! i am or art running the latest build. after flashing the n mod my phone gets even smoother when scrolling! no lag at all! art stays and doesnt get back to dalvik .but it takes some time before you can see the upgrading apps information show up. during that time screen goes black, dont need to worry. question,how does it work? can you teach us how to do this so that we can apply this to every rom and android device? are you goingto continue to do this for the future builds? a
[G2 Original Android Development] cheami:
He literally just taught us by showing us what to change...
[G2 Original Android Development] phaze one:
Clear all recents in multitasking settings should be renamed to Clear mostly all recents. Or Clear all but one recent.
[G2 Original Android Development] murdoch1:
And you should change your username to mrpedantic.:D
[G2 Original Android Development] jesssiii:
If you tap the clear toggle a second time, it will clear the open app (last one). This is by design.

Sent from my LG-VS980
[G2 Original Android Development] phaze one:
Cool, thanks man.
[G2 Original Android Development] dafank:
Only a few days on this rom in my back... After my first upgrade I wonder how to know whether I have to download the patch (S1) again or not, I mean, if there's a newer version it will be called S2? or is it always going to be called S1?
[G2 Original Android Development] UrbanBounca:
[MENTION=5232783]dr87[/MENTION] mentioned earlier in the thread that S1 will most likely be the last update, unless there is a big issue. Thus far, there hasn't been an issue with the VS980.

---------- Post added at 05:12 PM ---------- Previous post was at 05:10 PM ----------

http://savoca.co/dr87/Patches/

I believe 6/28 is V6.
[G2 Original Android Development] pcoruganti:
Only one question.. Can this be dirty flashed I'm on ART and using the 0718 version??

Thank you all!
[G2 Original Android Development] jamesd1085:
You can always try dirty flash at your own risk...but a clean flash is always recommended... If you have issues after a dirty try clean...I have never updated without a clean flash and have seen none of the reported issues on here...on another note since last update my screen doesn't wake on incoming call if proximity sensor is covered...but if its out of my pocket on incoming call it wakes instantly even before ringtone begins...I can replicate by covering sensor with my thumb while calling...can anyone confirm this issue?...sorry for the long reply but figured I'd kill 2 birds with one stone
[G2 Original Android Development] jl10101:
Can confirm the proximity sensor issue. It's been a problem since the latest proximity sensor changes introduced by cyanogenmod to prevent a sensor wakelock as well as trying to mimic the behaviour of stock ie. If the sensor is covered don't enable double tap to wake. Only problem is it isn't allowing anything else to wake the display at all now...
[G2 Original Android Development] jamesd1085:
Any known workarounds?... Or am I better off to go back to my 7-18 backup
[G2 Original Android Development] jl10101:
No, it's also sad that the threads aren't very active for the g2 regarding cyanogen and aosp... This is probably due to very little device specific development happening... That's my two cents

, long answer version.

Short is that there is no known work around yet... I think we need to sit tight on this one...
[G2 Original Android Development] dafank:
I've just upgraded to 729 build, first thing I noticed is that cLock widget disappeared, I've looked through the thread and I only see one else complaining about it, with no answers. Does anyone know why it has been dropped from the rom? Is it available in google play? I've looked for "DeskClock" (I think that was the name of the apk) with no luck.
[G2 Original Android Development] jamesd1085:
Mahdi and dr87 have kept things pretty up to par with this ROM but it all comes down to waiting for a working fix from cm/aosp source...as soon as a fix is available we will have it...dr87 has held to his word to keep us up to date
[G2 Original Android Development] jl10101:
Sorry for the misunderstanding but that's what I mean, development for which almost everything is based isn't as active as, say, the N5 or something, our devs are doing a great job and fix anything they can and keep us up to date though...
[G2 Original Android Development] thackoon:
Search the play store for "chronus"
[G2 Original Android Development] randy6644:
I mean, what pros and cons does this mod make? I'm not a pro but by reading that i think all it does is disable the scrolling cache. why would that make it smoother(it really does)? why other oems don't do it on their devices?

Anyway, I'll try to do it to my Gnex and see if it works. THANK YOU GUYS!!!!!!!!!
[G2 Original Android Development] 1ceb0x:
it makes differences on low end devices.

on a powerhorse like G2, there is no need to disable it.
[G2 Original Android Development] randy6644:
it really makes a difference . I flashed the zip and it did its magic. i used to have some minor lags on few apps. After flashing, those lags are gone. Do you know what tool should i use to edit the jar. I tried to use jd gui. after opening framework.jar there are just three options and i wasnt able to find the AbsListView.smali.
[G2 Original Android Development] greatgrandking:
can i have a link to changelog???
[G2 Original Android Development] Gutsyslap1:
http://bit.ly/ULy8Rx
[G2 Original Android Development] 1ceb0x:
it makes a difference in apps - well, it might be. in apps like facebook or facebook messenger (poorly written apps) but in clean coded apps, this does nothing. i know because i tested it. it worths the hassle on old devices, but not on something that has more cpu power than a desktop PC (even though the power is not comparable).

there are many tools to edit the jar framework (a simple search will return you a few results). you need to decompile it first in order to see everything. then use notepad++ to edit the values of the .smali.
[G2 Original Android Development] randy6644:
thanks ! it seems like i need to set up the java environment first! i'll try . Thanks a lot !!
[G2 Original Android Development] ckyy:
The G2 part is false. Tapatalk, Facebook and a buttload of other app lag when scrolling. After flashing the mod it'll reduce by a lot. But not completely.
[G2 Original Android Development] randy6644:
yes,agree! it works better for scrolling after flashing the mod. the difference is obvious. I checked the abslistview and found out there're lots of scrolling cache stuff. Don't know what to choose to edit. why would [MENTION=1306381]fLipz[/MENTION] only chose those two lines to modify? can you give me a little bit instruction so that i can do it to a different rom and see if it works?
[G2 Original Android Development] fLipz:
Explanation

Explanation of Smooth Scroll Mod and What This MOD Does

i only edited 2 line 'coz the other code is different from what [MENTION=4078831]AndroidON[/MENTION] discover way back 2011 (CM7)

CM7

invoke-virtual {p0, v1}, Landroid/widget/AbsListView;->setScrollingCacheEnabled(Z)V

Mahdi ROM

invoke-virtual {p0, v4}, Landroid/widget/AbsListView;->setScrollingCacheEnabled(Z)V

i tried to change on my 1st attempt v4 to v2 and the result is you'll get Force Close on your Launcher upon Booting is complete. So i leave it as it is (untouched)

and Yes the Magic is there and it's been working great on G+, FB etc.

Absolutely Yes!​

Credits To:

Hammer_Of_The_Gods

[MENTION=5293805]GtrCraft[/MENTION]

[MENTION=4078831]AndroidON[/MENTION]

[MENTION=5266287]EnricoD[/MENTION]

Big Thanks to our Doctor in the house for mahdi ROM

[MENTION=5232783]dr87[/MENTION]
[G2 Original Android Development] cuyperstom:
I recently installed Mahdi ROM and I really love it. Everything works just fine except for my blueooth. When I connect the phone to my car, the BT crashes. The weird part is that connecting to my BT speaker works just fine.

Any ideas?
[G2 Original Android Development] daut:
old question

how to enable knock on in this ROM?

I really need it, thanks

still downloading now..
[G2 Original Android Development] Matze060906:
Settings - display - double tap to wake...
[G2 Original Android Development] daut:
very nice for the quick reply.. thank you so much mate..

:)
[G2 Original Android Development] RoboJoe:
I think someone earlier had that issue and "resolved" it by not syncing messages with his car via bluetooth.
[G2 Original Android Development] cuyperstom:
Thank you for this input, I will give it a try after work!
[G2 Original Android Development] Zor Omega:
I'm on the sprint version and couldn't get GPS to work for anything. What I did was :

1. backup

2.flash stock rooted rom

3. Acquired a GPS signal

4. Copied the GPS.conf file from stock

5. Flashed back to Mahdi

6. Replaced the GPS.conf file with the stock rooted one

After that I was golden. I did try to acquire a signal right after going back to Mahdi but it still wouldn't find it. So I think the GPS.conf file did the trick

Hope that helps

Here's the link to the file of anyone wants it.

https://www.dropbox.com/s/f14xujxww81wiah/gps.conf
[G2 Original Android Development] ddurandSGS3:
Anybody have issues with the phone going to emergency dial and dialing number while in pocket?

I don't have any pocket modes on that would be causing this. It's extremely annoying
[G2 Original Android Development] Giocarro:
[MENTION=4686150]ddurandSGS3[/MENTION], are you on the latest build? That issue should be solved with that one.
[G2 Original Android Development] HotShotAzn:
How long did you wait to find a satelite after replacing the GPS.conf file? What app did you use?
[G2 Original Android Development] mathsz:
Smart case

Hello

two things I've noticed up to here.

1 - smart cover case will light up, close the display. But sometimes won't

2- receiving a call will not light up screen

I'm on d803, running 07-29

What logs do you need?

Thank you.
[G2 Original Android Development] ddurandSGS3:
No, I'm on the 7/19ish build. Whatever the last one was. Didn't know this was a known issue.

I'll check out the newest build tonight. Thanks for the reply
[G2 Original Android Development] tatootie67:
I have the phone issue too. Have to push the power button to see who's calling. No biggie but just good to know I wasn't the only one
[G2 Original Android Development] Gutsyslap1:
I dont use a smart cover but the display lights up fine for me with phone calls. 7/29 build clean flashed on vs980.