yashsingh1/xdaforums huggingface dataset:
[Android Apps and Games] scottspa74:
question

Apologies in advance. I've read thru more than half this thread today, but just won't have time to finish. So I gotta just flat out ask. I want the 2.3.5 on my everyday ROM (stock rooted Evo, by netarchy), it is currently on superuser 2.1.

I flashed fresh ROM for a second, and saw it has 2.3.5. So, I downloaded the new SU.

I'm guessing I need to remove the 2.1 version first.

I do not do adb, and don't do stuff from a desktop really at all. So I need to be able to do this from my Evo.

I have used terminal emulator to flash the newest amon_ra recovery, and used emulator to get my phone rooted, so I'm ok with emulator. Wondering if I can just uninstall superuser 2.1 via Settings>Applications>Manage Applications or somethin (guessing I can't uninstall thru Titanium, since titanium needs Su to run?) , then flash the superuser newest version thru amon_Ra (on my phone, again, no PC), flash from zip ?

Or would I need to use terminal emulator to install , terminal emulator also requires Su, I believe, so I don't think I will be able to use it to install ?

If anyone has any tips or info for me , I'd super appreciate it. As you can tell, I'm fairly new, but making SOME progress/learning ;)

Thanks in advance

(Also, is 2.3.5 pretty stable? I know I saw a lot of issues with earlier versions, as I was reading this thread.
[Android Apps and Games] jhego:
Any way to downgrade? i tried going back to SU that is compatible with Metamorph but it wouldn't install.
[Android Apps and Games] ederk:
Superuser Permissions is screwed up

I downloaded Easy Root to root my phone and had to uninstall and reinstall Easy Root. In the process, Superuser Permissions stopped working and I'd get a error message and had to force close each time. I tried uninstalling Superuser Permissions using the Android uninstall client and using Advanced Task Manager, but could not get it uninstalled. The icon no longer had the ninja logo but instead had the black and white Android robot with an X over top of it. I tried resetting my phone to factory settings and it still reloaded the Superuser Permissions with the same black and white icon, and it still does not work. I'm at a loss as to how to get this off of my phone so that I can again reinstall Superuser Permissions and get it working once again. Any assistance would be greatly appreciated. I'm a novice at this stuff, so please give me detailed directions. Thanks!
[Android Apps and Games] GieltjE:
after the update su -v responds with "2.3.1-ef", but the superuser app keeps reporting an update. (guess this is better then before, but not quite there).
[Android Apps and Games] Had01:
It will be useful if you mention which phone are you talking about. Otherwise it is really hard to provide you with solution.
[Android Apps and Games] osvejda:
I've installed from Market and everything seems to work, even when original Superuser.apk (from CM 4.2.15.1) is still in /system/app. Can I keep it there? Will it still work if I uninstall the new Superuser?

Oh, and thanks to ChainsDD. Very nice app!
[Android Apps and Games] Skimi:
See if this help... by the way i have an Desire!!!

D/dalvikvm( 197): GC_EXTERNAL_ALLOC freed 2008 objects / 95696 bytes in 53ms
I/ActivityManager( 93): Starting activity: Intent { act=android.intent.action.MAIN cat=[android.intent.category.LAUNCHER] flg=0x10200000 cmp=com.noshufou.android.su/.Su }
D/dalvikvm( 197): GC_EXTERNAL_ALLOC freed 587 objects / 42512 bytes in 46ms
D/dalvikvm( 5671): GC_EXTERNAL_ALLOC freed 1048 objects / 52800 bytes in 28ms
D/Su ( 5671): Not first run
W/Rosie ( 197): mAddHtcWidgetByOtherActivity = false, mIsOpenSlideWhenLeaveLaunch = true
I/ActivityManager( 93): Displayed activity com.noshufou.android.su/.Su: 972 ms (total 972 ms)
W/KeyCharacterMap( 5671): Bad keycharmap - filesize=32
W/KeyCharacterMap( 5671): Error loading keycharmap file '/system/usr/keychars/bravo-keypad.kcm.bin'. hw.keyboards.0.devname='bravo-keypad'
W/KeyCharacterMap( 5671): Using default keymap: /system/usr/keychars/qwerty.kcm.bin
I/global ( 5671): Default buffer size used in BufferedReader constructor. It would be better to be explicit if an 8k-char buffer is required.
D/dalvikvm( 5671): GC_FOR_MALLOC freed 4681 objects / 282328 bytes in 37ms
D/dalvikvm( 5671): GC_EXTERNAL_ALLOC freed 1106 objects / 77720 bytes in 32ms
D/dalvikvm( 5671): GC_EXTERNAL_ALLOC freed 321 objects / 24472 bytes in 31ms
D/dalvikvm( 197): GC_EXPLICIT freed 693 objects / 36768 bytes in 69ms
I/global ( 5671): Default buffer size used in BufferedReader constructor. It would be better to be explicit if an 8k-char buffer is required.
I/global ( 5671): Default buffer size used in BufferedInputStream constructor. It would be better to be explicit if an 8k buffer is required.
D/Su.Updater( 5671): System has outdated su, attempting to copy new version
D/dalvikvm( 308): GC_EXPLICIT freed 3 objects / 72 bytes in 49ms
W/InputManagerService( 93): Window already focused, ignoring focus gain of: com.android.internal.view.IInputMethodClient$Stub$Proxy@46a01660
I/global ( 5671): Default buffer size used in BufferedInputStream constructor. It would be better to be explicit if an 8k buffer is required.
I/global ( 5671): Default buffer size used in BufferedReader constructor. It would be better to be explicit if an 8k-char buffer is required.
D/su ( 8508): 10085 com.noshufou.android.su executing 0 /system/bin/sh using shell /system/bin/sh : sh
[Android Apps and Games] torankusu:
Superuser 2.3.5 reboot command on Termianl Emu.

Hi all,

so my story goes like this: i was running a stock 2.2 odexed rooted with superuser 2.1 included from netarchy for the EVO 4g phone. i could reboot using an app and also using terminal emulator, these are the command that use to work; "reboot" and "reboot recovery".

i was forced to unroot my phone set it back to stock froyo sprint 2.2 official- unrooted, that fixed the issue i had while running rooted roms. so i went and re-rooted the evo with a guide that a member posted under the EVO 4g development. everything went fine. the rooted stock 2.2 froyo rom came with superuser 2.3, i installed TU(terminal emulator) and allowed permission, typed SU and i get the # then typed reboot, i get "not permited" message, typed reboot recovery and i get the same message. upgraded superuser to the latest version 2.3.5 to see if that would fix my issue with reboot command under SU through TU. same message as before.

i know i'm rooted because i was able to deleted APKs from phone rom and moved stuff around using root explorer app but why do i get a "not permited" message when typing reboot command ??? anyone
[Android Apps and Games] c00ller:
Just upgraded from su 2.1 to 2.3.5 and now I'm getting 100% wake... :(

Edit: nevermind, spoke too soon. I don't know how but it's normal again
[Android Apps and Games] clatonic:
How does this work? My phone is rooted (su works in the adb shell) and busybox is installed, but Titanium Backup still complains about su/whoami not working (whoami in the terminal also doesn't return UUID 0).

I don't get any notification from Superuser, and there's no apps in the whitelist.
[Android Apps and Games] rifky1780:
need help please

Can you give me the step by step instruction to uninstall the old superuser. Coz i need to update to the new one. The problem is that im not familiar using adb or odin or terminal. Could you please guide me? And also i need to know. Do i need to unroot my sgs i9000 to upgrade from samsung kies?
[Android Apps and Games] reekotubbs:
I am rooted by unrevoked 3 and unrevoked forever, I then downloaded and installed superuser from market and the app installed and opens no problem.

But there are no apps in the list in superuser. Also all my apps that require root access say that I am not rooted, what gives?

Anyone care to shed some light on my situation?
[Android Apps and Games] ghidda:
You have try update to market???

The simple method is to use a specific apk example ExUninstall and after install the last version
[Android Apps and Games] rifky1780:
thanks dude ill give it a shot!! let ya know soon...wish me luck

GOD BLESS
[Android Apps and Games] scottspa74:
@ rifky1780

Yeah, I'd like to know too. I asked virtually the same question, but with no response.

@ anyone else, I'm proficient with terminal emulator, but I imagine I can't just uninstall old version, then install new thru terminal emulator, because TE needs SU to work, I believe. Or can I just uninstall old SU, then flash new one thru recovery (is it a flashable zip? (I'm pretty sure that's how I installed old SU to begin with...)
[Android Apps and Games] rifky1780:
It seems that exuninstall cant list the superuser apps,so whats next? Any better ideas guys, im realy new in this please help?
[Android Apps and Games] reekotubbs:
Thanks to every one that attempted to help, lol.

For those having the same issue, here is my device info and what I did to solve the issue

HTC EVO 4g

Android 2.2 rooted (unrevoked 3 + unrevoked forever)

Initially I installed Superuser from market, but nothing worked

I uninstalled it, then manually installed the su-2.3.5 for froyo (found in the 1st post) through recovery.

For some reason the Superuser from market does not update the su binaries.

That fixed everything.
[Android Apps and Games] scottspa74:
Yeah, no kidding. I've been on XDA for almost 2yrs, and never seen a thread with so few replies/responses/help. I mean, isn't that the point of XDA, people helping others? At least, that's how I've always treated it, whether I'm doin the helping, or the asking. I'm new to Android, came from winmo.

Anyhow, glad you got it. I'm wondering, did you have an older version of superuser first, were you just updating? Or was this the first try at superuser?

I'm curious if I can install new version over old, and it will just update it, or do I need to uninstall old version first, then flash this zip thru recovery?

Thanks in advance.

Edit: and I do see, in page 52, other people were able to pull it off using adb, but I don't do adb. I can use terminal emulator on my phone, but it requires superuser, I believe, so I doubt I can uninstall with that.
[Android Apps and Games] GieltjE:
You should be able to give most of the commands via the terminal emulator (except adb reboot recovery etc), but you can do su, and then remove the su binary and continue to work as long as you don't close the shell.
[Android Apps and Games] wipeout140:
Market updated failed before issuing the adb commands after that it installed/updated perfectly fine from the market. Thanks again
[Android Apps and Games] bleh815:
Superuser that came with CM6 final crashed ("no such such table: permissions"), update via market failed, unable to perform the suggested steps (no rw /system on a running HTC desire, no pm command in recovery)... Wiped data, reinstalled CM6, all fine
[Android Apps and Games] scottspa74:
Thanks for the response. I appreciate hearing I can do it thru TE. Now I just need to figure out WHAT to do thru TE. I flashed my recovery thru TE, among a few other things, so I'm familiar with it a bit. But I'm curious what, exactly I need to do for this?

Use TE to uninstall old SU?

Than flash new SU zip from recovery?

Or do you need to remove old SU AND install new all in one shot on TE?

Is removing SU binary same as installing SU altogether?

I'm probably makin this more complicated than it is (I keep finding that to be the case), but I'm really afraid of losing/breaking SU. If anyone cares to give some more detailed instructions, or point me in right direction, much much appreciated. Thanks.
[Android Apps and Games] twrock:
This was a great way to get superuser installed on my CHT8000 (Pulse). Thanks!

But unlike my previous experience with superuser, I'm not able to get "adb remount" to give me permission. I'd like to be able to push files into /system, but I can't get there. Any ideas?
[Android Apps and Games] malez:
Am I the only one but in the zip provided on first post application version is 2.2.2 not 2.3.5

# md5sum system/bin/su

eafd6ce052f80a7f217d2e6033b2ce15 system/bin/su

# md5sum system/app/Superuser.apk

8bea31c2004ae7189ab0591b5f40dc19 system/app/Superuser.apk

Is is just a problem diplay issue within the app or a bad zip ?
[Android Apps and Games] xaueious:
If I encounter 'Getting exe path failed with 13: Permission denied' and root denied, what could be a cause of this?

Trying the cd version on a RK2808 device

I have rw system.
[Android Apps and Games] Skimi:
With the latest 2.3.6.1 still reboots when i try to update binary...

Any solution to update binary on Desire?
[Android Apps and Games] CmraLvr2:
Seriously?
[Android Apps and Games] Mr. Frost:
Same here :(
[Android Apps and Games] Skimi:
Do you have an HTC Desire?
[Android Apps and Games] Mr. Frost:
Yes. More in my signature.
[Android Apps and Games] scottspa74:
Yeah, seriously, jack*ss. Something funny? I would add that, if that's the contribution you have for XDA, XDA doesn't need you.

@ chains_DD;

Awesome, thank you. I was Hung up on how to uninstall v2.1, but maintain privileges to install 2.3.5. Then I saw 2.3.6 was out and first tried directly from market, and boom, installed right over old, no complaints/errors. Thank you.

2.1 version actually worked just fine for me, just was happy to get rid of that ninja/knight icon. ;)

Anyhow, thanks.
[Android Apps and Games] CmraLvr2:
It wasn't to be rude, flame etc. It just seamed to me that instead of complaining that no-one answers maybe you could try to self help; that is all. Maybe you did search and couldn't find it, I don't know. It just struck me wrong at the time. I personally did a nadroid before flashing from 2.3.1 to 2.3.4 so I could roll back if needed and bulldozed ahead lol. It flashed fine with no problems. Anyway, I'm glad you got your issue resolved
[Android Apps and Games] add144:
I tried all the above and I was still having issues with Superuser not responding to root requests, what finally worked for me was also removing its dalvik cache file, then flashing from recovery.

adb remount
adb shell rm -r /system/app/Superuser.apk
[I]adb shell rm -r /data/dalvik-cache/system@app@Superuser.apk@classes.dex[/I]
adb shell rm -r /data/data/com.noshufou.android.su

Then flash the zip
[Android Apps and Games] scottspa74:
Well thanks for chiming back in, cuz it definitely felt like a flame, and was neither question nor answer.

I have read over this thread quite a bit trying to find what works for people, and what others are doing, and if it applies to my situation. Given that I'm trying to do this thru terminal emulator and/or recovery. My concern, as I stated before, with doing it thru term emulator, is that emulator requires Su permission, so it seems it may have a problem deleting Su, but if not, it certainly would installing new Su. Could I do the install thru recovery flash zip? That's been my question.

I know someone posted that as long as you DON'T LEAVE emulator before completing, you're ok. Guess it still makes me a bit nervous. Was hoping to find an easier, safer way, I guess. I do have several nand backups.

I see the post above this has great info. Just gotta figure how to translate the adb commands to emulator commands. I didn't actually I didn't get it yet. I was on my Fresh ROM nand when it went thru. Fresh already has 2.3.5, It's my stock nand I was wanting to get it on, brainfart. So, on to resolving.

@add144

Thanks for the tip.
[Android Apps and Games] add144:
I think the terminal commands would be

su
mount -o remount,rw /system/
rm /system/app/Superuser.apk
rm /data/dalvik-cache/system@app@Superuser.apk@classes.dex
rm /data/data/com.noshufou.android.su
mount -o remount,ro /system

Then reboot into recovery and flash.

...all assuming you can still get root permission in terminal :confused:

Edit:

If you're not familiar/just not comfortable with adb, I'll walk you through it.
[Android Apps and Games] scottspa74:
Right on man. Thank you. I'll try this. Check your PMs (not pms) ;)
[Android Apps and Games] floris91:
if i want to apply the .zip file tot upgrade my superuser i get the message in recoverymode; E: Can't open /sdcard/update.zip(no such file or directory) what can I do to solve this problem? Ty in forward:)
[Android Apps and Games] RoyR80:
I having trouble with the bin update. :-/ i'm currently running SU2.1 When i flash it im told its "(Bad)" :-( any suggestions?
[Android Apps and Games] luis1108:
Thanks a very lot!
[Android Apps and Games] mrafi26:
No apps in list

Hi,

Installed the Superuser v2.3.6.1 from the market.

The apps list is empty(also when get into log tab is empty).

Installed Rom manager and SU is not asking for a permission.

Any ideas?

HTC Desire A8181

2.1-update1
[Android Apps and Games] elborak:
Have you actually performed any ROM Manager activities which require root (e.g. "Reboot into Recovery")? It doesn't request root permission until needed.
[Android Apps and Games] VOODOOTRIP:
Install latest zip, and flash. I had the same prob with the one from the market.
[Android Apps and Games] mentalityx:
Thanks for the update. Works great.
[Android Apps and Games] mrafi26:
I have downloaded update.zip file to the SD card.

I'm sorry but I am not familiar with android - what do you mean by latest flash and from where can I download it?Meaning the latest flash player for mobile?

The problem is that when I press "Reboot into recovery" from Rom Manager, I'm asked to approve Clockworkmod action?

I press OK and nothing happens.Per my understanding,permission needs to be granted to such activity but Superuser is not recognizing any application(No apps in the list in SU).

Please assist.

Thanks!
[Android Apps and Games] suiaing:
Are there any log that can show what is done by superuser ?

for example, "su rm -rf /sdcard/*" is executed, how can i know it is executed by what application?

any log to show...

Time | Application | command ?
[Android Apps and Games] m4f1050:
I have an HD2 and I can't do the recovery install method, is there an .APK I can get and install via ASTRO or App Manager?

EDIT: I went in the APP folder and installed the .APK with Application Manager, working great! Thanks!
[Android Apps and Games] VOODOOTRIP:
Go into the log section of the app.
[Android Apps and Games] goldohulk:
Just wanted to confirm that an issue still exists with Superuser 2.3.6.1 and autostart. I have an HTC Magic with the config in my signature.

Running the /data/opt/autostart.sh by hand works just fine, but it does not executed at boot. Superuser does not prompt me at all about granting any privileges to autostart.

Is there any facility to add a package/application not on first use, but directly? By specifying package name for example?
[Android Apps and Games] cmstlist:
I used a similar method to apply version 2.0 which was originally posted on UltimateDroid on my Telus Milestone. The only difference is I used Milestone Custom Update rather than OpenRecovery. Replaced the files in /CustomUpdate/root with the ones from the zip and re-rooted. Worked great.

I was going to do the same thing with version 2.1 from here, but I noticed that I could just open the new Superuser.apk in Astro and press "Upgrade". It upgraded on the spot and seems to work just fine. Then I did "Uninstall Updates" and it rolled back, just as if it were a system app.

Anyway just to avoid having 2 copies in memory I applied it the proper way again. Oops! After applying it this way, my list went blank. Ah well I guess it's healthy to be periodically reminded of which apps I've allowed into my phone's deepest darkest secrets ;)
[Android Apps and Games] ECLIPS3:
hey thanks for this. im using the eclair unsecured version with Senseable 2.0 on the Eris. works perfect. have to open terminal windows within the phone and do SU to get it to work, which is needed with any superuser apk. thanks again. works perfect.
[Android Apps and Games] foreman31:
Didn`t work

I replaced su and superuser.apk in CustomUpdate on sdcard and su system/bin, superuser.apk in system/app and then said no root so rerooted with customupdate and have root access again but with the old superuser.

What did I do wrong
[Android Apps and Games] foreman31:
Ok, got it working, replaced files in root in CustomUpdate and it works now
[Android Apps and Games] Eddie1506:
This one working fine on HTC Hero with VillainROM 5.5

Thanks a lot! :)
[Android Apps and Games] ahhl:
i am even dumber..hopefully bear with me. i am even totally alien to linux.

my question.

1. must rename the file to superuser.apk? or how to do it? (just rename???

2. or must rename to androidupdate.tar or how to do it? <--done it (i convert to tar, than rename it to android update.. ran install update from boot menu but not sucessful

3. [above quotation] download to which directory? how to flash? (someone even mentioned press enter) no keyboard how to press enter?

sorry i am really dumber than dumber:(

running myn RL5 on polaris
[Android Apps and Games] ermacwins:
this worked fine on vanilla roms but not on Feeyo's 2.1 Hero sense rom. Tried signed and unsigned

This is the error I get in recovery
[Android Apps and Games] ermacwins:
edit: double post
[Android Apps and Games] zonbal33:
What's the difference between this [MOD] Superuser 2.0.3 - Human readability and Superuser 2.1 - Fun for all! [2010-05-16]?
[Android Apps and Games] n1ghtwish:
Can anyone help figure out why SU 2.1 won't work with ZenEXP?? Just to clarify, we're referring to the Eris ROM that was ported from Zenulator's Hero ROM. The ROM is sense based and I personally have been able to flash the unsecure SU 2.1 update into any of the ROMs I've used except for this one.

When used with ZenEXP, SU force closes whenever opened or requested by an app, therefore rendering it useless and no apps are allowed root permission.

If I have time later, I'll flash it in and run it and post an excerpt from logcat.

Thanks!
[Android Apps and Games] whatmoto:
im totally new to all of this and I hate the fact that companies are still denying me access to my paid device. so that is why I would like to do this superuser .

i have the factory update 2.1, i bought this motorola milestone from telus with 2.0.

so my question is will this work on my cell without turning it into a paper weight?

also do i just download the zip file rename to update.zip and boot to the menu to manually update it? from reading these posts i think that is what i have to do.

thank you in advance.
[Android Apps and Games] n1ghtwish:
you need to have a recovery partition to install this... and you need a rooted device to install a recovery partition. 2.1 OTA is not rooted. for now, this application won't do anything for you; until someone figures out how to either A) root 2.1 OTA, or B) downgrade to 1.5 to upgrade back to the 2.1 rooted ROM.

sorry :/
[Android Apps and Games] whatmoto:
well that sucks.. lol.. thanks for the reply.
[Android Apps and Games] psych:
Dear developers.

That seems that I need some help badly in incorporating this great Superuser App in my own custom ROM for HTC Legend.

I've uncompressed su-2.1-e-unsecure-signed.zip and pushed files from system/ folder to their appropriate places in my ROM file structure (I'm using HTC Android Basic Kitchen 0.52 by dsixda). Then I'm adding lines into update-script file to set correct permissions and symlinks in the system. And that's the point where I fail.

I'm receiving

E:Can't symlink /system/bin/su
E:Failure at line 74:
symlink SYSTEM:xbin/su SYSTEM:bin/su

error after any possible way to set up a symlink. It seems I've tried every possible way (bringing me the same error) - from symlink ../xbin/su SYSTEM:bin/su up to symlink SYSTEM:xbin/su SYSTEM:bin/su

What is the right way to do the thing? Or maybe I'm wrong somewhere else?

Any help is appreciated, and I'll gladly provide any required information.

Thanks in advance, Kirill
[Android Apps and Games] stari4ek:
Have you checked, that there is no other su in /system/bin/ ? Cause all of old custom roms, had two copies in xbin and bin
[Android Apps and Games] METHOD1911:
question

do i have to remove the old superuser.apk from my phone before i push this one im using damagecontrol rom is it cool to use this with this im very new at this