Related
I found that [email protected]'s ROM had a good idea of adding WaveSecure to the system partition (preventing listing in the My Downloads part of market, and preventing uninstallation through normal means), but his version is slightly out of date now (latest version is 3.0.0.43)
As a result, I set about finding a means to install WaveSecure to ROM myself. Here are my findings for anyone interested in doing the same.
Install the latest version from the market (3.0.0.43 at this time). Now use adb pull to get it off the device onto your pc
Code:
adb pull /data/app/com.wsandroid.apk D:\com.wsandroid.apk
Now open Market back up from the menu, go to My Downloads, and choose Wavesecure Mobile Security Beta and uninstall it for just now (to get it off the data/A2SD location that normal apps are stored in) - thanks, my-space!
Then push the saved apk to the system partition after a remount (to make it read/write)
Code:
adb remount
Code:
adb push D:\com.wsandroid.apk /system/app/com.wsandroid.apk
Then set it all up as usual (will appear in apps list immediately)
and remount system as read only again
Code:
adb remount
And that seems to be it so far. Remember to change the D:\com.wsandroid.apk path to whatever you actually used.
Let me know if anyone finds any problems with this, but I've done it and, fingers crossed, it's worked OK for me.
Obviously, this is only for root users, and there are no guarantees for this.
Couple of questions that might need looked into -
- Do settings carry across after a wipe (as Paul claims Modaco's version does. I've never tried it so can't confirm)
- Is there any disadvantage to using this method? (I guess this is all Modaco's update.zip does, but I don't know)
you forgot to metion to uninstall wavesecure before it is pushed back into system....
my_space said:
you forgot to metion to uninstall wavesecure before it is pushed back into system....
Click to expand...
Click to collapse
Oops! Knew I'd forget something, as I always seem prone to do. Well spotted, and OP corrected.
Thanks
No worries I got a bit confused when i pushed it back onto the phone and was still in my downloads...
I've rooted my phone already but whenever i try to use the command adb remount I get "remount failed: operation not permitted". Suggestions?
I see more and more often, redundant threads.
What How-to will you post next time? How to change backlight settings?
You're pointlessly spamming the board.
I can't say i agree with the 'pointlessly spamming the board' comment, but i would have thought this would at least be better in the applications and themes subforum rather than in development.
Don't forget that an awful lot of android users (and more recently all HTC devices) are more and more 'newbs' and need stuff like this.
While this is good and provides info that people like that need (and myself cos i'm crap at adb and stuff like that so wouldn't have had a clue how to do this previously), maybe the development forum is not the best place for it....
I'm guessing one won't be notified via Market if there's an update available if you push an app to /system/app/, right?
usb0 said:
I'm guessing one won't be notified via Market if there's an update available if you push an app to /system/app/, right?
Click to expand...
Click to collapse
You won't be notified, correct
If anybody doesn't already know, WaveSecure have started hosting update.zip files. This means it's now easy to update your "baked-in" version of WaveSecure without much messing around.
https://www.wavesecure.com/installations/update.zip
Download the file, save it to your SD card, reboot into the recovery console and choose the option to apply an update.zip file.
Voila! Your version of WaveSecure will be updated to the very latest version
DJBenson said:
[...]
Click to expand...
Click to collapse
That's really awesome! Thanks for the tip!
Just a question of curiosity: If I push an app to /system/app/ and then issue the rm-command to remove its apk, won't there be lying a bunch of files associated with the program and with absolutely no function, since the app itself is removed? How do I know the name of these files and where they are located for removal?
I'm a bit confused by that question. My understanding (which may be incorrect but from what I've seen of the "guts of a ROM" appears to be the case) is that the applications reside in the apk files, they are not extracted. If you list the content of any of the app folders (/system/app, /data/app or /data/app-private) then all you get is a bunch of apk files (and some odex files). So when you 'push' an apk to the phone, that application is then "installed", when you rm/remove an application, you do so by removing the apk.
if you remove the apk you have left something in /data/dalvik-cache. wiping the dalvik-cache every now and then helps reclaiming that space, though it is not much.
the app settings and data are stored in /data/data, you could delete the files manually by checking their names (no idea if/what convention the names follow), imho not worth the trouble as it is only a few kb.
odex files aren't created if you don't do in a PITA process manually. don't worry about them, don't touch them, then you're good. odex files are only for system apps.
I bought a used phone and it had WaveSecure already installed. I couldn't find it in the applications list to uninstall, so I did a factory reset on the phone. The application was still there and it still didn't show up in the applications list.
I have the Superuser Permissions application, so someone must have rooted it.
Is there any way to uninstall this?
motomeup said:
I bought a used phone and it had WaveSecure already installed. I couldn't find it in the applications list to uninstall, so I did a factory reset on the phone. The application was still there and it still didn't show up in the applications list.
I have the Superuser Permissions application, so someone must have rooted it.
Is there any way to uninstall this?
Click to expand...
Click to collapse
""Just (re)flash a ROM................""
I just noticed that WaveSecure now points to this post for instructions to install as system application, and I am not sure that the update.zip maintained with them is up-to-date.
However, you can now select to download the .apk directly to your PC thus eliminating the first Market step in this guide.
strife242 said:
I just noticed that WaveSecure now points to this post for instructions to install as system application, and I am not sure that the update.zip maintained with them is up-to-date.
However, you can now select to download the .apk directly to your PC thus eliminating the first Market step in this guide.
Click to expand...
Click to collapse
I believe it is kept up to date, as VillainROM kitchen uses it as a source for the WaveSecure app (fetched each night to keep it up-to-date).
I've certainly never had any problems with it.
Excellent guide Pulser,... I should really reinstall Wavesecure now Im not using a MoDacO Custom ROM. Nice one bruv.
Found this to be helpful.
https://www.wavesecure.com/blog/how-to-make-wavesecure-hard-reset-proof.aspx
I just did a search in the Market fro 'wavesecure' and two things popped up WaveSecure and WaveSecure UninstallProtection Add-on which needs to be uninstalled before WaveSecure and if the add-on is uninstalled it is supposed to lock the phone. (all this is in the description I have yet to try)
I'm not sure if this is possible as ICS has no built in file manager, but is there anywhere I can put an apk file that it would be accessible without one? Specifically I want to be able to open an apk to install a file manager as the first thing I do after flashing a rom, to avoid needing to go through the market.
I thought maybe I could leave it in sdcard/download but it seems like the downloads program is blind to anything in that folder that wasn't officially "downloaded". (I suppose I could upload one to my dropbox and download it via the browser, if there are no viable options). Also made a few stabs at getting the gallery program to show one but it seems to filter out anything that's not a picture or video.
Any ideas for places to stick an apk and get one of the stock programs to let me open it?
maybe email it to yourself?
but you would have to log into the email app to do that
but there isnt really anyway to access the file without a file explorer
Open your favourite rom zip, add your apk to /system/app, save the zip, push that zip to the phone, flash.
Peesashiz said:
maybe email it to yourself?
but you would have to log into the email app to do that
Click to expand...
Click to collapse
Yeah in general I'm trying to cut out the step of signing into anything and just restoring my apps from a backup before I need to cancel automatic restore functions (which I do want on and running once I do my own initial run of things).
bk201doesntexist said:
Open your favourite rom zip, add your apk to /system/app, save the zip, push that zip to the phone, flash.
Click to expand...
Click to collapse
I'm guessing this comes with the consequence of raising any apk added in this manner to system app level? Not that I distrust the apps I'd have in mind for this to do anything malicious themselves, but is there any danger of opening security holes by elevating apps not designed to be system apps?
What I've done many times is just enabling Air Plane as soon as I can after flashing a ROM. That's way I can install any apk I want.
Hope it helps.
heo_con184 said:
What I've done many times is just enabling Air Plane as soon as I can after flashing a ROM. That's way I can install any apk I want.
Click to expand...
Click to collapse
Hmm but then what is your method for getting to that apk? If you do it over wifi that seems to defeat the point, no?
Personally I've found that it works just fine to uncheck the boxes for recovery syncing during the setup process, and then just re-enabling them later in settings. (Alternately, not signing into my google account at all until I've performed a backup). That way even if I end up signing into the market to download a recovery app, it doesn't automatically try to re-download everything else on its own.
I'm starting to think that my dropbox solution will be the cleanest, as it'll be a simple step of opening the browser and downloading a single apk every time at the same link.
I bet that the inclusion of a basic file explorer will be one of those headline items in a future android release. A nice basic functionality that the bloggers can rehash to death before anything actually hits.
Download the file manager apk over wifi and install the APK via download manager.
I do it all the time with Chinese android tablets with no market access.
Or Bluetooth it from another device.
Or just use the market
LTE EX Galaxy Nexus - 4.0.3 AOSP
Asus Transformer - Revolver OC/UV
JoeSyr said:
Hmm but then what is your method for getting to that apk? If you do it over wifi that seems to defeat the point, no?
Personally I've found that it works just fine to uncheck the boxes for recovery syncing during the setup process, and then just re-enabling them later in settings. (Alternately, not signing into my google account at all until I've performed a backup). That way even if I end up signing into the market to download a recovery app, it doesn't automatically try to re-download everything else on its own.
I'm starting to think that my dropbox solution will be the cleanest, as it'll be a simple step of opening the browser and downloading a single apk every time at the same link.
I bet that the inclusion of a basic file explorer will be one of those headline items in a future android release. A nice basic functionality that the bloggers can rehash to death before anything actually hits.
Click to expand...
Click to collapse
Transfer by USB from my laptop.
Is there a way to do that in which the device will launch the apk you move over? When I copy files over usb, it only ever puts them into whatever directory, and I need a file explorer to interact with them on the phone. And then I'm back to square one, as far as this particular task is concerned (once things are up and running I just use the LAN option in ES file explorer and it's as convenient as could be).
you have the apk in your computer right?
connect the phone to pc, and use adb to install
'adb install <apk_file_name.apk>'
Ah. I haven't used adb since I first unlocked/rooted a few months ago. Guess it probably pays to be a little familiar with those tools; they don't even occur to me when problem solving these days.
JoeSyr said:
Ah. I haven't used adb since I first unlocked/rooted a few months ago. Guess it probably pays to be a little familiar with those tools; they don't even occur to me when problem solving these days.
Click to expand...
Click to collapse
mark thread as solved then, if that solved it
Well a completely in-phone solution would still be nice, but I guess if there were any of those they'd have come up by now.
I'll probably use abd if I'm actively working at my computer and a dropbox download otherwise.
atm im jumping between different roms while waiting for next cm release. i also use whatsapp. everywhere on the net its is said that WA is supposed to ask me to restore previously made backups. BUT IT NEVER DID!
does anyone know how to restore those backups? or better: whats the problem with ace/WA? i have tons of backups, but could never use them-.-
things i already did:
- install, then add backup
- put backup into sd, then install
- searched here and found a tool that was supposed to show the chats in browser (and it failed hard (XD), what doesnt matters, cuz it doesnt solve the problem)
these chatts dont contain highly important information, but it would be very nice to have them back
thanks in advance
hmm me use whatsapp too.. as long as i remember... i never make backups.. but after switching roms.. it always ask me to restore from backup or not.. dunno either..
there is a possibility to manually make backups of WA chats. i saved the folder, flashed, put the folder back, installed: nothing happened
CJCord said:
there is a possibility to manually make backups of WA chats. i saved the folder, flashed, put the folder back, installed: nothing happened
Click to expand...
Click to collapse
i switch roms often too. and whatsapp.. well it does ask me to restore from the backup..
u could try an alternative - use titanium backup to backup the application+data.
that way when u restore from titanium, u will have ur messages back.
i dont need titanium for that. the files it rstores the chats with are at /data/data/com.whatsapp
i had an old nandroid backup (stock rom), extracted those files, copied them in their place (see above) and it "worked". i dont get asked to restore, but the chats are "just there". and you cant tell me this is normal. this is only possible if you are rooted. afaik no stock rom is usually rooted
but even the official wa help states, that ONLY the folder on SD card has to be copied to new device/new rom and it should work. WhyTF it doesnt do it for me?
€: sry fogot that: the nand-BU is old as hell. the chats i want to restore are from a rom already deleted/overwritten so restoring via titanium would be a bit hard (cuz theres no backup of that rom. there was no reason for that)
Can someone where the backup works, can tell me if you have a ".crypt" file or not?
seems that "my" WA cant read its own encrypted DBs -.-
it worked when transforming the crypted DB into an unencrypted DB
Hi
I've just encountered this problem too, lost all my messages of over 2 years! I too have ".crypt" file but it doesn't ask me to restore it. Did you find a solution? Please say yes!!
thanks
CJCord said:
Can someone where the backup works, can tell me if you have a ".crypt" file or not?
seems that "my" WA cant read its own encrypted DBs -.-
it worked when transforming the crypted DB into an unencrypted DB
Click to expand...
Click to collapse
more or less....
WA still didnt accept its own files but try this: http://forum.xda-developers.com/showthread.php?t=1583021
worked well and i have all my conversations back.
hope i could help
Saw that, and yes it works well. Obviously better than nothing, but not the same as getting them back in the phone. I've opened a support issue with WhatsApp, maybe a future release can resolve this.
cheers!
if you encrypt them with the tool, WA will restore them and you will have youre stuff "back in the phone"
if you get a response from official wa, please share =)
CJCord said:
if you encrypt them with the tool, WA will restore them and you will have youre stuff "back in the phone"
if you get a response from official wa, please share =)
Click to expand...
Click to collapse
You mean, if you decrypt the database file with the tool Whatsapp Xtract. Yes, that should work.
[TOOL] Whatsapp Backup Messages Extractor
Decrypt, then copy the decrypted file (msgstore.db instead of msgstore.db.crypt) onto the folder /sdcard/WhatsApp/Databases, make sure it's the only database file inside that folder and then newly install WhatsApp. It should ask you to import the backup during the process of installation.
Thanks you ztedd, that makes more sense! Are you saying that only decrypted files get restored? That's not the impression the WhatsApp website gave me.
ztedd said:
You mean, if you decrypt the database file with the tool Whatsapp Xtract. Yes, that should work.
[TOOL] Whatsapp Backup Messages Extractor
Decrypt, then copy the decrypted file (msgstore.db instead of msgstore.db.crypt) onto the folder /sdcard/WhatsApp/Databases, make sure it's the only database file inside that folder and then newly install WhatsApp. It should ask you to import the backup during the process of installation.
Click to expand...
Click to collapse
Backup foun but..
FrikyBCN said:
Thanks you ztedd, that makes more sense! Are you saying that only decrypted files get restored? That's not the impression the WhatsApp website gave me.
Click to expand...
Click to collapse
Whatsapp now detects a Backup, but when i hit "yes" to restore it, not a single chat gets restored. :/ Any suggestions?
I copied the file msgstore.db.html from the tool to the database directory and the delete the ".html" ending.
*WORKS: Copy the msgstore.plain.db file an rename it to msgstore.db, then it works!
Thanks!
Hi
i too have experienced lots of problems restoring my old chat from my old phone. I followed your advice below and it worked.
However, I have now lost my new messages that were on my new phone. How do I restore them too?
Please help...I'm totally clueless....Thanks
[Decrypt, then copy the decrypted file (msgstore.db instead of msgstore.db.crypt) onto the folder /sdcard/WhatsApp/Databases, make sure it's the only database file inside that folder and then newly install WhatsApp. It should ask you to import the backup during the process of installation.[/QUOTE]
If you have questions, ask in the Q & A thread!
Sent from my rooted microwave
why opening new thread if old one still exists?
@topic: ztedd postet in his thread a solution to merge 2 databases. i havent tried it myself yet (was posted a few days ago. (well. earlierer, but it had some...problems)) but it looks promising
Apologises if I am incorrectly posting on this forum but as my username suggests I am totally clueless to how this process works.
I do not not how to ask a question in the thread Q&A as suggested and by replying did not realise that I had posted a new thread.
Please forgive me.
Please advice how to correctly use this forum and how do I merge databases on two samsung phones or generally, after having successfully restored my old chat history following your advice, how do I add/merge the new chat on my new phone to the old chat that now appears to have replaced my new chat history.
Thanking you in advance for your help.
ztedd said:
You mean, if you decrypt the database file with the tool Whatsapp Xtract. Yes, that should work.
[TOOL] Whatsapp Backup Messages Extractor
Decrypt, then copy the decrypted file (msgstore.db instead of msgstore.db.crypt) onto the folder /sdcard/WhatsApp/Databases, make sure it's the only database file inside that folder and then newly install WhatsApp. It should ask you to import the backup during the process of installation.
Click to expand...
Click to collapse
Totally clueless said:
Apologises if I am incorrectly posting on this forum but as my username suggests I am totally clueless to how this process works.
I do not not how to ask a question in the thread Q&A as suggested and by replying did not realise that I had posted a new thread.
Please forgive me.
Please advice how to correctly use this forum and how do I merge databases on two samsung phones or generally, after having successfully restored my old chat history following your advice, how do I add/merge the new chat on my new phone to the old chat that now appears to have replaced my new chat history.
Thanking you in advance for your help.
Click to expand...
Click to collapse
It's alright.
You'll soon get used to it.
And btw, welcome to xda!
Sent from my rooted microwave
Your welcome
/topic: the thread you already posted "[TOOL] Whatsapp Backup Messages Extractor" contains all neccesary information you need for your operation: Programs, knoledge, and a little how-to.
But you will have to read by yourself
and you should read most of it, as those information are a bit...fragmented and scattered around that thread^^
€: im in a helpy mood^^ there you go: http://forum.xda-developers.com/showpost.php?p=37292158&postcount=464
guys i need help please i have the db.crypt file from the SD and only the files from the SD i backed it up while ago on my pc and now i deleted all files in the database and uninstalled whatsapp and added the backed file in database and reinstalled but i didnt get the restore msg :/ is there any way possible to restore those msgs its really important :/ i didnt know i had to back the files in root/data tho i am not rooted and the whatsapp xtracter asks for wa.db otherwise it says the file doesnt contain chat_list table >.>
please if there is any way lead me to it
You will find here the new Unreleased Gmail 4.2.apk - Thanks to Android Police for this news - AND ON PLAY STORE TOO - UPDATED 01 DEC 2012
The Gmail 4.2 APK is signed by Google, but with a different key than the one in the Play Store (we checked the signatures - they differ). One is probably the test key and the other the production key. For this reason, you can't simply install it as an update and therefore need to be rooted with the ability to mount the /system directory for writing in order to remove the existing Gmail APK.
Important: Once Google updates Gmail in the Play Store, you will want to revert this process or at the very least delete the Gmail 4.2 APK you installed here if you want to update it from the Play Store.
OK, let's get down to it. You'll probably need ADB installed on your computer (here's an easy way that doesn't require downloading the Android SDK). There is a chance that this might work without ADB by just removing the APKs mentioned below and installing the new one, but it didn't seem to work reliably for everyone. This should, though:
- Download Gmail 4.2 from the download link above.
- Rename it to Gmail2.apk (already renamed )
- Make a Nandroid backup in case something goes wrong (this is always a good thing to do before messing with your device).
- Remount /system for writing (via your favorite root-aware file explorer).
- Delete (or move if you want to save the APKs) all other versions of Gmail.
- Update: We've seen multiple successful reports of simply uninstalling Gmail using Titanium Backup or ROM Toolbox instead of performing this and the next step. If that works for you, go directly to step 7. If not, proceed below.
- Usually there are 2 or 3 copies. One will be in /system/app (that's the original Gmail that was pre-installed on the device) and there may be a few in /data/app (these are the updates installed from the Play Store). They'll be called "Gmail.apk," or "com.google.android.gm-[number].apk," An easy way to tell is to look for the Gmail icon.
- You may need to delete the .odex files matching the APKs in step 5 too, if you have them. Neither I nor Artem had to do this, but there are many different ROMs out there, and we're trying to cover all bases. Ignore this step and only come back to it if something doesn't work later.
- Reboot. Once you do, you should have no Gmail as far as Android is concerned.
- You can try to install the Gmail 4.2 APK you downloaded at this point by tapping it in your favorite file explorer (move the APK to your device first, of course). If that doesn't work, or if you prefer ADB, fire up a command line and type adb install Gmail2.apk.
If you get an error message, you probably didn't delete all copies of Gmail. If you don't feel like playing with ADB for Step 8, I've also gotten it to work by just copying the APK to /data/app, but that's not as fool proof as "ADB install".
Click to expand...
Click to collapse
Gmail 4.2.apk - download link - MD5 Sum: 2e5dbfccea5fca470d1e669fc0f431ba - Size: 2.77 MB (2906222 bytes)
Source [androidpolice]
I just copied the apk to system/apps folder, installed it as normal and it worked for me
Sent from my HTC One X using xda premium
just uninstalled the old v. Gmail by Ultimate backup, and installed the v4.2, it works like a charm. thanks.
philos64 said:
You will find here the new Unreleased Gmail 4.2.apk - Thanks to Android Police for this news
Click to expand...
Click to collapse
GMail 4.2.1 officially released.. you can install/update it from play store.. :good:
Just updated to the latest update and the it was really great to have pinch to zoom in mails, it gives fun to delete my mails using the Swype feature.
Sent from my HTC One X using Tapatalk 2
Hey, this is probably slightly trivial for the likes of many on this forum but quite obviously for me, it isn't. So, I downloaded a game through none conventional methods, basically through Google search, downloaded the apk and game data and placed the obb file in it's appropriate place. I've recently finished the game while updates have been released. Because I haven't downloaded officially I am unable to acces these updates.
Is there anyway I can download these updates without corrupting my previous data? And if so, how do I go about doing this? The ideal solution would be a manual update that wouldnt restart my previous data. If this can't be done please do tell.
Sent from my HTC One X using xda app-developers app
if you just install the updated apk over nothing is happen...it just get updated but won't corrupt anything...but if you have to uninstall and install the new apk and the new game data then just backup your game data, the savegame files etc, with titanium backup...then you can uninstall and install the new apk and just restore the data and you have your progress back...
and also to you WRONG place to ask...next time please in Q&A as this is for themes and not questions
Simple
You may need to rename the obb folder (Such as adding a '1' at the end of the name) and reinstall the previous apk then, install the updated apk and rename it back to its original name. After that,open the app and tada,problem solved.