FORUMS
Remove All Ads from XDA

[ROM][MTC20F][GalaxyTab7.7|Plus][13Aug2016 OmniROM-6]Android Marshmallow ROMs

1,578 posts
Thanks Meter: 4,641
 
By daniel_hk, Recognized Contributor on 27th October 2015, 12:08 PM
Thread Closed Email Thread
Android Marshmallow

Here comes the Marshmallow!
I don't want to waste too much time to maintain a few threads. From now on, I'll put all Marshmallow developments in this thread.
Since Tab Plus is almost identical, it'll also be included here. All builds are unofficials. Please click the ROM images for details and read post#2 for extra infos.

Release Note:
2016/8/13
This is the Android-6.0.1_r62 version of OmniROM-6. This might probably be the last Omni-6.

2016/8/4
This is the Android-6.0.1_r62 version of DU-10.4.

2016/7/29
This is the Android-6.0.1_r52 version of CM-13.0. As N is coming, it might probably be the last CM-13.0.
There were few reports on Gapps issues but again with no detail. I already mentioned many times that I can't access Google services locally. I tried once more on this new build via VPN and again I have no problem with that.
1. I flashed the latest CM (20160729) + opengapps pico 20160722 + SuperSU 2.52 with the latest TWRP 3.0.2-0.
2. After a factory reset and reboot, I completed the setup.
3. I connected to a VPN and add a Google account.
Everything went smooth as expected.
The following are the screenshots:
Click image for larger version

Name:	Screenshot_20160730-132605.png
Views:	6282
Size:	75.7 KB
ID:	3828004 Click image for larger version

Name:	Screenshot_20160730-133601.png
Views:	6478
Size:	85.8 KB
ID:	3828040 Click image for larger version

Name:	Screenshot_20160730-133233.png
Views:	6362
Size:	157.0 KB
ID:	3828031
I had also done a battery life test:
1. no sim card
2. WiFi off after sleep
3. Added a Google account.
My 3 years old battery can standby over 2 weeks. Everytime I turn on the screen, WiFi connected normally.
Here is the screenshot
Click image for larger version

Name:	Screenshot_20160609-021420.png
Views:	6590
Size:	67.7 KB
ID:	3827990
*** These are the minimal essential info. required for a report, nothing less.
*** If you don't want to provide those, just don't post. You'll be ignored...


2016/7/7
DU-10.3 (Android 6.0.1_r46) is out. Cheers!

2016/6/21
This is the Android-6.0.1_r46 version of OmniROM 6. Cheers!

2016/6/9
This is the Android-6.0.1_r46 version of CM-13.0. Cheers!

2016/5/25
DU-10.2 (Android 6.0.1_r43) is out. Cheers!

2016/5/11
Omni merged Android 6.0.1_r43. This is mainly an version update. Cheers!

2016/5/3
This is the Android-6.0.1_r30 version of CM-13.0. The adaptive brightness and live display are fixed. The Bluetooh app is also patched to work with Bluez now. Cheers!

2016/5/1
Android-6.0.1_r30 required a patch to work with Bluez. You may find the patch here.
This patch would work for the latest Omni (20160414) and DU (20160425).
HISTORY:

2016/4/25
DU has released the v10.1 which is Android 6.0.1_r30. A few bug fixes are included.

2016/4/14
Omni merged Android 6.0.1_r30. This is mainly an version update. Cheers!

2016/4/5
In this CM build, the flickering fix is included. CM also use the opensource UMB library now. Minus one in the blobs count and better chance for newer versions of Android. Cheers!

2016/4/3
DU use the AOSP linker. When updated to 6.0.1_r22, the PIE support is gone. I have rebuilt the linker. Flash this
du-gps-patch.zip will get the gps back. For i815, GPS is ok but the RIL library requires the same PIE support. You need to flash it too.

2016/3/31
The current Gapps have permission issues again. Flash this gapps-perm-patch.zip after the ROM and Gapps would fix the permissions of Gapps at reboot.
Theory: I didn't want to change the original security of AOSP so I put an init.d script to fix the permission at start. It would be the same as the assignment of permission in App settings. The default security and permissions hierarchy is preserved. I think this is the better way.
However, the current growth of ROM and Gapps delay the Package Manager service (which is for permission granting). A wait loop is now added to the script. It would wait for the Package Manage service now. I think it would work for the future Gapps too.

2016/3/29
As I suspected, there are a few coincidences cause the flickering. DU and CM are quite different and yet both have the flickering issue... After I fixed the calculation of ambient and debouncing, the other cause embossed. I was aiming at the openGL, gui, ui, sensor, brightness and algorithm for weeks. Seems all dead ends after the fix. I decided to put it aside and started testing the Carbon-M. Carbon-M is quite "primitive" and close to AOSP. There is no flickering as expected.
When you have eliminated the impossible, whatever remains, however improbable must be the truth... I then start again with the whole frameworks. I compared the four sources and eliminate the libraries one by one. Finally, I think I found a solution! Only time can tell if it is the ultimate cure.
Hoping this DU is more or less the complete released. Cheers!

2016/3/23
Omni also merged the 6.0.1_r22 source and It's been over a month since the last update. There are a few bug fixes in PerformanceControl. I also updated the modem driver for i815 in the kernel. Hoping the mobile data would work now.

2016/3/15
CM has merged the latest 6.0.1_r22. It's time to have an update. The same fixes applied and the flickering is almost gone now. At this moment, it is more or less fully functioning now. Cheers!

2016/3/7
DU had updated the included SuperSU zip to 2.65 which is not working for our kernel. You would see an error message at the end of flashing. For the time being, you can manually flash the Beta-SuperSU-2.52 after the rom to get root. I already updated the build script. Subsequent builds will replace the included SuperSU.

2016/3/5
The Display settings crashed in the last DU 20160303. This du-patch-20160305.zip would fix that.

2016/3/3
Finally, I narrow down to a few services that cause the flickering of screen. I believe there are a few overlapping incidences causing it. The random combinations of ambient and debouncing calculation are almost impossible to trace. I can't say the flickering is completely gone now but it is limited to only a few at start. Similar fixes will be apply to CM later. I seldom quit the thing I started and the update of DU is always on my mind. This is the second and hoping the fully working DU. Cheers!

2016/2/22
Although r16 is out, it was for Pixel-C and based on r5. May be that's why CM and Omni didn't merge it.
I was thinking to release a new DU but I still have no idea about the flickering yet. I'm also busy on my Nexus7 developments. Omni has included some consolidations and I have fixed a few things. I think it's about time to have an Omni update. I didn't test it in deep. Hoping everything is still in the right place...

2016/2/10
I spent most of the time studying why there is flickering in CM-13.0 and others but not Omni6. It was really random to track a path. I haven't find anything concrete yet. I have put a few stability measures though. Anyway, it's a new version release. Some part of the performance control apk were rewritten.

2016/2/4
Turn out there are limits for a single post. So grouping all ROMs to one thread was another wrong move... Have to make adaptions later.
After a few long day and night of boring and sweaty works, I can finally sit down in front of my Ubuntu PC to enjoy a coffee. It is harder and harder to earn a few more bucks now...
Omni and CM just merged to the latest Android 6.0.1_r13 now so It's time for a new Omni. I had included the "Double tap to wake" feature in the kernel last week. I have tried on my Nexus 7 and p6800 for sometimes. After a few adjustments, I think it's time to release it for everyone to test. A new settings is added to the Advanced page of Performance Settings. Check post#2 for details. Tab Plus use a different touch screen. I just did what I thought appropriate, please report.
I hope there is nothing missing in this build but who can tell?

2016/2/2
There was a report that 20160122 cm-13.0 for Tab-plus not boot. I used a build script to build all the models. I think the ccache in my new system might catch some objects from 7.7. The graphic objects have different screen size which stop tab plus' graphic driver with a black screen. I have rebuilt the CM kernels for Tab plus. They will be available in the host and mirror shortly.

2016/2/1
Apn-config.xml is missing in the last DU-10.0. Apn set up would crash. I packed a patch which is in post#239.

2016/1/27
Since there are not much progress in CM and Omni, I tried another ROM the Dirty Unicrons. DU is also an old player for years. I use DU in my Nexus 4 for sometimes. It is stable and amazing. DU is even closer to AOSP than Omni. Even if it included SuperSU, it has smaller foot print. The Dirty Tweaks apk offers a lot of customizations. Before my hard drive failure, I can't fix a bug so I delayed it. Fresh start sometimes would give us surprises. I finally fixed the bug in DU. Sadly, it also got the occasional flickering. Really don't know why Seems only Omni is immune from it. I used the same HAL libraries from Omni and most of the Graphic codes are the same! That must be something buried really deep... Any idea is welcome.
Anyway, DU has its good character which is worth trying. Enjoy!

2016/1/22
In this build, the barcode and Google translate format is fixed. Those apps won't crash now. I added extra settings to L2CAP in Bluez. Files can be sent via Bluetooth now but still can't received files. The occasional flickering appear in other Samsung devices too. I patched a few things for that. Seems it's gone now but only time can tell. 3minit battery mod is included as Omni. (See Q&A in post#2).
This is the first CM after my hard drive failure. Hoping everything is in the right place now...

2016/1/18
2016/1/17
2016/1/16
2016/1/15
2016/1/7
2016/1/6
2015/12/30
2015/12/29
2015/12/22
2015/12/16
2015/12/14
2015/12/10
2015/12/8
2015/12/6
Flash this Attachment 3567048 if you have SIM detection problem.
2015/12/5
2015/11/28
2015/11/26
2015/11/24
2015/11/16
2015/11/14
2015/11/4
2015/10/27

OmniROM

Screenshots:
Click image for larger version

Name:	Screenshot_20151216-171540.png
Views:	12372
Size:	66.0 KB
ID:	3578315  Click image for larger version

Name:	Screenshot_20151216-171609.jpg
Views:	11688
Size:	54.2 KB
ID:	3578316  Attachment 3531073

Change log:
Code:
2016/8/13
  - Latest 6.0.1_r62 (MTC20F) source from Omni
  - Add PowerHAL for exynos4
  - Add MM native support for double tap wake in Display settings
  - Bluez 5.41 update
2016/6/21
  - Latest 6.0.1_r46 (MOB30M) source from Omni
  - Bluez update
2016/5/11
  - Latest 6.0.1_r43 (MOB30J) source from Omni
  - Bluez 5.39 from bluez.org
2016/4/14
  - Latest 6.0.1_r30 (MOB30D) source from Omni
  - Default RW permission for exteranl sdcard
  - Testing Mira cast with new Wifi library
  - Bluez 5.38 from bluez.org
2016/3/23
  - Latest 6.0.1_r22 (MHC19J) source from Omni
  - kernel: update modem driver for i815
  - Settings: fix a bug which cause Advanced page crash at the first launch
  - SystemUI: fix a bug in status bar
2016/2/22
  - Latest 6.0.1_r13 (MMB29U) source from Omni
  - kernel: fix a bug in DT2W
  - kernel: fix the occasional background process crash at cpu idle
  - PerformanceControl: fix the initial settings for CPUsettings
  - SystemUI: Fix the crash when 3minit battery apks not installed
  - Latest update from Bluez
2016/2/4
  Source revisions: 
  - Latest 6.0.1_r13 (MMB29U) source from Omni
  - kernel: Double tap to wake (DT2W), initial commit
  - kernel: DT2W, fine tune settings
  - Settings: add DT2W settings in Advanced page of Performance Settings
  - Settings: add bound region and time between taps controls
  - Settings: Add DT2W translations for zh-rCN, zh-rHK and zh-rTW
  - Bug fix in video playback
  - Bluez: fix file send via bluetooth. (receive still fail)
2016/1/15
  Source revisions: omni-20160115.txt
  - Latest 6.0.1_r10 (MMB29T) source from Omni
  - kernel: F2FS support
  - kernel: Fix a bug in F2FS
  - Rewrite samsung color format support
  - Fix rotation freeze after deep sleep.
  - To keep the data persist at reboot, PerformanceControl requries ROOT now
  - Add Power (screen off) Tile to QS. Short press:screen off, Long press:power menu
  - Include 3minit battery mod in SystemUI. (work with app from 3minit)
  - Bluez 5.37 update from bluez.org
  - DRM: low the security to Level 3
2015/12/29
  Source revisions: Attachment 3592090
  - Fix the RIL libraries for i815, 
  - GPS fix with Dmitry's patch as in cm-13.0
  - Latest Nexus5 DRM blobs
  - Introduce the new OmniJaws
  - New boot animation and wall paper (seems not working for us)
  - Delay the init.d script to 99ApkPermissions 
  - Increase the time out of AOT compiler
  - New set of camera preview data for Tab-Plus
  - gcc 4.9 is used for kernel and platform
2015/12/16
  Source revisions: Attachment 3578277
  - Latest 6.0.1_r3 (MMB29M) source.
  - Add 80ApkPermissions script to init.d
  - Add captive portal check switch in build property
  - Fixes in telephony to support 6.0.1
  - Add a few debug lines in camera HAL (for Tab-plus testing)
  - Fix a few minor bug in kernel
  - BlueZ update from bluez.org
  - Start Handsfree protocol without WB
2015/12/5
  Source revisions: Attachment 3565823
  - Fix video recording in Camera
  - Fix video playback (a bug in colorformat)
  - Fix rotation stop after awake
  - Suport SAMSUNG LPM in libhealth. (Fix reboot at power off when charge/usb cable is plugged)
  - Merge Mali API 29 code to kernel driver.
  - Update to Mali API 29 blobs
  - A few patches in the kernel
  - First port of BlueZ 5.36 to M
  - Reinstate the BlueZ support in kernel and platform
2015/11/24
  - Latest 6.0.0_r26 (MDB08M) source.
  - Triple check the RIL libraries for p6200 and t869
  - Patch in Camera HAL which fixed the torch in QS
  - Merge the Linux kernel source 3.0.y (3.0.101).
  - Disabled the Bluetooth backport for the time being. (Conflict with net)
  - Support for Samung LPM which avoid rebooting at power off (when charger or USB cable connected)
  - Include the GPS patch for the last build
  - Fix the Power management HAL.
  - Fix a few Omni features
  - Fix the glitches at rotation
2015/11/14
  - New blob for RIL (binary hack from newer Samsung device)
  - RILClass: update the responses and include new requests
  - optimize build script to shorten the time of flash
  - Rewrite the Camera HAL
  - Fix some Omni features
  - Add GPU support to PerformanceControl
  - Samsung Color Format support for codec
  - Replace some text relocation blobs
2015/11/4
  - Fix the external storage support
  - Support for  mode
  - Support for OTG sdcard
  - Fix the Camera
  - Add screenshot tile in QS
  - consolidate the boot menu
  - included the libemoji for Emoji factory
2015/10/27
  - Omni source 6.0.0_r1 (MRA58K), alpha release
  - Fix build for Frameworks, Settings, PerformanceControl, Hardwares, etc.
  - Fix release tool to pass build
  - Fix boot loop in boot.img
  - Fix orientation and colorspace
  - Fix light sensor
  - Fix GPS
  - Add kernel uid_cputime support
  - Add boot menu
Know issues:
1. Transmit large file to server with ES file explorer would crash. For the time being, use other apk (eg. AndSMB, Astro, etc.).
  TO DO: Without the source of ES, nothing can be done.... *
2. Mobiledata for i815 probably working now.
  TO DO: A shim library and a few patches with the blob. Can read the Baseband now. Waiting for report form i815 owner
3. Fast forward in video playback not working properly.
4. Adopted mode for ext. sd might not work.
5. May be more. Please report.
*** Number of asterisks indicate the importance and priority. ***

CyanogenMod

Screenshots:
Attachment 3569154  Click image for larger version

Name:	Screenshot_20151209-151140.png
Views:	11810
Size:	122.1 KB
ID:	3570007
Change log:
Code:
2016/7/29
  - Latest 6.0.1_r52 (MOB30R) source from CM
  - Add custom PowerHAL
  - Add native support for double tap wake in Display settings
  - BlueZ 5.41 update
2016/6/9
  - Latest 6.0.1_r46 (MOB30M) source from CM
2016/5/3
  - Latest 6.0.1_r30 (MOD30D) source from CM
  - Fix the adaptive brightness and live display
  - Bluetooth app: patch to work with Bluez
  - BlueZ 5.39 update
2016/4/5
  - Latest 6.0.1_r22 (MHC19J) source from CM
  - Fix the occasional flickering for screen
  - Testing Mira cast with new Wifi library
  - Open source UMB library
  - Enable write permission for external sdcard
  - kernel: update modem driver for i815
  - PerformanceControl: fix a bug which cause Advanced page crash at the first launch
  - BlueZ 5.38 update
2016/3/15
  Source revisions:
  - Latest 6.0.1_r22 (MHC19J) source.
  - All fixes in Omni6
  - Fix the Display service for Ambient and Decouncing calculation
  - kernel: A few minor fixes
  - PerformanceControl: Fix the crash of Highend Graphics in Advanced page
  - BlueZ update from bluez.org
2016/2/10
  Source revisions:
  - Latest 6.0.1_r13 (MMB29U) source.
  - kernel: Double tap to wake (DT2W), initial commit (see post#2 for detail)
  - kernel: DT2W, fine tune settings
  - PerformanceControl: add DT2W settings in Advanced page 
  - PerformanceControl: add bound region and time between taps controls
  - PerformanceControl: Add DT2W translations for zh-rCN, zh-rHK and zh-rTW
  - SystemUI: fix a bug in 3minit battery which cause battery icon not shown
  - Fix video playback.
2016/1/22
  Source revisions: cm-20160122.txt
  - kernel: fix a bug in F2FS
  - camera: fix the format for barcode and Google translate
  - Fix auto rotation. (Not working in the previous builds)
  - PerformanceControl: settings are persist after reboot now
  - DRM: low the security to Level 3
  - Include 3minit battery mod in SystemUI. (see post#2 for detail)
  - Bluetooth: Fix in l2cap settings. Files can be sent now but not received yet..
2016/1/6
  Source revisions: cm-20160106.txt
  - Latest 6.0.1_r10 (MMB29T) source.
  - Add F2FS support in kernel
  - Modify gpsd blob to load libdmitry
  - Fix in sensor listener. (for rotation fail after deep sleep)
  - gcc 4.9 is used for both kernel and platform
  - Fix the RIL libraries for i815, 
  - Latest Nexus5 DRM blobs
  - Increase the time out of AOT compiler
  - Seperate set of camera preview and thumbnail data for Tab-Plus
  - BlueZ 5.37 update from bluez.org
2015/12/22
  Source revisions: Attachment 3585427
  - Add libdmitry to fix Gps
  - Modify gpsd blob to load libdmitry
  - stlport build from source
  - New DRM blobs from other device
  - Add USES_LEGACY_ACQUIRE_WVM support to frameworks
  - Add old Parcel::writeBlob() definition to work with the old blobs
  - Add ApkPermissions script to init.d (to fix the permissions of Gapps)
  - Fix i815 data by shim library
  - exFat support for external sdcard (from CM)
  - BlueZ update from bluez.org
2015/12/10
  Source revisions: Attachment 3571293
  - Latest 6.0.1_r3 (MMB29M) source.
  - Enable hot swap to disable the "SIM card added" pop up
  - Add captive portal check switch in build property
  - Fixes in telephony to support 6.0.1
  - Use original AOSP keyboard (CM's port crash on new Google service)
  - BlueZ(5.36) support for M
  - Start Handsfree protocol without WB
2015/11/28
  Source revisions: Attachment 3563538
  - Latest 6.0.0_r26 ((MDB08M) source.
  - Patch in Camera HAL which fixed the torch in QS
  - All fixes in Omni6
  - Fix the Power management HAL.
  - Mali API 29 blob update 
  - Merger Mali API 29 source to kernel driver (r3p2-01rev4)
Know issues:
1. Transmit large file to server with ES file explorer would crash. For the time being, use other apk (eg. AndSMB, Astro, etc.).
  TO DO: Without the source of ES, nothing can be done.... *
2. Mobiledata for i815 probably working now.
3. Adopted mode for ext. sd might not work.
4. May be more. Please report.
*** Number of asterisks indicate the importance and priority. ***


Dirty Unicorns

Screenshots:
Click image for larger version

Name:	Screenshot_20160128-232531.png
Views:	9384
Size:	141.6 KB
ID:	3626324 Click image for larger version

Name:	Screenshot_20160128-232626.png
Views:	8364
Size:	43.1 KB
ID:	3626325 Click image for larger version

Name:	Screenshot_20160128-232617.png
Views:	7358
Size:	37.9 KB
ID:	3626326
Change log:
Code:
2016/8/4
  - Latest 6.0.1_r62 (MTC20F)-DIRTY-DEEDS v-10.4
  - Add custom PowerHAL
  - Add native support for double tap wake in Display settings
  - BlueZ 5.41 update
2016/7/6
  - Latest 6.0.1_r46 (MOB30M)-DIRTY-DEEDS v-10.3
  - All Fixes from Omni are included
2016/5/25
  - Latest 6.0.1_r43 (MOB30J)-DIRTY-DEEDS v-10.2
  - All Fixes from Omni are included
2016/4/25
  - Latest 6.0.1_r30 (MOB30D)-DIRTY-DEEDS v-10.1
  - All Fixes from Omni are included
  - Testing Mira cast with new Wifi library
  - BlueZ(5.39) update from bluez.org
2016/3/29
  - Latest 6.0.1_r22 (MHC19J)-DIRTY-DEEDS v-10.0
  - All Fixes from Omni are included
  - Fix the occasional flickering
  - Fix the crash in Display settings
  - Assign the default write permission to external sdcard
  - Fix the hardware decoder for video playback
  - Reinstate the SuperSU-2.52 as built-in root
  - PerformanceControl: Fix a potential crash when stated at the first time
  - BlueZ(5.38) update from bluez.org
2016/3/7
  - Latest 6.0.1_r13 (MMB29U)-DIRTY-DEEDS v-10.0
  - All Fixes from Omni is included
  - kernel: Full F2FS support
  - kernel: Double tap to wake (DT2W), with fine tune settings
  - PerformanceControl: DT2W settings in Advanced page
  - PerformanceControl: zh-rCN, zh-rHK and zh-rTW translations
  - Fixes in Display service for Ambient and Decouncing calculation
  - Include the missing APN from last build
  - Bluetooth: Latest Bluez stack with MM patches.
2016/1/28
  - Android 6.0.1_r10 (MMB29T) -DIRTY-DEEDS v-10.0
  - All kernel features as CM and Omni. OC, F2FS, uid_cputime, etc.
  - All Fixes from Omni is included
  - Fixes in Dirty Tweaks
  - camera fix for barcode and Google translate included
  - Include 3minit battery mod in SystemUI. (see post#2 for detail)
  - Bluetooth: Latest Bluez stack with MM patches.
Know issues:
1. Fast forward in video playback not working properly.
2. Adopted mode for ext. sd might not work.
3. May be more. Please report...


Carbon ROM
Testing ...

SlimRoms
Planning ...

Downloads:
 OmniROM:
  AndroidFileHost: GalaxyTab 7.7, GalaxyTab Plus
  Dev-Host: OmniROM6
  mirror: 百度网盘 ***Request from China.

 CyanogenMod
  AndroidFileHost: GalaxyTab 7.7, GalaxyTab Plus
  Dev-Host: cm-13.0
  mirror: 百度网盘 ***Request from China.

 DirtyUnicorns:
  AndroidFileHost: GalaxyTab 7.7, GalaxyTab Plus
  Dev-Host: DU-10.0
  mirror: 百度网盘 ***Request from China.

 Gapps:  OpenGapps  DeltaGapps
 ** some Gapps might cause random reset and misbehaviour **

 To ROOT: download the latest recovery flashable ZIP from chainfire.eu
   Tested SpuerSU versions: Omni:2.49, 2.52, 2.65, 2.66  CM:2.49, 252
   DU is already rooted.

Source:
 github: https://github.com/danielhk?tab=repositories

Credits:
 ** The OmniROM team who have such a good idea and their hardworks
 ** The CyanogenMod team who keep many devices alive!
 ** The DirtyUnicorns team's selflessness and persistance.
 ** All those donate and/or support me. Giving me the resources and reasons to carry on!
 ** The Bluez team who makes bluetooth possible for old devices!
 ** @Chainfire for the great SuperSU

Donations:
 
 
 
Attached Files
File Type: zip omni6-video-patch-21060118.zip - [Click for QR Code] (1.10 MB, 2502 views)
The Following 64 Users Say Thank You to daniel_hk For This Useful Post: [ View ] Gift daniel_hk Ad-Free
 
 
27th October 2015, 12:09 PM |#2  
daniel_hk's Avatar
OP Recognized Contributor
Flag Hong Kong
Thanks Meter: 4,641
 
Donate to Me
More
Info 2 Extra Informations
Background Info. & Tips:
Quote:

  • New approach for ext. SD and OTG  
    M auto-detect the external storage and mount it accordingly. For ext. SD, you may choose either Portable or Adopted mode. An adopted SD would act like the internal SD. When a SD (or USB OTG with an SD) is inserted, a notification will handle it. You might need a simple convertion first. If the card is originally FAT, FAT32 or EXT4, the content is most likely preserved. For obsolete format like exFat, the content will be erased.
    *** In any case, backup the content first.
    TIPS:
    1. Remove Portable SD card before reboot or power ON. Google doesn't have device with ext. SD. Limited support.
      If an ext. SD is inserted before boot, it might take longer to boot and sometimes a crash. Fixed!
    2. The performance of adopted mode depends on the performance of the ext. SD. At least a class 10 is recommended.
    3. In Portable mode, the mount point is automatically generated. You may browse its content from notification or Settings. 
      Update your file explorer (eg. ES) to latest if available.
    4. ** Some report that openGapps cause Adopted mode not working, you may try BaNK's (in DU's site) or others **
  • Things about Gapps
    Everyone knows that Gapps are those proprietary apps from Google. For custom ROMs to have them. Contributors pull those apps and supporting libraries form an existing (usually the latest model with latest version available) stock AOSP ROM. Pack them into a recovery flashable zip. It is up to that contributor to decide which apps to included.
    The question is "Why Gapps are so unfriendly to M?"
    After some digging, I found a reason. The SensorManager has changed. Some essential functions that "Old" blobs (even from KK or some LP) required are undefined now. Thus some blobs would fail to load. The most obvious one is gpsd. Even if they were loaded, some function were failed. Play service can't get the LOCATION permissions because it "thinks" GPS is missing.
    TIPS:
    1. Those apps are usually located inside the /system partition. Flashing a ROM would format the /system partition and required flashing the Gapps again. Some Gapps are in /data and would survive. However, "thanks" to the eMMC brick bug, our devices won't actually format the /system partition. Hence Gapps would survive in our device.
    2. A factory reset won't erase the Gapps but only their settings and data.
    3. Since it is pull from other devices. Resolution can be an issue causing crashes in some old devices.
    4. Gapps usually rely on Google services. Upgrading google services might affects some of the Gapps.
    5. Gapps and some system apps can be disabled/enabled in Apps settings now.
    6. ** Some report that openGapps cause Adopted mode not working, you may try BaNK's (in DU's site) or others **
  • BlueZ support for Marshmallow
    If you read the README.txt of BlueZ for Android. It states that Kitkat is fully functioning but some features are not yet or partial implemented in Android 5.0. Definitely more for 6.0. Socket (L2CAP & RFCOMM) is one of the partially supported. That means file transfer in Lollipop is not fully working now. Some devices with Bluedroid also face similar situation. During the porting, I found that 6.0 has change quite a lot. Some struct and functions are redefined. Some requests would crash in the Old HAL (Bluedroid too). I fixed a few things (eg. Handsfree protocol). May be still a few glitches but its usable. Let's hope for the best.
    TIPS:
    1. Devices would easier to connect when it is ON before the tab.
    2. During calls, the Bluetooth icon would appear but with no audio.
      You might need to press the Bluetooth button once to connect the audio to the Bluetooth headset.
    3. When audio is connected, press the button will end calls as usual.
    4. When audio is connected, volume keys would sync with the system volume.
  • F2FS (Flash friendly file system)
    F2FS is a "new" thing. It is include in the Linux 3.8 kernel in late 2012. As the name imply, it is friendly to NAND storages. Since there is no cylinder, head and sectors, a different way to handle it seems sensible. The solid state flash storage is non volatile storage which requires a "higher" voltage to write (or flash). There is a life limit for such action (over 100K flashes for SLC). The MLC (and then TLC, QLC) technology make it easier to multiply the storage capacity but shorten the life of it at the same time. Most of the eMMC are MLC (1k ~ 5k flashes) now. How to make use of all the cells equally is definitely essential for the life of the flash storage. F2FS take it into account so it is "friendly" to Flash memories.
    TIPS:
    1. To test F2FS, just convert the /cache partition first. If the kernel doesn't support it, it would just fail to boot. It would done no harm to your valuable data.
    2. Read only partitions (eg. /system) has no or little difference. For compatibility, most of the custom ROMs won't support it. No need to try.
  • Double Tap to Wake (DT2W)
    This feature was implemented in a few China made phones for sometime. Recently, there is a leak of this disabled feature in the Nexus6 kerenl. There are a few ports in the Nexus' kernels. I studied them for a while and decided to make a move. ElementalX's kernel for flo helps a lot. I finally port it to my Nexus7 and our Tab. To increase the reliability and avoiding false activation, I added two interfaces for bound area and duration between taps. It depends on the resolution of the touch screen to decide the optimum values.
    TIPS:
    1. If you have dirty flash from earlier version or DU, you need to clear data of Settings. and reset. Otherwise the Advanced page in Performance Settings might crash.
    2. The default bound between the taps is 30 pixels which is around the size of our finger tip. To avoid false activation (say inside a bag, etc.), you may make it smaller but it would required more accurate taps to activate.
    3. Similarly, the shorter duration between the taps would lessen the chances of false activation but you need a quicker action to activate. The default duration is now set to 50ms. Taps over this period would be ignored.

Q & A:
Quote:

  • Q: How to flash?
  • A: NOTE! This is for user with experience:
    1. Latest TWRP (2.8.6.x or above) is required.
    2. Download ROM (+Gapps (+SuperSU)) and copy to the Sdcard (external or internal.)
    3. Backup data to external sd and keep in a safe place
    4. Reboot to recovery (Press [PWR] + [Vol+], Release [PWR] when Samsung Logo appear)
    5. Factory reset / wipe data
    6. Flash ROM (+Gapps and SuperSU if you want to ROOT)
    7. Reboot and wait for at least 10min. (Block mode not working for all devices. It might take longer for post setup) 
    ** If you flash Gapps separately, it would cause "SetupWizard" to crash and other issue. **
    Flash everything again at the same time. OR, see the fix in another Q&A below
  • Q: How to enable "Developer options" in Settings?
  • A: Follow the steps:
    1. Settings > About Tablet
    2. Hit "Build number" 7 times
    To restore the default state (Developer options hiding):
    1. Settings > Apps
    2. Select the app "Settings"
    3. Hit "Storage"
    4. Hit "CLEAR DATA"
  • Q: Why my PC can't see the Tab when USB is connected? 
  • A: With the USB cable connected, check the following:
    1. Make sure USB debugging is ON. Settings > Developer options > USB debugging
    2. Pull down the QuickSettings
    3. Hit the "USB file transfer" Notification.
    4. If Charging only is selected. Hit "Transfer files (MTP)" or "Transfer photos (PTP)".
    Still not working!
    1. Make sure the USB cable is OK
    2. With the cable connected. Turn USB debugging OFF. Settings > Developer options > USB debugging
    3. Turn USB debugging ON again.
    4. A dialogue will popup on the Tab's screen. Enable the checker box (which is the PC connected)
  • Q: Why can't I download anything with Browsers? 
  • A: M has a new stricter and wider permission settings.
     For security reason, "Dangerous" permissions are disabled. 
     It is up to the user to decide and assign afterwards.

    Futher info. of System Permission can be found HERE.
    To check the permission for each app:
    HTML Code:
    Settings > Apps > [the app] > Permissions
  • Q: How to fix SetupWizard crash of Gapps? 
  • A: As the above, It is the security again.
     The permissions for SetupWizard are "Dangerous" and disabled.  

    Note: For CM with Gapps, there will be two SetupWizards. "com.cyanogenmode.setupwizard" and "com.google.android.setupwizard". The one with the blue CyanogenMod icon is from CM. It's the one comes with Gapps crashed.
    1. Just flash ROM (+ SuperSU) only and set up the system first.
    2. Then flash Gapps.
    If SetupWizard crash after reboot:
    Method 1:
    3. You can still enter Settings via QS. There will be a short time slot after you press OK in the warning dialogue. A bit tricky but doable.
    4. Select "Apps" and select "show system" in the advance menu. (top right)
    5. Locate can select SetupWizard.
    6. Select "Permissions"
    7. Enable "Phone" and "Contacts" will stop the crash.
    OR
    Method 2:
    Your device is rooted and you know how to use adb. Use the following commands:-
    Code:
    3. adb shell
    4. $ su
    5. # pm grant com.google.android.setupwizard android.permission.READ_PHONE_STATE
    The crash will stop immediately.
  • Q: How to fix Google Play service crashes? 
  • A: Again It's the security. Google Play service requires the permissions 
     ACCESS_FINE_LOCATION & ACCESS_COARSE_LOCATION.
     BUT there is nowhere to set it. 

    Only a rooted device with adb can fix it:
    Code:
    1. adb shell
    2. $ su
    3. # pm grant com.google.android.gms android.permission.ACCESS_FINE_LOCATION 
    4. # pm grant com.google.android.gms android.permission.ACCESS_COARSE_LOCATION
  • Q: How to enable 3minit battery mod?
  • A: Follow the steps:
    1. Download V3.1 apps MinitBatteryResources and 3MinitBatterySettings
    2. Install both apps
    3. Reboot
    4. Launch 3MinitBatterySettings to setup (take a while to start)
    Note: The default size -20 is a bit too small, -5 is good enough for me  
    Click image for larger version

Name:	_20160116_164706.JPG
Views:	2014
Size:	54.2 KB
ID:	3612003

The Following 21 Users Say Thank You to daniel_hk For This Useful Post: [ View ] Gift daniel_hk Ad-Free
28th October 2015, 04:36 AM |#4  
philipnzw's Avatar
Senior Member
Thanks Meter: 41
 
More
Testing now
Not sure if placebo but its quite fast ,gonna try out doze
28th October 2015, 07:14 AM |#5  
philipnzw's Avatar
Senior Member
Thanks Meter: 41
 
More
Quote:
Originally Posted by philipnzw

Testing now
Not sure if placebo but its quite fast ,gonna try out doze

Opening apps definitely felt quicker than 5.1.1
The Following User Says Thank You to philipnzw For This Useful Post: [ View ] Gift philipnzw Ad-Free
29th October 2015, 03:32 AM |#6  
Senior Member
Flag burlington, on
Thanks Meter: 141
 
More
Nice to see android 6 on this dinosaur lol- just flashed and a lot of restarts and crashes hoping they will be fixed with updates thanks for another rom option

Sent from my Xperia Z Ultra using XDA Premium HD app
31st October 2015, 06:11 PM |#7  
scoobydu's Avatar
Senior Member
Thanks Meter: 42
 
More
Thanks for the continued support
The Following User Says Thank You to scoobydu For This Useful Post: [ View ] Gift scoobydu Ad-Free
31st October 2015, 10:07 PM |#8  
scoobydu's Avatar
Senior Member
Thanks Meter: 42
 
More
Seems very useable when gapps are not installed, but with them I cannot get past the setup wizard crashing.

Tried other gapps with the same result.

Anyone get past this already?

Edit: Seems installing everything and then factory resetting lets me get further.
2nd November 2015, 04:09 PM |#9  
Member
Flag Bergen
Thanks Meter: 32
 
More
Wow, I can't believe this device is still kicking! Even though I don't have mine anymore, it was my first android device. May it prosper
The Following User Says Thank You to Espen96 For This Useful Post: [ View ] Gift Espen96 Ad-Free
5th November 2015, 05:47 PM |#10  
uli-hh's Avatar
Senior Member
Flag Hamburg, Germany
Thanks Meter: 95
 
More
Hi Daniel
I've installed your new rom to my P6200.
Click image for larger version

Name:	Screenshot_20151105-180724.png
Views:	2544
Size:	51.9 KB
ID:	3532142
The install process was as easy as usual. Flashed rom, g-apps and superSu in one turn.
The first boot took really a very long time (>10 min. SD was inserted). I was a little afraid that I was stuck at the boot-logo but finally the setup wizard appears.
Setup went through without any problem. (except the known "SIM issue")
When I was trying to restore my backup from ext. SD with Titanium Backup I could not select ext. SD as usual.
Click image for larger version

Name:	Screenshot_20151105-180414.png
Views:	2614
Size:	76.7 KB
ID:	3532114
So I did a search within the whole device
Click image for larger version

Name:	Screenshot_20151105-180428.png
Views:	2448
Size:	98.1 KB
ID:	3532119
and the TI-backup folder was found at mysterious place
Click image for larger version

Name:	Screenshot_20151105-180351.png
Views:	2188
Size:	103.2 KB
ID:	3532120
After the restore of my apps and data I started ES file explorer and found that the mysterious place is my ext. SD with a new name: 6E12-D522
Click image for larger version

Name:	Screenshot_20151105-180638.png
Views:	2084
Size:	60.7 KB
ID:	3532129
When I attach USB memory it apears like this:
Click image for larger version

Name:	Screenshot_20151105-180951.png
Views:	2130
Size:	37.3 KB
ID:	3532132
all the content is in one folder, so you have to open up this folder to find you folders and files on the stick (minor issue)
I was not able to send the screenshots to my google-drive via wifi.
I've had two unexpected FC till now.
Some times when leaving setting the apex-launcher needs some seconds to reload the app-icons.
Overall performance and handling is really good.
For a first experimental-release this is a great shot!! Thank very much Daniel.
I'm sure you will make marshmallow usable for our "stone-age" devices
The Following User Says Thank You to uli-hh For This Useful Post: [ View ] Gift uli-hh Ad-Free
5th November 2015, 08:12 PM |#11  
Junior Member
Thanks Meter: 0
 
More
Hi Daniel
I've problem with video playback
When I play video on youtube and other app it show only black screen with sound
Thread Closed Subscribe to Thread

Tags
android-6.0, galaxytab 7.7, galaxytab plus, marshmallow, omnirom
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes