[Q] My flashable mods - Kindle Fire Q&A, Help & Troubleshooting

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

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

help with uot

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.

[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

[DEV] {INFO} Mount points for Sprint Samsung Galaxy S3 [DEV]

The following are the mount points for the Sprint Samsung Galaxy S3:
mmcblk0p1: /Firmware (MODEM.bin) vfat
mmcblk0p7: /Boot
mmcblk0p11: /Efs EXT4
mmcblk0p13: /AMSS.bin
mmcblk0p14: /System EXT4
mmcblk0p15: /Data EXT4
mmcblk0p16: /Persist/Tombstones EXT4
mmcblk0p17: /Cache EXT4
mmcblk0p18: /Recovery
Excellent Thanks
myn said:
Excellent Thanks
Click to expand...
Click to collapse
Come on Myn, we're waiting for some Warm Goodies.
JK, take your time. Glad to see you here.
Yes, I am waiting for some "Warmth", Myn.:fingers-crossed:
anyone know if we're capable of yaffs2? i thought ics was supposed to use it by default.
hoffman1984 said:
anyone know if we're capable of yaffs2? i thought ics was supposed to use it by default.
Click to expand...
Click to collapse
Nevermind... answered my own question. We're not capable of yaffs2 by default. -.-"
Next project anyone? lol
EDIT - looks like Recovery is on 18.
nkawal said:
Come on Myn, we're waiting for some Warm Goodies.
JK, take your time. Glad to see you here.
Click to expand...
Click to collapse
gingson said:
Yes, I am waiting for some "Warmth", Myn.:fingers-crossed:
Click to expand...
Click to collapse
Jeff and I have started our planning to determine what direction we want to go and mods we are aiming for.
We're as anxious as anyone to get going
Question on this, hoping you guys dont mind.
This script is for the international gs3 to flash a theme (framework, systeui) as you can see it points to 0p9.
International code
Code:
show_progress(0.500000, 0);
mount("ext4", "EMMC", "/dev/block/mmcblk0p9", "/system");
package_extract_dir("system", "/system");
unmount("/system");
show_progress(0.500000, 0);
said I changed the code to 14 could I flash a new framework with a zip?
Code:
show_progress(0.500000, 0);
mount("ext4", "EMMC", "/dev/block/mmcblk0p14", "/system");
package_extract_dir("system", "/system");
unmount("/system");
show_progress(0.500000, 0);
bizdady said:
Question on this, hoping you guys dont mind.
This script is for the international gs3 to flash a theme (framework, systeui) as you can see it points to 0p9.
International code
Code:
show_progress(0.500000, 0);
mount("ext4", "EMMC", "/dev/block/mmcblk0p9", "/system");
package_extract_dir("system", "/system");
unmount("/system");
show_progress(0.500000, 0);
said I changed the code to 14 could I flash a new framework with a zip?
Code:
show_progress(0.500000, 0);
mount("ext4", "EMMC", "/dev/block/mmcblk0p14", "/system");
package_extract_dir("system", "/system");
unmount("/system");
show_progress(0.500000, 0);
Click to expand...
Click to collapse
I already have a updater-script that works perfectly for our device. Took me a while to make and clean up the bugs but its done I will release when the ROM is ready. For this specific line ill get on my computer and get it for you bud just wait a bit.
Sent from my SPH-L710 using Tapatalk 2
clark44 said:
I already have a updater-script that works perfectly for our device. Took me a while to make and clean up the bugs but its done I will release when the ROM is ready. For this specific line ill get on my computer and get it for you bud just wait a bit.
Sent from my SPH-L710 using Tapatalk 2
Click to expand...
Click to collapse
Sweet! thanks ya I deodexed my stock rom but these damn scripts are always scary. I wanted to theme my systemui.
bizdady said:
Sweet! thanks ya I deodexed my stock rom but these damn scripts are always scary. I wanted to theme my systemui.
Click to expand...
Click to collapse
I am a man of my word put anything you want in system folder and flash away
PROCEED WITH CAUTION!
Anyone know wwhat partition is for the modem?
im on my phone. expect terrible typos.
Hey guys
Hope you don't mind me dropping in here.
I am a bit puzzled about the EFS in these variants of the S3.
I myself have an I9300, so can't investigate myself.
The question at hand is, due to the lack of a "nv_data.bin" in /efs, is it still enough to backup this folder and dump it's partition (mmvblk0p11) to have a proper backup for when the IMEI corrupts and these things....
Background is, I am working on tweaking my app "kTool" to be compatible with these variants of the S3 to make proper EFS backups....
Anyone able to shed some light into the pitch black dark here?

[TOOL/APP] [Dual-Boot][uBoot] Nexus DBB [v3.0]

Since the dual-boot kernels require some specialized modifications to the ROM zip that are leading to a little confusion, I threw together an app that will take the zip for the "second" ROM and modify it to be compatible.
Currently the included file browser can be used to select files, or you can open a third-party file browser, such as Root Explorer, and use the send option on the file you want modified. Once the file is modified, the required folders in /data/ are checked and created, if they are not already there.
Direct installation is now available as a post-modification option. This feature is in beta and uses a specialized class to read and translate the existing updater-script commands into busybox commands. This has only received limited testing, so please backup (including cache if coming from a previous dual-boot configuration)
Available through Litter Box on Google Play
Also built into SKU Kernel Remote - The All-In-One Modification Masterpiece
Re: [TOOL / APP] Dual-Boot Builder
Tested with Ubuntu and AIRKernel. Install the core Ubuntu zip, modify the device one, wipe cache, install the modified zip then the kernel.
Sent from my Galaxy Nexus using Tapatalk 2
Exuse me , I want to try this app but I don't understand if this app require to have a dualboot-compatible-kernel before to start , I've a gsm-maguro gnex whit official cm 10.1 and ak kernel 801, and I want a dual boot with miu can you help me???
diaboliko.hacker said:
Exuse me , I want to try this app but I don't understand if this app require to have a dualboot-compatible-kernel before to start , I've a gsm-maguro gnex whit official cm 10.1 and ak kernel 801, and I want a dual boot with miu can you help me???
Click to expand...
Click to collapse
You need a dual-boot kernel. The app modifies the second ROM, for example MIUI, to install properly for the dual-boot kernel to work. There are dual-boot kernels http://forum.xda-developers.com/showthread.php?t=2183721 and http://forum.xda-developers.com/showpost.php?p=39087629&postcount=1040
Re: [TOOL / APP] Dual-Boot Builder
I am preparing a new version that includes a walkthrough video of using the app. It seems the version on market had already started getting comments from people trying to use the app with OTAs. They really need to open that reply feature to all developers. Too many oblivious downloaders out there.
Sent from my Galaxy Nexus using Tapatalk 2
twistedumbrella said:
Since the dual-boot kernels require some specialized modifications to the ROM zip that are leading to a little confusion, I threw together an app that will take the zip for the "second" ROM and modify it to be compatible.
Currently the included file browser can be used to select files, or you can open a third-party file browser, such as Root Explorer, and use the send option on the file you want modified. Once the file is modified, the required folders in /data/ are checked and created, if they are not already there.
The next step is direct installation. Copying to cache instead of system is easy enough, but translating all of the additional install garbage in an updater-zip into live commands is where it gets tricky. This could be bypassed with the commands to gather a list of installs for recovery and send the zips there, but this will require some research to make sure one app works with every recovery.
Note to mods: The plan is to have the app become capable of also installing the kernel, the ROM, etc directly. This is a development thread.
Edit: There is a version available at https://play.google.com/store/apps/details?id=com.loungecat.dualbuild for automatic updates
Click to expand...
Click to collapse
You're now in the Galaxy Nexus Index.
Thanks for your interesting project, hope the videos will appear soon. :good:
twistedumbrella said:
I am preparing a new version that includes a walkthrough video of using the app. It seems the version on market had already started getting comments from people trying to use the app with OTAs. They really need to open that reply feature to all developers. Too many oblivious downloaders out there.
Sent from my Galaxy Nexus using Tapatalk 2
Click to expand...
Click to collapse
Very much looking forward for a walkthrough :good:
[TOOL / APP] Dual-Boot Builder
http://m.youtube.com/watch?v=YJ2AJctp4Cw
I have a basic video walk through that shows the process, but I am setting up to do something with better explanation instead of just the visual.
Yah, fancy graphical interface!
Attachment removed to prevent confusion, please see OP
i got FC
im using xylon unofficial+starkissed dual
so i find rom and extracting...and got fc
I am also having fc when trying to extract rom
When i flash the fix rom .... Error status 7 in cwm !!!!! why?
Re: [TOOL / APP] Dual-Boot Builder [3/16/13 1:20 AM EST]
vange said:
I am also having fc when trying to extract rom
Click to expand...
Click to collapse
Version 1.1 had an issue with not cleaning up the folder properly during extraction. This was fixed in 1.2 and the newest one (1.4) took care of when the line had additional parameters.
Pasquale91fg said:
When i flash the fix rom .... Error status 7 in cwm !!!!! why?
Click to expand...
Click to collapse
What are the contents of the original updater-script?
Sent from my Galaxy Nexus using Tapatalk 2
So just to get this correct:
1. Make sure dual boot kernel is installed.
2. Fix Rom with apk.
3. Reboot and install fixed rom.
Correct?
Re: [TOOL / APP] Dual-Boot Builder [3/16/13 1:20 AM EST]
iluvamk said:
So just to get this correct:
1. Make sure dual boot kernel is installed.
2. Fix Rom with apk.
3. Reboot and install fixed rom.
Correct?
Click to expand...
Click to collapse
Fix the rom
Reboot and install the rom then the dual-boot kernel
Sent from my Galaxy Nexus using Tapatalk 2
Re: [TOOL / APP] Dual-Boot Builder [3/16/13 1:20 AM EST]
Is there a free version available? I'm not sure xda allows only links to a paid versions in op.
Re: [TOOL / APP] Dual-Boot Builder [3/16/13 1:20 AM EST]
eqjunkie829 said:
Is there a free version available? I'm not sure xda allows only links to a paid versions in op.
Click to expand...
Click to collapse
Then perhaps you should read it more carefully
Re: [TOOL / APP] Dual-Boot Builder [3/16/13 1:20 AM EST]
Sorry, I didn't click on the second link to see what it was.
I'm getting a Status 7 error also on 2nd rom install using TWRP.
Ist rom updater script to be modified:
show_progress(0.500000, 0);
ui_print("Erasing System...");
format("ext4", "EMMC", "/dev/block/platform/omap/omap_hsmmc.0/by-name/system", "0", "/system");
ui_print("Mounting System...");
mount("ext4", "EMMC", "/dev/block/platform/omap/omap_hsmmc.0/by-name/system", "/system");
show_progress(0.500000, 40);
ui_print("Installing System...");
package_extract_dir("system", "/system");
ui_print("Creating Symlinks...");
symlink("/factory/hdcp.keys", "/system/vendor/firmware/hdcp.keys");
symlink("/system/xbin/su", "/system/bin/su");
symlink("Roboto-Bold.ttf", "/system/fonts/DroidSans-Bold.ttf");
symlink("Roboto-Regular.ttf", "/system/fonts/DroidSans.ttf");
symlink("busybox", "/system/xbin/[", "/system/xbin/[[",
After running ROM through Dual-Boot Builder:
show_progress(0.500000, 0);
ui_print("Erasing System...");
format("ext4", "EMMC", "/dev/block/platform/omap/omap_hsmmc.0/by-name/cache", "0", "/system");
ui_print("Mounting System...");
mount("ext4", "EMMC", "/dev/block/platform/omap/omap_hsmmc.0/by-name/cache", "/system");
show_progress(0.500000, 40);
ui_print("Installing System...");
package_extract_dir("system", "/system");
ui_print("Creating Symlinks...");
symlink("/factory/hdcp.keys", "/system/vendor/firmware/hdcp.keys");
symlink("/system/xbin/su", "/system/bin/su");
symlink("Roboto-Bold.ttf", "/system/fonts/DroidSans-Bold.ttf");
symlink("Roboto-Regular.ttf", "/system/fonts/DroidSans.ttf");
symlink("busybox", "/system/xbin/[", "/system/xbin/[[",
The only thing I can figure is that lines 5 do not have the "0" as do lines 3. Could this be what's causing Error 7? Very interested in getting this going.
Re: [TOOL / APP] Dual-Boot Builder [3/16/13 1:20 AM EST]
iluvamk said:
I'm getting a Status 7 error also on 2nd rom install using TWRP.
Ist rom updater script to be modified:
show_progress(0.500000, 0);
ui_print("Erasing System...");
format("ext4", "EMMC", "/dev/block/platform/omap/omap_hsmmc.0/by-name/system", "0", "/system");
ui_print("Mounting System...");
mount("ext4", "EMMC", "/dev/block/platform/omap/omap_hsmmc.0/by-name/system", "/system");
show_progress(0.500000, 40);
ui_print("Installing System...");
package_extract_dir("system", "/system");
ui_print("Creating Symlinks...");
symlink("/factory/hdcp.keys", "/system/vendor/firmware/hdcp.keys");
symlink("/system/xbin/su", "/system/bin/su");
symlink("Roboto-Bold.ttf", "/system/fonts/DroidSans-Bold.ttf");
symlink("Roboto-Regular.ttf", "/system/fonts/DroidSans.ttf");
symlink("busybox", "/system/xbin/[", "/system/xbin/[[",
After running ROM through Dual-Boot Builder:
show_progress(0.500000, 0);
ui_print("Erasing System...");
format("ext4", "EMMC", "/dev/block/platform/omap/omap_hsmmc.0/by-name/cache", "0", "/system");
ui_print("Mounting System...");
mount("ext4", "EMMC", "/dev/block/platform/omap/omap_hsmmc.0/by-name/cache", "/system");
show_progress(0.500000, 40);
ui_print("Installing System...");
package_extract_dir("system", "/system");
ui_print("Creating Symlinks...");
symlink("/factory/hdcp.keys", "/system/vendor/firmware/hdcp.keys");
symlink("/system/xbin/su", "/system/bin/su");
symlink("Roboto-Bold.ttf", "/system/fonts/DroidSans-Bold.ttf");
symlink("Roboto-Regular.ttf", "/system/fonts/DroidSans.ttf");
symlink("busybox", "/system/xbin/[", "/system/xbin/[[",
The only thing I can figure is that lines 5 do not have the "0" as do lines 3. Could this be what's causing Error 7? Very interested in getting this going.
Click to expand...
Click to collapse
It's not removing the format it's replacing it. I think it's probably checking that second and not first which would end up missing it

Categories

Resources