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)
Hi guys, Basically I'm sick of all the trialware that Bell has put on the thing and would like to get rid of it. I have root and root explorer installed. I don't really want to reflash my phone and follow the debranding procedure. So is there any way I can achieve this ?
I have tried deleting the .apk files from the system/app folder as well. The applications just reappear after a couple of minutes.
holycow123 said:
Hi guys, Basically I'm sick of all the trialware that Bell has put on the thing and would like to get rid of it. I have root and root explorer installed. I don't really want to reflash my phone and follow the debranding procedure. So is there any way I can achieve this ?
Click to expand...
Click to collapse
Pretty sure there are quite a few questions/guides about this out there already if you do a search...
In short, you can delete the appropriate APK from your /system/app directory (or use the "pm uninstall" command in terminal). Alternatively, you can simply disable the app with a "pm disable" command (see here: http://forum.xda-developers.com/showthread.php?t=809231). This is usually the safer route---disable the app, make sure your phone is still running properly, then uninstall it if you still want to. If you want a nicer interface for doing all this, you can download TitaniumBackup from the Market (I believe the free version allows both uninstalling and freezing/disabling apps).
ianmcquinn said:
Pretty sure there are quite a few questions/guides about this out there already if you do a search...
In short, you can delete the appropriate APK from your /system/app directory (or use the "pm uninstall" command in terminal). Alternatively, you can simply disable the app with a "pm disable" command (see here: http://forum.xda-developers.com/showthread.php?t=809231). This is usually the safer route---disable the app, make sure your phone is still running properly, then uninstall it if you still want to. If you want a nicer interface for doing all this, you can download TitaniumBackup from the Market (I believe the free version allows both uninstalling and freezing/disabling apps).
Click to expand...
Click to collapse
Uninstalling in Titanium Backup didn't work either. Freezing however did. I'll keep it this way till I put some Cyanogen magic on it. Thank you kind sir!
holycow123 said:
Uninstalling in Titanium Backup didn't work either. Freezing however did. I'll keep it this way till I put some Cyanogen magic on it. Thank you kind sir!
Click to expand...
Click to collapse
Interesting that Titanium Backup didn't work either (or that deleting the apk from /system/app failed as well). Be sure in your Titanium Backup preferences, you select "Chuck Norris" mode if you didn't already.
Edit: Please note this post does have a resolution at the end.
Did you ever have a tech quandry you just had to solve?
Last year I hid some apps in/from the app drawer of a stock, S-On, not unlocked or rooted, T-mobile HTC Wildfire S with the stock Sense 2.1 UI. I want to unhide them and can't find the info on how I hid them anywhere. They do show up in a different launcher, like LauncherPro. They're not disabled, I already checked that in adb in the Android SDK.
I can run them, either from Titanium Backup or Launcher Pro, and then from my recent apps drawer in Sense 2.1 after I've run them in one of the mentioned ways; but, I really want to get those icons back and do a CWM backup of my stock ROM before I start trying custom ROMs on this phone. I like Sense and want to be able to go back if I choose.
I'm rooted now thanks to the many articles and guides here. Unlocked at HTC Dev, and ran root.zip. Installed SuperUser, ROM_Manager, TitaniumBackup
I have spent a LOT of time recently and all day every day since Monday researching here and at Android Forums, the 2 defacto places for phone knowledge. I've also used Google, searched on Life Hacker, looked in all my browsers favs for articles, searched my computers for notes (I usually make a file in Notepad for things I do that I might not remember), checked magazines I read, and so on.
I don't know if I did something in adb, changed a manifest (too many to do that), or installed a launcher that left those apps hidden when it was deleted. I hid about a half dozen apps/icons.
There has to be an answer.
Sure would appreciate some help. I'm exhausted trying to find the tip/trick I followed to do this so I can undo it. If it will help. When I try to enable the Stocks package in adb I get a return of:
C:\>adb shell pm enable com.htc.android.Stock
[1] Killed pm enable com.ht...
Does that mean I killed the app, "Way back when"; or, maybe just the process is killed without invoking root (remember the phone wasn't rooted when I first did this)? If I do it this way invoking root, I get a diff result, but neither way shows the app (unlike freezing/unfreezing in the many apps like TB, etc.):
C:\>adb shell
$ su
su
# pm enable com.htc.android.Stock
pm enable com.htc.android.Stock
Package com.htc.android.Stock new state: enabled
BTW if I disable it disappears from LauncherPro and then enable and it reappears in Launcher Pro; but, nothing gets it to reappear in Sense except in the recent apps drawer after I open it in Launcher Pro or TB as mentioned in the above post.
The control has to be in a file somewhere. Do phones have an, "xxx.ini" file for apps like computers sometimes do?
Re: [Q] There must be an answer to show apps
MiCeltic said:
Sure would appreciate some help. I'm exhausted trying to find the tip/trick I followed to do this so I can undo it. If it will help. When I try to enable the Stocks package in adb I get a return of:
C:\>adb shell pm enable com.htc.android.Stock
[1] Killed pm enable com.ht...
Does that mean I killed the app, "Way back when"; or, maybe just the process is killed without invoking root (remember the phone wasn't rooted when I first did this)? If I do it this way invoking root, I get a diff result, but neither way shows the app (unlike freezing/unfreezing in the many apps like TB, etc.):
C:\>adb shell
$ su
su
# pm enable com.htc.android.Stock
pm enable com.htc.android.Stock
Package com.htc.android.Stock new state: enabled
BTW if I disable it disappears from LauncherPro and then enable and it reappears in Launcher Pro; but, nothing gets it to reappear in Sense except in the recent apps drawer after I open it in Launcher Pro or TB as mentioned in the above post.
The control has to be in a file somewhere. Do phones have an, "xxx.ini" file for apps like computers sometimes do?
Click to expand...
Click to collapse
What apps are you trying to show again? Since you have root you can try to use a root uninstaller app to make a back up of the app first, then reboot the phone. Then use the app to reinstall and then reboot to recovery and use fix permissions.
Feel free to make a nandroid back up first just incase you lose any data
Sent from my HTC Sensation XE with Beats Audio Z715e using xda premium
Thanks for the response heavy_metal_man. It's hard to tell everything. I missed what and the kind of apps, thanks. I am talking about system apps like, "Stocks" and, "Voice Recorder", and there's others. I did Fix permissions in ROM Manager before and it didn't fix anything. I have tried a lot of stuff and am getting flustered and tired, but not giving up! For the sake of knowledge, I really want to find out the what and how...not just use a workaround. I tried your suggestions with, "Voice Recorder"...backed up in Titanium Backup...uninstalled with Root Uninstaller...checked everything to be sure it was gone and then restarted...attempted a restore of, "App only" with TB and it just churned long enough to know it was hung (I did get a notice there was an update, but don't think that would interfere); so, I powered off and restarted. No changes; so, tried another restore of, "App + Data"...same thing it just churned...another restart and everthing was back to the way it was. VoiceRec in Settings>>Apps>>ManageApps, but not in the Sense app drawer. I then couldn't get ROM Manager to do anything when I selected Fix Permissions...couldn't get into TB, did the update, still couldn't get ROM Mgr or TB to do anything, and so did a battery pull restart...I did go into CWM, but just rebooted. Then everything was normal, meaning as before, and fixed Permissions in ROM Manger. I don't think it matters whether I fix in CWM, ROM Mgr, or ADB...they're all reading the same .xml files to set permissions. Anyway, No VoiceRec in the Apps Drawer.
So I'm back to square one. Any more ideas I'll be glad to try them. I don't think I used APKToolkit to do anything or that it would be in the apk's. Tomorrow I think I'll try to find something in the package xml's...just need to find the right package that would address them all. I've looked at a few, but just for change dates on all the files in the packages...all were 2009, and I'd have done this in 2012.
Thanks again...tomorrow is another day.
Re: [Q] There must be an answer to show apps
Hmm. For the sake of argument make a full backup and then factory reset from recovery, then reboot and go through the first setup nonsense. Are the apps back?
Also the sense launcher is called Rosie should that ring any bells.
If a factory reset doesn't fix this then you may have to flash a stock rom to sort it like
Sent from my HTC Sensation XE with Beats Audio Z715e using xda premium
h_m_m,
I did a factory data reset myself before, which I believe is really just an erase of data, and not a real reset (like formatting and reinstalling an OS in a computer). Then of course there was the factory reset that occurred after unlocking and rooting. Neither of those changed anything. I have flashed a CWM recovery after rooting.
Are you saying, boot into recovery:
1. Factory Reset as
a. DO NOT wipe the factory data reset
b. Wipe cache and dalvik cache
c. Throw in a wipe of the batt stats too
then
d. Do the factory data reset and let all the caches rebuild as they will
or
2. Factory Reset as
a. Wipe factory data reset
b. Wipe cache and dalvik cache
c. Wipe batt stats
then
d. Backup and Restore>>Advance Restore>>Original ROM>>Restore system (not the data, cache or any of the other stuff there)
If number 2., then I wonder if that would put me back to OOB (Out Of Box), and if so, would I lose root, have T-mobile...yeah, I like T-mobile for some things - - blame it on Catherine Zeta-Jones time as spokesperson. As long as I have CWM recovery and have backed up from there I can't do anything that would ever leave the phone bricked; and, I can always unlock and root again if needed.
Either 1. or 2. I want to hold those in reserve because I do want to find out how I hide them. They act exactly as though they're disabled, i.e., The icon is gone, but I still get updates (Voice Recorder was updated just a week ago); however, they're only disabled in SenseUI. LauncherPro shows them all, and of course functionally...and remember once I run one of these apps, like Stocks, in LauncherPro, I can then switch to Sense and run it from my recent apps (long press on Home) or the pull down notifications area list of recents.
BTW, You were too gentlemanly to ask, but I clicked a couple, "Thanks" for you today. I was tired and forgot yesterday. We may not solve anything, but I'm enjoying/appreciate the conversaton/thread.
Even though I'm holding on those ideas above, let me know which/what you think of them please, in case I ultimately go that way. I did clear the data in Apps>>Manage for both of the HTC Senses and Rosie. I'll have to look at what's in Rosie though, maybe that holds the key!
As an aside, the first personal web page I made had, "Iron Man" as the background music!
Re: [Q] There must be an answer to show apps
MiCeltic said:
h_m_m,
I did a factory data reset myself before, which I believe is really just an erase of data, and not a real reset (like formatting and reinstalling an OS in a computer). Then of course there was the factory reset that occurred after unlocking and rooting. Neither of those changed anything. I have flashed a CWM recovery after rooting.
Are you saying, boot into recovery:
1. Factory Reset as
a. DO NOT wipe the factory data reset
b. Wipe cache and dalvik cache
c. Throw in a wipe of the batt stats too
then
d. Do the factory data reset and let all the caches rebuild as they will
or
2. Factory Reset as
a. Wipe factory data reset
b. Wipe cache and dalvik cache
c. Wipe batt stats
then
d. Backup and Restore>>Advance Restore>>Original ROM>>Restore system (not the data, cache or any of the other stuff there)
If number 2., then I wonder if that would put me back to OOB (Out Of Box), and if so, would I lose root, have T-mobile...yeah, I like T-mobile for some things - - blame it on Catherine Zeta-Jones time as spokesperson. As long as I have CWM recovery and have backed up from there I can't do anything that would ever leave the phone bricked; and, I can always unlock and root again if needed.
Either 1. or 2. I want to hold those in reserve because I do want to find out how I hide them. They act exactly as though they're disabled, i.e., The icon is gone, but I still get updates (Voice Recorder was updated just a week ago); however, they're only disabled in SenseUI. LauncherPro shows them all, and of course functionally...and remember once I run one of these apps, like Stocks, in LauncherPro, I can then switch to Sense and run it from my recent apps (long press on Home) or the pull down notifications area list of recents.
BTW, You were too gentlemanly to ask, but I clicked a couple, "Thanks" for you today. I was tired and forgot yesterday. We may not solve anything, but I'm enjoying/appreciate the conversaton/thread.
Even though I'm holding on those ideas above, let me know which/what you think of them please, in case I ultimately go that way. I did clear the data in Apps>>Manage for both of the HTC Senses and Rosie. I'll have to look at what's in Rosie though, maybe that holds the key!
As an aside, the first personal web page I made had, "Iron Man" as the background music!
Click to expand...
Click to collapse
Firstly thanks for the thanks , I love helping people out! Its how I get my kicks
Secondly as long as you have made a nandroid back up in your recovery you are pretty much covered for everything. If I was you I would go for option 2 and wipe the lot. Then let the phone fully boot up and go through the set up. If a full wipe fixes the issue then we at least have a solid starting point to find out what's happened after that little test then restore your back up regardless.
Notes: the factory reset will not remove root or any extra system apps you have installed.
As long as you have the back up done you can always go back to it, allowing you don't destroy the bootloader. But that is highly unlikely as you are still s-on
Also an option to help this might be to use the app titanium back up to back up all your apps data separately, then back up your contacts, SMS ect, and then do a fresh install of a stock rom. Once that is done you could restore your back ups manually and go from there
I must say though this is a very odd case indeed, I'm pretty stumped as to how you have managed this without root
Tapped out from my sexy nexus 7
Re: [Q] There must be an answer to show apps
I have been looking into this more and it turns out sense hides some system app icons by default. Such as the camcorder, as we already have the camera app. Can you post a list of the apps to cross reference them?
Sent from my HTC Sensation XE with Beats Audio Z715e using xda premium
Sorry h_m_m, I didn't get an email notice of your reply on the 24th. Stocks and Voice Recorder are 2 definite ones. They don't show in Sense, but do in LP, and are discussed in the T-mobile HTC Wildfire S manual. I did notice in LP that there are some that I'm not sure I ever saw.
Re: your 2nd last post, I am 99% sure I did something with SDK, either in recovery or in the emulator...possibly debugging, that could be done without root!? I installed the SDK just short of one month after getting the phone. I really believe this was an article/tutorial by a programmer/developer that just walked me through. I felt OK using my computer skills in things like Visual Basic, SQL, and so on, but I was nervous because it was my 1st smartphone.
Anyway, in the last few days I've decompiled Rosie.apk to see if there was anything I could recognize or reason in the Manifest or Resources, but no clue there. I decompiled the Stock.apk from my WFS and one from a Hero to compare, again specific to the rosie/htc launcher, but nothing. I decompiled the htcSoundRecorder, no joy, Calculator (shows, but for comparison) - no joy. I have not done anything with the .odex files...maybe the tutorial I followed set something in those smali/java files, BUT, I don't see evidence on the computer I use for all this, of Eclipse or the JDK...only Java FX 2.1, but it's install coincides with the install of Google's Chrome browser, which uses it.
I believe this info is so obscure (except to ROM developers, I'm sure) because a lot of phones after Gingerbread got the menu option in the app drawer to hide icon shortcuts. So I'm going to keep this post in my favs and hope I get any email notifications if someone posts; and, search for articles now and then, but get back to living and leave this obsession behind...but not forgotten.
Hopefully I'll find something, come back and post it and even get a thanks for an interesting article and providing some obscure information!.
Oh, and I'll try option 2. from a couple posts ago before I take off flashing a bunch of ROMs, or after I delete stuff from this one and make a 2nd backup...like we rooted for! Clicked a couple more thanks too.
Re: [Q] There must be an answer to show apps
MiCeltic said:
..........
I believe this info is so obscure (except to ROM developers, I'm sure) because a lot of phones after Gingerbread got the menu option in the app drawer to hide icon shortcuts. So I'm going to keep this post in my favs and hope I get any email notifications if someone posts; and, search for articles now and then, but get back to living and leave this obsession behind...but not forgotten.
Click to expand...
Click to collapse
That's probably the best plan at this point sorry I couldn't help out more, but you have totally baffled me with this one just goes to show that the sdk can do far more than it lets on still, I hope one day you find that illusive tutorial and post it here
PS, gave you some thanks
Sent from my HTC Sensation XE with Beats Audio Z715e using xda premium
Hey h_m_m,
Thanks for the thanks!
I had time Sunday and I found some info and fixed them to show! I used search terms based on your statement that HTC hides some apps by default and found an article that referenced the, "/system/customize/mns/default.xml" file that contained a function, "applications_hide". So without getting into what I might do or might have done previously in the SDK, and since I was rooted, I just copied the file to my sdcard, attached to a computer and opened it in Notepad (needed to use the computer because it's well over 2000 lines in the file with no speed scrolling in es file explorer), changed (as one example):
<set name="plenty" max="7">
<item name="package">com.htc.android.Stock</item>
<item name="class">com.htc.android.Stock.StockWidget</item>
</set>
to
<!--<set name="plenty" max="7">
<item name="package">com.htc.android.Stock</item>
<item name="class">com.htc.android.Stock.StockWidget</item>
</set>-->
saved the file, mounted the file system using ES File Explorer and copied the file, then pasted it back in the, "/system/customize/mns/" folder. I commented the lines out so they wouldn't run and would still be there for history (instead of deleting the lines), and commented the code with a statement, <!--uncomment to hide the app's shortcut icon in the app drawer--> so that if I ever looked back I'd have info on it. I also did the same with the Sound Recorder, Voice Dialer, and WiFi (all at the same time as Stocks).
I did a factory reset and the shortcuts showed! This file, after all, sets the defaults. Well it didn't end there. I lost root. The su binary was still in it's folder(s) but Titanium Backup, ES File Explorer, and Super User wouldn't run...or rather wouldn't stop searching for root. It was like the su binary wasn't registered in the system; long story short, I re-flashed root.zip and all was right once more. The interesting thing is I had opened and abandoned this, "default.xml" file a couple times because it was so long and tedious to scroll through on the phone!
You can see a sample, "default.xml" for Gingerbread on code.google at http://code.google.com/p/warm-ginge...e/trunk/system/customize/MNS/default.xml?r=34 just stop the script if you get a pop-up. It's about 1/4 of the way down, or just do a find for, "applications_hide". There's only 2 things hid in that example file. ***Note that default is misspelled as defeault, but it seems to parse...it's in my phone's file that way too. I'd be cautious about opening that site on a phone browser, it seems to want to run on my computer when I open it.
What's the advantage of this? It could show apps or enable features that someone might like. This file sets all the defaults present OOB or after a factory reset, i.e., bookmarks, what I call sample app shortcuts and widgets on the screens, wallpaper, the 4 stocks in the stocks app, etc., etc., so those could be modified if desired as well. Proceed at own risk!
Clicking more thanks h_m_m! I don't know how long this would have taken without your feedback and input.
Re: [Q] There must be an answer to show apps
That is great news man I'm glad you got sorted and posted your findings here that's really interesting, and good to know
Tapped out from my sexy nexus 7