Introducing XDA:DevCon – A Conference For Developers By Developers
XDA Developers Android and Mobile Development Forum
Forgot your password?
 
Post Reply+
Tip us?
 
theecho
Old
#1  
theecho's Avatar
Senior Member - OP
Thanks Meter 3
Posts: 321
Join Date: May 2009
Location: Chesapeake, VA

 
DONATE TO ME
Default Root and SU issues

Hello Everyone,

I have recently rooted my phone again but am having an issue. I cannot do an adb remount becase it says that permission is denied. This is going to be due to the fact that when I adb shell it starts with a $ instead of #. If I do the following it will work so that I can push files and system files:

PHP Code:
adb shell //enter adb shell
su //activate superuser
mount -o rw,remount /dev/block/mmcblock1p21 /system //mounts the drive and allows read/write
exit //exit superuser
exit //exit shell
adb push xxxxxxxxxx.apk /system/xxxxxxxxx//push whatever file is needed 
My question is why can I not just adb push or remount? Does anyone know how to make it so that I auto superuser when doing adb shell so i get # instead of $?
 
jj702561
Old
#2  
jj702561's Avatar
Member
Thanks Meter 2
Posts: 61
Join Date: Aug 2010
Location: Texas
you should be able to just type adb remount and have the /system turned either RW or RO depending on what its changing from...
 
karnovaran
Old
#3  
Senior Member
Thanks Meter 69
Posts: 594
Join Date: Jul 2009
Location: DC
Have you granted superuser permissions to adb? It should pop up on the phone.
 
theecho
Old
#4  
theecho's Avatar
Senior Member - OP
Thanks Meter 3
Posts: 321
Join Date: May 2009
Location: Chesapeake, VA

 
DONATE TO ME
yes superuser works on the phone. I can access superuser and it will work but I have to do it manually.
 
theecho
Old
#5  
theecho's Avatar
Senior Member - OP
Thanks Meter 3
Posts: 321
Join Date: May 2009
Location: Chesapeake, VA

 
DONATE TO ME
Quote:
Originally Posted by jj702561 View Post
you should be able to just type adb remount and have the /system turned either RW or RO depending on what its changing from...
I understand that it should allow it but its not. That is exactly what this post is for. If i do the commands list in the first window this is manually change it to RW and then after I finish I set it back to RO.
 
karnovaran
Old
#6  
Senior Member
Thanks Meter 69
Posts: 594
Join Date: Jul 2009
Location: DC
Quote:
Originally Posted by theecho View Post
yes superuser works on the phone. I can access superuser and it will work but I have to do it manually.
Right, but a superuser request will pop up when you use adb remount. Try it again and check the phone for it.
 
theecho
Old
#7  
theecho's Avatar
Senior Member - OP
Thanks Meter 3
Posts: 321
Join Date: May 2009
Location: Chesapeake, VA

 
DONATE TO ME
its not getting to that point. It is giving me an error on the command prompt. I have checked for it and the SU wasnt there

 
Post Reply+
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Go to top of page...

XDA PORTAL POSTS

Boot Animation Paradise for your Android Device

The default boot animations on any device, no matter whichmanufacturer, are generally pretty … more

Flash Custom ROM and Recovery to Samsung Galaxy S 4

After reading about Dan Rosenberg’s bootloader exploit for the Samsung Galaxy S 4,I … more