***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
Related
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!
Hi All.
Sorry for my english, I speak Spanish.
The goal is make that all the good stuff that you make for the X10 mini pro can be easily apply for any person. For stock and mod rom's.
ScreenCap and Remote Droid Control. Only work well in SE stock Rom. Mod Rom's need fix in the port of CM.
{
"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"
}
Script Editor Tool.
Requirements:
Windows OS (Vista and 7 run as admin).
Java 1.5 or up for Screen Caps & control
USB Drivers (of course)
Remember this BETA is only tested in Stock Rom for me, help me with the feedback.
Istructions for Install:
New: SetUp autoinstall
Beta Release:
v0.09 Fisrt Open Beta
v0.10 Notes:
Aded Root Function*(Root/xRecovery) X10 mini pro for this moment.
[shell_line] new variable value [script_path] for add automatic path to the script folder Example:
- [shell_line] push [script_path]build.prop /data/local/tmp/build.prop
[rom_ver] moved to variable value for manage version of file to use, use the position refererence of rom compatible, see example in Multi-touch script.
Screen Cap & Control need java ... I try to port to windows but the final exe go to 20mb lol
v0.13 Beta (more stable)
Many bug fixes
Aded the midas.dll inside of app.
SetUp now install all in right place
(UAC) ask for Admin rights now automatically for Win 7 / Vista.
Others minor changes.
Scripts & Functions
Root (Temporal)
Full Root ( Include: xRecovery, SU app & Root Explorer).
Device Screen video capture & display control in PC.
Script Editor
DualTouch Script (Include: Test-MT app)
OverClock Script (Include: CPU control app)
Build.prop Editor - Script
Hw_config.sh Editor - Script
Super User Permissions Checker - Script
Simple Reboot - Script
Reboot in xRecovery - Script
To Add:
Jit - Script
Increase Volume level - Script
Languaje Key Fix -Script
Tar System & Data Backup - Script
Qwerty Blue Bar Remover - Script
BootAnimation Changer - Script
and more
Last Update:
v0.15 Beta (more mod roms compatible)
Scan device fix (android img for non know rom).
Added Overclock script.
Amost all scripts now work in all x10 mini pro mod roms.
fixed setup installation.
Root function fixed.
Others minor changes.
Updated SETUP DOWNLOAD 0.15B CLICK HERE
I cant update the post attachment so i upload the news in megaupload...
Don't download the old version that attached in the post lol
Plz. if you download the app and test it... report the bugs...
Awesome idea, would help the new ones a lot
What also would be nice is, if the user can check/uncheck stuff he wants. This way also new users could try out which features give them the best perfomance on their devices.
nice idea...
you programming language is?
Chumby_666 said:
nice idea...
you programming language is?
Click to expand...
Click to collapse
Object Pascal-Delphi for preference
that is indeed a great tool. And it is a must have for a safe modding.
bitmovel said:
that is indeed a great tool. And it is a must have for a safe modding.
Click to expand...
Click to collapse
That is the goal.
I hope finish the first beta tomorrow.
Plain awesome!
Sent from my U20i
I can imagine that the new app itself could be the first step for some other automate apps. I suggest to make it open source.
Or, if that is not an option, please allow it to add some kind of plugin that could be added by other developers. Like adding some other function.
I am no big developer, but I think that could be usefull for them
the [add_text] function should be avaiable to select where to add the text, instead of adding it on the end.
alow me to suggest a [search_and_replace] function.
That would be really usefull!
As an exmple, I imagine it to replace the following line in this file usr\keyboard-config\keyprint.xml:
<script name="latin" keylayout="qwertz"/>
to
<script name="latin" keylayout="qwerty-br"/>
Thats something I always need to do in downloaded stock roms. I dont think that specific change could be done with any other function.
Thanks.
EDIT: ooops. just found the [replace_text] function. just make sure it will accept multi-line text search and replace.
maybe a [delete_line] also?
as an example:
[delete_line] {ro.product.multi_touch_enabled=true}
bitmovel said:
I can imagine that the new app itself could be the first step for some other automate apps. I suggest to make it open source.
Or, if that is not an option, please allow it to add some kind of plugin that could be added by other developers. Like adding some other function.
I am no big developer, but I think that could be usefull for them
Click to expand...
Click to collapse
Yes, I'm not one despective guy mate XD, and one goal is that the devs can make your own scripts, the program go to see all sub-folder like one plugin and all the dev's can make they own need stuff. I know that the is the first version, but i can add more commands and functions for have one nice tool for all people.
[delete_line] may be but can use [replace_text] {ro.product.multi_touch_enabled=true}{}
bitmovel said:
the [add_text] function should be avaiable to select where to add the text, instead of adding it on the end.
alow me to suggest a [search_and_replace] function.
That would be really usefull!
As an exmple, I imagine it to replace the following line in this file usr\keyboard-config\keyprint.xml:
<script name="latin" keylayout="qwertz"/>
to
<script name="latin" keylayout="qwerty-br"/>
Thats something I always need to do in downloaded stock roms. I dont think that specific change could be done with any other function.
Thanks.
EDIT: ooops. just found the [replace_text] function. just make sure it will accept multi-line text search and replace.
maybe a [delete_line] also?
as an example:
[delete_line] {ro.product.multi_touch_enabled=true}
Click to expand...
Click to collapse
first sounds like an awesome app.
@ bitmovel you might want to take a look here -> http://forum.xda-developers.com/showthread.php?t=1113863
[local_backup_current_state] << would be usefull to... cd /system; tar system.tar * system.tar
[service_list] << to check are all services ok.
[service_restart] service name << for libs testing.
[find_file] filename << find file on cell..
[test_egl] / [restore_egl] path to egl old / new << opengl testing ...
[test_hw] / [restore_hw] path to old / new << sensors / lights / copybit / gralloc testing...
Chumby_666 said:
[local_backup_current_state] << would be usefull to... cd /system; tar system.tar * system.tar
[service_list] << to check are all services ok.
[service_restart] service name << for libs testing.
[find_file] filename << find file on cell..
[test_egl] / [restore_egl] path to egl old / new << opengl testing ...
[test_hw] / [restore_hw] path to old / new << sensors / lights / copybit / gralloc testing...
Click to expand...
Click to collapse
Well that sounds a nice idea, for developing , also should be useful if you kinda brick your phone
Damn, like all the dev's, Im delayed, sorry guys, the electric power in my house are off, thanks at one drunk person that put off the net with her car.
I hope can put the first beta tomorrow.
cheers XD
P.D.
340 code lines ready lol. I go to dream whit Delphi :S
340 code lines ready lol. I go to dream whit Delphi :S
i wonder... that is hell of compression how did you do it?
lol
My brain hates me. I have an incredible headache, but hey, I upload some pictures so you can see how it will progress.
snikegear said:
lol
My brain hates me. I have an incredible headache, but hey, I upload some pictures so you can see how it will progress.
Click to expand...
Click to collapse
so no sex tonight? :O ok. then throw yourself on programming.. k?
Chumby_666 said:
so no sex tonight? :O ok. then throw yourself on programming.. k?
Click to expand...
Click to collapse
Trying to add more features to the application. Sex will have to wait. good is not true, first things first. lol
I'm adding the function to do not need the root to use another program and I will also add the function to view, video recording, and manage the phone on the PC screen.
PD.
1 screen cap more in first post XD
sorry if I'm delayed, but i like offer one best work done. Until in beta version.
I go need 10 beta tester's for check: scripts, root and screencap, first using SE original rom.
Thanks
Hey all, I thought I would put together a quick guide on how to port modules built for other devices. Since we share the same CPU as the One X and many other phones it's possible some of the mods for them are compatible with our phones too. In this case I was wanting to give coolbho3000's overclock module a try to see if it would work.
Please keep in mind that this will not always work and it's still better to try and use a module built specifically for your setup. Using a module that's not made for your device can cause all kinds of issues and seriously affect system stability. Always make sure you read the original instructions to make sure you understand how it works and how it's intended to be used.
Neither me, XDA or the module's author are responsible for anything that happens to your device. You and you alone are responsible for your actions.
First thing you'll want to do is try to load it as is, it probably won't work but it'll at least give you a place to start. In this case I'm using the overclock module from the One X so I used:
Code:
adb push krait_oc.ko /data/local/krait_oc.ko
adb shell
su
insmod /data/local/krait_oc.ko
{
"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"
}
If it is successful it won't say anything, but there you can see it failed as expected. In order to find out why it failed we'll need to run dmesg and look for where it tried to load it.
Code:
dmesg | grep "krait_oc"
There we can see module_layout is where the issue is. What we can do now is pull one of the already installed modules off of the device and use it as a reference, in this case I used lcd.ko since it has an easy name to type. Grab your two modules and using linux run modprobe to find a value for module_layout. (If you only have Windows available skip to next step)
Code:
modprobe --dump-modversions lcd.ko
Now that we know what to look for open up the module in a hex edit and search for "module_layout." Immediately before it you will see the value that needs to be changed, but, keep in mind that it is little endian so the bytes are read backwards. In the view of lcd.ko on the right you can see the value we previously got of '37 19 bc d3' is saved as 'd3 bc 19 37'.
Change those four bytes to match and then save the module under a new name so it is not confused with the original.
Once you save the edited module its time to push it to the device again and try once more.
And success! Sometimes you'll also need to edit the module to accept the current kernel version you are using, but the process should be similar as to what's here.
So, uhhhh . . . you gonna share that modded kernel?
utnick said:
So, uhhhh . . . you gonna share that modded kernel?
Click to expand...
Click to collapse
Kernel is still the same, this is just for the modules
*sigh* I wish I knew what that meant. Can I ask to you to explain it to me please? And does this mean you have the ability to port the kernel to OC an EVO LTE?
Got overclock working fine. Great thanks Haus
Can anyone make a zip? Pretty please.
You can't make a zip. you have to mod the ko file yourself and launch it yourself.
utnick said:
*sigh* I wish I knew what that meant. Can I ask to you to explain it to me please? And does this mean you have the ability to port the kernel to OC an EVO LTE?
Click to expand...
Click to collapse
Think of modules as sort of like an add-on for kernels, except that they're saved as part of the ROM instead of on boot. I used the one-x overclock module here, but since it's not made for the evo it may not be completely stable. Plus there are other changes that need to be made to the thermal profiles according to his original post.
Ideally coolbho3000 will be willing to create one for us and officially support it. I've already reached out to him about it so hopefully we'll hear something back soon.
Hey I know quadrants don't mean much but do you think you could get us a screenshot of our phones scores when overclocked?
Thanks for the guide by the way I will definitely try this when I have time...
Red.
So glad you're here haus :thumbup:
Sent from my EVO using xda premium
it there a way to remove a module, and replace a new edited ported *.ko?
all of this is done in recovery?
if trying to replace a module should just get to modding the kernel itself?
Great guide, I've been looking for something like this. So could I use this method to get USB hosting working? I know the one x (AT&T), has a custom kernel that supports it.
XDA University is Coming! Can't wait to learn more...
Immediately before it you will see the value that needs to be changed, but, keep in mind that it is little endian so the bytes are read backwards. In the view of lcd.ko on the right you can see the value we previously got of '37 19 bc d3' is saved as 'd3 bc 19 37'.
Click to expand...
Click to collapse
That's not little endian and reading backwards is not little endian when the original is not big endian. Little/big endians are in terms of byte size orders.
Good tutorial.
exSD said:
That's not little endian and reading backwards is not little endian when the original is not big endian. Little/big endians are in terms of byte size orders.
Good tutorial.
Click to expand...
Click to collapse
Thank you, but "byte size orders?"
xHausx said:
Thank you, but "byte size orders?"
Click to expand...
Click to collapse
Byte value order. Hex value.
thanks a lot
thanks a lot for your tutorial, and congrats,
i tried your tutorial and i cant modprob on linux, i atached the screenshot of what happenz,
i try "modprobe --dump-modversions usbhid.ko" and i receive a blank line with nothing, i tried with other modules and it do the same, but for the one who was extracted from my phones modules folder, it works,
and i also have a daught, i search for "module_layout" only or any other values?
hackerse7en said:
thanks a lot for your tutorial, and congrats,
i tried your tutorial and i cant modprob on linux, i atached the screenshot of what happenz,
i try "modprobe --dump-modversions usbhid.ko" and i receive a blank line with nothing, i tried with other modules and it do the same, but for the one who was extracted from my phones modules folder, it works,
and i also have a daught, i search for "module_layout" only or any other values?
Click to expand...
Click to collapse
Make sure you have spaces between your arguments. It also depends on what value it's telling you is incorrect, it may be different depending on which one you're trying to use.
xHausx said:
Make sure you have spaces between your arguments. It also depends on what value it's telling you is incorrect, it may be different depending on which one you're trying to use.
Click to expand...
Click to collapse
i already did that i think itś something wrong with the module because i put them i the same directory and the exact same commands and it just dont work, i atached some screenshots and the modules.
thanks for helping me
hackerse7en said:
i already did that i think itś something wrong with the module because i put them i the same directory and the exact same commands and it just dont work, i atached some screenshots and the modules.
thanks for helping me
Click to expand...
Click to collapse
i just cant undestand, if someone can help me.
This guide is for reodexing your SGS3, such as UltimaROM, Omega, Foxhound, CodecROM, _null, Sotmax and others (I'm just listing off the top off my head).
It's not terribly tough and 100% of the credit belongs to rujelus22 for his amazing work on his AIO tool. This guide is just for deodexing/odexing, but you can use that tool for other things.
Firstly, why would you want to odex your ROM?
Well, this will help you understand more:
http://www.xda-developers.com/xda-tv-2/pro-tip-number-5-why-you-should-odex-and-deodex-xda-tv/
It's very useful and saves on battery life and makes the phone slightly more responsive.
Consider:
When you have downloaded and installed your chosen ROM you should odex it back up for the speed and agility odexing affords you. However you should ONLY do this after you are happy with your setup. I.E., install any mods you wanted and then Odex your phone.
If you want to add mods later, say, perhaps, your developer releases a new mod, or patch for your ROM you will NEED to Deodex the ROM before applying a patch or new mod. This is important. Please do not pester your dev about an error if you have not done this.
In my opinion, it can take maybe 30 minutes to Deodex, apply your mods/patch, and then Reodex using this tool, but the benefits are worth it.
You should also perform these actions AFTER a successful boot. You should flash the ROM. Boot. skip the setup pages and get to the homepage, then do this odexing.
How to do it:
Firstly, head off over to Rujelus22's AIO script thread and download it:
http://forum.xda-developers.com/showthread.php?t=1955745
Don't forget to click "Thanks"
Make sure you also download these the Android-SDK and the Java Development kit. The SDK is necessary for the Deodexing, I believe, in case you want to do that later:
http://forum.xda-developers.com/showpost.php?p=33268059&postcount=2
After that, extract the AIO script somewhere useful where you can find it again and run the "Start_AIO.bat" file. This will set up some folders in the directory you extracted to and then open the start page
{
"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 this make sure your phone is plugged into you computer and that USB Debugging mode is on in the Developers Options. ALSO, you must have an "Insecure Kernel" such as any custom kernel (Siyah, Perseus, Boeffla) or Wanam/zoot1's repacked stock kernel.
If you do not have an Insecure Kernel head off to Chainfire's adbd Insecure thread: http://forum.xda-developers.com/showthread.php?t=1687590
You might considering buying it on Google Play, if you like, but there is a free XDA version.
After you are plugged in, on USB debugging and have an Insecure Kernel, load the AIO script and choose option "22" which reads "Odex the ROM on your phone". You will be given the opportunity to take a nandroid backup at this point.
Sit back and let it do it's thing. It will take about 10 minutes, and it will seem to hang on the clean up bit. Fear not, because it IS doing something. Your phone will automatically reboot when it has finished.
You're done! Once you have done that little bit of setting up... in future it is as easy as opening the script, hitting 22 and sitting back.
Notes/FAQ:
Sometimes it can constantly loop around the first page as though it is doing a first run. To solve this, go into "AIO_FOLDER/tools/Settings/" and create a new .txt file called "firstrun". Make the contents of the file 1. Just "1" and nothing else.
Sometimes it can say that you don't have remount access and the Odex option will not show. Similar to the point above, go into "AIO_FOLDER/tools/Settings/" and make a .txt file called "remount" and place a single 1 in the folder.
Deodexing can take some time. Be patient.
Can any ROM be Odexed this way, such as CyanogenMod, for example?
I think so, yes. As long as the script can find the bootclasspath!
Kryten2k35 said:
I think so, yes. As long as the script can find the bootclasspath!
Click to expand...
Click to collapse
Thanks. I'll give it a try. I've always stuck with Odexed ROMs for all the reasons that Adam discussed in the video, so I'd be very pleased if I could Odex CM. Best of both worlds.
When i select 99 and 4 and 2 the script closes...:/
Also all odexing options are greyed out...i followed the instructions just fine,any help?
nfsmw_gr said:
When i select 99 and 4 and 2 the script closes...:/
Also all odexing options are greyed out...i followed the instructions just fine,any help?
Click to expand...
Click to collapse
This might help
http://forum.xda-developers.com/showpost.php?p=39378436&postcount=164
Make that edit to the "script.bat"
Kryten2k35 said:
This might help
http://forum.xda-developers.com/showpost.php?p=39378436&postcount=164
Make that edit to the "script.bat"
Click to expand...
Click to collapse
idk speed of the rom is same as deodexed will see about battery life:silly:
Kryten2k35 said:
This might help
http://forum.xda-developers.com/showpost.php?p=39378436&postcount=164
Make that edit to the "script.bat"
Click to expand...
Click to collapse
Woot woot!
Working like a charm now,thanks!
Maybe you should add this to the op?
I still can't select 99->4->2 but now odexing options are available!
Nice tut, I'm a big fan of reodexing since I first tried it, :thumbup:
I'm kind of new to this things and have to questions;
1.- First specifically to UltimaROM, does it have to be odex ?
2.- When it says I should do it after I have the Rom as I want it, it does not interfere with installing apps right?
Tuckycv said:
I'm kind of new to this things and have to questions;
1.- First specifically to UltimaROM, does it have to be odex ?
2.- When it says I should do it after I have the Rom as I want it, it does not interfere with installing apps right?
Click to expand...
Click to collapse
You do not have to odex if you don't want to, but I personally recommend it.
And installing apps from the Play Store will be 100% fine on an odex'd ROM.
However, ANY mod that changes a system app is likely to interfer. In this case you can deodex, then flash the mod, then reodex (optional).
This is mainly for those that flash, then don't mod. However modding is not impossible and it's worth the extra 10 minutes to do this.
I have installed everything according to the tutorial. But in the cmd window..its written Your Kernel does not support this feature [adb remount]
I am using the perseus Kernel. I insecured the kernel using "adb insecure" from chainfire. I think it was not needed but i did it when nothing was working. It still does not work
any help?
P.S. debugging is enabled
EDIT : SOLVED -------> USING THIS http://forum.xda-developers.com/showpost.php?p=39378436&postcount=164
Dang it, I feel like an idiot. I cannot figure out how to setup the variable path from the instructions. Do I need to make a new one in both system and user, or do I edit one that is already there?
What do I name them?
I tried to reodex UltimaRom v11 and had to modify the script too (set remountavlible=yes) in order to see option 22 so you might want to write that in the OP Kryten, it could prevent the question from being asked over and over
Maybe it is specific to some roms ?
I do everything as I should,but after I press any button after it says "Press any key to continue" at the screen with the snake head (Or whatever that is),it will give me an empty command prompt.No menu,no nothing.Any ideas guys?It's really starting to get on my nerves...
How to know if my phone was odexed?
After running script it says:
The phone rebooted, but there is no *odex files in System/App. Strange..
Hey there! Just want to confirm something.. It is said in the OP that we have to "deodex" to flash a new mod or patch. Is a ROM upgrade considered a patch? Do I have to deodex first to flash a new ROM version? Or it is safe to just flash the new ROM version while I'm still odexed and just re-odex after upgrading the ROM?
Thanks!
I have an odex folder on my internal SD card. Folder size is almost 500mb. Can I delete this folder.
Sent from my GT-I9300 using Tapatalk 2
I can't seem to make it work.. It is always saying it can't find the Android SDK (look at the attached photo), but I've already installed everything. Java and Android SDK. What could be the problem? Both Java and SDK are installed in C:/
flipward said:
I can't seem to make it work.. It is always saying it can't find the Android SDK (look at the attached photo), but I've already installed everything. Java and Android SDK. What could be the problem? Both Java and SDK are installed in C:/
Click to expand...
Click to collapse
http://forum.xda-developers.com/showpost.php?p=39378436&postcount=164
Custom init.d and Performance Tweaks for Tab4 V1
YOU MUST HAVE ROOT In order to use these tweaks.
Code:
[B]Changelog[/B]
[B]What's included[/B]
Added notations and prompts during install
Added file checks to see if mods are needed
Added Ability to enable custom bootanimation
Google Bootanimation by default (if custom bootani is chosen)
Added Custom bloatware removel (user customizable)
Added code to remove Samsung Knox (User customizable, knox components vary based on device)
Init.d script support
Improved memory management (Lowmemory killer tweaks)
Improved Battery Management
Improved touch screen responsiveness
Better Network stability
Enhanced image resolution (jpg, video and bmp)
More to come as I test and weed out the non-productive tweaks
[B]Step 1: Install Script Manager from Google PlayStore[/B]
Click on link below to go to Playstore and install "Script Manager"
[B]Step 2: Configure Script Manager[/B]
Open "Script Manager" and click on menu
Choose "Advanced" -- "Configuration"
Choose "SM File Browser" -- "Browser Zoom"
Change setting to 30
Press back button one time
Choose "Console" (at the very bottom of the list)
Choose "Font Size"
change to "18 => 54 Columns"
Close out of "Script Manager" for now
[B]Step 3: Download Tab4 Customizations[/B]
Download from Downloads tab or
Go to the download link and save the zip file to your PC
Extract the zip file to your PC (Maintain folder structure)
You should have a folder named s5mods (located wherever you extracted it to)
Copy this folder to the root of your [B]Internal SDcard[/B]
[B]Step 4: Run the customization script from Script Manager[/B]
Now go back and open "Script Manager"
Browse to the "s5mods" folder you copied in step 3
Select the s5mods_setup.sh script file
In the row of buttons accross the top press the "SU" button (It should turn green)
Click on the "Run" button (Located just above the SU button)
Follow the prompts and reboot your device [B]Twice[/B]
Verify that /data/local/init.log and /data/local/S5_Memory_Recovery.log exist
Instructions for customizing the bloatware removal:
Located in "/s5mods/bloat" is a text file named nobloat.txt, Open and review this file it contains a few default apks to remove.
To add your customizations simply add the file name of the apk (Case Sensitive), if the apk also has a coresponding odex
file you will need to add the path to that as well following all case sensitive patterns. Be careful when adding apks to this list if you
add an apk that is required by the system to boot you will be required to flash the stock rom and start over from scratch.
Click to expand...
Click to collapse
Thanks
@oldbbman - for his absolute willingness to test anything and everything under the sun.
and for not running away screaming when he had to reflash his Tab3 multiple times.
#~NOTICE~#Team Blackout is not responsible if you blow up your house, your dog eats your homework, the zombie apacolypse, your wife/husband divorcing you or if your device turns into an unrecognizable smoldering pile of plastic. by reading this you agree to take all responsibility for any damage you do to the universe, your device, your marriage or your failing grades in school or college.
Required Files and Downloads
Script Manager on Google PlayStore
Tab4 Customizations (currently downloads are disabled)
XDA:DevDB Information
Performance Tweaks for Tab4 Version 1, Tool/Utility for the Samsung Galaxy Tab 4
Contributors
cstayton
Version Information
Status: Testing
Current Stable Version: V1
Stable Release Date: 2014-06-10
Created 2014-06-10
Last Updated 2014-06-13
Bug Reports
Please follow the instructions below to report bugs.
1 - Go HERE To report bugs and request support.
2 - Include all relevant information in the Bug Tracker.
a) Device Model (Tab4 7.0/8.0/10.1)
b) SU version (SuperSU 1.94/1.99 etc)
c) Check busybox version (1.22.1 installed by script)
d) Include a logcat (run logcat during script to generate all errors) CatLog from the Playstore is a great tool.
e) Android Version (I believe the tab4 is kitkat 4.4.x)
Reserved
Hey thanks! Already finished! I was really busy, but before that I actually exchanged my 7 inch for an 8 inch. Does this tweak also work for 8 inch? I am guessing it is because you just said Tab 4 without screen size. Also, you are aware that tab 4 7.0 has Marvell quad core chip while 8.0.and 10.1 has snapdragon 400, right? Just making sure cause you don't have this tablet and maybe you weren't sure.
I'm still deciding if I should keep my ipad and return this tab 4 8.0 or keep this tab 4 and sell my ipad. Ahh can't decide! There are both goods and bads..
Anyway, I'll try this tweak soon. I hope other users will also find this tweak helpful.
Thanks!
---------- Post added at 01:36 PM ---------- Previous post was at 12:43 PM ----------
sw6lee said:
Hey thanks! Already finished! I was really busy, but before that I actually exchanged my 7 inch for an 8 inch. Does this tweak also work for 8 inch? I am guessing it is because you just said Tab 4 without screen size. Also, you are aware that tab 4 7.0 has Marvell quad core chip while 8.0.and 10.1 has snapdragon 400, right? Just making sure cause you don't have this tablet and maybe you weren't sure.
I'm still deciding if I should keep my ipad and return this tab 4 8.0 or keep this tab 4 and sell my ipad. Ahh can't decide! There are both goods and bads..
Anyway, I'll try this tweak soon. I hope other users will also find this tweak helpful.
Thanks!
Click to expand...
Click to collapse
Okie sorry before I test, just making sure, this works on tab 4 8.0 too and all other sizes? I need your confirmation
Thanks!
Im wondering about this as well, as the download states for 7.0
Sent from my SM-T330NU
sw6lee said:
Hey thanks! Already finished! I was really busy, but before that I actually exchanged my 7 inch for an 8 inch. Does this tweak also work for 8 inch? I am guessing it is because you just said Tab 4 without screen size. Also, you are aware that tab 4 7.0 has Marvell quad core chip while 8.0.and 10.1 has snapdragon 400, right? Just making sure cause you don't have this tablet and maybe you weren't sure.
I'm still deciding if I should keep my ipad and return this tab 4 8.0 or keep this tab 4 and sell my ipad. Ahh can't decide! There are both goods and bads..
Anyway, I'll try this tweak soon. I hope other users will also find this tweak helpful.
Thanks!
---------- Post added at 01:36 PM ---------- Previous post was at 12:43 PM ----------
Okie sorry before I test, just making sure, this works on tab 4 8.0 too and all other sizes? I need your confirmation
Thanks!
Click to expand...
Click to collapse
tweaks SHOULD be independent of screen size and processor, that being said the performance gain most likely will behave differently between the three devices
smknutson said:
Im wondering about this as well, as the download states for 7.0
Sent from my SM-T330NU
Click to expand...
Click to collapse
should work for all models of the tab 4 (Download says V1) not sure where your seeing for 7.0 at :laugh::laugh::laugh:
cstayton said:
should work for all models of the tab 4 (Download says V1) not sure where your seeing for 7.0 at :laugh::laugh::laugh:
Click to expand...
Click to collapse
{
"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"
}
Sent from my HTC One_M8
smknutson said:
Sent from my HTC One_M8
Click to expand...
Click to collapse
yep, ok i dont have a folder specific to the tab or tab4 sorry, it should work for the 8.0 and 10.1 as well.
So ran it on my 8.0, it completed and I'm able to boot successfully, however it was unable to set bootanim, it was unable to remove default bloat ( stated it was read-only), and init.log and the memory recovery.log do not exist in data/local/
Sent from my HTC One_M8
smknutson said:
So ran it on my 8.0, it completed and I'm able to boot successfully, however it was unable to set bootanim, it was unable to remove default bloat ( stated it was read-only), and init.log and the memory recovery.log do not exist in data/local/
Sent from my HTC One_M8
Click to expand...
Click to collapse
You are rooted, correct?
did it install all of the prerequisite components? busybox etc?
you ran this through script manager correct?
chose the SU options in script manager?
did you go in and modify the nobloat.txt (per the instructions)
Remember I don't have this device I am flying blind abd need some detailed information in order to help.
I am rooted yes. I also had busybox preinstalled. I did run through script manager as linked, with su chosen.
I didn't touch the nobloat.txt at all, rebooted twice immediately and checked for the two files that didn't appear
The only problem I initially encountered was i am unable access menu of script manager, so i had skipped that step about the text size
Sent from my HTC One_M8
Teasr for next version
The next version will be completely rewritten will run through adb commands with your device connected to your PC (Sorry windows version only)
smknutson said:
I am rooted yes. I also had busybox preinstalled. I did run through script manager as linked, with su chosen.
I didn't touch the nobloat.txt at all, rebooted twice immediately and checked for the two files that didn't appear
The only problem I initially encountered was i am unable access menu of script manager, so i had skipped that step about the text size
Sent from my HTC One_M8
Click to expand...
Click to collapse
you will need to modify the nobloat.txt file for your device (remember I don't have the tab 4 so the txt file is based on my tab3)
you really need to change the menu size so you can see the prompts and answer them appropriately it should work the only reason i can think of that it didnt is that kitkat behaves differently but it shouldnt as far as running scripts go. you mentioned read only which leads me to believe that the system folder did not get write access correctly.
ill look thru the script and see if i can find anything that needs changing
The initial set of instructions :
The second set:
My data/local folder:
Sent from my HTC One_M8
smknutson said:
The initial set of instructions :
The second set:
My data/local folder:
Sent from my HTC One_M8
Click to expand...
Click to collapse
goind to do some reconfiguring of the script, im taking the download offline for now thanks
KoolKit V1.0.0
Almost done, still need to work out the init.d script support should have a test version ready in a few days.
Any news?
Any updates on this?
I'm eager to see if the "better network stability" helps with the Wi-Fi issues on the tab 4
Sent from my SM-T230NU using XDA Free mobile app
Sorry, I haven't been active here for a while, I'll try to get v2 up some time this week.
Sent from my SAMSUNG-SM-G900A using XDA Free mobile app