yashsingh1/xdaforums huggingface dataset:
[ONE Android Development] benzso63:
I hardly use the camera on the phone but just notice today it crashed lol.

I flashed the updated rom then this GApps Standard 4.4.4

Do you guys have this problem? Should I do a full wipe and try again?

Is there a fix for the camera?
[ONE Android Development] zephiK:
Crash as in what? I don't use the gapps camera included in the zip. I uninstall it using TitaniumBackup, reboot and then camera should work. I use the OPO camera from 2nd post in this thread
[ONE Android Development] benzso63:
When I click on the camera icon on the lower right, it saids Camera error "Can't connect to the camera".
[ONE Android Development] zephiK:
Yeah I had that too. Just uninstall camera that was included with the gapps. Install opo camera and it should work. If it doesn't then extract camera2.apk from the rom zip and then push it is /system/app/
[ONE Android Development] benzso63:
How do I uninstall the camera included with the gapps?
[ONE Android Development] zephiK:
Like I said, use titanium backup. Or go into /system/app/ and delete the app and then reboot.
[ONE Android Development] cd69:
Titanium backup. Or just freeze the app like I do. ?
[ONE Android Development] benzso63:
Let me give it a try

FYI, just freezed the camera and install the OPO one. it is still crashing Unfortunately Camera has stopped.
[ONE Android Development] zephiK:
Thats because you have to uninstall it like I said. Then reboot. Please listen to what I say carefully, when using banks gapps I suppose its better to use the minimal one since it doesn't include the whole camera fiasco
[ONE Android Development] benzso63:
Followed your instructions but still no luck. I already removed the one from gapps , reboot it then install the new one. Now I can't find the camera icon lol
[ONE Android Development] JAMCx:
Just received my OPO this am and Mahdi is running without issues. Soundboost and 4G>LTE fixes as well. No yellow screen as a bonus. Fingers crossed...
[ONE Android Development] zephiK:
Are you using the OPO Camera from the OP post? You need to use that apk.

Glad you enjoy my mods ;)
[ONE Android Development] jetstream131:
The Camera on Snapchat isn't working for me as of 8/05. Anyone else?

---------- Post added at 12:50 PM ---------- Previous post was at 12:32 PM ----------

Also upon reinstalling Snapchat (which didn't fix the issue) the regular camera app went back to crashing and I needed to apply the fix to that again. I'm curious, is a "dirty" downgrade feasible?
[ONE Android Development] dmbfan13:
Camera won't work no matter what app I use.
[ONE Android Development] benzso63:
Yes I did. Now is working.

I am starting it from scracth. Installed the rom then GApps Minimal GoogleSearch 4.4.4

But looks like the ok google thing not working LOL. Speak to it but no response.
[ONE Android Development] bigant262:
Camera and Snapchat are working fine for me. Might be the gapps you are using. That might be causing issues for everyone that is having issues, are you guys using the recommended ones from OP?
[ONE Android Development] benzso63:
I am using GApps Minimal GoogleSearch 4.4.4 from

http://xdaforums.com/google-nexus-5/themes-apps/standard-minimal-gapps-t2012857

but speaking ok google not working lol
[ONE Android Development] bud77:
READ the OP and install the gapps given in OP
[ONE Android Development] zephiK:
Everybody is entitled to use their own preferred gapps, just the ones listed in OP are ensured 100% compatibility.
[ONE Android Development] bud77:
Of course, then they shall not complain about issues :p
[ONE Android Development] zephiK:
Hehe yeah, true on that.
[ONE Android Development] eefo:
My nexus 5 has gone smaller ?

Reason : oneplus one ?
[ONE Android Development] benzso63:
Sorry, I am not complaining, just wondering if I did something wrong on the installation part making certain things not working.

Just need some help thats all.
[ONE Android Development] HiDEFF:
So love the ROM but I'm having random reboots, can anyone help? Should I re-flash the ROM?

Thank you advance.
[ONE Android Development] zephiK:
Using a custom kernel? No, reflashing ROM will not help. You need to attach a last_kmsg as well.
[ONE Android Development] HiDEFF:
Noob question: how do I attach a last_kmsg?

I tried stock kernel and was having the same issue so I switched to AK stable kernel but same thing is happening.
[ONE Android Development] Mahdi786:
No reboots here, and I've been abusing the phone today testing this and that. It must be something in your setup. You can get a bugreport from Settings > About > Updates. I would recommend a clean flash too.
[ONE Android Development] zephiK:
What are you doing? List steps on how to reproduce. /proc/last_kmsg you need to attach it after a reboot. But I'm sure it's user fault or a app is causing your phone to reboot since you tried two different kernels.
[ONE Android Development] HiDEFF:
I followed instructions in op, so I did clean flash :(

Here's my bug report: https://www.dropbox.com/s/8v1frm9o183yt5f/bugreport.zip

Let me know if the dropbox link works; I'm on the road using tapatalk.

---------- Post added at 09:50 PM ---------- Previous post was at 09:50 PM ----------

Unfortunately, I can't reproduce it, it just happens.
[ONE Android Development] jetstream131:
I'm using the recommended gaps. Are you using a custom kernel? Also did you do a clean or dirty flash?
[ONE Android Development] benzso63:
Fixed. What I did was install google now launcher.
[ONE Android Development] N4Solomon:
Can I flash this kernel on stock cm11s?
[ONE Android Development] Heisenberg:
Noooooo. Don't dirty flash over a completely different ROM unless you want piles of problems. Clean flash it.

Transmitted via Bacon
[ONE Android Development] zephiK:
He was asking if he could flash the kernel over stock 11S. Not flashing Mahdi ROM.

The answer is no, that kernel is meant to be booted on ROMs that are not 11S.

http://xdaforums.com/oneplus-one/general/kernel-ghost-swipes-tentative-fix-t2839378 is what you'd flash on stock 11S but that is totally getting off topic as this is a ROM thread about mahdi. not stock 11S
[ONE Android Development] Heisenberg:
Ugh, Facepalm. Can't believed I misread that so badly. Apologies.

Transmitted via Bacon
[ONE Android Development] funCrash93:
so after all this bug : "Gesture "V" for torch on the lockscreen." is still present.?
[ONE Android Development] bud77:
You can define your own gestures now

My torch is now started by 2 fingers from up to bottom :D
[ONE Android Development] funCrash93:
can not set "Arrow Up" Gesture.? :confused:
[ONE Android Development] bud77:
Same here, can't define this one
[ONE Android Development] insestito:
I flashed this, but not appear intelliplug on Trickstermod
[ONE Android Development] rolf2000:
Great ROM.

Minor things:

-Notification light cannot be deactivated with my current ROM.

-Can I use f2fs?

-Android Benchmark not realy important (only 34000 compared with 38000 before).Kernel issue?

Thx for support.

Best, Rolf:):):)
[ONE Android Development] Guido83:
It is not kernel related... 38000 is only reachable on stock ROM
[ONE Android Development] hamzahrmalik:
Strange. Works for me on build 5/8
[ONE Android Development] bud77:
Well, I removed the default one, and now I can't set any

Action "none" is not even displayed, it's blank. Nothing happens when I press it
[ONE Android Development] funCrash93:
[MENTION=4628777]Moose0704[/MENTION] is it possible to add the ability to configure Network Mode Tile from QS.? (like Screen Timeout Tile has w/ different mods "2G || 3G || 4G || 2G&3G || FULL")

Thank you :)

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

and btw, there is a Bug with Recents when phone is in Landscape, are missing. (or it's just me with this one)
[ONE Android Development] pro castinato:
Nope same kernel but you really have a big boot problem man .. So weird .. Do you find a way to fix it ? I m scared lol I don't turn off my device until I m on your Rom
[ONE Android Development] maurydes:
first thanks to team for hard work,two things .....full wipe in recovery/flash rom/flash gapps and after 3 minutes rom boot and working fine : Good: 2)also can confirm xposed dnt work ,installed but after reboot rom stuck in black screen: ( keep up the good work: Good:
[ONE Android Development] MontAlbert:
to finally get it to mount the data i booted into bootloader then i fastbooted the system.img file form the stock file on cygyn.com then i booted into recovery and it could see the data partition. adb pulled the entire sd card back across just in case.

Just for the hell of it tried to flash the rom again. Immediately it made it seem like there was no data partition again. Giving up on this rom for now. But I'll certainly back when this issue gets sorted out.

Is xposed enabled by default in this rom? Maybe that's it? I haven't enabled it in the rom though... but i did restore it was titanium although i didnt go into the app and install the framework.

---------- Post added at 06:09 PM ---------- Previous post was at 05:53 PM ----------

BTW: now that I know how to fix it if you need something tested just let me know. I'm happy to test stuff out. I just don't think this rom is ready for joe public yet- it takes fastboot knowledge etc to fix the booting issues.
[ONE Android Development] bud77:
For those having issues with Xposed, make sure you are in DALVIK mode before flashing (and not using ART)
[ONE Android Development] maurydes:
dnt use art....:good:
[ONE Android Development] bud77:
Do you have any module installed ? Or Xposed framework only ?
[ONE Android Development] MontAlbert:
xposed wont install if you have ART selected.

Interestingly, and adding to the intrique of the boot issue, i just reinstalled the cm nightly, set it up and then had the boot issue the same. I'm thinking something is wrong with my partitions now (will need a full flash of stock rom via fastboot to fix it). and i was just about to head to the gym... lol

anyway, even after all this I'm looking forward to testing out a fix for this...
[ONE Android Development] maurydes:
Only xposed installed....im go back to paranoid now and xposed working fine....
[ONE Android Development] MontAlbert:
tried paranoid but couldn't find all the settings for customisations. pain in the neck. I remember i tried it on my nexus 5 and thought it was crazy so gave up on it then too.
[ONE Android Development] MontAlbert:
call me a glutton for punishment but i just flashed it again. Set it all up again. did nothing at all with Xposed just in case that was it. Set up all the settings, restores apps and their data. changed DPI to 440 and rebooted. Upon reboot it shows the boot animation for a second or 3 then jumps to the home screen (well, the wallpaper) where it stays for less than a second then it reboots... it did this a few times then i pressed and held the power button to turn it off...

gave it a minute or 2, booted it up and it booted fine. No idea what the problem is but i'm scared to reboot it again...lol

This was after re-downloading the rom again-

****edit**** after discussing it with a developer i know, is it possible that the rom doesn't support the "BOARD_USERDATAEXTRAIMAGE_PARTITION_SIZE" tuneable

it uses the BOARD_USERDATAIMAGE_PARTITION_SIZE

which is only 16GB vs 64GB....

https://github.com/CyanogenMod/android_device_oneplus_bacon/blob/cm-11.0/BoardConfig.mk#L39

or maybe the recovery, TWRP doesn't recognise it?
[ONE Android Development] Moose0704:
For everyone complaining about xposed not working watch the following screen recording. In it you will see me go to about phone and show you I'm on the exact same build as everyone here then I go and show you that xposed is installed and show you the module is running. Then I show you that the xposed works by showing it themed the icons for the apps in recents.

https://www.dropbox.com/s/ppqwui4eeazf5qq/SCR_20140713_095247.mp4

The booting issue I believe is twrp related cause a few testers and even myself clean flashed this 3 or 4 times before it booted properly.

The guy with the missing partition is defiantly a twrp issue. Same thing happened to me 4 times while testing. Reboot several times and it will eventually mount. This need to be addressed in the twrp thread and not here.

No one needs to post of this and that I'm going back to PA! Don't be rude just move on if you don't like all these features and everything working. Cause on mine it does and I'm happy. Sorry we cannot make everyone happy. However this is a DEVELOPMENT THREAD. contribute to that development with actual issues and CATLOGS or keep your issue to yourself and leave. No one is making you stay on mahdi!

For those of you with it working like myself please enjoy! ;)
[ONE Android Development] Klarooo:
I tried TWRP, CWM and Philz and get the same bugs with every Recovery, I think there is a general Problem with the Recoverys for the One. And if you go through the Threads of those Recovery, everywhere the same problems...

I got it booting after the 3 try :D
[ONE Android Development] NinjaPlease:
I got it booting after 3 tries also.
[ONE Android Development] Moose0704:
Thank you! That's good to know! Now we know its a recovery issue and not mahdi!
[ONE Android Development] Klarooo:
No Problem! :)

I hope they will find a solution and fix it soon! Have and had Mahdi on my N4,N5,N7 and G2 and my One screams to get Mahdi too! :) But atm I'm afraid of rebooting my One with Mahdi :D
[ONE Android Development] Moose0704:
I can reboot now like 30 times and have no issue. So I am sorry to hear you are afraid of rebooting lol.

This is a video of mine rebooting, in less than 40 secs with no issues, that is how all of mine are now:

https://www.dropbox.com/s/7upoygi4dk41o5p/IMG_0089.MOV
[ONE Android Development] ak:
Hi, onepone is on the way, and i'm a fun of madhi rom.

I have compiled a lot of times for mako, how i can compile rom from source for onep?

thanks a lot

ak
[ONE Android Development] pro castinato:
but what we need to do ? Why every roms work and boot fine with EACH recovery and not this one ?? Don't think it's a recovery issue sorry , I m using Pac man and work fine with same Cwm , please make a fix , we like this rom we don't want to move
[ONE Android Development] m3dd0g:
Im on latest twrp recovery and everything is working. THX Mahdi for a great rom.
[ONE Android Development] Moose0704:
Glad to hear it! Thank you for your response! What version of TWRP exactly are you running?
[ONE Android Development] zephiK:
Well it is pretty late.

I see that there's a new update in op post. Changelog not quite available yet.
[ONE Android Development] funCrash93:
you mean this ChangeLog.?
[ONE Android Development] zephiK:
No that changelog is dated 05.08 (08/05) OP topic and download link is 08/07.

Some changes I notice is that the model # is now One A0001 and not "One"
[ONE Android Development] Mahdi786:
We already have a network mode tile and an lte tile, what's the bug with recents landscape?

Basically the last build wasn't synced properly with git and all torch options were not working, this build makes torch available in all shortcut options and incoming call torch pulse is fixed too.
[ONE Android Development] zephiK:
Ahh nice. I see theres a built in Torch tile without having to do the Custom tile now. Not sure if it was there on 08/05 but its something I just noticed. Any explanation on why the model # was changed to One A0001? Kinda preferred it being One but not a big deal.
[ONE Android Development] Mahdi786:
Blame cm for that lol☺, I just merged their changes.
[ONE Android Development] zephiK:
:p lol. I just changed it back via build.prop, it just didn't look as nice in tapatalk signatures
[ONE Android Development] Moose0704:
UPDATE

New build out, minor fixes for torch, enjoy! ;)
[ONE Android Development] tehpud:
Thanks Mahdi. Will I have to reflash Franco after uodating ?

On update can I just flash ontoo of current ROM build? No need for wipe?
[ONE Android Development] funCrash93:
yes, I know you have such tiles.

I mean for the existing Network Mode Tile to be able to set what modes to be available for "Toggleing", like for Sound Tile (Sound || Vibrate || Silent || Sound+Vibrate), or like Screen Timeout (1s || 15s || 1m || Never and 30s || 1m || 5m || Never), so that the current NMT will have options to check "2G || 3G || 4G || 2G&3G || 2G&3G&4G". (Native CM has this option). :fingers-crossed:

about Recents : if you have some Recents they will be shown in Portrait, but if you rotate your phone in Landscape Recents will not be shown.

Note! : the above problem is present only when RAM Bar is Enabled. :eek:

---------- Post added at 03:48 PM ---------- Previous post was at 03:47 PM ----------

what about OTA.? :rolleyes:
[ONE Android Development] zephiK:
Yes you have to reflash Franco. When you flash a ROM, a kernel must be included otherwise the phone will not boot without a kernel. Flashing the rom overrides the kernel you have installed already, so you need to reflash Franco to override the stock kernel.

No need to wipe. Just flash mahdi, franco, reboot.

OTA isn't fully working. OPO isn't on their official site yet, just go to OP link and download from there and then flash
[ONE Android Development] funCrash93:
so is it in Progress of implementing.? :fingers-crossed:

dirty flash is ok.?
[ONE Android Development] Prey521:
About to Flash the latest 08-07 ROM....5 step process for me!

-MahdiROM zip

-GApps zip

-VolumeBoost zip

-LTE Icon zip

-Furnace Kernel zip

In that order LOL
[ONE Android Development] zephiK:
yes.

You don't need to reflash the GApps again, the GApps include a backup script so its meant to stay on a wipe flash. I'll have to update the LTE mod, there is a possibility that there wont be a change if the files are the same. volumeboost works 100% its identical to 08/05.
[ONE Android Development] Prey521:
Interesting....didn't know that about the gapps, thanks!
[ONE Android Development] zephiK:
Updated the mod,

Replace 4G icon with LTE 08/07: https://www.mediafire.com/?wd6b6l5xnb2s6ya

Sound Boost for Speakers/In-Call Volume: http://www.mediafire.com/download/1zmb4s5331skdyi/Mahdi_SoundBoost.zip (same as the one before)

I can do SmoothScrollingMod too but didn't have much input on that mod so I decided not to do it. http://xdaforums.com/showpost.php?p=51114977&postcount=210 is a explanation of it. If theres a demand for it I can do it on Mahdi OPO too but I don't want to be doing that many mods that people aren't interested in.
[ONE Android Development] Prey521:
Thanks Zeph, if you ever get to make a SmoothScrolling Mod for the OPO, I'd def be interested. I do hate it when certain apps lag and others don't on a well spec'd device.
[ONE Android Development] zephiK:
Alright I'll get on it and then do some testing before I upload it, probably will be 15-20 minutes. I wonder if I should make my own thread as there are separate threads for smooth scrolling mod. Press on the thanks button it'll go a far way, thanks.
[ONE Android Development] Prey521:
A separate thread for each of your MOD's is probably not a bad idea if the MOD's aren't ROM specific. Those kinds of things tend to get lost in a ROM thread. Thanks!
[ONE Android Development] zephiK:
They are ROM specific as they use Mahdi's original files with modded systemui and framework. The only thing that would work is the VolumeBoost but theres already a pre-existing thread on the Themes & Apps for that. If I have the time, I can take request for other ROMs. Yeah I'll probably make my own thread, I'll update you when I get done. In the process of applying the smoothscrollingmod right now.

Edit: http://xdaforums.com/oneplus-one/th...scrolling-mod-mahdi-rom-t2840934?goto=newpost
[ONE Android Development] eRajesh:
Hmm I am still facing a couple of issues on this ROM, which I thought were fixed.

One is the popular Bacon 55 -- Typing quickly makes the touchscreen think I am swiping when I am actually typing.
[ONE Android Development] DesignGrits:
[IMG="http://cdn.meme.li/instances/500x/53038571.jpg"]http://cdn.meme.li/instances/500x/53038571.jpg[/IMG]

had too ;)
[ONE Android Development] eRajesh:
Forgot to mention the second one: The torch automatically triggering itself even when the device is sleeping. Cannot find any option to disable the V gesture as well.
[ONE Android Development] zephiK:
Its a good thing we aren't playing Fruit Ninja ;)

Mahdi doesn't have "V" torch gesture. Is your slider torch on? Settings -> Lock Screen -> Slider torch (disable it)
[ONE Android Development] DesignGrits:
I have had this issue, if the torch is active you can disable it from the notification drop down.
[ONE Android Development] clownfart:
Quick question:

Is TWRP a requirement or can I use Philz recovery?
[ONE Android Development] zephiK:
Any recovery works. Use whatever recovery you prefer using
[ONE Android Development] clownfart:
Thanks. :):good:
[ONE Android Development] Stylez Ray.:
Has anyone been able to install Google Camera from Play Store? I get a package signed wrong error...
[ONE Android Development] lacartapiualta:
i try out for you and workly good google camera ...

Inviato dal mio One utilizzando Tapatalk
[ONE Android Development] Stylez Ray.:
Which Gapps are you using?
[ONE Android Development] lacartapiualta:
the raccomanded gapps in first page

Inviato dal mio One utilizzando Tapatalk
[ONE Android Development] turilo:
Running champ here so far,excellent ROM!
[ONE Android Development] DesignGrits:
[IMG="Issue with keyboard"]https://lh3.googleusercontent.com/-5IFqQwbIQGQ/U-Pc4l6rkqI/AAAAAAAAO68/ofg26LjmyT4/w1017-h572-no/Screenshot_2014-08-07-13-07-25.png[/IMG]

keyboard =you drunk?
[ONE Android Development] funCrash93:
not quite Blacked Out :D

but never the less, Quite Awesome ROM ;)

Sent from my bacon.
[ONE Android Development] JAMCx:
Calendar Storage- com.android.providers.calendar version 4.4.4- eng.moose0704.20140804.224804

>2,727 wakeup triggers in 9h 14m according to Wakelock Detector, does that sound right? At least 30x more than anything else.
[ONE Android Development] zephiK:
Definitely not normal. Do you need Calendar Sync enabled? Deactivate that if you do in google sync.
[ONE Android Development] JAMCx:
I use CalDav to sync my iCloud calendar and Google for my Google account so I guess I just live with it?? I use the app aCalendar+ to manage both accounts.

Thanks
[ONE Android Development] zephiK:
Well its only the Google Calendar being affected, no you don't have to live with it. Something is affecting it, I'm sure not everybody that uses calendar has 2700+ wakeups. What gapps are you using? Try clearing cache on your calendar and then reboot, re sync calendar and see if it still occurs.
[ONE Android Development] TheSoaresan:
I dunno if it's just me but the sound still comes out of the speakers even after I plug my headphones in. Can anyone confirm if this is just my issue or a bug?
[ONE Android Development] zephiK:
I had that problem, what headphones are you using? The ones I used with a microphone on the headphone had that issue, once I used the splitter that split the headphone and the microphone it worked.
[ONE Android Development] TheSoaresan:
Yeap, they are xioami pistons and they do have a microphone. I tried it with headphones without a microphone and it worked perfectly fine.

You said you 'had' that problem, implying you no longer have that problem. Any idea how you fixed it (other than using headphones without a Mic or splitter)?

Edit: I put the headphones in halfway until I could hear sound coming out from them, then I pushed it in all the way and it continued to work. This works for now :)
[ONE Android Development] zephiK:
Well personally I don't use that headphone on a day-to-day basis, I was just trying it out as its my computer headset. I think its a bug, I'm not sure if its limited to Mahdi ROM or what. My Nexus 5 running Mahdi ROM works with that headset on the OPO... like you said, it will play the music via speakers. I wonder if people encounter this problem on stock ROM. If they do then its a general OPO problem but if not then its a Mahdi problem.

http://assets.razerzone.com/eeimage...r-adapter-for-the-razer-electra-gallery-1.png is pretty much the splitter. Splits the 1 3.5mm jack into 2 separate ones, mic and headphones. On the N5 if I plug the main 3.5mm jack it plays music perfectly.