[Q] How do you create an Edify Script - Samsung Galaxy Nexus

I have been trying to figure this out for the past few days and I am stuck. I would like to create a simple updateable zip which I can run after flashing a new rom. The important bits are
Code:
delete("/system/media/audio/ui/camera_click.ogg");
delete("/system/media/audio/ui/camera_focus.ogg");
delete("/system/media/bootanimation.zip");
delete("/system/app/Bubbles.apk");
delete("/system/app/Galaxy4.apk");
delete("/system/app/FireworkWallpaper.apk");
delete("/system/app/LiveWallpapers.apk");
delete("/system/app/LiveWallpapersPicker.apk");
delete("/system/app/MagicSmokeWallpapers.apk");
delete("/system/app/NoiseField.apk");
delete("/system/app/PhaseBeam.apk");
delete("/system/app/VisualizationWallpapers.apk");
First I tried this http://fokke.org/site/content/howto-create-android-updatezip-package
When I went to run it and learned this method is way odd and depricated.
Next I tried this http://forum.xda-developers.com/showthread.php?t=903598 and I get an installation aborted message when I run the zip.
Lastly I tried this http://forum.xda-developers.com/showthread.php?t=966468 and I get the same installation aborted message.
Any ideas?

lethologica said:
I have been trying to figure this out for the past few days and I am stuck. I would like to create a simple updateable zip which I can run after flashing a new rom. The important bits are
Code:
delete("/system/media/audio/ui/camera_click.ogg");
delete("/system/media/audio/ui/camera_focus.ogg");
delete("/system/media/bootanimation.zip");
delete("/system/app/Bubbles.apk");
delete("/system/app/Galaxy4.apk");
delete("/system/app/FireworkWallpaper.apk");
delete("/system/app/LiveWallpapers.apk");
delete("/system/app/LiveWallpapersPicker.apk");
delete("/system/app/MagicSmokeWallpapers.apk");
delete("/system/app/NoiseField.apk");
delete("/system/app/PhaseBeam.apk");
delete("/system/app/VisualizationWallpapers.apk");
First I tried this http://fokke.org/site/content/howto-create-android-updatezip-package
When I went to run it and learned this method is way odd and depricated.
Next I tried this http://forum.xda-developers.com/showthread.php?t=903598 and I get an installation aborted message when I run the zip.
Lastly I tried this http://forum.xda-developers.com/showthread.php?t=966468 and I get the same installation aborted message.
Any ideas?
Click to expand...
Click to collapse
Off the top of my head, I'd have to look later, isn't it "delete_file"?
Perhaps I'm wrong.
But what are you getting in the recovery.log (/tmp/recovery.log).
Also, have you mounted /system before you try to delete the files?
Perhaps post your whole script?

Related

Please help ... Possibly failed root ... Please

Editing this to provide info for those who were in my boat.
I did not plan to try to root, given the ton of threads on how impossible it is, but I figured I would at least follow the 10 minute video and see if I could get into recovery. In the 10 minute video, he gets in, but shows a second way for those who dont. It turned out, what he did, I did; and his second try was my second and final try. Once in I figured the hard part was behind me, and went to put in the update.zip. Since 99.999% of the threads discuss how to get into recovery, there was no information on what happened to me; so hopefully this thread can stand for those who run into what I did.
Basically, I couldn't get the timing right, and I would either get a verification failed (no worries), or a LONG list of things which looked like they were a success. The readout was:
Finding update package ...
opening update package ...
verifying update package ...
installing update ...
verifying current system ...
unpacking patches ...
removing unneeded files ...
patching system files ...
symlinks and permissions ...
BUT what I never got was "unrEVOked". So I tried a few more times, and got that list again BUT with
e:multiple firmware images
e: can't store zip image
installation aborted
If this happens to you, it simply means you are pushing the update too early. Ignore all the instructions about waiting 1/2 second or 1 second or all that. Just wait until your phone says "verifying" with a green bar, and push out the update. You will get the unrEVOked message.
I hope this can help someone out there.
jdmba said:
I am logged in; got the recovery; followed the instructions, and it didn't say unrevoked. so i did it again and
did a whole bunch of things
Finding update packge
opening update package
verifying update package
installing update
veridying curernt system
unpacking patches
removing unneeded files
patching system fioles
symlinks and permission s...
then I got
e:multiple firmware images
e: can't store zip image
installation aborted
Now I also cant get into ADB SHELL
when I type adb shell I get
- exec '/system/bin/sh' failed: No such file or directory (2) -
but no prompt
I will try to stay logged in and everything BUT PLEASE HELP. What do I do?
Click to expand...
Click to collapse
your fine. relax. repush ota and then redo payload timing trick.
??
Thread edited with problem and outcome in post # 1
are you pushing the power button before the enter button?
I think so
Thread edited with problem and outcome in post # 1
if your not getting the unrevoked message your timing is off... keep trying. click the power button on update zip and wait .5 to 1 sec then hit the enterbutton to send the payload
Please
Thread edited with problem and outcome in post # 1
then i suggest you go to ##droidincredible irc and ask for some more help. that way youll get some live support maybe?
doug
Thread edited with problem and outcome in post # 1
no offense but are you serious??? in case this isnt a joke
http://www.droidforums.net/forum/dr...ons/42279-droid-incredible-realtime-chat.html
...
Thread edited with problem and outcome in post # 1
no i cant. im at work. go to the irc. there maybe someone there or you can wait for someone else here
Anyone?
Done ... for those in my boat while Doug was keeping me calm, dnchattan gave me the hint ... I was pushing too early and confused by the long list of decent messages about installation.
When I did it on verifying; it went ok.
THANK YOU DOUG AND DNCHATTAN

[Q] Help with making a custom flashable zip

I am attempting to make a flashable zip that adds MIUI camera and a boot animation to CM7. Every time I attempt to flash my zip, I get 'Installation Aborted' with no other messages or errors. I am at a loss to what I've done wrong, and I think I signed it correctly.
I attached my file, any help would be appreciated.
I am also at a loss for what exactly the update-binary file is for, or how to go about getting one.
JetBomber117 said:
I am attempting to make a flashable zip that adds MIUI camera and a boot animation to CM7. Every time I attempt to flash my zip, I get 'Installation Aborted' with no other messages or errors. I am at a loss to what I've done wrong, and I think I signed it correctly.
I attached my file, any help would be appreciated.
I am also at a loss for what exactly the update-binary file is for, or how to go about getting one.
Click to expand...
Click to collapse
you can try changing
mount("MTD", "system", "/system");
to
mount("yaffs2", "MTD", "system", "/system");
take out the mounts and unmounts of data and cache...you don't need them. If it still fails you can do adb pull cache/recovery/log x (where x is location and name of where you want to save it)
the log will give you more detail of why it's failing but it's probably that line.
Now it is giving me an error 6. Lame. :/

Symlink Errors

Not sure what is going on I was cooking a rom and I kept getting this error
E: Can't symlink/system/xbin/su
E: Failure at line 29:symlink/system/xbin/su SYSTEM:xbin/su
Installation aborted
Click to expand...
Click to collapse
I thought maybe I forgot the su file. I made sure both were there but I still get the errors when trying to install. I am able to Nandroid and install roms by other people but for some reason I get this error with the rom i've cooked what is the problem?
Have you updated your kitchen lately? I thought that problem was fixed.
And did you run the script checker? Option 10 (maybe) I in the main menu of the kitchen?

[Q] my made custom rom wont install

HI
Sorry if i am in the wrong section to post. If I am, please move to a more convenient group.
I made a custom Rom in the android kitchen. Everything went through well, no problems at all. then when I try to install to my phone, it wont install and I get these errors:
One error I got while installing was: Installation Abored: Status 6.
Now I get this error white installing: E:Cant open /sdcard/primou_signed_031613_094637.zip (bad) Installation aborted.
Whats going on because I havent changed/converted any update scripts just added an apk then zip aligned it. The original roms install ok, but my own dont install when everything is set the same.
please help me. THANKS
I can upload my two custom roms for you to have a look to see if you can make sense of it. it is for HTC ONE V gsm.
Just try to unzip it and zip it again using WinRAR or 7Zip

[Q] Zip flashing problems

Hi all,
I'm trying to replace the font on bubor's CM11 ROM by means of flashing one on of the ZIPs available at http://forum.xda-developers.com/goo...-fontster-betas-flashable-font-packs-t2513985
I am using bubor's TWRP v2.7.1.
The problem I first encountered when trying to flash a font was the error message "Error executing updater binary" and thus the flashing "Failed". Based on the advice at http://forum.xda-developers.com/showthread.php?t=2290009 , I figured it would probably be a good idea to replace the update-binary with the one found in my ROM's ZIP, so I did that.
However, the ZIP still doesn't flash. Although I no longer get the "Error executing updater binary" message, now TWRP simply tells me "Error flashing zip" without offering me any explanation.
Please can you help with this, and apologies for the noob question. I have tried installing the ZIP from both internal and external SD. My SD's are swapped - could that have something to do with it?
- downlaoded http://www.mediafire.com/download/40x5qm44a24p0dg/CantarellFontPack.zip
- downlaoded http://dualhoki.vim.hu/bubor/dev/keyboard-light.zip
- replace update-binary ( copy from keyboard-light.zip)
- install
no error.
Would you be more detailed what did you use with what, please.
bubor said:
- downlaoded /CantarellFontPack.zip
- downlaoded keyboard-light.zip
- replace update-binary ( copy from keyboard-light.zip)
- install
no error.
Would you be more detailed what did you use with what, please.
Click to expand...
Click to collapse
I'm sorry for not being detailed enough.
I tried following your steps but unfortunately the flashing still failed. I eventually got it to work after a combination of actions, but I think the most crucial one was changing the write permissions of the \system\fonts folder from "drwxr-xr-x" to "drwxrwxrwx".
Thanks for your efforts in any case, I really appreciate all the work you're doing.

Categories

Resources