Jump to content

Removing unneeded things from 2.1


Guest gusthy

Recommended Posts

Guest gusthy

I want to remove all the unneeded things from init.rc. Of course it will reflect my personal preferences. The goal is - guess what - to get memory.

These are (at least) the following:

- Bluetooth support

- Compass

- VPN

- Debug things

My question is: what happens if I remove

- mediaserver

- dbus

- installd

- port-bridge

Edit:

Well, I did something, Advanced Task Killer reports 38 MB, sounds good, eh? :()

Edited by gusthy
Link to comment
Share on other sites

Guest gusthy

Next thing to do is resetting the init.rc settings from the values from AutoKiller moderate to original...

Edit: I did so and it multitasks much better. Okay, I dont have bluetooth and debugging.

Edited by gusthy
Link to comment
Share on other sites

Guest Totyasrác
I want to remove all the unneeded things from init.rc. Of course it will reflect my personal preferences. The goal is - guess what - to get memory.

These are (at least) the following:

- Bluetooth support

- Compass

- VPN

- Debug things

Edit:

Well, I did something, Advanced Task Killer reports 38 MB, sounds good, eh? :()

Sounds interesting and promising :P

Might be the way (at least for now) to gain some free RAM :P

(However I really need BT support for my handsfree set in the car - couldn't live without that :()

Link to comment
Share on other sites

Guest gusthy
Sounds interesting and promising :(

Might be the way (at least for now) to gain some free RAM :P

(However I really need BT support for my handsfree set in the car - couldn't live without that :()

Yup, but why on Earth you should run bluetooth and obex syncing permanently? similarly, running debugger daemon, and things like that...

Now I can run Nimbuzz.

(It is currently not fully stable, I will try something.)

Link to comment
Share on other sites

Guest gusthy

Short result:

Now my phone runs stable, it can handle 4-8 apps with multitasking.

Now I have an affordable pulse.

Anyone interested in the metgod?

Edited by gusthy
Link to comment
Share on other sites

Guest Simon O
Short result:

Now my phone runs stable, it can handle 4-8 apps with multitasking.

Now I have an affordable pulse.

Anyone interested in the metgod?

Share please :(

Link to comment
Share on other sites

Guest Totyasrác
Short result:

Now my phone runs stable, it can handle 4-8 apps with multitasking.

Now I have an affordable pulse.

Anyone interested in the metgod?

Yeah, wanna see that :(

Link to comment
Share on other sites

Guest gusthy
signed zip please :( j/k

wish the method doesn't involve any task killers

apparently it partially does, because fibblescan changed the default settings of android memory manager.

it is a dirry hack now, I simply removed some unneccessary binaries from /system/bin.

The correct way would be to wliminate them from init+.rc.

Then I changed the memory management presets back to factory values (wirh autokiller).

I will post the list of removed. binaries a bit later, I am not at the machine now.

fibble, isnt it possible ro do ase scripts for this purpose?

Edited by gusthy
Link to comment
Share on other sites

Guest gusthy

So:

Currently I cannot build a signed zip :( but if somebody helps me doing that, it would be fine.

Important:

This method limits your pulse's functionality, your mileage may vary!!!

Do it on your risk!

If you are not a developer, you can safely remove this ones:

port-bridge

debuggerd

If you dont use obex and things like this, it seems that you can remove:

syncbt

syncobex

I'm a little bit confused, but probably you can remove this ones too (for me it made no problem):

syncat

syncctl

syncpcuiu

syncsdr

And finally, if you dont use bluetooth at all, you can remove:

dbus-daemon

bluetoothd

I don't recommend to delete dbus, it will not reboot correctly.

After doing this, I've set the following AutoKiller settings (in Advanced mode), it can be done with build.prop I guess:

Foreground: 6MB

Visible: 8MB

Secondary server: 12MB

Hidden app: 15MB

Content provider: 20MB

Empty app: 25MB

My personal feelings are that it would be better to allow content providers to stay alive with lower memory conditions, some apps, like SMS would love it, but i'm currently playing with this.

Edited by gusthy
Link to comment
Share on other sites

Guest Simon O
apparently it partially does, because fibblescan changed the default settings of android memory manager.

it is a dirry hack now, I simply removed some unneccessary binaries from /system/bin.

The correct way would be to wliminate them from init+.rc.

Then I changed the memory management presets back to factory values (wirh autokiller).

I will post the list of removed. binaries a bit later, I am not at the machine now.

fibble, isnt it possible ro do ase scripts for this purpose?

yup I changed the settings but they can be changed back by editing the init.rc

It may be possible to make a script or two that removes those files. I'll check it out.

Link to comment
Share on other sites

Guest Totyasrác
yup I changed the settings but they can be changed back by editing the init.rc

It may be possible to make a script or two that removes those files. I'll check it out.

Would be awesome, dude :(

Link to comment
Share on other sites

Guest gusthy
Would be awesome, dude :(

If you don't remove them, just rename, it is reversible... But in case you fail, you can reflash the ROM without wiping, it restores you to your previous state, so don't hesitate :(

BTW, I think, dbus-daemon doesn's use a lot of memory, so if you could try the method, I will have a testuser who uses bluetooth... I don't.

Link to comment
Share on other sites

Guest Simon O
If you are not a developer, you can safely remove this ones:

port-bridge

debuggerd

If you dont use obex and things like this, it seems that you can remove:

syncbt

syncobex

I'm a little bit confused, but probably you can remove this ones too (for me it made no problem):

syncat

syncctl

syncpcuiu

syncsdr

port-bridge is setup within the kernels init.qcom.rc

service port-bridge /system/bin/port-bridge /dev/smd0 /dev/ttyHSUSB0 &

It seems important.

the bluetooth stuff will break bluetooth syncing for sure. I'm not sure about the other files.

Link to comment
Share on other sites

Guest gusthy

port-bridge belongs to adb and debugging, it does some tunmelling I gusless. In tge last 24 hrs it didn't cause any problem for me, even Barnacle works well.

yes, the rest breaks bt syncing, but I gess not roo many pwople use tgat.

Link to comment
Share on other sites

Guest Simon O
port-bridge belongs to adb and debugging, it does some tunmelling I gusless. In tge last 24 hrs it didn't cause any problem for me, even Barnacle works well.

yes, the rest breaks bt syncing, but I gess not roo many pwople use tgat.

Ok. I'll give you another week. If you don't complain that some apps are broken then I'll look into making a script that removes these :(

Link to comment
Share on other sites

Guest DanWilson
Ok. I'll give you another week. If you don't complain that some apps are broken then I'll look into making a script that removes these :(

Lulz. I give you 24 hours, and if FLB-Mod isn't Froyo'd I'll bomb a major English city. Starting with Sheffield. If the Froyo hasn't landed in 49 hours from now (yes 49) England will detach from Scotland, and fly into the Sun.

dr-evil.JPG

BWAHAHAHAHAHAHAHAAHHAHAHAHAHAHAAAAAAAAAAA

:(

Link to comment
Share on other sites

Guest Simon O
Lulz. I give you 24 hours, and if FLB-Mod isn't Froyo'd I'll bomb a major English city. Starting with Sheffield. If the Froyo hasn't landed in 49 hours from now (yes 49) England will detach from Scotland, and fly into the Sun.

dr-evil.JPG

BWAHAHAHAHAHAHAHAAHHAHAHAHAHAHAAAAAAAAAAA

:(

Do that and I'll blow up the Irn-Bru factory!

Link to comment
Share on other sites

Guest Simon O
But... But... Ok then, you win this time, Powers.

<notices you're from Glasgow>

I'll also blow up the Tennent's brewery. No more Tennent's Super for you! :(

Link to comment
Share on other sites

Know what? Run gameboid, load a game, exit from the game, turn off the gameboid app, run the task manager, "kill the running apps" and u'll have 45 mb free ram.

But that isn't the point.

If u kill/delete all those apps mentioned back there, I think that sync the contacts, gmail, calendar or whatever will not work. Can u try if those apps are working?

Link to comment
Share on other sites

Guest DanWilson
<notices you're from Glasgow>

I'll also blow up the Tennent's brewery. No more Tennent's Super for you! :(

I'm 13 homie, no Tennent's for me at all... :(

Only whatever my dad gives me...

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.