[Q] How to make any app system app? - General Questions and Answers

I put KK launcher in my ROM.But,when i installed the ROM..A message apperared KK Launcher has crashed.Because it was not a system app,I dont really know that the reason for this crash is due to its lack of system permissions.
please help,i want to create a ROM.

Your Device Should Be Rooted!!
Go to Root Explorer and copy the apk file of launcher in system/app/

Or use link2sd.....
coolsuper13 said:
I put KK launcher in my ROM.But,when i installed the ROM..A message apperared KK Launcher has crashed.Because it was not a system app,I dont really know that the reason for this crash is due to its lack of system permissions.
please help,i want to create a ROM.
Click to expand...
Click to collapse
If u found the system/app method diddicult or cant do that way just install link2sd and the app then open link2sd then in option of the app convert it into system app ..............

Is your ROM deodexed? In particular, is your APK deodexed?
If so, decompile the APK. Search for a lib folder.
If there is, rejoice. If there isn't I can't help any further apart from finding a different launcher.
Okay, assuming your APK is deodexed(which it probably is) and has a lib folder, open the lib folder. Open the armeabi folder within. Copy all the libs inside to your ROM's /system/lib. Zip all, flash.
Do post the result. If any anomalies pop up, do post here as well.

Use link2sd . In the option there is one that is convert into system app. U can easily make anyapp into system app
Sent from my GT-S6102 using XDA Free mobile app

not sure if it matters but there is also the system/priv-app folder..
Sent from my SM-G900V using XDA Premium HD app

Related

How to Add Apps to a Phone?

Ok not sure if this is the right place or what but im a go ahead anyway, i was looking at some custom roms and i notice that some roms had the DownloadproviderUI.apk i tried pulling it and putting it on my phone but nothing i keep getting error messages that the file cant be something.(sorry)
the apk was running on the Triumph and i have a Triumph but its on a custom rom im running a Stock and it cam from a CM7 so is it possible to port the apk file to Stock and how if anything?
The stock rom should have a apk handler with it also, are you trying to download apps from browser and install them? If so just go to settings. Then application . Click unknown resources hit ok, best to have a file explorer to find downloads and install
Sent from my WX435 using xda app-developers app
henslo said:
The stock rom should have a apk handler with it also, are you trying to download apps from browser and install them? If so just go to settings. Then application . Click unknown resources hit ok, best to have a file explorer to find downloads and install
Sent from my WX435 using xda app-developers app
Click to expand...
Click to collapse
No really like that, I know how to do that im talking about if i wanted to take a app from the CM7 roms apk file then add it to my SD card and download it to my phone (i know ill still have to do what you said also) but when i do it says "problem parsing the package" but it comes from a triumph rom so how doo i get this to work on the stock roms?
Hmm, just needing the DownloadproviderUI.apk from cm7? Extract from zip then try pushing it to system/apps and fix permissions, then reboot . Should work
Sent from my WX435 using xda app-developers app
henslo said:
Hmm, just needing the DownloadproviderUI.apk from cm7? Extract from zip then try pushing it to system/apps and fix permissions, then reboot . Should work
Sent from my WX435 using xda app-developers app
Click to expand...
Click to collapse
That Would work but how do i get it to stick to a rom? like if i added it to the System/app folder then flashed the rom? I got the ICS Keyboard to work by adding the LIB files within the app its self to the Rom then flashed and that works but this app isn't the same.
What from are you going to flash? If its a cm7, it'll be there won't have to do that. If you want to add your apps before you flash decompile add recompile zip then flash
Sent from my WX435 using xda app-developers app
Google play store
---------- Post added at 09:20 PM ---------- Previous post was at 09:08 PM ----------
add them with android kitchen
There are a few things that are different with the APK's
if its just a plain old third party app APK, then putting it on the sd card and locating and installing with a file explorer of some sort should work fine
If its a system related app that must be in the system with permissions then theres 2 ways, sometimes one way doesnt work
a. simply open the rom's zip and add it to the system/app folder(sometimes after doing this you'll still need to navigate to the folder and hit install usually itll install itself)
b. the trickier one if a. doesnt work, have the apk on the sd, using a file explorer that will allow you to change permissions, change the system folder from read only to read/write move or copy the apk from the sd card to the system/apps folder, Install it, then switch the folder back to read only and reboot
also keep in mind that if your trying to bring an app from CM7 to Stock some probly just wont work, CM7 is gingerbread based while stock is froyo, gingerbread changed how things like texts, data, camera, and hdmi are read by the phone and how they function or where the files are so it may just not work
Tokens210 said:
There are a few things that are different with the APK's
if its just a plain old third party app APK, then putting it on the sd card and locating and installing with a file explorer of some sort should work fine
If its a system related app that must be in the system with permissions then theres 2 ways, sometimes one way doesnt work
a. simply open the rom's zip and add it to the system/app folder(sometimes after doing this you'll still need to navigate to the folder and hit install usually itll install itself)
b. the trickier one if a. doesnt work, have the apk on the sd, using a file explorer that will allow you to change permissions, change the system folder from read only to read/write move or copy the apk from the sd card to the system/apps folder, Install it, then switch the folder back to read only and reboot
also keep in mind that if your trying to bring an app from CM7 to Stock some probly just wont work, CM7 is gingerbread based while stock is froyo, gingerbread changed how things like texts, data, camera, and hdmi are read by the phone and how they function or where the files are so it may just not work
Click to expand...
Click to collapse
How do you get a .apk to execute(or even see it on a sd card in stock device? without market/file browser?
vizionforever said:
How do you get a .apk to execute(or even see it on a sd card in stock device? without market/file browser?
Click to expand...
Click to collapse
you cant, if it was a System apk then Sometimes, you can put it into the correct folder inside a custom roms Zip and itll install itself
otherwise you need to download some type of file manager so you can navigate thru the folders, then just clicking the apk should pop-up and install menu

[Q] XBSALL'S ICS Ported rom 3D Converter problem

Hi everyone,
I'm sort of like new here, I had a problem entering download mode after flashing xbsall's ics ported rom, that's solved now due to some users posting threads with the same problem. Thank you
I noticed that no one is talking about the 3D Converter not working properly, I tried Angry Birds 1 (Space didnt have 3d functionalities under GB and Star Wars appears to be going the same way, I think Rovio is planning on realeasing another trilogy on the 3DS and that is why they took away 3D functionalities for smartphones).
Anyway, Angry birds 1 3D functionalities were not working properly under the 3D converter so I decided to delete the application through root uninstaller in order to be able to install the GB HRZ.apk version. While I was trying to do that, before being able to touch the uninstall feature, I noticed the root uninstaller did something and it deleted the application but in a wrong way. I was not able to install the HRZ.apk posted inside an xda thread because the system was telling me that it was going to replace a system application, bla bla bla and after going for its installation, it gave me the message that the application was not installed.
Through root explorer I deleted every single com.lge.lge3dconverter / hrz file and folder I could find, I cleaned the dalvic cache feature through the ram booster program and after all that, the system was still telling me the same thing as before when I tried to install the HRZ.apk GB app.
What can I do in order to be able to have a perfectly functional 3D Converter application for my games like I had it when I was using the GB rom? :crying:
Thank you in advance...
U cant install (Most of the time) an system app just by clicking on the . apk like a normal app. you have to use a root explorer an copy your app to the folder /system/app and then set permission to it like the other apps in that folder. then you have to reboot
Sent from my LG-SU760 using xda app-developers app
lzzar said:
U cant install (Most of the time) an system app just by clicking on the . apk like a normal app. you have to use a root explorer an copy your app to the folder /system/app and then set permission to it like the other apps in that folder. then you have to reboot
Sent from my LG-SU760 using xda app-developers app
Click to expand...
Click to collapse
Thank you...
I did what you said, I put the HRZ.apk inside the system / app folder through the root explorer program, checked very single permission available and proceeded with the installation through the root explorer program and the same thing happned:crying: it told me app not installed
If you or anyone has any other idea I'm willing to try...
mdn30 said:
Thank you...
I did what you said, I put the HRZ.apk inside the system / app folder through the root explorer program, checked very single permission available and proceeded with the installation through the root explorer program and the same thing happned:crying: it told me app not installed
If you or anyone has any other idea I'm willing to try...
Click to expand...
Click to collapse
adb install nameofapp.apk in debug mode.
Sorry didnt realise it was a system file adb install won't work.
adb push HRZ.apk /system/app
kidkoala_uk said:
adb install nameofapp.apk in debug mode.
Sorry didnt realise it was a system file adb install won't work.
adb push HRZ.apk /system/app
Click to expand...
Click to collapse
Could you give me a link or instructions on how to use the adb program in order to be able to install the HRZ.apk file?
I keep reading and reading about the abd installation over the internet but nothing concrete...
Thanks...
mdn30;3477323 iproceeded with the installation through the root explorer program and the same thing happned:crying: it told me app not installed
If you or anyone has any other idea I'm willing to try...[/QUOTE said:
U don't install system apps! when you have put your apk in the/ system/app DON'T click on it just reboot and you should see your app in the launcher. D
Sent from my LG-SU760 using xda app-developers app
Click to expand...
Click to collapse
lzzar said:
U don't install system apps! when you have put your apk in the/ system/app DON'T click on it just reboot and you should see your app in the launcher. D
Sent from my LG-SU760 using xda app-developers app
Click to expand...
Click to collapse
Thank you, I did what you said, I put the HRZ.apk GB app inside the /system/app and rebooted the phone, nothing happened, I do not *know what launcher are you talking about...sorry for that.
I did something else too, I put the HRZ.apk inside the /system/apps/boot (or bootloader cant remember) folder and managed to see it inside the Application manager app listed as needing an update (maybe its still detecting the ICS 3d converter app badly uninstalled as installed). I tried to update the app and it gave me an error.
Do you or anyone have or has the xbsall's ics 3d converter apk ? If so, can you put that apk version available here as a download, please?
I know it was the one that was giving me problems but if the system is not letting me install the GB 3.0 version, I need the one that came with the rom in order to see if there is another way to fix the problem...
Thank you and thank you guys for your help...

[Q] Motorola Text Messaging app on CM10.1

has anyone been able to port the stock Motorola text messaging app over to an AOSP ROM?
hackthis02 said:
has anyone been able to port the stock Motorola text messaging app over to an AOSP ROM?
Click to expand...
Click to collapse
Have you tried just extracting the text messaging app from any stock Rom? I was on aviator Rom(Moto) and just switched to eclipse (aosp). I just extracted the apk and ran it. Then I used titanium backup to freeze the stock aosp messaging app (or u can back up and uninstall).
The stock app might reinstall on reboot since its a system app. To remove you can use root explorer and navigate to /system/app and mount r/w then delete the messaging.apk. you can also copy the Moto text messaging apk in that same directory and change the permission to rw-r-r. You can accomplish all this with root explorer or any file manager with r/w to system functionality.
I saw a post somewhere that had the zip files for a dark and light version, but can't remember where, but with any system apk, you could pretty much follow the steps I outlined. Just be sure to back up anything you delete just in case.
fcardona86 said:
Have you tried just extracting the text messaging app from any stock Rom? I was on aviator Rom(Moto) and just switched to eclipse (aosp). I just extracted the apk and ran it. Then I used titanium backup to freeze the stock aosp messaging app (or u can back up and uninstall).
The stock app might reinstall on reboot since its a system app. To remove you can use root explorer and navigate to /system/app and mount r/w then delete the messaging.apk. you can also copy the Moto text messaging apk in that same directory and change the permission to rw-r-r. You can accomplish all this with root explorer or any file manager with r/w to system functionality.
I saw a post somewhere that had the zip files for a dark and light version, but can't remember where, but with any system apk, you could pretty much follow the steps I outlined. Just be sure to back up anything you delete just in case.
Click to expand...
Click to collapse
Does anyone have the stock Motorola app? Trying to get group mms working on CM10.1 and the way I want to do it is through the stock app.
I tried backing up the app with Titanium backup. but it won't show up in the app draw. I've check the permissions and everything.
hackthis02 said:
I tried backing up the app with Titanium backup. but it won't show up in the app draw. I've check the permissions and everything.
Click to expand...
Click to collapse
Here are all the files needed.
http://forum.xda-developers.com/showthread.php?t=2049679
The app shows up in the app draw but FC every time. I guess it needs something else when running on an AOSP ROM.
hackthis02 said:
The app shows up in the app draw but FC every time. I guess it needs something else when running on an AOSP ROM.
Click to expand...
Click to collapse
Did you copy over the files from the lib folder as well and change the permissions?
Sent from my DROID RAZR HD using xda app-developers app

Porting apps

i want to install an apk from system apps in one phone to another phone. copying the apk to /system/app and setting permissions made the app appear in app drawer, but when launching the app it force closes. so i want to modify the apk to be installable on other devices. any ideas/tutorials?
Kobro said:
i want to install an apk from system apps in one phone to another phone. copying the apk to /system/app and setting permissions made the app appear in app drawer, but when launching the app it force closes. so i want to modify the apk to be installable on other devices. any ideas/tutorials?
Click to expand...
Click to collapse
its a little hard to port apps especially if its someone like samsung, they are MADE for touchwiz and all the frameres and other crap so its really not worth that one app.
if there is libs in the app ,you should copy libs to /system/lib/
j.wolf said:
if there is libs in the app ,you should copy libs to /system/lib/
Click to expand...
Click to collapse
where do i find the libs? i only have the apk
Extract APK
You can extract to apk file and copy!

[Q] How can I restore a system app with .odex file ?

Hi,
I've deleted the app Docs that was in system\app\DocumentsUI.
There was the file DocumentsUI.apk in this folder and a subfolder named arm with the file DocumentsUI.odex like every system app.
I'd like to know how can I restore this app. I've tried to put back in place all the files but Android don't recognise the app...
Thank
Sebacestmoi said:
Hi,
I've deleted the app Docs that was in system\app\DocumentsUI.
There was the file DocumentsUI.apk in this folder and a subfolder named arm with the file DocumentsUI.odex like every system app.
I'd like to know how can I restore this app. I've tried to put back in place all the files but Android don't recognise the app...
Thank
Click to expand...
Click to collapse
Have you set the permission of both apk and odex file? Both file must be given rw-r--r-- as permission.
Yes but it didn't change anything...
The phone recognise the app if I put the .apk in directly in system/app and not in system/app/DocumentsUI but then it can't find the .odex file even if I put it next to the .apk...
It'll work without the odex won't it?
Sent from my Nexus 5 using Tapatalk
Unfortunately no. It give a force close message...
You still on kitkat?
Sent from my Nexus 5 using Tapatalk
No, I'm on official 5.1.1
Still no help. Nobody know how I can restore a system app ?

Categories

Resources