[ROM] [4.4.4] [p880] Mahdi-Rom 2.9 (Final) Unofficial [1-12-14]

Search This thread

alfsamsung

Senior Member
Oct 20, 2010
366
1,776
Mahdi-Rom

Nexus%204%20OP.gif



Code:
[CENTER][B][COLOR="Red"]Your warranty is now void![/COLOR][/B]
I am not responsible for bricked devices, dead SD cards,
thermonuclear war, or you getting fired because the alarm app failed. Please
do some research if you have any concerns about features included in this ROM
before flashing it! YOU are choosing to make these modifications, and if
you point the finger at me for messing up your device, I will laugh at you. [/CENTER]





Features:


Settings menu

Sound
- DSP Manager (Music Effects)
- Quiet hours
- Ascending ringtone
- Volume panel timeout
- Less frequent notification sounds
- Control volume adjust sound
- Launch music app on headset connect
- Control safe headset volume
- Power connect notification control
- Apollo as Default Music App
- Volume steps
- Volume rocker music controls
- Volume default
- Volume adjust sound
- Reorient volume buttons
- Safe headset volume
- Power sounds
Display
- Advanced auto brightness control
- Advanced wallpaper control
- Full rotation control including lockscreen
- Screen record with audio
- Notification LED Control
- Battery LED Control
- Wake up device on plugin/unplug
- (Double-tap to wake) This is not supported in kernel
- Adaptive backlight
- Screen color
Security
- Variable size pattern unlock
- Pin keypad shuffler
- Lock before unlock
- Privacy guard
- Blacklist
Languages & input
- Auto keyboard rotation
- Disable fullscreen keyboard
- Selector notification
- Volume key cursor control
Developer options
- Advanced reboot
- Enable Quickboot mode
- ADB over network
- Development shortcut in recent apps list
- Show cpu info
- Change device hostname
Themes
- Dark-UI
- CM11 theme engine

Customization menu

Navigation
- Hardware button options
- Disable hardware buttons
- Pie Navigation
- Navbar Options
Status bar
- Clock and date customisation
- Battery customisation
- Battery bar
- Show battery status percent
- Notification count
- Network speed indicator
- Statusbar brightness control
- Double tap to sleep options
- Immersive mode
Panel settings
- Notification drawer options
- Background style options
- Quick pulldaown
- Smart pulldown
- Show smaller tiles
- Flip tiles
- Tiles and layout options
- Dynamic tiles
Notifications
- Heads up
- Enable notification reminder
- Lock screen notification options
- Peek
Multitasking
- AOSP recents
- Slim recents
Power menu
- Profile switcher
- Immersive mode
- Screenshot
- Screen record
- On-The-Go Mode
Lock screen
- Targets customisation
- Battery level on lock ring
- Slider Torch
- See through settings
- Style customizations
- Maximize widgets option
Animation control
- Screen off
- Toast
- System
- Listview
- Scrolling
- Keyboard
- Progress bars
Shake Events
- Shake sensitivity
- Keyguard
Driving mode
- Incoming call
- Read new message
- Battery full indicator
- Connect charger
- Disconnect charger
- Clock
- Date
- Music Track
- Notification
- Read new notifications
- Included apps
- Less frequent speak notificatons




The kernel included is based on Iodak's great work:
-Original kernel thread
-Removed OTG support.
-Cangelog is on post #2

mahdi-p880:
-With JustArchi's ArchiDroid Optimizations V3


Download:

ROM HERE or you can find latest version also HERE
GAPPs HERE Don't use google stock package


Installation instructions:
Installing Mahdi-Rom for the first time, or coming from another ROM:
- Make sure you're running a proper working ClockworkMod-Recovery/Team Win Recovery Project for ext4
- Copy GApps and ROM ZIP to your SDCard
- Boot into Recovery
- Make a backup of your current rom just in case
- Wipe data, cache and dalvik-cache
- Flash Mahdi-Rom zip from SDCard
- Flash GApps zip from SDCard
- Reboot
- Don't restore system data using Titanium Backup!
- I don't recommend changing kernel.

Upgrading from an earlier version:
- Copy the ROM ZIP to your SDCard
- Boot into Recovery
- Wipe cache and dalvik-cache
- Flash the ROM zip from SDCard
- Reboot


Sources:

Mahdi-Rom: here
device_lge_p880: here
kernel: here (Sorry for the mess, I have some cleaning to do.)
repo patches: here


Thanks:

Mahdi-Rom (Mahdi789) for his great work on this rom.Make sure that any donations goes to him.
Iodak for letting me use his kernel as a base.
p880-dev team (Demetris, Adam77Root, laufersteppenwolf)
JustArchi

Also thanks to:
Google
Cyanogenmod
Slim ROM
Omni ROM
ChameleonOS
ParanoidAndroid



Changelog:

Mahdi-Rom changelog: Detailed: here Short: here
Device and kernel on post #2
 
Last edited:

alfsamsung

Senior Member
Oct 20, 2010
366
1,776
Bugs:
-screenrecord
-??

Notes:
-Selinux is in permissive mode for now.You can change it to enforce by typing setenforce 1 in terminal.


Changelog:
01-12-14:
Kernel:

-LG stock updates from v20a to v20c october 2014.
-check github.
Device:
-Added misc patches from cm11.
-Fix button backlight setting not saved after reboot.
-Change to bionic from VanirAOSP.

08-11-14:
Kernel:

-cpu-tegra: set max freq during init. Some times the capped_screenoff was used during boot.
-Updates to smp,cpu and more. Check github for more info
Device:
-Merge Mahdi updates.
-Update lg blobs from v20C 7-10-14
-Add back TARGET_ENABLE_OFFLOAD_ENHANCEMENTS, but disable by default in build.prop. You can edit build.prop if you want to test.
-AbsListView-add-option-to-disable-scrolling-cache from cm10.1

29-10-14:
Kernel:

-Add cpu_resume_boost @ 1300MHz for faster screen on when in deep sleep.
-Tweak cpuquiet for battery life
-sound: tegra: Increase audio gain a little and increase bt rate from 8000 to 16000. Set bluetooth to 2 channels
-Add back FORCE_FAST_CHARGE and change it to only increase dc liminit, not change usb mode.
-Increase POWER_SUPPLY_TYPE_USB limit to 1200mA.
-Updates to video/tegra, rcu, cpuidle, mm
-And a lot more, check github
Device:
-Merge Mahdi updates. New Tinted system bars.
-add fs check on data and cache partition. Enable encryption via use of FOT partition (credits: Demetris)
-Config: Test a new gps config with a proper signed cert.
-Overlay: Add modem configs
-Less strict permission on storage
-Revert Enable support for PCM offload and 24-bit playback

01-10-14:
Kernel:

-Change GCC to Linaro 4.8 for kernel
-Fix io power detection
Device:
-Merge Mahdi updates.
-Test a possible hdmi fix?

26-9-14:
Kernel:

-Stop cpwatcher when a ril recovery is in progress
Device:
-Merge Mahdi updates.
-Enable support for PCM offload and 24-bit playback
-Enable batched scan in wifi
-media_profiles: Fix 480p video recording, replace qcif with a qvga profile and remove cif profile
-A new build.prop setting for crt anim duration: debug.electron.duration

17-9-14:
Kernel:

-WLAN subsystem: Sysctl support for key TCP/IP parameters
-Create shadow files under /sys/kernel/ipv4
Device:
-Fix Google Camera lens blur rendering by reverting to GCC 4.7
-Merge Mahdi updates.

14-9-14:
Kernel:

-Fixed a hotplug bug that sometimes made the device slow to wake from deep sleep.
-Increase default capped_screenoff freq to 620000
Device:
-Added OmniSwith
-Added download link and xda link to MahdiCenter

06-9-14:
Kernel:

-Fixed wifi hotspot
Device:
-Added battery_light config option.


03-9-14-Beta:
Kernel:

-Updated baseband_xmm and raw_ip drivers.
-A lot of rewriting and cleaning to ts0710_mux and cpwatcher. When a recovery starts a KEY_POWER event will be sendt, so your screen will switch state.(This is to "wake" RIL so the recovery can start)
-Updated wifi driver from google android-tegra-3.10
-Updated cpuquiet driver
-RIL Recovery should now work with X3RIL.java in device (I hope??)
-Removed OTG support.
-A lot more... check git
Device:
-Based on CM11
-Built with googles GCC 4.8
-Built with JustArchi's ArchiDroid Optimizations V3
-RIL Recovery should now work. (I hope??)
-Added NT_MODE_GSM_UMTS (GSM/WCDMA auto mode, according to PRL) to network choice. This is maybe better for the users with network problems? Some says its better for battery? It's called "3G UMTS" in settings.
-check git for more


Something to play with:
sys/module/baseband_xmm_power/parameters/autosuspend_delay ///300 msec usb autosuspend delay when screen is off
sys/module/baseband_xmm_power/parameters/long_autosuspend_delay ///2500 msec usb autosuspend delay when screen is on
sys/module/ts0710_mux/parameters/ril_recovery_cnt ///A RIL recovery counter (It might count 2 times if it's an usb disconnect)
 
Last edited:

alfsamsung

Senior Member
Oct 20, 2010
366
1,776
TARGET_BUILD_VARIANT := user

Sometimes when I feel like it I will upload a user variant of this rom.User variant enables odexing and disables some debug modules which makes the rom "lighter". It is still rooted and have superuser.

This version is also built with GCC Linaro 4.8 on kernel and 4.9 on rom which breaks Google camera lens blur rendering..

Download: HERE
Latest version: 01-12-14 New:Fix google play icons, kernel built with "light" config (with disabled debug, tracing and verbose) and Linaro 4.9 on rom.
 
Last edited:

abhi08638

Senior Member
Jul 11, 2012
2,165
4,385
Awesome work! I was honestly so confused when I saw that this was for the P880 because it very popular in the OnePlus One forums lol. Anyway keep up the great work!

sent from my amazingly awesome OnePlus One

don't forget to hit thanks!
 

BOli3

Member
Jun 3, 2014
27
5
Aversa
Very good, excellent work!

I'm intrigued by the "double tap to wake" I saw in the Display, it works by default? And then a question, since it is the kernel is based on Iodak, OTG does it work?

Thanks for everyone's work! :good:
 

Jansxel

Senior Member
Mar 20, 2014
389
59
First,Your Rom Is Nice And AWESOME! Keep Going @alfsamung.
I Got Bootlop On Installing Walkman 1.7 This Bug Is Also In CM11 And Vanir IDK Why? But Can You Fix It?
 

Flying_Bear

Senior Member
Jan 16, 2011
1,874
799
Wifi Hotspot Working here Proof

Me too

it was even a clean install & everything... i'll give it another flash


edit:
nope, clean flash, nothing else flashed & still not working.

edit2:
btw it's interesting that this rom shows 979 MB of RAM available for our device, while (if i recall correctly) others showed 973.
in addition, the baseband version is sometimes read as eur-xxx, and sometimes with it's proper designation. i encourage people with connectivity problems to try out this rom and tell us if network is more stable.

thanks for the rom
 
Last edited:

alfsamsung

Senior Member
Oct 20, 2010
366
1,776
Very good, excellent work!

I'm intrigued by the "double tap to wake" I saw in the Display, it works by default? And then a question, since it is the kernel is based on Iodak, OTG does it work?
The kernel does not support double tap to wake. OTG support is removed.

First,Your Rom Is Nice And AWESOME! Keep Going @alfsamung.
I Got Bootlop On Installing Walkman 1.7 This Bug Is Also In CM11 And Vanir IDK Why? But Can You Fix It?
Where can I find Walkman 1.7? Is it an app for a specific device?

How can I dislable the buttons light when the phone is charging ? I dont see the option
You can't for now, but it will be fixed in next version.
 
  • Like
Reactions: tiflao and BOli3

Top Liked Posts

  • There are no posts matching your filters.
  • 45
    Mahdi-Rom

    Nexus%204%20OP.gif



    Code:
    [CENTER][B][COLOR="Red"]Your warranty is now void![/COLOR][/B]
    I am not responsible for bricked devices, dead SD cards,
    thermonuclear war, or you getting fired because the alarm app failed. Please
    do some research if you have any concerns about features included in this ROM
    before flashing it! YOU are choosing to make these modifications, and if
    you point the finger at me for messing up your device, I will laugh at you. [/CENTER]





    Features:


    Settings menu

    Sound
    - DSP Manager (Music Effects)
    - Quiet hours
    - Ascending ringtone
    - Volume panel timeout
    - Less frequent notification sounds
    - Control volume adjust sound
    - Launch music app on headset connect
    - Control safe headset volume
    - Power connect notification control
    - Apollo as Default Music App
    - Volume steps
    - Volume rocker music controls
    - Volume default
    - Volume adjust sound
    - Reorient volume buttons
    - Safe headset volume
    - Power sounds
    Display
    - Advanced auto brightness control
    - Advanced wallpaper control
    - Full rotation control including lockscreen
    - Screen record with audio
    - Notification LED Control
    - Battery LED Control
    - Wake up device on plugin/unplug
    - (Double-tap to wake) This is not supported in kernel
    - Adaptive backlight
    - Screen color
    Security
    - Variable size pattern unlock
    - Pin keypad shuffler
    - Lock before unlock
    - Privacy guard
    - Blacklist
    Languages & input
    - Auto keyboard rotation
    - Disable fullscreen keyboard
    - Selector notification
    - Volume key cursor control
    Developer options
    - Advanced reboot
    - Enable Quickboot mode
    - ADB over network
    - Development shortcut in recent apps list
    - Show cpu info
    - Change device hostname
    Themes
    - Dark-UI
    - CM11 theme engine

    Customization menu

    Navigation
    - Hardware button options
    - Disable hardware buttons
    - Pie Navigation
    - Navbar Options
    Status bar
    - Clock and date customisation
    - Battery customisation
    - Battery bar
    - Show battery status percent
    - Notification count
    - Network speed indicator
    - Statusbar brightness control
    - Double tap to sleep options
    - Immersive mode
    Panel settings
    - Notification drawer options
    - Background style options
    - Quick pulldaown
    - Smart pulldown
    - Show smaller tiles
    - Flip tiles
    - Tiles and layout options
    - Dynamic tiles
    Notifications
    - Heads up
    - Enable notification reminder
    - Lock screen notification options
    - Peek
    Multitasking
    - AOSP recents
    - Slim recents
    Power menu
    - Profile switcher
    - Immersive mode
    - Screenshot
    - Screen record
    - On-The-Go Mode
    Lock screen
    - Targets customisation
    - Battery level on lock ring
    - Slider Torch
    - See through settings
    - Style customizations
    - Maximize widgets option
    Animation control
    - Screen off
    - Toast
    - System
    - Listview
    - Scrolling
    - Keyboard
    - Progress bars
    Shake Events
    - Shake sensitivity
    - Keyguard
    Driving mode
    - Incoming call
    - Read new message
    - Battery full indicator
    - Connect charger
    - Disconnect charger
    - Clock
    - Date
    - Music Track
    - Notification
    - Read new notifications
    - Included apps
    - Less frequent speak notificatons




    The kernel included is based on Iodak's great work:
    -Original kernel thread
    -Removed OTG support.
    -Cangelog is on post #2

    mahdi-p880:
    -With JustArchi's ArchiDroid Optimizations V3


    Download:

    ROM HERE or you can find latest version also HERE
    GAPPs HERE Don't use google stock package


    Installation instructions:
    Installing Mahdi-Rom for the first time, or coming from another ROM:
    - Make sure you're running a proper working ClockworkMod-Recovery/Team Win Recovery Project for ext4
    - Copy GApps and ROM ZIP to your SDCard
    - Boot into Recovery
    - Make a backup of your current rom just in case
    - Wipe data, cache and dalvik-cache
    - Flash Mahdi-Rom zip from SDCard
    - Flash GApps zip from SDCard
    - Reboot
    - Don't restore system data using Titanium Backup!
    - I don't recommend changing kernel.

    Upgrading from an earlier version:
    - Copy the ROM ZIP to your SDCard
    - Boot into Recovery
    - Wipe cache and dalvik-cache
    - Flash the ROM zip from SDCard
    - Reboot


    Sources:

    Mahdi-Rom: here
    device_lge_p880: here
    kernel: here (Sorry for the mess, I have some cleaning to do.)
    repo patches: here


    Thanks:

    Mahdi-Rom (Mahdi789) for his great work on this rom.Make sure that any donations goes to him.
    Iodak for letting me use his kernel as a base.
    p880-dev team (Demetris, Adam77Root, laufersteppenwolf)
    JustArchi

    Also thanks to:
    Google
    Cyanogenmod
    Slim ROM
    Omni ROM
    ChameleonOS
    ParanoidAndroid



    Changelog:

    Mahdi-Rom changelog: Detailed: here Short: here
    Device and kernel on post #2
    15
    Bugs:
    -screenrecord
    -??

    Notes:
    -Selinux is in permissive mode for now.You can change it to enforce by typing setenforce 1 in terminal.


    Changelog:
    01-12-14:
    Kernel:

    -LG stock updates from v20a to v20c october 2014.
    -check github.
    Device:
    -Added misc patches from cm11.
    -Fix button backlight setting not saved after reboot.
    -Change to bionic from VanirAOSP.

    08-11-14:
    Kernel:

    -cpu-tegra: set max freq during init. Some times the capped_screenoff was used during boot.
    -Updates to smp,cpu and more. Check github for more info
    Device:
    -Merge Mahdi updates.
    -Update lg blobs from v20C 7-10-14
    -Add back TARGET_ENABLE_OFFLOAD_ENHANCEMENTS, but disable by default in build.prop. You can edit build.prop if you want to test.
    -AbsListView-add-option-to-disable-scrolling-cache from cm10.1

    29-10-14:
    Kernel:

    -Add cpu_resume_boost @ 1300MHz for faster screen on when in deep sleep.
    -Tweak cpuquiet for battery life
    -sound: tegra: Increase audio gain a little and increase bt rate from 8000 to 16000. Set bluetooth to 2 channels
    -Add back FORCE_FAST_CHARGE and change it to only increase dc liminit, not change usb mode.
    -Increase POWER_SUPPLY_TYPE_USB limit to 1200mA.
    -Updates to video/tegra, rcu, cpuidle, mm
    -And a lot more, check github
    Device:
    -Merge Mahdi updates. New Tinted system bars.
    -add fs check on data and cache partition. Enable encryption via use of FOT partition (credits: Demetris)
    -Config: Test a new gps config with a proper signed cert.
    -Overlay: Add modem configs
    -Less strict permission on storage
    -Revert Enable support for PCM offload and 24-bit playback

    01-10-14:
    Kernel:

    -Change GCC to Linaro 4.8 for kernel
    -Fix io power detection
    Device:
    -Merge Mahdi updates.
    -Test a possible hdmi fix?

    26-9-14:
    Kernel:

    -Stop cpwatcher when a ril recovery is in progress
    Device:
    -Merge Mahdi updates.
    -Enable support for PCM offload and 24-bit playback
    -Enable batched scan in wifi
    -media_profiles: Fix 480p video recording, replace qcif with a qvga profile and remove cif profile
    -A new build.prop setting for crt anim duration: debug.electron.duration

    17-9-14:
    Kernel:

    -WLAN subsystem: Sysctl support for key TCP/IP parameters
    -Create shadow files under /sys/kernel/ipv4
    Device:
    -Fix Google Camera lens blur rendering by reverting to GCC 4.7
    -Merge Mahdi updates.

    14-9-14:
    Kernel:

    -Fixed a hotplug bug that sometimes made the device slow to wake from deep sleep.
    -Increase default capped_screenoff freq to 620000
    Device:
    -Added OmniSwith
    -Added download link and xda link to MahdiCenter

    06-9-14:
    Kernel:

    -Fixed wifi hotspot
    Device:
    -Added battery_light config option.


    03-9-14-Beta:
    Kernel:

    -Updated baseband_xmm and raw_ip drivers.
    -A lot of rewriting and cleaning to ts0710_mux and cpwatcher. When a recovery starts a KEY_POWER event will be sendt, so your screen will switch state.(This is to "wake" RIL so the recovery can start)
    -Updated wifi driver from google android-tegra-3.10
    -Updated cpuquiet driver
    -RIL Recovery should now work with X3RIL.java in device (I hope??)
    -Removed OTG support.
    -A lot more... check git
    Device:
    -Based on CM11
    -Built with googles GCC 4.8
    -Built with JustArchi's ArchiDroid Optimizations V3
    -RIL Recovery should now work. (I hope??)
    -Added NT_MODE_GSM_UMTS (GSM/WCDMA auto mode, according to PRL) to network choice. This is maybe better for the users with network problems? Some says its better for battery? It's called "3G UMTS" in settings.
    -check git for more


    Something to play with:
    sys/module/baseband_xmm_power/parameters/autosuspend_delay ///300 msec usb autosuspend delay when screen is off
    sys/module/baseband_xmm_power/parameters/long_autosuspend_delay ///2500 msec usb autosuspend delay when screen is on
    sys/module/ts0710_mux/parameters/ril_recovery_cnt ///A RIL recovery counter (It might count 2 times if it's an usb disconnect)
    15
    New test build mahdi-2.8-p880-20141018.zip is ready for download.

    Changelog:
    Device:
    -Added filecheck on data and cache partition
    -Less strict permission on storage
    -Test frameworks modem settings:
    Code:
    <!-- The duration (in milliseconds) that the radio will scan for a signal
    +         when there's no network connection. If the scan doesn't timeout, use zero -->
    +    <integer name="config_radioScanningTimeout">9000</integer>
    +
    +    <!-- Boolean indicating if restoring network selection should be skipped -->
    +    <!-- The restoring is handled by modem if it is true-->
    +    <bool translatable="false" name="skip_restoring_network_selection">true</bool>
    +
    +     <!-- List of file paths for USB host busses to exclude from USB host support.
    +         For example, if the first USB bus on the device is used to communicate
    +         with the modem or some other restricted hardware, add "/dev/bus/usb/001/"
    +         to this list.  If this is empty, no parts of the host USB bus will be excluded.
    +    -->
    +    <string-array name="config_usbHostBlacklist" translatable="false">
    +        <item>/dev/bus/usb/001</item>
    +    </string-array>

    Kernel:
    -Add cpu_resume_boost @ 1300MHz for faster screen on when in deep sleep.
    -Updates to video/tegra, rcu, cpuidle, mm
    -And a lot more, check github
    12
    Camera is not working on latest build and I'm working on a fix. Sorry for the mess...

    Edit: New version uploaded with fixed camera. I will update OP and sources when I'm back from work.
    12
    Final version is now ready for download.This is marked final from Mahdi, but there might still come some bug fixes or kernel updates. Mahdi is now preparing for LolliPop:) A big thank you to @Mahdi786 for his great work on this rom:good:.

    Here we go, final build is up. Servers will be updated soon, ota has been removed as its not needed any more. This is v2.9, this means there has been 9 versions of this kitkat ROM and always improving with every version. I'm very proud of this final version as its been nearly a years work which has gone into it. Enjoy everybody and please no bug reports because I wont be looking into them any more, you have about a week to enjoy this build before Google releases LolliPop on November 3rd. Thanks everyone.

    I've updated the links to simple and detailed changelogs which are in my dropbox now and are linked in the OP.

    -Theme chooser: Let ThemeService handle all theme processing
    -Added Tinted system bars by Yanuar Harry and Omni
    -Immersive mode: options to disable navbar or statusbar gesture
    -Jellybean style slim portrait battery
    -Option to disable status bar ticker preference
    -WiFi: show devices behind a firewall that are connected to the WiFi hotspot
    -Fixed keyboard emoticons issue
    -Screen Recorder: increase max screen recording time to 1 hour
    -Option to reduce volume to safe level when headset is connected
    -External/skia updates
    -Bionic updates
    -Lots of fixes and clean ups in Settings
    -Lots of translations for apps from CM
    -Fixed data usage wierdness for Sprint users -thanks to @thom_bjork for testing
    -APNs updates
    -Other stuff, read the detailed changelog

    -Removed Updater as its not needed now
    -Reverted "Upgrade to SQLite 3.8.6" - Breaks some apps
    -Reverted "Contacts provider: add fb sync"

    -Tanslation updates thanks to @Pixelase, @stmay30, @blazze11, @bankai03, @michaelz93, @senses! and @seilogeo
    Original post