[HELP] How to put (convert) user apps to system apps - General Questions and Answers

Hello, Devs!
Recently, I'm playing with DSIXDA kichen to make a Custom Rom. I created a .tar which contains the /system partition with TerMulator. And i set it as working folder. I want to convert some apps like JellyBean keyboard and Walkman to System apps. But, when i do, the application's force closed. And before that, I tried to push those apk to /system/app and set it as RW-R-R and after reboot, it FCing all the time... And my ROM was Deodexed. My question is, how to convert those app to system app without having FC? Please, those who know the way, guide me
Thanks in advance

Related

[Q] Remove system apps and odex?

I'm debluring my US Froyo rom and there are some system apps that I want to remove completely. My question is if I remove the apks, should I also remove the odex files that they are associated with. I'm learning how to develop on Androids (Mainly my Defy but have friends that want me to clean up their phones) and a detailed explanation would be awesome.
Another question would be if I'm just renaming the apk, what should I do with the odex: leave alone, rename, or remove. And why?
PS: the original /system/app folder is completely backed up is I decide I want that app later

[Q] Some question about making a custom rom

Hi
I hope someone can help me.
I am trying to make my own custom rom. I used this way.
- flashed xxJPM
- de odexed all apps and framework
- added stock android lockscreen
- removed some useless system apps
- then changed theme
all this works great. but I had problems with adding some other apps to /system/apps
1. I copied the *.apk file to /system/app
2. I extract the lib files into /system/lib
But apps like quickpic or the gingerbread keyboard are not working. When I just install them android create a data folder. What do I have to do with those database files in this folder? Can someone show me the right way for installing own system apps?
Then I do a factory data reset in the settings. After this nothing was working. I had no lockscreen. Even all options by pressing the shutdown button except "shutdown" disappeared. Does anyone know why this happened?
I am new to this. So it would be great if you can help me.
cal.mar said:
Hi
I hope someone can help me.
I am trying to make my own custom rom. I used this way.
- flashed xxJPM
- de odexed all apps and framework
- added stock android lockscreen
- removed some useless system apps
- then changed theme
all this works great. but I had problems with adding some other apps to /system/apps
1. I copied the *.apk file to /system/app
2. I extract the lib files into /system/lib
But apps like quickpic or the gingerbread keyboard are not working. When I just install them android create a data folder. What do I have to do with those database files in this folder? Can someone show me the right way for installing own system apps?
Then I do a factory data reset in the settings. After this nothing was working. I had no lockscreen. Even all options by pressing the shutdown button except "shutdown" disappeared. Does anyone know why this happened?
I am new to this. So it would be great if you can help me.
Click to expand...
Click to collapse
QuickPic/Gingerbread: Nope. Open the .apk and copy the lib files to /system/lib
About the rest. i have no idea since I don't know your internal files.
THIS IS DEVELOPMENT. DO NOT CLOSE.
It helps people with force close problems.
The Dark Lestat said:
QuickPic/Gingerbread: Nope. Open the .apk and copy the lib files to /system/lib
About the rest. i have no idea since I don't know your internal files.
THIS IS DEVELOPMENT. DO NOT CLOSE.
It helps people with force close problems.
Click to expand...
Click to collapse
dude he already added the lib files..so this is an un-usual problem
"1. I copied the *.apk file to /system/app
2. I extract the lib files into /system/lib"
cal.mar said:
Hi
I hope someone can help me.
I am trying to make my own custom rom. I used this way.
- flashed xxJPM
- de odexed all apps and framework
- added stock android lockscreen
- removed some useless system apps
- then changed theme
all this works great. but I had problems with adding some other apps to /system/apps
1. I copied the *.apk file to /system/app
2. I extract the lib files into /system/lib
But apps like quickpic or the gingerbread keyboard are not working. When I just install them android create a data folder. What do I have to do with those database files in this folder? Can someone show me the right way for installing own system apps?
Then I do a factory data reset in the settings. After this nothing was working. I had no lockscreen. Even all options by pressing the shutdown button except "shutdown" disappeared. Does anyone know why this happened?
I am new to this. So it would be great if you can help me.
Click to expand...
Click to collapse
After making your own dump your not suppose to factory reset, only after flashing your own dump your ready to factory reset, but if you factory reset while making a dump/removing and adding files, you will soft brick and loose your work..
Did you change the framework and tw framework?
Adding back some framework files via adb might help..
Or you will have to start over again..
I forgot to add that you should check your permissions on the lib file
Sent from my Alpha 17 1.2 GHz ACID Lestatious 2.0 BUILD 1.8 Galaxy 3 FROYO
rudolf895 said:
dude he already added the lib files..so this is an un-usual problem
"1. I copied the *.apk file to /system/app
2. I extract the lib files into /system/lib"
Click to expand...
Click to collapse
After copying lib files give this command over adb..
chmod 777 /system/lib/filename.so
InDroid 4.0 (Build 6)
cal.mar said:
Hi
I hope someone can help me.
I am trying to make my own custom rom. I used this way.
- flashed xxJPM
- de odexed all apps and framework
- added stock android lockscreen
- removed some useless system apps
- then changed theme
all this works great. but I had problems with adding some other apps to /system/apps
1. I copied the *.apk file to /system/app
2. I extract the lib files into /system/lib
But apps like quickpic or the gingerbread keyboard are not working. When I just install them android create a data folder. What do I have to do with those database files in this folder? Can someone show me the right way for installing own system apps?
Then I do a factory data reset in the settings. After this nothing was working. I had no lockscreen. Even all options by pressing the shutdown button except "shutdown" disappeared. Does anyone know why this happened?
I am new to this. So it would be great if you can help me.
Click to expand...
Click to collapse
As for the lockscreen and power menu, i was having same problem few days back. Searched all over, no solution. In the end I had to start it all over again. I suggest u do the same.
InDroid 4.0 (Build 6)
arunmcops said:
As for the lockscreen and power menu, i was having same problem few days back. Searched all over, no solution. In the end I had to start it all over again. I suggest u do the same.
InDroid 4.0 (Build 6)
Click to expand...
Click to collapse
yeah I think you are right. Thank you all for your help. I'll try it again. And I hope that it will work.
HI ok. I've tryed it again.
But know when I want to flash my new factoryfs.rfs the Download crashed.
I don't know where the problem could be.​
Do I have to use this command?
dd if=/dev/block/stl6 of=/sdcard/factoryfs.rfs
Click to expand...
Click to collapse
Can someone explain this command to me?
still third time flashing chrashes.
when Odin is flashing the factoryfs.rfs it stops at a specific level. odin get 99% of CPU and I have to interupped it. What is my fault? DId anyone have same problems? I try it to make like all the tutorials says.
Edit: Odin says before flashing "Big Partition size!" What do I have to do to make it smaller?
Edit: I get this:
# dd if=/dev/block/stl6 of=/sdcard/factoryfs.rfs
dd if=/dev/block/stl6 of=/sdcard/factoryfs.rfs
435200+0 records in
435200+0 records out
222822400 bytes transferred in 115.950 secs (1921711 bytes/sec)
Click to expand...
Click to collapse
Found the problem why odin crashes. I copied the factoryfs.rfs file with 7zip into the .tar package but I had to use TotalCommander.
But still I have no lockscreen after flashing and the options in the power menu are not visible.

[Q] Take an app from a custom rom

Hi!
I used for a couple of week a custom rom, the Galnet Miui.
Now I like to try an other rom, but I'd like to keep the Galnet's dialer and browser.
How can I get that apps? Is it easy?
Can I just copy the .apk in system/app in the zipped rom from a zip file to other?
And again... the browser is easy... browser.apk... but how can I recognize the dialer?
Thank you all!
Yes copy the apk to system/app, backup First cause the apk may not work properly, that's why I say backup, experiment all you want but once something goes wrong you have a backup plan , so just get the apk you want and push to system/app and install
NookColor Cyanogenmod 7.1 "Overclocked"
Thank you.
But what's the name of the dialer's apk?
make a backup of whole system folder, then you can test one by one =) DialerTabActivity may be?

[Q] Restore secmemo.apk

Hi to all forum members.
I have a problem with a rom...
I need to restore Secmemo.apk from the rom I9100BlueZ_JellySNAP_v6.0.
In this rom this apk was deleted by default but i love this application and i have a backup of data to restore for it (my old rom was a previously version of android and if i restore application and data with titanium backup the application crash ).
I try to extract it from XWMS1 stock rom, deodex it, put secmemo.apk and secmemowidget.apk in /system/app folder but i don't show it in my apk list.
Anyone could help me?
thanks for your answers.
korabio said:
Hi to all forum members.
I have a problem with a rom...
I need to restore Secmemo.apk from the rom I9100BlueZ_JellySNAP_v6.0.
In this rom this apk was deleted by default but i love this application and i have a backup of data to restore for it (my old rom was a previously version of android and if i restore application and data with titanium backup the application crash ).
I try to extract it from XWMS1 stock rom, deodex it, put secmemo.apk and secmemowidget.apk in /system/app folder but i don't show it in my apk list.
Anyone could help me?
thanks for your answers.
Click to expand...
Click to collapse
Porting these to a new phone is hard so take the android version you have and look for other samsung roms of the same version with the memo apk then install that apk and restore the data. A more experienced dev could tell you exactly what to do.
Lgrootnoob said:
Take the package you initially got then find the apks in the /system/app folder and push those to your phone /system/app and then reboot.
Click to expand...
Click to collapse
if i restore from backup (my old rom was a stock rom) the application crash.
i try to extract it from the same stock samsung rom, put it into the system/app folder but it crash.
i try to deodex the apk and put it into system/app but it crash
i try also to restore from stock rom the symbolic link but it crash on start of the application ...
any idea?
Lgrootnoob said:
Porting these to a new phone is hard so take the android version you have and look for other samsung roms of the same version with the memo apk then install that apk and restore the data. A more experienced dev could tell you exactly what to do.
Click to expand...
Click to collapse
if i download this deodexed rom from this topic:
Code:
http://forum.xda-developers.com/showthread.php?t=2520038&highlight=xwms1
and extract system/app/secmemo.apk and copy to my rom in same position in your opinion it work?
thanks
korabio said:
if i download this deodexed rom from this topic:
Code:
http://forum.xda-developers.com/showthread.php?t=2520038&highlight=xwms1
and extract system/app/secmemo.apk and copy to my rom in same position in your opinion it work?
thanks
Click to expand...
Click to collapse
Can only know if you try.
The depenencies on these apks are on the touchwiz framework and stuff like that.
As long as the rom you take it from is a touchwiz samsung rom of the same version of android and the rom you put it on has the touchwiz framework then your fine but try it first.
If all else fails then you could be hacker and decompress the titanium backup zip file for your memo data and use an sqlite editor from the play store to see if you can read the memos that you left.
Or after that you could load the original rom up again and restore it on that or restore it on another of the same rom.(Another phone maybe)
Lgrootnoob said:
Can only know if you try.
The depenencies on these apks are on the touchwiz framework and stuff like that.
As long as the rom you take it from is a touchwiz samsung rom of the same version of android and the rom you put it on has the touchwiz framework then your fine but try it first.
If all else fails then you could be hacker and decompress the titanium backup zip file for your memo data and use an sqlite editor from the play store to see if you can read the memos that you left.
Or after that you could load the original rom up again and restore it on that or restore it on another of the same rom.(Another phone maybe)
Click to expand...
Click to collapse
i hope that the different framework between two roms is the problem...
for now i extract the db from titanium backup and reimport to colornote (from google play).
Thanks for your help

[Completed] How to customize blackview lollipop rom

Hi Guys,
Need some assistance here.
I want to customize the pre-install apps on my device (Meaning adding another)
I noticed there is already a DIR (/vendor/operator/app ) where facebook, twitter and all other .apk files is.
If I add another .apk file there, where is the script where I should state that it must also install the new .apk's?
Also selinux... if I change the bootanimation.zip in /system/media it default back to the standard Android bootscreen.
How do I further check my permissions? I did a getfacl on the original bootanimation.zip and a setfacl on new bootanimation.zip (permissions is the same)
What am I missing?
Is there some sort of basic guide for customizing the basics in Android 5.1?
Thanks
ryno.jacobs17 said:
Hi Guys,
Need some assistance here.
I want to customize the pre-install apps on my device (Meaning adding another)
I noticed there is already a DIR (/vendor/operator/app ) where facebook, twitter and all other .apk files is.
If I add another .apk file there, where is the script where I should state that it must also install the new .apk's?
Also selinux... if I change the bootanimation.zip in /system/media it default back to the standard Android bootscreen.
How do I further check my permissions? I did a getfacl on the original bootanimation.zip and a setfacl on new bootanimation.zip (permissions is the same)
What am I missing?
Is there some sort of basic guide for customizing the basics in Android 5.1?
Thanks
Click to expand...
Click to collapse
Hello,
What device do you have?
___
v7
XDA Assist

Categories

Resources