[Q] Does the Nexus come with Superuser pre-installed?? - Samsung Galaxy Nexus

I'm sure the answer is no but when I brought my Nexus home and began playing with it I noticed that Superuser had already been installed on the device. At first I thought it was because I had it installed on my previous phone and it just got restored with all the rest of my apps. When I checked its install location however, I noticed it was installed in /system/app/. I don't think this is possible without root.
The conclusion that I have come to is that Verizon sold me a phone that someone had rooted and returned. Any different theories??

Refot_Sirk said:
I'm sure the answer is no but when I brought my Nexus home and began playing with it I noticed that Superuser had already been installed on the device. At first I thought it was because I had it installed on my previous phone and it just got restored with all the rest of my apps. When I checked its install location however, I noticed it was installed in /system/app/. I don't think this is possible without root.
The conclusion that I have come to is that Verizon sold me a phone that someone had rooted and returned. Any different theories??
Click to expand...
Click to collapse
SU is an app, so it might have been restored. Are you rooted?
One thing is sure though, superuser does not come pre installed.
Sent from my Galaxy Nexus using Tapatalk

Herman76 said:
SU is an app, so it might have been restored. Are you rooted?
One thing is sure though, superuser does not come pre installed.
Sent from my Galaxy Nexus using Tapatalk
Click to expand...
Click to collapse
Rooted now, yes. But I noticed that it was installed in /system/app/ before I rooted it. Also I know that the su binary wasn't present either because when I opened Root Explorer I was never prompted to allow root privileges.

As soon as the Galaxy Nexus knows your Google account, it starts loading all the apps you used on a previous Android phone. So, if you had SU installed before, you'll have SU on your Galaxy Nexus now, even if your Nexus is unrooted.

Sweerts said:
As soon as the Galaxy Nexus knows your Google account, it starts loading all the apps you used on a previous Android phone. So, if you had SU installed before, you'll have SU on your Galaxy Nexus now, even if your Nexus is unrooted.
Click to expand...
Click to collapse
I thought this too but as far as I know apps cannot be installed to /system/app without root. I had not yet rooted it when it was being restored.

That seems simple to me: market has superuser permissions.

Sweerts said:
As soon as the Galaxy Nexus knows your Google account, it starts loading all the apps you used on a previous Android phone. So, if you had SU installed before, you'll have SU on your Galaxy Nexus now, even if your Nexus is unrooted.
Click to expand...
Click to collapse
This is not true. If you install SU through rooting, it will NOT install the SU from the market. The OP had SU installed in /system which is NOT possible for a market app to do if it is just being restored. If you root a phone and install the non-market SU, then logging into another phone will not restore the SU app since it is not from the market.

Refot_Sirk said:
The conclusion that I have come to is that Verizon sold me a phone that someone had rooted and returned. Any different theories??
Click to expand...
Click to collapse
That would be my theory, also...

Post deleted.

Post deleted.

Refot_Sirk said:
I'm sure the answer is no but when I brought my Nexus home and began playing with it I noticed that Superuser had already been installed on the device. At first I thought it was because I had it installed on my previous phone and it just got restored with all the rest of my apps. When I checked its install location however, I noticed it was installed in /system/app/. I don't think this is possible without root.
The conclusion that I have come to is that Verizon sold me a phone that someone had rooted and returned. Any different theories??
Click to expand...
Click to collapse
I'd be going with your theory, take it back and demand a new unit
Sent from my Galaxy Nexus using xda premium

One of my friends also got this phone from Vodafone and the box was opened and the security tag was broken. He asked me to root it so I went through the motions only to discover that the bootloader was already unlocked. He doesn't know much about Android so i don't expect him to be lying about the bootloader being unlocked. He also mentioned that the unlocked lock came up the first time he turned it on. Odd isn't it?
Not to mention that he pre ordered it here in australia and got one from the first batch. Mine was perfect and sealed..?
Sent from my Galaxy Nexus using XDA App

Refot_Sirk said:
I'm sure the answer is no but when I brought my Nexus home and began playing with it I noticed that Superuser had already been installed on the device. At first I thought it was because I had it installed on my previous phone and it just got restored with all the rest of my apps. When I checked its install location however, I noticed it was installed in /system/app/. I don't think this is possible without root.
The conclusion that I have come to is that Verizon sold me a phone that someone had rooted and returned. Any different theories??
Click to expand...
Click to collapse
What did you use to view files in/system if you weren't rooted?
Sent from my Galaxy Nexus using XDA App

artvandelay440 said:
What did you use to view files in/system if you weren't rooted?
Sent from my Galaxy Nexus using XDA App
Click to expand...
Click to collapse
Siri.

artvandelay440 said:
What did you use to view files in/system if you weren't rooted?
Sent from my Galaxy Nexus using XDA App
Click to expand...
Click to collapse
Obviously he was rooted if SU was installed..

Two points:
1 - /system is visible, but not writable without root (/data is writable, but not visible)
2 - he had SuperUser installed, which is a type of firewall, not root. Su, the binary is root, and SuperUser is not...
The fact that SuperUser the app was installed in /system indicates that the phone was rooted at some point and may still be... For me, that's scary!

Related

OTA Update offfered, but already have it....

Thought i would check for update on phone, it offers me 4.0.2.A.0.42 but this is the version i already have, and now i have a update icon in my notifications and cant clear it, even after taking out battery the icon is still showing and no option to clear grrrr.
Any ideas guys???
Thanks
Jay
Use titanium backup to freeze the update app if you have root
Sent from my Xperia Play
I've got the same problem today D=
The Alpha Gamer said:
I've got the same problem today D=
Click to expand...
Click to collapse
Mmmmm, im with 3 too, although i have an unlocked XP could 3 be trying to force their bloatware filled FW onto us??.
Is that even possible?
P.S
Forgot to add in my first post that my phone is unlocked, unrooted and on official firmware, so untouched really lol
jaytwo said:
Mmmmm, im with 3 too, although i have an unlocked XP could 3 be trying to force their bloatware filled FW onto us??.
Is that even possible?
P.S
Forgot to add in my first post that my phone is unlocked, unrooted and on official firmware, so untouched really lol
Click to expand...
Click to collapse
Mine's simfree, unrooted and on stock firmware too...
Ok, the notification was still there so thought i would try the update via my PC, it failed on numerous occasions so i gave up.
The notification is still there though
Just force close the app. It's a temp solution that would need to be repeated each time you reboot your phone.
Sent from my R800i using xda premium
jaytwo said:
Ok, the notification was still there so thought i would try the update via my PC, it failed on numerous occasions so i gave up.
The notification is still there though
Click to expand...
Click to collapse
I thought the same thing, it worked for me though, except it set my time and date to 1980...
Why don't you freeze the update service in titanium backup, no pesky notification and you can defrost it when a new update comes out
ff7fan4eva said:
Why don't you freeze the update service in titanium backup, no pesky notification and you can defrost it when a new update comes out
Click to expand...
Click to collapse
Isnt Titanium Backup for rooted phones only?
My phone is not rooted.
ff7fan4eva said:
Why don't you freeze the update service in titanium backup, no pesky notification and you can defrost it when a new update comes out
Click to expand...
Click to collapse
Also its only on the paid version now. Unless you have 3.99 to get it you won't be able to freeze. I don't know why they took that feature away from us the stingy b**tards. I have the same problem but I just did it a different way. I made a backup using TB and then uninstalled it using TB. nd now is all good. Why take the freeze feature. Not everyone has 3.99 to spare now days. Especially when we have bills and shopping to pay. Grrrrrrr
Sent from my LT18i using xda premium
I think links2sd has the option to freeze apps and if I remember correctly it's free
Sent from my R800i using xda premium

Why do I keep losing root?

My Verizon GNex is rooted, I have CWM, superuser etc, even installed this rom, but I keep losing root after an hour or so. I use root explorer, open a terminal, su, do things, do it again in a few minutes and it suddenly won't log in as root.
When this happens, my wifi also craps out. It shows signal strength too low to connect when I'm standing next to the router. Reflashing CWM or superuser does nothing. Last night I wiped and went back to stock and it worked for a while, but I've found I can also flash that rom and it will work for a while and that is easier. Root survives multiple reboots but just stops working for no reason after a while.
Example: I flashed that rom this morning and rebooted 2-3 times, went to the mall and kept opening root explorer to see if root was working. I sat and watched my daughter play at the mall for nearly an hour. When she wanted something to drink, I checked and root was still working. I went to the store nearby, got a water, sat back down and no longer had root.
I'm not getting any OTA notification or anything, it just stops being rooted out of the blue.
Any ideas?
Darn, halfway down page two already and no replies...
same issue here
I'm glad I'm not the only one. How did you root?
followed this until step 5 http://forum.xda-developers.com/showthread.php?t=1392310
Me too. I used a different guide, but it looks like it was exactly same.
Do you use root explorer? I was only using it to check if I had root yesterday -it opens when rooted, doesn't when root is lost- and after losing root I noticed its battery usage was nearly as high as the displays although I had only opened it for 2 seconds several times.
Last night I rerouted before bed and didn't touch root explorer and im still rooted ten hours later. May not be related, and I could lose root at and time, but I was losing it every hour or two, so I'm starting to get optimistic that root explorer may have had something to do with it.
Sent from my Galaxy Nexus using Tapatalk
fubaya said:
Do you use root explorer? I was only using it to check if I had root yesterday -it opens when rooted, doesn't when root is lost- and after losing root I noticed its battery usage was nearly as high as the displays although I had only opened it for 2 seconds several times.
Last night I rerouted before bed and didn't touch root explorer and im still rooted ten hours later. May not be related, and I could lose root at and time, but I was losing it every hour or two, so I'm starting to get optimistic that root explorer may have had something to do with it.
Sent from my Galaxy Nexus using Tapatalk
Click to expand...
Click to collapse
Haven't seen this specific issue much with the Galaxy Nexus yet. I had this problem 1.5 yrs ago with an older Samsung Android device though. Solution was a bit complex, but haven't seen this issue in a long while.
I know root can be a bit hidden from Android unless adb is connect or using a terminal application. For this reason, m root check application is generally a good program to run a simple diagnostic of the root configuration on the device.
The Pro version, 99 cents in the Market and free on XDA has a widget which will update at the interval you pick, 1-24 hrs with the root status and gives a more thoroughly diagnostic output of the system su binaries and their properties.
Hope that helps!
Try putting the su binary in /system/xbin. I lost root after the OTA update to ITL41F, but busybox in /system/xbin survived.
I have root checker and when I lose root, it still says everything is OK. Superuser logs also show that apps have been allowed, but the apps just don't get root. When it happens, everything loses root, terminals root explorer, titanium backup etc. even the superuser app can't update the su binary.
I still have root after 11+ hours (crossing fingers)
Sent from my Galaxy Nexus using Tapatalk
motopig said:
Try putting the su binary in /system/xbin. I lost root after the OTA update to ITL41F, but busybox in /system/xbin survived.
Click to expand...
Click to collapse
The su binary will have also remained after an OTA, same as busybox. The difference is their permissions. Every OTA re-sets the binary direction permissions as 755 stripping out the setuid attribute required by su, but not required by busybox.
This would explain why after using an OTA the user will lose "root" access but maintain busybox access. Both binaries persist, but the su binary loses the setuid attribute required to elevate access for root.
fubaya said:
I have root checker and when I lose root, it still says everything is OK. Superuser logs also show that apps have been allowed, but the apps just don't get root. When it happens, everything loses root, terminals root explorer, titanium backup etc. even the superuser app can't update the su binary.
I still have root after 11+ hours (crossing fingers)
Sent from my Galaxy Nexus using Tapatalk
Click to expand...
Click to collapse
Well the key here, as I stated above, would be to see whether or not the su binary still has the setuid attribute and UID/GID set as root.
Any of those changes could remove the ability of the su binary to esclate permissions as root. In theory, any application which has been granted root access through Superuser, could remove root access for the whole system.
I can't imagine any reason why a developer would intentionally write an application to do that under a different title which you would be using.
Hope the technical details help!
I never had an OTA update after rooting, at least there were no notifications or anything. I do agree it acted as if the binary permissions got screwed up somehow, I don't know why I didn't check. Reflashing the su.zip didn't help. I assume flashing would set the permissions.
Well, nearly 24 hours and I still have root so, whatever it was, I'm happy now.
I just realized i no longer have root and i did the ota update recently. Problem is i cant get root back no matter what i try. I reinstalled the latest superuser from market with no luck. Any advice?
I forgot to mention i am completly stock on 4.0.1 and ITL41F. All i did with this phone is unlock the bootloader and the guide i used i think pdanet put SU apk automatically installed. My apps like root explorer all showed they did have root access. But now i tried to use root explorer and it claimed it had access, but couldnt get root.
My SU apk was updated to latest from the market. I just uninstalled the update and still no luck. Reinstall update and still no luck..
When it happened to me, the only thing that worked was to reflash the rom and go through the rooting process again. There is a thread in the development section about going back to stock where you can find the stock rom. you'll lose apps and things and may want to back them up first.
You could probably flash a new rom instead. I don't remember which one it was, but I was using a 4.0 rom that had su and didn't require wiping anything so reflashing was painless.
Sent from my Galaxy Nexus
Crap ok thanks. I cant backup anything with titanium cause it cant get root, so i guess i jyst have to lose everything. Might as well go with one of the roms i guess. I kinda was just enjoying stock with root.
Oh the other problem i have is i'm getting a fastboot error. Boot into bootloader and at the bottom of the screen says "fastboot FAILstatus" below. Any idea what thats about?
Some apps can export their settings the sdcard so don't forget to check them. I know when I lose everything there's really only 4-5 apps that require much setup while the others just require a login, but luckily those 4-5 apps can export their settings.
I don't know about the error, I'm not very good with fastboot. I use it when I get a new phone then go a couple of years without using it.
i finally got rooted again. For some reason it just wouldnt take. I had to use superboot over and over and over again and then finally it just took successfully even though i didnt anything differently. Very strange.

Can't install non-market apps

I just got my phone today and updated to 4.0.2. I had trouble installing Swype Installer (downloaded via browser) earlier but I was able to after a reboot. Now I'm trying to download Nova and it won't go, even after a couple of reboots.
The install screen comes up, I can expand the permissions menu, and click cancel, but clicking install gets absolutely no response. Also, unknown sources is checked in the security settings.
Any thoughts?
Sent from my Galaxy Nexus using XDA App
Hey, never heard of that before dude. Did you download the apk file for swype using your phone? Or did you download it and then copy it to your phone?
Maybe and this is just a shot in the dark try doing it one of the "other" ways above.
So if you downloaded it through your phone's browser try downloading on your computer and then transferring over. It is the only think I can think of that might work as I had an issue with an apk before similar to this and once I downloaded the file and copied it to the phone it worked fine.
Anyhow it's a long shot but thought I would say it Good luck.
daewond3r said:
I just got my phone today and updated to 4.0.2. I had trouble installing Swype Installer (downloaded via browser) earlier but I was able to after a reboot. Now I'm trying to download Nova and it won't go, even after a couple of reboots.
The install screen comes up, I can expand the permissions menu, and click cancel, but clicking install gets absolutely no response. Also, unknown sources is checked in the security settings.
Any thoughts?
Sent from my Galaxy Nexus using XDA App
Click to expand...
Click to collapse
If you have Screen Filter running then you should disable it before clicking Install. It is a known compatibility issue, otherwise just install it with adb:
adb install <path_to_apk>
fnf said:
If you have Screen Filter running then you should disable it before clicking Install. It is a known compatibility issue, otherwise just install it with adb:
adb install <path_to_apk>
Click to expand...
Click to collapse
That was it it!! Many thanks!
Sent from my Galaxy Nexus using XDA App
Same problem
I'm having the exact exact problem and it's really been bothering me that i can't update or install new apps, I don't have screen filter running and I'm at a loss on what to do to fix this
Hey guys, still having this problem
Sent from my Nexus 5 using XDA Premium 4 mobile app

[upstream bug]Phone gives me this dump after 3 vibrations

Hi all,
These days my phone, running stock JRO83D updated from jb-takju.zip provided by ClockworkMod, sometimes vibrate, and "shell has been granted superuser permission" floats several times, and then it let me choose Dropbox or Gmail.
The dump file is here: https://hexchain.org/pub/bugreport-2012-07-13-14-15-39.txt (Too big to attach here )
I didn't see anything wrong with my phone, it functions smoothly and nothing is wrong.
Chainsdd also ran into the shell being granted root multiple fines as well. (He's the one working on the su binary and superuser app). I don't know if there's a fix yet, but he's working on it when he can.
I've also had this issue, and I just rebooted my phone and haven't seen it since.
Sent from my Galaxy Nexus using Tapatalk 2
geoffcorey said:
Chainsdd also ran into the shell being granted root multiple fines as well. (He's the one working on the su binary and superuser app). I don't know if there's a fix yet, but he's working on it when he can.
I've also had this issue, and I just rebooted my phone and haven't seen it since.
Sent from my Galaxy Nexus using Tapatalk 2
Click to expand...
Click to collapse
Thank you!

Downloading apks from Google Play and using on a different phone

I've managed to extract an apk of a (free) application that is restricted to the Galaxy S3. Unfortunately, when I try to install this apk on my Galaxy Nexus, it says 'application not installed'. I'm assuming this is because the S3's device ID is integrated into the apk file, which is why the apk installs fine onto the S3 that it was extracted from.
How does one get around this? Surely it's possible, as applications such as Google Wallet are extracted and shared for all devices on the internet within hours of an update. Could somebody give me a guide on how to do this?
Just a thought, install on your s3, titium back up , copy the backup to your GN and install
Sent from my Galaxy Nexus using xda premium
qtwrk said:
Just a thought, install on your s3, titium back up , copy the backup to your GN and install
Sent from my Galaxy Nexus using xda premium
Click to expand...
Click to collapse
It's my mother's S3; I can't root it.
Add her email account then go to play store menu and click her email under accounts and her play suite will be on there. Just make sure you don't sync when setting it up or will get all her emails. Then remove her account. app will still be installed and will update. If you flash you'll have to do it again
LoveNFC said:
It's my mother's S3; I can't root it.
Click to expand...
Click to collapse
Is yours rooted? If so, did you try adding into the system apps folder? Make sure you make a backup too
Swyped on my Galaxy Nexus running AOKP with Franco Kernel, overclocked to 1.4GHz
Don't need root. Just add her under accounts on phone. I did it once. My friend had tmobile. I'm sprint. Apps are tied to email account. All you do is switch user in the store and hers will be there and yours won't until you switch back. Get app. Switch back to yours. Go back to phone settings and remove her account.
JediNinjafication said:
Don't need root. Just add her under accounts on phone. I did it once. My friend had tmobile. I'm sprint. Apps are tied to email account. All you do is switch user in the store and hers will be there and yours won't until you switch back. Get app. Switch back to yours. Go back to phone settings and remove her account.
Click to expand...
Click to collapse
Thanks for the suggestion, I've just tried it now. Unfortunately, even though the app did show up in the list, I'm getting "your device is not compatible with this version".
What app? just curious.
LoveNFC said:
Thanks for the suggestion, I've just tried it now. Unfortunately, even though the app did show up in the list, I'm getting "your device is not compatible with this version".
Click to expand...
Click to collapse
Lame. I don't know how they Decompile either.
Mach3.2 said:
What app? just curious.
Click to expand...
Click to collapse
It's an NFC payment application for my country.
Any new ideas?
Is it even possible to pull files from system folders via ADB command without root?
Isn't there some Apps that can temporary root your device withou actually touch system to root it?
Or why don't you root it and then afterwards unroot it?
Sent from my Galaxy Nexus using xda premium
I think you will be able to pull this off in a custom recovery.
Beamed from my Maguro
OK, so I've realised that the apk that I've pulled from the S3 works fine. I had an online friend install it on his phone and it installs perfectly. I then tried installing it on a Galaxy Note and Galaxy S2. Both of those threw up the same error: 'application not installed'. This has lead me to conclude that the apk, and the application, have device checks built-in. It won't install on anything other than an S3.
Does anyone know how to decompile apks to remove these device checks? I know it's possible, but how complicated is it?

Categories

Resources