[Q] Remove apps from rom itself - Sony Xperia P, U, Sola, Go

I have an xperia p rooted bootloader unlocked . And now on stock rom . Every time i reset my phone some sony apps kinda come up which i dont want to . I have uninstalled them using titanuim backup life gone forever thing but still when i reset my phone they come up
ANYWAY TO NOT LET THEM SHOW UP WHEN MY PHONE IS RESET >?
AND HOW CAN I INTEGRATE AN APP TO ROM ( IF I RESET MY PHONE THAT INTEGRATED APP MUST BE INSTALLED AUTOMATICALLY

Kaushik124 said:
I have an xperia p rooted bootloader unlocked . And now on stock rom . Every time i reset my phone some sony apps kinda come up which i dont want to . I have uninstalled them using titanuim backup life gone forever thing but still when i reset my phone they come up
ANYWAY TO NOT LET THEM SHOW UP WHEN MY PHONE IS RESET >?
AND HOW CAN I INTEGRATE AN APP TO ROM ( IF I RESET MY PHONE THAT INTEGRATED APP MUST BE INSTALLED AUTOMATICALLY
Click to expand...
Click to collapse
Look at /system/etc/customisation and /system/etc/product.for bloatware.
You can simply delete the apps you don't want from /system/app but be carful not to delete one that is needed by system.
Any app you want to survive reset copy to /system/app with permissions 644

ChikeD said:
Look at /system/etc/customisation and /system/etc/product.for bloatware.
You can simply delete the apps you don't want from /system/app but be carful not to delete one that is needed by system.
Any app you want to survive reset copy to /system/app with permissions 644
Click to expand...
Click to collapse
With permission 644 ? I dint get you . By the way deleting apps from that location says operation failed - ESFILEMANAGER

Kaushik124 said:
With permission 644 ? I dint get you . By the way deleting apps from that location says operation failed - ESFILEMANAGER
Click to expand...
Click to collapse
Did you mount /system RW? (open the sidebar where you enabled root access with the menu button, scroll down to "root explorer" and click it instead of its on/off button, select the remount option, change / and /system to RW)

Ryccardo said:
Did you mount /system RW? (open the sidebar where you enabled root access with the menu button, scroll down to "root explorer" and click it instead of its on/off button, select the remount option, change / and /system to RW)
Click to expand...
Click to collapse
Ah thank you .. Easier with root explorer . Moving an app to system/app will get that app installed right away when reset ?

Kaushik124 said:
Ah thank you .. Easier with root explorer . Moving an app to system/app will get that app installed right away when reset ?
Click to expand...
Click to collapse
Well, it just won't be removed
But it will also break the app if it uses external libraries, use Link2SD "convert to system app" that will do the hard job itself if needed

Ryccardo said:
Well, it just won't be removed
But it will also break the app if it uses external libraries, use Link2SD "convert to system app" that will do the hard job itself if needed
Click to expand...
Click to collapse
Titanium backup has some sort of same option right convert to system app. And if I remove all from/system/app it won't be installed next time I reset? I hope so and how do I make some apps install themselves when phone is reset

Kaushik124 said:
With permission 644 ? I dint get you . By the way deleting apps from that location says operation failed - ESFILEMANAGER
Click to expand...
Click to collapse
Files has permissions, like files on windows do, 644 = owner can read and weite, group can read, other can read.
To delete/copy file from/to /system you need RootExplorer o FX explorer with root add-on.

If you "remove everything from /system/app" as you said you'll end up with an unusable OS
Factory reset doesn't touch /system anyway, if you're looking for an easy way to have your apps back when you switch ROMs the closest thing is keeping the apks on your computer and installing them with adb...

Related

System Dump for Moto RAZR

System Dump of the Motorola RAZR. This is the Retail SEA version, will update with more info later.
Download via dropbox here
How do I use this? And will it save me from a soft brick? Current stuck on bootloop
How did you get your bootloop
sent from my Atrix via XDA premium
marko! said:
How did you get your bootloop
sent from my Atrix via XDA premium
Click to expand...
Click to collapse
I froze some apps from the recommended list, and I assume I might have selected something I wasnt supposed to.
art0605 said:
I froze some apps from the recommended list, and I assume I might have selected something I wasnt supposed to.
Click to expand...
Click to collapse
freezing apps that you dont know what they do is a very easy way to get a bootloop
you can use the system dump to fix it if you know how to use adb a bd push the apps you froze
alternatively
if you can get the phone to connect to your computer you can use adb shell to unfreeze you frozen apps with the following commands
Code:
adb remount
adb shell
su
cd /system/app
ls
//look at what apps have .fro extensions added
rn appname.apk.fro appname.apk
//repeat
that will fix it
Contacts FC fix?
So I screwed up and deleted the yahoo files instead of freeze them on titanium...getting the dreaded contacts force close issue. How can I use this system dump to restore those deleted files? Can I install the apk's through something like astro? Sorry, total noob apparently....had no idea yahoo would have anything to do with contacts..oh well. Thanks.
spikeanut said:
So I screwed up and deleted the yahoo files instead of freeze them on titanium...getting the dreaded contacts force close issue. How can I use this system dump to restore those deleted files? Can I install the apk's through something like astro? Sorry, total noob apparently....had no idea yahoo would have anything to do with contacts..oh well. Thanks.
Click to expand...
Click to collapse
i did the same thing and also i have no SMS/MMS notifactions probably caus i removed something else i shouldnt have, ive tried installing those apks again through titanium backup and pushing through adb with no luck so what im using for now with no problem for contacts is Go Dialer EX and Handcent for sms/mms
system dump
So is it as easy as doing a copy all from the system/app folder from the dump onto the razr's system/app folder using a file manager like astro?
spikeanut said:
So is it as easy as doing a copy all from the system/app folder from the dump onto the razr's system/app folder using a file manager like astro?
Click to expand...
Click to collapse
not at all. be my guest if you want to try. A. i dont think that astro can access the root folder last time i tried, might have changed since, you would need to use a file manager that can access, mount rw/ro, and change permissions of the system files and/or folders in the root.
B. i tried it already and everytime you try to reinstall the system apps through a file manager it says installation failed.
You have to put all the system apps in the folder AND set the right permissions
sent from my Atrix via XDA premium
Ahh, ok, so I can do it with root explorer pretty easily then?
spikeanut said:
Ahh, ok, so I can do it with root explorer pretty easily then?
Click to expand...
Click to collapse
As long as you be careful as to what you are replacing yes
sent from my Atrix via XDA premium
So I've tried using File Expert, with Root Exploer, but apparently I'm having some issues when I try to Mount as Read/Write. Also can't seem to use it to change permissions. Anyone have any other apps that will give me access to the permissions?
spikeanut said:
So I've tried using File Expert, with Root Exploer, but apparently I'm having some issues when I try to Mount as Read/Write. Also can't seem to use it to change permissions. Anyone have any other apps that will give me access to the permissions?
Click to expand...
Click to collapse
Try a terminal emulator use the remount command
sent from my Atrix via XDA premium
Well, it appears that if you were like me and deleted one of those applications, you're SOL. I've diligently went through the system dump provided, and added all the items I was missing into my /system/app, changed all the permissions to the correct ones, reboot..and still nothing. Even did a full system wipe/factory reset afterwards to no avail. I know this method worked with other phones, but apparently, the RAZR kernal doesn't allow for it. It seems the only solution would be if a SBF was created that can fully restore the phone to factory install...fingers crossed! So what can we take away from this...don't be an idiot like me and delete apps...just freeze them. I think I must be the only one who screwed that up...=/
---------- Post added at 03:45 PM ---------- Previous post was at 03:44 PM ----------
On a side no...."Go Contacts EX" is my temp solution.
Thanks for the system dump ... i check the bootintro ... i don't like the rogers ... ( rogers branded ... )
Sorry!
The application Accounts (process com.motorola.setup) has stopped unexpectedly. Please try again.
The following error appears once i press "Done adding accounts".
I have already done data wipe. it still appears.
What should i do?
Could someone dump the /osh directory?
Is that Rogers system? If yes, can somedody explain how to dump it? Have a problem... in other thread...
iankellogg said:
Could someone dump the /osh directory?
Click to expand...
Click to collapse
http://www.multiupload.com/DOJUV54FRY

[Q] Restore Android Market using gapps

Accidentally I uninstalled Google Play using Titanium Backup. I believe I would have to use gapps to restore it since none of the apks i tried installing, worked.
But i am unable to hboot [using Power + Vol down] to select the .zip archive of gapps.
Can someone please give a guide on how to install gapps and restore Market on LG Optimus P500
Gingerbread 2.3.3
Rooted phone
Default ROM
shabbirzk said:
Accidentally I uninstalled Google Play using Titanium Backup. I believe I would have to use gapps to restore it since none of the apks i tried installing, worked.
But i am unable to hboot [using Power + Vol down] to select the .zip archive of gapps.
Can someone please give a guide on how to install gapps and restore Market on LG Optimus P500
Gingerbread 2.3.3
Rooted phone
Default ROM
Click to expand...
Click to collapse
Try Home+Vol Down+Power to enter into Recovery>Install GApps.
no need to flash the entire gapps on your case
download the latest google play apk in the themes and apps section of optimus one
search ES file manager/explorer (forgot exact name) apk on google from your pc (legit because the app itself is free)
now move the two apks to ur phone with usb
DONT INSTALL GOOGLE PLAY
install es file manager
open root mode something like that and grant the app root permission
now copy and paste ur google play apk to /system/app
AND LONG PRESS IT, CHANGE PERMISSIONS to rw-r--r-- (as same as all other system apps in the same folder)
save permissions
reboot ur phone at this point
bam!! google play is now back there in ur app drawer
becareful next time and do backups before touching red buttons in TB next time, mate
Sent from my LG-P500 using xda premium
Google Play is back
Thank you so much Miasmic.
1. for getting my query resolved with detailed explanation
2. For getting me introduced to ES file explorer. Ive been diving into its utilities since then.
Update: For anyone trying out this solution, you shall find the option to give root permission to ES under ES settings, also make /system as mount to write.
shabbirzk said:
Thank you so much Miasmic.
1. for getting my query resolved with detailed explanation
2. For getting me introduced to ES file explorer. Ive been diving into its utilities since then.
Update: For anyone trying out this solution, you shall find the option to give root permission to ES under ES settings, also make /system as mount to write.
Click to expand...
Click to collapse
youre welcome! dont forget to uninstall the independent ES explorer apk for now and get one from google play so u have future updates
Miasmic said:
youre welcome! dont forget to uninstall the independent ES explorer apk for now and get one from google play so u have future updates
Click to expand...
Click to collapse
i have followed step by step your explanations but no succes.
no google play on app drawer
any ideas?
iozefini said:
i have followed step by step your explanations but no succes.
no google play on app drawer
any ideas?
Click to expand...
Click to collapse
Considering that flashing gapps from recovery takes about half a minute, I do not understand what this thread is about. Flash the zip and move on, what is the problem here?
lolphirae said:
Considering that flashing gapps from recovery takes about half a minute, I do not understand what this thread is about. Flash the zip and move on, what is the problem here?
Click to expand...
Click to collapse
can you explain a lilttle bit more?
thanks
iozefini said:
i have followed step by step your explanations but no succes.
no google play on app drawer
any ideas?
Click to expand...
Click to collapse
Explain what you did step by step.. i will tell you where you went wrong.
Another thing.. tell me.. have you rooted your phone..
if yes.. have you flashed (installed) Recovery??
And which ROM are you using in phone??
rr0yy said:
Explain what you did step by step.. i will tell you where you went wrong.
Another thing.. tell me.. have you rooted your phone..
if yes.. have you flashed (installed) Recovery??
And which ROM are you using in phone??
Click to expand...
Click to collapse
1.playstore apk 3.5.19 i've moved it in system/app with ES File Explorer Manager
2.permissions change to rw -r -r
3.reboot
result nothing
i have Android 2.3.3 stock.
yes, the Optimus is rooted.
i didnt install Recovery.
my problems have started when i've changed the microsd card with a bigger one. i've made a copy of previous card but some native Android apps like playstore, maps,navigation just simply disappear but somehow maps and navi are back now.
later edit
until your answer i will prepare a backup if i will need to restore (factory reset).
iozefini said:
1.playstore apk 3.5.19 i've moved it in system/app with ES File Explorer Manager
2.permissions change to rw -r -r
3.reboot
result nothing
i have Android 2.3.3 stock.
yes, the Optimus is rooted.
i didnt install Recovery.
my problems have started when i've changed the microsd card with a bigger one. i've made a copy of previous card but some native Android apps like playstore, maps,navigation just simply disappear but somehow maps and navi are back now.
later edit
until your answer i will prepare a backup if i will need to restore (factory reset).
Click to expand...
Click to collapse
Why can't you just do this?
1. Download Gapps from goo.im/gapps/.
2. Put the .zip on your SD Card.
3. Boot into recovery and clear your cache and Dalvik cache.
4. Flash the Gapps .zip and reboot.
And you're done.
iozefini said:
1.playstore apk 3.5.19 i've moved it in system/app with ES File Explorer Manager
2.permissions change to rw -r -r
3.reboot
result nothing
i have Android 2.3.3 stock.
yes, the Optimus is rooted.
i didnt install Recovery.
my problems have started when i've changed the microsd card with a bigger one. i've made a copy of previous card but some native Android apps like playstore, maps,navigation just simply disappear but somehow maps and navi are back now.
later edit
until your answer i will prepare a backup if i will need to restore (factory reset).
Click to expand...
Click to collapse
Do you use link2sd or app2sd?? There is no other reason your system apps will disappear because
of changing card. First you check the permissions again.
If they are all ok and still doesnt work.. then download any gb gapps.. unzip it in your pc.
You will find two files.. MarketUpdater.apk and Vending.apk.. place it in same folder system/
app. Same permissions for both.. not sure if this works on Stock gb.
And we dont know what all files you are missing.
ok.thanks a lot now its all back.
thanks guys

[q] convert user app to system app

Hi everyone.
I'd like to know how to move some user apps stored in /data/app to /system/app, and don't get force close. I tried with link2sd, romtoolbox, rootexplorer, but always got fc.
I've deleted a lot of system apps and I want to use that unused storage for some user apps.
I hope you understand what I want to do.
Anybody can help me? :good:
mortadelax said:
Hi everyone.
I'd like to know how to move some user apps stored in /data/app to /system/app, and don't get force close. I tried with link2sd, romtoolbox, rootexplorer, but always got fc.
I've deleted a lot of system apps and I want to use that unused storage for some user apps.
I hope you understand what I want to do.
Anybody can help me? :good:
Click to expand...
Click to collapse
Well... The best way to do that is to edit the ZIP for the ROM you want and flash the changed ZIP through CWM. If you're doing it on the phone, make sure you set the permissions to 644, after you move them.
SmG67 said:
Well... The best way to do that is to edit the ZIP for the ROM you want and flash the changed ZIP through CWM. If you're doing it on the phone, make sure you set the permissions to 644, after you move them.
Click to expand...
Click to collapse
I checked permissions under rootexplorer. I gave the same permissions as every system app has. Should I go to terminal and type chmod 644 ...?
I'll try with the modified zip. Thanks for help. I'll tell you what happens.
EDIT: I tried the 644 method. Sitill force closing.
EDIT2: With Zip modified method works with some apps. I'm still looking for a phone method with rootexplorer.

[Q] i changed some normal app in system app

i changed some app in system app,
1)will their setting(app data) be resistent to a factor reset?
2)if not, there is way to make their setting(app data) be immune to a factor reset?
3)in which folder are located system app'settings?
FASTWEBAR said:
i changed some app in system app,
1)will their setting(app data) be resistent to a factor reset?
2)if not, there is way to make their setting(app data) be immune to a factor reset?
3)in which folder are located system app'settings?
Click to expand...
Click to collapse
A factory reset will clear it's data, the app will remain however, titanium backup can do that and lastly assuming you're asking for the root location of system apps, /system/apps/
Critical Detox said:
A factory reset will clear it's data, the app will remain however, titanium backup can do that and lastly assuming you're asking for the root location of system apps, /system/apps/
Click to expand...
Click to collapse
no,i cannot use any backups.
i need the app's setting to be immune to factory reset.
there are not just apk and odex files in system/app? i wanted to know where the system apps save their settings.
FASTWEBAR said:
no,i cannot use any backups.
i need the app's setting to be immune to factory reset.
there are not just apk and odex files in system/app? i wanted to know where the system apps save their settings.
Click to expand...
Click to collapse
From the main Root directory, /data/data/(select the app in question)/shared_prefs/ that should contain what you're looking for. Hopefully lol
There isn't a way to keep the settings of the app through a reset, even if it's a system app since the settings of the app itself will be in the /data/data folder.
es0tericcha0s said:
There isn't a way to keep the settings of the app through a reset, even if it's a system app since the settings of the app itself will be in the /data/data folder.
Click to expand...
Click to collapse
so also the /data/data folder will be reseted in a factory reset?
i knew some antitheft apps could still work after rest.does not that mean their app and setting survived?How could they do it?
the antitheft app is just an example.
FASTWEBAR said:
so also the /data/data folder will be reseted in a factory reset?
i knew some antitheft apps could still work after rest.does not that mean their app and setting survived?How could they do it?
the antitheft app is just an example.
Click to expand...
Click to collapse
Most factory resets will wipe everything except the /data/media folder in the /data directory. The antitheft apps are coded to grab the settings stored on the SD card or internal storage after reset, however, they also have to reboot again after it is reset for this to take effect. I suppose it might be possible to make a zip to flash in a custom recovery to wipe everything but leave a specific folder by customizing an update script. Another alternative might be to make an init.d script for persistent app and data. I'm not sure how to exactly do that, or if they would work, but I don't believe there would be another way due to how wipes are done.
do you mean this?
from a antitief 's faq:
I have a rooted device. Can I get additional features?
Yes! If you have rooted your device you can integrate Cerberus into your ROM and get two additional features: complete uninstall protection (Cerberus will even survive a wipe /factory reset) and GPS auto-enabling even on Android 2.3.3 and later. To have these features uninstall Cerberus, then download cerberus.zip, put it on the sd card and install it from recovery. Cerberus is also available on ROM Manager.
If that method doesn't work, you can manually install Cerberus in /system/app this way:
- Uninstall Cerberus from your device
- Download [email protected] apk and put the file on your sd card
- Open a terminal emulator and execute:
su
mount -o remount,rw /system
cp /sdcard/Cerberus.apk /system/app/
chmod 644 /system/app/Cerberus.apk
On Android 4.4 and later versions, the app must be installed in /system/priv-app, so the last two commands would be:
cp /sdcard/Cerberus.apk /system/priv-app/
chmod 644 /system/priv-app/Cerberus.apk
- Now Cerberus should be installed as a system application. Try to open the app, log in and see if it works.
I don't want to root my device, but it has an unlocked bootloader. Can I have the root features anyway?
Yes! You have to install a custom recovery first (google "your device model custom recovery " for more info). Then download cerberus.zip, rename it to update.zip and put it on the sd card. Reboot into recovery and install it.
I wonder if a app that is not coded in specific way can do this too?
FASTWEBAR said:
I wonder if a app that is not coded in specific way can do this too?
Click to expand...
Click to collapse
No. The app will not be able to set itself up and grab settings on it's own without coding it to do so.

Moving apps to /system on Marshmallow

Hello,
can someone explain me how to move apps to /system partition on marshmallow ?
When i try to do that as i did on lollipop (with success) apps disappear after reboot. I've tried to use Lucky Patcher and Titanium Backup but without success.
P.S. Im on stock Marshmallow Galaxy S5 (with root ofcourse )
prostozsadu said:
Hello,
can someone explain me how to move apps to /system partition on marshmallow ?
When i try to do that as i did on lollipop (with success) apps disappear after reboot. I've tried to use Lucky Patcher and Titanium Backup but without success.
P.S. Im on stock Marshmallow Galaxy S5 (with root ofcourse )
Click to expand...
Click to collapse
Have you set permission to app r/o after moving to system.
@Ashwinrg
I was trying to change permissions of moved apps (following to some guides found on Google) but that didn't help. Maybe i was doing something wrong. I even tried to mount system partition as R/W with Root Essentials but without results.
prostozsadu said:
@Ashwinrg
I was trying to change permissions of moved apps (following to some guides found on Google) but that didn't help. Maybe i was doing something wrong. I even tried to mount system partition as R/W with Root Essentials but without results.
Click to expand...
Click to collapse
Have you tried Mount /system RO/RW app.
@Ashwinrg You mean to mount system as R/W with that app and then use LP or TB to move my apps ?
prostozsadu said:
@Ashwinrg You mean to mount system as R/W with that app and then use LP or TB to move my apps ?
Click to expand...
Click to collapse
Yes. Try and see if it worked.
@Ashwinrg it doesn't work, moved apps just disappear

Categories

Resources