yashsingh1/xdaforums huggingface dataset:
[Android Software Development] acabreram:
it works really nice bro!!

i can flash zip from sdcard1 or sdcard

i can make a backups

just if i try to flash a nightly via OTA i reboot into recovery automatically but the update fails i have to reboot manually on recovery and apply the update

and obviusly the boot.img into de the new nightly replace the boot.img cwm advanced.

but it´s great!!

Thanks!
[Android Software Development] Phil3759:
We're trying to push it to perfection
[Android Software Development] danarama:
Always ;)

Edit > let me know if you need it testing
[Android Software Development] Conito11:
Just a noob question... im on 4.3 rooted and with this recovery. Now i want to upgrade yo 4.4.2. I need to upgrade this recovery before flash the 4.4.2 rom? And, is jfltexx the folder or jflte folder to donwload the latest upgrade?

sorry
[Android Software Development] tetakpatak:
Thanks a lot, Phil- this was very helpful hint.
[MENTION=5153662]Android-Andi[/MENTION] has fixed the ADB connection now for all 10" Tab 2 models. :)
[Android Software Development] ali.filth:
Update 6.22.1 arubaslim

thanks a lot phil :good:

md5sum check crash when install zip files has been solved :D

this is link for 6.22.1 :

http://d-h.st/pMZ (philz_touch_6.07.9-arubaslim.zip)

http://d-h.st/bfn (philz_touch_6.07.9-arubaslim.zip.md5)

http://d-h.st/HVU (philz_touch_6.07.9-arubaslim.tar.md5)
[Android Software Development] Bishopandme:
Hi All,

looking for the N900 pl?

a link?

Thx

B
[Android Software Development] danarama:
Nokia?
[Android Software Development] Phil3759:
file names error? It will break md5 checks if renamed, both tar and zip
[Android Software Development] Phil3759:
fb2png update

[MENTION=4675598]shoey63[/MENTION] [MENTION=2872010]rootSU[/MENTION]

It adds command line options to disable/enable buffering and to set a custom padding

It also adds a better auto mode for padding

Please test it under adb shell. If your device fails, post the code from adb shell here
[Android Software Development] HippoMan:
Daylight Savings Time non-functional on 6.19.3

I'm using 6.19.3 on my apexqtmo. I have noticed that the Daylight Savings Time checkbox has no effect.

I select Eastern Time (-0500), and it shows my local time in non-Daylight-Savings mode. When I select Daylight Savings Time, the time doesn't change.

We are currently in Daylight Savings Time, so the time shown is one hour too early, no matter whether I select or clear the Daylight Savings Time option.

Is there something I'm misunderstanding about how the time setting works, or is this a bug?

Thank you in advance.

.​
[Android Software Development] ali.filth:
What? Error?? Why error?

I don't renamed it..I'm following your instructions to make zip md5
[Android Software Development] danarama:
Will do. ...and this will hopefully fix tge corrupt screenshot issue?
[Android Software Development] Phil3759:
6.07.9 ?
[Android Software Development] ali.filth:
Then must be 6.22.1 ?
[Android Software Development] Phil3759:
Yes, latest version number is in Android.mk in bootable/recovery
[Android Software Development] Phil3759:
Only related to screen shots

adb push fb2png /sbin
adb shell chmod 0775 /sbin/fb2png
adb shell fb2png /temp/screen.png
adb pull /temp/screen.png

And check resulting screen.png in pc

If broken, post output from 3rd command
[Android Software Development] shoey63:
C:\android-sdk\sdk\platform-tools>adb push fb2png /sbin
4727 KB/s (302076 bytes in 0.062s)

C:\android-sdk\sdk\platform-tools>adb shell chmod 0775 /sbin/fb2png

C:\android-sdk\sdk\platform-tools>adb shell fb2png /temp/screen.png

Android Screenshooter - fb2png
Author: Kyan He <kyan.ql.he@gmail.com>
Modified by Phil3759 & McKael @xda
version 0.0.2 ---> v0.0.6 <2014>

fb2png -pad=-1 (auto) -buffers=2 /temp/screen.png
Segmentation fault

C:\android-sdk\sdk\platform-tools>adb pull /temp/screen.png
remote object '/temp/screen.png' does not exist
[Android Software Development] ketut.kumajaya:
[MENTION=4666971]Phil3759[/MENTION] In your free time, please help me to check:

1. updater: Add f2fs support, use system's mount

2. roots: Use blkid auto detect fs_type

3. Add support to format SD card as F2FS

4. Add initial vold F2FS support

Commits 2 need busybox: blkid: Add Flash-Friendly File System (f2fs) support

Commits 4 need e2fsprogs: blkid: Add Flash-Friendly File System (f2fs) support

Thank you :good:
[Android Software Development] danarama:
Works perfect although /temp doesn't exist so you receive an error:

Android Screenshooter - fb2png
Author: Kyan He <kyan.ql.he@gmail.com>
Modified by Phil3759 & McKael @xda
version 0.0.2 ---> v0.0.6 <2014>

fb2png -pad=-1 (auto) -buffers=2 /temp/screen.png
bpp : 32
size : 8294400
width : 1080
height : 1920
ARGB offset : 0 24 16 8
ARGB length : 8 8 8 8
Framebuffer Pixel Format: 3
Cannot open file /temp/screen.png for writing.
, No such file or directory
Failed to save in PNG format.

...if you don't first:

mkdir /temp

But yeah, see attached

Android Screenshooter - fb2png
Author: Kyan He <kyan.ql.he@gmail.com>
Modified by Phil3759 & McKael @xda
version 0.0.2 ---> v0.0.6 <2014>

fb2png -pad=-1 (auto) -buffers=2 /temp/screen.png
bpp : 32
size : 8294400
width : 1080
height : 1920
ARGB offset : 0 24 16 8
ARGB length : 8 8 8 8
Framebuffer Pixel Format: 3
Saved image to /temp/screen.png
[Android Software Development] shoey63:
Why you and not me? :(
[Android Software Development] danarama:
Have you tested with

mkdir /temp

first?
[Android Software Development] Phil3759:
As i said, it is work in progress. There is no universal method sadly.

I will look at your device tree first and try to fix segfaulting or send you a debug version.
[Android Software Development] ali.filth:
here is my new download link phil..i was fix my mistake..sorry for that..and many thanks for your time and support also..

http://d-h.st/iKV (philz_touch_6.22.1-arubaslim.zip.md5)

http://d-h.st/2tL (philz_touch_6.22.1-arubaslim.zip)

http://d-h.st/V58 (philz_touch_6.22.1-arubaslim.tar.md5)

please upload to your official download site as soon as possible..then i will post an update in my thread.

thanks
[Android Software Development] Phil3759:
done :good:
[Android Software Development] Phil3759:
Can you test this one and post the output on segfaulting:

adb push fb2png /sbin
adb shell chmod 0775 /sbin/fb2png
adb shell fb2png /tmp/screen.png
adb pull /tmp/screen.png
[Android Software Development] shoey63:
Sure, but I will use "tmp" (no "temp" in Yuga recovery ramdisk)
[Android Software Development] Phil3759:
My mistake, fixed tmp
[Android Software Development] shoey63:
Android Screenshooter - fb2png
Author: Kyan He <kyan.ql.he@gmail.com>
Modified by Phil3759 & McKael @xda
version 0.0.2 ---> v0.0.6 <2014>

fb2png -pad=-1 (auto) -buffers=2 /tmp/screen.png
getting fixed display info

done fixed display info

bpp : 32
size : 8294400
width : 1080
height : 1920
ARGB offset : 0 24 16 8
ARGB length : 8 8 8 8
getting active buffer info

active buffer: 8355840

reading buffer:

padding section:

padding offset=8

Segmentation fault
[Android Software Development] JustinXu:
philz touch 6.22.1 for all versions of LG Optimus G:

- LG Optimus G International (e975)

- LG Optimus G ATT (e970)

- LG Optimus G Sprint (ls970)

- LG Optimus G Canada (e973)

all of them are compiled from sources without mod.

https://drive.google.com/folderview?id=0B9EFp1W1O3f2SXp2bVcycXpfRkU&usp=sharing
[Android Software Development] Bhargav97:
Hi Phil3759,

Seems like there's still something wrong in advanced_functions.c

When compiling advanced edition, I got these errors.

Should I remove those lines for now?

EDIT:

Same error comes at line 816 and 824.
[Android Software Development] Phil3759:
I will take time to compile the advanced version to ensure it works, sorry
[Android Software Development] Phil3759:
[MENTION=4675598]shoey63[/MENTION]

[MENTION=2872010]rootSU[/MENTION]

fb2png 0.07

Major update that I hope will fix your segfaulting

adb push fb2png /sbin
adb shell chmod 0775 /sbin/fb2png
adb shell fb2png /tmp/screen.png
adb pull /tmp/screen.png

post output result if you get any issue
[Android Software Development] Phil3759:
upload done :good:
[Android Software Development] Phil3759:
fixed on my git

I tested and it should work now
[Android Software Development] danarama:
Still working fine [MENTION=4666971]Phil3759[/MENTION]
[Android Software Development] shoey63:
I will be home soon to test. Stay tuned.....
[Android Software Development] shoey63:
version 0.0.2 ---> v0.0.7 <2014>

fb2png -pad=-1 (auto) -buffer=-1 (auto) /tmp/screen.png
bpp : 32
size : 8355840
width : 1080
height : 1920
ARGB offset : 0 24 16 8
ARGB length : 8 8 8 8
yoffset : 1920
buffer offset : 8355840
padding : 8
Segmentation fault
[Android Software Development] Schrotty35:
I have read theme support but where can load themes?
[Android Software Development] Phil3759:
Can you try

adb shell fb2png -pad=0 /tmp/screen.png [CODE]
[Android Software Development] shoey63:
fb2png -pad=0 -buffer=-1 (auto) /tmp/screen.png
bpp : 32
size : 8355840
width : 1080
height : 1920
ARGB offset : 0 24 16 8
ARGB length : 8 8 8 8
yoffset : 0
buffer offset : 0
padding : 0
Framebuffer Pixel Format: 3
Saved image to /tmp/screen.png

I'm not a big fan of salad.

Especially "pixel salad":p

We must be getting close though....

Edit: At least I can save it now. How about some different pad=<?> options?
[Android Software Development] Phil3759:
I will look at your kernel sources

The real issue is the segfaulting with padding of 8
[Android Software Development] ketut.kumajaya:
[MENTION=4666971]Phil3759[/MENTION] Any idea why https://github.com/kumajaya/philz_touch_cwm6/blob/cm-11.0/extendedcommands.c#L1512 fail to format my SD card as ext4? Using exactly same command works over "adb shell" :confused:

EDIT: It's related to f2fs merge, derp. I will fix it by myself :D
[Android Software Development] Ruling:
[Ace][CWM Advanced Edition] PhilZ Touch 6.22.1

Download:

PhilZ_Touch_Recovery_ 6.22.1_ace .img - 5.84 MB
[Android Software Development] ketut.kumajaya:
[MENTION=4666971]Phil3759[/MENTION] https://github.com/kumajaya/philz_touch_cwm6/commit/1dd53a93343062e154c7789d057c129adebebd13
[Android Software Development] DoctorQMM:
[MENTION=4666971]Phil3759[/MENTION].... how can we tell if a specific device has been picked up for contined PhilZ CWM development from a Dev? The local thread has been quiet for a month (ATT Note2 t0lteatt). Thx.
[Android Software Development] Phil3759:
[MENTION=4675598]shoey63[/MENTION]

New version fb2png

adb push fb2png /sbin
adb shell chmod 0775 /sbin/fb2png
adb shell fb2png /tmp/screen.png
adb pull /tmp/screen.png

If it fails, try under adb shell:

fb2png -pad=8 -buffer=0 /tmp/screen.png

And

fb2png -pad=8 -buffer=1 /tmp/screen.png
[Android Software Development] Bhargav97:
Sorry to jump in between :p

I just wanna ask... is this fb2png for screenshots?

Can it be included in advanced version?
[Android Software Development] Phil3759:
yes,

you can try it from adb shell commands

However, advanced version has no touch support
[Android Software Development] Bhargav97:
Yes, you are right.

But, can we assign a key for this work? Our device has a total of 13 hard keys :p as I said long ago. So, can we assign anyone to take a screenshot?

And...if yes, can you just hint out?
[Android Software Development] Phil3759:
https://github.com/PhilZ-cwm6/philz_touch_cwm6/blob/cm-11.0/default_recovery_keys.c
[Android Software Development] Bhargav97:
Seems complex at first sight! o_O LoL

But, will try to modify it. Please remember, I'm a C noob. :p
[Android Software Development] Phil3759:
open a book

for each command do:

google "command manpage"

read manpage

take a few weeks to follow the code sources in recovery to better understand it

i am not aware of any faster way. Took me 16 months to do all this!
[Android Software Development] danarama:
Yep, no shortcuts. All depends how much drive and free time you have but in the end, you get out what you put in. I've only dabbled with code myself but for 2 years. I get some of it and not others. More at home with bash myself
[Android Software Development] shoey63:
Pure black screenshot each time
[Android Software Development] pqee:
I'm on a D803 and about 90% of the time recovery loads to a solid black screen. It still responds to touches and vibrates so it's loaded, just not visible. Can even do automated installs with ROM Toolbox fine, just can't see anything until it reboots itself.

Waiting for the 3 min screen off timeout then pushing power brings the display back to normal.

TWRP 2.6.3.4 > 6.19.7

TWRP 2.6.3.4 > 6.19.3 > 6.19.7

Both ways have the same problem as soon as yours gets installed.

Another D803 user reported the same problem.

Any ideas?
[Android Software Development] Phil3759:
Hope you continue to be patient and provide logs

We got it fixed on Nexus 5, S4, S2, Nexus 4...

Only the yuga is having a bad time

Here's another fixed version for the segfault

Please provide same tests:

adb push fb2png /sbin
adb shell chmod 0775 /sbin/fb2png
adb shell fb2png /tmp/screen.png
adb pull /tmp/screen.png

If it fails, try under adb shell:

fb2png -pad=8 -buffer=0 /tmp/screen.png

fb2png -pad=8 -buffer=1 /tmp/screen.png
[Android Software Development] Unjustified Dev:
[MENTION=4666971]Phil3759[/MENTION] I brought you some more devices. Currently you have to delete the previous codinalte I've just made it a common tree for variants of similar devices

Recovery changes

https://github.com/Team-Exhibit/philz_touch_cwm6/commits/cm-11.0

Common device tree/Codinalte device tree. Inspired by d2lte with apexqtmo and expressatt :)

https://github.com/Team-Exhibit/android_device_samsung_codinalte

Device Golden/S3 MINI

https://github.com/Team-Exhibit/android_device_samsung_golden

Kernel Golden

https://github.com/Team-Exhibit/android_kernel_samsung_golden

Device Skomer/ Galaxy X Cover 2

https://github.com/Team-Exhibit/android_device_samsung_skomer

Kernel Skomer

https://github.com/Team-Exhibit/android_kernel_samsung_skomer
[Android Software Development] gmenelau:
hi

any chance for Samsung galaxy Core Plus G350 ?
[Android Software Development] Phil3759:
Feel free to compile and release under your own threads. I can no longer maintain all.

Just post a link to img files or zip i can upload to goo.im
[Android Software Development] Phil3759:
fb2png new update for [MENTION=4675598]shoey63[/MENTION]
[Android Software Development] shoey63:
Test log

Android Screenshooter - fb2png

Author: Kyan He <kyan.ql.he@gmail.com>

Modified by Phil3759 & McKael [MENTION=243864]xda[/MENTION]

version 0.0.2 ---> v0.0.8 <2014>

fb2png -pad=-1 (auto) -buffer=-1 (auto) /tmp/screen.png

bpp : 32

size : 8294400

width : 1080

height : 1920

ARGB offset : 0 24 16 8

ARGB length : 8 8 8 8

bytespp : 4

yoffset : 1920

buffer offset : 8355840

padding : 8

padding done(8355840)

Framebuffer Pixel Format: 3

Saved image to /tmp/screen.png

C:\android-sdk\sdk\platform-tools>adb pull /tmp/screen.png

5793 KB/s (370203 bytes in 0.062s)

Test screenshot

:victory:
[Android Software Development] danarama:
Yay!
[Android Software Development] Phil3759:
Once again, many many thanks

And **** the trolls laughing at this ;)
[Android Software Development] shoey63:
Are you pushing a new update as we speak?
[Android Software Development] Phil3759:
No, caring my life

Will push later in afternoon or tomorrow. The core part is not me. Have to review the code and let it be reviewed by Mckael

Are you sure it was with latest 1mb size version?

Also can you still test the last smaller version before it out of curiosity?
[Android Software Development] shoey63:
I just used the latest one in the thread(Not the PM'd one)
[Android Software Development] Phil3759:
Ah, great

So my fix worked also

Please i need you to test the one in pm

It uses a completely different, more proper and faster algorithm
[Android Software Development] carlusmagnus:
Change CWM

Hi Phil,

I come from HTC HD2 with touch recovery and when buy galaxy s2 the first thing is change stock rom with a kitkat.

At last a touch recovery for Kitkat. Good work.

My question is this. When I try a new rom everytime this, change CWm too with one's default.

it's possible to avoid this?

Thanks
[Android Software Development] danarama:
No. S2 has no /recovery partition. Its built into kernel. Flash rom flashes kernel.

Flash both zips whilst in recovery. Philz has multiple batch flash options. For support, please post in your s2 thread
[Android Software Development] abadan:
hi .

galaxy tab 8.9 please
[Android Software Development] Phil3759:
fb2png v2.0.0 - Final candidate

Sources and credits coming out soon when [MENTION=4464223]McKael[/MENTION] is done reviewing it
[Android Software Development] McKael:
Looks good to me... Hopefully this one will work for everybody! :)

Envoyé de mon Nexus 5 en utilisant Tapatalk
[Android Software Development] danarama:
Assume it should still work for other devices? I'm not in a position to test right now.
[Android Software Development] hachamacha:
[MENTION=643734]Philz[/MENTION]:

Any reason why /persist isn't a backup/restore choice on the msm8960 stuff. I've got someone in the msm thread asking about it. I see how it works in the code and how it might be pushing the 'layout' abilities to add, but was wondering if there's stuff beyond that? It's already in recovery.fstab and is mountable via 'mounts/etc'.

Thanks much -
[Android Software Development] spanitzer:
Please port this wonderful Recovery to the MeMo Pad HD 7!

Gesendet von meinem ME173X mit Tapatalk
[Android Software Development] Phil3759:
6.22.5 (22.03.2014)

Huge thanks to [MENTION=4464223]McKael[/MENTION] for his impressive work in fixing fb2png core to support most new devices
[Android Software Development] Bhargav97:
Hi Phil3759,

You're really aggressive in providing updates. :p LoL

I just wanted to know:

Can you include screenshot option in Advanced Only versions by default using any Key combination like: [VOL-UP]+[VOL-DOWN] OR [VOL-DOWN]+[BACK].

OR

you can add an option here:

> philz settings > Take screenshot

Such that after selecting this option, it will take a screenshot in next 3 seconds or 5 seconds.

I'm demanding because nowadays many devices have to still use Advanced versions. I myself ported to 5 devices which have to use Advanced version only because all of them are armv6.

Seems like a huge code rework needed for this. But still, I'm just asking if it will be possible for you to do this.

Thanks again for your hardwork...
[Android Software Development] Phil3759:
For the 5 seconds timer, you need a thread probably

Add the menu screen shot that will start a thread with a 5 seconds pause then a call to __system(cmdline) where cmdline is the fb2png command line
[Android Software Development] danarama:
My version says 6.22.7. Gesture for screenshot states "fb2png not supported on this device!" Git not up to date fully yet?
[Android Software Development] Phil3759:
seems like I ****ed up something

Will fix it asap
[Android Software Development] danarama:
Please, don't rush. Have some "life time".

Not sure if it's the libtouch_gui that needs updating? That binary is the only match for that phrase according to grep
[Android Software Development] Phil3759:
no, it is the flags

For now, just add this to your device:

BOARD_USE_FB2PNG := true

In fact, even if you set it to false, it will enable it but won't compile the fb2png binary

I will fix the flags in a next commit
[Android Software Development] danarama:
Super, thanks!

boardconfig?
[Android Software Development] shoey63:
Confirmed working on Yuga:good:
[Android Software Development] danarama:
I'm compiling again now. if you're going to, please see above post
[Android Software Development] shoey63:
/bootable/recovery/boardconfig/BoardConfig.mk

Add

BOARD_USE_FB2PNG := true

to line 501 ;)
[Android Software Development] danarama:
I was making sure you saw that it needed adding in case you were planning on compiling ;) Thanks though.

---------- Post added at 12:17 AM ---------- Previous post was at 12:00 AM ----------

Sorry, I've just re-read this. Actually I put mine in /device/lge/hammerhead/BoardConfig.mk under the "recovery" section.

Not sure if this makes any difference, but it's working great.
[Android Software Development] hachamacha:
In order to build the latest without errors I had to change an selinux declaration to the more recent format with flags. Does that seem OK?

Here's a diff from yours to my changed one:

--- /home/mstein/Android/cm11/out/target/product/moto_msm8960/obj/include/selinux/android.h.orig	2014-03-22 17:57:47.256842000 -0700
+++ /home/mstein/Android/cm11/out/target/product/moto_msm8960/obj/include/selinux/android.h	2014-03-22 17:55:14.351257247 -0700
@@ -30,7 +30,7 @@
const char *seinfo,
uid_t uid);

-extern int selinux_android_restorecon(const char *file);
+extern int selinux_android_restorecon(const char *file, unsigned int flags);

extern int selinux_android_seapp_context_reload(void);

edit: I set screenshots to a gesture and tested it. Works great! Many thanks.
[Android Software Development] ketut.kumajaya:
The previous version works on Tab 3 8.0 but not enabled by default. I will recompile this new version and report back.

EDIT: Updated fb2png works great on Tab 3 8.0. But https://github.com/kumajaya/philz_touch_cwm6/commit/e7808f8be127fb6acb45c696faa909433071ac49 needed.

[MENTION=4666971]Phil3759[/MENTION] Added recovery.xml to my local_manifests:

<?xml version="1.0" encoding="UTF-8"?>
<manifest>
<remote name="philz" fetch="https://github.com/" />
<remove-project name="CyanogenMod/android_bootable_recovery" />
<project path="bootable/recovery" name="PhilZ-cwm6/philz_touch_cwm6" remote="philz" revision="cm-11.0" />
</manifest>

so "repo sync" always maintain my local repository but I have to use --force option to push my local commits to https://github.com/kumajaya/philz_touch_cwm6 :( Any solution for this problem?
[Android Software Development] Phil3759:
i merged a few hours ago the fix from [MENTION=4021423]ketut.kumajaya[/MENTION]

You must repo sync then tepo clobber

You must repo init in a separate path. It is how i did.

About fb2png

Either i rename the flag to BOARD HAS NO FB2PNG or i implement a proper code to support both true and false statements

Think i am going with second to avoid revising in sources flags
[Android Software Development] impactor:
I'm curious about something. It's supposed to now support F2FS, but when I check it form within adb shell, it doesn't show up on the list of supported filesystems:

# cat /proc/filesystems
nodev	sysfs
nodev	rootfs
nodev	bdev
nodev	proc
nodev	cgroup
nodev	tmpfs
nodev	debugfs
nodev	sockfs
nodev	pipefs
nodev	anon_inodefs
nodev	rpc_pipefs
nodev	devpts
ext3
ext2
ext4
nodev	ramfs
vfat
exfat
nodev	ecryptfs
nodev	sdcardfs
nodev	nfs
nodev	nfs4
nodev	cifs
ntfs
fuseblk
nodev	fuse
nodev	fusectl
nodev	selinuxfs
[Android Software Development] ketut.kumajaya:
I will manually maintain remote philz_touch_cwm6 as I did for my device tree, remove your comments from my github is really a bad idea ;) I'll change my recovery.xml to:

<?xml version="1.0" encoding="UTF-8"?>
<manifest>
<remote name="kumajaya" fetch="https://github.com/" />
<remove-project name="CyanogenMod/android_bootable_recovery" />
<project path="bootable/recovery" name="kumajaya/philz_touch_cwm6" remote="kumajaya" revision="cm-11.0" />
</manifest>

And no source level change in my patch https://github.com/kumajaya/philz_touch_cwm6/commit/e7808f8be127fb6acb45c696faa909433071ac49 ;)
[Android Software Development] ketut.kumajaya:
In kernel f2fs filesystem support needed.
[Android Software Development] shoey63:
This is actually a brilliant tip.:D

Did the same myself, and it works great -no more copy and paste :thumbup:

Thanks:)

And. [MENTION=4666971]Phil3759[/MENTION] screenshot in recovery is working beautifully:beer: