Related
Edit: Im stuck. I cannot root my phone because something is wrong with Superuser.apk, and I can't uninstall superuser because I can't get root. And if I try to install Superuser it just fails because it's already in there. So I have no idea what to do now, I need to return this phone to the Verizon store and I can't get the Superuser app off the phone. Any ideas?
http://ip208-100-42-21.static.xda-developers.com/showthread.php?p=6978379
should work. I did this to upgrade from market the version that came with the lag fix from the market.
I couldn't get that to work..
What happens when you adb shell into the device, and do 'su'. If you get a # prompt, you have root.
You don't need Superuser.apk to have root access. You can always run the rage.bin process to get a root shell. From there you should be able to at least rename Superuser.apk to something like Superuser.apk.old.
Yeah, I can type su and get the # prompt. Is this what runs the rage.bin:
adb shell
cd /data/local/tmp
chmod 0755 rage.bin
./rage.bin
?
Sorry, Im new to the ADB process. How would I go about renaming? I wanted to use something like root explorer to find the file and remove or rename it, but I can't get any root apps to work. Obviously because Superuser doesnt function I don't get permission prompt. Root explorer either crashes or says to restart to get the permission prompt.
GHII said:
Yeah, I can type su and get the # prompt. Is this what runs the rage.bin:
adb shell
cd /data/local/tmp
chmod 0755 rage.bin
./rage.bin
?
Sorry, Im new to the ADB process. How would I go about renaming? I wanted to use something like root explorer to find the file and remove or rename it, but I can't get any root apps to work. Obviously because Superuser doesnt function I don't get permission prompt. Root explorer either crashes or says to restart to get the permission prompt.
Click to expand...
Click to collapse
If you can do "su" and get the # prompt, forget about rage.bin. You have root access, it's just Superuser that's screwed up.
go to your # prompt and do the following
cd /system/app
mv Superuser.apk Superuser.apk.old
See if that gets you any further as far as being able to re-install
I appreciate your help more than you know, really, thanks. I tried that and I get 'failed on 'Superuser.apk' - No such file or directory. Can it be installed anywhere else, like in a temporary directory?
When I try adb install Superuser.apk it starts to then says:
pkg: /data/local/tmp/Superuser.apk
Failure [INSTALL_FAILED_ALREADY_EXISTS]
So I tried what you just mentioned but using the above directory:
#
cd /data/local/tmp
mv Superuser.apk Superuser.apk.old
and it didn't give me any errors, just the #..but when I went and tried to install Superuser again I got the same error as above.
Ok, new update! I remember someone asking me to do ls in adb shell to get a list of what's in there..so, I did that with /system/app and I got a list...at the very bottom of the list was superuser.apk..this whole time i've been messing with Superuser.apk, a capital S. So, I used your mv method on the lower case version, seemed to work..but when I did adb install Superuser.apk I get Failure [INSTALL_FAILED_UPDATE_INCOMPATIBLE]
Didn't work but I feel Im getting closer
Wow, i just happen to look and the superuser app was no longer showing up in my apps..problem solved. Thanks again for everyone's help in this thread and others.
1) How do I remove hard linked files on the X10 Android file system? I also need to identify them with the "ls" command, but it doesn't work the same as linux by listing the count in the ls listing of hard links to a specific file. The reason is, when I try to move a file in /system/app, it tells me it failed due to cross-device link - likely because the OS knows the link will fail if I move the file to my /sdcard directory. I want to remove the hard-link.
2) Is there a listing of all the options available to the commands in the /system/bin directory? It seems the ls command, for example, is a stripped down version of the ls that comes with linux.
Thanks.
what method are you using to move the files in system/app? you should be able to move them using root explorer, or copy out using dd if= of= statements then rm, the xperia system does not seem to like cp and mv commands
I'm using:
Code:
mv /system/app/Facebook.apk /sdcard/backup/system/app
...it fails. A dd works, because it just does a block copy and doesn't move the file. I'll try moving it with Root Explorer.
I'd prefer an actual command instead of using an app on the phone, as I've connected the phone to my PC with the USB cable and using adb.exe.
FYI, I tried Root Explorer, for some reason it can move the file just fine! My phone is rooted and I'm running the adb shell with super-user access.
use this:
busybox ls -l
busybox cp
busybox mv
Or even better, use "busybox --install /system/bin" and let it install all the symlinks for you
aln688 said:
I'm using:
Code:
mv /system/app/Facebook.apk /sdcard/backup/system/app
...it fails. A dd works, because it just does a block copy and doesn't move the file. I'll try moving it with Root Explorer.
I'd prefer an actual command instead of using an app on the phone, as I've connected the phone to my PC with the USB cable and using adb.exe.
FYI, I tried Root Explorer, for some reason it can move the file just fine! My phone is rooted and I'm running the adb shell with super-user access.
Click to expand...
Click to collapse
biktor_gj said:
use this:
busybox ls -l
busybox cp
busybox mv
Or even better, use "busybox --install /system/bin" and let it install all the symlinks for you
Click to expand...
Click to collapse
Thanks for the tip, you've just explained what busybox is. I always wondered why Titanium Backup wanted Busybox for it to run properly. I'll try these commands out.
UPDATE: Nice, I get VI as well! I was wanting that. I got fedup editing a file on the PC and pushing it back to the phone. Thanks.
Hi, I rooted my Vribrant, both ways (manually and with one click root). I installed terminal emulator. I tried the su command to check if I am root. The # appears normally. However I tried deleting a file with Root explorer, inside the system folder, and when I get back it's still there. I also tried deleting it manually from Terminal EMulator with these commands:
su
cd system/apps
rm Swype.apk
and I get this:
rm failed for Swype.apk, Read-only file system
I also tried:
su rm Swype.apk
and this is returned:
Permission denied.....
I also tried the exact same thing from adb shell (which I had to allow in superuser permissions program), but it gave me the exact same results. What's wrong? Am I doing something wrong? Thanks
In root explorer, try hitting the r/w button at the top and see if that works.
Sent from my SGH-T959 using XDA App
I know about the button. The strange thing is that inside system folder it grands me r/w permissions, and no matter how many times a press the r/o button it doesn't change. Still gives the results I said. However, besides root Explorer what's wrong with terminal emulator and adb?
I'm not 100% sure how to mount as root in adb. I wish I knew myself heh.
Did any of those root methods install the superuser app?
Sent from my SGH-T959 using XDA App
Terminal Emulator should return a "#" after typing "su"
Sent from my SGH-T959 using Tapatalk
From a terminal write
adb root. (will give root)
adb remount. (will remount system as r/w)
adb shell cp /system/app/swype.apk /system/app/swype.apk.bak
Adb shell rm /system/app/swype.apk
This link is what i used to use to gain rw permissions
http://android-tricks.blogspot.com/2009/01/mount-filesystem-read-write.html
Alternatively from terminal on the phone type
su
mount -o rw,remount -t yaffs2 /dev/block/mtdblock3 /system
Assuming your sys partition is mntblock3
Sent from Conical. 07
rbirg said:
I'm not 100% sure how to mount as root in adb. I wish I knew myself heh.
Did any of those root methods install the superuser app?
Sent from my SGH-T959 using XDA App
Click to expand...
Click to collapse
Yes both methods installed the "Superuser Permission" app.
I7oobie said:
Terminal Emulator should return a "#" after typing "su"
Sent from my SGH-T959 using Tapatalk
Click to expand...
Click to collapse
It does normally.
linuxmotion said:
From a terminal write
adb root. (will give root)
adb remount. (will remount system as r/w)
adb shell cp /system/app/swype.apk /system/app/swype.apk.bak
Adb shell rm /system/app/swype.apk
This link is what i used to use to gain rw permissions
http://android-tricks.blogspot.com/2009/01/mount-filesystem-read-write.html
Alternatively from terminal on the phone type
su
mount -o rw,remount -t yaffs2 /dev/block/mtdblock3 /system
Assuming your sys partition is mntblock3
Sent from Conical. 07
Click to expand...
Click to collapse
I tried the first method but it didn't work. When I entered adb root, it said "adbd cannot run as root in production builds". I searched a bit and found that I must have a rooted kernel for this to work. (I guess it's different from the root method I tried in "how to root vibrant").
Anyway the second way worked, where i replaced mntblock3 with stl9 for my phone. I tried the rm command and it worked! However as soon as I exited terminal, I couldn't delete other files. I had to retype the command. I can't do this everytime I need access in System folder. Why is this happenning? Does this have something to do with the fact that root explorer cannot change r/w to r/o mode while in system folder?
what if you open Superuser
Click on Root Explorer.
Click on Forget.
Open Root Explorer and grant Root Access and check to remember it.
work now?
Moved to Q&A, please post in the correct section.
s15274n said:
what if you open Superuser
Click on Root Explorer.
Click on Forget.
Open Root Explorer and grant Root Access and check to remember it.
work now?
Click to expand...
Click to collapse
No it didn't work. I also installed the latest version of SuperUser 2.3.6.1. But without a difference unfortunately.
What works for me, is installing sgs tools, and whenever I want to do write operations on system folder, run the appropriate script from sgs and then use root explorer......
Although I think there's something wrong? Why doesn't the mount r/w button work in root explorer, and why do I have to remount the file system through SGS tools, every time for it to work?
makes no sense to me either. Have you uninstalled RE and the installed it back granting root once reinstalled?
Yes several times.....
I am giving up. I just have to go through the whole process every time. I found some other people having this issue. I am on stock JI6 firmware. Maybe when I read a little bit more I will flash a custom rom.
Download and install Super Manager. Pretty handy program to use for Root users.
I'm not sure what the issue is,but mine does it too. I'm running the "unofficial" froyo JK2 build,flashed via ODIN,and I'm having the same issues. root works,root file explorer is stuck in rw,won't let me switch to ro,and it can't do anything to files in / or /system. manually remounting it from terminal or sgs tools works.
msnuser111 said:
I'm not sure what the issue is,but mine does it too. I'm running the "unofficial" froyo JK2 build,flashed via ODIN,and I'm having the same issues. root works,root file explorer is stuck in rw,won't let me switch to ro,and it can't do anything to files in / or /system. manually remounting it from terminal or sgs tools works.
Click to expand...
Click to collapse
At least I am not the only one with this problem.... haha
I forgot to mention that I use Root Explorer version 2.12.2
When I try a custom Rom I will post the results....
^ why not get the update, .4 is the most recent build. Do you have an illegal copy?
It's not only root explorer. It happens with other file explorers too like android mate and super manager... Inside system folder whatever, I do doesn't happen unless I unmount and remount like before
guys recently brought this tab... bt i cant able to root this???
plz help me out
guys plz help me out
it has only 512 mb ram.... in that system was using major part.........
due to this tab becoming slower........... plz help me in rooting
Bsnl Penta IS701C
I also tried many ways to root the tablet bu i am not able to succeed ............. if u find any details send mail to [email protected]
I rooted the penta tab--------------thanks to perry261
I have successfully rooted my tablet using this method """""thanks to perry261"""""""
1.) Root you tab with unlockroot(google it) ,
after rooting you got a superuser app installed in ur tab. now update it to the latest version
2.)now install terminal emulator.
3.)ok, now u have su file in /system/bin/su
so write this command in emulator system/bin/su and hit enter. you'll now get root permission.
4.) now from emulator type this:
rm /bin/su and hit enter.
5.) copy su from /system/bin/su to /system/xbin/su
for this write this command in emulator:
cp /system/bin/su /system/xbin/ and hit enter.
6.)now make a copy of ur su file from /system/bin/su
for this type command:
cp /system/bin/su /mnt/sdcard/
7.)now delete su from /system/bin/su
command: rm /system/bin/su and hit enter.
Thats it.. now update ur binary from superuser app. !!
reboot the tablet and you have a rooted tablet now
Thanks will be good
Any Queries post here...................................
arunsakura said:
I have successfully rooted my tablet using this method """""thanks to perry261"""""""
1.) Root you tab with unlockroot(google it) ,
after rooting you got a superuser app installed in ur tab. now update it to the latest version
2.)now install terminal emulator.
3.)ok, now u have su file in /system/bin/su
so write this command in emulator system/bin/su and hit enter. you'll now get root permission.
4.) now from emulator type this:
rm /bin/su and hit enter.
5.) copy su from /system/bin/su to /system/xbin/su
for this write this command in emulator:
cp /system/bin/su /system/xbin/ and hit enter.
6.)now make a copy of ur su file from /system/bin/su
for this type command:
cp /system/bin/su /mnt/sdcard/
7.)now delete su from /system/bin/su
command: rm /system/bin/su and hit enter.
Thats it.. now update ur binary from superuser app. !!
reboot the tablet and you have a rooted tablet now
Thanks will be good
Any Queries post here...................................
Click to expand...
Click to collapse
Hi!
I tried this method but I never get the superuser.apk in my tablet.
any one else tried this ?
i got in problem
I tried this and got success but i found a problem in my tablet when i open es file explorer it is tell "SD Card unmounted or not present"
I am in very stress please help me i can't able to use my memory card in my penta is701c please give me sotution as soon as posible.....
how did u root ur penta is701c build 20120918?
can u plz tell me or point me in the right direction because i tried unlockroot and installing terminal and typing the commands but it didnt help plus tried the other bat file that didnt work too its just turns off when i press the button 3rd time
many thanx
braian
How can i download bsnl penta IS709C drivers............. plz ..... tell me....... from where can i get that.........
---------- Post added at 02:00 PM ---------- Previous post was at 01:52 PM ----------
how can i download drivers fop bsnl penta tablet................
CWM for Penta IS701c?
Anyone know cwm for this tab
arunsakura said:
I have successfully rooted my tablet using this method """""thanks to perry261"""""""
1.) Root you tab with unlockroot(google it) ,
after rooting you got a superuser app installed in ur tab. now update it to the latest version
2.)now install terminal emulator.
3.)ok, now u have su file in /system/bin/su
so write this command in emulator system/bin/su and hit enter. you'll now get root permission.
4.) now from emulator type this:
rm /bin/su and hit enter.
5.) copy su from /system/bin/su to /system/xbin/su
for this write this command in emulator:
cp /system/bin/su /system/xbin/ and hit enter.
6.)now make a copy of ur su file from /system/bin/su
for this type command:
cp /system/bin/su /mnt/sdcard/
7.)now delete su from /system/bin/su
command: rm /system/bin/su and hit enter.
Thats it.. now update ur binary from superuser app. !!
reboot the tablet and you have a rooted tablet now
Thanks will be good
Any Queries post here...................................
Click to expand...
Click to collapse
Its not working...
---------- Post added at 12:17 PM ---------- Previous post was at 12:12 PM ----------
vipul.237525 said:
Its not working...
Click to expand...
Click to collapse
Please help me its not working.. I did the same steps as suggested.. but of no result... although i have superuser installed after the above process but binary isn't geting updated.... so can't use lucky patcher, set cpu etc... Superuser update sayz getting root access fail during update binary,..
how to bsnl penta ws702c
pls help me root my tab .I am not expert in android.so pls help me
Rooting Android Devices
Simple way to root almost any tablet/phone is to use UnlockRoot. Download it from its website. The
free version is slightly older version and will install some free promotional software along with UnlockRoot.
Free version also comes with older version of SuperSU which does not work well with some android devices.
So one has to uninstall SuperSu using Android Home page > Settings > Apps > SuperSu > uninstall.
Try to uninstall from inside SuperSU settings does not work. It has to be uninstalled by using the Android Settings
menu.
Procedure to Root is -
A) Download & install Unlock Root (about 39MB) on PC
B) Install the USB drivers for your device before you use Unlock Root. You can usually download the drivers from
your device manufacturer's website. Or, if you received a driver CD together with your device, install the drivers
using the installer on the CD.Generic google version comes with Android SDK and can be used here.
It is also attached to this post.
B) Enable USB debugging on your tablet/phone and connect it to the PC. Notification should appear on the screen that USB debugging
is connected. Do not enable USB drives function on the device. Also check in Windows Device Manager that
"Android Composite ADB Interface" is enabled and working fine. You can also run ADB.exe in a command prompt and run command
ADB devices. This should show a list of attached devices.
C) Run Unlock Root. It will connect your device and detect the model information automatically.
After the identification of your model and Android OS, click “Root” button to start the root process. Wait for it to complete rooting.
D) Device will reboot automatically after rooting. Otherwise wait for few minutes and do it manually.
E) Unlock Root will have installed a super-user manager called SuperSU which will regulate which apps can run with all
super-user privileges. Every time a app want to run with all the rights a dialog will come up on screen asking to user to deny
or grant super-user access to the app. This list can also be managed from inside SuperSU settings menu. As mentioned above
this version installed by Unlock Root has to be uninstalled and new version installed from Play Store.
F) Download Terminal Emulator from Google Play store and run command su in it. SuperSU dialog should pop up asking permission.
If it fails run cp /system/xbin/su /system/bin/su to copy su command to system path.
G) Download some other apps which need super-user rights like Titanium, Helium backup or Antutu CPU master to check that
your device is properly rooted and your device will become truly yours. Be VERY CAREFUL now as it is very easy to
damage/delete important OS files and getting into trouble.
Best Regards,
VK Singh
==============================================================================================
If you like this, please press THANKS button
Can't update su binary from superuser and only terminal emulator and titanium backup gaining root access not other apps
Su binary is still legacy.
Sent from my Micromax A25 using xda app-developers app
niraj chavan said:
Can't update su binary from superuser and only terminal emulator and titanium backup gaining root access not other apps
Su binary is still legacy.
======================================================================================================
Uninstall superuser app or other similar apps
Delete legacy su binary and also the link to busybox su by using adb
to shell into the device as given below.
1) shell into the device
adb shell
2) remove existing su binary
rm -f /system/xbin/su
3) remove link to busybox su binary
rm -f /bin/su
4) copy su binary from ClockworkMod Superuser & change its ownership & mode
adb push su /system/xbin/su
chown 0:0 /system/xbin/su
chmod 6755 /system/xbin/su
5) create a link to su binary in system path
ln -s /system/xbin/su /system/bin/su
6) Install ClockworkMod superuser app again
7) Reboot & Enjoy
Click to expand...
Click to collapse
I'll try.
Thank you !
Sent from my A25 using xda app-developers app
Can you simplify the steps please....
I cant understand
Sent from my A25 using xda app-developers app
I just play andorid device a few days, but My hdx7 is a little bricked because i deleted some system app. Now I can log in fire os, have adb, usb connected and internal storge, even i can operate device setting app, but i can't open the other app because i don't have a desktop.
I compare system/app folder with the same folder in the amazon bin, found that the folder lack of scores of app, but the other system folder is the same. So I hope can adb push app folder to the system folder, but the pemission denied. I try to remount or mount, it can't work.
if adb root, then "adbd cannot run as root in production builds.
if adb push apk to the app folder, then “permission denied".
if adb remount, then ”remount failed: Operation not permitted".
and I have try adb shell like that:
# su
# mount -o rw,remount -t yaffs2 /dev/block/mtdblock3 /system
# chmod 777 /system
# exit
it didn't work.
my hdx7 have rooted.
My Questions are:
1. If I could push the app folder to the system folder and reset to factory, is my hdx saved?
2. How to get the system folder rw in the situation?
thx for any prompt, although i am a rookie but i will try my best, i wish the adept can help me and will be enormously grateful. Sorry for my poor english.
It sounds to me that you had lost root.
kschang said:
It sounds to me that you had lost root.
Click to expand...
Click to collapse
So i have tried root again like "http://forum.xda-developers.com/showthread.php?t=2544965" said
But it didn't work, please see the attach, But I don't know why.
Sorry for that i'm rookie to andorid and ask so many questions.
randolphling said:
So i have tried root again like "http://forum.xda-developers.com/showthread.php?t=2544965" said
But it didn't work, please see the attach, But I don't know why.
Sorry for that i'm rookie to andorid and ask so many questions.
Click to expand...
Click to collapse
Hmmm... It says you still have root (the prompt changed after "su")
I personally don't use ADB much. I have Root Explorer (grabbed it legally for free from Amazon ages ago) and Wifi Explorer Pro (same method) so I basically WiFi myself the files I need sideloaded then move them around on the device itself. But if you've lost launcher, you have deeper issues.
Have you tried ADB push any launcher? Or even a download store like 1Mobile or Aptoide?
ADB is basically a Linux shell debug into Android, so you need to learn some Unix shell commands. I'm sure you can find ADB guides with the basic commands, like "ls", "cp", and so on.
You need to check the directory and see if the system/app and other system directories are still there. This is one reason I only play with the copy of ROM I have (see Safestrap Recovery).