I keep getting 'error occurred trying to run priviledged command when trying to fix perms on 4.2.1. Anyone else?
Sent from my Nexus 10 using Tapatalk 2
Related
I noticed after updating to froyo that Rom Managers "Fix Permissions" was way too fast and was processing only a couple of items. Didn't seem right.
So I ran its fix_permissions from adb shell and noticed that it was not finding a "packages.xml" in /data/system.
Did a search and found it in /dbdata/system. Copied it over and ran it again and viola - got the typical processing 100+ items list.
Here is the script I used as a fix:
su
cp /dbdata/system/packages.xml /data/system/packages.xml
/data/data/com.koushikdutta.rommanager/files/fix_permissions
Since I am a relative noob - I wanted to do confirm that others are seeing this and also verify if my method makes sense and is valid.
TIA.
I noticed the same behavior.
But honestly, fixing permissions is unncessary unless you are getting "Force Close" problems when running applications w/o fixing permissions.
But a good find none the less....
Sent from my SCH-I500 using XDA App
Good find, this would be a good fix for ROM devs.
I have been working on CM7 based on ambrice's work in this (http://forum.xda-developers.com/showthread.php?t=1540255) thread.
I have found that if I use adb to enable/disable wifi it is more reliable (working logcat.txt attached). If I use the GUI in CM7 it hangs up with wpa_supplicant errors (broke logcat.txt attached).
This is my first go with trying to dev any android code, so any assistance would be appreciated.
EDIT: Upon further testing it appears the issue is related to com.android.settings. If I kill the process for it, and start wifi, it works. Otherwise, I get an error on the screen stating "Application Settings (in process com.android.settings)is not responding.
Maybe you could try replace com.setting.apk with defual gingerbread com.setting.apk and look that doesnt make errors or replace WPA_suplicant, the defual one from gingerbread
Sent from my GT-I9000 using XDA
Arlicc said:
Maybe you could try replace com.setting.apk with defual gingerbread com.setting.apk and look that doesnt make errors or replace WPA_suplicant, the defual one from gingerbread
Sent from my GT-I9000 using XDA
Click to expand...
Click to collapse
Just tried two things:
1. replaced Settings.apk with one from my NookColor running CM7. Same result. It works fine on my NC.
2. Pulled Settings.apk from backup of stock rom. It won't even open.
Any other ideas?
So, I don't think my first theory is good.
When I run modprobe dhd and check the sockets folder out is empty. I verified dhd was loaded with lsmod.
I also tried to start wpa_supplicant manually and it states eth0 does not exist.
I'm starting to think it's a kernel or driver issue.
Sent from my SGH-I777 using xda premium
Hey all. i'm following the post here but i'm getting some errors. Looks like other people are getting them as well but I ahven't seen a viable solution yet.
Anyway, I've found the linux folder through terminal (/mnt/sdcard/linux), but get permission denied errors all over the place when i sh install.sh. I apparently can't access all the places on my phone when I connect it to my PC, so I can't move the folder to my phone even though through windows, that's where I "am" when I put it there.
Does anyone know how I can get this working? Or if there's another way to get Ubuntu on here?
Thanks
Bump
Check out our development dev only section for dev discussions. They are working on making it for our phone. That guide you linked won't work with any phone like they claim.
Sent from my SCH-I605 using xda app-developers app
Maybe even someone with the method try to root the Tablet S?
http://forum.xda-developers.com/showthread.php?t=1706588
I have not the Tablet S
I was thinking the exact same thing yesterday while looking for root exploits for Tegra 2 devices like the TF101.
EDIT: Getting protocol, ACK, permission, pushing and ADB server errors.
Found out that it was using the incorrect system partition so I corrected it via expert mode (mmcblk0) but yet it still had the same errors...
I did manage to fix the failed to start daemon error at the start by editing it but the other errors remain for an unknown reason.
I am not going to carry on anymore, I don't see why there is so much issues with ADB when it comes to that when using ADB normally does not have issues.
EDIT1: Tried manual but got the same errors for a strange reason...
Sent from my Nexus 4 using xda app-developers app
I used the latest version root method on a new s4. Now after reboot the system updates do not stay updated on reboot, quick or standard. Also link2sd can not uninstall system apps like boat ware.
Any one have this issue or a fix for it? I believe it's a permission issue, but I am not sure which folder or file I need to correct.
I do have root access and can log in as su in terminal and use my rooted apps. I am running Supersu.
Which system updates are you referring to? Verizon's OTA updates?
Sent from my SCH-I545 using xda app-developers app
papstar said:
Which system updates are you referring to? Verizon's OTA updates?
Sent from my SCH-I545 using xda app-developers app
Click to expand...
Click to collapse
I am using the baseband I545VRUAME7, used the method from http://forum.xda-developers.com/showthread.php?t=2380325.
Just got off work, I do 12 hour days and didn't have time to timely respond to your question.
Could this be a permission issue in the app directory?
I re-ran the rooting SD card I used so I could get the terminal log
Also I notice I have a unlocked padlock on the initial boot screen, i don't have another to compare to but is this normal?
Code:
127|[email protected]:/ # cd /mnt/extSdCard
[email protected]:/mnt/extSdCard # ./pwn
Device detected: SCH-I545 (JDQ39.I545VRUAME7)
Attempt acdb exploit...
SCH-I545 (JDQ39.I545VRUAME7) is not supported.
Attempt fj_hdcp exploit...
Attempt fb_mem exploit...
Attempt perf_swevent exploit...
writing address is 8335
[email protected]:/storage/extSdCard #
Still need help
I am still getting
Code:
failed to open dev/graphics/fb0 due to permissions denied
. I have re-flashed the rom with the original . I have developer options and unknown sources enabled.
Can any one shed some light on what this error is or how to correct it? This may be my issue.