No views? Cmon
mount("MTD", "system", "/system");
package_extract_file("redbend_ua", "redbend_ua");
package_extract_file("zImage", "zImage");
set_perm(0, 0, 0755, "redbend_ua");
run_program("redbend_ua", "restore", "zImage", "/dev/block/bml7");
(from voodoo script, working for me)
Okay, will try to mount system first. But i dont think that this is the error -.-
And the other lines are the same from mine...
Doesnt work. Still the same error...
Exchanged the update-binary with the one from Voodoo and now it works. ****, i have to learn how to compile my own update-binary. Help in this?
I'm attempting to make an install script for a couple of mods just as before on the Droid X. Unfortunately I'm getting different errors at different times. One of the errors is (Status 0)... and the other is (Status 6).
Also, Mount says that it expects 4 args, got 3.
What changed?
nitro66215 said:
I'm attempting to make an install script for a couple of mods just as before on the Droid X. Unfortunately I'm getting different errors at different times. One of the errors is (Status 0)... and the other is (Status 6).
Also, Mount says that it expects 4 args, got 3.
What changed?
Click to expand...
Click to collapse
You need to use the right Syntax to mount /system . Best way... Busybox.
run program("/sbin/busybox" , "mount", "/system");
DroidTh3ory said:
You need to use the right Syntax to mount /system . Best way... Busybox.
run program("/sbin/busybox" , "mount", "/system");
Click to expand...
Click to collapse
So... I've tried this.... and I get....
Error in /sdcard/update.zip
(Status 6)
For Shi*s and giggles... I just did a test script.
ui_print(" ");
ui_print("Mount Bionic Script...");
run_program("/sbin/busybox", "mount", "/system");
ui_print("Doing Something.......");
ui_print("Installing Files");
ui_print(" ");
ui_print("** Unmounting System **");
unmount("/system");
This errors out. I have the META-INF folder from another Bionic update that someone else created, so I'm assuming that the files within (other than the script) will work as is.
Here is my mod script and update-binary. Make the appropriate folders for your mod and give it a go.
Case and spacing is essential as I am sure you know.
3G ICON VISUAL FIX
DroidTh3ory said:
Here is my mod script and update-binary. Make the appropriate folders for your mod and give it a go.
Case and spacing is essential as I am sure you know.
3G ICON VISUAL FIX
Click to expand...
Click to collapse
ui_print(" ");
show_progress(0.800000, 35);
ui_print(" ");
ui_print("** Mounting this ***** **");
run_program("/sbin/busybox", "mount", "/system");
ui_print(" ");
ui_print("** Installing Your MOD **");
ui_print(" ");
ui_print("** Unmounting System, Rock Out!! **");
unmount("/system");
show_progress(0.050000,0);
Ugh... same error. I only deleted your package extract. I'm using 7-zip and just doing store. Is that still the preferred method?
nitro66215 said:
ui_print(" ");
show_progress(0.800000, 35);
ui_print(" ");
ui_print("** Mounting this ***** **");
run_program("/sbin/busybox", "mount", "/system");
ui_print(" ");
ui_print("** Installing Your MOD **");
ui_print(" ");
ui_print("** Unmounting System, Rock Out!! **");
unmount("/system");
show_progress(0.050000,0);
Ugh... same error. I only deleted your package extract. I'm using 7-zip and just doing store. Is that still the preferred method?
Click to expand...
Click to collapse
What is it installing if there is no package extract?
I don't use 7zip, I just compress in linux... Couldn't really say in that.
DroidTh3ory said:
What is it installing if there is no package extract?
I don't use 7zip, I just compress in linux... Couldn't really say in that.
Click to expand...
Click to collapse
I plan on doing the install later, but I just wanted to do a test script without install. Just some "Hello World" text to make sure I got something going on.
I even just did that....
ui_print("Hello World");
Gave me the same error!
Ok.... so.... It is now working after a reboot of Recovery. Don't ask me why. And I am using standard windows zipping.
I've created the template needed for Dsixda's kitchen, rename (remove .txt) the attached file to m7wls & place in the \kitchen\tools\edify_defs folder
[KITCHEN] Android Kitchen, v0.223 [Linux / Mac / Windows]
one thing I should point out....using the latest TWRP, a ROM created w/ this kitchen will not flash. You will need to replace the update-binary in \META-INF\com\google\android. See the attached file (remove the .zip).
also, you'll want to update the updater-script to replace the format /system cmd to:
format("ext4", "EMMC", "/dev/block/mmcblk0p37", "0", "/system");
...
FIRST!! Thanks bro
O.M.J said:
I've created the template needed for Dsixda's kitchen, rename (remove .txt) the attached file to m7wls & place in the \kitchen\tools\edify_defs folder
[KITCHEN] Android Kitchen, v0.223 [Linux / Mac / Windows]
...
Click to expand...
Click to collapse
Thank you!
O.M.J said:
I've created the template needed for Dsixda's kitchen, rename (remove .txt) the attached file to m7wls & place in the \kitchen\tools\edify_defs folder
[KITCHEN] Android Kitchen, v0.223 [Linux / Mac / Windows]
...
Click to expand...
Click to collapse
This might be a stupid question... but since i havent used a kitchen since my htc diamond days i figured i would ask. Are kernels compiled from binaries in the kitchen or is it more like the old school kitchens where you just pick the options.
sybe said:
This might be a stupid question... but since i havent used a kitchen since my htc diamond days i figured i would ask. Are kernels compiled from binaries in the kitchen or is it more like the old school kitchens where you just pick the options.
Click to expand...
Click to collapse
You cant compile the kernel with the kitchen, You can make some changes to the ramdisk and swap out the zimage.
Thanks for this man! :thumbup:
Sent from my HTCONE using Tapatalk 2
Hi to ALL
i m yamil
i use dsixda kitchen to cook a rom for one sprint but.. users reported Recovery fail..
i let here my updater script, it has no aroma, if somebody can help me will be great
Here is link of my script http://d-h.st/M0f
Thanks in advance
dragonesdenano said:
Hi to ALL
i m yamil
i use dsixda kitchen to cook a rom for one sprint but.. users reported Recovery fail..
i let here my updater script, it has no aroma, if somebody can help me will be great
Here is link of my script http://d-h.st/M0f
Thanks in advance
Click to expand...
Click to collapse
Have you added the HTC ONE template OMJ posted the the kitchen?
It should look like this
Code:
mount("ext4", "EMMC", "/dev/block/mmcblk0p39", "/data");
package_extract_dir("data", "/data");
format("ext4", "EMMC", "/dev/block/mmcblk0p37", "0", "/system");
mount("ext4", "EMMC", "/dev/block/mmcblk0p37", "/system");
delete_recursive("/system");
package_extract_dir("system", "/system");
You dont this. Delete that file/folder from the zip
Code:
package_extract_file("check_data_app", "/tmp/check_data_app");
set_perm(0, 0, 0777, "/tmp/check_data_app");
run_program("/tmp/check_data_app");
Add these lines to fix the Paid app issue in the playstore
Code:
symlink("/system/lib/modules/moc_crypto.ko.3.4.10","/system/lib/modules/moc_crypto.ko");
symlink("/system/lib/modules/moc_platform_mod.ko.3.4.10","/system/lib/modules/moc_platform_mod.ko");
This will flash the boot.img , No need for the method your using
Code:
package_extract_file("boot.img", "/tmp/boot.img");
run_program("/sbin/busybox", "dd", "if=/tmp/boot.img", "of=/dev/block/mmcblk0p33");
delete("/tmp/boot.img");
benny3 said:
Have you added the HTC ONE template OMJ posted the the kitchen?
It should look like this
Code:
mount("ext4", "EMMC", "/dev/block/mmcblk0p39", "/data");
package_extract_dir("data", "/data");
format("ext4", "EMMC", "/dev/block/mmcblk0p37", "0", "/system");
mount("ext4", "EMMC", "/dev/block/mmcblk0p37", "/system");
delete_recursive("/system");
package_extract_dir("system", "/system");
You dont this. Delete that file/folder from the zip
Code:
package_extract_file("check_data_app", "/tmp/check_data_app");
set_perm(0, 0, 0777, "/tmp/check_data_app");
run_program("/tmp/check_data_app");
Add these lines to fix the Paid app issue in the playstore
Code:
symlink("/system/lib/modules/moc_crypto.ko.3.4.10","/system/lib/modules/moc_crypto.ko");
symlink("/system/lib/modules/moc_platform_mod.ko.3.4.10","/system/lib/modules/moc_platform_mod.ko");
This will flash the boot.img , No need for the method your using
Code:
package_extract_file("boot.img", "/tmp/boot.img");
run_program("/sbin/busybox", "dd", "if=/tmp/boot.img", "of=/dev/block/mmcblk0p33");
delete("/tmp/boot.img");
Click to expand...
Click to collapse
Thank you very much for the amazing help.
I did, i ve added to the kitchen.... Anyway will check all again.
Thanks again
SkyDragon© You Are Not Allow To Lick My Banner, Stay Away!
dragonesdenano said:
Thank you very much for the amazing help.
I did, i ve added to the kitchen.... Anyway will check all again.
Thanks again
SkyDragon© You Are Not Allow To Lick My Banner, Stay Away!
Click to expand...
Click to collapse
I hope that helped you out.
I'm adding this to the OP....
one thing I should point out....using the latest TWRP, a ROM created w/ this kitchen will not flash. You will need to replace the update-binary in \META-INF\com\google\android. See the attached file (remove the .zip).
also, you'll want to update the updater-script to replace the format /system cmd to:
format("ext4", "EMMC", "/dev/block/mmcblk0p37", "0", "/system");
Hi guys.
I've been trying to install the mighty HoloBlur but I'm unable to. I get error:
set_perm: some changes failed (status 7)
Now, I readed the updater-script and noticed a reference to a file named fixperm.sh. The line says the following:
package_extract_file("system/etc/releasetools/fixperm.sh", "/tmp/fixperm.sh");
set_perm(0, 0, 0777, "/tmp/fixperm.sh");
I looked at that directory on the .zip but didn't find the releasetools folder. Neither the fixperm.sh file.
I deleted that line and another reference to that file, and it advanced. Next I had to modify this line:
format("ext4", "EMMC", "/dev/block/platform/msm_sdcc.1/by-name/system", "/system");
It said that I needed 5 parameters and was only giving 4. I modified it to this:
format("ext4", "EMMC", "/dev/block/platform/msm_sdcc.1/by-name/system", "0", "/system");
And it advanced. But then, error on symlinks:
symlink: some symlinks failed
And because that error didn't specified which ones, I couldn't continue with my quest.
Anybody has an idea how to fix this? Or has a past version of HoloBlur? Original links in the thread don't work. BTW, I'm using Philz Touch 6 with CWM v6.0.4.7
Hey,
I want to mount my LG O4X, but I don't know how I can do this.
What command can I use?
mount("ext4", "EMMC", "?", "/System");
Help please.
MfG Manta