yashsingh1/xdaforums huggingface dataset:
[Nexus 6 Android Development] TMG1961:
Thanks..i used your file. But not working. It doesnt add wifi.supplicant_scan_interval=480 and there is no backup of the build.prop file.

I even put back an older backup of the rom..from march 31 and used the patch but same result..no backup of build.prop and no wifi.supplicant_scan_interval=480 added.

Guess its something not doing right on my phone. Could be my phone that doesn't like it.
[Nexus 6 Android Development] guitardedhero:
Unfortunately, I have not flashed this at all, even once, so I'm unable to compare results with yours. The tweak.prop file absolutely needs an empty space at the end. If flashed with the exact same outcome then the tweak.prop and build.prop.bak used are elsewhere. It could be anywhere outside of /system like /data/media/0 for example.
[Nexus 6 Android Development] TMG1961:
i will do a search for those two files. But almost sure that there aren't any others on the phone.
[Nexus 6 Android Development] guitardedhero:
The script is designed to search and use the first match it finds. You can experiment by adding a comment in the middle like:

#Does this line even exist?

Save changes and try again. If your patched build.prop does not contain that line then you will know that is not the file being used. The search for the file starts in /data alphabetically so start there. :good:
[Nexus 6 Android Development] Miustone:
The tweak.prop from my link works fine for me and now over 1000 others too like it seems...

The Patch does not Simply add the lines to the end of the build.prop, so you have to search a bit... Make sure You follow my Instructions and all should be fine! I'm running the Full Patch now for a Day and everything is fine here. Everything works like it should...

Hope also for my Testers! A Video from Glockman4519 comes soon...
[Nexus 6 Android Development] guitardedhero:
Right, but is that last line present in your patched build.prop? I remember when reading kel34's instruction set that an empty line at the end is necessary for the last line to be used. Unless, of course, that particular bit is outdated.
[Nexus 6 Android Development] TMG1961:
I must have done something wrong. I found 2 files, deleted them, booted back into recovery, ran the patch, gave me an error..given path is empty or parent directory doesn't exist.

When i reboot the phone its stuck at google logo. I booted back into twrp and wiped all (except internal storage) and did a restore of backup i made this morning. Phone booted up without a problem. I think i stop for today.
[Nexus 6 Android Development] guitardedhero:
Your mistake was deleting the two files you found. Once found, the tweak.prop should have been replaced with the one I provided, set permissions if necessary, and reboot. Nothing more, that's all that needed to be done.

Do you remember the exact location you found the two files you deleted?
[Nexus 6 Android Development] TMG1961:
I remember the exact location of both files. I think i misunderstood you, i thought that i needed to replace the tweak.prop file that i put on sdcard with the patch.

Phone working again so no harm done, even if i have to completely wipe it there isnt any harm done.
[Nexus 6 Android Development] guitardedhero:
No doubt, I was just clarifying the reason for the error and the necessary steps to do what I was describing above.

What location? If you ran the patch or restored a backup that was already patched then the two files should be there. I was cutto know the location you found them and users would likely appreciate to know where to look so they don't run into issues if they decide to modify the tweak.prop for their needs as the correct tweak.prop would need to be edited if more than one directory has tweak.prop.
[Nexus 6 Android Development] vwlover69:
So I'm confused. Is there an update on this or no? The patch that's downloaded still says it's zero.
[Nexus 6 Android Development] TMG1961:
If i remember it correct it was /sdcard/android/data/com.alphainventor.filemanager/cache

Strange thing is that now both files aren't in there and the build.prop backup file is in sdcard
[Nexus 6 Android Development] MrBrady:
I'm in the same boat. I don't think it's been updated since 3/28 but at least the link in the OP is pointing to Shamu now instead of Flo.
[Nexus 6 Android Development] Miustone:
:eek:
[Nexus 6 Android Development] Samuel Holland:
Thank you

I wanted to inform you that I were still getting a failed in twrp on pure nexus as secondary on Shamu. I had no problem flashing it to N preview. It says error looking for update script. Thank you.
[Nexus 6 Android Development] vwlover1969:
I agree, I don't think so either. An official answer would be nice.
[Nexus 6 Android Development] XDAcube:
Would this work on a HTC One M9 on cm13?
[Nexus 6 Android Development] lazyb421:
No issues here after flashing over PureNexus.
[Nexus 6 Android Development] :
No since the updater binary and script is specific to Nexus 6. But what you can do, since all it is is build.prop edits, is download tweak.prop, open it, copy all the lines, navigate to system/build.prop using root file explorer and then paste! voila! you have it.
[Nexus 6 Android Development] rbedell:
I didn't get the live wallpaper. Nexus 6 Pure Nexus ROM. ? Confused.
[Nexus 6 Android Development] El-Lobo68:
Flash Rom

Flash Gapps

Flash Fluence HD Patch no folder

and at the end TWRP 3.0.1.0 write error not install
[Nexus 6 Android Development] glockman4519:
The patch is awesome. Just tested on AOSIP, Pure Nexus and Dirty Unicorn. I did the vid on Dirty Unicorn. It worked great. But if on multirom, it only worked on the primary ROM, which is fine by me. I just moved it to the secondary after flashing the mod patch and "Bobs your Uncle"........ Great work dev.
[Nexus 6 Android Development] martinez5241:
When you understand " Bobs your Uncle " then you notice you and him are senior members...ouch lol:highfive:
[Nexus 6 Android Development] glockman4519:
That is a funny quote the British use that I never really got.. Lol... And it just sounds funny. But you are right, it definitely makes me old just knowing about it......lol....

"Chance Favors the Prepared"
[Nexus 6 Android Development] vwlover69:
I guess no one knows?
[Nexus 6 Android Development] Miustone:
Patch ONE

I can say it just again, read the Thread, read the older Posts or use the Search.... The Full Patch is not out yet!

The Full Patch called Fluence HD Patch ONE comes today! After some testing, fixing and updating is the Patch now ready for the Release on Nexus 6, 6P and 7...

Glockman4519 has made a great Video Review of it on YouTube... Take a look: https://youtu.be/RzIi0KzcGjs

Btw. Thanks for testing and the Video David!
[Nexus 6 Android Development] Nooblet:
When can we expect it to be uploaded and ready?
[Nexus 6 Android Development] Meowdib:
Rule #1 Don't ask for ETA. He already said "Today"
[Nexus 6 Android Development] Miustone:
Uploading

My last Test Setup was CM13 with OpenGapps Stock and SuperSU 2.71! (All latest available)

Wiped Everything, Flashed CM,GApps and SU. After it Patch ZERO and Patch ONE. Booted UP without Problems! No Errors, No FCs and NO LAGS!

Means ready for release....

Are You Ready for it People?:cowboy:

Uploading right now for Nexus 6!

EDIT:

UPLOADED
[Nexus 6 Android Development] MrBrady:
Thanks for the updated mod. QUESTION: If I don't want the Sony apps, do I install only ZERO?
[Nexus 6 Android Development] Mervingio:
Path One have Sound Enchantments?

Edit: yes
[Nexus 6 Android Development] Meowdib:
You tell us. Have you even taken a look to see what's inside?
[Nexus 6 Android Development] guitardedhero:
[MENTION=4756773]Miustone[/MENTION], you should absolutely add this to ONE. :good:
[Nexus 6 Android Development] Miustone:
Is this the missing Service for Sony Music? Would be great to have support for Chromecast and DLNA :fingers-crossed:
[Nexus 6 Android Development] guitardedhero:
Absolutely, I've been using it since Z5 Premium Marshmallow was available and have been sharing it with Sony Music dev's as I can't be without it lol! :good:

Of course, it's a flashable so just pull what you need. :highfive:
[Nexus 6 Android Development] Miustone:
Nice one... Thanks Mate! I will include it in the next Update... :highfive:
[Nexus 6 Android Development] guitardedhero:
Wonderful, just out of curiosity, are you wanting users to disable MusicFX for SoundEnhancement functionality?
[Nexus 6 Android Development] Mervingio:
I tested on KreXus without disabled and is simply amazing!
[Nexus 6 Android Development] guitardedhero:
Awesome, thanks! :good:
[Nexus 6 Android Development] HueyT:
Works great on Octo-M (CM13 based) rom :good:
[Nexus 6 Android Development] bigtlt:
Could I get a mirror please. Been trying a failing for an hour to download patch one

Edit:nevermind
[Nexus 6 Android Development] jcrompton:
I had patch Zero installed on [MENTION=4445176]guitardedhero[/MENTION] ROM

I tried to flash patch One and the ROM when booting up would not but within several seconds would reboot. Then tried a clean flash with the Zero and One patches in place ..... Same thing

Not sure what I did wrong and was unable to get a log or anything to help .... But for me the One patch doesn't work
[Nexus 6 Android Development] MrBrady:
Make sure the zips AND the tweak.prop are all in the same place. Without the tweak.prop, you'll bootloop.
[Nexus 6 Android Development] Mervingio:
You have a conflicting files because both have SONY apps plus more files
[Nexus 6 Android Development] guitardedhero:
It can, but must not be assumed first. It's better to understand what is being patched in the first place. :good:

Bingo! :highfive:

Except for the only conflict was a result of altering from the naming scheme used in Sony's operating system. If Patch ONE had Sony's naming scheme like my rom and my add-on do then there would have not been an issue, although it is unnecessary to begin with in this unique scenario of almost identical app data but with one using different nomenclature. :good:
[Nexus 6 Android Development] Fuse8499:
I read the OP and understand what I have to do. My question is do I have to flash both patches? Or can I just flash #1?
[Nexus 6 Android Development] glockman4519:
Holy cow dude, Screwd looks and sounds so good with this mod. Flashed Screwd, open gapps, superSU 2.71, patch 0 then patch 1 and booted.. I didn't recognized it at first Brilliant work man.

"Chance Favors the Prepared"
[Nexus 6 Android Development] MrBrady:
What is Screwd?
[Nexus 6 Android Development] guitardedhero:
No worries, it's a lot to take in and is sort of a curve ball when used to just flashing zips and examining the results of the flash.

I have a very comprehensive breakdown in my thread here, although it was the result of explaining an issue our user faced when using both of our work which is a very rare case with similar data, it still explains the zips as well as I can without having flashing either zip here. The reasons I haven't flashed either are as follows: (just to provide a little more clarity as I certainly don't want anyone to assume it's not good enough for me or anything like that.)

1:

If using a rom you edited and packaged together, there is no need for a build.prop patcher (Patch ZERO alone, if it is written to look for /tmp/a/tweak.prop. Or having Patch ZERO and tweak.prop in /sdcard where it searches until it finds /sdcard/tweak.prop) as the build.prop is easily edited before zipping up the rom.

2:

[MENTION=4756773]Miustone[/MENTION] and I share very similar interests, resulting in my preferred version of my rom already having everything in Patch ONE (A Sony Xperia add-on of media apps and his tweak set Tweaks1-10) except for lacking his tweak set.

The Tweak.prop script (Patch ZERO) seeks the tweak.prop file (located in Patch ZERO/a/tmp or you can place it in /sdcard if the script is not set to look in a/tmp/ of itself) for entries it contains which also includes an instruction line at the very top on whether /system/build.prop is instructed to be backed up first and then patches the /system/build.prop with its entries.

Patch ONE is a Sony Xperia Media app add-on so only flash that if you want the Sony Xperia apps it contains.

The Tweak.prop script (not to be confused with tweak.prop file) is a couple or more years old and I had never heard of it, oddly enough, but I was extremely excited when I heard about its automation and ability to survive custom recovery Factory Resets, when placed on /storage obviously.

I quickly examined all the information inside and was easily able to digest its intricacies so I try to help provide clarity when I can for Miustone's users as we're good friends here on XDA and we obviously love the same stuff as I referenced above lol!

Anyway, I just wanted to clearly explain the reason why I don't use either before anyone gets the wrong idea - This script is soley geared toward the end-user who flashes roms as they receive them but they also have a preset of build.prop lines that they like to add themselves. This script simply eliminates editing the build.prop, saving changes, and rebooting to get the build.prop they desire. What makes this automation different than a restore from backup of the build.prop is that this script only works with the new build.prop so that it will contain the new build.prop information added by the developer as well as your preset of entries upon the first boot after flashing the rom, whether it is a clean rom install or a dirty flash rom update. :good:
[Nexus 6 Android Development] guitardedhero:
I flashed the patch to check three things that I've been thinking:

First, my suggestion to add an empty line at the end of tweak.prop as the original author had instructed that was dismissed can be confirmed by the TWRP screenshot attached below. I purposely did not use my corrected tweak.prop to test this.

Second, the bootloops experienced with no tweak.prop on the device are the result of /system/build.prop permissions remaining at 0666 and aborting, which even the original script author had done. I think it is very smart to include a chmod 0644 $build line before exit 1 so that the build.prop will have the correct permissions to boot up. Alternatively, users facing bootloop after not having tweak.prop on their device can do this:

Boot to recovery

Mount > System

Advanced > File Manager

Navigate to /system

Tap build.prop and select chmod

Enter the value of 0644

Swipe to confirm and set permissions

Reboot

Third, it seems obvious to me now that a run_program line is required in a rom's installation script to execute a script to patch the build.prop. If this is going to be a standard practice then consistency is absolutely required.

I found a way to automate the patch during installing my Adaway hosts Installer I make available for my nonrooted users. I used my corrected tweak.prop file this time in /sdcard and it worked perfectly. Next I'm going to rename tweak.prop to make sure no issues occur when tweak.prop is not found.

Here are the line additions used when adding a tweakprop.zip I put together for dev's in their roms. These lines and the zip inside the Adaway zip must not be used until it is confirmed no issues occur when tweak.prop does not exist. I don't know yet as it took me awhile to come up with an automated patch.

ui_print("Patching $build if requested...");
package_extract_dir("tweakprop", "/tmp/tweakprop");
run_program("/sbin/busybox", "unzip", "/tmp/tweakprop/tweakprop.zip", "META-INF/com/google/android/*", "-d", "/tmp/tweakprop");
run_program("/sbin/busybox", "sh", "/tmp/tweakprop/META-INF/com/google/android/update-binary", "dummy", "1", "/tmp/tweakprop/tweakprop.zip");

Attached below are the screenshots proving the empty line is needed, the second screenshot coming from my Adaway hosts zip with the tweakprop.zip with the tweakprop.sh inside. Also, is the Adaway hosts zip with the /tweakprop/tweakprop.zip inside used by the lines in the Adaway hosts installation script I posted above. Finally, the correct tweak.prop file renamed with .zip at the end. Rename to tweak.prop for it to be found by the tweakprop.sh script.
[Nexus 6 Android Development] TMG1961:
[MENTION=4445176]guitardedhero[/MENTION] How did you get the last line in your build.prop? Was it added by the script or did you manually add it? When i flash the patch the wifi_supplicant line isnt added to my build.prop.
[Nexus 6 Android Development] guitardedhero:
I've been saying since yesterday or before that an empty line at the end of tweak.prop was absolutely necessary but I was dismissed every time. I looked into this whole script thing and was providing the necessary information to users as it is certainly confusing for sure lol!

I had some doubts as well, like how would it be automated by a rom flash without anything to run tweakprop.sh? So, I figured I would find how to properly run the script during any package installation with the necessary lines in the rom installation script and the tweakprop.zip package I put together inside the rom zip.

For ease, I just tested with my Adaway hosts Installer zip. The tweak.prop file is nowhere inside the Adaway zip as it is a user file to be edited or even removed/renamed if the user wishes it not to provide entries for a rom zip that will attempt to use it. It worked perfectly but means nothing if the absence of tweak.prop causes the bootloop issue for the user which I found was the result of /system/build.prop being left with 0666 permissions, permissions needed to write to.

I've already renamed tweak.prop to tweak.prop.zip on my /sdcard to test but I am freaking exhausted now after just getting to that point and just now catching up with my other users' requests.

Check the post above for the correct tweak.prop.zip which will need to be renamed to tweak.prop of course. And if you want the latest Adaway hosts file go ahead and flash that zip, but only after having already placed the renamed tweak.prop first. I provided the tweak.prop for the user to use as they need and I provided the Adaway zip for the dev's to see the lines necessary and the /tweakprop/tweakprop.zip so it can be used. I added a chmod 0644 $build before exit 1 in the script in that zip and renamed tweak.prop.zip on my /sdcard to see if the edit I made restores the build.prop permissions for a successful boot. :good:
[Nexus 6 Android Development] leondestiny:
what is the difference of the normal adaway apk to the flashable zip you provided mate :)

i always install the apk of it and update the hosts, what does the zip do? is it only for the fluence patch/tweak.

or can it be used without that also ?
[Nexus 6 Android Development] guitardedhero:
I can confirm the edits made resulted in a perfectly untouched build.prop and a successful device boot with no tweak.prop on the device.

The zip attached below is only what is necessary for adding tweak.prop support into your rom's installation.

Obviously, this should only be considered when preparing a zip that includes /system/build.prop.

It's been fun guys, but I need to freaking sleep now lol! (-6:00GMT) = 04:00am :eek:
[Nexus 6 Android Development] guitardedhero:
I provide a fully unrooted rom for users that do not want root or cannot have root such as having an occupational provided phone that forbids root. I focus on bringing the familiar features and comforts of a rooted device to an unrooted user. I'm the guy that got ViPER4Android fully functional without root whatsoever, just to give you an example. The Adaway hosts zip allows an unrooted device with a custom recovery to obtain the latest hosts file in /system/etc to provide ad blocking. If you're rooted, it's certainly easier to just let Adaway do that for you automatically in the background. :good:
[Nexus 6 Android Development] the sandman89:
I keep getting "download failed" when trying to download patch ONE. Any ideas?
[Nexus 6 Android Development] leondestiny:
well hell yeah i know you ! i use the V4A's that you work on :)

thanks for the explanation mate ,cheers.
[Nexus 6 Android Development] guitardedhero:
Absolutely, my pleasure! :good:

I've bundled a tweak.prop zip for the user to go along with my tweak.prop support zip for the rom developer to take advantage of tweak.prop support if provided by a rom. This should help get everyone that reads either zip's files to be on the same page with coherent, detailed explanations as brief as possible.

Rom developers that wish to implement tweak.prop support detailed in the tweak.prop Support for Rom Injection.zip will likely want to include this in the attachments section of their OP. Hopefully, this will alleviate the Q&A by providing enough necessary information for the user.

That completes the entire tweakprop project for me as there is nothing more to be done. tweak.prop support has already been injected in my rom installation script, an easy task for the rom developer, and all that is left now, is on the user side to provide the build.prop patch request. :good:

Thank you [MENTION=4756773]Miustone[/MENTION] for bringing this to my and many other's attention. FLUENCE HD is included in the tweak.prop user zip as an example of a finished build.prop patch request and can even be used as one if named to /sdcard/tweak.prop. :good:

It's been fun guys, I'll see you on a future project! :highfive:

Edit*

Developers - In addition to implementing tweak.prop support in your rom's installation, I think it is beneficial to include the /tweak.prop build.prop Patch Request folder in your rom's /system folder for quick and easy access to the necessary information for your users to use and resource.
[Nexus 6 Android Development] WhiteEVO:
Thanks for all the work guys, but I'm a little in the slow side, do we rename your patch request.zip to tweak.prop?

I'm so confused ?
[Nexus 6 Android Development] guitardedhero:
Extract the zip and view the files inside, especially Info.txt and Example.txt files.

This zip will not flash as there is no META-INF folder. It is simply the information and files necessary to easily prepare your tweak.prop for roms and unique zips that implement tweak.prop support to patch the build.prop.

[MENTION=4756773]Miustone[/MENTION], I deleted my ViPER|Audio™ and SONY effect build.prop entries from my ViPER|Atmos™ Xperia™ Edition rom, implemented tweak.prop support into my rom's installation as well as the /tweak.prop build.prop Patch Request folder into /system for the end-user and zipped it up.

I prepared my tweak.prop using your entire FLUENCE HD build.prop line set with only the DPI line entry removed, nothing added, and placed in /sdcard as /sdcard/tweak.prop.

I then flashed the rom and everything worked perfectly, which was no surprise since I spent hours preparing and testing the developer and the user tweak.prop preparation zips last night. The surprise is my testing so far is the FLUENCE HD build.prop entries that are working extremely well and sound great with my ViPER|Atmos™ and Xperia Z5 Premium Marshmallow Media System.

I would love your permission to use FLUENCE HD as part of the ViPER|Audio™ series and have you become a part of this very special sound mod with the use of this contribution. Every day, more and more roms are injecting ViPER|Atmos™ into their system for a fully functional out of the box premium sound enhancement system experience for users everywhere.

tweak.prop support will be implemented into the next update for the entire ViPER|Audio™ series so your contribution will be used and seen by thousands in no time. The /system/tweak.prop build.prop Patch Request folder will also be included so that the user will be able to prepare their very own tweak.prop for their rom and sound system at the very same time. Your FLUENCE HD is used as an example tweak.prop in the tweak.prop build.prop Patch Request zip/folder so it is very likely to be implemented by the user right away and then possibly edited to fit their individual needs after their testing.

This dev/user implementation/preparation is likely to take off if sufficient awareness is made. Please look at the contents of both zips and this post and let me know what you think. :good:
[Nexus 6 Android Development] hilfloskind:
Does this work with V4A installed or are there special instructions necessary when installing alongside V4A? On 6.0.1 March update, Elite kernel, V4A 4.8.1 version.

Thanks!