yashsingh1/xdaforums huggingface dataset:
[Galaxy S II General] red.hat:
Yes it should work on i9100. It is very easy and you don't have to worry about bricking your phone. I
[Galaxy S II General] josh_wraith:
Thanks, I will try it then.
[Galaxy S II General] red.hat:
Just make sure you follow the instructions. Make sure you down load the files to your SD card. To get to recovery make sure you press volume up + home button+ power button. Run cwm and the such busybox
[Galaxy S II General] Phil3759:
It will work on any ICS phone if you have a CWM image
[Galaxy S II General] GuySmiles:
Thanks for this! Just rooted my Bell I9100M, and worked seamlessly. Was scared when I read about the hardbricking going on.

What ROM's are safe to flash?
[Galaxy S II General] red.hat:
You are welcome dude. Just hit the thanx button to thank anyone that has helped or offered useful advice.
[Galaxy S II General] nabuhonodozor:
I have i9100, ICS 4.0.3, Kernel LPD - can I use this method?
[Galaxy S II General] micmaccc:
why not you try and give feedback :thumbup:

Sent from my GT-I9300
[Galaxy S II General] red.hat:
I believe you can. try and it out. Just follow instructions as stated.
[Galaxy S II General] conectix:
will this work on stock SGS3? i just need mobile odin to work so i could flash cfroot since i got no access to PC these coming days.. is this safe to try on i9300? thanks!
[Galaxy S II General] Phil3759:
Yes, will work on i9300 but you need a cwm image for your phone
[Galaxy S II General] conectix:
i already got the recovery image recovery-clockwork-5.8.4.5-i9300.img. how do i install this through my SGS3 then since it's not a zip file?
[Galaxy S II General] jim.j:
What you should do is download the touch recovery for GS3, and SU-Busybox-Installer.zip. Install touch recovery first from external sd card then install the busybox.
[Galaxy S II General] easyyu:
I rooted my Galaxy S2 with baseband ..LPS with version 4.03.

Now Titanium backup root working and it grant a Superuser, but when I download AdAway it said that my phone is not rooted! Why?

If I go to superuser and update it I have fail on:

Copy su to/system... FAIL

The actual version on my phone is:

Superuser v3.0.7(41)

Su binary v3.0.3.2

How to solve this?

Pleaseeee help!

Thx
[Galaxy S II General] Siberian Tiger:
If you have a working CWM download a kernel eg.siyah put it in your internal sd card boot to recovery and flash :)

Sent from my GT-I9100
[Galaxy S II General] easyyu:
Yes I have..but I do not wnat to break warnity..

So anyone with other solution for full root?
[Galaxy S II General] pinoymutt:
Sorry for the dumb question, but I've got a similar question as well (trying to accomplish this on a North American variant of SGS III i747).

I've got a copy of the CWM for my phone, but as the conectix has mentioned it's in an .img format. From my understanding of this method, to accomplish the temporary recovery, you need to flash a version of CWM (.zip) that can be seen by stock recovery, and then flash the SU and other root components in the temp CWM - then do what you need to later to get permanent recovery and/or ROM.

So the question is with the recovery.img file we have, how to convert or get this into the CWM.zip that will be recognizable from stock recovery to achieve the temp CWM recovery?

Hope this makes sense?
[Galaxy S II General] easyyu:
Anyone?
[Galaxy S II General] 77cats:
Wow! I was still waiting to get an insecure kernel for my handset and your solution got me root in 60 secondes. Kudos to you, sir! :victory:
[Galaxy S II General] josh_wraith:
Easy painless, get root on SGS2 UHLPE, Thanks. :good:
[Galaxy S II General] jim.j:
Sorry, I assumed the file to be a zip.

You can't convert it, there are two options - either use adb with image file or odin with cwm.tar. I'd prefer the latter. Place tar file in pda section and flash. This should give you a permanent touch recovery. Now, go to the recovery and install busybox and superuser for root access.

here you go, the cwm tar - http://xdaforums.com/attachment.php?attachmentid=1147272&d=1340356871.

there is an attachment, it implements SuperSU instead of SuperUser. I prefer SuperSU.

If it's about AdAway, use AdFree. It works. Otherwise, try one click root or cf-root.

You lose the warranty any which way you choose to root. Just cover it up when you go at a service center. they won't even come know if you flash an official firmware using odin or mobile odin.
[Galaxy S II General] pinoymutt:
Yep, unfortunately that's the main method of installing CWM/Root on the North American SGSIII, but it trips the flash counter :( That's what I was hoping to avoid with the temporary recovery solution.

Looks like back to the drawing board. Thanks for clarifying though!
[Galaxy S II General] jim.j:
No, I am not asking you to flash a kernel(.tar), that certainly will increase the count. try the cwm(.tar) to get cwm recovery then use the attached zip file to install busybox and superuser.

otherwise, triangle away :)
[Galaxy S II General] easyyu:
If it's about AdAway, use AdFree. It works. Otherwise, try one click root or cf-root.

You lose the warranty any which way you choose to root. Just cover it up when you go at a service center. they won't even come know if you flash an official firmware using odin or mobile odin.[/QUOTE]

Thx I will try adFree
[Galaxy S II General] coolmast3r:
Confirmed working on a Malaysia latest official ICS ROM DXLPB.
[Galaxy S II General] A22AC:
n how to get into cwm recovery mode after using this method? power+vol up+home = stock recovery mode:confused:
[Galaxy S II General] CR5N:
You have to flash cwm via stock recovery each time unless you root using a rooted kernel.
[Galaxy S II General] 77cats:
After getting root access, my screen sometimes doesn't react to inputs for a second. I don't know what may cause this (ICS 4.0.3, SGS2 i9100).

My previous way of rooting was via insecure kernel and Odin and I've never experimented this kind of behaviour. Am I the only one having this?

For now, I've removed the access and everything is back to normal. So easy to root/unroot using the recovery way.
[Galaxy S II General] Phil3759:
LPG and i have no problem. I cannot see why you could have
[Galaxy S II General] 77cats:
Looks like it may come from SetCPU that I have just removed. I applied again the root access and it's flowless for now.

I'll wait a bit to wait and see, and if it stays good, do some tests on SetCPU (which was using the On Demand setting).
[Galaxy S II General] csoonp:
I have a problem, when I enter cwm mode via stock recovery, I can't do anything except reboot?

When I press volume down, then home button or power button (which one to select?) it always flashed then return to initial page (like reloading). I can't enter the option to install zip from sd card.

Help would be much appreciated!

Update: Sorry, my bad, didn't read the other post, didn't know CWM is touch recovery.... that's why when i use key, it keep resetting...
[Galaxy S II General] branaja:
go to clockworkmod.com > rom managers and download one for galaxys2 ;) it will work then! :)
[Galaxy S II General] Danpamio:
How do u do those .tar files?

Once I tried to do a .tar with a kernel using 7zip and it gave an error... Is there any thing i need to do?
[Galaxy S II General] Phil3759:
I think you are on the wrong thread

Here, you only flash a zip file from cwm, no odin tar files
[Galaxy S II General] charsta:
Use this method by following the instructions and worked just fine for me. No problems at all!

Even if I use this guide a couple of months ago I just moved on to a custom rom! :p
[Galaxy S II General] nabuhonodozor:
Yes, Its working with LPD kernel. Ive used updated SU+BusyBox prepared by Phil3759 (post#382)

Thanks!
[Galaxy S II General] Sol7_v:
Done^^ cant believe it work
[Galaxy S II General] jackrip5:
Thank you phil for this package :

I had issues with mybackup pro and romtoolbox with this root method.

After using your package both apps work flawlessly.

It should be included in the first post indeed.
[Galaxy S II General] Phil3759:
Happy you confirm it fixed these programs issues. I think it is a busybox binary issue
[Galaxy S II General] jackrip5:
Indeed, Thats my opinion too.

Glad you found the solution.

I was a bit sceptic about your su app because i only knew the other superuser App but it works without any problems.

This root method and your package is the ultimate root solution for a stock config.

Gesendet von meinem GT-I9100 mit Tapatalk 2
[Galaxy S II General] sageandonion:
Just a quick question, when booting into recovery and flashing the temporary recovery image is it possible to do a nandroid backup and will it work ok?
[Galaxy S II General] Phil3759:
Yes, it is possible and it will work
[Galaxy S II General] Phil3759:
Updated Chainfire SuperSU+binary to last version

CWM_Root_SuperSU_0.93+Busybox_1.20.1.zip

http://www.mediafire.com/?bgb6pawoq34wjcb

Changes compared to post 1

Busybox and SU are in system/xbin

I tested it with Adaway and MyBackup Pro, reported to cause problems with older busybox in post 1, and they work fine (busybox update reported to fix it by some users here)

Feel free to include link in first post
[Galaxy S II General] acidxtreme:
Works busybox installer with the last 4.0.4 release??

Enviado desde mi GT-I9100 usando Tapatalk
[Galaxy S II General] Phil3759:
yes, it is not an installer, but the binary, so should work on any ICS build / phone
[Galaxy S II General] TheCreat:
First of all, thank you very much for this unintrusive rooting method!

I just got my all new SG2 (coming from an Samsung Galaxy 3 [I5800]) and was looking for something warranty-safe - at least for the first couple of days. I guess I'll be fed up with Samsungs UI in about a week and flash AOKP or something, but this will do just fine for now (allowing me to restore with titanium backup).

After flashing the su/busybox installer from the first post, I installed the Superuser update from the play store and noticed that it couldn't tell the version of the installed binary (and subsequently couldn't update it either). I didn't find any direct mention of this in the thread, so I just gave it a shot and installed busybox 1.20.1 from post 40, and voila superuser could find and update the binary. Could you possibly update the busybox version in the SU-Busybox-Installer.zip in the first post?

Looking at the script of the SU-Uninstaller.zip I noticed that busybox itself doesn't seem to be uninstalled by it, is that intentional and/or necessary for some reason?

I should mention that everything did work fine though, updating wasn't necessary to be able to use root in apps (in case that wasn't clear).
[Galaxy S II General] TheBiggVan:
i keep getting this error

E: failed to verify whole-file signature

E: signature verification failed

can anybody help?
[Galaxy S II General] remorema:
Hi mate, did a couple of cwm flashable packages, both have updated busybox and are symlinked. one has superuser, other as superSU.

superuser with updated busybox http://d-h.st/X6B

superSU with updated busybox http://d-h.st/7GC

regards,

remorema

@OP you can use them in the OP if you want to ;)

edit: no need to delete old files, the script does that for you
[Galaxy S II General] atep:
Thanks for the update, but it doesn't delete superuser.apk (with lower s) from the post 448. Can you add it to the list?

PS: I have already deleted it by myself.

Thanks a lot anyway.
[Galaxy S II General] remorema:
it shouldnt be case sensitive, but Ill upload the script anyway later today
[Galaxy S II General] muli82:
Worked fine just using CWS zip and installer on optus 4.0.3 bloatware
[Galaxy S II General] mihaicp:
THANK YOU very much! it worked without any problem (ICS). :D
[Galaxy S II General] atep:
Well, then you should know I had have both superuser.apk and Superuser.apk while running your script (by my mistake). But I really don't know if this is why it happened or not.

Thanks for your support.

Odesláno z mého GT-I9100 pomocí Tapatalk
[Galaxy S II General] Phil3759:
I tested it a bit more and you are right

You can find many iterations of superuser.apk (Superuser, SuperUser...) and you can end up with duplicates

At worst, if you have two different versions of supersu, the market will prompt you to update on each restart, which is annoying

I edited the script on my topic to make it much more cleaner now

Most possible iterations of superuser are deleted. I also unsigned it as signing is only needed with stock recovery, not CWM

By the way, above script by remorema deletes also the busybox intallation in /system/xbin and /system/bin.

I am not sure, but I think it is a very bad idea. Some programs (rare but they exist) install their custom busybox in /bin and need to use it. Deleting the busybox from /bin and installing in /xbin only is not good for these rare programs I think...

Furthermore, busybox is correctly overwritten and does not need to be deleted in my opinion

@remorema: you can also remove the delete superSU.apk as the name must be always superuser.apk and is never superSU

You can take a look and download it from here - Method 1

Chainfire SuperSU 0.93 and Last Busybox build is now 1.20.2

http://xdaforums.com/showthread.php?p=28178105#post28178105

Proper root for any ICS phone with a CWM image
[Galaxy S II General] branaja:
thank you! it works on 4.0.4 :-)
[Galaxy S II General] atep:
Thanks a lot, it works perfectly.:D
[Galaxy S II General] rizdroid:
Just to say I've tested it on the latest fw version (Android 4.0.4 - XWLPM), released today (JUL/9). Works fine.
[Galaxy S II General] webjunky:
works fine , thank you :)
[Galaxy S II General] whiskerp:
But be aware that if you use CWM.zip to wipe or clear cache with 4.0.4 kernel you can brick your phone.
[Galaxy S II General] BrainB0ne:
Just having a look at the updater-script inside CWM_Root_SuperSU.0.93_Busybox.1.20.2_NewScript.zip

I see these two lines at the section "Removing old superuser":

delete("system/app/Superuser.apk");
delete("system/app/SuperUser.apk");

don't they have to be:

delete("/system/app/Superuser.apk");
delete("/system/app/SuperUser.apk");

with the / before system, or doesn't that make any difference?

If yes, am I able to edit the updater-script file and replace it in the zip file? :)
[Galaxy S II General] CR5N:
http://xdaforums.com/showthread.php?p=28553829

Edit: read OP On link :p
[Galaxy S II General] Phil3759:
You spotted it before I update my topic :fingers-crossed:

Look again at it, it is completely redesigned

The scripts were cleaned a bit more and updated versions attached

I have noticed that missing / this morning. I tested and it didn't make any difference but it is better with /

The files attached now and on mediafire mirror are all updated + other small changes in the script for some

By the way, I added a ChainsDD version with superuser updated to v3.1.3 for those that prefer ChainsDD over Chainfire

So, just redownload them before flashing

No need to run the unroot script, busybox and other files will be overwritten with the CWM_Root_XXX script

Post and all info is here:

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

The scripts here in OP and on my topic do not wipe anything, they are safe
[Galaxy S II General] BrainB0ne:
Great, thank you for fixing it and this very clear answer :)

[update] Your latest update CWM_Root_SuperSU.0.93_Busybox_1.20.2_Update2.zip works fine on my S2 with stock XWLPD kernel.
[Galaxy S II General] CR5N:
@phil3759 I used your script and it works a treat! :D
[Galaxy S II General] rizdroid:
Sorry guys. Are we talking about rooting or eMMC bug? I guess people who use this root method are not looking for wiping methods.

IMHO, this is the best root method so far. No counter, no additional app, no lemon!
[Galaxy S II General] PsyOr:
Few questions:

1. There is any problem to wipe [cache, data, ...] from the CWM.zip? or should I make this wipes via the original/stock recovery? (and should I unroot before I wipe data or its dosn't matter?)

2. I want to flash a new rom [AOKP based 4.0.3 or 4.0.4], can I use the 'tempurary' CWM.zip [@recovery - "apply update from external storage" and choose: "CWM.ZIP"] to flash the rom [using its option: "install zip from sdcard"], or should I flash other root kernel via Odin ?

2.1 If I should flash a new kernel (with odin), should I UNROOT this root before or it dosn't matter?
[Galaxy S II General] Phil3759:
1- wiping cache and data from CWM is risky if your chip has the brick bug. Do not do it

If you wipe data, root remains, it is in /system

2- If you have a bad chip + bad kernel and install a ROM with CWM, you can brick your phone. In fact, most ROMs that come with a cwm zip package will wipe /cache at least so you could brick your phone. Be sure to not have both conditions: bad kernel + bad chip. You are warned

2.1 - Depends on the kernel (stock, pre-rooted...) Personally, I would unroot first to avoid ending with duplicates or issues
[Galaxy S II General] PsyOr:
Thanks for the answers!

Few more things, what is bad chip? how do I know if I've got bad chip?

Right now I'm using the stock kernel:

Baseband Version: I9100XXLPW

Kernel Version: 3.0.15-I9100XWLPD-CL524746dpi@DELL154 #3

Build Number: IML74K.XWLPD

is it safe to flash rom (as I mentioned @2-aokp) with this cwm.zip (after the phone is rooted of course ), or I'll be better unroot and flash new kernel (like cf-root) with odin?
[Galaxy S II General] Phil3759:
To know if you have a bad chip, use this app:

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

Kernel XWLPD should be safe, but I am not sure 100%, only 99% sure :D

About flashing ROM with CWM, if the kernel is safe, then you will be ok. Normally it is ok with XWLPD, but not sure 100%

One kernel I am sure 100% is the XWLPG or even better, CM9 kernel. From CM9, you are 1000% sure
[Galaxy S II General] seghier:
hello i upgrade android to 4.0.4 and i install rom manager but it can t restart in recovery mode
[Galaxy S II General] Phil3759:
I do not know about ROM Manager

If your goal is root, then follow the steps in my signature to launch CWM recovery

Here: http://xdaforums.com/showthread.php?t=1746794

It will root your 4.0.4
[Galaxy S II General] atep:
As far as I know rom manager isn't able to flash cwm on any / most / few Samsung devices. I have Android 4.0.3 and it's able to restart to the stock recovery only. You can use temp recovery, just be aware of wiping (see posts above me), but it's not a problem if you just want to root.

Odesláno z mého GT-I9100 pomocí Tapatalk
[Galaxy S II General] shoey63:
Don't wipe from CWM.zip. I superbricked my phone that way (had a brain fade and forgot I was on unsafe kernel). For that matter don,t even wipe on stock or CF-Root when it comes out. There are safer methods and kernels.
[Galaxy S II General] Phil3759:
Again this is only if you have an affected kernel
[Galaxy S II General] PsyOr:
Thanks for answers!

I got "unknown chip", hehe so donno how good or bad it is... ;)

I'v flash the stock rom/kernel [lpd] with Odin, after rooting (with this method) will I get 4.0.4 FOTA update [when it will available of course] or I should flash it [the new 4.0.4 stock rom] with odin as well?

If OTA will do the job, will I lose my root and I'll have to root again? [no problem with that, but if I'll lose my root - should I unroot the device first before im doing the FOTA update?]
[Galaxy S II General] Phil3759:
To get ota, your rom must be the retail designed for you phone country (you can check if Kies recognizes the phone fw). Kies update will remove root, i never tested ota, so cannot answer
[Galaxy S II General] PsyOr:
Alright, thank you!

one more lil question:

How do i know which kernel are good for my device and which should i becarefull?

there is any list or app or something that check and confirm what is safe kernel for my device?
[Galaxy S II General] Phil3759:
Safe you mean free from brick bug?

If yes, then all GB kernels, ICS kernels version 4.0.3 start in May, CM9 kernel are all normally considered safe

No tool i know about will tell you about the kernel, only extract kernel param to be sure
[Galaxy S II General] Emexrulsier:
I am a happy bunny. Got the i9000p could never find the right unsecure kernals for my device (though to be fair I'm lazy and didn't look enough :d).

Anyways this method work perfect and rooted my device in a matter of seconds.
[Galaxy S II General] rush25:
i got a sii yesterday with gb 2.3.5 today i update to 4.0.3 as i heard 4.0.4 are bad !!but now i want to root so just asked is it safe for my device to get root also i proper freqient wipe data resets through cwm on my other phone for new roms so after i root will i be able to do wipe through cwm ?

details:-
[Galaxy S II General] Stileth:
No problems with 4.0.3 for root or cwm.

Odoslané z GT-I9100 cez Tapatalk 2
[Galaxy S II General] Phil3759:
Yes, LP7 is safe
[Galaxy S II General] remorema:
tks for clearing that out mate. my phone has been in repair center for the past two weeks due to emmc brick, will certainly root it with your updated script in CWM_Root_SuperSU.0.93_Busybox_1.20.2_Update2.zip

I find this method much better than flashing CF root. its not only less intrusive but it keeps your counter zero'd and doesn't show the horrible triangle.
[Galaxy S II General] Phil3759:
Thank you. I think the same. People that only need root should stick to this method rather than flashing custom kernels

I am away but will look at a method to correctly uninstall busybox
[Galaxy S II General] kishan366:
Can i flash custom rom from that temporary cwm recovery ?

---------- Post added at 11:22 PM ---------- Previous post was at 10:45 PM ----------

I have tried wiping cache and data from temorary cwm .. And My phone was stuck at bootlogo ... then i restored the Nadroid backup from that temporary cwm ( luckily i had made a nandroid backup ) ....

And My phone chip has brickbug .... now what should i do ... I want to flash cm9 and don't want to use odin ...
[Galaxy S II General] Stileth:
Then flash it via CWM and once on CM9 you can safely wipe what you want.

Odoslané z GT-I9100 cez Tapatalk 2
[Galaxy S II General] Phil3759:
Many cwm zip roms do a wipe on cache, which can be dangerous. The safest way is to first flash a safe kernel (ICS 4.0.3 kernels) and use cwm on that kernel. It should be no risks that way normally
[Galaxy S II General] kishan366:
Can you give me the link of the thread from where i can get the safe kernel what you mentioned in your post ? .. And that safe kernel has to be flashed from Odin or Cwm Recovery of Stock Recovery
[Galaxy S II General] Phil3759:
If you are on a stock 4.0.3 kernel, you are safe. If you have 4.0.4, you are at risk. Stock 4.0.3 kernels are here

http://xdaforums.com/showthread.php?p=13712988

Also, look at cf_root thread for safe kernels
[Galaxy S II General] JackMetal:
I've been flashing custom roms for years and now that I've just gotten a new phone (this Samsung S2 - ATT), I feel like a noob again. I've done the Stock Samsung upgrade to ICS via Kies to 4.0.3 and I decided to root using your method, but I'm having no luck getting into Stock Recovery. I've powered the phone off, pressed Volume Up (left side, top button) + Home (2nd icon on the bottom) + Power (button on right). I continue holding them down but the phone just powers up normally. What in the world am I doing wrong? :)

Thanks for any tips for an old-timer feeling like a noob again! lol

--update--

Well, after trying numerous times, it turns out that pressing the Vol-Up + Vol-Down + Power is what works on mine. After that, rooting went perfectly!!
[Galaxy S II General] Phil3759:
Use an app to reboot into recovety, much easier and it will spare your buttons. Titanium Backup supports this, also Quick Boot from market is a good one
[Galaxy S II General] JackMetal:
Good Idea....Thanks for the tip! I have Titanium Pro, but haven't seen where that option is in it, do you happen to remember where it is?
[Galaxy S II General] Phil3759:
Menu button and scroll down

Also a widget fot titanium

Finally JKay mod (link in my signature) makes it even easier (Notification toggle, power button menu...)
[Galaxy S II General] JackMetal:
Thanks Phil.... Much appreciated; I hadn't thought about trying it that way. I learn something new every day! :)