yashsingh1/xdaforums huggingface dataset:
[ONE Android Development] Vortex1969:
Just wanted to say thanks for the great work on this ROM. I'm running it with ak kernel 30 stable. And some of my own tweaks and I can now say the One is just as snappy as my Nexus 5.

Ran an Antutu if you want to see it's posted in the benchmark thread

In General.

[emoji106]
[ONE Android Development] Mahdi786:
The headset I use which stopped working after cm's headset code switch is working fine now and all the controls are also working properly.

---------- Post added at 04:35 PM ---------- Previous post was at 04:33 PM ----------

I've looked through the last_kmsg and there's no error detected, if you can find a solid way of reproducing it I can maybe debug it better.
[ONE Android Development] funCrash93:
[MENTION=4593553]Mahdi786[/MENTION] I guess Screen-Off Knock Code would be a perfect fit for MAHDI's Screen-Off Gestures (imho) :angel:

Sent from my bacon.
[ONE Android Development] zephiK:
I believe the major problem is somewhere that lies upon headset jack detection code. Headphone without mic or any controls is perfectly fine and can be inserted in directly. With the headsets (mic and audio in 1 3.5mm jack) it'll have to reach to a "static" point and then inserted afterwards and it'll play audio. When using that same headset but this time with a mic and audio splitter, the audio will play perfectly fine split.

The same thing occurs in Franco Kernel but with ak it seems to work with headset jack detection.
[ONE Android Development] funCrash93:
does the radio updates with the ROM or it has to be updated manually?

if within the ROM, does MAHDI include latest one?

or either if it can be flashed over MAHDI (as it comes from 11s).?

thank you.

Sent from my bacon.
[ONE Android Development] zephiK:
There has been only 1 radio for this phone. MPSS.DI.2.0.1.c7-00020-M8974AAAAANPZM-1

Its odd that CM includes the radio within their flashable zip. But for Mahdi, it does not include the radio.

I prefer not having them included, why? Radios are independent for each person. Some people do better with X radio and some people do better with Y Radio or Z Radio. It all depends on where you live. Plus you get to save space, no point in in downloading the same radio file every time.

XNPH25R and XNPH30O are both the same radio.
[ONE Android Development] bigant262:
This might sound weird, but I found that laying your phone down "harder" (not throwing it or anything like that) on a flat surface reboots my device. I think its a proximity bug.
[ONE Android Development] phonepersonality:
Another random reboot.

Bug Report posted.
[ONE Android Development] funCrash93:
Thank you. :)

now I know a bit more ;)

Sent from my bacon.
[ONE Android Development] Mahdi786:
I've just tried that and couldn't get it to reboot

Thanks, there's nothing in the last_kmsg.

Can you guys disable off screen gestures for a while if your using them just to eliminate some things.
[ONE Android Development] amirke:
Question and claification

So updaing Mahdi ROM does not update the radio?

(because I had a problem with connectivity and flashing a new radio helped)

one more question: Do you know about BT issues ?

I can accept phone calls in my car, but when tryong to hear media, it crashes. just via car BT.
[ONE Android Development] zephiK:
Update to Mahdi 08/12, the bluetooth problem has been fixed.

Mahdi ROM (or any other ROM) traditionally does not update the radio. Radio is independent of your OS, some radios are better than others for some people due to many factors: carriers, location, etc so it wouldnt logically make sense to update someone's radio without their knowledge. With CM nightlies they include the radio in their ROM but its the same radio being flashed / checked upon flash.

The OPO only has 1 radio being MPSS.DI.2.0.1.c7-00020-M8974AAAAANPZM-1 anyways (unless you count the Chinese radios)
[ONE Android Development] elios93:
It's the same impression that I have...It happens sometimes, but when it happens is always when I leave it on my desk after I've locked the device.
[ONE Android Development] Spider_Pig27:
Once the random reboots are fixed this is deft my daily driver.. :)
[ONE Android Development] Vortex1969:
Did you flash clean or dirty. I ask because I flashes clean and have not had any reboots at all and I was pushing my phone hard today benchmarking. I am using ak 30 stable kernel and the one plus Dalvik and Bionic patches from the stock rom. That would be the only difference.
[ONE Android Development] tee00max:
I had funny reboots happening today with the device. Just rooted my device and did a clean install with this ROM lastnight and when now when someone calls me, I cant hear them and the phone will just reboot. Any deal with that? Very annoying bug...
[ONE Android Development] zephiK:
Yeah I have no idea either. I have used this rom since day 1 of my phone and haven't had any reboots whatsoever. I've used two different kernels now. Try other kernel setups guys, try Franco and ak. Post more about your setup. List the apps that you have. The more details the better, a simple "I got a reboot" doesn't help the rom developers or us to help resolve your problems. Out of the box, its personally fine for me so I can't speak for the others.
[ONE Android Development] tehpud:
good advice here. i also hate the bloatware like Earth, Books and movies. Didn't know the camera causes problems with Mahdi (i always use the OPO camera).

Hard to stay away from XDA, but hope you get some rest!
[ONE Android Development] Vortex1969:
Yeah a always use Banks minimal gapps I hate the bloatware to. Wait that is one more thing I used with this ROM and not the PA gapps.

---------- Post added at 03:06 PM ---------- Previous post was at 02:58 PM ----------

@zephiK that got me thinking we both use Banks gapps and I have had PA gapps give me problems before. Maybe that is why we are not having reboot problem. Just a thought. But I have seen it before.
[ONE Android Development] Spider_Pig27:
where can I get the Dalvik and Bionic patches?

Thanks in advanced
[ONE Android Development] Vortex1969:
Make sure you use the one that says One Plus One ...............mahdi/slimkat

http://xdaforums.com/showthread.php?p=47709135
[ONE Android Development] zephiK:
True I did read something about in the past someone having their sound messed up due to gapps. Okay I'm going to write up a LARGE guide and if you guys are getting reboots still I want more details. I'm sure that these reboots aren't caused by kernels but to a conflicting app or something with your set up.

If you guys have reboots, do the following

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

Perform a factory reset as well as clearing dalvik/cache.

ROM: Latest MAHDI 08/12

Gapps: https://s.basketbuild.com/filedl/de...pps/4.4.4/7-29_GApps_Minimal_4.4.4_signed.zip

Kernel: Use any that you want (Stock/Franco/Ak). Leave the kernel settings at stock, do not change any settings on the kernel. Do not undervolt. Do not overclock.

Feel free to restore all of your old apps. PLEASE DO NOT INSTALL XPOSED. There is a possibility that one of your Xposed modules could be causing this reboot, Mahdi is already filled with so many features. I don't understand why you even need Xposed, but then again the purpose of doing these set of instructions are to isolate the problem and to see

what is causing your phone to reboot

.

So by having Xposed not installed, we can isolate the problem and ensure that one of your Xposed modules is not causing the problem.

If you still encounter reboots use https://play.google.com/store/apps/details?id=de.onyxbits.listmyapps&hl=en and paste it here in code brackets or quote.

Note: The gapps listed in this post are minimal and you won't have your favorite Google Apps (Gmail,Maps,Chrome,etc). You can find them on the Play Store. Use the Camera apk in the 2nd post of this thread for camera.
[ONE Android Development] bp328i:
Every time I click on that one it downloads this file name.

OnePlus_One_DALVIK_-_CM_11s_XNPH22R_-_crom.zip

Is this the correct one?
[ONE Android Development] skydayzer:
[MENTION=4593553]Mahdi786[/MENTION] [MENTION=4628777]Moose0704[/MENTION] Does your kernel have the kexec boot patch yet??

Juz want to try the MultiRom Thingy
[ONE Android Development] :
like this is needed on Mahdi lol

I think placebo
[ONE Android Development] bud77:
Not yet. I asked Mahdi to add it in next release. We'll see :)
[ONE Android Development] dr87:
Franco Kernel R4 without modifying the rom libs, working superuser

Download

This *may* work for all custom roms

It only requires 2 commits (of reverts) to boot up

Franco's source +

https://github.com/dr87/one_plus_one/commit/386d2bce414c2da963d09cb904323c3e40f6255f

https://github.com/dr87/one_plus_one/commit/7987f41dfbf828afde7a0bd29e6e90da0e6085fa

Don't use franco's OTA or you won't boot
[ONE Android Development] Moose0704:
"On the contrary" read the post, he specificly asked for the fixed recovery so therefore I responded with the link to it. I will post a new build when I get to it. I will not "reup" the old one. ;)
[ONE Android Development] lukemo:
Sorry, I'll be waiting for the new version...

Thanks a lot.
[ONE Android Development] Moose0704:
UPDATE

New build is coming soon! ;)
[ONE Android Development] pro castinato:
Thanks yeah that what I ask .. These guy's always jump on everybody as a moderator huh .. Btw I don't ask anything I just ask the recovery update . But thanks anyway ;)
[ONE Android Development] Moose0704:
UPDATE

New build is posted, go and get it! ;)
[ONE Android Development] d3sm0nd:
Running the new build, seems pretty stable.

The only issue I got is after doing a soft reboot the theme chooser theme that I applied was gone, had to reapply it. Same for onscreen navigation buttons - after a softreboot they appear and I had to disable them manually.
[ONE Android Development] MyDarkThrone:
using exposed?
[ONE Android Development] Moose0704:
yes that is a known bug when having xposed installed. Just reapply and stop rebooting ;)
[ONE Android Development] bud77:
Just found a fix here

Edit : [MENTION=4628777]Moose0704[/MENTION] : Is your gerrit still "closed" ? Can't find any link anywhere :(
[ONE Android Development] MontAlbert:
Am I the only one still having reboot and partition issues? I wiped and reinstalled last night, flashed dr87 recovery but still takes about 10 reboots for it to actually start
[ONE Android Development] Moose0704:
16GB OnePlus One?
[ONE Android Development] MontAlbert:
64gb international version. After installing the new recovery I wiped system, data and cache, not SD card. Maybe I need to fastboot entire device ROM to wipe entire device and start from scratch...
[ONE Android Development] Moose0704:
Should not have to redo it all. Weird that you are still having the issue.....
[ONE Android Development] Klarooo:
Same here, dont know why. It's strange..

PA or CM11 are booting fine, flashed it for testing :(
[ONE Android Development] Moose0704:
We now have the xposed and theme engine fixed as well as proper partitioning when flashing so should fix issues others are still having. Also fixed the mobile networks selection. Should have a build out tomorrow so stay tuned ;)
[ONE Android Development] pro castinato:
Nice ! Man I still have the boot issue .. boot 10 times before start . After theme issue and I have a problem with theming keyboard , navigation button style . I m using L navigation bar tweak who don't work fine with Xposed . Can't wait for the update !
[ONE Android Development] bud77:
Looks like you missed my post [MENTION=4628777]Moose0704[/MENTION] :( :
[ONE Android Development] eqbirvin:
Heads Up!!!!

For anyone still having issues with this ROM, all the issues i've seen listed happened to me during install of stock cm11s 22R because of a few things.

Don't change DPI (I know the screen would be perfect and better with 440 or 420 but other than PA, roms for this phone do NOT like DPI changes)

Don't use TWRP (It has been causing problems with some LG phones partitions and it seems it has done the same with the OPO) I recommend Philz

Obviously Clean flash :P

I hope that helps anyone!
[ONE Android Development] Moose0704:
No I didn't, I saw it but CM already had that and PAC made a new commit which wasn't needed lol. ;)
[ONE Android Development] skydayzer:
Ok... thanks for the reply..
[ONE Android Development] Vortex1969:
Not really when it's in the stock CM 11s. It's there for a reason and I'm not going to waste 20 line explaining what it does. I search can do that.

But use it or not that is up to each there own.
[ONE Android Development] Spider_Pig27:
I use Xposed for KeepChat, Snapshare, YouTube AdAway & instagram Downloader.

Unfortunately I need xposed, I just hope the issue gets resolved soon or at least determined exactly what is the cause of the reboots
[ONE Android Development] zephiK:
I don't want to be that guy... but you shouldn't be mentioning Pandora Patcher over here. Also I'm not saying that you have to disable it, but we want to isolate what is causing the phone to reboot. It is known that Xposed is to cause instability (lag/reboots). Try it for a hour or two and see if the reboots still occur.

YouTube AdAway is not necessary, just get AdAway and you can have ad block. The rom itself out of the box works and just installing these modules on top of it then coming here to say your phone rebooted isn't contributing it when the ROM itself is fine. Then again, I don't know if it is Xposed acusing it... just disable it and try it for a hour or two and report back if the phone does reboot provide a log as well.
[ONE Android Development] Spider_Pig27:
Oh snap, Ill edit my post right now, didnt think it was a problem but thanks for the heads up.

Yeah ill do that, I really liked mahdi on my n5
[ONE Android Development] tehpud:
I actually have PA on my phone right now but will probably flash Banks over it. That should remove the existing GAPPS?
[ONE Android Development] Spider_Pig27:
nope you need to reflahs the rom itself again along with banks gapps. Dont use pa anymore
[ONE Android Development] zephiK:
You don't need to reflash the ROM to get rid of the gapps.

Go into /system/addon.d and remove 70-gapps.sh... reflash your ROM, reboot, ensure all the gaps are erased. boot into recovery, flash banks gapps, reboot.

I'm sure that once you remove the .sh and reflash your ROM, all gapps will be removed but just reboot just incase so you know for sure.
[ONE Android Development] bigant262:
Anyone have the Apple ear pod headphones with mic? If so, does yours work at all? Mine aren't working at all for some reason, they worked on previous builds.
[ONE Android Development] zephiK:
We talked about this in a earlier post. It seems to be a kernel issue that is affected on stock Mahdi and Franco. If you flash AK Kernel then it apparently works without a problem.

As a workaround, you can insert your headphones in slightly until you hear static and then when you hear it.... let it stay in that position in the jack for a good 2-3 seconds and then insert it in fully and then it'll work.
[ONE Android Development] currybaker:
How to enable double tap to wake? I can't find it thanks
[ONE Android Development] Vortex1969:
Just wanted to report back ROM still running great no reboots ect. I really think it is the PA gapps that is the problem for others. Still going strong.[emoji6]
[ONE Android Development] tehpud:
might be right. just got another random reboot.

time to follow [MENTION=1978554]zephiK[/MENTION] advice!
[ONE Android Development] zephiK:
Settings -> Display -> Screen off gestures -> enable gestures -> double tap wake up device.

It should be on by default.

Hm nice... was there any other changes that you did?

Try it out guys... if its really the gapps.. Tsk tsk tsk. The thing you least expect causing your phone to reboot.
[ONE Android Development] Vortex1969:
Yeah I have always used Banks gapps and they have always worked even if the OP on other ROMs said to use X gapps I never did.

Plus Banks is a great guy.
[ONE Android Development] zephiK:
I always used Banks gapps because I dislike having bloated gapps. As much as we all love Nexus devices, I get kind of upset that Google include all the silly apps that none of us use. Google Movies/Videos, Google Magazines, Google Videos, Google Play Music, Google Maps, Google Earth, etc. They're on the Play Store, their gapps gets updated so frequently as well to the point that it becomes redundant for the gapps to get updated so frequently when they're found on the Play Store.

I'd love to see more people try the BaNkS gapps and see if they can reproduce the reboot using banks' gapps. If they can't then, PA gapps is responsible for the reboots.. at least thats the impression I get since it works for one person.

Looking forward to tehpud's report.
[ONE Android Development] Mahdi786:
Just a note for people switching gapps, you don't need to reflash the ROM but you do need to wipe system to clear any backup scripts.
[ONE Android Development] currybaker:
Thanks zephik
[ONE Android Development] Vortex1969:
I ask BaNkS about posting a thread here for them and linking it to his thread so people can see his changes. I'll let you know what he says.
[ONE Android Development] Spider_Pig27:
I think PA GAPPS did have something to do, Im now running it with banks & all my mods and xposed and 0 issues or reboots
[ONE Android Development] tehpud:
Thanks. I already did the gapp switch. I followed [MENTION=1978554]zephiK[/MENTION] advice. Deleted the .sh, flashed ROM, wiped cache/dalvik, flashed new gapps. rebooted and all the previous gapps i had are gone and the new ones are in.

Are you suggesting I go into recovery and do a system wipe/format and redo the process?
[ONE Android Development] Mahdi786:
No its fine, if you deleted the script before flashing the new gapps then its all good.
[ONE Android Development] zephiK:
Either or is fine... like you said the old gapps are all gone. If your phone reboots, then do what Mahdi suggests and restart the whole process and then report back. If anybody else is just now trying this do Mahdi's method or mines. It doesn't matter, both gets to the same goal but Mahdi's way is a lot easier.

Edit: So after seeing more reports, maybe it is the PA Gapps that is causing the reboots. Very weird indeed. Hopefully the reboots won't happen and this way Moose/Mahdi won't be as annoyed hearing about reboots :p
[ONE Android Development] Vortex1969:
I just want to say when I posted way back about thinking it was the PA gapps because I had problems with them before. I don't mean any disrespect to that dev that makes them. I just put two and two together when I and Z were using BaNkS gapps and we were without reboots. That's why I brought it up.
[ONE Android Development] zephiK:
Check your PMs? I sent you a PM earlier today.

Edit: noticed a bug, when u use the music tile and when u press on the tile to play... it plays the music but the tile doesn't update to pause and doesnt show track name / album art.. it used to do that.
[ONE Android Development] bp328i:
Just letting you know I'm running BaNkS minimal gapps and I had a reboot when opening the XDA app.

I switched to AK kernel and not one reboot since.
[ONE Android Development] Vortex1969:
Replied but not I didn't have any before.

Have a good night all gotta spend some time with the wife. Happy wife is a happy life[emoji12]
[ONE Android Development] TheSoaresan:
A warning about using ak: using the headphones work fine but when you unplug the headphones, it doesn't detect it and no sound comes out of the phone speakers after unplugging.
[ONE Android Development] zephiK:
works fine here. can't reproduce it, just tried a headphone and headset.
[ONE Android Development] TheSoaresan:
Strange. Thanks anyways. I've gone back to stock kernel for now. I can't risk not hearing my alarm tomorrow lol
[ONE Android Development] tehpud:
phone has been quite calm after the gapp change. the greenify/wakelock hasn't been as active as before. hmmmmmmmmm
[ONE Android Development] zephiK:
Which wakelock are you talking about? Hm so maybe it can be reliably confirmed that the gapps causes the phone to reboot on Mahdi (maybe other ROMs too)
[ONE Android Development] tehpud:
I had to do quite a lot to stop the Google Play Store and Play services from constantly causing a wakelock or trigger. I was sitting at 11% awake time where right now i'm at 3%. It's a little early to tell, but since the flash and removing the PA gapps, I haven't had a single reboot.

Before, I experienced the reboot quite a few times a day. Surely would have had one by now. Again, may be too early to tell and I don't have enough data to support the possible cause and claim.
[ONE Android Development] zephiK:
Well its definitely a improvement, hopefully it stays that way. Definitely do keep reporting back and if thats the case then maybe the OP post could be updated to warn people to stay away from PA gapps, at least for the time being until its resolved.
[ONE Android Development] tehpud:
I agree. Will definitely report back on both positive or negative (hopefully none) on the status.
[ONE Android Development] Spider_Pig27:
Is there anyway to have the "LTE" icon be displayed instead of "4G" when your on LTE???
[ONE Android Development] zephiK:
http://xdaforums.com/oneplus-one/themes-apps/mod-smooth-scrolling-mod-mahdi-rom-t2840934
[ONE Android Development] :
the thing is appart from it increasing benchmark scores does it actually translate to real user benefit to experience.

I have flashed "optimalizations" stuff before. And it has always messed up my experience, or done nothing.

Of course rom makers users their own optimalizations. I find Mahdi the best so far as a complete rom goes.

So my question altered, given possible fault risks ( https://plus.google.com/104097621805582709171/posts/JJsTYxXEgZF) does it better the Mahdi rom? If yes in what way? (please own experience from intensively trying and comparing and not just, oh they say its better I flash it and oh device boots up it must work then, no pun intended)
[ONE Android Development] Stylez Ray.:
I am using this wonderful rom since day one I had my bacon but I am still wondering about the combination of gapps and especially the camera apps.

As the camera2.apk is in the rom zip you will automatically have the aosp camera. By flashing the correct Gapps you won't have anymore cameras in the flashing process. Then you have the options to install the OPO cam and the Google camera from play store. Is this correct? Camera2.apk has to be installed in order for the rom to work properly?
[ONE Android Development] zephiK:
Camera2.apk does not need to be installed. Camera2 is simply the AOSP Camera. I don't even have Camera2.apk installed, the gapps that I use removes Camera2.apk so the only camera app I have is the CameraNext from CM11S. I prefer CameraNext than Google Camera anyways so I find it redundant to have two camera apps.

To keep it short, nope.. don't need Camera2.apk your gapps will most likely delete it in favor of Google Camera but you dont even need Google Camera either.
[ONE Android Development] Stylez Ray.:
Well that's odd. I did a clean flash and tried the gapps from the OP and the BaNkS minimal and neither does remove the camera2.apk which gets installed by the rom. Can't even see it being done in the scrips inside the zips?!
[ONE Android Development] zephiK:
Ah you're right. I was confused with the Banks Standard gapps which includes Google Camera so it removes the Camera2.apk, I just froze Camera2.apk since I'm using the standard OPO camera anyways.

Answer is still the same, you don't need the app. Use whatever app you like the most.
[ONE Android Development] Mahdi786:
Turns out the reboot issue was in the kernel all along, I found a solid way of reproducing it and found that reverting this patch fixed the reboots

https://github.com/Mahdi-Rom/androi...mmit/e1786f2ab98c5d1062b33959ebd9523609c9468f

But I guess cm were quicker than me and they've already reverted it with a whole bunch of other stuff.

https://github.com/CyanogenMod/android_kernel_oneplus_msm8974/commits/cm-11.0

I'll link an updated kernel here soon and I'm sure others will merge cm's changes so these silly reboots will be a thing of the past.

Edit: Here you go, stock kernel with latest merges from cm.

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