FORUMS
Remove All Ads from XDA

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

1,560 posts
Thanks Meter: 15,790
 
Post Reply Email Thread
15th December 2013, 10:33 PM |#21  
Member
Flag Nagpur(Orange city)
Thanks Meter: 6
 
More
hii.. i'm a xperia pro mk16i(iyokan) user, n currently using Lx cm11 rom, so can anybody port keyboard from stock ics to jb(cm10) or kitkat(cm11)
i'm actually noob in such thing, so if anybody can make it possible so me n all iyokan user will b greatfull for him, i searched alot but found only a port of keyboard from stock ics rom to custom ics rom.
 
 
15th December 2013, 10:59 PM |#22  
Bejda's Avatar
Senior Member
Thanks Meter: 1,957
 
More
I once had to find libs required to get a Samsung Photo Editor app running on aosp.
An app able to get real-time logs was of great help,was OsMonitor for me but there's probably many others.
For each app feature (crop,etc..) i could activate them one by one from the app and check real-time log to see which lib got called,was very useful and time saving
The Following User Says Thank You to Bejda For This Useful Post: [ View ] Gift Bejda Ad-Free
16th December 2013, 02:47 AM |#23  
Senior Member
Thanks Meter: 36
 
More
Quote:
Originally Posted by Bejda

I once had to find libs required to get a Samsung Photo Editor app running on aosp.
An app able to get real-time logs was of great help,was OsMonitor for me but there's probably many others.
For each app feature (crop,etc..) i could activate them one by one from the app and check real-time log to see which lib got called,was very useful and time saving

http://forum.xda-developers.com/show....php?t=2476050
16th December 2013, 03:50 AM |#24  
Bejda's Avatar
Senior Member
Thanks Meter: 1,957
 
More
Quote:
Originally Posted by badboy21102000

http://forum.xda-developers.com/show....php?t=2476050

So what?
Was a /system/app using /system/libs.
AndroidManifest.xml shows needed /system/framework/*.jar and /system/etc/permissions/*.xml files and if i needed one of these files i already knew that it was twframework-res apk,twframework.jar and touchwiz.xml
Could have find needed libs plugged on PC while logcat the same way but was pretty fun,fast and handy to do this and the whole process directly on phone in the bus while going to work.
Could be useful for people not at ease with logcat also.
Was it something else you wanted to show me?
17th December 2013, 02:53 AM |#25  
shanedd1123's Avatar
Member
Flag Queens, New York
Thanks Meter: 2
 
More
Htc tv app
i tryed to do this with the htc m7 tv app and had no luck if someone with more skills than me can give it a try and see if they can get it to work please let me know
5th January 2014, 06:42 PM |#26  
shaikhdjm's Avatar
Senior Member
Flag Mumbai
Thanks Meter: 91
 
More
Nice guide.. quite helpful

Sent from my Samsung Note III using xda app-developers app
23rd January 2014, 06:11 PM |#27  
cpaixao's Avatar
Senior Member
Flag Sete Lagoas
Thanks Meter: 115
 
Donate to Me
More
@Rizal Lovins I followed all steps but still unable to port Meizu MX3 Flyme OS 3 Launcher (Launcher2.apk). I have whole system dump but manifest doesn't has the lines you ask us to locate.

I would like to get help to port such amazing launcher to kitkat.
31st January 2014, 01:21 PM |#28  
zenesis's Avatar
Senior Member
Thanks Meter: 151
 
More
Hello @Rizal Lovins

I just wanna ask if it is possible to port Xperia Z1 Conversations.apk to Xperia C? I have the resources and the knowledge on compiling and decompiling apks. the thing is I don't know where to find the libs(if there is any) of the mms.apk or conversations.apk.
8th February 2014, 08:08 AM |#29  
slink722's Avatar
Senior Member
Flag San Fernando City
Thanks Meter: 1,339
 
More
@Rizal Lovins, bro is it possible that u can make a tutorial also on how to port themes? specially 4.3 themes to 4.1.2? btw, great tutorial bro..congrats!
18th February 2014, 01:59 PM |#30  
Senior Member
Thanks Meter: 110
 
More
Hi guys, very nice tutorial.

I have a MTK6592 device that comes with two roms, An aliyun rom based on android 4.2.2 en/cn language and a regular android 4.2.2 rom miltilingual. I'm trying to port a system app from the yunos to the other rom but when I try to run the app I get force close. I look in the logcat and the first error is this:

02-17 20:24:40.573: E/aui(12297): e:java.io.FileNotFoundException: aui-res.apk

Here's the whole logcat:

Code:
02-17 20:24:40.573: E/aui(12297): e:java.io.FileNotFoundException: aui-res.apk
02-17 20:24:40.577: E/AndroidRuntime(12297): FATAL EXCEPTION: main
02-17 20:24:40.577: E/AndroidRuntime(12297): java.lang.RuntimeException: Unable to start activity ComponentInfo{com.vstar3d.gesturesetting/com.vstar3d.gesturesetting.ActivitySetting}: java.lang.RuntimeException: AuiResouces: copy Aui resouces error
02-17 20:24:40.577: E/AndroidRuntime(12297): 	at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2483)
02-17 20:24:40.577: E/AndroidRuntime(12297): 	at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2535)
02-17 20:24:40.577: E/AndroidRuntime(12297): 	at android.app.ActivityThread.access$600(ActivityThread.java:178)
02-17 20:24:40.577: E/AndroidRuntime(12297): 	at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1390)
02-17 20:24:40.577: E/AndroidRuntime(12297): 	at android.os.Handler.dispatchMessage(Handler.java:107)
02-17 20:24:40.577: E/AndroidRuntime(12297): 	at android.os.Looper.loop(Looper.java:194)
02-17 20:24:40.577: E/AndroidRuntime(12297): 	at android.app.ActivityThread.main(ActivityThread.java:5560)
02-17 20:24:40.577: E/AndroidRuntime(12297): 	at java.lang.reflect.Method.invokeNative(Native Method)
02-17 20:24:40.577: E/AndroidRuntime(12297): 	at java.lang.reflect.Method.invoke(Method.java:525)
02-17 20:24:40.577: E/AndroidRuntime(12297): 	at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:844)
02-17 20:24:40.577: E/AndroidRuntime(12297): 	at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:611)
02-17 20:24:40.577: E/AndroidRuntime(12297): 	at dalvik.system.NativeStart.main(Native Method)
02-17 20:24:40.577: E/AndroidRuntime(12297): Caused by: java.lang.RuntimeException: AuiResouces: copy Aui resouces error
02-17 20:24:40.577: E/AndroidRuntime(12297): 	at com.yunos.internal.AuiResouces.get(AuiResouces.java:48)
02-17 20:24:40.577: E/AndroidRuntime(12297): 	at yunos.app.SpiritActivity.getResources(SpiritActivity.java:1076)
02-17 20:24:40.577: E/AndroidRuntime(12297): 	at yunos.app.SpiritActivity.initializeTheme(SpiritActivity.java:1115)
02-17 20:24:40.577: E/AndroidRuntime(12297): 	at yunos.app.SpiritActivity.setTheme(SpiritActivity.java:1109)
02-17 20:24:40.577: E/AndroidRuntime(12297): 	at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2433)
02-17 20:24:40.577: E/AndroidRuntime(12297): 	... 11 more
02-17 20:24:40.623: E/AEE/LIBAEE(666): shell: cant create socket with aed: Connection refused
02-17 20:24:40.650: E/hwcomposer(152): [JOB] Timed out waiting for vsync...
02-17 20:24:40.754: E/AppErrorDialog(666): Failed to get ILowStorageHandle instance
The aui-res.apk is in the yunos framework directory and it's the secondary framework for that rom( if i decompile with apktool it's 2.apk). I bring it over to my rom in the framework directory but i still get the same error. I've spend 15 days on this without success.

Please help me out a little.
22nd February 2014, 12:11 PM |#31  
GalaxyUser's Avatar
Recognized Contributor
Flag Aix-en-Provence
Thanks Meter: 3,728
 
Donate to Me
More
Quote:
Originally Posted by slink722

@Rizal Lovins, bro is it possible that u can make a tutorial also on how to port themes? specially 4.3 themes to 4.1.2? btw, great tutorial bro..congrats!

Hi,

As it's a framework file i think you need to edit your bootclasspath to match with this files and others dependencies files.

So edit your boot.img and copy all necessary framework files to /system/framework and try again to port this app.

Do a backup of your rom and be carreful or you will just break your phone

Sent from my Nexus 5 using xda app-developers app
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