Guest gusthy Posted July 27, 2010 Report Posted July 27, 2010 (edited) 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 July 27, 2010 by gusthy
Guest gusthy Posted July 27, 2010 Report Posted July 27, 2010 (edited) 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 July 27, 2010 by gusthy
Guest Totyasrác Posted July 27, 2010 Report Posted July 27, 2010 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 :()
Guest gusthy Posted July 27, 2010 Report Posted July 27, 2010 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.)
Guest gusthy Posted July 27, 2010 Report Posted July 27, 2010 (edited) 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 July 27, 2010 by gusthy
Guest Simon O Posted July 27, 2010 Report Posted July 27, 2010 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 :(
Guest Totyasrác Posted July 27, 2010 Report Posted July 27, 2010 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 :(
Guest TaiwanCHT8k Posted July 27, 2010 Report Posted July 27, 2010 signed zip please :( j/k wish the method doesn't involve any task killers
Guest gusthy Posted July 27, 2010 Report Posted July 27, 2010 (edited) 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 July 27, 2010 by gusthy
Guest gusthy Posted July 27, 2010 Report Posted July 27, 2010 (edited) 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 July 28, 2010 by gusthy
Guest Simon O Posted July 27, 2010 Report Posted July 27, 2010 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.
Guest Totyasrác Posted July 27, 2010 Report Posted July 27, 2010 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 :(
Guest gusthy Posted July 27, 2010 Report Posted July 27, 2010 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.
Guest gusthy Posted July 28, 2010 Report Posted July 28, 2010 (edited) It is impressive :( screenshot_000001.bmp Edited July 28, 2010 by gusthy
Guest Simon O Posted July 28, 2010 Report Posted July 28, 2010 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.
Guest gusthy Posted July 28, 2010 Report Posted July 28, 2010 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.
Guest Simon O Posted July 28, 2010 Report Posted July 28, 2010 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 :(
Guest DanWilson Posted July 28, 2010 Report Posted July 28, 2010 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. BWAHAHAHAHAHAHAHAAHHAHAHAHAHAHAAAAAAAAAAA :(
Guest Simon O Posted July 28, 2010 Report Posted July 28, 2010 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. BWAHAHAHAHAHAHAHAAHHAHAHAHAHAHAAAAAAAAAAA :( Do that and I'll blow up the Irn-Bru factory!
Guest DanWilson Posted July 28, 2010 Report Posted July 28, 2010 Do that and I'll blow up the Irn-Bru factory! But... But... Ok then, you win this time, Powers.
Guest Simon O Posted July 28, 2010 Report Posted July 28, 2010 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! :(
Guest D-D- Posted July 28, 2010 Report Posted July 28, 2010 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?
Guest DanWilson Posted July 28, 2010 Report Posted July 28, 2010 <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...
Guest de_shepherd Posted July 28, 2010 Report Posted July 28, 2010 Perhaps a few recent posters should have a read of tihs story http://www.theregister.co.uk/2010/05/10/tw...b_joker_guilty/
Recommended Posts
Please sign in to comment
You will be able to leave a comment after signing in
Sign In Now