yashsingh1/xdaforums huggingface dataset:
[Nexus 4 Original Android Development] The Remedy:
Ohhhhh Yeahhhhh!!!

just flash this Rom coming over from Android L Preview and

I am highly pleased. Has all the goodies I need for daily use

on top of great performance & smoothness. I'll see how the

battery life holds up after at least 2 days under my belt....
[Nexus 4 Original Android Development] The Tox:
Yes , something is messed since 3 last builds , and it's very annoying losing signal for 1-2 minuts

10% [emoji33]

sent from my Nexus 4
[Nexus 4 Original Android Development] niraj30518:
Sorry for offtopic, want to share this awesome theme that works perfect with Mahdi rom. Its like neon with android L holo matte type design. http://xdaforums.com/showthread.php?t=2850369
[Nexus 4 Original Android Development] varunbala:
Otg seems to be working fine with pendrives on stock kernel but external hard disk are not getting detected ... Anybody managed to make it work?
[Nexus 4 Original Android Development] The Tox:
[MENTION=4593553]Mahdi786[/MENTION] updated his source , he reverted some ril and telephony commits , i''m building now , i'll let you know if that signal drop bug is fixed
[Nexus 4 Original Android Development] serginio358:
Ola everybody.

Just a sharing of experience.

The only things which stop me to use this Rom is that itnot including omniswitch app. Even with flashable ominswitch app, impossible to keep activate omniswitch app.The rights of omniswitch apk file was good (see xda omniswitch thread). Finnaly i succeed in following this opération:

-download flash omniswith zip (v1.1)

-flash it in recovery

-reboot system

-open omniswith settings

- set on for activate

-crossed activated on starting up

- without close the omniswitch setting screen, reboot the smartphone.

If this explanation can help someone...

This Rom is fluid and enduring with many settings. It miss only:

- a shortcut in pie to unfold omniswitch

- and the possibility to change the screen lightning in sliding the notification bar.

- choice of time and date color which are in notification bar

Bye and sorry for my poor english.
[Nexus 4 Original Android Development] The Tox:
I'm sur that mahdi removed omniswitch for some reasons ! Anyway

Brghitness slider is under / settings - UI Settings - statut bar - more - brightness control

Good luck.

sent from my Nexus 4
[Nexus 4 Original Android Development] serginio358:
Thanks for your fast answer. i managed to setting the screen brightness control on status bar. I noticed that It automaticaly put a manual slide control in notification panel. An solution to remove it?

For replace recent app button on pie by omniswitch, i find a apk which can allow me to execute omniswith directly with a button on pie: http://xdaforums.com/showpost.php?p=54078587&postcount=19. It' s working great.
[Nexus 4 Original Android Development] The Tox:
there are 3 options to change brightness quickly :

1 ; via quick settings tile

2 : via britghness slider on notification drawer ( settings - ui settings - notification drawer - enable/disable britghness slider )

3 : via sliding on status bar ( settings - ui settings - status bar - more - britghness control )

disable the 2 and enable the 3 ;)

---------- Post added at 07:17 PM ---------- Previous post was at 07:17 PM ----------

[MENTION=4593553]Mahdi786[/MENTION] i can't build from source ! i ge this error code

frameworks/opt/telephony/src/java/com/android/internal/telephony/CallManager.java:1857: error: cannot find symbol

if (VDBG) Log.d(LOG_TAG, " handleMessage (EVENT_SUPP_SERVICE_NOTIFICATION)");

^

symbol: variable Log

Note: Some input files use or override a deprecated API.

Note: Recompile with -Xlint:deprecation for details.

Note: Some input files use unchecked or unsafe operations.

Note: Recompile with -Xlint:unchecked for details.

1 error

:rolleyes:
[Nexus 4 Original Android Development] Mahdi786:
[MENTION=4584270]The Tox[/MENTION] its fixed now, thanks.
[Nexus 4 Original Android Development] serginio358:
Thanks for your precise answer…, The Tox. I am fast understanding person but you must explain to me during long time. ;)
[Nexus 4 Original Android Development] Almayce:
I miss omniswitch as well, but I've kinda gotten used to slim recents. Since I got new bumper from ballistic I can't quite comfortably launch it from the side anyway. But let's hope, maybe in some future builds!
[Nexus 4 Original Android Development] The Tox:
[MENTION=4593553]Mahdi786[/MENTION] , everything is good now , didn't notice any signal drops

Nice work on touchcontrol (Y)

Edit : i've lost signal again for 1-2 minuts ! Maybe a clean flash is needed !

I can post a unnoficial build if someone want to check ! If [MENTION=1245072]mahdi78[/MENTION]7 doesn't mind :)

sent from my Nexus 4
[Nexus 4 Original Android Development] chinabear13:
Would be happy to give it a run :)
[Nexus 4 Original Android Development] Pteer Griffin:
No issues for me. This was with a clean flash.
[Nexus 4 Original Android Development] capoooro:
Please I need it! Cure a flashaholic [emoji2]
[Nexus 4 Original Android Development] abbykhan:
Guys I am facing a weird problem... Whenever someone calls me ( while screen is unlocked) I never get a normal Call popup at the bottom, like in normal KitKat versions instead I get the caller in my notification bar and if I've to reject/receive the call I need to pull down the notification bar. I've attached a screenshot..
[Nexus 4 Original Android Development] thlinh130295:
Hi [MENTION=4593553]Mahdi786[/MENTION],

Can I have the xml file for update tranlate in Vietnamese (Tiếng Việt)

Your rom now have more and new features, and it seem my tranlation for my language is out of date, also there is many mistake in translation i need to fix, can i?
[Nexus 4 Original Android Development] bombadier:
Look in the dialer settings "incoming call in background"

To all with data drops,standard kit kat behaviour imo,not seeing anything worse in the latest version which I clean flashed.

Tapatyping from my Nexus 4
[Nexus 4 Original Android Development] Mahdi786:
Strange your still getting drops because ril and telephony are basically aosp, its cool you can post your build for whoever wants to test. I still have some bugs to fix so I'm going to be releasing in a couple of days.
[Nexus 4 Original Android Development] The Tox:
Thanks

Do you need log while the signal is droped !

sent from my Nexus 4

---------- Post added at 01:44 PM ---------- Previous post was at 01:42 PM ----------

The best way is to push pull requests via github :)

sent from my Nexus 4

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

Add Dialer to heads-up blacklist and disable call on background under ( dialer - settings - disable it )

sent from my Nexus 4
[Nexus 4 Original Android Development] abbykhan:
Thanks...I did'nt look for any options in settings :p
[Nexus 4 Original Android Development] The Tox:
OK guys , here is a build compiled from source with Sabermod toolchain 4.9

Download

Test and see if that signal drop bug is fixed !

Check mahdi source for changelog
[Nexus 4 Original Android Development] Ciao600:
Me too.

When I receive a call and the screen is off I have to turn it on to answer and I sometimes see the normal call phone answer interface and sometimes the notification like in the screenshot I quoted.

Can I decide what interface to use to answer the call?

Is it normal that when the screen is off I have to turn it on to answer?

Inviato dal mio Nexus 4 utilizzando Tapatalk
[Nexus 4 Original Android Development] The Tox:
No it's not normal ! Anyway

Add dialer to heads-up blacklist then go to dialer settings and disable call on background and i would suggest to rise your min cpu frequ and test.

sent from my Nexus 4
[Nexus 4 Original Android Development] Ciao600:
Now I solved and I see the normal call phone answer interface but when the screen is off there is a lag (about 3 or 4 seconds) between the phone receive the call and the screen turn on. I also rise min cpu frequency. How can I solve this lag?

EDIT: I have another problem: when the keyboard cursor are enabled, back, home and recent button are moved left. It doesn't happen when cursor are disabled.

Can anyone help me?

Inviato dal mio Nexus 4 utilizzando Tapatalk
[Nexus 4 Original Android Development] Mahdi786:
Have you tried without the theme because I don't have this issue.
[Nexus 4 Original Android Development] Ciao600:
Yes. I have also disable tinted status bar but no changes.

Inviato dal mio Nexus 4 utilizzando Tapatalk
[Nexus 4 Original Android Development] capoooro:
Tnx it works perfectly. No drops at all
[Nexus 4 Original Android Development] The Tox:
I still have that issue [emoji26] did you make a clean install ? What radio do u have ?

sent from my Nexus 4

---------- Post added at 08:14 PM ---------- Previous post was at 08:02 PM ----------

I don't have that issue , it's a theme related , did you reboot after applying default theme ?

sent from my Nexus 4
[Nexus 4 Original Android Development] capoooro:
No, I've only formatted dalvik, cache and system before installing your build. I use 2.0.1701.03 radio and semaphore kernel.
[Nexus 4 Original Android Development] TheQuarterMile:
Anyone is facing poor GPS performance on Mahdi ROM?
[Nexus 4 Original Android Development] jolas:
[MENTION=4593553]Mahdi786[/MENTION],

Could you check this bug, please?

The three tiles in the bottom, are custom tiles and since last one or two builds their name are not displaying.
[Nexus 4 Original Android Development] The Remedy:
I've encountered my 1st issue with this rom

when i try to take a screenshot, it tells me "Couldn't save screenshot. Storage may be in use."

it will take a screenshot if im on my home screen but not while im in a App. any1 else having this issue??
[Nexus 4 Original Android Development] The Tox:
No issues here , did you reboot ur phone ?

sent from my Nexus 4
[Nexus 4 Original Android Development] The Remedy:
yup i did that and tried it again and i still get the same notification.

you would think i had my phone pulled into my pc but I don't
[Nexus 4 Original Android Development] johnb380:
Idk if it'll make a difference but try to turn off USB fast charge in kernel settings app.

If that isn't set then see if ur close to being out of memory.

You could also try to clear cache of camera and camera settings and then reboot.
[Nexus 4 Original Android Development] oxxshadow:
Does Mahdi have the option to skip music tracks via volume rocker when screen is off, I cannot seem to find it. Thank you in advance!
[Nexus 4 Original Android Development] The Remedy:
thanks i'll try that and see what happens
[Nexus 4 Original Android Development] johnb380:
Yes it does I'm not on my n4 right now but I believe its in sound or buttons...?
[Nexus 4 Original Android Development] The Tox:
Buttons options

sent from my Nexus 4
[Nexus 4 Original Android Development] syedtahir16:
I'm really not sure as to what might be wrong. But here is a little background. I was on PA 4.4: thats when I encrypted my phone. After which I did a clean install when I moved to Mahdi. But the encryption remained.

However the more important thing to note is that my recovery prompts for the password to decrypt on PA and Mahdi. So I assume it has nothing to do with the ROM used. I'm not using MultiROM / MultiROM TWRP.

TWRP version 2.7.1.0
[Nexus 4 Original Android Development] The Tox:
it's So quiet here ( unusual ) maybe you need an update :D
[Nexus 4 Original Android Development] txuki2005:
:fingers-crossed:
[Nexus 4 Original Android Development] The Tox:
Well , in case you missed it

this is latest build (19/08) compiled by me , with sabermod tolchain 4.9 for more speed

https://mega.co.nz/#!1JxCwBAD!HEGtWgDTuEZRjbAfSbb_SqZjdsPGvy_2Cl95KTomK0A
[Nexus 4 Original Android Development] oxxshadow:
Hey Mahdi users, I am not sure if this is a aosp problem or not, but with Mahdi or any other ROM I try I cannot get instagram notifications. They show up on my Nexus 7, but not my phone. I even tested this when my tablet was off, but still, notifications do not appear? Any possible thoughts? thanks in advance.
[Nexus 4 Original Android Development] desiromeo719:
OK so I flashed from multirom twrp recovery to standard twrp recovery and now I too get the option to decrypt the phone before entering recovery! This is great! So now does this mean I will be able to update the rom on an encrypted phone? Are there any issues with this? Anyone try it before?
[Nexus 4 Original Android Development] cybervibin:
I can't seem to install any apps, like I can't click on install button, is it cause of xposed?
[Nexus 4 Original Android Development] jolas:
It reminds me the problem caused by some screen filter (dim) applications... ;)
[Nexus 4 Original Android Development] cybervibin:
No no I disabled xposed, it worked
[Nexus 4 Original Android Development] Neet:
No problems updating Rom while using encryption..
[Nexus 4 Original Android Development] Benjamin_L:
Also using encryption since I got my n4, no problems so far
[Nexus 4 Original Android Development] Ciao600:
Can anyone explain me why "proximitySensor" service have so many wakelocks?

Am I the only one?

Inviato dal mio Nexus 4 utilizzando Tapatalk
[Nexus 4 Original Android Development] cybervibin:
you see to understand the problem you need to know what a proximity sensor is-

>A proximity sensor is a sensor able to detect the presence of nearby objects without any physical contact.

>so numerous apps use proximity sensors.

>have you switched on pocket mode /active mode .cause each time you remove it out of your phone it wakes the device

>Your dialer use proximity sensor as well so each time your head moves away it wakes the device

i hope you understand
[Nexus 4 Original Android Development] DracoPiece:
does OTG work on this rom? newbie on n4 thanks
[Nexus 4 Original Android Development] Rohit02:
OTG is related to kernel.. ROM has nothing to do with it,

Please flash a OTG enabled kernel. hellscore the best with OTG support by [MENTION=1175139]justvarshney[/MENTION]. his thread is in Android section.
[Nexus 4 Original Android Development] Ciao600:
I know what is a proximity sensor and what is its aim, but I don't understand why it have so many wakelocks. Pocket mode is disabled.

I would know if anyone else have the same problem to understand if the problem is made by an app or not.

Inviato dal mio Nexus 4 utilizzando Tapatalk
[Nexus 4 Original Android Development] The Tox:
Did you enabled S2W or D2TW ?

Lockscreen notifications also drains battery

sent from my Nexus 4
[Nexus 4 Original Android Development] Mahdi786:
This could be the proximity wake feature causing issues, even though it doesn't work on mako it could still be causing issues. New build will be out later today which totally disables this feature for devices which don't support it.
[Nexus 4 Original Android Development] syedtahir16:
That is great. I'm glad that worked! Well I've been using the encryption for quite some time and no issues with installing updates to ROM or flashing a new ROM / kernels or any mods at all.
[Nexus 4 Original Android Development] desiromeo719:
Thanks guys just updated and everything fine.
[Nexus 4 Original Android Development] arunkr:
Please help me with the screen on lag issue... Using the latest hellsdoctor and Mahdi combination.never had this problem before. Any pointers??
[Nexus 4 Original Android Development] The Tox:
Check your kernel setup/config ! Min Cpu freq and max and governors

sent from my Nexus 4
[Nexus 4 Original Android Development] Mahdi786:
New build is up.

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

-Theme chooser: upstream fixes from cm

-Fixed booting into safe mode

-Add ability to apply icon color filters

-Fixed navbar color and custom icons being reset to default

-Fixed custom tiles not showing the text

-Proximity wake fixes

-Added back OmniSwitch and merged latest changes

-Added soft reboot option

-Slim recents background color && transparency

-Reverted Ril and Telephony projects back to aosp

-Tanslation updates thanks to [MENTION=4554645]seilogeo[/MENTION], [MENTION=4584270]The Tox[/MENTION] and CM

-Lots more fixes which will not be mentioned here so read the detailed changelog

Hammerhead & Mako

-Added options to control dt2w and s2w in Display settings > Advanced

-Hammerhead: torch is now instant

-All Nexus kernels updated to Linux 3.4.103 (except Grouper)
[Nexus 4 Original Android Development] xflori:
Awesome thanks!!
[Nexus 4 Original Android Development] GaspRulez:
Another amazing update, thanks for the dt2w option, "unfortunately" i'm changing my Nexus for the LG G2, please make a rom like the mahdi when L will be released
[Nexus 4 Original Android Development] The Tox:
MAHDI-ROM IS EVERYWHERE :laugh:

[ROM] [4.4.4] [D800/801/802/803/LSVS980/F320] Mahdi-Rom [08/17]
[Nexus 4 Original Android Development] GaspRulez:
Yeah, I know, but i'll use the stock rom of the G2 for some months, I wanna try something new :)
[Nexus 4 Original Android Development] Mahdi786:
Why not just get a nexus 5 or 6, android l is around the corner and it will take some time for non nexus devices to get it.
[Nexus 4 Original Android Development] GaspRulez:
Android L is not a priority for me now (I don't really like it) and the G2 seems a perfect device, a good battery, a good camera, a good speakers and a good design with small corners, things that the Nexus devices will not ever have...

Don't rape me but I prefer the G2 ^^
[Nexus 4 Original Android Development] The Tox:
We can't judg Android L since it's not complet ! we'll see

Anyway i think you made a good choice , Good luck with your new phone :good:
[Nexus 4 Original Android Development] oxxshadow:
Anyone getting issues with push notifications for certain apps, specifically Instagram? I checked and made sure push notifications were active, in fact, it seems like almost any AOSP ROM I try has this issue. Anyone else share the same experiences? I seem to get the notifications on my Nexus 7 which is on Stock ROM, but not on my Nexus 4.
[Nexus 4 Original Android Development] The Tox:
All my texts are appearing twice on hangouts and regular mms. Anyone else? [MENTION=4593553]Mahdi786[/MENTION] i noticed this issue since tuesday when i compiled with yur last changes that time

sent from my Nexus 4
[Nexus 4 Original Android Development] damonhuang:
Anyone know how to change lockscreen background image? i cant find it in setting . thanks @@
[Nexus 4 Original Android Development] oxxshadow:
Same here
[Nexus 4 Original Android Development] TheDarkDefender:
Twice meaning once on hangouts and once in mms?
[Nexus 4 Original Android Development] kochthespeed:
Settings / Themes / Lock screen wallpapers
[Nexus 4 Original Android Development] Andre_Vitto:
Problem guys.. Need urgent help.. My touch freezes at times.. And screen off and on fixes it.. But after that no touch is registered in the nav bar section.. Please advise.. Rest of the screen touches fine..
[Nexus 4 Original Android Development] Italico:
Thanks for the update, Mahdi! I'll try it ASAP.

BTW, yesterday evening I faced a problem with torch on lockscreen: with both shake activation or double tap on slider it switches on only for a second, and then it shuts off. No problems using the tile once unlocked, instead.

Does anyone faced the same behaviour?
[Nexus 4 Original Android Development] svnhvn:
Yes, same here.
[Nexus 4 Original Android Development] eggz2004:
Yep, me too on my n4

Enviado do meu Nexus 10
[Nexus 4 Original Android Development] cenonmin:
+1 same
[Nexus 4 Original Android Development] afbengochea:
Anyone having issues with network connection? It keeps telling me to sign into my T-Mobile network and when I do it says that my data plan doesn't work on this device. Wi-Fi does work though
[Nexus 4 Original Android Development] tyler999:
hi! i have got a problème with sms app . when i send a message , i see it 2 times .
[Nexus 4 Original Android Development] kniffo80:
... this has been already mentioned a few posts ago. you're not the only one ;)
[Nexus 4 Original Android Development] tyler999:
ok thx ?
[Nexus 4 Original Android Development] The Tox:
There were some issue with signal last time , it drops but it's fixed on last build

I would suggest to delete your apn and add them again or make a clean install if that doesn't help

sent from my Nexus 4
[Nexus 4 Original Android Development] KreAch3R:
I am experiencing the same double message bug, too. Just reporting.

Latest released build

MySms app
[Nexus 4 Original Android Development] Mahdi786:
Issue with SMS has been fixed, I'll upload a fix and push the change when I'm with my PC again.
[Nexus 4 Original Android Development] TKD29:
Same here with sms..
[Nexus 4 Original Android Development] fuser1337:
I found a bug

Whenever I call someone and tap on the block number icon, the incallui force closes.
[Nexus 4 Original Android Development] Mahdi786:
Can you get me a log?

Edit: its cool I confirm the fc, I'll look into it not need for a log.

Here's the fix for SMS

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

[MENTION=4584270]The Tox[/MENTION] I've pushed the fix too.
[Nexus 4 Original Android Development] EnricoDNY:
clean flash and internal storage.

Sorry to ask a nooby question, but on the next Mahdi Rom clean flash I want to completely clear and reformat my internal storage as well.

I'm using latest CWM, so can I do the following without breaking anything please?

Wipe cache, dalvik , factory reset, .

format /system

flash mahdi rom

flash pa mini gaaps-

format data and data/media

reboot

also thanks to [MENTION=4593553]Mahdi786[/MENTION] for your hard work on this rom
[Nexus 4 Original Android Development] The Tox:
Yeap , That's correct but if i were you i would flash stock image first to clean the whole things then flash mahdi-rom :good:

---------- Post added at 05:07 PM ---------- Previous post was at 05:05 PM ----------

Great , i've just flashed your fix and i got a bootloop , wipe cache and dalvik-cache and it's booting now :victory:
[Nexus 4 Original Android Development] mammenj:
Is this fix specific to an app? because hangout SMS seems to be fine.
[Nexus 4 Original Android Development] Defferex:
Activate OmniSwitch.

Open app.

Open OmniSwitch.

Close current app.

You wouldn't be returned to last app used. You will still see current app, but if you close OmniSwitch you will be returned to homescreen.

It should be fixed, OmniSwitch useless with this bug.
[Nexus 4 Original Android Development] Mahdi786:
I only added it back because some users wanted it, to me its considered as bloat, next build will have it removed and whoever wants to use it can install it manually.
[Nexus 4 Original Android Development] Spyrek10:
Anyone else have problems with adding new numbers to blacklist? After typing number and pressing ok nothing happens, current list stays not updated.
[Nexus 4 Original Android Development] Mahdi786:
Working fine here, what type of number are you trying to add?
[Nexus 4 Original Android Development] Spyrek10:
60280 - I'm getting ads from them.
[Nexus 4 Original Android Development] Mahdi786:
Were you able to add these numbers before this build because I'm not sure this is possible.
[Nexus 4 Original Android Development] Spyrek10:
Yes, on previous builds I could add 4 digits numbers(7505, 8005, etc.). I'm using 08/21 build.
[Nexus 4 Original Android Development] Mahdi786:
Ok I will look into it before the next build.
[Nexus 4 Original Android Development] KreAch3R:
The two message bug is fixed successfully here. (Dirty flashed everything, cleared cache-dalvik). Thanks [MENTION=4593553]Mahdi786[/MENTION]
[Nexus 4 Original Android Development] serginio358:
This big doesn't disturb me. I find omniswitch very useful: it replace recent app button in my pie. With omniswitch, I can execute many operations. In addition with only one hand (without move nexus4 in this hand). Many of us, like me, often use omniswitch. That 's why I wish integrating it in Mahdi Rom. If it' s not. It's shame but I will install its apk.

Two last point :

-The record screen app is integrated but we use it less time than omniswitch.

-omniswitch is in many good Rom: C-rom, omni-rom, slimkaterator,... There is certainly one reason... or two.
[Nexus 4 Original Android Development] cenonmin:
+1 it's bloat ;)