Introducing XDA:DevCon – A Conference For Developers By Developers
XDA Developers Android and Mobile Development Forum
Forgot your password?
 
Post Reply+
Tip us?
 
jawz101
Old
(Last edited by jawz101; 12th April 2012 at 10:45 PM.) Reason: updated
#1  
Senior Member - OP
Thanks Meter 112
Posts: 364
Join Date: Jun 2009
Default IHO Poo Remover rev5 - 20110824

Should work for all Optimus V GB ROMs (aosp & IHO variants)

steps to modify:
extract
edit remove.sh script*
zip
sign

*works best in a unix editor. Notepad++ & Windows notepad sometimes screw with shell scripting handles new line something-or-other. In Windows I've used another free app Jedit for editing it and it seems to not give me 'installation aborted' msgs when installing the zip.

IHO Poo Remover rev5 (link updated)

comments on Email.apk: personally, I use it because it not only connects to Exchange servers but Hotmail email/contacts/calendar syncing can be set up directly in account settings with it there. instructions

Pls extract the zip & look at the remove.sh to see what I'm removing because I have my opinions. You can comment out & zip it back up to your tastes. If you have a variant you've made go ahead & post a link to it. Nice to compare what we each prefer.

In regards to ringtones & notifications I remove all but a basic ringtone. You can either add your own into the script- just drop them in the ringtones & notification subfolders or put additional ringtones on your sdcard in a folder made and named 'ringtones'.

Other notes is it removes a bunch of languages & adds a smaller English language.

I left in CMStats because I want Cyanogenmod to know we use it.
Don't know what Pacman.apk is so I have it commented out. May remove it if I figure out what it is.

Source on safe to remove apks and their purpose on Cyanogenmod wiki

rev5-
removed the sqlite tweaks as they didn't really do much on the IHO ROM
added removal of bootsound since it's an annoying idea
The Following 3 Users Say Thank You to jawz101 For This Useful Post: [ Click to Expand ]
 
Whyzor
Old
#2  
Whyzor's Avatar
Senior Member
Thanks Meter 258
Posts: 514
Join Date: Jul 2011
That SQLlite binary patch looks interesting. Looked at the source page, and they only have the /system/lib/libsqlite.so included, while your .zip includes /system/bin/sqlite3 too. I don't see a /bin/sqlite3 currently on my phone, what is the 2nd bin for?
 
kalaniboy
Old
(Last edited by kalaniboy; 19th August 2011 at 01:41 AM.)
#3  
kalaniboy's Avatar
Junior Member
Thanks Meter 1
Posts: 3
Join Date: Aug 2011
Quote:
Originally Posted by jawz101 View Post
Don't know what Pacman.apk is so I have it commented out. May remove it if I figure out what it is.
Pacman is run one time only. When you first sign into the market. It offers to download all the google apps at once. i.e. Maps, Facebook, Voice, Youtube, etc. I find it useful; since I use most of what pacman offers up. Hope that helps. I'll defiantly have to try poo remover. Love that name BTW. :)
The Following User Says Thank You to kalaniboy For This Useful Post: [ Click to Expand ]
 
jawz101
Old
(Last edited by jawz101; 19th August 2011 at 02:19 AM.)
#4  
Senior Member - OP
Thanks Meter 112
Posts: 364
Join Date: Jun 2009
I guess I left that part out, Whyzor. I'm pretty sure it's useless on its own but among these tweaks is a command that will vacuum the sqlite databases contained on the phone. I guess those that use those scripts would benefit from it most. I may take that piece out since I don't think it's being added completely (maybe not chmoding) because I end up having to run the chmod by hand sometimes. I could be wrong though and it may work.

Anyways, to actually use the sqlite3 you'd need a script like this one from FranciscoFranco, adjusted by mmarz . there's a portion of this script that vacuums the phone's databases. real-world benefits? It's likely negligible at best but I just threw it in there.

If you are ever interested I'd follow anything FranciscoFranco & Ungaze do- they're Optimus One tinkerers but they're obsessed with performance. Really anything they do is applicable to Android in general. Franco's Optimus One ROM is insane (xda) (github source)
 
Whyzor
Old
(Last edited by Whyzor; 19th August 2011 at 08:48 PM.)
#5  
Whyzor's Avatar
Senior Member
Thanks Meter 258
Posts: 514
Join Date: Jul 2011
I just replaced the /system/lib/libsqlite.so from the source thread you posted, set permission to be same as the other binaries, rebooted. Ran RL Benchmark and got the same, around 93 seconds overall score (using 245-600 ondemand CPU, IHO CM7.1. Are you getting the same performance?

UPDATE: If I overlock to 806 Mhz, was able to drop the overall time to 71 seconds, went back to original libsqlite.so and at the same clock speed, takes about 81 seconds. The performance gain is negligable given the corruption risk (and according to Blarf in the IHO thread, properly written apps won't see much of a benefit anyway).
 
jawz101
Old
(Last edited by jawz101; 20th August 2011 at 04:32 PM.)
#6  
Senior Member - OP
Thanks Meter 112
Posts: 364
Join Date: Jun 2009
yeah I'll probably take that out. It gave a noticeable improvement when I ran aosp. May also be that I'm not applying it correctly with this zip.
on aosp the RL Benchmark went from around 80 seconds down to maybe 45 seconds for comparison.
Probably best just have this as purely a bloat remover. Regardless, having it in there isn't messing anything up so this is still safe to use.
 
dwkfoldes
Old
#7  
Junior Member
Thanks Meter 0
Posts: 4
Join Date: Aug 2011
First off I love the poo remover. However, every time i edit the script, zip the package back up again, and sign it and then try to apply it the installation keeps getting aborted with CWM.

I have followed the instructions for windows, including using Jedit, and i have even tried with my macbook using a terminal session with pico.

i do sign the zip files also.

should i not include the stock folder META-INF in the altered script?

any help is greatly appreciated
 
jawz101
Old
#8  
Senior Member - OP
Thanks Meter 112
Posts: 364
Join Date: Jun 2009
that's usually what gets me is the editor I use to edit it with. I'd assume a macbook would be fine for editing it.
I usually remove these 3 files from the meta-inf folder before resigning as they get regenerated with that signing program (cert.rsa, cert.sf, manifest.mf). I don't know if that would affect anything but I've just been doing that out of habit.

Fortunately we understand what we're trying to do and really the only thing that's hanging it up is whatever the hiccup is.
It came down to making one change at a time until I got install aborted errors to stop
The Following User Says Thank You to jawz101 For This Useful Post: [ Click to Expand ]
 
dwkfoldes
Old
#9  
Junior Member
Thanks Meter 0
Posts: 4
Join Date: Aug 2011
thanks much i will give it a shot
 
jawz101
Old
(Last edited by jawz101; 1st September 2011 at 11:55 PM.)
#10  
Senior Member - OP
Thanks Meter 112
Posts: 364
Join Date: Jun 2009
may want to try just unzipping it and rezipping it to see if that works.
Make sure you're zipping up the contents of the iho zip and not the actual folder.
Try it with & w/o signing it. If it works w/o signing it I'd leave that step out just so you can concentrate on editing the remove.sh script.
Possibly use a command line editor if your mac can do that (never used a mac)

issue is with unix line endings vs. windows/mac line endings

just found something if you're using Notepad++ try going to edit- EOL Conversion & switch it to Unix

 
Post Reply+
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Go to top of page...