[HTC Sensation] Yank555:
OK, here you go ;)

I've attached the file, the file "gps.conf" in the zip goes in this location "/system/etc". This zip is NOT flashable !

Well it's not a script, I modified the original installation script so as not to clear the cache when I flash the ROM. I removed the following lines in the "META-INF/com/google/android/updater-script" in the flahsable ROM ZIP-file :

ui_print(">>> Cleaning process");
delete("/data/.battery-calibrated");
delete_recursive("/data/dalvik-cache");
delete_recursive("/data/resource-cache");
delete_recursive("/sdcard/.data/navigator/Data/Temporary");
delete_recursive("/sdcard/LazyList");
delete_recursive("/sdcard/LOST.DIR");

Why I did this ... well when reflashing the same ROM, there is generally no need to clear dalvik. While clearing it will never harm, it will keep you waiting on the first boot until "Android updates" all your apps (actually rebuilds the cache), which I consider lost time.

If I want it to be rebuild, or it has to, I clear it manually using 4ext, but I like to choose by myself if or if not.

Means that I use my Sensation at 160dpi density, which gives you the feeling of higher resolution by making everything tinier, I've attached a printscreen to give you an idea.

Go to the "Develop option" in your settings, you won't see that much on your screen.

While 160dpi is small, it keeps Play Store working fine, which it only does at 240dpi (standard) or 160dpi, everything in between may look good, but more than half the apps will either not show in Play Store or tell you, they are not compatible with your device.

But beware, if you use the PIN lock, don't use 160dpi !! It's not displaying the keypad correctly at 160dpi, the OK key is missing, so no way to unlock the device ! I warned you !! :cool: (to get back going, reflash the ROM and you're back at 240dpi)

Because in addition to zram I like to extend memory using a swap partition. I prefer to keep the apps running and have Andoid (or better Linux actually) swap them out than having them closed and restarted (gives overhead when switching from one app to the other).

You may or may not agree, I think it's a philosophical stand, I'm just standing on the more RAM side rather than the more start/stop.

Have a look here for more details :

http://xdaforums.com/showthread.php?t=1630095

I've attached the file, the file "hosts" in the zip goes in this location "/system/etc". This zip is NOT flashable !

While blocking ads is another philosophical stand, I prefer to see as little of them as possible, I believe we alraedy see way more ads everyday than a human being is supposed to anyway, but that's maybe just me :cool:

Be aware that some apps will detect the adblocking and might refuse to start ! Though none of my ~140 apps does.

I don't use it to avoid ads in apps so as to not have to buy them, if I like an app I buy it, if I don't, I uninstall it anyway.

It's just that I consider MY phone to be MINE, and I consider to keep it from being spamed by ads to perfectly be my right. It will also keep most inline ads on websites from showing, which I never consented to receiving and which eat up part of my monthly quota of mobile data, that is MY money, and now they don't anymore !

I suppose, since you're asking, that you migtht not need it. bash is a Linux shell (http://en.wikipedia.org/wiki/Bash_(Unix_shell)).

Since I'm a UNIX geek, I like typing around in terminal windows or even access my Android phone through an ssh session, and while doing so, I prefer to use my beloved bash shell rather than "sh".

I've made a flashable ZIP (attached) which you can flash using 4ext that will add bash (& environment) for you. Once installed, start a terminal and type "b" and you will be in a bash shell.

I haven't tested the zip, so be careful and do a NANDROID backup before doing anything else :cool:

JP.

-------------8<-------------8<-------------8<-------------8<-------------8<-------------

Of course you may, it's xda's main purpose :D

You need to read to the last word, I disabled "clearing the cache", not "the cache" :cool:

See above :cool:

Yup, you know swipe2wake ? When you swipe from right to left (search to home), you not only put your device in standby, you'll most often take a screen shot as well. Which is why I disabled that htc feature ;)

See above :cool:

JP.