[SCRIPT] Slaid480's LagFree V3 script -fixed- -optimized- - Galaxy Ace S5830 General

Update 03-04-12:
This project moved to:
http://forum.xda-developers.com/showthread.php?t=1529746
---
Update 02-18-12:
Just to clarify: DONT FLASH THIS ZIP-FILE !!! It's NOT a flashable zip.
On sidenote, maybe the bootloop problem is caused by traing to flash this zip ? Maybe the .txt file in there confuses android ? I don't know but DONT flash this! Use manual installation.
---
Would any OP be willing to move this thread to the Ace Development Subforum ? Thanks a lot !
---
Update 02-09-12 (number 2):
The touchscreen sensitivity tweak was removed from the script as suggested by the posters here. It did not work anyway as the path to the files was non-existant.
Attached the updated script with short installation instructions.
---
Update 02-09-12:
I went through the LagFreeV3 script and cleaned it up / optimized it so there are no more useless repetitions of the same commands. Succesful startup of the script was tested using DDMS.
Attached the cleaned up script with short installation instructions.
---
All,
longtime lurker - first time poster here. Since i'm not allowed to post into the Ace Development subforum i have to post right here.
Looks like there are some bugs in Slaid480's latest LagFreeV3 script. On my ace running DDM during boot i can see it erroring out right here:
Code:
02-08 14:26:50.239: I/run-parts(100): /system/etc/init.d/S95LagfreeV3: 351: Syntax error: word unexpected
02-08 14:26:50.239: I/run-parts(100): run-parts: /system/etc/init.d/S95LagfreeV3 exited with code 2
so it's not even running to its EOF due to this error. Looking at he script the lines around line 351 look like this:
Code:
echo ${READ_AHEAD_KB} > /sys/block/mmcblk1/queue/read_ahead_kb
for i in \ `find /data -iname "*.db"` do \ sqlite3
$i 'VACUUM;'
done
echo "6144 87380 524288" > /proc/sys/net/ipv4/tcp_wmem
with " $i 'VACUUM;' " being on line 351. So: i'm not a BASH pro but maybe someone knows what is the syntax error in here and a way to fix it ?
Also by looking at the script there seem to be a lot of lines / functions doing the same things over and over, like setting minfree or readahead_kb - maybe in a community effort it would be possible to consolidate that script into something smaller and more streamlined ?
Just a thought

Yes I think it might have to do with that word.....try deleting the line .
Herpderp Defy.

maybe slaid can give this a clue?

g_BonE said:
...
Also by looking at the script there seem to be a lot of lines / functions doing the same things over and over, like setting minfree or readahead_kb - maybe in a community effort it would be possible to consolidate that script into something smaller and more streamlined ?
Click to expand...
Click to collapse
slaid did exactly that to
One Script To Roll Them ALL
Click to expand...
Click to collapse
I guess while cutting, pasting and reformatting all of known scripts to streamline them, two more newlines were accidentally added here?
Try to edit the above code snippet to
Code:
for i in \ `find /data -iname "*.db"` do \ sqlite[B][COLOR=Red]3[/COLOR][/B] [COLOR=Blue][B]$[/B][/COLOR]i 'VACUUM;'
and see, if it runs till the end. ...
^^

i will give this a try and come back here to post about the results. meanwhile i was also thinking about shuffling through all the parts in the script that essentially do the same thing, dont know if i'd be allowed to clean this up and repost the cleaned version here ?

I'd PM Slaid and ask him. The android spirit is one of openness, as is the spirit of almost all the work on modifying our favourite android ROMs. LagfreeV3 doesn't specify a software licence so it is not clear what slaid's intentions are in terms of modifications to his code. Ideally code should be licenced (and forkable via github) to make these things clearer. I think the broken bits are supposed to be formatted as in the following (the equivalent function in engengis, written more robustly):
Code:
for i in \
`busybox find /data -iname "*.db"`;
do \
/system/xbin/sqlite3 $i 'VACUUM;';
/system/xbin/sqlite3 $i 'REINDEX;';
done;
There are other sorts of errors, like the broken hashbang on line 387 (which is just a stock turboboost copy'n'pasted in) -- and yes, loads of places in which lagfreeV3 does something which is then done again by the inline turboboost. As some ROMs include turboboost and lagfree, when they upgrade to V3, things will often be repeated 3 times!!!
Looking at the code a bit is another good reason to try engengis, which combines many tweaks in a flexible system without all the duplication.

iandol said:
...
LagfreeV3 doesn't specify a software licence so it is not clear what slaid's intentions are in terms of modifications to his code.
...
Click to expand...
Click to collapse
There ain't any, because he also only copied it from several sources. You can find there names and "Copyrights" verbatim in there.
iandol said:
...
Looking at the code a bit is another good reason to try engengis, which combines many tweaks in a flexible system without all the duplication.
Click to expand...
Click to collapse
Good find! I'll take a closer look. Like it already, that the options are well explained and documented.
^^

iandol said:
Looking at the code a bit is another good reason to try engengis, which combines many tweaks in a flexible system without all the duplication.
Click to expand...
Click to collapse
Maybe a little out of topic, but what if we want to switch to engengis from lagfix? I have both lagfix and turboboost installed on my stock rom and i'd love to switch to this new tweak, but how? Is removing S95lagfix in /system/etc/init.d good enough?

As i mention in his thread, if u looks closedly u will find more lines actually not working...its maybe taken from other device tweaks
regards,
•ƒγяύs ργяσ™•

Delete S95Lagfree to get rid of lagfreeV3.
87calibration, S95zipalign S98CFSK and S98system_tweak remove turboboost.
Engengis contains the cache dropping (S98CFSK), zipaligning (S95zipalign) and deep tweaks (S98system_tweak) of turboboost, and I delete 87calibration as all it does is delete batterystats the first time it is run which I'd rather not do (and engengis can do this via the commandline control when I choose to).
Engengis also contains the same sqlite3 version as turboboost to optimise the sqlite databases, and performs both a a vacuum and a reindex, which is more thorough optimisation than the lagfree/turboboost combination seems to do...

Alright, after some ~6 hours of fiddling with the lagfree V3 script i managed to get it semi-cleaned up. I'll post the zip-file in my first post of this thread.
Regarding Engengis: I'll have a look at this soon and give it a shot

Touchscreen tweak will not working coz there are no path name like that exist...
regards,
•ƒγяύs ργяσ™•

will try it later on! So still thiscompatible with turboboost? Delete s78touchscreen part from turboboost, right?
Thanks...6 hours is a lot of work dude!

thanks g_BonE -- you still have the touchscreen tweaks in at line250
Reading through the code this is much better than lagfreeV3 original, and should combine better with turboboost...

Thanks for the nudge to the non-working touchscreen tweak. I removed the tweak alltogether and reuploaded the fixed script. See first post
I'll have a go at the turboboost v8.5 script: maybe i can integrate all / most of it into the cleaned LFv3 script. Maybe also the "journaling disabler" script can be integrated as it is just a matter of mount options.

g_BonE said:
Thanks for the nudge to the non-working touchscreen tweak. I removed the tweak alltogether and reuploaded the fixed script. See first post
I'll have a go at the turboboost v8.5 script: maybe i can integrate all / most of it into the cleaned LFv3 script. Maybe also the "journaling disabler" script can be integrated as it is just a matter of mount options.
Click to expand...
Click to collapse
I am really not an expert, not even close, but doing a script with so many lines will probably not have the desired result?
As member pyronia suggested it's better to do small scripts for a specific task than having one for all. Maybe the one for all script would suit devices with more power to process the script?
Anyway, already thanked, glad someone cleaned that script, watching you closely for the updates!

I was used this fix script. But when I check in terminal manager 'a2sd check' the end value min RAM free change to 14xxx, when used lagfixv3 the value is 23xxx.
So actually it's works or not? Thanks
Sent from my GT-S5830 using Tapatalk

Hello g_BonE!
I'm having an issue with your last version (I got stucked in Android Screen). Is there anything I did wrong? I just entered in /system/init.d/deleted s95lagfix and simply copied you s99 with all permissions (with root explorer) and then I got stucked.
What can I do?
Thank you very much for your script!

I knew it there was something fishy with these scripts.LOL Thank you g_BonE for your effort! I'll be hitting the thanks button buddy. Oh and another thing, should I delete V8.5 TurboBoost too?
---------- Post added at 08:38 AM ---------- Previous post was at 08:26 AM ----------
For the people who don't read the instructions:
You should delete S95Lagfree first, located at etc/init.d. Then paste S99_LFv3gB on the same folder (etc/init.d), then set permissions to rwe-rwe-rwe.
I used to think that it should be at rw-r-r sir g_BonE.

itasoulas said:
I am really not an expert, not even close, but doing a script with so many lines will probably not have the desired result?
As member pyronia suggested it's better to do small scripts for a specific task than having one for all. Maybe the one for all script would suit devices with more power to process the script?
Anyway, already thanked, glad someone cleaned that script, watching you closely for the updates!
Click to expand...
Click to collapse
Yeah bro, i test so many script but not all working well coz of too much lines..the devices itself maybe could not read the script properly when too much lines in it, thats why i make a single line script that actually u can see the different...
regards,
•ƒγяύs ργяσ™•

Related

android crontab

Hello everyone,
I'm searching for a task scheduler, something like cron in linux. The background is I want my phone to execute a "Wake on Lan" Program every morning and my computer will execute some tasks before I'm awake. I already found something like a task scheduler script in this forum but this didn't help.
Perhaps I'm simply to stupid to work with it, I'm not really familiar with the architecture of android but I know how to do this in linux.
So does anyone have an idea how to realize this on android?
look the application called "locale"
this is a event trigger applications with a lot of "plug-ins"
WOL plugin exist and time based (even location based) rule also possible
I use "timeriffic" to disable the ringer at night. It has lots of options, so check it out.
One more voice for timeriffic
ASE, not yet but soon supposedly
Android Scripting environment is supposed to be adding cron type scheduling for scripts relatively soon. As long as you're down with scripting that could work.
Seonetic said:
I'm searching for a task scheduler, something like cron in linux. The background is I want my phone to execute a "Wake on Lan" Program every morning and my computer will execute some tasks before I'm awake.
Click to expand...
Click to collapse
Realise this is an old thread but wondering if you made any progress with this, seonetic? Want to schedule a script to run every X seconds and so far all I've seen are apps that wrap a scheduler round the phone's functions - e.g. wifi on/off, silence on/off
Failing this, I may have to grab and build cron...
Doesn't busybox implement cron?
Gene Poole said:
Doesn't busybox implement cron?
Click to expand...
Click to collapse
yes, it appears to:
http://www.busybox.net/downloads/BusyBox.html
Good shout, thanks! Will have a play around and report back.
I've been thinking I'd like cron, too. However, I was worried about battery impact. Isn't the typical cron implementation dependent on a running CPU?
Gene Poole said:
Doesn't busybox implement cron?
Click to expand...
Click to collapse
I checked on my N1 and it doesn't have either of the cron applets. I'll grab the source and have a look at including it.
You should be able to just create symlinks of them to busybox. Here's what's on mine:
Code:
# which crond
/system/xbin/crond
# ls -l /system/xbin/crond
lrwxrwxrwx root root 2010-08-11 09:07 crond -> busybox
# which crontab
/system/xbin/crontab
# ls -l /system/xbin/crontab
lrwxrwxrwx root root 2010-08-11 09:07 crontab -> busybox
# crond --help
BusyBox v1.15.2 (2009-10-08 09:47:18 BST) multi-call binary
Usage: crond -fbS -l N -d N -L LOGFILE -c DIR
-f Foreground
-b Background (default)
-S Log to syslog (default)
-l Set log level. 0 is the most verbose, default 8
-d Set log level, log to stderr
-L Log to file
-c Working dir
#
Gene Poole said:
You should be able to just create symlinks of them to busybox.
Click to expand...
Click to collapse
if I do "busybox --help" it doesn't include either of them. "which crontab" shows nothing either.
Tried installing Stericson's from market but it "hangs" after completing the download.
So got the sourcecode down for latest version and tried compiling with CROSS_COMPILE to same toolchain as with CM6 ROM - fail. So downloading another toolchain now.
Will edit this post if it successfully compiles.
I'm pretty sure mine is the one that comes with the rom kitchen.
Use Tasker (google search). Can be programmed to do almost any automated task/event you can dream about.
I'm also looking for something like this..
I have a shell script that i want to exec hourly..
I've tried tasker but they can't launch script yet..
EDIT: I found an perfect app for me
http://forum.xda-developers.com/showthread.php?t=558822&highlight=phoneprioritizer
Regards.
I got crontab working using this:
http://android.modaco.com/content-page/299984/linux-tools-coming-to-mcr/page/40/
+1 on Tasker
Moe5508 said:
Use Tasker (google search). Can be programmed to do almost any automated task/event you can dream about.
Click to expand...
Click to collapse
Thanks for this tip - just want to say Tasker is amazing: you can do almost anything with it.
I've been struggling to find a cron-like tool for a simple airplane mode on/off task for my Eris -- one that actually works. None (timeriffic, auto airplane mode and bunch of others) seem to work when the phone is asleep. Tasker looks like it does work when asleep.
My test case, in the event others are curious, is to set the timer to turn airplane mode on and then call my phone. What I notice with most "cron" style apps is that the phone will ring and THEN the airplane mode will come on (cutting off the call). This indicates that the timer doesn't fire until the phone wakes up. So you *think* your phone is in airplane mode at the time you set it, but it really only goes on when you turn on the phone to check it! Anyway, Tasker passed this test for me, so thanks for the tip.
I miss tasker!
Moe5508 said:
Use Tasker (google search). Can be programmed to do almost any automated task/event you can dream about.
Click to expand...
Click to collapse
It was GREAT under froyo
sadly tasker refuses to install into CyanogenMod 7 (cm4dx)
for the command addicts:
http://howto.ccroms.net/howto/cron
CVPCS Android Wiki
Description:
Vixie-cron for android.
Status:
WIP
Last Update:
2010-04-28
Click to expand...
Click to collapse
This will be the home of both Sniffle's basic android compiling guide as well as CVPCS's general tips for customizing the basic build to make it a more complete, flashable rom.
Click to expand...
Click to collapse
there is
/data/[forget]/firstboot.sh
that is likely wiped by cm7, and then there is autostart root... but those aren't crontabby enough
I want to delete a certain few files from several places in /data and check only while application XYZ is running every one or two minutes
...
for the programmatically inclined this seems promising:
http://hub.buzzbox.com/android-sdk/
The BuzzBox SDK enables you to easily add a scheduler to your App. With few lines of code you can add a background task and app-side notifications. Besides, BuzzBox SDK also include free realtime analytics, so you can monitor in real time how many user are installing and using your App. Notifications and Analytics are tighly integrated, but you can use only want you need.
Click to expand...
Click to collapse
Questions or Problems Should Not Be Posted in the Development Forum
Please Post in the Correct Forums
Moving to Q&A
Seonetic said:
Hello everyone,
I'm searching for a task scheduler, something like cron in linux. The background is I want my phone to execute a "Wake on Lan" Program every morning and my computer will execute some tasks before I'm awake. I already found something like a task scheduler script in this forum but this didn't help.
Perhaps I'm simply to stupid to work with it, I'm not really familiar with the architecture of android but I know how to do this in linux.
So does anyone have an idea how to realize this on android?
Click to expand...
Click to collapse
I have a working crontab for android. I will post tutorial soon.

[Tool][TLC]UpdatezipCreator

The Team Lambent Corrosion member presents:
UpdatezipCreator​
Some of you remember my old app UpdateThemeCreator. I've found some time to build a new app that can create updates (as zip archive flashable via recovery).
Changes/Improvements since the last version of ThemeUpdateCreator:
-new interface
-adding files to other folders than system/framework and system/app
-new algorythms
-editing update-script (saving, loading, making default etc)
-saving settings
I hope that app will work without any bugs
Changelog:
1.0.0.1
-adding update-binary to edify scripts (possibility of choosing own update-binary)
-added default scripts for edify scripts
-settings not stored in my documents
1.0.0.2
-Adding folders
-Drag&Drop
-Signing single zip archive
1.0.0.3
-Fixed bug with the wrong name of edify scripts
1.0.0.4
-Not signed archive is kept in temporary directory
-Functions library (inserting functions)
1.0.0.5
-Problem with update_ont_signed path solved (I hope so)
1.0.0.6
-Log mode
1.0.0.7
-Signing bug fixed
1.0.0.8
-Handling linux newline character in scripts
DOWNLOAD:
Rar archive - about 500 kb
Source code - about 1,3 MB - Visual Studio C#
Windows installer (source included) - about 830 kb
I'll use it tomorow for my theme
Sent from my GT-I5800 using CM 6.2 Cyanbread themed
Looks cool
Maybe you can add an option to switch between amend (all cwm versions before 3.x - what we currently use ) and edify (3.x + - like in cm7 and apollo's dual/tri boot kernel)
Then it'ld be universal
Thank you.
cdesai said:
Looks cool
Maybe you can add an option to switch between amend (all cwm versions before 3.x - what we currently use ) and edify (3.x + - like in cm7 and apollo's dual/tri boot kernel)
Then it'ld be universal
Click to expand...
Click to collapse
Yeah, it's already done
Waiting for a permission for use update-binary.
I haven't made phone databes for mounting points, I think that everyone who will be using edify scripts will change it manually in script-editor.
benzyniarz1 said:
Yeah, it's already done
Waiting for a permission for use update-binary.
I haven't made phone databes for mounting points, I think that everyone who will be using edify scripts will change it manually in script-editor.
Click to expand...
Click to collapse
I replied to your email... (same link as the email contained)
Also if you'd like to utilize the database xml from my amend2edify project, feel free to (someone is already using it in a market app).
Your tool looks nice and simple, I've considered doing something similar in the past, never got around to doing it, and now looks like I don't have to. Good work.
Also, maybe this could be moved to a more general section, as it's not restricted to Galaxy 3 devices. (Suggestion, you could add in zip signing to better support more devices.)
=]
nubecoder said:
I replied to your email... (same link as the email contained)
Also if you'd like to utilize the database xml from my amend2edify project, feel free to (someone is already using it in a market app).
Your tool looks nice and simple, I've considered doing something similar in the past, never got around to doing it, and now looks like I don't have to. Good work.
Also, maybe this could be moved to a more general section, as it's not restricted to Galaxy 3 devices. (Suggestion, you could add in zip signing to better support more devices.)
=]
Click to expand...
Click to collapse
Thanks a lot!
Zip signing is available and it's executed automatically (unless JRE is not available)
I'll post the thread in General Android Development and try to impelement your PhoneDatabase
So, app updated. Changes:
-adding update-binary to edify scripts (possibility of choosing own update-binary)
-added default scripts for edify scripts
-settings not stored in my documents
Thanks so much
Ability to sign already made update.zips(with some other tool or manually) would be nice!
EDIT:
Just tried it with folders and it wont work
aka
i can manually add all files and add path(bt tat'ld be a pain)
So how about selecting whole folders?
Drag and drop would be a nice option!
Version 1.0.0.2, changelog:
-Adding folders
-Drag&Drop
-Signing single zip archive
benzyniarz1 said:
Version 1.0.0.2, changelog:
-Adding folders
-Drag&Drop
-Signing single zip archive
Click to expand...
Click to collapse
Very nice (and fast) improvements.
I'll be sure to test this on Ubuntu under Mono sometime and lat ya know how it goes.
=]
Nice app ......nice share
nubecoder said:
Very nice (and fast) improvements.
I'll be sure to test this on Ubuntu under Mono sometime and lat ya know how it goes.
=]
Click to expand...
Click to collapse
It'd be nice, but I think that there are some changes in code neccessary.. the main: replacing executting "cmd.exe" to "adb", in ProccesStartInfo variables, so also parameteres are need to be changed (it's necessay to remove "adb" from parameters). I will probably install Linux in a few weeks on the virtual machine, so I'll have the environment to testing the code.
In the meantime, new version - fixed the wrong name of update-script for edify (changed to "updater-script" for edify, and left "update-script" for amend)
benzyniarz1 said:
In the meantime, new version - fixed the wrong name of update-script for edify (changed to "updater-script" for edify, and left "update-script" for amend)
Click to expand...
Click to collapse
aah, good update
benzyniarz1 said:
It'd be nice, but I think that there are some changes in code neccessary.. the main: replacing executting "cmd.exe" to "adb", in ProccesStartInfo variables, so also parameteres are need to be changed (it's necessay to remove "adb" from parameters). I will probably install Linux in a few weeks on the virtual machine, so I'll have the environment to testing the code.
Click to expand...
Click to collapse
What are you using adb for this app? It's just flash-able zip creation correct?
I can't think of a reason you would need to use adb for this (or how adb would be useful for this other than pushing to the phone's SD card).
Just curious, I haven't bothered to look at the sources.
=]
nubecoder said:
What are you using adb for this app? It's just flash-able zip creation correct?
I can't think of a reason you would need to use adb for this (or how adb would be useful for this other than pushing to the phone's SD card).
Just curious, I haven't bothered to look at the sources.
=]
Click to expand...
Click to collapse
ADB is used only for pushing created file to SD card, nothing more.
thanx a lot..... it helped me very much and saved me from full rom flash.....
Updated to new version. Changelong in the 1st post. Enjoy
awesome!thnx a lot!!! its really easy
edit:not tha easy as i thought can someone tell me the script i need to use to copy and maybe replace system apps?
edit1:figured it out

[TUT] Building your own Xperia Play Kernel

Since We have such a fantastic tutorial on how to build your own CM9, I thought I'd add one for building a kernel.
Edit: updated kernel sources for jellybean
First off:
You NEED Linux. DO NOT TRY THIS ON WINDOWS, IT WON'T WORK.
Sources: https://github.com/CyanogenMod/semc-kernel-msm7x30
https://github.com/DarkforestGroup/sony-kernel-msm7x30-ics
https://github.com/DooMLoRD/Xperia-2011-Kernel-2.6.32.9
http://forum.xda-developers.com/showthread.php?t=1556971
http://forum.xda-developers.com/showthread.php?t=1477845
http://developer.sonymobile.com/wp/2011/05/06/how-to-build-a-linux-kernel/
DooMLoRD, KeiranFTW & Atarii.
Prepping:
1) Grab the toolchain I have here (Android NDK R5b), it's the only one I've been able to use that doesn't throw errors when compiling (stock based kernels): http://db.tt/hE3TmJJi Doom has provided a better toolchain https://github.com/DooMLoRD/android_prebuilt_toolchains[/QUOTE] you can get it using
Code:
git clone https://github.com/DooMLoRD/android_prebuilt_toolchains.git -b master <optional_folder_name_you_choose>
(thanks Doom!!)
Building a kernel from fxp sources
1) Terminal for any commands, file explorer for finding stuff & gedit for changes.
2) open up terminal, mkdir <name_you_want> (no spaces)
3) cd <name_you_want>
4) git clone https://github.com/freexperia/semc-kernel-msm-7x30-ics -b ics <optional_name_you_want_the_folder_to_be> (no spaces)
5) cd <optional_name_you_want_the_folder_to_be>/semc-kernel-msm-7x30-ics (if you didn't rename it)
6) (If this is after the first time, and lets say a week has past do this step, otherwise ignore) git pull (automatically updates any files)
7) First important step: Find the defconfig that fxp uses. They are located in arch/arm/config. fxp_zeus_defconfig is the name of theirs
8) copy fxp_zeus_defconfig & rename to <what_you_want_it_named>_zeus_defconfig (for example, mine will be pax_zeus_defconfig)
9) open up your defconfig & put it into another workspace, we'll mess with it later
10) Hop onto DooMLoRD's github, his we'll use for references.
11) Adding governors: https://github.com/DooMLoRD/Xperia-...mmit/bec19001ded34077d7776639834a1229b69e5f87
A1) Well, as I look into this, fxp has a ton of governors not used... (located in <name_of_kernel_folder>/drivers/cpufreq/
A2) Check the Kconfig file to see that they're all in there (they must just not be in the defconfig file)
A3) Edit the deconfig file you created in lines 467-474 removing "#" from any you want to add (and add in any you might've added by adding the line CONFIG_CPU_FREQ_GOV_<NAME_OF_GOVERNOR>=y
A4) If you want to add more governors, check out the Commits from DooMLoRD's build to add in when needed (anytime you see a "+" that means line added, "-" means line deleted)
12) Adding IO Schedulers: https://github.com/DooMLoRD/Xperia-...mmit/0ae625f7561c559d4933284f489733bf5eb66e96
B1) Navigate to <name_of_kernel>/block folder
B2) Once again, FXP has a ton of IO Schedulers added, but not used in Play kernel:
B3) Open up Kconfig.ioshced to make sure they're in there (and add any you want)
B4) Edit the defconfig file you created (lines 121-137) & fix it to your liking (same as above)
B5) If you want to add more, see Doom's commits to add 'em
13) Turning off ALS
C1) Navigate to <name_of_kernel>/arch/arm/mach-msm
C2) Open up board-semc_zeus.c
C3) Search for .als_connected (it on line 1349)
C4) Change the variable from 1 to 0
14) Overclocking
D1) open up arch/arm/mach-msm/acpuclock-7x30.c
D2) Lines 96 - 144 contain the PLL2 table, which is used to set clock speeds, note FXP can go all the way up to 2ghz, they just stop it short.
Continued in post 2 because all of this in one post 20% more awesome than XDA can handle
Pax
Cont'd from post 1
15) Building the Kernel
E1) Save your defconfig file, you'll need it now.
E2) naviage to <name_of_kernel> folder (in terminal)
E3) Type in "ARCH=arm CROSS_COMPILE=<path_to_cross_compiler_i'll_use_min e_for_example>/home/paxchristos/Android_Source/doom_ndk/arm-eabi-4.4.3//bin/arm-eabi- make <what_you_put_here>_zeus_defconfig
E4) Type in "ARCH=arm CROSS_COMPILE=<path_to_cross_compiler_from_above>/arm-eabi- make
E5) Sit back and relax (assuming it doesn't throw any errors, if it does, post here & I'll try to help you through them)
16) Getting the ramdisk
F1) Download a working copy of FXP's kernel (either through my zips or fxp zips)
F2) Goto here: http://forum.xda-developers.com/showthread.php?t=1477845, download the xperiaboottools.zip that's attached.
F3) Now what I did (you don't have to) is chmod 755 mkbootimg & split_bootimg.pl & (sudo) cp to /bin for easy calling.
F4) Navagiate in terminal to where you downloaded fxp kernel
F5) mkdir <working_folder>
F6) cp <fxp_kernel> <working_folder>
F7) cd <working folder>
F8) split_bootimg.pl <fxp_kernel>
F9) mkdir ramdisk
F10) cd ramdisk
F11) gzip -dc ../<fxp_kernel>.img-ramdisk.gz | cpio -i
F12) Now you have the ramdisk, let's futz with it.
F13) First (easiest step) is to goto default.prop & change ro.secure=1 to ro.secure=0
F14) That's mainly what we want to do with it, if you want to change the boot image, go here: http://forum.xda-developers.com/showthread.php?t=1494076 for how to do it manually, or here: http://forum.xda-developers.com/showthread.php?t=1513146 for the automatic way.
F15) now that we're done with the ramdisk, we'll go back to terminal
F16) find . | cpio -o -H newc | gzip > ../ramdisk.img
F17) cd ../
17) Putting the ramdisk & kernel together
G1) By now (hopefully) the kernel is done compiling. (time for terminal, you should still be in folder you were above)
G2) cp ~/<folder_you_put_the_kernel_source_in>/arch/arm/boot/zImage ./
G3) mkbootimg --base 0x00200000 --kernel zImage --ramdisk ramdisk.img -o <what_you_want_to_name_your_kernel>.img
18) Flashing it for testing.
H1) Keep your copy of FXP's kernel around, just in case any issues happen
H2) fastboot boot <your_kernel>.img
H3) If it boots & works, SUCCESS!! you modified your own custom kernel!
H4) If it doesn't boot (at all, just a vibrate & blank screen for 10-20 seconds) there's a problem with the ramdisk, sometimes it's bad, sometimes is needs filler, overall, it's just a pain in the butt to figure out.
H5) If it boots & bootloops the splash screen, well, that's an issue with the ramdisk again, that possibly, your ramdisk does not match you rom. Recovery, reflash rom & try again.
Courtesy of Atarii reminding me
19) Adding your wifi modules (they get built when you build the kernel) into the ramdisk
I1) Let's pretend that you haven't gotten through step F16, we're gonna add the wifi modules in.
I2) The wifi modules are located in <name_of_kernel_source_folder>/drivers/net/wireless/
I3) Copy bcm4329.ko to ~/ramdisk/working/modules/
I4) Add in the following lines to init.semc.rc
Code:
#load bcm4329 module
insmod /modules/bcm4329.ko
I5) Now your modules will autoload on boot!
Pax
Excellent guide
It may be because I'm both skeptical of us R800x users ever getting a real ICS, and the fact that going back to gingerbread sounds really tempting, but do you know / could you list the differences for compiling a gingerbread kernel for, say, CM7?
Kieran just told me to go to Sony's site. Thanks!
Sent from my R800x using XDA
Now I've read over this but I'd like to know exactly what a new Linux kernal can do for us? Does it allow us to do more stuff with any custom rom we create?
lightningdude said:
It may be because I'm both skeptical of us R800x users ever getting a real ICS, and the fact that going back to gingerbread sounds really tempting, but do you know / could you list the differences for compiling a gingerbread kernel for, say, CM7?
Click to expand...
Click to collapse
Do this in place of #4 (in the guide)
4) git clone https://github.com/freexperia/semc-kernel-msm7x30 -b master <optional_name_you_want_the_folder_to_be>
& You'll get their sources for GB instead of ics
Alternatively, if you wanna do it from SEMC kernel sources,
Download them from: http://developer.sonymobile.com/cws/devworld/technology/opensource un-tar/bzip them & work from kernel/
Phryxus said:
Now I've read over this but I'd like to know exactly what a new Linux kernal can do for us? Does it allow us to do more stuff with any custom rom we create?
Click to expand...
Click to collapse
Here's a better explanation than I can do
bassmadrigal said:
/cut/
The kernel is kinda like the nervous system of the body. It directly interacts with the hardware (which is how it is able to adjust CPU speed) and it is what allows the ROM to function.
The ROM is the rest of the body. Every other aspect of the phone. In fact, most ROMs include custom kernels. Various ROMs give you various features/enhancements/bugfixes. You will probably notice the biggest change in your phone if you load a custom ROM. Most people load the custom kernels to help with battery life as a lot of them allow you to lower the phones minimum processing speed from 245Mhz to 128MHz.
The ROM can change so many different aspects of how the phone works. There is CyanogenMod which is based off of stock Android with a lot of tweaks, bugfixes, and new features added. There is also MIUI, which is similar to the iOS style (not the same, but much closer than stock Android), and then there are a ton others out there.
Click to expand...
Click to collapse
This is an awesome guide, definitely recommend to all, if you're interested in getting into kernel development.
The only thing maybe worth mentioning is where to copy the compiled wifi drivers and modules (governors etc) from, after the kernel has compiled
I'm having a problem at the "Building the Kernel" step. I ran the command, albeit slightly different than you wrote, and got this error:
"make: *** No rule to make target `mjolnir_zeus_defconfig'. Stop."
Do I not have my NDK installed properly, or what?
Edit: Nevermind, was hit by a confusion spell. It's cured, and all is well. At least, for now.
btw, in the future you will want to clone: https://github.com/CyanogenMod/semc-kernel-msm7x30.git
ics branch
But FXP haven't updated kernel in a while, so you could use my CM9 kernel sources if you like: https://github.com/DarkforestGroup/sony-kernel-msm7x30-ics
master branch
Difference is, mine is made from pure Sony PLAY beta sources, while FXP use arc beta sources
I have successfully compiled a kernel for CM7. Thanks, pax, for this tut, and all other developers for their contributions!
Sent from my R800x using XDA
the NDK toolchain isnt good...
i have test them and they throw un-necessary errors...
best use gcc-4.4.3 toolchain from CM repo... it works with almost all device kernels i develop for...
u can also try gcc-4.6.2 toolchain (linaro)...
a working copy of both can be found at my git repo:
https://github.com/DooMLoRD/android_prebuilt_toolchains
DooMLoRD said:
the NDK toolchain isnt good...
i have test them and they throw un-necessary errors...
best use gcc-4.4.3 toolchain from CM repo... it works with almost all device kernels i develop for...
u can also try gcc-4.6.2 toolchain (linaro)...
a working copy of both can be found at my git repo:
https://github.com/DooMLoRD/android_prebuilt_toolchains
Click to expand...
Click to collapse
+1 to that, I use your arm-eabi-4.4.3 prebuilt
lightningdude said:
I have successfully compiled a kernel for CM7. Thanks, pax, for this tut, and all other developers for their contributions!
Sent from my R800x using XDA
Click to expand...
Click to collapse
Apparently I was a little premature in my findings. Having a hell of a time with the fxp sources for CM7. For some reason, I just can't get my cpu frequencies to come down from Max. DooMLoRD, what am I missing?
Sent from my R800x using XDA
It's been a while since I gave an update here, but my ics kernel is doing fine. I just gave up on gingerbread. My new question: How would I go about changing recovery and such? I prefer DooMLoRD's recovery over Keiran's, but since I'm using Keiran's sources, I don't know what to do to get a different recovery.
Sent from my R800x using XDA
lightningdude said:
It's been a while since I gave an update here, but my ics kernel is doing fine. I just gave up on gingerbread. My new question: How would I go about changing recovery and such? I prefer DooMLoRD's recovery over Keiran's, but since I'm using Keiran's sources, I don't know what to do to get a different recovery.
Sent from my R800x using XDA
Click to expand...
Click to collapse
Try replacing the recovery executable in /sbin/ with DooMLoRDs
Sent from my Xperia Play using Tapatalk 2
KeiranFTW said:
Try replacing the recovery executable in /sbin/ with DooMLoRDs
Sent from my Xperia Play using Tapatalk 2
Click to expand...
Click to collapse
I'm at work right now, but I'll try when I get home. I plan on doing some digging for the sake of learning, but that's going to wait for the weekend.
Sent from my R800x using XDA
Edit: Thanks Keiran, that worked. Like I said, I'll be poking around some more this weekend, just to see what I can mess with. Too bad I never got this far on my older phones...
looks good! so gonna try this tomorrow to build a cifs.ko module from latest Se source
watching a movies on phone, here I come
Hi great tutorial, but I'm having a problem with the wifi I have tried taking my bcm4329.ko from drivers/net/wireless and flashing it via CWM also tried moving it to system/lib/modules manually on my phone but still can't get it to work. Any idea how to fix this, its the only thing keeping me from using my own kernel
Sent from my Xperia Play using xda premium

[ROM] [SGP 4.0] Icy Fusion ~The best ICS experience..on Gingerbread~ v2.3 (6/26/12)

Icy Fusion ROM
Final: v2.3
~~The best ICS experience..on Gingerbread!~~ Fast and smooth! Crazy battery life!​
klin1344 said:
Hi everyone,
I am sorry to say that I will be retiring this ROM. I will be receiving my HTC One S next week, and most of my development efforts will be focused over in those forums. I won't abandon the 4.0 completely, but this will be my last ROM for it, with no more future updates. I also feel that this ROM is pretty complete and definitely usable for a stable daily driver.
I want to thank the community who supported my development, and my ROMs have been a good learning experience for me. But too bad the galaxy players were never very popular with developers...
Anyways, hope you enjoyed my work here. Links will always be available.
Click to expand...
Click to collapse
As you probably all know, I have ditched Klassic and letting hanthesolo continue it. I was going to make a SGS2-styled ROM, but instead I chose a total ICS-styled ROM instead due to the popularity of Android 4.0. I will be maintaining this ROM in two builds--one based on G1UEKI8 (USA) and another based on XXKPQ (INTL). Using an INTL ROM on a US player, and a US ROM on an INTL player caused too many issues (bluetooth, home button, toggles, etc), so I have decided to do it this way for better integration and the best possible experience. As of now it is not very different from Klassic (or Stratus), but as I make new releases it will have more and more features. Also it will be flashable with CWM. Enjoy
Features:
v1 (6/18/12)
- complete ICS theme (even better themed than Klassic, just look at the screenshots)
- swapped internal USB storage and external SD card (see 3rd post on how to revert)
- Holo Launcher installed
- ICS transitions + Roboto Fonts
- ICS clock widget
- deodexed
- zipaligned
- smooth scrolling mod (a.k.a. disabled scrolling cache in framework)
- smooth spinners mod
- CRT screen off animation
- 14 statusbar toggles
- "Device ID" hack ~now apps like XDA, Whatsapp, Tap Tap Revenge, and any app that needs a unique device id will run and not force close~ (XXKPQ uses Meticulus' hack, G1UEKI8 uses a slightly different method, but still same result)
- advanced powermenu with reboot, recovery, and download
- Supercharged with V6 Supercharger
- my own init.d scripts (you can look at the notes in the "55tweaks" file to see what I put in there)
- improved battery life
- I/O performance enhancements
- better performance
- TerraSilent as the default CPU governor
- plus more
- fixed performance and freezing issues from Klassic R5 (note: this ROM is completely made from scratch from stock, not based on Klassic or another ROM)
- fixed bluetooth issues from Klassic R5
- loads of build.prop tweaks
- debloated (I will attach the apps that I removed if you still want them)
- latest SU Binary 3.0.3.2
- BusyBox 1.20.1
- RFS filesystem ---> /system doesn't need to be on EXT4 because you are not constantly writing data on it
Click to expand...
Click to collapse
v1.1 (6/19/12)
- more init.d scripts for unbeatable battery life and performance
- loopy smoothness script
- sysctl tweaks for speed
- added SuperSU
- fixed the busybox symlink problems in v1
- released the INTL build
- busybox 1.19.3
- updated theme (look at screenshots)
Click to expand...
Click to collapse
v2.0 (6/21/12)
- disabled zCache by default --> to enable, go in 55tweaks and delete the '#' in front of "insmod /lib/modules/zcache.ko"
- implemented swipe to remove notifications
- added CRT screen ON animation
- improved touch responsiveness
- disabled start up sounds
- set an ICS wallpaper as default
- added 5 new ICS wallpapers in Wallpaper Gallery
- Galaxy Nexus bootanimation
- improved the implementation of the device id hack
Click to expand...
Click to collapse
v2.1 (6/23/12)
- FIXED BLUETOOTH!! and still Supercharged
- more battery life tweaks
- more performance and responsiveness tweaks
- fixed powermenu "Reboot Download"
- added TouchWiz 4.0 modified by me
- GT-I9000 Settings.apk (more options)
- completely re-designed Settings.apk
- ICS themed + added HoloLauncher Settings (see screenshots)
- "IcyFusion ROM" selection in Settings is a shortcut to device status
- succesfully smali'ed out (removed) "Call Settings" from the Settings.apk
- updated Holo Launcher to v1.0.5
- updated SuperSU to v0.92
- now /system is on EXT4
- ODIN package until CWM /data issues are sorted out
Click to expand...
Click to collapse
v2.2 (6/24/12)
- used stock Settings.apk, but still designed the same as v2.1
- fixed the setup wizard loop
- cleaned up init.d scripts
- added a lot more init.d speed tweaks
- added DSP Manager apk + libs
- added Zeam Launcher
Click to expand...
Click to collapse
v2.3 (6/26/12)
- optimized EXT4 mounts in init.d scripts (fast i/o performance; I got 2300 in Quadrant with only stock 1Ghz)
- added transparent background theme --> see post 3 on how to change the background picture
- optimized auto brightness levels for battery life
- stock sd card and internal storage mounts
- improved ICS theme
- Youtube HD apk
- fixed DSP Manager, and now every feature works
Click to expand...
Click to collapse
Downloads
*Simply flash in CWM*
*v2.1 & up flash with ODIN*
wipe data if you are have issues
USA/INTL:
v1: http://d-h.st/wWE
v1.1: http://d-h.st/jyP
v2.0: http://d-h.st/jGF
v2.1: http://d-h.st/W0I
v2.2: http://d-h.st/WYB
v2.3: http://d-h.st/mPa
INTL
v1: none; look for v1.1
v1.1: http://d-h.st/ILv
v2.0: none
INTL users please try the US version and post here if there are issues
Sorry, I will have to drop support for INTL players because it is too difficult to keep flashing, modding, and testing both builds of the ROM. I understand that 2.3.5 caused a reboot issue on INTL players when the headphones are plugged in. If somebody could please post a logcat, and I will try and see what I can do to fix the issue. Thanks.
Special thanks to:
Dark_Balor for improving the kernel for our device
zeppelinrox for his V6 SuperCharger
Meticulus for his Device ID hack for 2.3.6
Vertumus for some parts of his ICS Domination Theme
dsixda for his kitchen
And many others I probably forgot to mention
ScreenShots
​
Extras and add-ons
Extras and Add-ons​
Here I will attach some miscellaneous add-ons for my ROM.
How to manually wipe and format data into EXT4
1. Boot into CWM recovery. Make sure you are using the latest TerraSilent kernel.
2. Type 'adb shell' in command prompt or Terminal.
3. Type the following code:
Code:
umount /data
umount /dbdata
umount /cache
Then:
Code:
mke2fs -f ext4 -b 4096 -O ^huge_file,^dir_nlink,^ext_attr,^resize_inode,^extra_isize -m 0 /dev/block/mmcblk0p2
mke2fs -f ext4 -b 4096 -O ^huge_file,^dir_nlink,^ext_attr,^resize_inode,^extra_isize -m 0 /dev/block/stl10
mke2fs -f ext4 -b 4096 -O ^huge_file,^dir_nlink,^ext_attr,^resize_inode,^extra_isize -m 0 /dev/block/stl11
4. Reboot. Or you can follow below on how to disable EXT4 journaling (don't reboot), which GREATLY improves i/o performance. Note that every time you boot into recovery, /data get wiped into RFS again due to a CWM bug. I suggest that you do not boot into recovery again after rebooting unless you really need to.
To disable EXT4 journaling
1. Make sure you have flashed my ROM, as it includes some tools for this procedure.
2. Unmount the partitions if they aren't already:
Code:
umount /data
umount /cache
umount /dbdata
4. Follow:
Code:
tune2fs -O ^has_journal /dev/block/mmcblk0p2
tune2fs -O ^has_journal /dev/block/stl10
tune2fs -O ^has_journal /dev/block/stl11
5. You're done! Now you can reboot, and see the massive jump in Quadrant, especially if you're using ROM v2.3 and up.
How to change the background wallpaper theme
For v2.3, I've enabled the use of a custom wallpaper theme, which will show up in many apps. If you don't like the picture I used, you can replace it yourself with these very simple instructions.
1. Copy the /system/framework/framework-res.apk from your player.
2. Using an archiver, like winzip or 7zip, open the apk.
3. Find any 480x800 png image that you like, and name it screen_background_dark_transparent.png
4. Drag it into the res/drawable-hdpi/ folder of the apk. It will replace the original one in there.
5. Copy framework-res.apk back, and make sure to set permissions rw-r--r--. Reboot.
Extras
- Stock vold.fstab (for stock usb storage and sd card mounts): http://d-h.st/FKL
This is how to install
Code:
cd [B]*directory of the file*[/B]
adb remount
adb push vold.fstab /system/etc
Or simply just copy/paste with root explorer and reboot.
reserved again
It looks nice. I have 1 suggestion. It is possible to put the SGSII lockscreen into it? It would be perfect! (for me though I don't know for the others)
zaclimon said:
It looks nice. I have 1 suggestion. Is it possible to put the SGSII lockscreen into it. It would be perfect! (for me though I don't know for the others)
Click to expand...
Click to collapse
I could try, and maybe upload a framework-res specifically for people who want an SGS2 lockscreen.
I am trying to get INTL support for this ROM, but unfortunately I noticed that with XXKPQ if I use dsixda's kitchen I get this error when trying to use busybox:
Any busybox applet will result in the same...
It doesn't happen on 2.3.5 G1UEKI8 though.. I have tried unrooting and rerooting, using the install busybox option with kitchen, reinstalling busybox, but nothing seems to work.
So..for now I will only be supporting US devices until someone can either help me get rid of this error or at least help me find another INTL ROM that I can base my work off of.
Nice! It seems we are branching off, you to theming and features, I to raw performance . Just from one dev to another, did you fix bluetooth by unullifying? Also, how did you get framework-res to successfuly recompile without FC's? I tried doing it, and it basically blew up my Gplayer. Maybe using a apk decompiler is not the way to go...Argh, I hate windows, I never have these issues in Ubuntu...
Finally, where did you find his deviceid hack? when I got to his thread he had nuked all of his work...sad that someone would try and rip off his hundreds of hours of work.
hanthesolo said:
Nice! It seems we are branching off, you to theming and features, I to raw performance . Just from one dev to another, did you fix bluetooth by unullifying? Also, how did you get framework-res to successfuly recompile without FC's? I tried doing it, and it basically blew up my Gplayer. Maybe using a apk decompiler is not the way to go...Argh, I hate windows, I never have these issues in Ubuntu...
Finally, where did you find his deviceid hack? when I got to his thread he had nuked all of his work...sad that someone would try and rip off his hundreds of hours of work.
Click to expand...
Click to collapse
I use apkmanager to modify my apks if I'm on windows, but if I just happen to be using Linux and I'm too lazy to reboot I use apktool (which requires more work though). For the device id hack, it was a method in framework.jar. Copying and pasting that method from Meticulus's worked for 2.3.6, but would cause a bootloop on 2.3.5 US. So I looked at the logcat and used a modified version of this: http://forum.xda-developers.com/showthread.php?t=955847 for my deviceid hack.
I hate editing smali though...it's so difficult to understand.
klin1344 said:
I use apkmanager to modify my apks if I'm on windows, but if I just happen to be using Linux and I'm too lazy to reboot I use apktool (which requires more work though). For the device id hack, it was a method in framework.jar. Copying and pasting that method from Meticulus's worked for 2.3.6, but would cause a bootloop on 2.3.5 US. So I looked at the logcat and used a modified version of this: http://forum.xda-developers.com/showthread.php?t=955847 for my deviceid hack.
I hate editing smali though...it's so difficult to understand.
Click to expand...
Click to collapse
Thanks! I used apk manager, but it still did not work without fc....maybe i will try a different tool (for some reason it will not recognize adb or aapt in ubuntu even though I can run the commands from the terminal.
It seems we have competing roms now...may the best dev win.
Sent from my Galaxy Player Running my Stratusrom.
hanthesolo said:
Thanks! I used apk manager, but it still did not work without fc....maybe i will try a different tool (for some reason it will not recognize adb or aapt in ubuntu even though I can run the commands from the terminal.
It seems we have competing roms now...may the best dev win.
Sent from my Galaxy Player Running my Stratusrom.
Click to expand...
Click to collapse
Ummm...don't forget that your work is still based off of my work
Editing smali and the framework for new features (powermenu, toggles, etc) is the real ROM work...hehe
Besides, I'm not here to compete; I just want to share my work.
Point taken, I just wanted some friendly competition, it helps to make work go faster.
But, I would like to see you spend 3 hours fixing init.d scripts, and tweaking sysctl for best ram usage.
My point is, we are both skilled in completely different areas. I am better at some things, and You blow past me in others. It just comes down to the users preference.
klin1344 said:
I am trying to get INTL support for this ROM, but unfortunately I noticed that with XXKPQ if I use dsixda's kitchen I get this error when trying to use busybox:
Any busybox applet will result in the same...
It doesn't happen on 2.3.5 G1UEKI8 though.. I have tried unrooting and rerooting, using the install busybox option with kitchen, reinstalling busybox, but nothing seems to work.
So..for now I will only be supporting US devices until someone can either help me get rid of this error or at least help me find another INTL ROM that I can base my work off of.
Click to expand...
Click to collapse
Ugh..I just found out that it is the same with G1UEKI8 as well.
I flashed my factoryfs.rfs version and busybox worked, so I will upload the factoryfs in an Odin package tomorrow. From now on the roms will have to be flashed through Odin until I can find a fix.
Sent using Tapatalk
klin1344 said:
I am trying to get INTL support for this ROM, but unfortunately I noticed that with XXKPQ if I use dsixda's kitchen I get this error when trying to use busybox:
Any busybox applet will result in the same...
It doesn't happen on 2.3.5 G1UEKI8 though.. I have tried unrooting and rerooting, using the install busybox option with kitchen, reinstalling busybox, but nothing seems to work.
Click to expand...
Click to collapse
I have that same issue on my device (different rom). Busybox works fine; the issue is that somehow the symlinks got corrupted (hence the not found and weird characters). I fixed it (post-install) by deleting the broken files and recreating the symlinks in /system/xbin. You might want to check your updater-script or the 'install-busybox.sh' file the kitchen creates.
Sent from my 5.0 USA GenGin + ICS theme
Flash Tool for this ROM
Which flashing utility/method do you recommend for this ROM?
Thanks!
Mevordel said:
I have that same issue on my device (different rom). Busybox works fine; the issue is that somehow the symlinks got corrupted (hence the not found and weird characters). I fixed it (post-install) by deleting the broken files and recreating the symlinks in /system/xbin. You might want to check your updater-script or the 'install-busybox.sh' file the kitchen creates.
Sent from my 5.0 USA GenGin + ICS theme
Click to expand...
Click to collapse
Thank you. So all I have to do is just recreate the symlinks in /system/xbin? I didn't think it would be that easy
Sent using Tapatalk
If we did all that ext4 foo foo should we go back to stock before flashing?
rozelle25 said:
If we did all that ext4 foo foo should we go back to stock before flashing?
Click to expand...
Click to collapse
No need to. It will still work fine with ext4 partitions.
Sent using Tapatalk
What you need to do is make a list of all of the files in /system/xbin that are there after flashing but aren't in your working folder's system/xbin. Those are the (broken) symlinks created by the installbusybox.sh script at the root of your zip. You need to put a symlink command in your updater-script for each of those (referring to the lines already there), and then you can delete the installbusybox.sh script and the updater-script lines referring to it.
Sent from my 5.0 USA GenGin + ICS theme
Everytime I try to turn on Wifi it says error and bluetooth still doesnt work... besides that everything seems to be working fine is there a reason why my wifi wont start?

[SCRIPT][android 2.2+]UNLIMITED™BOOST[11.11.2012]

Request:
Guys i would need a little favour.
As you may know im 17 years old.
Next year in august my class is going on school trip.
We dont know destination yet but it will probably be Czech Prague.
We would stay there around a week.
It would cost around 450euros + i need some money to spend 150euros.
Why am I asking for donations?
I would really want to go but i dont want my family to spend that kind of money but they cant even afford it.
My rom is one of most downloaded in this section and manny people use my UNLIMITED™tweaks and UNLIMITED™BOOST and i think i would deserve to get some help from you.
Every donation is helpful and I hope you will make this trip possible for me.
Click to expand...
Click to collapse
◢UNLIMITED™BOOST◣​give your phone amazing performance boost and better battery life​
What is UNLIMITED™BOOST ?
UNLIMITED™BOOST is my script package.
It has almost every script in it combined for better performance and battery life.
Can i use UNLIMITED™BOOST with some other script ?
Basicly you cant. Cause of different values and it wouldt work good but there are some perfect partners for this like:
-- v6 supercharger (recommended)
-- Adrenaline™ Task Manager (recommended if your rom doesnt have task manager)
-- modded services.jar
-- if there is some other perfect partner let me know
What does UNLIMITED™BOOST give you ?
-- Modified v6 super charger script
-- Modified ThunderBolt script (not 100%)
-- Modified Adrenaline Engine
-- Adrenaline Boost (use it with terminal emulator to clear ram)
-- VM Tweaks
-- SD card tweak
-- cache cleared at every boot
-- GPU rendering
-- Zram script
-- loopy smoothness tweak
-- darky zipaling
-- live wallpapers smoother
-- lag fixer
-- kernel tweaks
-- Battery tweaks
-- ext4 smart mounting
-- Reduced /dbdata, /data, /sdcard usage of *.db files and faster database access
-- Increase touchscreen sensitivity
-- internet speed tweaks
-- much of prop tweaks
-- CWM Flashable
-- Less lags through LMK Tweak and Various VM Tweaks
-- sysctl tweaks
-- journalism
-- disable logger
-- some apps open faster due to tweaks (phone, keyboard, messaging...)
-- io scheduler tweaks
-- various tweaks
-- many other tweaks
UNLIMITED™BOOST requirements ?
-- android 2.2+
-- cwm
-- 2mb free on system
-- kernel/rom with init.d support
-- rooted phone
How do I install UNLIMITED™BOOST ?
1.Delete all others script you have installed in system/etc/init.d
2. Copy scripts to your sd card
3. Reboot your phone to recovery
4. Mount /system and /data (important)
5. Flash script
6. Reboot your phone..
7. Done
DOWNLOADS​
DOWNLOAD v2
DOWNLOAD v3
DOWNLOAD v4
DOWNLOAD v5
DOWNLOAD v6
IF U WANT TO MAKE YOUR PHONE EVEN FASTER CHECK MY BUILD.PROP TWEAKS LIST​
FOR VSYNC ACTIVATING:
A)Use this commands in terminal emulator:
su
mount -o rw,remount /system
echo "#!/system/bin/sh" > /system/etc/init.d/20-vsync
echo "#" >> /system/etc/init.d/20-vsync
echo "echo "1" > /d/clk/mdp_vsync_clk/enable" >> /system/etc/init.d/20-vsync
mount -o ro,remount /system
Click to expand...
Click to collapse
B)Flash this with cwm
DOWNLOAD
IF YOU THINK YOU KNOW SOME BETTER VALUE.
SUGGEST ME ANY TWEAK.
JUST PM TO MAKE THIS SCRIPT BETTER ​
* I CANT OFFER SAME EFFECT ON EVERY PHONE.
CREDITS:
-- zeppelinrox
-- pikachu01
-- forever king
-- smokin1337
-- imbawind
-- slaid480
-- smokin1337
-- [email protected]
-- Sandy7
-- darky
-- lpy
--totiadrenalin
-- if you think you should be here send me PM
(bad)
installation aborted
on my lww with Gingercruzt xs r.03(2.3.7) and xkernel.
Equama said:
(bad)
installation aborted
on my lww with Gingercruzt xs r.03(2.3.7) and xkernel.
Click to expand...
Click to collapse
then u can do this
extract script
copy files to folder they have to be in
and set permission
mv_style said:
then u can do this
extract script
copy files to folder they have to be in
and set permission
Click to expand...
Click to collapse
Same happened to me. I will direct your copy. Zip (system / etc) and paste all your script to see if it works. Thanks for the input.
Bluemmanuel said:
Same happened to me. I will direct your copy. Zip (system / etc) and paste all your script to see if it works. Thanks for the input.
Click to expand...
Click to collapse
dont forget to change permission
nice work my friend..ill try it asap.
mv_style said:
dont forget to change permission
Click to expand...
Click to collapse
I forgot XD. If I give all permissions no problem right? bone to give permission for everything (all files)?
Good will use it in. My rom
Sent from my SK17i using xda app-developers app
Bluemmanuel said:
I forgot XD. If I give all permissions no problem right? bone to give permission for everything (all files)?
Click to expand...
Click to collapse
yes u can give for everything
fixed it..
actually sandy7 did
mv_style said:
fixed it..
actually sandy7 did
Click to expand...
Click to collapse
not a problem....anytime...
it work on stock kernel? i have lww with locked bootloader
chikrron said:
it work on stock kernel? i have lww with locked bootloader
Click to expand...
Click to collapse
yes but u need init.d support
ok thanks buddy
Init.d Support
im using a wt19 on stock ics 4.0.4. Does this have init.d support? or is there a way to find out? Cuz i want to try out your tweaks
EDIT : I already have supercharger installed and i found the script in the init.d folder, so im guessing it does have init.d support
bucky747 said:
im using a wt19 on stock ics 4.0.4. Does this have init.d support? or is there a way to find out? Cuz i want to try out your tweaks
Click to expand...
Click to collapse
http://forum.xda-developers.com/showthread.php?t=1417375
this is what u need
mv_style said:
http://forum.xda-developers.com/showthread.php?t=1417375
this is what u need
Click to expand...
Click to collapse
Thanks bro, will test it out.
looks great.. will add it on my HoneyBreadSandwich.. :fingers-crossed:
Update soon
do i have to do anything to active supercharger or is already active 100%? I am using unlimited rom on my mini pro
(sorry for my english)

Categories

Resources