help with uot - HTC Wildfire S

i m cooking rom..
i cooked flashable zip in uot .
now how can i integrate that flashable zip in my rom zip?
should i just paste it some where and then in updater-script i should add that code (will search on what code to write) to flash it after instalation of my rom [but will this work cuz its writen on the uot kitchen webpage that do not flash on the first boot]
plz help

i did one thing..
i read the update-script
and it was
Code:
ui_print("Applying UOT framework");
run_program("/sbin/busybox", "mount", "/system");
delete("/system/framework/framework-res.apk");
package_extract_dir("framework", "/system/framework");
run_program("/sbin/busybox", "umount", "/system");
run_program("/sbin/busybox", "mount", "/system");
delete("/system/app/SystemUI.apk");
package_extract_dir("app", "/system/app");
run_program("/sbin/busybox", "umount", "/system");
ui_print("Applying UOT fonts");
run_program("/sbin/busybox", "mount", "/system");
package_extract_dir("fonts", "/system/fonts");
run_program("/sbin/busybox", "umount", "/system");
ui_print("Applying UOT bootanimation");
run_program("/sbin/busybox", "mount", "/data");
package_extract_dir("data", "/data");
run_program("/sbin/busybox", "umount", "/data");
i removed the framework-res.apk from my rom zip file
and then pasted the one from the zip i got from uot
then i removed systemui.apk
and pasted from the one i got from uot in to my roms zip file..
and then took the zip file and pasted in my cell,
flashed the rom.zip in via cwm recovery ..
unforrtunately i dont have a status bar :O plz some one gimme a hand and guide a lil to integrating uot and my rom .. and making one flashable zip

ny one der to help ? :'(

will someone help me plzzzz??/

sorry, i just replied on your other thread, lol. After you have cooked up your uot theme, download it and copy it to your sd card. then just go into cwm recovery and flash the .zip of the theme u built, any mods you made in the uot kitchen will be applied to your rom. Thats the simplest way to do it.

Related

[DEV Q] updater-script and edify

can someone smarter than me help me or point me in the right direction to convert my updater-scripts to edify. i think im sort of getting it but i want to make sure because i'm not a programmer. for instance, is the update-binary file required or just updater-script? also, the code posted below, it what i've come up with for flashing my themes, is it correct? and will it work with the new recoveries?
Code:
ui_print("Preparing system for istallation...");
ui_print("Wiping Cache / Dalvik...");
delete_recursive("/cache");
delete_recursive("/data/dalvik-cache");
ui_print("Installing Project_Bliss HD...");
show_progress(0.100000, 60);
package_extract_dir("system", "/system");
show_progress(1.000000, 0);
i am unsure whether or not i will have to mount the specific partitions for data and cache for this to work. i can always leave that part out but the less the person flashing needs to do the better. if i do have to mount in the script will the code below work for just a simple theme flash.
Code:
ui_print("Preparing system for installation...");
run_program("/sbin/mount", "/dev/block/mtdblock4", "/system");
ui_print("Installing Project_Bliss HD...");
show_progress(0.100000, 60);
package_extract_dir("system", "/system");
show_progress(1.000000, 0);
Anyone?
10 char
No one? Hmmmm?
I'm still not too too familiar but I have played around with them a little. From what I understand so far the binary is what the recovery actually uses. dsixda's kitchen will make them and you can have it convert update to updater scripts automatically.
Usually I just look at how others have done it and go from there.
[KITCHEN][DEC. 7 '10] HTC Android Kitchen, v0.110 [Linux / Mac / Windows]
I had another link somewhere that gave all of the different commands and their syntax but I can't find it for nothing atm.
git hub - android edify readme
Not sure that link (edify readme) is working--- is this the same one you were referring to?
https://github.com/koush/android_bootable_recovery/blob/eclair/edify/README
try this bro...
http://forum.xda-developers.com/showthread.php?t=936175

[Q] CWM Edify? Help please

Right How would I create a updater-binary I know how to for Updater-script.
And many thanks in advance I l give you thanks if you can answer?
You can extract the binary from any update.zip script, you don't need to build your own.
Can you take a look at my Theme Im making If i upload it to mediafire Its Getting installation aborted status 6 but im using notepad++?
edit:
Really need help and Can You Recomend any lockscreens?/
ui_print("-Checking Model ID");
ui_print("-Success!");
ui_print("Please be patient");
ui_print("1st boot may take a few minutes");
ui_print("Welcome to My Xperia S packet ");
ui_print("By Installing this You herby take full");
ui_print("Responsibillity of your device and what");
ui_print("you do with it no one can be held of ");
ui_print("Bricks or Death to your device");
set_progress(0.1)
format("MTD", "cache");
ui_print("Warning this Formats Your data Meaning your Apps are wiped!");
format("yaffs2", "MTD", "system");
format("yaffs2", "MTD", "userdata");
run_program("/sbin/busybox", "mount", "-t", "auto", "/dev/block/mmcblk0p2", "/sd-ext");
run_program("/sbin/busybox", "rm", "-rf", "/sd-ext/*");
run_program("/sbin/busybox", "rm", "-rf", "/sdcard/.android_secure/*");
run_program("/sbin/busybox", "umount", "/sd-ext");
run_program("/sbin/e2fsck", "-pv", "/dev/block/mmcblk0p2");
set_progress(0.2)
format("MTD", "userdata");
mount("MTD", "system", "/system");
set_progress(0.9)
ui_print("Cleaning up enjoy This In a few ");
ui_print("~Starting Clean~");
ui_print("Finished Clean");
unmount("/system");
ui_print(";"X");
ui_print(";"~P");
ui_print(";"~~E");
ui_print(";"~~~R");
ui_print(";"~~~~I");
ui_print(";"~~~~~A");
ui_print(";"~~~~~~4");
ui_print(":"~~~~~~~L");
ui_print(";"~~~~~~~~I");
ui_print(";"~~~~~~~~~F");
ui_print(";"~~~~~~~~~~E");
ui_print("Finished Process Reboot & enjoy");
Can you tell me whats wrong? Idk what ive done wrong

[Q] My flashable mods

What am I doing wrong? I get "error in /tmp/sideload/pkg" when I flash. here is my script:
#BiteBlaze updater scriptui_print("Welcome to mod installer for ReloadedROM")run_program("/sbin/busybox", "mount", "/system");
show_progress(1, 15);
package_extract_dir("system", "/system");
run_program("/sbin/busybox", "umount", "/system");ui_print("Installation Succesful!");
help please!
I also Attached an example of a Win7 SoftKey Mod for more info. I just can't see what I'm missing/doing wrong!
And by the way, this is for my thread as I am testing v1.2 right now and I'm going to release it and the mods to testers once these work... so, motivation!
I can't figure it out ether I read it could be a signature issue .... if you figure it out i can be one of you testers
Sent from my HellfireKindle using Tapatalk 2

Need Help With Cooking Own Stock Rom

hi
I want to cook my own rom. I downloaded a stock rom and extract the files. I want to make it cwm flashable. There are many files and i dont know which files are needed to make it cwm flashable . These are the files: arm11boot, csc.rfs, mibib, oemsbl, qcsbl, amss, recovery.img, boot.img and system.rfs.
Also i want to convert it to ex4 and use phiexz kernel. I downloaded phiexz kernel and there is a boot.img, a system folder and a META-INF folder. I think i must replace the stock roms boot.img by the boot.img from phiexz and copy the system folder from phiexz's kernel to the system folder of the stock rom. But what is the META-INF folder?
I already searched for guides to cook own rom but all of them are for modifying cwm flashable custom roms and not stock roms. It would be nice if someone can help me
Sorry for my bad english
Take system.rfs from stock, boot.img from phiexz stockkernel
Extract system.rfs with terminal in linux or on windows use magic iso
Take the META-INF folder from another rom and edit it to be like yours.
Sent from my GT-S5660 using xda premium
okay thank you
but how do i sign the zip file? In cwm the installation aborts...
i tried to sign with dsixdas kitchen but no sucess...
Sorry for my bad English
You can flash unsigned zips from recovery
Wich error you get in cwm?
Sent from my GT-S5660 using xda premium
i get this error when Signature Check is enabled:
Code:
Finding update package...
Opening update package...
Verifiying update package...
E:failed to seek in /sdcard/MyRom.zip (Invalid argument)
E:signature verification failed
Installation aborted.
and this when Signature Check is disabled:
Code:
Finding update package...
Opening update package...
E:Can't open /sdcard/MyRom.zip
(bad)
Installation aborted.
//Edit: Now i get a "Status 7" Error
Status 7 is updaterscript error, you didnt modify it..
Follow the guides
Sent from my GT-S5660 using xda premium
okay the installation is working
but i dont know how to set the permissions and how to "symlink". Because of that the rom doesnt boot.
I have already copied the "set permission and symlink script" from this page http://www.androidpit.de/de/android/forum/thread/439522/Workshop-Rom-koecheln and this page http://forum.xda-developers.com/showthread.php?t=936175 but it doesnt work
this is my script without set permission and so on
Code:
ui_print("");
ui_print("");
ui_print("Installation of MyRom");
ui_print("------by [email protected]");
ui_print("");
#Mounting
ui_print("Mounting...");
ui_print("mount /system");
run_program("/sbin/busybox", "mount", "/system");
ui_print("mount /data");
run_program("/sbin/busybox", "mount", "/data");
ui_print("mount /cache");
run_program("/sbin/busybox", "mount", "/cache");
ui_print("Mounting finished");
ui_print("-----------------");
ui_print("");
#Wiping
ui_print("Wiping...");
ui_print("wipe /system");
delete_recursive("/system");
ui_print("wipe /data");
delete_recursive("/data");
ui_print("wipe /cache");
delete_recursive("/cache");
ui_print("Wiping finished");
ui_print("-----------------");
ui_print("");
#Installation
ui_print("Installing...");
package_extract_dir("system", "/system");
ui_print("Installation finished");
ui_print("-----------------");
ui_print("");
#InstallationKernel
#Thanks to phiexz :)
ui_print("Installing Kernel...");
assert(package_extract_file("boot.img", "/tmp/boot.img"),
write_raw_image("/tmp/boot.img", "boot"),
delete("/tmp/boot.img"));
ui_print("Installating Kernel finished");
ui_print("-----------------");
ui_print("");
#Unmount
ui_print("Unmounting...");
ui_print("unmount /system");
run_program("/sbin/busybox", "unmount", "/system");
ui_print("unmount /data");
run_program("/sbin/busybox", "unmount", "/data");
ui_print("unmount /cache");
run_program("/sbin/busybox", "unmount", "/cache");
ui_print("Unmounting finished");
ui_print("-----------------");
ui_print("");
ui_print("Installation of MyRom finished");
ui_print("Please Reboot Your Phone");
emyaz said:
okay the installation is working
but i dont know how to set the permissions and how to "symlink". Because of that the rom doesnt boot.
I have already copied the "set permission and symlink script" from this page http://www.androidpit.de/de/android/forum/thread/439522/Workshop-Rom-koecheln and this page http://forum.xda-developers.com/showthread.php?t=936175 but it doesnt work
this is my script without set permission and so on
Code:
ui_print("");
ui_print("");
ui_print("Installation of MyRom");
ui_print("------by [email protected]");
ui_print("");
#Mounting
ui_print("Mounting...");
ui_print("mount /system");
run_program("/sbin/busybox", "mount", "/system");
ui_print("mount /data");
run_program("/sbin/busybox", "mount", "/data");
ui_print("mount /cache");
run_program("/sbin/busybox", "mount", "/cache");
ui_print("Mounting finished");
ui_print("-----------------");
ui_print("");
#Wiping
ui_print("Wiping...");
ui_print("wipe /system");
delete_recursive("/system");
ui_print("wipe /data");
delete_recursive("/data");
ui_print("wipe /cache");
delete_recursive("/cache");
ui_print("Wiping finished");
ui_print("-----------------");
ui_print("");
#Installation
ui_print("Installing...");
package_extract_dir("system", "/system");
ui_print("Installation finished");
ui_print("-----------------");
ui_print("");
#InstallationKernel
#Thanks to phiexz :)
ui_print("Installing Kernel...");
assert(package_extract_file("boot.img", "/tmp/boot.img"),
write_raw_image("/tmp/boot.img", "boot"),
delete("/tmp/boot.img"));
ui_print("Installating Kernel finished");
ui_print("-----------------");
ui_print("");
#Unmount
ui_print("Unmounting...");
ui_print("unmount /system");
run_program("/sbin/busybox", "unmount", "/system");
ui_print("unmount /data");
run_program("/sbin/busybox", "unmount", "/data");
ui_print("unmount /cache");
run_program("/sbin/busybox", "unmount", "/cache");
ui_print("Unmounting finished");
ui_print("-----------------");
ui_print("");
ui_print("Installation of MyRom finished");
ui_print("Please Reboot Your Phone");
Click to expand...
Click to collapse
1. way too much ui prints
2 you dont do wipe /system (ref. to other roms for right FORMAT values)
3 make sure boot.img is called boot.img and not kernel or else
4 the /sbin/busybox does problably not exist in stock roms so that doesnt work, enter unmount codes manually from another roms script
5 permissions have to be right
6 ever heard of symlinks? need to be added too..
that said, you do better use a rom as base, add your desired apps to /system/app and flash that without publishing on XDA. much easier
Just use cygwin and dsixda android kitchen... after cooking change mtd format/mount lines to ext4 from other rom ...
Wysyłane z mojego GT-S5660 za pomocą Tapatalk 2

[Q] Zip flasheable modify update-script

Hi,i have a question
when i modify the archive "update-script" of a zip flasheable , then proceed to install the "x.zip" but the recovery aborts the installation , i only modified in the archive "update-script" the "ui_print" .Eg
Code:
ui_print("Installing the bootanimation ^^")
mount("MTD", "system", "/system");
show_progress(0.500000, 40);
package_extract_dir("system", "/system");
show_progress(0.200000, 10);
ui_print("Install complete!");
unmount("/system");
i also want to ask , the source i used in update-script is correct for the installation of a bootanimation ?
Thanks for reading i hope your answers
lans_98 said:
Hi,i have a question
when i modify the archive "update-script" of a zip flasheable , then proceed to install the "x.zip" but the recovery aborts the installation , i only modified in the archive "update-script" the "ui_print" .Eg
Code:
ui_print("Installing the bootanimation ^^")
mount("MTD", "system", "/system");
show_progress(0.500000, 40);
package_extract_dir("system", "/system");
show_progress(0.200000, 10);
ui_print("Install complete!");
unmount("/system");
i also want to ask , the source i used in update-script is correct for the installation of a bootanimation ?
Thanks for reading i hope your answers
Click to expand...
Click to collapse
in the mount function you must tell the system the file system too! You must say it before the partition type (e.g. MTD). It should be yaffs2 or ext4. So, if it's yaffs2, it should be mount("yaffs2", "MTD", "system", "/system")
Other things are ok. Be sure the boot animation is in /system/media and that you created that zip with store compression type.
---------- Post added at 05:53 PM ---------- Previous post was at 05:28 PM ----------
Ah yes I remembered now... P350 (as well as many low legacy lg & non devices) has yaffs2 file system, so you shall want to definitely add this to your updater-script.

Categories

Resources