yashsingh1/xdaforums huggingface dataset:
[Galaxy S II General] Tomshe:
I don't need BusyBox, I need root. :p

How I can know if it's a modidied kernel?
[Galaxy S II General] Phil3759:
What do you really need and what is the problem, sorry, I can't follow you here.

You need root? Easiest way is to flash CF_root with mobile odin (no need for the pro or ever root function. Cf_root will give you a proper root. Using mobile odin will not trigger counter

Want your stock kernel back? flash, with mobile odin your rom kernel: Put your rom file (.tar.md5) from samsung in sdcard, and point mobile odin to flash only kernel from your stock rom. You will have root and proper busybox left from cfroot while back to original kernel

Can't be simpler, right?

Don't use the cwm zip files posted here to avoid breaking things since you are not so sure of what you do
[Galaxy S II General] Tomshe:
How can I root the device with mobile odin? It asks for root access... that I don't have
[Galaxy S II General] Phil3759:
Ok, if you don't have root, the easiest option, so you don't mess things is flash CF_root with odin

After that you flash only stock kernel with odin or mobile odin, root will stay, busybox install will stay

Use triangle away to reset counter

You can't miss it
[Galaxy S II General] Tomshe:
Thanks, but I don't want the root will stay after I flash another rom, I want to be able to remove the root access - how can I do it?

Now SuperUser says I have busybox too, but not the su file- see attachment. Can it help somehow?
[Galaxy S II General] 1username4thisforum:
I just upgraded to ICS and tried this.

Then I selected format to stock or whatever

NOW MY PHONE WONT TURN ON OR ANYTHING!!!!

help please|! i hope this is not bricked! what happened!?
[Galaxy S II General] sakindia123:
Nothing works?even download mode?

I think u got the dangerous eMMC brick bug,it affetcs while formatting using recovery on samsung ics kernels(older leaks?)

if this is true,i m really sorry it's an unreparable brick :(
[Galaxy S II General] 1username4thisforum:
****ing weak!!!!!!!!!!!!!!!!

instead of makign the phone a tiny bit faster, its broken...
[Galaxy S II General] deniso177:
Quick question before I do anything to the phone.

Is it possible to use this CWM zip, then flash say NEAT Rom, that already has CF-ROOT straight up.

So yes end result I want CF-ROOT on my phone, but I dont want the flash counter to increase (I know about Triangle-away, but say i dont want to resort to it).

So Has anyone tried simply using the CMW zip on a stock unrooted phone, and flash Roms with CF-Root problem free?
[Galaxy S II General] doongoo:
you can do it, if you already have root on your phone without triangle and counter increease, then you can install as many ROM-s from cwm or from mobil odin, as you will and your counter won't increase and you'll never have yellow triangle
[Galaxy S II General] deniso177:
Yes I get that I can do whatever I want after I root it, But say my phone is brand new, not rooted. Can I use the CMW zip file to then get CF-ROOT without resorting to flashing CF-Root via Odin, as that obviously wont result in a counter.

My basic question, does the CMW.zip file used here, have enough access (As much access to the phone internals as ODIN) to install a rooted kernel, or Rom+kernel which does the same job.

The reason I wonder is because CMW.zip piggy backs on top of the existing recovery from what I understood, and seeing how ROOT kernels have their own kernels they clearly have some things changed to enable Root access, so does the CMW .zip file give you that temporary root access thats enough to permanently install a CF-Root kernel?
[Galaxy S II General] Phil3759:
Did you read my posts?

If you flash a stock rom with odin, root is gone

Before rma, format /system, wipe data/cache and flash stock

All is back
[Galaxy S II General] Tomshe:
If I with orginal ICS cellcom ROM, I jusy need to flash CWM.zip with odin, or I have to flash stock ROM first?
[Galaxy S II General] doongoo:
OK, you are now not rooted.

With this method (1st post of the topic) you will be rooted without counter increase and without triangle, but with clockworkmod recovery. This is the same, as you have flashed the CF-root. ROM and kernel will remain the stock with this method.

Besides, CF-root kernels are just for odin or mobile odin (.tar-files). If you need CF-root kernel though, just install mobile odin and flash the kernel from here.

To your basic question: yes, you will have with this method a rooted phone with clockworkmod recovery. From clockworkmod you can flash all custom ROM, as they are .zip-files. You are also rooted, so you can install mobil odin and with it it you can flash all stock ROM, as they are .tar or .tar.md5-files.

As said before, CF-root kernel is the same, what you have after this method (stock kernel with busybox and with cwm recovery). This method gives you enough rights on your phone to do anything with ROMs and kernels
[Galaxy S II General] Tomshe:
I flashed CF-Root.zip with odin and now the wifi does not work and I have yellow triangle - and "Root Check" says I have root access but I don't realy have root as I see in superuser and SU.... ah, and my battery is now can't reach over 65% . There is a way to fix it? :mad:
[Galaxy S II General] jorrddan:
Flash stock kernel or rom via Odin and than trie metod from this tread!

I'm using this CWM for flashing roms and cernels.

This is the best method to root or flash your phone.

Regards.
[Galaxy S II General] surdu_petru:
Hi !

Thanks for this stuff !.....work very well ! good luck :)
[Galaxy S II General] Tomshe:
But I want to stay with Cellcom ROM (dont ask me why..), If I'll flash Cellcom ROM it will fix all the problems? Or I'll have to flash stock rom? There isnt other way to make the wifi work and fix the battery problem?

Thanks guys!
[Galaxy S II General] Phil3759:
You really mixing things, let's go step by step:

In odin, you can't put zip files, only tar and tar.md5 files

First thing:

From settings, make a hard reset. It will wipe cache + data

Now, flash your stock ROM (cellcom) in odin (phone must be in download mode and you have to put a .tar.md5 rom in the pda field of odin)

Only problem, is that busybox, root issues... are in /system that you did not wipe

So, if flash your cellcom rom do not fix things, go to recovery and wipe /system + wipe again data and cache

After wipe /system, restart phone in download mode and flash again your cellcom rom in odin

After that, your phone will be back to stock, no root, no busybox, only the counter is increased because you flashed cf_root once

When done, come back here to ask how to root and remove counter so we guide you
[Galaxy S II General] vurp0:
Is it safe to flash the root+busybox zip on top of cf-root? The su in my phone is broken, and I thought thid could fix it.
[Galaxy S II General] Phil3759:
It will not harm, but maybe not fix your problem depends on the cause. Could be incorrect mounting / permissions problem.

Give it a test, if no solution, flash again cf_root, if not fixed, either someone helps you fixing permissions or format /system
[Galaxy S II General] vurp0:
I flashed the su+busybox and now it works. Thank you!
[Galaxy S II General] Tomshe:
Thanks! But I wiped data and cache and it didnt help, how I wipe system? It isnt dungerous? And if i'll flash cellcom rom it will increase the flash counter?
[Galaxy S II General] Phil3759:
If flash cf_root did not help and also the cwm zip here, easiest way is to format /system + new wipe data+cache

After that, you have a phone with no OS

You have to boot in download mode, and flash your cellcom rom from odin (.tar or .tar.md5 file)

It is not more dangerous than flash with odin, but the cleanest way

Flashing cellcom will not increase counter (stock kernel), but you do not care, your counter increased already with cf_root (we will reset it later, when you have root again)

After cellcom flash, root with cf_root or the cwm zip file here. Since you seem beginner, cf_root (if exists for your kernel) is safer. In all cases, your counter increased, so go with cf_root, it is safer for you I feel

After root, install TriangleAway and reset counter+yellow triangle (read the steps before use) ---> now counter is 0 and no yellow triangle

Now, if you rooted with zip here, you are done

Optional step: If rooted with cf_root: flash stock kernel for your ROM if exists. Root will stay if you flash kernel only. Counter and triangle will not appear since you flash a stock kernel. Now, you have your stock ROM, stock kernel and root. You will only have to uninstall cwm manager from your /system/app

Hope it helps

Later, to unroot:

- if you used the cwm zip here, just use the unroot script in post 1

- if you used cf_root: just flash your complete cellcom rom with odin: root will be gone, no triangle, no counter
[Galaxy S II General] Tomshe:
Thanks again. How can i format /system? There is a way to do a NAND backup without root access? (I have CWM of course) I'm afraid I'll format /system and could not put cellcom rom in the device, in that case it's mean I got my phone bricked. :(
[Galaxy S II General] Phil3759:
Yes, no need to root for nandroid backup. Boot into recovery and make backup in CWM

To format /system boot into recovery (CWM), go to "mounts and storage" then "format /system"

While on it, in advanced menu, before trying to format /system, try the option "Fix Permissions". Maybe it fixes it for you

You will not brick phone with a format /system. Under GB, flash 3 files with odin wipes all...

You mainly brick phone when things go bad while flash bootloader.

No reason you cannot flash your comcell if rom file is ok
[Galaxy S II General] deniso177:
Ok great, so this CMW.zip file actually installes the recovery permanently on your phone? I come from having am lg optimus one phone, and our recoveries could simply be installed through rooting with gingerbreak for example and then using Rom Manager to install a custom recovery, so a lot less simple as the recovery was not part of the kernel, but its own .img file on the phone.

Final clarification, Once I root with this method, Then install NEAT Rom, will I then have the included CF ROOT kernel( with its own recovery, overwriting this one) that comes in that Rom , because obviously when I upgrade to Neat Rom, I want the latest ICS Rom, not just the one I get in Australia, and I want to use the Domination theme =)
[Galaxy S II General] Phil3759:
No the cwm recover with this method is tmp. For permanent use cfroot

If you plan neat rom, do not root with this method, just flash neat, it comes with cfroot
[Galaxy S II General] deniso177:
Oh ok ye thats what I thought, thus was asking, because I have seen temporary recoveries before.

So back to my original question.... Can I Flash Neat Rom with THIS Temporary CWM, which in turn will give me NEAT rom + CF root, or do I HAVE TO Flash CF-ROOT via odin to be able to flash NEAT ROM, as the latter one gives me a flash counter, which I want to avoid if possible
[Galaxy S II General] Phil3759:
In that case, put cwm.zip in sd card, put neat rom on sd card, go to stock recover, flash update the cwm.zip, it will start the temp cwm recovery, in cwm recovery install the neat rom zip. You will have neat, rooted with cfroot and no counter increase
[Galaxy S II General] GTRSkyR34:
Need help. I'm rooting my ICS 4.0.3 S2.

I'm stuck here:

Choose install zip from sdcard or external SD

I choose install zip from sdcard, but I get some errors when I try open that.

E: Can't open /cache/recovery/las

t_log

EDIT: I download zip from clockworkmod, choosed that file in recovery, then flashed busybox.

I have busybox in apps, so I'm rooted now?
[Galaxy S II General] xdaking:
yes u r
[Galaxy S II General] deniso177:
Great, cheers! Thats what I wanted to know. Thanks mate
[Galaxy S II General] Phil3759:
Here the modded version with today supersu update:

- SuperSU 0.90 + latest binary update instead of superuser

- Busybox latest compiled 1.20.1 instead of the 1.17.1

Busybox and SU are in system/xbin

I tested it with Adaway and MyBackup Pro, reported to cause problems, and they work fine (busybox update reported to fix it)

Feel free to include link in first post

Download:
[Galaxy S II General] clozecall:
Confirms to work on the Virgin Mobile Canada version running ICS 4.0.3. Thanks!
[Galaxy S II General] leftshark:
When I run cwm (downloaded from 1st post here) via my sd card...I get a signature error.

I727UCLA3

2.3.6

2.6.35.11

for reference
[Galaxy S II General] Phil3759:
Download cwm for you phone from link in first page
[Galaxy S II General] PsyOr:
Hi few questions:

1) Can I flash a rom after I root with this way? (I can go to recovery mode, open the CWM.zip file and use the cwm recovery to flash a rom that I put in the sd card, is it possible or should I flash a new kernel with Odin first?)

2) Like the question before, can I use Rom Manager to flash new roms or should I flash other kernel first?

3) If I'v rooted via this way, and now I want to flash a new kernel (via odin) should I unroot first (as the description of the guide) or there is no problem to flash a new kernel with this root?

Thanks for the awesome work!!
[Galaxy S II General] scandiun:
1) You can flash a new rom after root, the new rom will overwrite that anyway AND the new rom can come with root or not. You can use live cwm.zip to flash new roms anytime, even stock, but be sure if is needed to delete cache, data, dalvik-cache an such each time.

2) Flash rom first, and kernel later, because roms usually come with kernel and overwrite it each time (the rom has a kernel inside, of course).

3) There should be no issues when loading a new kernel with root enabled.

Note that in this question and others there are "several" kernels. The one you are talking about is the main kernel that runs the android, but there are other previous kernels for recovery and such. This cwm.zip is in fact a custom kernel that only does recovery, but is not installed to operating system. The cf-root or other roms like cyanogenmod do already come with that cwm.zip in the rom so you don't need to load it from sdcard manually, but increase the flash counter and yellow triangle.

Check here the boot sequence:

[REF] GT-I9100 PIT v Flash Analysis

http://xdaforums.com/showthread.php?p=25891290#post25891290
[Galaxy S II General] PsyOr:
@scandiun - thanks for the super fast respond!
[Galaxy S II General] scandiun:
duplicate
[Galaxy S II General] timberwolf60:
Thank for sharing, but the original one was good enough. After I rooted and l then I flashed Siyah 3.3.2 kernel and I have all.
[Galaxy S II General] Lycoss:
Can you please tell me where can i get only the Busybox 1.20.1 without SuperSU because i already have that installed?
[Galaxy S II General] scandiun:
In google play you can get free and pro versions on BusyBox 1.20.1
[Galaxy S II General] Lycoss:
Yes, but which one in google play is the official release?

Never mind i found it, the Stephen (Stericson) one; Thank you!
[Galaxy S II General] maddesire:
You should first flash the CWM.zip and only then you should SU-Installer-Signed.zip.

I had the same problem, and then i realized I didn't follow the instructions fully...;)
[Galaxy S II General] angelossssss:
That's what i did and it didnt work on stock XWLA4.
[Galaxy S II General] StevenBX:
Does this have the same problem as flashing a root kernel, where there are problems mounting secure storage after?
[Galaxy S II General] Sincci:
The secure storage mounting works with this method.
[Galaxy S II General] paradorx:
XWLA4 is not an ICS rom.

AFAIK this mod is for ICS only.
[Galaxy S II General] admartian:
This works perfectly (if you actually READ the title and instructions)!

Thanks mate. :)
[Galaxy S II General] alias_neo:
This worked fine but I have a couple of questions..

When I "flash" it from stock recovery, it's volatile, reboot and it's gone. Is that expected?

Also, it doesn't grant root adb, is that also part of the deal?

Finally, what on earth did I press to get a counter in the bottom corner, it counted to about 8k before I got bored of waiting and pulled the battery.

Anyway,

For the sceptics, it does work if you use it properly, does what it's supposed to.

Don't forget, rooting this way won't give you remount capabilities by "adb remount", because kernel is still secured.
[Galaxy S II General] hergosx:
It´s a touch recovery. Don´t use the keys, use the screen...
[Galaxy S II General] donalgodon:
If I want to try this to get as stock as possible and have my SD issues fixed, I'll just need to flash the ICS bootloader from KPH and the stock KPH kernel, correct?

Are these components around that somebody could point me to, please?

Does the CWM recovery disappear on reboot?
[Galaxy S II General] MasterTB:
Still the same issue.

SU permissions are fine but busybox is not working...

Try using luckypatcher and you'll see.

Root is there but it is not complete. Some functionality is lost.

Still... appquarantine does work, droidwall also so not all is lost.

Anyway, great work and elegant solution to keep the yellow triangle away.
[Galaxy S II General] Rachmat3:
Try this version http://db.tt/zW591p6W

Busybox added.
[Galaxy S II General] donalgodon:
If I'm already rooted with CF-Root and I want to use this to fix the SD problem, can I just flash the stock kernel and then use these files to keep root and busybox and CWM recovery?
[Galaxy S II General] MasterTB:
Thanks!!!

You sir are great, it is working as it should now.

One Little, Tiny problem, every time I reboot to recovery I get stock recovery and not the CWM installed through your patch, HOW COME??

Is there anyway to get to that CWM recovery or does it reset on each boot??
[Galaxy S II General] admartian:
The recovery

IS NOT

persistent.

So you'll either have to flash a new kernel/recovery via ODIN (PC) or Mobile ODIN.
[Galaxy S II General] stylez:
Mobile Odin will be best choice as does not increase flash counter.

Sent from the valley of the shadows....
[Galaxy S II General] sendhiloo7:
Finally Finally . we found the good solution for rooting phone without flash unsecure kernel ..

Thank you very much . it working like charm ..

Can you please change your instructions to " CWM.zip & SU files to External SDCARD" becoz internal sdcard not showing in recovery mode.

Thanks once again.
[Galaxy S II General] Galaxy s2:
Guys im on stock XWK14 and cant get CWM to install just keeps failing

anybody help me out here please

kev.
[Galaxy S II General] sahibunlimited:
Hey i thought that u are my phone?

And i turned u off?

BTW this is for ICS only
[Galaxy S II General] Galaxy s2:
I knew that Lol

Sorry!!
[Galaxy S II General] kenkiller:
What would be the files to flash to retain root and secure storage and still have a permanent custom recovery??
[Galaxy S II General] Phil3759:
I update SuperSU to 0.91 + last binary

below is version 0.92
[Galaxy S II General] Phil3759:
I update SuperSU to 0.92 + last binary

Changes compared to post 1

Busybox and SU are in system/xbin

I tested it with Adaway and MyBackup Pro, reported to cause problems, and they work fine (busybox update reported to fix it)

Feel free to include link in first post

Download attached
[Galaxy S II General] Phil3759:
Why you even downloaded this root mode if you install Siyah kernel? It is rooted with CF_Root and can be installed with no root
[Galaxy S II General] Danpamio:
Can't I simply install them (from a stock non-rooted Rom) from Play store? Busybox is there and free as SuperSU....

Installing both from Play Store will root my phone as well??
[Galaxy S II General] Phil3759:
No, you will not root from play store, need cwm or flash kernel
[Galaxy S II General] Lycoss:
Thank you sir! I was just searching for this; By the way, is this Busybox Symlinked?

Could you Please make a zip flashable with CWM with only Busybox 1.20.1 without Superuser or SuperSU or Root.

Because i already have Root and i already have SuperSU installed and i don't want to replace those. I would appreciate it if you can do this.
[Galaxy S II General] Danpamio:
Thank you for the answer pal !

But if busybox needs to be installed throught CWM (I dont wanna use the kernel) what is that one in play store for? I already have cf-root but its using busybox 1.18 and I tried to update it to the 1.20 version using the version avaliable in play store and didnt worked.. Its just with me or its because Im using insecure kernel cfroot ? Whats the difference installing with CWM and from store?
[Galaxy S II General] yankeeornovember:
THANK YOU!!

Worked perfectly on my Bell SGS2, 4.0.3 with LD3 firmware. I was having the hardest time trying to figure out how to root it while keeping it stock, because none of CF-Root's Kernals appeared to be compatible, and I didn't want to risk bricking my phone [again: I've already had to send it out to get the motherboard replaced!]

Thanks so much OP, and just for anyone who was wondering, YES, this works on Bell/Virgin Galaxy S2 on ICS
[Galaxy S II General] Entropy512:
No known I9100 stock kernel has the trigger conditions for that particular bug.
[Galaxy S II General] Entropy512:
-ooops delete, dupe post-
[Galaxy S II General] Phil3759:
The version in play store will make a sort of "custom" busybox for your system using old installed commands...

I include the compiled original binary

It is the compiled binary only

To install only busybox, open the zip file, browse into /system/xbin and delete the su file. Now browse into /system/app and remove superuser.apk

That's it

But, for you, I include only busybox
[Galaxy S II General] Lycoss:
Thank you!

Thank you very much! I am very grateful that you pointed this out, i did not know that i can simply delete the files and it will still work; I have been searching all over for a flashable zip in CWM with only Busybox and i found none. I appreciate your help with this kind sir!
[Galaxy S II General] Phil3759:
I am happy it helped you :)
[Galaxy S II General] Akatosh:
Hey i waa intrigued by unrooting having just got the phone in a rooted state so i thoight id experience the phone unrooted just to see. Installed the zip... Got rid of SU but bow i want to go back to root, basically i still have cwm app and recovery but withoit SU i cant boot into it, how else can i boot into recovery to install SU?
[Galaxy S II General] scandiun:
From Recovery run CWM.zip and then SU-Busybox-Installer.zip
[Galaxy S II General] Akatosh:
But how can i get into recovery without the ise of the cwm and rom manager apps? Thats what im trying to find out.
[Galaxy S II General] red.hat:
Hold down the power+volume up+home for about 5 secs. This should take you to recovery.
[Galaxy S II General] Akatosh:
Q

I just did that but it puts the phone into download mode... How am i meant to get to cwm recovery from there?
[Galaxy S II General] init3:
Hi,

I'm having a problem.

When I enter clockworkmod recovery menu gets refreshed by itself automatically and I'm not able to select "install zip from sdcard" which is the second option.

Even if I quickly select install zip from sdcard nothing happens.

ClockWorkMod Recovery 5.8.1.5

Android Version: 4.0.3

Baseband version: I9100BVLPB

Kernel version: 3.0.15-I9100BVLPB-CL310231 dpi@DELL151 #3

Build number: IML74K.BVLPB

Thank you for your advices!
[Galaxy S II General] Phil3759:
Volume up, not down

Maybe you use touch cwm, if you scroll with volume key, menu refresh. Touch instead
[Galaxy S II General] timberwolf60:
Downloaded cwm.zip in the first post and copy to ext sd card. Put phone in stock recovery mode. Chooses flash update and selected cwm.zip. Then you will see cwm recovery(touch recovery). Used finger instead of button. Then used this cwm to flash SU-Busybox-Installer.zip. reboot and your phone will be rooted without cwm. Downloaded allianceOTA from play store. Used it to flash any kernel you like: siyah, cf root etc. Enjoy!

Send from my GT I9100, XWLPW with Jkay theme V14 using Tapatalk2
[Galaxy S II General] Akatosh:
Thanks for the help!
[Galaxy S II General] init3:
Thank you so much, man! That solved my problem. Got root whoooohoooooo!
[Galaxy S II General] josh_wraith:
This method will work with any version of SGS2 ? I mean it will work on i-9100 too ?
[Galaxy S II General] red.hat:
It will work on I9100. Try it out, and you won't have to worry about bricking your phone. I