[Q] How to gain root permission? - HD2 Android Q&A, Help & Troubleshooting and Genera

Hi,
i'm using mdj 1.7 nandroid and i got problem to get root permission.
i installed super user, z4root,su-2.3.6.1-ef-signed and still i cant delete files , and few more actions.
someone can help me ? :O

incident said:
Hi,
i'm using mdj 1.7 nandroid and i got problem to get root permission.
i installed super user, z4root,su-2.3.6.1-ef-signed and still i cant delete files , and few more actions.
someone can help me ? :O
Click to expand...
Click to collapse
Did you check it is r/w and not r/o?
Have you tried superclick?
Sent from my HTC HD2 using XDA App

jose makalolot said:
Did you check it is r/w and not r/o?
Have you tried superclick?
Sent from my HTC HD2 using XDA App
Click to expand...
Click to collapse
I dont know how to check that is r/w ..

1.7 is already rooted...you dont need to install any of those apps...

the_scotsman said:
1.7 is already rooted...you dont need to install any of those apps...
Click to expand...
Click to collapse
are you sure ? cuz i cant delete files from system folder in root and etc..

incident said:
are you sure ? cuz i cant delete files from system folder in root and etc..
Click to expand...
Click to collapse
You need to use something like Root Explorer to do that.

the_scotsman said:
You need to use something like Root Explorer to do that.
Click to expand...
Click to collapse
i know.. but still cant do it..
btw i try to run desktop virtualizer and also this program said that she dont have the right permission do to so. :<
thanks for your's help , mate ! :]

Do you have SDK installed? If so, just open up a command prompt and use:
Code:
adb shell
mount -o rw,remount /system
rm *insert path to specific file you want to remove*
Ctrl+C
exit

anrabi4 said:
Do you have SDK installed? If so, just open up a command prompt and use:
Code:
adb shell
mount -o rw,remount /system
rm *insert path to specific file you want to remove*
Ctrl+C
exit
Click to expand...
Click to collapse
thanks !
with this way , can i grand permission for application? like desktop virtualizer?
(when i run it, it's said "not have right permission")
if yes , how?

Related

[Q] s-on/s-off

hey all. anyone know if we can turn s-off on wildfire yet? kninda frustraiting... its root but not really root
bassmonkey said:
hey all. anyone know if we can turn s-off on wildfire yet? kninda frustraiting... its root but not really root
Click to expand...
Click to collapse
To me this is a 100% genuine "WTF?" statement... I don't get what you mean mate, please explain..
bassmonkey said:
hey all. anyone know if we can turn s-off on wildfire yet? kninda frustraiting... its root but not really root
Click to expand...
Click to collapse
Not yet till Alpharev v2 realesed
Sent from my HTC Legend
gyroing said:
Not yet till Alpharev v2 realesed
Sent from my HTC Legend
Click to expand...
Click to collapse
Thanks dude, I've just came from having a totally customized hero
N despite the screen rez I'm loving this phone but no access to system folder is pants
Sent from my HTC Wildfire using XDA App
niksakl said:
To me this is a 100% genuine "WTF?" statement... I don't get what you mean mate, please explain..
Click to expand...
Click to collapse
As far as I can tell its a new security thing HTC have added to the hboot, basically makes the system folder read only even with root (think that's correct??)
Sent from my HTC Wildfire using XDA App
bassmonkey said:
Thanks dude, I've just came from having a totally customized hero
N despite the screen rez I'm loving this phone but no access to system folder is pants
Sent from my HTC Wildfire using XDA App
Click to expand...
Click to collapse
Well , it's not totally locked down. You can access it (Read and write) if you boot into recovery. Not the smoothest solution but it works. Also there is AUFS but i don't think i have gotten that to work at all. Maybe it needs to be enabled, haven't really checked but i boot into recovery when i need to change something.
You can change the /system permission with a terminal emulator as Better Terminal Pro on the phone or by the phone connected to your pc via
Code:
> adb shell
doing in both cases:
Code:
# chmod -R 777 /system
when you restart the phone, /system will be reset to the original 755 permissions.
thanks for the response guys
71baker said:
Well , it's not totally locked down. You can access it (Read and write) if you boot into recovery. Not the smoothest solution but it works. Also there is AUFS but i don't think i have gotten that to work at all. Maybe it needs to be enabled, haven't really checked but i boot into recovery when i need to change something.
Click to expand...
Click to collapse
how do you do it through recovery? im guessing thatd be with adb?
Tetractys said:
You can change the /system permission with a terminal emulator as Better Terminal Pro on the phone or by the phone connected to your pc via
Code:
> adb shell
doing in both cases:
Code:
# chmod -R 777 /system
when you restart the phone, /system will be reset to the original 755 permissions.
Click to expand...
Click to collapse
in terminal i entered su
chmod -R777/system
which then gave me; usage: chmod <mode> <file>
i then entered; /system and got permission denied??
bassmonkey said:
thanks for the response guys
how do you do it through recovery? im guessing thatd be with adb?
in terminal i entered su
chmod -R777/system
which then gave me; usage: chmod <mode> <file>
i then entered; /system and got permission denied??
Click to expand...
Click to collapse
If you have written the command exactly as you report is obvious that the os return an error. try to write as i did... (with blanks in between)
of course your phone had to be passed the Unrevoked 3.21 procedure!
http://forum.xda-developers.com/forumdisplay.php?f=701
Anyway if you are not very much concerned in linux shell commands, i would suggest you to wait another more automatic method.
Tetractys said:
If you have written the command exactly as you report is obvious that the os return an error. try to write as i did... (with blanks in between)
of course your phone had to be passed the Unrevoked 3.21 procedure!
http://forum.xda-developers.com/forumdisplay.php?f=701
Anyway if you are not very much concerned in linux shell commands, i would suggest you to wait another more automatic method.
Click to expand...
Click to collapse
lol.'not concerned' very diplomatic yeah, kind of a windoze boy n therefore not really up on linux.
i did root with 3.21 and i tried the chmod command with all the spaces and terminal just gave me 'bad mode' (it also gave me bad mode when i tried adb) so i tried as i posted. bummer but nevermind, come on alpharev 2
71baker said:
Also there is AUFS but i don't think i have gotten that to work at all. Maybe it needs to be enabled, haven't really checked but i boot into recovery when i need to change something.
Click to expand...
Click to collapse
You can enable AUFS in Jacob's latest kernel by typing "aufs --enable" in a terminal emulator app in android, and then reboot the phone.

[Q] Can't Remove Copilot Trial in 2.2 Streak Beta

i updated my streak to the 2.2 FROYO update meant for US STreak BETA devices and it comes preinstalled with Copilot Trial which i cant remove with Titanium Backup is there any other way???
First and formost, you must be rooted unless you use adb
*Using a file explorer that has root access. I like SUFBS (SU File Manager & Terminal) myself many people like root explorer tho.
Just mount /system as read/write and delete the apk from /system/app and your done.
or
*using adb
adb remount
adb shell ls /system/app <<*This is just to see a list of all the apps in /system/app. I am unsure of the exact name of the copilot apk. If you know, skip this step.
adb shell rm /system/app/name of file you wish to remove
or
*using terminal
su
mount -o rw,remount /system
cd /system/app
ls <<<*again because I don't know the exact name of the apk file
rm name of the file you wish to remove
FIRSTLY << If that is a word ... I am a "root" virgin .. I used something called z4root . . I don't know if it worked .. I don't know why I even would want to 'root' my streak other than to remove unnecessary programs. In any case I haven't figured out how to do ANYTHING .. The directions below are probably clear to some, but could you or someone else do a "root for dummies" explanation or better yet, do a "adb" for dummies then I don't need to worry if I have rooted it or not. No rush ..
shEEEsh said:
FIRSTLY << If that is a word ... I am a "root" virgin .. I used something called z4root . . I don't know if it worked .. I don't know why I even would want to 'root' my streak other than to remove unnecessary programs. In any case I haven't figured out how to do ANYTHING .. The directions below are probably clear to some, but could you or someone else do a "root for dummies" explanation or better yet, do a "adb" for dummies then I don't need to worry if I have rooted it or not. No rush ..
Click to expand...
Click to collapse
Try here
http://www.streaksmart.com/2010/09/how-to-root-and-unroot-the-dell-streak-with-one-click.html
also check here
http://www.streaksmart.com/2010/09/benefits-of-rooting-your-dell-streak.html
flub said:
Try here
http://www.streaksmart.com/2010/09/how-to-root-and-unroot-the-dell-streak-with-one-click.html]
Click to expand...
Click to collapse
I've not been able to get universal androot to work with 2.2, but z4root definitely has.
if you see an app called "superuser" or "superuser permissions", youre rooted. the app you are looking to delete is /system/app/copilot.apk
The Jack of Clubs said:
if you see an app called "superuser" or "superuser permissions", youre rooted. the app you are looking to delete is /system/app/copilot.apk
Click to expand...
Click to collapse
Hi Jack I see in your signature you have a newer build that the one I have can you point me to the link here or In streaksmart and more important is better or less buggy than 309.
Thanks in advance
sure no problem. i posted a little guide at http://forum.pocketables.net/showthread.php?t=8017
Thanks for help
thanks for all your help finally removed copilot with SUFBS great app btw definitely work the $2 on the market.
ALSO MODERATORS I THINK THIS THREAD CAN BE CLOSED AS THERE IS NOTHING LEFT TO ADD TO IT

What app/technique to remove stock apps after root?

Right now I'm fully unlocked/rooted, but I'm wondering how any of you might have been able to successfully remove/uninstall stock apps? Obviously if this was on my N1 I'd just use TB, but as I'm sure others have found TB is currently unable to detect the apps (unless someone has gotten it to work??).
Thanks, hope someone has a suggestion!
I was able to uninstall them using Better Terminal Emulator. The code is pretty simple:
su
cd /system/app
mv Cordy.apk Cordy.apkb
mv DungeonDefenders.apk DungeonDefenders.apkb
exit
exit
This only changes the file type so the don't show up. If you want true uninstall (irreversible) use:
su
cd /system/app
rm Cordy.apk
rm DungeonDefenders.apk
exit
exit
If you want to know file names in the system apps folder, use:
cd /system/app
ls
Sent from my Xoom using XDA Premium App
alexdw369 said:
I was able to uninstall them using Better Terminal Emulator. The code is pretty simple:
su
/system/app
mv Cordy.apk Cordy.apkb
mv DungeonDefenders.apk DungeonDefenders.apkb
exit
exit
This only changes the file type so the don't show up. If you want true uninstall (irreversible) use:
su
/system/app
rm Cordy.apk
rm DungeonDefenders.apk
exit
exit
If you want to know file names in the system apps folder, use:
/system/app
ls
Sent from my Xoom using XDA Premium App
Click to expand...
Click to collapse
Ok, just tried this with another terminal emulator, but after entering "/system/app" I get "permission denied". Though it did show that I had superuser permissions after entering su.
I use root explorer. You just click mount r/w and delete or rename or move just like on your computer
https://market.android.com/details?id=com.speedsoftware.rootexplorer&feature=search_result
bwcorvus said:
I use root explorer. You just click mount r/w and delete or rename or move just like on your computer :]
Click to expand...
Click to collapse
Is there a free app that can do the same thing?
Root uninstaller
https://market.android.com/details?id=com.rootuninstaller.free
LPHS said:
Root uninstaller
https://market.android.com/details?id=com.rootuninstaller.free
Click to expand...
Click to collapse
Thanks a bunch.
would someone be so kind as to post a list of apps that are safe to remove?
derekstory said:
would someone be so kind as to post a list of apps that are safe to remove?
Click to expand...
Click to collapse
http://forum.xda-developers.com/showthread.php?t=1341558
[Updated 9/11] Bloadware Freeze List
Instead of deleting it just freeze it. If you want it without all the bloatware just flash a rom.
Sent from my SGH-I727R using Tapatalk

[HOWTO] Dalvik2Cache 90MB extra Space for Apps

found this http://forum.xda-developers.com/showthread.php?t=1174160 here in the forum, but cant get it to work on my neo
after a little seaching i found an other script that seems to work on NEO maybe on ARC too
also install-recovery.sh isnt execute on my neo so i put the call into hw_config.sh and it works fine now
howto.
1. push dalvik2cache /system/bin/dalvik2cache
2. adb shell
3. chmod 755 /system/bin/dalvik2cache
4. echo "/system/bin/dalvik2cache" >> /system/etc/hw_config.sh
5. reboot
btw. you need an inscured adb or an insecure kernel like this -> http://forum.xda-developers.com/showthread.php?t=1197263
if you do that, then at your own risk, do not complain when your phone is broken
hi,
i think it should also work without insecure adb and with stock kernel.
but root is needed...
copy the dalvik2cache file to sdcard first
with rootexplorer copy file to system/bin
set permissions
edit the hw_config.sh with editor (rootexplorer)
works great, thanks!
since my kernel supports init.d binaries/scripts u can actually just push it to /etc/init.d/ OR /system/etc/init.d/
it should work... though u may need to verify permissions... chmod 777 is best bet
DooMLoRD said:
since my kernel supports init.d binaries/scripts u can actually just push it to /etc/init.d/ OR /system/etc/init.d/
it should work... though u may need to verify permissions... chmod 777 is best bet
Click to expand...
Click to collapse
can you please post 1,2,3,4 simple guide to make this work with you fantastic kernel Doomlord?
i really need more space for apps
@inteks: what are the cons of this dalvik2cache? if there are cons
Alejandrissimo said:
@inteks: what are the cons of this dalvik2cache? if there are cons
Click to expand...
Click to collapse
i found out that some apps dont work just after install they need a reboot before they work ?!?!
dont know why!
DooMLoRD said:
since my kernel supports init.d binaries/scripts u can actually just push it to /etc/init.d/ OR /system/etc/init.d/
it should work... though u may need to verify permissions... chmod 777 is best bet
Click to expand...
Click to collapse
i placed a scipt in /etc/init.d/ but it isnt execute on startup ...
ps:
the script is startable and permissons should be ok.
if i place the name of that script (/etc/init.d/start.sh) at the end of hw_config.sh then its executet on startup
Hi friends,
I've been trying to do this but I really don't know how to use adb. I have Android SDK installed on my computer, and fastboot, flash...ect. But every time I type "adb remount" then I get the answer is 'adb' is not found (blah blah blah...).
Plus my phone can't boot to recovery. Anyone please tell me where can I find the instruction how to do it? I really want to have more space for my phone and move all installed apps to sd card (I also have my sd card partitioned with ext3 and fat32).
Many thanks in advance.
Saigonian said:
I've been trying to do this but I really don't know how to use adb.
Click to expand...
Click to collapse
Have a look at first post in this thread - you have to copy two files
Saigonian said:
Plus my phone can't boot to recovery.
Click to expand...
Click to collapse
You will have to unlock your phone first and then, using adb, install a custom kernel by fx. DooMLoRD from the link in my signature.
I dont know how to use cmd, can I use Root Explorer?
Anyway to revert it back? Because few apps are missing after it's done.
inteks said:
found this http://forum.xda-developers.com/showthread.php?t=1174160 here in the forum, but cant get it to work on my neo
after a little seaching i found an other script that seems to work on NEO maybe on ARC too
also install-recovery.sh isnt execute on my neo so i put the call into hw_config.sh and it works fine now
howto.
1. push dalvik2cache /system/bin/dalvik2cache
2. adb shell
3. chmod 755 /system/bin/dalvik2cache
4. echo "/system/bin/dalvik2cache" >> /system/etc/hw_config.sh
5. reboot
btw. you need an inscured adb or an insecure kernel like this -> http://forum.xda-developers.com/showthread.php?t=1197263
if you do that, then at your own risk, do not complain when your phone is broken
Click to expand...
Click to collapse
I'm sorry was that a typo? When your phone gets broken! Or if?
Sent from my LT15i using XDA Premium App
Hi harfot,
Thank you so much! I have it done now! But I wonder why the free space in my phone is now still the same (184MB - Because I only have a few apps installed).
inteks said:
hi,
i think it should also work without insecure adb and with stock kernel.
but root is needed...
copy the dalvik2cache file to sdcard first
with rootexplorer copy file to system/bin
set permissions
edit the hw_config.sh with editor (rootexplorer)
Click to expand...
Click to collapse
hey! This sounds like a best solution if you dont want to unlock the bootloader. But I am not too advanced user yet, could you please explain me this one with more details? actually I only need to know
1). which permissions exactly need to be set and
2). what to write inside the hw_config.sh file
Any help appreciated!
bump! no one has any ideas?
Thanks it's work in arc

[Q] "Application Not Installed " Google Maps v6.2.0

When I try to install this GMaps It always getting "Application not installed" error.I did
1.Backup older Gmaps,Street View then wipe data & Uninstalled both.
2.When I gonna install New GMaps app in the end of installation it show "application not installed"
3.Reboot device & try to install,still getting same result!
What should I do?
Thanks
crazykas said:
When I try to install this GMaps It always getting "Application not installed" error.I did
1.Backup older Gmaps,Street View then wipe data & Uninstalled both.
2.When I gonna install New GMaps app in the end of installation it show "application not installed"
3.Reboot device & try to install,still getting same result!
What should I do?
Thanks
Click to expand...
Click to collapse
Have you tried using adb if not wait for the signed version..
jr_718 said:
Have you tried using adb if not wait for the signed version..
Click to expand...
Click to collapse
Is this code correct
"adb remount
adb push /maps 6.2.0 -mod.apk / system/app"
?
Where should I place the app file?In "platform-tools" folder?
Thank you very much for helping me!
crazykas said:
Is this code correct
"adb remount
adb push /maps 6.2.0 -mod.apk / system/app"
?
Where should I place the app file?In "platform-tools" folder?
Thank you very much for helping me!
Click to expand...
Click to collapse
Our on the right path so far.. But the way I've always used adb I kinda dragged everything to the tools folder...I have the library and everything else there...try putting it on our tools folder and see what happens if not check the platform tools.. Just drop the map apk and try it out.
jr_718 said:
Have you tried using adb if not wait for the signed version..
Click to expand...
Click to collapse
jr_718 said:
Our on the right path so far.. But the way I've always used adb I kinda dragged everything to the tools folder...I have the library and everything else there...try putting it on our tools folder and see what happens if not check the platform tools.. Just drop the map apk and try it out.
Click to expand...
Click to collapse
I tried,but remount was not successful.Remount permission faild.Show"ADB remountperation faild".Why is this?I've rooted & s-off my device.Also
"adb shell
$ su"
NOT GIVING # istead of $.
Why is that?Even root explorer,i can't move apps to system/app (even mount as R/W)!Why is that?
crazykas said:
I tried,but remount was not successful.Remount permission faild.Show"ADB remountperation faild".Why is this?I've rooted & s-off my device.Also
"adb shell
$ su"
NOT GIVING # istead of $.
Why is that?Even root explorer,i can't move apps to system/app (even mount as R/W)!Why is that?
Click to expand...
Click to collapse
Hmm.. even root explorer.. that's strange you mean mount R/W to R/O in root explorer..
from my end i first did c:\androidsdk then was able to adb push etc...what i could suggest is wait for the signed version.. am on samsung galaxy t989, am at work, i can't really access nothing right now to check with you...i have my mytouch 4g at home...i know you have root access because you said you were able to backup and uninstall using titanium backup.. so i guess you have root access...but try the mount r/w to r/o and see what happens...
jr_718 said:
Have you tried using adb if not wait for the signed version..
Click to expand...
Click to collapse
jr_718 said:
Our on the right path so far.. But the way I've always used adb I kinda dragged everything to the tools folder...I have the library and everything else there...try putting it on our tools folder and see what happens if not check the platform tools.. Just drop the map apk and try it out.
Click to expand...
Click to collapse
jr_718 said:
Hmm.. even root explorer.. that's strange you mean mount R/W to R/O in root explorer..
from my end i first did c:\androidsdk then was able to adb push etc...what i could suggest is wait for the signed version.. am on samsung galaxy t989, am at work, i can't really access nothing right now to check with you...i have my mytouch 4g at home...i know you have root access because you said you were able to backup and uninstall using titanium backup.. so i guess you have root access...but try the mount r/w to r/o and see what happens...
Click to expand...
Click to collapse
Aha!Now I can push apks to system/app folder.Now how should I install it?Normal installation does not work,no.Reply me when you can.Thanks
Update-
After reboot unable to copy read permission of something in SYSTEM folder!All the other can R/W.But SYSTEM is only R/O.Oh... I donno what to do.I will wait for signed one as you said.
crazykas said:
Aha!Now I can push apks to system/app folder.Now how should I install it?Normal installation does not work,no.Reply me when you can.Thanks
Update-
After reboot unable to copy read permission of something in SYSTEM folder!All the other can R/W.But SYSTEM is only R/O.Oh... I donno what to do.I will wait for signed one as you said.
Click to expand...
Click to collapse
You can make the system r/w.
Code:
mount -o remount,rw -t yaffs2 /dev/block/mtdblk3 /system
i know that's not the exact code but it works just fine for me.
crazykas said:
Aha!Now I can push apks to system/app folder.Now how should I install it?Normal installation does not work,no.Reply me when you can.Thanks
Update-
After reboot unable to copy read permission of something in SYSTEM folder!All the other can R/W.But SYSTEM is only R/O.Oh... I donno what to do.I will wait for signed one as you said.
Click to expand...
Click to collapse
Same way you posted...
jr_718 said:
Same way you posted...
Click to expand...
Click to collapse
It only worked one time.After reboot it does not work.By the way,if you can please answer to these questions.These are my last questions
1.When we gonna flash new rom instruction always say do a Nanandroid backup,no.Still im on rooted froyo.So How to do NANANDROID BACKUP?Where is this option?
On bootloader,rom manager or TB?
2.Do I need busybox?What is busybox?
crazykas said:
It only worked one time.After reboot it does not work.By the way,if you can please answer to these questions.These are my last questions
1.When we gonna flash new rom instruction always say do a Nanandroid backup,no.Still im on rooted froyo.So How to do NANANDROID BACKUP?Where is this option?
On bootloader,rom manager or TB?
2.Do I need busybox?What is busybox?
Click to expand...
Click to collapse
1. You can use Rom manager to backup..
http://forum.xda-developers.com/showthread.php?t=1186090
2. Busybox is a great tool for rooted users. It basically give you more linux / Unix based commands that you normally don't have access to. If you Google busybox you can find more info...
jr_718 said:
Same way you posted...
Click to expand...
Click to collapse
jr_718 said:
1. You can use Rom manager to backup..
http://forum.xda-developers.com/showthread.php?t=1186090
2. Busybox is a great tool for rooted users. It basically give you more linux / Unix based commands that you normally don't have access to. If you Google busybox you can find more info...
Click to expand...
Click to collapse
Hey I just found this app from market
market://details?id=com.beansoft.mount_system
It can mount system folder!Now I can copy apps!Yahooooo!Ah!I've set permission to this Gmaps app & rebooted device.But it is still not visible.But it is in system/app folder How I make this visible/install?
TIA

Categories

Resources