Google Confirms “Android Lollipop Day” for November 3rd

A little over a week ago, Google announced the latest iteration of … more

Get Your XDA 2015 Custom Avatar and Signature Images Here

As stated in our motto, XDA Developer is for developers, by developers. The … more

Pin Your Photos on Android Lollipop with Photo Pinner

In the last few weeks,we have been talking quite a bit about Android 5.0 Lollipop. This … more

Samsung Galaxy Note Edge Hands On – XDA TV

Perhaps one of the more peculiar announcements this year was the curved edge-screened … more
Post Reply

OneFlash Init.d

OP UltraGamerHD

12th March 2014, 07:06 AM   |  #21  
lozohcum's Avatar
Senior Member
Flag Internety
Thanks Meter: 1,417
 
1,579 posts
Join Date:Joined: Jan 2013
More
Quote:
Originally Posted by kurotsugi

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)
13th March 2014, 12:40 AM   |  #22  
UltraGamerHD's Avatar
OP Senior Member
Thanks Meter: 859
 
890 posts
Join Date:Joined: Aug 2013
More
Quote:
Originally Posted by kurotsugi

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:
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
13th March 2014, 12:42 AM   |  #23  
UltraGamerHD's Avatar
OP Senior Member
Thanks Meter: 859
 
890 posts
Join Date:Joined: Aug 2013
More
Quote:
Originally Posted by kurotsugi

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:
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
Post Reply Subscribe to Thread
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes


Top Threads in Xperia Miro, Tipo (Dual), J, E Android Development by ThreadRank