yashsingh1/xdaforums huggingface dataset:
[ONE Android Development] fmc000:
Perfect answer! Thank you very much. Just flashed, so far so good apart for the clock totally messed up (just needed to resync the app with the qualcomm rtc, set the timezone and the dst).
[ONE Android Development] katinatez:
Backup and Restore/Miscellaneous Nandroid Settings/TWRP mode
[ONE Android Development] abhibnl:
One quick question katinatez, since i'm using cm11s, can i flash this over my old last official philz recovery since it's using 12.1 kernel? Or the recovery kernel has nothing to do with the rom n its kernel?

Sent from OnePlus One
[ONE Android Development] katinatez:
I would say it's safe; recovery is in it's own partition, and this is the biggest update in a while. I would just keep older recovery zip in phone in cause you need to flash back.
[ONE Android Development] fmc000:
Does this latest version suffer for the same problem with backup / restore partitions like the latest TWRP?
[ONE Android Development] NuLLV01D:
Please elaborate
[ONE Android Development] fmc000:
From this post on.
[ONE Android Development] katinatez:
No, Philz recovery has older teamwin twrp sources. And the problem with backup/ restore is due to all the new encryption commits, more than likely will drop Firmware backup on unofficial twrp.
[ONE Android Development] fmc000:
So, speaking about backup functionality only, Philz is on par with 2.8.6.0.4, isn't it?
[ONE Android Development] katinatez:
yes
[ONE Android Development] jgcaap:
[MENTION=3814731]katinatez[/MENTION] do you have a twrp version? Thanks
[ONE Android Development] real_sl4cker:
http://xdaforums.com/showthread.php?t=2981495
[ONE Android Development] Mecca EL:
Not sure if it's been mentioned here, but I'm attempting to install Xposed-sdk22-multiarch.zip, but I receive an install error evertime. TWRP installs it fine. I have an error log if one is needed.

I have a OPO on CM 6-30-2015 nightly, Philz 6.59.xx, AK Kernel 270
[ONE Android Development] fmc000:
A question about Aroma FM: I'm sticking with 1.91 as 2.00betas have that black-screen-on-exit problem. But 1.91 is very difficult to use because of the transparent background.

I wonder if anyone has a solution or workaround for this (and moving to TWRP is not an option for me, I simply don't trust it).
[ONE Android Development] katinatez:
No work around that I know of, at one point I had fixed the problem with building with omni source kernel. But I dropped that quickly because it would break otg and twrp mode.

Although aroma is not working 100% it has come a long way & aroma dev is very busy, I am confident the exit bug will be fixed.

I still use 1.91 and endure the transparent background. And the most current philz version has every feature working as Phil3795 had intended. So for now I would wait for aroma update.
[ONE Android Development] fmc000:
Bug

I've found a quite nasty (IMHO, of course) bug in the latest version.

Under "Advanced functions" there is "Sdcard target", defaulting to "/data/media/0". I changed it to "/data/media" for compatibility with CyanDelta and rebooted.

After that action, the recovery puts its config files and TWRP backups under "/storage" and not in the SD card. Therefore, those files are useless if you want to restore a backup using TWRP (it looks for them under the TWRP folder within the SD card) and, even worse, those files are not removable in any ways neither using the CM file manager (it says that you need privileges higher than root ??? ), nor Solid Explorer (it doesn't see them at all), not the Terminal Emulator (it doesn't see them at all too).

Philz is able to remove the backups from /storage/TWRP/<serial>/ but not the folders. I don't even understand under which file system they are (not /system because they survive a ROM flash, I just tested).

Please have a look at the screenshot, taken by the CM file manager with root enabled. You can see that under /storage/emulated there are three folders, "clockwordmod", "obb" and "TWRP" that should (must?) not exist there.

I hope I made myself clear, i'm not an English native speaker, sorry. However, it's very easy to replicate.

Edit: I managed to find those files under /data. A root file explorer can delete the files from there but the problem remains, using /data/media instead of /data/media/0 is just looking for trouble.

Edit2: I just discovered that this is a documented Philz behavior and that the TWRP backup mode problem is just a fallout from this. Sorry for the noise.
[ONE Android Development] gogib:
Hi i use this recovery for a while and today i try to format with f2fs the partision system cache and data from the advance menu. When i tried to format data partition i didn't have the option to format with f2fs or ex4 like i had with the others before.

Is this a bug or the partision formated with f2fs automatically ?
[ONE Android Development] katinatez:
Which version?
[ONE Android Development] gogib:
6.59.2

Edit

When i click on format data/ and data/media/

I have the option

The option is missing only on format data
[ONE Android Development] katinatez:
Try v6.59.1 and report back
[ONE Android Development] gogib:
No difference between the two versions
[ONE Android Development] Ejvyas:
Is this project active??

You just saved me!!

My phone was only able to install TWRP 2.8.7.0 (which cant flash lollipop firmware for bacon) I tried million times installing lower version but the phone never boots to that lower version recovery (instead boots to system)

I was about to give up when I tried this recovery. Now I flashed the firmware and all issues are fixed now :)

Thank you so much!!
[ONE Android Development] katinatez:
Project still lives, just not much thread participation because the recovery works as it was intended. Glad your phone is fixed.
[ONE Android Development] Flak:
Didn't he end development though?
[ONE Android Development] nicesoni_ash:
Philz did but katinatez updates it regularly for bacon.

Sent from my "GT-I9300/1+1" powered by Carbon Rom & Boeffla/ak Kernel

Fueled by 7000mAh ZeroLemon Battery
[ONE Android Development] Jole7:
Katinatez 6.59.2 works flawlessly thanks man.
[ONE Android Development] antmunny:
I can cosiign this...it really wroks great
[ONE Android Development] antmunny:
now that I'm moving from bacon to shamu, just wanted to thank katinatez for Temasek's ROM and Philz Touch for bacon. (and YES I pressed every Thanks button that I could)

it's going to be difficult to go back to TWRP on shamu...
[ONE Android Development] katinatez:
Updated again v6.59.3

With the introduction of 3 partition unified f2fs or ext4 on temasek rom, philz recovery was not backing up for the handful of 3 partition f2fs users, so an update was needed.

Changelog:

Added f2fs to system partition

Enjoy :D

https://www.androidfilehost.com/?fid=24052804347820118
[ONE Android Development] katinatez:
Everyone like the updates? Heres one more!

I wanted to try this here and wanted to backup the stock version so I had to fix the recovery to do so. Now you can backup before you try new LOGO.

http://xdaforums.com/oneplus-one/themes-apps/bootlogo-code-aurora-forum-caf-bootlogo-t3205858

Tried this on android 5.1.1, confirmed working! great job [MENTION=5291611]CraZY_BoY^[/MENTION]

2015-09-22

Updated 6.59.4

Fixed backup of LOGO partition

Enjoy :D
[ONE Android Development] Mecca EL:
Thank you for this. Very good work
[ONE Android Development] Digo69:
Hi,

Thanks you for your good job, but now I have a problem and I can't find the cause.

The recovery work but can't do backup, when I do a backup the recovery stuck. I have flash twrp, and stuck at the logo of recovery.

With your recovery I can install zip (update rom, kernel, etc.) but I can't do backup.

I need help.

Sorry but English it is not my language, if you see error please correct me.
[ONE Android Development] katinatez:
Need to read the official Philz recovery thread, to familiarize with settings. Dependeding on your settings in backup & restore/misc nandroid settings/ you choose cwm or twrp backup format. If cwm you will find backup in clockworkmod folder, if twrp you find backup in twrp folder.

I'm currently using this recovery and do not have any type of issues, and I flash & restore a lot of test builds.
[ONE Android Development] Jole7:
Best recovery ever thanks a lot man. ;)
[ONE Android Development] Sir_gpm:
Do we have PhilZ Touch for Oneplus 2?. Sorry to ask in One+One thread.
[ONE Android Development] katinatez:
No, I don't have the device, another dev will have to build for that phone.
[ONE Android Development] Jole7:
Deleted
[ONE Android Development] giaur:
Is backup to external usb supported?
[ONE Android Development] Jole7:
For sure i've done many.
[ONE Android Development] giaur:
I'm considering to drop abandobed twrp, because of annoying bug with flashing modem firmware. How about that? Is all ok with modem firmware updating?
[ONE Android Development] Jole7:
I use the latest 6.59.4 and it's completely bug free everything flashes correctly and also can convert roms from ext4 to f2fs all with backup- restore method.
[ONE Android Development] giaur:
I can't backup anything. It always shows error. Tried with or without twrp mode enabled.
[ONE Android Development] Jole7:
No way i use philz 6.59.4 and it works like a charm. Does your usb has free space or does it read by the recovery correctly?
[ONE Android Development] giaur:
Sorry, I have the same problem. No matter what I do, backup process not starting. It only shows error. Tested custom backup, boot and efs, to usbdisk.

---------- Post added at 11:08 PM ---------- Previous post was at 11:07 PM ----------

Yes. There is only error message. Not possible to backup anything.
[ONE Android Development] Jole7:
Maybe try with another usb weird problem.
[ONE Android Development] giaur:
Tried with usb storage formatted to fat32 and ntfs, still the same.
[ONE Android Development] Jole7:
When you insert your usb in philz does it read it? Try Exfat also
[ONE Android Development] giaur:
Hmm, now it works... weird indeed. How to select which backup I want to restore if I have more than one? Also, how to set new backup name?
[ONE Android Development] Jole7:
From the name of the backup and the latest date that made. To set a new name use a pc/laptop.
[ONE Android Development] giaur:
Actually, date is wrong. Twrp is able to get device date. Philz touch has wrong date and I'm unable to set it.
[ONE Android Development] Jole7:
Yeah you're right.Use a pc for that step and correct the date/name.

I hope everything works right for you now.
[ONE Android Development] giaur:
What partitions to backup should I select to make sure my modem firmware is backed up?
[ONE Android Development] Jole7:
Efs1,Efs2 and boot img
[ONE Android Development] giaur:
Are you sure? Efs is related to imei. I mean modem firmware: http://xdaforums.com/oneplus-one/general/ref-oneplus-one-modem-collection-t2858734 - I want to include my current radio firmware in backup. Efs is completly different thing
[ONE Android Development] Jole7:
I know efs=radio files backup don't know more about it sorry.
[ONE Android Development] katinatez:
Seems I derped and on last build and will fix with new update coming tomorrow the radio partition to backup is called firmware, but it's not there. So 6.59.5 is coming.

I'm missing line 17

https://github.com/katinatez/androi...da89#diff-dce44f6e3ac11adf2027c2f1856883beL17

So after reading your conversation, you need to backup firmware=radio and efs1 & efs2=IMEI
[ONE Android Development] giaur:
Yes I'm asking about firmware (I know what is efs).

P.S. Can you also fix wrong date and time? It's always 1970
[ONE Android Development] katinatez:
OK just checked my local source code and I have everything there!

For time settings

recovery settings/gui preference/time settings/change date & time/ check parse time daemon & check Qualcom Time daemon

Backup & restore/custom backup/firmware & efs1 &efs2

So v6.59.4 is fully functional!! No need of update!
[ONE Android Development] giaur:
Thanks! The only option I'm missing is ability to set custom backup name. Not any big issue, but it would be useful.

I guess it's not present because there is no on screen keyboard available, am I right?
[ONE Android Development] katinatez:
Read official Philz recovery thread for naming backup, basically you use openrecoveryscripts commands. It's possible.

Edit openrecoveryscripts
[ONE Android Development] giaur:
It's rather complicated and not worth then. Better to rename backup folder later. The only good way is twrp way, but not possible if we don't have virtual keyboard.
[ONE Android Development] giaur:
There are issues with CM Updater:

Command: "/sbin/recovery" "--update_package=/storage/emulated/0/cmupdater/cm-13.0-20151203-NIGHTLY-bacon.zip" "boot-recovery"

Finding update package...
I:Update location: /storage/emulated/0/cmupdater/cm-13.0-20151203-NIGHTLY-bacon.zip
E:unknown volume for path [/storage/emulated/0/cmupdater/cm-13.0-20151203-NIGHTLY-bacon.zip]
E:Can't mount /storage/emulated/0/cmupdater/cm-13.0-20151203-NIGHTLY-bacon.zip
Installation aborted.

Auto update does not work, I need to choose zip and flash it. What's the problem? Path is correct
[ONE Android Development] giaur:
Bump
[ONE Android Development] real_sl4cker:
You posted in Philz thread so you are not using CM Recovery which is needed for auto-update. In Philz you have to flash updates manually.

(mobil gesendet / sent from mobile)
[ONE Android Development] giaur:
I like Philz. So, is there any plans to fix this issue in Philz?
[ONE Android Development] real_sl4cker:
There is no issue, only a feature not available in Philz... and btw also in TWRP afaik. I don't think it will be implemented in Philz but you never know, it's up to the dev.

(mobil gesendet / sent from mobile)
[ONE Android Development] giaur:
You are wrong, that feature is implemented in twrp.
[ONE Android Development] drmcatchr:
[MENTION=3814731]katinatez[/MENTION] Looking forward to a PhilZ Touch Recovery for the OnePlus3 :) I'm sure I'm not the only one who is.
[ONE Android Development] katinatez:
I don't have the device, so I will not be building recovery for it!
[ONE Android Development] bdwilk:
Just want to say thank you. My digitizer went kaputz after a fall and while I've been waiting for a replacement I thought I couldn't flash anything through recovery as TWRP doesn't rotate and I can only use the bottom half of my screen. On an OTA update I got bricked and had to resort back to stock to get a working device. Upon a quick search I found this thread and can honestly say you've saved my android life. I haven't had any problems with nandroids and flashing any of the newer firmware using this recovery. Thank you.
[ONE Android Development] katinatez:
Glad it helped, also glad I never took down links. Enjoy
[ONE Android Development] Mecca EL:
It's the only recovery I trust. TRWP has too many bugs. Thanks [MENTION=3814731]katinatez[/MENTION]
[ONE Android Development] Mr Woolf:
Sorted, many thanks.
[ONE Android Development] IIMaxII:
Can't wait.
[ONE Android Development] Android-Andi:
Maybe [MENTION=3814731]katinatez[/MENTION] can make a diff between the omni & cm kernel? Maybe only.something inside defconfig?

Send from OnePlus One using Tapatalk
[ONE Android Development] katinatez:
[MENTION=5153662]Android-Andi[/MENTION] & [MENTION=4666971]Phil3759[/MENTION]

I have updated recovery to fully (mount,read,format) support f2fs with a omni kernel patched with f2fs commits, but ran into problem, I lost usb-otg. It's like its not reading my extra.fstab or skipped reading my bacon.mk file with

PRODUCT_COPY_FILES += \

$(LOCAL_PATH)/rootdir/etc/extra.fstab:recovery/root/etc/extra.fstab

I need more time to look into this before I start updating first post with a change log.

But for those that don't use USB-OTG here is the updated recovery.

Edit: zip file removed changelog and new updated recovery on first post
[ONE Android Development] katinatez:
Did not have to wait long here it is.
[ONE Android Development] Android-Andi:
[MENTION=3814731]katinatez[/MENTION] link to your github?

Send from OnePlus One using Tapatalk
[ONE Android Development] SmokinJohnny:
Cannot mount. Possibly decryption issue.

Having same issue with TWRP 2.7.1.1, 2.7.1.0, and 2.7.0.0 where it cannot mount due to encryption. Does not prompt for password and it cannot mount sd card.
[ONE Android Development] katinatez:
Post recovery log
[ONE Android Development] manudroid19:
adding your cwm and philz right now to my toolkit...

what philz version do you recommend for it??

first post one i think is better...
[ONE Android Development] SmokinJohnny:
I can't as it does not mount the SD card. No clockworkmod folder. :(
[ONE Android Development] Android-Andi:
Use adb.

adb pull /tmp/recovery.log

Send from OnePlus One using Tapatalk
[ONE Android Development] katinatez:
The one on post #24 it has everything working

efs backup

aroma file manager fixed

full f2fs support (mount,read,format)

with the exception of usb-otg

cwm recovery I built does not support above features stated, might want to tell users in your tool kit
[ONE Android Development] SmokinJohnny:
See attached. Renamed to txt.
[ONE Android Development] katinatez:
I believe I reproduced your error.

What is it set on under Advance Functions/Sdcard target: /data/media?

Or is it Advance Functions/Sdcard target: /data/media/0?

Correct setting is Advance Functions/Sdcard target: /data/media/0

Try that and report
[ONE Android Development] SmokinJohnny:
Advanced Functions/Sdcard target has always been set to be: /data/media/0. I did not change any default settings and can't change this setting anyways. Press on it and nothing happens.
[ONE Android Development] katinatez:
Are you using recovery from post#24?

Use fastboot commands to flash.
[ONE Android Development] SmokinJohnny:
Yep, using that one. Ver 6.57.5. I extract the img and use Flashify. But I'll see if I can get fastboot working on my work computer and report back.
[ONE Android Development] katinatez:
I never heard of Flashify until maybe a week ago. I have built about 15 recoveries trying to fix usb-otg but no success, just to be on the same page I flashed the one from post #24 just now and everything works on my end.

Good Luck
[ONE Android Development] SmokinJohnny:
Downloaded file from #24 on work computer. Extracted img file and fastboot flash recovery recovery.img. Rebooted into recovery and still can't mount SD card. Same advance option where it is set to media/0. Cannot change that option either. Attached new recovery.txt file.

It's got to be something with the encryption and recoveries not handling it properly.
[ONE Android Development] katinatez:
Major update coming faster boot time, usb-otg fixed, need to test decryption, will be testing all day.
[ONE Android Development] katinatez:
Update on recovery, I have usb-otg fixed , also faster boot time into recovery; that was driving me crazy. And aroma file manager loads but now has a graphics bug take a peek at picture.

Lets take a poll does everyone want usb-otg but have a weird graphics when loading aroma?

Or we could all live without usb-otg but have aroma look good when loaded & endure slow boot time?

​

Decryption still not working.
[ONE Android Development] dictionary:
You got me excited. I was about to rush and download. The initial load time drives me nuts. The only device that takes this long is my HTC Desire HD, lol.

I'm biased, and don't use usb-otg, so I say ditch it. :p. I'm sure those who use it though will say otherwise. Too difficult to maintain both?
[ONE Android Development] gulp79:
For me is better to have fast loading time&otg
[ONE Android Development] katinatez:
Me too, faster load & usb. I am even building aroma file manager from source for our device to see if it helps the graphics. Still compiling.
[ONE Android Development] prioxxx:
Me too,I want usb otg and faster load
[ONE Android Development] nazfalas:
I can live without usb-otg, but when I think about it...it might come in handy at some point. Has been a savior for a previous device when I didn't have a computer available for adb. So I think I'm undecided leaning towards faster load.
[ONE Android Development] katinatez:
I just need to mention that aroma file manager works

perfect

just looks weird. And boot time is significantly much faster. Testing f2fs today. Then maybe update will come tonight.
[ONE Android Development] andip71:
Faster load and aroma. Otg is nice to have, but that's it in my opinion.

Andi
[ONE Android Development] katinatez:
Granted all three, just have to add f2fs commits tonight.
[ONE Android Development] rspkt:
I'm still getting:

No clockworkmod/aromafm/aromafm.zip in storage paths

When I try to use Aroma. How do I fix this?
[ONE Android Development] katinatez:
I figured out a work around for aroma file manager!

I first compiled aroma from source but still no luck on graphics. I then found aroma 1.91 color space by nijel8. This one let's you set color.

My settings are

Icon set=holo

Auto mount at startup

Color set=BGRA

With these settings aroma looks decent! The aromacolor.zip file is buried in the aroma thread. But I will place it in opening along with update. When update is ready!
[ONE Android Development] rspkt:
Good news. Will wait for an update.
[ONE Android Development] katinatez:
Updated recovery, I have been using it for the last two days BUT it does not have f2fs support. So this is is for users that dont use that file system. I am still cherry-picking ak f2fs commits ( over 25 plus commits for f2fs) Once I get that done I will post in opening with changelog.

Also grab this aroma file manger and play with settings to help improve the look. Follow main thread instructions for aroma file manager.

Dont forget to rate my thread or hit thanks

Updated recovery with change log on first post
[ONE Android Development] wp7chris:
After playing with your recovery a bit and after my last factory reset, wiping cache, and system now my sd card won't mount in recovery anymore. I tried flashing back to TWRP but it still can't mount my sd card. Any suggestions?
[ONE Android Development] katinatez:
recovery log

Follow instructions from post #31
[ONE Android Development] wp7chris:
https://drive.google.com/file/d/0B6bnj4oJcsu2dzN5SFNWbjR4LTQ/edit?usp=sharing

google drive link with recovery.log file

I'll be anxiously waiting here for your suggestions I desperately don't want to flash back to stock and lose all of my data. I was running original recovery from OP just fine then after wiping before flashing another rom today something weird happened. I tried flashing your latest recovery you posted a few posts back with no f2fs didn't help. Also latest twrp can't mount sd card at all either. Please help me :( and thanks for any of your time by the way.
[ONE Android Development] katinatez:
OK, you are saying everything went south when using recovery on post 1? And you tried to flash today's updated no_f2fs recovery?

Check Advance functions/Sdcard target: /data/media/0? Did you make backups on default cwm? Or twrp mode? Do you use aosp encryption or stock cyanogenmod encryption?

If you made backup to cwm use this command

adb pull /data/media/0/clockworkmod/backups
[ONE Android Development] wp7chris:
it shows /data/media/0

I did not make backups on default cwm or twrp. I have most of my data on my pc except for pictures taken over past two weeks (a lot lol) I don't use any form of encryption. I really don't know what happened. Did the recovery log show anything useful?
[ONE Android Development] katinatez:
You did not answer which recovery you are on? Recovery log shows you are using the one from post 1 and your data file exist. OK you have a custom recovery and you did not backup!!! You could use adb pull /storage/emulated/0/DCIM/Camera to get all your photos If you used the the One Plus camera.

Another idea is use fastboot commands to flash recovery.img from the new update recovery_no_f2fs and try to backup to usb with a usb-otg cable.
[ONE Android Development] wp7chris:
Using recovery from latest post with no f2fs. The adb pull command did not work it says not found. when I click install from sdcard to see the contents of my internal storgae it shows a list of all the folders which may be the ones you were seeing in the log. But when you click on any folder it's empty!