Patched SQLITE3(libsqlite.so) for 2.2 and 2.3 - Optimus One, P500, V General

IMPROVE YOUR I/O SCORE BY PATCHING YOUR SQLITE3(LIBSQLITE.SO)
More info on how to disable sync in sqlite3 without pragma here
DISCLAMER: Do not try this if you do not understand what it does to your phone. I am not responsible for anything bad happening to your phone!!!!!
ALWAYS PERFORM A BACKUP BEFORE USING MODS LIKE THIS
Download your specific libsqlite.so copy it to /system/lib with any method you prefer(root explorer suggestd) thus overwriting the existing libsqlite.so(you did make a backup right?). Set permission to "rw-r--r--"
Using "RL SQL benchmarking tool"(stock 600mhz clock speed, with ungaze data2sd and dalvik-cache to ram:
BEFORE:
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
AFTER:
LOWER IS BETTER!!!!! (I can get higher scores but this is just to show you the benefits of the patch)
Patched libsqlite.so for 2.2(thanks to mmarz for the link)(someone please confirm if it also works for 2.2.1/2.2.2)
Patched libsqlite.so for 2.3 by:mik_os
Flashable zips (extract the package first then choose the desired zip to apply) contains original & patched libsqlite for froyo and CM7
Words from author:
Android phones as the underlying database using sqlite3. sqlite3 writes efficiency is very low, because the sync feature turned on by default, and fsync() must be performed after each insertion, the resulting system efficiency is low, and the disk life is reduced.
I try to disable sync feature by default in exchange for greater IO performance and reduce disk consumption. While doing so may result in data integrity problems, but I still like to use it because most of the sqlite insert action can be completed within a few seconds, not too much to consider issues such as sudden power-down.
After modified, the time of insert 2000 records to sqlite3 db, from 1m11s reduce to 2s.
-----------------------------
With Android applications, the database operation is non-persistent, normal step in app is:
1.open db
2.do read/write
3.close db
with step3, the data in cache will be flush to disk. so user will not notice any sudden lag, always smooth.
With SYNC-ON, the db operation like this:
1.open db
2.1. write a record/do a transcation
2.2. fsync()
2.3. write a record/do a transcation
2.4. fsync()
.....
3.close db/fsync()
with SYNC-OFF, operation like this:
1.open db
2.1 write a record/do a transcation
2.2 write a record/do a transcation
....
3. close db/fsync()
So, no-sync can significantly save IO time.
Click to expand...
Click to collapse
Here's additional info from patched 2.3 libsqlite.so:
http://forum.xda-developers.com/showpost.php?p=12695464&postcount=1966
-----OBSOLETE-----
So theoretically, this can help improve our phones. Unfortunately, our libsqlite.so is not compatible with the hex values provided. Another way is to compile libsqlite from source which I have no knowledge of. So if anyone can help, I think the whole O1 community would be very grateful.
Need help for a patched 2.2 libsqlite.so

without sync to file(-system) you possibly can loose data.
SQLite3 is a flat file DB which underlaying system is XML - each insertion is writing directly to a file, and this must be in synch
with filesystem because of file mistakes/corruption i think. if you use a network connection like mysql this is other, than the remote system is synching.

I would be so grateful if any of the devs taught us how to change this, or even post a flashable zip since, in theory, increases performance.

from author:
You may still loose data on a powerloss because it is not yet synced but you wont have corrupted data because half written data will be fixed on a ordered journal.
Click to expand...
Click to collapse
and yaffs2 and ext4 are journaled filesystems right? that's what we use.

ungaze said:
from author:
and yaffs2 and ext4 are journaled filesystems right? that's what we use.
Click to expand...
Click to collapse
i think a journaling filesystem is useless if you loose data within writing to a file.
BTW: yaffs2 is not journaling and many users doesnt have ext4 as system partition but only as data partition on sdhc

Up, since we already have patched libsqlite.so for 2.3 http://forum.xda-developers.com/showpost.php?p=12695464&postcount=1966, maybe someone can patch the one for 2.2?
@dookmatt
Still looking for the stuff you need

boss question , this trick initially came from samdroid right?
so we can just copy paste the .so file?

Is this what you're looking for? http://forum.xda-developers.com/showthread.php?t=947975

cmangalos said:
boss question , this trick initially came from samdroid right?
so we can just copy paste the .so file?
Click to expand...
Click to collapse
Actually came from XDA-HTC desire thread then ported to spica in samdroid. And that's where I got the idea and was hoping we could use it here.
Copy and paste + set right permissions. Remember, patch libsqlite.so for 2.3 is for 2.3 only. Make sure you know what you're doing and always make a backup when trying out stuff like these.
@mmarz
Yes basically that's the same as what we(I) need, only we need something specifically for optimus 2.2 source. I really don't understand making stuff from source but I'll still give your link a try.
@dookmatt
theres some discussion going on on how to do this from sources in the last pages of this thread: http://forum.xda-developers.com/showthread.php?t=903507&page=9

Yup im already through doing it, since i really saw the significance of this file on spica, it really boost up the i/o which is commonly the downside of o1

See if this works. I can boot up using it, but I'm not sure how to test if it worked.

Thanks a ton mmarz. It worked. With data2sd(check my sig), before I had 2k - 2.4k I/O score with quadrant. Now I have 3k++ thanks to this patched libsqlite.so. Will add it to first post.(I think this should be moved to dev section now that it's properly addressed to)

ungaze, any idea what version of patch is included in franciscofranco tweeks package?
I'm using that patch on 2.3.3

Tested on 2.2.2 and it's working.... but not so great improve noted.

Yeah i confirm patched froyo libsqlite works on froyo 2.2.2 even. openOptimus' last build has this patch

Samhain77 said:
Tested on 2.2.2 and it's working.... but not so great improve noted.
Click to expand...
Click to collapse
I also don't get much of an improvement in quadrant. I'm not sure why.

nice app, i like it... thanks to sharing

I get + 1k on I/O score.
Anyways, I'll post another benchmarking tool that clearly shows improvement once I get back to PC.

Did you get on a PC?

Magnumutz said:
Did you get on a PC?
Click to expand...
Click to collapse
lololol very funny. Wise guy
well, with recent events regarding my data2sd, I can't find time to post results yet(or even find the benchmarking app). Hopefully next build will be stable and I WILL post the said benchmarking results.
It's true LOL!

Related

[10 Apr][DL Desire v5.xx][Always FASTER][kernel:freak]

{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
V4.31.44.12
v4.32.44.12 applied with theme from he_stheone64.
Important note:
I create the Desire Series together with freak, and also got a lot of help from many technical experts, so, please thank them as well if you like the build.
This thread is for discussing the SD builds only.
All the releases please check: http://forum.xda-developers.com/showthread.php?t=962600.
Please discuss the NAND builds at: http://forum.xda-developers.com/showthread.php?t=913597&page=457
Before flash or install new builds:
1. DON'T expect it will work out of box.
2. DON'T expect it will be as light and fast as Gingerbread.
3. DON'T expect that some legacy problem will disappear
4. Reboot your phone at lease twice after flashing or installing, after 1st boot into setting screen, long press the right button to recall the boot menu, reboot. Can not use /Update_DL method to install app before 3rd reboot.
5. For this version, due to the base has been changed throughly, can not use previous data.img or ext4, remove existing data.img and set data_img=1 to let system generate one for you, or set format_ext4=1 to format your ext4 if you are using ext4
6. DON'T set any config for 1st installation except data_img=1(for data.img) or format_ext4=1(for ext4 user). if your have tmous phone, no need the config.txt.
7. For SD or magldr, if 1st installation failed, must delete the system.ext2 file under /Desire_DL to let system convert it again.
8. Use Windows notepad create a file named config.txt, save it under /Desire_DL, only need to put the necessary config inside it, say:
data_img=1
Important Release Note
This build is another endeavor by freak and me to improve the performance of our build, now, besides our existing optimization methods: squashfs, ext4, etc, this build has been added in the following features to improve it performance furthermore:
1. AUFS + SquashFS.
this is the 1st android version that can support the aufs+squashfs, we
even worked with the author of aufs to make it usable to android.
a lot of innovations within this build from the technical perspective,
for users, the benefit of it are:
a. high performance
b. despite of squashfs is used to reduce the size of file system, user
still be able to change any file directly with the power of aufs.
c. a lot of frequent accessed files are squashed and loaded into ram
to improve the performance.
2. RE-Odexed.
there flood a lot of misleading messages on xda of odexed, same as
squashfs. Odex can actually improve system performance, and at the
same time, reduce the whole system's size(because the odex is
optimized dex), and odex build has less chance of system crash that
lead to wipe the davlik-cache. an odex build doest not generate the
davlik-cache which is odexed.
3. Re-Engineering Sense:
All the apps and framework were re-compiled and reduced the size to get the lowest RAM consuming and Highest performance.
4. Merged DesireZ and DesireHD into one.
Merged the advantage features from both DesireZ and DesireHD into one build.
Please refer to this thread for download and detail info of v5.xx
DOWNLOAD
DL Desire v4.31.44.12
Light themed with power notification and battery percentage.
DL Desire v4.32.44.12
Themed with he_stheone64.
Converted system.ext2 for DL.Desire.v4.31.44.12, thanks mamdouhn
part 1
part 2
part 3
DL.Desire.v4.32.45.13 SD only with DLZ_update_20110307-2034
part 1
part 2
part 3
Note: you are always appreciated if you can help upload the converted system.ext2 for SD/MAGLDR, how to do:
after your system successfully boot into sense, and feel the performance is great, delete the system.img and data.img, zip the /Desire_DL folder and upload it, for some ppl have problem of converting the system.ext2 from system.img.
Click to expand...
Click to collapse
How to config SuperInit v4.4(advance user)
Bugfix and enhancement
Upgrade to v4.32.45.13 and v4.31.45.13 (yes, we upgrade the SuperInit and kernel together.)
How to ask for help:
1. First, make sure you ask at the proper place, this thread is only for ask the question related to the NAND, please ask questions related to SD or MAGLDR at http://forum.xda-developers.com/showthread.php?t=881937
2. Please indicate the following information when asking for help:
a. your phone modal: EU or TMOUS modal.
b. your loading mode: NAND, SD or MAGLDR
c. Please post the content of init.log(this file is on the root of your sdcard).
3. Please be patient and polite.
4. We(myself and freak) will only answer question that follows the above rules, thanks!!!
Naming convention
1. the 1st digit is for the build base, say DesireZ v4.xxx, is for the v4.0 base which based on the HTC RUU 1.85.
2. the 2nd field is for the subversion, normally, x.0 means the first relase which should based on a totally new base, and from x.0 till x.3, there will be a lot fix and testing, if you want a stable version, DON'T use it, and the build will be stabilized after x.4.
3. the 3rd field is for the init version, currently, our init is at v42, which is also not a stable version.
4. the 4th field will be used for the kernel, currently, freak is working on it, and will have the 1st kernel soon.
Video
v2.1
v2.6
Thanks happyendin21 for recording this wonderful video, which demonstrate my build v2.1 and v2.6
Older SD version:
DL DesireZ v1.0
DL DesireZ v0.3n
For version before v3.0
- extract "desire_z" folder on the root of your SD card
- Run "CLRCAD.exe" then "haret.exe"
[/COLOR][/B][/QUOTE]
Special thanks to
wingmann, E Lin, D69K, McNiceGuy, vlad48, RicarduZonta, akshan, Alexei, Kam,
adeeb, Shane Grosser, Kenneth Davis, Muhammad, Joe, parzifal, F-bone,
TruePlaya, Eric, kajos, b0nni....
[/SIZE]
Click to expand...
Click to collapse
Thanks to
- Cedesmith, Cotulla, ownhere, melethron, ocm, Rajko, LeTama, Hastarin, NetRipper, Markinus, gauner1986, Takaaki, iamgpc and others I may forgot.
Click to expand...
Click to collapse
Ah, fresh meat
Hmm Downloading.
all cedesmith fans must try this , please make changelog for next update
Thank you so much
its rebooting on the HTC screen
It works but wifi DHCP is not working (setting it to static IP works just fine) and HTC twitter (peep?) is missing?
Some screens please...
Sent from my HTC HD2 using XDA App
The Rom is excellent
really fast
so far everything is working apart from being unable to connect to WiFi ( stuck on Obtaining IP address.... )
Any Solutions ??
shahzads said:
its rebooting on the HTC screen
Click to expand...
Click to collapse
This build will not create the data.img automatically, hence, you have to supply a data.img file,recommend to use the one I listed above.
Screen Shots
WiFi do not work.
Thank you ,i like this ROM
Wow This one out of the blue
I am flabbergasted by this rom vast stable
Speechless
only minor and yes i am about to say this again Wifi doesnt work
dandiest said:
This build will not create the data.img automatically, hence, you have to supply a data.img file,recommend to use the one I listed above.
Click to expand...
Click to collapse
thanks for telling us that can you please put this info on the 1st post too
Renegade_Rulez said:
It works but wifi DHCP is not working (setting it to static IP works just fine) and HTC twitter (peep?) is missing?
Click to expand...
Click to collapse
same issue here, how do i set it to static ip? do we have to enter in the APN? i thought it was auto
Renegade_Rulez said:
It works but wifi DHCP is not working (setting it to static IP works just fine) and HTC twitter (peep?) is missing?
Click to expand...
Click to collapse
Yes, I removed the twitter and some other applications, if needed, I can put the pkg here, you just put it under /system/app.
ajax0666 said:
I am flabbergasted by this rom vast stable
Speechless
only minor and yes i am about to say this again Wifi doesnt work
Click to expand...
Click to collapse
Believe it's the problem for the file permission, I only managed to fix the pppd due to I don't have wifi here, maybe will try to fix it later.
I will be visiting this forum often to see the progresses of this build.
Other thing i came accros was that titanium backup cant get root permission
dandiest said:
Yes, I removed the twitter and some other applications, if needed, I can put the pkg here, you just put it under /system/app.
Click to expand...
Click to collapse
Yes, please post the twitter pkg.
Thanks

[ROM][June 4]ECLAIR with rdannar flavor fast/stable/tweaked

I bring you an eclair rom on baseband .67. It has a couple of tweaks... more to come. it is edited and has some of my usual flavor in a rom. for those that care about quadrant it gets in the 800's... this is actually a base to work on a dual boot rom and has market and several gapps apks... small size and smooth. Use at your own risk as I am not responsible for anything you do to your phone.
ECLAIRbasicFlaVor.zip.html
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
reserved for future use
???
Planning to make a barebones 2.1 rom?
sent from x10 CM7 (FreeXperia Project)
yup. made one but not as small as the other and I want it to work on bb .67
just have to wait to get to a linux computer to resize ext2
I left in some of the gapps for now
rdannar said:
yup. made one but not as small as the other and I want it to work on bb .67
just have to wait to get to a linux computer to resize ext2
I left in some of the gapps for now
Click to expand...
Click to collapse
no need to use linux computer to resize!!!
[APP] Windows: Create Your Own Data.img Maker Application, +/- From Existing data.img
there u go.... u can use the above app to resize any ext2/4 fs image in windows!
Good going....
few pointers
if you want to keep bare bone 2.1
data partition either eliminate completely i.e. edit the boot.img file init.rc
or create a simple 100 MB file 100 seems to be the idea value that worked for me
and system i am down to 175 MB and going down.... Will post my system.ext2 once i have some stable one.
anantshri said:
Good going....
few pointers
if you want to keep bare bone 2.1
data partition either eliminate completely i.e. edit the boot.img file init.rc
or create a simple 100 MB file 100 seems to be the idea value that worked for me
and system i am down to 175 MB and going down.... Will post my system.ext2 once i have some stable one.
Click to expand...
Click to collapse
yup system down to 170mb here with gapps intact... but first boot is taking LONG...
DooMLoRD said:
yup system down to 170mb here with gapps intact... but first boot is taking LONG...
Click to expand...
Click to collapse
I am plaining on removing everything and just use it for camera.
sort of a widget on my normal screen to boot to camera mode.
and camera mode being this custom rom.... that smallest image could be camera alternative for all till we get gingerbread.
anantshri said:
I am plaining on removing everything and just use it for camera.
sort of a widget on my normal screen to boot to camera mode.
and camera mode being this custom rom.... that smallest image could be camera alternative for all till we get gingerbread.
Click to expand...
Click to collapse
precisely...
lets start tailoring it down for a full working img... i had deleted LOTS of stuff but then could get it to be stable
so now restarting... currently have 200MB system img testing now
DooMLoRD said:
precisely...
lets start tailoring it down for a full working img... i had deleted LOTS of stuff but then could get it to be stable
so now restarting... currently have 200MB system img testing now
Click to expand...
Click to collapse
you can use any thing I post up here if you want... I am working on a slimmer one and will have it done by the end of the weekend. just use any bb changer to add files for bb you want. I think this one will be stable has jit2 and has some tweaked libs from other roms in it.
posting rom in a few minutes
i am using it as a regular rom first to see how stable it is... And it is down to 153mb with some gaps installed
cheers
ps.. don't forget you can edit any image in any file to gain size also
@rdannar
looking at ur modified OP i am slightly confused...
u want to use the ROM u release here as a base rom? or as the one inside the .ext2 files?
also the boot.img provided by Z will not work on bb2.1.67... unless u strip out the ramdisk and use only that to boot...
rdannar said:
i am using it as a regular rom first to see how stable it is...
cheers
ps.. don't forget you can edit any image in any file to gain size also
Click to expand...
Click to collapse
@rdanaar
can u provide the current size of this rom (finally the size which it shows on /system)
DooMLoRD said:
@rdannar
looking at ur modified OP i am slightly confused...
u want to use the ROM u release here as a base rom? or as the one inside the .ext2 files?
also the boot.img provided by Z will not work on bb2.1.67... unless u strip out the ramdisk and use only that to boot...
Click to expand...
Click to collapse
hey rdannar, do suggest which method you used.
also i my stripping is down to 160 MB right now hope i could go more down and then will post all updates as a new thread...
@anatshri, rdannar
i think lets keep the dual boot discussions to z's dualboot proof-of-concept thread...
that way it will be lot easier to follow... and will keep all relevant info at one place...
DooMLoRD said:
@rdannar
looking at ur modified OP i am slightly confused...
u want to use the ROM u release here as a base rom? or as the one inside the .ext2 files?
also the boot.img provided by Z will not work on bb2.1.67... unless u strip out the ramdisk and use only that to boot...
Click to expand...
Click to collapse
this will be inside the ext2 file by replacing files... trust me doom... I have already had his dual boot with calls working on my phone. just replace the core bb files. this is close to the same rom he has with some image changes
rdannar said:
this will be inside the ext2 file by replacing files... trust me doom... I have already had his dual boot with calls working on my phone. just replace the core bb files. this is close to the same rom he has with some image changes
Click to expand...
Click to collapse
ofcourse buddy...
OT:
damn it feels so weird to go back to Eclair after using FreeX10 & CM7 for almost 4 months now
@rdannar,
as you are using it for daily rom can you confirm following stuff working.
1) Wifi
2) BT
3) market
Rdannar, you could do with the ARC data/wifi icons etc.
Ill see if i can get these!
dualboot_DooMLoRD_MOD_rdannar_2.1.B.0.1
Since zdzihu wanted to encourage devs & users to switch to new xRecovery I am releasing this proof-of-concept as an Edify update.zip compatible with xRecovery v1.0.0… the concept being that we can convert ANY rom’s (nandroid/recovery) backup to dual boot image (yaffs to ext2 img) which actually boots!!!!
Also I am not saying that this is the only way but rather that this is the way I achieved it…
A BIG THANK YOU TO ZDZIHU FOR GIVING US THIS NEW TOOL TO PLAY WITH
all credits for the base 2.1.B.0.1 ROM goes to rdannar cause I have modded rdannar’s 2.1.B.0.1 ROM from this thread!!!!
THANK YOU rdannar for ur awesome work!!
to check out the dualboot update.zip here:
http://forum.xda-developers.com/showthread.php?p=14488760#post14488760

[MOD]**UPDATED 5/7** - ICS - Dual CPU | HUGE performance increase

***THANK YOU CHAD FOR THIS TIP****
TO INCREASE PERFORMANCE - AFTER YOU APPLY CHANGES, REBOOT.
I have included a link to my own file, in case you just want to copy it into your /system/etc folder instead of make all the edits yourself. Set permissions so owner, group, and other all have read and execute permissions. Then change file ownership, owner should be root, and group should be 2000 - shell. To perform these actions in root expolorer, all you have to do is long press on the files and the permissions and ownership options will pop up in the menu you see... most file explorers operate in a similar manner. Be sure if you are pasting a file into a directory (as with the post_boot file) you delete the other one first (again, long press, select delete).
Navigate to /system/bin and delete mpdecision **updated, do not delete thermald for now**.
thermald - Linux 3.0 kernel does not need thermald, however, based on some more testing, and the fact that this function is built into the ROM, it would be safe to assume that thermald is not enabled in the kernel deconfig (meaning it is a there as a function, but is not "turned on"). I recommend leaving it there. And if you removed it, don't worry, I will explain how to get this file back, set permissions, and re-enable it. Much easier than you think. OK, moving along... mpd can still be removed. See below...
mpdecision - this OS is designed with multithread capability (true multithread) and therefore mpdecision is no longer needed for us, unless you are trying to save some battery.
Navigate to /system/etc and find the init.qcom.post_boot.sh file... open it up with a root file browser, scroll to the very bottom, you will see some code starting with this:
# Post-setup services
case "$target" in
"msm8660" | "msm866_csfb" | "msm8960")
;;
esac
case "target" in
.....(etc etc etc... this is pretty much the bottom part of the code in this file, which operates similarly to the init.post_boot.sh file from previous RUU - executes after boot)
From this line down, you will see two items called out to execute after boot up. One of them is a line for mpdecision, and one is a line for thermald. Delete the following line of code that you see in this post that is bolded. Again, bolded text is the text you want to delete (this is all at the bottom of the contents in init.qcom.post_boot.sh file, as mentioned):
You will see this: (and again, delete everything in the following lines that are bolded)
# Post-setup services
case "$target" in
"msm8660" | "msm8660_csfb" | "msm8960")
start mpdecision
;;
esac
case "$target" in
"msm8660" | "msm8660_csfb")
start thermald
;;
esac
so your new bottom section of init.qcom. should look like this.....
# Post-setup services
case "$target" in
"msm8660" | "msm8660_csfb")
start thermald
;;
esac
Tested this on my own device for implementation into the upcoming release of "SK ROM - v.4.0.3 ICS" and it increased performance greatly. both cores will now operate at all times.
link for my own file I am using:
(link removed, and will be replaced shortly )
http://db.tt/uvbjUrz9 <---- if you followed the directions from the top, just paste this file into /system/etc and set permissions as described below... it is the same file.
****IF YOU ALREADY REMOVED THERMALD, FOLLOW THIS INSTRUCTION****
first of all, copy and paste this file into your /system/etc directory.
(link coming soon)
http://db.tt/uvbjUrz9
copy and paste this file into your /system/bin directory
(link coming soon)
http://db.tt/XiQoYc7O
Both of these files should have read and execute permissions checked all the way down. change ownership of both files to "root" and "2000 - shell" with a file explorer such as root explorer or root browser.
reboot, good to go.
Good luck!
Looks good. I'll try this later...
it is good for some speed and performance... first time i have seen dual core actually add a good amount of performance and numbers in quadrant. i went from 2200 to 3000 just by doing this
cobraboy85 said:
it is good for some speed and performance... first time i have seen dual core actually add a good amount of performance and numbers in quadrant. i went from 2200 to 3000 just by doing this
Click to expand...
Click to collapse
yeah.. i see what you mean. good work!
you might want to post the files in this thread as well, in case someone doesnt back them up, and wants to add it back
just a thought
minieod said:
you might want to post the files in this thread as well, in case someone doesnt back them up, and wants to add it back
just a thought
Click to expand...
Click to collapse
great idea. i will post up the one i am using currently....
DB link coming soon... standby
Nice seems a lil quicker thanks.
Sent from my PG86100 using xda premium
You are the man!!! From 2600 to:
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
After i made the changes Quad and system recognizes both cores!!!
luis4ever said:
You are the man!!! From 2600 to:
After i made the changes Quad and system recognizes both cores!!!
Click to expand...
Click to collapse
BONE ASS STOCK...
i picked up the same gain, CPU went up 700 points, and IO went about the same... and picked up the same margin of gain as you - about 800 overall points
Awesome mod bro.......I'm not currently on ICS, but good to know you're already on top of things. Gonna wait for ICS roms to get more refined before flashing. Keep up the great work..........
cobraboy85 said:
great idea. i will post up the one i am using currently....
DB link coming soon... standby
Click to expand...
Click to collapse
oh...i meant the actual files that were deleted, the mp and therm files, in case someone takes them out, but wants to put them back
but that file is nice too
cobraboy85 said:
BONE ASS STOCK...
i picked up the same gain, CPU went up 700 points, and IO went about the same... and picked up the same margin of gain as you - about 800 overall points
Click to expand...
Click to collapse
Just got a better score:
Good work!!! It seems this score is legit because it increases a lot on CPU and I/O is not bigger as 10k or more. Also, Quad and system tuner now say 2 cores
Leeboy said:
Awesome mod bro.......I'm not currently on ICS, but good to know you're already on top of things. Gonna wait for ICS roms to get more refined before flashing. Keep up the great work..........
Click to expand...
Click to collapse
On it partner, this version of android will greatly benefit from having screen on/off profiles such as the ones found in mikeyxda's ROMs, and many others. Freeza and I are cooking some stuff up as we speak as I am sure many are.
minieod said:
oh...i meant the actual files that were deleted, the mp and therm files, in case someone takes them out, but wants to put them back
but that file is nice too
Click to expand...
Click to collapse
ah, gotcha. i suppose i could. if they have the zip file on their SD card, however, they can always extract them from there with a root file browser
done it many times - much easier than downloading it
@luis4ever, is that new quadrant or old ?
meangreenie said:
@luis4ever, is that new quadrant or old ?
Click to expand...
Click to collapse
Quad 2.0
This is with Quad 1.0 which is nearly close:
I guess this decreases battery life?
Inviato dal mio PG86100 utilizzando Tapatalk
minieod said:
oh...i meant the actual files that were deleted, the mp and therm files, in case someone takes them out, but wants to put them back
but that file is nice too
Click to expand...
Click to collapse
If you think you might need them back just rename them and don't delete them.
it will drain a little faster, yes, not to anything unbearable tho. if you want to offset it, adjust your screen brightness lower just a tick.
Trying this on gsm, hope it works
edit, darn it :? still the same score, guess gsm is different somehow

[SCRIPT] Mallory Engine 'V3' Final - Keep battery life and speed together

Mallory engine, was created to work on your memory (Ram) and baterry
In this latest version I worked on several things and honed
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
*Features
* Limit your Ram always leaving clean
* Increase touch screen sensitivity. *Auto Adds support for init.d on Stock Rom
*Has a very significant improvement in your battery. *Have your triming at most
And other things suppressed
*'How To Install'*
* Conduct a First Backup (Optional) * Download engine is Put in your memory Use some recovery of your choice and flash it
*Flash this with*
TWRP RECOMMENDED
*Downloads*
http://www.mediafire.com/?q73klp66tgo0xbc
This engine is created in Malive/adrenaline/codes idea
Without source
*Tranks to
*Jyn Alek
*Jamieric Gs
#Support
CM 11 And Aosp based Roms
Stock Rom
#devices tested
Moto G
Moto E
Galaxy pocket Neo
Moto X (MTX)
Send your support
Use the Busybox
is mandatory sorry#
Man I am an old dog at android but how come this is the first I am hearing of this?
Anyhow great to have something new to have a go at.
Your new idea is more than welcome in our sparse development area.
Thanks man.
*Has a very significant improvement in your battery. *Have your triming at most
And other things suppressed"
Thanks for your work, but could you go more in detail about those?
Hi
Few questions,
Understand that it also works with Stock ROM.
1. Does it work on Stock 4.4.4 (XT1052)
2. Should xposed framework and cf.lumen drivers to be muted before flashing this engine
3. Does this conflict with greenify and should greenify be disabled
Thanks in advance.
init.d scripts much. lol
c19932 said:
*Has a very significant improvement in your battery. *Have your triming at most
And other things suppressed"
Thanks for your work, but could you go more in detail about those?
Click to expand...
Click to collapse
Delete your screen, your CPU stay at least To save battery When lighting your screen it back to normal Among several other optimizations you perceberar with time
arifqur said:
Man I am an old dog at android but how come this is the first I am hearing of this?
Anyhow great to have something new to have a go at.
Your new idea is more than welcome in our sparse development area.
Thanks man.
Click to expand...
Click to collapse
Thanks o/
smohanv said:
Hi
Few questions,
Understand that it also works with Stock ROM.
1. Does it work on Stock 4.4.4 (XT1052)
2. Should xposed framework and cf.lumen drivers to be muted before flashing this engine
3. Does this conflict with greenify and should greenify be disabled
Thanks in advance.
Click to expand...
Click to collapse
I use Xposed among several other things and there is no conflict
Thanks for the works, but my XT1052 very slow.....
How unsinstall?
Will it work for droid Maxx ??
isaakmg said:
Thanks for the works, but my XT1052 very slow.....
How unsinstall?
Click to expand...
Click to collapse
Use the Busybox
is mandatory sorry
aneeshmbabu said:
Will it work for droid Maxx ??
Click to expand...
Click to collapse
Yes , with busybox
I wanna try too, but how unnistall if I need?
Is it like a new system UI?? Confused
Sent from my XT1053 using XDA Premium 4 mobile app
How unsinstall????????? :/
Would like to try just for something new to tinker with but without an uninstall seems strange but I can always restore a backup.
Do you speak spanish? If you post what this does en spanish i can translate for you.
isaakmg said:
Thanks for the works, but my XT1052 very slow.....
How unsinstall?
Click to expand...
Click to collapse
Vinyborges said:
I wanna try too, but how unnistall if I need?
Click to expand...
Click to collapse
isaakmg said:
How unsinstall????????? :/
Click to expand...
Click to collapse
ConstantHero said:
Would like to try just for something new to tinker with but without an uninstall seems strange but I can always restore a backup.
Click to expand...
Click to collapse
After looking over everything included really quick, to uninstall it just remove the entire /system/etc/init.d folder then remove /system/bin/fstrim and /system/xbin/sqlite3 also restore the /system/build.prop.bak and remove the modified build.prop. Also you could re-flash SuperSU to restore the install-recovery.sh file to what it was prior.
To be honest I'm not trying to be a **** but this isn't an engine, it appears to be a bunch of old gingerbread init.d scripts from various other XDA members, 23 init.d scripts to be exact. A lot of the scripts are useless on the Moto X, because they try to alter files that are no longer present on 4.4+ probably 4.2+, or they are duplicates and change the same properties two and three times to the same or different values. Also it fstrim's the /system /cache and /data partitions every boot which isn't recommended if you reboot your device frequently, and it remounts /data with no barrier. Yeah it might cut some ram usage down but that's because it's set to kill background apps almost instantly and the Moto X has 2gbs of ram so this isn't needed.
Bad answer for developer...... I restore my backup, but very bad this mod for my xt1052......
This works great for me
I noticed battery life improvements.. Thank you for the engine
Sent from my XT1053 using XDA Premium 4 mobile app
iKrYpToNiTe said:
After looking over everything included really quick, to uninstall it just remove the entire /system/etc/init.d folder then remove /system/bin/fstrim and /system/xbin/sqlite3 also restore the /system/build.prop.bak and remove the modified build.prop. Also you could re-flash SuperSU to restore the install-recovery.sh file to what it was prior.
To be honest I'm not trying to be a **** but this isn't an engine, it appears to be a bunch of old gingerbread init.d scripts from various other XDA members, 23 init.d scripts to be exact. A lot of the scripts are useless on the Moto X, because they try to alter files that are no longer present on 4.4+ probably 4.2+, or they are duplicates and change the same properties two and three times to the same or different values. Also it fstrim's the /system /cache and /data partitions every boot which isn't recommended if you reboot your device frequently, and it remounts /data with no barrier. Yeah it might cut some ram usage down but that's because it's set to kill background apps almost instantly and the Moto X has 2gbs of ram so this isn't needed.
Click to expand...
Click to collapse
Are there any "engines" that you recommend for the Moto X?

[MOD][Open-Source] MaliveBooster Optimized Moto v1.0

Peace guys! ! !
First of all, this mod is a good friend of mine but is opensource, I just helped in doing something changes for the better Moto line support.
Credits:
JynAlek
Description:
Hello guys, this is my newest work for all android devices, is a simple engine focused on a good performance and battery saving, I know, it does a great job, but I did my best and I guarantee you will enjoy, you will not even see a LAG on your device.
Unlike many engines out there, the MaliveBooster is not based on AdrenalineEngine, or anywhere else, I created it from scratch to make the best of my device, she had several contributions of many of my friends who encouraged me to create it.
Features:
✔ Increase touchscreen sensitivity
✔ Less battery consumption
✔ Small and simple SD-Card read ahead script, configured to work with "4096 KB"
✔ Wireless Speed Tweaks
✔ Custom Sysctl (made by myself)
✔ Optimized overall performance
✔ Photo and video recording quality considerably increased
✔ New script to compress 3G/WiFi data, resulting in better network performance
✔ CWM/TWRP/PhilZ Touch Flashable
✔ Custom Hosts
✔ Easy to uninstall
✔ Turns your mobile phone into an incredible Galaxy S5. (joke , haha)
**Do a backup before your try anything as usual !!!​
Installation:
1.Delete all others ram scripts you have installed in "/system/etc/init.d"
2. Copy 'MaliveBooster' to your phone SD card
3. Reboot your phone to recovery mode
4. Mount /system
5. Flash MaliveBooster
6. Reboot your phone when finished installation
7. Done
==================================================
Downloads
V1.0 OptimizedMoto
Mirror Mediafire
Uninstall
==================================================​
Please, if you found a bug, tell me in the comments that I will fix, and please press THANKS instead of saying thank you, keep this topic clean.
Changelog:
Code:
20151030 v1.0
Release initial
Thanks @JynAlek and all testers on forum !
Hello, I have 2 questions:
1. Should I remove (backup) my default "fstrim" script?
Edit: yes as this mod has also one.
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
2. What if I have a hosts file created by adaway already?
Edit: disable from adaway app (it will restore default system hosts file) and reboot.
lavero.burgos said:
Hello, I have 2 questions:
1. Should I remove (backup) "fstrim"?
#!/system/bin/sh
2. What if I have a hosts file created by adaway already?
Click to expand...
Click to collapse
Recommend not using other script if you want to see what it can, but I can not tell if something will go wrong ...
I believe that nothing will go wrong, but I can not help you if you have a problem after installation, since you flash this script upon others I do not know.
So... this is for stock, AOSP, custom ROMs, any of them...?
EsromG5 said:
Recommend not using other script if you want to see what it can, but I can not tell if something will go wrong ...
I believe that nothing will go wrong, but I can not help you if you have a problem after installation, since you flash this script upon others I do not know.
Click to expand...
Click to collapse
Checked inside the .zip and I see there is a fstrim script so I'll backup and remove my default fstrim script then.
EmilianoTalamo said:
So... this is for stock, AOSP, custom ROMs, any of them...?
Click to expand...
Click to collapse
yes, any roms...stock our custom..
Hi, this scrip works as both stock and cyanogenmod?
also it can be ironed while having mofificado kernel?
flopezm said:
Hi, this scrip works as both stock and cyanogenmod?
also it can be ironed while having mofificado kernel?
Click to expand...
Click to collapse
yes, work fine
how i can uninstall it?
requiiiem said:
how i can uninstall it?
Click to expand...
Click to collapse
Seems there's an uninstall zip in the first post, you should try flash it!
Going to flash over CM 12.1. Will share results here..
Does it work on locked bootloaders? (At&t, Verizon models) Thanks in advance.
Jinix0r said:
Does it work on locked bootloaders? (At&t, Verizon models) Thanks in advance.
Click to expand...
Click to collapse
No dude, in order to flash things, you need a custom recovery called twrp, which requires an unlocked bootloader to be installed... Also you'll need root to access the system partition and delete other init.d files, if necessary. Just read the OP, the instructions are clear.
Just wanted to say, these scripts seem to work well, even now on LineageOS 13 (6.0.1)! Thanks for porting this over to our X!
Work on Moto x 1056-1st gen(Ghost)?
does it work with MOto xt 1056 Ghost
jtflynnz said:
Just wanted to say, these scripts seem to work well, even now on LineageOS 13 (6.0.1)! Thanks for porting this over to our X!
Click to expand...
Click to collapse
Do the Hotspot and WiFi and Bluetooth work properly?
Gaburieru Pucho said:
Do the Hotspot and WiFi and Bluetooth work properly?
Click to expand...
Click to collapse
I personally haven't noticed any changes to these behaviors (installed/flashed on an existing LOS 13 install), but I haven't been explicitly testing them.
jtflynnz said:
I personally haven't noticed any changes to these behaviors (installed/flashed on an existing LOS 13 install), but I haven't been explicitly testing them.
Click to expand...
Click to collapse
I use Lineage OS 13 too. So, i guess it'll work out just fine.

Categories

Resources