[Q] Reinstalling .so file - Android Q&A, Help & Troubleshooting

Hello,
i think i messed up my device I wanted to play around with a .so file included in my system.
The file i modified is: gps.msm8974.so (hammerhead gps driver)
I deleted it and restarted my device - of course gps was disabled.
But i can't get it working again... Copying the original file to it's folder (system/lib/hw) and restarting doesn't work -> no gps provider is available
Is there any way i can reinstall it - maybe flash it?
Can you help me with this?
Thank you very much

Related

Cant open the Android Files on the SD Card ?

Hai!
So I just copied the Android Froyo files directly onto my SD card, and when I try to open them on my HTC HD2 I recieve an error that the file cant be opened and I should try to reinstall it.
Any help ?
Bai!
When you unzip the downloaded zipped file on your PC, you should end up with an android folder. It's that folder that you need in the root of your SD.
It's detailed very clearly how to install and run Android on every single build page that I've read. You should start where you downloaded it from.
johncmolyneux said:
When you unzip the downloaded zipped file on your PC, you should end up with an android folder. It's that folder that you need in the root of your SD.
It's detailed very clearly how to install and run Android on every single build page that I've read. You should start where you downloaded it from.
Click to expand...
Click to collapse
I did that, same error.
Anyonez ?
Please
We're not mind readers. What exactly did you do and what was the error?
ALright:
- I copied the folder to my SD Card on the HD2.
- I go to 'Start' -> File explorer -> And then I select the audio file thing and after that the file to start the Android itself.
When I do the last step, I get an error that says:
The file "CLRCAD/HARET" cannot be opened. Either it is not signed with a trusted certificate, or one of it's componets cannot be found. If the problem persists, try reinstalling or restoring this file.."
Search for sdkcerts and install that on your phone. That should fix your problem.
Sent from my iPhone 5 beta using the XDA App
Does it matter where I extract the file to ?
Do I have to put it on my SD card or on my HD2 program files ?
THANKS!
Tried both locations, getting an error while installing the .cab:
'Installation of SdkCerts.cab has failed.'
Hey guy sorry if I didn't post right, butvi have a problem I just put a new build of android on my phone its cell core version, everything works fine like emulators, internet, etc. the only thing that doesn't work is when I try to download androzip for I can urar files and unzipped 7z files. I really need this program cause my computer is down, and that way I can do everything own my phone until I get it back up and running. I just wanted to now am I the only one having this problem or is there a solution to this problem. sorry again if I posted wrong I'm a newbie to forums never really had to use them but this problem is beyond. me. also I tried other builds like Mattc 1.7 & 1.8 still get a installation unsuccessfull if info I relevant. thanks in advanced sorry again if post wrong and if its too long.
gballer2020 said:
Hey guy sorry if I didn't post right, butvi have a problem I just put a new build of android on my phone its cell core version, everything works fine like emulators, internet, etc. the only thing that doesn't work is when I try to download androzip for I can urar files and unzipped 7z files. I really need this program cause my computer is down, and that way I can do everything own my phone until I get it back up and running. I just wanted to now am I the only one having this problem or is there a solution to this problem. sorry again if I posted wrong I'm a newbie to forums never really had to use them but this problem is beyond. me. also I tried other builds like Mattc 1.7 & 1.8 still get a installation unsuccessfull if info I relevant. thanks in advanced sorry again if post wrong and if its too long.
Click to expand...
Click to collapse
Make your own topic please.
So what point I am at:
- I copied the Android folder to my SD Card on the HD2.
- I go to 'Start' -> File explorer -> And then I select the audio file thing and after that the file to start the Android itself.
When I do the last step, I get an error that says:
The file "CLRCAD/HARET" cannot be opened. Either it is not signed with a trusted certificate, or one of it's componets cannot be found. If the problem persists, try reinstalling or restoring this file.."
-------------------
Then this person told me to download a .cab that would fix all the problems, and when I wanted to install it I got the error:
'Installation of SdkCerts.cab has failed.'
--------------------
And now I dont have a CLUE what to do! Lol
I am guessing you are running a stock windows mobile rom? You need to either run a custom rom or find "Advanced Configuration Tool" and install it so you can enable the rom to run all unsigned applications. Then you can run the android apps to boot it.
It is in the misc. section. More info: http://www.touchxperience.com/en/applications/advanced-configuration-tool.html
Uhm, where can I find a custom ROM :$?
I tried that Advanced Config, but when I try to run it on my phone it just gives me the error:
The file "AdvancedConfig" cannot be opened. Either it is not signed with a trusted certificate, or one of it's componets cannot be found. If the problem persists, try reinstalling or restoring this file.."
**** it, I will just peform a hard reset
Making a back-up of my contacts at this moment.
Peformed a Hard-Reset and the Android and all other files are working FKING GREAT!
Love you guys!
If you get that problem again, you should install an app called "bsb tweaks" (or a similar app) and set it to "allow unsigned"
this should allow you to install things that you couldnt before...........
Glad you got it sorted.
Thanks, John, for helping me out!

[Q] Android keeps deleting my file !!!

using GB 2.3.4 and Samsung Captivate
I have a .pls file which i use tunewiki to open for my internet radio, when i save the file on my SD to play it, it works, but every-time i reboot the file is removed by android ! the file is in my dropbox so i download again, use myfile to play it, works fine, as soon i reboot the file is removed !!!
are .pls files removed by android media scanner?
Thanks,
as suspected it was the media scanner removing these files (not sure why) i just removed that directory from its scanning path and problem fixed just incase someone else is having the same problem.

[Q] Editing /data/system/packages.xml

Hi guys,
I'm currently trying to manipulate the file /data/system/packages.xml in order to make Android start one of my apps with another user id. However, this doesn't work because it seems that Android recreates the file completely when shutting down the system which means the old user id is being written back into the file.
Without rebooting, changing the file's contents (or even deleting it completely) doesn't do anything either, it seems that the contents are being loaded into the memory on boot.
What I need are your ideas on how I can make my app run as another user (or edit the file permanently) I need this because I want to access another app's non-exported service.
Thanks in advance!
edit: Even if I try editing the file and then shutting down the system unexpectedly (One X, holding down power for like 10 seconds without using the software shutdown), the file is being restored after reboot. When I check the file in CWM after a normal shutdown, it's also back to normal. So I guess Android rebuilds it on shutdown AND on boot.. or something?
edit2: I just tried the following: Rebooting into CWM, editing /data/system/packages.xml from there, checking file contents (worked), rebooting system - file contents restored. I'm starting to think that this isn't the file I have to edit. But which one is it?
edit3: Tried editing /data/system/packages.list instead, didn't work either. The file is also being restored to the original state.
- Android 4.1.1, CM10, German
did u managed anything?got same issue

Q3 MT7891C missing systemui.app

Hello!
I have managed to root the tablet and then started removing some apps with Titanium backup app. Unfortunately I accidentally deleted an app starting with syst.... - did not see the whole name. The tablet restarted and now there are no back, home buttons and slide menues from above, no multitasking. The Android version is 4.2.2. I have managed to install some hover buttons, CW custom recovery. Found the rom and downloaded it. I guess the app that I am missing is in system.img file? How can I extract /browse the contents? There are some img extractor apps but i cant find a valid link to download such. Is it true that if i find the apk and put it in the system folder the problem will be fixed? Please advise me what to do! I thought of flashing the device with mtk flash tool but i dont have a computer to do this with ?
Any advice would be appreciated!
Regards,
Kamen
Hello,
I have managed to extract the Systemui.apk and systemui.odex files from the system.img firmware file. Put them in system/app with the correct permissions, restarted - still not working! In the net somebody advised that I try deleting the .odex file and / or install the systemui.apk (installation fails) . No solution again!
Please advice!

Would it cause problems to remove the audio resources from the Samsung Camera apk?

The Samsung Camera app doesn't give you an option for silent operation.
Yes, it's a workaround to mute your phone first, but it adds another step - which can be a problem if you're capturing a fleeting moment, and you're trying to not intrude.
The audio files are located within the SamsungCamera.apk file in \res\raw.
Would it cause any problems or malfunctions to delete those audio files, re-zip the apk and replace the original with the modified one? Would the app handle the missing resource gracefully?
If this is possible, is there anything else I need to do other than delete these files?
It would be better to copy the Audio-Files, edit it on the PC (Mute) and replace the files inside the APK. Then everything should work fine. (The phone will play the Audio, but there is no Sound in the file)
But the problem is, that you cannot update an System-App without root
profi_fahrer said:
It would be better to copy the Audio-Files, edit it on the PC (Mute) and replace the files inside the APK. Then everything should work fine. (The phone will play the Audio, but there is no Sound in the file)
But the problem is, that you cannot update an System-App without root
Click to expand...
Click to collapse
That's an excellent idea. And I have root, so that won't be a problem.
Thanks!

Categories

Resources