yashsingh1/xdaforums huggingface dataset:
[HTC 10 Questions & Answers] Haldi4803:
Bingo :)

Soldered the additional Bluetooth module on and it's awesome!

http://xdaforums.com/showpost.php?p=62775148&postcount=130

QuickCharge.... like every other charging technologie tries to safe the Battery from harm. Therefore only on the lowest battery level you will be charging with a low of Watts. On 50% ? Well.... i'll tell you the next time my Phone is empty ;) Benchmarking in Progress.....
[LG Optimus 4X HD] csk1jw:
Hi, here's the AOSP Marshmallow ROM that I would like to share with the community.

https://androidfilehost.com/?w=files&flid=57323

Thanks for the ground work they had laid out for P880 and Nexus 7 (2012).

[MENTION=3326402]dmitrygr[/MENTION]

[MENTION=3081601]alfsamsung[/MENTION]

[MENTION=5889675]streambinder[/MENTION]

[MENTION=1149134]Demetris[/MENTION]

...and...

XDA developers community

Changelog

20170307

- Android-6.0.1_r79 (MOB31T)

Complete changelog

https://androidfilehost.com/?w=files&flid=57323

Issue

- MHL/HDMI does not work (by [MENTION=6748691]juantech[/MENTION])

Repo patches made available in 2nd POST for

- lge-kernel-p880 from CyanogenMod

- platform_device_lge_p880 from MoltenMotherBoard

SELinux for Marshmallow

Release 20160626 is SELinux clean. Google Marshmallow android_external_sepolicy and android_external_selinux source git repo remain pristine without downgrading the rules and policies to Lollipop/Kitkat level. Only the sepolicies of device tree are updated.

To enable SELinux Enforcing, do this from recovery

$ adb shell mount /data
$ adb shell touch /data/.selinux
$ adb shell umount /data

Recommened GApps is modular GApps from [MENTION=5227588]Deltadroid[/MENTION], or OpenGapps stock. google-webview is a *REQUIRED* component. The minimum required GApps to be installed (which is how I test my setup)

- gapps-base

- gapps-exchange

- gapps-chrome

- gapps-gmail

- gapps-maps

- gapps-search

- gapps-tts

- gapps-webview

- gapps-youtube

This is based on Grouper blobs, so as usual barcode/QR scanning will not work and will not consider this as bug. However, Grouper blobs works with Screen Cast, which for me, is more useful than barcode/QR code scanning.

Let the testing begin!!!:fingers-crossed::fingers-crossed::fingers-crossed:
[LG Optimus 4X HD] csk1jw:
Kernel source

https://github.com/CyanogenMod/lge-kernel-p880/tree/cm-12.1

commit 413b3fc527c086450f28acbe92893c71e73ad5b6
Author: demetris <ierokipides.dem@gmail.com>
Date: Wed Nov 4 00:39:13 2015 +0200

Check AOSP Nougat 7.0 thread for updated unified kernel

http://xdaforums.com/showpost.php?p=68614155&postcount=2

Device Tree

https://github.com/MoltenMotherBoard/platform_device_lge_p880/tree/aosp-lp

Complete device tree is attached - device_lge_p880-mm-20160602.tar.gz

Misc. framework patch

[frameworks/base] Fake SMD sensor with WAKE_GESTURE
diff --git a/core/java/android/hardware/SensorManager.java b/core/java/android/hardware/SensorManager.java
index 5d405f9..278bbc2 100644
--- a/core/java/android/hardware/SensorManager.java
+++ b/core/java/android/hardware/SensorManager.java
@@ -445,6 +445,8 @@ public abstract class SensorManager {
* @see Sensor
*/
public Sensor getDefaultSensor(int type) {
+ if (type == Sensor.TYPE_SIGNIFICANT_MOTION)
+ type = Sensor.TYPE_WAKE_GESTURE;
// TODO: need to be smarter, for now, just return the 1st sensor
List<Sensor> l = getSensorList(type);
boolean wakeUpSensor = false;
[LG Optimus 4X HD] csk1jw:
Reserved #2
[LG Optimus 4X HD] ze7zez:
Perhaps I will finally be tempted into a custom ROM

So far, P880 serves me as an alarm clock, unfortunately.
[LG Optimus 4X HD] streambinder:
Hey, mate! Good work! ;)

But why "MoltenMotherBoard"? Just to know.
[LG Optimus 4X HD] jrcquinito:
Impossible to start the installation process, after you set the wifi, I jump the notice google play services has stopped. Impossible to move forward. I tried to do it several times, but no way.

Imposible, al empezar el proceso de instalación, despues de configura el wifi, me salta el aviso que los servicios de google play se ha detenido. Imposible seguir adelante. He intentado hacerlo varias veces, pero no hay forma.
[LG Optimus 4X HD] csk1jw:
[MENTION=4924800]CrazyWinner[/MENTION]: I don't get any of those permission warnings. You should install GApps right after flashing the ROM zip file without booting the ROM, all in recovery. You should also wipe data//cache/dalvik-cache to start at clean state. The apps will ask for the permission when they are 1st invoked after 1st boot.

Here's my logcat I just capture from reboot to SIM PIN entry, none of the error showed up.

$ adb logcat | grep "AndroidRuntime"
05-10 08:20:31.650 228 228 D AndroidRuntime: >>>>>> START com.android.internal.os.ZygoteInit uid 0 <<<<<<
05-10 08:20:31.822 228 228 D AndroidRuntime: CheckJNI is OFF
05-10 08:21:23.260 1262 1262 I AndroidRuntime: VM exiting with result code 0, cleanup skipped.

[MENTION=6034856]jrcquinito[/MENTION]: Did you get the minimum GApps list installed in recovery? Check my reply above. I have been able to gone through Setup Wizard twice, with or without setting up Google account.

Apparently. this is AOSP. It got to work with some GApps before the 1st initial booting. I am only testing deltadroid modular GApps, unfortunately.
[LG Optimus 4X HD] CrazyWinner:
I tried. But TWRP gives "set metadata recursive some changes failed bad=4" error if rom is not booted. I tried a lot of things , it finally booted and working fine. Thank you for your hard work :)

PS: Sorry for my bad english
[LG Optimus 4X HD] csk1jw:
I use the CWM recovery. It is from the official CWM for P880 with updated kernel. I got no errors on install ROM zip or Deltadroid modular GApps zip file.

I still prefer CWM traditional non-touch interface to TWRP or the touch-based CWM.
[LG Optimus 4X HD] Bishop1312:
After install rom go to reboot meny and select reboot bootloader, after reboot install gapps and after reboot in rom. It's for twrp

Отправлено с моего Optimus 4X HD через Tapatalk
[LG Optimus 4X HD] ze7zez:
how to install

To avoid unnecessary problems, you should expressly written in the first post on how to install.

CWM or TWRP does not matter if the installation script is properly prepared.
[LG Optimus 4X HD] Mentah:
Hey [MENTION=5799877]csk1jw[/MENTION], I did a clean install of this rom last night via cwm with delta gapps and everything seems to work fine. The only problem I have is the sdcard which is not recognized by the phone or when I plug the phone to my pc. The sdcard is perfectly working otherwise, I checked it with a sdcard adapter.
[LG Optimus 4X HD] csk1jw:
Did the phone offer to format the SD card? If it did, please backup the data on SD card to allow the phone to format the SD card. I haven't checked out SD card functionality myself yet. Did Android M even offer the option for standalone or adoptable on using SD card?
[LG Optimus 4X HD] Mentah:
There was nothing related to the sd card when I installed the rom. Everything went fine and the sd card is still recognised in cwm. I can tell you that on alfasamsung's cm 13 I always had sd card functionality.
[LG Optimus 4X HD] csk1jw:
Alright, I will check it out. Could be something with init or fstab.
[LG Optimus 4X HD] csk1jw:
[MENTION=4534765]Mentah[/MENTION]: Thanks for reporting the issue with SD card. It is fixed now with the updated rootfs. You can apply the fix I attached. I had verified it myself that Android will prompt for SD card notification. It should be simple and does not require going through the initial setup. You just need to flash it from LG fastboot.

$ and reboot oem-unlock
$ sudo fastboot flash boot boot.img
$ sudo fastboot reboot
[LG Optimus 4X HD] Mentah:
[MENTION=5799877]csk1jw[/MENTION] Thank you for looking into it, I will try the fix tomorrow and report back.
[LG Optimus 4X HD] csk1jw:
Uploaded new build for SD card fix.
[LG Optimus 4X HD] jrcquinito:
No way, I'm back down the rom, rom and install only after the gapps, reboot several times ... the notice has stopped google service installation fails.

No hay manera, he vuelto a bjar la rom, instalar solo la rom y despues la Gapps, reiniciar varias veces... del aviso que se ha parado el servicio de google no pasa la instalación.
[LG Optimus 4X HD] csk1jw:
New build

New build is up.

https://www.androidfilehost.com/?fid=24572369242688375
[LG Optimus 4X HD] oF2pks:
Amazing work.

On aosp 5.1.1 i have internal browser settings/+any_options_ticked dark screen; is it the same for aospMM?

btw : can somebody provide info for, how to hard code webview (before make?)(0428 is working but 0608 not?!?):
[LG Optimus 4X HD] squinzia:
sadly my p880 took a bath in the river yesterday so i can't test this new build... screen is gone (glass in not broken but display is flickering on and off) :(
[LG Optimus 4X HD] csk1jw:
You should not be using the internal browser from AOSP if the proper GApps installation had taken place. It should be replaced by Google Chrome. This applies for both Lollipop and Marshmallow ROMs sourced from AOSP.

You could have searched. Check out 2nd post from the link:

http://xdaforums.com/xperia-m/themes-apps/mod-google-android-webview-t3109216

This is meant for AOSP-sourced ROMs. CM-sourced ROMs have custom modification to the frameworks to check if Google Webview package is available and are able to fallback to internal webview when Google Webview is not installed.
[LG Optimus 4X HD] csk1jw:
VTS for Android

Out of interest, I ran through the latest AndroidVTS to check for any known vulnerabilities, and I am pleased to declare that the current Marshmallow ROM is clean.

AndroidVTS

https://github.com/AndroidVTS/android-vts

I guess this is what good to be at the forefront of AOSP source.:):)
[LG Optimus 4X HD] Marivnov:
AOSP is much more fluid and stable
[LG Optimus 4X HD] jrcquinito:
One question: can from the audio buttons turn on the phone when at rest?

thanks
[LG Optimus 4X HD] InterrtuptoR:
only with xposed and gravity box installed...
[LG Optimus 4X HD] Marivnov:
New build 20160709 install

My installation procedure:

TWRP 3.0.0.0:

- wipe dalvik cache / cache / system / data

- install rom

- install delta gapps Marshmallow Base Gapps package for 6.0.1: gapps-601-base-20160709-1-signed.zip (Deltadroid) : https://www.androidfilehost.com/?fid=24591000424945621

....

Error 7 installing gapps:crying:

...also installing opengapps same error

... restore previous version
[LG Optimus 4X HD] CrazyWinner:
rebooting recovery after install rom works for me
[LG Optimus 4X HD] Marivnov:
thanks it worked!:good::good:
[LG Optimus 4X HD] zikomik:
Screen won't rotate at all
[LG Optimus 4X HD] csk1jw:
Mine will.

Which app? Mine screen rotation is working fine for apps that support it such as, Settings, Gmail, Chrome, Whatsapp etc.
[LG Optimus 4X HD] sourly64:
@ csk1jw

Can you please add in the opener from build the date :cool:

BTW rom works with TWRP3.0.20 much better as with CWM 6.0.4.4 ;)

One thing I noticed with newest build .By Mobildata i get only H and not H+

Thanks for your work

Regards
[LG Optimus 4X HD] Phil_Smith:
So far this is the best ROM I've tried! No lags, stable, smooth, better battery life than any CM-ROM, and as others mentioned the customization of CM-like features is easily achievable with xposed and gravitybox.

One thing though that strikes me is the overview of battery consumption. Usually "Display" is on top of everything else, but here it always says "Miscellaneous" consumed like 60%, followed by "Display" with only 7% and "Sleep Mode" with only 2% or something. This is the case even when I charge and don't touch the phone over night. Does anyone else think this is odd?

Maybe I should mention that I use greenify beta's aggressive doze and shallow hibernation.

Thanks in advance for any suggestions and thanks for the great work done in creating this ROM!
[LG Optimus 4X HD] terirem:
Did you managed to emulate LiveDisplay, PrivacyGuard and theming features somehow? I know there's XPrivacy Xposed module, but it's far more complicated than CM's built-in PrivacyGuard.
[LG Optimus 4X HD] InterrtuptoR:
This is normal. I think the developer can choose to show or not to show miscelenious thats why u dont see it in other roms. I have it too, it is what is writen it is, a difference between detected consumption and calculated one, u simply cant amount for all power loss...

For more u can see the thread:

http://xdaforums.com/google-nexus-5/help/miscellaneous-battery-drain-t3002598
[LG Optimus 4X HD] Phil_Smith:
Unfortunately no - that is I didn't try to get those features to work. I was more interested in stuff like the advanced restart menu, status bar adjustments and boring stuff like that.

Maybe "CM-like features" wasn't exactly the term I should have used. Good luck though in getting everything to work!
[LG Optimus 4X HD] jrcquinito:
I tried to install Xposed and tells me the sdk 23 is not compatible or something. Can you tell me whether to install something before it work?

Thanks
[LG Optimus 4X HD] InterrtuptoR:
Did you root, flash su, give root permissions, installed the latest xposed app and flashed the xposed zip through twrp?

I think u didnt see that u should use this link for lollipop or marshmallow: http://xdaforums.com/showthread.php?t=3034811

so u installed a version that is not compatible with marshmallow...
[LG Optimus 4X HD] Phil_Smith:
Yes, download the latest xposed-v86-sdk23-arm.zip from here http://dl-xda.xposed.info/framework/sdk23/arm/ and flash it via recovery.

Afterwards install the XposedInstaller_3.0-alpha4.apk from here http://xdaforums.com/showthread.php?t=3034811.

That should solve your problem.
[LG Optimus 4X HD] Salman Al-Badgail:
What about battery life????
[LG Optimus 4X HD] InterrtuptoR:
i normaly get 2 and a half hours of on screen time, but it depends on the usage...
[LG Optimus 4X HD] zikomik:
fixed after reset
[LG Optimus 4X HD] csk1jw:
I respect that you have rights to choices. For me, I am not a fan of 3rd-party power management apps. Marshmallow native Doze mode works on this ROM. If I leave my phone on the desk not charging after battery is fully charged, then on next day batterystats will predict the battery life to be able to last for ~4 days. In battery details I can see that the "awake" are pulling far apart over time. While on Lollipop, the "awake" will look more like a periodic pattern.

I always prefer native ROM functionalities to any 3rd party apps. That's why I was resolved to get WiFi hotspot fixed instead of using 3rd-party tethering apps.
[LG Optimus 4X HD] Phil_Smith:
Do I have to enable this feature somehow, or is it just going to work by itself?

Regards
[LG Optimus 4X HD] CrazyWinner:
It's automatic you don't need to do anything
[LG Optimus 4X HD] Marivnov:
I'm testing this magnificent rom and I must say that is just perfect !!!

battery life ok, fast and no reboots.

I only a little strange when I take a photo with the flash, there is a considerable delay...flash fires and picture will be taken after about 10 seconds

When I disable the flash works fine.
[LG Optimus 4X HD] Phil_Smith:
Just found out that the good old cm11 bug has slipped in here...

When locking the screen while listening to music the sound gets distorted and hangs for a few seconds.

In cm11 the answer was raising the minimal cpu frequency. Here I can't do that since the rom has no built in performance menu, neither does it respond to cpu related changes from kernel adiutor.

Here it seems that the minimal cpu frequency is dynamically changed by the system every few seconds which seems to immediately overwrite the kernel adiutor settings.

Does anyone know how to solve this? This isn't a major bug or something, but it's a little annoying.
[LG Optimus 4X HD] csk1jw:
What's the player you're using? What format are the audio files?

I am using Google Play Music and my music files are in M4A AAC encoded. MP3 encoded should also be fine. Music playback is smooth going in and out of lock screen. "Distorted and hung for a few seconds" is definitely not there. OK, if you really listen hard enough, perhaps sometimes you will get a pop but it won't last for even half a second to make it really obvious. Or perhaps, you have a sync activities being kicked off in the background and it has somewhat large data to sync, such as Whatsapp image or video.

You can also disable lock screen sound to reduce the likelihood of multi-stream interruption. This should rarely be the case as the music playback buffering should take care of such spontaneous interruption.
[LG Optimus 4X HD] Phil_Smith:
I tried the native music app and deadbeef player, having my music files in MP3 format, both with the same result... I'm definitely not exaggerating; it's really like 2 seconds of bad and annoying computer voice like distortion. I'll check on the sync activities, but at the moment I'm only syncing WhatsApp and Gmail. I'll also try Google Play Music with M4A AAC format and report if that works any different.

Edit: I also disabled the lock screen sound, thinking that it sounded somewhat like the distortion I'm describing, but that didn't work unfortunately.
[LG Optimus 4X HD] ekgrdnoebsw3desk:
Will there be init.d support on this rom?

I've tried some scripts without success. Even a test script, found on xda, that should generate a log file did not work. Am I right that pure AOSP has no init.d support?

I would like to change some things like i/o scheduler, governor or turning off touch key backlights without using third party apps. For now I have to flash xposed framework and install gravitybox, just for turning off backlights instead of using a two line script at startup.

Or is there another solution getting this things changed without third party apps?

regards.
[LG Optimus 4X HD] csk1jw:
New build

New build is up.

https://www.androidfilehost.com/?fid=24572369242688803
[LG Optimus 4X HD] peter_altherr:
hey csk1jw,

i appreciate your hard work in order to keep our p880 alive :) i had a hard time flashing your rom with the latest twrp 3.0.2.0 together with opengapps-pico and supersu.zip but finally i made it. now i flashed the new build you announced in the prior post and i lost opengapps and root. so i tried the all the tricks that worked the first time but no success. i do not get a booting system. phone is stuck in (animated) android boot logo. i made a nandroid backup of the working system so for the moment i will try to recover it.

anyway many thanks for your rom.

peter
[LG Optimus 4X HD] sourly64:
[MENTION=5799877]csk1jw[/MENTION]

I ask before a few days .Can you please add the date off release ;)

Thanks in advance :good:

Good work .I like this rom :good:
[LG Optimus 4X HD] peter_altherr:
just to let you know i have been able to recover my nandroid backup made by twrp 3.0.2.0. the p880 is up and running again but not the latest rz build, it's the mz build.

if someone has a clue how to correctly flash rz build over mz it is most appreciated :)

regards

peter
[LG Optimus 4X HD] csk1jw:
I don't get what you meant by this "the date off release".
[LG Optimus 4X HD] csk1jw:
You need to repeat whatever the addons you applied after the ROM, such as GApps, SuperSu etc. Here's the standard procedure:

1. Enter Recovery.

2. Format cache, system.

3. Apply ROM OTA zip.

4. Apply GApps zip. Please make sure google-webview is part of the GApps. If not, you need to install that separately. OpenGApps-pico *DOES NOT* include WebviewGoogle.

5. Reboot.

No reboot between step #3 and #4. Please use the official CWM Recovery for P880 if your existing recovery requires a reboot between #3 and #4.
[LG Optimus 4X HD] b886b:
I think what he meant is the date of release in the file name of your release. Take for example your latest release name is p880-ota-eng.mob30rz.zip which is released on 20160715, he is asking if you can add the date in the file name so that it is more obvious when that is released.
[LG Optimus 4X HD] csk1jw:
I looked into CM11 kernel source, the minimum CPU clock of 51MHz and 102MHz are still there. My kernel source also based on CM12-1. Or was it something that was done through init.x3.rc to limit the cpu scaling_min_freq in sysfs? If this is the case, the you can also do that unpacking/repacking boot.img to update init.x3.rc.
[LG Optimus 4X HD] asgz:
Do we need still install google webview ?
[LG Optimus 4X HD] sourly64:
Exactly :good: Thank you for explaining

Sorry for my bad english ;)
[LG Optimus 4X HD] sourly64:
Yes :good:

Iam on TWRP 3.0.2-0 .After many attemps to install the rom.I get Error 7 .So i reboot to recovery and do again the wipes (fac res, data,cache, ...)

And again error 7. So i think i have to change to CWM,but one time i try again with TWRP and get success,i dont no why.:confused:

Reboot to recovery and do the wipes

Flash rom and opengapps pico

Flash webview

and reboot and have success :good:
[LG Optimus 4X HD] InterrtuptoR:
i also have to grant permissions from adb to gapps... Using TWRP
[LG Optimus 4X HD] armo1111:
I am still not using this rom because the storage it's not "linked" or i don't know how to fix it, but rom it's perfect, can anyone help me? :)
[LG Optimus 4X HD] ToJestemJa:
How to reroot phone after flashing this ROM (root checker says that my device is not rooted)? EDIT: Sry, I just found the answer.

Is there way to enable restart and screenshot option after pressing power button, I have only power off option?
[LG Optimus 4X HD] ekgrdnoebsw3desk:
for root you have to flash superuser.zip.

restart menu, screenshot-tile or button modifications and many more things can be enabled with gravitybox. for this you have to flash or install xposed framework first.

xposed framework: http://xdaforums.com/showthread.php?t=3034811
[LG Optimus 4X HD] terirem:
What do you mean with "not linked"? In Android 6 your sdcard is mounted by its serial number, just look under /storage.
[LG Optimus 4X HD] Phil_Smith:
I'm sorry if that cost you time, but I didn't talk as a developer, but rather as a user. I remember the (audio-stuttering-lockscreen-) problem from earlier CM11 versions. Before the problem disappeared on some update, I managed to handle it (as a user) by raising the minimal cpu frequency using kernel adiutor.

I still don't know why I'm having this problem, and others don't. When I find something out, I'll post it.

Regards
[LG Optimus 4X HD] peter_altherr:
finally i switched from twrp (which i love so much more than cwm) to cwm and flashing went simply smooth. once in recovery i flashed new rom build, opengapps and supersu all in a row and wiped cache/dalvik cache and that's it. all my apps on their place. google play store there together with supersu. i hope one day twrp gets compatible to this rom or vice versa :)

greetings and lots of thanks to csk1jw

peter
[LG Optimus 4X HD] armo1111:
That's my problem.
[LG Optimus 4X HD] terirem:
Try with Amaze File manager.
[LG Optimus 4X HD] Marivnov:
For only update?

I have to redo a clean installation and re install gapps and webview? or just wipe system/cache and flash rom?
[LG Optimus 4X HD] terirem:
Do not wipe system, just flash rom, wipe cache and dalvik-cache.
[LG Optimus 4X HD] armo1111:
Not working.
[LG Optimus 4X HD] terirem:
External SD card is mounted in `/storage`. Make sure you approved storage permissions for Amaze.
[LG Optimus 4X HD] armo1111:
I did but still no success.
[LG Optimus 4X HD] Marivnov:
google account missing after update rom

it works, but lost the google account and all the services: play store, gmail etc do not work because they lack the google play service
[LG Optimus 4X HD] csk1jw:
You need to redo anything that you put in system partition, such as GApps. Flashing the ROM zip from recovery is equivalent to wiping the system and put in new files because the ROM zip is in the new block-based format, which is the default since Lollipop.
[LG Optimus 4X HD] Marivnov:
thank you so much!

In fact, he's already doing so for each update, (gapps, webview, Xposed, supersu ...) wondering this for my ignorance.:o

It remains to understand what causes the delay when you use the flash in the camera, the rest is perfect.

Well done for the work you do ... you are great ... just the passion leads to these results!

keep it up:good: