yashsingh1/xdaforums huggingface dataset:
[Android Software Development] Pons:
Nice, and quick/good work. Yes, that's pretty much what I was talking about. I need to go over it fully (so I can better understand how exactly it works) and see if I can improve on it. Doubtful because you do good work, but ya never know.

Fair warning: haven't read the OP lately, but will again to make sure this isn't covered (I don't remember it being there). If it is, just ignore and I'll find it. How does your versioning/numbering scheme work? Let's go with 6.26.1 = A.B.C. I get A is a major version number, but B and C seem to be random as far as which goes up (now that I think about it, C goes up to almost 10, usually by odd increments, and when C reaches 10, B goes up instead; I'd have to double check your version source). I've seen both B and C increment, and sometimes they effect one device, and some all. IMO, all devices should be identical on A.B, that way you can tell at a glance if you're on the latest (obviously depending on device specific, but it'll give you a snapshot). C should be device specific, and only incremented when one or two device requires it. But if all devices require it, then B should go up. Maybe I'm over analyzing it since I don't have a TV or furniture yet and am bored. Just my 2 cents.
[Android Software Development] Phil3759:
The version numbering is mainly internal to keep track of changes. Whenever I compile a version for my testing, I increment by 0.00.1

When I release a version on my git, I commit in a batch all changes since last commit and increment directly to my actual internal build.

It is the simplest way for me to have the same version on git and internal for debugging.

When someone reports an issue, I see in log the exact build which points me to the exact change

I maintain internal change log for each 0.00.1 increment. In OP, I only post simplified change logs

Normally, I never do a commit on github without increasing the version. The last commit is an exception because a very bad bug is going to be fixed right now
[Android Software Development] Phil3759:
[MENTION=2910818]PonsAsinorem[/MENTION]

Here's a very subtle bug fix that will interest you

https://github.com/PhilZ-cwm6/philz_touch_cwm6/commit/6ad8826d9b07b31d301307713409e9c4b698acf5

Actually, the whole root check code was never applied whatever user choice was

It was a merge from official CWM which is also affected
[Android Software Development] Phil3759:
6.26.4 (12.04.2014)

This version fixes a bug that was preventing fix root on exit to apply, what ever the user was choosing

Official CWM is also affected
[Android Software Development] Pons:
That's interesting, and unfortunate. See, isn't it good that I started troubleshooting a bad updater-script, lol.

Following it on the gerrit, too.

In order for this to work on the m7vzw, (and other devices that rely on the msm8960, and also have been updated), you need to pick this: msm8960-common: remove Qualcomm audio fw policy. Otherwise, build errors out with:

device/htc/msm8960-common/sepolicy/file.te":8:ERROR 'duplicate declaration of type/attribute' at token ';' on line 7535:
type audio_firmware_file, file_type;
checkpolicy: error(s) encountered while parsing configuration
make: *** [/media/data/android/cm-11.0/out/target/product/m7vzw/obj/ETC/sepolicy_intermediates/sepolicy] Error 1
make: *** Waiting for unfinished jobs....

because of Move audio_firmware_file and /data/misc/audio entry to core sepolicy.

(since it's just a simple cherry pick and not by me, I didn't think it was worth a pull request; but if you do want a pull request, just ping me and I'll do it).
[Android Software Development] eloko:
So this one works on s5 root now?
[Android Software Development] danarama:
Supported devices linked in post 1.
[Android Software Development] Ramondel:
Read post 3435 a couple of pages back he has a new thread for the S5.
[Android Software Development] ali.filth:
error restorecon

Hi Phil, after v6.22.1 i'm always get error like this : pastebin if build recovery. can you tell me how to fix that..?

thanks
[Android Software Development] Phil3759:
Repo sync

make clobber

update to latest sources
[Android Software Development] ali.filth:
Yes..I was to do that..I was sync v6.26.1 source but same error output..

Or you have fix this in v6.26.4??

Send from my Pager using xda-developers app
[Android Software Development] Phil3759:
No, just make clobber

It was fixed a couple of months ago...
[Android Software Development] ali.filth:
Hemm..Ok..let me try on v6.26.4..

I doubt it caused on my source..because I'm always do make clean & clobber when start new build..

Send from my Pager using xda-developers app
[Android Software Development] Phil3759:
I was generous with 2 months

This was merged 3 weeks ago:

https://github.com/PhilZ-cwm6/philz_touch_cwm6/commit/8d90cea019e6fdef8399a37d63a950943f49d0d6

Maybe some of your local sources are not correctly in sync or you did not delete

all

out folder

The problem is that you sync to my latest sources but your cm repo is not uptodate or you have some left intermediates because you did not clobber
[Android Software Development] ali.filth:
Ok..I was see that..nandroid.c on v6.22.1 :

And after that version you change it to :

The problem maybe from there..because I don't get error if build using v6.22.1 source

Send from my Pager using xda-developers app
[Android Software Development] Phil3759:
The error is from your outdated cm sources or leftover intermediates
[Android Software Development] theresident:
hi there. i got huge f. problem. I cant put recovery on my brother's phone. I tried in every possible way. When i untick the autoreboot option and go manual in recovery.. the custom recovery starts (click disable rec. install) and reboot.. but the next time the stock recovery is still there

Any way to my brother have custom recovery (GT-i9305) ? pls...
[Android Software Development] wkobaint:
Hi bro, please make it for LG Optimus VU P895.

Thank's in advance...
[Android Software Development] brian.houaiss:
@op

Hey Phil, any chance to have this update for t0lte? thanks a lot! ;)
[Android Software Development] hachamacha:
[MENTION=4666971]Phil3759[/MENTION]:

updated msm8960 thread to 6.26.4
[Android Software Development] NitroOxid:
Hi Phil! Please, see on this tread http://xdaforums.com/showpost.php?p=51874649&postcount=441
[Android Software Development] Pons:
This is a start: https://github.com/PhilZ-cwm6/philz_touch_cwm6/commit/7971d0bf424d30cc88fd831a65b17dac8645ef98

Edit: I might have misunderstood...let me reread.

Edit: yes, I did misunderstand. You're talking about going backwards. The current implementation is that pretty much all m7 gsm (m7att, m7tmo, and m7ul) are almost identical. If I understand correctly, you want to take a step backwards for MIUI's sake, and go from m7 to m7ul. But if we did that, we'd also have to split apart the m7att and m7tmo. Why maintain three devices, when all we have to do is one? All MIUI has to do, is change their updater script, very first line where it has its assert(getprop) to (and this is assuming they have indeed made their ROM compatible as a universal gsm):

assert(getprop("ro.product.device") == "m7" || getprop("ro.build.product") == "m7" ||
getprop("ro.product.device") == "m7att" || getprop("ro.build.product") == "m7att" ||
getprop("ro.product.device") == "m7tmo" || getprop("ro.build.product") == "m7tmo" ||
getprop("ro.product.device") == "m7ul" || getprop("ro.build.product") == "m7ul" || abort("This package is for \"m7,m7att,m7tmo,m7ul\" devices; this is a \"" + getprop("ro.product.device") + "\"."););

Or I might be missing the point again. Every time I read it, I understand it differently. I'm going to go grab lunch and some caffeine and see if that helps clear it up for me.
[Android Software Development] NitroOxid:
Logically, yes, or do something to the firmware installed on m7, or make recovery for m7 (as they likely will, according to your link). And there it just can be installed on my device and everything.

---------- Post added at 11:09 PM ---------- Previous post was at 10:16 PM ----------

Change build.prop very nice moderator to whom I would never attack.. I use OTA for their country. In a krivosti firmware, OTA can only put through CWM, and through TWRP option is set by wants. But in CWM is a limit, and are suitable only for firmware m7ul, and MIUI via OTA for my country supplies only version for m7. So I want to somehow make or get a ready-made version of Recovery, which is defined as the HTC One m7 (and not HTC One m7ul)
[Android Software Development] Phil3759:
As I said, I no longer keep all devices up to date all the time

Things are open source so that any dev can take hands on the project

I dedicate my time to improving sources and porting new devices when I fee like to do

I will release an m7 when I have time if no dev did it before
[Android Software Development] tetakpatak:
You can use Devil Dual Boot recovery for t0lte. It is based on the PhilZ recovery.

tetakpatalked from Nexus 7
[Android Software Development] Phil3759:
6.26.6 (14.04.2014)

I am rolling out an update for the devices I last updated + new supported ones

Update for 71 devices

The reason is the bug fixed in 6.26.4: root/recovery check on exit that was never applied even if user says YES

Since it is a non expected bug, I am rolling out an update

Notice: stock CWM is also affected. The bug is present since 6.09.5 version. Rooting from PhilZ Settings is not affected

Bug details: on exit, when recovery prompts to fix root or recovery, even if user chooses Yes, it was like he chose No

Consequences: root is not applied while user expects it is. Recovery can be overwritten by stock ROM
[Android Software Development] vampirefo:
Can the source be ported down to be built on 10.1? I have a MTK6582 (4.2.2) which I would like to test this recovery on, I have built several recoveries with 10.1 for my deceive, just don't want to download cm11 source, would like to stick with 10.1. I also would need to edit files to flip recovery, I have had to do that with every recovery I compiled, as they all are upside down on my phone unless I add flipping code to source.:silly:
[Android Software Development] ali.filth:
Wow..6.0.4.8..I'll try :thumbup:

Send from my Pager using xda-developers app
[Android Software Development] pdario:
But I have Aroma installed: it has a full text terminal...
[Android Software Development] shoey63:
Well the culprit could boot into recovery and look at the. zips on SD cards. (If he had the knowledge and the inclination) :sarcastic:

Aroma will only show file names, not pics or any other sensitive information:thumbup:
[Android Software Development] pdario:
Doen't it have a CLI? Where you can "cat myfile.txt"?

Anyway, it would also avoid some nasty prank from a "friendly" guy.
[Android Software Development] Adam77Root:
One could remove keyguard by deleting the settings database. If operation without SIM is enabled, it only takes a reboot to access the device.

Sent from my GT-I9103
[Android Software Development] pdario:
I'm not sure what you mean here: my phone is "fully locked" when booted normally; if the recovery was password protected, how can someone delete the settings database?
[Android Software Development] Adam77Root:
Of course I mean if it was not protected.

Sent from my GT-I9103
[Android Software Development] sholsten:
Was this answered? I can't find it either.
[Android Software Development] gnarg:
I think it's not uploaded yet to DevHost....
[Android Software Development] dabenaute:
Hello Phil3759?

When i click on the link for N7100,it still shows download for 5.06.1 but not for 5.06.7...Any idea?
[Android Software Development] Phil3759:
When an update is released, it will be posted on dedicated device thread. This is the dev thread for latest source updates. It doesn't mean all devices will have last version. Most recent updates mainly just add support for new devices and minor changes not worth it for most here.

Before requesting such updates, think this way:

- read change log

- see if you understand it

- see if there is a change that you really need

After that, maybe make a more precise request.

Please keep reference of this post as such requests will be completely ignored in the future

Hope it is clear
[Android Software Development] Phil3759:
5.06.8 (19.06.2013)

The /data/media update is because all of the repetitive questions from people flashing a recovery while they even ignore what is their file system.

They keep searching for their files and asking despite it was answered 100 times

Anyway, now, by default, if a /data/media/0 folder exists, it will be the default internal storage

You can always force /data/media or /data/media/0 in all cases

Just, the first noob coming to jb 4.2 won't come crying. Now, by default, he will see his files when in main OS
[Android Software Development] Phil3759:
Added a small FAQ in post 7 + indexed in post 1
[Android Software Development] d9ny:
for htc desire vc

is there any possibilities to install it on HTC Desire VC?is there any help please...thanks
[Android Software Development] wizard83:
Guys I have a big problem: I made a nandroid backup of my rooted stock rom (MEA) on Galaxy S4 GT-I9505, but when I restore it, I have the rom fully wiped!

Any solution?
[Android Software Development] eRPeeX:
You mean ... also deleted all your data?
[Android Software Development] wizard83:
Yes, all data.

Then I flashed the old 5.05.6 and restore was ok. I think it's a problem related to 5.06.6
[Android Software Development] MrHomebrew:
Why do I not see PhilZ Touch 5.0.6.8 in the download list when the title of this thread says PhilZ Touch 5.0.6.8????
[Android Software Development] Phil3759:
Because you can compile the Advanced Edition 5.06.8 from source
[Android Software Development] mhsbrian:
The updates coming to the m7spr device?

Thanks for your work.
[Android Software Development] kondronaute:
with the latest version i cannot enter /system/app with aroma it freeze and i must reboot recovery

i install the 4.88.1 and it work again i can open the folder

( i am not talking about remove the dot(hidden)before the aroma folder)

galaxy s3 I9300XXEME2 perseus kernel
[Android Software Development] Phil3759:
Try to only merge these two commits:

https://github.com/PhilZ-cwm6/philz_touch_cwm6/commit/348801c55559449ec557f8b6c30184fc790e6513

https://github.com/PhilZ-cwm6/philz_touch_cwm6/commit/3b9033328d52051de2d3d8b41d9b7a75f46b0cbe

Let me know if they work properly
[Android Software Development] vampirefo:
Thanks for the help, but is wont compile, must need something else.

I am cleaning my clean and will try again.

Below is where compile failed.

[preparing StaticLib: libc_common [including /home/vampirefo/bin/dd/work/out/target/product/C30/obj/STATIC_LIBRARIES/libc_netbsd_intermediates/libc_netbsd.a]
target StaticLib: libc_common (/home/vampirefo/bin/dd/work/out/target/product/C30/obj/STATIC_LIBRARIES/libc_common_intermediates/libc_common.a)
build error!
[Android Software Development] Paolonicus:
Can I use some of your Screenshot samples as a referrence?

Hi! I was about to send you a PM but your current settings are not allowing me to do so. I would like to ask permission to use a couple screenshots of your Recovery as a reference for a Facebook Group I am currently a member of. I was discussing the importance and usefulness of having a custom recovery mode and I would like to mention you also as a well-established developer of such recoveries. Is it okay?

Thank you so much, and I am also a follower of your works and currently have this on my Galaxy S4:good:
[Android Software Development] Phil3759:
That is not the error

It is somewhere above it

Browse up the log until you find the exact error

sure, np
[Android Software Development] juicio90:
Man where is the version 6.26.6 for Honami? I look into dev host and don't seen it... Thanks in advanced! :D
[Android Software Development] Pons:
"Rolling out" typically means it's not completely done yet.
[Android Software Development] juicio90:
Thanks!

Sorry, i didn't understand... Need to learn more English .. :sly:
[Android Software Development] Conito11:
One question. .. I'm getting some stuff when i flash zip... in some cases before flashing the new files are missing or not replaced. Is my problem or is related with the zip or cwm?

Enviado desde mi GT-I9505 mediante Tapatalk
[Android Software Development] Phil3759:
6.26.6 (14.04.2014) ----- > UPLOADING NOW

Update for 71 devices

The reason is the bug fixed in 6.26.4: root/recovery check on exit that was never applied even if user says YES

Since it is a non expected bug, I am rolling out an update

Notice: stock CWM is also affected. The bug is present since 6.09.5 version. Rooting from PhilZ Settings is not affected

Bug details: on exit, when recovery prompts to fix root or recovery, even if user chooses Yes, it was like he chose No

Consequences: root is not applied while user expects it is. Recovery can be overwritten by stock ROM
[Android Software Development] tetakpatak:
Phil, did you mean "by stock recovery"?

Thanks for this update, BTW!

tetakpatalked from N7100
[Android Software Development] DSA:
A stock rom includes a stock recovery
[Android Software Development] xda9f:
Hi Philz. Does this recovery support htc desire HD? Can I install CWM 6.0.4.8 Advanced Edition / PhilZ Touch 6.26.6 (libtouch_gui 1.16)? thanks a lot.
[Android Software Development] juicio90:
Server has problem
[Android Software Development] DSA:
Never had an issue flashing my rom with your recovery, flawless since day 1 (I bundle this recovery with my rom)
[Android Software Development] C_M@#u77:
Flashing recovery

Sorry guys, maybe this question was answered all ready, but can someone tell me please, can i flash Philz recovery 6.26.6 on top of the cwm 6.0.4.7 recovery which i have all ready on my phone:confused:? Thanks :highfive:
[Android Software Development] Pons:
Yes. It replaces, not adds to. (obviously make sure you have the correct img, and you follow recovery flashing procedures for your device)
[Android Software Development] C_M@#u77:
Thank very much PonsAsinorem :highfive:
[Android Software Development] hackvier1:
Hello Philz would be possible to port "TWR" to "Gionee Elife E7"?

My skills are zero but I can provide the files you need. Greetings and thanks.
[Android Software Development] juicio90:
[MENTION=4666971]Phil3759[/MENTION] Man, in aroma file manager I don't see ext sdcard archives..
[Android Software Development] Bhargav97:
What is 'TWR'? You mean 'TWRP Recovery'? If yes, then you are in a wrong thread.

First of all, please edit your post and correct the MENTION (It's Phil3759 not Philz. Philz is another user).

Make sure you have an sd-ext partition and you have mounted it (under 'mounts and storage'). It must be in the root dir.
[Android Software Development] Pons:
@ Phil, Hopefully when my life starts getting back to normal, I'm going to get a chance to go over your device trees and vendors, then compare them to CM's. I think yours are based off theirs, but I'm not sure how radically they're different (probably not very). Not sure how up to date you keep your repos, but CM updates (some of them) frequently. What I'm going to try and accomplish is keep all the settings and information that you require and use in PhilZ recovery, but use CM's tree and vendors. Similar to how a couple ROMs have used device and vendor trees of CM, but would add their own tweaks to frameworks and other areas.

tl;dr: thinking of a way to update your vendor and device trees as painlessly as possible.
[Android Software Development] juicio90:
Tried to Mount storage sd-ext. When initialize aroma manager crash and I have to do a force power of ( hold on power button and volumen up)..
[Android Software Development] Phil3759:
Such questions go in device specific threads

unless you are the dev compiling them

Short answer: aroma cannot see fuse mount points. It is an aroma bug author did not fix. He is aware of.

You are probably using exfat card. If it is a Sony device, ask the dev maintaining PhilZ Touch to enable exfat static support in kernel and recovery

Look at first commit on that folder. I now try to modify the less possible device trees, except devices needing prebuilt kernels like m7, hlte...

I will upload device changes for latest version after a repo sync then my changes so that you see them

When you see files such as extra.fstab and init.philz-*.rc, i hacked build/core/Makefile to auto copy them. That way, i do not add a product_copy_files flag for all devices. I think that's mentioned in readme
[Android Software Development] Bhargav97:
[MENTION=4666971]Phil3759[/MENTION],

Any way to get PhilZ-Touch Recovery on MTK devices (no source code except kernel)? I know repack-unpack but it's terrific, especially when there are no similar devices with the same recovery.

And...can you make CF-root (only supersu.apk and su binary) for my MTK device (if you can, please reply back and I'll give details). Condition is: I have only stock recovery and cf-root.zip file should flash using it.

BTW, PhilZ-Touch lovers...VOTE HERE: http://xdaforums.com/showthread.php?t=2719815
[Android Software Development] Phil3759:
Check this commit:

https://github.com/PhilZ-cwm6/android_build/commit/337e3b56b4cb6815118bda2ea3960a839048b1ec

It will explain how I do copy those files without altering device tree with PRODUCT_COPY_FILES flags

It also unhides the final command used to repack (cmdline...)

Some devices use a custom mkbootimg though and it must be unhided there
[Android Software Development] Phil3759:
I did a repo sync also to my device tree and uploaded exact copy I use to my git

You have now all:

system/vold changes:

https://github.com/PhilZ-cwm6/android_system_vold

android/build changes:

https://github.com/PhilZ-cwm6/android_build

device/vendor tree:

https://github.com/PhilZ-cwm6/philz_touch_cwm6_device_vendor

Only things left are kernel changes needed for some devices: exfat kernel static, LZMA to fit things

But these can be found on many other gits
[Android Software Development] wkobaint:
No helping support for my devices bro?
[Android Software Development] kronflux:
I wish there was a builder for PhilZ like CWM has. where we could specify an existing CWM recovery image, a recovery.fstab, graphics.c and postrecoveryboot.sh and have it do all the magic that CWM's builder does to build PhilZ Touch. :P
[Android Software Development] Phil3759:
If someone is enough smart to provide those files, it is ages easier and safer to build from sources
[Android Software Development] kronflux:
well, certainly safer, but I wouldn't say easier. I've build many times using their builder, but have no idea how to build from source. and building from source involves having a build environment set up.

but yeah, definitely safer, I suppose.
[Android Software Development] Phil3759:
comment this line

#/dev/block/mmcblk1p1 /sdcard vfat defaults defaults

or the vold line

do not try to use both
[Android Software Development] Phil3759:
In addition to my above post:

I can fix the bug when using custom backup mode as it is always checking for /boot and not your boot label

Can you confirm that normal backup is fine?
[Android Software Development] yuweng:
Thank you so much Master Shifu for your super fast response, i really appreciate it... :highfive:

i've just tried commenting either one & still the mount USB storage doesn't work & it just sort of flashes... Manual mount /sdcard & it says Error mounting /sdcard! :o

i guess we'll have to get more MTK users to try out various way to get the sdcard working first then only we can test the boot/ recovery backup... :o
[Android Software Development] Phil3759:
6.26.7:

fix MTK boot backup/restore from custom mode

https://github.com/PhilZ-cwm6/philz_touch_cwm6/commit/e76ae7328a608005d7fdb2d31c20786f8e73aa1b

About sdcard:

1- device is /data/media or does it have a real internal storage partition

2- do you have an external sdcard slot?