One click root kinda worked? - XPERIA X10 Android Development

I did the one click root on my new x10a and it says it worked, I even have the superuser permissions in my apps, but the list is empty. When i try the su command in adb it says permission denied.
What can i do?
Sent from my X10a using XDA App

Dinglehoofis said:
I did the one click root on my new x10a and it says it worked, I even have the superuser permissions in my apps, but the list is empty. When i try the su command in adb it says permission denied.
What can i do?
Sent from my X10a using XDA App
Click to expand...
Click to collapse
When you tried the "su" command with adb, did the Superuser app pop up on your phone to ask for permission? You have to then allow the access from this screen for it to work.

Nope, nothing popped up at all. It's weird, the readme says to boot the phone in flash mode and i followed all the steps verbatim. I'm really not sure where i went wrong.
I'm gonna try on my pc when i get home.
Sent from my X10a using XDA App

Try the su command when your phone is booted normally and unlocked then give yourself permission via the onscreen prompt. I think it will remember for subsequent access.

Related

Telstra Deodex

I'm trying to deodex my atrix with the 4.1.4.2 sbf, but I'm having trouble. I think it's because I don't have superuser permissions of adb, how do I get this?
adb shell
Su
On the phone itll prompt you with a super user permissions.
Run the script now and it should work
Sent from my MB860 using XDA App
ChongoDroid said:
adb shell
Su
On the phone itll prompt you with a super user permissions.
Run the script now and it should work
Sent from my MB860 using XDA App
Click to expand...
Click to collapse
Is this done through Terminal Emulator?

[SOLVED] Renamed PortalApp with Root Explorer

In trying to enable the webtop app I renamed the PortalApp.apk to PortalApp.apk.bak. Now I get an error message:
"The application com.android.portal (com.android.portal) has stopped unexpectedly.Please try again."
I know, I shouldn't have renamed that apk when in the thread it didn't say to but I figured I needed to replace that too. I've learned my lesson.
How can I go about fixing this?
Connect your mobile to computer .
I hope you have adb checked already!
Open cmd.
And write:
adb shell
su
(and TRY TO ALLOW on the phone)
mv system/app/PortalApp.apk.bak system/app/PortalApp.apk
If you can't allow SU request, respond here. To give a try with same commands on early usb enumeration!
If I helped, hit thanks button
Sent from my MB860 using XDA App
Do you mean PortalApp.apk instead of Portal.apk?
Bagel Bear said:
Do you mean PortalApp.apk instead of Portal.apk?
Click to expand...
Click to collapse
Yes. I Am on the atrix. And I couldnt see or remember your apk, so I posted and later edit.
Sent from my MB860 using XDA App
I do have the sdk installed and I've used it before but I've forgotten how to get to it. Just typing "adb shell" on the first line of cmd won't do much help if I'm not in the right directory.
With windows explorer!
Find your sdk folder. Enter it.
Copy everything.
Go to Windows folder, and paste everything!
Now you have "adb" command directly in your cmd prompt!
Sent from my MB860 using XDA App
Can I give you one million thanks?
Everything worked out alright!
Yes.
Go to xda settings, click the autothanks button, put "Paschalis" and then allow SU Request on your atrix!
Heheheh!!
Your are welcome!!
Sent from my MB860 using XDA App
Can you also replace:
Need help in your topic title, with:
[SOLVED] tag?
So somebody else with same problem, find answer easily!
Sent from my MB860 using XDA App

Few questions

Has there been anything on rooting directly from the phone?
And has anyone made an update.zip with unlockd boot?
Sent from my MB855 using XDA Premium App
Yes, you can root directly from your phone by using terminal emulator but you have to put photon-torpedo.tar to /data/tmp first. I rooted my photon on the phone itself.
GraphicDemon said:
Has there been anything on rooting directly from the phone?
And has anyone made an update.zip with unlockd boot?
Sent from my MB855 using XDA Premium App
Click to expand...
Click to collapse
http://forum.xda-developers.com/showthread.php?t=1216143
A little bit of reading goes a long, long way. This thread will tell you the current state of the art.
urcboss07 said:
Yes, you can root directly from your phone by using terminal emulator but you have to put photon-torpedo.tar to /data/tmp first. I rooted my photon on the phone itself.
Click to expand...
Click to collapse
Ok can you please tell me how you got terminal to process your commands. I get permission denied every time I use terminal to try and do anything with /data. I obviously need root to complete the commands using terminal to write to anything besides the sd. I would appreciate any help. Thanks in advance.
Sent from my MB855 using XDA Premium App
Ok I tried using it from phone but how u push it to data without using comp
Sent from my MB855 using XDA Premium App
Did you install superuser from market? You also need to install Superuser and push photon-torpedo.tar to /data/tmp
then type the following in terminal emulator:
cd /data/tmp
/bin/tar xf /data/tmp/photon-torpedo.tar
/data/tmp/photon-torpedo.sh
/data/tmp/install-su.sh
Just say "THANKS" to Edgan for great work and job well done.
urcboss07 said:
Did you install superuser from market? You also need to install Superuser and push photon-torpedo.tar to /data/tmp
then type the following in terminal emulator:
cd /data/tmp
/bin/tar xf /data/tmp/photon-torpedo.tar
/data/tmp/photon-torpedo.sh
/data/tmp/install-su.sh
Just say "THANKS" to Edgan for great work and job well done.
Click to expand...
Click to collapse
Not sure if you were responding to me or the other guy but my MacBook and my Linux laptop both recognize my phone but they both say its offline when I try and use a adb. Some people say they have done this root without the computer and just using the terminal on the phone but I get permission denied messages since it needs root. I have super user installed but that does me no good without root. I want to know how they got past the permission denied using the terminal on the phone?
Sent from my MB855 using XDA Premium App
smoothone said:
Not sure if you were responding to me or the other guy but my MacBook and my Linux laptop both recognize my phone but they both say its offline when I try and use a adb. Some people say they have done this root without the computer and just using the terminal on the phone but I get permission denied messages since it needs root. I have super user installed but that does me no good without root. I want to know how they got past the permission denied using the terminal on the phone?
Sent from my MB855 using XDA Premium App
Click to expand...
Click to collapse
Exactly I'm having same problem. I m not understanding how I can push it to that part of the phone without root.
Sent from my MB855 using XDA Premium App
GraphicDemon said:
Exactly I'm having same problem. I m not understanding how I can push it to that part of the phone without root.
Sent from my MB855 using XDA Premium App
Click to expand...
Click to collapse
Make sure you have USB debugging checked. Menu > settings > applications > development. This was my problem when I first tried to adb the file to the /data/tmp folder on the phone.
Also, I was getting an error at "Run /data/tmp/photon-torpedo.sh," but I just ignored it and kept going. It worked. You can use root checker from the market to verify that you have root.
my2cents said:
Make sure you have USB debugging checked. Menu > settings > applications > development. This was my problem when I first tried to adb the file to the /data/tmp folder on the phone.
Also, I was getting an error at "Run /data/tmp/photon-torpedo.sh," but I just ignored it and kept going. It worked. You can use root checker from the market to verify that you have root.
Click to expand...
Click to collapse
Thanks for the advice but the both of us are not using adb. I always have debugging enabled. We are both trying to do this from or phones with terminal. An update zip would be amazing :~)
Sent from my MB855 using XDA Premium App
smoothone said:
Thanks for the advice but the both of us are not using adb. I always have debugging enabled. We are both trying to do this from or phones with terminal. An update zip would be amazing :~)
Sent from my MB855 using XDA Premium App
Click to expand...
Click to collapse
Ok. I thought one of you was trying to use a Mac or something to push the file then use terminal. And an update.zip would be awesome!
my2cents said:
Ok. I thought one of you was trying to use a Mac or something to push the file then use terminal. And an update.zip would be awesome!
Click to expand...
Click to collapse
I was trying to use adb with my Mac and my Linux laptop but both give me "device offline" when I use adb. I'm going to try a different USB cable as I have seen this happen before and a different cable works but I find it hard to believe that i'm the only one that used stock cable and does not work
Sent from my MB855 using XDA Premium App
What happened to that person said they did everything from phone?
Sent from my MB855 using XDA Premium App
GraphicDemon said:
What happened to that person said they did everything from phone?
Sent from my MB855 using XDA Premium App
Click to expand...
Click to collapse
Lol, I guess they all vanished! Funny thing is that I am not new to Linux and those are busybox commands which
1: busybox does not come installed on the factory ROM and
2: even if you install it from the market it still needs root access.
Sent from my MB855 using XDA Premium App
So what are we developing in this thread again?
Sent from my MB855 using XDA App
Custodian said:
So what are we developing in this thread again?
Sent from my MB855 using XDA App
Click to expand...
Click to collapse
If you cannot help then just save your useless comment! Your bringing back bad memories from the EVO forum. That forum was full of bashers and flamers.
smoothone said:
Lol, I guess they all vanished! Funny thing is that I am not new to Linux and those are busybox commands which
1: busybox does not come installed on the factory ROM and
2: even if you install it from the market it still needs root access.
Sent from my MB855 using XDA Premium App
Click to expand...
Click to collapse
Yeah tell me about it, wish they would just make a damn step sheet it's getting ridiculous.
Sent from my MB855 using XDA Premium App
http://forum.xda-developers.com/showthread.php?p=16904179
Sent from my MB855 using Tapatalk

[Q] Lost root, can't restore it

I installed the leaked ICS update, but I have apparently lost root. I tried using Voodoo, but it just says that it has been denied Superuser permissions and that there is no root backup available.
So I tried just plain rooting it using the Motofail method again, to no avail. It says that it is successful in completing the exploit.
However, no matter what app that requires root that I open, it says that the app has been denied Superuser permissions without even prompting me. Root checker says I am not rooted.
I went into the Superuser app, and I went to update the SU Binary. It says that Superuser has been granted Superuser permissions. But then it fails out at the end and says "This updater cannot update the su binary on phones that have some kind of write protection like S-ON. You can continue to use Superuser with your outdated binary, or update su with ROM manager."
I shouldn't even need to update the binary though, since it says I have the latest one installed.
What can/should I do? It's getting kind of annoying not having root on my phone.
Something along the same line happened to me too bro,I also made a thread about it but to no avail:-/ if you find something out,let me know and I'll do the same.
Sent from my DROID RAZR using xda premium
kevintstephens said:
I installed the leaked ICS update, but I have apparently lost root. I tried using Voodoo, but it just says that it has been denied Superuser permissions and that there is no root backup available.
So I tried just plain rooting it using the Motofail method again, to no avail. It says that it is successful in completing the exploit.
However, no matter what app that requires root that I open, it says that the app has been denied Superuser permissions without even prompting me. Root checker says I am not rooted.
I went into the Superuser app, and I went to update the SU Binary. It says that Superuser has been granted Superuser permissions. But then it fails out at the end and says "This updater cannot update the su binary on phones that have some kind of write protection like S-ON. You can continue to use Superuser with your outdated binary, or update su with ROM manager."
I shouldn't even need to update the binary though, since it says I have the latest one installed.
What can/should I do? It's getting kind of annoying not having root on my phone.
Click to expand...
Click to collapse
Try this on ics terminal
Code:
./system/su-backup
mount -o remount,rw /dev/block/system /system
rm /system/bin/su
ln -s /system/su-backup /system/bin/su
Sent from my XT910 using Tapatalk 2
This also happened to me, and ive had no luck rooting either. I used the terminal trick and it says theres nothing to recover i su.
mcnabb311 said:
This also happened to me, and ive had no luck rooting either. I used the terminal trick and it says theres nothing to recover i su.
Click to expand...
Click to collapse
Of course, you need a su bkp first.
Here's mine
http://db.tt/L9TLf2xg
Cheers
Sent from my XT910 using Tapatalk 2
Thanks alot, i must try this.
---------- Post added at 07:46 PM ---------- Previous post was at 07:14 PM ----------
So if you dont have root access, will the terminal move the unzipped su file? How can you apply this to your sysytem? Voodoo doesnt give you options to search for the file either. Of course, nothing has superuser permissions without root either. I guess Im too much of a n00b.
Same here
Na dude its not noobish,im tryna figure out everything myself,I've been flashing since the hd2,so i know a couple things but this is just mind boggeling lol
I'm at a loss. I've downloaded your su-backup file, but I don't know how to move it to the /system folder, as it is write protected, and I don't have root to bypass that. And whenever I tried typing things in using the terminal, it just denied everything.
kevintstephens said:
I'm at a loss. I've downloaded your su-backup file, but I don't know how to move it to the /system folder, as it is write protected, and I don't have root to bypass that. And whenever I tried typing things in using the terminal, it just denied everything.
Click to expand...
Click to collapse
You can't move this file to system folder because you have a non-rooted device. Be patient, we are working hard on that....

Help: Rooted tablet but can't delete file in /system no matter what I do.

I rooted my strange tablet using Kingo and apparently it was succesful:
http://i1312.photobucket.com/albums/t539/talos910/Screenshot_2015-09-11-17-08-20_zpsurdgzj8p.png
But I have been trying for days to erase a file in /system and I have not been able to do it, I think I have read every relevant thread about this problem but no luck, I tried using ES and changed /system to r/w in the root options but when trying to delete the file all I get is operation failed, the same happens with all the other root explorers and tools. I even tried the solution on this thread: http://forum.xda-developers.com/ascend-p7/help/edit-replace-write-files-set-immutable-t2884172
but still can't delete it.
Also the app root toolkit for android gives me this weird error too:
http://i1312.photobucket.com/albums/t539/talos910/Screenshot_2015-09-11-17-08-06_zps4nrxqiev.png
http://i1312.photobucket.com/albums/t539/talos910/Screenshot_2015-09-11-17-08-02_zpsa1ycwdwl.png
Do you have an app like root explorer that specifically asks for root permissions? It doesn't matter if you have root if the explorer can't use it
Sent from my Nexus 5 using Tapatalk
Yes all the file manager apps I used always ask for root permission, that is the problem they have root permission but still can't delete the file, which is weird because I can use apps that definitely need root like scr screen recorder and greenify just fine.
Try installing root explorer and then attempt to delete the file, then it should instantly open a window asking for root. The of course grant the permission. That should always work, but if it doesn't just restart the tablet, if it still doesn't work it must mean you are deleting a file that is in use by the system. Otherwise i have no idea whats wrong
Sent from my Nexus 5 using Tapatalk
Talos91 said:
Yes all the file manager apps I used always ask for root permission, that is the problem they have root permission but still can't delete the file, which is weird because I can use apps that definitely need root like scr screen recorder and greenify just fine.
Click to expand...
Click to collapse
What recovery did you install...twrp, cwm, philz?
Sent from my Nexus 6 using Tapatalk
JMink said:
What recovery did you install...twrp, cwm, philz?
Sent from my Nexus 6 using Tapatalk
Click to expand...
Click to collapse
Rooted my device using kingo root, I didn't intall other recovery.
Bad idea to try and remove system files without a custom recovery and a nandroid backup made and stored in a safe spot. What are you trying to remove?
I am trying to delete /system/sbin/su because I read in another thread this was the solution to fixing the issue of the app supersu not updating binaries when rooting your device using Kingo.
Talos91 said:
I am trying to delete /system/sbin/su because I read in another thread this was the solution to fixing the issue of the app supersu not updating binaries when rooting your device using Kingo.
Click to expand...
Click to collapse
That is the binary. If you remove it, you wouldn't be rooted. Can you link the thread you are looking at? There's an app made specifically for replacing that su binary with SuperSU and it's binary called Super-SUme, though I believe it is a paid app.
I know it is the binary but according to this guy:
http://forum.xda-developers.com/apps/supersu/support-update-failures-t2907365/page23
(post 223)
""It appears kango wrote to /system/sbin/su whereas supersu wrote /system/xbin/su and subsequently supersu would keep wanting to update 'su' then fail.
The long and the short of it is once I manually removed /system/sbin/su supersu stopped telling me 'su' was outdated. I don't know android but I do know linux.
$PATH on my tablet has /system/sbin/ prior to /system/xbin/ so it would appear supersu is issuing 'su -V' as opposed to '/system/xbin/su -V' when it checks the version. The kingo 'su' was older than the supersu 'su'.
Dunno what the solution is 'cos the older 'su' is going to get called first & I figure there's nothing but trouble to be gained from changing $PATH globally. Nevertheless it might be enough to check $PATH for unwanted 'su' and flag them, possibly offer to remove them? In my case I renamed it "/system/sbin/su.ORIGINAL" so that it's still runnable in an emergency"""
If you rename it, it won't be able to run, and won't require removal.
That's the thing I can't rename the file either for some reason. Using es and other root explorers doesn’t work.
Talos91 said:
That's the thing I can't rename the file either for some reason. Using es and other root explorers doesn’t work.
Click to expand...
Click to collapse
Seems like the SU binary that Kingroot included is pretty finicky and only works for some things. I've rooted 100s of devices and have never had issues like that. Have seen complaints about other various oddities with Kingroot too. It's nice that it's easy and works on a variety of devices, but if you have only limited control then that kind of defeats part of the purpose of rooting it...
Tried using SuperSUme but the app says I am not rooted with Kingo? wtf? Do you guys know of any other reason why i can't erase the system file sbin/su?
Talos91 said:
Tried using SuperSUme but the app says I am not rooted with Kingo? wtf? Do you guys know of any other reason why i can't erase the system file sbin/su?
Click to expand...
Click to collapse
With Root Explorer, does it let you set the system to R/W? There's a little button at the top of the app that will say R/O or R/W for Read Only or Read Write. If you don't have R/W to the system, then you are unable to make changes to it.
I just renamed file su and then it became able to be deleted.
Talos91 said:
Tried using SuperSUme but the app says I am not rooted with Kingo? wtf? Do you guys know of any other reason why i can't erase the system file sbin/su?
Click to expand...
Click to collapse
Connect your android tablet device to your windows computer. Then enable usb debugging on your android tablet. Then open the windows program called cmd. Then do these commands.
Code:
adb root
Code:
adb remount
Code:
adb shell rm /system/sbin/su

Categories

Resources