Need help restoring .apk extension - Android Software Development

Somehow my extension got corrupt. Can anyone tell me what the extension path is under properties?
Thanks...

xweaponx said:
Somehow my extension got corrupt. Can anyone tell me what the extension path is under properties?
Thanks...
Click to expand...
Click to collapse
Errr... what?

...I don't know what youre talking about...But if youre unable to install apps, please describe the problem that youre having...
We need some info before we can all help you...
Rom youre using, phone, apps youre trying to install, etc.
Also, if youre having issues with what you think is a "corrupt .apk extension" try wiping, reflashing, etc.

Related

[Q] Extract single application from custom rom

hey,
I wanted to extract "Torch" application from "Azure" Rom and few other applications. as Torch is the only working app which did really enable the LED for HTC Legend.
I actually opened the ZIP package to path \azure-1.0.1.zip\system\app where the applications are stored, every app comes in APK and OBEX files. I extracted few APKS, non of them worked.
I am seeking some help for extracting the application from the ROM.
Thanks in advance!
lamppu is a good LED torch. You need root to use it, look in market
TheGrammarFreak said:
lamppu is a good LED torch. You need root to use it, look in market
Click to expand...
Click to collapse
I have looked in market, but it doesnt seem to exist there. However, do you know anyway to extract the application as working APK file?
Any other LED torches that works with LEGEND?
*EDIT: well, I found it, its named Lamppu. but anyway it didnt work, although my phone is rooted! why is that?
Try Extended Controls, there is a Torch Widget which worked on my HTC Legend. (NOTE:Root access Required For this very Widget)
omar.elhelw said:
hey,
I wanted to extract "Torch" application from "Azure" Rom and few other applications. as Torch is the only working app which did really enable the LED for HTC Legend.
I actually opened the ZIP package to path \azure-1.0.1.zip\system\app where the applications are stored, every app comes in APK and OBEX files. I extracted few APKS, non of them worked.
I am seeking some help for extracting the application from the ROM.
Thanks in advance!
Click to expand...
Click to collapse
If you find a ROM that has both .apx and .odex in the app-folder you will not get it to work by only extracting the .apk file.. You need both of the files in order to include them in another ROM..
Use a backup program like Titanium backup or MyBackup pro: they will extract for you.
XtremeHTM said:
Try Extended Controls, there is a Torch Widget which worked on my HTC Legend. (NOTE:Root access Required For this very Widget)
Click to expand...
Click to collapse
I already tried using Lamppu, but it didnt work on my rooted phone!
Have any idea what might be the reason?
----
whitetigerdk said:
If you find a ROM that has both .apx and .odex in the app-folder you will not get it to work by only extracting the .apk file.. You need both of the files in order to include them in another ROM..
Click to expand...
Click to collapse
That makes sense...but who would I merge the .apk and .obex together to be in one .apk file so I can install it?
Or maybe you know some way I can install these files?
Help would be really appreciated.
----
robto said:
Use a backup program like Titanium backup or MyBackup pro: they will extract for you.
Click to expand...
Click to collapse
You mean like after loading the custom ROM, I backup the application I want then restore them after I load the custom I want?!
This is just long process of backing up your data then load custom rom, then back to the old rom, then root then restore...
I thought there might be easier and shorter ways?!
Any help would be appreciated. Gracias!
Anyone to help?????
try the kitchen method.
Scout around in the .zip to find the package you want, copy the .apk to your ADB directory and then, with the phone plugged in:
Code:
adb install [I]path-to-package[/I].apk
I actually opened the ZIP package to path \azure-1.0.1.zip\system\app where the applications are stored, every app comes in APK and OBEX files. I extracted few APKS, non of them worked.
I am seeking some help for extracting the application from the ROM.
Click to expand...
Click to collapse
To be honest you've answered your own question. What you've done is the easiest way to pull an app from a ROM. So if your issue is something else it may be an idea to re-write your question (again, I know. Sorry).
I also apologise for mis-interpreting your question the first time 'round. I hope my help in this post is better.
TheGrammarFreak said:
Scout around in the .zip to find the package you want, copy the .apk to your ADB directory and then, with the phone plugged in:
Code:
adb install [I]path-to-package[/I].apk
To be honest you've answered your own question. What you've done is the easiest way to pull an app from a ROM. So if your issue is something else it may be an idea to re-write your question (again, I know. Sorry).
I also apologise for mis-interpreting your question the first time 'round. I hope my help in this post is better.
Click to expand...
Click to collapse
Your help so much appreciated mate!
Well, the last conclusion I got to is, the .apk and .obex files are actually one file but they were divided to 2 files just to make them work better, so if you take the .apk file only it wont work as it will be missing the other .obex file.
Anyway, I am also guessing there is a way to merge the 2 files back, I read a little about "de-odex" but I couldnt really get the best help I could get. I will post the solution once I get to it.
Thanks again for your help mate!
omar.elhelw said:
Your help so much appreciated mate!
Well, the last conclusion I got to is, the .apk and .obex files are actually one file but they were divided to 2 files just to make them work better, so if you take the .apk file only it wont work as it will be missing the other .obex file.
Anyway, I am also guessing there is a way to merge the 2 files back, I read a little about "de-odex" but I couldnt really get the best help I could get. I will post the solution once I get to it.
Thanks again for your help mate!
Click to expand...
Click to collapse
You will have to use the kitchen do deodex the files.. Search the entire forum for "Chefs Central"
whitetigerdk said:
You will have to use the kitchen do deodex the files.. Search the entire forum for "Chefs Central"
Click to expand...
Click to collapse
I tried the "de-odexing" method of the Android Kitchen, but it didnt seem to be working fine. Error message of "There is a problem prasing the package." ???
omar.elhelw said:
I tried the "de-odexing" method of the Android Kitchen, but it didnt seem to be working fine. Error message of "There is a problem prasing the package." ???
Click to expand...
Click to collapse
I know it's a pain, but de-odexing the whole rom might help. Unless you already did this, in which case something is wrong with your download I imagine.
Swyped from my HTC Legend
TheGrammarFreak said:
I know it's a pain, but de-odexing the whole rom might help. Unless you already did this, in which case something is wrong with your download I imagine.
Swyped from my HTC Legend
Click to expand...
Click to collapse
I havent tried deodexing the whole rom actually. I will certainly do this and try.
I have another question to you though, from where can i get Swype? lol
I know it's a pain, but de-odexing the whole rom might help. Unless you already did this, in which case something is wrong with your download I imagine.
Swyped from my HTC Legend
Click to expand...
Click to collapse
I havent tried deodexing the whole rom actually. I will certainly do this and try.
I have another question to you though, from where can i get Swype? lol
Click to expand...
Click to collapse
Search, I might post the link when I'm home. Swype HVGA
Swyped from my HTC Legend
TheGrammarFreak said:
Search, I might post the link when I'm home. Swype HVGA
Swyped from my HTC Legend
Click to expand...
Click to collapse
Thanks!
heres the DL link
http://goo.gl/xKSk

Xperia X10 not recognizing APKs as APKs ?

I was in another thread trying to figure out how to install xRecovery and I'm starting to think that the problem is that my phone isn't recognizing the apks as apks. Has anyone else had this problem? It only recognizes the xRecovery file as a .zip and so I can't use the installer to install it.
Why you don't just use flashtool to root and install xRecovery? That's much easier.
bro why dont you try renaming the .zip to .apk it works!try it!
KInG GaME said:
bro why dont you try renaming the .zip to .apk it works!try it!
Click to expand...
Click to collapse
I tried that already thanks, tho...
I was hoping to not have to mess around with something else but I guess I will give flashtool a shot
you can always use Manual method,
just extract and copy these three files (busybox, chargemon, xrecovery.tar) from xrecovery.zip or xrecovery.apk to your Phone/system/bin directory, using root explorer (with r,w, rights)
PlayGunsta said:
Why you don't just use flashtool to root and install xRecovery? That's much easier.
Click to expand...
Click to collapse
this worked. still don't understand why i couldn't do it the other way but thank you!
hambino83 said:
this worked. still don't understand why i couldn't do it the other way but thank you!
Click to expand...
Click to collapse
You had to change to name of the .zip to .apk with a file manager on your phone. Maybe you had a setting turned on on your pc that prevents from displaying file extension.
PlayGunsta said:
You had to change to name of the .zip to .apk with a file manager on your phone. Maybe you had a setting turned on on your pc that prevents from displaying file extension.
Click to expand...
Click to collapse
i tried that and that didn't work. now i'm starting to think something is up with how my computer handles these .zip files though...now i'm trying to download install the .ftf file from this thread and when i put that file directly into the firmware folder in flashtool it doesn't recognize it as a .ftf file (and its listed as a .zip file when i download it)...this is frustrating the bajeezus out of me
zmbutt said:
you can always use Manual method,
just extract and copy these three files (busybox, chargemon, xrecovery.tar) from xrecovery.zip or xrecovery.apk to your Phone/system/bin directory, using root explorer (with r,w, rights)
Click to expand...
Click to collapse
that's the thing i can't!!!!
hambino83 said:
I was in another thread trying to figure out how to install xRecovery and I'm starting to think that the problem is that my phone isn't recognizing the apks as apks. Has anyone else had this problem? It only recognizes the xRecovery file as a .zip and so I can't use the installer to install it.
Click to expand...
Click to collapse
what firmware r u
Sent from my SEX10 using XDA App
ya know what, i'm not even sure right now since i've done so much ish to this dang phone in the past day lol i did figure out that i had to change the settings in windows to not hide the extensions of known file types so that i could change the .zip to .apk. Since I had already installed xRecovery I don't know if that would have solved the problem but I'm assuming it would have. Thanks for your help everyone!

[Q] /mnt/.lfs cleared

Help, I have in my samsung galaxy y accidentally deleted the contents of /mnt/.lfs because I wanted to replace in logo.jpeg via android commander, but then when it was rejected, the whole content has been deleted.
Now I do not dare turn off my galaxy y.
(luckily I still have a backup on my computer from the content)
[Q] How can I restore the content without flash with odin / heimdall
Thanks in advance
superboom said:
Help, I have in my samsung galaxy y accidentally deleted the contents of /mnt/.lfs because I wanted to replace in logo.jpeg via android commander, but then when it was rejected, the whole content has been deleted.
Now I do not dare turn off my galaxy y.
(luckily I still have a backup on my computer from the content)
[Q] How can I restore the content without flash with odin / heimdall
Thanks in advance
Click to expand...
Click to collapse
you can try to push the contents from a custom or stock rom
deathnotice01 said:
you can try to push the contents from a custom or stock rom
Click to expand...
Click to collapse
i have a backup from content, but with root explorer with root i cant copy it (failed)
superboom said:
i have a backup from content, but with root explorer with root i cant copy it (failed)
Click to expand...
Click to collapse
try Android Debugging Bridge- adb push command,
or airdroid via wireless
@deathnotice: do you know what .lfs content is?
1. I can't with adb (doesnt know the mount command) (pessimisions denied)
2. I know the content, i've the backup on my mashine
kurotsugi said:
@deathnotice: do you know what .lfs content is?
Click to expand...
Click to collapse
correct me if im wrong but based in my observations,
it is the bootscreen or recovery?
i was asking him...not you
his advice are lil bit vague. it seems that he didn't know what is it. well...no one ever messed up their .lfs partition before. no one could help you with any workin advices. as far as I know the partition is non-modifiable. is it the content gone or the lfs folder gone?
EDIT:
correct me if im wrong but based in my observations,
it is the bootscreen or recovery?
Click to expand...
Click to collapse
if you already know what it is, then you should remember that part was stored inside the kernel ramdisk and cannot modified by any means except kernel customization. sorry, but it's a lil bit unpleasant to see such random advice like above one.
kurotsugi said:
i was asking him...not you
his advice are lil bit vague. it seems that he didn't know what is it. well...no one ever messed up their .lfs partition before. no one could help you with any workin advices. as far as I know the partition is non-modifiable. is it the content gone or the lfs folder gone?
EDIT:
if you already know what it is, then you should remember that part was stored inside the kernel ramdisk and cannot modified by any means except kernel customization. sorry, but it's a lil bit unpleasant to see such random advice like above one.
Click to expand...
Click to collapse
sorry but my knowledge in linux based systems is limited,
and how can a partition which enables deletion of files not able to restore files in the same partition,
at least that's what i know,
can a installation of a kernel work?
out of something random i think LFS means linux-from-scratch?
deathnotice01 said:
correct me if im wrong but based in my observations,
it is the bootscreen or recovery?
Click to expand...
Click to collapse
bootscreen
EDIT:
Airdroid says the .lfs folder is gone...
Root explorer lite says, the content is gone but it says it modifited on Jan 01, 1970 01:00:00 AM (Y2K bug?)
EDIT2: Can I entry the Download mode when the jigusb_dl_flag was in .lfs?
well...if we didn't have the knowledge to answer a question, it will be better if we didn't answer that. or else, he will confused by our answer or make us looks stupid. honestly, I didn't even know what lfs partition is. it seems that you know it better than me (lol).
back to the topic...I don't know what it is but lfs partition is locked and cannot modified without certain program. that's what they told to me about our device hidden partition. if the folder is gone, it could be simply accidentally unmounted. after reboot you'll get it again under /mnt
kurotsugi said:
well...if we didn't have the knowledge to answer a question, it will be better if we didn't answer that. or else, he will confused by our answer or make us looks stupid. honestly, I didn't even know what lfs partition is. it seems that you know it better than me (lol).
back to the topic...I don't know what it is but lfs partition is locked and cannot modified without certain program. that's what they told to me about our device hidden partition. if the folder is gone, it could be simply accidentally unmounted. after reboot you'll get it again under /mnt
Click to expand...
Click to collapse
THANKS!!
THANKS!!
THANKS!!
THANKS!!
THANKS!!
THANKS!!
THANKS!!
THANKS!!
THANKS!!
THANKS!!
THANKS!!
THANKS!!
THANKS!!
THANKS!!
THANKS!!
THANKS!!
THANKS!!
THANKS!!
THANKS!!
THANKS!!
THANKS!!
THANKS!!
THANKS!!
THANKS!!
THANKS!!
THANKS!!
THANKS!!
THANKS!!
THANKS!!
THANKS!!
THANKS!!
THANKS!!
THANKS!!
THANKS!!
THANKS!!
THANKS!!
THANKS!!
THANKS!!
THANKS!!
THANKS!!
THANKS!!
THANKS!!
THANKS!!
THANKS!!
THANKS!!
THANKS!!
THANKS!!
THANKS!!
It works!!!
Reboot your phone. Then go to root explorer then it goes ba k because it is from kernel not frm phone.
Hello
When you try to modify that partition...all images will be gone....
As sir kurotsugi said its kernel issue....
Just reboot your phone you will see all the files again
You have to reboot your phone to see those files again
Globally recognised and certified NOOB
Simple answers..
Someone with knowledge on kernel hack that part and u already know who is the person..
Only change kernel or change hacking file with original (on kernel of course) can solve the problem..

APK Request - LiveWallapersPicker

Hi! so, when i was rooted, i actually removed this app right there accidentally, i was debloating but i didn't even noticed it... so now i need it and can't find anywhere, can anyone post it here? Thanks in advance.
Here you go. It goes into system/app as you probably know.
https://onedrive.live.com/redir?resid=42F161BAACA54FFA!330&authkey=!AIvddz9cedRaQA8&ithint=file,zip
@countryfolk07
Could you please reupload this file? I made the exact same mistake which guile50 did
I would be obliged.
Great many thanks in advance.
Sawik55 said:
@countryfolk07
Could you please reupload this file? I made the exact same mistake which guile50 did
I would be obliged.
Great many thanks in advance.
Click to expand...
Click to collapse
Here it is, from. MPHS24.49-18-8 build.
https://drive.google.com/file/d/0B1tb_AIZ5QUwRDFwLWRzS1lKanM/view?usp=drivesdk
Thank you, you awesome person. I am really a newbie to flashing and rooting, could you please explain what should i do with it? Do i flash the zip with twrp or extract it somewhere? I tried installing some generic livewalpaperpicker.apk found somewhere on the xda and obviously it didnt work. Also is there a way to download the zip from your google drive, because for some unknown reason my phone wants to add it as a dictionary? (If no solution i'll just download it via pc). I will be fullheartedly thankfull for instructions.
Sawik55 said:
Thank you, you awesome person. I am really a newbie to flashing and rooting, could you please explain what should i do with it? Do i flash the zip with twrp or extract it somewhere? I tried installing some generic livewalpaperpicker.apk found somewhere on the xda and obviously it didnt work. Also is there a way to download the zip from your google drive, because for some unknown reason my phone wants to add it as a dictionary? (If no solution i'll just download it via pc). I will be fullheartedly thankfull for instructions.
Click to expand...
Click to collapse
I'm not sure why it's giving you a hard time downloading the zip. Are you using the Google Drive app or Chrome from your phone?
Extract the zip and copy the folder to /system/app/ using a root file manager. I should ask though, is your system stock? What version/build number? This includes the stock .apk and .odex file.
quakeaz said:
I'm not sure why it's giving you a hard time downloading the zip. Are you using the Google Drive app or Chrome from your phone?
Extract the zip and copy the folder to /system/app/ using a root file manager. I should ask though, is your system stock? What version/build number? This includes the stock .apk and .odex file.
Click to expand...
Click to collapse
It's a rooted, stock 6.0.1 rom, with xposed framework and a bunch of modules including N-ify, If i am correct of what a build is then my build is "24.221.5.clark_reteu.en.EU reteu".
Edit:
I tried to do everything as instructed and it didn't help. And what is curious i found out that i actually already had this folder in my system/apps. I switched it with the new one, reboot and unfortunately still when i try to set any live walpaper it says "aplication is not installed". I guess i won't be able to try pixelwalpapers anytime soon.

..

..
I looked through the apk and didn't see this image anywhere. I think they're downloaded remotely, so not built into the apk.
..
JJ-KwiK said:
I'm thinking the same thing. I also went through the apk and didn't find anything. I haven't had any luck searching in the internal file system, but if it's downloaded remotely, I would expected to find it somewhere. Hmmm...
Anywho, thanks for taking the time to look. I hope I can find it.
Click to expand...
Click to collapse
It's probably stored in cache, which I don't know how to look through. Good luck!
You can find it in the Nvidia Customization.apk
..
Hi,
I found it to in NVcustomise, I can extract but impossible overwrite an other background , did someone know the way how to do.
Best regards
michelmo said:
Hi,
I found it to in NVcustomise, I can extract but impossible overwrite an other background , did someone know the way how to do.
Best regards
Click to expand...
Click to collapse
Can you upload it somewhere?
Give your mail, I will send you
Regards.
Thanks for sending me the file.
Actually, changing the file is easy, but I'm not sure how we can replace the system NvCustomize.apk after changing it. even if we sign it, it has to be with the original sign key, which I dont believe we have.
Anyone been doing this before?
Edit:
Actually, I did it with XPosed and a custom module that I wrote. Unfortunatelly, it doesn't want to usa a resource from the sdcard/internal storage, it has to be hardcoded in the app. Ill continue to look for a solution.
Please post the image of the last shield poly wallpaper

Categories

Resources