yashsingh1/xdaforums huggingface dataset:
[Galaxy S II Android Development] THE RED BLUR:
Re: [10.02.2013][PhilZ-cwm6][i9100/P] v4.31 Safe Stock Kernel+CWM6+Root-XWLSD

We dont use blobs. So no point in having it there right? . Didn't I read somewhere nomedia doesn't work anymore properly in stock jb.

https://plus.google.com/app/basic/stream/z13hgxu4ssfvfnw4204cffsgfmzdcfgi4co

SIGNATURE

PHONE : SGSII

Sent via: Tapatalk 2

Main ROM: AllianceROM v6 LS8

KERNEL : PhilZ Touch LSD 4.31

(DEFAULT PROFILE AND SETTINGS )

MODEM : LS8

BATTERY : Stock 1650mAh

EXTERNAL Sdcard : Samsung Class 10 32gb

LAUNCHER : Apex

Root Manager : SuperSU 1.04

THE CAVE = My Guides list to install NeatRom and other ROMS and kernels on LSJ and LS8 + tools to have a bug free rom and kernel + how to back up and RESTORE ROM OM FULLY = http://xdaforums.com/showthread.php?p=35923600

1.Current list of kernels on LSJ and pros and cons

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

2.Rom Nuke / Wipe scripts

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

3. GS2KERNELWIPE script

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

4.Fast Dormancy :

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

5. How to install full wipe with rom nuke on LSJ

http://xdaforums.com/showthread.php?p=36655790
[Galaxy S II Android Development] kantjer:
I haven't spend much time tweaking the interface except for setting the black background.

But it already is looking great and like you said, looking at functionality and tweaking options no other recovery comes even close . :good:

---------- Post added at 03:06 PM ---------- Previous post was at 03:03 PM ----------

I tested it, had a folder on the ext sd from my nav app with lots of icons in it showing in the gallery, after adding the .nomedia file and doing a rescan the folder was removed from gallery. So it looks be still working.
[Galaxy S II Android Development] Phil3759:
ups,

sorry for left handed people

Hopefully, I will add custom gestures support later ;)
[Galaxy S II Android Development] kantjer:
@TRB, I see in your sig you are running the LSD kernel. Have you already tried your "pull the battery" test with that?
[Galaxy S II Android Development] THE RED BLUR:
Re: [10.02.2013][PhilZ-cwm6][i9100/P] v4.31 Safe Stock Kernel+CWM6+Root-XWLSD

My bad. Im on LSJ. The LSD one gave me bootloop on just holding down power button to turn off. But i was able to come out of the bootloop by rebooting phone which is a huge improvement from before.

But I fled back to LSJ version outof fear. ;)

SIGNATURE

PHONE : SGSII

Sent via: Tapatalk 2

Main ROM: AllianceROM v6 LS8

KERNEL : PhilZ Touch LSJ 4.31

(DEFAULT PROFILE AND SETTINGS )

MODEM : LS8

BATTERY : Stock 1650mAh

EXTERNAL Sdcard : Samsung Class 10 32gb

LAUNCHER : Apex

Root Manager : SuperSU 1.04

THE CAVE = My Guides list to install NeatRom and other ROMS and kernels on LSJ and LS8 + tools to have a bug free rom and kernel + how to back up and RESTORE ROM OM FULLY = http://xdaforums.com/showthread.php?p=35923600

1.Current list of kernels on LSJ and pros and cons

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

2.Rom Nuke / Wipe scripts

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

3. GS2KERNELWIPE script

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

4.Fast Dormancy :

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

5. How to install full wipe with rom nuke on LSJ

http://xdaforums.com/showthread.php?p=36655790
[Galaxy S II Android Development] MangeH73:
Sv: [10.02.2013][PhilZ-cwm6][i9100/P] v4.31 Safe Stock Kernel+CWM6+Root-XWLSD

I got the bootloop with Power Button on another kernel with lsd room and with philz when removing battery on lsd so i guess that its not kernel related. Will go back to lsj
[Galaxy S II Android Development] Phil3759:
Main menu and PhilZ Settings

GUI Preferences: all is applied live (no reboot). Up to 14 menu height settings, scroll sensitivity, touch accuracy...

27 color settings + 5 alpha transparency levels for every GUI element

Change background image with a custom png (of your device resolution), a solid color (27 presets) or revert to original cwm image

Backup and Restore any partition in a complete freedom, include modem (.img + .bin) and efs (.img + .tar)

Custom backups can also be restored by original CWM Advanced Restore Menu

Support multi-cpu compression, md5 check toggle and fixed time-zone

Flash multiple zip files in a raw

Aroma File Manager

Terminal support in aroma
[Galaxy S II Android Development] Siberian Tiger:
Hey Phil in this way you are working on recovery and the options you are giving to us at the end i have a feeling we all won't be able to push the reboot button :laugh:

I think i'll stick to recovery forever :p

Great work as always :highfive:
[Galaxy S II Android Development] Phil3759:
Thanks a lot for your comment (out of my 8 :good:)

I still have a lot in my todo list :D
[Galaxy S II Android Development] marbulas:
Re: [10.02.2013][PhilZ-cwm6][i9100/P] v4.31 Safe Stock Kernel+CWM6+Root-XWLSD

Phil can you make an feature checking the size of custom background image if it is invalid(0 kb)? If this happens, revocery gets black and malfunction. What a way to solve this now is flashing other kernel not yours and removing setting files in the /system and flash your kernel again...
[Galaxy S II Android Development] korkete:
When I'm in recovery mode, I'm getting this error that my /sdcard is not mounted.

I've tried to mount it manually but it doesn't work either.

anyone else having the same problem?
[Galaxy S II Android Development] kantjer:
Re: [10.02.2013][PhilZ-cwm6][i9100/P] v4.31 Safe Stock Kernel+CWM6+Root-XWLSD

It looks like LS8 and LSD based kernels don't like a non clean power down. Never had a problem with LSJ so far.
[Galaxy S II Android Development] Phil3759:
What an idea you got there to use an invalid image? But anyway, I will see if I can reproduce it and will fix it in that case
[Galaxy S II Android Development] marbulas:
Re: [10.02.2013][PhilZ-cwm6][i9100/P] v4.31 Safe Stock Kernel+CWM6+Root-XWLSD

Some of guys like me can do this : rename an image file a.jpg into b.png with aroma file manager. Then the size of that will get into 0 kb if you did as I'm saying. Put this in /emmc/clockworkmod/custom_res and set this image converted abnormal into custom background image. And then, recovery goes hell what I said alike...
[Galaxy S II Android Development] Phil3759:
But why they should do this is beyond me

In any-case, it is a vulnerability that I will fix

I already limited the file-name length...

I will add an extra check for png type maybe. I will also add a feature where recovery will prompt to load settings if it failed/hanged
[Galaxy S II Android Development] marbulas:
Re: [10.02.2013][PhilZ-cwm6][i9100/P] v4.31 Safe Stock Kernel+CWM6+Root-XWLSD

Thanx Phil :D

I know this report is not common things but it is critical if it happens to people who don't know how to solve this and it can be happen in UI workaround not terminal so other guys like me could appear...
[Galaxy S II Android Development] Phil3759:
Since you are on it, can you try this, really

Put any fake

binary

in place of my settings .ini file in /system

Start recovery

I really think it is safe and no major risk to hang up, just put a small one like a png so that it doesn't spend a lot of time reading it

For real, I'd spare time fixing vulnerabilities due to reading external files

I already ensured some checks to avoid buffer overflow, but who knows...

And thank you in advance
[Galaxy S II Android Development] marbulas:
Re: [10.02.2013][PhilZ-cwm6][i9100/P] v4.31 Safe Stock Kernel+CWM6+Root-XWLSD

I did these :

1. Removed philz-touch.ini from /system/philz-touch

2. Put this into terminal : touch /system/philz-touch/philz-touch.ini (made a dummy file like .nomedia)

3. reboot recovery and your recovery appeared with stock GUI

4. reboot system and looked for the dummy file and I found that dummy file still not overwritten the stock one. I know your kernel write philz-touch.ini file if doesn't exist there. It should be a bug?
[Galaxy S II Android Development] pdario:
Yes, it seems the bootloop does not need a battery pull, it starts with every unclean power down / reboot (as in TB restart to recovery)
[Galaxy S II Android Development] alferret:
Re: [10.02.2013][PhilZ-cwm6][i9100/P] v4.31 Safe Stock Kernel+CWM6+Root-XWLSD

Nice job Phil, keep up the great work!

From my Nexus 7
[Galaxy S II Android Development] Phil3759:
No, when no settings file is found, it will load hard coded default settings without writing any thing

It starts writing when you do manually configure it

Thank you for the test, but an empty file I knew it was fine

Can you try a binary one like a png renamed and pushed?
[Galaxy S II Android Development] amirsat2012:
Re: [10.02.2013][PhilZ-cwm6][i9100/P] v4.31 Safe Stock Kernel+CWM6+Root-XWLSD

Great job

Envoyé depuis mon GT-I9100 avec Tapatalk

---------- Post added at 10:53 PM ---------- Previous post was at 10:36 PM ----------

I want a kernel for my stock rom ics 4.0.3 XXKP8 that can be flashed with odin

Thx

Envoyé depuis mon GT-I9100 avec Tapatalk
[Galaxy S II Android Development] Phil3759:
Ok,

I tested it and confirm

If you try to fool it and put a non valid png file for background, you'll be in trouble

Only odin flash of an old kernel (3.99 for example) will save your ass

I will fix it in next version. Meanwhile, play fair and use true png files :D
[Galaxy S II Android Development] Phil3759:
I no longer support ICS, sorry
[Galaxy S II Android Development] pdario:
Any idea or anyone with the same message?
[Galaxy S II Android Development] serfer222:
I just get bootloop with PhilZ-cwm6 v4.31 with CWM 6.0.2.8 based recovery (XWLSD) :(

1) I was using official XWLSD rom with stock kernel (rooted with adb sideload supersu) for several days, everything was just fine.

2) Then I flashed PhilZ-cwm6 v4.31 XWLSD zip version and used it to backup my rom.

3) I tried another rom (WanamLite Jelly Bean LSD V14.1)

4) Then I want to restore my stock XWLSD rom. After I restored my backup from CWM I still see some WanamLite string in About section.

I had another issue - Swype lost second language.

5) I tried to restore backup just again. I formated system, data, cache and preload partitions, then I retrored backup.

6) bootloop...
[Galaxy S II Android Development] Phil3759:
step 4 shows you missed some parts in your backup

Make sure to enable preload and to backup everything
[Galaxy S II Android Development] pdario:
Can you provide a link that explains what is preload and when to backup it or not?

Thank you!
[Galaxy S II Android Development] serfer222:
I created this backup with this kernel (PhilZ-cwm6 v4.31)

This backup contains following files:

Directory of f:\clockworkmod\backup\2013-02-11.18.13.11_JZO54K.I9100XWLSD
11.02.2013 18:13 <DIR> .
11.02.2013 18:13 <DIR> ..
11.02.2013 18:13 8388608 boot.img
11.02.2013 18:13 8388608 recovery.img
11.02.2013 18:13 0 system.ext4.tar
11.02.2013 18:14 490505728 system.ext4.tar.a
11.02.2013 18:14 0 data.ext4.tar
11.02.2013 18:16 1000000000 data.ext4.tar.a
11.02.2013 18:17 293026816 data.ext4.tar.b
11.02.2013 18:17 0 cache.ext4.tar
11.02.2013 18:17 16896 cache.ext4.tar.a
11.02.2013 18:18 440 nandroid.md5
12.02.2013 14:59 0 backup
11 File(s) 1800327096 bytes

Can you help me understand what's wrong with it? ;)
[Galaxy S II Android Development] Phil3759:
1- after restore, you should have wiped cache

2- i9100 uses preload since JB. If wanam pushed files there (which is probable as /system is too small on our phones), your restore could fail because of the missing /preload partition

---> wipe cache after restore and enable preload backup operations under settings

---> or, use the new custom backup and restore job list to be sure you have all you need + more ;)
[Galaxy S II Android Development] serfer222:
"enable preload backup operations under settings"

thank you.

I think this settings should be enabled by default.

I didn't know about this setting and used CWM as usual... And looks like I have incomplete backup.
[Galaxy S II Android Development] diddsen:
can confirm... massively problems :(
[Galaxy S II Android Development] Phil3759:
preload is disabled by default as it i not a stock CWM feature and other phones doesn't support it

Also, often it is not needed as all is symlinked to /system and nandroid would follow the links and restore them where they should (at least I suppose, did not take time to look at it)

However, some ROM mods do heavily use /preload

Also, it could be just you did not wipe cache. Stock CWM backups include /cache
[Galaxy S II Android Development] shoey63:
Re: [12.02.2013][PhilZ-cwm6][i9100/P] v4.35 Safe Stock Kernel+CWM6+Root-XWLSD

Users should just use toggle to include preload option if required.
[Galaxy S II Android Development] fubo73:
Hi all,

I am trying to install latest kernel from a SD (FAT32 formatted) different from the one I commonly use (exFat formatted). The Philz recovery (4.22) is keeping reporting error that it is not able to mount exfat on SD card. But now it is FAT32. How can I get around this issue?
[Galaxy S II Android Development] pdario:
Sorry, I don't understand: do you suggest to enable preload backup or not? On stock LSD, I mean
[Galaxy S II Android Development] Mopral26:
hi, i again post my question: i have install on the first time the 4.22 philz kernel (LSD) what's the interest to flash 4.35? i use cwm for backup/restore, and flash zip

best regards
[Galaxy S II Android Development] Roz3buD:
You made my day

Hi everyone

Juts want to thank Philz for providing a .tar version of his kernel. I managed to recover my phone which was bootlooping via odin :)

Great work !
[Galaxy S II Android Development] serfer222:
YES.

I didn't enable preload backup on stock LSD rom, and I cannot restore it.

It would be nice if CWM detect that ROM uses preload and ask user if it should backup preload partition =)
[Galaxy S II Android Development] fubo73:
Doh! I used another FAT32 SD card and it worked flawlessly...:confused:
[Galaxy S II Android Development] DaOldMan:
I have done a nandroid on the previous version. Because the preload was NOT enabled it wasn't backed up. On restore I got a very nice bootloop. The symlinks are in /system to the actual apk's in /preload and NO it didn't go through them and YES the whole backup is worthless. Took me some time to understand what is going on :)

1) Can you maybe check the version of the ROM and auto include preload on 4.1.2 and up ?

2) The new log features are great ! Can you consider making a scrollible buffer for the log so if it's longer then one screen I can go back and see it all? I think this could be a great feature.

Thanks for your wonderful work, I love your kernel :)

Thomas
[Galaxy S II Android Development] Phil3759:
Re: [12.02.2013][PhilZ-cwm6][i9100/P] v4.35 Safe Stock Kernel+CWM6+Root-XWLSD

Thank you for confirming about preload

I will not add a check there, would make it complicated to maintain. Forcing preload caused issues on other phones and it is not aokp standard. i9100 is probably approaching its eol and other phones no longer really rely on preload for now. Users should just get used to enable it

I will look at the scrollable buffer but it will need some work from scratch. I am not sure it is useful as people that really need logs can just adb pull them or export whole to sdcard
[Galaxy S II Android Development] cruz007:
Re: [12.02.2013][PhilZ-cwm6][i9100/P] v4.35 Safe Stock Kernel+CWM6+Root-XWLSD

If I coming from 4.31...to 4.35 should I wipe kernel or just install .zip?

Rom : NeatRom 4.0(XXLSJ)

Kernel : Philz 4.31
[Galaxy S II Android Development] kantjer:
Just flash the zip, I did it a few hours ago :good:
[Galaxy S II Android Development] Mopral26:
can i have an answer please, and i don't know what's about preload, i have a backup (with kernel 4.22) default options, if i restore this backup > bootloop? is it this?
[Galaxy S II Android Development] kibasscies:
Estimate PhilZ,

some days ago on my Italian Galaxy S2 I installed the new stock firmware JB 4.1.2 XWLSD and then your version "PhilZ-cwm6-XWLSD-OXX-4.28" followed by "Root_SuperSU.0.98-Busybox.1.20.2" (your all-in-one version was not yet available at that time).

Everything is working fine so far.

Therefore, do you recommend to install the new all-in-one version 4.35 (recovery+root)?

If so, do I simply need to install via external SD (overwriting the previous installation) or do I have to perform some more action before, in order to clean files installed with the previous version (e.g. SuperSU or Busybox or other residual garbage)?

I'm not particularly interested in aestethic features or other customized options: my only expectation to install the new version would be the removal of serious bugs or the addition of relevant benefits provided by new functional features. Is that the case?

Thank you very much for your kind support and many congratulations for your excellent work.
[Galaxy S II Android Development] It_ler:
The easiest way it to re-flash the ROM you had when created the nandroid backup (non-wipe), flash PhilZ kernel and then restore the nandroid backup.

If it does not work, you may flash the ROM with wipe (data / factory reset).

Good luck !
[Galaxy S II Android Development] fgoyti:
Does Philz Kernel support BLN (like Siyah)?

Edit --> nevermind, looks like it doesn't. I still want to keep this comment though, as a +1 to adding BLN to this kernel ;)
[Galaxy S II Android Development] It_ler:
PhilZ kernels are stock kernels (+ extended CWM recovery). And as long as stock kernels do not support BLN, PhilZ kernels won't support it either.

So answer is "no" ... ATM.
[Galaxy S II Android Development] NOMIOMI:
can we install this kernel on any other custom rom like PA2.99 etc???
[Galaxy S II Android Development] C4SCA:
Re: [12.02.2013][PhilZ-cwm6][i9100/P] v4.35 Safe Stock Kernel+CWM6+Root-XWLSD

nop, for those kind of roms u can use dori, siyah or let the stock one that came with them, generally its a cm based kernel
[Galaxy S II Android Development] Rila:
Re: [12.02.2013][PhilZ-cwm6][i9100/P] v4.35 Safe Stock Kernel+CWM6+Root-XWLSD

Hi PhilZ

My phone came with Orange rom BVLPH (4.0.4).Could you confirm to me if the kernel BVLPH-FTM ICS 4.0.4 you made could be flashed with stock recovery 3e?

I am looking for a safe kernel for my SGS2 and don't want to take no risk

:)

I took already enought risk with CWM flashed from Rachmat3 thread.

Thank you.
[Galaxy S II Android Development] Must2r4h:
Is this kernel compatible with CWM manager?
[Galaxy S II Android Development] DaOldMan:
Dear Philz,

Thanks a ton for your fast and nice reply. I have another suggestion. If scrolling LOG is too hard - just make it stop page by page please when it's drawing it. This is probably much easier solution - no ? Like piping "cat blah.txt | more" ....

Thanks a lot,

Thomas
[Galaxy S II Android Development] It_ler:
Yes and no ... CWM Manager app works but it not fully compatible with PhilZ kernel.

So I recommend to boot into recovery and do what you want to do from there.
[Galaxy S II Android Development] bogdan1980:
Re: [12.02.2013][PhilZ-cwm6][i9100/P] v4.35 Safe Stock Kernel+CWM6+Root-XWLSD

Cwm manager work ok, I always use it to restart pc normal, in recovery, etc.

Galaxy powered by GM and Dorimanx.
[Galaxy S II Android Development] Phil3759:
Re: [12.02.2013][PhilZ-cwm6][i9100/P] v4.35 Safe Stock Kernel+CWM6+Root-XWLSD

The app doesn't support jb new sdcard places mainly external sd
[Galaxy S II Android Development] satish0101:
Any solution of bootloop on XWLSD

Hey Phillz,

I guess this issue might have been reported countless times but here it goes:

I was using official stock XWPLD and then flashed Phillz 4.22 Kernal.

After that when I restarted the phone it was stuck on the bootloop from which there was no returning back.

I had to flash official firmware through ODIN once again.

Currently I am using the same firmware without any root, so is it advisable to flash Phillz kernal without getting stuck on bootloop?

What steps do I need to follow in order to avoid bootloop?
[Galaxy S II Android Development] diddsen:
@philz

what do you think about this bootloop problems?

can you locate the problem?
[Galaxy S II Android Development] Tallustus:
AW: [12.02.2013][PhilZ-cwm6][i9100/P] v4.35 Safe Stock Kernel+CWM6+Root-XWLSD

Did some research on that issue last days

Currently got 2 possible things in mind wich could cause the bootloops/stucks

First is the bootloader shipped with latest roms (lsd...) wich shows some suspicious things

And second is the way this roms handle data and system partitions

I went i to identical problems while running samsung roms on a LVM

(Linux Logical Volume Manager)

Wich stucked at boot etc while cm roms where working just perfect on that setup

I'm currently testing a lot changes on the Source Drop for the JB kernel to locate this issue

May i'm going to try a bootloader downgrade to see if that helps out (i'm not suggesting todo this right now its just a idea to try out)
[Galaxy S II Android Development] Vihru:
i want share my battery results for you..

so, i have orginal NeatRom Lite 4.3 with that Philz "stock" kernel. and i have disabled many apps.

battery left 8%, 2d 0h 22min.

screen time: 3h 42min 35sec

phone calls: 13min

gps use: 23min.

mobile data is off and i sync emails manually.

now i try that speedmod kernel :fingers-crossed:
[Galaxy S II Android Development] Phil3759:
Thank you tallustus for dropping your support and knowledge here, I appreciate it a lot (out of my 8 :good:)

I think it must be some kernel/rom combo too, and yes, maybe the bootloader

Start of LS8, I flashed a full ROM, that is include bootloader. Swapping kernels and randomly, got these bootloops

I then flashed back full LSJ ROM (include bootloader) and since then using LSJ ROM with XWLS8 then newer XWLSD kernel, and never got any issue

So, newer kernels on LSJ ROM are really very stable and do fix all previous bad bugs related to screen lock and exynos vulnerability

But, yet I am on old bootloader, so not sure it is only the new kernel/ROMs combo or the bootloader...

Also, newer bootloaders seem to detect the Phone Status as soon as you mess the kernel or root

Please drop your conclusions when you'll have something, and mainly if I can do something at the ramdisk level
[Galaxy S II Android Development] Phil3759:
cosmetic bug on newer v4.35
[Galaxy S II Android Development] It_ler:
Thanks for sharing your experiences.

I am still on ICS bootloaders and have never faced any bootloop issue ... neither with XXLSJ, XWLS8 nor with XWLSD.

I've flashed all JB ROMs with Mobile Odin app till now ... so everytime without bootloaders.

But I am also not sure about the real cause of that bootloop issue. Maybe it's a combination of different things :confused:

I think there is a thread about the bootloop issue on JB ROMs (can't find the link ATM) ... maybe it would be a good idea to post your experiences there.
[Galaxy S II Android Development] kantjer:
Is there a way to find the boodloader version ?

I have no idea what version I'm rubbing, but I'm facing bootloop issues with both LS8 and LSD kernels on my LS8 based ROM. No issues with LSJ kernel on LS8 ROM.

EDIT: for me the bootloop issues always start after a non-clean pwr down.
[Galaxy S II Android Development] It_ler:
Bad thing ... "non-clean power down".

There as an idication of old GB or new ICS bootloader on ICS ROMs.

You saw Serial number (in phone info) as "UNKNOWN" (GB bootloader) or "00000000" (ICS bootloader).

But if you have an old GB / old ICS or a new JB bootloader ... I don't know.

Maybe you can flash the old GB or ICS bootloader manually (in PDA section of Odin) and test again with a "non-clean power down".

I think ApriliaM3 has these bootloaders on his dev-host too.

If you ar willing to test it, please report back.