[Android Software/Hacking General [Developers Only]] .MoHaMaD:
thanks

It's working by some changes

Nexus 6 MRA58R Marshmallow ( I didn't test it because i didn't have Nexus 6 device. )

test priv-app framework

and my rom

1. oat2dex

https://github.com/testwhat/SmaliEx/releases

2.

for example

C:\MyRom\priv-app\AndroidForWork\oat\arm\AndroidForWork.odex

Change

C:\MyRom\priv-app\AndroidForWork\arm\AndroidForWork.odex

06-11-2015:17-10-42 => Framework Folder Exists
06-11-2015:17-10-42 => boot.oat Exists
06-11-2015:17-10-42 => App Folder Exists
06-11-2015:17-10-42 => Priv-App Folder Exists
06-11-2015:17-10-42 => Deodexing Started
06-11-2015:17-10-42 => Extracting Boot.oat
06-11-2015:17-10-42 => Copying Boot.oat to Working Directory - SUCCESS
06-11-2015:17-11-15 => Boot.oat Extraction Complete
06-11-2015:17-11-15 => Odexed Private Apps Count: 50
06-11-2015:17-11-15 => Deodexing Private Apps
06-11-2015:17-11-17 => 1 of 50 - AndroidForWork - SUCCESS
06-11-2015:17-11-18 => 2 of 50 - AppDirectedSMSProxy - SUCCESS
06-11-2015:17-11-20 => 3 of 50 - BackupRestoreConfirmation - SUCCESS
06-11-2015:17-11-21 => 4 of 50 - BuaContactAdapter - SUCCESS
06-11-2015:17-11-23 => 5 of 50 - CalendarProvider - SUCCESS
06-11-2015:17-11-25 => 6 of 50 - CallLogBackup - SUCCESS
06-11-2015:17-11-26 => 7 of 50 - CarrierConfig - SUCCESS
06-11-2015:17-11-27 => 8 of 50 - CellBroadcastReceiver - SUCCESS
06-11-2015:17-11-29 => 9 of 50 - CNEService - SUCCESS
06-11-2015:17-11-38 => 10 of 50 - ConfigUpdater - SUCCESS
06-11-2015:17-11-39 => 11 of 50 - ConnMO - SUCCESS
06-11-2015:17-11-43 => 12 of 50 - ContactsProvider - SUCCESS
06-11-2015:17-11-47 => 13 of 50 - CQATest - SUCCESS
06-11-2015:17-11-49 => 14 of 50 - DCMO - SUCCESS
06-11-2015:17-11-50 => 15 of 50 - DefaultContainerService - SUCCESS
06-11-2015:17-11-52 => 16 of 50 - DiagMon - SUCCESS
06-11-2015:17-11-54 => 17 of 50 - DMService - SUCCESS
06-11-2015:17-11-56 => 18 of 50 - DownloadProvider - SUCCESS
06-11-2015:17-11-58 => 19 of 50 - Entitlement - SUCCESS
06-11-2015:17-11-59 => 20 of 50 - GoogleBackupTransport - SUCCESS
06-11-2015:17-12-07 => 21 of 50 - GoogleContacts - SUCCESS
06-11-2015:17-12-15 => 22 of 50 - GoogleDialer - SUCCESS
06-11-2015:17-12-18 => 23 of 50 - GoogleFeedback - SUCCESS
06-11-2015:17-12-19 => 24 of 50 - GoogleOneTimeInitializer - SUCCESS
06-11-2015:17-12-24 => 25 of 50 - GooglePackageInstaller - SUCCESS
06-11-2015:17-12-28 => 26 of 50 - GooglePartnerSetup - SUCCESS
06-11-2015:17-12-29 => 27 of 50 - InputDevices - SUCCESS
06-11-2015:17-12-30 => 28 of 50 - LifetimeData - SUCCESS
06-11-2015:17-12-32 => 29 of 50 - ManagedProvisioning - SUCCESS
06-11-2015:17-12-34 => 30 of 50 - MediaProvider - SUCCESS
06-11-2015:17-12-35 => 31 of 50 - MmsService - SUCCESS
06-11-2015:17-12-37 => 32 of 50 - MusicFX - SUCCESS
06-11-2015:17-12-39 => 33 of 50 - ProxyHandler - SUCCESS
06-11-2015:17-12-46 => 34 of 50 - Settings - SUCCESS
06-11-2015:17-12-48 => 35 of 50 - SettingsProvider - SUCCESS
06-11-2015:17-12-54 => 36 of 50 - SetupWizard - SUCCESS
06-11-2015:17-12-56 => 37 of 50 - SharedStorageBackup - SUCCESS
06-11-2015:17-12-57 => 38 of 50 - Shell - SUCCESS
06-11-2015:17-12-59 => 39 of 50 - SprintDM - SUCCESS
06-11-2015:17-13-01 => 40 of 50 - StatementService - SUCCESS
06-11-2015:17-13-06 => 41 of 50 - SystemUI - SUCCESS
06-11-2015:17-13-08 => 42 of 50 - TagGoogle - SUCCESS
06-11-2015:17-13-10 => 43 of 50 - Telecom - SUCCESS
06-11-2015:17-13-12 => 44 of 50 - TelephonyProvider - SUCCESS
06-11-2015:17-13-16 => 45 of 50 - TeleService - SUCCESS
06-11-2015:17-13-19 => 46 of 50 - TriggerEnroll - SUCCESS
06-11-2015:17-13-21 => 47 of 50 - TriggerTrainingService - SUCCESS
06-11-2015:17-13-22 => 48 of 50 - VpnDialogs - SUCCESS
06-11-2015:17-13-24 => 49 of 50 - VZWAPNService - SUCCESS
06-11-2015:17-13-25 => 50 of 50 - WallpaperCropper - SUCCESS
06-11-2015:17-13-26 => Odexed Boot Framework Apps Count: 12
06-11-2015:17-13-26 => Deodexing Boot Framework Apps
06-11-2015:17-13-26 => 1 of 12 - apache-xml - SUCCESS
06-11-2015:17-13-26 => 2 of 12 - bouncycastle - SUCCESS
06-11-2015:17-13-27 => 3 of 12 - conscrypt - SUCCESS
06-11-2015:17-13-27 => 4 of 12 - core-junit - SUCCESS
06-11-2015:17-13-28 => 5 of 12 - core-libart - SUCCESS
06-11-2015:17-13-28 => 6 of 12 - ext - SUCCESS
06-11-2015:17-13-31 => 7 of 12 - framework - SUCCESS
06-11-2015:17-13-31 => 8 of 12 - ims-common - SUCCESS
06-11-2015:17-13-31 => 9 of 12 - okhttp - SUCCESS
06-11-2015:17-13-31 => 10 of 12 - org.apache.http.legacy.boot - SUCCESS
06-11-2015:17-13-32 => 11 of 12 - telephony-common - SUCCESS
06-11-2015:17-13-32 => 12 of 12 - voip-common - SUCCESS
06-11-2015:17-13-33 => Deodexing Classes2 - SUCCESS
06-11-2015:17-13-33 => Deodexing Completed

C:\Ext4_Unpacker\Ext4\6R\framework\oat\arm

copy

C:\Ext4_Unpacker\Ext4\6R\framework\arm

06-11-2015:17-54-51 => Framework Folder Exists
06-11-2015:17-54-51 => boot.oat Exists
06-11-2015:17-54-51 => App Folder Exists
06-11-2015:17-54-51 => Priv-App Folder Exists
06-11-2015:17-54-51 => Deodexing Started
06-11-2015:17-54-51 => Extracting Boot.oat
06-11-2015:17-54-51 => Copying Boot.oat to Working Directory - SUCCESS
06-11-2015:17-55-23 => Boot.oat Extraction Complete
06-11-2015:17-55-23 => Odexed Framework Apps Count: 37
06-11-2015:17-55-23 => Deodexing Framework Apps
06-11-2015:17-55-25 => 1 of 37 - am - SUCCESS
06-11-2015:17-55-27 => 2 of 37 - android.test.runner - SUCCESS
06-11-2015:17-55-28 => 3 of 37 - appops - SUCCESS
06-11-2015:17-55-29 => 4 of 37 - appwidget - SUCCESS
06-11-2015:17-55-30 => 5 of 37 - bmgr - SUCCESS
06-11-2015:17-55-31 => 6 of 37 - bu - SUCCESS
06-11-2015:17-55-32 => 7 of 37 - com.android.future.usb.accessory - SUCCESS
06-11-2015:17-55-33 => 8 of 37 - com.android.location.provider - SUCCESS
06-11-2015:17-55-34 => 9 of 37 - com.android.media.remotedisplay - SUCCESS
06-11-2015:17-55-36 => 10 of 37 - com.android.mediadrm.signer - SUCCESS
06-11-2015:17-55-37 => 11 of 37 - com.android.nfc_extras - SUCCESS
06-11-2015:17-55-38 => 12 of 37 - com.google.android.dialer.support - SUCCESS
06-11-2015:17-55-40 => 13 of 37 - com.google.android.maps - SUCCESS
06-11-2015:17-55-41 => 14 of 37 - com.google.android.media.effects - SUCCESS
06-11-2015:17-55-42 => 15 of 37 - com.google.widevine.software.drm - SUCCESS
06-11-2015:17-55-43 => 16 of 37 - com.verizon.hardware.telephony.ehrpd - SUCCESS
06-11-2015:17-55-44 => 17 of 37 - com.verizon.hardware.telephony.lte - SUCCESS
06-11-2015:17-55-45 => 18 of 37 - com.verizon.ims - SUCCESS
06-11-2015:17-55-47 => 19 of 37 - content - SUCCESS
06-11-2015:17-55-48 => 20 of 37 - dpm - SUCCESS
06-11-2015:17-55-49 => 21 of 37 - ethernet-service - SUCCESS
06-11-2015:17-55-50 => 22 of 37 - hid - SUCCESS
06-11-2015:17-55-51 => 23 of 37 - ime - SUCCESS
06-11-2015:17-55-52 => 24 of 37 - input - SUCCESS
06-11-2015:17-55-54 => 25 of 37 - javax.obex - SUCCESS
06-11-2015:17-55-55 => 26 of 37 - media_cmd - SUCCESS
06-11-2015:17-55-57 => 27 of 37 - monkey - SUCCESS
06-11-2015:17-55-59 => 28 of 37 - pm - SUCCESS
06-11-2015:17-56-00 => 29 of 37 - requestsync - SUCCESS
06-11-2015:17-56-13 => 30 of 37 - services - SUCCESS
06-11-2015:17-56-14 => 31 of 37 - settings - SUCCESS
06-11-2015:17-56-15 => 32 of 37 - sm - SUCCESS
06-11-2015:17-56-16 => 33 of 37 - svc - SUCCESS
06-11-2015:17-56-17 => 34 of 37 - telecom - SUCCESS
06-11-2015:17-56-19 => 35 of 37 - uiautomator - SUCCESS
06-11-2015:17-56-25 => 36 of 37 - wifi-service - SUCCESS
06-11-2015:17-56-26 => 37 of 37 - wm - SUCCESS
06-11-2015:17-56-26 => Odexed Boot Framework Apps Count: 12
06-11-2015:17-56-26 => Deodexing Boot Framework Apps
06-11-2015:17-56-26 => 1 of 12 - apache-xml - SUCCESS
06-11-2015:17-56-27 => 2 of 12 - bouncycastle - SUCCESS
06-11-2015:17-56-27 => 3 of 12 - conscrypt - SUCCESS
06-11-2015:17-56-27 => 4 of 12 - core-junit - SUCCESS
06-11-2015:17-56-28 => 5 of 12 - core-libart - SUCCESS
06-11-2015:17-56-29 => 6 of 12 - ext - SUCCESS
06-11-2015:17-56-31 => 7 of 12 - framework - SUCCESS
06-11-2015:17-56-31 => 8 of 12 - ims-common - SUCCESS
06-11-2015:17-56-31 => 9 of 12 - okhttp - SUCCESS
06-11-2015:17-56-32 => 10 of 12 - org.apache.http.legacy.boot - SUCCESS
06-11-2015:17-56-32 => 11 of 12 - telephony-common - SUCCESS
06-11-2015:17-56-32 => 12 of 12 - voip-common - SUCCESS
06-11-2015:17-56-33 => Deodexing Classes2 - SUCCESS
06-11-2015:17-56-33 => Deodexing Completed