Init.d - Sony Xperia P, U, Sola, Go

what is the right permissions for a init.d script? any flashable init.d scripts for GB Xperia U? thankss! ))

AW: Init.d
Maybe this Tweaks-Script-Collection Thread can help you: http://forum.xda-developers.com/showthread.php?p=27389008
There are also init.d tweaks in it.
Hope it helped
Sent from my XperiaU

I believe most files work fine with 755 permissions but 777 is the safest bet The important part is the +xr flag so anything above 5 should be enough for any Group

Related

[Q] init.d tweaks conflict?

Im using V5 tweaks by [email protected] I had some Questions..
Will the script work in my init.d if two scripts have BOTH similar numbering??
for EX:
05mountsd and
05netspedd
06loopy_smothness
06mountdl
--conflict or not?---
is there any conflict regarding about same numbering in init.d??
please if anyone knows about this, kindly reply,
all i can give in return is by hitting THANKS for you..

[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)

[FIX][Active] Undo bootloop caused by KickAssKernelizer I/O Tweaks

This is my first post here at XDA.
If you experience bootloops in your Xperia™ active after enabling I/O tweaks in KickAssKernelizer by zeppelinrox, flash the attached zip file in CWM Recovery. I am not sure if this will work with other Xperia™ 2011 devices, but for as long as the init.d directory is present, I think this fix should work.
Note:
The update-script will just simply delete the file S98KickAssKernel in init.d directory.
If you want to use ADB, just use this command:
Code:
adb shell rm /system/etc/init.d/S98KickAssKernel
-RLouis
Xperia ST17i
Stock ICS 4.1.B.0.431 (tweaked and supercharged)
MESA v1.7
wrong place. nice job btw !
Sparksys said:
wrong place. nice job btw !
Click to expand...
Click to collapse
Thanks dude! But I can't post in "Xperia Mini & Mini Pro & Active Android Development" section

Please help for changed SElinux to permissive

Hi, I'm a beginner and I would like to know how to get SElinux in permissive on my SM-850F. I tried many things without success. Thank you for your help.
ludogaut14 said:
Hi, I'm a beginner and I would like to know how to get SElinux in permissive on my SM-850F. I tried many things without success. Thank you for your help.
Click to expand...
Click to collapse
It shall be done via kernel re-compilation from sources, ramdisk tweak and build.prop entry. This is the only way till now. As I can tell, there's also a feature in "wanam exposed" - security but I don't think it will work (still in beta). So, watch for a "custom touchwiz kernel" in Android Development section....
EDIT: or flash Eudemony ROM
"Init.d Software Support
Insecure Stock Kernel with Init.d Support"
freaksamael said:
It shall be done via kernel re-compilation from sources, ramdisk tweak and build.prop entry. This is the only way till now. As I can tell, there's also a feature in "wanam exposed" - security but I don't think it will work (still in beta). So, watch for a "custom touchwiz kernel" in Android Development section....
EDIT: or flash Eudemony ROM
"Init.d Software Support
Insecure Stock Kernel with Init.d Support"
Click to expand...
Click to collapse
Thanks you for your help.
I have already try the eudomony rom but not find a script that works.
ludogaut14 said:
Thanks you for your help.
I have already try the eudomony rom but not find a script that works.
Click to expand...
Click to collapse
try this content as init.d script; I have-it on a rooted tablet (not alpha) and it works. name of the script - 01disable_selinux.
Before trying, please be sure (mandatory) that:
- the paths for the files are correct (/sys/fs/selinux/enforce) - (I have-it on my unrooted Alpha)
- busybox is installed in /system/xbin
- 01disable_selinux file must be created in Notepad++ ( UNIX Mode)
- proper init.d permissions are applied
- you use a "SELinux disable" Kernel
#!/system/bin/sh
/system/xbin/busybox chmod 777 /sys/fs/selinux/enforce
/system/xbin/echo "0" > /sys/fs/selinux/enforce
Attached you'll find my init.d script (pls remove .txt extension); if you agree with the content :laugh: just put it in your init.d folder and set proper permission for it (777). Reboot & report back.
freaksamael said:
try this content as init.d script; I have-it on a rooted tablet (not alpha) and it works. name of the script - 01disable_selinux.
Before trying, please be sure (mandatory) that:
- the paths for the files are correct (/sys/fs/selinux/enforce) - (I have-it on my unrooted Alpha)
- busybox is installed in /system/xbin
- 01disable_selinux file must be created in Notepad++ ( UNIX Mode)
- proper init.d permissions are applied
- you use a "SELinux disable" Kernel
#!/system/bin/sh
/system/xbin/busybox chmod 777 /sys/fs/selinux/enforce
/system/xbin/echo "0" > /sys/fs/selinux/enforce
Attached you'll find my init.d script (pls remove .txt extension); if you agree with the content :laugh: just put it in your init.d folder and set proper permission for it (777). Reboot & report back.
Click to expand...
Click to collapse
Hi, I did your advice but do not work. 00test init.d ok, 01disable_selinux not work, "getenforce" always "enforcing". I wait a good person makes a kernel with SELinux permissive and KNOX desactived. Thank you very much for your advice and excuse me for my english.

[kernel][stock][D85520P][init.d][bumped][SELinux permissive] -- SEXY

I wanted to share with you these two simples kernels based on the D85520P, I changed it just to implement the init.d support, for using it with stock rom. Of course, I also have Bumped them.
There are differents ways to proceed, and two points of possible inputs to activate init.d. This can indeed be done directly in the kernel, in ramdisk, or in the system.
For my part, to do this, I modified in two differents ways, the kernel D85520P (ramdisk), that I provide for those who are interested.
The first one uses run-parts, applet typically provided with busybox, and it therefore requires busybox installed on your system. Prioritize it, if you use a busybox that manages run-parts.
The second does not require any third party and will work without special prerequisites.
Both created, at the boot, if it does not exist, the init.d directory with the correct permissions (system/etc/init.d chmod 755).
Theses very simples kernel modificiations, are part of a project on which we work at our own pace, and for the fun, me and @jac10000 .
This unpretentious project will try to make a series of more or less customized , optimized, stock-based rom.
We called this series, our Stock EXperience (for) You (SEXY) ROM
That is why these two simples modified kernels have this name too
These kernels are only for using with pure stock rom:
They are in img format, and can be flashed with TWRP after selecting this format
Kernel D85520P bumped and with ramdisk implementing init.d using run-parts (busybox with run-parts is required):
https://www.androidfilehost.com/?fid=23991606952611236
or
Kernel D85520P bumped and with ramdisk implementing init.d without prerequisites:
https://www.androidfilehost.com/?fid=23991606952611243
in addition, our first version of the SEXY 20P rom can be found here (It doesn't contain init.d implementation nor other customisation, it's just the pure stock prerooted 20P with busybox):
Stock EXperience (for) You -- SEXY rom V1
and original 20P kernel just bumped, without any change:
https://www.androidfilehost.com/?fid=23991606952604603
UPDATE 05/30/15:
To satisfy a solicitation made to me (http://forum.xda-developers.com/showpost.php?p=61059947&postcount=4), I made two other versions which include setting permissive SELinux.
Two versions:
One including init.d with run-parts (requires busybox)
The other with no particular prerequisites.
Setting permissive SELinux is made in the ramdisk before init.d.
init-d with run-parts (for busybox users) and set permissive SELlinux:
https://www.androidfilehost.com/?fid=23991606952612236
md5: 2b068d36a0191df5af63eb90461f4297
init.d without particular prerequites and set permissive SELlinux:
https://www.androidfilehost.com/?fid=23991606952612230
md5: 091621d8fc0d1c494f3fd71321c20693
Thank's and credits:
@Chainfire for supersu
@Cloudyfa for his script sh supersu and busybox install and permission to use it.
@thecubed, @autoprime and codefire team pour bump!
@Skin1980 for his live bump @thecubed for his [Tool][python] LG Compressed KDZ Extractor
@cybojenix for his (system merger)
@bullghost for his windows GUI version KDZ and TOT Extractor
@osm0sis for his Android Image Kitchen - Unpack/Repack Kernel Ramdisk [Win/Android/Linux]
Nice work my friend :good:
Nice! Good luck with development. Gonna try the rom when it's ready.
Plz feedback for life battery..tnx
jojobans said:
Plz feedback for life battery..tnx
Click to expand...
Click to collapse
m8, kernel is just released.
No one can give feedback with few hours of use.
you have to fully charge 1 or 2 times for conclusion
jojobans said:
Plz feedback for life battery..tnx
Click to expand...
Click to collapse
Also if you read his posts he said its a stock kernel with init.d support how battery could be different than stock kernel?
About SELinux permissive request:
http://forum.xda-developers.com/showpost.php?p=61058876&postcount=3
OP UPDATED:
To satisfy a solicitation made to me (http://forum.xda-developers.com/showpost.php?p=61059947&postcount=4), I made two other versions which include setting permissive SELinux.
Two versions:
One including init.d with run-parts (requires busybox)
The other with no particular prerequisites.
Setting permissive SELinux is made in the ramdisk before init.d.
init-d with run-parts (for busybox users) and set permissive SELlinux:
https://www.androidfilehost.com/?fid=23991606952612236
md5: 2b068d36a0191df5af63eb90461f4297
init.d without particular prerequites and set permissive SELlinux:
https://www.androidfilehost.com/?fid=23991606952612230
md5: 091621d8fc0d1c494f3fd71321c20693
Thank you... i searched for a Stock Kernel with only init.d support ... keep it up...
Stock kernel with permissive and init.d without any other tweaks..
Thank you, maybe this is what I need
How to install it? Need to flash via ADB?
dantezinn said:
How to install it? Need to flash via ADB?
Click to expand...
Click to collapse
What about reading the op?

Categories

Resources