[SOLVED] how to convert user app to system app (FCing) - Galaxy Y GT-S5360 and Duos 6102 Q&A, Help & Troubl

It's solved!
How to convert user app to system app (apk required)
-grab/move the app from /Data/App/ to /System/app/
-set the permission to RW-R-R ---reboot
If some apps like Keyboard or else keep FCing,
-open the apk using Root Explorer (don't install it, view it) see if the APK contains lib forder
-copy the Libs file to /system/lib
-move the APK to /system/app
-set the Lib's and APK's permissions to RW-R-R
this libs required for some apps that can't be pushed just using the old methods (Titanium, Link2SD, and else)
Thank's for everyone who answering 

That was libs and data problem of those apk getting FC as system apps..
You can't use them as system apps... I got same problem while using them as system apps
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
sent from my ANDROID using
XDA PREMIUM

place the apk in /system/app
decompile the apk using any tool
check if it has a lib folder
if yes , copy the file in lib folder to your custom roms lib folder
set proper permissions
Sent from my GT-S5670 using xda premium

Maybe wrong at the app...
Decompile it, look the lib folder it must be armv6 if not it'll be FC

soham jambhekar said:
place the apk in /system/app
decompile the apk using any tool
check if it has a lib folder
if yes , copy the file in lib folder to your custom roms lib folder
set proper permissions
Sent from my GT-S5670 using xda premium
Click to expand...
Click to collapse
What's the correct permission? RW-R-R? RWX-RX-RX? Or what?
Sent from my SCH-i509 using Tapatalk 2

Rw-r-r
sent from my ANDROID using
XDA PREMIUM

use link2sd there is option to convert

It's solved!
How to convert user app to system app (apk required)
-grab/move the app from /Data/App/ to /System/app/
-set the permission to RW-R-R ---reboot
If some apps like Keyboard or else keep FCing,
-open the apk using Root Explorer (don't install it, view it) see if the APK contains lib forder
-copy the Libs file to /system/lib
-move the APK to /system/app
-set the Lib's and APK's permissions to RW-R-R
this libs required for some apps that can't be pushed just using the old methods (Titanium, Link2SD, and else) should i delete this thread or ask the moderators to close this?
Thank's for everyone who answering

add 'solved' to your title's thread

Related

Nexus S live Wallpapers

Does anyone have them and successfully installed them on the X?
I personally haven't tried them yet. Will let you know how they run on the X.
Check out this thread:
http://forum.xda-developers.com/showthread.php?t=872923
I read that after I posted this thread, but they do not work, atleast I haven't gotten them too on my DX.
I have it working on a gingerbread themed fission 2.3.1
Sent from my DROIDX using XDA App
What method did you use? The update.zip method or did you move the .apk file into the system? I tried the update.zip on my rooted X with the stock ROM and it did nothing.
Edit: I just moved the livewallpaper.apk file into system/app and it still didn't work. Maybe the Fission ROM adds something that lets it work?
Its only one live wallpaper. I manually moved it but don't forget to set permissions.
I used the update.zip file and it shows under live wallpapers as nexus.
Neither the update.zip or manually moving the apk installed this. Im on Apex 1.3 currently.
After you move the Nexus livewallpapers.apk to /system/app make sure to change it's permissions to User: R/W, Group: R, Others: R. After changing permissions, simply reboot and it'll automatically install.
By the way, make a backup of your original livewallpapers.apk (just rename it to livewallpapers.bak or something) before moving over the Nexus version.
johnclevenger said:
After you move the Nexus livewallpapers.apk to /system/app make sure to change it's permissions to User: R/W, Group: R, Others: R. After changing permissions, simply reboot and it'll automatically install.
By the way, make a backup of your original livewallpapers.apk (just rename it to livewallpapers.bak or something) before moving over the Nexus version.
Click to expand...
Click to collapse
Worked great on my X running Apex 1.3.
Ty!
johnclevenger said:
After you move the Nexus livewallpapers.apk to /system/app make sure to change it's permissions to User: R/W, Group: R, Others: R. After changing permissions, simply reboot and it'll automatically install.
By the way, make a backup of your original livewallpapers.apk (just rename it to livewallpapers.bak or something) before moving over the Nexus version.
Click to expand...
Click to collapse
I don't get it. I did this as well and it still hasn't installed..lol.
if you're trying the zip did you mount system for installing?
pjsockett said:
if you're trying the zip did you mount system for installing?
Click to expand...
Click to collapse
I just tried again and wouldn't install. Still the same LW that were originally there.
Breakthecycle2 said:
I just tried again and wouldn't install. Still the same LW that were originally there.
Click to expand...
Click to collapse
The Nexus one is the only one I could get to install. I had to use Fission Rom Manager to load Microbe.
You need to make sure to mount your system before the install as others have said. It might be worth downloading the update.zip again to be certain the full file downloaded.
Just throwing out ideas.
And since it wasn't in the thread this is what microbe looks like. It's pretty cool. you tap to put those little white dots on the screen. the red blue green and yellow microbes swim around eating it getting bigger then budding off into more little guys. there's actually kind of a lot going on. I think that's why it runs a little slower.
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}

[HOW TO] Use and install APKtool

So, here i'm again porting a tutorial based on DSM_'s Tut
What do you need:
JRE (Java Runtime Environment)
Install:
Windows:
Download apktool
Download apktool-install-windows
Unpack both pakages you will get three files, copy those files to your Windows directory i.e. C:\WINDOWS
Decoding files:
Open Command. Run>cmd
Type-
Quote
apktool d file.apk [directory]
Example - apktool d D:\nfsshift.apk D:\nfsshift
Done!
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
FrameworkFiles
Apktool needs the framework files to decode and build apks.
Standard framework is embedded into apktool, so you don't need to do anything for most apk files. But some manufacturers, for example Samsung, add their own framework files and use them in system apps. To use apktool against such apps, you must pull framework from a device and install/register it to apktool.
For Example, you want to decode TouchWizLauncher.apk from Android v2.2 of Galaxy 5. If you try to do that, you will get an error message:
You need to install framework in apktool Type-
apktool if [framework location]
I have the got the framework-res.apk & twframework-res.apk by extracting the ROM. You can also copy it from your phone. But take care you must copy framework.apk from that ROM in which you got the Application file.
Then try again
Now is working.
How to build decoded files:
Just type
apktool b [directory in which you have decoded the files]
Example - apktool b D:\nfsshift
Done!
You will find the apk file inside the decoded directory, like I found it in - D:\nfsshift\dist\nfsshift.apk
Now you need to sign your APK file.
How to Sign APK files:
When publishing an application or a custom rom you need to sign the .apk or .zip files with a certificate using a private key. The Android system uses the certificate to identify the author of an application and establish trust relationship between applications. The classic way of doing this was to use keytool then sign it with jarsigner. In this tutorial i’ll explain an alternative method which is relatively easy to use for most people using a tool called SignApk.jar.
First download the SignAPK tool - http://www.mediafire.com/?rw57ftajd6nm81s
Extract them to a directory you will remember. I have put them in C:\SignApk
Now just open cmd and type -
Quote
cd C:\SignApk
java -jar signapk.jar certificate.pem key.pk8 your-app.apk your-app-signed.apk
Example - java -jar signapk.jar certificate.pem key.pk8 D:\nfsshift\dist\nfsshift.apk D:\nfsshift\dist\nfsshift-signed.apk
Your APK is signed and can be installed.
●๋•ηι¢є ιηƒσ●๋•
Sent from my GT-S7500 using xda app-developers app
I know this is an old post but I need some help. I have the apktool, dex2jar and jd-gui in a folder on my Desktop
I installed the framework-res.apk and it installs into a different folder. Do I need to have the Framework folder into the same folder as the other files or will it be able to locate the framework files no matter where they are.
The reason I ask is because even though I have installed the framework, I am still getting error message when attempting apktool d filename.apk. Any ideas would be helpful, thank you

[APP] Xperia S Keyboard for ALL [Working Swipe][Multi-Lang][Stable][ICS][JellyBean]

Here is the Xperia S keyboard compiled from Xperia S ICS dump into a flashable CWM zip.
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
-> Features similar, if not better, to Swype Beta
-> Bilingual word suggestion (2 Languages support)
-> Multi-languages
-> Excellent word and phrase prediction
-> 3 in app themes
-> Customizable keyboard layout
Tested and working on my LG P500 running AOKP Milestone 6 ROM but the screenshots are took from idareyoutoclickthis thread cuz i didnt had time to take some screenshots
DOWNLOAD HERE
Mirror HERE Only ENG
Installation:
1. Reboot to Recovery
2. Mount System
3. Flash zip file
If the for some reason the CWM zip didn't work for you or the Keyboard doesn't appear in settings do this:
1. Decompress the zip file.
2. Ignore the META-INF folder
3. In the app folder, you'll find textinput-chn.apk (Mandarin Chinese keyboard) and textinput-tng.apk (English keyboard).
4. You can move one or both into /system/app folder with ES File Manager/root explorer/etc. (or adb)
5. Move lib/libXT9Engine into /system/lib
6. Move usr/xt9 into /system/usr
7. Reboot. If you still don't see the keyboard in your settings, install the apk with your file manager which should work with the libraries installed.
Credits goes to idareyoutoclickthis
When i flashed, phone showed error and i wasn't able to flash keyboard. When i tried to push files to system i got only force closes when i tryied to use keyboard. I pushed only my country language file because i only have 11mb free space on system. Where did i go wrong? I use cm9 based dynamiterom. Thank you for atention and sorry for bad english.
Teraman said:
When i flashed, phone showed error and i wasn't able to flash keyboard. When i tried to push files to system i got only force closes when i tryied to use keyboard. I pushed only my country language file because i only have 11mb free space on system. Where did i go wrong? I use cm9 based dynamiterom. Thank you for atention and sorry for bad english.
Click to expand...
Click to collapse
Have you copied the other files ?
For me didn't worked to flash so i unzipped and copied all files and set permissions and after that i rebooted my phone and worked
Sent from my LG-P500 using Tapatalk 2
Christian Nothing said:
Have you copied the other files ?
For me didn't worked to flash so i unzipped and copied all files and set permissions and after that i rebooted my phone and worked
Sent from my LG-P500 using Tapatalk 2
Click to expand...
Click to collapse
how do i deal with system storage when Forgot to give permisions, yet after i set them it still gives force closes. moved only my native and en files , because where isnt enought free storange on my system .
redownload the zip from mirror link i have posted and flash in recovery over what had you copied earlier and done now is working

Help decompile recompile apk

{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
What programs do I need? Leave link. Thank you!
try VTS studio,
google it,
best android development suite
Are you trying to decompile a system app from a ROM? If yes then do this:
You need the following:
1. framework-res.apk and twframework-res.apk from the ROM which you took the apk from
2. Probably administrator privilege
You need to do the following:
1. Navigate to Desktop and look for user name folder.
Example: Desktop/Carl/
2. Navigate to user name folder and look for "framework" folder inside "apktool" folder
Example: Desktop/Carl/apktool/framework/
3. Open apktool folder and inside you will see a bunch of frameworks in .apk folder
4. Leave that folder open and take the framework-res.apk and twframework-res.apk from the ROM which you took the apk you're trying to decompile/compile
5. Rename framework-res.apk to: 1.apk and twframework-res.apk to: 2.apk
6. Copy 1.apk and 2.apk to Desktop/<username>/apktool/framework/
Example: Copy 1.apk and 2.apk to Desktop/Carl/apktool/framework/
Once you're done, close and apk tool that you're using and try decompiling/compiling again. If still the problem exist, restart your computer.
Hope this helps.
PS. Sorry for late reply, kinda busy at work.
CarlDeanCatabay said:
Are you trying to decompile a system app from a ROM? If yes then do this:
You need the following:
1. framework-res.apk and twframework-res.apk from the ROM which you took the apk from
2. Probably administrator privilege
You need to do the following:
1. Navigate to Desktop and look for user name folder.
Example: Desktop/Carl/
2. Navigate to user name folder and look for "framework" folder inside "apktool" folder
Example: Desktop/Carl/apktool/framework/
3. Open apktool folder and inside you will see a bunch of frameworks in .apk folder
4. Leave that folder open and take the framework-res.apk and twframework-res.apk from the ROM which you took the apk you're trying to decompile/compile
5. Rename framework-res.apk to: 1.apk and twframework-res.apk to: 2.apk
6. Copy 1.apk and 2.apk to Desktop/<username>/apktool/framework/
Example: Copy 1.apk and 2.apk to Desktop/Carl/apktool/framework/
Once you're done, close and apk tool that you're using and try decompiling/compiling again. If still the problem exist, restart your computer.
Hope this helps.
PS. Sorry for late reply, kinda busy at work.
Click to expand...
Click to collapse
THANKS! Carl, is sucess!
vitorhugo said:
THANKS! Carl, is sucess!
Click to expand...
Click to collapse
Place solved in title k
Sent from my Titan TV S320 using xda premium

[HELP] Unable to install app. Delete some items and try again.

{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
There can be some issues
1. you got an odex file (patched by some eason etc remoe ads)
2. theres a problem reading your storage try clear cache
3. reboot phone and try again
LastStandingDroid said:
There can be some issues
1. you got an odex file (patched by some eason etc remoe ads)
2. theres a problem reading your storage try clear cache
3. reboot phone and try again
Click to expand...
Click to collapse
I tried 2 and 3. How do I remove odex files?
kzshantonu said:
I tried 2 and 3. How do I remove odex files?
Click to expand...
Click to collapse
if you haven't "Patched the app" with any tool theres no need to remove odex files.
only time i use "patch app is to remove ads because i really think ads are worst thing that can be in a app"
but make sure you delete something on your sdcard (not necessary file) sometimes it can be to little storage dependin on the app requirements
LastStandingDroid said:
if you haven't "Patched the app" with any tool theres no need to remove odex files.
Click to expand...
Click to collapse
yes I have 2-3 patched apps
kzshantonu said:
yes I have 2-3 patched apps
Click to expand...
Click to collapse
is that specific app you wanted to install patched (from an earlier version) if so go to /data/app/ and look for the app and it will most likely have a .odex file in it,
since i hope this isn't for "piracy" i'm helping you.
LastStandingDroid said:
since i hope this isn't for "piracy" i'm helping you.
Click to expand...
Click to collapse
no it's not Thanks. Will try that now
kzshantonu said:
no it's not Thanks. Will try that now
Click to expand...
Click to collapse
and by in it i mean
/data/app/com.yourapphere.apk
/data/app/com.yourapphere.odex
Hope that helps to solve your problem
Working
BTW why does /system/app/ have odex files? And whats the difference between odex and apk files?
Sorry I'm still kind of a noob :E
kzshantonu said:
Working
BTW why does /system/app/ have odex files? And whats the difference between odex and apk files?
Sorry I'm still kind of a noob :E
Click to expand...
Click to collapse
system/app/ has odex files in it because its standard in stock firmwares released by samsung
the difference is that all necesarry data lies in .odex files (in system/app/)
but it can be Deodexed but it will be slightly slower (not much) but as it needs to read the data inside the apk instead of odex file
dont delete any odex file in system app as it will cause the app to crash

Categories

Resources