Is my device rooted? - Nexus 6 Q&A, Help & Troubleshooting

I would like to pose a simple question: How can I check if my Nexus 6 is rooted or not? Is there something that can betray it?

liakuras said:
I would like to pose a simple question: How can I check if my Nexus 6 is rooted or not? Is there something that can betray it?
Click to expand...
Click to collapse
easiest way.. download a terminal emulator app, open it, then type in su(press enter). if it then shows a #, then you have root.
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}

http://forum.xda-developers.com/nexus-6/general/how-to-nexus-6-one-beginners-guide-t2948481

I installed "terminal emulator for android" and it said:
[email protected]:/ $ su
/system/bin/sh: su: not found
127|[email protected]:/ $
What does this mean?

liakuras said:
I installed "terminal emulator for android" and it said:
[email protected]:/ $ su
/system/bin/sh: su: not found
127|[email protected]:/ $
What does this mean?
Click to expand...
Click to collapse
no root. did you flash supersu? do you have the supersu app installed? btw, just so that you know, su means superuser, which means root.

No I have not ever installed such things. Just once, I accidentally deleted some photos and I would like to recover them back and I used a freeware programme at my windows PC which gave me temporary root access, but I was unable to recover them and I cancelled the whole process. And therefore, I didn't know if I was rooted or not.
The problem is that I can not install the latest security patch/fix and I assumed I was rooted....

liakuras said:
No I have not ever installed such things. Just once, I accidentally deleted some photos and I would like to recover them back and I used a freeware programme at my windows PC which gave me temporary root access, but I was unable to recover them and I cancelled the whole process. And therefore, I didn't know if I was rooted or not.
The problem is that I can not install the latest security patch/fix and I assumed I was rooted....
Click to expand...
Click to collapse
The program may have modified your system files. Once modified the OTA won't run. Would have to reflash stock.

If I just perform a factory reset?

liakuras said:
If I just perform a factory reset?
Click to expand...
Click to collapse
Won't fix it if system files have been modified. Factory reset only clears cache and data. Does not touch system files. Have to fastboot flash the factory system image file.

Related

[Q] [DEV] Can someone DUMP P500 Baltic system.img

Hi, Can someone please dump/backup the system.img from baltic P500 or have a offical update for baltics. Thanks
Just do a backup and upload it. Thanks
No one here from Baltic States?
Hey, just show me how to do it, and I will give you.
hi, please use this guide: http://forum.xda-developers.com/showpost.php?p=8917870&postcount=12
or if you have Thunderg installed, then just do a backup and upload these files.
thanks
Hmm, could you be more specific? I just bought this Optimus One like two days ago, and I'm feeling very newb (it's my first Android).
What do I have to do, to give you that system.img and what is that system.img file?
Hi, the system.img a backup from Android /system partition is a main part of the android. But this guide we just dump that /system partition, it's the easiest way.
I'll try to help you do that:
1. Is your phone rooted?
If you haven't done that, then use Z4Root(super easy app ) and you can get it from here: http://www.upload.ee/files/997919/z4root.1.3.0.apk.html
Download that file and copy to sd card and install.
Open that installed app and root your phone
If you need help with that, then there is little how to here: http://www.worldofnubcraft.com/285/rooting-a-lg-optimus-one-android-phone
2. OK, rooting done, now we need terminal app: You'll find that from Market. Just search "Android Terminal Emulator" it's from Jack Palevich and install that.
3. Now open the Terminal Emulator and enter these commands without "" and hit enter after command, these 3 command should be it:
"su" it asks for a root privileges and you allow that
"cd /system"
"tar zcvf /sdcard/system-dump.tar.gz *" and wait when it finishes. it takes some time. It's done when you see #, it takes couple of minutes max.
4. That file is now on your phone SD card and upload that system-dump.tar.gz file to somewhere and let me know
Are you sure about that?
I'm sorry, but it's not working. It gives me an error "tar not found". Any ideas?
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
By the way, what you can do with that file? What it contains? I'm just a newb, and I want to know everything about Android.
EDIT:
Is it possible to do that dump with Thunderg?
Go to market and install app called "BusyBox" and download / install BusyBox with this tool. After that it will work.
yes, i forgot busybox install that and give a new try
Ok guys, I got it. Before putting it live, I would like to know one thing. Does it contains any personal data, if so, what exactly? Sorry, for being so paranoid.
hi, it won't contain any of your personal data. Personal data is stored mostly on /Data partition and we didn't dump that. Thanks
Ok, so here you have it.
Optimus_One_Baltic_ROM_dump.zip - 89.2 Mb
And it's only contains branded ROM with no changes? That's great. What program do I need to restore my ROM to the branded one, if I'm going later to change it?
i think you should look to Thunderg... it's best way to make a full backup and restore after

[Q] flashing /sbin

I have to mod some files in /sbin without root before i can root my phone, since it's currently only booting to cwm without working 'adb root', and since it has got at least one corrupt filesystem.
I've tried searching the mounted filesystems of factoryfs.rfs etc, but without success. Where is it?
Would it be possible to update a non-/system directory through an update.zip file? As said, I currently do not have root.
What exactly are you looking for?
I don't really understand your problem.
What ROM are you on right now.
How come you have CWM but not root?
This should it i hope
Joel Sjögren said:
I have to mod some files in /sbin without root before i can root my phone, since it's currently only booting to cwm without working 'adb root', and since it has got at least one corrupt filesystem.
I've tried searching the mounted filesystems of factoryfs.rfs etc, but without success. Where is it?
Would it be possible to update a non-/system directory through an update.zip file? As said, I currently do not have root.
Click to expand...
Click to collapse
Try the following :
Samsung Galaxy S I9000 Custom ROM List
http://forum.xda-developers.com/showthread.php?t=886000
How to root
http://forum.xda-developers.com/showthread.php?t=723596
U need a tool called "ODIN" to root and install most roms
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Edit : u could also see the videos if u want to here r a few :
http://www.youtube.com/user/TheAndro.../1/ssflhnyzeYc
http://www.youtube.com/watch?v=LjBEBvRVRYs
http://www.youtube.com/watch?v=2O8KT...eature=related
"What ROM are you on right now.
How come you have CWM but not root?"
I'm currently using XXJP3 without the /media and /app directories(I mounted the factoryfs.rfs on my computer and moved them elsewhere.)
adb root has worked for me earlier, but suddenly, it stopped. Instead i get the
error: device not found
error when issuing adb shell after adb root.
The problem is, I cannot install root or anything else yet because my /system(stl9) partition does not act the way it should.
No factoryfs containing /media and /app can be flashed. I've tried the --repartition flag(with correct .pit-file.)
To work around it, I'm trying to edit a script, located in /sbin, to be run at boot. The script will hopefully allow me to fix the partition with root privileges. In either case, it will be able to write the output to a log file to be read through $-adb shell.
The /sbin boot script would also allow me to use the external sd instead of the internal memory in case the stl9 partition somehow cannot be fixed.
As rooting is no option yet, I need to flash the /sbin directory, but since I can't find it in the rom, I need your help here.

[Q] after root still can't use superuser

Hello all,
I rooted my HTC XL few days ago, It work fine. And then, i updated the software version yesterdays. After that my XL still have superuser icon but can't use the permission of superuser, i tried to root it again many times but it still don't work
Please help
Can you give us a little more detail? walk us through the steps you have taken and what ROM your using etc? it might be that you spot your error and fix it yourself or we are able to point you in the right direction?
additionally have you tried flashing a different ROM?
It may be some stupid question but what is rom?? I just use DooMLoRD_v2_ROOT-zergRush-busybox-su that i found on the website and it succeed. Sorry if i can't explain clearly
Have you gone through the steps outlined in this post;
http://forum.xda-developers.com/showthread.php?t=1341127
If so you will need to follow this;
http://forum.xda-developers.com/showpost.php?p=18947861&postcount=3
to get your phone rooted properly, and install a custom ROM (easiest being http://forum.xda-developers.com/showthread.php?t=1327964 ) then you will have a fully working rooted phone with full superuser access
4.After root is complete pls visit market and update SU app. once done root will be fully functional and eliminate any future FCs
5. Also as an extra tip you can install SU UPDATE fixer from market to update your binaries to 3.0
I don't understand step 4 and 5. can you explain for me? what is SU app?
SU is SuperUser, try to imagine your phone like a PC, it has an 'Administrator' and a 'user'
You are the 'user'
SuperUser(SU) is kinda the 'Administrator'
SuperUser access allows 'You' to act as the 'Administrator' of your phone
so once you get to step 4 go into Market and search for 'SU App' and it should be there, free as always.. install it and then try to go into it from your phone. It might pop up saying (SuperUser Requires SU Access allow or deny) just allow it and see if it will load, if it does then you should get a screen like this;
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
(only TitaniumBackup wont show there it should be empty for now)
look in the android market for an application called SuperUser by a dev named Chainsdd.
It is what allows the applications root access once you have rooted the phone. It needs to be updated.
SU Update fixer is also an app in the market, which helps to keep other files used in root up to date.
i go to step 5 by using SU Update Fixer but it said: Fix failed. Try downloading and flash ing an update.zip from androidsu.com
What should i do?
get the update.zip from them and flash it using ClockWorkMod Recovery
link -> http://androidsu.com/su-update-fixer/
if you have the recovery installed just do the usual (Vol - & Power) trick to get you into your Bootloader and from there select recovery
if you dont have the recovery installed follow this;
http://forum.xda-developers.com/showpost.php?p=18947861&postcount=3
i had this problem before. turned out i need to re-lock my bootloader and then unlock it again to perform the root

Transfert file with ADB

Hi so i flashed the google edition rom and it kept bootlooping, so i went to recovery and wiped everything but it wiped also the ROM file from the sd card now im left with nothing to flash and only recovery i think i have to transfert the file trough ADB if so can anyone give me a tutorial ? i tried adb but there is no devices listed :'( i think its debug mode it wasnt enabled.
JadeAmineHa said:
Hi so i flashed the google edition rom and it kept bootlooping, so i went to recovery and wiped everything but it wiped also the ROM file from the sd card now im left with nothing to flash and only recovery i think i have to transfert the file trough ADB if so can anyone give me a tutorial ? i tried adb but there is no devices listed :'( i think its debug mode it wasnt enabled.
Click to expand...
Click to collapse
USB debugging doesnt matter in custom recovery.
adb push <name of ROM>.zip /data/media/0/
or
adb sideload <name of ROM>.zip
you can always try googling, and come up with a few tutorials:
http://forum.xda-developers.com/showthread.php?t=2317986
http://android-revolution-hd.blogspot.com/2013/12/ow-to-use-adb-sideload.html
http://android-revolution-hd.blogspot.com/2013/12/how-to-copy-rom-zip.html
etc.
This shows device not found when i use adb devices there is nothing
JadeAmineHa said:
This shows device not found when i use adb devices there is nothing
Click to expand...
Click to collapse
Open Device Manager do you see something like:
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
if yes, please go to my guide and check FAQ #2.
nkk71 said:
Open Device Manager do you see something like:
if yes, please go to my guide and check FAQ #2.
Click to expand...
Click to collapse
This is what i see sync manager is installed i tried the fastboot command to get token for boatload unlock and it works but adb is not working, Plase help me i'm stuck :crying: and just to mention that im in bootloader in fastboot usb mode ??
JadeAmineHa said:
This is what i see sync manager is installed i tried the fastboot command to get token for boatload unlock and it works but adb is not working, Plase help me i'm stuck :crying:
Click to expand...
Click to collapse
like i said, just go to my guide and check FAQ #2 (in post #1), http://forum.xda-developers.com/showthread.php?t=2541082
has all the instructions, pictures, etc.

Not booting: Stock recovery but root

I´ve got root access on my device but i only have got the stock recovery of android 4.3. I am able to push an twrp recovery image to the tmp partition. Now my question is if i can flash the recovery by "dd if=/tmp/recovery.img of=/dev/????". Which partition is the recovery partition?
Thank you
Edit: I did cat /tmp/recovery.img >/dev/block/mmcblk0p1 and now there is a red string when i try to enter the recovery
@Simon_29
You didn't enter proper commands, Check attachment follow space and symbols.
-Place recovery.img in internal storage
-Download android emulator from playstore
-grant su access
-Type codes from attachment
-change recovery263 with current recovery name
That's it.
NOTE on't type adb shell if you're using terminal in phone.
Salman Al-Badgail said:
@Simon_29
You didn't enter proper commands, Check attachment follow space and symbols.
-Place recovery.img in internal storage
-Download android emulator from playstore
-grant su access
-Type codes from attachment
-change recovery263 with current recovery name
That's it.
NOTE on't type adb shell if you're using terminal in phone.
Click to expand...
Click to collapse
I wasnt able to boot the device... As I told i bricked the recovery. Now i tried to flash stock firmware with this tutorial https://forum.xda-developers.com/showpost.php?p=38838927&postcount=7 . I cant see the pictures so i dont know which i have to select. I tried it nevertheless but i got the error which you can see on the attached picture... Is there any other tutorial for flashing the stock firmware?
Why i am unable to see pictures on xda???
Salman Al-Badgail said:
@Simon_29
You didn't enter proper commands, Check attachment follow space and symbols.
-Place recovery.img in internal storage
-Download android emulator from playstore
-grant su access
-Type codes from attachment
-change recovery263 with current recovery name
That's it.
NOTE on't type adb shell if you're using terminal in phone.
Click to expand...
Click to collapse
Edit: Fixed it I went back to stock rom.
The clockwork mod install app for the 4x hd was causing this. I now used the twrp manager and even it said that it failed it worked for me. Thanks for your post anyway and that you could solve the error of xda
Simon_29 said:
Edit: Fixed it
Click to expand...
Click to collapse
Great to see that, I am having problem in attachments I already informed in xda tech dept hope they will fix it soon.
This was the image I tried to attached in my above post. You can edit your title as
[SOLVED] Not booting: Stock recovery but root as this might help someone who need helps and can follow instructions.
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Thanks

Categories

Resources