[Q] Move fake gps app to system??? - One (M8) Q&A, Help & Troubleshooting

I have tried to use multiple app movers and root file managers to try to move my fake GPS app into the system/priv-app directory on my Sprint variant HTC One M8 with team venom's ViperOne Rom .... When I try to move the apk to the system/priv-app folder, it either fails altogether or it SAYS it moved it successfully, but when I reboot to apply the change, the app is uninstalled and the apk is gone completely from all directories...is there something I don't know about my M8 preventing me from moving this file? Is the phone trying to protect itself from me? Lol I've tried for two consecutive days and gotten nowhere... Any help would be greatly appreciated...

mindofdisorder said:
I have tried to use multiple app movers and root file managers to try to move my fake GPS app into the system/priv-app directory on my Sprint variant HTC One M8 with team venom's ViperOne Rom .... When I try to move the apk to the system/priv-app folder, it either fails altogether or it SAYS it moved it successfully, but when I reboot to apply the change, the app is uninstalled and the apk is gone completely from all directories...is there something I don't know about my M8 preventing me from moving this file? Is the phone trying to protect itself from me? Lol I've tried for two consecutive days and gotten nowhere... Any help would be greatly appreciated...
Click to expand...
Click to collapse
It might be because the System partition is being mounted as read-only when you've booted, which to my knowledge is a result of being S-On. According to this post (under "Advanced Tab"), it appears that Team Venom has a tweak to allow one to mount the System partition as read-write; might be worth a try, but I'm not sure if it will circumvent S-On. If it doesn't work, you may have to make a flashable ZIP out of your APK and install it that way.

A great help!!! Will look up how to make a flashable zip and hopefully have this working!!!

I made a flashable zip of the apk and tried to install it using TWRP. The TWRP install said successful, but when I rebooted, the app wasn't installed... So I pushed the apk into the system/priv-app folder with adb command. When I rebooted, the app was there but it wouldn't open.... Seriously stumped....
MagicalHobo said:
It might be because the System partition is being mounted as read-only when you've booted, which to my knowledge is a result of being S-On. According to this post (under "Advanced Tab"), it appears that Team Venom has a tweak to allow one to mount the System partition as read-write; might be worth a try, but I'm not sure if it will circumvent S-On. If it doesn't work, you may have to make a flashable ZIP out of your APK and install it that way.
Click to expand...
Click to collapse

Related

[Q] Fresh EVO 3.5 FM Radio

Hello all! I rooted my EVO last month, and am running the Fresh EVO 3.5 ROM. The developer removed many of the OEM "apps" including the FM radio. (I use quotes, because things like the FM radio aren't just apps... it's part of the functionality of the phone, and without it, you're removing a capability of the phone.)
In order to get it back, I tried installing from the SD card where he stored all the removed apps, which the developer himself says wouldn't work. No surprise, it didn't work. "Application not installed"
I moved it to system/app and tried to install, whence I'm again told "Application not installed."
Downloaded the .apk (found by searching some forums), moved it into system/app and tried installing it with the same result ("Application not installed").
Tried using "AppInstaller" on the .apk, same result.
I'm frustrated that this ROM, while great in every other respect, has killed some of the functionality of my phone. If someone could help me get the FM radio back, I'd greatly appreciate it. Thank you!
Try flashing this file from your recovery the same way you installed the Fresh ROM. It will install the HTC FM Radio app in your system/app. Without a zip file like this you would normally need to use an application like Root Explorer.
http://dl.dropbox.com/u/3000044/FM_Radio-FreshEvo-3.5.0.1-02142011.zip
P.S. Even though this is the app section its more for developing and modifying apps. In the future you should post basic questions like this in the Q&A section.
Thanks for the help and advice.
Your .zip did install the FM radio and widget files to the system/app folder, but they still will not install. I get the same message as I did before.
Also, I have Root Explorer - that's how I moved the .apk to the system/app folder in my original attempt.
I posted a tweaked apk in flipz's thread a few month's back that should install for you, by flashing from recovery. You can give it a shot as well.
http://forum.xda-developers.com/showpost.php?p=9989719&postcount=7252
here you go, just flash
I guess I am not sure what issue you are having. I am running Fresh with out FM radio installed. I was able to use root explorer to move the file to system/app, then set the permissions, and reboot and once I was back into the launcher I was able to use the HTC radio app which was not there before. After doing that I restored my backup to before having the radio app installed and tried again using the zip file I supplied, rebooted, and I was able to use the app.
^ And for some reason, I was not able to do the same. The file was in system/app, but it would not install.
Toxin715 - Worked beautifully! Thank you!
Out of curiosity, do you have anything similar for the radio widget? I get the "Application not installed" error with that, as well... it's not as big of a deal, though.
Mathman85 said:
The file was in system/app, but it would not install.
Click to expand...
Click to collapse
If you have moved the apk to /system/app on your phone you do not need to install it, just reboot.
Mathman85 said:
^ And for some reason, I was not able to do the same. The file was in system/app, but it would not install.
Toxin715 - Worked beautifully! Thank you!
Out of curiosity, do you have anything similar for the radio widget? I get the "Application not installed" error with that, as well... it's not as big of a deal, though.
Click to expand...
Click to collapse
No problem, glad to help. Um you also need the widget?
Toxin715 said:
No problem, glad to help. Um you also need the widget?
Click to expand...
Click to collapse
Lol, that's my zip...
brandenk said:
If you have moved the apk to /system/app on your phone you do not need to install it, just reboot.
Click to expand...
Click to collapse
If that had been the case, I would've never bothered trying to install it, because "FM Radio" would've shown up in my apps and I'd have been happy to post that the issue was resolved. After rebooting when I had moved it to system/app with Root Explorer, it was not in my apps list, so I tried to install it (to no avail). Even after flashing the .zip you posted (after which I had to reboot to get out of recovery), it was in system/app, but not in my apps list; when I clicked on it in Root Explorer, I was given the "Application not installed" error. Even after flashing the .zip that Toxin715 and JsChiSurf posted, it was in system/app, but not in my apps list - the difference here was that when I went into Root Explorer and clicked on it, it let me install it, so now that issue is resolved.
Similarly, the widget is in system/app, but I assure you that I am not able to use the widget (I was going to post screen shots, but since I'm a n00b, the forum won't let me).
Toxin715 - Yes, if you could provide insight (or a .zip) for the widget, I'd be extremely grateful.
JsChiSurf - Thank you! I now see that it's your .zip, I just happened to try it directly from what Toxin715 had posted, so I didn't realize it at the time. Out of curiosity, what made your .zip any different from the others that I've tried and had no success with?
And open question to all who are reading - why would the app not show in my apps list if it is installed in system/app? Could something have gone wrong during the install of my ROM that perhaps a re-flash might correct?
Here's what I did to get it to work (using Root Explorer):
1) Copied HTCFMRadio.apk from fresh-removed-apks folder on my SD card
2) Navigated to system/app folder and clicked on "Mount R/W" button to make folder writable.
3) Pasted HTCFMRadio.app file in the system/app folder
4) Modified the permissions to match the other apps (rw-r--r--)
5) Rebooted the phone
That worked perfectly for me. I didn't modify the permissions at first and wasn't able to view the app in my app drawer. After I modified the permissions and rebooted, the app showed up as installed and worked perfectly.

[Q] Stock Sprint FM Radio .apk

So I've been trying to get the stock Sprint FM Radio app to reinstall on my phone. I have Fresh EVO ROM, (froyo...hate that the voice doesn't workon G.B.) I've been trying to get the FM radio apk to install using ES File Explorer, and I've tried to use Android SideLoad Wonder Machine. From file explorer it simply comes back with a "application not installed" message...ASWM gives some wonky error that I googled and ultimately led me to the unsigned file direction.
I haven't tried using an .APK installer app or anything, but it appears that it might be an issue with the apk not being signed. Anyone have the stock FM radio app working or a diff/new .apk? I tried searching but any reference to "radio" in my search just brings up a ton of core radio references of which I'm NOT looking for. Anyone?
Download a stock sprint rom, then you can manually extract the apk, place on the root of your sd card, and install. I that doesn't work, you'll have to move it to /system/app, then set the permissions for it.
Well, I've got multiple versions of the .apk and they're all relatively identical. They all pose the same issue when I try to install.
When I move it to the system/app folder and give it full permissions, it still fails install. Any other ideas?
Phederico said:
Well, I've got multiple versions of the .apk and they're all relatively identical. They all pose the same issue when I try to install.
When I move it to the system/app folder and give it full permissions, it still fails install. Any other ideas?
Click to expand...
Click to collapse
Try this:
- delete any of the fm radio apks in system app
- place the new apk in /system/app , even if it doesn't install
- from applications, if the fm radio is still showing, clear its cache and data
- boot into recovery and wipe cache and dalvik
- boot back up and try to install
if it doesn't install, then its the file because the rom might be odexed/de-odexed, and the file is the opposite of what your rom is. So you'll have to track down an apk of each, then try it.
I can try that, I will say I have a de-odexed version of this ROM so I'd presume any basic sense based .apk would work fine. Of course I may be oversimplifying it a bit.
I'll give your ideas a try see what I come up with, thanks!
Well now, I completely did NOT anticipate this result. So as it turns out the .apk for the stock HTCFMRadio.apk is not an installer. I went ahead and dumped the .apk into the /system/app folder then went to the app drawer and there it was. So I opened it and that was all there was to it. No install necessary...I've never experienced that type of functionality but hey, it works now. Thanks for the insight, all is now well with the world!

[Q] File System Permissions

Hi All,
Complete Noob here, so please be gentle!
I have been trying to flash the aGPS patch, and it doesnt want to know (on any version) and I suspect it is due to the file system permissions being read only.
My question is, how do I change the permissions to allow files to be copied & renamed?
I have been using Astro with no joy.
I am on CM 7.2 RC1.
Thanks Bob
bobmccann said:
Hi All,
Complete Noob here, so please be gentle!
I have been trying to flash the aGPS patch, and it doesnt want to know (on any version) and I suspect it is due to the file system permissions being read only.
My question is, how do I change the permissions to allow files to be copied & renamed?
I have been using Astro with no joy.
I am on CM 7.2 RC1.
Thanks Bob
Click to expand...
Click to collapse
If you're flashing the zip from recovery, you may need to mount system first in the mounts & storage option of clockwork mod recovery.
If you are doing it via a file manager, there should be an option somewhere to enable root access and or enable system r/w, I use root explorer myself and its as simple as touching a button in the top right corner of the screen to enable r/w.
Sent from my HTC Wildfire using xda premium
Thats great, thanks for your help. Got root explorer and sorted the gps.conf file in two minutes.
Regards
Bob

Most needed files & folders from 98.30.1

I started this for several reasons.
1) For those who have deleted some system/app(s) & want to manually restore to get ready for the KK ota.
2) /persist dilemma. It is only on our phone yet both recoveries allow you to format it but do not back it up!!!! http://forum.xda-developers.com/showpost.php?p=48941876&postcount=2061
3) /firmware Also not backed up. Both recoveries format it. But Rsd lite will restore it.
I put some very obscure folders here & they may never be needed! DO NOT GO & restore these just because I attached them! If it ain't broke don't fix it!
Get the full zip here http://batakang.com/ftp/?dir=devs/mhous33/XT907/98.30.1
It is the largest one there!
You can extract even a single system/app with Explorer free & paste it with es file to get OTA ready
But some /partitions are only on the phone. Some are created on boot
1 folder not ANYWHERE BUT ON YOUR PHONE is /persist.
Persist permissions are here
http://forum.xda-developers.com/showthread.php?t=2589790
Some wonder why Vzw does not want us rooting?
/Firmware is in the xml/fxz.
/System/app
/Vendor
/Firmware
/System/media.... stock boot animation/Dst animation.
Use Rom Manager fix perms for now. It has never failed me. Set them to all. Then run RM>fix permissions & reboot.
Permissions & ownership need to be set before use.
Rom Manager fix permissions is one good reason to have that app even if it did not WORK on our M, but it does.
Updated op.
So apps from "Data/App" can be deleted and still get the OTA, just don't delete apps from "System/App", is that correct?
VannMann said:
So apps from "Data/App" can be deleted and still get the OTA, just don't delete apps from "System/App", is that correct?
Click to expand...
Click to collapse
You got it.
You, Sir, are the greatest. Have been wondering about this. Finally got root, so I deleted the amazon and some verizon apps fron "Data/App". Thanks!!
VannMann said:
You, Sir, are the greatest. Have been wondering about this. Finally got root, so I deleted the amazon and some verizon apps fron "Data/App". Thanks!!
Click to expand...
Click to collapse
2 things
1)You don't want to "delete" data apps & no need to root to uninstall them. Settings, apps, downloaded, select.... 2)Also the ones you mention sound like system apps?
I deleted them from the Data/App, so they would not be in my app drawer. And all of my system apps are still there, just looked.
Didn't think about disabling them, I got root happy, been to long without it, lol.
aviwdoowks said:
I started this for several reasons.
1) For those who have deleted some system/app(s) & want to manually restore to get ready for the KK ota.
2) /persist dilemma. It is only on our phone yet both recoveries allow you to format it but do not back it up!!!! http://forum.xda-developers.com/showpost.php?p=48941876&postcount=2061
3) /firmware Also not backed up. Both recoveries format it. But Rsd lite will restore it.
I put some very obscure folders here & they may never be needed! DO NOT GO & restore these just because I attached them! If it ain't broke don't fix it!
Get the full zip here http://batakang.com/ftp/?dir=devs/mhous33/XT907/98.30.1
It is the largest one there!
You can extract even a single system/app with Explorer free & paste it with es file to get OTA ready
But some /partitions are only on the phone. Some are created on boot
1 folder not ANYWHERE BUT ON YOUR PHONE is /persist.
Persist permissions are here
http://forum.xda-developers.com/showthread.php?t=2589790
Some wonder why Vzw does not want us rooting?
/Firmware is in the xml/fxz.
/System/app
/Vendor
/Firmware
/System/media.... stock boot animation/Dst animation.
Use Rom Manager fix perms for now. It has never failed me. Set them to all. Then run RM>fix permissions & reboot.
Permissions & ownership need to be set before use.
Rom Manager fix permissions is one good reason to have that app even if it did not WORK on our M, but it does.
Click to expand...
Click to collapse
So is there a package with all the system app .apks somewhere in this mess of links lol, sorry for I'm guessing a very obvious question
Delerios said:
So is there a package with all the system app .apks somewhere in this mess of links lol, sorry for I'm guessing a very obvious question
Click to expand...
Click to collapse
Dl #9 systemAPP!!!

Can't replace bootanimation.zip

Hi everyone,
I'm going mad to find a way to replace my boot animation. Since I've installed the Pixel boot animation via Magisk, I've been no longer able to change it, via flashing or manually replacement. I've uninstalled of course the app that operated the last change to my boot animation before doing this operation. By trying the manually replacement my explorer says I can't delete, rename or move the bootanimation.zip because "It can't be remounted" or something like this. Does anyone know how to solve this problem?
Thanks in advance!
RegularSam said:
Hi everyone,
I'm going mad to find a way to replace my boot animation. Since I've installed the Pixel boot animation via Magisk, I've been no longer able to change it, via flashing or manually replacement. I've uninstalled of course the app that operated the last change to my boot animation before doing this operation. By trying the manually replacement my explorer says I can't delete, rename or move the bootanimation.zip because "It can't be remounted" or something like this. Does anyone know how to solve this problem?
Thanks in advance!
Click to expand...
Click to collapse
What file manager are you using? I use root explorer pro, it asks me if I want to re-mount the partition to read write then let's me do what I want with the file.
Sent from my [device_name] using XDA-Developers Legacy app
@RegularSam: if your filemanager is too lazy, use TWRP:
Mount system, then Advanced ..FileManager.
rp158 said:
@RegularSam: if your filemanager is too lazy, use TWRP:
Mount system, then Advanced ..FileManager.
Click to expand...
Click to collapse
I've tried with TWRP, replaced the boot animation.zip with the one I want but when I boot into the system it's like the old bootanimation from Magisk, for some reason, overwrite again the new, I've already tried twice. Any thoughts?
jd1639 said:
What file manager are you using? I use root explorer pro, it asks me if I want to re-mount the partition to read write then let's me do what I want with the file.
Click to expand...
Click to collapse
I use Solid Explorer, spent 3 euros to buy it so I have to make it work in some way lol. Anyway I'll make a try with Root Explorer.
Solved. Even if before all the changes I've deleted the module on Magisk, don't know why but in cache/magisk_mount there was still a sort of backup of the old bootanimation which was "reflashed" everytime some change to the media folder where made. Anyway, I simply renamed this file by adding .bak and flashed the bootanimation that I want, all from TWRP. In fact, another weird thing is that also Root Explorer can't handle this file, it gives in return the same problem of Solid Explorer, even by unmount e remount again. I can only touch these files from TWRP, don't know why.
RegularSam said:
Solved. Even if before all the changes I've deleted the module on Magisk, don't know why but in cache/magisk_mount there was still a sort of backup of the old bootanimation which was "reflashed" everytime some change to the media folder where made. Anyway, I simply renamed this file by adding .bak and flashed the bootanimation that I want, all from TWRP. In fact, another weird thing is that also Root Explorer can't handle this file, it gives in return the same problem of Solid Explorer, even by unmount e remount again. I can only touch these files from TWRP, don't know why.
Click to expand...
Click to collapse
Mate I'm suffering from the same problem if you can please elaborate on how did you renamed and flashed the file it would be highly helpful!

Categories

Resources