Hi all,
I've been trying to create a simple update.zip signed folder for my HTC Hero.
I have read all different "how to" but still face the same error message "Syntax error in update script"
I have copy/paste the following into the update-script
show_progress 0.1 0
copy_dir PACKAGE:system SYSTEM:
set_perm_recursive 0 0 0755 0644 SYSTEM:app
show_progress 0.1 10
i have create 2 folders.
1. system/app (here i have placed my APK)
2. META-INF/com/google/android/update-script
Now, i have made a ZIP file including the 2 folders.
I am using the autosign.bat and i manually select the ZIP file i created.
Everything is going ok, but then i get the Syntax error in update script when i try to run this using Amon Ra's bootloader.
Any suggestion or ideas?
I did it!!!
The problem was the extra " " space i had on the last script line!
Now, it works!
Another question. Is there a way to sign zip files on OS X?
Can you point me on the right direction pls?
Related
I'm trying to flash roms using clockworks custom recovery.....but everytime. I get to the part when the rom zip file starts copying files to the system I get this error
E:can't chown/mod system/xbin/ipctool
No such file or directory
E:failure at line 67
set_perm 00 04755 SYSTEM:xbin/ipctool
Installation aborted
Thus resulting in me having to restore my backup in order to get the phone working again.....
Hello,
I tried changing my system look with uotkitchen. Everything worked fine until I have the update zip for recovery. I try to flash it via xrecovery 0.3 but it says that there is a syntax error in the update script. Perhaps anybody will find the error:
copy_dir PACKAGE:framework SYSTEM:framework
copy_dir PACKAGE:app SYSTEM:app
copy_dir PACKAGE:system SYSTEM:
Click to expand...
Click to collapse
I'm under android 2.3 with the custom rom in my sig.
Greetings
hi there,
today i got my first android phone motorola defy plus and i´m really stuck on rooting android the whole day.
first, i got ADB, installed and checked if it will find my phone. :good:
then, i downloaded "easy root toolkit and started it via terminal. this is what i got:
CONFIRM ALL THE ABOVE THEN
Press any key to continue...
--- STARTING ----
--- WAITING FOR DEVICE
--- cleaning
rm failed for *, No such file or directory
--- pushing zergRush"
cannot stat 'files/zergRush': No such file or directory
--- correcting permissions
Unable to chmod /data/local/tmp/zergRush: No such file or directory
--- executing zergRush
./data/local/tmp/zergRush: not found
--- WAITING FOR DEVICE TO RECONNECT
if it gets stuck over here for a long time then try:
disconnect usb cable and reconnect it
toggle "USB DEBUGGING" (first disable it then enable it)
--- DEVICE FOUND
--- pushing busybox
cannot stat 'files/busybox': No such file or directory
--- correcting permissions
Unable to chmod /data/local/tmp/busybox: No such file or directory
--- remounting /system
/data/local/tmp/busybox: not found
--- copying busybox to /system/xbin/
/data/local/tmp/busybox: cannot open for read: No such file or directory
--- correcting ownership
Unable to chmod /system/xbin/busybox: No such file or directory
--- correcting permissions
Unable to chmod /system/xbin/busybox: No such file or directory
--- installing busybox
/system/xbin/busybox: not found
rm failed for /data/local/tmp/busybox, No such file or directory
--- pushing SU binary
cannot stat 'files/su': No such file or directory
--- correcting ownership
Unable to chmod /system/bin/su: No such file or directory
--- correcting permissions
Unable to chmod /system/bin/su: No such file or directory
--- correcting symlinks
rm failed for /system/xbin/su, Read-only file system
link failed Read-only file system
--- pushing Superuser app
cannot stat 'files/Superuser.apk': No such file or directory
--- cleaning
rm failed for *, No such file or directory
--- rebooting
ALL DONE!!!
Click to expand...
Click to collapse
i really got no chance to root my phone via windows pc so i was going to ask for help here.
my defy+ is running following software:
2.3.4.
Build: 4.5.1.-134_DFP-74
Baseband EPU93_U_00.60.00
thank you very much in advance for your help.
try this tool maybe will help you http://forum.xda-developers.com/attachment.php?attachmentid=1235958&d=1343854436
on my defy red bl4 it work
with this tool (if it work on your defy+) can check bl version, can root and can install bootmenu
I just got my Defy+ rooted by following this http://forum.xda-developers.com/showthread.php?t=1820282
Actually i couldnt get it rooted by my self, but i flashed SBF that was rooted allready.
vaserbanix said:
try this tool maybe will help you http://forum.xda-developers.com/attachment.php?attachmentid=1235958&d=1343854436
on my defy red bl4 it work
with this tool (if it work on your defy+) can check bl version, can root and can install bootmenu
Click to expand...
Click to collapse
yeah. great.
but this is an executable and osx does not support exe-files.
so both methods are not suitable for OSX
Hi I followed the method here: http://forum.xda-developers.com/showpost.php?p=48709232 and http://forum.xda-developers.com/showthread.php?p=45692679#post45692679
Unfortunately, the automatic rooting is not working, its say something see AUTOROOT MESSAGE BELOW . So I took the manual method but on Step 12:
12: adb shell "sync;mount -o remount,ro /system"
It says mount: Device or resource busy
So what should I do? Thanks
====AUTOROOT MESSAGE =======================================================================
Mounting system, pushing su binary and installing SuperSu...
2244 KB/s (1085140 bytes in 0.472s)
cp: can't create '/system/xbin/busybox': Read-only file system
failed to copy 'su' to '/system/xbin/daemonsu': Read-only file system
cp: can't stat '/system/xbin/daemonsu': No such file or directory
failed to copy 'install-recovery.sh' to '/system/etc/install-recovery.sh': Read-
only file system
failed to copy 'Superuser.apk' to '/system/app/Superuser.apk': Read-only file sy
stem
Unable to open /system/xbin/su: No such file or directory
Rebooting Phone.
***************************************************
***************************************************
You should hopefully now be fully rooted!!
Wait for your device to reboot and continue
with ioroot script to backup EFS...
***************************************************
***************************************************
/sdcard/modemst1.img: cannot open for write: Read-only file system
/sdcard/modemst2.img: cannot open for write: Read-only file system
remote object '/sdcard/modemst1.img' does not exist
remote object '/sdcard/modemst2.img' does not exist
OK, So I'm developing this app Specifically for CyanogenMod that Copies a few apps and Sound Libraries to a few Different folders in /System. After the Files download into a folder in the Internal Storage of the Device (An LG L90 running CyanogenMod 13), /SDCard/CmSoundMod, it extracts all the zip files into /SDCard/CmSoundMod/unzipped/*Library Name Goes Here*/ with a separate folder for each Library. I'm trying to copy an example file from /SDCard/CmSoundMod/unzipped/SystemFiles/sample.txt to /System to test it out but All the Methods I know are not working! Ive tried using
Code:
Process p = Runtime.getRuntime().exec("su", "cp -r sdcard/CmSoundMod/unzipped/SystemFiles/sample text /System");
(I mounted System RW, and Remounted RO when finished this is just the main code used for copying)
Can some one point me to a piece of code that works for them? (Java)
Thanks!
try with this:
Code:
Process p = Runtime.getRuntime().exec("su", "cp -r sdcard/CmSoundMod/unzipped/SystemFiles/sample[color=red]\[/color] text /System");
the android terminal is based on the Unix terminal. and in a Unix terminal the space in the name of file or folders is not recognized, you need to replace it with "\ ".
sorry I made a mistake:
Java does not recognize the back Slash then you replace '\' by:
Code:
\\
I try on my device me it works!
Code:
Process p = Runtime.getRuntime().exec("su", "cp -r sdcard/CmSoundMod/unzipped/SystemFiles/sample[color=red][b]\\[/b][/color] text/System");