yashsingh1/xdaforums huggingface dataset:
[Nexus 4 Original Android Development] eris23:
6.57.9 http://xdaforums.com/showpost.php?p=55491637&postcount=5490

https://drive.google.com/folderview?id=0BxYe-w599Fv6YS1FTG0wbE1RLW8&usp=sharing

https://app.box.com/s/cg1zrrscm05n8z5cpwnt

https://mega.co.nz/#F!nMpwiYTJ!JaYCJI5UHDa-gqZQgxx9zQ

https://www.mediafire.com/folder/ae0w2z3p2kyl1/philz_touch_6.57.9-mako
[Nexus 4 Original Android Development] k500zm:
Was tidying up my backups in Philz - trying to get a file from an old cwm backup I had copied over

so I tidied up only having one I did with Philz left in the end

I rebooted the phone and it was stuck on the google screen so I rebooted to Philz

Then I tried to restore the only backup left

and it came up with a md5 error - I nearly shat myself thinking it was a mismatch error

until I noticed on trying again it was an md5 missing error - so I paniced for a bit - then noticed there is an option to generate a new md5

so I did that - and it worked like a charm :victory:

edit - ok I have wasted my whole day on this - PhilZ Touch has just ruined all my backups

It says all is fine when backing up - BUT when I try and restore 5 minutes later there is always ERROR.

F*CK THIS I'M USING TWRP :(
[Nexus 4 Original Android Development] lalec:
That's odd, after TWRP messed up my phone I started using Philz Touch on every phone my family owns and it has worked successfully several times for us. Good luck.
[Nexus 4 Original Android Development] k500zm:
I can only tell you my own experience and after that now is use twrp & it works perfectly

---------- Post added at 12:28 PM ---------- Previous post was at 12:24 PM ----------

oh and by the way editing my words to say something I've never said is gonna get you in BIG trouble
[Nexus 4 Original Android Development] lalec:
Chill out. I am not a moderator and I changed nothing of yours. Perhaps a moderator did though. I'm happy for you that you found a noob friendly recovery thatworks for you.
[Nexus 4 Original Android Development] k500zm:
You patronising c*n* - I made backups with Philz and they refused to restore 5 minutes later - simple - end of.
[Nexus 4 Original Android Development] Adizzzle:
Workin' good here! Love this customization!
[Nexus 4 Original Android Development] eris23:
WARNING! My phone's in for repairs -- I wasn't able to test this. If someone installs this, please post results.

6.58.0 http://xdaforums.com/showpost.php?p=55842367&postcount=5567

https://drive.google.com/folderview?id=0BxYe-w599Fv6SzNpdERLYjlCYTQ&usp=sharing

https://app.box.com/s/kl0y7341syn17fwxods8

https://mega.co.nz/#F!KA5i3aiY!JpH36juNs7u3LYd9_08IuQ

https://www.mediafire.com/folder/9i9n93q6xedur//philz_touch_6.58.0-mako
[Nexus 4 Original Android Development] ngr.hd:
Works perfect for me!
[Nexus 4 Original Android Development] eris23:
WARNING! My phone's in for repairs -- I wasn't able to test this. If someone installs this, please post results.

WARNING! WARNING! I was unable to build a ROM incorporating this recovery (possibly due to changes allowing audio during boot animation). In other words, install with caution -- and please, if you do install it, post the result.

6.58.4 http://xdaforums.com/showpost.php?p=55966588&postcount=5601

https://drive.google.com/folderview?id=0BxYe-w599Fv6M1VUbW5FLURwVk0&usp=sharing

https://app.box.com/s/3q3bxbsjtsgt2064me9w

https://mega.co.nz/#F!bc5RmJwZ!0YQkgLRonyBwZXsveJuvKQ

https://www.mediafire.com/folder/7ekyovoy1vvkt/philz_touch_6.58.4-mako
[Nexus 4 Original Android Development] eris23:
WARNING! My phone's still in for repairs -- I wasn't able to test this. If someone installs this, please post results.

6.58.7 http://xdaforums.com/showpost.php?p=56006336&postcount=5626

https://drive.google.com/folderview?id=0BxYe-w599Fv6WVpWbG5yX0hjREE&usp=sharing

https://app.box.com/s/t2kek8j0ijcrhqrbhx2l

https://mega.co.nz/#F!zI4SjCpK!JAZZE86y7STaqE033OkJIA

https://www.mediafire.com/folder/f5184r16njiyi//philz_touch_6.58.7-mako
[Nexus 4 Original Android Development] txuki2005:
All go fine with last version...teste along two weeks.

Thansk for all work.
[Nexus 4 Original Android Development] Face1ess:
Well ima never faced any troubles with this recovery since i start to use it. (1.5 years mako user)
[Nexus 4 Original Android Development] Adizzzle:
Agreed, this Recovery is solid!

NêXûs⁴
[Nexus 4 Original Android Development] d9ny:
This recovery is amazing
[Nexus 4 Original Android Development] jacomail95:
Dear Eris23, the latest PhilZ version is 6.59, maybe can we have a test version or anyway a compiled build? Only if you can do it, of course :) thanks for your past work :)

Inviato dal mio Nexus 4 con Tapatalk 2
[Nexus 4 Original Android Development] eris23:
I'm not in a position to compile new versions of philz touch. Sorry.
[Nexus 4 Original Android Development] d9ny:
We waiting for new compilation of philz from you...please..btw thanks
[Nexus 4 Original Android Development] jimyiak:
Which is the default backup folder and how can i copy my backup to and from my pc??i don't see clockwork folder in sd card..

sent by nexy 4
[Nexus 4 Original Android Development] d9ny:
If you root try to check /data/media/0/clockworkmod, there should be a backup folder where your backup file saved...to copy to pc use adb push/pull cmd..hope this help you..
[Nexus 4 Original Android Development] Sir_gpm:
Love this version, does this exist for bacon?
[Nexus 4 Original Android Development] l33ch0r:
Hi together,

I have got a small issue and hope somebody can point me in the right direction.

I'm on CM12 Lollerpop and wanted to make a backup of my ROM. Recovery backed up and everything but the output was a 0.00B file in /sdcard/clockworkmod/.../

I deleted it since it was useless (earlier a backup of this ROM was created but for some reason it skipped /system).

Anyways now I have switched to TWRP but somewhere on my device must still be a ~3GB backup which was created by this recovery.

It is not somewhere on /sdcard, it must be somewhere else. But I obviously can't seem to find it.

Not in /data/media/0/clockworkmod either.

Does anybody have an idea as to where I could find it? Thanks in advance ;)

Edit:

Found out that the corrupted backup I deleted was still in the Recycle Bin (ES File Explorer offers this ) and I was not able to delete it. So I deleted it in Recovery and all of a sudden I got 6 GB available instead of just 1,9GB before :-o
[Nexus 4 Original Android Development] eris23:
USE EXTREME CAUTION! Not tested. I still don't have a functional Nexus 4 (I switched to a OnePlus One). Brave/stupid testers please post results.

philz_touch_6.59.0-mako https://www.dropbox.com/sh/wddqykqxn8opn6b/AABEDywwu6qOQgKig1itVpoga?dl=0

philz_touch_6.59.0-mako.zip https://www.dropbox.com/s/czb25fmk4qdacjj/philz_touch_6.59.0-mako.zip?dl=0

philz_touch_6.59.0-mako.zip.md5 https://www.dropbox.com/s/u9ae58estotdty1/philz_touch_6.59.0-mako.zip.md5?dl=0

recovery.img https://www.dropbox.com/s/00ydyujmijahny8/recovery.img?dl=0

aromafm_mako.zip https://www.dropbox.com/s/yo3zc1bthzxm1ax/aromafm_mako.zip?dl=0

changelog.txt https://www.dropbox.com/s/zvw6jwmxop746jf/changelog.txt?dl=0
[Nexus 4 Original Android Development] jacomail95:
Thank you sooo much for the update ;)

Inviato dal mio Nexus 4 con Tapatalk 2
[Nexus 4 Original Android Development] d9ny:
Works good on me...thanks man, i've been waiting for this update
[Nexus 4 Original Android Development] Zephead:
recovery.img worked for me, thanks!
[Nexus 4 Original Android Development] N3V3RS3TTL3:
Everything works as it should. Thank you for the update, much appreciated!
[Nexus 4 Original Android Development] spider623:
are you taking over?
[Nexus 4 Original Android Development] eris23:
Phil3759 stopped development upstream. His last build was 6.59.0. My last (and much delayed) build for mako from his source was the same.
[Nexus 4 Original Android Development] jacomail95:
Please i accidentally erased my internal storage, so i have to re-download all my files, can you kindly re-upload 6.59 recovery?

Inviato dal mio Nexus 4 con Tapatalk 2
[Nexus 4 Original Android Development] chenshaoju:
Here is I'm using version,Check MD5 and SHA1 before use it:

philz_touch_6.59.0-mako.zip

MD5:f3c06a1670d6ee6ab8ceebbb319d7a22

SHA1:486f2b529d9d521fdb173e56eaf1a156cf251004
[Nexus 4 Original Android Development] Phil3759:
Flashable zip version:

http://www.mediafire.com/file/5orgm8gur5csal0/philz-touch-4.91.5-mako.zip

@casonswag: see updater-script for the difference with dd

Otherwise, anyone tested aroma file manager if it works?

If not, it could be I have to use stock kernel/ramdisk. Just let me know

Also, if someone can test screen shot debug steps I posted above, let me know
[Nexus 4 Original Android Development] ddloco:
Re: [Nexus 4][CWM Advanced Edition] PhilZ Touch - Now stable

Just installed cool recovery thanx philz

PS I didn't use .zip I did use flash image gui

Sent from The Department Of Nexus 4 Life

TDON4L
[Nexus 4 Original Android Development] Bloodflame:
Just flashed from CWM with the flashable zip. Didn't do too much with it yet, but it seems to be functioning quite well. Nice feature set! Keep up the great work. If I must mention one thing though, screenshots appear to work, however I can't find them. I took two, it said they saved to /sdcard/clockworkmod/something but the clockworkmod folder doesn't even exist. Even after rebooting and trying again, the counter went up but I'm still unable to locate the files. :confused:
[Nexus 4 Original Android Development] casonswag:
Re: [Nexus 4][CWM Advanced Edition] PhilZ Touch - Now stable

Try this location View attachment 1845226

NEXUS⁴
[Nexus 4 Original Android Development] Bloodflame:
Ah, that worked! I'm still new to the N4, so I still have a few things to learn :p

Anyway, I went to that folder, however the screenshots aren't there :eek:
[Nexus 4 Original Android Development] Phil3759:
Please, for screen capture, refer to this:

Debugging screen capture how to:

adb shell
# you should have root access here, else, use this command
# adb root

mount /system
fb2png /data/local/test.png

and report if any error after last line

Now, if it seems hard for you, I can release a version which will write the logs so that you can post them here
[Nexus 4 Original Android Development] Bloodflame:
There were no errors, however the image still didn't save even after claiming it did.

adb - http://i.imgur.com/OVRzSs3.jpg

/data/local - http://i.imgur.com/6Ke3b9p.png
[Nexus 4 Original Android Development] Phil3759:
:good:

/data could not be mounted, as it is not by default in recovery. Try this, in recovery

adb shell
mount /system
mkdir -p /tmp
fb2png /tmp/test.png
cd /tmp
ls

after ls, you should see the test.png if it works, otherwise, it could be some BGRA or the like issue...

Let me know. If you get the test.png, we would be able to see if it is a path/mount issue
[Nexus 4 Original Android Development] Bloodflame:
Nope. Didn't save... All the commands went through just fine, but the only file I see is recovery.log

Also, after booting back into Android, the tmp folder isn't even there anymore, or was this to be expected?

Now you have me curious whether this is an issue with my device or if it's just the recovery :confused:

Unfortunately, I have to go to sleep now due to work later today, but I'll come back to this thread tomorrow.
[Nexus 4 Original Android Development] Phil3759:
Re: [Nexus 4][CWM Advanced Edition] PhilZ Touch - Now stable

/tmp is volatile

It could be the RGBX format or other gui part.

Last hope.

adb shell
mount /data
cp /sbin/fb2png /data/local
chmod 0755 /data/local/fb2png

reboot into main system

Open terminal

su
/data/local/fb2png

You should have a png saved in /data/local
[Nexus 4 Original Android Development] trentreed:
ADB Sideload work?

Does ADB sideload work on this recovery?
[Nexus 4 Original Android Development] Phil3759:
it should, yes, just moved it to Install ZIP menu
[Nexus 4 Original Android Development] Phil3759:
I looked at fb2png source and it should support RGBX. If not, it would have errored. I am not sure where is the issue, but please try above quoted steps
[Nexus 4 Original Android Development] ddloco:
Re: [Nexus 4][CWM Advanced Edition] PhilZ Touch - Now stable

Can you please make this compatible with this

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

Thanx dawg

Sent from The Department Of Nexus 4 Life

TDON4L
[Nexus 4 Original Android Development] Phil3759:
It works but a bit dumb...

In CWM mode: you must have a root explorer to browse down to /sdcard path if you have one. It will not recognize any /mnt/...

Or, set it up to TWRP mode since my recovery is also compatible with TWRP: this recovery will automatically convert any /mnt/sdcard or /storage/sdcard0 to fix the issue

Finally, I find goomanager way better to flash zips in a raw. Give it a try and it is free
[Nexus 4 Original Android Development] casonswag:
Re: [Nexus 4][CWM Advanced Edition] PhilZ Touch - Now stable

Quick question how come when i go to reboot system a option comes up to restore recovery settings everytime i reboot system ? Is there a way to remove that or something?

NEXUS⁴
[Nexus 4 Original Android Development] Bloodflame:
Sorry for such a delay, but I tried those commands from your recovery. I'm unable to mount /data

adb devices
******* recovery
# I do this every time just to verify everything is working

adb shell
mount /data
mount: mounting /dev/block/platform/msm_sdcc.1/by-name/userdata on /data failed: Device or resource busy

I went on to mount /system just to make sure something else wasn't going on, and /system mounted just fine.

I'm honestly not sure if the problem is just my device or if maybe something isn't right in the recovery. I'm only providing this information in case something really is wrong, so you can look into it. I just bought my N4 not too long ago, so I'm still trying to learn some things. Just look at my signature - I'm not necessarily a stranger to Android, and I'm happy to assist in debugging. I'm comfortable with ADB, so I don't mind being a bit of a guinea pig for you. Just thought I'd throw in those 2 cents. :)

Should I try flashing back to CWM or TWRP to see if I can mount /data from there? That might be one way to eliminate my device as the issue.

FYI, Maybe I should point out that I'm running AOSPA3+ for my ROM. I checked /sbin from within the ROM and didn't see fb2png at all. But I imagine that's due to the ROM and recovery using a different filesystem (or something like that). Yes, maybe? :confused:

At the very least, I hope my input is helping.
[Nexus 4 Original Android Development] Phil3759:
Re: [Nexus 4][CWM Advanced Edition] PhilZ Touch - Now stable

/data is mounted on data/media devices, that's why

Forget about fb2png, it is buggy on rgbx devices. Maybe i will be able to fix it, but nothing sure

Thank you for your help
[Nexus 4 Original Android Development] McKael:
Re: [Nexus 4][CWM Advanced Edition] PhilZ Touch - Now stable

Your device is fine, /data is actually already mounted.

The problem here is in fb2png itself, which does not support the N4 image format (ABGR).

It would probably be easy to add, but it requires a build environment (and the binary should be linked to libpng).
[Nexus 4 Original Android Development] Bloodflame:
So in other words, recovery screenshots aren't going to work at all with the N4 as long as fb2png has compatibility issues? If that's the case, maybe you should update the OP to avoid the subject being brought up again :p

Well, you're welcome for testing that out for you. On the other hand, everything else in the recovery seems to be working nicely :) I like it!
[Nexus 4 Original Android Development] McKael:
Yes, correct.

Sounds like a good idea :)

I'm sure Phil3759 will ask for testing if we can manage to build an updated fb2png binary...
[Nexus 4 Original Android Development] Phil3759:
Re: [Nexus 4][CWM Advanced Edition] PhilZ Touch - Now stable

You already helped a lot there through pm :thumbup:
[Nexus 4 Original Android Development] McKael:
Here we are! I have a working fb2png binary. It's rather big since I had to build it statically or it wouldn't run on the Nexus, but at least it is working.

Here's a screenshot of the custom backup menu as requested in the OP.

The binary is available there along with the code change required for the Nexus FB image format.
[Nexus 4 Original Android Development] McKael:
Following up...

I've uploaded a new version at the same place, built dynamically with a clean toolchain. Size is now 54kB :)

I've only tested the binary from adb (/system has to be mounted for the shared libs) but it seems to work fine!
[Nexus 4 Original Android Development] Phil3759:
You did a great job here.

Thank you for all the support through email (back to you with :good: when the 8 daily limit is reset)

I will keep your bins and repack next update with them

I am also going to patch the source to improve support for non defined PIXEL_FORMAT, if any... (work or break)

If you can push the changes to original google repo, it would be great, include the support for RGBX. It's ok for me. So that author can eventually merge them

Otherwise, I will do once I improve code a bit more
[Nexus 4 Original Android Development] McKael:
Thanks, waiting for next update then :)

Do you mean report an error and do not claim the image has been saved, or something else?

Ok, I'll try to push the patch to upstream repository on Google Code.

Regarding RGBX... Is it the same as RGBA8888 but with an empty byte in place of alpha?

I'll PM you about that, but yes I can add support for this pixel format as well.
[Nexus 4 Original Android Development] Phil3759:
All said by email ;)

RGBX in CM source is just ABGR
[Nexus 4 Original Android Development] Bloodflame:
Wow, this is great news! Fantastic work to both McKael and Phil3759!! Can't wait for the next update :D
[Nexus 4 Original Android Development] yethz:
Re: [Nexus 4][CWM Advanced Edition] PhilZ Touch - Now stable

Loved it. Tried to backup and restore. Working great + customization is awesome.

Thank u PhilZ and to others who helped and contribute to make things better.

Now I cant let go my Nexus 4 ;)

=[ Nexus 4 is all that I need ]=
[Nexus 4 Original Android Development] yyz71:
Re: [Nexus 4][CWM Advanced Edition] PhilZ Touch - Now stable

Frickin love this :thumbup:

Sent from my Nexus 4 using Xparent BlueTapatalk 2
[Nexus 4 Original Android Development] pro.aggro:
Is it possible to change the "stock" backup folder to /sdcard/clockworkmod and not data/media/.. ?
[Nexus 4 Original Android Development] Phil3759:
Re: [Nexus 4][CWM Advanced Edition] PhilZ Touch - Now stable

What is the difference?
[Nexus 4 Original Android Development] pro.aggro:
AW: [Nexus 4][CWM Advanced Edition] PhilZ Touch - Now stable

I can easy copy the backups from the sdcard to my computer without using adb.

Sent from Nexus 4 powered by PAC
[Nexus 4 Original Android Development] Phil3759:
You cannot on Nexus 4. /sdcard is just a link to /data/media

Not mountable through USB under recovery, only ROM

You need a phone with external storage
[Nexus 4 Original Android Development] pro.aggro:
AW: [Nexus 4][CWM Advanced Edition] PhilZ Touch - Now stable

I don't want to mount it under recovery ;)

Sent from Nexus 4 powered by PAC
[Nexus 4 Original Android Development] gee2012:
Nice to see you here, used your recovery on the S3 and just installed iton the N4. Always worked great in the past. Keep up the good work :good:
[Nexus 4 Original Android Development] Phil3759:
Maybe I am missing something here!

Try to describe exactly your issue keeping in mind I do not have a Nexus 4 phone

What steps

exactly

you are trying to do and fail
[Nexus 4 Original Android Development] pro.aggro:
AW: [Nexus 4][CWM Advanced Edition] PhilZ Touch - Now stable

I just want to copy my backups to my pc. They are saved under data/media/ClockworkMod or TWRP

I can't reach this from my pc directly.

sdcard/ClockworkMod or TWRP (like it is in the original one) would be easy

You mean data/media/0 this is = sdcard.

But the Backupfolder is without the 0

Sent from Nexus 4 powered by PAC
[Nexus 4 Original Android Development] Phil3759:
Argf

I see now. Nexus 4 is JB 4.2 based, so there is the 0

The target path was not modified by me, it is like stock one

Where does the original stock clockworkmod put the files?
[Nexus 4 Original Android Development] pro.aggro:
AW: [Nexus 4][CWM Advanced Edition] PhilZ Touch - Now stable

I think cwm uses data/media too but original TWRP goes to data/media/0 aka sdcard :D

I used TWRP from the beginning so i know. I'm not sure with cwm.

Sent from Nexus 4 powered by PAC
[Nexus 4 Original Android Development] Phil3759:
Well, TWRP implemented a fix for that

Koush said on his google+ that he was looking at a good way to implement this

I was a bit lazy to implement my own fix while the dev from CWM said he was looking at it. That is, I'd have to revert my changes if his fix ends up better (which is to be expected :D)

So, we'll see. If Koush/CM team take ages to add it, I will
[Nexus 4 Original Android Development] hsrn:
AW: [Nexus 4][CWM Advanced Edition] PhilZ Touch - Now stable

being able to place amorafm.zip in "data/media/0/clockworkmod/..." would also be a big advantage.
[Nexus 4 Original Android Development] Phil3759:
Well, for now, it will continue like stock CWM, that is using root path /sdcard and not the multiuser /sdcard/0

Just put your clockworkmod folder there and all should be fine

After I am done with a bit of my todo list, I will look at this, if CM team did not meanwhile...

I will push the most recent update for Nexus 4 tomorrow. You can already look at the change list and updated credits in main thread (link in op)
[Nexus 4 Original Android Development] McKael:
I actually like the current behavior, since the backups are not mixed with the regular user data...

Whatever default you might choose, what about an option to override the location in the new philz_installer.cfg file?
[Nexus 4 Original Android Development] Phil3759:
philz_installer.cfg is only related to i9100/n7000, has no effect here for now and is not included for other devices

I did not get what you mean also by override location
[Nexus 4 Original Android Development] McKael:
Yes, and I've realized it's used by the updater-script, so it wouldn't be the best place anyway.

I mean letting the users choose where they want the clockworkmod folder to be located (then for example we could even put the backups on a specific subfolder from external SD card for devices that support it).
[Nexus 4 Original Android Development] Phil3759:
I am looking at it.

It is not that difficult to implement, maybe I'll finally do it and make it public
[Nexus 4 Original Android Development] Phil3759:
4.92.3 (03.04.2013)

- properly set time for all recovery session: this will now apply to the time stamp of any file modified (logs, backups...)

- add Daylight Saving Time support

4.91.9 (03.04.2013)

- merge and fix fb2png source: now built as static binary and compatible with RGBX devices (Nexus 4...)

special thanks for this to McKael and a huge thumbs up to talustus for his great support

- silent failure when formatting non existing /sd-ext volume

- use statfs instead of stat in nandroid operations

- misc fixes

- i9100/n7000 zip installer: option to skip flashing superuser using philz_installer.cfg

- i9100/n7000: disable init binary substitution from older LSJ (aka /data corruption bootloop fix)

- i9100/n7000: update clockworkmod superuser to 1.0.1.7 (security fix)

Download v4.92.3:

http://www.mediafire.com/file/1qdegbuijosv68c/philz_touch_4.92.3-mako.zip
[Nexus 4 Original Android Development] yethz:
Re: [Nexus 4][CWM Advanced Edition] PhilZ Touch - Now stable

Hope the recent updates fixes the symlink problem when I flash roms e.g. AOKP_PUB, switch to Official CWM and it flashes no problem.

Downloading now and try to flash again aokp later on. Thanks.

Edit:

Still cant flash aokp_pub rom. It says, symlink missing, but on official cwm it works w/o any issues.

=[ Nexus 4 + AOKP_PUB + MATRIX ]=
[Nexus 4 Original Android Development] Phil3759:
Re: [Nexus 4][CWM Advanced Edition] PhilZ Touch - Now stable

Can you explain a bit?

Download link for your rom

Advanced /error report and attach the log here