yashsingh1/xdaforums huggingface dataset:
[HD2 Android Themes and Apps] dorimanx:
Wow thanks for the tests!

well i see all my apps are in RAM (36 of them!!! ) since RESTART 1 hour now!

I did load games and called friends and watched movie and when i get back the HOME is there!!! :)

Yeeeesss!!! at last this bug is gone!!!

I have tweaked some more, the settings since i posted first try,

it's will work as expected, but with more brains :)

it's will dump old stuff to swap and when need load from there,

every one that don't have swap and heavy loading there phones will start losing open apps! well if there is no RAM then no RAM! something must go!

With SWAP NO PROBLEMO! :)

but if you are a light / middle user then all will work super for you!

no more Home refresh!!! in normal conditions.

but if you install some app and it's damaged some how and phone will stuck for 10 seconds, system will start killing open apps to heal! and unstuck!

but if it's cant restore it's self in 30 second, reboot will be done automatically!

This is the oom_panic mode, by default it's 10 sec i have told the phone try to recover for 30 sec :)

i am uploading new tweaks 2.0 to main page,

for now with the home protector.

i need to check and test some more,

if it's stable then next version will be out without the protector and auto delete it from system for those that already using my tweaks :)

Uploaded some picks to prove my work :)
[HD2 Android Themes and Apps] Magnumutz:
It's also MAGLDR :)

I can be your guinea pig if you want :D
[HD2 Android Themes and Apps] Rudyfastcat:
Just a quick question

Dorimanx

What are some of the cool looking widgets/apps you showed in the attached thumbnails on Post# 261

Thanks for keep the tweeks up dated :)
[HD2 Android Themes and Apps] dorimanx:
well try this!

download the only tweaks!

open and move file build.prop from zip to your drive some were

now copy your build.prop to some folder,

open mine and take only 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=1

ro.HIDDEN_APP_MIN_ADJ=22

ro.CONTENT_PROVIDER_ADJ=23

ro.EMPTY_APP_ADJ=25

and add it at the bottom of your file.

now copy it to ZIP /system

and you can try to load it, but you need to do it from recovery console!

do you have it?

If NOT!

then to make it work you need to copy all files to there directories and set permissions manually.

And this why i told you that it's not easy to move from NAND to SD

Please do backup of all of your data and rom before any change!
[HD2 Android Themes and Apps] dorimanx:
Ah you didnt see my rest 4 screens ;-)

I have 345 apps what did you like in my stuff.?

I will tell you the name of it.

you can get them in market or look for them on the net
[HD2 Android Themes and Apps] Rudyfastcat:
Sorry for not being specific the ones I like are on your home screen

IE. -(the large ones around time) signal , sound and data widgets
[HD2 Android Themes and Apps] Hammerfest:
so either your not updating your first post, or you have forgotten :P

but new GPS libs come out quite often :P we are on 1.5 right now i think... you still integrate 1.3 :P
[HD2 Android Themes and Apps] dorimanx:
I hear you :)

I will post new update with 1.5 GPS just downloaded it for me :)

And i have managed to tweak the memory to be able to hold 60 apps in RAM

But you must have SWAP.

I will post soon package 2.1 + new gps libs!
[HD2 Android Themes and Apps] dorimanx:
The volume app = volume ace

The cpu + freq + temp widget = Temp+CPU PRO

The signal widget = Mobile Signal widget PRO
[HD2 Android Themes and Apps] fredcom2:
Hi dorimanx,

Thank you for your work and your time.

With the last 2.0, I 've something sprecial, as all is now smaller (icone, type size).

It's like the densitt as change.

Do you know which setup I have to change to revert back to my previous density?

thanks again
[HD2 Android Themes and Apps] dorimanx:
use editor to edit the density in build.prop from 190 to 240

the save and flush again.

I will post update 2.1 with 240 density.

I am testing tweaks now.

Stay tuned.
[HD2 Android Themes and Apps] Looki75:
@Dorimanx

I installed your tweaks v2.0 when you posted them yesterday (it was around midnight for me).

I went to bed at 1am after successful reboot (battery was 65%, airplane mode, no wifi).

Not 100% sure your tweaks are to blame but when I woke-up at 7am, I switched on the screen... it remained black! Buttons were lighted, but black screen... The only solution was to pull out battery and restart. There I saw that battery was 10% only!

Battery history (I am using Battery monitor widget pro) shows that at 1:15, battery experienced HUGE drain down to 10% in 15 minutes. Then it stayed at 10% until 7am...

Don't know... I then experienced a series of "black screen issues" several times until I actually upgraded to typhoon 3.4.0.

Until now no issue with Tweaks2.0... Let's keep watching what's going-on!
[HD2 Android Themes and Apps] fredcom2:
lool

I've to reflash 3.3.9 as I can't edit as my keyboard is now to small to click on right letters ...

So i'll try again with 2.1
[HD2 Android Themes and Apps] Looki75:
You don't need to do that! It's waste of time and energy!!!

Just edit the file on your PC and reflash!
[HD2 Android Themes and Apps] vijaysapkota:
Hello dorimanx,

I have a great problem (atleast for me).

I want to enable swipe only without ext partation. I am in windows, I tried partation tool, but if I make swipe from that tool, my phone doesn't recognise my sd-card, and if I partation from cm recovery, I cant set ext to 0mb.

and solution for this please?
[HD2 Android Themes and Apps] dorimanx:
set it to smallest you can.

you will lose only this small amount or storage + 256mb swap
[HD2 Android Themes and Apps] poczesaniec1:
Those tweaks are good,but when using some of 3g or Wifi,battery drain more than without tweaks,but without enabled this conections battery drain less with your tweaks

Wysłano z HTC HD2 z użyciem Tapatalk
[HD2 Android Themes and Apps] vijaysapkota:
oh man, I tried that but I only have 120 mb space for apps.

how to disable apps2 ext?
[HD2 Android Themes and Apps] Rudyfastcat:
BOOOOOO I like my DPI at 190 :mad: .....I can still change it back 190 myself

Keep up the great work Dorimanx

I was JK about the BOOOOO stuff I realize that you have some users that need things large on there screens
[HD2 Android Themes and Apps] JJKameR:
Can you just exclude GPS libs? Right know they are updated very often with nice improvement. It would be nicer if anyone could install the preferred version apart from installing your nice tweaks.

Sent from my HTC HD2
[HD2 Android Themes and Apps] Hammerfest:
im afraid your statement is a moot point... because after you install his tweaks you can still install your preferred version...

additionally you should anyway, because his GPS settings are set for his region, not universal...
[HD2 Android Themes and Apps] JJKameR:
Well, that's obvious but still annoying.

In addition, what's the point in including someone other work in his tweaks?

I prefer to have the tweaks with no GPS lib, but is my humble opinion.

Sent from my HTC HD2
[HD2 Android Themes and Apps] Hammerfest:
well I dunno, maybe so we can have a few files necessary to flash instead of having to sit there and flash 15 of the buggers (im down to 4 now thanks to this pack, but when i started i had 13 of them and had thought of adding more till stock functionality started improving)... additionally whats the point of using a ROM by someone if it contains some else's work? oh wait, they all do...

needless to say, this is a tweek KIT more then just "tweeks"... like it or leave it, either way, it cant be annoying because its STILL A MOOT POINT... you flash the tweak kit you flash your GPS ver libs of choice... its still done, still necessary, and cant be annoying if you would have to do it anyway...

enough of this pointless conversation, a question, is it possibly to make a SWAP bigger then 256Mb? (i mean i know i can format it bigger, but would the script even utilize it?)
[HD2 Android Themes and Apps] dorimanx:
Thanks for your statement! i like it, :)

Less files to install better for use! :)

And it's an OPEN SOURCE! all can take and use.

I never told that i have created the GPS LIBS !!! i have respect to all the developers and i say THANKS all the time! :)

About the SWAP i never checked that,

but it's only partition size! the script will activate all free space on partition!

So if we will have app that set more then 256 it's can be very cool!

Check my new version, i am trying to use the appkiller to control open apps and keep home screen in RAM.

Please test,

If it's still closing all the time then we will have to keep all services in RAM and manually kiil the BIG ones to free some RAM,

Or phone will use SWAP it's will load slow and finally phone will restart when swap will be full!

This config is easy to be set on running Tweaks.
[HD2 Android Themes and Apps] Looki75:
GOOD JOB

Agree with that, as I wrote before, I was not sure it was coming from the tweaks, but I experienced those kind of things after 4-5h use! Randomly: phone reboots by itself / FCs / lags...

YES! I just installed your new package v2.1 - so far just few minutes testing, but I could notice the boot sequence was much much faster!!!

That's amazing how much energy and enthusiasm you put at work!!!

Congratulations!!! Not many people takes time to write you that but: THANKS for the GREAT WORK!!!

I know EVERYBODY values your hard work and great competencies!!!

*No comment*

If The Master recognized your work, it tells a lot...

Keep it up! :cool:
[HD2 Android Themes and Apps] Looki75:
Just noticed something on v2.1 package...

Just to let you know - I'm not sure its a bug or not :o !!!

The script 199home-shield has these 2 lines at the end:

rm /system/etc/init.d/199home-shield
reboot

But for some reason, after reboot the script is still here!

What was the point of these 2 lines?

If I understand well: the "rm" line is for the script to delete itself.

And last line to reboot the phone?

Does that mean that after installation of your package, the phone shall reboot itself???

You know I'm not trying to discard your work... but you know me now, I like to go inside the files and try to understand what is going-on there :o:rolleyes:
[HD2 Android Themes and Apps] dorimanx:
thanks for pinning it out.

yes the concept was to remove script and reboot.

I will fix that in next version.

for now any one who installed only the home protection just delete that file from /system/etc/init.d/
[HD2 Android Themes and Apps] vijaysapkota:
Does tytween's package contains everything except your theme?

if not, what does it include?
[HD2 Android Themes and Apps] Looki75:
@dorimanx

Just to let you know (maybe you can fix that in the next update)!

With the new package v2.1, and removed noappkill scripts, I now experienced several HOME app restarts.

Again, this is probably due to the particularity of ADW.Launcher being part of com.android.launcher instead of android.process.acore.

So for my particular case, I keep the noappkill scripts.

Questions:

* Is there a chance you will be able to fix that in the next release - and then really get rid of noappkill scripts?

* For the time being, shall I still put -17 to com.android.launcher , or shall I put 0 or 1 as for other services?

Thanks,

Looki
[HD2 Android Themes and Apps] dorimanx:
Yes it's contains every thing except my theme :)
[HD2 Android Themes and Apps] dorimanx:
Hi,

I AM STILL LOOKING FOR SOLUTION FOR HOME APP CLOSE.

and about the home protector any number under 1 , like 0 to -17 will block androidautokiller from killing this process.

UPDATE to new superuser and then update SU, after i did that phone is faster and stable. :)

also we have super old busy box 1.16.2 when there is 1.19.1! this is the main linux system package!

but at new busybox the watch command not work at all, and i ma afraid that there are more commands that broken!

so for now just for global knowledge!
[HD2 Android Themes and Apps] Magnumutz:
I just upgraded the script and when i'm trying to use it in gscript, i get this error:

stderr: swapon: /dev/block/mmcblk0p3: Device or resource busy

stderr: swapon: /dev/block/mmcblk0p3: Device or resource busy

stderr: swapon: /dev/block/mmcblk0p3: Device or resource busy

stderr: swapon: /dev/block/mmcblk0p3: Device or resource busy

stderr: swapon: /dev/block/mmcblk0p3: Device or resource busy

stderr: swapon: /dev/block/mmcblk0p3: Device or resource busy

stderr:

stderr:

stderr:

Please help!
[HD2 Android Themes and Apps] Looki75:
I think it means that you already activated swap - so activating it "again" when not necessary creates these errors...

I've seen that also for me :)

Master-Dorimanx to confirm!
[HD2 Android Themes and Apps] Magnumutz:
I guess you are right, i've just run the "free" command in terminal emulator after i opened pretty much all my apps.

This is the result with thirty two apps open:

$ export PATH=/data/local/bin:$PATH

$free

total used free shared buffers

Mem: 421004 393536 27468 0 10016

Swap: 250108 5576 244532

Total: 671112 399112 272000

$
[HD2 Android Themes and Apps] adamhonghong:
Dorimax i found a apps call "Swapper 2 for root user" which can create a swap file in FAT32/use swap partition on SD card to do the swap thing

so i decided to delete the swap and ext partition because ext makes me feel things get slower and higher battery drain(subjective?)! The app above can easily erase the swap file if it's not needed.

so wt do i need to use the shield only?

1.Home-APP-Super-Shield-By-Dorimanx-ver1.3

2.???

3.Do I need to edit buildprop?

4.what should inside init except using the swap partition?

ROM:Hyperdroid 2.1.0 (is it necessary to update the Gtalk1.3b.No-Wifi.Force-Close.zip?)
[HD2 Android Themes and Apps] dorimanx:
Yes there is an option in 90ramscript that config SWAP only if you have it,

and you DID run the swap.sh script that set also the partition details. run it only once after upgrade ROM

any way you can also delete the 94swap or 89swap from init.d you no longer need it.

90ramscript will do the work.
[HD2 Android Themes and Apps] dorimanx:
With this app you can activate the SWAP on SD partition,

this app will do all needed configs, you will be NOT needing the swap.sh and 89swap or 94swap from init.d

but i didn't liked the app. it's didn't activated the EXT swap when i tried to do so.

do not install the home app super shield it's irrelevant!

I have found a better way!!! i will be posting new update soon!

for your ROM just install the full pack, if you don't like my skin (It's OK just remove folders app and framework from TWEAKS ZIP and install, you will get only Tweaks.)
[HD2 Android Themes and Apps] dorimanx:
HERE ARE SOME PICKS that SHOW MY WORK!

When you see that oom_adj on up less then 1 this means that it's will stay in RAM till the last app that have higher rating will be closed to free RAM.

This is with version 2.2 any package!

ENJOY!!!
[HD2 Android Themes and Apps] milkoo:
Where do I download the new superuser?

Never mind. Found it.
[HD2 Android Themes and Apps] vijaysapkota:
Does this works with miui roms? (the official, latest one)

if not, can you please please make it work?
[HD2 Android Themes and Apps] chrisrj28:
So after using 2.2 and using the Swapper 2 app I am getting constant home restarts. I see that the oom values were changed and I setup a 256mb swap file on fat32 but it seems to keep killing Sense.
[HD2 Android Themes and Apps] dorimanx:
I am trying to find something that can help.

I started to get home app restarts too.

damn I was so close to find the solution and again the nasty adnroidautokiller trick me. and still has ability to do damage.

but we need it. or our phone will be overloaded with open apps. and reboot.
[HD2 Android Themes and Apps] isidromxz:
Is it ok to just flash and upgrade to 2.2 without fresh rom install??

(I'm running 3.4.0 with 2.1)
[HD2 Android Themes and Apps] chrisrj28:
Yeah I had about three reboots in a row haha. I let it settle for a bit and I see that swap is being used now. So far though no restarts of Sense or freezing trying to clear RAM. Will see how the day progresses but awesome work on this so far.
[HD2 Android Themes and Apps] vijaysapkota:
anyone please?
[HD2 Android Themes and Apps] Looki75:
I agree... awesome work!

Actually, you know people get easily used to good things... me included!

See, I still have time to time home restarts... however, today I had to run clean ROM (without your tweaks) trying to solve my camera issue...

Oh my gosh... without your tweaks, it's just absolutely unbearable!

Home restart over home restart over home restart...

As soon as your tweaks are "ON"... pffff.... a pleasure that the home app is just restarting "time to time"! :D

BTW, my camera issue is still not solved, but this is another story (see Typhoon thread)!
[HD2 Android Themes and Apps] Magnumutz:
Can't seem to get more than 1600 points in Quadrant Advanced with your tweaks, on Typhoon 3.4, 460/1190 smartass...
[HD2 Android Themes and Apps] dorimanx:
hi

use the advanced version. on standard its good score.

edit: wait you said you tested with advanced!

then try to run at least 5 tests.

cache need to be built.
[HD2 Android Themes and Apps] dorimanx:
you can upgrade without fresh install. just install and boot ;-)
[HD2 Android Themes and Apps] dorimanx:
hi.

I didn't configured it to work on your rom.

if you install its may stuck on boot.

I am working to make our ROM the best when its will happen I will think of configuring for outhers.
[HD2 Android Themes and Apps] dorimanx:
Hey.

I am working on tests now and looks like I found more stable config. had one home app refresh after 3 games in RAM + 40 servicess so its OK to give him a break ;-)

change in build.prop

#MIN SERVICE OOM_ADJ

ro.FOREGROUND_APP_MIN_ADJ=-17

ro.VISIBLE_APP_MIN_ADJ=-15

ro.SECONDARY_SERVER_MIN_ADJ=-11

ro.HOME_APP_MIN_ADJ=-17

ro.HIDDEN_APP_MIN_ADJ=-2

ro.CONTENT_PROVIDER_MIN_ADJ=20

ro.EMPTY_APP_MIN_ADJ=20

#MAX SERVICE OOM_ADJ

ro.FOREGROUND_APP_MAX_ADJ=-17

ro.VISIBLE_APP_MAX_ADJ=-15

ro.SECONDARY_SERVER_MAX_ADJ=-6

ro.HOME_APP_MAX_ADJ=1

ro.HIDDEN_APP_MAX_ADJ=8

ro.CONTENT_PROVIDER_MAX_ADJ=14

ro.EMPTY_APP_MAX_ADJ=19

#MAIN SERVICE OOM_ADJ Based ON MINIMUM!

ro.FOREGROUND_APP_ADJ=-20

ro.VISIBLE_APP_ADJ=-18

ro.PERCEPTIBLE_APP_ADJ=3

ro.HEAVY_WEIGHT_APP_ADJ=-4

ro.SECONDARY_SERVER_ADJ=-16

ro.BACKUP_APP_ADJ=5

ro.HOME_APP_ADJ=25

ro.HIDDEN_APP_ADJ=-2

ro.CONTENT_PROVIDER_ADJ=15

ro.EMPTY_APP_ADJ=19

# Define the memory thresholds at which the above process classes will

# be killed. These numbers are in pages (4k).

ro.FOREGROUND_APP_MEM=512

ro.VISIBLE_APP_MEM=512

ro.PERCEPTIBLE_APP_MEM=512

ro.HEAVY_WEIGHT_APP_MEM=512

ro.SECONDARY_SERVER_MEM=512

ro.BACKUP_APP_MEM=512

ro.HOME_APP_MEM=512

ro.HIDDEN_APP_MEM=512

ro.EMPTY_APP_MEM=512

and in 90ramscript

echo "-20,-18,-16,-2,17,19" > /sys/module/lowmemorykiller/parameters/adj

test if you like tell me how its will be for you.

but let it work for hour.

dont forget to Reboot

thanks.
[HD2 Android Themes and Apps] Looki75:
Ok - testing right now!

You're right, I will let it work for a time before posting enthusiastic comments! :rolleyes:
[HD2 Android Themes and Apps] feanor91:
Problem with home kill

Hello

I use your tweak in 2.2 version and the process widget you talked about in first post but my home is always killed. I use SPB Shell 3D. Any clues?

Thanks.
[HD2 Android Themes and Apps] dorimanx:
before I complite my tests and post possible fix you can change settings as I posted a post before. save and reboot.

the home app you are using is very heavy its will be not easy to hide it from autokiller ;)
[HD2 Android Themes and Apps] dorimanx:
Aaa most important! go to settings and to cynogen mid and performance and remove check from hold home app in ram.

I think its set something that not good for our config.

if you have option in launcher settings to hold it in ran you can use it. or test with and without
[HD2 Android Themes and Apps] Looki75:
Well in Cyanogen, I always had it unchecked... because for the system, my "HOME app" is widget locker as you know... so I didn't want Cyanogen to force widget locker in the RAM and therefore let ADW go...

In ADW settings, I always had the "Persistance" option checked. I will test new beta settings with the option checked for a time, and then give a try with this option unchecked.

Thanks for your advices!
[HD2 Android Themes and Apps] AguazeJ@gmail.com:
The auto beightness thing, don't look like it works, right know its brighter than normal, before I flashed it.
[HD2 Android Themes and Apps] AguazeJ@gmail.com:
Omfg my downloads from market don't work its unsuccessful, right after I installed hyperseoid tweak
[HD2 Android Themes and Apps] dorimanx:
Did you followed all instructions,?

You must set the options as i did or custom, and you have to set brightness to AUTO!
[HD2 Android Themes and Apps] dorimanx:
What is THAT? hyperseoid tweak

and this is firs time someone have problem with market,

It's working OK for me.
[HD2 Android Themes and Apps] Hammerfest:
oh great tweak masta (buttering up)...

what, if any, of these tweaks could be "carried" over to an HTC Hero running C7?

Its a "play" phone i have on the side, and was wondering if there weren't some things it could greatly benefit from this wonderful tweak package!
[HD2 Android Themes and Apps] Antoo1984:
Hyperdroid gxb 12

can i use this fix "ROM-Tweaks-by-Dorimanx-ver-2.2-Only-Tweaks.zip" with rom hyperdroid gbx12 kernel tytung10r?
[HD2 Android Themes and Apps] feanor91:
Hello,

Finally, I manage to have not SPB shell 3d to be killed from ram: I didn't installe your tweaks and all works fine. So far, so good
[HD2 Android Themes and Apps] Looki75:
Hi Dorimanx,

We did not hear too much about you today ;)

I am still testing your v2.2+ tweaks.

Very fast as expected, memory fine, etc...

Home app restarts: still some restarts time to time. :(

In a post, I've seen you recommend we use a "task killer", whereas a lot of people in the forum say that they do more bad than good... What's your thinking about that?
[HD2 Android Themes and Apps] Looki75:
So how did you do???

Just *nothing*?
[HD2 Android Themes and Apps] isidromxz:
wondering if the tweaks have anything to do with the DSP force closing?
[HD2 Android Themes and Apps] milkoo:
no. Just use volume+ and delete dsp. Thats whati did. Its a ROM problem.
[HD2 Android Themes and Apps] dorimanx:
Hi,

Can you share what did you did to fix it?

Thanks