[GUIDE/TIPS] How to Port OEM Apps / Vendor Apps to Your Current ROM

roxion22

Senior Member
Jan 29, 2015
127
10
38
Possible to port miui theme app for aosp custom rom? i just need cool wallpapers from that app! themes will not work i know that. don't even need it.
 

KineSight

Senior Member
Jan 15, 2017
222
14
28
I've got Samsung Galaxy A20 without an AOD

I Did manage to extract the AOD Apk from the Galaxy A30 which has it.

Is there a way I could port it to my A20?

Both Same Android version and Both have OneUI. Same screen size also.
 

Stefke93

Senior Member
Jun 16, 2017
141
81
28
Belgrade
hi friends

can you pls. try to do porting of entire Nubia Camera application to be used in any other mobile.

FYI..attached is the link to file having Nubia Camera app along with all lib files

https://drive.google.com/open?id=1ELjTFUk0oylSQIpZid6HOs6hrsJt5jBe

FYI im using Huawei Nova 3i (Kirin 710, Android 9)

pls. reply..
thanks
Sam
I found all missing libs so far, but i can't find in dump this file: data/nubiaeffect/water_mark_drawable_white.argb try to find and send me :)

E com.android.camera: [WaterMarkUtil]create water effect file fail!/data/nubiaeffect/water_mark_drawable_white.argb: open failed: ENOENT (No such file or directory)
 

meconfusedthinker

Senior Member
Apr 1, 2014
79
13
0
Mumbai
I found all missing libs so far, but i can't find in dump this file: data/nubiaeffect/water_mark_drawable_white.argb try to find and send me :)

E com.android.camera: [WaterMarkUtil]create water effect file fail!/data/nubiaeffect/water_mark_drawable_white.argb: open failed: ENOENT (No such file or directory)
thanks for your efforts..but sorry friend..i did not get the this file as well..can you try any other workaround file..keep me posted
 

nicolaimai

Member
Feb 10, 2017
22
5
0
United States
Styles and Wallpapers app- Pixel Themes

can someone port this app for samsung ? i really like the design of the app , like set color on tiles etc..( i know here on this forum xda there is a port only for Wallpapers 19 with only live wallpaper. here but i really like the application like design. i guess the app we need to port is the new
Code:
Google Wallpapers 10 beta  [URL="https://www.apkmirror.com/apk/google-inc/google-wallpaper-picker/google-wallpaper-picker-10-release/"]here is the  link[/URL]
after installing this app on mobile device you can see the name is different, not only wallpaper but
Code:
Styles and Wallpapers
ok so Styles and Wallpapers app is just ,,Google Wallpapers 10,; i mean install pixel theme on samsung devices - as in the photo below
i took info from here but this is only for google pixel phone . i wish someone can port this app for samsung (s9-s9+,or note 10 or any samsung phone
 
Last edited:
  • Like
Reactions: Nitin Rai

Nitin Rai

Senior Member
Apr 19, 2015
74
15
0
I'm getting this error

Does it mean there is some lib file missing or something else?
---- Mar 10, 2020 8:17:24 PM ----

03-10 20:02:11.036 1357 1357 I PackageManager: Un-granting permission android.permission.DEVICE_POWER from package com.android.camera (protectionLevel=2 flags=0x30c9be45)

03-10 20:02:33.318 4778 4778 E AndroidRuntime: Process: com.android.camera, PID: 4778

03-10 20:02:33.318 4778 4778 E AndroidRuntime: at com.android.camera.CameraSettings.<clinit>(CameraSettings.java:304)

03-10 20:02:33.362 1357 3624 I ActivityManager: Process com.android.camera (pid 4778) has died: cch+5 CEM

03-10 20:02:45.569 1357 3593 I ActivityTaskManager: START u0 {act=android.intent.action.MAIN cat=[android.intent.category.LAUNCHER] flg=0x10200000 cmp=com.android.camera/.Camera bnds=[0,1266][199,1487] (has extras)} from uid 10174

03-10 20:02:45.614 1357 1404 I ActivityManager: Start proc 6380:com.android.camera/u0a85 for activity {com.android.camera/com.android.camera.Camera}

03-10 20:02:45.671 6380 6380 W System.err: at com.android.camera.CameraAppImpl.<init>(CameraAppImpl.java:26)

03-10 20:02:45.685 6380 6380 E AndroidRuntime: Process: com.android.camera, PID: 6380

03-10 20:02:45.685 6380 6380 E AndroidRuntime: java.lang.RuntimeException: Unable to instantiate activity ComponentInfo{com.android.camera/com.android.camera.Camera}: java.lang.ClassNotFoundException: Didn't find class "com.android.camera.Camera" on path: DexPathList[[zip file "/system/priv-app/MiuiCamera/MiuiCamera.apk"],nativeLibraryDirectories=[/system/priv-app/MiuiCamera/lib/arm64, /system/lib64, /vendor/lib64, /system/product/lib64, /system/lib64, /vendor/lib64, /system/product/lib64]]



03-10 20:02:45.685 6380 6380 E AndroidRuntime: Caused by: java.lang.ClassNotFoundException: com.android.camera.ActivityBase

03-10 20:02:45.689 1357 2570 W ActivityTaskManager: Force finishing activity com.android.camera/.Camera

03-10 20:02:45.699 1357 1392 I ActivityManager: Showing crash dialog for package com.android.camera u0

03-10 20:02:46.191 1357 1394 W ActivityTaskManager: Activity top resumed state loss timeout for ActivityRecord{aab5e3e u0 com.android.camera/.Camera t172 f}

03-10 20:02:46.191 1357 1394 W ActivityTaskManager: Activity pause timeout for ActivityRecord{aab5e3e u0 com.android.camera/.Camera t172 f}

03-10 20:02:47.663 1357 2570 W ActivityTaskManager: Force finishing activity com.android.camera/.Camera

03-10 20:02:47.676 1357 2570 I ActivityManager: Killing 6380:com.android.camera/u0a85 (adj 900): crash

03-10 20:02:54.822 1357 2729 I ActivityTaskManager: START u0 {act=android.intent.action.MAIN cat=[android.intent.category.LAUNCHER] flg=0x10200000 cmp=com.android.camera/.Camera bnds=[0,1266][199,1487] (has extras)} from uid 10174

03-10 20:02:54.862 1357 1404 I ActivityManager: Start proc 6893:com.android.camera/u0a85 for activity {com.android.camera/com.android.camera.Camera}

03-10 20:02:54.909 6893 6893 W System.err: at com.android.camera.CameraAppImpl.<init>(CameraAppImpl.java:26)

03-10 20:02:54.926 6893 6893 E AndroidRuntime: Process: com.android.camera, PID: 6893

03-10 20:02:54.926 6893 6893 E AndroidRuntime: java.lang.RuntimeException: Unable to instantiate activity ComponentInfo{com.android.camera/com.android.camera.Camera}: java.lang.ClassNotFoundException: Didn't find class "com.android.camera.Camera" on path: DexPathList[[zip file "/system/priv-app/MiuiCamera/MiuiCamera.apk"],nativeLibraryDirectories=[/system/priv-app/MiuiCamera/lib/arm64, /system/lib64, /vendor/lib64, /system/product/lib64, /system/lib64, /vendor/lib64, /system/product/lib64]]

03-10 20:02:54.926 6893 6893 E AndroidRuntime: Caused by: java.lang.ClassNotFoundException: Didn't find class "com.android.camera.Camera" on path: DexPathList[[zip file "/system/priv-app/MiuiCamera/MiuiCamera.apk"],nativeLibraryDirectories=[/system/priv-app/MiuiCamera/lib/arm64, /system/lib64, /vendor/lib64, /system/product/lib64, /system/lib64, /vendor/lib64, /system/product/lib64]]

03-10 20:02:54.926 6893 6893 E AndroidRuntime: Caused by: java.lang.ClassNotFoundException: com.android.camera.ActivityBase

03-10 20:02:54.929 1357 2729 W ActivityTaskManager: Force finishing activity com.android.camera/.Camera

03-10 20:02:54.937 1357 1392 I ActivityManager: Showing crash dialog for package com.android.camera u0

03-10 20:02:55.429 1357 1394 W ActivityTaskManager: Activity top resumed state loss timeout for ActivityRecord{ddafa0 u0 com.android.camera/.Camera t174 f}

03-10 20:02:55.431 1357 1394 W ActivityTaskManager: Activity pause timeout for ActivityRecord{ddafa0 u0 com.android.camera/.Camera t174 f}

03-10 20:02:55.847 1357 2729 W ActivityTaskManager: Force finishing activity com.android.camera/.Camera

03-10 20:02:55.851 1357 2729 I ActivityManager: Killing 6893:com.android.camera/u0a85 (adj 900): crash

03-10 20:04:25.345 1357 3113 I ActivityTaskManager: START u0 {act=android.intent.action.MAIN cat=[android.intent.category.LAUNCHER] flg=0x10200000 cmp=com.android.camera/.Camera bnds=[0,1266][199,1487] (has extras)} from uid 10174

03-10 20:04:25.367 1357 1395 W WindowManager: Token{4d2791d ActivityRecord{4a40df4 u0 com.android.camera/.Camera t183}} failed creating starting window

03-10 20:04:25.394 1357 1404 I ActivityManager: Start proc 7681:com.android.camera/u0a85 for activity {com.android.camera/com.android.camera.Camera}

03-10 20:04:25.441 7681 7681 W System.err: at com.android.camera.CameraAppImpl.<init>(CameraAppImpl.java:26)

03-10 20:04:25.455 7681 7681 E AndroidRuntime: Process: com.android.camera, PID: 7681

03-10 20:04:25.455 7681 7681 E AndroidRuntime: java.lang.RuntimeException: Unable to instantiate activity ComponentInfo{com.android.camera/com.android.camera.Camera}: java.lang.ClassNotFoundException: Didn't find class "com.android.camera.Camera" on path: DexPathList[[zip file "/system/priv-app/MiuiCamera/MiuiCamera.apk"],nativeLibraryDirectories=[/system/priv-app/MiuiCamera/lib/arm64, /system/lib64, /vendor/lib64, /system/product/lib64, /system/lib64, /vendor/lib64, /system/product/lib64]]

03-10 20:04:25.455 7681 7681 E AndroidRuntime: Caused by: java.lang.ClassNotFoundException: Didn't find class "com.android.camera.Camera" on path: DexPathList[[zip file "/system/priv-app/MiuiCamera/MiuiCamera.apk"],nativeLibraryDirectories=[/system/priv-app/MiuiCamera/lib/arm64, /system/lib64, /vendor/lib64, /system/product/lib64, /system/lib64, /vendor/lib64, /system/product/lib64]]

03-10 20:04:25.455 7681 7681 E AndroidRuntime: Caused by: java.lang.ClassNotFoundException: com.android.camera.ActivityBase

03-10 20:04:25.458 1357 3113 W ActivityTaskManager: Force finishing activity com.android.camera/.Camera

03-10 20:04:25.491 1357 3351 I ActivityManager: Process com.android.camera (pid 7681) has died: vis+99 TOP

03-10 20:04:25.960 1357 1394 W ActivityTaskManager: Activity top resumed state loss timeout for ActivityRecord{4a40df4 u0 com.android.camera/.Camera t-1 f}

03-10 20:05:21.569 1357 2709 I ActivityTaskManager: START u0 {act=android.intent.action.MAIN cat=[android.intent.category.LAUNCHER] flg=0x10000000 cmp=com.android.camera/.Camera} from uid 10225

03-10 20:05:21.587 1357 1395 W WindowManager: Token{a3ce2bf ActivityRecord{8a970de u0 com.android.camera/.Camera t186}} failed creating starting window

03-10 20:05:21.619 1357 1404 I ActivityManager: Start proc 8512:com.android.camera/u0a85 for activity {com.android.camera/com.android.camera.Camera}

03-10 20:05:21.670 8512 8512 W System.err: at com.android.camera.CameraAppImpl.<init>(CameraAppImpl.java:26)

03-10 20:05:21.684 8512 8512 E AndroidRuntime: Process: com.android.camera, PID: 8512

03-10 20:05:21.684 8512 8512 E AndroidRuntime: java.lang.RuntimeException: Unable to instantiate activity ComponentInfo{com.android.camera/com.android.camera.Camera}: java.lang.ClassNotFoundException: Didn't find class "com.android.camera.Camera" on path: DexPathList[[zip file "/system/priv-app/MiuiCamera/MiuiCamera.apk"],nativeLibraryDirectories=[/system/priv-app/MiuiCamera/lib/arm64, /system/lib64, /vendor/lib64, /system/product/lib64, /system/lib64, /vendor/lib64, /system/product/lib64]]

03-10 20:05:21.684 8512 8512 E AndroidRuntime: Caused by: java.lang.ClassNotFoundException: Didn't find class "com.android.camera.Camera" on path: DexPathList[[zip file "/system/priv-app/MiuiCamera/MiuiCamera.apk"],nativeLibraryDirectories=[/system/priv-app/MiuiCamera/lib/arm64, /system/lib64, /vendor/lib64, /system/product/lib64, /system/lib64, /vendor/lib64, /system/product/lib64]]

03-10 20:05:21.684 8512 8512 E AndroidRuntime: Caused by: java.lang.ClassNotFoundException: com.android.camera.ActivityBase

03-10 20:05:21.687 1357 2709 W ActivityTaskManager: Force finishing activity com.android.camera/.Camera

03-10 20:05:21.693 1357 1392 I ActivityManager: Showing crash dialog for package com.android.camera u0

03-10 20:05:22.190 1357 1394 W ActivityTaskManager: Activity top resumed state loss timeout for ActivityRecord{8a970de u0 com.android.camera/.Camera t186 f}

03-10 20:05:22.190 1357 1394 W ActivityTaskManager: Activity pause timeout for ActivityRecord{8a970de u0 com.android.camera/.Camera t186 f}

03-10 20:05:23.942 1357 2709 W ActivityTaskManager: Force finishing activity com.android.camera/.Camera

03-10 20:05:23.966 1357 2709 I ActivityManager: Killing 8512:com.android.camera/u0a85 (adj 900): crash

03-10 20:05:23.969 1357 2709 E InputDispatcher: Window handle Window{c1bd4b4 u0 Application Error: com.android.camera} has no registered input channel

---- Mar 10, 2020 8:17:24 PM ----
I will be very thankful for your help
 
Last edited:

meconfusedthinker

Senior Member
Apr 1, 2014
79
13
0
Mumbai
I found all missing libs so far, but i can't find in dump this file: data/nubiaeffect/water_mark_drawable_white.argb try to find and send me :)

E com.android.camera: [WaterMarkUtil]create water effect file fail!/data/nubiaeffect/water_mark_drawable_white.argb: open failed: ENOENT (No such file or directory)

@Stefke93

friend any luck with it..

may be if you just disable the watermark to see no error in logs

may be it will work..

since this .argb files is embeded in .so file am not able to get it..

u can download below new apk file which has lib files of watermark..

https://drive.google.com/file/d/10x6uYRuO3lcppWYvn6vLL4YybF2A82My/view?usp=drivesdk

awaiting ur reply..
 
Last edited: