[Q] Clean the stock ROM - Galaxy Grand 2 Q&A, Help & Troubleshooting

In stock ROM, are used 1.53 Gb of 1.73 Gb, is too much, have to release as useless things ...
I disabled several applications on my stock ROM and moved them .apk and .odex to a backup folder, in order to free space on the partition.
My doubts:
-Thus files are left as package dependencies or something?
-It would be best to uninstall the application and in this case these dependencies would be eliminated?
Thks ...

Related

How to create Softmod ROMS?

Anybody knows how to create Softmod ROMS? I tried Dsixda's kitchen but ended up in Boot loops. Any ideas??
Sent from my GT540 using XDA App
tejasdj12 said:
Anybody knows how to create Softmod ROMS? I tried Dsixda's kitchen but ended up in Boot loops. Any ideas??
Sent from my GT540 using XDA App
Click to expand...
Click to collapse
Softmod roms are usually existing roms but with new features installed (Built in apps, themes) You basically install the themes and apps (apps need to go into /system/app) and other enhancements then back up your ROM in clockwork, then post the system.img, boot.img and nandroid.md5 files so people can install your ROM. (Thats one way of doing it )
Hope it helps,
Jack
JackG256 said:
Softmod roms are usually existing roms but with new features installed (Built in apps, themes) You basically install the themes and apps (apps need to go into /system/app) and other enhancements then back up your ROM in clockwork, then post the system.img, boot.img and nandroid.md5 files so people can install your ROM. (Thats one way of doing it )
Hope it helps,
Jack
Click to expand...
Click to collapse
Yup, I know this method. But is there any way to get DSIXDA's kitchen working properly?
i dont think that kitchen will work because its not for are phone?? hot shore.
to build a custom rom:
1) install the apps you want on the system normally
2)using root explorer move the apk files from /data/app to /system/app
3) reboot the phone
TIPS:
not all apps work in the system partition
use cyanogen backupper to take your added system apps from one rom to another(or and update)
download titanium backup from applanet to merge apps updates with the system
well why not use a Virtual Box?
Thanks for your replies,
But one more question. How do I De-odex my 2.1 stock ROM if DSIXDA's kitchen doesn't work?

Removing stock apps after root

So I rooted the thing in order to remove some stock apps that just take app space and do nothing...I used 'Root Uninstaller".
Removed Wisepilot,Postcard,Playnow,etc. ,result:25 Mb free before,25 Mb free after?!
->apps removed,free space completely unchanged.Why???
So I installed root explorer and began searching for the apps remains myself.Couldn't imagine it,android system is complete MESS.Anyway,there are 25 mb free in the /data folder,so I assume that's the folder...cant find the apps I deleted,only their empty folders.There's another folder- /system,that has 38 Mb free,but that's no use to me...
Help please,I'm lost in there.Where are the files I should clean up ?
G.Trenchev said:
So I rooted the thing in order to remove some stock apps that just take app space and do nothing...I used 'Root Uninstaller".
Removed Wisepilot,Postcard,Playnow,etc. ,result:25 Mb free before,25 Mb free after?!
->apps removed,free space completely unchanged.Why???
So I installed root explorer and began searching for the apps remains myself.Couldn't imagine it,android system is complete MESS.Anyway,there are 25 mb free in the /data folder,so I assume that's the folder...cant find the apps I deleted,only their empty folders.There's another folder- /system,that has 38 Mb free,but that's no use to me...
Help please,I'm lost in there.Where are the files I should clean up ?
Click to expand...
Click to collapse
system apps installed on system memory!
G.Trenchev said:
So I rooted the thing in order to remove some stock apps that just take app space and do nothing...I used 'Root Uninstaller".
Removed Wisepilot,Postcard,Playnow,etc. ,result:25 Mb free before,25 Mb free after?!
->apps removed,free space completely unchanged.Why???
So I installed root explorer and began searching for the apps remains myself.Couldn't imagine it,android system is complete MESS.Anyway,there are 25 mb free in the /data folder,so I assume that's the folder...cant find the apps I deleted,only their empty folders.There's another folder- /system,that has 38 Mb free,but that's no use to me...
Help please,I'm lost in there.Where are the files I should clean up ?
Click to expand...
Click to collapse
Try searching with root explorer this apps in data/app and system/app (.apk files) and delete them.
Ah,now I see...the stock apps folder is separate from user apps folder.I have some questions then:
1.Can I install apps there?38 Mb free
2.Can I merge them somehow?
3.Which apps are ok to remove(no damage) by the way?
4.What's the goal of the phone being rooted then?I wanted to free some space,but since I can't It's useless by now.Anything else to do?
1. Yes you can.
2. What do you mean merge? it should be in system/app
3. Just dont remove system files. Just remove the app you wanted to remove eg Removed Wisepilot,Postcard,Playnow.
4. Rooting the phone can give you overall access to your phone filesystem and even put custom ROM in it?
Dont tell me you rooted your phone without knowing its pros and cons?
G.Trenchev said:
4.What's the goal of the phone being rooted then?
Click to expand...
Click to collapse
You have full control of your phone (mainly acces to system files, edt, copy, del).
U can install any soft which needs root acces and upgrade functionality of your device.
Recommend!
Cool,how do i do that?(install apps is stock apps folder instead of user apps folder)
First take a look here
http://forum.xda-developers.com/showthread.php?t=921637

[Q] odexed JPU + extended menu + CWM + 5/9 lockscren

I tried RE-ODEX on Kyrillos 9.6, it does now work.Then I tried it with G3MOD OC kernel 2.5
Then reodexing started, probably done, BUT I get boot loop.Same problem I get When I am trying put CWM or 5 lockscreen to odexed stock JPU.
Any idea what exactly to do UNDER WINDOWS ONLY to have odexed JPU with 5/9 lockscreen mod + CWM with extended power menu ?
I have no problem do that upto JPS, but because of offline only GPS , I need JPU.
I do NOT wanna have deodexed /unstable/restarts during call/ slow/ data full etc ... Except CM7 I was faced one or all of those problems on ALL odexed ROMs
thanks for your tips
Radek
- Flash stock deodex JPU
- Flash any custom kernel (if G3mod or other that includes CWM, then skip the third step)
- Install Mumbozver's CWM through ADB (requires a kernel that has ADB root) (Fugumod kernel is highly recommended)
- Install 9 lockmod + EPM through update.zip (download one of my theme, it also includes all the .jars for icon bug fix)
- Save 30+ mb for the /system (remove all the samsung garbage)
- Reodex! It doesn't matter if you're using windows or not! Just download "reodex_win" (I'm using windows myself). Also skip the second step of that guide!
- Done!
If you're still getting error while re-odexing, then I think you can ask "TearsDontFall" for more detail.
Jason-EX said:
- Flash stock deodex JPU
- Flash any custom kernel (if G3mod or other that includes CWM, then skip the third step)
- Install Mumbozver's CWM through ADB (requires a kernel that has ADB root) (Fugumod kernel is highly recommended)
- Install 9 lockmod + EPM through update.zip (download one of my theme, it also includes all the .jars for icon bug fix)
- Save 30+ mb for the /system (remove all the samsung garbage)
- Reodex! It doesn't matter if you're using windows or not! Just download "reodex_win" (I'm using windows myself). Also skip the second step of that guide!
- Done!
If you're still getting error while re-odexing, then I think you can ask "TearsDontFall" for more detail.
Click to expand...
Click to collapse
I did it exactly on Kyrillos 9.6 and crashed on boot loop after phone restart.I had 30+ MB on system free.There were none error messages while reodexing.I got same result like I was applying mods directly to odexed JPU
I think I have to wait to be usable CM7, because no developers are using stock odexed JPU :cyclops:
radek.god said:
I did it exactly on Kyrillos 9.6 and crashed on boot loop after phone restart.I had 30+ MB on system free.There were none error messages while reodexing.I got same result like I was applying mods directly to odexed JPU
I think I have to wait to be usable CM7, because no developers are using stock odexed JPU :cyclops:
Click to expand...
Click to collapse
Wait, which one do you want? Kyrillos' rom 9.6 or stock XXJPU? 0.o and why don't u try it on JPS first? If you still have errors while reodexing, then it means that you did something wrong! oh and also, did you add the "META-INF" folder to the framework's .jars??
Jason-EX said:
Wait, which one do you want? Kyrillos' rom 9.6 or stock XXJPU? 0.o and why don't u try it on JPS first? If you still have errors while reodexing, then it means that you did something wrong! oh and also, did you add the "META-INF" folder to the framework's .jars??
Click to expand...
Click to collapse
I want stock odexed JPU primary because it is fast + stable.No necessary tweaks.
Kyrillos ROM is tweaked so much what makes this ROM useless and unstable because of so many contraproductive unwanted tweaks.I hate his A2SD crap script so I need LINK2SD what 100% works for me on every stock ROM or CM7 .I simply do not wanna use hybrid data2sd, because I dont beleieve it and I am affraid of repartition 32 GB sdcard.It will take many hours of backup ... Now I remeber I was not able run LINK2SD on kyrillos 9.6 ROM.But as I wanna have primary CWM+9 lockscreen mod+Extended power menu, I was thinking about reodex Kyrillos 9.6 as this ROM already included all I need and delete or revert his tweaks.So I just wanna have it easier.Main problem of kyrillos ROM 9.6 is low space for data because of deodex.I remember I installed angry birds and cant install anything else :laugh:
I do not wanna try it on JPS, I already did this succesfully on stock odexed JPF-JPS without any deodexing and reodexing.I do not wanna JPS because GPS still sucks at this ROM and I am already able install CWM+5lockscreen mod + Extended power menu, even ROM JPS is odexed.I have all files I need ( I have odexed 5 lockscreen mod version too), but for unknown reason it works upto JPS only.When applied to JPU, I get always boot loop or phone hangs at boot.Even same steps were applied, enough space on system or correct permission to app/framework folders.
Now I am not sure If I added "META-INF" folder to framework or not.If it was included at files provided by you, then I added.If it was included at original folder with frameworks dedicated upto JPS, then I added this directory ...
If folder with frameworks dedicated upto JPS does not had "META-INF"folder
then I did not applied it on JPU, but I dont think this is the case, because if it is needed for JPU, then it was included for JPS too
radek.god said:
I want stock odexed JPU primary because it is fast + stable.No necessary tweaks.
Kyrillos ROM is tweaked so much what makes this ROM useless and unstable because of so many contraproductive unwanted tweaks.I hate his A2SD crap script so I need LINK2SD what 100% works for me on every stock ROM or CM7 .I simply do not wanna use hybrid data2sd, because I dont beleieve it and I am affraid of repartition 32 GB sdcard.It will take many hours of backup ... Now I remeber I was not able run LINK2SD on kyrillos 9.6 ROM.But as I wanna have primary CWM+9 lockscreen mod+Extended power menu, I was thinking about reodex Kyrillos 9.6 as this ROM already included all I need and delete or revert his tweaks.So I just wanna have it easier.Main problem of kyrillos ROM 9.6 is low space for data because of deodex.I remember I installed angry birds and cant install anything else :laugh:
I do not wanna try it on JPS, I already did this succesfully on stock odexed JPF-JPS without any deodexing and reodexing.I do not wanna JPS because GPS still sucks at this ROM and I am already able install CWM+5lockscreen mod + Extended power menu, even ROM JPS is odexed.I have all files I need ( I have odexed 5 lockscreen mod version too), but for unknown reason it works upto JPS only.When applied to JPU, I get always boot loop or phone hangs at boot.Even same steps were applied, enough space on system or correct permission to app/framework folders.
Now I am not sure If I added "META-INF" folder to framework or not.If it was included at files provided by you, then I added.If it was included at original folder with frameworks dedicated upto JPS, then I added this directory ...
If folder with frameworks dedicated upto JPS does not had "META-INF"folder
then I did not applied it on JPU, but I dont think this is the case, because if it is needed for JPU, then it was included for JPS too
Click to expand...
Click to collapse
Then that's the problem. You can't reodex when the frameworks have no "META-INF" folder in it. And yea, I didn't include the "META-INF" folder in my theme, and even IF I did, you should always double-check
Retry everything all over again. This time, just reodex a STOCK DEODEXED JPU without any mods, and see whether it'll work or not! "TearsDontFall" already reodex Kyrillos' ROM (JPU) successfully (check his signature), so it's definitely not the problem with stock JPU. You might have just did something wrong!
@Mod: Please move this thread to Q/A section
Jason-EX said:
Then that's the problem. You can't reodex when the frameworks have no "META-INF" folder in it. And yea, I didn't include the "META-INF" folder in my theme, and even IF I did, you should always double-check
Retry everything all over again. This time, just reodex a STOCK DEODEXED JPU without any mods, and see whether it'll work or not! "TearsDontFall" already reodex Kyrillos' ROM (JPU) successfully (check his signature), so it's definitely not the problem with stock JPU. You might have just did something wrong!
@Mod: Please move this thread to Q/A section
Click to expand...
Click to collapse
Ok, now I am at home so I checked what I used :
Your files :
Settings.apk had cert.rsa + cert.sf + manifest.mf at META-INF folder
Android.policy.jar - only manifest.mf at META-INF folder
Framework.jar - only manifest.mf at META-INF folder
Framework-res.apk - had cert.rsa + cert.sf + manifest.mf at META-INF folder
but Settings.apk and Framework-res.jar has different content file and size at META-INF folder
"my" 5 lockscreen mod had META-INF at framework-res.APK folder included too, with same size like yours had
So problem is somewhere else , but where ?
I will backup my phone and try re-odex deodexed jpu like You reccomended
I will again free 30 MBs at system folder + root + change permission at data/system to write and try it again from g3mod 2.5 CWM
I am sure it was the only way how to make re-odex command file ran.
Jason-EX said:
- Flash stock deodex JPU
- Flash any custom kernel (if G3mod or other that includes CWM, then skip the third step)
- Install Mumbozver's CWM through ADB (requires a kernel that has ADB root) (Fugumod kernel is highly recommended)
- Install 9 lockmod + EPM through update.zip (download one of my theme, it also includes all the .jars for icon bug fix)
- Save 30+ mb for the /system (remove all the samsung garbage)
- Reodex! It doesn't matter if you're using windows or not! Just download "reodex_win" (I'm using windows myself). Also skip the second step of that guide!
- Done!
If you're still getting error while re-odexing, then I think you can ask "TearsDontFall" for more detail.
Click to expand...
Click to collapse
OK, on G3MOD 2.5 your update does not work anymore - it wrotes :
Amend scripting was deprecated by Google in Android 1.5.It was necessary to remove it when upgrading to CWM 3.0 gingerbread based recovery.Please switch to Edify scripting (updater-script and update-binary) to create working update zip packages.Installation aborted
so I will try skip 9 lock screen mod what was the main mod I need
radek.god said:
OK, on G3MOD 2.5 your update does not work anymore - it wrotes :
Amend scripting was deprecated by Google in Android 1.5.It was necessary to remove it when upgrading to CWM 3.0 gingerbread based recovery.Please switch to Edify scripting (updater-script and update-binary) to create working update zip packages.Installation aborted
so I will try skip 9 lock screen mod what was the main mod I need
Click to expand...
Click to collapse
replace updater script & update binary file with the same files from some newer update.zip...e.g. kyrillos rom v10.4 hotfix
EDIT: LOL... or better...find aaruns 9 lm ics theme for cwm3+...i made it for newer recovery...to be installable on g3mod 2.5...
You should try it on G3mod Rebirth or Astrum kernel. And yea, you can use ICS theme by Aarun, BUT you'll need to add those .jar frameworks, because in ICS theme update.zip, it doesn't include those framework files. After that, everything will be just fine :good:
rkoby13 said:
replace updater script & update binary file with the same files from some newer update.zip...e.g. kyrillos rom v10.4 hotfix
EDIT: LOL... or better...find aaruns 9 lm ics theme for cwm3+...i made it for newer recovery...to be installable on g3mod 2.5...
Click to expand...
Click to collapse
Now I followed manual http://forum.xda-developers.com/showthread.php?t=1402233 like JASON-X recommended to me
0) at manual there could be info specially for windows user to be run as first or add to cmd line as first :
adb shell "mount -o remount,rw /dev/block/stl9 /system"
1) Yes, main problem was missing Meta-Inf at Kyrillos 9.6 JPU :
a) android.policy.jar b) framework.jar c) services.jar
2) I dont know if it was needed or not, but after I deleted few apps to be min 30 MB free on system partition, I rather changed thru RootExplorer attributes system/app+framework+lib to be :
Owner+Group+Others marked READ+WRITE+EXECUTE
3) most important are at 1) I had to use WINRAR to put Meta-Inf and select no compression.When I used FAR MANAGER instead of it, it re-odexed, booted,but after pin code entered phone did not show laucher and hanged.I did this thru CWM from G3mod kernel 2.5
So I try rather G3MOD kernel what comes with Kyrillos 9.6 non OC and DID NOT RAN REODEX from CWM, but I did it when my phone was booted normally and connected via android USB as normally.So no CWM ...
4) I ran "env".cmd , then I ran "odex".cmd as admin.
all works, system free space changed from cca 30 to 7 MB.Now I have ODEXED Kyrillos 9.6 JPU and it all looks like it is working.I deleted crappy scripts from etc/init.d and I am finally testing LINK2SD
I have 126 MB free at data ...
I hope it all will works after I will flash G3MOD KERNEL 2.5 OC ...
radek.god said:
Now I followed manual http://forum.xda-developers.com/showthread.php?t=1402233 like JASON-X recommended to me
0) at manual there could be info specially for windows user to be run as first or add to cmd line as first :
adb shell "mount -o remount,rw /dev/block/stl9 /system"
1) Yes, main problem was missing Meta-Inf at Kyrillos 9.6 JPU :
a) android.policy.jar b) framework.jar c) services.jar
2) I dont know if it was needed or not, but after I deleted few apps to be min 30 MB free on system partition, I rather changed thru RootExplorer attributes system/app+framework+lib to be :
Owner+Group+Others marked READ+WRITE+EXECUTE
3) most important are at 1) I had to use WINRAR to put Meta-Inf and select no compression.When I used FAR MANAGER instead of it, it re-odexed, booted,but after pin code entered phone did not show laucher and hanged.I did this thru CWM from G3mod kernel 2.5
So I try rather G3MOD kernel what comes with Kyrillos 9.6 non OC and DID NOT RAN REODEX from CWM, but I did it when my phone was booted normally and connected via android USB as normally.So no CWM ...
4) I ran "env".cmd , then I ran "odex".cmd as admin.
all works, system free space changed from cca 30 to 7 MB.Now I have ODEXED Kyrillos 9.6 JPU and it all looks like it is working.I deleted crappy scripts from etc/init.d and I am finally testing LINK2SD
I have 126 MB free at data ...
I hope it all will works after I will flash G3MOD KERNEL 2.5 OC ...
Click to expand...
Click to collapse
126 mb free at data? you got to be kidding me.....I got 183 mb after reodex re-check if it's really reodexed or not and also, META-INF folder is also one of the requirements for reodex.
Jason-EX said:
126 mb free at data? you got to be kidding me.....I got 183 mb after reodex re-check if it's really reodexed or not and also, META-INF folder is also one of the requirements for reodex.
Click to expand...
Click to collapse
I dont know if it is odexed or deodexed.How can I test it ?
I checked system/app folder and ALL app got odex file now , what is bad, because at samsung stock odexed jpu, only some of them had odex file too.
Another problem is Kyrillos had some weird Swype version and he deleted email.apk+email.odex too, where there are no czech language available for swype, even all 3 "CS" files are located at system/T9B
So I tried overwrite Kyrillos swype by newer from Samsung and even I overwrite odex file too, there are no more Swype keyboard anymore.Even after full reset.
Same "problem" like at any other app what has odex.
I used Rootexplorer because I dont any other step for CWM 5.x
Is there any step how to update odexed apps to be usable (keyboard for example) and available at apps (like FM RADIO or E-mail app) ?
radek.god said:
I dont know if it is odexed or deodexed.How can I test it ?
I checked system/app folder and ALL app got odex file now , what is bad, because at samsung stock odexed jpu, only some of them had odex file too.
Another problem is Kyrillos had some weird Swype version and he deleted email.apk+email.odex too, where there are no czech language available for swype, even all 3 "CS" files are located at system/T9B
So I tried overwrite Kyrillos swype by newer from Samsung and even I overwrite odex file too, there are no more Swype keyboard anymore.Even after full reset.
Same "problem" like at any other app what has odex.
I used Rootexplorer because I dont any other step for CWM 5.x
Is there any step how to update odexed apps to be usable (keyboard for example) and available at apps (like FM RADIO or E-mail app) ?
Click to expand...
Click to collapse
for swype: did you extract libSwypeCore.so from Swype.apk/lib/*....and put it in system/lib/*...permissions are: rw-r-r....and full Swype.apk goes to system/app...same permisions...?
radek.god said:
I dont know if it is odexed or deodexed.How can I test it ?
I checked system/app folder and ALL app got odex file now , what is bad, because at samsung stock odexed jpu, only some of them had odex file too.
Another problem is Kyrillos had some weird Swype version and he deleted email.apk+email.odex too, where there are no czech language available for swype, even all 3 "CS" files are located at system/T9B
So I tried overwrite Kyrillos swype by newer from Samsung and even I overwrite odex file too, there are no more Swype keyboard anymore.Even after full reset.
Same "problem" like at any other app what has odex.
I used Rootexplorer because I dont any other step for CWM 5.x
Is there any step how to update odexed apps to be usable (keyboard for example) and available at apps (like FM RADIO or E-mail app) ?
Click to expand...
Click to collapse
how about the framework folder? And is there any errors while reodexing? And also, always remember to finish adding/modding/replacing/updating all apps/frameworks before reodexing, and also remember to make a backup of the rom in the "deodexed" mode otherwise you'll have to redo all those steps again.
For Swype, just follow what rkoby said
rkoby13 said:
for swype: did you extract libSwypeCore.so from Swype.apk/lib/*....and put it in system/lib/*...permissions are: rw-r-r....and full Swype.apk goes to system/app...same permisions...?
Click to expand...
Click to collapse
Thanks.
Of course I did not
I copied swype.apk and swype.odex only
Now I am trying to mod deodexed JPU with 9 lockscreenmod ,
but I stucked on update.zip , because of CWM5.x
I tried use Kyrillos 10.5 Update.zip, but I was not sure what can be deleted from zip and what files have to stay to be JPU updatable with G3MOD kernel 2.5 :-o
many thanks anyway for swype, maybe i will try at deodexed Kyrillos 9.0 JPU
Update :
oh not, there were some ****in "formating system" at 10.5 update.zip, so I had to reflash again
does anyone have some update.zip for JPU to be flashable thru CWM 5.0.28
I used g3mod kernel 1.7, but I get boot loop after applied 9lock screnn mod.
I see background from android desktop, but immediatelly reboot and over and over again ...
radek.god said:
Thanks.
Of course I did not
I copied swype.apk and swype.odex only
Now I am trying to mod deodexed JPU with 9 lockscreenmod ,
but I stucked on update.zip , because of CWM5.x
I will try use Kyrillos 10.5 Update.zip, but I am not sure what can be deleted from zip and what files have to stay to be JPU updatable with G3MOD kernel 2.5 :-o
many thanks anyway for swype, maybe i will try at deodexed Kyrillos 9.0 JPU
Click to expand...
Click to collapse
well....i have an idea u might not know:.....for update.zips u can use brilliant tool called RomCooker....with this tool even a total noob is able to create an update.zip for himself(including me)....try searching it with google and add xda along in search terms....it's actually a work of xda member....but i don't have direct link to thread now...i'm pretty much busy with cleaning action at my home....
rkoby13 said:
well....i have an idea u might not know:.....for update.zips u can use brilliant tool called RomCooker....with this tool even a total noob is able to create an update.zip for himself(including me)....try searching it with google and add xda along in search terms....it's actually a work of xda member....but i don't have direct link to thread now...i'm pretty much busy with cleaning action at my home....
Click to expand...
Click to collapse
OK,
thanks to Jason-x for a lot of help and provide with links to 9 locscreen mod. :good:
But Your help with ROM COOOKER ???
This was definitelly best help/tip I ever get on XDA !!!
many many thanks !
Finally, I have JPU (deodexed for now :cyclops with 9 lockscreen mod !!!
You rocks !
radek.god said:
OK,
thanks to Jason-x for a lot of help and provide with links to 9 locscreen mod. :good:
But Your help with ROM COOOKER ???
This was definitelly best help/tip I ever get on XDA !!!
many many thanks !
Finally, I have JPU (deodexed for now :cyclops with 9 lockscreen mod !!!
You rocks !
Click to expand...
Click to collapse
well.......i'm glad i've helped you.....that's what should all RCs..do
Solved!

[Q] Is deleting files from /System/App safe?

Navigating through my root tree, I´ve stumbled at so many bloatware files I just want to delete to save some storage space (16GB version here) but I´m a little afraid of. They are on the /System/App folder and for every .apk there´s a .odex file, so I would like to delete them both. Is it safe? Is there any verification process at boot of these files? Some of them look like really system apps that I´ll never touch, but others are for other phone carries in my country, social networks I´ve never heard before etc.
There´s another folder called /System/Apps/Bootup that I would love to delete files from, there´s a lot of LG crapware in there that I think are loaded at boot but I have the same fear of bootloops...
Any solution to my urge to free some memory?
Hi,
Delete some apps in /system/app not gonna free up your "sd card" storage... You always will have the same free amunt of memory available on your 16 Gb...
It's normal to have an .odex file under eachs system apps, your rom is odexed (search on Google if you don't know what is it).
You can delete some system apps but be careful at what apps you delete, make a backup first.
Some system apps are alright to delete along with the .odex ones too. There's a list in the general section I believe that lists off apps that can be deleted with no issue.
Problem is though unless you plan to store stuff in your system partition, deleting apps doesn't really increase your usable storage.
Sent from my LG G2
Re,
Yes there is a (brief) list here: http://forum.xda-developers.com/showthread.php?t=2456974&highlight=list or http://forum.xda-developers.com/showthread.php?t=2521066.
Like SupaSwag said when you delete an app, delete the .odex file too. If you don't know what you are doing I recommend you to leave the system apps as there are to avoid any kind of issues. At best you'll gain a little free RAM and maybe a little battery life without some apps runing/connecting to the network in background but in any case you will not gain more usable storage. At worst some function will not work at all, Force Closes, bootloop, etc...
In any case backup first (backup in recovery if something goes wrong and you encounter a bootloop) or at least a backup with an app like Titanium Backup (and make an uptade.zip in Titanium).
And what do you think of the apps in the bootup folder?
And then, how van I free some space for my mp3s? Coming from a S3 with a 64gb microSD card.
sylviofurtado said:
And what do you think of the apps in the bootup folder?
Click to expand...
Click to collapse
Re,
It's some LG apps, the name of the apps say all: TaskManager, FileManager, etc... Nothing very important it's LG stuff but it depends of you... I deleted all the apps in the /system/apps/bootup because I don't need them with my use, but you?
I think the best is to freeze those apps with Titanium Backup, use your phone as "normal" for a few days and if you don't have any issues or if you realize that you don't need them, then delete them...
Another solution is to rename the apps you don't want with the .bak extension, in case you need an app you can rename it by removing the .bak extension, reboot and the app is here

question - how to trim a stock rom of bloat?

I thought i'd try a plain stock rom for a while, pruned of bloatware. So I downloaded the deodexed rom to my PC from here
http://forum.xda-developers.com/showthread.php?t=2529492
Now this rom is a hefty 390mb so I then opened it up with 7zip and deleted a load of crap from the system\app folder.
After saving and closing, the rom is now 303mb, which seems great.
Yet the current paranoid android rom for manta weighs in at only 155mb!
Why is that?
It seems that even though a lot of 'crap' has been deleted from system\app, there is still a huge amount of possibly linked 'crap' in the system\lib folder, which is 85mb (compressed). Within this folder are .so files which suspiciously similar names to the apps that I deleted from the system\lib folder. However even if I deleted the entire system\lib folder (which i'm sure would be a pretty bad idea), the resulting rom would still be 230mb compressed.
So my question is how can I trim all the bloat from the stock rom down to a compressed size that is similar to the current PA rom?
p.s. I'm planning to maybe flash the micro PA gapps separately.
Is there a chance that your size comparison has not accounted from flashing a Gapps package after flashing the custom ROM?
As an aside I also de-bloat stock but used System App Remover (Pro) from the playstore. Even though I could remove files myself using any root file manager, this app adds comments on what is safe to remove plus saves the removed files so you can restore them if you find later they are needed. I had such a case where I removed GMail as I prefer KMail. Later I wanted to use the "OK Google" voice feature which did not work until I restored GMail. I think the free version is all you need but I bought the pro version to support the developer.
from my Nexus 10 using XDA Premium HD app
No I don't think that's it. My 'trimmed' rom had all the gapps stripped out as far as I could tell by comparing with the system\app folder of the micro gapps zip, yet was still over 300mb.
Anyway if failed to flash in the end at the 'updating partition details' stage, so i'm back on PA for now. Might give that app you mentioned a try though, thanks for the tip.

Categories

Resources