EDIT: Will move this thread to the Galaxy S4 troubleshooting forum. Please don't hesitate to reply or contact me if you happen to figure this one out though.
Hello,
I am using a Sprint Galaxy S4 on stock 4.4.2. I recently set out to enable native tethering so I can have 4g on my tablet. After looking around a little I found the odex and jar for my device/version (NAE) and used TowelRoot to get root access. After copying over the services.jar and services.odex files I found that any time I install a new app it will crash when I try to open it. Also, when I try to change R/W permissions in ES File Explorer it crashes now.
I installed the jar and odex by simply copying them to the system/framework folder per a QBKing77 guide. Another guide had suggested installing using goomanager but I quickly found that it was discontinued. I considered using Flashify but ended up just using QBKing's method since it was quicker and required no extra app.
Thanks for any help you can give me. I'm happy to provide additional information if it gets us closer to a fix.
Just a little update... I can provide the error report every app gives if it is helpful. Also root access was removed somehow and towelroot does not reactivate it. Some apps have limited write capability (ES File Explorer, games) but others randomly have no write ability (Box will not copy files to my phone nor its SD Card).
Any ideas? Since I lost my root access I can't try restoring the old services.jar, .odex as Framework is on lockdown again.
Related
I would really like to do away with adds, and have been struggling with this. Here is what I have tried so far:
1. After a temp root I ran adfree, which claimed to be a success, but upon trying out the browser and various apps the ads remained.
2. Noting that after a run of adfree, it states that the DNS cache must be cleared, I opened a root terminal and entered clear dns. Upon opening an ad filled app, I was delighted to find the ads gone. Tempting fate, I opened the browser and found that any site containing ads would freeze, and not load (xda for example).
3. I thought that maybe clearing the dns was the issue, so I took the hosts file generated by adfree, placed it on my sd, and made a visionary.sh script in /data/local, which upon boot placed the host file in /system/etc. The script ran fine, all ads were gone in apps, but again, websites with ads would not load.
This is where I am stuck. Getting the host file in the correct directory upon boot is not a problem, but I cannot figure why blocking ads causes the websites to not load. Any input would be appreciated.
I have experienced something kinda similar, but not exactly. I didn't have any luck with the app. A long time ago when I was running 1.5 it worked but not anymore. I learned about replacing the file with a modified hosts file into /system/etc. The only time it worked is when there was full root and my file manager of choice, root explorer, was able to truely write in the system folder and others. I always had to reboot in order for it to take. Since we don't have full root, after reboot, the stock hosts file is restored. I'm sure you already know this by the sounds of it.
Full root should be uploaded by tonight, so I would just wait for that if I were you
Sent from my PG06100 using XDA App
Yeah, this thread should probably be closed, as I made it prior to tonights great news.
Per OP request, closed
I have installed a ROM that removed a lot of bloat including the DockMode.apk which I use daily when at my desk.
I have pulled the DockMode.apk from a stock rom, and from a modified rom and I cannot get either to install using Root Explorer, APK Installer or ES File Explorer.
I was unsure if this was as easy as it seemed.
I simply extracted the ROM files, pulled the .apk from system/app and copied it to my phones SD and attempted to install it.
The file transfers to the phone fine, and the DockMode icon is there with the 331 kb file. But I get the message (install failed) when using all three of the install applications.
Any suggestions, I really do need to find a way to make this work.
Put it in system/app
Sent from my PG86100 using XDA Premium App
sandiegopaneraiguy said:
I have installed a ROM that removed a lot of bloat including the DockMode.apk which I use daily when at my desk.
I have pulled the DockMode.apk from a stock rom, and from a modified rom and I cannot get either to install using Root Explorer, APK Installer or ES File Explorer.
I was unsure if this was as easy as it seemed.
I simply extracted the ROM files, pulled the .apk from system/app and copied it to my phones SD and attempted to install it.
The file transfers to the phone fine, and the DockMode icon is there with the 331 kb file. But I get the message (install failed) when using all three of the install applications.
Any suggestions, I really do need to find a way to make this work.
Click to expand...
Click to collapse
It's most likely failing because it's a system app, and needs to be pushed to the /system/app folder. You can do that with adb, or you can just use root explorer. To use adb, do this:
adb remount system
adb push HtcDockMode.apk /system/app (or whatever the .apk is called)
adb reboot
Or using root explorer, take the .apk and paste it into the /system/app folder. (You must make sure to set it as r/w using root explorer). Then long press on any apk in your /system/app folder, and press permissions. Notice what they are set to, and then make sure the permissions on your dockmode.apk are set the same as all the other apps in your /system/app folder. Then reboot when you're done. That should work. If it doesn't work, then it most likely means that the htc dock mode app is dependent on something else that's been removed.
I tried both the adb push method and the root explorer method, checked the permissions and attempted to install.
Still get the "installation failed" message. So there must be something else that has been changed.
Thank you kindly for the efforts. I will try to find another ROM that is similar and still has this feature.
if you really want to get technical, monitor logcat and it should split out the real reason why it is throwing the installation error.
adb logcat, adb shell logcat or ddms are three ways to access it.
if you want to pastebin your logcat, careful as there is private/sensitive data in there sometimes, we can take a lot and try and figure out the exact error.
as mentioned above, it probably has a dependence. logcat *should* tell us which dependency it is missing when it throws the install error.
figured i would present the option, even if its not the easiest. logcat is the easiest developer route to determine the issue, in my opinion. hope that helps!
sandiegopaneraiguy said:
I tried both the adb push method and the root explorer method, checked the permissions and attempted to install.
Still get the "installation failed" message. So there must be something else that has been changed.
Thank you kindly for the efforts. I will try to find another ROM that is similar and still has this feature.
Click to expand...
Click to collapse
Once you put it in /system/app you don't click install. Just reboot.
Sent from my PG86100 using Tapatalk
k2buckley said:
Once you put it in /system/app you don't click install. Just reboot.
Sent from my PG86100 using Tapatalk
Click to expand...
Click to collapse
WOOHOO... that was it! I kept thinking I need to "install it".
I went back in, set all the permissions and rebooted and it works like a charm!
Thank you very much!
I have been able to but suddenly I'm getting this permission error when I'm trying to transfer the vending.apk to my kindle's system/app folder. I ensured that the /system/app folder is mounted and has RW permissions. Anything else I need to check?
Krish
Is it HTC device?
Accidentally sent from my Google Nexus S using XDA Premium
no this is Kindle Fire
krishmo said:
no this is Kindle Fire
Click to expand...
Click to collapse
Did u check root access ? i knw u mounted it rw permissions but just try with adb debuggn on as well , and where did u buy kindle fire from , i couldnt buy one so ordered a zinglife, and how much does fire cost?
Issue resolved. I did a server kill/start ...must be one of those freaky things. I pre-ordered it on Amazon and shipped it to a friend in US and collected it when I visited US last month. It costs $199
I'm having similar troubles with Kindle Fire.
I rooted the Kindle Fire with SuperOneClick and then used File Expert to navigate.
It all worked out fine until I tried to push Vending.apk to system/app. I have made sure that Root Explorer option for File Explorer is enabled and have mounted Read/Write on File Explorer. When I copy, it goes through the motion of pasting a file, and moves to where the file would be in the list alphabetically, but the file is nowhere to be found. No error, etc. is given.
What might be wrong here?
Try a different file explorer. I know several other people who are having issues pushing apps to system/app with file expert.
Thanks for your reply.
I've tried using AndroXplorer and Es File Manager, the explorers readily downloadable from the Amazon App store, as well, but they seem incapable of gaining root access on the Kindle.
Are there any explorers you would recommend?
Sorry I can't be of more help to you. Have you tried looking through the Kindle Fire forums:
http://forum.xda-developers.com/forumdisplay.php?f=1306
Here look through this thread for help:
http://forum.xda-developers.com/showthread.php?t=1351283
Post there and someone should be able to help you.
i had this same issue, having tried both ES file manager (which thought it was getting root but was still unable to apparently), File expert (same issue) and AndroXplorer, (again, same issue).
i only got it working sufficiently with Root Explorer.
(only root explorer, of the file managers i tried, was able to mount it as read/write)
Okay. I will be the first to admit I did something stupid, and I am not smart enough to fix it myself, if in fact it is even fixable. So, I used Odin to root my Galaxy S6. That isn't the problem. I went to youtube and watched a video on to install another program that would help me in a game. Problem is I followed the instructions, and ended up blocking data usage. I am getting texts. But, I can not use google play store to get games or anything because of this, nor can I use the internet. Regardless if I am connected through wifi. Or, maybe the wifi isn't even working? In the video it wanted me to download root explorer. Well, I did that. It then stated to delete the file "hosts" or, just zip it. I chose to zip it, that way I could get back to it and use it later if something happened. Problem is, I accidentally deleted root explorer when deleting other apps. Now I can not get the zipped file to unzip where it needs to unzip for it to work. I have a feeling this is why my data stuff is NOT working properly. I tripped knox, which I am not happy about, but hey that was again my stupidity and now it's too late. I just want to be able to get my phone back in working order, if possible. Please, anyone able to help?
SOFTWARE VERSION
G920PVPU3BOL1
HARDWARE VERSION
G920P.02
MODEL #
SM-G920P
ANDRIOD VERSION
5.1.1
BUILD NUMBER
LMY47X.G920PVPU3BOL1
promisedpride said:
Okay. I will be the first to admit I did something stupid, and I am not smart enough to fix it myself, if in fact it is even fixable. So, I used Odin to root my Galaxy S6. That isn't the problem. I went to youtube and watched a video on to install another program that would help me in a game. Problem is I followed the instructions, and ended up blocking data usage. I am getting texts. But, I can not use google play store to get games or anything because of this, nor can I use the internet. Regardless if I am connected through wifi. Or, maybe the wifi isn't even working? In the video it wanted me to download root explorer. Well, I did that. It then stated to delete the file "hosts" or, just zip it. I chose to zip it, that way I could get back to it and use it later if something happened. Problem is, I accidentally deleted root explorer when deleting other apps. Now I can not get the zipped file to unzip where it needs to unzip for it to work. I have a feeling this is why my data stuff is NOT working properly. I tripped knox, which I am not happy about, but hey that was again my stupidity and now it's too late. I just want to be able to get my phone back in working order, if possible. Please, anyone able to help?
SOFTWARE VERSION
G920PVPU3BOL1
HARDWARE VERSION
G920P.02
MODEL #
SM-G920P
ANDRIOD VERSION
5.1.1
BUILD NUMBER
LMY47X.G920PVPU3BOL1
Click to expand...
Click to collapse
You post at wrong place, anyway download from Internet with your pc a root Explorer (they are plenty) copy to your phone go to settings at your phone where it says "security" check "unknown sources" install the root explorer from the file and go to root, system, etc unzip the host file and set permissions to rw,r,r 644. Hosts are necessary for your Internet connection. If you haven't the host file download from here
http://forum.xda-developers.com/showthread.php?t=1916098
unzip it and copy to root system etc and set permissions to rw,r,r 644 also. Reboot and everything will be OK.
Sent from my GT-N7100
I have a rooted TWRP Android.
I want to see files modified by time, including the most recently update.
The Root Explorer search doesn't seem to be able to do this. Any ideas or recommdations on an app or apk to use ?
Thanks