[Q] Can you Decompile an old WP7 App? - Windows Phone 8 Q&A, Help & Troubleshooting

To be more Specific, I have a Dev Unlocked Nokia Lumia 822, and the KIK app hasn't been updated since 2010, It's super broken, and the Original Developers refuse to update it anymore. Rudy Huyn has made a his own Snapchat and Instagram and other apps. Is it possible to Create a 3rd party Kik app or Decompiling the Kik XAP and mixing it with the current Kik APK? Or something? The app KILLS my battery because it's just so old and bad. I've pleaded with the KIK Dev's and they always say "An update is not in the works, but you never know what the future holds" Blah blah thanks for contacting support. Can anything be done? If I knew coding or C++ I would atleast attempt some programming but sadly I'm quite Ignorant. So..... Am I just dreaming or is it possible?

Reverse engineering the app is easy (especially since third-party WP7 apps didn't use native code) but you can't "mix it with ... APK". You'd basically have to decompile the APK as well (also possible) and then re-write the WP app to do whatever the APK is doing, but using Windows Phone APIs (the Android code will be useless to copy-paste any but the most trivial stuff; the rest will need to be re-written).
In other words, yeah it can be done... but it's not a simple thing that you're asking for.

Related

[Q] Hidden APIs to access public folders

Hi,
Write file access on Windows Phone 8 is very restricted. In fact 3rd party apps can only write pictures to the public picture folders. Other types, such as music, documents, or video folders cannot be accessed.
Are there hidden API calls available for accessing these folders (I am aware that applications using these APIs will probably fail Marketplace submission)?
Greetings,
Yes, there are but you need special permission from MS to use them.
Do you have more details about these API calls?
No...not really. I know there are APIs for everything we can't do as ordinary devs, but MS only releases these to certain groups (typically recognized development studios).
These include:
Native compiled APIs, to use with C++/C#
Appointment API (other than live calendar)
Bluetooth APIs
and some others.
thanks, this really explain a LOT of things.
Do you have an idea how to get access to these APIs? I already tried it with the MS developer support but they say that they don't know
I don't know exactly. But you can't get them through the usual ways. Maybe if you send them a physical letter asking xD?
There are native APIs accessible to regular users. You can read all Calendars since WP7.5 and starting with WP8 you at least can create a new Appointment in a Calendar but only through a Task so the user has the ability to edit it and he must confirm it. Bluetooth-APIs are also open in WP8 although not everything can be done through them.
There might be additional APIs you can gain access too if you work with Microsoft directly. I would suggest you contact one of the Microsoft Dev Champs near you (there is a "Find my Champ" App in the Marketplace) and get into contact with him.
But unless your App gains special permissions through Microsoft even though you might know about those APIs your App would not be able to use them.
And then they cry that Google won't give them the API for a youtube app....the irony
The problem with YouTube is more that there are APIs but that YouTubes Terms of Service prohibit using those APIs for competitors in the search engine space. So Microsoft is specifically prohibited because they own Bing. I hope you can understand the difference but I have a feeling you won't.
Thanks for all your comments. Please don't abuse this thread with company bashing because the situation is often more difficult than it seems. Thanks :good:.
I think wp8.5 may see some more APIs open up. Wp8 is rushed and many existing APIs on win8 simply does not exist on wp8.
Ms is taking a more cautionary approach for APIs as they don't want junior devs mess up the phones user experience like they did with Android.
Sent from my RM-820_nam_canada_246 using Board Express

developping geniuses please help !!!!!!

lately i found an app for android that is so cool i tried to find similar ones for wp8/7 but i couldn't so i tried to redev it for apk to xap but you see i'm a total dumb at developpment so anyone that know how to do it redev it for me please i'm on the verge of exanging my precious wp8 phone with an old android machine
here is the app's .apk link :ww.mediafire.com/download/wbk8mpx8u5l5a5l/Nade_Nade_Mezamashi_Kanonv2202.apkplease help me[/COLOR]
It is unfortunately impossible to port an android app to windows phone, they are two completely different platforms. In order to get it on wp8 you have to rewrite that thing from scratch.:banghead::banghead::banghead:
Sent from my HTC Evo 3D GSM
If it was written in C++ against the standard libraries, you might be able to re-use the program logic. Even then, though, the UI would need to be re-written.
If it's in Dalvik Java, though, it will need to be fully re-written. Thankfully, C# isn't *too* different, but it'll still be a lot of work.
Also, some Android apps need permissions that aren't available on WP8. I haven't checked what the linked app does, but not all platforms support the same types of third-party apps.

Should i buy a lumia 520 or w1?

Hello guys i have been using smartphones for almost half a decade now starting from symbian to android. But i haven't used ios and wp8 yet.
The devices i had used so far are:
Nokia 5233
Nokia c6
SE live with walkman.
Se mini pro
Samsung galaxy y.
Sony xperia j.
Now i am quite bored of the same android. I had used custom roms on everyone of my phone but now i dont care if i can use custom roms or not. I just want a decent phone that can provide me a decent daily usage. Starting from watching youtube videos to playing some games.
Now before i finalize my decision i need to know few things.
1) Does windows market place have at least some free games(that is fully free not trail)??
2) Does the fb app of wp really s**ks??
3) Does wp have a youtube app.??
4) Does wp have basic apps like facebook messenger, whatsapp, a nice photo editing app like picsart in android??
5) And the most important what is meant by developer unlock and interlop unlock???
6) Can i do the above two things on nokia lumia 520 or acend w1?
And the main question which one of these i should buy?
Thank you guys.
Regards,
Totally noob in WP.
Lots of free games, and most of the "trial" games are just a "buy the game to remove ads" trial; the game is otherwise fully functional. Even a number of Xbox Live games are free.
The FB app is pretty good, in my limited experience. I actually almost always just use the built-in FB integration and have no need for the app; just about the only things I use FB for these days are a great big address book + ability to see event invitations + ability to see posted photos, and the built-in integration handles all of that quite well. The app is pretty fast and fluid, with lots of features, though, as of the last update or two. There's always the browser in any case; touch.facebook.com works fine last I checked (or the full site, but it's not mobile-friendly).
There are many Youtube apps (plus again, you can just use the browser for HTML5 videos). Google has gotten into a pissing match with Microsoft over the official Youtube app though, so sometimes it's just blocked from working. There are alternative apps that I've never seen blocked (even though they work just like the MS app...), though, and there are apps for other video sites too,
Facebook messaging is built in to the "Messaging hub" of the OS, or accessible through the FB app; there are also dedicated messenger apps that can use it. Whatsapp is available. I don't know picsart at all, but there's some basic photo editing built into the OS, plus a crapload of apps for it.
Developer unlock is the ability to install unsigned apps (usually meaning apps in development, but also homebrew apps which aren't allowed in the store. It's the equivalent of the "Allow installing apps from untrusted sources" (or whatever) checkbox on Android. Interop-unlock is a hack that allows the installation of higher-privilege apps this way; without it, you can only sideload apps that have pretty limited capabilities.
All WP devices can be dev-unlocked; it's an official feature. If you want to sideload more than 3 apps at a time, though, you'll need to buy a developer account (~$20 USD/year). Interop-unlock is currently only available for Samsung WP8 devices, although Huawei phones *supposedly* can support custom ROMs (but this news is months old, and I haven't actually seen these ROMs myself) which would give the requisite unlocks too.
Do bear in mind: the phones you've mentioned are the lowest-end WP8 models, with the slowest CPUs, least RAM, least network technology support (no LTE, for example), and least internal storage (although I believe both support microSD, which can be used for photos/videos/music but not apps). Between the two, I would recommend the Lumia just because it will have Nokia's collection of apps.
Thank you mate now i atleast have a basic knowing of WP.
Can you please explain what is sideload??
Well i can manage a few more bucks to get lumia 620 but i just want to have a feel of WP for now since i have been using android since 2011 so i need to see if i can adapt to WP.
Sideloading is installing apps from unofficial sources (in the case of WP, installing apps from anywhere except the store). There are two ways to do it in WP8:
1) "Company" apps that are available from your organization. These apps are signed, but by a company certificate rather than Microsoft's store certificate, and installing them mostly just requires that you have the relevant account set up on your phone. Then email yourself, or open in the browser, the relevant .XAP files (XAPs are application packages, much like APKs).
2) "Development" (or homebrew) apps are unsigned apps directly produced by Visual Studio or similar. They can (currently) only be installed using the Windows Phone SDK, which includes a program called XapDeploy.exe ("Application Deployment" in the Start screen) on your PC (connected to the phone using USB). This is the type of sideloading that requires dev-unlock (or interop-unlock, for highly-privileged apps) on the OS, and without interop-unlock, you will be limited in how many such apps you can deploy at once.
Okay so security from microsoft huh... Okay thanks a lot mate.
||""Playing Asphaltâ„¢ 8 Airborne on my sgy. LoLz.
Joke of the year. Gameloft devs will die if they hear this. ""||

[Q] Password protect certain applications?

Is there an application that can password protect certain apps that I choose?
And please do not say Kids Corner as it does not do what I am asking.
It's probably possible (though far from easy), but I'd actually be more inclined to help if you hadn't opened a duplicate thread about this.
Only made second thread about this to attract some attention, 7 months passed since that guy opened his thread and nobody could give a good answer.
To me it's weird that nobody tried to make an app like this still, it would be very popular and help users very much.
Anyways, thank you for replying.
Really, just bumping the other thread was enough, but since we're here anyhow... my idea for how to approach it (and this would take a *lot* of hacking) goes something like this:
1. Create an app (call it X) that has the capability to launch other apps, and filesystem write access.
2. Have X take another app (call it Y) and encrypt its binaries. This prevents anybody from launching it by any means.
3. Tweak the app database to make it so that when you try to launch Y, it instead launches X and passes the id of Y as a parameter to the launcher.
4. X prompts the user for a password to Y. On getting the right one, it decrypts Y's binaries and writes them back to the correct location, then launches Y.
5. When the user (or OS) closes Y, a background process of X notes that Y is closed and re-encrypts it.
Currently we know how to do... well, some of #1, and we think the rest is possible. Given that, #2 isn't too hard. #3 is something I don't have the least notion how to do *right now* but I'm sure it's possible. #4 shouldn't be too hard given #1 and #2. #5 will be a trick - currently, apps have no way to know what other apps are running - but I'm sure it can be done.
It's a large engineering problem blocked by an even bigger research and hacking problem, though. Nothing we'll have soon. You'd never be able to publish it in the store, either, and it would only work for people with hacked phones. It's exactly the kind of *useful* thing that would be possible if Microsoft were willing to let up the restrictions on third-party developers a bit, of course, But for the time being, there are *reasons* nobody has done it yet.
Well the word that I actually was thinking after reading your post was "crap".
It seems only with time (and a whole [email protected]#$ing lot of it) will wp become a true competitor to android, but to be honest I don't think it will come to that.
Thanks for replying GoodDayToDie, I'm freakin' sad that there is no app that can suit my needs, I even tried with kids corner but the screen still needs the password entered like the normal one. Nothing really can make up for what I have in mind.
Cheers mate.
as soon as we can interop unlock all WP devices, it will be pretty easy... if you're able to provide the XAP (uncrypted of course )
i'll be able to "mod" this in for you... which app are we talking about?
@GoodDayToDie: i do'nt think he is looking for real data security here, so encrypting the whole thing shouldnt be required... i think it's more about preventing his gf to read his private messages or something like that
oh btw.: you would need a dev-unlock to deploy the modified XAP then...
tfBullet said:
as soon as we can interop unlock all WP devices, it will be pretty easy... if you're able to provide the XAP (uncrypted of course )
i'll be able to "mod" this in for you... which app are we talking about?
@GoodDayToDie: i do'nt think he is looking for real data security here, so encrypting the whole thing shouldnt be required... i think it's more about preventing his gf to read his private messages or something like that
oh btw.: you would need a dev-unlock to deploy the modified XAP then...
Click to expand...
Click to collapse
You're right tfBullet! I need it for whatsapp, photos, message and games app, mostly to prevent from friends but gf too.
I was thinking it might be possible to mod an app and add password before it can be accessed, although I have no experience in this domain. Many apps in store have this function, like wallet or prive photo apps.
My phone is dev-unlocked as I started a few days ago to study and try to create a simple app for me and my friends.
Modding an app like that would actually be quite hard, because it would break the signature and prevent the app from running. The encryption thing really isn't too hard, although you could skip it anyhow too.
If there was a way to run a program in the background that monitors when certain apps are selected and then prompts when its activated would work, but it would need an unlocked phone. And even under home brew I don't know if its possible to run apps in the background. Yet.
Sent from my Nokia 521 using XDA Windows Phone 8 App
The encryption thing really isn't too hard
Yea, but that's a little extreme. If you can create that password program that runs in the background you could probably have it watch files, apps or pretty much anything. You'd have to password protect the cofig file. And maybe if you can't remember the password after so many attempts you can have the program email the passwords to your email. Just some ideas.
Sent from my Nokia 521 using XDA Windows Phone 8 App
Running software in the background is actually shockingly easy. The trick is getting it to run with better-than-app-sandbox privileges. We're still working on that one. In the meantime, apps can't even read, much less write, to the install location of other apps.
GoodDayToDie said:
Modding an app like that would actually be quite hard, because it would break the signature and prevent the app from running.
Click to expand...
Click to collapse
@GoodDayToDie: actually these .NET apps are pretty easy to decompile, if you're willing to fix the bugs that the decompiler leaves you with...
so there is not really a need for a valid signature, if you're able to compile & sideload the app yourself
the only thing is: you need the decrypted XAP, as far as i know these get decrypted while installation and can be pulled from a interop unlocked device?!
It would be nice to get my fingers on some OEM (Nokia etc..) XAPs, to see if we can find any exploit in them
I know better than probably 95% of this forum what it takes to decompile managed code; I have reverse engineered huge numbers of apps. However, you are missing several important points.
1) Modifications like you suggest are very complicated to automate. It's certainly possible, but it's not simple.
2) Re-installing the app would be a pain. You would really want to do this as an in-place modification, and that means (for store apps) that it would still be signature-checked.
3) Not all apps are managed code; WP8 supports purely native code.
4) Even with managed code, obfuscation can make tinkering with the binary nigh-impossible.
It's just so incredibly stupid that WP is so limited. I know it's under Android big time, but I think even iOS more customizable, right?
Also, is there a message app in the store that has pass option? I searched but found nothing...
I don't believe iOS is any more customizable, no. It has some feature that WP lacks (it ought to; it's been out for years longer and Apple completely controls the hardware it runs on) but it's also missing some features that WP8 offers. In any case, this isn't the thread to have that discussion in.
GoodDayToDie said:
I don't believe iOS is any more customizable, no. It has some feature that WP lacks (it ought to; it's been out for years longer and Apple completely controls the hardware it runs on) but it's also missing some features that WP8 offers. In any case, this isn't the thread to have that discussion in.
Click to expand...
Click to collapse
But with the jailbreak and MobileSubstrate, iOS is extremely customizable, and there are tons of tweaks, that's where Apple gets its new features from
Back to topic, I think the OP would be happy with a solution that locks the "normal" user of his phone out of some apps, so it wouldn't be necessary to modify anything of it, just making the standard launcher (I don't know how it's called, but I mean when you launch the app via home screen or with a toast) ask for a password should be enough.

[Q] Decompile XAP file from the MarketPlace

Hi,
I downloed XAP file from the market place (There is an option called "Download & Install Manually" in the app page in the store).
I want to open XAP file and see the source code (with Reflector, JustDecompile or somthing), but I can't because XAP files from the market are DRM signed I guess.
Do you know any way to accomplish that?
I have Lumia 920 developer's unlock, and also the Visual Studio 2013 emulators.
Thanks.
sholomiel22 said:
Hi,
I downloed XAP file from the market place (There is an option called "Download & Install Manually" in the app page in the store).
I want to open XAP file and see the source code (with Reflector, JustDecompile or somthing), but I can't because XAP files from the market are DRM signed I guess.
Do you know any way to accomplish that?
I have Lumia 920 developer's unlock, and also the Visual Studio 2013 emulators.
Thanks.
Click to expand...
Click to collapse
A workaround of DRM protection was put online here there is very little time.
But the topic has been deleted. So, not any means currently.
anaheiim said:
A workaround of DRM protection was put online here there is very little time.
But the topic has been deleted. So, not any means currently.
Click to expand...
Click to collapse
It were nothing about decrypting DRM-protected XAPs from marketplace, just a way to make non-encrypted XAP from the already installed app. Also the app you`re making xap from must user CAPs not higher that regular 3rd party developers can use, instead you can not install an app again because no free/software interop or better unlock is achived for Nokia phones.
AFAIK even unlocked with all known ways Samsung Ativ S can`t decrypt those marketplace XAP's, so the answer is no, it`s not yet possible.
It is possible, after a fashion, but not directly. This whole topic is sketchy as heck. If you tell me why you want to do this, I may help you - I've decompiled apps before; we'd never have gotten interop-unlock on ATIV phones without it - but I'm not just going to post the method on a thread like this one.
GoodDayToDie said:
It is possible, after a fashion, but not directly. This whole topic is sketchy as heck. If you tell me why you want to do this, I may help you - I've decompiled apps before; we'd never have gotten interop-unlock on ATIV phones without it - but I'm not just going to post the method on a thread like this one.
Click to expand...
Click to collapse
Hi, first of all, thanks all for the answers.
The reason that I need to decompile an app from the store is because it's my app that I'm trying to decrypt.
I lost the source code of my app that is already in the store, and I'm looking for a way for restoring it.
If you can help me, it will be great !
it also very intersting me as a developer the way to accomplish that, I had tried all my best...
Thanks.
The name of this application?
titi66200 said:
The name of this application?
Click to expand...
Click to collapse
Surely OP will deliver.
GoodDayToDie said:
It is possible, after a fashion, but not directly. This whole topic is sketchy as heck. If you tell me why you want to do this, I may help you - I've decompiled apps before; we'd never have gotten interop-unlock on ATIV phones without it - but I'm not just going to post the method on a thread like this one.
Click to expand...
Click to collapse
I need to decompile some apps since they are legacy xap which Ms cancelled after Nokia acquisition.
These would not install on win 10 mobile since it can't install xap and we can't deploy store xap.
GoodDayToDie said:
It is possible, after a fashion, but not directly. This whole topic is sketchy as heck. If you tell me why you want to do this, I may help you - I've decompiled apps before; we'd never have gotten interop-unlock on ATIV phones without it - but I'm not just going to post the method on a thread like this one.
Click to expand...
Click to collapse
i also want to decompile some apps like(tapatalk , nokia refocus and lots of other nokia apps)
can you help me

Categories

Resources