yashsingh1/xdaforums huggingface dataset:
[HD2 Android Themes and Apps] dorimanx:
I am waiting for invisablegod to compile it, :)

I don't have the source, and i need the visual studio and plugins,

So better give the honor to one that has all the he need!
[HD2 Android Themes and Apps] feanor91:
Thanks to answer, but in what file? I try framework-but when I try to flash it says that my zip is bad, but did'nt know if it is because I use the bad file to change or if I mak an error during zipping things...And one more thing, I use winrar to zip / unzip. Is that a problem?

In fact, I didn't know where to ask my question, I'm not very aware of XDA forum and there is so much thread....
[HD2 Android Themes and Apps] Hammerfest:
hows the latest tablet tweek integration coming along?

also, the big thing i was looking for that you said you where working on was long-back key press to kill application! <--- probably the biggest "want" I have, 90% of the apps i use I want closed when I "close" it... I miss WM6.5 and the X to close...
[HD2 Android Themes and Apps] FD10:
I have the same problem...
[HD2 Android Themes and Apps] djmeistro:
Again ty for the tweaks dorimanx can't wait to try
[HD2 Android Themes and Apps] chrisrj28:
I looked and mine is showing -12, I'm using the Coredroid Rom in my signature with Sense 3.0, is your tweak for changing the value to -17 not compatible?
[HD2 Android Themes and Apps] dorimanx:
I have installed the Kernel (I am on MAG)

First it's loaded but WITH lots of FC as it should afer clear dalvik cache,

Now i am trying to load it again,

For now i am still on boot screen animation moving!

I will update my status soon.

EDIT: DAMM animation stuck! tried 3 time to reboot, all the same! :(

But first time it's loaded with the FC!!!

I have tried with clean ROM nothing applied!

Well we will have to wait for new release that works!

Reinstalling the ROM!
[HD2 Android Themes and Apps] tmotard:
i can't load this kernel. Ever stay on the animation screen .. but with animation after a moment !!

tried it at least 5 times....
[HD2 Android Themes and Apps] milkoo:
Can you make the circle battery indicator to show in single intervals instead of 5?
[HD2 Android Themes and Apps] dorimanx:
That already working! :)

Just go to settings application development and check the kill app with back key!
[HD2 Android Themes and Apps] dorimanx:
Nope :(

I am not programmer,

You need to change the code inside framework.app

If some one will do it i will integrate it to my skin! :)

So if there are programers following this tread please respond :)
[HD2 Android Themes and Apps] milkoo:
Its not a big deal. Your efforts are appreciated. Just can wait for the tablet tweaks.
[HD2 Android Themes and Apps] xftox:
Wool this work with hyperdroid
[HD2 Android Themes and Apps] feanor91:
Hello

I finnaly did it. t's in Frameork-res.apk. And I do more, I change directly the files in the rom so I have all installed in one pass rom+my own interface.
[HD2 Android Themes and Apps] milkoo:
Tablet tweak framework released for 109 and 110. Nice.
[HD2 Android Themes and Apps] dorimanx:
Cool cooking the full package! with tweak small update 1.7A :)
[HD2 Android Themes and Apps] Hammerfest:
u mean 1.8a? lol
[HD2 Android Themes and Apps] dorimanx:
yea my bad 1.8A full

testing last tests.
[HD2 Android Themes and Apps] chrisrj28:
Is there a way to make the Home Screen refresh .zip include HTC Sense as Sense is not part of android.process.acore
[HD2 Android Themes and Apps] Rudyfastcat:
Thanks Dimqs153. I took care of the r/w and all is good now I have the 190 dpi back that I wanted ...

Anyone else wanting to do so to can go HERE for some directions
[HD2 Android Themes and Apps] dorimanx:
Yes look for my GUIDE on MAIN PAGE

HOW TO ADD APPS to Protector
[HD2 Android Themes and Apps] veekay:
Is there a way to remove the little bar in the upper left corner of the full package? It is blocking my icons
[HD2 Android Themes and Apps] milkoo:
cm 7 settings then tablet
[HD2 Android Themes and Apps] FD10:
Same problem...
[HD2 Android Themes and Apps] beston94:
Swap??

Hey will swap increase my ram on any rom??

I'm using CMYLXGO's Stock Desire v.1.1.7n [lite]

android version 2.2.1

Please help!!

Thanks in advance
[HD2 Android Themes and Apps] dorimanx:
Yes it will, but dont forget it's using your SD card not some new device that have it's own storage,

So it's give you ram but write to SD all the time,

And it's cant be compared to real RAM, the bottle neck is with the SDCARD READ/WRITE sppeds.
[HD2 Android Themes and Apps] veekay:
I used the first version of this without issue (back on 3.3.6), but now after using the latest I just get stuck on the android logo and have to reflash the phone.
[HD2 Android Themes and Apps] Rudyfastcat:
Goto tablet tweeks then Chose -soft buttons and uncheck all soft buttons (the little bar on the left corner is called quick notifications soft button)
[HD2 Android Themes and Apps] dorimanx:
and what ROM you have?

I am using this pack now and already telling some more. ;-)
[HD2 Android Themes and Apps] veekay:
TyphooN_CM7_v3.3.9-MAGLDR

I probably should have left things alone and not upgraded as your tweaks with 3.3.6 were the best ever

I also cannot update busybox or install the 3D driver you recommended anymore - it denies root access after installing the addon
[HD2 Android Themes and Apps] clio94:
you`re right the swap works and in other roms.i tried it with kingdom sense rom and the real goal is that it doesnt make the device faster but it allows you to have a lot more apps open.it is the first time that i was able to have open and multitask in a sense ginger rom,phone app,messaging app,angry birds,dolphin browser,tapatalk,mireo dont panic and move between them without sense refreshing.Simply you ROCK :) Τhank you very much.You have sent android hd2 a step forward :D
[HD2 Android Themes and Apps] milkoo:
IM using the last 1.8 full update and I feel the internet is faster but when i play games its a little laggy. I play pes2011. If it helps. Everything else works really good. I didn't install swap.
[HD2 Android Themes and Apps] chrisrj28:
I added com.htc.launcher to the script per your instructions but the oom value is still at 6 which keeps causing Sense to get killed when doing just about anything. Any ideas?
[HD2 Android Themes and Apps] dorimanx:
Root access??? i am far away from that!

none of my tweaks do any change to user storage and root access.

what you had in 3.3.6 is was the base of what i uploaded now, with lots of stuff tweaked.

please just do fresh install and update with tweaks then install all you want!

all will work fine.
[HD2 Android Themes and Apps] dorimanx:
then you must try the 1.8C worked allot on that one. now its perfect till next rom update ;)
[HD2 Android Themes and Apps] dorimanx:
That sounds cool all the stuff in ram and holding!

thanks for feedback!

and check my new update.

but keep the old one in case you like to use it back. ;-)
[HD2 Android Themes and Apps] Hammerfest:
ok, im confused...

you say in the first post" ***First install tweaks then install Gtalk1.3b.No-Wifi.Force-Close.zip"

but i downloaded: "

Full Package include MY TWEAKS + Tablet Tweak + SKIN + HOME SHIELD!"

so do i need to download/install the gtalk/gframework crap or not?
[HD2 Android Themes and Apps] dorimanx:
did you not forget the ('your luncher') and all the rest

better can you post your noappkill file or his code here and we will fix it together ;-)
[HD2 Android Themes and Apps] dorimanx:
yes. first the tweaks full. then the gtalk with new google framework.

i cant merge them. file is to big and i cant upload it to server.

i will have to post links to external storage that make you wait 30sec and type some crap and then download.

please test and post results if you will have time.

thanks.
[HD2 Android Themes and Apps] beston94:
ok thanks a lot
[HD2 Android Themes and Apps] kikisp:
something is wrong with 1.8c..i lose my widgets on restart on lockscreen ..using widget locker..

but with 1.8b is all good..must say that this give me about 50 mb free ram..good job
[HD2 Android Themes and Apps] Looki75:
Well, I'm using WL too and tweaks 1.8c... nothing wrong until now. Rebooted 2 times to see if I can reproduce your bug - but no - everything is fine for me: widgets load properly!

Maybe you changed something else recently?
[HD2 Android Themes and Apps] chrisrj28:
Thanks for your assistance, I just uploaded the .zip with the changes I made, let me know how it looks
[HD2 Android Themes and Apps] Looki75:
I had a look to your script; I think it would be more appropriate to change

HTC Sense

by something like

HTCSense

or

HTC_Sense

because I'm not sure the space is correctly interpreted as part of the variable name...
[HD2 Android Themes and Apps] ampie24:
I installed your full package 1.8c on 3.3.9. Clean install

3 hours later after 3 reboots the battery went from 100% to 20%!!!

70% screen on, says the battery stats 29 minutes on

What am i doing wrong?
[HD2 Android Themes and Apps] adamhonghong:
I've found the problem after one day flashing and restore.

1. I used the 5M cache recovery 150M while I used 44Mcache b4 (dont know it bothers or not)

2. Hyperdroid rom is setup to use 2nd partition to store apps which we know app2ext but my 2nd partition is swap which make me cant install anything even a clean flash.

I'll try partition the sd card the proper way to try yr tweaks and find any problems
[HD2 Android Themes and Apps] dorimanx:
Yes its correct solution! i am happy to see that people know linux ;)

please correct the space in name in both places and its should work.
[HD2 Android Themes and Apps] dorimanx:
well my tweaks change ram settings and flush settings also partition mounting.

nothing about widgets or any data files.

check your setting. or reinstall the lock app or do fixpermissions

Any way now i have found how to make battery last longer! my phone lost 10% from 2am to 1pm today. i didnt turn it on. and when i did i was amazed!

i did only small change at setting laptop mode from 0 to 1 in 90ramscript and this is the result. very cool

to make it work run the script or just the hole line with the mod

or change and reboot :-)

if you do changes with root explorer dont forget to delete the .bak file that he save just in case.

all files that exist in init.d folder will be activated on boot

so your .bak will also and revert any change that you did.

just for global knowledge
[HD2 Android Themes and Apps] chrisrj28:
Ok I tried HTCSense and going into autokiller still shows oom value at 6, is it possible that this value is not able to edit?
[HD2 Android Themes and Apps] dorimanx:
Try like this

HTCSense=$(pidof 'com.htc.launcher')
for i in $HTCSense
do
echo 0 > /proc/$i/oom_adj
done
HIT ENTER and leave empty line

0 Is also high level of protection, maybe you rom not support -17

0 = visible app, autokiller will never kill visible app that is on screen now!
[HD2 Android Themes and Apps] chrisrj28:
Ok I will try that, when using atuokiller I can select it to temp lower oom to -17 but it only stays that way for a moment. Lowest values I see are -12 & -16.
[HD2 Android Themes and Apps] dorimanx:
can you also do this in terminal

ps | grep com.htc.launcher

it's should get you something like that:

SOMETING 2561 629 147692 52968 ffffffff afd0c5bc S com.htc.launcher

the numbers are not important!

if you get nothing then system not see your launcher with that name!

try :

ps (hit enter)

you will get a list of all that you are running + system stuff.

look there for your launcher it's may have slight different name

com.htc.launcher.blablabla but this is important you need the full name!
[HD2 Android Themes and Apps] chrisrj28:
Ok did that and the name is correct, com.htc.launcher. don't know why it's not applying
[HD2 Android Themes and Apps] Looki75:
REAL shield for ADW users!

Yeeeeeeeeeeeeeeeeaaaaaaaaaaaaaaaaaaaaahhh!!!!

I think I might have found something!

************************************************

Notes

The below applies to my situation, which is: I am using Cyanogen's ADW Launcher + Widget Locker which means that for the Android system, Widget Locker (WL) IS considered to be the launcher and ADW just a regular app that WL calls when necessary.

I don't pretend having found something revolutionary, but I think it can help other people in the same situation AND maybe enable Dorimanx to improve his own Shield app! Actually, Dorimanx made 99% of the job, I just brought a (final?) touch!

************************************************

It is true that all successive updates from Dorimanx showed more and more improvement as for the "home app killed/relaunched" issue.

However, even with less relaunched, we still could experience the issue time to time.

As I am a bit paranoiac, I installed "Autokiller Memory Optimizer" in order to check very often that the process android.process.acore actually had its oom_adj parameter at -17... and yes, it really was all the time at -17 almost as soon as it gets to the background.

BUT, today, while checking for the Xth time (X>100), I suddenly saw a process named "ADW.Launcher"!!!! My launcher!!! and THAT one had a poor 8 or something!

So I modified the noappkill script.

Important (for those who modify the shield themselves): FOR SOME REASON, modifying with "ADW=$(pidof 'ADW.Launcher')" did not work. I had to go on the process ADW.Launcher in Autokiller, ask for more details and saw that ADW.Launcher is part of com.android.launcher. So I added the following code in the noappkill script:

ADW=$(pidof 'com.android.launcher')
for i in $ADW
do
echo -17 > /proc/$i/oom_adj
done

Until now, I've been using the phone for 10+ hours and I had exactly 2 restarts of the Home app!!!! Exactly 2 that both happened when I switched on my GPS navigator app. I think that the navigator created a huge RAM spike demand BEFORE the script which sets -17 was run (this script is run each 3 seconds).

So to increase even more efficiency, I set the script to be launched each 1 second. So far so good... I will report my tests results, but seems very promising!

As Dorimanx says: "stay tuned" :)
[HD2 Android Themes and Apps] Looki75:
Question: do you see com.htc.launcher in Autokiller?

If yes, go on this process, long press on it, then click "More information" and then you have

Name: com.htc.launcher

Package: XXX.XXX.XXXXX

I had the same issue than you have (for me, it was with ADW Launcher).

The "Name" of the process was ADW.Launcher

The "Package" was com.android.launcher

for this reason I added this code:

ADW=$(pidof 'com.android.launcher')
for i in $ADW
do
echo -17 > /proc/$i/oom_adj
done

and my "ADW.Launcher" had finally the -17...
[HD2 Android Themes and Apps] chrisrj28:
Yeah for me the name is HTC Sense and package is com.htc.launcher, any other ideas
[HD2 Android Themes and Apps] dorimanx:
yes i have one!

i think your rom comes with busybox higher then 1.16.2 that we have,

today i have installed busybox 1.19 and the watch command stop working!!!!

it's just didn't do any thing!!!

this what is see when i run

#busybox (terminal)

# busybox

BusyBox v1.19.0.git.adrynalyne (2010-12-21 22:03:30 MST) multi-call binary.

if you have the same problem here is a fixed home shield zip.

it's contain watch from busybox 1.16.2 that work supper!

just do your settings in noappkill and install via CWM :)

Then see if it's -17 :)
[HD2 Android Themes and Apps] dorimanx:
Great JOB!

I use luncherpro and i have never see it in my list :(

But i see it in logs all the time!

so i have did as you! :)

HOMEAPP=$(pidof 'android.process.acore')
for i in $HOMEAPP
do
echo -17 > /proc/$i/oom_adj
done
ALLAPPS=$(pidof 'xxbcn.AllAppsOrganizerPlusB')
for i in $ALLAPPS
do
echo 17 > /proc/$i/oom_adj
done
HOMEAPPREAL=$(pidof 'com.fede.launcher')
for i in $HOMEAPPREAL
do
echo -17 > /proc/$i/oom_adj
done
[HD2 Android Themes and Apps] milkoo:
I was looking at the change log and it says something about looking for adw launcher. What happens if I use a different launche?. In my case I prefer go launcher. Do I have to install the gscripts again?
[HD2 Android Themes and Apps] Rudyfastcat:
Dorimanx is the man !

Wow 190 DPI is back in latest 1.9 update ....Just when I was getting good at changing it myself...:)

Dorimanx Thanks for the long hrs you spend helping make a great ROM even greater
[HD2 Android Themes and Apps] dorimanx:
its will keep looking for launcher hidden in system processes. but if you see your launcher in processes and know its package name then use my guide to add it in the script and protect it.
[HD2 Android Themes and Apps] dorimanx:
O well i just forgot to change my set when packed my tested config.

all that like the defaults please set 240 sorry ;-)
[HD2 Android Themes and Apps] Looki75:
Dorimanx!

Just to let you know!

All attachments you posted under the name

"Home-APP-Super-Shield-By-Dorimanx-ver1.1.zip"

DO NOT contain the latest files version with my mod (related to com.android.launcher)

The mod actually is OK in

"ROM-Tweaks-by-Dorimanx-ver-1.9-Only-Tweaks.zip"

and

"ROM-Tweaks-by-Dorimanx-ver-1.9-FULL-ALL-Included.zip".

Oh BTW, thanks for mentioning my name in the first post :D

And thanks for hitting the thanks button :D:D:D
[HD2 Android Themes and Apps] mvaughan06:
can i install the 'ONLY TWEAKS FILE' zip on hyperdroid. or do i have to install the 'full' zip with the skin, etc? i'd rather just have the tweaks and skip the skin and such.

thanks
[HD2 Android Themes and Apps] Looki75:
@dorimanx

Some time ago, I asked you a question about "zzznoappkillrepeater" ;)

In "zzznoappkillrepeater" you set the repeat time @3, in the last 1.1 version, I noticed you set @2. For myself, I set it @1 second!

The question I asked you few pages back was: how low can we go?

You answered we can put 0 but you don't know what it means...

Well I tried 0 and it's no good. The phone gets impossible to use - at all.

The script is probably running all the time... I don't know what that could mean: maybe the phone makes an infinite queue of launch lines and as soon as the script has finished execution, it starts executing again???...

Never mind, as a matter of fact the phone is soooooooooooooooo slooooooooooooooow!!! Impossible to use!

So I reverted to 1 second which is ok!

Next development: how can we change that to 500ms (half a second)?
[HD2 Android Themes and Apps] Tak3r07:
These tweaks are amazing !

Thank you so much !

My batterydrain has decreased whereas perfomance and free ram has increased.
[HD2 Android Themes and Apps] dorimanx:
ooo my bad I will reupload!

I am now testing my new set and I found a way to keep all my 44 programs in RAM including launcher! its just work and I did it with tweaks!

if you want to test it do this:

in build.prop do this!

dalvik.vm.heapstartsize=8m

dalvik.vm.heapgrowthlimit=128m

dalvik.vm.heapsize=128m

ro.HOME_APP_MEM=256

ro.PERCEPTIBLE_APP_MEM=256

ro.SECONDARY_SERVER_MEM=256

ro.VISIBLE_APP_MEM=256

ro.HIDDEN_APP_MEM=256

ro.FOREGROUND_APP_ADJ=0

ro.VISIBLE_APP_ADJ=1

ro.SECONDARY_SERVER_ADJ=1

ro.HOME_APP_ADJ=25

ro.HIDDEN_APP_MIN_ADJ=16

ro.CONTENT_PROVIDER_ADJ=20

ro.EMPTY_APP_ADJ=22

dalvik.vm.execution-mode=int:jit

dalvik.vm.dexopt-data-only=1

in 90ramscript change to this!

#Kernel Tweaks and RAM Manipulations

echo "256,512,768,256,1280,1536" > /sys/module/lowmemorykiller/parameters/minfree

echo "0,1,1,16,20,22" > /sys/module/lowmemorykiller/parameters/adj

echo "5" > /proc/sys/vm/laptop_mode

echo "50" > /proc/sys/vm/swappiness

echo "2000" > /proc/sys/vm/vfs_cache_pressure

echo "10000" > /proc/sys/vm/dirty_writeback_centisecs

echo "10000" > /proc/sys/vm/dirty_expire_centisecs

echo "100" > /proc/sys/vm/dirty_ratio

echo "60" > /proc/sys/vm/dirty_background_ratio

echo "5 5" > /proc/sys/vm/lowmem_reserve_ratio

echo "1" > /proc/sys/vm/oom_kill_allocating_task

echo "0" > /proc/sys/kernel/ctrl-alt-del

echo "30" > /proc/sys/kernel/panic

echo "0" > /proc/sys/kernel/panic_on_oops

echo "0" > /proc/sys/vm/panic_on_oom

echo 40" > /proc/sys/vm/overcommit_ratio

echo "3" > /proc/sys/vm/page-cluster

now all stays in RAM and I can load huge RAM eating game!

the not used services go to swap and RAM is freed for game!

I will get home and release new pack.

this is fantastic!

its maybe the final solution to home kill problem!
[HD2 Android Themes and Apps] dorimanx:
well tests are good. with 0 script run as crazy eating all the cpu!

so 3 is the best. I think I solved the problem with system setting change.

and I will revert to 3 next time. this let phone cpu to rest more.

and we can't use 500m/sec its not supported by command.
[HD2 Android Themes and Apps] Looki75:
This sounds VERY exciting!

If I modify 90ramscript and build.prop according to the above, do I need to remove zzznoappkillrepeater and noappkill? It sounds like they are not necessary anymore...

Can't wait testing these new settings!:D
[HD2 Android Themes and Apps] milkoo:
This is too complicated for me. Everything is working fast and games are playing really nice. I have no complains.
[HD2 Android Themes and Apps] Rudyfastcat:
I like 190 DPI so no need for me to change to 240
[HD2 Android Themes and Apps] Magnumutz:
Hey man, is there any way you could make your tweaks run on this ROM: http://xdaforums.com/showthread.php?t=1038694 ?

It's the first ROM that has working HD recording :D
[HD2 Android Themes and Apps] dorimanx:
No please dont install before you do this.

download the tweaks only, and full for hyper droid.

copy build.prop from full hyperdroid to only tweaks and overwrite the existing build.prop.

then install and it's should be ok.
[HD2 Android Themes and Apps] dorimanx:
For now, dont remove we will keep testing and if its will hold without the -17 then we will remove!
[HD2 Android Themes and Apps] dorimanx:
Well the ROM looks nice but it's a SD build.

and probably has lots of settings that we don't or backwards,

so to make it work i need to test it,

and i am happy with tyweens ROM,

Sorry answer is no, (at least for now)
[HD2 Android Themes and Apps] Looki75:
Without your answer, I just went ahead and started test without the "nokill" scripts... :o

And... I am impressed!

In the previous situation, even with the "nokill" scripts, I always had a restart after the phone boot. I explain that because at phone boot ALL services are launched, which is probably very demanding in resources, hence closing the home app. Maybe also (I don't know for sure) the "nokill" scripts are not executed right a boot, but with a delay...

Anyway, always (even with my mod) I experienced fresh restart of the home app at phone boot.

Now, with new memory tweaks and without the "nokill" scripts, no fresh restart at phone boot! :D:D:D

Then I used the phone for a while - no restarts! :D

I tried to heavily *charge* the system by running simultaneously: Handcent + EasyMoney (this one quite heavy) + Angry Birds + GPS navigation app (icoyote - french one)... and home app is still there!!! :D

Of course we need more testing... but... VERY promising preliminary tests!!! And the beauty of it, is that all of this without the "nokill" scripts!!!! Which - no doubt - saves some drops of juice by keeping the cpu less stressed!

:D:D:D

Dorimanx, you're the man!