Attend XDA's Second Annual Developer Conference, XDA:DevCon 2014!
5,737,741 Members 47,177 Now Online
XDA Developers Android and Mobile Development Forum

OneFlash Init.d

Tip us?
 
lozohcum
Old
#21  
lozohcum's Avatar
Senior Member
Thanks Meter 1219
Posts: 1,412
Join Date: Jan 2013
Location: Internety
Quote:
Originally Posted by kurotsugi View Post
I thought that you originally develop this tweak but it now becomes clear that you're not the one who create this tweak. the inconsistence between how this tweak work and your explanation suggest that you take someone's work without knowing how it works. what you do was modifying the installer script to make it fit with your device. I think I shall take my leave now :3
.
that happens many times in this forum (j-e)
I don't reply PM if the answer is on the forum.


 
UltraGamerHD
Old
#22  
UltraGamerHD's Avatar
Senior Member - OP
Thanks Meter 744
Posts: 823
Join Date: Aug 2013
Quote:
Originally Posted by kurotsugi View Post
if that true it means you have messed up the init.d implementation :3
luckily, it isn't. you do nothing with the ramdisk. your updater-sript honestly say that your tweak has nothing related with the ramdisk
Code:
Select Code
ui_print("One Flash Init.d");
ui_print("UltraGamerHD @ XDA-Developers");
mount("ext4", "EMMC", "/dev/block/mmcblk0p11", "/system");
package_extract_dir("system", "/system");
set_perm(0, 2000, 0755, "/system/bin/sysinit");
set_perm(0, 2000, 0777, "/system/xbin/run-parts");
set_perm_recursive(0, 0, 0777, 0777, "system/etc/init.d");
ui_print("Update Complete. Enjoy!");
unmount("/system");
anyway, what I do was giving suggestion to improve it and make it better but it seems that you think that I'm offending you. at the first, I thought that you originally develop this tweak but it now becomes clear that you're not the one who create this tweak. the inconsistence between how this tweak work and your explanation suggest that you take someone's work without knowing how it works. what you do was modifying the installer script to make it fit with your device. I think I shall take my leave now :3

NOTE: for other user who found this thread
1. don't use it on CM/AOSP rom. they have different init.d implementation and this tweak will ruin it.
2. if you're using superSU, check if you have /etc/install-recovery.sh. don't use it if you already have that file in your system
3. this tweak only tested on E. be cautious if you're using tipo, miro, or J.
Haha

Your not going to find it in the zip file. You have to decompile the kernel specifically Zues Kernel. Then check in the file init and that is what executes sysint. Just the Way in Vengeance Kernel. This just copy's sysint which executes install-recovery.sh which in turn executes the init.d scripts. Don't assume things.

Sent from my C1505 using Tapatalk
My Device

Sony Xperia E (C1505)

Bootloader Status: Yes

ROM: Cyanogen Mod 11 (4.4.2)
 
UltraGamerHD
Old
#23  
UltraGamerHD's Avatar
Senior Member - OP
Thanks Meter 744
Posts: 823
Join Date: Aug 2013
Quote:
Originally Posted by kurotsugi View Post
if that true it means you have messed up the init.d implementation :3
luckily, it isn't. you do nothing with the ramdisk. your updater-sript honestly say that your tweak has nothing related with the ramdisk
Code:
Select Code
ui_print("One Flash Init.d");
ui_print("UltraGamerHD @ XDA-Developers");
mount("ext4", "EMMC", "/dev/block/mmcblk0p11", "/system");
package_extract_dir("system", "/system");
set_perm(0, 2000, 0755, "/system/bin/sysinit");
set_perm(0, 2000, 0777, "/system/xbin/run-parts");
set_perm_recursive(0, 0, 0777, 0777, "system/etc/init.d");
ui_print("Update Complete. Enjoy!");
unmount("/system");
anyway, what I do was giving suggestion to improve it and make it better but it seems that you think that I'm offending you. at the first, I thought that you originally develop this tweak but it now becomes clear that you're not the one who create this tweak. the inconsistence between how this tweak work and your explanation suggest that you take someone's work without knowing how it works. what you do was modifying the installer script to make it fit with your device. I think I shall take my leave now :3

NOTE: for other user who found this thread
1. don't use it on CM/AOSP rom. they have different init.d implementation and this tweak will ruin it.
2. if you're using superSU, check if you have /etc/install-recovery.sh. don't use it if you already have that file in your system
3. this tweak only tested on E. be cautious if you're using tipo, miro, or J.
BTW it does say in the OP stock JB

Sent from my C1505 using Tapatalk
My Device

Sony Xperia E (C1505)

Bootloader Status: Yes

ROM: Cyanogen Mod 11 (4.4.2)
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes


XDA PORTAL POSTS

Android 4.4.3 Begins Rolling Out to European HTC One M8

Shortly after the USA Unlocked and Developer Editions of the HTC One M8 received the … more

Modernize Your Emails with Email Popup

SMS andHangouts messages likely won’t ever replace traditional Emails for more formal … more

Change Your Toast Notification Style with XToast

Android uses multipletypes of notifications. One of these isknown as a toast notification. … more

Port Sony Xperia Themes to CyanogenMod 11 with Ease

In addition the obvious proficiency with graphics, creating agood Android theme … more