HTC Aria Cyan 6 Removing apps - General Questions and Answers

So I have my Aria running Cyan 6 (latest release) with an unrEVOked root (the latest one, does NAND, which is why I can run a ROM, right?).
The other day, stupid me deleted the Camera app, which came back anyway, and added the HTCCamera.apk app. Not realizing it wouldn't work without the Sense framework, the app now replaces the default Camera app altogether. Yet the Sense camera doesn't work. So I went into Root Explorer and tried to delete Camera.apk and HTCCamera.apk so I could replace it with a new one from my Cyan zip, but Root Explorer will not delete either. It does nothing. When I try to install my Camera.apk from my SD card, it says the install has failed. When I use terminal emulator, it comes up with an error. Droid Explorer freezes when I try to delete the HTCCamera apk. What the hell?

I've found myself having problems working in /system while booted--I've tried all sorts of mounting schemes and root explorers and all that jazz. Try, instead, using 'adb' while in Recovery (power off your phone while NOT plugged in, boot into Recovery, mount /system, plug in to your computer, make sure 'adb devices' lists your device and recognizes it's in Recovery mode, and start adb-ing).
Also, rather than deleting apk's, use 'mv' to rename them (e.g. 'mv HtcCamera.apk HtcCamera.apk.bak')

Related

[REQUEST] Unlocked Teeter

Teeter is one of the few games I play on my Evo (when I'm not playing Angry Birds or Drop), but recently, I decided to switch between MIUI and CM for a while.
At first, when I couldn't find it in the Market, I figured I would just copy it from Myn's /system/app/ folder and install it manually in CM. Needless to say, it didn't work.
Shortly after, I found an unlocked version in, I think, the MyTouch 3g forum, but it's too low res to play. So, I was hoping that it wouldn't be too much trouble for someone here to unlock the Evo apk for me. I tried to attach the original apk, but for some reason, I couldn't upload it from my phone, so here's a link to my dropbox.
Edit: now i can post links
http://db.tt/WD1OJ2F
I'm flashing from myns warm to miui and didn't realize teeter isn't on the market. Have you had any luck finding a version for any rom?
I found a version for Desire, but Amon RA won't flash it. I just resigned it with signapktic, and I'm about to test it.
weehooherod said:
Take the tether game out of /system/app from a rom that has it. Push it over to /system/app on your new rom. Just plug in your phone and run the adb commands.
adb remount
adb push C:\wherever\you\put\the\file.apk /system/app
adb reboot
Or just install Root Explorer ($2) and copy the tether.apk file from your memory card and then go to the system app folder. Push the R/W button at the top right of the screen, it should now say R/O. Then paste the apk inside that /system/app folder and reboot.
Either way, it will install itself.
Click to expand...
Click to collapse
I think the main problem is that the stock teeter game checks for Sense-related files. I could be wrong, though. I'll try your way and report back. I had some file zipping problems (ES file explorer messes up the directory structure), so signapktic didn't quite work.
weehooherod said:
Or just install Root Explorer ($2) and copy the tether.apk file from your memory card
Click to expand...
Click to collapse
tether.apk is not the teeter game, that is the app file for the tethering application for the sprint hotspot.

Having some permissions issues with my ADB and Terminal

Hello everyone. I have been working with android for a 6 months now and still cannot figure out what im doing wrong to get my permissions to work correctly. I have installed ADB and successfully rooted my MT3G Slide. I have been trying lately to figure out why i cannot manually configure A2SD. I have gone through both ADB Shell and Terminal under Su to try to mkdir /system/apps but it will give me a problem like my system is not allowing me to rewrite or its copy protected. I have tried to remount and it claims its successful. Another symptom i experience is not being able functionally use the rom manager or restart in clockwork recovery after i have flashed a rom. I always have to wipe the devices before i can loop hack back into clockwork mode. I have tried to fix permissions and restart in recovery through rom manager and it just brings up a question mark ontop of an image of a phone. I have been trying most recently to move a file through terminal to another name and replace the old with a new of the same name. It says the directory is not empty when i try to modify this file. So Anyone think they might know a solutions to these issues or hopefully all of them in one simple problem i cant seem to figure out.
download & install 'root explorer' for your phone from the android market (or your Pc, and put it on your phone) , grant it superuser permissions from superuser on your phone, open it up, and there's an option to make the phones memory R/W. (Its R/O as default which may be why your having permission issues)
Saying that Im yet to figure out adb's permissions fully..
Be careful with root explorer though, its a very intrusive programme which can screw up everything
Root explorer cost money... is there another program that allows me the same option. I have been using astro file manager, any way to do it on that one?

Rooted, trying to reinstall deleted Stock.apk

I had a questions about restoring the deleted Stocks app. I rooted with the new unrevoked last night and then installed Titanium to remove apps. I prematurely removed the Stocks app and I have been trying to get it back since.
I've tried multiple routes, from this Wildefire thread http://forum.xda-developers.com/showthread.php?t=738147 I tried the apk via adb and Root Explorer. Neither worked.
Then I downloaded the stock odexed EVO rom from this thread http://forum.xda-developers.com/showthread.php?t=874251, grabbd the stock.apk and moved it to my \system\apps folder with Root Explorer. I've restarted, tried clearing the Dalvik Cache, pushing it via adb, none have worked.
Right now it's still sitting in the \system\app folder.
I wanted to see if there was anything else I can try to get it back? Or am I doing something wrong?
Thanks in advance.
I take it you are running stock Rom. I think the best way is to make a nandroid of the stock Rom that you are running, with ClockworkMod. Once done download Myn's Rom or sprint lovers. Both of this Rom's have the stock Sprint apps. When flashing the Roms, please, make sure to use Rom Manager and flash ClockworkMod, than flash Amo-ra; is located at the buttom as an alternate recovery. Than once you flash the Rom, let it load, than flash clockworkMod again, than go into recovery, than restore,advance restore, select the newest nandroid, and just restore data. This will give you all the stock apps. OR just try this.
http://forum.xda-developers.com/showthread.php?t=832388
Here are some more apk's.
http://forum.xda-developers.com/showthread.php?t=901393
grab the apk out of the stock rom you have, then in adb do this
adb remount
adb push Stock.apk /system/app
if you need to push the odex do this also
adb push Stock.odex /system/app
the important thing is the remount to make the system/app read write
you can go to the rom file open the file then open system then open app and add the apk you want and reload the rom into the phone that sit more simple
ifly4vamerica said:
grab the apk out of the stock rom you have, then in adb do this
adb remount
adb push Stock.apk /system/app
if you need to push the odex do this also
adb push Stock.odex /system/app
the important thing is the remount to make the system/app read write
Click to expand...
Click to collapse
I did the above while booted in recovery mode with the system mounted. It successfully went in the system/app folder. I see it in Root Explorer, although it still doesn't show up in the apps menu. Oh well.
baker2gs said:
I did the above while booted in recovery mode with the system mounted. It successfully went in the system/app folder. I see it in Root Explorer, although it still doesn't show up in the apps menu. Oh well.
Click to expand...
Click to collapse
Yeah it doesn't work right if you are in recovery because it messes with permissions I heard. Just do it with phone plugged in to computer and on. If that doesn't work you can try deleting the apk and then using
Adb remount
Adb install stock.apk
Don't know if these will work but worth a try. Last resort is find a flashable zip that writes something to system/app and drop the apk in there.
Evo Sent
ifly4vamerica said:
Yeah it doesn't work right if you are in recovery because it messes with permissions I heard. Just do it with phone plugged in to computer and on. If that doesn't work you can try deleting the apk and then using
Adb remount
Adb install stock.apk
Don't know if these will work but worth a try. Last resort is find a flashable zip that writes something to system/app and drop the apk in there.
Evo Sent
Click to expand...
Click to collapse
When I run that command with the phone on charge mode with debugging on plugged into the computer I get a "remount failed: Operation not permitted".
I installed the Sync drivers and tried it with that but it didn't work either.
Any suggestions? Thanks for your help by the way.
baker2gs said:
When I run that command with the phone on charge mode with debugging on plugged into the computer I get a "remount failed: Operation not permitted".
I installed the Sync drivers and tried it with that but it didn't work either.
Any suggestions? Thanks for your help by the way.
Click to expand...
Click to collapse
I can't help with that, never ran in to that problem before, are you nand unlocked and s-off?
ifly4vamerica said:
I can't help with that, never ran in to that problem before, are you nand unlocked and s-off?
Click to expand...
Click to collapse
Yes to both, I have been trying to do research on it. It may be the stock rom...
I tried some workarounds but they didn't work. Thanks for your help.
baker2gs said:
Yes to both, I have been trying to do research on it. It may be the stock rom...
I tried some workarounds but they didn't work. Thanks for your help.
Click to expand...
Click to collapse
No problem, sorry I couldn't help.
Evo Sent
Just an update, I tried the .zip route you suggested. I created a Titanium back up and threw the Stock.apk in the zip. I ran the update.zip in recovery. It placed Stock.apk in the system/app folder but the app still does not appear in the apps menu. Thanks again.

Chinese Phone running Android 4.2 - Malware built in, cant delete despite root

It took me a while to figure out that the bast**ds had built in the malware in the firmware, with the launcher. Phone is rooted, and I have changed the launcher. But I can't delete the malware apks inside system/app.
They are named as com.google.hardware.ext0.apk, and another similarly named (android air, and measure too)..
Problem is, I can't delete them, I tried using ES File Explorer (yes, root is enabled. I can delete, change other files in system/app but for this) I am denied permission!!
Then I tried the terminal emulator.. after getting SU.. tried deleting them using RM and then 'busybox rm..' both failed. What to do? How to delete the f****ng malware files??
(If I switch on the WiFi, malware automatically downloads more crap, then I can't even switch off Wifi and Data! Hence I formatted the phone and have not entered any sim or wifi settings... but I can't delete the damn files!! Any suggestions please?? Going crazy here)
regards
If you could install a custom recovery to flash a zip that delete this app...
Try a Root System App Deleter or, boot in recovery mode and remove it via ADB

Accidentally uninstalled a pre-installed app? Here's how you get it back.

Some apps (such as Huawei Health) are installed on your device during the initial boot. They can, however, be uninstalled, and there's no obvious way to get them back.
Here's how you do it!
The APKs live in the /cust directory on your device. You can either pull them (using ADB, e.g. 'adb pull /cust/preinstalled/public/app/') or use a file explorer app to browse to the same directory and click the APK you want to install.
Author (paulobrien)
Original post
https://community.hihonor.com/docs/DOC-1244

Categories

Resources