yashsingh1/xdaforums huggingface dataset:
[ONE Android Development] ShermCraig:
Okay, so I guess my problem was because I did not DISABLE the HARDWARE BUTTONS! :eek: I thought they could both be enabled at the same time. Thanks for your help! :good:
[ONE Android Development] teh roxxorz:
Always the little things, but glad it's working for you. :)
[ONE Android Development] captiv123:
Thanks to everyone for all the support..

A couple of things I noticed lately (not a big deal but wanted to mention them nonetheless) ;

1. When I press the power button, the capacitive lights come on but there is a 1-2 second delay until the screen comes on.

2. When someone calls me, it takes a couple of seconds for the photo and ID to come up.

Running mahdi 0823, smooth scroll, and Franco r14.

Not sure if this happened prior to Franco.

Is anyone else having these issues ?

Any ideas ?

All else running perfectly.

Loving the ROM

Thanks :)
[ONE Android Development] ShermCraig:
Yes to #2! I just flashed Franco today, so I can confirm that it's not the cause. As to your first issue, you don't happen to have any type of power saver running when screen is off? If so, that might cause the delay....
[ONE Android Development] cd69:
Holy guacamole, the battery life on stock kernel for me is great. Bluetooth on for 24 hours, Greenify few Apps, wifi or lte always on.

Thanks for a great rom ?

Oneplus Nexus 5
[ONE Android Development] captiv123:
Donation confirmation #75968449MK796870N

Thanks Mahdi and Co for all your hard work and making this ROM (and my OPO) the best !!

Thanks to everyone for a great community and all your help and support
[ONE Android Development] Salty Wagyu:
Just installed Mahdi, what would be causing the minimum CPU frequency to set itself back to 300mhz every time I try to increase it (either via Settings > Performance, or FKU)? I've also flashed Franco Kernel to see if this would fix it, but it's still happening.

edit: Even Voltage control is resetting back to default after a few seconds. Odd.
[ONE Android Development] zephiK:
Firstly, what is your reasoning behind increasing the minimum CPU frequency? 300 mhz is perfectly fine.

Secondly, in FKU do you have "Set On Boot" enabled? Do you happen to be using my vomertweaks?
[ONE Android Development] Salty Wagyu:
Not using Vomertweaks at the moment. Setting it to minimum of 2.4GHz makes apps such as Sliding Messaging, Falcon Pro, Facebook and Tapatalk have a smoother scrolling experience (your framework.jar mod helps but not fully). It turns out FKU didn't like Superuser, it wasn't a set on boot problem, just that it reverts within a few seconds. Under-volting seems to stick now with SuperSU, and I've left the min at 300mhz as I bit the bullet and switched to ART - everything's smoother now.
[ONE Android Development] zephiK:
FKU doesn't work on Superuser, you need to use SuperSU. It doesn't have init.superuser so the built in superuser doesn't work. But you've already found that out on your own.

I like ART a lot but it makes Facebook app not work, well it does.... but it spends a long time starting the app up.
[ONE Android Development] albyXR:
prevision or news about our Rom? new features and future update?
[ONE Android Development] hamzahrmalik:
How to build from source?

I've initialised this repository using repo init

repo init -u git://github.com/Mahdi-Rom/platform_manifest.git -b kk-4.4.3-caf

But where do i go next?

breakfast bacon gives me this error

File "build/tools/roomservice.py", line 112

except IOError, ES.ParseError:

^

SyntaxError: invalid syntax

bash: make: command not found

** Don't have a product spec for: 'mahdi_bacon'

** Do you have the right repo manifest?

File "build/tools/roomservice.py", line 112

except IOError, ES.ParseError:

^

SyntaxError: invalid syntax

bash: make: command not found

** Don't have a product spec for: 'mahdi_bacon'

** Do you have the right repo manifest?
[ONE Android Development] Prey521:
I can't switch to Art. After I enable Art, it goes through the reboot process but when I check, still set to Dalvik. I'm not using Xposed either, so not sure why that's happening.
[ONE Android Development] amitbhavi:
Can we have original oneplus one lockscreen on this rom
[ONE Android Development] NinjaPlease:
Stated before... No. Sorry.
[ONE Android Development] hamzahrmalik:
[MENTION=4628777]Moose0704[/MENTION] ? [MENTION=4593553]Mahdi786[/MENTION] ?
[ONE Android Development] tehpud:
hey all. running into a fairly troubling issue. i'm very good with battery troubleshooting but this one, i'm stuck.

I am experiencing a huge battery drain from BAM_DMUX_WAKELOCK. It is keeping the device awake and I can't stop it.

What I have done to resolve:

1. Re-flash rom.

2. Remove Franco kernel

3. Flash back Franco on Mahdi

4. Restore to a backup long before this was an issue.

5. Turned off sync services

6. Stopped google play services

7. Stopped google search

Wakelock detector shows the phone has been awake 70% of the time, but no app is keeping it awake. Better Battery Stats shows the BAM_DMUX_WAKELOCK as the item keeping the phone awake. I can't seem to find much on it related to the Oneplus.

Any help would be great.
[ONE Android Development] dayanandgp:
2nd OPO ...

Got my second OPO today morning and guess what , its already running Mahdi :p:p Loved the battery performance,settings and everything ! Only thing i miss from CM11S is the lockscreen :crying: wish you would change mind and put it too ;)
[ONE Android Development] bud77:
Sounds like you didn't set up your build env (And you also totally forgot to "repo sync" before)

You need ALOT of dependencies installed to start compiling

Have a look on those guides, and make a build env, then start compiling :)

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

http://xdaforums.com/showthread.php?t=2639611
[ONE Android Development] hamzahrmalik:
No I didn't

I just forgot to write it

I ran repo sync and I ran build/envsetup.sh

Still no luck
[ONE Android Development] bud77:
You didn't what ?

You build env is clearly missing dependencies :
[ONE Android Development] hamzahrmalik:
My mistake

I've now installed all dependicies as listed on Arch Linux wiki (I'm using arch)

One thing I've noticed is when running build/envsetup.sh it prints

Including device/....

With many different devices but not oneplus one

EDIT

heres what terminal prints

(venv)[hamzah@localhost system]$ source build/envsetup.sh

including device/generic/armv7-a-neon/vendorsetup.sh

including device/generic/mips/vendorsetup.sh

including device/generic/x86/vendorsetup.sh

including device/samsung/manta/vendorsetup.sh

including device/asus/flo/vendorsetup.sh

including device/asus/deb/vendorsetup.sh

including device/asus/tilapia/vendorsetup.sh

including device/asus/grouper/vendorsetup.sh

including device/lge/mako/vendorsetup.sh

including device/lge/hammerhead/vendorsetup.sh

including vendor/mahdi/vendorsetup.sh

including sdk/bash_completion/adb.bash

(venv)[hamzah@localhost system]$ breakfast bacon

including vendor/mahdi/vendorsetup.sh

ls: cannot access device/*/bacon/mahdi.mk: No such file or directory

build/core/product_config.mk:232: *** Can not locate config makefile for product "mahdi_bacon". Stop.

you device can't be found in device sources..

Traceback (most recent call last):

File "build/tools/roomservice.py", line 296, in <module>

fetch_device(device)

File "build/tools/roomservice.py", line 267, in fetch_device

git_data = search_github_for_device(device)

File "build/tools/roomservice.py", line 68, in search_github_for_device

check_repo_exists(git_data)

File "build/tools/roomservice.py", line 52, in check_repo_exists

"roomservice".format(device, android_team))

Exception: bacon not found in Mahdi-Rom Github, exiting roomservice

ls: cannot access device/*/bacon/mahdi.mk: No such file or directory

build/core/product_config.mk:232: *** Can not locate config makefile for product "mahdi_bacon". Stop.

** Don't have a product spec for: 'mahdi_bacon'

** Do you have the right repo manifest?
[ONE Android Development] bud77:
You are missing the bacon device trees in your local manifest :

PS : Mahdi is using it's own kernel tree, replace the kernel part from mahdi's git

Edit : Try to "lunch bacon" before breakfast

Edit 2 : Seems like Mahdi is using it's own trees, don't use those above, but those :

https://github.com/Mahdi-Rom/android_device_oneplus_bacon

https://github.com/Mahdi-Rom/android_kernel_oneplus_msm8974

https://github.com/Mahdi-Rom/android_device_oppo_msm8974-common

https://github.com/Mahdi-Rom/android_device_oppo_common

https://github.com/Mahdi-Rom/android_hardware_qcom_display-caf-new

https://github.com/Mahdi-Rom/android_hardware_qcom_media-caf-new
[ONE Android Development] Mahdi786:
Hey sorry for the late reply, you only need to grab device/oppo/common from my github when you start the build it will grab the other device trees, you will also need the vendor blobs grab them from here:

https://github.com/MrTumbles/andrbacon-userdebug

https://github.com/MrTumbles/android_vendor_oneplus

Command for building is:

. build/envsetup.sh

brunch mahdi_bacon-userdebug

New build will be out hopefully tomorrow, merged cm's latest kernel changes, SRE feature and theme engine fixes. Other than that just some clean up and fixes for adding numbers to blacklist and a small fix in MMS for theming.

Those asking for cm lockscreen support, its not going to happen because this is not cm or cm based, some important projects are merged with cm but not enough to make lock screen work because it leaves a nullpointer due to missing multisim support which is not in this ROM.
[ONE Android Development] redukt:
Sorry guys - can we stand this thread as it is? basically romspecific?

I think all ownbuilding questions can discuss via PM or in an extra thread before we´re losing the survey...

Thx in advance :)
[ONE Android Development] Salty Wagyu:
Does Screen Recorder work in latest build for anyone else? When I stop a recording it shows "Unfortunately, ScreenRecorder has stopped". I start it via Power menu (it doesn't appear to have a drawer shortcut). Wondered if it's because I'm using ART.
[ONE Android Development] teh roxxorz:
I'm on the latest version and screen recording works. I'm also on dalvik. Additionally you can press vol up + power to enable screen recording, and press the same button combo again to stop it.
[ONE Android Development] wizard6498:
Man I had the same experience. .. I quit around 1230am and resumed at 4am... and the camera would not work. Restored CM11s
[ONE Android Development] CoCoGirl886:
I'm wondering if anyone has come across the following problem or know how to fix it? (I tried doing a search through recent posts in this thread, but didn't find anything): Basically, there would be times when my camera just decides to stop working and I can't access it unless I restart my phone :(.

I also have an issue where my sound would stop working and I would have to reboot as well. I read an earlier post that it's a known issue from cm?
[ONE Android Development] jahrule:
Have you tried using the Cm11s camera from post 3 of this thread? Also, did you do a clean flash ?
[ONE Android Development] zephiK:
What gapps are you using?
[ONE Android Development] albyXR:
Hi friends, If I flash the smooth scrolling for the madhi Rom (version 23/08) I will lost this Mod when I flash the new version of Madhi in the next days?

does this Mod increase also the battery life?
[ONE Android Development] bud77:
Seems like you totally forgot you are in development thread

Own building is not misplaced here ... ;)
[ONE Android Development] faisus:
hii..im not able to download the rom from the links available as it is down i believe...could somebody plz provide me the link to private tracker also i would like to instal dark gapps n if somebody can point me to the right direction..thnxx n cheers
[ONE Android Development] hamzahrmalik:
Thanks but first link is 404

---------- Post added at 12:09 PM ---------- Previous post was at 11:59 AM ----------

<project name="Mahdi-Rom/android_device_oppo_common" path="device/oppo/common" remote="github" />

<project name="TheMuppets/proprietary_vendor_oppo" path="vendor/oppo" remote="github" />

<project name="TheMuppets/proprietary_vendor_oneplus" path="vendor/oneplus" remote="github"/>

i added that to my default.xml

Although the links open in my browser, repo sync tells me it failed to fetch

It runs like normal, it doesn't fetch most things, because i ran the sync before adding the aforemenioned to manifest

But at the end it goes

.....

.....

Fetching project Mahdi-Rom/android_external_flac

Fetching projects: 99% (456/460) Fetching project device/sample

fatal: Couldn't find remote ref refs/tags/android-4.4.4_r2

fatal: Couldn't find remote ref refs/tags/android-4.4.4_r2

fatal: Couldn't find remote ref refs/tags/android-4.4.4_r2

error: Cannot fetch Mahdi-Rom/android_device_oppo_common

error: Cannot fetch TheMuppets/proprietary_vendor_oppo

error: Cannot fetch TheMuppets/proprietary_vendor_oneplus

error: Exited sync due to fetch errors

and then terminates

I should add i'm using repo sync -c -j4
[ONE Android Development] Mahdi786:
Seems like your not too familiar with building, you shouldn't add anything to default.xml unless your going to push your own manifest to your github, there's a folder in .repo called local_manifest which contains a file called roomservice.xml which you can add stuff to, this gets created the first time you start a build were it adds the necessary projects from dependencies file in the device tree. Only nexus device trees are in my manifest just like aosp so if your building for opo you have to grab this:

https://github.com/Mahdi-Rom/android_device_oneplus_bacon

Easiest way would be to git clone, so make a folder in device called oneplus and cd to device/oneplus in terminal, then type:

git clone https://github.com/Mahdi-Rom/android_device_oneplus_bacon

Now you have the device tree which contains all the dependencies for linked device trees and kernel.

You can't use TheMuppets vendor blobs because they contain qcoms location app which causes serious lag on boot which is why I linked you to my blobs here https://github.com/MrTumbles, git clone these into vendor/ now your ready to start your build. I suggest you remove the changes you made in default.xml and sync again, once you've synced correctly then follow the steps I have just explained.

Remember after git cloning you have to rename the folder from eg.. android_vendor_oneplus to just oneplus.

If you do have any other issues just pm me to avoid large post like these so the average user can follow the thread easier, thanks.

---------- Post added at 01:11 PM ---------- Previous post was at 12:46 PM ----------

Hey, I missed your post, thanks a lot for the donation really appreciate it.
[ONE Android Development] bud77:
Sorry about TheMuppets, I gave him those trees, and I didn't noticed you used another tree, until I dig on mahdi's git ... sorrrrryyyyy :)
[ONE Android Development] tehpud:
just an update so new readers aren't concerned. my battery drain was not ROM related but a bad app I cleared out had not fully been uninstalled thus causing my modem on the phone to constantly ping a server. problem solved.
[ONE Android Development] albyXR:
Hi Madhi, any changes or future features?

Only to know the criterial of the updating of this Rom cause I discover that other Rom like Cr droid received updates every 2-3 days...

anyway thanks I am running madhi + AK kernel
[ONE Android Development] zephiK:
He'll post a changelog when the download is available. Alternatively, you can look at the github commits.
[ONE Android Development] Mahdi786:
We've kind of reached the end with this project and updates will mostly include fixes for theme engine and updates from cm for the oneplus. I will hopefully be uploading a build soon which is currently up to date with cm regarding new vendor blobs, kernel updates and some other small fixes here and there, I'll also update the changelog soon.
[ONE Android Development] Mahdi786:
New build is up, changelog in the op has been updated.

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

-Theme chooser updates from cm

-Kernel updates and fixes

-Vendor blobs updated

-Caf hardware projects updated

-Apn updates

-Added sunlight readability enhancement

-Removed lock screen custom color options

-TrafficMeter: fix monitor visibility when wifi or mobile data is disabled

-Smal fix in Mms for theming background

-Blacklist: fix not being able to add wildcards and short numbers

-Big French and Japanese translation update thanks to [MENTION=4584270]The Tox[/MENTION] and others

If you want more info on any of these updates please check the detailed changelog in the op.
[ONE Android Development] zephiK:
-Added sunlight readability enhancement

Interesting.... always had a problem with my OPO outside in sunlight.
[ONE Android Development] simo.scorpion:
No ota?

Inviato dal mio OnePlus One
[ONE Android Development] zephiK:
Not up on their official website yet so until its posted there the ota won't detect a new version. Just download and flash using TWRP.

SmoothScrollingMod for 08/29 updated. http://xdaforums.com/oneplus-one/themes-apps/mod-smooth-scrolling-mod-mahdi-rom-t2840934
[ONE Android Development] akarol:
Why won't Madhi include this tweak into the Rom itself?
[ONE Android Development] zephiK:
Because that'd mean they put me out of business of my thread, shhhh ;)

No but seriously, they probably just want to conform with stock settings as Google/CM/LG/Samsung/Sony/HTC/etc leaves scrolling cache enabled.
[ONE Android Development] amitbhavi:
Downloading.....
[ONE Android Development] akarol:
Lol. Makes sense... Thanks!
[ONE Android Development] dayanandgp:
downloading the new OTA !

When you say end of the project, would you stop taking in optimization/updates from CM in the coming weeks or continue updating your rom with them ? Just concerned :)
[ONE Android Development] teh roxxorz:
New build running fine, to include pinch to zoom.

And basically just updates to the kernel and other system things. Meaning feature and development wise, the ROM is sufficient, as there are no outstanding bugs or critical features needed
[ONE Android Development] zephiK:
Was anyone able to find the Sunlight feature? I search for it within Settings and it says its under Display but then I can't find it anywhere?
[ONE Android Development] jarjar124:
I think the kernel needs to support it also for it to work.
[ONE Android Development] zephiK:
Hm I see, that would explain why its missing. Can anyone confirm that the option is there on stock Mahdi kernel?
[ONE Android Development] Mr Woolf:
Thanks mate, I've already flashed ROM and correct apps, I was trying to avoid deleting the myriad of gapps i don't need. I normally flash micro gapps and was hoping I could do the same on this ROM. No worries, I'll get chopping. :)
[ONE Android Development] pro castinato:
Damn I have flashed the old one ... Do you think I can flash last Gapps on the one I already installed on my device ? :-/ Don't think ...
[ONE Android Development] bud77:
No, just read my post #160 :p
[ONE Android Development] pro castinato:
Ha I already read it I thought you speak about theming issues .. No problem I will wait on the next one so :) Thanks man !
[ONE Android Development] zephiK:
First thing I did when unboxed it was to flash MAHDI with Franco r4 from OP post. Decided to be a rebel and use minimal gapps that was pretty common from the Nexus line http://xdaforums.com/google-nexus-5/themes-apps/standard-minimal-gapps-t2012857 -- works just fine, not experiencing any problems and there are less Google Apps bloatware. So far feeling the same experience as N5 but with the buffed up specs that 1+1 has to offer.
[ONE Android Development] NinjaPlease:
You only need to flash gapps once. After that, if there are updates, you can update them on the play store.
[ONE Android Development] Moose0704:
Build with theme engine fix has not bee posted yet that is why.
[ONE Android Development] iscraigh:
have a strange bug can someone try this and confirm that it is not just me.

07/14 build

modular full gapps

open the dialer and use the search for a person (IE start typing a name in the search bar) for me the dialer closes. I can use the people app just fine. I have cleared data and cache but no change.

Thanks

Craig
[ONE Android Development] zephiK:
Not having any problems here.
[ONE Android Development] iscraigh:
This is the log when I did it.

IInputConnectionWrapper(31451): showStatusIcon on inactive InputConnection

07-16 17:41:32.794 I/Timeline(31451): Timeline: Activity_idle id: android.os.BinderProxy@41945230 time:8321640

I used a program called get logs is there another way I should be getting the log file?

Thanks

Craig
[ONE Android Development] NinjaPlease:
I have the same issue.
[ONE Android Development] RukusX7:
I also experience the dialer issue.
[ONE Android Development] iscraigh:
okay we have a repeatable bug yeah. Not sure if that snippet of a log was what team mahdi looks for but if it is not please post the command to get the correct log and I will be glad to provide it.

Craig
[ONE Android Development] zephiK:
Hmm, well I am using the BaNkS gapps but I don't think that matters. Clean flash from 07/14 using Franco Kernel r4.
[ONE Android Development] RukusX7:
I agree. I've rebooted since then to try out furnace kernel, and I didn't save a logcat. But after a reboot the T9 speed dial is working properly for me.

Would you mind testing your T9 speed dial? Thank you.
[ONE Android Development] Mahdi786:
I can't reproduce this dialer issue on my galaxy s4, I'll need a proper log and some more info your setup guys, themes etc...

For anyone interested, if you go to Settings > About > Updates you will see a bug report option, the bug report zip gets save in a folder called mahdi in the root of you sdcard.
[ONE Android Development] iscraigh:
Just to be clear this is not a t9 speed dial issue for me that works fine. This only happens if I do a search from the dialer with the regular keyboard.

Mahdi

I will do a bug report right now, I knew there was an easy way I just couldn't find it.

Craig
[ONE Android Development] iscraigh:
ok here it is i performed a search at 8:16 pm
[ONE Android Development] Mahdi786:
Can you switch lookup options off in dialer settings and see if it stops the force close
[ONE Android Development] iscraigh:
You nailed it, if i turn off forward and people lookup it doesn't force close I can have reverse lookup on.

Craig
[ONE Android Development] Vortex1969:
Your right the kernel has to support it. When it was added to another ROM the OP said for it to work you had to use his stock kernel. I think [MENTION=3685904]ak[/MENTION] added it.

Edit ak did add it to his kernel I just checked.
[ONE Android Development] Mahdi786:
Franco probably hasn't added support for it yet.
[ONE Android Development] zephiK:
Ah so its kernel dependent.
[ONE Android Development] Saythis:
It was a recent CM commit/addition so I'd imagine it'll be added in the next Mahdi release.
[ONE Android Development] Mahdi786:
So you don't have the option in display settings? Even if you are using a kernel which doesn't support it the setting should still show up because it checks if cmhw framework is installed.
[ONE Android Development] zephiK:
Nope it doesn't show up. When I search for the setting, it does go to display.

Edit: I did do the smooth scrolling mod but it shouldn't affect it anyways as it touches nothing related to that.
[ONE Android Development] bud77:
You dirty flashed I guess ;)
[ONE Android Development] Vortex1969:
It works the same way on crdroid if the kernel didn't support it. The option was not in setting.
[ONE Android Development] zephiK:
I like to take things the risky way ;)
[ONE Android Development] teh roxxorz:
Ha ha. AK kernel has the sunlight option. Not gona post a screenie as someone already did

Sent from a tablet thingy
[ONE Android Development] Oktasus:
good evening i must say the Rom is perfect, thx allot , can some one please tell me how can i close the tasks when i enable slim recent? only by swipe them one by one away or is there an option to close them all.
[ONE Android Development] Jonaaaazz:
Can't send sms after update?