yashsingh1/xdaforums huggingface dataset:
[ONE Android Development] nicholaschum:
Try a different kernel/reflash Mahdi for stock kernel.

Also doesn't hurt to flash the latest modem to test it out.
[ONE Android Development] tansuperman:
I took the camera apk from the stock 33r zip I had on my CPU. All stock apps were there.

---------- Post added at 07:01 AM ---------- Previous post was at 06:58 AM ----------

Same here. I tried a couple different times. Always a boot loop with Franco 22 on this ROM. I never tried updating from flu cause I heard that would mess it up as well.
[ONE Android Development] nicholaschum:
FKU doesn't mess up your phone. Ignore dr87's post on third OP, it's not up to date.

FKU now properly detects whether your phone is CM11S or an AOSP ROM and downloads the correct kernel for your phone.
[ONE Android Development] OryZ:
Where can I get stock kernel?
[ONE Android Development] nicholaschum:
Reflash Mahdi.
[ONE Android Development] OryZ:
OK thanks.

The reason I was trying Franco was I was getting screen glitches for example while scrolling. Does anybody else experience something like that?
[ONE Android Development] toanau:
Download a app called ROM Setting Backup. Crack flasher best friend. It restore all your settings for all different rom

OPO Slim
[ONE Android Development] iVolcaNoz:
yeah i am on mahdi 2.7 right now..

just to confirm dirty flash means straight away flash without wipe out?
[ONE Android Development] vassy.uk:
Just wipe dalvik n cache. Then flash the ROM.
[ONE Android Development] zephiK:
Just flash the ROM along with your kernel and other mods that you may use(if u use smothscrollingmod then update the mod from the thread).

No need to wipe dalvik and cache as its done for you when you flash the zip anyways.
[ONE Android Development] vassy.uk:
:thumbup::thumbup:
[ONE Android Development] nicholaschum:
I wipe to feel clean... Haha
[ONE Android Development] zephiK:
I prefer to live on the danger zone :p

But yeah 10/01 is working great with smooth scrolling, franco r22 and the latest CM nightly radio. Phone feels very complete.
[ONE Android Development] pride_prejudice:
I found that torch can be chosen as the gesture, but it doesn't work properly. Most of time, it just flashes. Is it normal?
[ONE Android Development] CounterC:
can you please link me latest nightly radio?
[ONE Android Development] :
Where can I find the radios?
[ONE Android Development] primo14z:
Um i have a problem with receiving calls, when i have the screen locked and i unlock the screen to receive the call, the status bar is locked. The only way to answer is to go to dialer and answer from there..

anybody else?
[ONE Android Development] Tunasty:
Are there any inverted gapps that can be used with this rom?

-Tunasty
[ONE Android Development] Rene_ajax:
+1 at least mention where u get the FM radio from?
[ONE Android Development] vassy.uk:
Download the Pico Modular Package from here

http://xdaforums.com/showthread.php?t=2397942

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

Thanks for your help. But i was already using the Pie to have that function :) Good thinking ;)
[ONE Android Development] ak:
I have the best idle and battery with my last ak kernel and madhi 01/10.

Very good work .. No heat and no one single problem ... Thanks guys.

ak@0001
[ONE Android Development] zephiK:
Go to oneplus one general and find the radio thread. There you'll find all the radios. The color os radio is the same one as the cm nightlies.
[ONE Android Development] :
Thanks! Wouldn't this rom already be on the latest CM11 nightly radio?
[ONE Android Development] ak:
Because radio isn't flashed by default.

ak@0001
[ONE Android Development] zephiK:
Nope, Mahdi does not include CM11 nightly radios. Its silly to include radios with the ROM anyways. It would alter people's signals randomly, their current radio may be better than the radio being flashed with the rom etc etc.
[ONE Android Development] :
Okay thanks. So I flashed the ColorOS radio, if I flash another rom would I have to reflash the radio or will it stick because the roms don't include radios?
[ONE Android Development] zephiK:
Yes it'll stick. The other room that replaces the radio would be cm nightlies.
[ONE Android Development] duytienle:
Getting Bluetooth process FC'd when connecting to my car's bluetooth but not my bose soundlink. Any thoughts?
[ONE Android Development] nikolasmar:
Copying from the one plus forums:

Hi there, I need some help please..

I have flashed every update since the beginning and I never had any issues..

Lately I decided to play with different kernels and tweaks (Franco,ak and vomer tweaks)..

After that my phone got laggy and even though I have clean flashed the Rom plenty of times I cannot fix it..

So, besides factory reset, what else do I have to do to make a fresh start?

It seems that the problems started after Franco and vomer tweaks..

Any ideas?

Thanks in advance..
[ONE Android Development] Mahdi786:
A log would help a lot
[ONE Android Development] duytienle:
I'm newb. How can I get the log?
[ONE Android Development] ultrawires:
With my 2014 Madza 3, I can only bluetooth "connect phone only". With phone and audio/media, I'd get FC too.

Edit: my typo, access to phone and audio/media is fine. From the phone do NOT allow access to SMS.
[ONE Android Development] Tunasty:
Its working fine on my Nissan Altima 2014.
[ONE Android Development] Mahdi786:
Go to settings > about > updates and there's an option to save a bug report, it gets saved in a folder called mahdi in your SD.
[ONE Android Development] duytienle:
2014 Mazda 3 as well.
[ONE Android Development] reaper000:
If your Bluetooth problem is a neverending connect/disconnect loop in your car, it has to do with text message syncing on AOKP-ish roms like Vanir, Carbon, Mahdi, Liquid, AICP, etc. Vanilla AOSP roms and CM11-based roms don't have that issue. I've observed this for over a year on a couple vehicles, and on both my Nexus 5 and OPO. I would provide a log but I just sold the N5 it resided on. (No disrespect meant to any of the devs of the roms I just mentioned! )

The workaround is to allow your vehicle Bluetooth to sync the address book / contacts but to NOT allow access to text messages.

If it's another BT problem, please do tell.
[ONE Android Development] duytienle:
That's exactly what it is!
[ONE Android Development] mkamal23:
Which AK kernel should I use? CM 11 or CM 11s with this rom. Thanks for the help.
[ONE Android Development] suaverc118:
CM11
[ONE Android Development] dsmitty166:
CM11
[ONE Android Development] projekt1:
Dirty flashed new version yesterday. Zero problems with anything mentioned.. Again, thanks Mahdi!!
[ONE Android Development] pride_prejudice:
I have some problems with gesture. Most of time, when I try to turn on the torch or pause the music, the torch just flashes and the music just stop for half a second and continue. It seems that I make the gestures twice. Anyone help? Clean flash from cm11.
[ONE Android Development] OryZ:
Is there a way to make the notification drawer always show notifications (and not quick settings)?

---------- Post added at 12:23 PM ---------- Previous post was at 11:29 AM ----------

Argh didn't realise it works like on a tablet - disregard that last question.

Does everyone have gestures working? My circle and two lines down work but nothing else seems to... Also why is arrow up disabled?
[ONE Android Development] chintan.bhaidani:
Not so good battery life

I have been using this ROM for quite some time. I read multiple posts before that, where people told they are getting amazing battery backup. I flashed this ROM for the very same reason.

But in my case even on an airplane mode the battery is draining at the rate of 1.5%/hr . Could anyone suggest what wrong have I done or what is the best thing I can do to improve battery life? Through Privacy Guard I have disabled the Google Services to prevent the consistent wakes.

Currently I am running,

Mahdi ROM`s latest build i.e., 10/01

Pico Modular Package(GAPPS)

Franco Kernel r22

Vomer Tweak

Smooth Scrolling Mod

Thanks in advance.
[ONE Android Development] zephiK:
As much information that you provided, this isn't sufficient enough. Download BetterBatteryStats/Wakelock Detector/Gsam (One of these) and then check your wakelocks.

I get 1% battery loss after a 8 hour interval sleeping with LTE/Sync enabled.

http://i.imgur.com/uK5qQn7.png

http://i.imgur.com/iprzbCR.png

ROMs have a very minimal impact on battery life, its more or less based on the user's set up. Kernel helps as well.

But then again, OPO battery life isn't a problem even if you're having drains.
[ONE Android Development] doctor78SI:
You need to uninstall vomer tweaks. He has an uninstall zip file. Search for it on this forum.
[ONE Android Development] skydayzer:
Anyone having this issue.... Proximity sensor does not turn off screen when making calls??
[ONE Android Development] BoOsT:
Yes every time I have to swipe up and close the quick settings drawer before I can end the call. Very minor issue for me , but it is there.
[ONE Android Development] skydayzer:
I mean when you put the phone to your ear does the screen turn off?
[ONE Android Development] iVolcaNoz:
Does underclock really benefits in terms of battery life?

Any disadvantage except performance?
[ONE Android Development] DmaL:
Hey everyone,

Does anyone else's power menu (holding power button to get options for reboot etc) not have the submenu after pressing reboot for "soft reboot" "recovery" etc? When I go to reboot into recovery I don't get the option at all. I press reboot and it just says, "phone will reboot OK/Cancel"

I checked power menu settings and the box for "reboot menu" is checked. It's not the end of the world bc I can still get to recovery via Rom Manager. I was just curious if it is by design in 10.1...

Mahdi 10/1

Franco R22
[ONE Android Development] vassy.uk:
Go to developer option.. Advanced reboot.
[ONE Android Development] DmaL:
Dammit I knew that! Sorry for the Noob-ness. Appreciate the help.
[ONE Android Development] zephiK:
Performance isn't suffered if done correctly with changing other settings as well.

If you use Franco kernel you can use per app mode that adjusts the maximum cpu frequency based on what app is being used.
[ONE Android Development] flolep:
Hello [MENTION=4593553]Mahdi786[/MENTION]

First of all, thanks for this great rom. I follow you and your roms since the launch of Nexus 5 and I must admit that they are great. Functionalities are the best of the best, you update your roms very often, performance and stability are among the best and autonomy too.

I say this to you because it's the first time I talk to you and I wanted to say all the respect I have for your work!

Since some months, on Nexus 5, and then on OnePlus One too, because I ask my question in this thread, my rom sometimes reboots itself the interface (only the interface), I lost navigation and status, then I go on screen lock, then I unlock and it goes back to normal... The problem happens randomly, on kernel included with mahdi rom or other kernels (I tried several kernels and it is the same so I assume it's rom related).

I do clean flash or dirty flash, it depends.

Here I had one problem like this some minutes ago and I remembered to do a bug report. So you will find it attached to this comment, at the end).

I did a clean flash of 24/09 build and a dirty flash of 01/10.

But as I said, this problem is random and it happens at any moment, no reproducible aspect.

Here I was on Franco kernel last version.

Hope you will find the problem!

Take care and keep up the good work!
[ONE Android Development] chintan.bhaidani:
I`ll download either of the apps and will check tonight which app is causing me the battery drain. Will let you know the app for max wakelocks. Thanks
[ONE Android Development] zephiK:
Check for # of wakeups from apps as well.
[ONE Android Development] TiVON:
Most likely it's Google Play Services or Android System.

Play Services gave me 30000 wakeups in 3 days and Android System 124000... That explained my barely 3 hour SOT at least.
[ONE Android Development] zephiK:
That could be it too, I personally deny access to stay awake as well as wake up in Privacy.
[ONE Android Development] elitekernel:
why does double tap to wake under display always reset it self to be on,!!! i want it off.. :(
[ONE Android Development] chintan.bhaidani:
Yeah, I know that. Wheneva I do a clean install of Mahdi Rom the first thing I do is deny the keep awake and wake request of pplay services.. So that can't be the reason.
[ONE Android Development] Vortex1969:
[MENTION=4593553]Mahdi786[/MENTION] for one thanks for all your help that you have given me on my project.

And hats off your latest build is off the charts running great.

Thanks for all your work....[emoji6]

Maybe I never found this before or maybe you added it because I ask way back in the OP but this makes the difference in scrolling... Thank..
[ONE Android Development] nicholaschum:
[MENTION=4593553]Mahdi786[/MENTION] will you be adding temasek's 3GB Dalvik Heap into your sources? He said something about it yesterday

https://github.com/temasek/android_frameworks_native/commit/66d53076627c1c499b3874d5e63ae5e986854a59

Post: http://xdaforums.com/showpost.php?p=55806986&postcount=146
[ONE Android Development] zephiK:
Seeing how Mahdi stays up to date with CM commits, it probably will once its merged into CM11.

http://review.cyanogenmod.org/#/c/74395/

I hope it does gets merged by CM :D
[ONE Android Development] störte:
Just flashed your Rom together with your theme. A nice combination also with the 3minit battery mod. Running nice so far
[ONE Android Development] Gorerotic:
For all the ppl with idle battery drainge (26-38mA) or ~1-2%/h

The last days i froze all apps with titanium and unfroze them step by step to see what my caused the drainage (since no prominent wakelocks were there and my device was deepsleeping for ~99% of the time).

With all apps being frozen, the drainage was gone instantly (on Wifi it's about 0,4%/h now!) and right now i'm back at having unfrozen almost all apps except:

-ANT HAL Service

-CM Home

-E-Mail 4.4.4

-Exchance-Services

-Google Search

-Mahdi Setup Assistant

-NFC Service

-OTACenter

So if you are not in desperate need of any of those apps, i advice to try and freeze them.

The next days, i will try putting them back and see which one is causing the drainage. Until now, i'm really happy, since i had this behavior on all 5 or 6 different Roms i tested. First night was always awesome but beginning with the second night, the drainage was back.

Edit:

Drainage is back again.....
[ONE Android Development] 1337jay:
Hello, I could use some little help. I am running a OnePlus One with Mahdi's 2.8 ROM. Which kernel of the ones posted in the OP shall I pick for my device? AOSP or CM11s?
[ONE Android Development] zephiK:
Aosp
[ONE Android Development] 1337jay:
Thanks. Is there any app to configure so I can get the most of it?
[ONE Android Development] zephiK:
Franco kernel updater (paid). Franco is already tweaked out of the box. Defaults is perfectly fine. Vomer tweaks works as well (Google search for it)

Please stop asking these questions in the rom thread. I saw you double post the same question here and in the kernel thread. In the kernel thread, they're even discussing about the app. I understand you want a quick reply but it isn't cool asking twice.
[ONE Android Development] 1337jay:
Thank you very much, will see how that works for me. Yeah I was kinda in a hurry, sorry for that though.
[ONE Android Development] elitekernel:
Help ?

Hey guys just did a clean flash running 10/01, Double tap to wake always resets itself back on every time i take it off........ the phone doesn't even restart and it selects it back on. this is killing my battery life, using the previous version i didn't have this issue.
[ONE Android Development] zephiK:
Double tap to wake doesn't kill your battery life. Its caused by something else, check your wakelocks.
[ONE Android Development] BoOsT:
For me personally. My phone is in my pocket all day. Any gesture feature will impact your battery life if it is waking up without you knowing. If you sit your phone on a table all day I agree it won't impact it.
[ONE Android Development] Mersine:
fast charge

Hello, I searched but could not find the answer. Is there any hope of getting fast charge with the custom kernel? I tried AK which has it, but that is for cm11 and not aokp, if I'm not mistaken, and won't work. Franco doesn't have it for this rom and I can't use that kernel anyway because my phone is encrypted. Thanks!
[ONE Android Development] nicholaschum:
AK had fast charge but was removed on v50 gold. his CM11 kernels should work on AOKP.

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

If you had proximity sensor gesture verification turned on, it will not wake your device up in your pocket.
[ONE Android Development] Mersine:
Ah thanks. Yes, I tried gold, why did he take it out?
[ONE Android Development] nicholaschum:
He was removing and cleaning up his kernel to make Gold the most stable. Seems fastcharge caused some RR's so he removed it in this build. He may put it back in in the future, if many people wanted it back.
[ONE Android Development] Rene_ajax:
hi bro could u plz share ur systemui.apk? I followed everything from this thread but i could not recompile it [i use multitool v3.5.2.. I see you need to have apktool 1.5.2 but its not in that topic.

Thanks alot Id really want to have custom battery!
[ONE Android Development] RukusX7:
I've always wondered when a custom kernel became necessary for most. Is the kernel based hotplugging worth it against mpdecision? Should we UV/UC...? Or is stock great for most? Also I know nothing about furnace kernel or Franco kernel and what the developers intentions are with both.
[ONE Android Development] zephiK:
Undervolting is nice to have but not necessary. Each phone can Undervolt to a different amount so it depends. It's more or less trial and error to find a stable Undervolt without any phone reboots.

Underclock could be good. No reason to have your phone at such a high cpu frequency if it can do its job at a lower one without losing any performance.

Custom kernel allows more customizable activities such as colors, sound changes, etc. It's definitely something to look into.
[ONE Android Development] Moose0704:
I usually always use stock unless testing so that is what I recommend. I also never UV or UC so that is user preference but with this battery that is not needed like say on the N5 so I would keep the performance! Custom kernels are used at the users own risk and not supported here. Stock at 7hrs SOT is more than enough for me after my N5 days ;)
[ONE Android Development] RukusX7:
I agree. If everything is working and exceeding expectations.... Then why bother with a custom kernel. This phone was great with cm11s even. Even greater with mahdi. ;) its been a while since I've had a mainstream phone, my last phone was so unpopular there was no custom kernel and I had to port hellkat over including the diablo kernel in order to get any kernel customization. I've been without for so long haha
[ONE Android Development] zephiK:
I'm a curious guy plus I paid for Franco kernel app so it'd be a waste for me not to use his kernel since I invested into his app haha. The best advice is, it's your phone feel free and explore around. Give it a try and see if it's worth it, it's free anyways. Certainly not losing anything by trying. I personally do it for the colors, but yeah its nice to have that option in Stock settings control hue saturation etc.

Moose: did you get a chance to look into the twitch tv app problem where the app is not outputting any sound? I'll help debug, would a log cat of the app running while displaying a stream help?
[ONE Android Development] RukusX7:
Haha I bought the app as well. But right now I don't see any advantage to messing around with anything to do with the kernel. But its neat to know u have that control. Is the kernel included mostly stock?
[ONE Android Development] varun.gid:
Anyone else getting around 7hrs of SOT? Or is it Moose whose got a phone with a crazy battery :P ;)
[ONE Android Development] Klarooo:
Same, around 7h +-
[ONE Android Development] RukusX7:
Yeah I'm around 7to8 hours
[ONE Android Development] bp328i:
Is there any way to add the option for the stock CM11s lockscreen?
[ONE Android Development] Moose0704:
Logcat would be helpful yes.
[ONE Android Development] Moose0704:
Have you tried THIS?

EDIT: Doesn't work...
[ONE Android Development] zephiK:
I'll provide one later tonight when my day is over.

It's weird because another app that feeds off twitch (lakitu app) also doesn't output sound.
[ONE Android Development] Moose0704:
I just installed twitch and it is weird cause the adds that show before the live stream does sound but not the stream itself so I do not think it is the app or the phone, but is weird.
[ONE Android Development] shojus:
First time Mahdi user here and I must say that this rom is OUTSTANDING! I don't think I need to even install exposed now because of all of the features it already has and is good at doing... Keep up the GREAT work guys! :good:
[ONE Android Development] bud77:
He said in another thread that it's working fine on stock CM

Issue is only on Mahdi

Sent from my One
[ONE Android Development] Moose0704:
Yep, I read that which is why I did NOT say it wasn't the ROM, I said not app or phone. :p
[ONE Android Development] RukusX7:
What makes mahdi different? For example, that app, the Franco kernel... Etc. Is this ROM cm based or aosp based? I thought all were cm based so far....
[ONE Android Development] chris264:
Good evening, how is the current version? Because'm very happy with the normal Rome, but would also like to try something else. Nice greetings

Gesendet von meinem One mit Tapatalk
[ONE Android Development] akarol:
It's AOSP-based. There are other ROMs for the OPO that are AOSP-based as well such as Paranoid Android. The difference with Madhi over any other ROM supported by the OPO is the number and level of customizations. No other ROM comes close. It's also snappier than even stock CM11S is and the battery life is great.

Basically, no reason not to flash this ROM and try it for yourself.
[ONE Android Development] zephiK:
nicholaschum answered it before I did. Gestures will be disabled when your phone is in your pocket. It will not wake up, assuming you're on post-XNPH25R update.

Its something else such as wakelocks causing your problems.
[ONE Android Development] störte:
Hi

I will upload it when i am home. I work till midnight on a ship

Gesendet von meinem One A0001 mit Tapatalk
[ONE Android Development] CounterC:
Guys,

I have accidently flashed the scrolling mod for MAhdi ROM from here: http://xdaforums.com/google-nexus-5/themes-apps/smooth-scrolling-mod-mahdi-rom-t2831848

This is for the Nexus and now I have bootloop on my One+. I was just done configuring the whole ROM and then this happened. can someone help me how to remove this mod and get out of the bootloop? I would really appreciate it!

After that I can backup first flash the proper scrolling mod zip.

Thanks
[ONE Android Development] nicholaschum:
Flash this one: http://xdaforums.com/oneplus-one/themes-apps/mod-smooth-scrolling-mod-mahdi-rom-t2840934

Transfer it through recovery.
[ONE Android Development] CounterC:
I cannot get ADB working to push file to phone. if I do 'adb devices' there is nothing.

Any idea? Drivers are installed...
[ONE Android Development] nicholaschum:
adb not working from TWRP?
[ONE Android Development] BoOsT:
Thanks I was unaware. Ive never used dt2w before! Only wakelock issues I've had on this phone were with the teamsek cm11. This ROM has always been perfect for me. Even on my Nexus 5.
[ONE Android Development] CounterC:
device not recognized and adb sideload not working.

I managed by restoring other backed up rom, then copying scroll zip to sdcard and then restoring Mahdi and flashing proper scroll mod.

now I'm back in the system and everything working good....

thanks for feedback...