SU access thru terminal but not through GUI apps? - Android Software Development

Specs: Droid, running Android 2.0.1, rooted
su works but apps still say I don't have root?
I'm an IT Professional not a newb, but not super great on Linux either.
I've followed the rooting steps, after updating manually to 2.0.1
The issue is, I can go: su using a term emulator on my phone and it says "access granted courtesy of magicandroidapps" (something like that). and I can do root things. But when I do anything that requires root and has a GUI I get errors and messages that I don't have root access
I can do things through the term emulator, but for some reason when I download apps that require root and try to use them it still says I don't have root access? What gives? I couldn't even rename a file in /etc/bluez using ROOT EXPLORER (a file manager).
It's like root works on term emulator but not through GUI apps? Am I missing something?
Edit/Delete Message

Disregard, problem solved
Apparently the latest droid root technique works. For some reason the original technique didn't seem to work. This is what worked for me...
http://areacellphone.com/2009/12/motorola-droid-rooted-howto-root-droid/
Much simpler too. No adb stuff.

Related

Pre-install Startup Manager with Root access?

Pre-install Startup Manager with Root access?
i didnt success to run it with root access
maybe its could be done if i run it while the installation of android ?
thx
Once you have a proper superuser app installed you should be able to gain root with any app.
If you are having problems with the superuser currently installed I suggest removing it Via either adb or Root manager.
Programs like Android commander can set adb up for you.
As a rule Any app that needs root I give it permission then restart to make sure it takes affect.
thx root manager did the trick
gr8 30% 126MB used
hope its will make the battery little longer
wierd the startup manager is not working even with root access
i put it in the backup root manager directory and restore and did happend to work but nothing :S
still the same error i get without root access
Please see Google Android issue 14889

Please Help! Permanently Root MyTouch 4G

Hello,
I have been trying to figure this out for over 24 hours. I feel like I am so close yet so far. I have watched video after video, read guide after guide and still no luck.
I have tried the adb method (no luck whatsoever) and the root folder + visionary and cannot get my phone to permanently.
My android version is 2.2.1
I have Root File Manager installed
I have Super User installed
I have Visionary r.14 installed (tried MULTIPLE versions)
TempRoot works fine until my phone reboots (which is supposed to happen) but when I press Attempt PermRoot my phone reboots and it goes back the to the way it was unrooted.
My goal here is to put a new ROM on my phone (i.e. GingerBread) or something like it.
Can someone PLEASE help me?
Thank you in advance
Matt
http://forum.xda-developers.com/showthread.php?t=858996
Use this thread. Follow the instructions to the "T" and you will be fine. It is very simple and pretty much dummy proof. This is the g-free method. I have rooted 3 phones with this method with no issues, and this is my first Android phone. Good luck!
Thank you very much! I did get it rooted and I am working on installing my ROM. That was a very quick response, Thank you
You are very welcome.
i dont mean to sound like a noob, but can you push the gfree files to data local by using the terminal on your phone correct?
LewsTherin006 said:
i dont mean to sound like a noob, but can you push the gfree files to data local by using the terminal on your phone correct?
Click to expand...
Click to collapse
I haven't used the gfree method but you need atleast temp root access to make data R/W (read write) so unless you have temp root no. But if you do it'd be easier to just use a root explorer.
Sent from my HTC Glacier using XDA Premium App
i have temp root right now, but whenever i use file manager, it doesnt show data local for some reason. Im just trying to do everything from my phone. I prolly should just learn adb shell and get it over with.
LewsTherin006 said:
i have temp root right now, but whenever i use file manager, it doesnt show data local for some reason. Im just trying to do everything from my phone. I prolly should just learn adb shell and get it over with.
Click to expand...
Click to collapse
you need
1) root permission
2) root explorer
3) root permission for that root explore.
just astro or file manager will not work, they do not have SU access.
try Super Manager...https://market.android.com/details?id=gpc.myweb.hinet.net.TaskManager&feature=search_result
Question, i used visionary on my mt4g, but wondering i have to do this on someone elses phone and for the g2 there is the visionary gfree method via phones terminal emulator....is there a similar method for the mt4g? Adb does not want to cooperate with me on my computer so i gave up
sent from the rooty tooty fresh and fruity cm7 nighly powered G2

Understanding Root

Now I am a very avid linux user (used the terminal a time or two) and I bought an acer a500 yesterday. This is my first android device and the first 2 things I did were update it and root it with iconia-root1.3 (gingerbreak didn't work). Now I have 3.1 and the root checker says that I have root. And the busybox installer says I have busybox installed.
Now this is where I get lost...
The root checker says I have root but not /system/bin/su or /sbin/su. Why would I have root if I don't have the application to switch users? Also it has su in /system/xbin but it won't let me move anything to /system/bin (which I assumed I could do as root??). So is root checker giving a false positive or what? and why can't I move any files above the directory /mnt (I'm using astro)? Do I have to selectively give certain apps root or what?
Also I need someone to explain this to me. Why do we need to root it if all of the applications are already in the android marketplace? Do they allow applications to be uploaded to the marketplace that won't work on non-rooted devices?? That seems like there would be a separate marketplace for rooted-only apps like cydia on iOS.
A quick reply: 'Root' allows you to have read/write access on /system/ . After root, you can add/remove any apps in /system/app, also, after root, you can flash CWM, you can then flash custom rom and kernel ... bla bla bla ~
Root is somehow different from 'jailbreak' in iOS. I think you could find more information on google. Cheers.
ardatdat said:
A quick reply: 'Root' allows you to have read/write access on /system/ . After root, you can add/remove any apps in /system/app, also, after root, you can flash CWM, you can then flash custom rom and kernel ... bla bla bla ~
Root is somehow different from 'jailbreak' in iOS. I think you could find more information on google. Cheers.
Click to expand...
Click to collapse
Root doesn't give you superuser(root user) access? I had always assumed that was the case, which means you can do any damn thing you please. Obviously you can't write to ro filesystems, but you could always remount them.
snowman4839 said:
Now this is where I get lost...
The root checker says I have root but not /system/bin/su or /sbin/su. Why would I have root if I don't have the application to switch users? Also it has su in /system/xbin but it won't let me move anything to /system/bin (which I assumed I could do as root??). So is root checker giving a false positive or what? and why can't I move any files above the directory /mnt (I'm using astro)? Do I have to selectively give certain apps root or what?
Also I need someone to explain this to me. Why do we need to root it if all of the applications are already in the android marketplace? Do they allow applications to be uploaded to the marketplace that won't work on non-rooted devices?? That seems like there would be a separate marketplace for rooted-only apps like cydia on iOS.
Click to expand...
Click to collapse
1.) The root app is in /system/app/ and the binary is in /system/xbin/ so you do have root.
2.) You won't be able to just write to any of those folders. You either have to remount them to be writable and use adb or use an app like root explorer that lets you remount on the fly and edit the files.
The same answer goes for the question why can't you move files to anything above /mnt. And yes to the second question. You'll have to set root permissions selectively.
Root doesn't have any effect on the marketplace or the apps you can download. This is not an iDevice.
Some apps need root to work (usually the ones that change system files) and that's why you have to have root. It's not necessary unless you either change system files or use an app that requires it (screen-shot apps, adfree,some file managers, reboot apps,...).
It's early so apologies for any mistakes I made. I hope that it's a little clearer now.

Newest KingRoot works on xt1028

I have just rooted my 4.4.4 Xt1028 using KingRoot v 4.5.0 it's not permanent and I can't get xposed to install because of the ro system, My main phone is an xt1028 that was unlocked with sunshine on 4.4.3. However sunshine doesn't support the 4.4.4 so Im at a loss on what to do next. Any suggestions?
Indeed, I've stumbled upon the same thing!
Root goes away after a reboot, but enough to run TitaniumBackup, or a few other apps that want root in order to read the file system.
This is identical to the prior PIE exploit that worked up to 4.4.2 I wonder if there is a way to package this stuff from KingRoot in order not to waste time running it so obviously after each reboot ...
http://forum.xda-developers.com/moto-x/orig-development/root-4-4-x-pie-motorola-devices-t2771623
i got a 2013 Moto G Vzw prepaid that i got back when they were $24.95
been waiting to see if it can be rooted or unlocked to get CM installed or something
i turned it on today, tried the activation bypass and i was able to get into the OS
( pressing next, pull down noticication, then multitask and swype away)
(this device is on KK 4.4.4)
i was able to install and run kingroot 4.5.0 and it gave me some error, BUT it worked successfully anyways....
i can confirm root with titanium and terminal etc...
i have yet to restart it, but my purpose of this is to use it as a gopro remote, or playing ingress or some type of home automation
this should get my by until something else is found
The root is temporary whether or not you reboot. After a while, root stops working and sometimes makes your phone unstable. Everything may start to crash and you'd have to reboot your phone.
Teet1 said:
The root is temporary whether or not you reboot. After a while, root stops working and sometimes makes your phone unstable. Everything may start to crash and you'd have to reboot your phone.
Click to expand...
Click to collapse
This is true, I've seen it too.
What is interesting is that root checker claims that there is /system/xbin/su present by Kingroot. But /system is always read only. ES explorer appears to create files in /system, but if you quit and re-launch, there are no files there.
From shell, I tried to quickly replace KingRoot with SuperSu :
http://forum.xda-developers.com/fire-phone/general/root-fire-phone-supersu-t3105546
This did not work since in shell it claims that the file system is read only.
I wonder how Kingroot manages to maintain the illusion of /system/xbin/su for a while.
There could be a way to authorize SuperSu with Kingroot, and keep the temporary root all the way until a reboot.
I would be so happy to have xposed frameworks at least maybe busybox. my main phone is an xt1028 unlocked but my brothers was already on 4.4.4 that's why I'm so excited about this progress
bibikalka said:
This is true, I've seen it too.
What is interesting is that root checker claims that there is /system/xbin/su present by Kingroot. But /system is always read only. ES explorer appears to create files in /system, but if you quit and re-launch, there are no files there.
From shell, I tried to quickly replace KingRoot with SuperSu :
http://forum.xda-developers.com/fire-phone/general/root-fire-phone-supersu-t3105546
This did not work since in shell it claims that the file system is read only.
I wonder how Kingroot manages to maintain the illusion of /system/xbin/su for a while.
There could be a way to authorize SuperSu with Kingroot, and keep the temporary root all the way until a reboot.
Click to expand...
Click to collapse
If it manages to write into /system, perhaps we can exploit KingRoot to do some more in depth stuff?
Teet1 said:
If it manages to write into /system, perhaps we can exploit KingRoot to do some more in depth stuff?
Click to expand...
Click to collapse
It does not write into /system, it just fools the OS for a short while that somehow "su" was placed into /system/xbin . That's the strange thing about it!
bibikalka said:
It does not write into /system, it just fools the OS for a short while that somehow "su" was placed into /system/xbin . That's the strange thing about it!
Click to expand...
Click to collapse
I read it uses an exploit on the system to gain root or temproot. Maybe we can do the same?

Remount issues

Hello,
I am currently running the H918 model with twrp and full root. Root was successful and the phone is running well. Thanks to all those who put in their time and effort and providing such a quick root capability. Makes the phone even more amazing than it already is.
Unfortunately, I am having an issue with be able to modify system files as I am unable to edit them whatsoever. I have tried using adb and using mount and remount commands but nothing has worked. I was hoping if anybody would be able to assist me with my issue. Thank you.
I've tried reflashing super su and I have busy box installed. Adaway is working properly (only through system less root) and I have been able to hibernate apps through tibu. I still cannot edit any files under /system. Does anyone have any suggestions? Thanks.
use root explorer
Thanks for your response. I've tried many root managers (including root explorer), enabled root permissions, had them successfully granted through supersu and still a no go. I just ran recowvery again and flashed twrp (this time without formatting data) and I am still unable to edit any system files.

Categories

Resources