yashsingh1/xdaforums huggingface dataset:
[8125, K-JAM, P4300, MDA Vario General] buzz_lightyear:
Re: Where to download ?!?!

????

1st of all, emulator is available for download at Microsoft's web site.

2nd did you at least read those few posts above??? You would find a link to emulator.

3rd Link is here

buzz
[8125, K-JAM, P4300, MDA Vario General] unpresedented:
I've read all posts, but...

i've swept all posts, im not stupid, but the link you've provided is a 25 MB file that can't really display more than a blank screen :( after many many trials ... i will try Microsoft Site ... i will tell you of the result after a while ..

thank you ..
[8125, K-JAM, P4300, MDA Vario General] unpresedented:
I got the link ..

thank you ... the solution was Microsoft website .... i appreciate your cooperation ...
[XDA-University] Rizal Lovins:
Analizing app force close and how to fix it

Well in this post i will explain how to fix force close app that you are trying to port

Typically applications that do not work is because several factors:

1. Missing library framework

2. Missing *.so files

3. Java Method or function that do not match with your current ROM

In screenshot logcat say there is many error, you should search similar code like before "storage_sdcard" & "storage_usb" and follow changing code guide like before!!! also search in other smali that same error like that.

If you are done, save all change then recompile apk and sign apk

CONGRATZ YOU ARE DONE.
[XDA-University] Rizal Lovins:
CREDITS :

Thanks to [MENTION=3201113]Lasan[/MENTION] for the trick [MENTION=4569900]ibanez7[/MENTION] for always helping me if i stuck
[XDA-University] vanitea:
nice thread

Thanks for it...... :good::good::good::good:

but still waiting for more detil tuttor, give some example to port apk from sony to all android device

because i wana be RC-RD like you:D:silly:

you are realy great RC-RD here
[XDA-University] Rizal Lovins:
you are welcome my friend :)

Yeah i will post with all detail later, now just uploaded some screenshots :)

No!!! i'm not developer :D
[XDA-University] vanitea:
nice update

yeah more understod with screenshot, thanks my bro

and i'm sorry about RD-RC........ :fingers-crossed:

i should write RT-RC :D:D
[XDA-University] TitaniumZERO:
Sorry to ask, how do I determine the signing key?
[XDA-University] Rizal Lovins:
just try all signed tool for PC, like signing with private key etc, search at google to xda, or you can download zip signer in google play store in your phone, it's easy to use :)
[XDA-University] Cehesto:
Thanks! :)
[XDA-University] hard91:
Any tutorial for round switches in settings like homani framework

And xperia u phone book port to tipo ????
[XDA-University] abo hani:
If i want to port Z1 Task Switcher ... or Z1 small apps like Calculator ...

EX ! should i edit jar files ? like services and framework.jar ....

Or just follow your method ?

---------- Post added at 06:19 PM ---------- Previous post was at 06:19 PM ----------

[MENTION=4666531]Rizal Lovins[/MENTION]
[XDA-University] Minions_Army:
nice guide master

i try to backport music apk from lenovo Ics to Gb...and succes 50% may be...but i have little problem about scanning media..not all music can be playing..n always fc if i open music album

on widget work 100% bt not on main app

thanks

n sorry my bad english
[XDA-University] nedunilavan:
Very comprehensive guide bro... Thanks
[XDA-University] lispsne:
thanks for sharing:good::good::good::good::good::good::good::good::good::good::good:
[XDA-University] AlandEr0301:
[MENTION=4666531]Rizal Lovins[/MENTION] I dont understand very well how to know what files .SO i need
[XDA-University] clueless_stranger:
Could this guide port a Samsung app like the s-note 3 camera?
[XDA-University] andrman1:
I have a question: why needed to decompile framework-res.apk and other framework file before decompiling/compiling other apps ?
[XDA-University] TechExhibeo:
Thnxxx alot for this guide Rizal . ..

Will try it when i get tym....

U are awesome mate...
[XDA-University] zakk87:
Thank you for tutorial, can someone port Smartactions from Motorola phones. I can try but tomorrow.

Wysłane z mojego Nexus 4 przy użyciu Tapatalka
[XDA-University] Mikanoshi:
You can just launch an app, wait for it to FC and then read logcat to find out what library it requires :)

The better way is to decompile apk and search for loadLibrary() calls in sources.

Now I only want to know how to port Walkman visualizator, because this error doesn't help much:

This symbol is not there in some library, but what lib exactly?) I think it's in Skia 2D graphic library, but I haven't found a version with which visualizer could work.
[XDA-University] Dharmaraj24:
I must ask how to get the ROM..? like say MIUI 10 ??
[XDA-University] roxion22:
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.
[XDA-University] KineSight:
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.
[XDA-University] meconfusedthinker:
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
[XDA-University] gwgantengloh:
It little hard, but ill try to read and understand it, btw, thanks :highfive:
[XDA-University] meconfusedthinker:
will really appreciate if you manage to do it..all the best..:good: :good:
[XDA-University] meconfusedthinker:
[MENTION=10276685]gwgantengloh[/MENTION]

hv u manage to do anything on nubia camera port, do let me know..
[XDA-University] Stefke93:
I can try to port, send me framework files from system/framework files are in apk format and tell me phone model :)
[XDA-University] Stefke93:
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)
[XDA-University] meconfusedthinker:
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
[XDA-University] nicolaimai:
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

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

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

[IMG="atyle and wallpaper"]https://i1.wp.com/9to5google.com/wp-content/uploads/sites/4/2019/09/pixel_themes_1.jpg?w=2000&quality=82&strip=all&ssl=1[/IMG]
[XDA-University] HumanBoy23:
I'm getting this error

Does it mean there is some lib file missing or something else?

I will be very thankful for your help
[XDA-University] meconfusedthinker:
[MENTION=8347567]Stefke93[/MENTION]

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..
[XDA-University] agent24015:
Oneplus gallery

can anyone please help me on how to port the latest oneplus gallery app, I have decompiled and edited the AndroidManifest.xml, but still it is not working. Link for apk : https://www.apkmirror.com/apk/oneplus-ltd/oneplus-gallery/oneplus-gallery-4-0-67-release/
[XDA-University] DSA:
late reply but:

I haven't done apk recompiling for a while, but it might be a signature error
[XDA-University] LorD IchigO:
will this work now?
[XDA-University] Amrut Parmar:
possible to do this in android?
[XDA-University] acp Siam:
Unfortunately i dont understand what you said above... In the first line. Could you please help?
[XDA-University] AngelCastillo029:
Hi there, I'm currently trying to port a system Motorola app, I have successfully fixed some errors but I'm currently stuck with the following error:

FATAL EXCEPTION: main
Process: com.motorola.systemui.desk, PID: 10993
java.lang.NoSuchMethodError: No interface method registerShortcutKeyByDisplay(JLcom/motorola/internal/policy/IShortcutServiceByDisplay;)V in class Landroid/view/IWindowManager; or its super classes (declaration of 'android.view.IWindowManager' appears in /system/framework/framework.jar!classes3.dex)
at com.motorola.taskbar.shortcut.ShortcutKeyDispatcher.registerShortcutKey(ShortcutKeyDispatcher.java:79)
at com.motorola.taskbar.shortcut.ShortcutKeyDispatcher.start(ShortcutKeyDispatcher.java:121)
at com.motorola.taskbar.TaskBarApplication.onCreate(TaskBarApplication.java:51)
at android.app.Instrumentation.callApplicationOnCreate(Instrumentation.java:1198)
at android.app.ActivityThread.handleBindApplication(ActivityThread.java:6721)
at android.app.ActivityThread.access$1300(ActivityThread.java:238)
at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1914)
at android.os.Handler.dispatchMessage(Handler.java:106)
at android.os.Looper.loop(Looper.java:223)
at android.app.ActivityThread.main(ActivityThread.java:7666)
at java.lang.reflect.Method.invoke(Native Method)
at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:592)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:947)

Any ideas/suggestions?
[XDA-University] codenation:
I'm wondering if this can be scripted, as in, to try some or all of these methods, generate a few APKS and see it they work. Maybe AI, could determine what framework files to skip or modify.
[XDA-University] A. n. D.:
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.
[XDA-University] 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 :)
[XDA-University] badboy21102000:
http://xdaforums.com/showthread.php?t=2476050
[XDA-University] Bejda:
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?
[XDA-University] shanedd1123:
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
[XDA-University] shaikhdjm:
Nice guide.. quite helpful :)
[XDA-University] cpaixao:
[MENTION=4666531]Rizal Lovins[/MENTION] 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. :(
[XDA-University] zenesis:
Hello [MENTION=4666531]Rizal Lovins[/MENTION]

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.
[XDA-University] slink722:
[MENTION=4666531]Rizal Lovins[/MENTION], 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! :highfive:
[XDA-University] GalaxyUser:
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
[XDA-University] vindau:
It would be possible to port the samsung dialer with swipe left to call and right to sms, for all 4.4.2 roms ?
[XDA-University] CNexus:
Nearly impossible because of all the dependencies it has on the touchwiz framework
[XDA-University] vyaskd:
hi devs. can anyone port Gionee E3 default notepad apk? thanks in advance
[XDA-University] oracle01642:
On average, how long would you say it takes to learn this stuff, decompiling and recompiling apps etc?

Rizal, could you or some other 'recognised contributor' or 'recognised developer' port the S5's apps to the S4? You seem to know a lot about this stuff, so I thought id ask you. :D
[XDA-University] CNexus:
They require kitkat

http://xdaforums.com/showthread.php?t=2690997
[XDA-University] oracle01642:
Thanks for the reply. I have most of those apps already installed. Some of them don't work perfectly, and need some work. There is also some apps that don't work at all, such as music player and TW launcher. Just thought id ask you guys, but you probably don't have an S4, so you wouldn't be interested in porting all of the S5 stuff to the S4. Oh well, I guess I will just have to wait and hope someone in the S4 forums gets them all working soon. :)
[XDA-University] Aman_Arora:
While trying to port Z2 conversations from its dump to n5

All permissions except 1 (for internet -->platform.xml) were not in dump.I have checked files thoroughly and didnot find any others.

BEcause of which Conversations couldn't be used to send & receive mms sms .

So how i get those perm files
[XDA-University] Hajime:
Help

Can you help me port galaxy s4 launcher for kitkat pls :good:
[XDA-University] qvgahub:
thanks for ur great guide :laugh::good::good: i was trying to port an app to gingerbread ....but when i searched the androidmanifest.xml it does not contain any line with minsdkversion...instead it uses <receiver ="com.adjust.sdk.ReferrerReceiver" ="true"> can anyone help me out ...i want to change the minsdkversion required by the app:confused:
[XDA-University] Aman_Arora:
Even if you change sdk version it is not 100% sure that it will work.

To change it go to the decompiled apk folder there will be a *.yml file generally named apktool.yml in that you can find min and target SDK version .Hope it helps.

All the Best ?:good:
[XDA-University] qvgahub:
I searched the yml but it. Did not contain the minsdkversion line:eek:

Should i add it on my own??
[XDA-University] ravhi1044:
Nice tutorial, i want to move my musicplayer from stock rom to cm11, cause i dont like apollo
[XDA-University] aureljared:
Is there a way to port missing KitKat methods to Jellybean? I'm trying to port Google Camera.
[XDA-University] android.zealot.fervor:
OP can ypu please guide me how can i decrease sdk version of an application ? Plzzzz

Thanks and Regards...
[XDA-University] ChinmayKunkikar:
After decompiling the apk, see the apktool.yml file in the decompiled folder.

There is a line in that file 'minsdklevel'. This is what you wanted. Modify it accordingly.

:)
[XDA-University] android.zealot.fervor:
But after modifying ,when i recompile it back ,should i have to copy the androidmanifest and meta-inf folder to the decompiled one ? Or leave it as it is. Plz Help brother.
[XDA-University] ChinmayKunkikar:
If you are using apktool. Its hard to do these things.

Please use the Advanced Apktool By @BDFreak . It will do all your jobs on the go. :)

Also, dont forget to use the framework files for decompiling and recompiling files. :good:
[XDA-University] android.zealot.fervor:
Ohh THANKS BROTHER....Going to give a try :)

THANKS Once Again .
[XDA-University] ChinmayKunkikar:
Sure! Go ahead.
[XDA-University] Ankush menat:
Can you help with touchless control port? Is it even possible? Or I've to start from scratch to make clone.
[XDA-University] lacoursiere18:
Hmm might be sensor related.. If it is truly touchless.. And if your phone does not have the sensors.. No go:rolleyes:
[XDA-University] milindbhaliwade:
HI Frnds......

I want to port Stock camera apps (Karbonn S1 Titanium) to CM 10.1 with working camera and camrecorder

Thanks in advance
[XDA-University] justforreply:
This really works with any app ?

Because i'm trying to port many apps and they didn't have these libs and jars, and after installed FC.
[XDA-University] Dickey Kid'deviel:
Nice guide, i looking for this guide for a thousand years
[XDA-University] :
[MENTION=4666531]Rizal Lovins[/MENTION]

Hi

I am Trying to port Xperia Z2 SemcClock.apk to ICS.

I have Changed minSdkVersion to 15(i also tried 14) but it doesnt work and fc's.

its my log:

E/AndroidRuntime( 3291): FATAL EXCEPTION: main

E/AndroidRuntime( 3291): java.lang.RuntimeException: Unable to start activity ComponentInfo{com.sonyericsson.organizer/com.sonyericsson.organizer.Organizer}: java.lang.NullPointerException

E/AndroidRuntime( 3291):	at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:1967)

E/AndroidRuntime( 3291):	at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:1992)

E/AndroidRuntime( 3291):	at android.app.ActivityThread.access$600(ActivityThread.java:127)

E/AndroidRuntime( 3291):	at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1158)

E/AndroidRuntime( 3291):	at android.os.Handler.dispatchMessage(Handler.java:99)

E/AndroidRuntime( 3291):	at android.os.Looper.loop(Looper.java:137)

E/AndroidRuntime( 3291):	at android.app.ActivityThread.main(ActivityThread.java:4441)

E/AndroidRuntime( 3291):	at java.lang.reflect.Method.invokeNative(Native Method)

E/AndroidRuntime( 3291):	at java.lang.reflect.Method.invoke(Method.java:511)

E/AndroidRuntime( 3291):	at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:784)

E/AndroidRuntime( 3291):	at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:551)

E/AndroidRuntime( 3291):	at dalvik.system.NativeStart.main(Native Method)

E/AndroidRuntime( 3291): Caused by: java.lang.NullPointerException

E/AndroidRuntime( 3291):	at com.sonyericsson.organizer.Organizer.onCreate(Organizer.java:269)

E/AndroidRuntime( 3291):	at android.app.Activity.performCreate(Activity.java:4465)

E/AndroidRuntime( 3291):	at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1049)

E/AndroidRuntime( 3291):	at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:1931)

E/AndroidRuntime( 3291):	... 11 more

W/ActivityManager( 1762): Force finishing activity com.sonyericsson.organizer/.Organizer

its the app:

http://xdaforums.com/attachment.php?attachmentid=2736043&d=1399729102

can you plz help me??

edit:

i deleted this line from Organizer.smali

.line 104
const-string v0, "content://com.sonyericsson.extras.liveware.aef.registration"

Organizer.smali is attached .

now it crashs......

its the new log:

I/ActivityManager( 1762): START {act=android.intent.action.MAIN cat=[android.intent.category.LAUNCHER] flg=0x10200000 cmp=com.sonyericsson.organizer/.Organizer} from pid 2719

I/ActivityManager( 1762): Start proc com.sonyericsson.organizer for activity com.sonyericsson.organizer/.Organizer: pid=3414 uid=10053 gids={3003}
I/ActivityManager( 1762): Process com.sonyericsson.organizer (pid 3414) has died.

W/ActivityManager( 1762): Force removing ActivityRecord{2c199d90 com.sonyericsson.organizer/.Organizer}: app died, no saved state
[XDA-University] rshbhghelani:
CAn someone tell me how to resize a ported app?

what files to modify and what sizes to be put in
[XDA-University] hami497:
can someone tell me that is it necessary to install android sdk for this?
[XDA-University] lacoursiere18:
No..

---------- Post added at 01:32 PM ---------- Previous post was at 01:29 PM ----------

I would suggest not removing that whole smali. In Organizer.smali at method onCreate, there is something in that method that needs to be added or adjusted for the app to run. NullPointerException usually means something is not quite setup right or is calling maybe another framework.

For instance in onCreate:

Did you add all these resources that it calls too?

const v10, 0x7f0c006b

const/high16 v9, 0x7f070000

const v6, 0x7f040026

const v9, 0x7f020026

const v10, 0x7f0a0012 etc....

Also I see in this method that it is calling to another smali, here:

invoke-static {v6}, Lcom/sonyericsson/organizer/Organizer$TabsAdapter

There is also some boolean's in there.. Therefore you might need to add them in your framework-res or whatever resources you have

A LOT of the frameworks and code changed from ICS to JB. Not sure that this would be possible..
[XDA-University] fjvaz1995:
Help port Samsung Watchon to Sony Xperia ZL(C6502)

Can you please port Samsung Watchon to Xperia ZL

I have tried a lot but I ain't successful

I have attached the link of the apk. (http://www.mediafire.com/download/4j8jcust40ybstx/watchon-1.apk)

If u need any files further plz do let me know

I tried installing it ; it says "Application not installed"

Thanks in advance
[XDA-University] thienbaotan:
I using odex rom, and i can't find the xml file which is required in my app (uses permission) Do i need a deodex rom to do it?
[XDA-University] ashan perera:
please upload ported samsung my files for any android

please upload ported samsung my files for any android. i googled for it but i couldn't find a suitable apk file. so please do this as a big favor for me.

thanks

:):):)
[XDA-University] jtreez30:
Porting LG G3 messaging apk to Samsung Galaxy Note 3

I was wondering if you could assist me in the porting of the LG G3 messaging apk to work on the Note 3, I've been very anxious to get that app on my Note 3 so I'm on a quest to figure it out myself so I don't have to bug anybody else. I would appreciate this very much because then I could try and do these things myself.

Thanks,

JT
[XDA-University] shamhezbollah:
Nice tutorial

Thanks tutorial like this are much needed
[XDA-University] rshbhghelani:
Can someone tell me how to resize a ported app?

Would be appreciated :) Thank You
[XDA-University] aybykut3:
Hey pro, can you teach me port z3 soudenhancement to Z1 c 4.4.4. Thank you very much
[XDA-University] mn1968:
I’ve been researching this and trying to learn how to port an app. Little by little it is making more sense. However, before I get too far into it I am wondering if the app I want to port is even possible. I have a Samsung Galaxy Light (T399) and I really like the messaging app. It allows the font to be adjusted bigger or smaller with the volume keys. The phone utilizes the TouchWIz interface so before I put too much effort into this does anyone with experience porting apps have any other tips or advice? My newer phone is a LG F6. Your feedback is appreciated.

Thanks,