Install 2 APP equal but changing name - Asus Transformer TF700

I would like to install 2 app skydrive with user data as different as I do?
Sometimes I happened to update an app and find myself two will look exactly alike, but installed 2 times

You might make your first install a system app with for example Titanium Backup, and then install it anew to make a user app version. I could see problems with the data being shared (thus enabling only one account), but you could try. Also, this will happen if one of the two has been signed differently, after which the system sees them as two different applications.

Thanks for the advice.
Can you show me the way to create user app through titanium backup?

MarkAndroid said:
Thanks for the advice.
Can you show me the way to create user app through titanium backup?
Click to expand...
Click to collapse
Make sure any filters have been disabled, long-press on the system app (skydrive, in this case), select (I believe) the second to last option ("Convert to user app"). The system app wil convert to a user app, and you might be able to then reflash the base ROM to reinstall the system app, or rip the apk out with Total Commander (there's an option called "Installd apps" on the main page) and set it up in the system app folder (I forgot which one that was, will look it up). If you're not too far from clean, a reflash might be less troublesome.
EDIT: verified to be /system/app/ -- didn't know for sure if this was the same as on ICS. </noob mode>

I can not flash or restore the original rom because I'm afraid of losing root.
Do I have to reflash a rom to put 2 apk?
I was thinking ...
If I create two google account and one I install with an account xxx and the other account yyy might work?

You could probably get away with unpacking the app, tweaking the manifest to change the app name, then repackaging. Essentially, different names and signatures on the app would prevent one from overwriting the other...

MarkAndroid said:
I can not flash or restore the original rom because I'm afraid of losing root.
Do I have to reflash a rom to put 2 apk?
I was thinking ...
If I create two google account and one I install with an account xxx and the other account yyy might work?
Click to expand...
Click to collapse
No, the latter option will just install the application as a user-app, and if you already have a user app, this will only overwrite your first installed copy (keeping the settings, fortunately).
If you want a user app AND a system app, you'll either have to reflash or copy it over by hand, as I already told you above. The only other option is in the end far more sustainable (although it will break Market updates for obvious reasons):
danger-rat said:
You could probably get away with unpacking the app, tweaking the manifest to change the app name, then repackaging. Essentially, different names and signatures on the app would prevent one from overwriting the other...
Click to expand...
Click to collapse
Yes, this would most definitely work. I strongly doubt if this is technically feasible for the OP at this moment in time, however -- no offence meant.

danger-rat said:
You could probably get away with unpacking the app, tweaking the manifest to change the app name, then repackaging. Essentially, different names and signatures on the app would prevent one from overwriting the other...
Click to expand...
Click to collapse
What program can I use to do this?

apktool would probably be a good place to start...

I try. THANKS

Related

Market related question

Hello peeps,
Wanted to know,
If we install some app using the .apk file from our computer.
Can we get them into the market
Coz, i'd like to know whether they got an update or something, and would like to update the app.
Thanks.
shalin99 said:
Hello peeps,
Wanted to know,
If we install some app using the .apk file from our computer.
Can we get them into the market
Coz, i'd like to know whether they got an update or something, and would like to update the app.
Thanks.
Click to expand...
Click to collapse
Actually u have to integrate/connect them with market. Use tit backup app. Long press on app that u want to link with market. Then choose 'attatch to market (forced)' option. Its so simple.
vishal24387 said:
Actually u have to integrate/connect them with market. Use tit backup app. Long press on app that u want to link with market. Then choose 'attatch to market (forced)' option. Its so simple.
Click to expand...
Click to collapse
Haha, dude, i tried that.
Didnt work. That's the reason I made this post.
shalin99 said:
Haha, dude, i tried that.
Didnt work. That's the reason I made this post.
Click to expand...
Click to collapse
is apps are cracked or normal market apps?
i use appbrain app for updating purposes. its there in the market
vishal24387 said:
is apps are cracked or normal market apps?
Click to expand...
Click to collapse
few are normal apps, few are the cracked ones.
better not try with anything cracked.
when you install an app from your computer in apk format, you should also be connected to wireless, in case something else gets installed at that time and stored in the apps files. most likely ripping an app from system or data will cause it to not have something the creator intended, which is why tying it to the market doesn't work... if you want to check for updates, then check for updates. if there's a more recent version, try installing the update over the old one. if it doesn't work, then copy all of the app data manually (go to /data and copy the folders for that app), then install the updated app, open it, close it, then replace all data with the one you copied.
supergaijin said:
better not try with anything cracked.
when you install an app from your computer in apk format, you should also be connected to wireless, in case something else gets installed at that time and stored in the apps files. most likely ripping an app from system or data will cause it to not have something the creator intended, which is why tying it to the market doesn't work... if you want to check for updates, then check for updates. if there's a more recent version, try installing the update over the old one. if it doesn't work, then copy all of the app data manually (go to /data and copy the folders for that app), then install the updated app, open it, close it, then replace all data with the one you copied.
Click to expand...
Click to collapse
oh okay.
Anyway mate, the Titanium backup method works.
It doesn't show the apps in my MY APPS in the market, but we can watch/update them from Titanium backup itself.
Thanks anyway.

[Q] YouTube OFF?

Hi Guys,
Every ROM I flash I try to Freeze/Uninstall and remove from Boot Many, the YouTube App.
I don;t use it ever, but even if it says freezed successfully it still comes back after reboot.
What's so special about it and will it creat a problem if I delete it and main question is how?
Thank you
odeccacccp said:
Hi Guys,
Every ROM I flash I try to Freeze/Uninstall and remove from Boot Many, the YouTube App.
I don;t use it ever, but even if it says freezed successfully it still comes back after reboot.
What's so special about it and will it creat a problem if I delete it and main question is how?
Thank you
Click to expand...
Click to collapse
In my other android device experience, Nook Color / Simple Touch, YouTube is instrumental in the Google Apps authentication process. For instance to get market working on nooted versions of those devices you had to sign into YouTube first.
Why are you trying to get rid of it?
promiseofcake said:
In my other android device experience, Nook Color / Simple Touch, YouTube is instrumental in the Google Apps authentication process. For instance to get market working on nooted versions of those devices you had to sign into YouTube first.
Why are you trying to get rid of it?
Click to expand...
Click to collapse
Never used it, if I need to I can view it in the brother. Just another app that loads up on boot and sits there using the battery
odeccacccp said:
Never used it, if I need to I can view it in the brother. Just another app that loads up on boot and sits there using the battery
Click to expand...
Click to collapse
Fair enough. Why don't you give it a try? Make a nandroid backup and then delete the file via ADB in recovery mode (or move it to /data/local/tmp for easy restore). Clear Cache / Dalvik reboot and see if anything isn't working properly.
I would say you can delete via ADB in ICS but many people, myself included, are having issues mounting /system in ICS. It could be possible that this failure for /system to consistently mount could be why TiBu isn't freezing it properly.
Use root uninstaller, its how I have removed all system apps since my gb 2.3.1 days on my x10. A very effective method
Thank you for responces.
The proper way I found would be to transfer it to a User App and uninstall.
odeccacccp said:
Thank you for responces.
The proper way I found would be to transfer it to a User App and uninstall.
Click to expand...
Click to collapse
Just delete the .apk before you even put the zip on your phone
xcrazydx said:
Just delete the .apk before you even put the zip on your phone
Click to expand...
Click to collapse
What do you use to modify and save zip's, just WinRar will do?
odeccacccp said:
What do you use to modify and save zip's, just WinRar will do?
Click to expand...
Click to collapse
I use 7zip. open the archive and delete it, or add whatever .apk you desire. I always do this before I even flash a rom. Winrar should work fine, though.

[Q] Saving game progress (full unlock)

Is there is a way to store the progress of a game (full unlocked) and restore it after flashing/etc?
ombadboy said:
Is there is a way to store the progress of a game (full unlocked) and restore it after flashing/etc?
Click to expand...
Click to collapse
Well... You could use an app that tells the game's name and its id (i.e. 1ccc6b7a-4985-4eb9- etc etc), like app Siege.
Since this id is also the directory's name, you could use a file explorer (i.e. wPhoExplorer) to loo into it (you will find it in \Applications\Data\1ccc6b7a- etc etc).
I think that the progress should be stored their.
Then you can use a backup application like WPV App Data Backup and you should get back your progress.
I have to be honest: each time I changed a new custom ROM, I never got back my Bug village progress....... Don't know wether this backup works only for sideload app or not...
lordmago said:
Well... You could use an app that tells the game's name and its id (i.e. 1ccc6b7a-4985-4eb9- etc etc), like app Siege.
Since this id is also the directory's name, you could use a file explorer (i.e. wPhoExplorer) to loo into it (you will find it in \Applications\Data\1ccc6b7a- etc etc).
I think that the progress should be stored their.
Then you can use a backup application like WPV App Data Backup and you should get back your progress.
I have to be honest: each time I changed a new custom ROM, I never got back my Bug village progress....... Don't know wether this backup works only for sideload app or not...
Click to expand...
Click to collapse
So I guess you tried backing it up and restoring it and it didnt work?
ombadboy said:
So I guess you tried backing it up and restoring it and it didnt work?
Click to expand...
Click to collapse
I have sms backup application and I could get back my sms...
But about that game, each time I started again from zero...
I just had a look to Bug village directory and, in its root direcotry, I found the following 4 files with two dates 08/04/2012: they're gameset.dat, _ApplicationSettings, save.dat, questSave.dat...
I leave the word someone who is deeper than me into WP7...
I managed to completely restore my progress in feed me oil using Isolated Storage Explorer..
ombadboy said:
I managed to completely restore my progress in feed me oil using Isolated Storage Explorer..
Click to expand...
Click to collapse
Good to hear that!
i cant find this app anywhere..can u post a link please
lordmago said:
Good to hear that!
Click to expand...
Click to collapse
rokyrakoooon said:
i cant find this app anywhere..can u post a link please
Click to expand...
Click to collapse
use wmdc launch from ultrashot...you'll be able to browse your device isolated storages and backup all your games progressions & app settings
& use appSiege to find particular xap IDs (copying everything from iso.storage is simply useless...)

[Q] hard reset proofing apps

I have an app on my phone that I want to hard reset proof not just the apk (which ive already done) but the settings also. ive tried using root explorers and changing the permissions for the /data/data folders but that doesnt help, ive tried converting the user app to a system app AFTER I set up all my options, hoping that would save all my settings, and I tried changing the permissions of my "system" app to prevent any changes. no luck. ive been researching like crazy and I hope im not posting in the wrong forum but can someone explain how to make my app and its settings master reset proof? thanks a bunch!
btw I have a rooted tmobile samsung galaxy s3 (sgh-t999) with the latest android (4.1.1 using the root66 rom), with supersu and busybox if that helps. and if it works for my s3, would the same steps work on my note 2?
Are you putting your app into /system/app ?
Hmm ...
careenprokop85 said:
...
btw I have a rooted tmobile samsung galaxy s3 (sgh-t999) with the latest android (4.1.1 using the root66 rom), with supersu and busybox if that helps. and if it works for my s3, would the same steps work on my note 2?
Click to expand...
Click to collapse
Have you tried in app info -> clear data? (also clear cache).
xclub_101 said:
Have you tried in app info -> clear data? (also clear cache).
Click to expand...
Click to collapse
Yes I have but why would I want that? I want to save the current settings not clear them
[email protected] said:
Are you putting your app into /system/app ?
Click to expand...
Click to collapse
yes the app is in my system/app and it does survive a master reset but the settings of the app don't. Would I have to build a custom rom after installing the app and getting the settings all set how I want? Then If it's master reset it should save the settings, right?
careenprokop85 said:
yes the app is in my system/app and it does survive a master reset but the settings of the app don't. Would I have to build a custom rom after installing the app and getting the settings all set how I want? Then If it's master reset it should save the settings, right?
Click to expand...
Click to collapse
Normally Android keeps app data under /data/data.
When you commit a hardreset, /data gets wiped. So all your app data gets removed.
You have to keep your app data under /system if you are the developer of that app
careenprokop85 said:
Yes I have but why would I want that? I want to save the current settings not clear them
...
Click to expand...
Click to collapse
OOPS. my mistake, I only read hard-reset, not the entire hard-reset-proof :
[email protected] said:
Normally Android keeps app data under /data/data.
When you commit a hardreset, /data gets wiped. So all your app data gets removed.
You have to keep your app data under /system if you are the developer of that app
Click to expand...
Click to collapse
but wouldnt that folder then need to be moved back to data/data after the master reset for it to work correctly?
careenprokop85 said:
but wouldnt that folder then need to be moved back to data/data after the master reset for it to work correctly?
Click to expand...
Click to collapse
Depends on who the developer of that app is.
If it's not you, yes you have move that folder after every hardreset.
If it's you, I suggest you to use /system as your app data folder.
unfortunately I'm not the apps developer. However, if I created a custom rom by installing whatever room I wanted, then setting up the app as I want it, then creating a custom rom from that, then flash it, would that solve the problem? Because (if im understanding things right lol) then someone could matter reset it and it would revert to how the chain rom was when I flashed it, correct?
Suppose I am the developer of the app.
How do set App Data folder to System?
SandeepEmekar said:
Suppose I am the developer of the app.
How do set App Data folder to System?
Click to expand...
Click to collapse
I'm already using a hardreset proof app on my note 2. It uses /etc folder to keep its app datas in a file. After hardreset it detects its data folder wiped, then restores settings from the backup file under /etc.
Of course your program will need root permission to do that.
[email protected] said:
I'm already using a hardreset proof app on my note 2. It uses /etc folder to keep its app datas in a file. After hardreset it detects its data folder wiped, then restores settings from the backup file under /etc.
Of course your program will need root permission to do that.
Click to expand...
Click to collapse
Can you give me the source code?
SandeepEmekar said:
Can you give me the source code?
Click to expand...
Click to collapse
Where did I say I'm the developer of the App?
[email protected] said:
Where did I say I'm the developer of the App?
Click to expand...
Click to collapse
LOL
I knew.
What's the name of the App you are using.
SandeepEmekar said:
LOL
I knew.
What's the name of the App you are using.
Click to expand...
Click to collapse
Avast Anti Theft
Init.d script to link /system/data/some.app to /data/app-data/some.app
Put apk to /system/app
This should work
GR0S said:
Init.d script to link /system/data/some.app to /data/app-data/some.app
Put apk to /system/app
This should work
Click to expand...
Click to collapse
can u describe how to do this in a bit more detail? Because I have an apk that I was able to put into the system/app folder, but would LOVE to save the settings so they are master-reset proof. I've contacted the developer but he was a bit of a jerk actually, saying I shouldn't need any reason to hard reset proof the apk..... ugh
From my experience, the avast! anti-theft app consist of 2 hard-reset proof part:
1. APK file in /system/app
2. Setting file (data) in /etc
Both survived hard reset...
The only way to get rid is via Aroma File Manager or flashing ROM.
Get titanium backup, backup all data of the app, and install the update. Then put the data back, if im correct settings would be copy pasted to this way. I use it for many system apps to get data back.
send from another universe, made possible by xda
If you are willing to learn how to script... it's all possible
I have done this before...
Use busybox commands...
Make a backup script that would back up all the user data in tar file.
Make a backup of apps you like to be restored on first boot of any rom.
on first boot let the script install the backed up apps, after install see if data exist for the package you just installed, get permission/owner of the package, restore data and apply permission to data.
i think is the basic
attached are the scripts i used to make this work on android 2.1
i even made a custom progress bar lol that used bootanimation as base...
.... copies custom bootanimation on start
.... copies custom boot sound...
.... restores wifi settings...
.... played music while restoring....
.... uses logcat as primary logging...
i am not sure if these scripts are the latest ones... but they worked at some point...
all was done in here...
http://forum.xda-developers.com/showthread.php?t=1465866
have fun...

[APP][ROOT][3.0+] Backup2Tar v0.1 Flashable App+Data Backup using Tar.

Backup2Tar is a Free backup tool that I created to help restore my apps after flashing a new rom.
How it works :
Select which apps to backup from the UI
The app generates a tar file on your sdcard (update.tar.gz) with the package files and data.
Finally, the app will generate restore_tar.zip which contains busybox and a small shell script to find update.tar.gz and extract it.
As of right now it's a very simple app, there are no options at all and I made it for personal use and to (re-)learn Java.
FAQ :
Why tar?
because it's the standard archive format on Linux, preserves permissions and user information.
But all the cool kids use zip files.
Yes, sure you can hack a nice updater-script to fix permissions on all files, but it's bound to screw up permissions some way or the other, specially with apps that have executable files in their /data/data/.
Your icons suck
Feel free to create new icons for the app and I will gladly use them.
Is there anyway to help?
Provide me with ideas, ways to improve it, better artwork and feel free to donate!
TODO :
Toggle saving apps' data and/or cache.
Store other important settings (wifi, gps, etc).
Clean up the source code and publish it.
Tested Devices :
N7000 (running 4.1.2 / Phillz Kernel).
Rooted 3.0.0, 4.0.3, 4.2.2 Android emulators (tested using update-binary, not from recovery).
All comments / suggestions are welcome.
Changelog :
v0.1
Initial alpha release.
Sounds useful, downloading now. Thanks!
Sent from my SGH-I897 using XDA
Will this backup my paid apps or only non "protected" apps?
famewolf said:
Will this backup my paid apps or only non "protected" apps?
Click to expand...
Click to collapse
I'm not sure, I don't have any protected apps at the moment to try with.
If you can test and report back it would be great.
The app copies /data/app/xxx.apk and /data/data/xxx, so if the protected files aren't in /data/data they won't be copied.
life.eq.null said:
I'm not sure, I don't have any protected apps at the moment to try with.
If you can test and report back it would be great.
The app copies /data/app/xxx.apk and /data/data/xxx, so if the protected files aren't in /data/data they won't be copied.
Click to expand...
Click to collapse
I'll see if I can get some time to install and try it.
Have you considered adding /system/app and it's associated data to the list? An app might be included in one rom and not in another so I'd still want the ability to back it up even if it has to back it up to /data
Also I didn't see it in the screenshots but if not there a single checkbox to backup ALL apps in list would be highly useful rather than having to click all of them.
You can backup system apps as well.
I found a bug in restoring, some apps won't restore right without "reinstalling" using the package manager, gonna try to figure out how to call the package manager from recovery.
Workaround to fix the apps that aren't working after restoring is to use adb shell.
PHP:
$ adb shell
$ su
# tar tzf /sdcard/update.tar.gz | grep data/app/ | while read APK; do pm install -r "/$APK"; done
This basicly will use the package manager to "properly" install all the apk.
I will release a fixed version later today.
I will add check-all option as well, I'm still getting the hang of action bars and such.
does this script preserve "move to sd" location? i mean, i used a lot "move to sd" standard android function, to move many big apps to sdcard/.android_secure folder... of course, none of the those that use widgets...
i found that restoring with titanium backup does not preserve this: if i batch restore my apps, it fills up my internal memory (samsung note n7000), and i've to move a bunch of them to sd before redoing restore of the remaining ones... very boring...
is there a way to restore apps EXACTLY in the same location where they were when backupped? thanks
Is it possible to backup the whole ext partition as well? As Im using Link2Sd and to restore it quite tedious. My apps + games are out of the internal space.. So, I extend using ext partition.
Can we flash the backup to stock unrooted rom ,from the stock recovery??
Sent from my GT-I9070 using xda premium
no answers in days from the developer to a fresh project... then no development at all? hope not...
mrshark said:
no answers in days from the developer to a fresh project... then no development at all? hope not...
Click to expand...
Click to collapse
You posted your original question late on the 28th and this most recent complaint early on the 30th at least by my timezone....perhaps you have an unreasonable expectation as to how soon he needs to respond to you.
famewolf said:
You posted your original question late on the 28th and this most recent complaint early on the 30th at least by my timezone....perhaps you have an unreasonable expectation as to how soon he needs to respond to you.
Click to expand...
Click to collapse
3 weeks is enough?

Categories

Resources