[Q]How to create tweaks for init.d - XDA-University

hi guys, can somebody teach me how to create tweaks for init.d... thanks for reply
-Renz29

By studying other scripts and putting in some effort
And get familiar with Linux

Prawesome said:
By studying other scripts and putting in some effort
And get familiar with Linux
Click to expand...
Click to collapse
but where i can start???

Renz29 said:
but where i can start???
Click to expand...
Click to collapse
Download Some init.d scripts then copy them all to a single file. now you have a init.d script.
But it is not actual Developing

mithun46 said:
Download Some init.d scripts then copy them all to a single file. now you have a init.d script.
But it is not actual Developing
Click to expand...
Click to collapse
No offense, but that was kinda stupid

init.d scripts are just regular shell scripts that will run when you boot your phone. I recommend you begin by looking up tutorials on how to write shell scripts. Along with knowing what Linux programs come with android and busybox you'll be able to come up with some cool, useful stuff.
As others recommended it's also useful to study scripts others have made

Download the tweak's i.e., init.d and place it on bin...
If you need some tweaks srearch on xda and copy and paste them on build.prop(placed in system folder)
................................................................................................
Hit thanxxxxxxxxxxxxxxx
................................................................................................

sanjaykumar.sanjay69 said:
Download the tweak's i.e., init.d and place it on bin...
If you need some tweaks srearch on xda and copy and paste them on build.prop(placed in system folder)
................................................................................................
Hit thanxxxxxxxxxxxxxxx
................................................................................................
Click to expand...
Click to collapse
He wants to learn about making scripts. Not copy a script, put it in init.d, make some tweaks in build.prop and release it as 70% of guys here do

thanks bro
Sent from my E10i using xda app-developers app

hi guys, thanks for all of your help, now i created my own tweaks...
Sent from my E10i using xda app-developers app

Related

TweakZV6> Init.d best tweaks[Flashable] Increase your performance(All In One)

Sorry if its already posted...just wanna share...
After applying the tweaks you will have:-
Better Vm management memory tweaks,The Loopy smoothness tweak!,Zippaligning and Verify-Bytecode tweak!,SD card tweaks!,Sysctl.conf file!Kernel tweaks,Less lag in phone call,System server from Android 4.0,Smoother live wallpapers!!,System processes priority tweaks (phone,sms etc..),Build.prop tweak,Kick ass Kernelizer from v6 supercharger for miscellanous tweaking,Optimized sqlite and I/O tweaks for better quadrant scores.....and many more......
TweakZV6:- http://forum.xda-developers.com/attachment.php?attachmentid=952778&d=1332068201
Flash via CWM.....Compatible with SGMini
More Info:-
http://forum.xda-developers.com/showthread.php?t=1353903
Better remove all of your tweaks before applying this..maybe there will be a conflict when running both.....peace
Can we use v6 supercharged with this script??
Sent from my GT-S5570 using xda premium
janmae said:
Sorry if its already posted...just wanna share...
After applying the tweaks you will have:-
Better Vm management memory tweaks,The Loopy smoothness tweak!,Zippaligning and Verify-Bytecode tweak!,SD card tweaks!,Sysctl.conf file!Kernel tweaks,Less lag in phone call,System server from Android 4.0,Smoother live wallpapers!!,System processes priority tweaks (phone,sms etc..),Build.prop tweak,Kick ass Kernelizer from v6 supercharger for miscellanous tweaking,Optimized sqlite and I/O tweaks for better quadrant scores.....and many more......
TweakZV6:- http://forum.xda-developers.com/attachment.php?attachmentid=952778&d=1332068201
Flash via CWM.....Compatible with SGMini
More Info:-
http://forum.xda-developers.com/showthread.php?t=1353903
Better remove all of your tweaks before applying this..maybe there will be a conflict when running both.....peace
Click to expand...
Click to collapse
Wrong section....its a tweak not app...and don't dare to post it in dev section coz dis is copy paste material...MOVE TO GENERAL section..
---------- Post added at 05:02 AM ---------- Previous post was at 05:00 AM ----------
farokz said:
Can we use v6 supercharged with this script??
Sent from my GT-S5570 using xda premium
Click to expand...
Click to collapse
Buddy are u blind ? Its clearly written to remove all scripts before this...wow. !!!
farokz said:
Can we use v6 supercharged with this script??
Sent from my GT-S5570 using xda premium
Click to expand...
Click to collapse
v6 is already include...i guess......u can try...
freakyfriday said:
Wrong section....its a tweak not app...and don't dare to post it in dev section coz dis is copy paste material...MOVE TO GENERAL section..
So,please admin...do move it to general,or..do whatever they wish..
Yes,it copy paste material...i'm just sharing it and i'm not intended to take any credit of it.....original thread link is there......
Click to expand...
Click to collapse
thank man
Its allright to share the zip i got no problem.Next time if someone of you wants to share the page or the zip just pm me and ill reply back
Oh and to let some dudes know: NO this doesnt include v6 supercharger its useless and conflicts with the zip
[email protected] said:
Its allright to share the zip i got no problem.Next time if someone of you wants to share the page or the zip just pm me and ill reply back
Oh and to let some dudes know: NO this doesnt include v6 supercharger its useless and conflicts with the zip
Click to expand...
Click to collapse
sorry [email protected],my bad...
Posted in wrong section!!!
sony
is this compatible with sony hd rom?
im using 2.3.6 xwktn rooted...can i use this script,,,,its my first time to use script,,i guess its a better one
im using emanon V6 now..what script do i need to remove in emanon or just flash it?...
examiner said:
im using 2.3.6 xwktn rooted...can i use this script,,,,its my first time to use script,,i guess its a better one
Click to expand...
Click to collapse
sure you can...
After flashing the zip. Phone not booting ...had to reflash
Sent from my GT-S5570 using XDA
can we use it on galaxy fit???
It usefull for rom xperia game v2??
Sent from my GT-S5570 using Tapatalk 2
guys...before apply this tweaks,pls do nandroid backup....just in case
melvinsunnyiype said:
After flashing the zip. Phone not booting ...had to reflash
Sent from my GT-S5570 using XDA
Click to expand...
Click to collapse
maybe u already had a tweaks tha conflict with this
androidnandroid said:
can we use it on galaxy fit???
Click to expand...
Click to collapse
yes,can use in all android devices
untararagelv said:
It usefull for rom xperia game v2??
Sent from my GT-S5570 using Tapatalk 2
Click to expand...
Click to collapse
maybe....but i'm not testing it

[Q] Attention!!!Attention!!! need immediate help on how to odex...

Hello everybody!!!!
before anything i must say that i did search before posting but nothing i found.
OK. my question is how do i odex cyanogenmod (latest nightly) ??????!!!!!!
I'm trying to make/mod/edit/modify, whatever you call it guys, a custom rom of my own based on latest CM7-N-C. but it seems like too much space is occupied in data in a non-odexed rom :-( not enough space i have to install apps :'-(.
So...will somebody give me a clear tutorial please???!!!! you shall be appreciated and if i get to post it on xda I'll give you credits. cheers guys ;-)
Use titanium backup to integrate dalvik cache into rom!
Sent from my GT-S5830 using xda premium
You can odex apps using android kitchen.Learn how to use it from the android kitchen thread and,odexing rom is not going to help you because it actually increases the size by a small ratio.
Sent from the year 3000 using a SGA where sheep's are not present.
Prawesome said:
You can odex apps using android kitchen.Learn how to use it from the android kitchen thread and,odexing rom is not going to help you because it actually increases the size by a small ratio.
Sent from the year 3000 using a SGA where sheep's are not present.
Click to expand...
Click to collapse
A small correction bro...
Odexing apps cannot be done through Kitchen and Odexing apps provides more memory
These APKs or JARs contain certain .odex files whose supposed function is to save space. These ‘odex’ files are actually collections of parts of an application that are optimized before booting. Doing so speeds up the boot process, as it preloads part of an application (Ref: google )
and comin to the topic....
@OP: U need to downlaod the odex script to odex apps
wilfredcool007 said:
A small correction bro...
Odexing apps cannot be done through Kitchen and Odexing apps provides more memory
These APKs or JARs contain certain .odex files whose supposed function is to save space. These ‘odex’ files are actually collections of parts of an application that are optimized before booting. Doing so speeds up the boot process, as it preloads part of an application (Ref: google )
and comin to the topic....
@OP: U need to downlaod the odex script to odex apps
Click to expand...
Click to collapse
Thanks for the correction ..Guess its because its been a long time since i have deodexed/odexed roms :/
Sent from the year 3000 using a SGA where sheep's are not present.
Prawesome said:
Thanks for the correction ..Guess its because its been a long time since i have deodexed/odexed roms :/
Sent from the year 3000 using a SGA where sheep's are not present.
Click to expand...
Click to collapse
hahahaaa.... no probs bro.... :-D
trunggaga said:
Use titanium backup to integrate dalvik cache into rom!
Sent from my GT-S5830 using xda premium
Click to expand...
Click to collapse
Prawesome said:
You can odex apps using android kitchen.Learn how to use it from the android kitchen thread and,odexing rom is not going to help you because it actually increases the size by a small ratio.
Sent from the year 3000 using a SGA where sheep's are not present.
Click to expand...
Click to collapse
wilfredcool007 said:
A small correction bro...
Odexing apps cannot be done through Kitchen and Odexing apps provides more memory
These APKs or JARs contain certain .odex files whose supposed function is to save space. These ‘odex’ files are actually collections of parts of an application that are optimized before booting. Doing so speeds up the boot process, as it preloads part of an application (Ref: google )
and comin to the topic....
@OP: U need to downlaod the odex script to odex apps
Click to expand...
Click to collapse
Prawesome said:
Thanks for the correction ..Guess its because its been a long time since i have deodexed/odexed roms :/
Sent from the year 3000 using a SGA where sheep's are not present.
Click to expand...
Click to collapse
wilfredcool007 said:
hahahaaa.... no probs bro.... :-D
Click to expand...
Click to collapse
____________________________________________________________
Thanks and thanks and thanks and thanks to all of you guys I do appreciate you all. but as I have mentioned in my post I need a clear tutorial. so if there is already a tutorial on the world wide web regarding to this matter I would appreciate if you let me know and navigate me to it if not lets make one ;-)
Thanks again guys Sikorsky96.
Sikorsky96 said:
____________________________________________________________
Thanks and thanks and thanks and thanks to all of you guys I do appreciate you all. but as I have mentioned in my post I need a clear tutorial. so if there is already a tutorial on the world wide web regarding to this matter I would appreciate if you let me know and navigate me to it if not lets make one ;-)
Thanks again guys Sikorsky96.
Click to expand...
Click to collapse
Here u go....
http://forum.xda-developers.com/showthread.php?t=1208320
Just use xUltimate. There is a tutorial for deodexing in the Ace forum and u can use somewhat similar method for odexing. Just choose odex option instead of deodex!
Sent from my GT-S5830 using Tapatalk 2

[Q] Integrate SU in rom

Hy people, i need someone help with superuser.
I want to integrate last version in my next rom but i fail to do that.
I know that kitchen is what i need to use, but i need help with that, i tryed and after i finish, rom failed to flash.
Dont use kitchen.
Which rom are you using and which kernel?
Take super user.apk and put it in /system/app
Then,take su bin file
Set perms for them in updater script..
Just refer the root package..
I am a potato, problem?
tj_droid said:
Dont use kitchen.
Which rom are you using and which kernel?
Click to expand...
Click to collapse
Vo-1 cm7 based rom.
It has outdated su app and binary.
Link to rom -> http://forum.xda-developers.com/showthread.php?t=1837056
Kernel it will be 22.07 firekernel, because it's the best in battery life (people want that, and me to)
I will try what Prawesome sayd, then will see.
Why do you need update su binary?
New su binaries are buggy.
Instead try Supersu. Download package from chainfire's original post. And place the files as mentioned by prawesome.
well as explained above u need to place superuser.apk in /system/app & su in /system/xbin and need to set permissions in updater-script as:
set_perm(0, 0, 04755, "/system/app/Superuser.apk");
set_perm(0, 0, 04755, "/system/xbin/su");
BUT
if older superuser.apk & its su binary is present in a kernel and it replaces it on /system at each boot, ramdisk in boot.img needs to be modified and newer files needed to be replaced !
psndna88 said:
well as explained above u need to place superuser.apk in /system/app & su in /system/xbin and need to set permissions in updater-script as:
set_perm(0, 0, 04755, "/system/app/Superuser.apk");
set_perm(0, 0, 04755, "/system/xbin/su");
BUT
if older superuser.apk & its su binary is present in a kernel and it replaces it on /system at each boot, ramdisk in boot.img needs to be modified and newer files needed to be replaced !
Click to expand...
Click to collapse
I will try that.
First i will try the simple one, with updater-script, if doesn't work, i will ask for help in ramdisk replacement !
Big thanx folks !
Try goo.im for the APK.
Sent from my GT-S5830 using Tapatalk 2
Prawesome said:
Take super user.apk and put it in /system/app
Then,take su bin file
Set perms for them in updater script..
Just refer the root package..
I am a potato, problem?
Click to expand...
Click to collapse
The kernel will flash another version at installation ... Só it has to be changed on the kernel mate
Sent from my GT-S5830 using xda premium
Yes, i need help in that ...
Kernel is prerooted (firekernel 22.07)
Can someone please help me with integration ?
Cryss said:
Yes, i need help in that ...
Kernel is prerooted (firekernel 22.07)
Can someone please help me with integration ?
Click to expand...
Click to collapse
Download ketut's tools
Decompile kernel
Decompile ramdisk also if needed
Replace binaries and apk
Controversies,controversies everywhere :what:
Cryss said:
Yes, i need help in that ...
Kernel is prerooted (firekernel 22.07)
Can someone please help me with integration ?
Click to expand...
Click to collapse
I can do that.. v simple .. just attach boot.img
Sent from my GT-S5830 using xda premium
psndna88 said:
I can do that.. v simple .. just attach boot.img
Sent from my GT-S5830 using xda premium
Click to expand...
Click to collapse
Here is it, big thanx man
Cryss said:
Here is it, big thanx man
Click to expand...
Click to collapse
there is no superuser.apk & su in ramdisk of boot.img.........
it might be in fire kernel aroma package somewhere... but definately not there in attached boot.img
psndna88 said:
there is no superuser.apk & su in ramdisk of boot.img.........
it might be in fire kernel aroma package somewhere... but definately not there in attached boot.img
Click to expand...
Click to collapse
Is not in the aroma package ...
What should i do ?
Cryss said:
Is not in the aroma package ...
What should i do ?
Click to expand...
Click to collapse
well it must be in initramfs file (kernel ramdisk )
Sent from my GT-S5830 using xda premium
psndna88 said:
well it must be in initramfs file (kernel ramdisk )
Sent from my GT-S5830 using xda premium
Click to expand...
Click to collapse
Can u help me with that ?
Cryss said:
Can u help me with that ?
Click to expand...
Click to collapse
well just an hr back I was looking into its aroma installer and yes I have some ideas... looking into it
Sent from my GT-S5830 using xda premium
psndna88 said:
well just an hr back I was looking into its aroma installer and yes I have some ideas... looking into it
Sent from my GT-S5830 using xda premium
Click to expand...
Click to collapse
I allready move kernel + files into rom and su hold me to release it ... that's nasty.
But i'll wait for you, no rush
i hope its solved..

[TOOLS] dsixda Kitchen edify file for Nexus 4 (mako) and JB 4.2

Here is the dsixda kitchen edify file I have been using for Nexus 4 (mako).
If using cygwin copy mako file to your cygwin\home\username\tools\edify_defs folder.
Thanks to mskip for mount points
UPDATE:
As promised download the dsixda_JB42.zip and copy the files to the appropriate folder. This will help with Deodexing and by help I mean it will allow all files to be deodexed.
Hi goldfingerfif, first of all thanks a lot for the file, then I would like to use this to build a rom with latest dsixda kitchen release (0.214) but when I’m trying to deodex core.odex I’m getting an error, only with this file, the others works fine. Did you have the same problem? How do you solve it? I tried to do it with api level 16 and 15 but I have the same error. Maybe you did it manually? Or using the kitchen?
Thanks in advance
I'll upload the other changes...I forgot I changed api to 17 and updated smali and baksmali and the version to use file.
Sent from my Nexus 4 using xda app-developers app
Was about to say about updating the smali/baksmali files - I did all that but it was this file I was missing so thanks a lot!
EddyOS said:
Was about to say about updating the smali/baksmali files - I did all that but it was this file I was missing so thanks a lot!
Click to expand...
Click to collapse
Updated OP
goldfingerfif said:
Updated OP
Click to expand...
Click to collapse
Thanks so much!!
Edit: I'm Having troubles with wifi like you with my dsixda's rom, can you tell me how you solved it please?
nitsuajd said:
Thanks so much!!
Edit: I'm Having troubles with wifi like you with my dsixda's rom, can you tell me how you solved it please?
Click to expand...
Click to collapse
I haven't found the script file to add some things that it misses. You can compare the updater-script against mine or I'll post the lines you have to add.
Sent from my Nexus 4 using xda app-developers app
goldfingerfif said:
I haven't found the script file to add some things that it misses. You can compare the updater-script against mine or I'll post the lines you have to add.
Sent from my Nexus 4 using xda app-developers app
Click to expand...
Click to collapse
Thanks dude, you're right!
Exactly these two lines:
Code:
symlink("/data/misc/wifi/WCNSS_qcom_cfg.ini", "/system/vendor/firmware/wlan/prima/WCNSS_qcom_cfg.ini");
symlink("/data/misc/wifi/WCNSS_qcom_wlan_nv.bin", "/system/vendor/firmware/wlan/prima/WCNSS_qcom_wlan_nv.bin");
nitsuajd said:
Thanks dude, you're right!
Exactly these two lines:
Code:
symlink("/data/misc/wifi/WCNSS_qcom_cfg.ini", "/system/vendor/firmware/wlan/prima/WCNSS_qcom_cfg.ini");
symlink("/data/misc/wifi/WCNSS_qcom_wlan_nv.bin", "/system/vendor/firmware/wlan/prima/WCNSS_qcom_wlan_nv.bin");
Click to expand...
Click to collapse
Were you guys using Cygwin when you saw this issue? I know that Cygwin sometimes messes up the symlinks that are not under /system/bin; whereas Linux / OS X are sometimes nicer. In other words, I try not to recommend Cygwin due to these kinds of issues.
@goldfingerfif - thanks for the edify_defs file. I've updated the kitchen to add Nexus 4 support in version 0.216.
I've just added this to the Nexus 4 Complete Index
Sent from my GT-I9100 using xda premium
dsixda said:
Were you guys using Cygwin when you saw this issue? I know that Cygwin sometimes messes up the symlinks that are not under /system/bin; whereas Linux / OS X are sometimes nicer. In other words, I try not to recommend Cygwin due to these kinds of issues.
Click to expand...
Click to collapse
I was using Cygwin
goldfingerfif said:
I was using Cygwin
Click to expand...
Click to collapse
The Windows application that is used to extract the files from the rom has an issue because it removes the symlinks. You will not see this happen in Linux or OS X. However, I have fixed your problem for those specific files in Cygwin.
dsixda said:
The Windows application that is used to extract the files from the rom has an issue because it removes the symlinks. You will not see this happen in Linux or OS X. However, I have fixed your problem for those specific files in Cygwin.
Click to expand...
Click to collapse
Yes I just picked up a 120gb ssd and going to dual boot with Linux as it will make life with android so much easier.
Sent from my Nexus 4 using xda app-developers app

[Guide][scrip][app] to boost your phone :)

Hi .. in this tutorial i will show
you how to boost our phone 'already tried it in (SGA , SGA-i , sgy , sg pocket and stock 2.3.6) with no lags :good:
What do you need :
= Brain (of course):silly:
Ok Let start
Open the zip file
1: Copy the a_what , b_the &
c_f***.txt [its a script] and
paste in /system /etc /init.d
2: Push the 3_111xxx3.apk and
3_111xxx4.apk in " /system /app "
using ROOT EXPLORER ...
3: open the SCRIPT OF MINE.txt
[to add some performance] and
copy and paste it in the "BUTTOM"
of your BUILD.prop .
Last but not the least
4: open the FOR_BUILD.PROP.txt
copy and paste it Between " #3G
NETWORK and #NETWORK" inside
of the BUILD.PROP ...
if you dont have 3G NETWORK &
NETWORK in your build.prop PASTE
It in the buttom ..
And Reboot
ok thats all ....
Good luck and have a nice day :victory:
anyway this is my 2nd account ' the first account i forget the username and password. sad.
if you dont understand my tutorial
you can post on the comment box '(i will answered it as long as i can)
Pretty Cool Bro! Thanks for sharing!
Sent from my GT-S5830i using XDA Free mobile app
Pretty Cool Bro! Thanks for
sharing!
Sent from my GT-S5830i using
XDA Free mobile app
My pleasure
I can't do that.... I don't know "BUTTOM" mean, and can't find "3G network" or "Network" in my build.prop.
You mean copy text in your scrip or your scrip (step 3 4)?
Build.prop in /system ?
Did you set permissions for 2 app?
Please guide with pictures or video
anh0d4-vn said:
I can't do that.... I don't know "BUTTOM" mean, and can't find "3G network" or "Network" in my build.prop.
You mean copy text in your scrip or your scrip (step 3 4)?
Build.prop in /system ?
Did you set permissions for 2 app?
Please guide with pictures or video
Click to expand...
Click to collapse
if you dont have any 3G network & network .. paste it in the buttom inside build.prop
yeah copy it in /system /etc /init.d
yes . i set permission of that 2 app ..
Done all the steps, smooth as fvck
,but no WiFi =( , reverted back to new rom
Sent from my GT-S5830i using XDA Free mobile app
eiPeiDweP said:
Done all the steps, smooth as fvck
,but no WiFi =( , reverted back to new rom
Sent from my GT-S5830i using XDA Free mobile app
Click to expand...
Click to collapse
Sad ... did you use #dashmmod? if yes then paste my Script of mine.txt before the #dashMMod
i also forgt my password of my 1st account its 2nd or 3d one :laugh::laugh:
You make this?
vainxs said:
You make this?
Click to expand...
Click to collapse
yeah why ?
hearthrob07 said:
yeah why ?
Click to expand...
Click to collapse
Cool Im interested on how this work, what It really does?
vainxs said:
Cool Im interested on how this work, what It really does?
Click to expand...
Click to collapse
Read the OP and follow the instruction
add some performance to your phone ...
10332
hearthrob07 said:
Read the OP and follow the instruction
add some performance to your phone ...
Click to expand...
Click to collapse
You could just say "It install adrenaline engine+thunderbolt+supercharger, change the RAM graphic and add a sedder" or something, no that...
Should I flash the Dash-M uninstaller before installing this?
indospot said:
Should I flash the Dash-M uninstaller before installing this?
Click to expand...
Click to collapse
no ~
Wifi doesn't work when switching form 3G to wifi, only works after rebooting.
Ummm, I've view your running services and there's no alot running foreground app. Aren't it's weird?
Sent from my GT-S5830i using Tapatalk 2
can i use this on touchwiz ressurected rom with ragael baugis kernel and cronmod script unoffivial + data ext?
working on Kit Kat 4.4.4 ????
it works.
but GPS don't work after :S

Categories

Resources