yashsingh1/xdaforums huggingface dataset:
[Galaxy S II Original Android Development] Phil3759:
Some people are getting duplicates from previous root methods using ChainsDD superuser instead of Chainfire superSU or vice versa when they come from SuperSU and switch to superuser.

Also, this can happen when you updated let's say to a future Chainfire SuperSU v1.0 and later you use one of my outdated scripts (with version 0.94 for example).

The cause is that I do not delete anything from /data/app. I can add it, it is not an issue, but till these brick things are fixed, I chose not to do it.

The solution is very easy:

Just uninstall from stock application manager all superuser applications. The /system/app application will stay as system applications cannot be removed normally in application manager

After that, just update your superuser application from market. Updates are put in /data/app and original copy will stay in /system/app.
[Galaxy S II Original Android Development] legola:
Can I flash anything using this temporary cwm v6? say modem, kernels and other flashable zip file? can I perform fw back up and recover back up fw?
[Galaxy S II Original Android Development] Phil3759:
You do all you want, like in any CWM. This is the last CWM directly built from Koush, nothing touched. I only extracted and repacked it

However, no one yet confirmed if the v6 fixed the wipe issue on the buggy chipsets. Take care and ask in the ROM thread you download if any wipe operations are done in the zip file you are flashing
[Galaxy S II Original Android Development] jbad:
Very nice upload. Yes I am happy to see this post.
[Galaxy S II Original Android Development] Phil3759:
delete please
[Galaxy S II Original Android Development] Phil3759:
Well,

After the recommendations from recognized developers, mainly Entropy512, I went into a deep revision of

method 1 steps

,

scripts in attachments

, and

busybox availability

:

Hope this makes most people satisfied: the noobs, average users wanting more flexibility and the recognized developers that are fighting the superbrick issue on some phones

One more note,

Stericson busybox was replaced by Linus Yang version
[Galaxy S II Original Android Development] Stileth:
external no? :)
[Galaxy S II Original Android Development] Phil3759:
Yes, you are right, once again :angel:
[Galaxy S II Original Android Development] tysonraylee:
The new method which doesnt require CWM worked for me successfully and i now have superSU in appl drawer

I just downloaded - Root_SuperSU.0.94.Only-signed.zip for Chainfire SuperSU (the one that comes with CF_Root). and flashed as mentioned in OP.

Please do note that the OP has asked to copy the file in external_sd, so if someone is not getting it work then probably this is the reason.

I have already clicked thanks for OP but again i would like to thank him with the bottom of my heart and i respect your hard work.

Thank you very much

I am now running stock 4.0.4 XXLRK rooted without the use of CWM
[Galaxy S II Original Android Development] Phil3759:
Thank you for the feedback

Happy it helped you.
[Galaxy S II Original Android Development] tysonraylee:
well its all thanks to you

a quick question though

I have only flashed the superSU and its now there in my appl drawer and I haven't flashed busybox at all.

how much important is busybox for perfect root or is the superSU app enough??

will my phone be still rooted if I don't install busybox as I don't use a lot of applications??
[Galaxy S II Original Android Development] Phil3759:
Busybox provides a set of unix commands to the android so that more complex operations can be done

Busybox is not needed in anyway for root

The commands supported by busybox will depend on the applets included during the build process, this will vary with the dev compiling the app.

Good applications should come bundled with their proper busybox version so that the app is sure to find the commands it needs. However, very few, if any except titanium backup, went that direction.

If none of your applications are complaining about the lack of busybox, then no need to install it

Also, sometimes, when you are in trouble or follow some guides, you are directed to enter terminal emulator and use some commands to achieve your goal. Most of the time, these commands will not be available without busybox.
[Galaxy S II Original Android Development] tysonraylee:
thanks for the information and now I understand what busybox does.

none of the apps in my device have asked for busybox yet so I guess its not needed.

And I am perfectly rooted now.

thank you again for your help :)

+1 to you my friend
[Galaxy S II Original Android Development] Poroto:
im kind of a real noob here but, of all those files uploaded... which ones should i download to root my Galaxy S2 GT I9100 running ICS 4.0.3 ? the name of the files look all similar and i cant seem to find which are the ones i need. Thanks and sorry for such a noob question !

Oh and another question, do i need to install CWM to root my phone ?

info: kernel version: 3.0.15-I9100UHLPJ-CL352354se.infra@SEP-80 #3 (i dont really know what this is, i just wrote it down in case someone need it to give me a proper answer)

thanks and once again try to be patient please !
[Galaxy S II Original Android Development] Phil3759:
Here's quoted from OP

Basically, the file advised is Root_SuperSU.0.94.Only-signed.zip

If you do need busybox (using terminal emulator or some applications refuse to work with a busybox error), you can install busybox later with this file Root_Busybox_1.20.2_Only_XXX.zip

If you know you need busybox (Mybackup manager, Autorun Manager, terminal...), just install both in a single step with this file Root_SuperSU.0.94-Busybox.1.20.2-S2-Update1-signed.zip
[Galaxy S II Original Android Development] Poroto:
ohh god, cant believe i didnt saw that on the original post, thanks...

last question and im ready to start the process, this works smoothly on GT I9100 running ICS 4.0.3 on the kernel i posted above, right ? say yes and i'll quit beign an ass.
[Galaxy S II Original Android Development] Phil3759:
np at all :highfive:

Yes, it will work on any ICS version
[Galaxy S II Original Android Development] Phil3759:
Updated OP with:

No need to reinstall them if you are rooted, just update from market
[Galaxy S II Original Android Development] Phil3759:
Update OP again:

Only fixed a cosmetic ui_print display during script execution

Was still showing 0.94, now changed to 0.95
[Galaxy S II Original Android Development] Poroto:
succesfully rooted my gt I9100 with superSU and busybox.

Now, i need to find some method to unlock it without patching files, which i think is impossible :/... Chainfire unlock code finder didnt work

thanks !
[Galaxy S II Original Android Development] Stileth:
Phil, I think you can add your own method as nr.2 no? ;) http://xdaforums.com/showthread.php?t=1842455
[Galaxy S II Original Android Development] Phil3759:
That's only for the i9100, but can link it, yes
[Galaxy S II Original Android Development] Stileth:
Well we are in the i9100 section after all no? ;)

Odoslané z GT-I9100 cez Tapatalk 2
[Galaxy S II Original Android Development] Phil3759:
But the methods in that guide are quiet universal in their general steps, or at least for Samsung phones. Method 1 is even written with non Samsung phones in mind. They have in mind the non waiting for a dev to root your new released kernel

Anyway, will add a link even if it is already a heavy post...
[Galaxy S II Original Android Development] daebaybay:
Does anybody know if method 1 works with at&t galaxy note i717?

Thanks in advance
[Galaxy S II Original Android Development] Phil3759:
I only see a cwm.img file at clockworkmod.com

So basically:

- try my root file directly in stock recovery, do not flash attached cwm temporary as it is not for your phone. If it works, you are rooted.If it does not work, you will see a signature error, nothing happens and you are left with other options

Let me know if the i717 could flash my files in stock recovery please
[Galaxy S II Original Android Development] daebaybay:
Damn, didnt work. Got the "failed to verify signature" error.

Is this something that can be fixed to be made to work?
[Galaxy S II Original Android Development] Phil3759:
No way, just flash the image as per your phone support thread
[Galaxy S II Original Android Development] antique_sonic:
I think u shld go to Note forums, since ur phone is a locked Note version.

If i am not wrong dr. Ketan got a complete thread on how to root and unroot galaxy note in a safe way. Do Follow dr. Ketan rooting method carefully, as galaxy note has a mmc cap brick bugs.

If don't understand, some of xda friends downthere with similar phone as yours might be able to help you.

The method provided here, generally is for unlocked samsung phone. This is from my understanding.

Sent from xda-developers Galaxy N7000 ICS 4.0.4 LRK / CriskeloROM v.11.1 / Speedmod K3-12
[Galaxy S II Original Android Development] Poroto:
if i unroot from the superSU application, my whole root will be removed and i'll get my warranty back ?
[Galaxy S II Original Android Development] Phil3759:
Not that easy.

- First Triangle Away from Chainfire to reset counter and Yellow Triangle

- Unroot (optional)

- Wipe data, cache and format /system in CWM from a stock GB or 4.0.3 kernel (you will brick in stock 4.0.4 kernel)

- To wipe, you can also look at my thread here, no super brick, no PC

http://xdaforums.com/showthread.php?t=1849737

- Flash a stock ROM from your country in ODIN

- Check that Kies recognizes your phone

Congrats, you have a brand new phone
[Galaxy S II Original Android Development] Poroto:
1) I am rooted and i dont even have the yellow triangle, so why should i use that app from chainfire ?

2) I also do not have CWM, i rooted my phone on stock recovery.

3) I also read that if i flashed my stock rom through odin my root would be removed, is that true and that simple?

Thanks !
[Galaxy S II Original Android Development] Stileth:
Yes, flashing new ROM will remove the root.

Odoslané z GT-I9100 cez Tapatalk 2
[Galaxy S II Original Android Development] Poroto:
Thanks, I flashed through odin my stock rom and superSU disappeared so i guess i am no longer rooted. Thanks !

I was told that my apps would be deleted, but nothing was deleted in my case, not even apps, nor music, nor nothing... is that weird or normal ?
[Galaxy S II Original Android Development] Stileth:
Normal. If you don't wipe manually you keep all.

Odoslané z GT-I9100 cez Tapatalk 2
[Galaxy S II Original Android Development] antique_sonic:
Is samsung center at ur place is so strict?

My friend has a galaxy nexus, rooted.

When spoilt, he just give to samsung center. And it is still covered by warranty.

Why u need to unroot just to get back ur warranty?

Sent from xda-developers Galaxy N7000 ICS 4.0.4 LRK / CriskeloROM v.11.1 / Speedmod K3-12
[Galaxy S II Original Android Development] Phil3759:
Depends on RMA center...
[Galaxy S II Original Android Development] The-Droidster:
Dude u r assuming that busybox is a single file present in /system/xbin. Right? What if busybox is installed in the form of applet symlinks under /system/xbin? How can the script uninstall it?
[Galaxy S II Original Android Development] NaveenKD:
Phil,

Is there any zip files to root and unroot CM9 based roms?

Thanks,

NaveenKD
[Galaxy S II Original Android Development] Phil3759:
I said since a few weeks that I will release a script for it. Was a pain to debug it as busybox shell is restrictive. Next script will be bash

But hey, you are lucky

I just released it here a few minutes ago:

http://xdaforums.com/showthread.php?t=1853419

CM9 is rooted, why bother? If you want to unroot (for RMA), then you need to flash a stock ROM to wipe CM9. No need for an unroot script
[Galaxy S II Original Android Development] Phil3759:
Just released this: feel free to try and give a feedback

Quoted from original thread here:

http://xdaforums.com/showthread.php?t=1853419
[Galaxy S II Original Android Development] shantanuparadkar:
I used method one (with recommended zip file) to root the device. Now I have installed metamorph to change the themes but it is asking for busy box. should I follow the same procedure with root.busybox.1.20.2.......zip? Or installing it from will do?
[Galaxy S II Original Android Development] Phil3759:
You should not have installed busybox from market. Those installers are invasive...

You can try the uninstaller here first:

http://xdaforums.com/showthread.php?t=1853419

It will clean all busybox links

After that, use the file attached in post 1 to make a clean install of busybox 1.20.2 only

Using either busybox only installer or the supersu+busybox will be ok, both should work fine
[Galaxy S II Original Android Development] shantanuparadkar:
I downloaded the file but its a zip file, how should I instal it, with the same procedure given in method one (from recovery mode)?
[Galaxy S II Original Android Development] Stileth:
which file have you downloaded exactly?
[Galaxy S II Original Android Development] shantanuparadkar:
Attached file in the thread, the link of which Phelps had provided
[Galaxy S II Original Android Development] Stileth:
Mate, there is several of them. What its name? Anyway all are supposed to be flashed from stock recovery via the option apply update from sdcard.. but all this is written in the instructions so read them again and properly.
[Galaxy S II Original Android Development] shantanuparadkar:
Ohh. Its "busy_box_uninstaller_v 1.0_signed.zip"

And thanks
[Galaxy S II Original Android Development] Stileth:
The one from here? http://xdaforums.com/showthread.php?t=1853419 If yes, just put to external SD card, reboot into recovery mode and select apply update from external storage
[Galaxy S II Original Android Development] Phil3759:
Guess I will update instructions there too for step by step flash in recovery
[Galaxy S II Original Android Development] NaveenKD:
Idea is to keep running on CM9 but to temp unroot so that my corporate exchange connects, and to get back root whenever I want to apply settings.

I am using an app called OTA Root keeper and appears to work fine.
[Galaxy S II Original Android Development] Phil3759:
Basically it should work, the unroot script
[Galaxy S II Original Android Development] shantanuparadkar:
Thanks
[Galaxy S II Original Android Development] antp121:
sorry if this has been asked, but my friend has a VZW SGS3 with a broken charge port which means he cant root normally. would this work for him since their bootloader is locked? Thanks in Advance :)
[Galaxy S II Original Android Development] ijustwantmydock:
Lol TittySweat
[Galaxy S II Original Android Development] antp121:
Do u wanna get in trouble?
[Galaxy S II Original Android Development] ijustwantmydock:
Sorry :(
[Galaxy S II Original Android Development] antp121:
Its alright. Now go to bed. You have school tomorrow ;)
[Galaxy S II Original Android Development] Phil3759:
Sadly not method 1 as it is. Recovery is locked for this type of flash. He needs CWM to use any of the zip here. To get CWM, he needs flash from PC if not rooted, so USB through odin. No other way I am aware of
[Galaxy S II Original Android Development] Koblizek:
Hello, I used fist method but camera doesn't work. How can I fix it?
[Galaxy S II Original Android Development] shantanuparadkar:
I followed this procedure to uninstall the busy box but app(downloaded from market) was still there so I deleted the app and again followed the same procedure. Then I downloaded the busybox and installed the same procedure again for installing it. Will it add any app? Coz I didn't find any app in my menu
[Galaxy S II Original Android Development] Phil3759:
Rooting with method 1 cannot and will never affect your camera in anyway. Look for the cause in other directions

Busybox is not an apo that shows in drawer. It is sort of a mini unix machine, like an advanced shell that interprets application commands.

Never use installers in market. I strongly advise you to first use my new Busybox Uninstaller v1.0 (link to dedicated thread in first post, end of method 1). This is to remove any orphan symlinks from previous installers
[Galaxy S II Original Android Development] Phil3759:
As this was asked a few times here + many in PM:

About busybox:
[Galaxy S II Original Android Development] Phil3759:
Great news today

Member hakaz spotted in CWM 6 recovery code this line:

warning: %s: Wipe via secure discard suppressed due to bug in EMMC firmware

It speaks by its self: CWM6 should be safe for wipe in affected phones/kernels

Take it with a grain of salt to be the first to test :D, but I do trust Koush
[Galaxy S II Original Android Development] Astrix Ashburn:
Thanks Phil3759 :) and others dev involved.

- Rated 5 star.

This working very easy and good ;)

Work on Galaxy Tab 7.7 P6800 & P6810.

- Test by me P6800 Official Firmware: LQ1 & LQ2.

- from others P6800 Deodex LQ2.

- and P6810 Wifi.

Thread: http://xdaforums.com/showthread.php?p=30610544

Will update again once more coming in. Keep up this great work :)
[Galaxy S II Original Android Development] Phil3759:
Update post 1:

- Make cwm6 the preferred recovery (previously was 4.x)

- Added cwm 6.0.1.2 touch and non touch versions
[Galaxy S II Original Android Development] shaunnicho:
I'm trying to root my i9001 and when I go into recovery and try to update from external sd it doesn't mount. I can't access my internal sd either? Any thoughts?
[Galaxy S II Original Android Development] Phil3759:
What version of recovery? Stock? And kernel is ics or GB?
[Galaxy S II Original Android Development] shaunnicho:
Stock 3e and stock ics 4.0.4
[Galaxy S II Original Android Development] Poroto:
if i rooted my phone (with superSU and busybox) , but then wanted to unroot because of warranty purposes so flashed stock rom with odin, my busybox was also removed ? or i still have it ?

PD: will it remove cwm also ?
[Galaxy S II Original Android Development] shaunnicho:
Stock 3e and ics 4.0.4
[Galaxy S II Original Android Development] dublinz:
WORKED AS CHARM (SOLUTION1 )

Samsung Galaxy SII ,Model GT-I9100, Kernel version xwlpg, android version 4.0.3

Phil thank you very much for your time and this great manual
[Galaxy S II Original Android Development] Phil3759:
So maybe stock recovery on the i9001 is locked and cannot mount sdcard. The scripts here do not try to mount sdcard, only /system partition. Look in the i9001 section how to get a stock 3e take files from sdcard. Or you will need to get CWM for your phone

Flashing a stock rom in odin will wipe all /system partition and remove any busybox trace
[Galaxy S II Original Android Development] ramonsiow:
some inquiries about the universal rooting method

Hi....my S2 firmware now is DXLP9 and already rooted with CF-ROOT 5.4, already have both SuperSU and Superuser installed, Busybox version is 1.18.4, also got an CWM Manager installed currently.

If now I upgrade to DXLPB, what should I do? can I just using stock recovery to root with "Root_SuperSU.0.95.Only-signed.zip" will do? or I need to uninstall the superuser, supersu, busybox with the "Busybox Uninstaller" first? will the "CWM manager" be uninstalled with this uninstaller too?

As the CWM is temporary, so whenever I want to do a wipe on data/cache/dalvik cache....I just using the stock recovery to flash the attached CWM 4 or 6 which place in the external SD card then go into CWM recovery mode?

Thanks for your help......I prefer this universal rooting method than waiting for the right CF-root kernel....
[Galaxy S II Original Android Development] Phil3759:
Yes, flash from recovery and all will be set. CWMManager.apk can be removed manually from /system/app once you are rooted

That's right about accessing cwm temporary
[Galaxy S II Original Android Development] shoey63:
Cwm6 also works on n7000:thumbup: So this one shouldn't cause bricks?
[Galaxy S II Original Android Development] Phil3759:
Normally no, but no confirmation from anyone close to the project :(
[Galaxy S II Original Android Development] shoey63:
Ok will stick to your scripts for now
[Galaxy S II Original Android Development] zero_3:
Has anybody tried to install cyanogenmod 9? My rom is stock and rooted using this method (cwm 4 as recovery). My os was upgraded from gingerbread to ics 4.0.3. Here is a screen shot of my kernel, etc.

Any advise will be greatly appreciated. Thanks!
[Galaxy S II Original Android Development] Phil3759:
You should be able to install it

Just note CM9 recommends and old bootloader, but many did not use it and no complaints
[Galaxy S II Original Android Development] antique_sonic:
This method works with note 10.1" (GT-N8000) ?
[Galaxy S II Original Android Development] Phil3759:
Just try it, in Stock Recovery Mode. If it works, you are rooted, otherwise, you just get a signature error and nothing is committed
[Galaxy S II Original Android Development] latte33:
EDIT: problem fixed
[Galaxy S II Original Android Development] windwaver:
Hi everybody, sorry to sound dumb but I have exhausted all methods that I know to root my MT65xx dual sim phone :silly:.

Using engineer mode (*#*#3646633#*#*) I get this

Name : KBY00U00VA_B4, ID: 0xecb3, total size 1024mb

Current working in interrupt mode

- Phone Model : A9220

- Model number : e1108_v73_jbl1flash8p4

- Android version : 4.0

- Kernel version : 2.6.35.7

- Build number : ALPS.GB.FDD2.MP.V4.5

I have read through the various methods in this thread but couldn't figure out how to root my phone. Can this universal rooting methods root my phone? If yes, how should I do it?

Thanks
[Galaxy S II Original Android Development] sorcio91:
Hi, i have an error in the stock recovery: "E: Failed to mount /sdcard (no such files or directories)". I'm in a bad situation, i can't plug the phone at the PC because the pc won't recognized it and i'm going to send the phone to samsung! Please help me, i also tried to format the sd card

SOLVED: i formatted the internal sdcard and the external sd card, both through the android mass storage menu.
[Galaxy S II Original Android Development] Phil3759:
Sorry, cannot help, but, before buying a phone, I always wait for the community dev to be sure it is not a completely locked phone with few dev looking at it to implement root and rom updates
[Galaxy S II Original Android Development] galaxys2s:
now i m on stock gingerbread rom on my i9100..

i want to upgrade to stock ics 4.0.4 wid root and cwm..n also can unroot too

can u guide me step by step..

sorry if it disturbs too..

but i don't want to brick my s2

thx
[Galaxy S II Original Android Development] Phil3759:
Update through odin to the rom you like

Follow steps here to root and later unroot from stock recovery, no cwm. If you want cwm, use version 6

No brick, no yellow triangle, easy
[Galaxy S II Original Android Development] KhI:
Sorry for silly question but do I have to root if I have CWM installed and I want to flash cm9 rom (that supposed to be rooted).

If I do have to root so can you please tell what file should I download to root. there are couple choices there that looks pretty much similar

Root_Busybox_1.20.2_Only_(No_SuperSU)-S2-Update3-signed.zip

Root_Superuser_3.1.3_Busybox_1.20.2-Update1-signed.zip -

Root_SuperSU.0.95.Only-signed.zip

Root_SuperSU.0.95-Busybox.1.20.2-S2-signed.zip -

I have Galaxy S2 9100
[Galaxy S II Original Android Development] Phil3759:
No need to root to install a rom or kernel from cwm.

If you want to root:

First is busybox only, no root files

2nd is root using old proved chainsDD binarie and also has busybox

3rd is newer binaries to root from Chainfire (recommended option, see post 1 why)

Last is same as 3 but includes also busybox
[Galaxy S II Original Android Development] Phil3759:
Root from stock recovery

Update:
[Galaxy S II Original Android Development] Phil3759:
Edit thread title with new date + added a link/thread in general section