[Q] placing app in system/app does not install app - Desire HD Q&A, Help & Troubleshooting

Hi.
I have some apps i want to install.
I have uninstalled the weather app along with the weatherSyncProvider and WeatherProvider.
So all the posts say "copy to system/app, clear dalvik-cahce, and reboot" to install a system app.
But thats not working. So after rebooting, i went into Root Explorer and installed the Weather app. It installed successfully.
On the other hand, the WeatherSyncProvider and WeatherProvider app didnt install giving the "Application not installed" message.
I tried using adb to install it, and it gave me an error (forgot what the error said exactly) but it gave the meaning that the error was got to do with the sharedID
which is com.htc.uid.rosie. I've tired way too much, but cant get it to install.
Do i have to change anything in the AndroidManifest.xml file?
---- OH and same thing happens to HtcMusic.apk, but this gives the DEXOPT error, and the .apk had no .dex file but has a .odex file and im running a stock 2.3.3 rooted odex ROM

Root is not enough to make persistant changes to the system directory, you need S-OFF.
Oh and you should use a deodexed ROM, it will save you the hassle of deleting the odex files.

yea, i have radio and eng s-off.
i've been to many posts, read MANY solutions, but none work.
I like the odex ROMs, mostly because its more stock'ish' and i like the challenge! , but as you can see i've hit a little bump with the error that adb is giving me (DEXOPT and SHARED ID).
And if you could please...
When i get an app that is DEXed, will using the 'dexopt-wrapper' command always work to make a .odex file? -- because i used it with the sense 3.0 lockscreen and it worked but with
com.htc.framework.jar (in /system/framework/)
it didnt. -- it wouldnt even load the bootanimation, just hanged on the HTC splash screen.
Could you tell me the importance of the com.htc.framework.jar file?
Sorry if its too much questions! ... any help would be greatly appreciated!

A similar issue happened to me just a few days back. While trying to apply a Rosie patch, i just used Root Explorer to copy the new apk to /data/app_s, but for some reason that did not work.
So i then tried pushing the apk via adb, and it worked. I'm not really sure what difference this makes, but it seemed to work for me.
So maybe you could give this a try. Instead of copy-pasting, try to do a push.

i've tried both ... still not working

Related

[Q] Problem with Flash Player 10.1 installation

Hello,
I have installed the Froyo official rooted update from nickiberli and I have deleted a lot of APK that I don't need to make the ROM lighter. I have deleted the install_flash_player.apk and install_flash_player.odex and after three hours of configuration of my phone I realized that I can't redownload Flash Player 10.1 form the Market... I have tried to put the install_flash_player.apk in the SD Card and install with ES File Explorer but it say that it can't install the APK. Is there a way to reinstall the APK (with an ADB command?) to make FlashPlayer works correctly without reflashing the ROM with the the two APK and loosing three hours of reconfiguration?
Thanks in advance to the one that can help me
try: adb install -r APKname
otherwise you might be stuck with having to reflash.
oh, and make sure you place the apks in the tools dir
Thanks you but it didn't help, say "Installation Failed" too.
But I have put back the install_flash_player.apk and install_flash_player.odex back in system/app with the command "adb push" in Recovery Mod, restarted the phone and now everything works correctly again.
Sebacestmoi said:
Thanks you but it didn't help, say "Installation Failed" too.
But I have put back the install_flash_player.apk and install_flash_player.odex back in system/app with the command "adb push" in Recovery Mod, restarted the phone and now everything works correctly again.
Click to expand...
Click to collapse
yeah you cant install an odexed .apk, you either need the deodexed version or just push it using adb like you did lol
You obviously ask a question... so please ask the question in the Q&A section, not in the dev section.

DSP Manager: how to?

In several places in the forums I see DSP manager mentioned as a way to change the sound output from the phone.
It is possible to use the .apk file or flash the .zip file to a stock firmware that is rooted (no other changes), or does it have to be applied to a custom rom?
Ta.
Here you go...
http://www.multiupload.com/7VS5O9KKQ0
Flash as you would a ROM
Hmm, I flashed it and the settings appeared, but they seem to make no difference to the sound output!
Trying via headphones? As I doubt you'd notice from the internal speaker
Other than that I can't help, have no issues personally
Yep, trying via headphones. Seems to make no difference at all. I am running a stock rooted HTC Rom.
Hi, I flashed the DSP from recovery and rebooted. Installation was successful but I can't find the app anywhere in my phone? where do I see it?
SOLUTION
ilya.glants said:
Hi, I flashed the DSP from recovery and rebooted. Installation was successful but I can't find the app anywhere in my phone? where do I see it?
Click to expand...
Click to collapse
For anyone else having this problem:
I didn't find the app I installed so I searched the net for other installation files, and found this:
h ttp://androidforums.com/1446319-post107.html
after I flashed this and rebooted, I got a 'force close' notification for the app. Than I went to /system/app/DSPManager.apk and installed it.
DSP Manager now working great ^^
I did as u said but it gives me a force close and when i try to install it i cant cause its already installed, cant uninstall it either, what should i do ? BTW I'm using AuraxTSense v7.4
did you install the one in the second post as well?
I'm using AuraxTSense 7.0
Yes, first I installed that one, it didn't work, then I installed the other. Is that the problem ? I thought so... so how should I fix it ?
good question..I'm not sure.. try installing the first again
Ok I did it, it removed the app from the app list. What now ? If I try installing it from /system/app it gives an error.
I don't know.. i just rebooted my device and it gave me the force close again. so I did what I did the previous time and ran that app from the location I wrote.. worked like a charm.. again..
ilya.glants said:
I don't know.. i just rebooted my device and it gave me the force close again. so I did what I did the previous time and ran that app from the location I wrote.. worked like a charm.. again..
Click to expand...
Click to collapse
I installed the other zip again, gave me a force close so went to system/app and tried to install it but I can't, only have the options uninstall and launch... No idea why is it working for you and not for me...
EDIT: Ok it works now, had to remove first the odex file and install the other zip again
Update DSP Manager
You can remove the DSPManager.apk file using the terminal emulator.
NOTE: You need to have a rooted phone, Superuser & Terminal emulator.
STEPS
1. Change to root user it is granted super-user permissions.
su -​2. Then change to the system app directory.
cd /system/app​3. Then move the DSPManager.apk to the tmp directory.
mv DSPManager.apk /tmp​4. Move the new apk file to the system app directory.
NOTE: Change to the directory where the DSPManager_1.0.apk is.
cp DSPManager_1.0.apk /system/app​5. Reboot the phone.
6. Check in the apps list and the new DSP Manager should be in there.
NOTE: If it all worked you can remove the DSPManager.apk from /tmp
rm /tmp/DSPManager.apk​
Attached is the version I use on my rooted HTC Desire.
In order to work, DSP Manager also needs a file called libaudioflinger.so in the /system/lib directory in addition to the apk.
The easy way to get this done is to use an update zip for DSP Manager. Get it from one of these links (all links from this page):
FileServ
MultiUpload
My FTP
doesnt get android to work on my hd 2... i managed it once but since i updated my android build i dont get it anymore...
i think it because i dont have an root folder in the android folder where i can put the files in ????????
if i just install it from the zip via astro explorer it appears in the menue but there is no change in audio ?!?!?!
what can i do ???
B-Man2005 said:
doesnt get android to work on my hd 2... i managed it once but since i updated my android build i dont get it anymore...
i think it because i dont have an root folder in the android folder where i can put the files in ????????
if i just install it from the zip via astro explorer it appears in the menue but there is no change in audio ?!?!?!
what can i do ???
Click to expand...
Click to collapse
I don't think you can install the zip from Astro Explorer because it needs to copy files to the /system partition which is read-only when the phone is booted up. In other words, you must have a rooted phone to do this.
If you do have a rooted phone, then reboot into recovery mode and install the update.zip the usual way.
If you don't have a rooted phone, well that's a whole different story.
i , please help me.
I've installed it via recovery and I made backup with my original needly files: libaudioflinger and libaudio. Then i copied my files back (deleted new files and moved old files) . I restarted my phone and it didn't boot. Just show me the White window (T-mobile)... Can i repair my phone by myself? Please help me and sorry for my english.
maximus rus said:
i , please help me.
I've installed it via recovery and I made backup with my original needly files: libaudioflinger and libaudio. Then i copied my files back (deleted new files and moved old files) . I restarted my phone and it didn't boot. Just show me the White window (T-mobile)... Can i repair my phone by myself? Please help me and sorry for my english.
Click to expand...
Click to collapse
I'm sorry I don't really understand the problem. Normally, installing the update.zip should be all that you need to do. I don't understand why you copied the old files back and were those two files the only files that you backed up?

[Q] Editing framework-res.apk problem

I'm currently running CM7 RC4, and I'm trying to edit my framework-res.apk. But when I push the file back into my phone I just get force closes on everything. Am I doing something wrong, or there's a new way to edit the framework-res.apk? I use to be able to do this back in CM6 and if I recall correctly, back in CM7 RC1 too.
A reboot fixes that.. because you're pushing back the framework that runs everything at boot I am sure.. so..
- adb push framework-res.apk /system/framework
- adb reboot
Sent from my HTC Vision using XDA Premium App
Thats the problem, I do those adb commands to push it back and reboot, after the reboot thats when the errors and force closes happens.
Did you re-sign it? Are the permissions correct? Are you sure you didn't edit the wrong things or maybe didn't edit all the lines you needed to (dependencies if there are any).
There are a lot of things that it could be depending on what you did/didn't do. What exactly were you editing it for... a theme?
I resigned it with apk_manager 4.9. I'm not sure how to see the permissions, I kept the same name of all the files I replaced. I was trying to edit the battery icon, and a couple of other things. I looked into metamorphing, and I'm trying to get the basic knowledge on how to create my own metamorphing themes, seeing how I tried a theme and worked.

[MOD] Quick & Easy Root Script - HC

This should work for any and all a100 Honeycomb builds, you'll need to install an app from the market called terminal emulator. Also, you'll need a file manager like Astro to unzip the file.
This mod should root your tab in a matter of seconds after the script file is launched. I've tested this on my tab from a clean build and it works like a champ.
Here we go!
- Install the following apps from the market:
Terminal Emulator
https://market.android.com/details?id=jackpal.androidterm&hl=en&rdid=jackpal.androidterm&rdot=1
Astro File Manager
https://market.android.com/details?id=com.metago.astro&hl=en
- Download the attached file from this post.
- Extract and put both the root.sh and su in /mnt/sdcard from the root.zip file.
(Using Astro, find the root.zip file it might be in /mnt/sdcard/Downloads or could be else where if your not using the website to view XDA. Copy it from where ever it's at and paste it in /mnt/sdcard. Press your finger on the zip file and tap Extract when the menu pops up. Tap "Extract to This Directory".)
- Next, open terminal emulator and copy / paste the following:
sh /mnt/sdcard/root.sh
Text will fly by, the script will automatically copy the su binary and install it to the proper location.
Once the script finishes running, be sure to install superuser from the market:
Very Important, if you skip this you won't be "officially rooted yet"!!!
https://market.android.com/details?id=com.noshufou.android.su
Open the superuser app once it's installed, click on the wrench in the upper right corner, scroll to the bottom and find "Su binary v... Tap to check for updates" and tap that link. It should bring you to an update screen, click the button at the bottom to update!
Once you have done the above, then install busybox, Titanium, etc.. if needed.
Thanks goes to abliss for origionally coming up with the root commands!
This mod really just automates his work.
permission denied every step of the way. Used both script manager and terminal
ok terminal manager is out, I didn't realize that doing a hard reset wouldn't wipe the /system/xbin directory completely so technically busybox tools were still installed and sh wouldn't normally be there. I'll see if there's another way..
this method work for any build? and if so, is there any problem during the process that could "kill" my a100 or it's safe?
This method should, yes and it's safe.. It's actually more safe (if that's possible) than the method origionally posted in the dev section since there really isn't any room for user error.
Sent from my MB860 using XDA App
Ill give the new method a go around tomorrow and report back for you.
I wasn't expecting it to anyway, but I figured I'd let you know this doesn't work on the A101.
Hoping someone can find a working root method for this model.
Sorry to hear about the a101, that thing sounds like a tough nut to crack!
Sent from my MB860 using XDA App
This working for me i manage to root my a100
It works and its so simple
Thank you so much for this! It was so easy. Though the only problem I had was with the terminal emulator, no fualt of the Dev, but it might help someone. When I was trying to write in the line of code I kept getting errors because I couldnt get the keyboard to write lower case. So copy and paste if your a noon like me to get it through the terminal.
Well, I dont know what the hell is up with my tab, but Even this didnt work. It showed the file was there, but after I tried installing SU, it didnt get root, so I went back in to verify the file was still there, and nope. It disappeared. I have no idea how, unless somehow mine device is checking the directories, which is the only thing I can think of...
mvan4310 said:
Well, I dont know what the hell is up with my tab, but Even this didnt work. It showed the file was there, but after I tried installing SU, it didnt get root, so I went back in to verify the file was still there, and nope. It disappeared. I have no idea how, unless somehow mine device is checking the directories, which is the only thing I can think of...
Click to expand...
Click to collapse
You sure you don´t have an a101? what build number are you running?
A100_2.007.04_COM_GEN1
Most definitely an A100...
mvan4310 said:
A100_2.007.04_COM_GEN1
Most definitely an A100...
Click to expand...
Click to collapse
I have no idea then.. the only thing I could say is to try and restore from a "Full" rom, like Acer_A100_1.014.08_COM_GEN1 and try to root it before doing anything else. It wouldn't hurt to try anyway and the worst that could happen is that you'd have to restore all your apps and stuff. If we can ever get this thing to run cwm and a different kernel, you'll definitely be needing root.
Works great!
Thanks so much for the script and instructions. Im enjoying my rooted tab yay!
mvan4310 said:
Well, I dont know what the hell is up with my tab, but Even this didnt work. It showed the file was there, but after I tried installing SU, it didnt get root, so I went back in to verify the file was still there, and nope. It disappeared. I have no idea how, unless somehow mine device is checking the directories, which is the only thing I can think of...
Click to expand...
Click to collapse
Did you check the boxes for USB Debugging and Unknown sources just in case?? (in Settings > development)
I checked them both. Root Checker shows I have root, but other apps cant get root access, and SuperUser cant update because of this issue... I dont know what the hell to do because this has me stuck atm... Im gonna flash back to 1.018 and see if that helps, probably not, but it wont hurt to check.
EDIT:
I reverted back and got root. It seems to be the newest update that stopped it. Im updating back up again to see if I retain root. What a pain...
Edit 2:
Yep, Im rooted now. It unrooted me when updating, ran the script you provided and its working now. Dont know why it didnt take before reverting back, but works wonderfully now. Now that Im rooted, let me know what I can do and peek around at to help out here.
Has anyone tried that on an A500?
A500 has its own rooting methods. You can find info about the A500 here
http://forum.xda-developers.com/forumdisplay.php?f=1136
Thanks alot crossix. Worked like a charm.
Sent from my A100 using Tapatalk

Cannot install system apps

I've spent hours upon hours working on this phone, and i've tried basically every solution I could find:
Below I'll type a more detailed list of troubleshooting i've tried but currently my main issue is that I deleted my systems.apk file, after trying a recovery none of the files in my system/app folder are actually installed and if i try to install them it tells me I can't because they aren't market apps, but because I have no settings menu I can't allow non market apps to be installed. If I can find a way to install non-market apps without selecting the option from the settings menu I might be able to solve this issue.
More information:
This is an "old" phone that i recently turned on to used and found it was full of bloatware, adware apps so I rooted to delete some of it and it seems in the process I managed to delete the settings.apk file. I installed CWM & rom manager, tried to run a recovery through that (Can not run a factory reset because i have no settings menu and the hard reset does not work) and when I booted up my phone, I kept getting an error message that vzw setup wizard stopped unexpectedly, the only option was force close and as soon as I hit it it would come back up. eventually someone texted me and I realized when I had a notification and plugged in my phone I could get to the text message-through the text message menu I added my gmail account, and emailed myself the google play store URL and was able to gain access to the store. Using the store I installed Go Lancher EX and then had an (almost) functioning phone- I have to be careful not to back out of Go launcher or I'll have to send myself an email so I can get back into the store and finally back into go launcher. I had my boyfriend send me the settings.apk file from his phone, and could not copy it into settings/apps because it was read-only, so i tried downloading an app that would allow me to change permissions and realized it would not install any .apk files. I then started selecting some of the apps already in system/apps and none of them are installed- It will not let me install them because they are not technically market apps.
Other things I tried:
SUES: Tells me my phone is up to date and will not do anything more.
PC companion: Tells me there is no software available for my device.
Android commander: Gets stuck on "loading" and won't actually start up.
Flash tool: Tried two different stock ROMS, always gives me this error message: "Sin header verification failed" (Yes, I selected the option to not do a final verification"
How can I force my phone to install the system apps ?
Whiteroses said:
I've spent hours upon hours working on this phone, and i've tried basically every solution I could find:
Below I'll type a more detailed list of troubleshooting i've tried but currently my main issue is that I deleted my systems.apk file, after trying a recovery none of the files in my system/app folder are actually installed and if i try to install them it tells me I can't because they aren't market apps, but because I have no settings menu I can't allow non market apps to be installed. If I can find a way to install non-market apps without selecting the option from the settings menu I might be able to solve this issue.
More information:
This is an "old" phone that i recently turned on to used and found it was full of bloatware, adware apps so I rooted to delete some of it and it seems in the process I managed to delete the settings.apk file. I installed CWM & rom manager, tried to run a recovery through that (Can not run a factory reset because i have no settings menu and the hard reset does not work) and when I booted up my phone, I kept getting an error message that vzw setup wizard stopped unexpectedly, the only option was force close and as soon as I hit it it would come back up. eventually someone texted me and I realized when I had a notification and plugged in my phone I could get to the text message-through the text message menu I added my gmail account, and emailed myself the google play store URL and was able to gain access to the store. Using the store I installed Go Lancher EX and then had an (almost) functioning phone- I have to be careful not to back out of Go launcher or I'll have to send myself an email so I can get back into the store and finally back into go launcher. I had my boyfriend send me the settings.apk file from his phone, and could not copy it into settings/apps because it was read-only, so i tried downloading an app that would allow me to change permissions and realized it would not install any .apk files. I then started selecting some of the apps already in system/apps and none of them are installed- It will not let me install them because they are not technically market apps.
Other things I tried:
SUES: Tells me my phone is up to date and will not do anything more.
PC companion: Tells me there is no software available for my device.
Android commander: Gets stuck on "loading" and won't actually start up.
Flash tool: Tried two different stock ROMS, always gives me this error message: "Sin header verification failed" (Yes, I selected the option to not do a final verification"
How can I force my phone to install the system apps ?
Click to expand...
Click to collapse
Look for a developer who can make a flashable zip including system.apk and setting.apk for you, then flash it from CWM.
Xperia-Play said:
Look for a developer who can make a flashable zip including system.apk and setting.apk for you, then flash it from CWM.
Click to expand...
Click to collapse
give me the apks and I will make flash able zip or you could use flashtool with a r800x ftf
Sent from my R800i using Tapatalk 2
I tried flashing two .ftf files, flashtools gives me the "sin header verification failed" error message. I'm unfamiliar with flashable zips- will that get around my flashtools problem? Should I send you just settings.apk and systemUI.apk?
Thank you !
Edit:
I've done some reading about flashable zips and it seems pretty promising, thank you!
I've attatched a zip file with systemui.apk from my phone and settings.apk from my boyfriends phone- he doesn't have an xperia play, if that makes a difference.
Also, I don't know how much of an effect this would have with flash tools but because I can't get into my settings, I also can't turn on USB debugging.
Whiteroses said:
I tried flashing two .ftf files, flashtools gives me the "sin header verification failed" error message. I'm unfamiliar with flashable zips- will that get around my flashtools problem? Should I send you just settings.apk and systemUI.apk?
Thank you !
Edit:
I've done some reading about flashable zips and it seems pretty promising, thank you!
I've attatched a zip file with systemui.apk from my phone and settings.apk from my boyfriends phone- he doesn't have an xperia play, if that makes a difference.
Also, I don't know how much of an effect this would have with flash tools but because I can't get into my settings, I also can't turn on USB debugging.
Click to expand...
Click to collapse
I will make a zip but I need a SETTINGS.APK FOR THE MODEL YOU HAVE IS IT R800I OR X OR A? I will download the ftf and extract the file out of it, provided I have time
Sent from my R800i using Tapatalk 2
FLASH THROUGH RECOVERY.
[R800x][2.3.3]
http://www.mediafire.com/?y1912zhb41ugol9
[R800x][2.3.4]
http://www.mediafire.com/?il9ibpi0tjyyvj2
ATTACK said:
FLASH THROUGH RECOVERY.
[R800x][2.3.3]
http://www.mediafire.com/?y1912zhb41ugol9
[R800x][2.3.4]
http://www.mediafire.com/?il9ibpi0tjyyvj2
Click to expand...
Click to collapse
How do you know the op has a r800x?
Sent from my R800i using Tapatalk 2
fma965 said:
How do you know the op has a r800x?
Sent from my R800i using Tapatalk 2
Click to expand...
Click to collapse
Cause OP said, "VZW Setup Wizard...".
ATTACK said:
Cause OP said, "VZW Setup Wizard...".
Click to expand...
Click to collapse
Haha OK i did wonder what that was.
Sent from my R800i using Tapatalk 2
thanks!
It worked! I have my phone back! THANKS! l
Whiteroses said:
It worked! I have my phone back! THANKS! l
Click to expand...
Click to collapse
glad it worked even if I didn't help
Sent from my R800i using Tapatalk 2
Whiteroses said:
It worked! I have my phone back! THANKS! l
Click to expand...
Click to collapse
No problem, I'm glad it worked for you.
~ATTACK~

Categories

Resources