While I wait to find someone who knows the answer to my other question.
forum.xda-developers.com/showthread.php?t=764260
I thought I would ask another re: the memory. I have an 8Gb with a class 6 16Gb external. When I install apps they always put their data on the internal 8Gb. Is there any way to change this and if not what would happen if I just cut and pasted it all there?
if you cut and pasted the data from /sdcard im pretty sure your apps would run fine and re-create the data as its needed, as most of this data ie for games, is savegame data and resources.
After coding an audio recorder myself im pretty sure the location where this data is stored will be coded into most apps, well thats what i did, and most if not all apps unless they allow you to change the string variable as an option, will use the internal SD because some people might not use an external. So imo it depends on the app
Also if you have rooted your device and have root explorer you will see that infact, most of the applications data from installation is not on the sdcard at all
Also if you have rooted your device and have root explorer you will see that infact, most of the applications data from installation is not on the sdcard at all
Click to expand...
Click to collapse
Go on enlighten me.You know you want to
hey there. i need somehelp regarding mobile data connection
i'm currently not subscribing to any data plan, but i really wanna use Whatsapp on my phone. is there anyway of disabling other apps or system from using data connection?
my point is that is there anyway of allowing onlyy Whatsapp to use my data plan, and suppressing the other apps or system apps?
dorawan89 said:
hey there. i need somehelp regarding mobile data connection
i'm currently not subscribing to any data plan, but i really wanna use Whatsapp on my phone. is there anyway of disabling other apps or system from using data connection?
my point is that is there anyway of allowing onlyy Whatsapp to use my data plan, and suppressing the other apps or system apps?
Click to expand...
Click to collapse
Yes that can be done by using netfilter...
But I recommend you not to use that for blocking the system apps because the system apps use only 10 to 20 kb of data.
i.e. checking for updates , refreshing widgets etc.
Press thanks if I helped
thanks man for the suggestion.
i was thinking of blocking everthing, except for whatsapp. is it possible? for the other stuff, like updates i can do it manually when i'm using my wifi. as for widgets, i'm not using any widgets that need connection (i.e weather, email)
is that okay if i disable everything except for whatsapp?
i'm sorry, but how to do netfilter? i tried searching the market, but no luck so far
dorawan89 said:
i'm sorry, but how to do netfilter? i tried searching the market, but no luck so far
Click to expand...
Click to collapse
"netfilter" isn't a downloadable app but a kernel module.
In other words - "netfilter" is a subsystem for Linux to enable iptables firewalling functionality.
Once you install the module you can, for example, make use of DroidWall.
hey thanks for the reply. that cleared so much to me.
i've installed the apps. and i understand that the apps will not work without the module. so i tried installing the module.
I'm rooted, and i've placed the necessary files to it's respective location, but when I ran "chmod +x /system/xbin/iptables" i get this answer:
"iptables is a read-only system files"
what did i do wrong?
I have heard a few times around here that you should not use titanium backup to restore app data when upgrading to ics from gingerbread. There are however, a few apps which I really need to keep the data from. Is there any way to manually transfer data from gingerbread to ics without transferring any system data that would screw with ics?
thekalby said:
I have heard a few times around here that you should not use titanium backup to restore app data when upgrading to ics from gingerbread. There are however, a few apps which I really need to keep the data from. Is there any way to manually transfer data from gingerbread to ics without transferring any system data that would screw with ics?
Click to expand...
Click to collapse
Are you talking about system apps or user apps?
lmftmf said:
Are you talking about system apps or user apps?
Click to expand...
Click to collapse
User apps.
thekalby said:
User apps.
Click to expand...
Click to collapse
Shouldnt be a problem to restore user apps. The app stores data on the same partition and in the same way regardless of the rom.
lmftmf said:
Shouldnt be a problem to restore user apps. The app stores data on the same partition and in the same way regardless of the rom.
Click to expand...
Click to collapse
While that is true, some (read: VERY FEW) apps do crap out between versions, in which there is no alternative except to clear the app's data. You can do this on an app-by-app basis in the applications menu or through TiBU.
You shouldn't need to do this unless the app force-closes on opening or something of the like. I'd always maintain a backup of your user data through either TiBU, CWM or MyBackup every month or so. Also, Google does support data backup through the Play Store if you've enabled the options in your Settings -> Privacy menu, but I wouldn't hinge on that fact, and I know cases where it didn't work for me.
Aus_Azn said:
While that is true, some (read: VERY FEW) apps do crap out between versions, in which there is no alternative except to clear the app's data. You can do this on an app-by-app basis in the applications menu or through TiBU.
You shouldn't need to do this unless the app force-closes on opening or something of the like. I'd always maintain a backup of your user data through either TiBU, CWM or MyBackup every month or so. Also, Google does support data backup through the Play Store if you've enabled the options in your Settings -> Privacy menu, but I wouldn't hinge on that fact, and I know cases where it didn't work for me.
Click to expand...
Click to collapse
Don't you just love when technology malfunctions and you lose important stuff.
Hey,
Has anyone ever looked into how the Whatsapp Backup is stored? It can be used after reinstalling the app, but not after hard resetting/flashing/etc. So it should be stored on the phone, but not the normal isolated storage of the app since I can reinstall it and use the backup then.
Is there special access necessary or could other apps also access (and modify/export) this backup? I'm asking this because I hope to find a way to make a backup that really is useful, I almost only write via whatsapp because SMS cost way more than internet here. Thanks!
why do you think whatsapp isnt useing isolated storage? shure it is, but you still cant access it - unless you have a interopt unlocked device
the reason you can restore, is that the app id stays the same.. you could try to deploy an older (uncrypted) whatsapp xap to your phone, if the app id still stays the same (and im not shure it does! actually i think it doesnt..) you would gain access... again, thats total theory! i havent tryed this, and it has propably the potential to mess up your backup...
maybe GoodDayToDie has some more info about the app-id thing.. i'll also do a quick research
tfBullet said:
why do you think whatsapp isnt useing isolated storage? shure it is, but you still cant access it - unless you have a interopt unlocked device
the reason you can restore, is that the app id stays the same.. you could try to deploy an older (uncrypted) whatsapp xap to your phone, if the app id still stays the same (and im not shure it does! actually i think it doesnt..) you would gain access... again, thats total theory! i havent tryed this, and it has propably the potential to mess up your backup...
maybe GoodDayToDie has some more info about the app-id thing.. i'll also do a quick research
Click to expand...
Click to collapse
Thanks for the reply! I din't know files in the isolated storage keep being there after you uninstall the app..
I tried deploying an old Version (1.4) of Whatsapp and it replaced the current one, so it should use the same app id. I didn't find anything in the isolated storage, but the backup is still there when I reinstall it from the store. I'll try launching the deployed app first now.
have you checked out the IsolatedStorageSettings?
Let me have a quick look where this thing is on my harddrive... when i find it, i'll be able to tell you where / how it saves the backup
tfBullet said:
have you checked out the IsolatedStorageSettings?
Let me have a quick look where this thing is on my harddrive... when i find it, i'll be able to tell you where / how it saves the backup
Click to expand...
Click to collapse
Nope, I have no real clue how to do that, the only thing I can is deploying apps and watching their isolated storage thanks!!
they used "messages.sdf" & "contacts.sdf" before, but then at some version they started to migrate this files into a database.. not shure where it gets stored, or if you can access it with simply browsing the IsoStoreage... ill make a quick test project to test out how or if we could access it..
EDIT: actually i was talking **** the .sdf files are already databases, and the data still resides there... and forgot to mention: even if you couldn't see the database files, you should see the user-picture thumbnails that reside in "cphotos/" + some-sha1-hashed-userinfo...
IsoStore is cleared when an app is uninstalled. So far as I know, this is instant, as part of the app removal process, although I suppose I haven't actually checked that. However, apps can (and many do) implement a backup situation to cover this use case by using a unique identifier that survives a re-install. There are several places such IDs can come from. Since the one you have survives app installs but *not* OS reflashing (even though you presumably sign on with the same Live ID afterward), I'm guessing it's a value that uniquely identifies your OS install and is randomly generated the first time the OS boots. Re-flashing counts as a new install, I guess.
I'd have to investigate further to be sure. There could be other mechanics at play, such as the OS keeping the data around for a short time in case you re-install the app, or the app storing its data in some other (off-phone) location. It's not storing it in some special folder within the phone, though; there's nowhere else it could!
Backup history with Whatapp on Android. Then check the backup file on:
/sdcard/WhatsApp/Databases/msgstore.db.crypt
Or
/data/data/com.whatsapp/databases/msgstore.db and wa.db (root)
Coweri said:
Backup history with Whatapp on Android. Then check the backup file on:
/sdcard/WhatsApp/Databases/msgstore.db.crypt
Or
/data/data/com.whatsapp/databases/msgstore.db and wa.db (root)
Click to expand...
Click to collapse
Sorry, but this is Windows Phone, not android..
@GoodDayToDie so, there is no simple way like deploying an app with the same ID and trying to access the backup with it?
Since the data would have been deleted when the old app was removed (and since you can't sideload an app with the same Product ID as an existing Store app), no, that won't work (well, it didn't in WP7; I guess you could try again here; some things are somewhat less secure now than before).
th0mas96 said:
GoodDayToDie so, there is no simple way like deploying an app with the same ID and trying to access the backup with it?
Click to expand...
Click to collapse
Wait for a interop-unlock... thats the way to go in this case.
Until then, you can send your conversations to yourself by mail (option form the context menue)
GoodDayToDie said:
IsoStore is cleared when an app is uninstalled. So far as I know, this is instant, as part of the app removal process, although I suppose I haven't actually checked that. However, apps can (and many do) implement a backup situation to cover this use case by using a unique identifier that survives a re-install. There are several places such IDs can come from. Since the one you have survives app installs but *not* OS reflashing (even though you presumably sign on with the same Live ID afterward), I'm guessing it's a value that uniquely identifies your OS install and is randomly generated the first time the OS boots. Re-flashing counts as a new install, I guess.
I'd have to investigate further to be sure. There could be other mechanics at play, such as the OS keeping the data around for a short time in case you re-install the app, or the app storing its data in some other (off-phone) location. It's not storing it in some special folder within the phone, though; there's nowhere else it could!
Click to expand...
Click to collapse
GoodDayToDie, any news about this Whatsapp backup feature in Windows Phone? Is it possible to utilize this feature as an "ordinary" developer?
I would have to reverse engineer the app to see how its backup feature works. The most likely explanation - that it's storing the backup "in the cloud" using the device ID (which resets when you do a hard reset, I think) - is easily possible for any app so long as you provide the storage space...
GoodDayToDie said:
I would have to reverse engineer the app to see how its backup feature works. The most likely explanation - that it's storing the backup "in the cloud" using the device ID (which resets when you do a hard reset, I think) - is easily possible for any app so long as you provide the storage space...
Click to expand...
Click to collapse
That could be an explanation. But then the Whatsapp developers could easily offer a full backup, as on other platforms, linked to the phone number or something. Then you could restore the messages even after a phone exchange. But who knows what's in their heads ...
GoodDayToDie said:
I would have to reverse engineer the app to see how its backup feature works. The most likely explanation - that it's storing the backup "in the cloud" using the device ID (which resets when you do a hard reset, I think) - is easily possible for any app so long as you provide the storage space...
Click to expand...
Click to collapse
Nope, it doesn't seem to be online.. it backups pretty big chats extremely fast with 2 bars of GPRS, so it can't be via internet.. it even backups without connection at all. That's the weird thing.. how are apps even allowed to store files that keep being there after an uninstall?
There are a couple really sneaky ways you could do that; one that comes to mind is creating a fake "image" or "ringtone" or similar, serializing the data to it, and then looking for it the "first" time the app is run after installing. However, I'm definitely more curious now. There are folders which apps can request permissions to write to, but usually that's a trick limited to "second-party" apps (OEMs, etc.) and prohibited for third parties.
I've already looked into the code, as far as i can tell there is no online backup feature. it just stores the conversations in a database.
And to answer yout question schluff: no there is absolutley no way the usual developera to utilize this.
btw: @GoodDayToDie could you provide us the newest WhatsApp XAP (2.11.312.0)?
When I get the chance to extract it of my computer, yeah. It's really hard to get full FS access working these days, so I'm looking into other ways to access the install folders and storage of other Apps.
here you go
edit: I've changed nothing, so it's the whole install folder in this zip file
Thanks for the extraction! Obviously, I can't do anything with it
However, if anyone is interested in this too, in the following versions it seems to backup to the SD card, at least @Nazwzil8 reported so at twitter: https://twitter.com/Nawzil8/status/410486248156172288 he reported a lot about whatsapp, he seems a legit beta tester.