[SOLVED][Q] Homescreen settings folder location in Android? - G1 Q&A, Help & Troubleshooting

Does anyone know where the homescreen settings are stored? Namely I am looking for the location in the android file system that stores the preferences for homescreen layout, widget placement, icon placement, and icon included.
I have been mucking around in:
Code:
/cache
/system
/sys
folders and can't seem to find them anywhere. I'm currently backing up and restoring
Code:
/data/data/com.android.settings
after a wipe which restores the wallpaper setting so I know I'm close, I just don't know where else to look without a little direction.
I am also backing up and restoring
Code:
/data/data/com.google.android.providers.settings
but I'm not sure what these do.
If anyone has any information, it would be greatly appreciated.

Anyone?
Bumped only because I'm pretty sure someone knows, they just aren't around yet

I have a feeling that XML files are involved. And I believe it should be in Launcher.apk.

Not sure but I thought it was in the launcher database. /data/data/com.android.launcher/databases

dumfuq said:
Not sure but I thought it was in the launcher database. /data/data/com.android.launcher/databases
Click to expand...
Click to collapse
Haha...It worked...I found it here just like you said and added it to my "backup everything" script.
I wasn't able to remove the whole com.android.launcher folder and replace it with the one I wanted though. I had to remove each of the .db and .sqlite files and then restore them to get it to work.
The only thing it won't restore is the widgets, however it remembers where they are supposed to be, I just get the "problem loading widget" in that spot rather than the widget, but that's fine with me.
Thanks dumfuq for your help...

DirectMatrix said:
Haha...It worked...I found it here just like you said and added it to my "backup everything" script.
I wasn't able to remove the whole com.android.launcher folder and replace it with the one I wanted though. I had to remove each of the .db and .sqlite files and then restore them to get it to work.
The only thing it won't restore is the widgets, however it remembers where they are supposed to be, I just get the "problem loading widget" in that spot rather than the widget, but that's fine with me.
Thanks dumfuq for your help...
Click to expand...
Click to collapse
FWIW, I get the same widget problem with MyBackupPro. For me it was worth just buying the app rather that writing a script.

bittermormon said:
FWIW, I get the same widget problem with MyBackupPro. For me it was worth just buying the app rather that writing a script.
Click to expand...
Click to collapse
MyBackup Pro was an application that I highly respected before I got into the inner working of the android file system and learning a few in's and out's. I also bought the app and liked it for a while however I bought it before they came out with their little warning about restoring your gmail contacts so it essentially corrupted my entire contact file system. The problem is well known and documented now, but it wasn't when it first came out. I prefer to backup things on my own now in their original condition and file state so that I can avoid the situation in the future. MyBackup Pro also seems to have a problem interacting with SMSbackup. I can only assume that it corrupts the data files for the text messages similar in the way it does for the contacts.
But I digress.....

interesting. I am going to use your method and see if I can figure out how to backup my locale settings however.

Sweet...Glad it worked. Been meaning to test but I have been procrastinating wiping.

dumfuq said:
Sweet...Glad it worked. Been meaning to test but I have been procrastinating wiping.
Click to expand...
Click to collapse
When/if you get un-procrastinated (LOL), PM me and I can shoot the snippet of the script over to you already to go
Thanks again for your help.

Related

Extract home background that was set previously, after original has been deleted

I've got a home background I set about a gazillion years ago, back when I first installed Cyanogen 4.0.1 (yes, *that* old).
I want to upgrade now, and I would like to take my nice background with me, but turns out during one of my more enthusiastic SD card cleanup sessions, I deleted the original JPG.
Does anyone know a way I can extract it from the launcher database (or wherever it gets stashed in Android-land when you set a JPG as your background)?
this might not be helpful, but could you not jus put the .jpg back on ur phone?
djosiah said:
this might not be helpful, but could you not jus put the .jpg back on ur phone?
Click to expand...
Click to collapse
use astro and find the .jpg on your phone. or if you actually pushed it into launcher, just adb pull launcher.apk and then sift through that to find it.
He mentioned that he deleted the jpg off the sdcard long ago, means its not on the phone. I think launcher's db file may contain it, you can back that up and push it on the newer builds. I know it works for restoring the shortcut locations.
BUT in all seriousness, you can upgrade and not wipe and I'm sure the background may stay with you. Cyanogen roms usually keep all the settings as long as you don't wipe.
prash said:
He mentioned that he deleted the jpg off the sdcard long ago, means its not on the phone. I think launcher's db file may contain it, you can back that up and push it on the newer builds. I know it works for restoring the shortcut locations.
BUT in all seriousness, you can upgrade and not wipe and I'm sure the background may stay with you. Cyanogen roms usually keep all the settings as long as you don't wipe.
Click to expand...
Click to collapse
thats true, but if he deleted the file from his sd, he wouldnt be able to still use the jpg as his background. so im thinking like you do, it must be in the launcher db.
palosjr said:
thats true, but if he deleted the file from his sd, he wouldnt be able to still use the jpg as his background. so im thinking like you do, it must be in the launcher db.
Click to expand...
Click to collapse
It'd show up, as current background, but there would be no way to set it again if he changed it without the original.
Sorry in advance to revive this thread but I just realized if you used the app from market called 'Wallpaper Set & Save" it has an option to save the current wallpaper, open it up and select the second option to get your wallpaper back.. This is exactly the solution to your issue.
prash said:
Sorry in advance to revive this thread but I just realized if you used the app from market called 'Wallpaper Set & Save" it has an option to save the current wallpaper, open it up and select the second option to get your wallpaper back.. This is exactly the solution to your issue.
Click to expand...
Click to collapse
I was going to suggest that as soon as I saw the thread title
I often use it when I'm too lazy to pull wallpapers from launcher.apk so I just set them and save them...
prash said:
Sorry in advance to revive this thread but I just realized if you used the app from market called 'Wallpaper Set & Save" it has an option to save the current wallpaper, open it up and select the second option to get your wallpaper back.. This is exactly the solution to your issue.
Click to expand...
Click to collapse
I've had this app save me dozens of times everytime i want to save a wallpaper from a specific update or theme. I think what loccy wants though is the wallpapers provided in the launcher.apk.
Wallpaper Set n Save will save your current wallpaper
http://www.androlib.com/android.application.com-android-wallpapersetandsave-jzt.aspx
I'm always looking for spoon-fed ways to do things....
I was wondering where they are, too. I keep getting the Cyanogen default as default after having flashed and reloaded the Advanced Launcher. I've put some big ones in there, and if those stay, I'm hogging up a lot of space.
Thanks all for the tips!

Probably the dumbest question of all time but here goes...

Can someone explain what the advanced launcher is? Maybe I am just confused by the options it provides. What does creating a submenu do? What is the application drawer (when I click on it, the screen is blank)? What does it mean by the number of home screens? Tray Launcher columns? I've been on XDA for a bit of time now but I've never understood the Advanced Launcher thing.
I can answer some of these for you.
Sub menu, in the app draw (the thing at the bottom that you slide up with all of you applications) instead of everything all listed you can make folders so they are grouped.
Home Screens when you swipe left and right how many do you want? default is 3 1 middle 1 left 1 right but you can have more.
Tray launcher columns, in the app draw when you open it up how many icons wide do you want? I think default is 4 but you can set it higher and the icons are smaller so more fit in the window.
staunty said:
Can someone explain what the advanced launcher is? Maybe I am just confused by the options it provides. What does creating a submenu do? What is the application drawer (when I click on it, the screen is blank)? What does it mean by the number of home screens? Tray Launcher columns? I've been on XDA for a bit of time now but I've never understood the Advanced Launcher thing.
Click to expand...
Click to collapse
It is the Homescreen on steroids. Submenu means in the app drawer you can have folders to categorize apps. The app drawer is the tab that you pull up to see your apps. It lets you have more than the default 3, I think it allows for up to 10. How many apps do you want going across in the app drawer, 3, 4, 5?
Ahhhh, I see. So basically its useless for my needs...How do I delete it? In applications -> manage applications, there isn't an option to uninstall. Thanks, guys.
staunty said:
Ahhhh, I see. So basically its useless for my needs...How do I delete it? In applications -> manage applications, there isn't an option to uninstall. Thanks, guys.
Click to expand...
Click to collapse
That's probably included by default. You can't delete it because I think there is no reg. homescreen included.
But if you want to try, then
rm /system/app/AdvancedLauncher.apk
I don't recommend it though
JAguirre1231 said:
That's probably included by default. You can't delete it because I think there is no reg. homescreen included.
But if you want to try, then
rm /system/app/AdvancedLauncher.apk
I don't recommend it though
Click to expand...
Click to collapse
I'm using Cyan 4.2.12.2 w/Darkstar .6.8 and I flashed the AL separately. I wanted to check it our but it sucks IMO (not the AL itself but it sucks for my needs).
While I have your attention, I have also gone to only FAT32 and Linux Swap partitions because I wanted to see if things run faster w/o A2SD. I was trying to do my partitions via ADB and only wanted to use a FAT32 because I think I read Cyanogen doesn't use swap. I got some sort of error but I was at work and couldn't really pay too much attention to the error. So, I formatted with 64 Linux-swap and the rest FAT32 just to get my phone functioning again. Soooo, my question is, should I just keep the swap there or should I try to get rid of it and use all 8GB for FAT32? Do I need to delete any user.conf's that may be lingering in there somewhere? Anything else I should pay attention to given that I don't have an ext partition right now? Again, thanks a lot for your help.
staunty said:
I'm using Cyan 4.2.12.2 w/Darkstar .6.8 and I flashed the AL separately. I wanted to check it our but it sucks IMO (not the AL itself but it sucks for my needs).
While I have your attention, I have also gone to only FAT32 and Linux Swap partitions because I wanted to see if things run faster w/o A2SD. I was trying to do my partitions via ADB and only wanted to use a FAT32 because I think I read Cyanogen doesn't use swap. I got some sort of error but I was at work and couldn't really pay too much attention to the error. So, I formatted with 64 Linux-swap and the rest FAT32 just to get my phone functioning again. Soooo, my question is, should I just keep the swap there or should I try to get rid of it and use all 8GB for FAT32? Do I need to delete any user.conf's that may be lingering in there somewhere? Anything else I should pay attention to given that I don't have an ext partition right now? Again, thanks a lot for your help.
Click to expand...
Click to collapse
Since it seems that it didn't work without swap I would keep it. It also helps if you ever want to use swap, then it doesn't require you to flash and reformat again

Uninstalling gmail and google calendar?

Anyone know if you can delete/uninstall the gmail and google calendar that gets installed on a rooted Nook wi NTGapps.
Just don't have any need to fit on my nook and would prefer not to have it in case my nook gets stolen or falls into the wrong hands.
sentur said:
Anyone know if you can delete/uninstall the gmail and google calendar that gets installed on a rooted Nook wi NTGapps.
Just don't have any need to fit on my nook and would prefer not to have it in case my nook gets stolen or falls into the wrong hands.
Click to expand...
Click to collapse
Download the app root browser (easiest way is to use the play website and 'push' it to your device - hopefully you will have set up a sync with your account?) , if not, search for the app root browser, navigate to system/app/ x , x is gmail.apk or calendar.apk. Next part took me a while to figure out, click the button on the toolbar like thing which says 'multi select' then select/highlight the ones you want to delete, then just click delete, you will find they are no longer existing XD. Alternatively rename them or disable (im not quite sure how that works), but deleting them means they are gone for good, look into deleting a lot of other apks too, like phone and camera, they just dont need to exist.
flobbadob said:
Download the app root browser (easiest way is to use the play website and 'push' it to your device - hopefully you will have set up a sync with your account?) , if not, search for the app root browser, navigate to system/app/ x , x is gmail.apk or calendar.apk. Next part took me a while to figure out, click the button on the toolbar like thing which says 'multi select' then select/highlight the ones you want to delete, then just click delete, you will find they are no longer existing XD. Alternatively rename them or disable (im not quite sure how that works), but deleting them means they are gone for good, look into deleting a lot of other apks too, like phone and camera, they just dont need to exist.
Click to expand...
Click to collapse
Thanks or the advice. Managed to delete loads of apps like google talk a d phone app that have no use at all on the NSTG.
sentur said:
Thanks or the advice. Managed to delete loads of apps like google talk a d phone app that have no use at all on the NSTG.
Click to expand...
Click to collapse
Just a couple things from experience, if you delete a couple things you might not have wanted to (i sure did XD) , latinime.apk is the keyboard, so leave that alone. Library you can get rid of, i found a much better version of the library that some dude (cannot remember the thread) had made, if you want that i can upload it or just find the thread again.
I generally just googled some of the things i was unsure about removing, or just copied them over to somewhere else then deleted them to see if nothing broke XD.
flobbadob said:
Just a couple things from experience, if you delete a couple things you might not have wanted to (i sure did XD) , latinime.apk is the keyboard, so leave that alone. Library you can get rid of, i found a much better version of the library that some dude (cannot remember the thread) had made, if you want that i can upload it or just find the thread again.
I generally just googled some of the things i was unsure about removing, or just copied them over to somewhere else then deleted them to see if nothing broke XD.
Click to expand...
Click to collapse
If you could send me that link to the alternative library that would be amazing. What's the major difference between it and the stock B&N one that makes it so much better?
sentur said:
If you could send me that link to the alternative library that would be amazing. What's the major difference between it and the stock B&N one that makes it so much better?
Click to expand...
Click to collapse
it fits way more books on a screen, and you can also filter by name, last read, series, author etc,
this is the site http://www.temblast.com/android.htm , its library.apk, try it out, see what you think, what ive done is mapped the n button to open library, so i can easily switch to library from the relaunch/launcher.
full credit to renate nst who made this library app, its pretty good.
I use to remove system applications SystemApp Remover. He is able to delete, make backups and freeze the application.

4.4.2 BloatWare

Has anyone noticed how much they have moved it around. I mean not only is it in /data/data/ /data/etc/ /system/app/ and other places, they now put in /system/priv-app/ and others. They are really trying to hide it this time lol. I was think of putting a new list together if people are interested.
I do a lot of traveling, so it may take a few day before I can sit down to complete it.
Sezmar said:
Has anyone noticed how much they have moved it around. I mean not only is it in /data/data/ /data/etc/ /system/app/ and other places, they now put in /system/priv-app/ and others. They are really trying to hide it this time lol. I was think of putting a new list together if people are interested.
I do a lot of traveling, so it may take a few day before I can sit down to complete it.
Click to expand...
Click to collapse
I'd love to see a list of where they put the bloatware and if possible a list of anything that you have removed without causing any issues. Thanks for your work on this!
I vaguely recall reading an article or press release/quote that samsug had heard consumers and are scaling back on bloat with less forced installs on the S5. It seemed like shortly after that, new apps started appearing on my phone, as if to ratchet it up on S4 users...
In any case between Samsung, Google and Sprint I have over 40 apps disabled/frozen or uninstalled. It's beyond ridiculous at this point.
what's everyone using to freeze, I'm trying to avoid having to rename them all to .bak or straight up deleting.. titanium? or something else..
ekz13 said:
what's everyone using to freeze, I'm trying to avoid having to rename them all to .bak or straight up deleting.. titanium? or something else..
Click to expand...
Click to collapse
I just delete, remember some of the bloat is in /system/priv-app/
use your recovery choice to make a backup to your sd card
ekz13 said:
what's everyone using to freeze, I'm trying to avoid having to rename them all to .bak or straight up deleting.. titanium? or something else..
Click to expand...
Click to collapse
Could just disable the app in the app manager, quite a few allow it, those that don't can just change to.bak. That way if something is not working you can enable things later if something is misbehaving.
From my experience, it would appear that items in /system/app can be disabled through app manager, but not in /system/priv-app. I lasted maybe a week on the stock ROM and then flashed Cyanogenmod, so I don't know exactly if that's true or not.
You might want to check out this thread as it has given you a good head start, but it just doesn't include the sprint bloatware. I'd be interested to know what sprint specific apk's can be removed from stock NAE without messing up any of the network stuff.

Removed Calendar Storage, Titanium Backup Restore hangs... Share a file with me?

Yes, yes, I feel stupid, but I figured I had a backup so... Already searched for a few hours for ways to get Titanium Backup to stop hanging on restore, I've tried everything and I've pretty much given up. I have the files Titanium backup created if anyone knows how I can manually install them.
Otherwise it would be awesome if someone could link me to "Calendar Storage 4.4.2-N900AUCUCNC2". I've scoured the Internet already, and I'm fairly certain it's not online. If someone could pull it off your phone and post it for me, it would save me a ton of time. I might just have to live without a calendar if not, going to have revert to stock to retrieve it and I'm not sure I have the patience. Maybe a backup made with ES File Explorer would work? IDK
Thanks!
I just happen to have a spare Note 3 running 4.4.2, i extracted the apks from it, hopefully one of these solves the problem
Thanks! I'd be embarrassed to reveal how long I've spent today trying to fix this problem, you're a life saver! Definitely not going to put much faith in Titanium Backup again, although it seems to work great for a lot of people.
Hopefully if anyone else has the same problem, they'll stumble upon this thread.
timark251 said:
I just happen to have a spare Note 3 running 4.4.2, i extracted the apks from it, hopefully one of these solves the problem
Click to expand...
Click to collapse

Categories

Resources