I think when Our gio load init.d it is single tasking because when i compile and put this script to /system/etc/init.d
Code:
main(){
while(1);
}
Gio Can't continue boot to framework.
So i think when my gio boot.it load init.d script is very slowly.
I think we can boot faster if we use multitasking when we load init.d script.
Question:
How to Multitasking in c++? (Like time interval in C#)
Help me please!!!
Sorry for my bad english.
pureexe said:
I think when Our gio load init.d it is single tasking because when i compile and put this script to /system/etc/init.d
Code:
main(){
while(1);
}
Gio Can't continue boot to framework.
So i think when my gio boot.it load init.d script is very slowly.
I think we can boot faster if we use multitasking when we load init.d script.
Question:
How to Multitasking in c++? (Like time interval in C#)
Help me please!!!
Sorry for my bad english.
Click to expand...
Click to collapse
First of all, you could just try to ask google. And like everytime we talk to Google ... Google has an answer
So I found this when typing in "multithreading c++": http://www.tutorialspoint.com/cplusplus/cpp_multithreading.htm
I am not a C++ professional, only if I can't get further with C#.
Related
Introduction:
Throuth Releasing SlaidMod and SlaidFastMOD,I was studing THe ANDROID OS Core ,and I found That It Shouldn't Be cofugured Like a Linux,Because It's Not A computer That have a lot of RAM,It is Just a phone!!Well Today I came with a new script That will handle Your Phone Very Well!!
Improvements:
-MinFree enabled
-Touchscreen sensivity increased
-Zipaligning apps while Booting
-Less aggressive settings for kernel
-Turbo Charged,Makes The launcher very smooth!!
-Better VM management
-Handled Dalvik cache
-New way of loading Binaries
-system tweaks
-Battery Life improvements
Requirements:
-Android Gingerbread 2.3.x
-Root
-Kernel that supports init.d (like CF-Root and CM7 kernels)
-Ext4 system partition
How to install:
1-you need to have CWM4 or 5 installed
2-Download the flashable Zip
3-Reboot into recovery
4-Install Zip from SD card then choose Zip from SD card then choose
LagFree V1......Zip
5-reboot and enjoy
6-Happy testing
Credits:
-Thanks to Gadgetcheck and ChainFire For touchscreen Tweaks
-Any XDA Member That helps Me out in This Project
PS: If you are using One on My script you Should delete Them Then flash This one
Reserved for future use
So you've just gotta remove the scripts with root explorer and yer set to install? I'm running slaidfastmod btw. Any chance you could post a list with the file names?
ares93 said:
So you've just gotta remove the scripts with root explorer and yer set to install? I'm running slaidfastmod btw. Any chance you could post a list with the file names?
Click to expand...
Click to collapse
you have to delete thene scripts dude :
-S97FastMOD
-S78enable_touchscreen_1
-S95SlaidMod
-S98System_tweaks
-S98CFSK
slaid480 said:
you have to delete thene scripts dude :
-S97FastMOD
-S78enable_touchscreen_1
-S95SlaidMod
-S98System_tweaks
-S98CFSK
Click to expand...
Click to collapse
Ta, mate.
10 char
great work man now i try
Add bravia engine!
Thank me
You do know what it is, right?
Greets!
mDroidd from tapatalk
_____________________________
Sent from my Galaxy Nexus
[-]Everything still stock
_____________________________
LG Optimus One
ROM: Nitrogen
Kernel: custom .35
Tweaks: All
Theme: ICS (inside Nitrogen by me)
so this is this : SlaidFastMODV2.5 + bravia engine ? tnx btw i will try it tomorow
what is this bravia engine?
It isn't SlaidFastMOD oR bravia engine it is a new script to tweaks you hall ANDROID phoen to make it great !!!!!!
Hello! i install now!
Nice going to install now is there any noticable difrence between this and earler version?
Sent from my GT-S5660 using Tapatalk
i just installed this. the script is there so hopefully running. i'll post tomorow if there are any improvements. for me only the lockscreen and the dialer are lagging. i'll post here if i see any improvements. thank you slaid
I haven't actually noticed any difference from when I was running slaidfastmod. Although i haven't really put the thing under a microscope yet.
well since i've installed your first script the phone is a bit faster, but i saw that it turns off by itself ... happened the 3rd time last night .. could this be cuz of the script ?
So when SlaidFastMODV2.5 everything goes faster,
LagFreeV1 and I notice no difference.
Can I really take all or just one?
I think you should only use 1 at a time.
Hello! I thing it make a big difference! Thank you!
Phone seems more responsive than before (cm7.2 rc1).
Touchscreen is a lot more accurate.
Just first results after installing and playing around a bit.
small question: lag...fast... drow my attention but do not see what this thread is realy about.
can someone tell me what the thread is about.interest in solving responsetimelag
Sent from my GT-S5660 using XDA App
lately I've found that some people are looking for more tweaks for SGY. you might have heard about v6 and adrenaline engine which can boost up our device performance. however, these script are usually only change the setting on memory management and kernel setting. I can't found a branded tweak with a script not only for memory management but also tweak gps, net speed, and build.prop properties tweak.
well...this mod is an one pack tweak for all that stuff. it contain all init.d tweak which used daily in my device. don't worry about the modules stuff since I already put them inside.
1. tweaks for modules : droidwall modules by mikstev and bacem patch by irfanbagus
2. tweaks for memory management : kuro1
3. tweaks for build.prop properties : kuro2
4. tweaks for net speed : sysinit --> sysctl tweaks
5. additional tweaks : zipalign, sqlite optimize, minfree, data cleaner, sdcard tweak (these last four are in kuro1), and gps tweaks.
6. add blocker tweak (new)
important notes:
1. this mod is only tested on SGY. please use it carefully if you intent to use it on another device.
2. installation guide: flash it via CWM.
3. I highly recommend to delete (or temporary move) all init.d script before install this mod (just in case, for your safety and to ensure that my tweak will run). you can put your favourite script later if the installation succes.
4. a kernel with init.d support is a minimum requirement for this mod.
5. to check whether if the tweak run or not go to /data and see if all of 4 log file tweak created there with correct time when you turn on your device.
- kuro_zalign.log : contain the log file for zipalign
- kuro_tweak1.log : contain the log file for kuro1 tweak
- kuro_tweak2.log : contain the log file for kuro2 tweak plus test for undervolt with bacem tweak
- kuro_slite.log : side log file for kuro1. it contain the log file for vacum tweak inside kuro1
the link :
]v1 : http://www.mediafire.com/download.php?51kxybm65dzxveb or http://d-h.st/7v7
v2 : http://d-h.st/AsD
v2.1 : http://d-h.st/HB4
v3.0 : http://www.mediafire.com/download.php?vv0e2nmzrnm7q3o
v3.1 : http://www.mediafire.com/download.php?9ua4lz8wafqq79w
note: don't install by copy all the files into your system. you only need to copy the 'blast' file in /system/bin/ to your /system/bin and give 777 permission to get the update.
add blocker : http://www.mediafire.com/download.php?2bqcgbkt01banl6
to install it, extract the file then copy hosts file to /system/etc. after that restart your phone.
changelog:
v1 (17-7-2012)
- first release project
v2 (8-7-2012)
- log system introduced. log file stored at /data as kuro_zalign.log, kuro_tweak1.log, kuro_tweak2.log and kuro_sqlite.log
- optimized. kickass kernel tweak now in kuro1.
- added some more tweak for memory cleaner and another stuff.
- loopysmoothness removed due some issue in some highly loaded system.
- GPS tweak now set for all region and country
v2.1 (21-8-12)
- new script added
- optimized tweak for better multitasking and speed
- now using aroma installer
v3.0 (4-10-12)
- new build script on kuro1
- separated sqlite vacuum (kuro4)
- new setprop code on (kuro2)
- new setprop code for audio (kuro3)
- NEW FEATuRE: boost_up MODE! --> a special feature to give you more free ram and boost your memory
v3.1 (12-12-12)
- new update for the tool. now you can use it without typing su.
- tool renamed to 'blast' to make it shorter.
Click to expand...
Click to collapse
additional note for v3:
- clear your dalvik cache after you install this tweak
- to use boost_up mode, type su, continued by boost_up in terminal
- THIS TWEAK ONLY TESTED ON MY XPERIA TIPO. PLEASE QUICKLY REPORT IF ANYTHING GOES WRONG.
for more information about the modules
bacem patch [irfanbagus] - http://forum.xda-developers.com/showthread.php?t=1640972
droidwall [mikstev] - http://forum.xda-developers.com/showthread.php?t=1626406
credits:
1. mikstev and irfanbagus for the modules
2. imbawind for the libncurses.so file
3. all xda member
I'm not a dev. all credits should be addressed to the dev, the real man behind the work. not me
Click to expand...
Click to collapse
TERM OF USE AND SHARING:
this thread intent is for sharing. feel free to use, edit, distribute all material inside this thread which came from me. if there any parts of this mod which comes not from me please refer to the original dev I've mentioned in this thread. if want to share it to another forum or modify it you don't have to ask my permission. no need to credits, put links or whatsoever. you'll only need to remember that you should held all the responsibility by using this mod, modify it or distribute it. DO IT WITH YOUR OWN RISK
Click to expand...
Click to collapse
Sparepart app
this app won't give you a boost in your device's performance. its an app comes from aosp rom. you can use it to set the animation effect in your device. set the speed at 'fast' and you'll get a feel that your device is running zoom zoom zoom.
http://www.mediafire.com/?ckcq1c6k6fr86s2
I also want to make this thread as a tweak discussion. feel free if you want to discuss anything related to tweaks in this thread.
This is exactly the same tweaks I've mentioned before . I was lazy to explain You did a nice job in compiling them. Good post.
Sent from my GT-S5360 using xda premium
yup...I only create kuro1, kuro2, sysctl.conf. I've also edited gps.conf (previously made by hellstorm) and bacem tweak. however the other script is almost untouched.
Can i flash this tweak pack on galaxy y which is already using adrenaline engine....plz answer it....
you can but better if you don't. if you still want to use it, delete kickass kernel, kuro2, darky zipalign, sysctl, complete and sqilte optimize from my zip file then flash it.
can i flash this on galaxy y duos ????
BTW . if any problem i m reflash firmware....
Sent from my GT-S6102 using Tapatalk 2
the only thing missing is the ad-hoc mod
another great work mr. kurotsugi
edit: i was hoping no FC on the spare parts battery history..
@mano: yup...you can install it in duos
@leo: i'm still using it but i've got report that it has bug. I never experienced it but they said that the connection sometimes doesn't stable. Thats why i didn't put that in this tweak.
Sorry, this app is have that fc issue too.
kurotsugi said:
@mano: yup...you can install it in duos
@leo: i'm still using it but i've got report that it has bug. I never experienced it but they said that the connection sometimes doesn't stable. Thats why i didn't put that in this tweak.
Sorry, this app is have that fc issue too.
Click to expand...
Click to collapse
ahh.. i see
no need to say sorry
ps: can't test this atm
any ideas to make our internal memory as swap?
i heard swapping degrades memory card life so...
also..
add your sound tweaks in this pack + bravia engine...
Can u add this...
This is a lag free script from this threads...
http://forum.xda-developers.com/showthread.php?p=26365844
█✘•⊥•✘█
for the tuned megabassbeat: my sound mod is big, about 8mb and not everyone like to use it.
for the lagfree script: do you know that lag free mod will DELETE our system app? if the answer is yes, you should understand that the risk is too high for common user. I won't add that mod to my compilation script.
idea to make swap in internal mem?
using internal mem as swap have a risk that the internal memory might corrupted (and eternally couldn't repaired). --> the main reason why no one ever interested to use internal memory as swap.
are you still want to use it as swap?
kurotsugi said:
for the tuned megabassbeat: my sound mod is big, about 8mb and not everyone like to use it.
for the lagfree script: do you know that lag free mod will DELETE our system app? if the answer is yes, you should understand that the risk is too high for common user. I won't add that mod to my compilation script.
Click to expand...
Click to collapse
Oh....ok, if you no add this script
Thanks this explain(penjelasannya)
█✘•⊥•✘█
But,...i have error with kernel merruk pre2.0
setprop can't use in me...
How can i fix this?
How i change the kernel with repencis kernel?
█✘•⊥•✘█
first of all you should flash a stock kernel with odin. after that you could install repencis's kernel with usual method.
kurotsugi said:
using internal mem as swap have a risk that the internal memory might corrupted (and eternally couldn't repaired). --> the main reason why no one ever interested to use internal memory as swap.
are you still want to use it as swap?
Click to expand...
Click to collapse
if that so...
haha..
no way.
thanks man.
What would be the best things to do to use V6 SuperCharger for best performance of R800i?
I know how to install it, with script manager, but there is alot of things to tweak in the menu. plus I dont know which "HP" would be the best for R800i.
Recommended a step-by-step guide on what would be best for this phone - if I have never run this script before thanks!
U will need busybox installer too, just run the script after installed busybox
I recommend version 1.18.2 busybox, use another will make some errors, otherwise it will work..
run the script and follow the instruction, its easy, just followin what the script say, u may not run this script on boot, so if there is a question answer no..
Choose number 10 for quick auto customizing or between 11-13 option to make u home supercharged, u can try other too
Sory for my bad english
Regards from Lucian
Xperia Play with True Ancestor Rom modded myself..
Locked Bootloader
Androguide.fr published a Universal Init.d installer on Play Store.
Initial release had an FC bug but its already fixed. Here's the link: https://play.google.com/store/apps/...mNvbS5hbmRyb2d1aWRlLnVuaXZlcnNhbC5pbml0LmQiXQ..
you can also download here: http://d-h.st/THA
to quote : What makes this method really universal is that everything happens on the app side, no system files modifications are required whatsoever. The tool basically emulates the behavior of the init.d kernel mechanism : it will detect whenever the device is rebooted and execute the scripts located in /system/etc/init.d.
With this init.d support granting mechanism comes a kernel-sided init.d support detection mechanism, so that your int.d scripts don't get executed twice, which would only make for a longer boot time. Basically, when you run the test, it will generate a little init.d script which creates a file on your sdcard. Then, after you rebooted, it will check if the file that the generated script creates has indeed been created in order to determine if your kernel already has init.d support built-in. If the file was created, it does. If not, it doesn't, as simple as that.
Universal Init.d doesn''t work in Android M.
moisespereira01 said:
Universal Init.d doesn''t work in Android M.
Click to expand...
Click to collapse
The app was crashing on launch for me as well. I installed BusyBox from stericson and now it works. Thanks @boyheadkick
Thanks working on LL version....
Please help my forum to increase view please....
link: https://forum.xda-developers.com/general/rooting-roms/lenovo-vibe-k6-note-guide-rooting-t3602763
I have got myself into developing lately, im currently stripping cm7.2 rom and of course have a few questions:
1. Is cm7.2 the best rom for performance or is there a better one?
2. Quickpic wont install with rom but after boot i can install it manually.
3. How can i remove the "haunted" options e.g. i removed boot animation ,so it loads after roughly 40 sec, but in settings there is still an option " Disable boot animation" any help?
4. Optimizing my rom. Is there a way to improve rom performance like zipaligning or something else.
5. Adding custom wallpapers
Edit: Can i remove hdpi folder since wildfire is mdpi?
Also any way of removing and ADDing startup entries?
ndrija said:
I have got myself into developing lately, im currently stripping cm7.2 rom and of course have a few questions:
1. Is cm7.2 the best rom for performance or is there a better one?
2. Quickpic wont install with rom but after boot i can install it manually.
3. How can i remove the "haunted" options e.g. i removed boot animation ,so it loads after roughly 40 sec, but in settings there is still an option " Disable boot animation" any help?
4. Optimizing my rom. Is there a way to improve rom performance like zipaligning or something else.
5. Adding custom wallpapers
Edit: Can i remove hdpi folder since wildfire is mdpi?
Also any way of removing and ADDing startup entries?
Click to expand...
Click to collapse
1.Yup,cm 7.2 nightly is best rom you'll find around.
2.Quickpic needs a lib in /system/lib to work as a system app.
3.Just delete bootanimation.zip from /system/media.
4.Zipaligning helps a bit,you can add several tweaks like,crossbreeder,juwe's ram script or app,build.prop tweaks etc.
5.You can decompile framework-res.apk and add a custom wallpaper in some specific folder,e.g /framework-res/res
You cannot remove HDPI folder,it is still needed.
Wasimk32 said:
1.Yup,cm 7.2 nightly is best rom you'll find around.
2.Quickpic needs a lib in /system/lib to work as a system app.
3.Just delete bootanimation.zip from /system/media.
4.Zipaligning helps a bit,you can add several tweaks like,crossbreeder,juwe's ram script or app,build.prop tweaks etc.
5.You can decompile framework-res.apk and add a custom wallpaper in some specific folder,e.g /framework-res/res
You cannot remove HDPI folder,it is still needed.
Click to expand...
Click to collapse
Thanks!