yashsingh1/xdaforums huggingface dataset:
[Android Apps and Games] ChainsDD:
I have to go to bed. Will get the install issue worked out tomorrow. In the mean time you can still upgrade to the latest version manually.

Extract system/app/Superuser.apk and system/xbin/su from the proper update.zip for your firmware and install it with the following adb commands.

adb remount
adb push Superuser.apk /system/app
adb push su /system/xbin
adb shell chmod 06755 /system/xbin/su
adb reboot

If you're not comfortable with this method, wait for the fix.
[Android Apps and Games] cmstlist:
Psst, I'm still a UNIX n00b. I understand the three-digit chmod notation now - one digit for users, one for groups, one for others. What's the significance of four or five digits?
[Android Apps and Games] shmigao:
hi, i have used this method, and it seemed to work (showed me the push result (XXkb), and no error on adb shell chmod, but when I open superuser app and look at the version number it still says 2.2

is that correct?
[Android Apps and Games] neologix:
also, for 2.2.1 the notifications preference isn't doing anything; i set it to "notification" and no notification appears; i set it to "toast" and i have absolutely no idea what's supposed to happen.

otherwise, it's working great!
[Android Apps and Games] darkstarinc:
I did the commands it said, I see the new icon, and when I press 'Menu', it shows the prefrences, but when I click it, it freezes the app.

This is on a liberated Aria, no errors in adb. Using this file su-2.2.1-ef-signed.zip
[Android Apps and Games] SiL3nTKiLL:
thanks for this!
[Android Apps and Games] bchsun:
I got it to install, but only through extracting the .apk from the .zip in astro. I couldn't get it to flash from recovery. And even though the application opens it still says I have no root access. I am running CM 5.0.8-DS.
[Android Apps and Games] ChainsDD:
I'm not really sure what the first digit is for (I got the chmod line from a cyanogenmod update.zip), the second digit is so that the binary runs at the permissions of it's owner (root in this case), and the last three are standard permission codes.

Fixed that, try 2.2.2.

I forgot to include the instruction for creating the symlink in /system/bin. That might cause the problem.

You're welcome!

Apk version 2.2 up require a new su binary, it's in the update.zip under system/xbin, and that file requires certain permissions. AFIK it's only possible to set those through terminal or adb.

All that aside, 2.2.2 is up in the OP. I created a shell script that should fix the problems people have been having with installing this. If we're still having issues, it's gonna be either: a) the script didn't run properly because of your recovery image, or b) a new issue entirely.

Enjoy!

If you find a bug, please give me a detailed bug report including logs and phone/rom.
[Android Apps and Games] bchsun:
Okay... How do I go about installing this? I won't work through recovery and I don't know how to adb (I would like to learn though, but not now) and when I install the .apk from the .zip it doesn't give me root permissions. HELP PLEASE!
[Android Apps and Games] Daneshm90:
I still get status 0 when flashing :(

Heres the log. Im running 1.7 amonra recovery on a htc magic 32a.

Install from sdcard...
Finding update package...
I:Update location: SDCARD:abc123.zip
Opening update package...
I:Update file path: /sdcard/abc123.zip
Verifying update package...
I:Verified META-INF/CERT.RSA
I:Verified META-INF/MANIFEST.MF
I:Verified META-INF/com/google/android/update-script
I:Verified META-INF/com/google/android/updater-script
I:Verified fixsuperm
I:Verified system/app/Superuser.apk
I:Verified META-INF/com/google/android/update-binary
I:Verified system/xbin/su
Installing update...
E:Error in /sdcard/abc123.zip
(Status 0)

Installation aborted.

C:\Users\Danesh>

Gonna try removing update-script and resigning and flashing.
[Android Apps and Games] ChainsDD:
Need more info. What happens when you flash via recovery? What phone and recovery are you using?
[Android Apps and Games] ChainsDD:
Is that recovery.log?
[Android Apps and Games] Daneshm90:
32A Htc Magic. Amon ra 1.7.

Yes.
[Android Apps and Games] bchsun:
I am using a mt3g running CM 5.0.8-DS. When I try to flash from recovery is says:

E:Error in /sdcard/su-2.2.2-ef-signed.zip

(Status 0)

Installation aborted.

and I'm running Cyanogenmod Recovery

I currently do not an older version of Superuser installed. Idon't think that means anything, but I'm not sure.
[Android Apps and Games] ChainsDD:
Which update.zip? ef or cd?
[Android Apps and Games] ChainsDD:
Those of you using the magics, I believe I fixed your problem. Try this updated version, make sure you've rebooted recovery before flashing it.

http://bit.ly/su222cd

http://bit.ly/su222ef
[Android Apps and Games] Daneshm90:
Woot, 3rd times the charm ;)

Cant believe it was the update-binary, should've realized when i got a "Status 0" never had that before, so cudn't have been the script. Flashed w/o issues, booting now.

Yup, its working fine. Thanks.
[Android Apps and Games] ChainsDD:
I didn't even think about update-binary until I remembered that I had had a bunch of trouble getting the su binary working on my wife's G1. It was the same issue.

Now to figure out how to compile update-binary as generic...
[Android Apps and Games] bchsun:
ok, so now it flashed fine in recovery, but i'm still getting "can't get root permissions" instead of the pop-up window asking me to add an app.
[Android Apps and Games] ChainsDD:
Can you get me a logcat?
[Android Apps and Games] pentace:
Thanks for the app murder Fix
[Android Apps and Games] bchsun:
can you tell me how to get a logcat?
[Android Apps and Games] ChainsDD:
do you have ADB?
[Android Apps and Games] bchsun:
no. how do i get adb? i would need to have sdk installed on my cpu, right?
[Android Apps and Games] ChainsDD:
You can just download log collector from the market, run an app that requires root access, then launch log collector and send it to chainsdd at gmail dot com

Or SendLog
[Android Apps and Games] BicolXpress:
Thanks for the app. Installed it using fake flash (rom manager) without a problem
[Android Apps and Games] bchsun:
ok, i sent the email. it was crazy long, but i didn't know which activity you needed. I tried running the app "Clock Sync".
[Android Apps and Games] ChainsDD:
From the log is looks as though you have an old version of the su binary. Open up the Superuser app, hit menu->preferences, if it doesn't crash, tell me what it says in the Superuser Information section
[Android Apps and Games] bchsun:
it didn't crash and it says:

Superuser v2.2.2

su vnull
[Android Apps and Games] ChainsDD:
Yup, you have an old version of the su binary. I'm not even sure how that could happen if you flashed the update.zip, I'll throw together a quick update.zip with the binary only for you.
[Android Apps and Games] bchsun:
thanks. it means the world to me.
[Android Apps and Games] ChainsDD:
The world, eh? That's about what a custom update.zip will run you ;)

http://dl.dropbox.com/u/6408470/su-2.2-binary-only-signed.zip
[Android Apps and Games] bchsun:
so i take it i'm supposed to flash this from recovery, right? well... i tried that and it worked, but it still says "can't get root permissions" and still says "su vnull" under information in preferences.
[Android Apps and Games] ChainsDD:
I don't understand it, but your recovery image is somehow managing to ignore the update-script, but only parts of it. I think you should you update, or reflash your recovery image, and then flash the whole update again.

I have to go to bed tho, If you're still having problems tomorrow, hit me on gtalk and we'll get it all sorted.
[Android Apps and Games] pkopalek:
What stops me from unzipping this, using root explorer to move the files, and terminal to chmod them?

I wouldn't even need adb then?
[Android Apps and Games] aussiebum:
uh.. just found a slight problem with 2.2.. it's not granting root permissions on phone start up fast enough and as a result AutoStart isn't working anymore.

Going back to 2.1 for now.

Sent with XDA App
[Android Apps and Games] rfgamaral:
I'm having a little problems with this new (2.2.2) version, maybe it happened before but I don't know...

Clicking "deny" on the grant permissions dialog that pops up when an app requests root access, doesn't work as it should. That request you just did is in fact denied but the app will be added to Superuser permissions list with a green circle and instead of a red one (yes, remember is checked). However, I can click the item in the Superuser app and deny from there (or forget it, both work). It just doesn't work on the grant permissions popup.

Other than that, it's working great for me and I love this new 2.x version, kudos :)

EDIT: In case you saw the other problem I posted, just forget it lol...
[Android Apps and Games] darkstarinc:
Still having the same issues with the App crashing when clicking on 'Prefrences' No errors in adb are reported, and I can't seem to figure this one out.

Also, seems as the SU does work. I can launch Log Collector, Launch Terminal Emulator and issue the SU command and get the # symbol. Just cant get the app it self to show the preferences.
[Android Apps and Games] BobSilva:
Sorry, no joy... Get "permission denied' when I try to 'su' in the terminal emulator. Tried Deny and then Allow in the SU app, no effect.

Phone - MT3G

Recovery - Amon_RA 1.70

ROM - Latest CM6 Nightly
[Android Apps and Games] ChainsDD:
Found the problem, fixed it. Will release update later.

Please send me the logcat anyways. chainsdd at gmail.

Send me a logcat, address above.
[Android Apps and Games] darkstarinc:
I ended getting it working, I booted into ClockworkMod and applied the update via the zip file. Problem seems to be fixed, I can get into the preferences section without a problem now.

I was trying to do the adb method, but that is where it went wrong, from what I understand.
[Android Apps and Games] ChainsDD:
I forgot a line in the ADB instructions, there has to be a symlink to /system/xbin/su located in /system/bin. That could cause a problem if it's not there. That's why i prefer people to use the update.zip. Glad to hear you got it working.
[Android Apps and Games] BobSilva:
logcat sent... Might it be the symlink problem? Can you whip up the commands to fix that real quick?

EDIT: "adb shell ls -l /system/bin/su" says:

lrwxrwxrwx 1 root root 15 Jul 9 15:31 /system/bin/su -> /system/xbin/su

So, I don't think that's the problem...
[Android Apps and Games] ChainsDD:
Do me a favor, Download AdFree from the market, launch it, wait for it to tell you that it was "Unable to get root." (you can use the back button to close the dialog and then again to exit the app, that way it doesn't launch the browser and finishes the app so next time you launch it it'll try to get root again), and then send me a new log immediately after.

I'm not seeing in your log where the su binary is actually being called. I see many references to a gscript script named su, but not the su binary actually getting launched. Also, there's a database leak in gscript. If you don't mind I'll forward the bits of the log that show that to the gscript dev.
[Android Apps and Games] flakz0r:
I also had a few issues while installing this.

1. First tried to install with update.zip, apps lost root permissions and didnt request it

2. Tried manually after that, same thing happened. Also, going into preferences showed something like "Superuser v%s su v%s".

3. After that i manually deleted both files with "adb shell rm" and reinstalled update.zip, after reboot it was fine.

Great app, btw, thank you for your work.
[Android Apps and Games] :
anybody confirm if this is working on VillainROM 12?
[Android Apps and Games] DeezNotes:
I read through the 2.2.2 posts, but I didn't see anything specific to the issues I was having. I may have missed something though.

The issues I saw was that some apps didn't have super user permissions right after boot. This would cause a FC/wait dialog to come up at boot time for Titanium Backup. I also noticed SetCPU never kept the set values when enabling the Set at Boot option. Launching other apps such as Metamorph would show that super user access had not been granted to the app. If I waited a few minutes, then all apps would have su access just fine.

I down-graded to 2.1 and all apps are working well. This is on a Droid Eris running Ivan's Official ROM 1.0 (Android 2.1).

Again, my apologies if these issues were already reported/addressed.
[Android Apps and Games] ghiki:
Works perfect on my HTC Desire with MCR r3.1 :) great job
[Android Apps and Games] tjwilk:
Quick question: do I have to do a wipe to install this? I'm running OMJ eclair v1.5 rom on evo
[Android Apps and Games] rizdroid:
ChainsDD -

Thx for the great work. I've been using Superuser for a couple weeks, which was installed by Open Recovery 1.14 for Milestone.

Well, update.zip fails under Open Recovery (E:Could not find the update-binary) and my rooted Milestone doesn't allow to push to /system.

Solution:

adb push Superuser.apk /sdcard/OpenRecovery/root
adb push su /sdcard/OpenRecovery/root
adb reboot recovery
apply sdcard:update.zip [to run Open Recovery]
Root Phone

V2.2.2 up & running!
[Android Apps and Games] RodneyBR:
I'm VERY new to all this and I thought I would have to uninstall the old Superuser 2.1 before doing this. So I uninstalled the Superuser 2.1 thinking that this version would be as easy to install as another marketplace app. Now I don't know what to do?

If someone could please help me. I have a Sony X10 with 1.6. Thx
[Android Apps and Games] ghiki:
Runs ok, but when phonw boots, "Titanium Backup" gets FC, i think Superuser app have a delay on boot
[Android Apps and Games] compuguy1088:
Just an FYI, don't install superuser 2.2.2 on CM6 RC1, it allready has it in the rom. If you do install it over this rom, it will break superuser.
[Android Apps and Games] williamx87:
every time i flash it i loose root.. i am on cyanogenmod 4.2.1.5.1 what am i donig wrong
[Android Apps and Games] Pxoeb6mU:
Got a question:

Should this work, if baked in properly, on a cupcake where /system is on a cramfs?
[Android Apps and Games] Keegan_P:
1. Download the zip

2. Download astro file manager

3. Browse the zip with astro go in to system/app

4. There press superuser and press "Open app manager"

5. Finally, press install
[Android Apps and Games] stari4ek:
confirm.

TitaniumBackup ges FC right after boot.

Other apps which starts when boot is finished doesn't work properly (Auto memory manager, SetCPU)
[Android Apps and Games] WebKaiser:
Flashing this bad boy now! Can't wait to see it!
[Android Apps and Games] l33tlinuxh4x0r:
I too have the boot su issue with setcpu and other apps for the first few minutes. On an evo running eclair
[Android Apps and Games] TMartin:
Am I suppose to get multiple popups?? For example, if I run superuser right now I will have click allow probably around 5-6 times before the popups stop.

Sent from my HTC Evo 4G!
[Android Apps and Games] l33tlinuxh4x0r:
I don't think so I was getting this too so I just disabled notifications.
[Android Apps and Games] TMartin:
I'm pretty sure I set it to do the same with no luck.

Sent from my HTC Evo 4G!
[Android Apps and Games] shiftedx:
installed this on my Mytouch3G 32b running CM6 RC1 and I lost root... anyone know how to fix this?
[Android Apps and Games] Marine6680:
Many people (myself included) are having the issue with apps not getting SU access at boot like they need. http://xdaforums.com/showthread.php?p=7165891#post7165891 SetCPU must be manually updated every boot for me.

Also I am having issues with the "app has been given SU permission" dialog popup getting stuck on the screen for long periods of time or unless I kill the app or reboot. (even when going back to the home screen) I have noticed this mostly with Titanium backup; the dialog popup gets in the way and I can not see what I am trying to do.
[Android Apps and Games] darkspadez:
Ever since i updated to 2.2.2 my SuperUser wont work, when i try to load Rom Manager it says su not located at system/bin/su etc that wont work niether will my setcpu

MyTouch 3g v1.2 | Cyan 6 RC1
[Android Apps and Games] whoisthedrizzle:
I'm getting this too, to the point that when in SetCPU and Titanium, it spams the toast notifications repeatedly when changing tabs. I logcats from the install of setcpu on a wiped sys, fresh rc1, the first boot after install attempting to use a widget, and the last of the startup without the widget present. Again, not sure what the hell I'm looking at so bear with me if they're trivial!
[Android Apps and Games] aussiebum:
Yeah, I posted back on the 9th July that I had problems with AutoStart (as well as SetCPU and other apps that need root on startup) getting root permissions on boot. Haven't heard back from ChainsDD yet.

Best bet is just to dig out the 2.1 release and rollback to that version at least until this issue's sorted.
[Android Apps and Games] jocaferlo:
Where can we download previous version??
[Android Apps and Games] Homer314:
Hi guys, i installed SU 2.2.2 using app manager but it doesn't ask to allow apps when i run it (as rom manager for example), so i can't use root-access apps features.

How can i fix it ? Thank's :(

PS: ROM is a stock rooted
[Android Apps and Games] CrazyCoder:
See http://code.google.com/p/market-enabler/issues/detail?id=83 for another problem on boot, there is logcat attached with the following:

E/su ( 573): select failed with 2: No such file or directory

W/su ( 573): request rejected (10063->0 /system/bin/sh)

The problem happens only on boot, then the app can get root just fine.
[Android Apps and Games] swe_downhill:
Yeah! I started that thread, but I couldn't post links here at XDA since I'm a quite new user. But the problem remains and I can't get MarketAccess to emulate on boot, it worked the first time (see comment #13) in the thread linked in your post, but then it stopped working after next reboot (without doing anything at all, except rebooting my phone)...
[Android Apps and Games] Kodak X:
Working fine on my EVO. Thank you for this.
[Android Apps and Games] aussiebum:
I grabbed a unsigned version 2.1 from the customised OpenRecovery that GOT makes (v1.03 and below) - http://groupoften.wordpress.com/

It's the folder called "root" in the zip file.
[Android Apps and Games] whoisthedrizzle:
score.

does it clear up the startup issues without causing more problems?
[Android Apps and Games] Vulpix:
MarketAccess seems to be having problems with superuser 2.2.2 because I can't set the force location thing and it's greyed out.
[Android Apps and Games] CrazyCoder:
Still unclear whether it's Superuser problem or not until I get logcat from you.

It works fine on my N1 with MoDaCo r21 Nexus One ROM and Superuser 2.2.2.
[G1 Android Development] juangil:
after flashing... let it boot for about 15 min till I see lock screen,

let is sit and watch logcat to continue safely

Nice and pretty much a complete Rom

only missing Faves

using autostarts and autokiller to make it run better

Thanks
[G1 Android Development] protomanez:
Woah you got Meltus' permission to use the paid version in it, you must be quite the man. Anyways I love your rom, been using it for a week. I can survive the battery drainage but it should be better then it is now, since I need 2 apps just for my phone to survive 7 hours. I also have some problems with speed but it's not too bad with the OC kernel.

btw, think we should close the other one, as it ain't official and the person had no permission to post without these guys' authority. Just putting that out there.
[G1 Android Development] speedysilwady:
will .7 fix the battery drain and call lag? memory leak fixes? i loved this rom but i couldnt handle it after 2 days lol.

btw can you please link to the android spin forums in the OP since they seem to get the updates first?

sorry for all the questions, much appreciated! =D
[G1 Android Development] Azuske:
Its okay :)

We are always listening to requests... I am just the tester but I do my best to make this rom run smoothly.

The reason for the lag is the dump we used... we have a new dump so maybe that memory leak is gone... if not then we will find it and get rid of it :)

Once again its CR thats doing the deving... i just find the issues and its up to all of you to report what you find just incase I missed it
[G1 Android Development] 1wingangel:
MT3G tester here if you need me.
[G1 Android Development] TheDeadWalk:
i flash the overclock kernel correct?
[G1 Android Development] deuse:
V0.7 looks to be good. When do you think your going to release it?

thansk
[G1 Android Development] cheil:
Expect

i expect

iexpect 0.7 rom
[G1 Android Development] Bzerk1:
i liked 0.6.2 and i dont think .7 will fall short, but do you think we will ever see Blue Tooth working on it? It seems sense roms dont ever have it.
[G1 Android Development] domenukk:
Official mytouch rom is announced for "old mytouch". If we are lucky, it's 32b... and maybe even for the 2.x radio... but I won't beleave it before I have it installed on my phone. :)
[G1 Android Development] DanGrover:
Is it confirmed for old mytouch? I just assumed they meant the new one.
[G1 Android Development] Che123:
If BT would be working, I would flash this right away :)
[G1 Android Development] Bzerk1:
me2. trying to put more use to a new jawbone icon. ^_^
[G1 Android Development] lightninbug:
See this is the way Xda shoudl be....nice organized and full of info....good job Azuske
[G1 Android Development] deuse:
What's the word on the update?
[G1 Android Development] enatefox:
Glad people are still working on this. I kanged Zenulator's CDMA port's apps and framework and have Rosie and Music w/landscape support. I saw the patch for LWP in Sense too but not sure if that would work on different kernels but I'll try..

The official update I believe is for Magic 32A but the hardware should be close enough to get BT. Either way, it's a closer port.
[G1 Android Development] Azuske:
The reason its taking so long for a new release is because

1. The dev had Linux issues

2. We are using a better dump from the original device

3. We had issues with the speed in the last dump so we have been waiting for a kernel or a new dump to help fix this without the need to overclock your device too much

Don't worry you will be happy once its released just keep sending in what u find in previous versions so we can make sure the issues are fixed and drop the beta tag
[G1 Android Development] protomanez:
Bluetooth isn't really a priority in 2.1 sense roms, just saying. Do you want the ability to get rid of call lag or have a bluetooth device first?If you need bluetooth don't use sense or downgrade to 1.5. You could also get a new phone.
[G1 Android Development] alan090:
how about you get chiefz to remove that app and the reupload your rom if you want to post download links

@alan0421 Let me say this now. I NEVER gave anyone permission to use the paid version of my app in their ROMs. I will be speaking to Mods...

so unfortunatly - everything you said just made you look silly in the other thread

I was right

check meltus twitter for the proof :)
[G1 Android Development] Str8G1Pimp:
ugh i gotta reset up my ADB cause i installed windows 7 but damn 30 min in that case ill just let it sit there lol

Thanks for the help btw i noticed when ever i had a problem with a rom your always one of the main ones to answer my questions lol.
[G1 Android Development] juangil:
the thing is that all activity stops at one point after the lockscreen comes up (5-10 min after), then it wont do anything till you go thru the setup, once you finish the setup it will take a little more time finishing

your welcome :D
[G1 Android Development] deuse:
My mate just rang me and told me it took 8 rings before I picked up phone :(
[G1 Android Development] Str8G1Pimp:
Im gonna repart because i keep boot looping damn G1