I've extracted app camera apk from stock rom but can't install or edit it - General Questions and Answers

I've extracted app camera apk from stock rom but can't install or edit it. IS there any way to get it working ?
I have a 48MP sensor but on custom rom i get only 12MP :| And it's a Real 48 MP Sensor
Files from extracted system.img containing apk and also lib and oat folders
mega.nz/file/6I0B2SJK#e-8OCUp8uDsk7eK9lyaGvmvMj8DPw3XM-yPzfD9r1AM
EDIT. I Found old TWRP backup and there was this app so I've extracted it and this time it behave like an apk file but i'm geting error at the end of installation.
Here is the file
mega.nz/file/nYUknZaY#KOyfPwC_4a9ZKQc-jQAzE5ri1Lkx-YV8-xvJMauhO2g

Try using ApkExport to make an installable copy on a device that has it installed on.
APK Export (Backup & Share) - Apps on Google Play
Manage and extract your apps.
play.google.com

blackhawk said:
Try using ApkExport to make an installable copy on a device that has it installed on.
APK Export (Backup & Share) - Apps on Google Play
Manage and extract your apps.
play.google.com
Click to expand...
Click to collapse
I thought about it but honestly i don't want to flash rom for few minutes just to get back on my current and set up device again. If there is no other way then maybe that would be the only option

michael205 said:
I thought about it but honestly i don't want to flash rom for few minutes just to get back on my current and set up device again. If there is no other way then maybe that would be the only option
Click to expand...
Click to collapse
I use it to make a mirror copy of all my apps and updates.

Related

help: how to add removable apk to roms?

I wasn't able to find info about this until now. But I need to know how to make the apks I include in a rom removable. I guess, maybe, I have to copy into a different folder instead or /system/app. is it right?
thanks
you have to install it in data directory not in system directory. so data/app
ok, thanks, but, if it doesn't exist, should I create it?
no u should not create it because then it wouldnt be a proper directory for your rom, the rom may not recognize it, i think.
which rom are you on? most rom has a data directory, that is where third party apps are installed and where apps downloaded from the market is also installed
this one
http://forum.xda-developers.com/showthread.php?t=556962&highlight=enomther
ok i see what u mean when there's no data directory. what you should test out first is go to market and download an app. then see where that app is install. see if it created a data directory or not. it should...
I had a look using root explorer, and there is a folder in the root called /data/app , and there inside are every installed apk, even the ones I installed by astro...
and there is another one called /data/data where I find folder of every app too
ANd another one called /data/app-private (there I found one apk that I downloaded from market.
I try to download a new one
Yup put your apks in data/app
on a related note, is there any way to flash unsigned ROMs? like if I want to drop .apk 's into the data folder of a rom before flashing?
The_Chrome_Coyote said:
on a related note, is there any way to flash unsigned ROMs? like if I want to drop .apk 's into the data folder of a rom before flashing?
Click to expand...
Click to collapse
I think no, but have a look for a program called autosign.
It very easy
NguyenHuu said:
Yup put your apks in data/app
Click to expand...
Click to collapse
but it only appear in my phone,not in the files of the rom.
Anyway I'm going to ask enomther, the creator of the rom, maybe he can help me
joshuas_79 said:
but it only appear in my phone,not in the files of the rom.
Anyway I'm going to ask enomther, the creator of the rom, maybe he can help me
Click to expand...
Click to collapse
ok your running a reg rom system, thus meaning 1.5/1.6 non hero. i can teach you step by step on how to set up "signing .zip's". its super super convenient!! i promise and its not to hard. just pm me if you need help. its way way easier to flash a rom with whatever apk you want then to push them and hope you pushed them to the right spot.

Swipe .APK

I extracted the .APK file for Swipe just in case anyone needs it. I am planning on using it once custom roms come out and i need to reinstall swipe. I have not tested this, so it may not work.
Mediafire
would you be able to extract the touchwiz apk file for me i was able to backup all my apps via FTP except that one and its no longer on my system please any help would be great
ericos123 said:
would you be able to extract the touchwiz apk file for me i was able to backup all my apps via FTP except that one and its no longer on my system please any help would be great
Click to expand...
Click to collapse
How did touchwiz get deleted? If all you did was a system restore it should still be there. I was trying to backup some system apps also with Titanium Backup, but for whatever reason they did not have .APK files, so it was a little out of my league to figure out how to do it.
nbs11 said:
How did touchwiz get deleted? If all you did was a system restore it should still be there. I was trying to backup some system apps also with Titanium Backup, but for whatever reason they did not have .APK files, so it was a little out of my league to figure out how to do it.
Click to expand...
Click to collapse
i had uninstalled it lol because i was using launcher pro so i have every apk file i need except that one

Way to "pre-install" apps for new ROMs?

So now that I've jumped into trying new ROMs, aside from Titanium Backup and the like, is there a way I can "pre-install" apps/apks much like slipstreaming a Windows install?
A lot of the basic stuff that I'll download immediately (maps, drive, chrome, facebook, etc) - I have the apk files...can I just open up the ROM's zip file and insert them into data/app or system/app? If I just back up everything via TB, is it just the same?
Place it in system/app then when you flash it you will have those apps pre-installed.
Evi1Yoda said:
So now that I've jumped into trying new ROMs, aside from Titanium Backup and the like, is there a way I can "pre-install" apps/apks much like slipstreaming a Windows install?
A lot of the basic stuff that I'll download immediately (maps, drive, chrome, facebook, etc) - I have the apk files...can I just open up the ROM's zip file and insert them into data/app or system/app? If I just back up everything via TB, is it just the same?
Click to expand...
Click to collapse
copy apk files only in /data/app because /system/app is reserved from system applications and /system partition doesn't have to much space or you'll be overwhelmed also don't forget to sign .zip file -your rom if not CWM will refuse to flash it also to sign .zip archive take a look at this post
hmm...is there any way to get the apk's from the phone? Can i copy them from data/app from my phone and then put them in the rom zip file?
z3nith66 said:
hmm...is there any way to get the apk's from the phone? Can i copy them from data/app from my phone and then put them in the rom zip file?
Click to expand...
Click to collapse
Yeah.
Nice, thanks guys. I'll give it a shot tonight on a new ROM and see if it helps cut down on installation/download time.
Evi1Yoda said:
Nice, thanks guys. I'll give it a shot tonight on a new ROM and see if it helps cut down on installation/download time.
Click to expand...
Click to collapse
Good luck mate! :good:

[Solved] Replacement for Contacts App

Hi all,
As the stocks Razr i contacts app allows the user only to save the contacts on the SIM-Card or Google Account (which I don't have and don't want),
I wanted to ask if there's a good replacement available?
to allow the saving of contacts on the phone.
(Omars Rom had one, but I'm currently using the in my opinion much faster Pi-llama Rom and it has the stock contacts )
[Solved]
Janine Belle said:
Hi all,
As the stocks Razr i contacts app allows the user only to save the contacts on the SIM-Card or Google Account (which I don't have and don't want),
I wanted to ask if there's a good replacement available?
to allow the saving of contacts on the phone.
(Omars Rom had one, but I'm currently using the in my opinion much faster Pi-llama Rom and it has the stock contacts )
Click to expand...
Click to collapse
why not replace the contacts apk manually?
Janine Belle said:
Hi all,
As the stocks Razr i contacts app allows the user only to save the contacts on the SIM-Card or Google Account (which I don't have and don't want),
I wanted to ask if there's a good replacement available?
to allow the saving of contacts on the phone.
(Omars Rom had one, but I'm currently using the in my opinion much faster Pi-llama Rom and it has the stock contacts )
Click to expand...
Click to collapse
Did you try this?
dagoban said:
why not replace the contacts apk manually?
Click to expand...
Click to collapse
How does it work and where can I get the .apk or flash file from?
St.Noigel said:
Did you try this?
Click to expand...
Click to collapse
I already tried Contacts+, but when adding new contacts it refers to the stock contacts app that can only use the SIM-card (or google) - [Contacts+ is just a nice interface, but not an independent addressbook]
Janine Belle said:
How does it work and where can I get the .apk or flash file from?
Click to expand...
Click to collapse
Download Omar's rom, unzip the contacts apk file, copy it to your sdcard, open root explorer, go to system apps, mount r/w, rename your current file to have it as a backup, copy omars apk to the folder.
dagoban said:
Download Omar's rom, unzip the contacts apk file, copy it to your sdcard, open root explorer, go to system apps, mount r/w, rename your current file to have it as a backup, copy omars apk to the folder.
Click to expand...
Click to collapse
Thank you, it worked! :good:
Here are instructions for those who want to do the same:
Requires Rooted Device with Root Explorer
0. Backup your contacts
1. Download the two attached contact files [from Omars Rom].
2. Delete the old ones in /system/apps .
3. Then insert them change to rw-r--r, and mount, restart the device
Now you can have an unlimited number of contacts on your phone storage. :angel:
Edit:Attached the files
Sorry I didnt point out the exact file names, I was not 100% sure which of them are the ones that needed to be overwritten.

Preinstall apps

Dears,
I need to preinstall some apps onto my tablet.
I installed them manually, them I collected apks via Apk Extractor.
I added those apks in the firmware, but just some of them are really preinstalled when firmware is flashed to devices.
Anything to check or do to these apks before to add them to firmware?
Thanks and best regards
ultradj83 said:
Dears,
I need to preinstall some apps onto my tablet.
I installed them manually, them I collected apks via Apk Extractor.
I added those apks in the firmware, but just some of them are really preinstalled when firmware is flashed to devices.
Anything to check or do to these apks before to add them to firmware?
Thanks and best regards
Click to expand...
Click to collapse
Didn't understand your question properly but if you want to preinstall apps everytime you flash the rom or factory reset then copy the apks to following location-
/system/vendor/operator/app/
It will do the work.
Well I did this, but some apps are not installed, this is the problem...
And I have no idea where to find a flash log to see what happened.
Thanks!
ultradj83 said:
Dears,
I need to preinstall some apps onto my tablet.
I installed them manually, them I collected apks via Apk Extractor.
I added those apks in the firmware, but just some of them are really preinstalled when firmware is flashed to devices.
Anything to check or do to these apks before to add them to firmware?
Click to expand...
Click to collapse
Place the apks in /system/app folder so that they will automatically install.
Make sure to set its permission as 644
ultradj83 said:
Well I did this, but some apps are not installed, this is the problem...
And I have no idea where to find a flash log to see what happened.
Thanks!
Click to expand...
Click to collapse
In the firmware copy apks to
/data/app/
this should work but they will be erased when you factory reset.
So if I do a factory reset they won't be installed because apks will be deleted?
Any way to avoid this?
Tks!
ultradj83 said:
So if I do a factory reset they won't be installed because apks will be deleted?
Any way to avoid this?
Tks!
Click to expand...
Click to collapse
No, they won't be deleted if you place it in /system/app, even if you do factory reset
ultradj83 said:
So if I do a factory reset they won't be installed because apks will be deleted?
Any way to avoid this?
Tks!
Click to expand...
Click to collapse
Then you have to use 1st method which you said didn't work properly. So copying to /system/app/ folder is only option left. But you can't uninstall these apps, you can only delete them.
I'm trying to understand if the system partition has enough space.
Will Play Store update apps in the system?
Tks!
ultradj83 said:
I'm trying to understand if the system partition has enough space.
Will Play Store update apps in the system?
Tks!
Click to expand...
Click to collapse
Yes
That's how apps like Google Maps get updated.
System gets full with a few apps...
I need to put the most of apps into /data, how to set permissions 644 by a Windows computer?
The tool that packages the firmware is only for Windows.
What if I edit permissions on a Linux machine then I copy them to Windows machine?
Tks!
ultradj83 said:
System gets full with a few apps...
I need to put the most of apps into /data, how to set permissions 644 by a Windows computer?
The tool that packages the firmware is only for Windows.
What if I edit permissions on a Linux machine then I copy them to Windows machine?
Tks!
Click to expand...
Click to collapse
Just give permission to /data/app folder as same as /system/app folder. Giving permission to each and every app is not required.
Ok but files and folder are on a Windows machine because the builder is for a Windows.
How can I do?
ultradj83 said:
Ok but files and folder are on a Windows machine because the builder is for a Windows.
How can I do?
Click to expand...
Click to collapse
I didn't understand. What are you doing ? Flashable zip ? Which tool you are using ?
Yes it's a flashble firmware.
I use Rockchip Firmware Factory.
ultradj83 said:
Yes it's a flashble firmware.
I use Rockchip Firmware Factory.
Click to expand...
Click to collapse
What is the flashable firmware format ? Zip ? If zip then you can make changes in the firmware after making the firmware from that tool.
Yes it's a zip.
How to edit in the zip?
ultradj83 said:
Yes it's a zip.
How to edit in the zip?
Click to expand...
Click to collapse
Extract update.script from Zip's meta-inf/google/android/ folder and edit it using notepad++ or similar program and you can add permissions there. You can even add data folder directly to zip using winrar or 7zip and make changes in update.script file.
4shreyas said:
In the firmware copy apks to
/data/app/
this should work but they will be erased when you factory reset.
Click to expand...
Click to collapse
Dear,
I found that the automatic tool puts all apks that you suggest to put in /data/app in the system/preinstall, this might be the error.
At the same time apps to be installed as system apps are in the system/app.
How can I move my apks from system/preinstall to data/apps?
Creating a data.img in the update file, editing update-script and repacking firmware?
Thanks a lot.
ultradj83 said:
Dear,
I found that the automatic tool puts all apks that you suggest to put in /data/app in the system/preinstall, this might be the error.
At the same time apps to be installed as system apps are in the system/app.
How can I move my apks from system/preinstall to data/apps?
Creating a data.img in the update file, editing update-script and repacking firmware?
Thanks a lot.
Click to expand...
Click to collapse
First tell me what is the format of your firmware ? First you told .zip and now you're talking about .img. Zip firmware is easy to edit. Just extract the zip file using 7z , winrar etc and add data/app/ folders to it and move required apks from system folder then edit update.script as said in previous post and compress again to zip using same software with normal deflate compression mode in options. Then you can directly flash. If .img you are talking about then it is different and slightly difficult.

Categories

Resources