[FIX] Running out of room in /data, Problems Uninstalling Apps. Duplicates - Verizon Galaxy S 5 General

I have no app for this, nor do I intend to make one, any Dev may feel free to do so. This appears to apply way more widely to any Android phone But I discovered this on the GS5
A Mod can move this thread as fit!
-------------------------------------------------------------
The Issue
Essentially I found many who dirty flash, use Titanium backup to restore or who knows what have faced odd issues of suddenly running out of room for apps when they shouldn't, or have trouble removing apps because they keep popping back up...
Well I found this in /data/app
{
"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"
}
This issue eats all of the space up... but why does this happen???
-------------------------------------------------------------
The Culprit
Duplicated apps clogging the data folder appears to be a permissions issue, where the permissions of 755 with the owner of system and group of system is ACTUALLY showing up as Owner root and group root, causing the playstore to duplicate apps with correct permissions as the playstore doesn't have root permission and gets denied access.
-------------------------------------------------------------
The Solution?
To fix, run in terminal emulator or adb shell(with root permissions of course)
Code:
su
chown -R system:system /data/app
Now Delete all the extra apps so there's only one of each, app, keep only the highest numbered app(you can renumber them to 1 if you'd like)
wipe cache and dalvik cache(just suggestions)
This Is just my finding and I saw no other threads about this

I've been meaning to make an app for this, but it just keeps getting set aside for other things in life lol. I'm glad you made a thread that puts everything in one spot. You are the man, @GeTex

CVertigo1 said:
I've been meaning to make an app for this, but it just keeps getting set aside for other things in life lol. I'm glad you made a thread that puts everything in one spot. You are the man, @GeTex
Click to expand...
Click to collapse
Cough woman...cough cough.

@CVertigo1 I recall you mentioning it, added this post for now to help those having issues

I have written the how to get rid of the duplicates in a bunch of threads, so it'll be nice to have a thread to link instead lol

Haha, cool

Just tried the code you posted and it gives this....
-R: unknown option
Edit...worked after I put in just su first and then the rest on next entry. Thanks for the info.

I'd like to add that you can use Root Explorer to change owner if you don't have a computer handy. Go into Root Explorer and long press app/data/ and tap change owner. Then set owner as system for all sub files. I don't have a rooted device handy, so I can't be certain if it says all sub files or directories or something else lol.

I'd like to add that I tested some of the causes for this previously, and it seems like Titanium Backup is the #1 cause. I went back to stock and rooted the phone, PB1 if that matters. When I looked, there were no /data/app directories with the owners set as root. Then I restored apps with Titanium Backup then recheck directory owners, and I found multiple instances of root as the owner. I assume Titanium has to change owner to have the ability to write, but it doesn't change permissions back when it is done. I wonder if the developer is aware.

I caused this simply by a dirtyflash

When I initially had this problem I factory reset my phone without actually fixing the problem. I did this because I couldn’t get the code from the linked thread to execute in terminal emulator. I also refused to pay for the app that was suggested. Lo and behold, the problem returned yesterday.
Today, I managed to fix the problem and would like to share my success in case anyone else needs assistance. Here are the steps I followed.
1. Back up apps in Titanium Backup
2. Back up SMS messages using SMS Backup & Restore
3. Screenshot the home screens
4. Factory reset phone
5. Install all apps from play store
6. Restore SMS messages
7. Setup home screens to match screenshots
8. Restore App DATA ONLY with Titanium Backup
9. Verify the Owner and Group settings were correct for the /data/app folder and sub folders.
When I opened TB for the first time, I got a message about the MOUNT NAMESPACE SEPERATION setting in Super SU potentially causing problems. I turned the setting off. I have seen no errors from turning this off and have left it so. When I restored apps & data with TB, TB failed to install apps that were already on the phone. After this happened twice, I proceeded to restore Data Only. Since I had installed all the apps from the play store before using TB, I ended up restoring DATA ONLY.
I then opened Root Browser in order to change owner & group settings for the folder /data/app. I found that the owner and group were already set to System. If this is due to the developer of TB updating the app, thanks much. If it’s due to the setting in Super SU, I’m passing this nugget along. If it’s dumb luck or because I didn’t install apps and did data only, I do not know. If you know, please share.
My hope is that this info helps others get past this annoying problem.

beavermjr said:
When I initially had this problem I factory reset my phone without actually fixing the problem. I did this because I couldn’t get the code from the linked thread to execute in terminal emulator. I also refused to pay for the app that was suggested. Lo and behold, the problem returned yesterday.
Today, I managed to fix the problem and would like to share my success in case anyone else needs assistance. Here are the steps I followed.
1. Back up apps in Titanium Backup
2. Back up SMS messages using SMS Backup & Restore
3. Screenshot the home screens
4. Factory reset phone
5. Install all apps from play store
6. Restore SMS messages
7. Setup home screens to match screenshots
8. Restore App DATA ONLY with Titanium Backup
9. Verify the Owner and Group settings were correct for the /data/app folder and sub folders.
When I opened TB for the first time, I got a message about the MOUNT NAMESPACE SEPERATION setting in Super SU potentially causing problems. I turned the setting off. I have seen no errors from turning this off and have left it so. When I restored apps & data with TB, TB failed to install apps that were already on the phone. After this happened twice, I proceeded to restore Data Only. Since I had installed all the apps from the play store before using TB, I ended up restoring DATA ONLY.
I then opened Root Browser in order to change owner & group settings for the folder /data/app. I found that the owner and group were already set to System. If this is due to the developer of TB updating the app, thanks much. If it’s due to the setting in Super SU, I’m passing this nugget along. If it’s dumb luck or because I didn’t install apps and did data only, I do not know. If you know, please share.
My hope is that this info helps others get past this annoying problem.
Click to expand...
Click to collapse
My code in the op must be executed in terminal emulator line by line with root permissions

GeTex said:
My code in the op must be executed in terminal emulator line by line with root permissions
Click to expand...
Click to collapse
Done. Although it didn't seem to do anything as the owner/group for the folder was already System. Am I missing something?

beavermjr said:
Done. Although it didn't seem to do anything as the owner/group for the folder was already System. Am I missing something?
Click to expand...
Click to collapse
nope, if it worked, then any folder with wrong permissions would be fixed, to test change permissions on any folder to test(set owner to root) and after running, owner will be system

Thanks a ton.

Related

[Guide] Survivng a Data Wipe / Update (Reduces Force Closes, too!)

Alright, this is a guide for everyone who has come to me saying "When I update, XXX.apk force closes" or "I hate doing a wipe every time I update"
What you will need:
Computer
Backup for Root Users
Google Account
SD Card
( Yes, this is written for idiots, )
What to do:
Power on your phone
Sync your google account
Run Backup for root users
Perform a data backup (first option)
Upon completion connect the phone to PC
Mount the sd card and open BackupRoot/data
delete everything related to the system
This is providers folders, htc.android folders, anything that isn't related to an app that you have installed
You should be left with just your program folders
These are things like nl.rogro.GScriptFull, and other INSTALLED programs
Do the update, wipe your phone, ect. (Whatever you had to do)
Run Backup for root users after opening any apps that have a EULA
These are things such as "Welcome, this program does some stuff" that appear when you first start the app and prevent data from being written until they have been accepted in full
Choose Restore Data (the option to the right of the first one you used)
Sync Google account
Congratulations, you have restored.
Now Backup for Root Users is a great app, but many people do not realize that when you back up all of your data, things like calendar and Mms may be different versions. Unlike installed apps that are meant to accept data from different versions of the same app, these programs may carry the same name but may read data differently. Things like calendar do not transport well, but by syncing your account you prevent losing anything because it is all reloaded by the sync.
Note: You will lose settings for Settings and Home Screen. These cannot be prevented and are the MOST COMMON cause of issue because the code for Launcher, Rosie, and the System are CONSTANTLY being changed. It's a small price to pay...
Great Advice!!! Thanks!
nice...added to thread index
LOL! My App in a guide on xda! LOL Again! XD
blackgin said:
LOL! My App in a guide on xda! LOL Again! XD
Click to expand...
Click to collapse
Ah, so you're the person behind this great app.
do you happen to have a thread/blog that explains what some of these backups do? I have a bit of a hard time decyphering some of them.
Correct me if i'm wrong regarding your tutorial twistedumbrella.
If the users are running apps2sd, shouldn't they run the second option of the backup "Backup Data2sd"?
As you requested I published an info page on my blog:
http://blackgins.wordpress.com/what-dobackup-for-root/
blackgin said:
LOL! My App in a guide on xda! LOL Again! XD
Click to expand...
Click to collapse
your app can't be pimped enough!
thanks for the tip and good job blackgin for creating this app.
blackgin said:
LOL! My App in a guide on xda! LOL Again! XD
Click to expand...
Click to collapse
Slightly off topic I suppose, but could you [Blackgin] give us an option when using your program (as I do) to automatically backup only the Application Data that Twisted mentions above. That would save us the step of going in and deleting all that other stuff. You could call it "Pre-Wipe Backup" or something.
stellarman said:
Slightly off topic I suppose, but could you [Blackgin] give us an option when using your program (as I do) to automatically backup only the Application Data that Twisted mentions above. That would save us the step of going in and deleting all that other stuff. You could call it "Pre-Wipe Backup" or something.
Click to expand...
Click to collapse
Easier said than done. You either have to index all apps and backup relative to that list (data is often a different name than the app) or index the system and skip that data (again variable by build). Honestly it would be a little too complicated unless you have set data lists just due to the variable nature of app name to data location.
Here is 1 more addition:
suppose u r gona have a wipe & dont want to do google account sign in again but want it to be automatically signed-in @ the first boot after updating,
Grab the attachment, extract & run bat file
It will backup google account database & will restore database:
Note: Backup When Phone Is running Means not in recovery mode
&
Restore after Updating/Wiping But in Recovery Mode Even restoring as soon as u update will do....
twistedumbrella said:
Easier said than done. You either have to index all apps and backup relative to that list (data is often a different name than the app) or index the system and skip that data (again variable by build). Honestly it would be a little too complicated unless you have set data lists just due to the variable nature of app name to data location.
Click to expand...
Click to collapse
Maybe it isn't so difficult, I'm trying..
EDIT: Done
So if I am on a build using aps2SD, I choose that option right? The first time nothing backed up/restored properly
For me on cyanogen build, it works also the normal apk backup..
I backed up my sms while using Cyanogen 3.4.6, and i just flash JACHero, can I restore those SMS or will I run into some errors?
twistedumbrella said:
......
Run Backup for root users
Perform a data backup (first option)
....
......
Run Backup for root users after opening any apps that have a EULA
These are things such as "Welcome, this program does some stuff" that appear when you first start the app and prevent data from being written until they have been accepted in full
Choose Restore Data (the option to the right of the first one you used)
.......
Click to expand...
Click to collapse
What options are there?
These are the options, see the images
{
"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"
}
It depends on what you are using (app2sd or not) and what you want to backup..
If you want to backup data without system one, chose data-sys (or that for app2sd).. If you want a full data backup chose backup data (or that for app2sd)
Backup for root users doesn't work for me.
When I start the application the first time I click on always allow permission.
Then I click on any buttons to save and nothing.
Just a message very fast "Performing Backup..."
On SD there is a directory "BackupRoot" and inside 2 Directories "dataNoSys" and "sd".
any idea?
I'm on custom ION r1
new release
Hi everybody,
Today I ve found a upgrade of BackupForRoot!
Always better! Good work Blackgin

Defender 2 game backup/restore

Hi Everyone.
Im having some trouble with restoring Defender2 game data.
When i restore the game using Titanium backup or Mybackup initially it says its OK, Shows the correct stage achieved and such, but when im going to start a new stage, all data is gone, and i have to start from scratch. And that kinda sucks.
Is there some new high tech security to this app? Its the first time ive encountered this problem.
Tried with Froyo, Gingerbread and ICS. Same result.
I know there is hacks for this game, but that ruins it, and i dont wanna do that.
I couldnt find any other thread about this issue so i hope i dont doublepost.
I had the same issue. Thankfully I was only 50 stages in. Hopefully I won't have to do another wipe anytime soon.
Same issue here at lvl 145. No luck at all...
I have already tried backup/restore through Titanium Backup, MyBackup, extracting from Nandroid backup with Titanium Backup PRO, manually (copy/paste data files with rootexplorer) but nothing worked...
I would really appreciate if someone could help.
Oh, btw I have the same issue with Fish Predator and Battleloot Adventures.
Same problem here, at lvl 205, im really curios about this topic, i hope someone will help us, until that day i stopped playing defender 2. I cant start from the beginning
mleteng said:
Hi Everyone.
Im having some trouble with restoring Defender2 game data.
When i restore the game using Titanium backup or Mybackup initially it says its OK, Shows the correct stage achieved and such, but when im going to start a new stage, all data is gone, and i have to start from scratch. And that kinda sucks.
Is there some new high tech security to this app? Its the first time ive encountered this problem.
Tried with Froyo, Gingerbread and ICS. Same result.
I know there is hacks for this game, but that ruins it, and i dont wanna do that.
I couldnt find any other thread about this issue so i hope i dont doublepost.
Click to expand...
Click to collapse
Same here!
I was at level 79 on stage 550...
I played only 20 days I was at level 70. I can not find the solution.
Same here.. I went from CM9 to a 'stock' ATT rom for my Galaxy S2 and have the same problem.
Ive tried using my old save file and changing the device id to the new one, but everytime I start it does the same thing. Shows me the current level/battle but when I hit the start button, Im back at level 1 with all my stats reset.
Been trying to get this working for two days now but theres nothing left I can think of to try.
Still works if I restore my nandroid of CM9 but I really wanted to use this new rom!! This is literally the only game I have that has this problem all because of some stupid device id code. Every other game I have all the data is in place and work just fine..
Has anyone figured out yet how to properly restore your save/game data with defender 2? I've tried Mybackuppro, Spritebackup and some other backup apps but I keep starting off at lvl 1.
Anyone has a solution/suggestion for this?
Thx in advance,
Frank
Anyone have any luck with this? I am having to send my phone in for repaid and have saved the Droidhen folder.
Does this mean it wont restore my level?
It's going to be awful to start all over again.
I have seen the latest tit.backup can save and/or modify the android id... maybe we can use this option to restore the old id,then restore the backup..
At the moment the game is not instaled on my phone, so it could be great if anyone would test it
Sent from my GT-P6810 using xda premium
Use your favorite root explorer (I used ES File Explorer).
Then go to : /data/data/com.droidhen.defender2/shared_prefs.
Copy file save3.xml and save it to another directory for backup.
Oh-Yeah!!! said:
Use your favorite root explorer (I used ES File Explorer).
Then go to : /data/data/com.droidhen.defender2/shared_prefs.
Copy file save3.xml and save it to another directory for backup.
Click to expand...
Click to collapse
As has already been said that only works on the ROM you made the savegame with. If you reflash your phone, or get a new one you get a different device id and your saves no longer work.
Sent from my SGH-I777 using Tapatalk 2
experienced the same problem and dint find any solution for it
really??But I don't have the same problem
Slavestate said:
As has already been said that only works on the ROM you made the savegame with. If you reflash your phone, or get a new one you get a different device id and your saves no longer work.
Sent from my SGH-I777 using Tapatalk 2
Click to expand...
Click to collapse
I came from gb235 to gb236 then to ICS4 and have no problem using that procedure. The device id you're mentioning has no significance. Nor what defender2 version your in. If you just save the file save3.xml without trying to change any settings thru text editor, it will work. Do not try to change your setting cause it will definitely reset back to Lvl-1. I always have problem when I mess with that stuff. If you still have the ORIGINAL (save3.xml) there is still a way to go back where you left off to the game. Follow these procedure: Assuming you have saved a clean file... Simply go to the complete motion of going back to lvl-1 and finished the tutorial stage and totally complete stage 1. Then you exit the game totally. Go to your setting/application/defender2. Clear cache. Then you retrieve the save3.xml and replace the file on shared_prefs folder. Go back to the game and check. If you are still on lvl 1 then you need to clear data and clear cache again...going to the tutorial again and so on...
{
"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"
}
Oh-Yeah!!! said:
I came from gb235 to gb236 then to ICS4 and have no problem using that procedure. The device id you're mentioning has no significance. Nor what defender2 version your in. If you just save the file save3.xml without trying to change any settings thru text editor, it will work. Do not try to change your setting cause it will definitely reset back to Lvl-1. I always have problem when I mess with that stuff. If you still have the ORIGINAL (save3.xml) there is still a way to go back where you left off to the game. Follow these procedure: Assuming you have saved a clean file... Simply go to the complete motion of going back to lvl-1 and finished the tutorial stage and totally complete stage 1. Then you exit the game totally. Go to your setting/application/defender2. Clear cache. Then you retrieve the save3.xml and replace the file on shared_prefs folder. Go back to the game and check. If you are still on lvl 1 then you need to clear data and clear cache again...going to the tutorial again and so on...
View attachment 1272102
View attachment 1272103
View attachment 1272104
View attachment 1272105
Click to expand...
Click to collapse
Why can't I find this folder path? nothing for droid hen under the Data folder.
I want to back up Fish Predator saved game data and put it on my replacement Nexus 7. The current one I have has screen lifting issue.
phone must be rooted.
Update - Here is what I did.
- My phone is rooted. This is the only way this method works.
- I downloaded an app from Google Play called "Root Browser" (free version works fine). Root Browser is a file manager and text editor for rooted phones.
- I installed Root Browser on the old phone (that has the Defender 2 files) and also the new phone (that I wanted to "restore" my game play from the old phone).
- Opened Root Browser on the old phone and went into the Defender 2 folder.
Click and go into the following folders:
data
data
data (on my phone I had three layers of "data" folders. Your phone may be different)
com.droidhen.defender2
shared_prefs
There should be a file named "save3.xml"
Do NOT click the xml file, that will open the editor.
Long press save3.xml
Root Browser menu will pop up.
Select "copy"
File will automatically be placed into the apps clipboard and a "paste" icon will appear.
Click the up arrow and paste the save3.xml file to your microSD card.
Close Root Browser and power down phone.
Remove microSD card containing save3.xml file.
Place microSD card into powered-off phone to which you want to install the save3.xml file into the Defender 2 game.
Power on the new phone.
Open Root Browser.
Open the microSD directory and long press the save3.xml file. Press copy.
Open the Defender 2 folder (see above) to where you see the game's save3.xml file.
Press Root Browser's paste icon. When it says "overwrite" say "Yes."
Back out of and close Root Browser.
Open Defender 2 game. Where you were in the old phone's game should now be where you are in the new phone's game.

How to disable the stupid ATT Address Book

Just got the One X and it keeps trying to connect to the ATT Address book, how the heck do you disable it. I went to accounts and sync but see no box to uncheck
Dont worry - you are not really "signed up" yet. The app can connect only over Cellular and when it does, it asks you to Approve/Deny syncing your contacts with the ATT cloud. Deny and don't turn back The check will be grayed out.
Go to Settings - Apps - All. Scroll down to the app and tap on it. Click Disable.
The best way to disable ATT address book sync is to make a root of the phone, and then go to data/data/com.android.contacts/shared_prefs/ and edit with a notepad++ file "com.android.contacts_preferences". And change all the values from "false" to "true". It works on my Samsung Rugby Smart.
Head to the Dev Section and install a custom rom
sowa180 said:
The best way to disable ATT address book sync is to make a root of the phone, and then go to data/data/com.android.contacts/shared_prefs/ and edit with a notepad++ file "com.android.contacts_preferences". And change all the values from "false" to "true". It works on my Samsung Rugby Smart.
Click to expand...
Click to collapse
Or you could just ya know... delete the system apk
rquinn19 said:
Head to the Dev Section and install a custom rom
Click to expand...
Click to collapse
+1
I recommend CleanRom SE if you like sense or try DE if you want to to be a little on the wild side
Sent from my HTC One X using XDA
rquinn19 said:
Head to the Dev Section and install a custom rom
Click to expand...
Click to collapse
Yeah, but there's no any custom rom for my phone.
Wysyłane z mojego SAMSUNG-SGH-I847 za pomocą Tapatalk 2
Go to Settings/Apps Manager/All and find AT&T Messages. Click on it and disable.
Jeez... What he ^ said. Go to apps and hit disable. Simple as that. While your at it disable every att app you have. If you have root use titanium back up and freeze it. I don't recommend uninstalling anything unless you are 100% sure you know what the result will be. You don't need to do anything else.
:beer:
sent from my hoXl
can't play my geetahr with out a geetahr string!
Hey Fellows,
I had the same issue with this stupid ATT Address Book sync problem. But now I solved it!!
You need a rooted I847, the tools "SystemApp Remover" and a file manager.
Here is my procedere:
1. Backup Contacts as a vcf on SDCARD
2. Open Systemapp Remover -> System Apps
3. Backup Contacts.apk & ContactsProvider.apk
(Its also create the odex files)
(Backups are stored in SystemAppBackup)
4. Move these 4 files into another folder
5. Copy the files from the attachment into SystemAppBackup
(files are from the Galaxy W Image 2.3.6)
6. Go Back in SystemApp Remover -> System Apps
7. Uninstall Contacts.apk & ContactsProvider.apk
8. delete the folders with a file manager
/data/data/com.android.contacts
/data/data/com.android.providers.contacts
9. Go Back in SystemApp Remover -> Restore Apps
10. choose contacts.apk and than ContactsProvider.apk
(yes on system app)
11. Thats it, now you have a debranded Contacts Address Book :laugh:
dont forget to restore your contacts
Hope this helps for yours too !?
Thx for your feedback.
Cheers Newbit
Samsung Galaxy S3
I had the same annoying issue on my S3.
Even more annoying because there doesn't seem to be a 'disable' option under:
Settings > Application manager > All > AT&T Messages
(The only options are to Force stop, Clear data and Uninstall updates.)
So (while it doesn't disable it) I was able to temporarily address the nag by clearing the data and performing a Force stop. :-/
djdole said:
I had the same annoying issue on my S3.
Even more annoying because there doesn't seem to be a 'disable' option under:
Settings > Application manager > All > AT&T Messages
(The only options are to Force stop, Clear data and Uninstall updates.)
So (while it doesn't disable it) I was able to temporarily address the nag by clearing the data and performing a Force stop. :-/
Click to expand...
Click to collapse
Once you uninstall the updates you can disable the app.
{
"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 HTC One X using xda premium
Yeah but the service still runs. Annoying as f#@!
Sent from my HTC One X using xda app-developers app
This needs to be in the Q&A section
Sent from my HTC One XL using Tapatalk 2
newbit said:
Hey Fellows,
I had the same issue with this stupid ATT Address Book sync problem. But now I solved it!!
You need a rooted I847, the tools "SystemApp Remover" and a file manager.
Here is my procedere:
1. Backup Contacts as a vcf on SDCARD
2. Open Systemapp Remover -> System Apps
3. Backup Contacts.apk & ContactsProvider.apk
(Its also create the odex files)
(Backups are stored in SystemAppBackup)
4. Move these 4 files into another folder
5. Copy the files from the attachment into SystemAppBackup
(files are from the Galaxy W Image 2.3.6)
6. Go Back in SystemApp Remover -> System Apps
7. Uninstall Contacts.apk & ContactsProvider.apk
8. delete the folders with a file manager
/data/data/com.android.contacts
/data/data/com.android.providers.contacts
9. Go Back in SystemApp Remover -> Restore Apps
10. choose contacts.apk and than ContactsProvider.apk
(yes on system app)
11. Thats it, now you have a debranded Contacts Address Book :laugh:
dont forget to restore your contacts
Hope this helps for yours too !?
Thx for your feedback.
Cheers Newbit
Click to expand...
Click to collapse
I used this method to finally get mine to work. However, when I 1st tried this, I had to use CWM to recover my phone once I did step #7. It kept erroring out & wouldn't allow me to go back to the home page or show any icons, even after a reboot.
I ended up doing the steps in the following order to get it to work: 1,2,3,4,5,8,6,7,9,10,11. Doing step #8 before #6 made it so that I didn't have to exit out of SystemApp Remover during the rest of the steps. GAPPS still had some errors that I was allowed to force stop, but it didn't have any impact on the SystemApp Remover steps I was doing & went away after step #10.
BTW, I am using a stripped down (bloatware removed) version of this stock GB ROM. The "AT&T Messages" app didn't show in my app lists, so I couldn't disable it. Also, modifying the "com.android.contacts_preferences" file didn't work for me.
Thanks,
MP
Hey Fellows,
the "new" issue is that the contacts.apk ive posted are not so "nice" like the stock one.
The Logs Register shows ALL the SMS, and there is no way out of this!!
So the edit "com.android.contacts_preferences - way" from "false" to "true" doesnt work for me att all!!
The main reason for this dilemma is, that the real ATT Address Book was AND will never created by the contacts.apk
without an valid account, I guess.
Every time I changed the file, its flip back to original without any changes!!
But i ve figured it out, and here is a detailed way How to disable the stupid ATT Address Book
1. Open the com.android.contacts_preferences in Text Mode
2. Change only the REGISTRATION_COMPLETE_FLAG and the AAB_ENABLED_FLAG from "false" to "true"
3. Saving changes AND delete the just created .bak
4. Change the permissions to read only, from read&write
It should look like this in your folder!?
In princip, thats it!! But if you like, lets proof it:
1. Go into your contacts, one time over the contacts and one time over the phone icon
If nothing happens, it works, so fare so good
2. Go Into More -> Settings -> AT&T Address Book -> WoW first time there is it !!
3. Uncheck the Auto sync contacts -> hit the sync now -> Do you realy want to sync? Yes!
And remove existing contacts? No!
After a very short sync process you can try it later or maybe not!
I have the AT&A Address Book Version 1.1
4. Lets take a quick look back to preferences file -> its looks like its back to normal ->
and almost all FLAGS are "true"
My phone is Samsung Rugby I847 and the changes holds also after a reboot.
Thx for reading...
NewBit
Holà again Fellows,
here is newer, faster and much more flexible way to disable the ATT Adress Book.
Its a sed find and replace in XML file script, launched with gscript.
What you need is:
- root
- busybox
- gscript
- and the exact place where your xml file is
I named the file disableattadressbook.sh
and put in /sdcard/gscript
In this file are this code:
Code:
ZFILE="/data/data/com.android.contacts/shared_prefs/com.android.contacts_preferences.xml"
sed -i "s/REGISTRATION_COMPLETE_FLAG\" value=\"false\"/REGISTRATION_COMPLETE_FLAG\" value=\"true\"/g" $ZFILE
sed -i "s/INIT_SYNC_FLAG\" value=\"false\"/INIT_SYNC_FLAG\" value=\"true\"/g" $ZFILE
sed -i "s/AAB_ENABLED_FLAG\" value=\"false\"/AAB_ENABLED_FLAG\" value=\"true\"/g" $ZFILE
Thats it. run this script with gscript and the flaqs will change to true.
And if you like you can add or change your own values.
If you switch your simcard, its just a few clicks. Maybe you can run this script as an autorun on boot time!?
Good luck
EDIT: 26.04.2015
It turnt out, that this method is not applicable or stable on some ATT devices. Even for the I547 ATT version it is not
possible to keep the com.android.contacts_preferences.xml modified.
For those ATT devices please use this method:
- locate the feature.xml file, (maybe in /system/csc/feature.xml)
- locate the entry <CscFeature_Contact_EnableAAB>true</CscFeature_Contact_EnableAAB>
- change the true into false (i use ES file explorer)
- save and restart phone
The AT&T Address Book entry in Contacts -> Configurations is still there, but it should never pop up again for "syncing".
Cheers
Newbit
Disable
Only disable in Settings- Apps-- At&t Address Book
juantorrado said:
Only disable in Settings- Apps-- At&t Address Book
Click to expand...
Click to collapse
The Disable button is greyed out in ATT stock roms. This was mentioned in the past threads. Let's not clutter the forum with useless waste.

[Q] Unninstalled some system aplications by accident in Android

Hello, i have rooted my Samsung Galaxy Ace (S5830) mainly with the purpose of removing the tons of bloatware my operator so kindly put on my phone.
So yesterday downloaded Titanium backup, and did the backup and removed the following applications:
Code:
- All posts 1.0
- All Share 1.1.0
- Apoio a Cliente 1.0 (Custumer support)
- Google Talk 1.3
- Music Shop 5.0.15
- Social Hub 1.00.10.101
- Thinkfree Office 2.0.110222
The problem with unninstalling this was that a few system applications got unninstalled aswell, and even after recuperating all of the above programs with my backup they appear as uninstalled:
Code:
- com.android.audioTuning
- com.broadcom.bt.app
- com.sec.android.appGpsSetup2
- com.sec.android.app.samsungapps.una
- com.sec.app.OmaCP
- com.wipereceiver
- pl.com.samsung
My questions are as follow:
1) Is any of the files that got unninstalled accidentally important? And if so, how can i recuperate them.
2) How do i know exactly what i am unnisntaling in the future so i dont get any more surprises
Thank you in advance,
dpkPT
if any of your Frnds are using the same mobile with same os . First root that. Mobile and install titanium backup pro From black mart. And backup all the things you unfortunately deleted and send that backup files to your mobile via bluetooth and you also install that titanium backup pro . If you install titanium backup pro a folder will be created and move that files to that folder and install it . To solve this in future backup all the items using titanium backup pro
Sent from my GT-S5360 using xda app-developers app
i had thought of getting those files of some other phone. But the only friend that also has an Ace is a diferent model (s5839i wich uses andrid 2.3.6) than mine ( s5830 android 2.3.5). Will the files be compatible?
anyone?
I wouldn't install system files from a different version. You can hunt around and try to find a factory image for your model and use Odin to flash it. Then, start from scratch. Or, if there are any custom ROM's available for your phone, flash that and you won't have to worry about the system files. Rule of thumb for next time..if you don't know what it is, you probably shouldn't delete it!
In addition to that. One of the beauty things with Titanium Backup Pro is that you can "Freeze" apps to see if there is any detrimental effects by not having the run. If so, then you can "defrost" them. When in doubt, don't uninstall no matter how much you think it is bloat.
I am asking another RC to come in here that owns an Ace and see if he can help you. Could take a little time as he is on the other side of the world from me.
lowandbehold said:
I wouldn't install system files from a different version. You can hunt around and try to find a factory image for your model and use Odin to flash it. Then, start from scratch. Or, if there are any custom ROM's available for your phone, flash that and you won't have to worry about the system files. Rule of thumb for next time..if you don't know what it is, you probably shouldn't delete it!
Click to expand...
Click to collapse
I thought uninstalling bloatware was the same as unninstalling a normal aplication. I didnt unninstall anything i didnt know what it was, it just happened that those processes got unninstaled togheder with the bloatware without me even noticing. It would be nice if titanium backup would tell me all that is being unninstaled, so i dont get another surprise like this. Example: " You are unninstalling Crap Bloatware v2.0. Be warned that along with this the following processes will be unninstalled aswell: com.importantsystemthing, com.sec.blabla. Are you sure you want to continue?"
Woodrube said:
In addition to that. One of the beauty things with Titanium Backup Pro is that you can "Freeze" apps to see if there is any detrimental effects by not having the run. If so, then you can "defrost" them. When in doubt, don't uninstall no matter how much you think it is bloat.
I am asking another RC to come in here that owns an Ace and see if he can help you. Could take a little time as he is on the other side of the world from me.
Click to expand...
Click to collapse
Couldnt install titanium backup pro yet. Tells me my key is invalid.
Kinda learned my lesson. Leaving the rest of the bloatware in the phone. (Still get annoyed every time i look at it though ) Thanks! No prob with the time, so far i havent noticed any problem in my Ace from the lack of those processes.
dpkPT said:
I thought uninstalling bloatware was the same as unninstalling a normal aplication. I didnt unninstall anything i didnt know what it was, it just happened that those processes got unninstaled togheder with the bloatware without me even noticing. It would be nice if titanium backup would tell me all that is being unninstaled, so i dont get another surprise like this. Example: " You are unninstalling Crap Bloatware v2.0. Be warned that along with this the following processes will be unninstalled aswell: com.importantsystemthing, com.sec.blabla. Are you sure you want to continue?"
Couldnt install titanium backup pro yet. Tells me my key is invalid.
Kinda learned my lesson. Leaving the rest of the bloatware in the phone. (Still get annoyed every time i look at it though ) Thanks! No prob with the time, so far i havent noticed any problem in my Ace from the lack of those processes.
Click to expand...
Click to collapse
Hmm..I have never had issues with TB uninstalling anything that I didn't select. Just out of curiousity...what makes you think it is uninstalled?
dpkPT said:
Hello, i have rooted my Samsung Galaxy Ace (S5830) mainly with the purpose of removing the tons of bloatware my operator so kindly put on my phone.
So yesterday downloaded Titanium backup, and did the backup and removed the following applications:
Code:
- All posts 1.0
- All Share 1.1.0
- Apoio a Cliente 1.0 (Custumer support)
- Google Talk 1.3
- Music Shop 5.0.15
- Social Hub 1.00.10.101
- Thinkfree Office 2.0.110222
The problem with unninstalling this was that a few system applications got unninstalled aswell, and even after recuperating all of the above programs with my backup they appear as uninstalled:
Code:
- com.android.audioTuning
- com.broadcom.bt.app
- com.sec.android.appGpsSetup2
- com.sec.android.app.samsungapps.una
- com.sec.app.OmaCP
- com.wipereceiver
- pl.com.samsung
My questions are as follow:
1) Is any of the files that got unninstalled accidentally important? And if so, how can i recuperate them.
2) How do i know exactly what i am unnisntaling in the future so i dont get any more surprises
Thank you in advance,
dpkPT
Click to expand...
Click to collapse
1. It doesn't seem like your device is the ace. It must be the i version of the ace. Because i can see the com.broadcom.bt app in it. Broadcom hardware is present only in the 'i' variant.
2. Yes you have deleted some system apps like OmaPC server.
Now all what you can do is
1. Check the label below the battery for the correct version of your device.
2. I guess it will be the ace i. So download a stock firmware from sammobile.com
3. Flash it using odin. There are tons of guides the flashing process.
Just Google it.
Hope this helps. Incase you need more help and i fail to reply to this thread, pm me.
___________XDA Premium__________
Don't be a noob. Be a newbie..!!
Details here.
____________________________________
____________________________________
Titanium doesn't usually uninstall any extra apps that you haven't selected...weird that it did so for you
Anyways, if your phone starts acting weird, you could flash a stock rom using odin...
Instructions and everything else needed is available in the Galaxy Ace Sub-forums within xda...
lowandbehold said:
Hmm..I have never had issues with TB uninstalling anything that I didn't select. Just out of curiousity...what makes you think it is uninstalled?
Click to expand...
Click to collapse
This:
{
"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"
}
I only checked the end of the list (where that appeared) after unninstalling the bloatware i mentioned. So i have no idea if it was there before or not, i just assume it wasnt.
shaaan said:
1. It doesn't seem like your device is the ace. It must be the i version of the ace. Because i can see the com.broadcom.bt app in it. Broadcom hardware is present only in the 'i' variant.
2. Yes you have deleted some system apps like OmaPC server.
Now all what you can do is
1. Check the label below the battery for the correct version of your device.
2. I guess it will be the ace i. So download a stock firmware from sammobile.com
3. Flash it using odin. There are tons of guides the flashing process.
Just Google it.
Hope this helps. Incase you need more help and i fail to reply to this thread, pm me.
___________XDA Premium__________
Don't be a noob. Be a newbie..!!
Details here.
____________________________________
____________________________________
Click to expand...
Click to collapse
Rechecked it, still a S5830 Phone says the same:
a.cid said:
Titanium doesn't usually uninstall any extra apps that you haven't selected...weird that it did so for you
Anyways, if your phone starts acting weird, you could flash a stock rom using odin...
Instructions and everything else needed is available in the Galaxy Ace Sub-forums within xda...
Click to expand...
Click to collapse
It was like they "piggybacked" the bloatware and unninstalled with it :|

WhatsApp no longer starts

WhatsApp no longer starts since 07/05/2023, because it is not possible to update to the latest version as I am asked to log in to my Google account despite already being logged in !
I have tried the solutions suggested here, except the one that involves removing the accounts because the warning message suggests to me that the data may be lost.
Does anyone have any idea how to solve ?
Deleting an Google account is different from removing it from your device. When you delete your Google account, it gets deleted permanently from Google servers. So any data associated with your Google account will be lost.
Removing the Google account simply removes it from your phone. It’s like logging out of Google account. All your data associated with the account will stay on Google servers. You can add the account again on your phone or sign in from the web.
{
"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"
}
As you suggested I've removed the Google account.
When I launch WhatsApp it detects the absence of the account and asks me to add one, but the problem remains the same.
I would like to try to uninstall WhatsApp and install it again, but I am afraid of losing all the data: if I make a backup of the WhatsApp folder that is in the filesystem under storage, then it may be enough to restore it in case of any problems ?
gldev said:
As you suggested I've removed the Google account.
When I launch WhatsApp it detects the absence of the account and asks me to add one, but the problem remains the same.
I would like to try to uninstall WhatsApp and install it again, but I am afraid of losing all the data: if I make a backup of the WhatsApp folder that is in the filesystem under storage, then it may be enough to restore it in case of any problems ?
Click to expand...
Click to collapse
WhatsApp now saves all it's files, including media, in the Android/ media folder.
Take a back-up of that folder, after creating a local backup from within WhatsApp.
If you don't do this, and uninstall WhatsApp, it will delete all your WhatsApp media too. By default, WhatsApp doesn't backup videos received in chats.
TheMystic said:
WhatsApp now saves all it's files, including media, in the Android/ media folder.
Click to expand...
Click to collapse
I would like to point out that the device in question is an older Samsung Galaxy Tab 3 8.0 SM-T311 with Android 4.4.2 purchased in 2014.
In my case the Android/media folder does not exist.
The Android/Data/com.whatsapp folder is present but it is empty.
All the data seems to be in Storage/Emulated/0/WhatsApp
TheMystic said:
Take a back-up of that folder, after creating a local backup from within WhatsApp.
Click to expand...
Click to collapse
This is not possible because WhatsApp does not start ...
gldev said:
This is not possible because WhatsApp does not start ...
Click to expand...
Click to collapse
IIRC then
1.
WhatsApp automatically makes a backup of all your chats every night at 4:00 / 2:00.
2.
This backup is then stored on the internal memory of your smartphone:
3.
On Android the chat backups of WhatsApp are stored on the internal memory in the folder "/sdcard/WhatsApp/Databases" and/or "/local/WhatsApp/Databases". There, in turn, the backups are in the form of so-called msgstore.db files. Currently, for example, there is msgstore.db.crypt12, which is the current backup. In addition, there are backups of the previous days, which also start with msgstore.db.crypt12 and have a date appended, i.e. something like msgstore-YYYY-MM-DD.db.crypt12.
4.
To backup the chat backups of Whatsapp open the file manager on your phone. If no file manager is installed, download MiXplorer. Navigate to the path "/sdcard/WhatsApp/Databases" and/or "/local/WhatsApp/Databases".
Here you will now find the file msgstore.db.crypt12. Move this file as a backup to another location, preferably to the SD-card - in any case outside the WhatsApp folder - and then use ADB to pull it to PC.
jwoegerbauer said:
WhatsApp automatically makes a backup of all your chats every night at 4:00 / 2:00.
Click to expand...
Click to collapse
If the device is powered off at that time, the backp is skipped or is this done the next time it is turned back on ?
jwoegerbauer said:
On Android the chat backups of WhatsApp are stored on the internal memory in the folder "/sdcard/WhatsApp/Databases" and/or "/local/WhatsApp/Databases". There, in turn, the backups are in the form of so-called msgstore.db files. Currently, for example, there is msgstore.db.crypt12, which is the current backup. In addition, there are backups of the previous days, which also start with msgstore.db.crypt12 and have a date appended, i.e. something like msgstore-YYYY-MM-DD.db.crypt12.
Click to expand...
Click to collapse
On my device all the data seems to be in Storage/Emulated/0/WhatsApp which in turn contains the Backup, Databases and Media folders.
The Databases folder contains the files msgstore.db.crypt14, msgstore-2023-02-03.1.db.crypt14 and msgstore-2023-02-06.1.db.crypt14
The most recent files in the Backup and Databases folders are from February 06, 2023.
gldev said:
This is not possible because WhatsApp does not start ...
Click to expand...
Click to collapse
Most probable reason is WhatsApp has stopped supporting your Android version or device.
gldev said:
If the device is powered off at that time, the backp is skipped or is this done the next time it is turned back on ?
Click to expand...
Click to collapse
Yes, backup would automatically run next time your device turns on.
gldev said:
The Databases folder contains the files msgstore.db.crypt14, msgstore-2023-02-03.1.db.crypt14 and msgstore-2023-02-06.1.db.crypt14
The most recent files in the Backup and Databases folders are from February 06, 2023.
Click to expand...
Click to collapse
Those are the last time WhatsApp backed up your chats. Didn't you use WhatsApp for the last 3 months?
You will be able to restore your chats on a newer device or device with a newer Android version.
TheMystic said:
Those are the last time WhatsApp backed up your chats. Didn't you use WhatsApp for the last 3 months ?
Click to expand...
Click to collapse
I used WhatsApp daily, but I always turned off the tablet at night.
Tonight I did a test and left the device on, and indeed in the Databases folder the files were updated to today's date, so it can be concluded that the backup is only performed at 02:00 if the device remains switched on.
In addition to Google Play Store, you can laso download the latest apk from the WhatsApp official website.
I forgot to point out that in the Android options, under Accounts, there is WhatsApp with contact synchronization enabled.
In any case, I'm pretty much sure that conversations are backed up on external servers, because when I access WhatsApp web I find the history of all old conversations ...
TheMystic said:
Most probable reason is WhatsApp has stopped supporting your Android version or device.
Click to expand...
Click to collapse
James_Watson said:
In addition to Google Play Store, you can laso download the latest apk from the WhatsApp official website.
Click to expand...
Click to collapse
As suggested, I tried to install WhatsApp by downloading the .Apk file, but I get the message 'Error while analysing the package'.
I also tried uninstalling WhatsApp, but it is then no longer possible to reinstall it from Google Play Store.
Although support for Android 4.4.2 officially ends on 24 October, my device is evidently no longer supported.
Never mind, I'll use the new devices I have, or maybe I'll try installing an unofficial rom to get Android 7.0 on this tablet.
gldev said:
As suggested, I tried to install WhatsApp by downloading the .Apk file, but I get the message 'Error while analysing the package'.
I also tried uninstalling WhatsApp, but it is then no longer possible to reinstall it from Google Play Store.
Although support for Android 4.4.2 officially ends on 24 October, my device is evidently no longer supported.
Never mind, I'll use the new devices I have, or maybe I'll try installing an unofficial rom to get Android 7.0 on this tablet.
Click to expand...
Click to collapse
The message, 'Error while analysing the package', likely means that the latest version of the APK no longer supports your old Android system.
gldev said:
As suggested, I tried to install WhatsApp by downloading the .Apk file, but I get the message 'Error while analysing the package'.
Click to expand...
Click to collapse
To fix this in app's AndroidManifest.xml explictly set the value of the android:exported value to true.
jwoegerbauer said:
To fix this in app's AndroidManifest.xml explictly set the value of the android:exported value to true.
Click to expand...
Click to collapse
I opened the AndroidManifest.xml file with AndroidStudio, but there are too many android:exported="true" entries in it.
I was thinking of limiting the change to the Activity tag that contains the android:name=".MainActivity" entry, as shown in your screenshot, but this entry is not present in the file ...

Categories

Resources