[Updated 07-29-2011][TUTORIAL] manually moving apps to /system/app - Galaxy Ace S5830 Android Development

Requirements:
- Rooted SGA
- File Explorer with Root permission (i'm using File Expert)
NOTE: I was only successful in moving apps/games without 'lib' linked to them
0. Move App from SD to Phone memory (or install to Phone Memory)
1. Open File Expert
2. Menu > More > Mount > Read/Write
3. Go to directory /data/app/<app name>.apk then copy file
4. Go to directory /system/app , then paste the <app name>.apk file
5. Look for the file (usually com.<source>.<app>.apk), long press on it to open a pop-up menu, select 'File Operation' then 'Permission', tick all check boxes in the 'Read' column then 'Apply'
6. Delete /data/app/<app name>.apk
7. Delete /data/dalvik-cache contents
8. restart phone
How to free some memory space from /system
1. go to /system/T9DB delete languages that you do not need phonepad_XX.kdb, qwerty_XX.kdb, Samsung_400_XXubUN_xt9.kdb. Where 'XX' is the language indicator (i.e. en - english) (i have deleted all extra languages aside from 'en' and free upa around 4MB)
2. Delete unwanted ringtones, notification tones. Or you can move those that you dont like in SDcard by creating folder name 'media'(and sub folders like those on system on the root of the phone.
3. Delete unwanted bloatwares in /system/app
So far these are the files that are safe to delete.
[07-29-2011] Update
1. Was able to move Ninjump to /system/app and libninjump.so to /system/lib, game works (not successful on Angry Birds though)

Which mean that the apps which can only be installed in Internal can be moved to SD?

letsurock, you can do it using titanium backup app.

YES. titanium backup more safe
avoid mistaken with titanium backup

At attachment is table of apps which can be deleted from system/app folder without brick your phone...

vertcam9 said:
Requirements:
How to free some memory space from /system
1. go to /system/T9DB delete languages that you do not need phonepad_XX.kdb, qwerty_XX.kdb, Samsung_400_XXubUN_xt9.kdb. Where 'XX' is the language indicator (i.e. en - english) (i have deleted all extra languages aside from 'en' and free upa around 4MB)
2. Delete unwanted ringtones, notification tones. Or you can move those that you dont like in SDcard by creating folder name 'media' on the root of the phone.
3. Delete unwanted bloatwares in /system/app
So far these are the files that are safe to delete.
Click to expand...
Click to collapse
Hi, I am using File Expert too and I tried to the files mentioned in your step 1) above, but the program doesn't let me do it. The files are still there. Any ideas?
Thanks!

wagyubeef said:
Hi, I am using File Expert too and I tried to the files mentioned in your step 1) above, but the program doesn't let me do it. The files are still there. Any ideas?
Thanks!
Click to expand...
Click to collapse
Mount as R/W not R/O

Thanks mate!

ingbrzy said:
At attachment is table of apps which can be deleted from system/app folder without brick your phone...
Click to expand...
Click to collapse
Great! I needed such a reference.
What do the * and ** mean? There is no legenda.
Cheers

thanx .....

vertcam9 said:
5. Look for the file (usually com.<source>.<app>.apk), long press on it to open a pop-up menu, select 'File Operation' then 'Permission', tick all check boxes in the 'Read' column then 'Apply'
Click to expand...
Click to collapse
For step 5, it is refer to which path ? /system?
Thanks

vertcam9 said:
How to free some memory space from /system
1. go to /system/T9DB delete languages that you do not need phonepad_XX.kdb, qwerty_XX.kdb, Samsung_400_XXubUN_xt9.kdb. Where 'XX' is the language indicator (i.e. en - english) (i have deleted all extra languages aside from 'en' and free upa around 4MB)
Click to expand...
Click to collapse
How to add some language files, because in 2.3.4 not languages which I have with stock 2.2.1 android version (don't have Serbian keyboard and dictionary for Samsung and Swipe keyboard)?
I get this files from 2.2.1 ROM, put him in /system/T9DB but system don't see him (no Serbian keyboard to choose, just same old languages, and after I delete non English files)...

deklica said:
How to add some language files, because in 2.3.4 not languages which I have with stock 2.2.1 android version (don't have Serbian keyboard and dictionary for Samsung and Swipe keyboard)?
I get this files from 2.2.1 ROM, put him in /system/T9DB but system don't see him (no Serbian keyboard to choose, just same old languages, and after I delete non English files)...
Click to expand...
Click to collapse
I'm not sure about this one. There is a file /system/csc/others.xml , which contain settings about input method . You can see there "<inputlist>" languages that can be selected. I think if you find a way to edit the XML file properly you can add your language so that it can be selected in one of the input method you select.

prodikey said:
For step 5, it is refer to which path ? /system?
Thanks
Click to expand...
Click to collapse
Yes, /system

vertcam9 said:
I'm not sure about this one. There is a file /system/csc/others.xml , which contain settings about input method . You can see there "<inputlist>" languages that can be selected. I think if you find a way to edit the XML file properly you can add your language so that it can be selected in one of the input method you select.
Click to expand...
Click to collapse
Working...
Copied phonepad, qwerty, and ldb file for desired language or languages to /system/T9DB, than change permissions like other files to rw-r--r--, and than edited /csc/others.xml file, and added two letters code for new added languages... restart and all working, I have my missing keyboard and T9 suggestions...

Related

[HOW-TO] Change Galaxy Tab system font without FontFlip

Being one to never stop changing the look of any of my Android devices I wondered how to change the system font on my Tab. First result was the ability right within the system settings app itself, but more clicking on "Get more fonts" ended up with only pay options. My Tab is rooted with z4 so I though why not see if I can just swap out the files. A simple install of Root Explorer and some file renaming later I had a new font installed on my Tab that even sticks through reboot. Here is how I did it (quite simple really):
Requirements:
- A Galaxy Tab of course, rooted
- Root Explorer, paid market app or other means if you are so inclined
- Your new font in TrueType format on your sdcard with the needed ttf's for regular and bold (eg YourFont-R.ttf and YourFont-B.ttf, etc)
Steps:
1 - Using root explorer, navigate to /system/font and rename DroidSans.ttf and DroidSans-Bold.ttf (I just append ORIG to them)
2 - Still in that directory click the button "Mount as r/w" just under the notify bar on your screen
3 - Navigate back to where your new font is and copy the regular and bold ttf files to /system/fonts
4 - Rename each ttf file as DroidSans.ttf for regular fonts and DroidSans-Bold.ttf for bold fonts
5 - Go to Settings > Display > Set Font and set if to Default
NOTE If Default is already your selected font, select another font and apply then reselect Default and apply and your new font should be visible.
Your new font should now be used as the on screen display font. For reference my Tab is a Bell version and I used the attached font (Ubuntu font) as my new font.
Hope this helps some people.
Cheers
Thanks! Will try this out on my Sprint Tab later.
Any luck finding a way to do it without actually replacing the font? Surely if it allows market download of fonts then you can just add new ones and update some list somewhere...
Sent from my GT-P1000 using Tapatalk
alias_neo said:
Any luck finding a way to do it without actually replacing the font? Surely if it allows market download of fonts then you can just add new ones and update some list somewhere...
Sent from my GT-P1000 using Tapatalk
Click to expand...
Click to collapse
I didn't fully replace the original font as I renamed the original files. This is the way I was able to use the built in font switching tool without spending money on font packs. Only drawback for me is that the font list will only ever be 2 fonts for me, Default and Helvetica Neue Something. I originally changed it as I really like the Ubuntu font on my Desire and wanted to sue it on the Tab.
Or just grab any font apk from this thread!
alias_neo said:
Any luck finding a way to do it without actually replacing the font? Surely if it allows market download of fonts then you can just add new ones and update some list somewhere...
Sent from my GT-P1000 using Tapatalk
Click to expand...
Click to collapse
Create a new folder on sdcard (fonts) under that folder create 2 more 1) original 2) custom fonts or (what ever fonts u r using) go back to system/fonts and copy the original and save them on sdcard/original now download the fonts to (custom folder created)
Copy the fonts go to system/fonts and paste (Before you do this write the permissions )
After you paste change the permissions and you are done
Now go to display / fonts and/ change them to default
Happy fonting lol
bluemonde said:
Create a new folder on sdcard (fonts) under that folder create 2 more 1) original 2) custom fonts or (what ever fonts u r using) go back to system/fonts and copy the original and save them on sdcard/original now download the fonts to (custom folder created)
Copy the fonts go to system/fonts and paste (Before you do this write the permissions )
After you paste change the permissions and you are done
Now go to display / fonts and/ change them to default
Happy fonting lol
Click to expand...
Click to collapse
I'm not sure I follow your explanation here. Is there a way to just add fonts to the font folder and they show up?
Uprightmusic said:
I'm not sure I follow your explanation here. Is there a way to just add fonts to the font folder and they show up?
Click to expand...
Click to collapse
Hi the option to paste the font folder seems lost when I am opening the sd card ? Which program are you using to paste it into? Also I tried the first suggestion, renaming the fonts, but it says ...system file is read only? Your help is much appreciated.
Many thanks Devarsi
Hi the option to paste the font folder seems lost when I am opening the sd card ? Which program are you using to paste it into? Also I tried the first suggestion, renaming the fonts, but it says ...system file is read only? Your help is much appreciated.
Many thanks Devarsi
[/B]
bluemonde said:
Create a new folder on sdcard (fonts) under that folder create 2 more 1) original 2) custom fonts or (what ever fonts u r using) go back to system/fonts and copy the original and save them on sdcard/original now download the fonts to (custom folder created)
Copy the fonts go to system/fonts and paste (Before you do this write the permissions )
After you paste change the permissions and you are done
Now go to display / fonts and/ change them to default
Happy fonting lol
Click to expand...
Click to collapse
DAMN I forgot to change back the permission and now my Tab is looping boot.. AARRGGHHH
heavylildude said:
DAMN I forgot to change back the permission and now my Tab is looping boot.. AARRGGHHH
Click to expand...
Click to collapse
Boot into recovery and reflash your rom/kernel.
Tray this one, it's simple
using apk font
http://forum.xda-developers.com/showpost.php?p=12927086&postcount=6

lost keyboard?

during my cleanup somehow i lost my english keyboard.
when i hold to select a keyboard i get a "Japanese keyboard" only selection.
the phone is all in english and the keyboard does have english letters but thats not what i want.
i want to restore the english and remove the japanese one.
maybe it something to do with the cleanup i did using the optimizer script?
Are you root?
try to navigate to
$ / system/usr/keyboard-config/ languages/eng.xml or eng_us.xml
check if it there such a file!!
marcoplo said:
try to navigate to
$ / system/usr/keyboard-config/ languages/eng.xml or eng_us.xml
check if it there such a file!!
Click to expand...
Click to collapse
yes i am root.
and yes those files are there. eng.xml and eng_us.xml
Thanks!
There is all keyboard settting in the attachment
try to replamence them usr file
Unzip file using 7zip
language
$/system/usr/languages
config
$/system/usr/srec
reboot phone
I pulled this file from me X10 (UK generic customization)
for push use the
x10modtool
and in case of root permition install busybox
if it will not work use seus or ppc
Thank XDA for x10 mod
Unzip
In addition
$/system/usr/xt9/
all file try to replace

Deleting Downloaded Fonts?

I downloaded a font from dafont.com, put the file in the downloads folder.....I installed the font and want to delete it out of my downloads folder. However, I can't. It says the file is open in the System.
I tried changing the name of the file, and I tried restarting the system....both no success.
Any help would be appreciated. Thanks.
Edit - Actually found out there there are more files doing this, and not just the font file.
To remove an installed font:
Start (or Win) -> "font" -> Enter
It will take a little while to load.
Scroll to or search for the font you want to remove.
Right-click it, and select Delete.
GoodDayToDie said:
To remove an installed font:
Start (or Win) -> "font" -> Enter
It will take a little while to load.
Scroll to or search for the font you want to remove.
Right-click it, and select Delete.
Click to expand...
Click to collapse
I want to remove the file from my downloads screen....the actual installed font can stay. I've downloaded / installed / deleted the file numerous
times, but this one doesn't seem to go away
Try "Deleting" the font, then copy it to your Fonts directory (under Windows) and "installing" it from there, maybe? I guess I'd assume that the install process would copy it to there instead of just using the current location, but honestly, I've never tried.

[GUIDE]Utilizing free system space to Install Apps

Introduction:
This is a long but detailed guide to move user apps to system and to make them survive OTA so they will get restored on flashing every OTA(any rom?). This is lengthy but has to be done only once.
Things needed:
Unlocked and rooted device with TWRP installed and on any custom rom like Lineage which supports addon.d (NOT MIUI)
60-apps.sh
Link2sd
Titanium backup
A PC with any good notepad editor (I use notepad++)
Directory Printer
A USB Cable
Some free space (2GB) in internal/external sd card) temporarly
Little time and presence of mind (can't give link, sorry)
See Screenshots (folder) if it gets confusing, they are numbered 1 to 40 so it will be easy to understand.
Instructions:
1. Install you favorite rom and set it up. Install all the apps you use(do set the apps, just install for now). Once done, Install link2sd and titanium backup too.
2. Open link2sd and grand root permissions.
i. Tap menu and then Storage Info to check how much space do you have in System
ii. Tap back and set sorting mode to apk+dex+lib size and filter to User apps (both buttons are next to menu, you can't miss them)
iii. Now tap and hold on any application name you want to move to system, ideal apps would be like Greenify, Instadic, Truecaller etc. (apps you want to let run in background), apps you always keep in your phone or apps which are big in size. I used Kernel Adiutor-Mod here to demonstrate.
Move all the required apps and keep checking system space, leave 100-200mb free.
3. Once done, Reboot to TWRP
i. Tap Mount and put a tick before System
ii. Go back and Tap Advance--->File manager
iii. Scroll to find system, open it and find priv-app, open it too (you are here- /system/priv-app)
iv. Tap menu button and copy folder, scroll to find sdcard/sdcard1, again tap menu botton and swipe to copy. (i used Alarms folder in /sdcard)
4. Once done, Connect the phone to PC.
i. Make a folder (name it sysapps) and copy this priv-app folder in sysapps folder. (delete from sdcard)
ii. Download 60-apps.sh from here and place it in sysapps folder too.
iii. Open priv-app folder and delete everything except the apps you moved. Tip-Default system apps should have proper names like Settings. SystemUI, Velvet(gapps too) etc.
iv. Run Directory Printer and click save to disk. Set everything as shown here and navigate to \sysapps\priv-app folder.
v. Click Save to disk and again navigate to sysapps folder, name the file as my.txt and save it.
5. Run Notepad++ and open my.txt in it.
i. Press ctrl+h to open replace, write everything written before priv-app in find what column and delete everything written in replace with column. Click repalce all. (we are removing everything written before priv-app in every line)
ii. Again write \ in find what column and / in replace with column. Click replace all.
6. Open 60-apps.sh in notepad++
i. Look for addon.d/60-apps.sh under list_files() {
ii. Select and copy everything from my.txt and paste it between addon.d/60-apps.sh and EOF (there is a blank line there, check and delete if any blank line remains after pasting)
iii. Once done, save it and exit notepad++.
7. Now copy/move this 60-apps.sh to sdcard and disconnect the phone
i. As done above to copy priv-app from system to sdcard, copy 60-apps.sh from sdcard to /system/addon.d
ii. Navigate to /system/addon.d and tap 60-apps.sh. Tap chmod 755. Swipe to confirm.
iii. Reboot your phone.
8. Use your phone as you do and flash any ota without wiping system. If changing rom, try deleting everything except priv-app and addon.d folder in system, instead of wiping system partition completely.
Moving updated apps to system:
Occasionally apps will get updated and they will start to acquire space in data. To move them back to system do this.
1. Open titanium backup, tap Backup/Restore, tap click to edit filters and under Filter by type tap User and Uninst. to leave just System enabled. Tap green Check above right to set.
2. Tap Order by app name (click to change) and tap last update time.
3. Backup all updated apps temporarily and close titanium backup.
4. Open link2sd and set filter to Updated
5. Tap and hold on app's name and tap Integrate update into system
6. Once done, reboot.
7. Open titanium backup again and restore data only for the apps you backed up.
reserved
Wow. Thanks bro
reserved
Isnt repartition of data system would serve better for this.
Camlin3 said:
Isnt repartition of data system would serve better for this.
Click to expand...
Click to collapse
Yes definitely. But I am not familiar with qcom much. Had done that on mtk before.
Sent from my Redmi Note 3 using Tapatalk
Sudeep Duhoon said:
Yes definitely. But I am not familiar with qcom much. Had done that on mtk before.
Click to expand...
Click to collapse
Yes, its a little easy for mtk. Me Too played with mtk phones
Sudeep Duhoon said:
Yes definitely. But I am not familiar with qcom much. Had done that on mtk before.
Sent from my Redmi Note 3 using Tapatalk
Click to expand...
Click to collapse
You think it can be done however? In TWRP there's an option for repartition. But obviously I guess it isn't that simple :silly:
Does it require developer-level skills?
Thanks for the guide, BTW!!:good::good:
iG0tB0lts said:
You think it can be done however? In TWRP there's an option for repartition. But obviously I guess it isn't that simple :silly:
Does it require developer-level skills?
Thanks for the guide, BTW!!:good::good:
Click to expand...
Click to collapse
Yes. can be done. but not through twrp. How? i don't know for sure yet.
Ty very much for this guide

[System App Request Please] SecGallery (Gallery app) For SM-G531H

Hello, this is my first post here ... (but that is not what matters now lol).
Well a few days ago, I was looking at some options in the "Link2SD" app and I was curious to test one of them, which was "transform the system app into a user app", and to do the test, I decided to choose the app system gallery app. And now it doesn't work anymore, every time I try to enter, it says "Gallery has stopped". And because of this I can't set up my background wallpapers to the *home and lock screen* How can I solve this? thanks for the attention
Please guys... I need some help with this
Here some information about my device:
-Stock ROM
-SpeedModev2.2 installed
-RZ Kernel-v3.5
-Baseband: G531HUBU0AQI1
Dann_44456 said:
Hello, this is my first post here ... (but that is not what matters now lol).
Well a few days ago, I was looking at some options in the "Link2SD" app and I was curious to test one of them, which was "transform the system app into a user app", and to do the test, I decided to choose the app system gallery app. And now it doesn't work anymore, every time I try to enter, it says "Gallery has stopped". And because of this I can't set up my background wallpapers to the *home and lock screen* How can I solve this? thanks for the attention
Click to expand...
Click to collapse
Hello! First of all excuse my English, I am using Google Translate.
So I hope you can at least understand me...
When you convert a system application to a user application the apk is saved in a root folder:
"/data/app/" so from there you can search the gallery folder and apk file, example: "/data/app/com.example.secgallery". copy that folder and paste it in "/system/app" or "system/priv-app" and restart the cell phone. Or you can create a folder too and paste the apk inside that folder in the system files. Cheers!
AguusOwo said:
Hello! First of all excuse my English, I am using Google Translate.
So I hope you can at least understand me...
When you convert a system application to a user application the apk is saved in a root folder:
"/data/app/" so from there you can search the gallery folder and apk file, example: "/data/app/com.example.secgallery". copy that folder and paste it in "/system/app" or "system/priv-app" and restart the cell phone. Or you can create a folder too and paste the apk inside that folder in the system files. Cheers!
Click to expand...
Click to collapse
Thanks dude :good:, I'll do the test. And don't you worry about the translation, I understood perfectly:laugh:
AguusOwo said:
Hello! First of all excuse my English, I am using Google Translate.
So I hope you can at least understand me...
When you convert a system application to a user application the apk is saved in a root folder:
"/data/app/" so from there you can search the gallery folder and apk file, example: "/data/app/com.example.secgallery". copy that folder and paste it in "/system/app" or "system/priv-app" and restart the cell phone. Or you can create a folder too and paste the apk inside that folder in the system files. Cheers!
Click to expand...
Click to collapse
In: system / priv-app, this folder already exists and contains the apk inside, there is also a folder called "lib", and in it, there are no files.
I also checked the directory: data/app/
and there is no com.sec.android.gallery3d folder
Should i move the folder:
com.sec.android.gallery3d...Which is at: system/priv-app to: system/app ?
Because in: "system/app" this folder doesn't exist

Categories

Resources