yashsingh1/xdaforums huggingface dataset:
[Nexus 4 Original Android Development] port76:
Re: [Nexus 4][CWM Advanced Edition] PhilZ Touch - Now stable

sometimes I'm having problems installing zips I get a status 7 error but I can manage to install but it takes a few goes:D
[Nexus 4 Original Android Development] Phil3759:
Re: [Nexus 4][CWM Advanced Edition] PhilZ Touch - Now stable

This is useless for me until you provide a log and link. Read my post before yours please
[Nexus 4 Original Android Development] dan96815:
Hi, you have a great recovery, I have the status error 7 too sometimes flashing a ROM, for me to fix it I just go into advanced and reboot recovery and it flashes after that
[Nexus 4 Original Android Development] Phil3759:
Re: [Nexus 4][CWM Advanced Edition] PhilZ Touch - Now stable

Provide a log just after the error and i will fix the bug, else won't be able to fix it
[Nexus 4 Original Android Development] dan96815:
Can you tell me how i can get a log? does your recovery save it somewhere?

Thanks
[Nexus 4 Original Android Development] Phil3759:
Re: [Nexus 4][CWM Advanced Edition] PhilZ Touch - Now stable

Advanced / report error

Attach the recovery.log you get in clockworkmod folder
[Nexus 4 Original Android Development] yethz:
Hello bro,

I Hope this is the right log..

attached recovery log in this post..

Thank you and hoping for a fix soon.

Again, Keep up the great work coming :good:
[Nexus 4 Original Android Development] Phil3759:
Now that you got it, you have to generate your log after the error. Reproduce error, generate and post log
[Nexus 4 Original Android Development] mustangtim49:
Ahhhh....... It's like the wild west in the n4 forums.........

Reminds me of the good old days, ignorance was bliss........

mustangtim49/XDA Recognized Contribitor
[Nexus 4 Original Android Development] Phil3759:
4.92.8 (05.04.2013)

>> true support for /data/media/0 for android 4.2 <<

Download links

http://www.mediafire.com/file/y50dcz73zj0rtof/philz_touch_4.92.8-mako.zip

I hacked my i9100 to a /data/media device then simulated a no external storage too. That way, I could debug this release enough to be stable, and hopefully free from big bugs
[Nexus 4 Original Android Development] yethz:
Ive flashed the latest one, but still encountered error.

Hope this log is the right one..

Log file here: http://db.tt/45g7c6BJ

Thank u and hoping it helps in your development.
[Nexus 4 Original Android Development] casonswag:
Sweet thanks gonna try it out

NEXUS⁴
[Nexus 4 Original Android Development] pro.aggro:
Nice! Good work
[Nexus 4 Original Android Development] Phil3759:
I will download the rom and look at it

Is it ok with stock cwm?

Also can you try last version as i fixed some system mount issues that could cause it
[Nexus 4 Original Android Development] yethz:
Yes Im using stock CWM (Touch) version.

And yes, if u are refering to philz_touch_4.92.8-mako.zip version, thats what ive tried on generating the log above..

=[ Nexus 4 is all that I need ]=
[Nexus 4 Original Android Development] Phil3759:
No, your log above is from older version:

Starting recovery on Thu Apr 4 16:34:22 2013
(GMT)framebuffer: fd 4 (768 x 1280)
PhilZ Touch 4
CWM Base version: 6.0.3.0
I:Build version: 4.92.3 - Nexus_4
recovery filesystem table

New 4.92.8 will dump log under the name of philz_recovery.log

The reason is to stop sending recovery.log files from my CWM mod to Koush with ROM Manager, as it is useless for him, just spamming his mail
[Nexus 4 Original Android Development] Phil3759:
Well, looked at your log

The problem is that my settings file is under /system AND you modified the settings after you booted, so /system was mounted

Now, the error is from dev, as here's his script:

show_progress(0.500000, 0);
ui_print("****************************************");
ui_print("* ______ _____ __ __ ____ *");
ui_print("* /\ _ \/\ __`\/\ \/\ \ /\ _`\ *");
ui_print("* \ \ \L\ \ \ \/\ \ \ \/'/'\ \ \L\ \ *");
ui_print("* \ \ __ \ \ \ \ \ \ , < \ \ ,__/ *");
ui_print("* \ \ \/\ \ \ \_\ \ \ \\\`\ \ \ \/ *");
ui_print("* \ \_\ \_\ \_____\ \_\ \_\\\ \_\ *");
ui_print("* \/_/\/_/\/_____/\/_/\/_/ \/_/ *");
ui_print("****************************************");
format("ext4", "EMMC", "/dev/block/platform/msm_sdcc.1/by-name/system", "0", "/system");
mount("ext4", "EMMC", "/dev/block/platform/msm_sdcc.1/by-name/system", "/system");

He is trying to format /system without first unmounting it, which is an error

Solutions:

1- install the zip as soon as you booted in recovery, without touching settings

2- install the zip from a boot script using tools like ROM Manager or better, goomanager for that

3- ask the dev to fix his script and never attempt to format partitions without unmounting them, or to assert the formatting step to avoid the mess
[Nexus 4 Original Android Development] yethz:
Cool bro :good: Its not just fixing or providing help, also explaining a very good information.

and to me, that is really great. I really appreciate your quick response.

Thats what I say a really developers heart :highfive:

Now, downloading back the latest and flashing right away. :victory:

EDIT:

Wait, I try to dig into all the flashable roms I have in here and all of them on the starting commands doesn't have unmount,

they all start with format and followed by mount..

Im kindda confused here, please enlighten me for which script u mean should be the right process..

Thanks again.
[Nexus 4 Original Android Development] Phil3759:
Before we go further:

- use last PhilZ Touch as it fixes many things for mako

- start cwm

- in Mounts and Storage, ensure /system is unmounted

- install your zip

Report here if it is ok

If not, provide a log (philz-recovery.log)
[Nexus 4 Original Android Development] yethz:
Now that went well..

Though at 1st boot at the recovery system showed me as not mounted, then id go ahead and flash, then same error happen, but checked again, now the system is mounted,

Unmount it as u instructed and flash it went through the process...

Thank u so much for guiding me and helping.

Great dev all I can say ;)

=[ Nexus 4 is all that I need ]=
[Nexus 4 Original Android Development] Phil3759:
Thank you also for the report,

I will look at it why it mounts

But I cannot get it why people do not assert unmount partitions before they format them in their scripts
[Nexus 4 Original Android Development] Phil3759:
I spotted the bug on my side

system is mounted when you install a zip because of the new Free Browse Mode added

So, scripts that do not unmount it will fail in most cases

If you install through bootscripts, you are not affected (using ROM Manager or Goomanager)

I will look how to fix it and thank you for the report

It could be I will finally change the philz settings file path to either /data or sdcard

There are many scripts that do not unmount before formatting, but they really should

Anyway, I will fix this on my side

Thank you for reporting it
[Nexus 4 Original Android Development] yethz:
Awesomeness. Glad that my queries helped u pulling those minor issues.

Eagerly waiting for an updates soon...

=[ Nexus 4 is all that I need ]=
[Nexus 4 Original Android Development] Phil3759:
This will wait as I will not be able to release or code next week

Also, I am going to completely revise the settings management so it is fixed once for all

Maybe also moving this to data or sdcard, not sure, depends on many things
[Nexus 4 Original Android Development] hsrn:
is aromafm (placed in data/clockworkmod/...) wiped if i do a factory reset?

if that is the case i prefered my userdata on sdcard.
[Nexus 4 Original Android Development] Phil3759:
aromafm is in /data/media...
[Nexus 4 Original Android Development] Phil3759:
Update v4.93.3

Download:

http://www.mediafire.com/file/141d8f2mva2xnaf/philz_touch_4.93.3-mako.zip

Need feedback about reboot into bootloader if it works or no now
[Nexus 4 Original Android Development] yethz:
Great time for me to try this out now.

Gonna test and post feedbacks soon enough for me to dive in...

Downloading.......
[Nexus 4 Original Android Development] Phil3759:
This did not yet fix mount /system on manual zip install. But i really need a feedback if Advanced / Reboot Bootloader is now fixed
[Nexus 4 Original Android Development] yethz:
Reboot bootloader command via terminal works bro ;)

And, yes tried flashing custom roms gives me symlinks error as I stated before.

Thank u and looking for ur next update. Just take ur time. Great custom recovery.

Actually, I love it. :D
[Nexus 4 Original Android Development] Phil3759:
Not from terminal:

From the Advanced Menu / Reboot Bootloader

I need to know if it correctly reboots to bootloader. Previously it did reboot to main system

And yes, next update will fix the mount of /system
[Nexus 4 Original Android Development] yethz:
Opps sorry forgot to mention it also :o

Yes, tried both from advance power menu, where reboot, recovery and bootloader choices.

They are all working for me.

[ Proud User of LG-E960 (Nexus 4) ]
[Nexus 4 Original Android Development] mustangtim49:
I'll second that Phil, both choices work from the power menu. I flashed a new ROM and it worked flawlessly.
[Nexus 4 Original Android Development] Phil3759:
This should fix mount /system issue and failure to install some badly scripted zip files

Full change log from previous version here:

http://xdaforums.com/showpost.php?p=39433912&postcount=5

4.93.6 CWM 6.0.3.1

Start from this version (upload in progress for all supported devices), all recovery images are automatically repacked with stock/modified ramdisk.

The use of automated scripts should lead to less human errors and possibility for instant updates for all devices whenever source is updated

However, in the first releases, some bugs could appear. So, be careful when flashing upcoming packages as I cannot be made responsible for any damage to your phone. Assume the updates to be beta for advanced users

In practice, I manually checked all releases to be sure they are fine, but who knows...

Download links

Last version can be found here:
[Nexus 4 Original Android Development] mustangtim49:
Hey buddy, something fails when you try to flash the zip. I haven't looked at the log yet, but here it is :http://db.tt/fLthJAru

mustangtim49/XDA Recognized Contributor
[Nexus 4 Original Android Development] Phil3759:
For the ease of my life I wanted to use the standard write_raw_image instead of unusual package_extract

Well, it seems binary-update for your device doesn't support that command recovery/boot

For now, just extract recovery.img from the zip and flash it using fastboot

I will fix the zip tomorrow
[Nexus 4 Original Android Development] mustangtim49:
Gotcha, I looked at the log and noticed it was the zip. Okay, I'll flash it when I get home in an hour. Thanks buddy.

mustangtim49/XDA Recognized Contributor

EDIT: Tore my laptop from my daughter, got ADB set up to flash recovery, now, fighting my wife for my phone. Hopefully, I'll win that fight soon and have something to report.
[Nexus 4 Original Android Development] Phil3759:
Make a backup of your current recovery settings as I changed the settings path

Once you flash new one, reboot, enter new recovery and reboot again

You will be prompted to restore settings from sdcard

You can also restore settings manually of course, they will be copied to new path in /data
[Nexus 4 Original Android Development] mustangtim49:
Okay buddy, got the recovery flashed. I'm sure it's a setting I didn't set right, but, when I made a nandroid in your recovery, when I went to restore, the only nandroid I had was one from earlier today. I can't seem to find the one I just made with your recovery. I noticed the option to change the path data/media to data/media/0, so, don't know if that is what I should have done in the first place. Well, guess I'm off to look at the recovery log and see if I can find my nandroid. If I find anything interesting, I'll post a log. Thanks!

EDIT: Well, can't find a log, but, I found a philZ folder (empty) at /data/philZ. Also, none of the cwm folders contain anything from this latest recovery. At this point, I'm afraid to attempt a wipe and flash of anything because I'm too tired to deal with the repercussions of that tonight, lol. Let me know your thoughts and I'll keep an eye on this thread. Thanks.
[Nexus 4 Original Android Development] Phil3759:
Nexus needs data/media/0

Just set it or your files will just be in /data/media and not sdcard while in ROM
[Nexus 4 Original Android Development] yethz:
Cool. Downloaded the latest one and flashed, but gives me an error on flashing the zip file,

Still, i extracted the .img and flash via fastboot now gonna play with it.

Ill let u know when something that needs ur attention.

Again thank u for the customizable recovery and a great dev support is the biggest deal for me.

Salute to your hardwork and sharing it.

°[ Proud user of LG-E960 (Google Nexus 4) ]°
[Nexus 4 Original Android Development] Phil3759:
the zip flash error was explained above and will be fixed
[Nexus 4 Original Android Development] mustangtim49:
Okay, I'll do that when I get home. I went ahead and checked at data/media again and nothing. Like I said, kinda weird having your file at data/philz-touch. That's not data/media, but data/philz-touch. So, I'll get back with you tonight. Thanks.
[Nexus 4 Original Android Development] Phil3759:
This has nothing to do

The settings file was always saved to /system previously to avoid loosing settings on factory reset

Now, many ROMs are poorly developed and do not care to unmount a partition before formatting it and many were complaining

I can put in /sdcard, but some devices do not always have it mounted/inserted. Remember I need to support many devices

Things will be completely revised in v5 with all settings loaded in one pass at startup. At that point, settings file will go again to either /system or /sdcard. Depends on what I find better

Now, backups go to by default to /data/media in CWM. I added a new option to change it live to either /data/media/0 (/sdcard under main ROM) or to keep it as default

You seem not used to CWM maybe... or, if it is really failing, I would need some consistent reports and logs
[Nexus 4 Original Android Development] mustangtim49:
That's cool, I was really tired last night, but cwm is the only recovery that behaves on my n4 and have been using is since 2.0.4.8. Even TWRP acts up on my n4. I watched the nandroid from start to finish and I have been all over with root explorer. But, like I said, I was beat last night. I'll give it a whirl tonight because my laptop is at home, unless, can I just use terminal to install it? I should be able to, right?
[Nexus 4 Original Android Development] Phil3759:
I am not used to Nexus, but nothing should resist to a dd command, at least I hope... (data destroyer acronym, so take care. If you are not sure about what you do, better stick to fastboot)
[Nexus 4 Original Android Development] yethz:
I hope the default of ur recovery for nexus 4 specifically on /data/media/0/

coz it can be easily accessed when u plug in the nexus 4 on your pc and from their we can copy/backup via windows explorer without using any adb commands, not like /data/media/ where we cant access it via windows explorer, i think, adb would be the recommended way to backup those data from the said default cwm backup folder...

Thanks again bro PhilZ. Keep it up. Its awesome work really.

One more thing, what I love about in your recovery is the auto naming of backup folders (rom and build name are added)

Not like default cwm where we get lost when we want to restore backups due to dates/time only.

I say this because i install few custom roms and stock roms (i had 4 nandroid backups sometimes 5 test purposes) and it confuses me sometimes which is which, the rom i want to restore and dirty flash new builds on it.

°[ Proud user of LG-E960 (Google Nexus 4) ]°
[Nexus 4 Original Android Development] mustangtim49:
No, I'm good. If I get some time I'll flash the recovery and start testing it again, but for sure when I get home. Thanks again buddy, the support is greatly appreciated.
[Nexus 4 Original Android Development] Phil3759:
Ok, I updated the zip file

Link in op should now give you a flashable zip file, no need to fastboot

Well, the thing is that stock CWM is still on /data/media, so many people used to cwm will be confused. Only those migrating from TWRP are probably missing it as a default

It is a matter of an option in Advanced menu. Once you set it to /data/media/0, it will stick until you format sdcard, delete clockworkmod folder or change it manually
[Nexus 4 Original Android Development] mustangtim49:
Just used latest to flash a new ROM and it worked flawlessly. I'll make a nandroid with it later and let you know. Thanks.
[Nexus 4 Original Android Development] Phil3759:
Thank you, /system mount is definitely fixed for now

nandroid behavior is unchanged from latest versions. I did no more changes there
[Nexus 4 Original Android Development] kipue:
Thanks for the nice recovery :)

I m sure I m not using it to full capacities, but it has some good plus (like the auto naming of the backup, very good idea!), and it works!

I mean TWRP nandroids did work only 70% of the time for me, which was unfortunate :)

Thanks again!
[Nexus 4 Original Android Development] mustangtim49:
Okay, made a nandroid, then wiped phone clean and chose to restore. Everything went well until it go to data, it came up an error and quit. So, tried again, same again, then I tried a 3rd time, all good. So, I didn't grab a log on the first 2 attempts, so if I was to get the log now, it would show all good. I'm gonna try making another nandroid and if I get an error again, I'll be sure to grab a log. Another thing, I did switch to data/media/0 before starting anything. So, as of now, everything works. I did notice on the 2 failures, the screen would dim right as the data restore began and I would touch the screen and then the failure would occur. Don't know if this is the cause, but I will try again and get a log. Thanks buddy, I do love the recovery, that's why I'm working to get it straight with you.
[Nexus 4 Original Android Development] Phil3759:
Interesting

Let me know if the dim screen causes the issue. Normally no, but who knows...

A log in that case will be appreciated
[Nexus 4 Original Android Development] yethz:
Sweet.. No issues encountered yet...

Did a nandroid backup/restore, works great so far.

Just want to ask, is aroma file manager included in this version? Coz when i try to execute it from the menu, it cant find the required files (im using /data/media/0/)

And before i changed it, i moved the folders from the old locations to the new one, and yes, i saw the .aroma folder and deleted it.

Tried to reflash the latest one but I cant see the files needed for aroma to work.

Is it removed from this version?

Other than that works great. Again, thanks a lot for an awesome recovery.

Flexible, Customizable & Easy to Use... Two thumbs up to the developer.

°[ Proud user of LG-E960 (Google Nexus 4) ]°
[Nexus 4 Original Android Development] Phil3759:
It should work normally if you put it in the right folder

If not, please generate a log after error message so that I can fix it

By the way, no need to the menu, you can double tap outside any menu to launch aroma
[Nexus 4 Original Android Development] yethz:
Hello bro,

Can u help me where can I download aroma for your recovery?

It cannot find the zip file, tried reflashing the latest recovery but still no avail...

View attachment 1897702

°[ Proud user of LG-E960 (Google Nexus 4) ]°
[Nexus 4 Original Android Development] Phil3759:
Guide and link to aroma in main thread. Link in post 1
[Nexus 4 Original Android Development] Phil3759:
4.96.5 (27.04.2013)

Download links

Last version can be found here:
[Nexus 4 Original Android Development] yethz:
Yaykz.. Downloading and trying it now.

Thanks a lot bro.

If i found undesirable behaviour i'll let u know.

So far been using the previous one with no problems with it.

° Devices: LG-E960 (Nexus 4)/GT-I9300 (Galaxy S3)

° ROMs: SlimBean/AOKP_PUB/LiquidSmooth

° Kernels: Franco/Matrix/Faux

° Sent via Tapatalk HD v4.
[Nexus 4 Original Android Development] Phil3759:
PhilZ Touch version 5

- Brings mainly a completely revised and more portable touch code

- A true scrolling touch GUI

- A lot of fixes and optimizations

Change log

Download links

Last version can be found here:

Please give a feedback about the new touch GUI and scrolling
[Nexus 4 Original Android Development] drakester09:
It certainly feels better, gotta love your recovery. :D been using it on the S3 as well.
[Nexus 4 Original Android Development] big70tom:
Do you just flash the zip through old Cwm recovery?
[Nexus 4 Original Android Development] Phil3759:
Note: after scroll, first touch will select only. After one sec of scrolling or on second touch, it will validate immediately. This is by design and not a bug. It is there to limit erroneous validation while scrolling

Read more about it here: Validation Lock after scrolling
[Nexus 4 Original Android Development] yethz:
Definitely more touch sensitive. Love it.

As an overall recovery, its getting better and better.

I have a question and its only a basic one,

How can I increase the gaps on each choices, just dont want to hit the wrong commands..

Not an issue but just wanted it to be that way.

Again, u are doing a great job on each updates bro. Keep it up and kudos to u.

- Sent via Nexus 4 with Tapatalk

- (Sorry for my bad english...)
[Nexus 4 Original Android Development] Phil3759:
GUI Settings / Menu Height
[Nexus 4 Original Android Development] casonswag:
Really nice update feels much better and looks better but how can i rename a backup is there a way on this recovery?

NEXUS⁴
[Nexus 4 Original Android Development] Phil3759:
CWM doesn't have a keyboard for now

But, double tap any where outside menu and aroma file browser is started. I do not see the need to add a keyboard with such a powerful file manager in recovery
[Nexus 4 Original Android Development] pro.aggro:
Download says 5.0.0.5?
[Nexus 4 Original Android Development] Phil3759:
Just small increments. It is the good version
[Nexus 4 Original Android Development] shoey63:
Looks good Phil! Now if only I could get my hands on the Nexus 4 I just bought for my missus :cyclops:
[Nexus 4 Original Android Development] Phil3759:
Hi shoey63

I am getting in touch with you soon if you want to try the new recovery on your Xperia Z :)
[Nexus 4 Original Android Development] Phil3759:
yes, by renaming files in numeric-alphabetical order:

01-first_file.zip

02-second_file.zip

...

Sorry, I do not plan to add some sorting on this right now as I have many other things more important on todo list
[Nexus 4 Original Android Development] Phil3759:
New version 5.03.0

Below is full change log

In short:

- potential serious bug for /data/media devices

- Advanced Backup statistics during nandroid tar operations

- Update to cwm 6.0.3.2

- 3 new colors as requested

- Add toggles to change color of header text and battery/clock display color

- Small GUI changes (fix color highlight of virtual buttons and the bottom menu line color

Download links

Last version can be found here:
[Nexus 4 Original Android Development] yethz:
Ive tried deleting a folder from /data/data via aroma fm, and it freezes.. Anyone can confirm this? Or is it just me..

° Sent via Nexus 4 with Tapatalk

° Rom: SlimBean / Rom: Franco
[Nexus 4 Original Android Development] Phil3759:
Aroma fm has some random bugs with freezes. It is sadly no longer maintained by his author
[Nexus 4 Original Android Development] Phil3759:
v5.03.7

Download from link in OP
[Nexus 4 Original Android Development] AcidGhost:
great look,thanks PhilZ :D
[Nexus 4 Original Android Development] Phil3759:
5.05.0 (26.05.2013)

Most changes are in nandroid backup operations and external storage mounting

Please test this and report any bugs with a log

To get a log:
[Nexus 4 Original Android Development] bdubs4200:
ill sum up all the amazing things i have to say with this: Goodbye TWRP.