yashsingh1/xdaforums huggingface dataset:
[Galaxy S II Android Development] Phil3759:
That's very easy in fact

Get any of my CF-Root kernels from here:

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

Replace the zimage inside the zip file with the zimage from the kernel you like and you are done

The result is a zip file you can flash in CWM that will write the new kernel + backup your current kernel

If you need not backup the current kernel, just edit the updater-script file and remove the backup line
[Galaxy S II Android Development] siganid:
Thanks Phil, that's exactly what I was hoping for, something similar to how its done with .apk files, i.e. insertion into an existing .zip file. Now I've just try doing the insertion on my phone... ;)

[EDIT]

That worked perfectly, very easy indeed! All done in the comfort of my S2. :) Thanks again Phil and big thanks to Koush for CWM Recovery Touch.
[Galaxy S II 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 Android Development] Phil3759:
28 Aug 2012

: Update to 6.0.1.2 - Touch (ICS only) and non touch versions
[Galaxy S II Android Development] Noed:
Phil3759, a lot of people is having questions about the new CWM incremental backups introduced in 6.x, myself included :)

May I suggest you put some explanation in the OP?

How incrementals backup work, the blob folder, old style tar method...
[Galaxy S II Android Development] Phil3759:
Sorry, never tested. I do not see the need for such a feature. I prefer a good wipe, reflash in odin and restore selected apps and their data from Titanium Backup

I do regular syncs of phone data to PC too. Some can need it, but I do not
[Galaxy S II Android Development] Noed:
Ok... I like to try mods, themes, I can mess pretty bad with stuff like this, then just restore a CWM backup and everything will be as good as it was before.
[Galaxy S II Android Development] turner2914:
Would this recovery work for the I-9100M? If I understand correctly the M just restricts which baseband I can use.
[Galaxy S II Android Development] Phil3759:
They should as they are same hardware
[Galaxy S II Android Development] Phil3759:
Give CF-root a try in that case. It has a very good app, CWMManager
[Galaxy S II Android Development] mengzhilian07:
Great job！
[Galaxy S II Android Development] kaft001:
I bought a GS2 today and i want to install custom recovery than root my phone.

So can i intall this zip on stock recovery? Than flash a root zip and is it done? Or what can i do?

Thanks a lot!

Sorry for my english...
[Galaxy S II Android Development] Phil3759:
In stock recovery, you can root by flashing a zip from the thread in my signature: no more need to cwm to root

If you need CWM functions, you can use the attached CWM 6 to do any advanced tasks you need
[Galaxy S II Android Development] kaft001:
Thanks for your answer!
[Galaxy S II Android Development] shoey63:
This works on stock n7000 ICS without modding! So what about zip ROMs that have "Format" command in updater script. Would it result in Secure (Bad), or Unsecure (almost as bad) erase command being sent to, and accepted by stock kernel?
[Galaxy S II Android Development] Phil3759:
No confirmation from Koush, but, Entropy512 said once that Koush fixed it in new builds. Also, look my above post. In the binaries, we see a mention to the brick bug fix. So, all this for me means it is fixed. Now, we need guinea pigs. On my S2, a few test wipes under buggy LPT did not result in a brick (I have a bad chip by the way). However, the issue is often random, so, test it, probably safe, but no responsabiliy will be taken by me if you brick it
[Galaxy S II Android Development] ganaa1221:
when i try to install it from external sd it says: E:failed to mount /sdcard (No such file or directory)

What should I do?

Mine has stock 4.0.4 and not rooted yet. trying to install PARANOIDANDROID after i install this cwm.

Should i rename it update.zip?
[Galaxy S II Android Development] Phil3759:
Are you sure you are on stock recovery 3e?

Also make sure you use the apply update from external storage menu to load cwm

This should work. Do not use install update.zip option
[Galaxy S II Android Development] kgp700:
hi guys

how about on SHW-M250K ? (korea galaxy s2)

and it's more stable than cwm5?

no brick and no efs brick on i9100?
[Galaxy S II Android Development] Phil3759:
Try it, temporary only

Normally, no brick, but never 100% even stock rom
[Galaxy S II Android Development] kgp700:
thanks i was tried

i was CWM 5.8.1.5 to CWM6 v6.0.1.2 (it was CWM 5.8.1.5) and Add efs_backup.sh on my kernel

and i experienced baseband version 'Unknown'

i was scared

im revert CWM5.8.1.5 and delete efs_backup.sh on kernel

and flash kernel

no problem now

now working phone and 3g

is it possible to brick efs caused by recovery?

or caused by efs_backup.sh?

--------------------------------------------------------------------------------

solved

i was tried change sbin/adbd change to stock

and etc folder deleted (my kernel use /sbin/busybox ln -s /misc /etc)

thats all...

no problem now..
[Galaxy S II Android Development] Phil3759:
No, you will not brick your efs with this recovery
[Galaxy S II Android Development] cwf_1:
does this work on gingerbread? urgent !
[Galaxy S II Android Development] myshu:
what if you don't have an external sdcard ? i can't select the internal sdcard :)

LE : seems you can place the .zip in the /cache/ folder of your phone if you're rooted and you can apply update from there
[Galaxy S II Android Development] Phil3759:
Probably no

Stock recovery does recognise only external sd to flash files
[Galaxy S II Android Development] Phil3759:
Just started with my own custom stock based kernels featuring CWM6 permanent recovery

Original thread and support here:

http://xdaforums.com/showthread.php?t=1877270
[Galaxy S II Android Development] kgp700:
Thanks a lot your working :)

i have question

i wanna default set to toggle off signature verification failed

how to do that?
[Galaxy S II Android Development] Phil3759:
CWM6 by default ignores signature. It is already toggled off. If you want permanent cwm6, look at my stock PhilZ-cwm6 kernel in my signature
[Galaxy S II Android Development] kgp700:
oh yes

sorry

i remember that default is not ignores signature

maybe i'm misdeem

thanks:)
[Galaxy S II Android Development] memine:
Can you create one for the MUG LD3, 4.0.3?

I'm having a major issue with any Canadian ROM I've tried with CF-Root. Once flashed from stock I can longer install or move apps to the SD card. (From market or SD card.)

I have the full upgrade for ICS 4.0.3 which I was able to find the "zimage" inside on my linux system. I'm guessing that I can just extract that, put it into a new "tar" and install with Odin but then I would lose all CWM features...but should keep my root?

TIA!
[Galaxy S II Android Development] Phil3759:
Yes, flashing the stock zimage will make you loose CWM but root will be kept

If all you need is root, than go that way.

Temporary CWM6 in this thread should work perfectly for the i9100M from stock recovery

Also, you can get root files from thread in my signature to flash in stock recovery if you need to root again once

I also could take time to look at it:

Now, I am uploading a custom PhilZ-cwm6 kernel for this ROM:

Check for it here: http://xdaforums.com/showthread.php?t=1877270

Will be online/uploaded in a few minutes
[Galaxy S II Android Development] memine:
Cool, thanks! I like the CF-Root ROM I was using, tried LP7 and LP9, but due to the "Unable to install to SD card" issue I get from Google Play and manual APK installs that default to SD card first it was driving me nuts. So going back to stock with root was a second best option I was willing to try.

Your thread seemed to offer a new solution and I was just hoping that you would be the first to make a LD3 ROM, rooted, and with either CWM added or your temp solution as I needed. (I've seen lots of requests but your the first I've seen that's replied and offered to help with the MUG LD3 Canadian release.)

As I've been experimenting with encryption would I need to unencrypt the systems and/or SD card prior to flashing? (A few tests moving to LP9 from LP7 suggest that the external SD card needs to be unencrypted so I just unencrypted everything. Just asking you now in case you have a definitive answer and save me the extra hours unencrypting and re-encrypting again.

It's late here but I'll keep checking for a few hours. Let me know if you need any source I've gathered. Although I doubt it.
[Galaxy S II Android Development] Phil3759:
@kgp700: Seems like mount point issue with ext-sd

Give me a link to a stock rom for your phone please
[Galaxy S II Android Development] Phil3759:
Before flashing the kernel, try the temp cwm6 here if it works, as i asked you in first post
[Galaxy S II Android Development] Phil3759:
Well, it seems actually people did not get it how cwm6 backup jobs are done compared to 5

Read here

https://plus.google.com/103583939320326217147/posts/L5aVZe7C9vg

Backups are in the blobs folder

If you want old style backup, you need to change backup format to tar

Hope this explains it for you kgp700
[Galaxy S II Android Development] kgp700:
oh.. backup must need ext-sd?

external sd and internal sd no problem at zip install

here stock rom (it's SHW-M250S ROM, KOREAN SITE) -

http://w.jkh.kr/gb4/bbs/board.php?bo_table=galaxy&wr_id=320&sca=S2펌웨어

join there and click M250S_HOME_M250S.UH07.1652_CL906886_REV02_user_low_ship.zip

if you want torrent, use attach torrent file (it's SHW-M250K ROM)

Thank you very much:)
[Galaxy S II Android Development] Phil3759:
No

Looking at your logs shows the backup jobs were done successfully. As I said, cwm6 introduced incremental backups as a default. So, your backed up files are stored under the folder "blobs". This method gives a big space save compared to previously full backup jobs. If you select the tar option for backup format, you will have the non incremental backups with big tar file sizes.

Backups to sdcard puts the job on ext_sd. Backup to internal sd puts it to the internal. In all cases, to use this temporary cwm6, you need an external sd. That's a limitation in stock Samsung recovery, not in cwm6. To go without ext sd, you need a custom kernel like the PhilZ-cwm6 in my signature, cf-root, Siyah, cm9...
[Galaxy S II Android Development] kgp700:
oh i wasn't see this post

have 704MB backup file in blob folder :)

thanks :)
[Galaxy S II Android Development] Phil3759:
Happy it is cleared out. Many people ask this when moving to cwm6
[Galaxy S II Android Development] umberto1978:
Hi Phil and thanks for your work.

I am trying including this recovery builted in my own kernel. This kernel is originally based on top of Speedmod, using the same initramfs.

Ive managed to boot and partially get working this touch CWM, but i get issues when make nandroid backup: very similar to the one posted by kgp700 but in my case the backup doesn't start, giving me "Error while making a backup image of /system!"

Here is a link of the modified initramfs (now inlcuding the touch recovery) and here the link of my log.

Can you (or some one else, of course) point me in the right direction to make the recovery work properly?

Ps.: all the rest of recovery commands (install zip from sdcard, wipe, ecc) seems to be working fine except, like mentioned before, backup or restore activity.
[Galaxy S II Android Development] Phil3759:
Sorry, cannot look at it. Getting more and more busy...

However, I did not do anything special, just used the cwm6 files, that's it

Maybe related to your custom kernel, not cwm6
[Galaxy S II Android Development] umberto1978:
Thank you anyway, bro ;)

My question is not a rush, and if some one else know the answer is welcome.

I still continue to search and try to understand my self, for the moment.

Inviato dal mio GT-I9100 con Tapatalk 2
[Galaxy S II Android Development] Phil3759:
Maybe you missed a mount somewhere...
[Galaxy S II Android Development] Phil3759:
17 Sep 2012

: Update non touch version to 6.0.1.3

Touch version stays at 6.0.1.2: if you know about a kernel with touch 6.0.1.3 or source changes for touch cwm6, let me know please
[Galaxy S II Android Development] Phil3759:
19 Sep 2012

: Update non touch version to 6.0.1.4

Touch version stays at 6.0.1.2: if you know about a kernel with touch 6.0.1.4 or source changes for touch cwm6, let me know please
[Galaxy S II Android Development] Sebring57:
Thank you for the good job :)
[Galaxy S II Android Development] Phil3759:
20 Sep 2012

: Update non touch version to 6.0.1.4 ** Recommanded Update from previous 6.0.1.4 attached here **

People using my previous non touch versions 6.0.1.3 and 6.0.1.4 are strongly advised to move to this updated 6.0.1.4

Previous version was not a static binary and could behave unexpectedly under some circumstances

Actual 6.0.1.2 touch and non touch are fine to use

I removed previous 6.0.1.3 and 6.0.1.4 files to avoid confusion
[Galaxy S II Android Development] amosljl1995:
I can't flash
[Galaxy S II Android Development] kmetek:
can you be more specific?

is there any option to easily make it permanent CWM Recovery?
[Galaxy S II Android Development] Phil3759:
Flash what?

No other option than a custom kernel

Look here: PhilZ-cwm6 kernel for the i9100. There's also another one for the N7000: 100% stock kernel, safe for wipe (no brick), cwm6 permanent
[Galaxy S II Android Development] winxuser:
lol im new to sgs2, so please let me know what i have done wrong,, i flash this and it works,, but when i reboot the phone back into recovery its back to stock recovery lol, im a gs2 n00b
[Galaxy S II Android Development] kopitalk:
See the post juuussst above yours.
[Galaxy S II Android Development] Phil3759:
08 oct 2012

:Update to new custom touch recovery included in PhilZ-cwm6 safe kernel

WARNING: flashing update.zip files with format commands (without a patched update-binary can still brick your phone. Only fixed kernel is safe for that)

Safe kernels for the S2 are, among others, PhilZ-cwm6, Siyah, CM9/10 and AOKP...
[Galaxy S II Android Development] Phil3759:
WARNING: flashing update.zip files with format commands (without a patched update-binary can still brick your phone. Only patched kernel is safe for that)

Safe kernels for the S2 are, among others, PhilZ-cwm6, Siyah, CM9/10 and AOKP...
[Galaxy S II Android Development] benveq:
Well the latest kernel of yours is safe or not? I didnt get it actually. I installed latest touch kernel and at each reboot it say Android OS is upgraded. Any solution for that?
[Galaxy S II Android Development] Phil3759:
Kernel is safe. Only the temporary recovery story needs to be clarified if safe when used on a stock unsafe kernel

Your upgrade thing is often caused by some system apps having a bad time to do what they want. Not caused by the kernel, but maybe the rom/kernel combo you use. Try wipe dalvik and cache if you come from non stock ROM
[Galaxy S II Android Development] shoey63:
This needs to be sorted out. I'll be home soon and will seek a definative answer from Entropy. BTW all Philz kernels are 100% safe and can be verified as such (unlike custom builds where you just wipe and pray your phone doesn't superbrick)
[Galaxy S II Android Development] shoey63:
OK, I have posted my query here.

Let's hope I don't get hit with
[Galaxy S II Android Development] Phil3759:
Add +1 to your post

So if it hits, we'll be 2

LoL
[Galaxy S II Android Development] shoey63:
Lets hope we get an explanation we can understand! BTW do u have tools that can extract the "recovery" file from CF-Root? It would be an interesting exercise

to run the the "strings" command on his version.
[Galaxy S II Android Development] Phil3759:
just flash cf-root and in adb or terminal, copy the /sbin/recovery file

I do not want to manipulate/publish his work as I am not sure he allows it
[Galaxy S II Android Development] shoey63:
OK gotcha ;)
[Galaxy S II Android Development] shoey63:
Ok now we have a clear cut explanation from Entropy " Safe for wiping/factory resets/manual formats but not safe for flashing zips..." ( unless their update-binarys have been patched). This is actually very good news! Far from being "useless", this gives users who choose to remain on pure stock kernel and stock recovery the opportunity to do safe wipes and nandroid backups:) Also a good tool for those on stock stuck in bootloop etc. Instead of flashing custom kernel, simply flash temp cwm and do factory reset:thumbup:

@Phil. Maybe u could change updater-script to include warning about flashing zips?
[Galaxy S II Android Development] jayd_zena:
GT I9100 rooted by Samsung Quick Root (http://xdaforums.com/showthread.php?t=1125414)

Stock 4.0.3

I9100XXLPX

XWLPF

Can i flash SiyahKernel v4.1.5 with this method ?
[Galaxy S II Android Development] Phil3759:
Yes, XWLPF is a safe kernel
[Galaxy S II Android Development] jayd_zena:
and after I put Siyah what will happen? I can no longer use the method because Siya isn't a safe kernel?
[Galaxy S II Android Development] jayd_zena:
Anyone have any ideas?
[Galaxy S II Android Development] Stileth:
Of course it's safe.

Odoslané z GT-I9100 cez Tapatalk 2
[Galaxy S II Android Development] Phil3759:
CWM6 Philz Touch Edition build 1.86B (Stable beta, pre-final)

This is a big update with tons of features/fixes and mainly a major GUI lift

- EFS backup/restore

- Aroma file manager (you need download separate aromafm.zip file version 1.80)

- Toggle touch interface and options

And much more

I will add details very soon + credits

Meanwhile, please test and give a feedback so that I can bundle it in next kernel releases

Download post 1
[Galaxy S II Android Development] ahkow:
Install using Mobile ODIN?

My phone is root. Can I extract the "zImage" file from the ZIP file and flash using Mobile ODIN?

Thanks.
[Galaxy S II Android Development] Phil3759:
Yes
[Galaxy S II Android Development] ahkow:
Have flashed in this kernel "PhilZ-cwm6-DXLR5-OLB-2.7-signed", but check the kernel version it's same as stock?
[Galaxy S II Android Development] shoey63:
Stock minus brickbug - thats it. Boot into recovery and you will know you are on Philz.
[Galaxy S II Android Development] ahkow:
Noticed change in recovery. Thanks.:)
[Galaxy S II Android Development] Phil3759:
You can also type

su getprop

in terminal to get kernel details
[Galaxy S II Android Development] RovG:
Hi Phil3759,

Except for your cwm 6.0.1.2 touch, the option to create image zip under backup and restore does not exist. I have also checked your latest v3.0 DXLPF kernel. Please will you consider supporting it. It was added by Koush into CWM 6.

TIA
[Galaxy S II Android Development] Phil3759:
I did not touch Koush code at all in that regard, but it doesn't show even on stock cyanogenmod recovery binaries for me

If you have more details and example of kernels where it is enabled, post a link so that I can see how it looks. I will look at it later
[Galaxy S II Android Development] RovG:
Your "cwm-touch-6.0.1.2-i9100.zip" from here

http://xdaforums.com/showthread.php?p=28178105 has it.

Under "backup and restore" there is an option after "delete from internal" called "create image zip".
[Galaxy S II Android Development] Phil3759:
Thank you for the feedback

Does the cwm-non-touch-6.0.1.4-i9100.zip from the same thread also give you that option?
[Galaxy S II Android Development] RovG:
Unfortunately, no Phil:(
[Galaxy S II Android Development] Phil3759:
Ok, only difference is that the 6.0.1.4 is built from source, while touch version is from Koush builder and locked (encrypted commands) for ROM Manager. I never used that function but will look at it if it is meant to be on versions built from public source. If yes, i'll try to fix it, else not
[Galaxy S II Android Development] Phil3759:
I can confirm Koush made it only available for Payed ROM manager or over his builder, so not public code

I could easily try to implement it, I already do the same with my update zip through automation scripts, however, I will not do it

Koush built cwm and reserved some parts to be payed and non available as open source. I do not intend to steal all his ideas and make them open source to compete his business...

Sorry
[Galaxy S II Android Development] Phil3759:
I see sk8er is doing it in his open source recovery:

http://xdaforums.com/showpost.php?p=30497351&postcount=2

I am in doubt as to do it. I will try to ask first maybe if I one day intend to implement it
[Galaxy S II Android Development] bgn9000:
Hi Phil,

As I said yesterday night, I added your CWM into *my* kernel (Shun).

It is running well even if I need to test all wipe functionalities before delivering it.

Many thanks for your help ;)

Do you think if is-it possible to have an option to switch internal/external sdcard ? and if so, is the external card will have all partitions (/data /cache...) ?

I would like to provide a safe way to redo partitions onto internal sdcard thanks to this switch as backup mode.
[Galaxy S II Android Development] Phil3759:
I did not get you there?

/data and /cache are not on /sdcard or sdcard/external_sd?

What do you mean by switch? /emmc vs /sdcard while in recovery?

Also, you need to patch your kernel with EMMC_CAP_ERASE disabled or it will never be secure even with my recovery. Wipes will be secure, but not flashing zip files with format commands and non patched binary-update file
[Galaxy S II Android Development] bgn9000:
Did you plan to deliver your 6.0.1.5 or do I need to get it from your other thread ?
[Galaxy S II Android Development] Phil3759:
I forgot. Busy with optimizing scripts for new devices. I will do tomorrow
[Galaxy S II Android Development] Phil3759:
PhilZ Touch 3.0

(Clockworkmod v6.0.1.5 based recovery)

Major update in post 1

I also attached the custom stock cwm 6.0.1.5
[Galaxy S II Android Development] bgn9000:
Thank you, I will update my kernel ;)

By the way, I like incremental backups :good:
[Galaxy S II Android Development] ricnar456:
sorry for the question i'm a newbie.

I install PhilZ-cwm6-UHLPZ-ARO-3.1.tar.md5.zip with odin, and can enter in recovery and see the phil recovery menues and all.

Hoy i can enter with aroma file manager to the root folder? the aroma is set in emmc folder and i cannot up to the /

i need copy certain folders of the / folder and cannot up to this folder, how can be done?

thanks for all and sorry for my bad english.

ricnar
[Galaxy S II Android Development] Phil3759:
Aroma should be able to access root without issues. It even opens in root by default when you launch it from inside recovery with my menu

strange...

Try to enable "show hidden files" in aroma
[Galaxy S II Android Development] ricnar456:
is solved.

I was install the non root version, change for phil root version and all perfect.

thanks

ricnar
[Galaxy S II Android Development] kgp700:
thanks new version :good::)

i have a question

i know that your philz recovery separation ICS VER AND JELLYBEAN VER

how about your ics cwm philz recovery and jellybean cwm philz recovery compatibility ?

ICS and JB same partition size and use same partition number?

for example..

can i use Jellybean cwm philz kernel recovery on ICS kernel?
[Galaxy S II Android Development] shoey63:
Temp recovery will work on both ics and JB
[Galaxy S II Android Development] fbxdadev:
battery drain bug - blobs folder

I think (*think*, cannot confirm, as I only have one device, but I could reproduce the problem) that there may be a problem with the blobs folders in large sdcards or something specific that I can't figure out, but since I upgraded to a system with cwm6, and I started having a blobs folder in my sdcard, I have had terrible battery drain issues (as much as one full charge in less than 3 hours!) across multiple different roms (rr, omega, ics, jb, ...).

Serendipity kicked in when my android refused to use my sdapps, so I had to format it, and bang: all started working just fine.

When I restored my data backup onto the card, there it was again.

Long story short: if I delete the blobs folder, it goes away.

I have an sgs2, with a 32gb card.