FORUMS
Remove All Ads from XDA

[ROM] AOSP Marshmallow 6.0.1 | MoltenMotherBoard

230 posts
Thanks Meter: 365
 
By csk1jw, Senior Member on 10th May 2016, 05:08 AM
Post Reply Email Thread
Hi, here's the AOSP Marshmallow ROM that I would like to share with the community.
https://www.androidfilehost.com/?fid=24651442761499351

Thanks for the ground work they had laid out for P880 and Nexus 7 (2012).
@dmitrygr
@alfsamsung
@streambinder
@Demetris
...and...
XDA developers community

Changelog
https://www.androidfilehost.com/?fid=24651430732235500

Issue
- MHL/HDMI does not work (by @juantech)

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
Code:
$ adb shell mount /data
$ adb shell touch /data/.selinux
$ adb shell umount /data
Recommened GApps is modular GApps from @Deltadroid, 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!!!
The Following 26 Users Say Thank You to csk1jw For This Useful Post: [ View ] Gift csk1jw Ad-Free
 
 
10th May 2016, 05:09 AM |#2  
OP Senior Member
Thanks Meter: 365
 
More
Kernel source
https://github.com/CyanogenMod/lge-k...0/tree/cm-12.1
Code:
commit 413b3fc527c086450f28acbe92893c71e73ad5b6
Author: demetris <ierokipides.dem@gmail.com>
Date:   Wed Nov 4 00:39:13 2015 +0200
See attached for additional patches
Use "git am -3" for .patch files.
Use "git apply" for .diff files.

Device Tree
https://github.com/MoltenMotherBoard...0/tree/aosp-lp
Complete device tree is attached - device_lge_p880-mm-20160602.tar.gz

Misc. framework patch
Code:
[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;
The Following 5 Users Say Thank You to csk1jw For This Useful Post: [ View ] Gift csk1jw Ad-Free
10th May 2016, 05:10 AM |#3  
OP Senior Member
Thanks Meter: 365
 
More
Reserved #2
The Following 3 Users Say Thank You to csk1jw For This Useful Post: [ View ] Gift csk1jw Ad-Free
10th May 2016, 05:40 AM |#4  
Senior Member
Kraków
Thanks Meter: 331
 
More
Quote:
Originally Posted by csk1jw

p880-ota-eng.mob30jz.zip

Perhaps I will finally be tempted into a custom ROM
So far, P880 serves me as an alarm clock, unfortunately.
10th May 2016, 09:57 AM |#5  
streambinder's Avatar
Senior Member
Flag Rome
Thanks Meter: 971
 
More
Quote:
Originally Posted by csk1jw

Hi, here's the AOSP Marshmallow ROM that I would like to share with the community.
https://www.androidfilehost.com/?fid=24533100289590699

Thanks for the ground work they had laid out for P880 and Nexus 7 (2012).
@dmitrygr
@alfsamsung
@streambinder
@Demetris
...and...
XDA developers community

Changelog
- Android-6.0.1_r43 (MOB30J)
- 1st Release

Please update your own WiFi MAC address
- Update /system/etc/bcmdhd.cal to inject your own unique MAC address.

Repo patches will be made available shortly for
- lge-kernel-p880 from CyanogenMod
- platform_device_lge_p880 from MoltenMotherBoard

Recommened GApps is modular GApps from @Deltadroid. 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!!!

Hey, mate! Good work!
But why "MoltenMotherBoard"? Just to know.
The Following 2 Users Say Thank You to streambinder For This Useful Post: [ View ] Gift streambinder Ad-Free
10th May 2016, 10:46 AM |#6  
Senior Member
Thanks Meter: 93
 
More
Good work downloading
Edit: I installed and it was running fine until install deltadroid gapps. I found the error. How can i solve this ?
Code:
Process: com.google.android.gms.persistent, PID: 2038

05-10 11:07:17.270  2038  2268 E AndroidRuntime: java.lang.SecurityException: "passive" location provider requires ACCESS_FINE_LOCATION permission.

05-10 11:07:17.270  2038  2268 E AndroidRuntime: 	at android.os.Parcel.readException(Parcel.java:1620)

05-10 11:07:17.270  2038  2268 E AndroidRuntime: 	at android.os.Parcel.readException(Parcel.java:1573)

05-10 11:07:17.270  2038  2268 E AndroidRuntime: 	at android.location.ILocationManager$Stub$Proxy.requestLocationUpdates(ILocationManager.java:606)

05-10 11:07:17.270  2038  2268 E AndroidRuntime: 	at android.location.LocationManager.requestLocationUpdates(LocationManager.java:880)

05-10 11:07:17.270  2038  2268 E AndroidRuntime: 	at android.location.LocationManager.requestLocationUpdates(LocationManager.java:496)

05-10 11:07:17.270  2038  2268 E AndroidRuntime: 	at com.google.android.location.util.ae.a(:com.google.android.gms:65)

05-10 11:07:17.270  2038  2268 E AndroidRuntime: 	at com.google.android.location.util.af.a(:com.google.android.gms:45)

05-10 11:07:17.270  2038  2268 E AndroidRuntime: 	at com.google.android.location.fused.a.o.a(:com.google.android.gms:40)

05-10 11:07:17.270  2038  2268 E AndroidRuntime: 	at com.google.android.location.fused.a.p.g(:com.google.android.gms:56)

05-10 11:07:17.270  2038  2268 E AndroidRuntime: 	at com.google.android.location.fused.a.p.am_(:com.google.android.gms:37)

05-10 11:07:17.270  2038  2268 E AndroidRuntime: 	at com.google.android.location.fused.ay.a(:com.google.android.gms:318)

05-10 11:07:17.270  2038  2268 E AndroidRuntime: 	at com.google.android.location.fused.k.a(:com.google.android.gms:207)

05-10 11:07:17.270  2038  2268 E AndroidRuntime: 	at com.google.android.location.fused.f.a(:com.google.android.gms:164)

05-10 11:07:17.270  2038  2268 E AndroidRuntime: 	at com.google.android.location.fused.f.a(:com.google.android.gms:73)

05-10 11:07:17.270  2038  2268 E AndroidRuntime: 	at com.google.android.location.fused.bj.a(:com.google.android.gms:170)

05-10 11:07:17.270  2038  2268 E AndroidRuntime: 	at com.google.android.location.fused.dh.a(:com.google.android.gms:151)

05-10 11:07:17.270  2038  2268 E AndroidRuntime: 	at com.google.android.location.fused.cm.a(:com.google.android.gms:60)

05-10 11:07:17.270  2038  2268 E AndroidRuntime: 	at com.google.android.location.fused.co.a(:com.google.android.gms:126)

05-10 11:07:17.270  2038  2268 E AndroidRuntime: 	at com.google.android.location.fused.dl.handleMessage(:com.google.android.gms:94)

05-10 11:07:17.270  2038  2268 E AndroidRuntime: 	at android.os.Handler.dispatchMessage(Handler.java:102)

05-10 11:07:17.270  2038  2268 E AndroidRuntime: 	at com.google.android.location.util.au.dispatchMessage(:com.google.android.gms:50)

05-10 11:07:17.270  2038  2268 E AndroidRuntime: 	at android.os.Looper.loop(Looper.java:148)

05-10 11:07:17.270  2038  2268 E AndroidRuntime: 	at android.os.HandlerThread.run(HandlerThread.java:61)

05-10 11:07:17.280  2038  2268 I Process : Sending signal. PID: 2038 SIG: 9

Edit2: I found the solution. Install rom, boot and open developer settings(If you are using OpenGapps download and install Android System WebView too). Then install gapps. Boot again rom you will see "setup has been stopped" error. Connect your phone to pc. Open an adb window and type this 3 lines

Code:
adb shell pm grant "com.google.android.setupwizard" android.permission.READ_PHONE_STATE
adb shell pm grant "com.google.android.gms" android.permission.ACCESS_FINE_LOCATION
adb shell pm grant "com.google.android.gms" android.permission.ACCESS_COARSE_LOCATION
Sent from my LG-P880 using XDA-Developers mobile app
Attached Thumbnails
Click image for larger version

Name:	Screenshot_20160510-160034.png
Views:	1282
Size:	43.2 KB
ID:	3746375   Click image for larger version

Name:	Screenshot_20160510-160051.png
Views:	1262
Size:	40.8 KB
ID:	3746376   Click image for larger version

Name:	Screenshot_20160510-160057.png
Views:	1226
Size:	74.6 KB
ID:	3746377   Click image for larger version

Name:	Screenshot_20160510-160102.png
Views:	1250
Size:	183.1 KB
ID:	3746378  
The Following 4 Users Say Thank You to CrazyWinner For This Useful Post: [ View ] Gift CrazyWinner Ad-Free
10th May 2016, 12:28 PM |#7  
Member
Flag Murcia
Thanks Meter: 15
 
More
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.
10th May 2016, 04:32 PM |#8  
OP Senior Member
Thanks Meter: 365
 
More
@CrazyWinner: 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.
Code:
$ 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.
@jrcquinito: 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.
10th May 2016, 04:41 PM |#9  
Senior Member
Thanks Meter: 93
 
More
Quote:
Originally Posted by csk1jw

@CrazyWinner: 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.

@jrcquinito: 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.

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
10th May 2016, 04:55 PM |#10  
OP Senior Member
Thanks Meter: 365
 
More
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.
The Following 2 Users Say Thank You to csk1jw For This Useful Post: [ View ] Gift csk1jw Ad-Free
10th May 2016, 05:12 PM |#11  
Junior Member
Flag Dneprodzerzhinsk
Thanks Meter: 5
 
More
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
The Following User Says Thank You to Bishop1312 For This Useful Post: [ View ] Gift Bishop1312 Ad-Free
Post Reply Subscribe to Thread

Guest Quick Reply (no urls or BBcode)
Message:
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes