The title may mislead you because I did it on purpose. The answer to this dilemna that had been hounding users for so long ever since Lollipop came out is that there is no fix to this.
Sure, some users may be lucky to be able to fix the Nexus 7 bootloop problem if they managed to get past the boot and into the recovery menu. But if you get stuck at the Google logo for all eternity? Well, I am sorry but you are out of luck.
This is also what happened to me. Nexus Root Toolkit did not do the trick. All other forum posts did not solve the problem either.
Google and Asus, whoever is at fault here have left this issue dead.
The Nexus 7 tablet for me was the best in terms of size and hardware. However, I doubt I will be buying another tablet because of this …
So you have some color like R.color.black and you want to add transparency to it. Rather than storing that value inside the colors.xml file, you can do so programmatically.
If you are using the support library, you can use ColorUtils.setAlphaComponent(color, alpha) method.
If you want using basic Java, do it like this: (color & 0x00ffffff) | (alpha << 24).
Remember, the color value is not R.color.mycolor. I use the Compat library all the time so I convert the R.color.mycolor variable to ContextCompat.getColor(context, R.color.mycolor) then pass that to the formula above or the setAlphaComponent() parameter.