[Q] Permission Issues - Nexus One Q&A, Help & Troubleshooting

So a while back I used a 1-Click root app. Don't recall which one. Then flashed CM6. Lately I've been noticing some permissions issues.
It started when I attempted to install the new Car Home from the market and couldn't. I tried using RootExplorer to unistall the old version with no luck. I've given it SU permissions but still no dice.
Today I tried to install the new YouTube app from the market but got the same results.
So I tried through ADB and can't navigate to /system/app.
# cd /system/app -- gives "cd: can't cd to /system/app"
# su cd /system/app -- gives "Permission denied"
I've also tried fix_permissions in the terminal with no luck. (I remember this from the G1 days. don't know if it is still used)
Anyone know what could be going on?
I'm not concerned about my warranty any more so I suppose I could unlock my bootloader if anyone thinks rooting the official way would help.
Thanks for your time.

Are you mounting Root Explorer in R/W?
Edit: I had probs mounting my Root Explorer into R/W, and eventually found out I had a bad version of busybox...
Sent from my Nexus One using XDA App

danger-rat said:
Are you mounting Root Explorer in R/W?
Click to expand...
Click to collapse
Wow I feel dumb. I was forgetting to mount in R/W. Got the old apps uninstalled. Still can't get the new apps installed.. Oh well I never use either of them anyway.
BTW any reason I couldn't cd to /system/app in ADB? Probably something else stupid.

Just confirm that the apps are removed (my busybox issue sometimes made it appear like the apps were gone, but when I looked again, they were back).
Did you reboot after removing?
Sent from my Nexus One using XDA App

To upgrade system apps:
1. Uninstall the old version using Root Explorer or Titanium Backup (I've found Titanium to be easier).
2. Reboot.
3. Install the new system app from the Market.

Dude,
Did you not read the OP? He's having trouble uninstalling with Root Explorer... how does telling him to uninstall with Root Explorer help?
Sent from my Nexus One using XDA App

danger-rat said:
Dude,
Did you not read the OP? He's having trouble uninstalling with Root Explorer... how does telling him to uninstall with Root Explorer help?
Sent from my Nexus One using XDA App
Click to expand...
Click to collapse
Dude,
I read the op. I also read the followup where he figured out he had to remount in rw mode. I was attempting to offer the procedure that works 100% of the time for upgrading system apps.

Fair enough...
Sent from my Nexus One using XDA App

Related

UPDATED Dark gmail-you asked for it i found it

Dark Gmail FOUND Version 2.3.2 (http://www.droidforums.net/forum/droid-themes/104950-inverted-2-3-2-gmail-test-release.html) I pulled the apk from the update zip from the link (dont want to take any chances flashing it)
UPDATE- Replaced the check boxes on the left of your emails with the gingerbread ones to better tie the whole dark theme in with gingerbread!
EDIT if having issues
go into recovery, and mounting both /system/ and /data/
Remove old gmail
adb shell
rm /system/app/gmail.apk
rm /system/app/gmail.odex
PUSH NEW GMAIL
adb push Gmail.apk /system/app/
exit
reboot.
adb push Gmail.apk /system/app/
Thank
Anderdroid said:
adb push Gmail.apk /system/app/
Click to expand...
Click to collapse
Figured thats what it was but thanks
Can you guys confirm the exact version number of this Gmail please.
Is it 2.3.2?
EDIT: nevermind, clicked the source thread and it is 2.3.2
Thanks.
drexman8244 said:
Dark Gmail FOUND (http://www.droidforums.net/forum/droid-themes/104950-inverted-2-3-2-gmail-test-release.html) I pulled the apk from the update zip from the link (dont want to take any chances flashing it)
Remove old gmail
adb shell
rm /system/app/gmail.apk
rm /system/app/gmail.odex
exit
unmount /system from recovery
reboot.
I then Pushed the apk to system/app from android Commander, someone with better adb knowledge please post the adb commands
screenshots to come after i blurr out my email
Click to expand...
Click to collapse
Much thanks once again!
Blacks are so sexy on this phone, beyond just looking great(where's the screen, where's the casing, I don't know!) and the power savings.
Hmm this is odd, I'm having issues.
ADB Push is giving me permission denied.
I also have Root Explorer and made sure /system/app is read/write access.
I also tried using Root Explorer to move the gmail.apk to /system/app and rebooting several times and nothing. Gmail app won't start at all.
Also tapping on gmail.apk to try to install it to /system/data gives a, "installation not succeed"
I have root working just fine, do I need to install the unsecure boot image?
nxt said:
Hmm this is odd, I'm having issues.
ADB Push is giving me permission denied.
I also have Root Explorer and made sure /system/app is read/write access.
I also tried using Root Explorer to move the gmail.apk to /system/app and rebooting several times and nothing. Gmail app won't start at all.
Also tapping on gmail.apk to try to install it to /system/data gives a, "installation not succeed"
I have root working just fine, do I need to install the unsecure boot image?
Click to expand...
Click to collapse
hmm. Make sure your root is secure. denied on adb push sounds like a root issue to me
nxt said:
Hmm this is odd, I'm having issues.
ADB Push is giving me permission denied.
I also have Root Explorer and made sure /system/app is read/write access.
I also tried using Root Explorer to move the gmail.apk to /system/app and rebooting several times and nothing. Gmail app won't start at all.
Also tapping on gmail.apk to try to install it to /system/data gives a, "installation not succeed"
I have root working just fine, do I need to install the unsecure boot image?
Click to expand...
Click to collapse
Try adb remount
Okay so I followed the steps, except I just did it with root explorer since I don't have a computer by me. The new gmail.apk just kept saying that it would not install so I put the old one back, and now that one won't install either. Help please?
Sent from my Nexus S using Tapatalk
brian6685 said:
Okay so I followed the steps, except I just did it with root explorer since I don't have a computer by me. The new gmail.apk just kept saying that it would not install so I put the old one back, and now that one won't install either. Help please?
Sent from my Nexus S using Tapatalk
Click to expand...
Click to collapse
Delete gmail.apk and gmail.odex from system/app with root explorer.
then dont install the black version just copy and paste in into system/app and reboot
that should work
Nope didn't work I can't even get the stock gmail back on there now ugh
Sent from my Nexus S using Tapatalk
my apologies, guess youll have to wait until you get near a computer unless someone else can guide you in a better direction with root explorer
drexman8244 said:
my apologies, guess youll have to wait until you get near a computer unless someone else can guide you in a better direction with root explorer
Click to expand...
Click to collapse
Do you think it will work with a computer and adb, at least to get my stock gmail back? I dunno why it would be different then root explorer.
Sent from my Nexus S using Tapatalk
Okay well I got stock back from market and that worked... but the black mms mod I had went back to the stock also lol. Weird
Sent from my Nexus S using Tapatalk
sure
brian6685 said:
Do you think it will work with a computer and adb, at least to get my stock gmail back? I dunno why it would be different then root explorer.
Sent from my Nexus S using Tapatalk
Click to expand...
Click to collapse
Definately would work with a pc and adb. but glad your back to normal for now. let me know how it turns out with the pc
Yeah this is weird. Before I had to do it in recovery and adb push, and it worked.
Now with the updated gmail i tried that, and it won't push, i move it with root explorer, rebooted, and gmail isn't detected.
keeps giving me permission denied again.
I think we need an updated root.
nxt said:
Yeah this is weird. Before I had to do it in recovery and adb push, and it worked.
Now with the updated gmail i tried that, and it won't push, i move it with root explorer, rebooted, and gmail isn't detected.
keeps giving me permission denied again.
I think we need an updated root.
Click to expand...
Click to collapse
Just delete gmail.apk from system/apps and then download from market and it will install
Sent from my Nexus S using Tapatalk
Hmmm
nxt said:
keeps giving me permission denied again.
I think we need an updated root.
Click to expand...
Click to collapse
Yeah permission denied sounds like a root problem.
drexman8244 said:
Definately would work with a pc and adb. but glad your back to normal for now. let me know how it turns out with the pc
Click to expand...
Click to collapse
Yeah ill try when I get home with adb. Maybe it doesn't work with root explorer because the system is running when you delete gmail or something. Thanks anyways! Ill get it working and report back later
Sent from my Nexus S using Tapatalk
drexman8244 said:
Yeah permission denied sounds like a root problem.
Click to expand...
Click to collapse
Fixed it again by going to recovery, and mounting both /system/ and /data/ then the adb push worked (while in recovery) now gmail is detected and works.

[Q] Swype Update for Galaxy S

Hi everyone,
I'm not sure if this will make sense, but I am planning to remove the default swype keyboard on my SGS i9000 and install a beta one since Swype has opened up their doors for new beta testers. However, after registering and running SwypeInstaller, I was told by it that I need to remove the Swype first on my SGS--which I can't since it's a system application. So I installed Titanium Backup Pro and froze it then re-ran the Swype Installer. And of course it doesn't install since I cannot overwrite system apps.
In short, I'm now under the dilemma of removing the default Samsung Swype which I couldn't get back unless I reflash a stock firmware or keeping it and not installing the Beta Swype. I think the beta swype is more updated (I've ran it on my x10).
Is there any other way to update the Swype in our SGS?
Thanks.
you need to be rooted, connect with adb and do
rm /system/app/Swype.apk
rm /system/app/Swype.odex
rm /system/lib/libSwypeCore.so
reboot
Thanks. My SGS is rooted and all, but i'm not sure I'm up for some ADB action yet. In case I use Titanium Backup to remove it or use Root Explorer, will it work?
titanium won't remove the lib, in root explorer you can delete the 3 files. but honestly adb is a lot quicker imho
Hey, should I back up those files first before deleting them? Thanks.
I installed the new beta on my Galaxy S, but it just forced closed. This may be due to the fact that I couldn't remove the lib file though.
Also I restarted after remove the old one by using Titanium Backup, but when ever an application got focus it force closed. After restarting that fixed up.
I couldn't restore the old version of Swype, so I had to reflash to get it back.
Hopefully we'll get the self updating Swype soon .
XlAfbk said:
you need to be rooted, connect with adb and do
rm /system/app/Swype.apk
rm /system/app/Swype.odex
rm /system/lib/libSwypeCore.so
reboot
Click to expand...
Click to collapse
Can you tell me how to mount /system as RW in adb?
I am only able to access in RO
EDIT: i managed to get to system in RW mode after rebooting to CWM recovery. I guess this is the only way?
Use sgs tools to remove it, you can find it in the market.
Sent from my SGH-T959D using XDA App
spydr11 said:
Use sgs tools to remove it, you can find it in the market.
Click to expand...
Click to collapse
Ahh good tip - worked nicely!
However - now I can't get Swype to install!
I'm officially on the beta, so am using the installer rather than trying to sideload an apk.
But at some point it prompts me to authorise its installation, saying "this is a system application - are you sure you want to replace it?" - although I've removed (in theory) the system version of swype.
Any ideas?
I'm having the same issue... tried deleting all the files associated with swype using root explorer, no luck...
BrixtonBiker said:
Ahh good tip - worked nicely!
However - now I can't get Swype to install!
I'm officially on the beta, so am using the installer rather than trying to sideload an apk.
But at some point it prompts me to authorise its installation, saying "this is a system application - are you sure you want to replace it?" - although I've removed (in theory) the system version of swype.
Any ideas?
Click to expand...
Click to collapse
Sent from my SGH-T959D using XDA App
Figured it out, deleted the libswype file then restarted, so far its working great.
Sent from my SGH-T959D using XDA App
This really sucks.
I'm a new SGS user and all this rooting and ADB stuff is quite beyond me. All I want is a simple way to update Swype that came pre-installed and apparently that is not possible.

Root explorer issues

I recent just bought a nook. flawlessly rooted it and overclocked it. Now I'm trying to do the adhoc fix using root explorer. However root explorer refuses to switch from read only to read and write. I tried uninstalling and reinstalling and wiping data using titanium back up any suggestions other than adb
Sent from my Vanilla Tazz using XDA App
In Root Explorer, near the top just after the words "Mounted as r/o" there is a button to push (It says: "Mount R/W"). That will give you read & write access. It took me a while to notice that button at first.
Dahsar, that button may very well not be your problem and I do not want to insult you with this post but maybe there is someone else out there that needs this info.
Good luck with it.
I had this problem before. For whatever reason, I had to open up busybox installer and did a re-install, then the root explorer worked.
Sent from my PC36100 using XDA App
Even after pressing the little button in root explorer. It still wouldn't change however reinstalling busybox was the answer thank you
Sent from my Vanilla Tazz using XDA App

[Q] Market won't recognize sideloaded apps

It seems that since updating to the AT&T 2.2 Froyo update and rooting the market will not recognize any side loaded apps that have been added to the phone since upgrading to 2.2. All apps that I side loaded on 2.1 are recognized and can be updated but nothing on 2.2. Anyone else have this problem and if so have you been able to fix this issue?
I used SuperOneClick to root the phone and did a reboot the phone afterward to allow side loading of apps and it is working. I am still using the adb install command to side load all my apps, is this wrong?
If this is something that is not to be discussed I apologize now.
Well I don't have a direct answer to your question but since you are rooted I highly suggest you go and get Titanium Backup along with atrackdog.
The former application will alloa you to backup any applications you want (or aall of them) and then save them to your computer. you can then move the folder to any phone and use Titanium to reinstall the applications exactly where you left off. That means launchers will have the same layouts and games will still have their save states.
The latter will allow you to check the update status of those applications since they won't show up as downloaded applications from the market.
Sent from my Nexus One using XDA Premium App
Titanium Backup has been installed since rooted on 2.1 but will have to check out atrackdog. Thanks for the help so far.
jhightower31 said:
Titanium Backup has been installed since rooted on 2.1 but will have to check out atrackdog. Thanks for the help so far.
Click to expand...
Click to collapse
No problem man, if you have any questions or anything pm me
Sent from my Nexus One using XDA Premium App
side loaded paid apps will NEVER show in market.
free ones can be restored...
tibu has never been able to restore market links for me either.
there used to be a program MCleaner but it got taken off the market..
but all it did was this (do it yourself)
Menu button > Settings > Applications > Manage Apps > All > Market
- force stop
- clear data
- clear cache (if availavle)
restart market > my apps
Gold!
Trusselo said:
side loaded paid apps will NEVER show in market.
Gold!
Click to expand...
Click to collapse
That explains everything.
jhightower31 said:
That explains everything.
Click to expand...
Click to collapse
Actually, it does. Market only keeps track of the apps you buy/download through it. What you're asking is like expecting Wal-Mart to know what you bought from Target.
Hey guys I just had a question while reading through the replies.
I downloaded atrakdog and got a list of all the apps needed to be updated.
One of the apps was the market..
Mine is version 2.3.4
I need to update to 5.0.12
How do you update market? Btw I'm running cm7 does this effect it?
Sent from my phone
Market should update automatically. As far as the sideload apps you can. Also get root explorer and copy paste them to system/app then reboot and they'll all be there.
Sent from my SAMSUNG-SGH-I897 using XDA Premium App
Hydro360 said:
Market should update automatically. As far as the sideload apps you can. Also get root explorer and copy paste them to system/app then reboot and they'll all be there.
Sent from my SAMSUNG-SGH-I897 using XDA Premium App
Click to expand...
Click to collapse
Is there a manual way of updating your market? And what do you paste into system/app? ?
Sent from my phone
Hydro360 said:
Market should update automatically. As far as the sideload apps you can. Also get root explorer and copy paste them to system/app then reboot and they'll all be there.
Sent from my SAMSUNG-SGH-I897 using XDA Premium App
Click to expand...
Click to collapse
So your are saying instead of using adb installer just do a drop and drag to the system/app folder and install them that way? Now will that put them in the market place? I don't quite understand what you are really saying here. Excuse my ignorance.
Hydro360 said:
Market should update automatically. As far as the sideload apps you can. Also get root explorer and copy paste them to system/app then reboot and they'll all be there.
Sent from my SAMSUNG-SGH-I897 using XDA Premium App
Click to expand...
Click to collapse
This didnt work for me. Should you install it again after moving it to the app folder? Thanks in advance!
Sent from my SAMSUNG-SGH-I897 using XDA App
Hivol said:
This didnt work for me. Should you install it again after moving it to the app folder? Thanks in advance!
Sent from my SAMSUNG-SGH-I897 using XDA App
Click to expand...
Click to collapse
That's exactly what I was thinking was moving the file to the system/app file then reinstalling the .apk first then doing the 3 button reboot to see if it would recognize the app on the market. I did try just a 3 button reboot after side loading a few apps using ADB Installer and just doing the normal drop and drag to the sim card and I know that doesn't recognize them. I am going to try and reinstall one of my apps that way and I will let you know if it shows up or not.
When trying to move a new .apk file to the system/app file it says "You cannot paste here because the file system is a read-only."
jhightower31 said:
That's exactly what I was thinking was reinstalling the .apk first then doing the 3 button reboot to see if it would recognize the app on the market. I did try just a 3 button reboot after side loading a few apps using ADB Installer and just doing the normal drop and drag to the sim card and I know that doesn't recognize them. I am going to try and reinstall one of my apps that way and I will let you know if it shows up or not.
Click to expand...
Click to collapse
I tried reinstalling with root explorer from the apps directory and still no luck. I also did the market clear as was suggested and still no luck! Hope this helps!
Sent from my SAMSUNG-SGH-I897 using XDA App
jhightower31 said:
When trying to move a new .apk file to the system/app file it says "You cannot paste here because the file system is a read-only."
Click to expand...
Click to collapse
You have to click the small window at the top of the screen in root explorer that changes r/o to r/w. You have to do that in each directory you want to edit.
Sent from my Captivate using Firefly 2.7
Learn something new everyday. Thanks for that.
jhightower31 said:
Learn something new everyday. Thanks for that.
Click to expand...
Click to collapse
Hehe..... You are welcome!
Sent from my Captivate using Firefly 2.7
Yea still no go for the market recognizing it.
Hey guys i still quite don't get what to copy/paste...
Do you copy/paste the. apk?
Please help..
Sent from my phone

Root not working after update

So I updated my D4 last week to the new build number. I kept root using the RootKeeper app. It indeed stayed rooted after, as I can still see the Superuser app in my app drawer. However, none of the privileges don't seem to work. For example, drocap2 won't take pictures and when I open Titanium, it tells me it couldn't get root access. It says "this attempt was made using the '/system/bin/su' command."
I haven't modded a phone since the OG, and I'm a bit rusty. Could someone help me solve this problem? Thanks!
AMTrombley0924 said:
So I updated my D4 last week to the new build number. I kept root using the RootKeeper app. It indeed stayed rooted after, as I can still see the Superuser app in my app drawer. However, none of the privileges don't seem to work. For example, drocap2 won't take pictures and when I open Titanium, it tells me it couldn't get root access. It says "this attempt was made using the '/system/bin/su' command."
I haven't modded a phone since the OG, and I'm a bit rusty. Could someone help me solve this problem? Thanks!
Click to expand...
Click to collapse
Stupid question but after you updated did you restore root with the Root Keeper app?
Sent from my DROID4 using XDA
Ha! No I didn't. I didn't know you had to restore it. I just saw the su app in my drawer and though I was good. This was the first time using that app. Thanks!
AMTrombley0924 said:
Ha! No I didn't. I didn't know you had to restore it. I just saw the su app in my drawer and though I was good. This was the first time using that app. Thanks!
Click to expand...
Click to collapse
Glad it was something easy!
Sent from my DROID4 using XDA
AMTrombley0924 said:
Ha! No I didn't. I didn't know you had to restore it. I just saw the su app in my drawer and though I was good. This was the first time using that app. Thanks!
Click to expand...
Click to collapse
I am having the same issue, I restored using the root keeper app however the device rooted and root permission granted check boxes never go green. When I click restore root the su.apk pops up say permission was granted.
When I try and run such via the terminal app it command not found. I did look in /system/bin and such is there but no dice
---------- Post added at 04:39 AM ---------- Previous post was at 04:29 AM ----------
jnc8651 said:
I am having the same issue, I restored using the root keeper app however the device rooted and root permission granted check boxes never go green. When I click restore root the su.apk pops up say permission was granted.
When I try and run such via the terminal app it command not found. I did look in /system/bin and such is there but no dice
Click to expand...
Click to collapse
Well it turns out a backup was dropped in /system and it was called su-backup. I was able to obtain root that way then I remounted system and copied it over to /system/bin
So, as it turns out, I did not think to backup my root with Rootkeeper, and now after the update, I still have Superuser but I'm unable to grant any apps superuser permissions. I got the Droid 4 utility .3 and tried to reroot. Unroot, then reroot, and basically everything I could think of, and still, no luck.
PS - Isn't unrooting supposed to remove superuser? It did not.
I had the same problem. Basically what has happened is you have lost root access, but the apps that use root are still there, and without root access, the unroot function is unable to remove them.
What I did, was manually push the files using adb :
adb push motofail /data/local/motofail
adb shell chmod 755 /data/local/motofail
Then I tried the running the exploit to get root:
adb shell "/data/local/motofail exploit"
but it failed... I also tried remounting the system folder as rw and it failed so I couldn't get root.
After this, I booted into fastboot/recovery and wiped my data/cache. Then, I tried the rooting process again, got read/write permission errors (did not originally), wiped data/cache again, and finally tried the unroot process.
This got rid of my superuser.apk and su binary somehow.
After all of this, the rooting utility worked. So, once you manage to get rid of those files, you should be good to go. I apologize I cannot narrow it down any better.
Well, I appreciate your response, but I'm still not having any luck.
Here is what I did:
Rooted phone few weeks back, left it alone.
Installed update
Did a factory reset, superuser still intact, but not granting permissions
Came to these forums
Booted into recovery and wiped (Holding volume buttons at boot, pressing down then up, formatting cache and data/factory reset)
Tried to root using Droid 4 Utility .3 - Did not get many errors
Waited for that process, then again, booted into recovery and wiped
Ran Droid 4 Utility .3 UNROOT option.
Recieved errors in removing superuser.apk due to read-only file system. Permission was denied to remove the app data, system/bin, etc....
Please, I know there's a lot of topics/posts around here and other sites, but I feel like I've tried everything to the best of my knowledge and refuse to give up!
I had a similar problem. I had tinkered with my framework and the update would not install. Got that fixed but forgot to unroot before running the update and got stuck just like you. Tried several things but could not get root back nor completely unroot. In a fit of frustration i tried pete's roottools that i had used for my d2g and it uninstalled the superuser and then i was able to root with the d4 utility. The phone works fine but i suppose it could have upset some other part. So try at your own risk.
can you give me some details about your uninstalled the superuser ?i use the peter's roottool and can't find how to do it...
jsnweitzel said:
I had a similar problem. I had tinkered with my framework and the update would not install. Got that fixed but forgot to unroot before running the update and got stuck just like you. Tried several things but could not get root back nor completely unroot. In a fit of frustration i tried pete's roottools that i had used for my d2g and it uninstalled the superuser and then i was able to root with the d4 utility. The phone works fine but i suppose it could have upset some other part. So try at your own risk.
Click to expand...
Click to collapse

Categories

Resources