Jump to content

[ROM] FLB-Mod 1 (Based on Android 2.1)


Guest Simon O

Recommended Posts

Guest bounty123
Well, you are correct, but what should I move back to phone?

Thanks

BTW Tux Rider seems to be working, but very very slow. I think my CLASS 2 card is not enough for running all programs from it.

p.s. Is it worth to buy CLASS 6 microSD or CLASS 4 is more than enough?

With a class2 card you should definitely try moving at least dalvik back to the phone. I have a class4 card, and have plenty of space on the phone to keep the dalvik cache there. The system is very fast and stable for me this way, with 64MB swap partition.

I recommend you to buy a class4 card, it's a good price/value choice. My SanDisk class4 works very fast and reliable, haven't had any problems during the 1 year use. Ofc. go for a class6 if you have the spare bucks :) For the Pulse I find a fast SD card is especially important, because swap and a2sd are a must for it, with the small memory.

Edited by bounty123
Link to comment
Share on other sites

Guest InstantWater
With a class2 card you should definitely try moving at least dalvik back to the phone. I have a class4 card, and have plenty of space on the phone to keep the dalvik cache there. The system is very fast and stable for me this way, with 64MB swap partition.

I have 128 MB swap and "swappy15". Is 128MB too much?

Okay I'll try to move Dalvik back to the phone. Should I use "a2sd cachepart" for it?

Link to comment
Share on other sites

Guest bounty123
I have 128 MB swap and "swappy15". Is 128MB too much?

Okay I'll try to move Dalvik back to the phone. Should I use "a2sd cachepart" for it?

Well only change it if you are not satisfied with it I guess. 128 is not recommended in the ultimate pulse guide for class2, but it still might work for you. Afaik the class rating means the minimum speed capability anyway, the card might be faster (would still be silly not to sell it at higher rating then). Also make sure to move dalvik back only if you don't run out of space because of it.

Link to comment
Share on other sites

Guest AntonioPT
I have 128 MB swap and "swappy15". Is 128MB too much?

Okay I'll try to move Dalvik back to the phone. Should I use "a2sd cachepart" for it?

I read somewhere that 64MB is the optimal swap partition size.

Link to comment
Share on other sites

Guest gusthy
I have 128 MB swap and "swappy15". Is 128MB too much?

Okay I'll try to move Dalvik back to the phone. Should I use "a2sd cachepart" for it?

It strongly depends on OS version, card speed, swappiness and your phone usage. For Eclair with a modest card, 64MB is a good choice usually. For Froyo it is a bit small.

Link to comment
Share on other sites

Guest totiadrenalin
It strongly depends on OS version, card speed, swappiness and your phone usage. For Eclair with a modest card, 64MB is a good choice usually. For Froyo it is a bit small.

With froyo - flbmod 2,

kingston sdcard

class6 4GB

ext3 partition - 512MB

swap partition - 256

swappiness- default system (60)

appst2sd

dalvik-cache 2 sd

/data/data 2 sd

jit enabled

dalvik heapsize - 32m

Now with the overclocked kernel the froyo is something that I've never dream of.

It's extremely, ultimate fast and stable.

but for eclair i use 128 swap with swappiness (30) and everything else is set as with froyo.

Edited by totiadrenalin
Link to comment
Share on other sites

Guest totiadrenalin

Something interesting about the swap.

Yesterday I was playing around with the swap in eclair.

I get to some interesting point. Not only the inactive apps are movet to the swap.

It depends of the priority of the application.

But the interesting part is that only when the internal ram is overloaded, then the kernel is moving first the apps with the largest volume on the ram to swap.

But before that it is alocating the swap to ram as much as we set swappiness.

So the amount of free ram memory has grown for me for about 38MB

Because I set 128MB swapp and swappiness30 in eclair!

And the rest of the swap is used two.

But it was used to chache the apps.

Isn't it interesting?

And after the free ram+swapram memory get ovrloaded, then the low_mem_killer start to kill the applications by priority set in the init.rc



# Define the oom_adj values for the classes of processes that can be
# killed by the kernel. These are used in ActivityManagerService.
setprop ro.FOREGROUND_APP_ADJ 0
setprop ro.VISIBLE_APP_ADJ 1
setprop ro.SECONDARY_SERVER_ADJ 2
setprop ro.BACKUP_APP_ADJ 2
setprop ro.HOME_APP_ADJ 4
setprop ro.HIDDEN_APP_MIN_ADJ 7
setprop ro.CONTENT_PROVIDER_ADJ 14
setprop ro.EMPTY_APP_ADJ 15

# Define the memory thresholds at which the above process classes will
# be killed. These numbers are in pages (4k).
setprop ro.FOREGROUND_APP_MEM 1536
setprop ro.VISIBLE_APP_MEM 2048
setprop ro.SECONDARY_SERVER_MEM 4096
setprop ro.BACKUP_APP_MEM 4096
setprop ro.HOME_APP_MEM 4096
setprop ro.HIDDEN_APP_MEM 5120
setprop ro.CONTENT_PROVIDER_MEM 5632
setprop ro.EMPTY_APP_MEM 6144

# Write value must be consistent with the above properties.
# Note that the driver only supports 6 slots, so we have HOME_APP at the
# same memory level as services.
write /sys/module/lowmemorykiller/parameters/adj 0,1,2,7,14,15

write /proc/sys/vm/overcommit_memory 1
write /proc/sys/vm/min_free_order_shift 4
write /sys/module/lowmemorykiller/parameters/minfree 1536,2048,4096,5120,5632,6144

# Set init its forked children's oom_adj.
write /proc/1/oom_adj -16

# Tweak background writeout
write /proc/sys/vm/dirty_expire_centisecs 200
write /proc/sys/vm/dirty_background_ratio 5
[/codebox]

So the interesting part is that if we set the swappinness higher it could resold with petter performance of the phone.

But I'm not sure m'i right or wrong?

Edited by totiadrenalin
Link to comment
Share on other sites

p.s. Is it worth to buy CLASS 6 microSD or CLASS 4 is more than enough?

depends where you buy it....I bought 2 off vatera (non-Hungarians: ebay)...

8gb "nokia class4" (made in china):

"SD Card Speed Test" on the pulse...

1st run: 14MB/s read; 12MB/s write (buffer: 1MB)

2nd run: 15MB/s read; 13MB/s write (buffer: 1MB)

3rd run: 16MB/s read; 13MB/s write (buffer: 5MB)

"CrystalDiskMark" (1x50MB) on a newer dell laptop...

		   Sequential Read :	19.385 MB/s

		  Sequential Write :	15.018 MB/s

		 Random Read 512KB :	18.856 MB/s

		Random Write 512KB :	 3.619 MB/s
8gb "nokia class6" (made in taiwan): pulse... 1st run: 9MB/s read; 2MB/s write (buffer: 1MB) 2nd run: 10MB/s read; 1MB/s write (buffer: 1MB) 3rd run: 13MB/s read; 1MB/s write (buffer: 5MB) laptop...
		   Sequential Read :	16.254 MB/s

		  Sequential Write :	 5.448 MB/s

		 Random Read 512KB :	16.073 MB/s

		Random Write 512KB :	 2.156 MB/s

now things have changed a bit...I see that hardverker.hu has really nice prices for a-data class6 cards =]

Link to comment
Share on other sites

Guest totiadrenalin

Hey!

Kernel panic reboot!

:)

After I start most of the apps I have installed on my phone and end them with the red button.

I guess it didn't have the enough time to hand on and kill the apps to free up enough memory for the system.

And panic and reboot.

;)

Nice so the limit of my phone is about everything before 18 apps stays foreground the phone was reacting abeet slow, but still working.

But when it reach 18apps it stock and after few secs it reboot.

Rom Manager.

earth livewallpaper.

cacaligo chaser game

asphalt 5 game

camera

dolping browser

Gallery3D

FancyWidget

PockedDJ PRO

Retro Camera

facebook

AppBrain

The core browser

system panel

Sky Map

Skype (beta)

Marked place

and linpack runing.

Edited by totiadrenalin
Link to comment
Share on other sites

Guest curl66
So the interesting part is that if we set the swappinness higher it could resold with petter performance of the phone.

But I'm not sure m'i right or wrong?

i run with 512MB swap, swappiness 60, dalvik on internals, apps on ext 2

it runs like hell.

can open as much apps as i have, no reboot.

swapusage is even after phone reboot at >80, normal usage 150-180MB.

free says that only 2 MB ram are free but all apps work fine and stay in background

even McGuider works from background and still navigates even opera is in front.

Link to comment
Share on other sites

Guest ambrozija
Dalvik on SD with a Class 2 card is NOT, by any means, RECOMMENDED.

Class 4 - A2SD (dalvik on phone) + swap

Class 6 - A2SD (dalvik on SD) + swap

I use class 4 card with dalvik on SD + swap in a file (swapper2)... no problems whatsoever... Linpack 4.7,

Link to comment
Share on other sites

Guest totiadrenalin
i run with 512MB swap, swappiness 60, dalvik on internals, apps on ext 2

it runs like hell.

can open as much apps as i have, no reboot.

swapusage is even after phone reboot at >80, normal usage 150-180MB.

free says that only 2 MB ram are free but all apps work fine and stay in background

even McGuider works from background and still navigates even opera is in front.

It's because I set swappiness30

and not 60.

It is normal to run out of ram memory.

Because I start some apps which are more then 19MB.

Well I gues they catch at least about 5-6 MB in RAM memory each1.

I was thinking about caligo chaser. and e.t.c.

Edited by totiadrenalin
Link to comment
Share on other sites

Guest totiadrenalin
It's because I set swappiness30

and not 60.

It is normal to run out of ram memory.

Because I start some apps which are more then 19MB.

Well I gues they catch about 5-6 MB in RAM memory each1.

I was thinking about caligo chaser. and e.t.c.

Overall.

It proves that sometimes when the os need it.

the swap can and it is used as ram memory.

but it depends of the amount of swappiness that you set.

So if people have better class sdcard the system default swappiness 60 is the best solution.

Not only 15 or 30.

Because with swappiness set to 15 or 30, way we use swap mostly for caching the apps, and not to allocate the swap to act like a ram memory.

And I know that eclair doesn't like big swap, but with 64MB swap partition or swap file, and swappiness60 we get about 38MB ram increased.

But in that case it'll left only 25mb for caching the apps to swap.

Edited by totiadrenalin
Link to comment
Share on other sites

Guest InstantWater

OMFG ×D

Some of you've said I should move back Dalvik to phone.

I did :( "a2sd cachepart"

It started to copy Dalvik cache to phone, after some secs it said "not enough space..."

restarted, and didn't boot again :P

I had to do a full wipe then it started :)

LOL.

I think I'll going to try 2.2 and other custom roms, because I'm very curious ;)

Hungarians: Please tell me what kind of SD should I buy. CLASS4 or CLASS6 and WHERE, and what does it costs?

Thanks

Link to comment
Share on other sites

Guest totiadrenalin
OMFG ×D

Some of you've said I should move back Dalvik to phone.

I did :( "a2sd cachepart"

It started to copy Dalvik cache to phone, after some secs it said "not enough space..."

restarted, and didn't boot again :P

I had to do a full wipe then it started :)

LOL.

I think I'll going to try 2.2 and other custom roms, because I'm very curious ;)

Hungarians: Please tell me what kind of SD should I buy. CLASS4 or CLASS6 and WHERE, and what does it costs?

Thanks

If you want to move dalvic-cache to sd the command for it is: a2sd cachesd

Because with the command: a2sd cachepart is moving the dalvic-cache to the cache partition which is 20MB

That's why this happen.

Link to comment
Share on other sites

Guest InstantWater
If you want to move dalvic-cache to sd the command for it is: a2sd cachesd

Because with the command: a2sd cachepart is moving the dalvic-cache to the cache partition which is 20MB

That's why this happen.

Well, I wanted to move it back to PHONE. Or I did something incorrect? Whad should I type to move it back to the PHONE?

Now flashed pure FLB 1.7OC+TermFix+Vanilla :)

I'll do finetuning, and make nandroid backup, and save it to 2 metres under ground ×D

Could someone tell me how can I set how much desktops I have? Because I have 5 desktops by default horizontally, and I'd like to have desktops vertically too.

Edited by InstantWater
Link to comment
Share on other sites

Guest totiadrenalin
Well, I wanted to move it back to PHONE. Or I did something incorrect? Whad should I type to move it back to the PHONE?

Now flashed pure FLB 1.7OC+TermFix+Vanilla :)

I'll do finetuning, and make nandroid backup, and save it to 2 metres under ground ×D

Could someone tell me how can I set how much desktops I have? Because I have 5 desktops by default horizontally, and I'd like to have desktops vertically too.

MENU

Edit

to edit the desktops in adw launcher

and about the a2sd

type a2sd help in the terminal

you will get the information you need.

Edited by totiadrenalin
Link to comment
Share on other sites

Guest gusthy
OMFG ×D

Some of you've said I should move back Dalvik to phone.

I did :( "a2sd cachepart"

It started to copy Dalvik cache to phone, after some secs it said "not enough space..."

restarted, and didn't boot again :P

I had to do a full wipe then it started :)

LOL.

I think I'll going to try 2.2 and other custom roms, because I'm very curious ;)

Hungarians: Please tell me what kind of SD should I buy. CLASS4 or CLASS6 and WHERE, and what does it costs?

Thanks

I bought a Class6 in Photo Hall, it was a bit expensive. But I recommend Speedshop

Link to comment
Share on other sites

Guest InstantWater

Yes, PhotoHall is a bit expensive. But I'll look for it on SpeedShop [omfg, it has a very strange webshop :)]

Could someone tell me if "a2sd nojit" and "a2sd jit" really activates the JIT, or should I edit build.prop?

And how can I turn off the bell at the boot?

Link to comment
Share on other sites

Guest MaToNeo
Well, I wanted to move it back to PHONE. Or I did something incorrect? Whad should I type to move it back to the PHONE?

Now flashed pure FLB 1.7OC+TermFix+Vanilla :)

I'll do finetuning, and make nandroid backup, and save it to 2 metres under ground ×D

Could someone tell me how can I set how much desktops I have? Because I have 5 desktops by default horizontally, and I'd like to have desktops vertically too.

On page 55 of this thread is a list of a2sd commands. a2sd nocache moves Dalvik cache files to the internal phone storage. Or you can just wipe dalvik cache in recovery.

Link to comment
Share on other sites

Guest MaToNeo
Yes, PhotoHall is a bit expensive. But I'll look for it on SpeedShop [omfg, it has a very strange webshop :)]

Could someone tell me if "a2sd nojit" and "a2sd jit" really activates the JIT, or should I edit build.prop?

And how can I turn off the bell at the boot?

About JIT look at this /JIT on 2.1

Link to comment
Share on other sites

Guest Krinyo
Could someone tell me how can I set how much desktops I have? Because I have 5 desktops by default horizontally, and I'd like to have desktops vertically too.

On the home screen press Menu, then Edit... but I don't know it's good for adding vertically screens.

Edited by Krinyo
Link to comment
Share on other sites

First of all: I love this 1.7 update. This is just a milestone. :-D

I have some minor issues:

1) I tried to install news and weather-widget. Don 't ask me why, i just got used to it . :-D

I had a backup on my sdcard. ithe *.apk failed to install via estrong: "...not-able-to-install-bla"

Second attempt: my wife has a pulse also. I copied GenieWidget.apk and GenieWidget.odx to move them manually. This led me to issue 2).

Third attempt: I downloaded GenieWidget.apk from xda-developers: "...not-able-to-install-bla"

I can install any other app.

???

2) Estrongs root options do not work any more. Mounting even corrupts the complete Estrongs File Explorer. I had to reinstall. It failes with both options "cyanogen-mode", which worked perfectly with former FLB-mods, and also the other one.

3) I had two reboots over night, when i forgot to disable wlan.

Apart from this FLB1.7 runs like a charm. thx fibble and co!

Class6, 128 MB Swap, Swappy 30, dalviktosd, jit enabled via a2sd,

using espresso-stock-launcher

Edited by emvau
Link to comment
Share on other sites

Guest riskyrikky

First boot will take up to 3 minutes to complete as dalvik-cache must be created. You will stay on the 'android' logo for approximately 46 seconds before the animation starts.

v1.7 - 28th September 2010 Latest Release

Hi, I just installed FLB Mod 1.7 over my 2.1 - nice work but my blue tooth did not work anymore !! Any solution??

Erik

Link to comment
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.